@capxul/sdk 4.20.0-beta.26 → 4.20.0-beta.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{access-BEMUjtyy.mjs → access-SP-ur4Ku.mjs} +757 -112
- package/dist/{index-JnWL305d.d.mts → index-V6HIBbMr.d.mts} +866 -544
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/node/index.d.mts +1 -1
- package/dist/node/index.mjs +1 -1
- package/dist/{production-D3saI6ME.mjs → production-CoxgepCr.mjs} +80 -435
- package/dist/testing/index.d.mts +1 -1
- package/dist/testing/index.mjs +2 -2
- package/package.json +3 -3
|
@@ -713,9 +713,10 @@ interface AuthClientPort {
|
|
|
713
713
|
/**
|
|
714
714
|
* Fetches a Convex-aud JWT from `/api/auth/convex/token` (W7). Server mints
|
|
715
715
|
* a fresh JWT on every call per Probe A's 2026-05-19 finding (RS256, 900 s
|
|
716
|
-
* lifetime, `iss = <site-url>`, `aud = convex`). The
|
|
717
|
-
* `
|
|
718
|
-
*
|
|
716
|
+
* lifetime, `iss = <site-url>`, `aud = convex`). The Convex client asks
|
|
717
|
+
* through `ConvexCallAdapter`, which passes only its forced asks here: one
|
|
718
|
+
* per session start, the refresh before `exp`, and the retry after the
|
|
719
|
+
* server rejects a token (`freshTokenHandshake`).
|
|
719
720
|
*/
|
|
720
721
|
getConvexJwt(options?: GetConvexJwtOptions): Effect.Effect<CachedJwt, AuthClientError>;
|
|
721
722
|
}
|
|
@@ -1582,9 +1583,16 @@ declare const approvals: {
|
|
|
1582
1583
|
readonly url: Schema.String;
|
|
1583
1584
|
readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
|
|
1584
1585
|
readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
|
|
1586
|
+
readonly actor: Schema.Union<readonly [Schema.Struct<{
|
|
1587
|
+
readonly kind: Schema.Literal<"personal">;
|
|
1588
|
+
}>, Schema.Struct<{
|
|
1589
|
+
readonly kind: Schema.Literal<"organization">;
|
|
1590
|
+
readonly orgId: Schema.NonEmptyString;
|
|
1591
|
+
}>]>;
|
|
1585
1592
|
readonly summary: Schema.Struct<{
|
|
1586
1593
|
readonly title: Schema.String;
|
|
1587
1594
|
readonly from: Schema.Struct<{
|
|
1595
|
+
readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
|
|
1588
1596
|
readonly label: Schema.String;
|
|
1589
1597
|
readonly address: Schema.Codec<Address$1, string, never, never>;
|
|
1590
1598
|
}>;
|
|
@@ -1645,9 +1653,16 @@ declare const approvals: {
|
|
|
1645
1653
|
readonly url: Schema.String;
|
|
1646
1654
|
readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
|
|
1647
1655
|
readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
|
|
1656
|
+
readonly actor: Schema.Union<readonly [Schema.Struct<{
|
|
1657
|
+
readonly kind: Schema.Literal<"personal">;
|
|
1658
|
+
}>, Schema.Struct<{
|
|
1659
|
+
readonly kind: Schema.Literal<"organization">;
|
|
1660
|
+
readonly orgId: Schema.NonEmptyString;
|
|
1661
|
+
}>]>;
|
|
1648
1662
|
readonly summary: Schema.Struct<{
|
|
1649
1663
|
readonly title: Schema.String;
|
|
1650
1664
|
readonly from: Schema.Struct<{
|
|
1665
|
+
readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
|
|
1651
1666
|
readonly label: Schema.String;
|
|
1652
1667
|
readonly address: Schema.Codec<Address$1, string, never, never>;
|
|
1653
1668
|
}>;
|
|
@@ -1708,9 +1723,16 @@ declare const approvals: {
|
|
|
1708
1723
|
readonly url: Schema.String;
|
|
1709
1724
|
readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
|
|
1710
1725
|
readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
|
|
1726
|
+
readonly actor: Schema.Union<readonly [Schema.Struct<{
|
|
1727
|
+
readonly kind: Schema.Literal<"personal">;
|
|
1728
|
+
}>, Schema.Struct<{
|
|
1729
|
+
readonly kind: Schema.Literal<"organization">;
|
|
1730
|
+
readonly orgId: Schema.NonEmptyString;
|
|
1731
|
+
}>]>;
|
|
1711
1732
|
readonly summary: Schema.Struct<{
|
|
1712
1733
|
readonly title: Schema.String;
|
|
1713
1734
|
readonly from: Schema.Struct<{
|
|
1735
|
+
readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
|
|
1714
1736
|
readonly label: Schema.String;
|
|
1715
1737
|
readonly address: Schema.Codec<Address$1, string, never, never>;
|
|
1716
1738
|
}>;
|
|
@@ -1775,9 +1797,16 @@ declare const approvals: {
|
|
|
1775
1797
|
readonly url: Schema.String;
|
|
1776
1798
|
readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
|
|
1777
1799
|
readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
|
|
1800
|
+
readonly actor: Schema.Union<readonly [Schema.Struct<{
|
|
1801
|
+
readonly kind: Schema.Literal<"personal">;
|
|
1802
|
+
}>, Schema.Struct<{
|
|
1803
|
+
readonly kind: Schema.Literal<"organization">;
|
|
1804
|
+
readonly orgId: Schema.NonEmptyString;
|
|
1805
|
+
}>]>;
|
|
1778
1806
|
readonly summary: Schema.Struct<{
|
|
1779
1807
|
readonly title: Schema.String;
|
|
1780
1808
|
readonly from: Schema.Struct<{
|
|
1809
|
+
readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
|
|
1781
1810
|
readonly label: Schema.String;
|
|
1782
1811
|
readonly address: Schema.Codec<Address$1, string, never, never>;
|
|
1783
1812
|
}>;
|
|
@@ -1838,9 +1867,16 @@ declare const approvals: {
|
|
|
1838
1867
|
readonly url: Schema.String;
|
|
1839
1868
|
readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
|
|
1840
1869
|
readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
|
|
1870
|
+
readonly actor: Schema.Union<readonly [Schema.Struct<{
|
|
1871
|
+
readonly kind: Schema.Literal<"personal">;
|
|
1872
|
+
}>, Schema.Struct<{
|
|
1873
|
+
readonly kind: Schema.Literal<"organization">;
|
|
1874
|
+
readonly orgId: Schema.NonEmptyString;
|
|
1875
|
+
}>]>;
|
|
1841
1876
|
readonly summary: Schema.Struct<{
|
|
1842
1877
|
readonly title: Schema.String;
|
|
1843
1878
|
readonly from: Schema.Struct<{
|
|
1879
|
+
readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
|
|
1844
1880
|
readonly label: Schema.String;
|
|
1845
1881
|
readonly address: Schema.Codec<Address$1, string, never, never>;
|
|
1846
1882
|
}>;
|
|
@@ -1902,9 +1938,16 @@ declare const approvals: {
|
|
|
1902
1938
|
readonly url: Schema.String;
|
|
1903
1939
|
readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
|
|
1904
1940
|
readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
|
|
1941
|
+
readonly actor: Schema.Union<readonly [Schema.Struct<{
|
|
1942
|
+
readonly kind: Schema.Literal<"personal">;
|
|
1943
|
+
}>, Schema.Struct<{
|
|
1944
|
+
readonly kind: Schema.Literal<"organization">;
|
|
1945
|
+
readonly orgId: Schema.NonEmptyString;
|
|
1946
|
+
}>]>;
|
|
1905
1947
|
readonly summary: Schema.Struct<{
|
|
1906
1948
|
readonly title: Schema.String;
|
|
1907
1949
|
readonly from: Schema.Struct<{
|
|
1950
|
+
readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
|
|
1908
1951
|
readonly label: Schema.String;
|
|
1909
1952
|
readonly address: Schema.Codec<Address$1, string, never, never>;
|
|
1910
1953
|
}>;
|
|
@@ -2319,6 +2362,7 @@ declare const invitations: {
|
|
|
2319
2362
|
};
|
|
2320
2363
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2321
2364
|
};
|
|
2365
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
2322
2366
|
};
|
|
2323
2367
|
})[], Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
2324
2368
|
readonly type: Schema.Literal<"budget">;
|
|
@@ -2342,248 +2386,8 @@ declare const invitations: {
|
|
|
2342
2386
|
};
|
|
2343
2387
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2344
2388
|
};
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
2348
|
-
readonly limit: Schema.NullOr<Schema.String>;
|
|
2349
|
-
readonly scope: Schema.refine<{
|
|
2350
|
-
readonly recipients: {
|
|
2351
|
-
readonly type: "anyone";
|
|
2352
|
-
} | {
|
|
2353
|
-
readonly type: "allowlist";
|
|
2354
|
-
readonly accounts: readonly AccountId[];
|
|
2355
|
-
};
|
|
2356
|
-
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2357
|
-
}, Schema.Struct<{
|
|
2358
|
-
readonly recipients: Schema.Union<readonly [Schema.Struct<{
|
|
2359
|
-
readonly type: Schema.Literal<"anyone">;
|
|
2360
|
-
}>, Schema.Struct<{
|
|
2361
|
-
readonly type: Schema.Literal<"allowlist">;
|
|
2362
|
-
readonly accounts: Schema.$Array<Schema.refine<AccountId, Schema.String>>;
|
|
2363
|
-
}>]>;
|
|
2364
|
-
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
2365
|
-
}>>;
|
|
2366
|
-
}>, Schema.Struct<{
|
|
2367
|
-
readonly type: Schema.Literal<"managePeople">;
|
|
2368
|
-
}>]>>;
|
|
2369
|
-
}>]>>>;
|
|
2370
|
-
}>;
|
|
2371
|
-
}>, Schema.Struct<{
|
|
2372
|
-
readonly orgId: Schema.refine<OrgId, Schema.NonEmptyString>;
|
|
2373
|
-
readonly grantee: Schema.Struct<{
|
|
2374
|
-
readonly partyId: Schema.NullOr<Schema.String>;
|
|
2375
|
-
readonly accountId: Schema.NullOr<Schema.refine<AccountId, Schema.String>>;
|
|
2376
|
-
readonly safeAddress: Schema.Codec<Address$1, string, never, never>;
|
|
2377
|
-
readonly accountReady: Schema.NullOr<Schema.Boolean>;
|
|
2378
|
-
}>;
|
|
2379
|
-
readonly grants: Schema.$Array<Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
2380
|
-
readonly type: Schema.Literal<"budget">;
|
|
2381
|
-
readonly budgetId: Schema.refine<BudgetId, Schema.NonEmptyString>;
|
|
2382
|
-
readonly label: Schema.String;
|
|
2383
|
-
readonly policy: Schema.refine<{
|
|
2384
|
-
readonly type: "budget";
|
|
2385
|
-
readonly asset: AssetId;
|
|
2386
|
-
readonly limit: string | null;
|
|
2387
|
-
readonly scope: {
|
|
2388
|
-
readonly recipients: {
|
|
2389
|
-
readonly type: "anyone";
|
|
2390
|
-
} | {
|
|
2391
|
-
readonly type: "allowlist";
|
|
2392
|
-
readonly accounts: readonly AccountId[];
|
|
2393
|
-
};
|
|
2394
|
-
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2395
|
-
};
|
|
2396
|
-
}, Schema.Union<readonly [Schema.Struct<{
|
|
2397
|
-
readonly type: Schema.Literal<"budget">;
|
|
2398
|
-
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
2399
|
-
readonly limit: Schema.NullOr<Schema.String>;
|
|
2400
|
-
readonly scope: Schema.refine<{
|
|
2401
|
-
readonly recipients: {
|
|
2402
|
-
readonly type: "anyone";
|
|
2403
|
-
} | {
|
|
2404
|
-
readonly type: "allowlist";
|
|
2405
|
-
readonly accounts: readonly AccountId[];
|
|
2406
|
-
};
|
|
2407
|
-
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2408
|
-
}, Schema.Struct<{
|
|
2409
|
-
readonly recipients: Schema.Union<readonly [Schema.Struct<{
|
|
2410
|
-
readonly type: Schema.Literal<"anyone">;
|
|
2411
|
-
}>, Schema.Struct<{
|
|
2412
|
-
readonly type: Schema.Literal<"allowlist">;
|
|
2413
|
-
readonly accounts: Schema.$Array<Schema.refine<AccountId, Schema.String>>;
|
|
2414
|
-
}>]>;
|
|
2415
|
-
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
2416
|
-
}>>;
|
|
2417
|
-
}>, Schema.Struct<{
|
|
2418
|
-
readonly type: Schema.Literal<"managePeople">;
|
|
2419
|
-
}>]>>;
|
|
2420
|
-
readonly policyDigest: Schema.Codec<`0x${string}`, string, never, never>;
|
|
2421
|
-
}>, Schema.Struct<{
|
|
2422
|
-
readonly type: Schema.Literal<"managePeople">;
|
|
2423
|
-
readonly permissionId: Schema.Codec<PermissionId, string, never, never>;
|
|
2424
|
-
readonly label: Schema.String;
|
|
2425
|
-
}>]>, Schema.Struct<{
|
|
2426
|
-
readonly type: Schema.Literal<"new_budget">;
|
|
2427
|
-
readonly label: Schema.String;
|
|
2428
|
-
readonly policy: Schema.refine<{
|
|
2429
|
-
readonly type: "budget";
|
|
2430
|
-
readonly asset: AssetId;
|
|
2431
|
-
readonly limit: string | null;
|
|
2432
|
-
readonly scope: {
|
|
2433
|
-
readonly recipients: {
|
|
2434
|
-
readonly type: "anyone";
|
|
2435
|
-
} | {
|
|
2436
|
-
readonly type: "allowlist";
|
|
2437
|
-
readonly accounts: readonly AccountId[];
|
|
2438
|
-
};
|
|
2439
|
-
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2440
|
-
};
|
|
2441
|
-
}, Schema.Union<readonly [Schema.Struct<{
|
|
2442
|
-
readonly type: Schema.Literal<"budget">;
|
|
2443
|
-
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
2444
|
-
readonly limit: Schema.NullOr<Schema.String>;
|
|
2445
|
-
readonly scope: Schema.refine<{
|
|
2446
|
-
readonly recipients: {
|
|
2447
|
-
readonly type: "anyone";
|
|
2448
|
-
} | {
|
|
2449
|
-
readonly type: "allowlist";
|
|
2450
|
-
readonly accounts: readonly AccountId[];
|
|
2451
|
-
};
|
|
2452
|
-
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2453
|
-
}, Schema.Struct<{
|
|
2454
|
-
readonly recipients: Schema.Union<readonly [Schema.Struct<{
|
|
2455
|
-
readonly type: Schema.Literal<"anyone">;
|
|
2456
|
-
}>, Schema.Struct<{
|
|
2457
|
-
readonly type: Schema.Literal<"allowlist">;
|
|
2458
|
-
readonly accounts: Schema.$Array<Schema.refine<AccountId, Schema.String>>;
|
|
2459
|
-
}>]>;
|
|
2460
|
-
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
2461
|
-
}>>;
|
|
2462
|
-
}>, Schema.Struct<{
|
|
2463
|
-
readonly type: Schema.Literal<"managePeople">;
|
|
2464
|
-
}>]>>;
|
|
2465
|
-
readonly policyDigest: Schema.Codec<`0x${string}`, string, never, never>;
|
|
2466
|
-
}>]>>;
|
|
2467
|
-
readonly existingAssignments: Schema.$Array<Schema.Codec<PermissionAssignmentId, string, never, never>>;
|
|
2468
|
-
readonly includesManagement: Schema.Boolean;
|
|
2469
|
-
readonly observedAt: Schema.Codec<EpochMs, number, never, never>;
|
|
2470
|
-
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "UNKNOWN" | "WRONG_STATE">;
|
|
2471
|
-
/** One offer, visible to its grantee or anyone with authority in the Organization. */
|
|
2472
|
-
get: Operation<"query", "organizations.invitations.get", Schema.Struct<{
|
|
2473
|
-
readonly invitationId: Schema.NonEmptyString;
|
|
2474
|
-
readonly orgId: Schema.NonEmptyString;
|
|
2475
|
-
}>, Schema.Struct<{
|
|
2476
|
-
readonly id: Schema.NonEmptyString;
|
|
2477
|
-
readonly orgId: Schema.refine<OrgId, Schema.NonEmptyString>;
|
|
2478
|
-
readonly organizationName: Schema.String;
|
|
2479
|
-
readonly grantee: Schema.Struct<{
|
|
2480
|
-
readonly partyId: Schema.String;
|
|
2481
|
-
readonly accountId: Schema.NullOr<Schema.refine<AccountId, Schema.String>>;
|
|
2482
|
-
readonly safeAddress: Schema.Codec<Address$1, string, never, never>;
|
|
2483
|
-
readonly accountReady: Schema.NullOr<Schema.Boolean>;
|
|
2484
|
-
}>;
|
|
2485
|
-
readonly phase: Schema.Literals<readonly ["authorizing", "pending", "pending_grant", "active", "revoking", "declined", "cancelled", "expired", "revoked"]>;
|
|
2486
|
-
readonly grants: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
2487
|
-
readonly type: Schema.Literal<"budget">;
|
|
2488
|
-
readonly budgetId: Schema.refine<BudgetId, Schema.NonEmptyString>;
|
|
2489
|
-
}>, Schema.Struct<{
|
|
2490
|
-
readonly type: Schema.Literal<"managePeople">;
|
|
2491
|
-
readonly permissionId: Schema.Codec<PermissionId, string, never, never>;
|
|
2492
|
-
}>]>>;
|
|
2493
|
-
readonly offers: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
2494
|
-
readonly type: Schema.Literal<"budget">;
|
|
2495
|
-
readonly budgetId: Schema.refine<BudgetId, Schema.NonEmptyString>;
|
|
2496
|
-
readonly label: Schema.String;
|
|
2497
|
-
readonly policy: Schema.refine<{
|
|
2498
|
-
readonly type: "budget";
|
|
2499
|
-
readonly asset: AssetId;
|
|
2500
|
-
readonly limit: string | null;
|
|
2501
|
-
readonly scope: {
|
|
2502
|
-
readonly recipients: {
|
|
2503
|
-
readonly type: "anyone";
|
|
2504
|
-
} | {
|
|
2505
|
-
readonly type: "allowlist";
|
|
2506
|
-
readonly accounts: readonly AccountId[];
|
|
2507
|
-
};
|
|
2508
|
-
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2509
|
-
};
|
|
2510
|
-
}, Schema.Union<readonly [Schema.Struct<{
|
|
2511
|
-
readonly type: Schema.Literal<"budget">;
|
|
2512
|
-
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
2513
|
-
readonly limit: Schema.NullOr<Schema.String>;
|
|
2514
|
-
readonly scope: Schema.refine<{
|
|
2515
|
-
readonly recipients: {
|
|
2516
|
-
readonly type: "anyone";
|
|
2517
|
-
} | {
|
|
2518
|
-
readonly type: "allowlist";
|
|
2519
|
-
readonly accounts: readonly AccountId[];
|
|
2520
|
-
};
|
|
2521
|
-
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2522
|
-
}, Schema.Struct<{
|
|
2523
|
-
readonly recipients: Schema.Union<readonly [Schema.Struct<{
|
|
2524
|
-
readonly type: Schema.Literal<"anyone">;
|
|
2525
|
-
}>, Schema.Struct<{
|
|
2526
|
-
readonly type: Schema.Literal<"allowlist">;
|
|
2527
|
-
readonly accounts: Schema.$Array<Schema.refine<AccountId, Schema.String>>;
|
|
2528
|
-
}>]>;
|
|
2529
|
-
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
2530
|
-
}>>;
|
|
2531
|
-
}>, Schema.Struct<{
|
|
2532
|
-
readonly type: Schema.Literal<"managePeople">;
|
|
2533
|
-
}>]>>;
|
|
2534
|
-
readonly policyDigest: Schema.Codec<`0x${string}`, string, never, never>;
|
|
2535
|
-
}>, Schema.Struct<{
|
|
2536
|
-
readonly type: Schema.Literal<"managePeople">;
|
|
2537
|
-
readonly permissionId: Schema.Codec<PermissionId, string, never, never>;
|
|
2538
|
-
readonly label: Schema.String;
|
|
2539
|
-
}>]>>;
|
|
2540
|
-
readonly recovery: Schema.NullOr<Schema.Struct<{
|
|
2541
|
-
readonly actor: Schema.Literals<readonly ["system", "invitee", "admin"]>;
|
|
2542
|
-
readonly action: Schema.Literals<readonly ["wait", "retry", "review_offer", "reauthorize"]>;
|
|
2543
|
-
readonly reason: Schema.Literals<readonly ["configuration_pending", "grant_pending", "provider_unavailable", "policy_changed", "cleanup_pending", "signer_unavailable"]>;
|
|
2544
|
-
}>>;
|
|
2545
|
-
readonly recoveryActions: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2546
|
-
readonly action: Schema.Literals<readonly ["resend", "retry"]>;
|
|
2547
|
-
readonly notBefore: Schema.Codec<EpochMs, number, never, never>;
|
|
2548
|
-
}>>>;
|
|
2549
|
-
readonly offerDigest: Schema.Codec<`0x${string}`, string, never, never>;
|
|
2550
|
-
readonly authorizedAt: Schema.NullOr<Schema.Codec<EpochMs, number, never, never>>;
|
|
2551
|
-
readonly acceptedAt: Schema.NullOr<Schema.Codec<EpochMs, number, never, never>>;
|
|
2552
|
-
readonly expiresAt: Schema.NullOr<Schema.Codec<EpochMs, number, never, never>>;
|
|
2553
|
-
readonly commandId: Schema.NullOr<Schema.Codec<PaymentCommandId, string, never, never>>;
|
|
2554
|
-
readonly endingReason: Schema.NullOr<Schema.Literals<readonly ["declined", "cancelled", "expired", "revoked"]>>;
|
|
2555
|
-
readonly delivery: Schema.Literals<readonly ["not_confirmed", "sent", "failed"]>;
|
|
2556
|
-
}>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
2557
|
-
/** The Organization's offers, for a current Admin. */
|
|
2558
|
-
list: Operation<"query", "organizations.invitations.list", Schema.Struct<{
|
|
2559
|
-
readonly cursor: Schema.optional<Schema.NonEmptyString>;
|
|
2560
|
-
readonly limit: Schema.optional<Schema.refine<number, Schema.Finite>>;
|
|
2561
|
-
readonly phases: Schema.optional<Schema.refine<readonly ("active" | "authorizing" | "cancelled" | "declined" | "expired" | "pending" | "pending_grant" | "revoked" | "revoking")[], Schema.$Array<Schema.Literals<readonly ["authorizing", "pending", "pending_grant", "active", "revoking", "declined", "cancelled", "expired", "revoked"]>>>>;
|
|
2562
|
-
readonly orgId: Schema.NonEmptyString;
|
|
2563
|
-
}>, Schema.Struct<{
|
|
2564
|
-
readonly items: Schema.$Array<Schema.Struct<{
|
|
2565
|
-
readonly id: Schema.NonEmptyString;
|
|
2566
|
-
readonly orgId: Schema.refine<OrgId, Schema.NonEmptyString>;
|
|
2567
|
-
readonly organizationName: Schema.String;
|
|
2568
|
-
readonly grantee: Schema.Struct<{
|
|
2569
|
-
readonly partyId: Schema.String;
|
|
2570
|
-
readonly accountId: Schema.NullOr<Schema.refine<AccountId, Schema.String>>;
|
|
2571
|
-
readonly safeAddress: Schema.Codec<Address$1, string, never, never>;
|
|
2572
|
-
readonly accountReady: Schema.NullOr<Schema.Boolean>;
|
|
2573
|
-
}>;
|
|
2574
|
-
readonly phase: Schema.Literals<readonly ["authorizing", "pending", "pending_grant", "active", "revoking", "declined", "cancelled", "expired", "revoked"]>;
|
|
2575
|
-
readonly grants: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
2576
|
-
readonly type: Schema.Literal<"budget">;
|
|
2577
|
-
readonly budgetId: Schema.refine<BudgetId, Schema.NonEmptyString>;
|
|
2578
|
-
}>, Schema.Struct<{
|
|
2579
|
-
readonly type: Schema.Literal<"managePeople">;
|
|
2580
|
-
readonly permissionId: Schema.Codec<PermissionId, string, never, never>;
|
|
2581
|
-
}>]>>;
|
|
2582
|
-
readonly offers: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
2583
|
-
readonly type: Schema.Literal<"budget">;
|
|
2584
|
-
readonly budgetId: Schema.refine<BudgetId, Schema.NonEmptyString>;
|
|
2585
|
-
readonly label: Schema.String;
|
|
2586
|
-
readonly policy: Schema.refine<{
|
|
2389
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
2390
|
+
}, Schema.refine<{
|
|
2587
2391
|
readonly type: "budget";
|
|
2588
2392
|
readonly asset: AssetId;
|
|
2589
2393
|
readonly limit: string | null;
|
|
@@ -2596,6 +2400,7 @@ declare const invitations: {
|
|
|
2596
2400
|
};
|
|
2597
2401
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2598
2402
|
};
|
|
2403
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
2599
2404
|
}, Schema.Union<readonly [Schema.Struct<{
|
|
2600
2405
|
readonly type: Schema.Literal<"budget">;
|
|
2601
2406
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -2617,6 +2422,269 @@ declare const invitations: {
|
|
|
2617
2422
|
}>]>;
|
|
2618
2423
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
2619
2424
|
}>>;
|
|
2425
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
2426
|
+
}>, Schema.Struct<{
|
|
2427
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
2428
|
+
}>]>>>;
|
|
2429
|
+
}>]>>>;
|
|
2430
|
+
}>;
|
|
2431
|
+
}>, Schema.Struct<{
|
|
2432
|
+
readonly orgId: Schema.refine<OrgId, Schema.NonEmptyString>;
|
|
2433
|
+
readonly grantee: Schema.Struct<{
|
|
2434
|
+
readonly partyId: Schema.NullOr<Schema.String>;
|
|
2435
|
+
readonly accountId: Schema.NullOr<Schema.refine<AccountId, Schema.String>>;
|
|
2436
|
+
readonly safeAddress: Schema.Codec<Address$1, string, never, never>;
|
|
2437
|
+
readonly accountReady: Schema.NullOr<Schema.Boolean>;
|
|
2438
|
+
}>;
|
|
2439
|
+
readonly grants: Schema.$Array<Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
2440
|
+
readonly type: Schema.Literal<"budget">;
|
|
2441
|
+
readonly budgetId: Schema.refine<BudgetId, Schema.NonEmptyString>;
|
|
2442
|
+
readonly label: Schema.String;
|
|
2443
|
+
readonly policy: Schema.refine<{
|
|
2444
|
+
readonly type: "budget";
|
|
2445
|
+
readonly asset: AssetId;
|
|
2446
|
+
readonly limit: string | null;
|
|
2447
|
+
readonly scope: {
|
|
2448
|
+
readonly recipients: {
|
|
2449
|
+
readonly type: "anyone";
|
|
2450
|
+
} | {
|
|
2451
|
+
readonly type: "allowlist";
|
|
2452
|
+
readonly accounts: readonly AccountId[];
|
|
2453
|
+
};
|
|
2454
|
+
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2455
|
+
};
|
|
2456
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
2457
|
+
}, Schema.Union<readonly [Schema.Struct<{
|
|
2458
|
+
readonly type: Schema.Literal<"budget">;
|
|
2459
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
2460
|
+
readonly limit: Schema.NullOr<Schema.String>;
|
|
2461
|
+
readonly scope: Schema.refine<{
|
|
2462
|
+
readonly recipients: {
|
|
2463
|
+
readonly type: "anyone";
|
|
2464
|
+
} | {
|
|
2465
|
+
readonly type: "allowlist";
|
|
2466
|
+
readonly accounts: readonly AccountId[];
|
|
2467
|
+
};
|
|
2468
|
+
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2469
|
+
}, Schema.Struct<{
|
|
2470
|
+
readonly recipients: Schema.Union<readonly [Schema.Struct<{
|
|
2471
|
+
readonly type: Schema.Literal<"anyone">;
|
|
2472
|
+
}>, Schema.Struct<{
|
|
2473
|
+
readonly type: Schema.Literal<"allowlist">;
|
|
2474
|
+
readonly accounts: Schema.$Array<Schema.refine<AccountId, Schema.String>>;
|
|
2475
|
+
}>]>;
|
|
2476
|
+
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
2477
|
+
}>>;
|
|
2478
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
2479
|
+
}>, Schema.Struct<{
|
|
2480
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
2481
|
+
}>]>>;
|
|
2482
|
+
readonly policyDigest: Schema.Codec<`0x${string}`, string, never, never>;
|
|
2483
|
+
}>, Schema.Struct<{
|
|
2484
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
2485
|
+
readonly permissionId: Schema.Codec<PermissionId, string, never, never>;
|
|
2486
|
+
readonly label: Schema.String;
|
|
2487
|
+
}>]>, Schema.Struct<{
|
|
2488
|
+
readonly type: Schema.Literal<"new_budget">;
|
|
2489
|
+
readonly label: Schema.String;
|
|
2490
|
+
readonly policy: Schema.refine<{
|
|
2491
|
+
readonly type: "budget";
|
|
2492
|
+
readonly asset: AssetId;
|
|
2493
|
+
readonly limit: string | null;
|
|
2494
|
+
readonly scope: {
|
|
2495
|
+
readonly recipients: {
|
|
2496
|
+
readonly type: "anyone";
|
|
2497
|
+
} | {
|
|
2498
|
+
readonly type: "allowlist";
|
|
2499
|
+
readonly accounts: readonly AccountId[];
|
|
2500
|
+
};
|
|
2501
|
+
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2502
|
+
};
|
|
2503
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
2504
|
+
}, Schema.Union<readonly [Schema.Struct<{
|
|
2505
|
+
readonly type: Schema.Literal<"budget">;
|
|
2506
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
2507
|
+
readonly limit: Schema.NullOr<Schema.String>;
|
|
2508
|
+
readonly scope: Schema.refine<{
|
|
2509
|
+
readonly recipients: {
|
|
2510
|
+
readonly type: "anyone";
|
|
2511
|
+
} | {
|
|
2512
|
+
readonly type: "allowlist";
|
|
2513
|
+
readonly accounts: readonly AccountId[];
|
|
2514
|
+
};
|
|
2515
|
+
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2516
|
+
}, Schema.Struct<{
|
|
2517
|
+
readonly recipients: Schema.Union<readonly [Schema.Struct<{
|
|
2518
|
+
readonly type: Schema.Literal<"anyone">;
|
|
2519
|
+
}>, Schema.Struct<{
|
|
2520
|
+
readonly type: Schema.Literal<"allowlist">;
|
|
2521
|
+
readonly accounts: Schema.$Array<Schema.refine<AccountId, Schema.String>>;
|
|
2522
|
+
}>]>;
|
|
2523
|
+
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
2524
|
+
}>>;
|
|
2525
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
2526
|
+
}>, Schema.Struct<{
|
|
2527
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
2528
|
+
}>]>>;
|
|
2529
|
+
readonly policyDigest: Schema.Codec<`0x${string}`, string, never, never>;
|
|
2530
|
+
}>]>>;
|
|
2531
|
+
readonly existingAssignments: Schema.$Array<Schema.Codec<PermissionAssignmentId, string, never, never>>;
|
|
2532
|
+
readonly includesManagement: Schema.Boolean;
|
|
2533
|
+
readonly observedAt: Schema.Codec<EpochMs, number, never, never>;
|
|
2534
|
+
}>, "ACCOUNT_NOT_FOUND" | "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "ROLE_PERMISSION_DENIED" | "SMART_ACCOUNT_MISSING" | "UNKNOWN" | "WRONG_STATE">;
|
|
2535
|
+
/** One offer, visible to its grantee or anyone with authority in the Organization. */
|
|
2536
|
+
get: Operation<"query", "organizations.invitations.get", Schema.Struct<{
|
|
2537
|
+
readonly invitationId: Schema.NonEmptyString;
|
|
2538
|
+
readonly orgId: Schema.NonEmptyString;
|
|
2539
|
+
}>, Schema.Struct<{
|
|
2540
|
+
readonly id: Schema.NonEmptyString;
|
|
2541
|
+
readonly orgId: Schema.refine<OrgId, Schema.NonEmptyString>;
|
|
2542
|
+
readonly organizationName: Schema.String;
|
|
2543
|
+
readonly grantee: Schema.Struct<{
|
|
2544
|
+
readonly partyId: Schema.String;
|
|
2545
|
+
readonly accountId: Schema.NullOr<Schema.refine<AccountId, Schema.String>>;
|
|
2546
|
+
readonly safeAddress: Schema.Codec<Address$1, string, never, never>;
|
|
2547
|
+
readonly accountReady: Schema.NullOr<Schema.Boolean>;
|
|
2548
|
+
}>;
|
|
2549
|
+
readonly phase: Schema.Literals<readonly ["authorizing", "pending", "pending_grant", "active", "revoking", "declined", "cancelled", "expired", "revoked"]>;
|
|
2550
|
+
readonly grants: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
2551
|
+
readonly type: Schema.Literal<"budget">;
|
|
2552
|
+
readonly budgetId: Schema.refine<BudgetId, Schema.NonEmptyString>;
|
|
2553
|
+
}>, Schema.Struct<{
|
|
2554
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
2555
|
+
readonly permissionId: Schema.Codec<PermissionId, string, never, never>;
|
|
2556
|
+
}>]>>;
|
|
2557
|
+
readonly offers: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
2558
|
+
readonly type: Schema.Literal<"budget">;
|
|
2559
|
+
readonly budgetId: Schema.refine<BudgetId, Schema.NonEmptyString>;
|
|
2560
|
+
readonly label: Schema.String;
|
|
2561
|
+
readonly policy: Schema.refine<{
|
|
2562
|
+
readonly type: "budget";
|
|
2563
|
+
readonly asset: AssetId;
|
|
2564
|
+
readonly limit: string | null;
|
|
2565
|
+
readonly scope: {
|
|
2566
|
+
readonly recipients: {
|
|
2567
|
+
readonly type: "anyone";
|
|
2568
|
+
} | {
|
|
2569
|
+
readonly type: "allowlist";
|
|
2570
|
+
readonly accounts: readonly AccountId[];
|
|
2571
|
+
};
|
|
2572
|
+
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2573
|
+
};
|
|
2574
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
2575
|
+
}, Schema.Union<readonly [Schema.Struct<{
|
|
2576
|
+
readonly type: Schema.Literal<"budget">;
|
|
2577
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
2578
|
+
readonly limit: Schema.NullOr<Schema.String>;
|
|
2579
|
+
readonly scope: Schema.refine<{
|
|
2580
|
+
readonly recipients: {
|
|
2581
|
+
readonly type: "anyone";
|
|
2582
|
+
} | {
|
|
2583
|
+
readonly type: "allowlist";
|
|
2584
|
+
readonly accounts: readonly AccountId[];
|
|
2585
|
+
};
|
|
2586
|
+
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2587
|
+
}, Schema.Struct<{
|
|
2588
|
+
readonly recipients: Schema.Union<readonly [Schema.Struct<{
|
|
2589
|
+
readonly type: Schema.Literal<"anyone">;
|
|
2590
|
+
}>, Schema.Struct<{
|
|
2591
|
+
readonly type: Schema.Literal<"allowlist">;
|
|
2592
|
+
readonly accounts: Schema.$Array<Schema.refine<AccountId, Schema.String>>;
|
|
2593
|
+
}>]>;
|
|
2594
|
+
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
2595
|
+
}>>;
|
|
2596
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
2597
|
+
}>, Schema.Struct<{
|
|
2598
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
2599
|
+
}>]>>;
|
|
2600
|
+
readonly policyDigest: Schema.Codec<`0x${string}`, string, never, never>;
|
|
2601
|
+
}>, Schema.Struct<{
|
|
2602
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
2603
|
+
readonly permissionId: Schema.Codec<PermissionId, string, never, never>;
|
|
2604
|
+
readonly label: Schema.String;
|
|
2605
|
+
}>]>>;
|
|
2606
|
+
readonly recovery: Schema.NullOr<Schema.Struct<{
|
|
2607
|
+
readonly actor: Schema.Literals<readonly ["system", "invitee", "admin"]>;
|
|
2608
|
+
readonly action: Schema.Literals<readonly ["wait", "retry", "review_offer", "reauthorize"]>;
|
|
2609
|
+
readonly reason: Schema.Literals<readonly ["configuration_pending", "grant_pending", "provider_unavailable", "policy_changed", "cleanup_pending", "signer_unavailable"]>;
|
|
2610
|
+
}>>;
|
|
2611
|
+
readonly recoveryActions: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2612
|
+
readonly action: Schema.Literals<readonly ["resend", "retry"]>;
|
|
2613
|
+
readonly notBefore: Schema.Codec<EpochMs, number, never, never>;
|
|
2614
|
+
}>>>;
|
|
2615
|
+
readonly offerDigest: Schema.Codec<`0x${string}`, string, never, never>;
|
|
2616
|
+
readonly authorizedAt: Schema.NullOr<Schema.Codec<EpochMs, number, never, never>>;
|
|
2617
|
+
readonly acceptedAt: Schema.NullOr<Schema.Codec<EpochMs, number, never, never>>;
|
|
2618
|
+
readonly expiresAt: Schema.NullOr<Schema.Codec<EpochMs, number, never, never>>;
|
|
2619
|
+
readonly commandId: Schema.NullOr<Schema.Codec<PaymentCommandId, string, never, never>>;
|
|
2620
|
+
readonly endingReason: Schema.NullOr<Schema.Literals<readonly ["declined", "cancelled", "expired", "revoked"]>>;
|
|
2621
|
+
readonly delivery: Schema.Literals<readonly ["not_confirmed", "sent", "failed"]>;
|
|
2622
|
+
}>, "ENV_MISSING" | "INVALID_INPUT" | "NOT_AUTHENTICATED" | "ROLE_PERMISSION_DENIED" | "UNKNOWN" | "WRONG_STATE">;
|
|
2623
|
+
/** The Organization's offers, for a current Admin. */
|
|
2624
|
+
list: Operation<"query", "organizations.invitations.list", Schema.Struct<{
|
|
2625
|
+
readonly cursor: Schema.optional<Schema.NonEmptyString>;
|
|
2626
|
+
readonly limit: Schema.optional<Schema.refine<number, Schema.Finite>>;
|
|
2627
|
+
readonly phases: Schema.optional<Schema.refine<readonly ("active" | "authorizing" | "cancelled" | "declined" | "expired" | "pending" | "pending_grant" | "revoked" | "revoking")[], Schema.$Array<Schema.Literals<readonly ["authorizing", "pending", "pending_grant", "active", "revoking", "declined", "cancelled", "expired", "revoked"]>>>>;
|
|
2628
|
+
readonly orgId: Schema.NonEmptyString;
|
|
2629
|
+
}>, Schema.Struct<{
|
|
2630
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
2631
|
+
readonly id: Schema.NonEmptyString;
|
|
2632
|
+
readonly orgId: Schema.refine<OrgId, Schema.NonEmptyString>;
|
|
2633
|
+
readonly organizationName: Schema.String;
|
|
2634
|
+
readonly grantee: Schema.Struct<{
|
|
2635
|
+
readonly partyId: Schema.String;
|
|
2636
|
+
readonly accountId: Schema.NullOr<Schema.refine<AccountId, Schema.String>>;
|
|
2637
|
+
readonly safeAddress: Schema.Codec<Address$1, string, never, never>;
|
|
2638
|
+
readonly accountReady: Schema.NullOr<Schema.Boolean>;
|
|
2639
|
+
}>;
|
|
2640
|
+
readonly phase: Schema.Literals<readonly ["authorizing", "pending", "pending_grant", "active", "revoking", "declined", "cancelled", "expired", "revoked"]>;
|
|
2641
|
+
readonly grants: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
2642
|
+
readonly type: Schema.Literal<"budget">;
|
|
2643
|
+
readonly budgetId: Schema.refine<BudgetId, Schema.NonEmptyString>;
|
|
2644
|
+
}>, Schema.Struct<{
|
|
2645
|
+
readonly type: Schema.Literal<"managePeople">;
|
|
2646
|
+
readonly permissionId: Schema.Codec<PermissionId, string, never, never>;
|
|
2647
|
+
}>]>>;
|
|
2648
|
+
readonly offers: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
2649
|
+
readonly type: Schema.Literal<"budget">;
|
|
2650
|
+
readonly budgetId: Schema.refine<BudgetId, Schema.NonEmptyString>;
|
|
2651
|
+
readonly label: Schema.String;
|
|
2652
|
+
readonly policy: Schema.refine<{
|
|
2653
|
+
readonly type: "budget";
|
|
2654
|
+
readonly asset: AssetId;
|
|
2655
|
+
readonly limit: string | null;
|
|
2656
|
+
readonly scope: {
|
|
2657
|
+
readonly recipients: {
|
|
2658
|
+
readonly type: "anyone";
|
|
2659
|
+
} | {
|
|
2660
|
+
readonly type: "allowlist";
|
|
2661
|
+
readonly accounts: readonly AccountId[];
|
|
2662
|
+
};
|
|
2663
|
+
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2664
|
+
};
|
|
2665
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
2666
|
+
}, Schema.Union<readonly [Schema.Struct<{
|
|
2667
|
+
readonly type: Schema.Literal<"budget">;
|
|
2668
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
2669
|
+
readonly limit: Schema.NullOr<Schema.String>;
|
|
2670
|
+
readonly scope: Schema.refine<{
|
|
2671
|
+
readonly recipients: {
|
|
2672
|
+
readonly type: "anyone";
|
|
2673
|
+
} | {
|
|
2674
|
+
readonly type: "allowlist";
|
|
2675
|
+
readonly accounts: readonly AccountId[];
|
|
2676
|
+
};
|
|
2677
|
+
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2678
|
+
}, Schema.Struct<{
|
|
2679
|
+
readonly recipients: Schema.Union<readonly [Schema.Struct<{
|
|
2680
|
+
readonly type: Schema.Literal<"anyone">;
|
|
2681
|
+
}>, Schema.Struct<{
|
|
2682
|
+
readonly type: Schema.Literal<"allowlist">;
|
|
2683
|
+
readonly accounts: Schema.$Array<Schema.refine<AccountId, Schema.String>>;
|
|
2684
|
+
}>]>;
|
|
2685
|
+
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
2686
|
+
}>>;
|
|
2687
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
2620
2688
|
}>, Schema.Struct<{
|
|
2621
2689
|
readonly type: Schema.Literal<"managePeople">;
|
|
2622
2690
|
}>]>>;
|
|
@@ -2687,6 +2755,7 @@ declare const invitations: {
|
|
|
2687
2755
|
};
|
|
2688
2756
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2689
2757
|
};
|
|
2758
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
2690
2759
|
}, Schema.Union<readonly [Schema.Struct<{
|
|
2691
2760
|
readonly type: Schema.Literal<"budget">;
|
|
2692
2761
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -2708,6 +2777,7 @@ declare const invitations: {
|
|
|
2708
2777
|
}>]>;
|
|
2709
2778
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
2710
2779
|
}>>;
|
|
2780
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
2711
2781
|
}>, Schema.Struct<{
|
|
2712
2782
|
readonly type: Schema.Literal<"managePeople">;
|
|
2713
2783
|
}>]>>;
|
|
@@ -2770,6 +2840,7 @@ declare const invitations: {
|
|
|
2770
2840
|
};
|
|
2771
2841
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2772
2842
|
};
|
|
2843
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
2773
2844
|
};
|
|
2774
2845
|
})[], Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
2775
2846
|
readonly type: Schema.Literal<"budget">;
|
|
@@ -2793,6 +2864,21 @@ declare const invitations: {
|
|
|
2793
2864
|
};
|
|
2794
2865
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2795
2866
|
};
|
|
2867
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
2868
|
+
}, Schema.refine<{
|
|
2869
|
+
readonly type: "budget";
|
|
2870
|
+
readonly asset: AssetId;
|
|
2871
|
+
readonly limit: string | null;
|
|
2872
|
+
readonly scope: {
|
|
2873
|
+
readonly recipients: {
|
|
2874
|
+
readonly type: "anyone";
|
|
2875
|
+
} | {
|
|
2876
|
+
readonly type: "allowlist";
|
|
2877
|
+
readonly accounts: readonly AccountId[];
|
|
2878
|
+
};
|
|
2879
|
+
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2880
|
+
};
|
|
2881
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
2796
2882
|
}, Schema.Union<readonly [Schema.Struct<{
|
|
2797
2883
|
readonly type: Schema.Literal<"budget">;
|
|
2798
2884
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -2814,9 +2900,10 @@ declare const invitations: {
|
|
|
2814
2900
|
}>]>;
|
|
2815
2901
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
2816
2902
|
}>>;
|
|
2903
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
2817
2904
|
}>, Schema.Struct<{
|
|
2818
2905
|
readonly type: Schema.Literal<"managePeople">;
|
|
2819
|
-
}>]
|
|
2906
|
+
}>]>>>;
|
|
2820
2907
|
}>]>>>;
|
|
2821
2908
|
readonly requestKey: Schema.refine<string, Schema.String>;
|
|
2822
2909
|
}>;
|
|
@@ -2855,6 +2942,7 @@ declare const invitations: {
|
|
|
2855
2942
|
};
|
|
2856
2943
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2857
2944
|
};
|
|
2945
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
2858
2946
|
}, Schema.Union<readonly [Schema.Struct<{
|
|
2859
2947
|
readonly type: Schema.Literal<"budget">;
|
|
2860
2948
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -2876,6 +2964,7 @@ declare const invitations: {
|
|
|
2876
2964
|
}>]>;
|
|
2877
2965
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
2878
2966
|
}>>;
|
|
2967
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
2879
2968
|
}>, Schema.Struct<{
|
|
2880
2969
|
readonly type: Schema.Literal<"managePeople">;
|
|
2881
2970
|
}>]>>;
|
|
@@ -2942,6 +3031,7 @@ declare const invitations: {
|
|
|
2942
3031
|
};
|
|
2943
3032
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
2944
3033
|
};
|
|
3034
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
2945
3035
|
}, Schema.Union<readonly [Schema.Struct<{
|
|
2946
3036
|
readonly type: Schema.Literal<"budget">;
|
|
2947
3037
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -2963,6 +3053,7 @@ declare const invitations: {
|
|
|
2963
3053
|
}>]>;
|
|
2964
3054
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
2965
3055
|
}>>;
|
|
3056
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
2966
3057
|
}>, Schema.Struct<{
|
|
2967
3058
|
readonly type: Schema.Literal<"managePeople">;
|
|
2968
3059
|
}>]>>;
|
|
@@ -3028,6 +3119,7 @@ declare const invitations: {
|
|
|
3028
3119
|
};
|
|
3029
3120
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
3030
3121
|
};
|
|
3122
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
3031
3123
|
}, Schema.Union<readonly [Schema.Struct<{
|
|
3032
3124
|
readonly type: Schema.Literal<"budget">;
|
|
3033
3125
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -3049,6 +3141,7 @@ declare const invitations: {
|
|
|
3049
3141
|
}>]>;
|
|
3050
3142
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
3051
3143
|
}>>;
|
|
3144
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
3052
3145
|
}>, Schema.Struct<{
|
|
3053
3146
|
readonly type: Schema.Literal<"managePeople">;
|
|
3054
3147
|
}>]>>;
|
|
@@ -3114,6 +3207,7 @@ declare const invitations: {
|
|
|
3114
3207
|
};
|
|
3115
3208
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
3116
3209
|
};
|
|
3210
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
3117
3211
|
}, Schema.Union<readonly [Schema.Struct<{
|
|
3118
3212
|
readonly type: Schema.Literal<"budget">;
|
|
3119
3213
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -3135,6 +3229,7 @@ declare const invitations: {
|
|
|
3135
3229
|
}>]>;
|
|
3136
3230
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
3137
3231
|
}>>;
|
|
3232
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
3138
3233
|
}>, Schema.Struct<{
|
|
3139
3234
|
readonly type: Schema.Literal<"managePeople">;
|
|
3140
3235
|
}>]>>;
|
|
@@ -3200,6 +3295,7 @@ declare const invitations: {
|
|
|
3200
3295
|
};
|
|
3201
3296
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
3202
3297
|
};
|
|
3298
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
3203
3299
|
}, Schema.Union<readonly [Schema.Struct<{
|
|
3204
3300
|
readonly type: Schema.Literal<"budget">;
|
|
3205
3301
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -3221,6 +3317,7 @@ declare const invitations: {
|
|
|
3221
3317
|
}>]>;
|
|
3222
3318
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
3223
3319
|
}>>;
|
|
3320
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
3224
3321
|
}>, Schema.Struct<{
|
|
3225
3322
|
readonly type: Schema.Literal<"managePeople">;
|
|
3226
3323
|
}>]>>;
|
|
@@ -3286,6 +3383,7 @@ declare const invitations: {
|
|
|
3286
3383
|
};
|
|
3287
3384
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
3288
3385
|
};
|
|
3386
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
3289
3387
|
}, Schema.Union<readonly [Schema.Struct<{
|
|
3290
3388
|
readonly type: Schema.Literal<"budget">;
|
|
3291
3389
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -3307,6 +3405,7 @@ declare const invitations: {
|
|
|
3307
3405
|
}>]>;
|
|
3308
3406
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
3309
3407
|
}>>;
|
|
3408
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
3310
3409
|
}>, Schema.Struct<{
|
|
3311
3410
|
readonly type: Schema.Literal<"managePeople">;
|
|
3312
3411
|
}>]>>;
|
|
@@ -3479,6 +3578,7 @@ declare const workspaces: {
|
|
|
3479
3578
|
}>]>;
|
|
3480
3579
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
3481
3580
|
}>>;
|
|
3581
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
3482
3582
|
}>, Schema.Struct<{
|
|
3483
3583
|
readonly type: Schema.Literal<"managePeople">;
|
|
3484
3584
|
}>]>;
|
|
@@ -3538,6 +3638,7 @@ declare const workspaces: {
|
|
|
3538
3638
|
}>]>;
|
|
3539
3639
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
3540
3640
|
}>>;
|
|
3641
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
3541
3642
|
}>, Schema.Struct<{
|
|
3542
3643
|
readonly type: Schema.Literal<"managePeople">;
|
|
3543
3644
|
}>]>;
|
|
@@ -12312,6 +12413,7 @@ declare const commands: {
|
|
|
12312
12413
|
};
|
|
12313
12414
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
12314
12415
|
};
|
|
12416
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
12315
12417
|
}, Schema.Struct<{
|
|
12316
12418
|
readonly type: Schema.Literal<"budget">;
|
|
12317
12419
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -12338,6 +12440,7 @@ declare const commands: {
|
|
|
12338
12440
|
}>]>;
|
|
12339
12441
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
12340
12442
|
}>>;
|
|
12443
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
12341
12444
|
}>>, Schema.Struct<{
|
|
12342
12445
|
readonly type: Schema.Literal<"managePeople">;
|
|
12343
12446
|
}>]>;
|
|
@@ -12363,6 +12466,7 @@ declare const commands: {
|
|
|
12363
12466
|
};
|
|
12364
12467
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
12365
12468
|
};
|
|
12469
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
12366
12470
|
}, Schema.Struct<{
|
|
12367
12471
|
readonly type: Schema.Literal<"budget">;
|
|
12368
12472
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -12389,6 +12493,7 @@ declare const commands: {
|
|
|
12389
12493
|
}>]>;
|
|
12390
12494
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
12391
12495
|
}>>;
|
|
12496
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
12392
12497
|
}>>, Schema.Struct<{
|
|
12393
12498
|
readonly type: Schema.Literal<"managePeople">;
|
|
12394
12499
|
}>]>;
|
|
@@ -12456,6 +12561,7 @@ declare const commands: {
|
|
|
12456
12561
|
};
|
|
12457
12562
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
12458
12563
|
} | undefined;
|
|
12564
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
12459
12565
|
}, Schema.Struct<{
|
|
12460
12566
|
readonly type: Schema.Literal<"budget">;
|
|
12461
12567
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -12482,6 +12588,7 @@ declare const commands: {
|
|
|
12482
12588
|
}>]>;
|
|
12483
12589
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
12484
12590
|
}>>>;
|
|
12591
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
12485
12592
|
}>>, Schema.Struct<{
|
|
12486
12593
|
readonly type: Schema.Literal<"managePeople">;
|
|
12487
12594
|
}>]>;
|
|
@@ -12499,6 +12606,7 @@ declare const commands: {
|
|
|
12499
12606
|
}>]>;
|
|
12500
12607
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
12501
12608
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
12609
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
12502
12610
|
}>>;
|
|
12503
12611
|
readonly previousAllowanceKey: Schema.NullOr<Schema.Codec<AllowanceKey, string, never, never>>;
|
|
12504
12612
|
readonly previousCurrentPolicy: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
@@ -12522,6 +12630,7 @@ declare const commands: {
|
|
|
12522
12630
|
}>]>;
|
|
12523
12631
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
12524
12632
|
}>>;
|
|
12633
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
12525
12634
|
}>, Schema.Struct<{
|
|
12526
12635
|
readonly type: Schema.Literal<"managePeople">;
|
|
12527
12636
|
}>]>>;
|
|
@@ -12580,6 +12689,7 @@ declare const commands: {
|
|
|
12580
12689
|
};
|
|
12581
12690
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
12582
12691
|
} | undefined;
|
|
12692
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
12583
12693
|
}, Schema.Struct<{
|
|
12584
12694
|
readonly type: Schema.Literal<"budget">;
|
|
12585
12695
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -12606,6 +12716,7 @@ declare const commands: {
|
|
|
12606
12716
|
}>]>;
|
|
12607
12717
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
12608
12718
|
}>>>;
|
|
12719
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
12609
12720
|
}>>, Schema.Struct<{
|
|
12610
12721
|
readonly type: Schema.Literal<"managePeople">;
|
|
12611
12722
|
}>]>;
|
|
@@ -12623,6 +12734,7 @@ declare const commands: {
|
|
|
12623
12734
|
}>]>;
|
|
12624
12735
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
12625
12736
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
12737
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
12626
12738
|
}>>;
|
|
12627
12739
|
readonly currentPolicy: Schema.Union<readonly [Schema.Struct<{
|
|
12628
12740
|
readonly type: Schema.Literal<"budget">;
|
|
@@ -12645,6 +12757,7 @@ declare const commands: {
|
|
|
12645
12757
|
}>]>;
|
|
12646
12758
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
12647
12759
|
}>>;
|
|
12760
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
12648
12761
|
}>, Schema.Struct<{
|
|
12649
12762
|
readonly type: Schema.Literal<"managePeople">;
|
|
12650
12763
|
}>]>;
|
|
@@ -12746,6 +12859,7 @@ declare const commands: {
|
|
|
12746
12859
|
};
|
|
12747
12860
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
12748
12861
|
} | undefined;
|
|
12862
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
12749
12863
|
}, Schema.Struct<{
|
|
12750
12864
|
readonly type: Schema.Literal<"budget">;
|
|
12751
12865
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -12772,6 +12886,7 @@ declare const commands: {
|
|
|
12772
12886
|
}>]>;
|
|
12773
12887
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
12774
12888
|
}>>>;
|
|
12889
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
12775
12890
|
}>>, Schema.Struct<{
|
|
12776
12891
|
readonly type: Schema.Literal<"managePeople">;
|
|
12777
12892
|
}>]>;
|
|
@@ -12789,6 +12904,7 @@ declare const commands: {
|
|
|
12789
12904
|
}>]>;
|
|
12790
12905
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
12791
12906
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
12907
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
12792
12908
|
}>>;
|
|
12793
12909
|
readonly currentPolicy: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
12794
12910
|
readonly type: Schema.Literal<"budget">;
|
|
@@ -12811,6 +12927,7 @@ declare const commands: {
|
|
|
12811
12927
|
}>]>;
|
|
12812
12928
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
12813
12929
|
}>>;
|
|
12930
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
12814
12931
|
}>, Schema.Struct<{
|
|
12815
12932
|
readonly type: Schema.Literal<"managePeople">;
|
|
12816
12933
|
}>]>>;
|
|
@@ -12854,6 +12971,7 @@ declare const commands: {
|
|
|
12854
12971
|
}>]>;
|
|
12855
12972
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
12856
12973
|
}>>;
|
|
12974
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
12857
12975
|
}>, Schema.Struct<{
|
|
12858
12976
|
readonly type: Schema.Literal<"managePeople">;
|
|
12859
12977
|
}>]>>;
|
|
@@ -12901,6 +13019,7 @@ declare const commands: {
|
|
|
12901
13019
|
}>]>;
|
|
12902
13020
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
12903
13021
|
}>>;
|
|
13022
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
12904
13023
|
}>, Schema.Struct<{
|
|
12905
13024
|
readonly type: Schema.Literal<"managePeople">;
|
|
12906
13025
|
}>]>>;
|
|
@@ -13040,6 +13159,7 @@ declare const commands: {
|
|
|
13040
13159
|
};
|
|
13041
13160
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
13042
13161
|
} | undefined;
|
|
13162
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
13043
13163
|
} | {
|
|
13044
13164
|
readonly type: "managePeople";
|
|
13045
13165
|
};
|
|
@@ -13057,6 +13177,7 @@ declare const commands: {
|
|
|
13057
13177
|
};
|
|
13058
13178
|
readonly recipients: "anyone" | readonly Address$1[];
|
|
13059
13179
|
readonly actions: readonly ("createCommitment" | "send" | "sendBatch")[];
|
|
13180
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
13060
13181
|
} | null;
|
|
13061
13182
|
readonly previousAllowanceKey: AllowanceKey | null;
|
|
13062
13183
|
readonly previousCurrentPolicy?: {
|
|
@@ -13072,6 +13193,7 @@ declare const commands: {
|
|
|
13072
13193
|
};
|
|
13073
13194
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
13074
13195
|
};
|
|
13196
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
13075
13197
|
} | {
|
|
13076
13198
|
readonly type: "managePeople";
|
|
13077
13199
|
} | undefined;
|
|
@@ -13130,6 +13252,7 @@ declare const commands: {
|
|
|
13130
13252
|
};
|
|
13131
13253
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
13132
13254
|
} | undefined;
|
|
13255
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
13133
13256
|
} | {
|
|
13134
13257
|
readonly type: "managePeople";
|
|
13135
13258
|
};
|
|
@@ -13147,6 +13270,7 @@ declare const commands: {
|
|
|
13147
13270
|
};
|
|
13148
13271
|
readonly recipients: "anyone" | readonly Address$1[];
|
|
13149
13272
|
readonly actions: readonly ("createCommitment" | "send" | "sendBatch")[];
|
|
13273
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
13150
13274
|
} | null;
|
|
13151
13275
|
readonly currentPolicy: {
|
|
13152
13276
|
readonly type: "budget";
|
|
@@ -13161,6 +13285,7 @@ declare const commands: {
|
|
|
13161
13285
|
};
|
|
13162
13286
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
13163
13287
|
};
|
|
13288
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
13164
13289
|
} | {
|
|
13165
13290
|
readonly type: "managePeople";
|
|
13166
13291
|
};
|
|
@@ -13262,6 +13387,7 @@ declare const commands: {
|
|
|
13262
13387
|
};
|
|
13263
13388
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
13264
13389
|
} | undefined;
|
|
13390
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
13265
13391
|
} | {
|
|
13266
13392
|
readonly type: "managePeople";
|
|
13267
13393
|
};
|
|
@@ -13279,6 +13405,7 @@ declare const commands: {
|
|
|
13279
13405
|
};
|
|
13280
13406
|
readonly recipients: "anyone" | readonly Address$1[];
|
|
13281
13407
|
readonly actions: readonly ("createCommitment" | "send" | "sendBatch")[];
|
|
13408
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
13282
13409
|
} | null;
|
|
13283
13410
|
readonly currentPolicy?: {
|
|
13284
13411
|
readonly type: "budget";
|
|
@@ -13293,6 +13420,7 @@ declare const commands: {
|
|
|
13293
13420
|
};
|
|
13294
13421
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
13295
13422
|
};
|
|
13423
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
13296
13424
|
} | {
|
|
13297
13425
|
readonly type: "managePeople";
|
|
13298
13426
|
} | undefined;
|
|
@@ -13522,6 +13650,7 @@ declare const commands: {
|
|
|
13522
13650
|
};
|
|
13523
13651
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
13524
13652
|
} | undefined;
|
|
13653
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
13525
13654
|
}, Schema.Struct<{
|
|
13526
13655
|
readonly type: Schema.Literal<"budget">;
|
|
13527
13656
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -13548,6 +13677,7 @@ declare const commands: {
|
|
|
13548
13677
|
}>]>;
|
|
13549
13678
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
13550
13679
|
}>>>;
|
|
13680
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
13551
13681
|
}>>, Schema.Struct<{
|
|
13552
13682
|
readonly type: Schema.Literal<"managePeople">;
|
|
13553
13683
|
}>]>;
|
|
@@ -13565,6 +13695,7 @@ declare const commands: {
|
|
|
13565
13695
|
}>]>;
|
|
13566
13696
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
13567
13697
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
13698
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
13568
13699
|
}>>;
|
|
13569
13700
|
readonly previousAllowanceKey: Schema.NullOr<Schema.Codec<AllowanceKey, string, never, never>>;
|
|
13570
13701
|
readonly previousCurrentPolicy: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
@@ -13588,6 +13719,7 @@ declare const commands: {
|
|
|
13588
13719
|
}>]>;
|
|
13589
13720
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
13590
13721
|
}>>;
|
|
13722
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
13591
13723
|
}>, Schema.Struct<{
|
|
13592
13724
|
readonly type: Schema.Literal<"managePeople">;
|
|
13593
13725
|
}>]>>;
|
|
@@ -13646,6 +13778,7 @@ declare const commands: {
|
|
|
13646
13778
|
};
|
|
13647
13779
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
13648
13780
|
} | undefined;
|
|
13781
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
13649
13782
|
}, Schema.Struct<{
|
|
13650
13783
|
readonly type: Schema.Literal<"budget">;
|
|
13651
13784
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -13672,6 +13805,7 @@ declare const commands: {
|
|
|
13672
13805
|
}>]>;
|
|
13673
13806
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
13674
13807
|
}>>>;
|
|
13808
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
13675
13809
|
}>>, Schema.Struct<{
|
|
13676
13810
|
readonly type: Schema.Literal<"managePeople">;
|
|
13677
13811
|
}>]>;
|
|
@@ -13689,6 +13823,7 @@ declare const commands: {
|
|
|
13689
13823
|
}>]>;
|
|
13690
13824
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
13691
13825
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
13826
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
13692
13827
|
}>>;
|
|
13693
13828
|
readonly currentPolicy: Schema.Union<readonly [Schema.Struct<{
|
|
13694
13829
|
readonly type: Schema.Literal<"budget">;
|
|
@@ -13711,6 +13846,7 @@ declare const commands: {
|
|
|
13711
13846
|
}>]>;
|
|
13712
13847
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
13713
13848
|
}>>;
|
|
13849
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
13714
13850
|
}>, Schema.Struct<{
|
|
13715
13851
|
readonly type: Schema.Literal<"managePeople">;
|
|
13716
13852
|
}>]>;
|
|
@@ -13812,6 +13948,7 @@ declare const commands: {
|
|
|
13812
13948
|
};
|
|
13813
13949
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
13814
13950
|
} | undefined;
|
|
13951
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
13815
13952
|
}, Schema.Struct<{
|
|
13816
13953
|
readonly type: Schema.Literal<"budget">;
|
|
13817
13954
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -13838,6 +13975,7 @@ declare const commands: {
|
|
|
13838
13975
|
}>]>;
|
|
13839
13976
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
13840
13977
|
}>>>;
|
|
13978
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
13841
13979
|
}>>, Schema.Struct<{
|
|
13842
13980
|
readonly type: Schema.Literal<"managePeople">;
|
|
13843
13981
|
}>]>;
|
|
@@ -13855,6 +13993,7 @@ declare const commands: {
|
|
|
13855
13993
|
}>]>;
|
|
13856
13994
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
13857
13995
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
13996
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
13858
13997
|
}>>;
|
|
13859
13998
|
readonly currentPolicy: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
13860
13999
|
readonly type: Schema.Literal<"budget">;
|
|
@@ -13877,6 +14016,7 @@ declare const commands: {
|
|
|
13877
14016
|
}>]>;
|
|
13878
14017
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
13879
14018
|
}>>;
|
|
14019
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
13880
14020
|
}>, Schema.Struct<{
|
|
13881
14021
|
readonly type: Schema.Literal<"managePeople">;
|
|
13882
14022
|
}>]>>;
|
|
@@ -14007,6 +14147,7 @@ declare const commands: {
|
|
|
14007
14147
|
};
|
|
14008
14148
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
14009
14149
|
};
|
|
14150
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
14010
14151
|
}, Schema.Struct<{
|
|
14011
14152
|
readonly type: Schema.Literal<"budget">;
|
|
14012
14153
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -14033,6 +14174,7 @@ declare const commands: {
|
|
|
14033
14174
|
}>]>;
|
|
14034
14175
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
14035
14176
|
}>>;
|
|
14177
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14036
14178
|
}>>, Schema.Struct<{
|
|
14037
14179
|
readonly type: Schema.Literal<"managePeople">;
|
|
14038
14180
|
}>]>;
|
|
@@ -14058,6 +14200,7 @@ declare const commands: {
|
|
|
14058
14200
|
};
|
|
14059
14201
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
14060
14202
|
};
|
|
14203
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
14061
14204
|
}, Schema.Struct<{
|
|
14062
14205
|
readonly type: Schema.Literal<"budget">;
|
|
14063
14206
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -14084,6 +14227,7 @@ declare const commands: {
|
|
|
14084
14227
|
}>]>;
|
|
14085
14228
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
14086
14229
|
}>>;
|
|
14230
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14087
14231
|
}>>, Schema.Struct<{
|
|
14088
14232
|
readonly type: Schema.Literal<"managePeople">;
|
|
14089
14233
|
}>]>;
|
|
@@ -14127,6 +14271,7 @@ declare const commands: {
|
|
|
14127
14271
|
};
|
|
14128
14272
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
14129
14273
|
};
|
|
14274
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
14130
14275
|
}, Schema.Struct<{
|
|
14131
14276
|
readonly type: Schema.Literal<"budget">;
|
|
14132
14277
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -14153,6 +14298,7 @@ declare const commands: {
|
|
|
14153
14298
|
}>]>;
|
|
14154
14299
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
14155
14300
|
}>>;
|
|
14301
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14156
14302
|
}>>, Schema.Struct<{
|
|
14157
14303
|
readonly type: Schema.Literal<"managePeople">;
|
|
14158
14304
|
}>]>;
|
|
@@ -14178,6 +14324,7 @@ declare const commands: {
|
|
|
14178
14324
|
};
|
|
14179
14325
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
14180
14326
|
};
|
|
14327
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
14181
14328
|
}, Schema.Struct<{
|
|
14182
14329
|
readonly type: Schema.Literal<"budget">;
|
|
14183
14330
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -14204,6 +14351,7 @@ declare const commands: {
|
|
|
14204
14351
|
}>]>;
|
|
14205
14352
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
14206
14353
|
}>>;
|
|
14354
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14207
14355
|
}>>, Schema.Struct<{
|
|
14208
14356
|
readonly type: Schema.Literal<"managePeople">;
|
|
14209
14357
|
}>]>;
|
|
@@ -14269,6 +14417,7 @@ declare const commands: {
|
|
|
14269
14417
|
};
|
|
14270
14418
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
14271
14419
|
} | undefined;
|
|
14420
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
14272
14421
|
}, Schema.Struct<{
|
|
14273
14422
|
readonly type: Schema.Literal<"budget">;
|
|
14274
14423
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -14295,6 +14444,7 @@ declare const commands: {
|
|
|
14295
14444
|
}>]>;
|
|
14296
14445
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
14297
14446
|
}>>>;
|
|
14447
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14298
14448
|
}>>, Schema.Struct<{
|
|
14299
14449
|
readonly type: Schema.Literal<"managePeople">;
|
|
14300
14450
|
}>]>;
|
|
@@ -14312,6 +14462,7 @@ declare const commands: {
|
|
|
14312
14462
|
}>]>;
|
|
14313
14463
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
14314
14464
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
14465
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14315
14466
|
}>>;
|
|
14316
14467
|
readonly previousAllowanceKey: Schema.NullOr<Schema.Codec<AllowanceKey, string, never, never>>;
|
|
14317
14468
|
readonly previousCurrentPolicy: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
@@ -14335,6 +14486,7 @@ declare const commands: {
|
|
|
14335
14486
|
}>]>;
|
|
14336
14487
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
14337
14488
|
}>>;
|
|
14489
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14338
14490
|
}>, Schema.Struct<{
|
|
14339
14491
|
readonly type: Schema.Literal<"managePeople">;
|
|
14340
14492
|
}>]>>;
|
|
@@ -14393,6 +14545,7 @@ declare const commands: {
|
|
|
14393
14545
|
};
|
|
14394
14546
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
14395
14547
|
} | undefined;
|
|
14548
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
14396
14549
|
}, Schema.Struct<{
|
|
14397
14550
|
readonly type: Schema.Literal<"budget">;
|
|
14398
14551
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -14419,6 +14572,7 @@ declare const commands: {
|
|
|
14419
14572
|
}>]>;
|
|
14420
14573
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
14421
14574
|
}>>>;
|
|
14575
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14422
14576
|
}>>, Schema.Struct<{
|
|
14423
14577
|
readonly type: Schema.Literal<"managePeople">;
|
|
14424
14578
|
}>]>;
|
|
@@ -14436,6 +14590,7 @@ declare const commands: {
|
|
|
14436
14590
|
}>]>;
|
|
14437
14591
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
14438
14592
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
14593
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14439
14594
|
}>>;
|
|
14440
14595
|
readonly currentPolicy: Schema.Union<readonly [Schema.Struct<{
|
|
14441
14596
|
readonly type: Schema.Literal<"budget">;
|
|
@@ -14458,6 +14613,7 @@ declare const commands: {
|
|
|
14458
14613
|
}>]>;
|
|
14459
14614
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
14460
14615
|
}>>;
|
|
14616
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14461
14617
|
}>, Schema.Struct<{
|
|
14462
14618
|
readonly type: Schema.Literal<"managePeople">;
|
|
14463
14619
|
}>]>;
|
|
@@ -14559,6 +14715,7 @@ declare const commands: {
|
|
|
14559
14715
|
};
|
|
14560
14716
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
14561
14717
|
} | undefined;
|
|
14718
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
14562
14719
|
}, Schema.Struct<{
|
|
14563
14720
|
readonly type: Schema.Literal<"budget">;
|
|
14564
14721
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -14585,6 +14742,7 @@ declare const commands: {
|
|
|
14585
14742
|
}>]>;
|
|
14586
14743
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
14587
14744
|
}>>>;
|
|
14745
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14588
14746
|
}>>, Schema.Struct<{
|
|
14589
14747
|
readonly type: Schema.Literal<"managePeople">;
|
|
14590
14748
|
}>]>;
|
|
@@ -14602,6 +14760,7 @@ declare const commands: {
|
|
|
14602
14760
|
}>]>;
|
|
14603
14761
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
14604
14762
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
14763
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14605
14764
|
}>>;
|
|
14606
14765
|
readonly currentPolicy: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
14607
14766
|
readonly type: Schema.Literal<"budget">;
|
|
@@ -14624,6 +14783,7 @@ declare const commands: {
|
|
|
14624
14783
|
}>]>;
|
|
14625
14784
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
14626
14785
|
}>>;
|
|
14786
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14627
14787
|
}>, Schema.Struct<{
|
|
14628
14788
|
readonly type: Schema.Literal<"managePeople">;
|
|
14629
14789
|
}>]>>;
|
|
@@ -14687,6 +14847,7 @@ declare const commands: {
|
|
|
14687
14847
|
}>]>;
|
|
14688
14848
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
14689
14849
|
}>>;
|
|
14850
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14690
14851
|
}>, Schema.Struct<{
|
|
14691
14852
|
readonly type: Schema.Literal<"managePeople">;
|
|
14692
14853
|
}>]>>;
|
|
@@ -14734,6 +14895,7 @@ declare const commands: {
|
|
|
14734
14895
|
}>]>;
|
|
14735
14896
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
14736
14897
|
}>>;
|
|
14898
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14737
14899
|
}>, Schema.Struct<{
|
|
14738
14900
|
readonly type: Schema.Literal<"managePeople">;
|
|
14739
14901
|
}>]>>;
|
|
@@ -14781,6 +14943,7 @@ declare const commands: {
|
|
|
14781
14943
|
}>]>;
|
|
14782
14944
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
14783
14945
|
}>>;
|
|
14946
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14784
14947
|
}>, Schema.Struct<{
|
|
14785
14948
|
readonly type: Schema.Literal<"managePeople">;
|
|
14786
14949
|
}>]>>;
|
|
@@ -14828,6 +14991,7 @@ declare const commands: {
|
|
|
14828
14991
|
}>]>;
|
|
14829
14992
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
14830
14993
|
}>>;
|
|
14994
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14831
14995
|
}>, Schema.Struct<{
|
|
14832
14996
|
readonly type: Schema.Literal<"managePeople">;
|
|
14833
14997
|
}>]>>;
|
|
@@ -14875,6 +15039,7 @@ declare const replacements: {
|
|
|
14875
15039
|
};
|
|
14876
15040
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
14877
15041
|
} | undefined;
|
|
15042
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
14878
15043
|
}, Schema.Struct<{
|
|
14879
15044
|
readonly type: Schema.Literal<"budget">;
|
|
14880
15045
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -14901,6 +15066,7 @@ declare const replacements: {
|
|
|
14901
15066
|
}>]>;
|
|
14902
15067
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
14903
15068
|
}>>>;
|
|
15069
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14904
15070
|
}>>, Schema.Struct<{
|
|
14905
15071
|
readonly type: Schema.Literal<"managePeople">;
|
|
14906
15072
|
}>]>;
|
|
@@ -14918,6 +15084,7 @@ declare const replacements: {
|
|
|
14918
15084
|
}>]>;
|
|
14919
15085
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
14920
15086
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
15087
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14921
15088
|
}>>;
|
|
14922
15089
|
readonly currentPolicy: Schema.Union<readonly [Schema.Struct<{
|
|
14923
15090
|
readonly type: Schema.Literal<"budget">;
|
|
@@ -14940,6 +15107,7 @@ declare const replacements: {
|
|
|
14940
15107
|
}>]>;
|
|
14941
15108
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
14942
15109
|
}>>;
|
|
15110
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
14943
15111
|
}>, Schema.Struct<{
|
|
14944
15112
|
readonly type: Schema.Literal<"managePeople">;
|
|
14945
15113
|
}>]>;
|
|
@@ -15055,6 +15223,7 @@ declare const replacements: {
|
|
|
15055
15223
|
};
|
|
15056
15224
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
15057
15225
|
};
|
|
15226
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
15058
15227
|
}, Schema.Struct<{
|
|
15059
15228
|
readonly type: Schema.Literal<"budget">;
|
|
15060
15229
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -15081,6 +15250,7 @@ declare const replacements: {
|
|
|
15081
15250
|
}>]>;
|
|
15082
15251
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
15083
15252
|
}>>;
|
|
15253
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
15084
15254
|
}>>, Schema.Struct<{
|
|
15085
15255
|
readonly type: Schema.Literal<"managePeople">;
|
|
15086
15256
|
}>]>;
|
|
@@ -15106,6 +15276,7 @@ declare const replacements: {
|
|
|
15106
15276
|
};
|
|
15107
15277
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
15108
15278
|
};
|
|
15279
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
15109
15280
|
}, Schema.Struct<{
|
|
15110
15281
|
readonly type: Schema.Literal<"budget">;
|
|
15111
15282
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -15132,6 +15303,7 @@ declare const replacements: {
|
|
|
15132
15303
|
}>]>;
|
|
15133
15304
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
15134
15305
|
}>>;
|
|
15306
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
15135
15307
|
}>>, Schema.Struct<{
|
|
15136
15308
|
readonly type: Schema.Literal<"managePeople">;
|
|
15137
15309
|
}>]>;
|
|
@@ -15197,6 +15369,7 @@ declare const replacements: {
|
|
|
15197
15369
|
};
|
|
15198
15370
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
15199
15371
|
} | undefined;
|
|
15372
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
15200
15373
|
}, Schema.Struct<{
|
|
15201
15374
|
readonly type: Schema.Literal<"budget">;
|
|
15202
15375
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -15223,6 +15396,7 @@ declare const replacements: {
|
|
|
15223
15396
|
}>]>;
|
|
15224
15397
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
15225
15398
|
}>>>;
|
|
15399
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
15226
15400
|
}>>, Schema.Struct<{
|
|
15227
15401
|
readonly type: Schema.Literal<"managePeople">;
|
|
15228
15402
|
}>]>;
|
|
@@ -15240,6 +15414,7 @@ declare const replacements: {
|
|
|
15240
15414
|
}>]>;
|
|
15241
15415
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
15242
15416
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
15417
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
15243
15418
|
}>>;
|
|
15244
15419
|
readonly previousAllowanceKey: Schema.NullOr<Schema.Codec<AllowanceKey, string, never, never>>;
|
|
15245
15420
|
readonly previousCurrentPolicy: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
@@ -15263,6 +15438,7 @@ declare const replacements: {
|
|
|
15263
15438
|
}>]>;
|
|
15264
15439
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
15265
15440
|
}>>;
|
|
15441
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
15266
15442
|
}>, Schema.Struct<{
|
|
15267
15443
|
readonly type: Schema.Literal<"managePeople">;
|
|
15268
15444
|
}>]>>;
|
|
@@ -15321,6 +15497,7 @@ declare const replacements: {
|
|
|
15321
15497
|
};
|
|
15322
15498
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
15323
15499
|
} | undefined;
|
|
15500
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
15324
15501
|
}, Schema.Struct<{
|
|
15325
15502
|
readonly type: Schema.Literal<"budget">;
|
|
15326
15503
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -15347,6 +15524,7 @@ declare const replacements: {
|
|
|
15347
15524
|
}>]>;
|
|
15348
15525
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
15349
15526
|
}>>>;
|
|
15527
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
15350
15528
|
}>>, Schema.Struct<{
|
|
15351
15529
|
readonly type: Schema.Literal<"managePeople">;
|
|
15352
15530
|
}>]>;
|
|
@@ -15364,6 +15542,7 @@ declare const replacements: {
|
|
|
15364
15542
|
}>]>;
|
|
15365
15543
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
15366
15544
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
15545
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
15367
15546
|
}>>;
|
|
15368
15547
|
readonly currentPolicy: Schema.Union<readonly [Schema.Struct<{
|
|
15369
15548
|
readonly type: Schema.Literal<"budget">;
|
|
@@ -15386,6 +15565,7 @@ declare const replacements: {
|
|
|
15386
15565
|
}>]>;
|
|
15387
15566
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
15388
15567
|
}>>;
|
|
15568
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
15389
15569
|
}>, Schema.Struct<{
|
|
15390
15570
|
readonly type: Schema.Literal<"managePeople">;
|
|
15391
15571
|
}>]>;
|
|
@@ -15487,6 +15667,7 @@ declare const replacements: {
|
|
|
15487
15667
|
};
|
|
15488
15668
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
15489
15669
|
} | undefined;
|
|
15670
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
15490
15671
|
}, Schema.Struct<{
|
|
15491
15672
|
readonly type: Schema.Literal<"budget">;
|
|
15492
15673
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -15513,6 +15694,7 @@ declare const replacements: {
|
|
|
15513
15694
|
}>]>;
|
|
15514
15695
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
15515
15696
|
}>>>;
|
|
15697
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
15516
15698
|
}>>, Schema.Struct<{
|
|
15517
15699
|
readonly type: Schema.Literal<"managePeople">;
|
|
15518
15700
|
}>]>;
|
|
@@ -15530,6 +15712,7 @@ declare const replacements: {
|
|
|
15530
15712
|
}>]>;
|
|
15531
15713
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
15532
15714
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
15715
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
15533
15716
|
}>>;
|
|
15534
15717
|
readonly currentPolicy: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
15535
15718
|
readonly type: Schema.Literal<"budget">;
|
|
@@ -15552,6 +15735,7 @@ declare const replacements: {
|
|
|
15552
15735
|
}>]>;
|
|
15553
15736
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
15554
15737
|
}>>;
|
|
15738
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
15555
15739
|
}>, Schema.Struct<{
|
|
15556
15740
|
readonly type: Schema.Literal<"managePeople">;
|
|
15557
15741
|
}>]>>;
|
|
@@ -15615,6 +15799,7 @@ declare const replacements: {
|
|
|
15615
15799
|
}>]>;
|
|
15616
15800
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
15617
15801
|
}>>;
|
|
15802
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
15618
15803
|
}>, Schema.Struct<{
|
|
15619
15804
|
readonly type: Schema.Literal<"managePeople">;
|
|
15620
15805
|
}>]>>;
|
|
@@ -15662,6 +15847,7 @@ declare const replacements: {
|
|
|
15662
15847
|
}>]>;
|
|
15663
15848
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
15664
15849
|
}>>;
|
|
15850
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
15665
15851
|
}>, Schema.Struct<{
|
|
15666
15852
|
readonly type: Schema.Literal<"managePeople">;
|
|
15667
15853
|
}>]>>;
|
|
@@ -15754,6 +15940,7 @@ declare const verifications: {
|
|
|
15754
15940
|
}>]>;
|
|
15755
15941
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
15756
15942
|
}>>;
|
|
15943
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
15757
15944
|
}>, Schema.Struct<{
|
|
15758
15945
|
readonly type: Schema.Literal<"managePeople">;
|
|
15759
15946
|
}>]>>;
|
|
@@ -15801,6 +15988,7 @@ declare const verifications: {
|
|
|
15801
15988
|
}>]>;
|
|
15802
15989
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
15803
15990
|
}>>;
|
|
15991
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
15804
15992
|
}>, Schema.Struct<{
|
|
15805
15993
|
readonly type: Schema.Literal<"managePeople">;
|
|
15806
15994
|
}>]>>;
|
|
@@ -15845,6 +16033,7 @@ declare const authorities: {
|
|
|
15845
16033
|
}>]>;
|
|
15846
16034
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
15847
16035
|
}>>;
|
|
16036
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
15848
16037
|
}>, Schema.Struct<{
|
|
15849
16038
|
readonly type: Schema.Literal<"managePeople">;
|
|
15850
16039
|
}>]>>;
|
|
@@ -15910,6 +16099,7 @@ declare const authorities: {
|
|
|
15910
16099
|
}>]>;
|
|
15911
16100
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
15912
16101
|
}>>;
|
|
16102
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
15913
16103
|
}>, Schema.Struct<{
|
|
15914
16104
|
readonly type: Schema.Literal<"managePeople">;
|
|
15915
16105
|
}>]>>;
|
|
@@ -21397,6 +21587,9 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
21397
21587
|
readonly readSafe: "accounts.safes.readSafe";
|
|
21398
21588
|
readonly recordDeployment: "accounts.safes.recordDeployment";
|
|
21399
21589
|
};
|
|
21590
|
+
readonly summaries: {
|
|
21591
|
+
readonly loadNeedsYou: "accounts.summaries.loadNeedsYou";
|
|
21592
|
+
};
|
|
21400
21593
|
};
|
|
21401
21594
|
readonly approvals: {
|
|
21402
21595
|
readonly approve: "approvals.approve";
|
|
@@ -21566,6 +21759,7 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
21566
21759
|
};
|
|
21567
21760
|
readonly identities: {
|
|
21568
21761
|
readonly purgeByEmail: "operator.identities.purgeByEmail";
|
|
21762
|
+
readonly purgeAccount: "operator.identities.purgeAccount";
|
|
21569
21763
|
};
|
|
21570
21764
|
};
|
|
21571
21765
|
readonly organizations: {
|
|
@@ -21631,6 +21825,8 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
21631
21825
|
readonly payBatch: "organizationPayments.payBatch";
|
|
21632
21826
|
readonly prepareExecution: "organizationPayments.prepareExecution";
|
|
21633
21827
|
readonly retry: "organizationPayments.retry";
|
|
21828
|
+
readonly cancel: "organizationPayments.cancel";
|
|
21829
|
+
readonly redirect: "organizationPayments.redirect";
|
|
21634
21830
|
};
|
|
21635
21831
|
readonly payments: {
|
|
21636
21832
|
readonly commands: {
|
|
@@ -21646,6 +21842,7 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
21646
21842
|
readonly loadContext: "payments.commands.loadContext";
|
|
21647
21843
|
readonly loadExecutionContext: "payments.commands.loadExecutionContext";
|
|
21648
21844
|
readonly loadBudgetAllowance: "payments.commands.loadBudgetAllowance";
|
|
21845
|
+
readonly loadBirthFunding: "payments.commands.loadBirthFunding";
|
|
21649
21846
|
};
|
|
21650
21847
|
readonly lifecycles: {
|
|
21651
21848
|
readonly prepareIntent: "payments.lifecycles.prepareIntent";
|
|
@@ -21774,6 +21971,7 @@ declare const CAPXUL_OPERATIONS: {
|
|
|
21774
21971
|
};
|
|
21775
21972
|
readonly keys: {
|
|
21776
21973
|
readonly issue: "applications.keys.issue";
|
|
21974
|
+
readonly revokeById: "applications.keys.revokeById";
|
|
21777
21975
|
};
|
|
21778
21976
|
readonly quickstarts: {
|
|
21779
21977
|
readonly claim: "applications.quickstarts.claim";
|
|
@@ -22803,7 +23001,7 @@ interface TelemetryPort {
|
|
|
22803
23001
|
}
|
|
22804
23002
|
//#endregion
|
|
22805
23003
|
//#region ../observability/src/catalog/events.d.ts
|
|
22806
|
-
declare const TELEMETRY_EVENT_NAMES: readonly ["auth_otp_requested", "auth_otp_delivered", "auth_otp_expired", "auth_verified", "auth_failed", "identity_refused", "auth_signed_out", "native_authorization_started", "native_authorization_reviewed", "native_authorization_accepted", "native_authorization_denied", "native_authorization_connected", "native_authorization_failed", "onboarding_intent_selected", "onboarding_profile_submitted", "onboarding_organization_submitted", "onboarding_dashboard_reached", "provisioning_safe_created", "provisioning_safe_confirmed", "bootstrap_resolved", "bootstrap_failed", "member_activation_started", "member_activation_ready", "member_activation_failed", "organization_creation_started", "organization_creation_ready", "organization_creation_failed", "chain_upstream_fallback", "bundler_error", "receipt_pending", "operation_retried", "account_balance_read", "account_balance_failed", "faucet_requested", "faucet_confirmed", "faucet_failed", "
|
|
23004
|
+
declare const TELEMETRY_EVENT_NAMES: readonly ["auth_otp_requested", "auth_otp_delivered", "auth_otp_expired", "auth_verified", "auth_failed", "identity_refused", "auth_signed_out", "native_authorization_started", "native_authorization_reviewed", "native_authorization_accepted", "native_authorization_denied", "native_authorization_connected", "native_authorization_failed", "onboarding_intent_selected", "onboarding_profile_submitted", "onboarding_organization_submitted", "onboarding_dashboard_reached", "provisioning_safe_created", "provisioning_safe_confirmed", "bootstrap_resolved", "bootstrap_failed", "member_activation_started", "member_activation_ready", "member_activation_failed", "organization_creation_started", "organization_creation_ready", "organization_creation_failed", "chain_upstream_fallback", "bundler_error", "receipt_pending", "operation_retried", "account_balance_read", "account_balance_failed", "faucet_requested", "faucet_confirmed", "faucet_failed", "org_invite_sent", "org_invite_accepted", "org_invite_expired", "payment_initiated", "payment_settled", "payment_failed", "payment_verification_retry", "payment_lifecycle_transition", "quick_pay_external_address_acknowledged", "deposit_initiated", "deposit_settled", "permission_mirror_verification", "movement_scan_window", "movement_scan_checkpoint", "movement_scan_incident", "indexer_drift_corrected", "activity_annotation_saved", "ui_activity_action_completed", "contact_relationship_changed", "ui_contact_action_completed", "access_recovery_completed", "ui_access_step_completed", "org_invite_progressed", "invoice_issued", "invoice_request_transitioned", "ui_invoice_step_completed", "ui_treasury_step_completed", "ui_receive_step_completed", "payroll_group_changed", "payroll_run_transitioned", "ui_payroll_action_completed", "cli_diagnostic_completed", "cli_first_used", "cli_command_started", "cli_command_completed"];
|
|
22807
23005
|
type TelemetryEventName = (typeof TELEMETRY_EVENT_NAMES)[number];
|
|
22808
23006
|
//#endregion
|
|
22809
23007
|
//#region ../observability/src/catalog/envelope.d.ts
|
|
@@ -22881,6 +23079,7 @@ declare const CurrentPolicySchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
22881
23079
|
}>]>;
|
|
22882
23080
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
22883
23081
|
}>>;
|
|
23082
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
22884
23083
|
}>, Schema.Struct<{
|
|
22885
23084
|
readonly type: Schema.Literal<"managePeople">;
|
|
22886
23085
|
}>]>;
|
|
@@ -22898,6 +23097,7 @@ declare const BudgetIntentSchema: Schema.refine<{
|
|
|
22898
23097
|
};
|
|
22899
23098
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
22900
23099
|
};
|
|
23100
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
22901
23101
|
}, Schema.Union<readonly [Schema.Struct<{
|
|
22902
23102
|
readonly type: Schema.Literal<"budget">;
|
|
22903
23103
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -22919,6 +23119,7 @@ declare const BudgetIntentSchema: Schema.refine<{
|
|
|
22919
23119
|
}>]>;
|
|
22920
23120
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
22921
23121
|
}>>;
|
|
23122
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
22922
23123
|
}>, Schema.Struct<{
|
|
22923
23124
|
readonly type: Schema.Literal<"managePeople">;
|
|
22924
23125
|
}>]>>;
|
|
@@ -22951,6 +23152,7 @@ declare const PermissionSchema: Schema.Struct<{
|
|
|
22951
23152
|
}>]>;
|
|
22952
23153
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
22953
23154
|
}>>;
|
|
23155
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
22954
23156
|
}>, Schema.Struct<{
|
|
22955
23157
|
readonly type: Schema.Literal<"managePeople">;
|
|
22956
23158
|
}>]>>;
|
|
@@ -22995,6 +23197,7 @@ declare const PermissionReplacementPreviewSchema: Schema.Struct<{
|
|
|
22995
23197
|
};
|
|
22996
23198
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
22997
23199
|
} | undefined;
|
|
23200
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
22998
23201
|
}, Schema.Struct<{
|
|
22999
23202
|
readonly type: Schema.Literal<"budget">;
|
|
23000
23203
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -23021,6 +23224,7 @@ declare const PermissionReplacementPreviewSchema: Schema.Struct<{
|
|
|
23021
23224
|
}>]>;
|
|
23022
23225
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
23023
23226
|
}>>>;
|
|
23227
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
23024
23228
|
}>>, Schema.Struct<{
|
|
23025
23229
|
readonly type: Schema.Literal<"managePeople">;
|
|
23026
23230
|
}>]>;
|
|
@@ -23038,6 +23242,7 @@ declare const PermissionReplacementPreviewSchema: Schema.Struct<{
|
|
|
23038
23242
|
}>]>;
|
|
23039
23243
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
23040
23244
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
23245
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
23041
23246
|
}>>;
|
|
23042
23247
|
readonly currentPolicy: Schema.Union<readonly [Schema.Struct<{
|
|
23043
23248
|
readonly type: Schema.Literal<"budget">;
|
|
@@ -23060,6 +23265,7 @@ declare const PermissionReplacementPreviewSchema: Schema.Struct<{
|
|
|
23060
23265
|
}>]>;
|
|
23061
23266
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
23062
23267
|
}>>;
|
|
23268
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
23063
23269
|
}>, Schema.Struct<{
|
|
23064
23270
|
readonly type: Schema.Literal<"managePeople">;
|
|
23065
23271
|
}>]>;
|
|
@@ -23203,6 +23409,7 @@ declare const InviteInputSchema: Schema.Struct<{
|
|
|
23203
23409
|
};
|
|
23204
23410
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
23205
23411
|
};
|
|
23412
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
23206
23413
|
};
|
|
23207
23414
|
})[], Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
23208
23415
|
readonly type: Schema.Literal<"budget">;
|
|
@@ -23226,6 +23433,21 @@ declare const InviteInputSchema: Schema.Struct<{
|
|
|
23226
23433
|
};
|
|
23227
23434
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
23228
23435
|
};
|
|
23436
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
23437
|
+
}, Schema.refine<{
|
|
23438
|
+
readonly type: "budget";
|
|
23439
|
+
readonly asset: AssetId;
|
|
23440
|
+
readonly limit: string | null;
|
|
23441
|
+
readonly scope: {
|
|
23442
|
+
readonly recipients: {
|
|
23443
|
+
readonly type: "anyone";
|
|
23444
|
+
} | {
|
|
23445
|
+
readonly type: "allowlist";
|
|
23446
|
+
readonly accounts: readonly AccountId[];
|
|
23447
|
+
};
|
|
23448
|
+
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
23449
|
+
};
|
|
23450
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
23229
23451
|
}, Schema.Union<readonly [Schema.Struct<{
|
|
23230
23452
|
readonly type: Schema.Literal<"budget">;
|
|
23231
23453
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -23247,9 +23469,10 @@ declare const InviteInputSchema: Schema.Struct<{
|
|
|
23247
23469
|
}>]>;
|
|
23248
23470
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
23249
23471
|
}>>;
|
|
23472
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
23250
23473
|
}>, Schema.Struct<{
|
|
23251
23474
|
readonly type: Schema.Literal<"managePeople">;
|
|
23252
|
-
}>]
|
|
23475
|
+
}>]>>>;
|
|
23253
23476
|
}>]>>>;
|
|
23254
23477
|
readonly requestKey: Schema.refine<string, Schema.String>;
|
|
23255
23478
|
}>;
|
|
@@ -23280,6 +23503,7 @@ declare const OfferedAuthoritySchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
23280
23503
|
};
|
|
23281
23504
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
23282
23505
|
};
|
|
23506
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
23283
23507
|
}, Schema.Union<readonly [Schema.Struct<{
|
|
23284
23508
|
readonly type: Schema.Literal<"budget">;
|
|
23285
23509
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -23301,6 +23525,7 @@ declare const OfferedAuthoritySchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
23301
23525
|
}>]>;
|
|
23302
23526
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
23303
23527
|
}>>;
|
|
23528
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
23304
23529
|
}>, Schema.Struct<{
|
|
23305
23530
|
readonly type: Schema.Literal<"managePeople">;
|
|
23306
23531
|
}>]>>;
|
|
@@ -23336,6 +23561,7 @@ declare const InvitePreviewSchema: Schema.Struct<{
|
|
|
23336
23561
|
};
|
|
23337
23562
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
23338
23563
|
};
|
|
23564
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
23339
23565
|
}, Schema.Union<readonly [Schema.Struct<{
|
|
23340
23566
|
readonly type: Schema.Literal<"budget">;
|
|
23341
23567
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -23357,6 +23583,7 @@ declare const InvitePreviewSchema: Schema.Struct<{
|
|
|
23357
23583
|
}>]>;
|
|
23358
23584
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
23359
23585
|
}>>;
|
|
23586
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
23360
23587
|
}>, Schema.Struct<{
|
|
23361
23588
|
readonly type: Schema.Literal<"managePeople">;
|
|
23362
23589
|
}>]>>;
|
|
@@ -23381,6 +23608,7 @@ declare const InvitePreviewSchema: Schema.Struct<{
|
|
|
23381
23608
|
};
|
|
23382
23609
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
23383
23610
|
};
|
|
23611
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
23384
23612
|
}, Schema.Union<readonly [Schema.Struct<{
|
|
23385
23613
|
readonly type: Schema.Literal<"budget">;
|
|
23386
23614
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -23402,6 +23630,7 @@ declare const InvitePreviewSchema: Schema.Struct<{
|
|
|
23402
23630
|
}>]>;
|
|
23403
23631
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
23404
23632
|
}>>;
|
|
23633
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
23405
23634
|
}>, Schema.Struct<{
|
|
23406
23635
|
readonly type: Schema.Literal<"managePeople">;
|
|
23407
23636
|
}>]>>;
|
|
@@ -23459,6 +23688,7 @@ declare const InvitationViewSchema: Schema.Struct<{
|
|
|
23459
23688
|
};
|
|
23460
23689
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
23461
23690
|
};
|
|
23691
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
23462
23692
|
}, Schema.Union<readonly [Schema.Struct<{
|
|
23463
23693
|
readonly type: Schema.Literal<"budget">;
|
|
23464
23694
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -23480,6 +23710,7 @@ declare const InvitationViewSchema: Schema.Struct<{
|
|
|
23480
23710
|
}>]>;
|
|
23481
23711
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
23482
23712
|
}>>;
|
|
23713
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
23483
23714
|
}>, Schema.Struct<{
|
|
23484
23715
|
readonly type: Schema.Literal<"managePeople">;
|
|
23485
23716
|
}>]>>;
|
|
@@ -23543,6 +23774,7 @@ declare const InvitationPageSchema: Schema.Struct<{
|
|
|
23543
23774
|
};
|
|
23544
23775
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
23545
23776
|
};
|
|
23777
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
23546
23778
|
}, Schema.Union<readonly [Schema.Struct<{
|
|
23547
23779
|
readonly type: Schema.Literal<"budget">;
|
|
23548
23780
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -23564,6 +23796,7 @@ declare const InvitationPageSchema: Schema.Struct<{
|
|
|
23564
23796
|
}>]>;
|
|
23565
23797
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
23566
23798
|
}>>;
|
|
23799
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
23567
23800
|
}>, Schema.Struct<{
|
|
23568
23801
|
readonly type: Schema.Literal<"managePeople">;
|
|
23569
23802
|
}>]>>;
|
|
@@ -28855,9 +29088,16 @@ declare const ApprovalSchema: Schema.Struct<{
|
|
|
28855
29088
|
readonly url: Schema.String;
|
|
28856
29089
|
readonly kind: Schema.Literals<readonly ["payment", "payroll_run", "permission_change", "bank_payout"]>;
|
|
28857
29090
|
readonly state: Schema.Literals<readonly ["pending", "approved", "rejected", "consumed", "expired"]>;
|
|
29091
|
+
readonly actor: Schema.Union<readonly [Schema.Struct<{
|
|
29092
|
+
readonly kind: Schema.Literal<"personal">;
|
|
29093
|
+
}>, Schema.Struct<{
|
|
29094
|
+
readonly kind: Schema.Literal<"organization">;
|
|
29095
|
+
readonly orgId: Schema.NonEmptyString;
|
|
29096
|
+
}>]>;
|
|
28858
29097
|
readonly summary: Schema.Struct<{
|
|
28859
29098
|
readonly title: Schema.String;
|
|
28860
29099
|
readonly from: Schema.Struct<{
|
|
29100
|
+
readonly kind: Schema.Literals<readonly ["personal", "organization"]>;
|
|
28861
29101
|
readonly label: Schema.String;
|
|
28862
29102
|
readonly address: Schema.Codec<Address$1, string, never, never>;
|
|
28863
29103
|
}>;
|
|
@@ -28916,6 +29156,314 @@ declare const ApprovalSchema: Schema.Struct<{
|
|
|
28916
29156
|
}>;
|
|
28917
29157
|
type Approval = Schema.Schema.Type<typeof ApprovalSchema>;
|
|
28918
29158
|
//#endregion
|
|
29159
|
+
//#region ../protocol/src/payroll/schema.d.ts
|
|
29160
|
+
declare const PayrollRunStatusSchema: Schema.Literals<readonly ["draft", "authorized", "settled"]>;
|
|
29161
|
+
type PayrollRunStatus$1 = Schema.Schema.Type<typeof PayrollRunStatusSchema>;
|
|
29162
|
+
declare const PayrollRunDetailSchema: Schema.Struct<{
|
|
29163
|
+
readonly orgId: Schema.NonEmptyString;
|
|
29164
|
+
readonly run: Schema.Struct<{
|
|
29165
|
+
readonly id: Schema.refine<string, Schema.String>;
|
|
29166
|
+
readonly status: Schema.Literals<readonly ["draft", "authorized", "settled"]>;
|
|
29167
|
+
readonly periodStart: Schema.refine<number, Schema.Finite>;
|
|
29168
|
+
readonly periodEnd: Schema.refine<number, Schema.Finite>;
|
|
29169
|
+
readonly total: Schema.Struct<{
|
|
29170
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
29171
|
+
readonly value: Schema.String;
|
|
29172
|
+
readonly currency: Schema.optional<Schema.Never>;
|
|
29173
|
+
readonly decimals: Schema.optional<Schema.Never>;
|
|
29174
|
+
}>;
|
|
29175
|
+
readonly recipientCount: Schema.refine<number, Schema.Finite>;
|
|
29176
|
+
}>;
|
|
29177
|
+
readonly command: Schema.Struct<{
|
|
29178
|
+
readonly commandId: Schema.Codec<PaymentCommandId, string, never, never>;
|
|
29179
|
+
readonly requestKey: Schema.NonEmptyString;
|
|
29180
|
+
readonly state: Schema.Literals<readonly ["prepared", "submitted"]>;
|
|
29181
|
+
readonly verificationState: Schema.Literals<readonly ["not_started", "scheduled", "verifying", "retry_wait", "mismatch", "applied", "unresolved", "failed"]>;
|
|
29182
|
+
readonly completionOutcome: Schema.optional<Schema.Literals<readonly ["settled", "failed"]>>;
|
|
29183
|
+
readonly terminalOutcome: Schema.optional<Schema.Literals<readonly ["settled", "failed", "unresolved", "superseded"]>>;
|
|
29184
|
+
readonly userOpHash: Schema.optional<Schema.Codec<`0x${string}`, string, never, never>>;
|
|
29185
|
+
}>;
|
|
29186
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
29187
|
+
readonly itemIndex: Schema.refine<number, Schema.Finite>;
|
|
29188
|
+
readonly employeeRef: Schema.NonEmptyString;
|
|
29189
|
+
readonly engagementEdgeId: Schema.NonEmptyString;
|
|
29190
|
+
readonly gross: Schema.refine<string, Schema.String>;
|
|
29191
|
+
readonly net: Schema.refine<string, Schema.String>;
|
|
29192
|
+
readonly adjustments: Schema.$Array<Schema.Struct<{
|
|
29193
|
+
readonly label: Schema.String;
|
|
29194
|
+
readonly amount: Schema.String;
|
|
29195
|
+
}>>;
|
|
29196
|
+
readonly amount: Schema.Struct<{
|
|
29197
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
29198
|
+
readonly value: Schema.String;
|
|
29199
|
+
readonly currency: Schema.optional<Schema.Never>;
|
|
29200
|
+
readonly decimals: Schema.optional<Schema.Never>;
|
|
29201
|
+
}>;
|
|
29202
|
+
readonly payment: Schema.Struct<{
|
|
29203
|
+
readonly id: Schema.String;
|
|
29204
|
+
readonly status: Schema.Literals<readonly ["pending", "settling", "unresolved", "scheduled", "streaming", "pending_claim", "settled", "cancelled", "failed"]>;
|
|
29205
|
+
readonly amount: Schema.Struct<{
|
|
29206
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
29207
|
+
readonly value: Schema.String;
|
|
29208
|
+
readonly currency: Schema.optional<Schema.Never>;
|
|
29209
|
+
readonly decimals: Schema.optional<Schema.Never>;
|
|
29210
|
+
}>;
|
|
29211
|
+
readonly paymentType: Schema.Literals<readonly ["unspecified", "invoice", "payroll", "reimbursement"]>;
|
|
29212
|
+
readonly direction: Schema.Literals<readonly ["in", "out", "self"]>;
|
|
29213
|
+
readonly counterpartyLabel: Schema.String;
|
|
29214
|
+
readonly receipt: Schema.NullOr<Schema.Struct<{
|
|
29215
|
+
readonly chainId: Schema.Codec<ChainId, number, never, never>;
|
|
29216
|
+
readonly transactionHash: Schema.Codec<TxHash, string, never, never>;
|
|
29217
|
+
}>>;
|
|
29218
|
+
readonly recipient: Schema.Union<readonly [Schema.Struct<{
|
|
29219
|
+
readonly kind: Schema.Literal<"party">;
|
|
29220
|
+
readonly partyId: Schema.String;
|
|
29221
|
+
readonly label: Schema.String;
|
|
29222
|
+
}>, Schema.Struct<{
|
|
29223
|
+
readonly kind: Schema.Literal<"external_address">;
|
|
29224
|
+
readonly label: Schema.String;
|
|
29225
|
+
}>]>;
|
|
29226
|
+
readonly documents: Schema.$Array<Schema.Struct<{
|
|
29227
|
+
readonly documentHash: Schema.String;
|
|
29228
|
+
readonly contentHash: Schema.String;
|
|
29229
|
+
readonly kind: Schema.Literals<readonly ["memo", "invoice", "payslip", "receipt"]>;
|
|
29230
|
+
readonly format: Schema.Literals<readonly ["envelope-v3", "envelope-v4", "artifact"]>;
|
|
29231
|
+
readonly role: Schema.Literals<readonly ["instruction", "movement", "supporting"]>;
|
|
29232
|
+
readonly issuedAt: Schema.NullOr<Schema.Finite>;
|
|
29233
|
+
}>>;
|
|
29234
|
+
readonly documentState: Schema.optionalKey<Schema.Literals<readonly ["ready", "pending", "unavailable"]>>;
|
|
29235
|
+
readonly timing: Schema.Union<readonly [Schema.Struct<{
|
|
29236
|
+
readonly kind: Schema.Literal<"instant">;
|
|
29237
|
+
}>, Schema.Struct<{
|
|
29238
|
+
readonly kind: Schema.Literal<"scheduled">;
|
|
29239
|
+
readonly at: Schema.Codec<EpochMs, number, never, never>;
|
|
29240
|
+
}>, Schema.Struct<{
|
|
29241
|
+
readonly kind: Schema.Literal<"stream">;
|
|
29242
|
+
readonly startsAt: Schema.Codec<EpochMs, number, never, never>;
|
|
29243
|
+
readonly endsAt: Schema.Codec<EpochMs, number, never, never>;
|
|
29244
|
+
readonly cliffAt: Schema.optionalKey<Schema.Codec<EpochMs, number, never, never>>;
|
|
29245
|
+
}>]>;
|
|
29246
|
+
readonly released: Schema.Struct<{
|
|
29247
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
29248
|
+
readonly value: Schema.String;
|
|
29249
|
+
readonly currency: Schema.optional<Schema.Never>;
|
|
29250
|
+
readonly decimals: Schema.optional<Schema.Never>;
|
|
29251
|
+
}>;
|
|
29252
|
+
readonly availableToClaim: Schema.Struct<{
|
|
29253
|
+
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
29254
|
+
readonly value: Schema.String;
|
|
29255
|
+
readonly currency: Schema.optional<Schema.Never>;
|
|
29256
|
+
readonly decimals: Schema.optional<Schema.Never>;
|
|
29257
|
+
}>;
|
|
29258
|
+
readonly execution: Schema.optionalKey<Schema.Struct<{
|
|
29259
|
+
readonly status: Schema.Literals<readonly ["pending", "included", "dropped", "replaced", "expired", "unresolved", "superseded", "failed", "settled"]>;
|
|
29260
|
+
readonly retryRequired: Schema.Boolean;
|
|
29261
|
+
readonly notSent: Schema.optionalKey<Schema.Literal<true>>;
|
|
29262
|
+
}>>;
|
|
29263
|
+
readonly createdAt: Schema.Codec<EpochMs, number, never, never>;
|
|
29264
|
+
readonly updatedAt: Schema.Codec<EpochMs, number, never, never>;
|
|
29265
|
+
}>;
|
|
29266
|
+
}>>;
|
|
29267
|
+
readonly createdAt: Schema.refine<number, Schema.Finite>;
|
|
29268
|
+
readonly updatedAt: Schema.refine<number, Schema.Finite>;
|
|
29269
|
+
readonly settledAt: Schema.optional<Schema.refine<number, Schema.Finite>>;
|
|
29270
|
+
}>;
|
|
29271
|
+
type PayrollRunDetail = typeof PayrollRunDetailSchema.Type;
|
|
29272
|
+
declare const PayrollGroupIdSchema: Schema.refine<string, Schema.String>;
|
|
29273
|
+
declare const PayrollGroupInputSchema: Schema.Struct<{
|
|
29274
|
+
readonly id: Schema.optional<Schema.refine<string, Schema.String>>;
|
|
29275
|
+
readonly name: Schema.String;
|
|
29276
|
+
readonly tone: Schema.String;
|
|
29277
|
+
readonly members: Schema.$Array<Schema.Struct<{
|
|
29278
|
+
readonly partyId: Schema.String;
|
|
29279
|
+
readonly amount: Schema.String;
|
|
29280
|
+
readonly currency: Schema.Codec<CurrencyCode, string, never, never>;
|
|
29281
|
+
}>>;
|
|
29282
|
+
}>;
|
|
29283
|
+
declare const PayrollTermsUnitSchema: Schema.Literals<readonly ["hour", "week", "month", "year", "paycheck"]>;
|
|
29284
|
+
type PayrollTermsUnit$1 = Schema.Schema.Type<typeof PayrollTermsUnitSchema>;
|
|
29285
|
+
//#endregion
|
|
29286
|
+
//#region src/payroll/run-subscription.d.ts
|
|
29287
|
+
type PayrollRunSnapshot = {
|
|
29288
|
+
readonly status: "loading";
|
|
29289
|
+
} | {
|
|
29290
|
+
readonly status: "ok";
|
|
29291
|
+
readonly value: PayrollRunDetail | null;
|
|
29292
|
+
} | {
|
|
29293
|
+
readonly status: "error";
|
|
29294
|
+
readonly error: CapxulError;
|
|
29295
|
+
};
|
|
29296
|
+
//#endregion
|
|
29297
|
+
//#region src/payroll/records.d.ts
|
|
29298
|
+
/** ADR-0022 R9: where the run stands on the shipped command lifecycle. */
|
|
29299
|
+
type PayrollRunStatus = PayrollRunStatus$1;
|
|
29300
|
+
/** One authorized payroll run. `total` is the sum of its items' nets. */
|
|
29301
|
+
interface PayrollRun {
|
|
29302
|
+
readonly id: PayrollRunId;
|
|
29303
|
+
readonly status: PayrollRunStatus;
|
|
29304
|
+
/** Epoch milliseconds. An instant run has `periodStart === periodEnd`. */
|
|
29305
|
+
readonly periodStart: number;
|
|
29306
|
+
readonly periodEnd: number;
|
|
29307
|
+
readonly total: AssetAmount;
|
|
29308
|
+
readonly recipientCount: number;
|
|
29309
|
+
}
|
|
29310
|
+
/**
|
|
29311
|
+
* An organization's runs, newest first, with the month total beside them.
|
|
29312
|
+
*
|
|
29313
|
+
* The aggregate travels WITH the list because the backend computes it over
|
|
29314
|
+
* every settled run in the calendar month while the list is one page. A
|
|
29315
|
+
* consumer that summed `items` would under-report an employer past the page.
|
|
29316
|
+
*/
|
|
29317
|
+
interface PayrollRuns extends Page<PayrollRun> {
|
|
29318
|
+
/** Σ net of the runs that SETTLED this calendar month — the "Paid This Month" fact. */
|
|
29319
|
+
readonly settledThisMonth: readonly AssetAmount[];
|
|
29320
|
+
}
|
|
29321
|
+
/**
|
|
29322
|
+
* One saved recipient on a group. `amount` is the employer's TYPED text, not
|
|
29323
|
+
* minor units: a group is a draft the run composer prefills, and the run
|
|
29324
|
+
* engine is the one place that parses an amount into money.
|
|
29325
|
+
*/
|
|
29326
|
+
interface PayrollGroupMember {
|
|
29327
|
+
/** The recipient's `PartyId` — the stable id (ADR-0022 R1), never an email. */
|
|
29328
|
+
readonly partyId: string;
|
|
29329
|
+
readonly amount: string;
|
|
29330
|
+
readonly currency: CurrencyCode;
|
|
29331
|
+
}
|
|
29332
|
+
/** A saved roster the employer pays again. Server-held, so every member sees it. */
|
|
29333
|
+
interface PayrollGroup {
|
|
29334
|
+
readonly id: PayrollGroupId;
|
|
29335
|
+
readonly name: string;
|
|
29336
|
+
/** A stored display preference; the consumer narrows it to its own union. */
|
|
29337
|
+
readonly tone: string;
|
|
29338
|
+
readonly members: readonly PayrollGroupMember[];
|
|
29339
|
+
}
|
|
29340
|
+
/** What a rate is counted PER (ADR-0022 R7). The substrate holds no cadence. */
|
|
29341
|
+
type PayrollTermsUnit = PayrollTermsUnit$1;
|
|
29342
|
+
/**
|
|
29343
|
+
* The rate in force for one open engagement, read at the moment of the call.
|
|
29344
|
+
*
|
|
29345
|
+
* Terms are versioned and insert-only, so this is a snapshot of a history: a
|
|
29346
|
+
* raise inserts a later row and the next read states the new rate. The SDK
|
|
29347
|
+
* derives NOTHING from it — ruling Q3 puts the prefill rule (which unit applies
|
|
29348
|
+
* over which period) in the run composer, and Capxul computes no pay.
|
|
29349
|
+
*/
|
|
29350
|
+
interface PayrollEngagementTerms {
|
|
29351
|
+
/** The EMPLOYEE's `PartyId` — the key an `.Amounts` row is found by. */
|
|
29352
|
+
readonly partyId: string;
|
|
29353
|
+
/** Minor units counted in `decimals`; never a float. */
|
|
29354
|
+
readonly rate: string;
|
|
29355
|
+
readonly unit: PayrollTermsUnit;
|
|
29356
|
+
readonly currency: CurrencyCode;
|
|
29357
|
+
readonly decimals: number;
|
|
29358
|
+
/** Epoch milliseconds — when this rate took effect. */
|
|
29359
|
+
readonly effectiveFrom: number;
|
|
29360
|
+
}
|
|
29361
|
+
/** `id` absent creates a group; `id` present replaces that group in place. */
|
|
29362
|
+
interface PayrollGroupInput {
|
|
29363
|
+
readonly id?: PayrollGroupId;
|
|
29364
|
+
readonly name: string;
|
|
29365
|
+
readonly tone: string;
|
|
29366
|
+
readonly members: readonly PayrollGroupMember[];
|
|
29367
|
+
}
|
|
29368
|
+
/**
|
|
29369
|
+
* One person on one run. `net` is what they are paid; `gross` plus every
|
|
29370
|
+
* adjustment must equal it (ADR-0022 R8) and the backend refuses a run where
|
|
29371
|
+
* it does not. Both are minor-unit strings; an adjustment is signed.
|
|
29372
|
+
*/
|
|
29373
|
+
interface PayrollRunItemInput {
|
|
29374
|
+
/**
|
|
29375
|
+
* The recipient. An email `Ref` or a party `Ref` in v1 — the backend refuses
|
|
29376
|
+
* any other kind, because the recipient is what the party is DERIVED from.
|
|
29377
|
+
*/
|
|
29378
|
+
readonly to: Ref$1;
|
|
29379
|
+
/**
|
|
29380
|
+
* The caller's ASSERTION of the party `to` resolves to, never the authority
|
|
29381
|
+
* for it. The backend resolves `to` — an email through the invite path's
|
|
29382
|
+
* person-party ensure, a party `Ref` through the same recipient resolution
|
|
29383
|
+
* the batch runs — and refuses the run when this id is not that party, so
|
|
29384
|
+
* the money, the `employed` edge and the payslip's employee can never name
|
|
29385
|
+
* three different people.
|
|
29386
|
+
*/
|
|
29387
|
+
readonly partyId: string;
|
|
29388
|
+
/** The exact settlement quantity. Gross and net use this asset's raw units. */
|
|
29389
|
+
readonly amount: AssetAmount;
|
|
29390
|
+
readonly gross: string;
|
|
29391
|
+
readonly net: string;
|
|
29392
|
+
readonly adjustments: readonly {
|
|
29393
|
+
readonly label: string;
|
|
29394
|
+
readonly amount: string;
|
|
29395
|
+
}[];
|
|
29396
|
+
}
|
|
29397
|
+
interface AuthorizeRunInput {
|
|
29398
|
+
/** The Budget the run spends from. The caller selects it; nothing is picked for them. */
|
|
29399
|
+
readonly permissionId: string;
|
|
29400
|
+
/** The one asset used by every payment in this run. */
|
|
29401
|
+
readonly asset: AssetAmount["asset"];
|
|
29402
|
+
/** Epoch milliseconds. An instant run passes `start === end` — the payslip renders the date. */
|
|
29403
|
+
readonly period: {
|
|
29404
|
+
readonly start: number;
|
|
29405
|
+
readonly end: number;
|
|
29406
|
+
};
|
|
29407
|
+
readonly items: readonly PayrollRunItemInput[];
|
|
29408
|
+
/**
|
|
29409
|
+
* Supply one to reuse a key minted elsewhere. Left absent, the shipped
|
|
29410
|
+
* fingerprint lifecycle derives it from this intent, so a retry of the same
|
|
29411
|
+
* run replays the SAME command instead of paying twice.
|
|
29412
|
+
*/
|
|
29413
|
+
readonly requestKey?: string;
|
|
29414
|
+
}
|
|
29415
|
+
/**
|
|
29416
|
+
* R13 (#1968): the declared option type is the `InvocationControls` these
|
|
29417
|
+
* methods have always forwarded to `deps.invocationControls` — the same naming
|
|
29418
|
+
* R02 gave the address book. It lets a caller that captured one browser attempt
|
|
29419
|
+
* hand that attempt's `correlation_id`/`journey_id` to the payroll operation it
|
|
29420
|
+
* starts, so `ui_payroll_action_completed` and the durable group and run events
|
|
29421
|
+
* share a correlation. `{ signal }` callers are unaffected.
|
|
29422
|
+
*/
|
|
29423
|
+
type PayrollOptions = InvocationControls;
|
|
29424
|
+
type AuthorizeRunOptions = PayrollOptions & {
|
|
29425
|
+
/** Persist this SDK-allocated key before the first backend write. Reject to prevent execution. */
|
|
29426
|
+
readonly onRequestKey?: (key: string) => void | Promise<void>;
|
|
29427
|
+
/** A prior command is conclusively closed. The current failed result remains a failure. */
|
|
29428
|
+
readonly onResolved?: (outcome: "failed" | "settled") => void | Promise<void>;
|
|
29429
|
+
};
|
|
29430
|
+
interface PayrollGroupsMethods {
|
|
29431
|
+
list(options?: PayrollOptions): Promise<CapxulResult<Page<PayrollGroup>>>;
|
|
29432
|
+
save(input: PayrollGroupInput, options?: PayrollOptions): Promise<CapxulResult<PayrollGroup>>;
|
|
29433
|
+
remove(id: PayrollGroupId, options?: PayrollOptions): Promise<CapxulResult<void>>;
|
|
29434
|
+
}
|
|
29435
|
+
interface PayrollMethods {
|
|
29436
|
+
getRun(runId: string, options?: PayrollOptions): Promise<CapxulResult<PayrollRunDetail | null>>;
|
|
29437
|
+
subscribeRun(runId: string, listener: (snapshot: PayrollRunSnapshot) => void, options?: PayrollOptions): Promise<CapxulResult<Unsubscribe$1>>;
|
|
29438
|
+
runs(options?: PayrollOptions): Promise<CapxulResult<PayrollRuns>>;
|
|
29439
|
+
authorizeRun(input: AuthorizeRunInput, options?: AuthorizeRunOptions): Promise<CapxulResult<PayrollRun>>;
|
|
29440
|
+
/** The active engagement terms of the org's employed people (ruling Q3). */
|
|
29441
|
+
terms(options?: PayrollOptions): Promise<CapxulResult<Page<PayrollEngagementTerms>>>;
|
|
29442
|
+
readonly groups: PayrollGroupsMethods;
|
|
29443
|
+
}
|
|
29444
|
+
//#endregion
|
|
29445
|
+
//#region src/payroll/run-decoding.d.ts
|
|
29446
|
+
/** Decode caller input before session or signer work. Keep routing outside the input. */
|
|
29447
|
+
declare function decodePayrollRunInput(value: unknown): AuthorizeRunInput;
|
|
29448
|
+
//#endregion
|
|
29449
|
+
//#region src/accounts/command-approvals.d.ts
|
|
29450
|
+
/** Retry an existing Payment exactly: your own, or one an Organization paid (`organizationId`). */
|
|
29451
|
+
interface RetryApprovalInput {
|
|
29452
|
+
readonly retry: string;
|
|
29453
|
+
readonly organizationId?: string;
|
|
29454
|
+
}
|
|
29455
|
+
/** Pay a request from your inbox or an Organization's: the confirmation names the payer. */
|
|
29456
|
+
interface RequestApprovalInput {
|
|
29457
|
+
readonly request: RequestPaymentConfirmation;
|
|
29458
|
+
}
|
|
29459
|
+
/** Run payroll for an Organization from one of its Budgets. */
|
|
29460
|
+
interface PayrollRunApprovalInput {
|
|
29461
|
+
readonly organizationId: string;
|
|
29462
|
+
readonly payrollRun: AuthorizeRunInput;
|
|
29463
|
+
}
|
|
29464
|
+
/** The approvals this module prepares. */
|
|
29465
|
+
type CommandApprovalInput = RetryApprovalInput | RequestApprovalInput | PayrollRunApprovalInput;
|
|
29466
|
+
//#endregion
|
|
28919
29467
|
//#region src/accounts/organization-approvals.d.ts
|
|
28920
29468
|
/** One Organization Payment from a Budget, for its approval page. */
|
|
28921
29469
|
interface OrganizationApprovalInput extends OrganizationPaymentInput {
|
|
@@ -28923,6 +29471,8 @@ interface OrganizationApprovalInput extends OrganizationPaymentInput {
|
|
|
28923
29471
|
}
|
|
28924
29472
|
//#endregion
|
|
28925
29473
|
//#region src/accounts/approvals.d.ts
|
|
29474
|
+
/** Everything an approval can be prepared for. */
|
|
29475
|
+
type ApprovalInput = PaymentsPayInput | OrganizationApprovalInput | CommandApprovalInput;
|
|
28926
29476
|
/** Where an approval ended, and the Payments it carries as they stand. */
|
|
28927
29477
|
interface ApprovalOutcome {
|
|
28928
29478
|
readonly approval: Approval;
|
|
@@ -28932,16 +29482,18 @@ interface ApprovalWaitOptions {
|
|
|
28932
29482
|
readonly signal?: AbortSignal;
|
|
28933
29483
|
/** How long to wait between reads. Default 2 s. */
|
|
28934
29484
|
readonly intervalMs?: number;
|
|
28935
|
-
/** The Organization
|
|
29485
|
+
/** The Organization the approval pays from. Default: the approval's own `actor`. */
|
|
28936
29486
|
readonly organizationId?: string;
|
|
28937
29487
|
}
|
|
28938
29488
|
interface ApprovalsMethods {
|
|
28939
29489
|
/**
|
|
28940
|
-
* Prepare a personal Payment,
|
|
28941
|
-
* (`organizationId` and `permissionId`),
|
|
28942
|
-
*
|
|
29490
|
+
* Prepare a personal Payment, an Organization Payment from a Budget
|
|
29491
|
+
* (`organizationId` and `permissionId`), a retry of an existing Payment
|
|
29492
|
+
* (`retry`), a request paid from an inbox (`request`) or an Organization's
|
|
29493
|
+
* payroll run (`payrollRun`), and open its approval. Nothing is signed or
|
|
29494
|
+
* sent: the person approves it on `approval.url`.
|
|
28943
29495
|
*/
|
|
28944
|
-
prepare(input:
|
|
29496
|
+
prepare(input: ApprovalInput, options?: {
|
|
28945
29497
|
readonly signal?: AbortSignal;
|
|
28946
29498
|
}): Promise<CapxulResult<Approval>>;
|
|
28947
29499
|
/** The approval as it stands. */
|
|
@@ -29285,6 +29837,21 @@ interface OrganizationPaymentsMethods {
|
|
|
29285
29837
|
pay(input: OrganizationPaymentInput, options?: PaymentsPayOptions): Promise<CapxulResult<Payment>>;
|
|
29286
29838
|
payBatch(input: OrganizationPaymentBatchInput, options?: PaymentsPayOptions): Promise<CapxulResult<readonly Payment[]>>;
|
|
29287
29839
|
retry(paymentId: string, options?: Pick<PaymentsPayOptions, "signal" | "onPrepared">): Promise<CapxulResult<readonly Payment[]>>;
|
|
29840
|
+
/**
|
|
29841
|
+
* Cancel an Organization-funded commitment (escrow or vesting). Only an Owner
|
|
29842
|
+
* may: the Owner's own Safe signs, through the Owner role. Anyone else, a
|
|
29843
|
+
* Budget member included, is refused with `ROLE_PERMISSION_DENIED`.
|
|
29844
|
+
*/
|
|
29845
|
+
cancel(paymentId: string, options?: {
|
|
29846
|
+
readonly signal?: AbortSignal;
|
|
29847
|
+
}): Promise<CapxulResult<Payment>>;
|
|
29848
|
+
/** Redirect an Organization-funded commitment to a new recipient. Owners only, as `cancel`. */
|
|
29849
|
+
redirect(input: {
|
|
29850
|
+
readonly paymentId: string;
|
|
29851
|
+
readonly to: Ref$1;
|
|
29852
|
+
}, options?: {
|
|
29853
|
+
readonly signal?: AbortSignal;
|
|
29854
|
+
}): Promise<CapxulResult<Payment>>;
|
|
29288
29855
|
}
|
|
29289
29856
|
//#endregion
|
|
29290
29857
|
//#region src/parties/recipients.d.ts
|
|
@@ -29846,6 +30413,7 @@ declare const PermissionIntentSchema: Schema.Union<readonly [Schema.refine<{
|
|
|
29846
30413
|
};
|
|
29847
30414
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
29848
30415
|
};
|
|
30416
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
29849
30417
|
}, Schema.Struct<{
|
|
29850
30418
|
readonly type: Schema.Literal<"budget">;
|
|
29851
30419
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -29872,6 +30440,7 @@ declare const PermissionIntentSchema: Schema.Union<readonly [Schema.refine<{
|
|
|
29872
30440
|
}>]>;
|
|
29873
30441
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
29874
30442
|
}>>;
|
|
30443
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
29875
30444
|
}>>, Schema.Struct<{
|
|
29876
30445
|
readonly type: Schema.Literal<"managePeople">;
|
|
29877
30446
|
}>]>;
|
|
@@ -29917,6 +30486,7 @@ declare const PermissionEffectContextSchema: Schema.Struct<{
|
|
|
29917
30486
|
};
|
|
29918
30487
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
29919
30488
|
} | undefined;
|
|
30489
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
29920
30490
|
}, Schema.Struct<{
|
|
29921
30491
|
readonly type: Schema.Literal<"budget">;
|
|
29922
30492
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -29943,6 +30513,7 @@ declare const PermissionEffectContextSchema: Schema.Struct<{
|
|
|
29943
30513
|
}>]>;
|
|
29944
30514
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
29945
30515
|
}>>>;
|
|
30516
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
29946
30517
|
}>>, Schema.Struct<{
|
|
29947
30518
|
readonly type: Schema.Literal<"managePeople">;
|
|
29948
30519
|
}>]>;
|
|
@@ -29960,6 +30531,7 @@ declare const PermissionEffectContextSchema: Schema.Struct<{
|
|
|
29960
30531
|
}>]>;
|
|
29961
30532
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
29962
30533
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
30534
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
29963
30535
|
}>>;
|
|
29964
30536
|
readonly previousAllowanceKey: Schema.NullOr<Schema.Codec<AllowanceKey, string, never, never>>;
|
|
29965
30537
|
readonly previousCurrentPolicy: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
@@ -29983,6 +30555,7 @@ declare const PermissionEffectContextSchema: Schema.Struct<{
|
|
|
29983
30555
|
}>]>;
|
|
29984
30556
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
29985
30557
|
}>>;
|
|
30558
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
29986
30559
|
}>, Schema.Struct<{
|
|
29987
30560
|
readonly type: Schema.Literal<"managePeople">;
|
|
29988
30561
|
}>]>>;
|
|
@@ -30041,6 +30614,7 @@ declare const PermissionEffectContextSchema: Schema.Struct<{
|
|
|
30041
30614
|
};
|
|
30042
30615
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
30043
30616
|
} | undefined;
|
|
30617
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
30044
30618
|
}, Schema.Struct<{
|
|
30045
30619
|
readonly type: Schema.Literal<"budget">;
|
|
30046
30620
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -30067,6 +30641,7 @@ declare const PermissionEffectContextSchema: Schema.Struct<{
|
|
|
30067
30641
|
}>]>;
|
|
30068
30642
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
30069
30643
|
}>>>;
|
|
30644
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
30070
30645
|
}>>, Schema.Struct<{
|
|
30071
30646
|
readonly type: Schema.Literal<"managePeople">;
|
|
30072
30647
|
}>]>;
|
|
@@ -30084,6 +30659,7 @@ declare const PermissionEffectContextSchema: Schema.Struct<{
|
|
|
30084
30659
|
}>]>;
|
|
30085
30660
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
30086
30661
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
30662
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
30087
30663
|
}>>;
|
|
30088
30664
|
readonly currentPolicy: Schema.Union<readonly [Schema.Struct<{
|
|
30089
30665
|
readonly type: Schema.Literal<"budget">;
|
|
@@ -30106,6 +30682,7 @@ declare const PermissionEffectContextSchema: Schema.Struct<{
|
|
|
30106
30682
|
}>]>;
|
|
30107
30683
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
30108
30684
|
}>>;
|
|
30685
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
30109
30686
|
}>, Schema.Struct<{
|
|
30110
30687
|
readonly type: Schema.Literal<"managePeople">;
|
|
30111
30688
|
}>]>;
|
|
@@ -30207,6 +30784,7 @@ declare const PermissionEffectContextSchema: Schema.Struct<{
|
|
|
30207
30784
|
};
|
|
30208
30785
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
30209
30786
|
} | undefined;
|
|
30787
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
30210
30788
|
}, Schema.Struct<{
|
|
30211
30789
|
readonly type: Schema.Literal<"budget">;
|
|
30212
30790
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -30233,6 +30811,7 @@ declare const PermissionEffectContextSchema: Schema.Struct<{
|
|
|
30233
30811
|
}>]>;
|
|
30234
30812
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
30235
30813
|
}>>>;
|
|
30814
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
30236
30815
|
}>>, Schema.Struct<{
|
|
30237
30816
|
readonly type: Schema.Literal<"managePeople">;
|
|
30238
30817
|
}>]>;
|
|
@@ -30250,6 +30829,7 @@ declare const PermissionEffectContextSchema: Schema.Struct<{
|
|
|
30250
30829
|
}>]>;
|
|
30251
30830
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
30252
30831
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
30832
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
30253
30833
|
}>>;
|
|
30254
30834
|
readonly currentPolicy: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
30255
30835
|
readonly type: Schema.Literal<"budget">;
|
|
@@ -30272,6 +30852,7 @@ declare const PermissionEffectContextSchema: Schema.Struct<{
|
|
|
30272
30852
|
}>]>;
|
|
30273
30853
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
30274
30854
|
}>>;
|
|
30855
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
30275
30856
|
}>, Schema.Struct<{
|
|
30276
30857
|
readonly type: Schema.Literal<"managePeople">;
|
|
30277
30858
|
}>]>>;
|
|
@@ -30323,6 +30904,7 @@ declare const SubmittedPermissionExecutionSchema: Schema.Struct<{
|
|
|
30323
30904
|
}>]>;
|
|
30324
30905
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
30325
30906
|
}>>;
|
|
30907
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
30326
30908
|
}>, Schema.Struct<{
|
|
30327
30909
|
readonly type: Schema.Literal<"managePeople">;
|
|
30328
30910
|
}>]>>;
|
|
@@ -30370,6 +30952,7 @@ declare const SubmittedPermissionExecutionSchema: Schema.Struct<{
|
|
|
30370
30952
|
}>]>;
|
|
30371
30953
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
30372
30954
|
}>>;
|
|
30955
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
30373
30956
|
}>, Schema.Struct<{
|
|
30374
30957
|
readonly type: Schema.Literal<"managePeople">;
|
|
30375
30958
|
}>]>>;
|
|
@@ -30508,6 +31091,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
30508
31091
|
};
|
|
30509
31092
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
30510
31093
|
} | undefined;
|
|
31094
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
30511
31095
|
} | {
|
|
30512
31096
|
readonly type: "managePeople";
|
|
30513
31097
|
};
|
|
@@ -30525,6 +31109,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
30525
31109
|
};
|
|
30526
31110
|
readonly recipients: "anyone" | readonly Address$1[];
|
|
30527
31111
|
readonly actions: readonly ("createCommitment" | "send" | "sendBatch")[];
|
|
31112
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
30528
31113
|
} | null;
|
|
30529
31114
|
readonly previousAllowanceKey: AllowanceKey | null;
|
|
30530
31115
|
readonly previousCurrentPolicy?: {
|
|
@@ -30540,6 +31125,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
30540
31125
|
};
|
|
30541
31126
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
30542
31127
|
};
|
|
31128
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
30543
31129
|
} | {
|
|
30544
31130
|
readonly type: "managePeople";
|
|
30545
31131
|
} | undefined;
|
|
@@ -30598,6 +31184,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
30598
31184
|
};
|
|
30599
31185
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
30600
31186
|
} | undefined;
|
|
31187
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
30601
31188
|
} | {
|
|
30602
31189
|
readonly type: "managePeople";
|
|
30603
31190
|
};
|
|
@@ -30615,6 +31202,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
30615
31202
|
};
|
|
30616
31203
|
readonly recipients: "anyone" | readonly Address$1[];
|
|
30617
31204
|
readonly actions: readonly ("createCommitment" | "send" | "sendBatch")[];
|
|
31205
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
30618
31206
|
} | null;
|
|
30619
31207
|
readonly currentPolicy: {
|
|
30620
31208
|
readonly type: "budget";
|
|
@@ -30629,6 +31217,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
30629
31217
|
};
|
|
30630
31218
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
30631
31219
|
};
|
|
31220
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
30632
31221
|
} | {
|
|
30633
31222
|
readonly type: "managePeople";
|
|
30634
31223
|
};
|
|
@@ -30730,6 +31319,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
30730
31319
|
};
|
|
30731
31320
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
30732
31321
|
} | undefined;
|
|
31322
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
30733
31323
|
} | {
|
|
30734
31324
|
readonly type: "managePeople";
|
|
30735
31325
|
};
|
|
@@ -30747,6 +31337,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
30747
31337
|
};
|
|
30748
31338
|
readonly recipients: "anyone" | readonly Address$1[];
|
|
30749
31339
|
readonly actions: readonly ("createCommitment" | "send" | "sendBatch")[];
|
|
31340
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
30750
31341
|
} | null;
|
|
30751
31342
|
readonly currentPolicy?: {
|
|
30752
31343
|
readonly type: "budget";
|
|
@@ -30761,6 +31352,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
30761
31352
|
};
|
|
30762
31353
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
30763
31354
|
};
|
|
31355
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
30764
31356
|
} | {
|
|
30765
31357
|
readonly type: "managePeople";
|
|
30766
31358
|
} | undefined;
|
|
@@ -30990,6 +31582,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
30990
31582
|
};
|
|
30991
31583
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
30992
31584
|
} | undefined;
|
|
31585
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
30993
31586
|
}, Schema.Struct<{
|
|
30994
31587
|
readonly type: Schema.Literal<"budget">;
|
|
30995
31588
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -31016,6 +31609,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
31016
31609
|
}>]>;
|
|
31017
31610
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
31018
31611
|
}>>>;
|
|
31612
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
31019
31613
|
}>>, Schema.Struct<{
|
|
31020
31614
|
readonly type: Schema.Literal<"managePeople">;
|
|
31021
31615
|
}>]>;
|
|
@@ -31033,6 +31627,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
31033
31627
|
}>]>;
|
|
31034
31628
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
31035
31629
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
31630
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
31036
31631
|
}>>;
|
|
31037
31632
|
readonly previousAllowanceKey: Schema.NullOr<Schema.Codec<AllowanceKey, string, never, never>>;
|
|
31038
31633
|
readonly previousCurrentPolicy: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
@@ -31056,6 +31651,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
31056
31651
|
}>]>;
|
|
31057
31652
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
31058
31653
|
}>>;
|
|
31654
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
31059
31655
|
}>, Schema.Struct<{
|
|
31060
31656
|
readonly type: Schema.Literal<"managePeople">;
|
|
31061
31657
|
}>]>>;
|
|
@@ -31114,6 +31710,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
31114
31710
|
};
|
|
31115
31711
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
31116
31712
|
} | undefined;
|
|
31713
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
31117
31714
|
}, Schema.Struct<{
|
|
31118
31715
|
readonly type: Schema.Literal<"budget">;
|
|
31119
31716
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -31140,6 +31737,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
31140
31737
|
}>]>;
|
|
31141
31738
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
31142
31739
|
}>>>;
|
|
31740
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
31143
31741
|
}>>, Schema.Struct<{
|
|
31144
31742
|
readonly type: Schema.Literal<"managePeople">;
|
|
31145
31743
|
}>]>;
|
|
@@ -31157,6 +31755,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
31157
31755
|
}>]>;
|
|
31158
31756
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
31159
31757
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
31758
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
31160
31759
|
}>>;
|
|
31161
31760
|
readonly currentPolicy: Schema.Union<readonly [Schema.Struct<{
|
|
31162
31761
|
readonly type: Schema.Literal<"budget">;
|
|
@@ -31179,6 +31778,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
31179
31778
|
}>]>;
|
|
31180
31779
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
31181
31780
|
}>>;
|
|
31781
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
31182
31782
|
}>, Schema.Struct<{
|
|
31183
31783
|
readonly type: Schema.Literal<"managePeople">;
|
|
31184
31784
|
}>]>;
|
|
@@ -31280,6 +31880,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
31280
31880
|
};
|
|
31281
31881
|
readonly actions: readonly ["commitments" | "pay", ...("commitments" | "pay")[]];
|
|
31282
31882
|
} | undefined;
|
|
31883
|
+
readonly refill?: "monthly" | "none" | undefined;
|
|
31283
31884
|
}, Schema.Struct<{
|
|
31284
31885
|
readonly type: Schema.Literal<"budget">;
|
|
31285
31886
|
readonly asset: Schema.refine<AssetId, Schema.String>;
|
|
@@ -31306,6 +31907,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
31306
31907
|
}>]>;
|
|
31307
31908
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
31308
31909
|
}>>>;
|
|
31910
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
31309
31911
|
}>>, Schema.Struct<{
|
|
31310
31912
|
readonly type: Schema.Literal<"managePeople">;
|
|
31311
31913
|
}>]>;
|
|
@@ -31323,6 +31925,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
31323
31925
|
}>]>;
|
|
31324
31926
|
readonly recipients: Schema.Union<readonly [Schema.Literal<"anyone">, Schema.$Array<Schema.Codec<Address$1, string, never, never>>]>;
|
|
31325
31927
|
readonly actions: Schema.$Array<Schema.Literals<readonly ["send", "sendBatch", "createCommitment"]>>;
|
|
31928
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
31326
31929
|
}>>;
|
|
31327
31930
|
readonly currentPolicy: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
31328
31931
|
readonly type: Schema.Literal<"budget">;
|
|
@@ -31345,6 +31948,7 @@ declare const PermissionCommandViewSchema: Schema.refine<{
|
|
|
31345
31948
|
}>]>;
|
|
31346
31949
|
readonly actions: Schema.NonEmptyArray<Schema.Literals<readonly ["pay", "commitments"]>>;
|
|
31347
31950
|
}>>;
|
|
31951
|
+
readonly refill: Schema.optional<Schema.Literals<readonly ["monthly", "none"]>>;
|
|
31348
31952
|
}>, Schema.Struct<{
|
|
31349
31953
|
readonly type: Schema.Literal<"managePeople">;
|
|
31350
31954
|
}>]>>;
|
|
@@ -31490,6 +32094,14 @@ type PermissionOptions = {
|
|
|
31490
32094
|
};
|
|
31491
32095
|
type PermissionCreateInput = {
|
|
31492
32096
|
readonly requestKey: string;
|
|
32097
|
+
/**
|
|
32098
|
+
* The complete policy. A Budget's `refill: "monthly"` refills its cap every
|
|
32099
|
+
* 30 days: Zodiac Roles counts a fixed 30-day period from the block that sets
|
|
32100
|
+
* the allowance, not a calendar month, and a change restarts it at the full
|
|
32101
|
+
* cap. `"none"` is a one-off cap. A create without `refill` is `"none"`; a
|
|
32102
|
+
* change without it keeps the Budget's current refill, and only an explicit
|
|
32103
|
+
* `"none"` turns a refill off. State `refill` on a change to set it outright.
|
|
32104
|
+
*/
|
|
31493
32105
|
readonly intent: PermissionIntent;
|
|
31494
32106
|
};
|
|
31495
32107
|
type PermissionChangeInput = PermissionCreateInput & {
|
|
@@ -31527,296 +32139,6 @@ interface PermissionMethods {
|
|
|
31527
32139
|
/** The one public decoder for complete Budget command input. */
|
|
31528
32140
|
declare function decodePermissionIntent(input: unknown): PermissionIntent;
|
|
31529
32141
|
//#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
32142
|
//#region src/organizations/records.d.ts
|
|
31821
32143
|
/** The membership state for one Organization member. */
|
|
31822
32144
|
type MemberStatus = "pending" | "pending_safe" | "pending_grant" | "active" | "revoked" | "expired";
|
|
@@ -33576,4 +33898,4 @@ type CheckoutLinkReference = {
|
|
|
33576
33898
|
/** Build a reference URL. The consumer still reads authoritative terms from the backend. */
|
|
33577
33899
|
declare function checkoutUrl(frontendOrigin: string, reference: CheckoutLinkReference): string;
|
|
33578
33900
|
//#endregion
|
|
33579
|
-
export { CurrentUserMethods as $,
|
|
33901
|
+
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 };
|