@1claw/sdk 0.55.0 → 0.56.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +63 -0
- package/dist/generated/api-types.d.ts +1215 -141
- package/dist/generated/api-types.d.ts.map +1 -1
- package/dist/resources/agents.d.ts +95 -0
- package/dist/resources/agents.d.ts.map +1 -1
- package/dist/resources/agents.js +45 -0
- package/dist/resources/agents.js.map +1 -1
- package/dist/resources/auth.d.ts +10 -0
- package/dist/resources/auth.d.ts.map +1 -1
- package/dist/resources/auth.js +8 -0
- package/dist/resources/auth.js.map +1 -1
- package/dist/resources/org.d.ts +35 -1
- package/dist/resources/org.d.ts.map +1 -1
- package/dist/resources/org.js +20 -2
- package/dist/resources/org.js.map +1 -1
- package/dist/resources/treasury-wallets.d.ts +6 -0
- package/dist/resources/treasury-wallets.d.ts.map +1 -1
- package/dist/resources/treasury-wallets.js +4 -0
- package/dist/resources/treasury-wallets.js.map +1 -1
- package/dist/types.d.ts +4 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -539,6 +539,28 @@ export interface paths {
|
|
|
539
539
|
patch: operations["updateSecuritySettings"];
|
|
540
540
|
trace?: never;
|
|
541
541
|
};
|
|
542
|
+
"/v1/auth/human-factor-auth": {
|
|
543
|
+
parameters: {
|
|
544
|
+
query?: never;
|
|
545
|
+
header?: never;
|
|
546
|
+
path?: never;
|
|
547
|
+
cookie?: never;
|
|
548
|
+
};
|
|
549
|
+
/**
|
|
550
|
+
* Get effective human factor auth policy
|
|
551
|
+
* @description Returns the resolved HFA policy for treasury wallet send, swap, and export.
|
|
552
|
+
* Precedence: user override → spend policy → platform defaults.
|
|
553
|
+
*/
|
|
554
|
+
get: operations["getHumanFactorAuth"];
|
|
555
|
+
/** Set user human factor auth policy */
|
|
556
|
+
put: operations["upsertHumanFactorAuth"];
|
|
557
|
+
post?: never;
|
|
558
|
+
delete?: never;
|
|
559
|
+
options?: never;
|
|
560
|
+
head?: never;
|
|
561
|
+
patch?: never;
|
|
562
|
+
trace?: never;
|
|
563
|
+
};
|
|
542
564
|
"/v1/auth/mfa/status": {
|
|
543
565
|
parameters: {
|
|
544
566
|
query?: never;
|
|
@@ -1674,6 +1696,229 @@ export interface paths {
|
|
|
1674
1696
|
patch?: never;
|
|
1675
1697
|
trace?: never;
|
|
1676
1698
|
};
|
|
1699
|
+
"/v1/agents/{agent_id}/accounts": {
|
|
1700
|
+
parameters: {
|
|
1701
|
+
query?: never;
|
|
1702
|
+
header?: never;
|
|
1703
|
+
path?: never;
|
|
1704
|
+
cookie?: never;
|
|
1705
|
+
};
|
|
1706
|
+
/** List agent on-chain accounts */
|
|
1707
|
+
get: operations["listAgentAccounts"];
|
|
1708
|
+
put?: never;
|
|
1709
|
+
/**
|
|
1710
|
+
* Provision an agent account record
|
|
1711
|
+
* @description Human-only. Creates a DB record for an EOA or Safe account (Safe onchain sync is stubbed).
|
|
1712
|
+
*/
|
|
1713
|
+
post: operations["provisionAgentAccount"];
|
|
1714
|
+
delete?: never;
|
|
1715
|
+
options?: never;
|
|
1716
|
+
head?: never;
|
|
1717
|
+
patch?: never;
|
|
1718
|
+
trace?: never;
|
|
1719
|
+
};
|
|
1720
|
+
"/v1/agents/{agent_id}/accounts/migrate": {
|
|
1721
|
+
parameters: {
|
|
1722
|
+
query?: never;
|
|
1723
|
+
header?: never;
|
|
1724
|
+
path?: never;
|
|
1725
|
+
cookie?: never;
|
|
1726
|
+
};
|
|
1727
|
+
get?: never;
|
|
1728
|
+
put?: never;
|
|
1729
|
+
/**
|
|
1730
|
+
* EOA to Safe migration wizard
|
|
1731
|
+
* @description Human-only. Provisions counterfactual Safe and returns sweep plan. Onchain module broadcast stubbed pre-audit.
|
|
1732
|
+
*/
|
|
1733
|
+
post: operations["migrateAgentToSafe"];
|
|
1734
|
+
delete?: never;
|
|
1735
|
+
options?: never;
|
|
1736
|
+
head?: never;
|
|
1737
|
+
patch?: never;
|
|
1738
|
+
trace?: never;
|
|
1739
|
+
};
|
|
1740
|
+
"/v1/agents/{agent_id}/accounts/{chain}/deprecate-eoa": {
|
|
1741
|
+
parameters: {
|
|
1742
|
+
query?: never;
|
|
1743
|
+
header?: never;
|
|
1744
|
+
path?: never;
|
|
1745
|
+
cookie?: never;
|
|
1746
|
+
};
|
|
1747
|
+
get?: never;
|
|
1748
|
+
put?: never;
|
|
1749
|
+
/** Mark agent EOA account deprecated */
|
|
1750
|
+
post: operations["deprecateAgentEoa"];
|
|
1751
|
+
delete?: never;
|
|
1752
|
+
options?: never;
|
|
1753
|
+
head?: never;
|
|
1754
|
+
patch?: never;
|
|
1755
|
+
trace?: never;
|
|
1756
|
+
};
|
|
1757
|
+
"/v1/agents/{agent_id}/accounts/{chain}/deploy": {
|
|
1758
|
+
parameters: {
|
|
1759
|
+
query?: never;
|
|
1760
|
+
header?: never;
|
|
1761
|
+
path?: never;
|
|
1762
|
+
cookie?: never;
|
|
1763
|
+
};
|
|
1764
|
+
get?: never;
|
|
1765
|
+
put?: never;
|
|
1766
|
+
/**
|
|
1767
|
+
* Lazy-deploy counterfactual Safe (stub)
|
|
1768
|
+
* @description Human-only. Broadcasts Safe deployment when Guard audit completes. Returns 501 pre-audit.
|
|
1769
|
+
*/
|
|
1770
|
+
post: operations["deployAgentSafeAccount"];
|
|
1771
|
+
delete?: never;
|
|
1772
|
+
options?: never;
|
|
1773
|
+
head?: never;
|
|
1774
|
+
patch?: never;
|
|
1775
|
+
trace?: never;
|
|
1776
|
+
};
|
|
1777
|
+
"/v1/org/safe/sync-allowances": {
|
|
1778
|
+
parameters: {
|
|
1779
|
+
query?: never;
|
|
1780
|
+
header?: never;
|
|
1781
|
+
path?: never;
|
|
1782
|
+
cookie?: never;
|
|
1783
|
+
};
|
|
1784
|
+
get?: never;
|
|
1785
|
+
put?: never;
|
|
1786
|
+
/**
|
|
1787
|
+
* Reconcile Safe allowance targets (org admin)
|
|
1788
|
+
* @description Compiles tx_daily_limit targets for Safe agents. Onchain read/write stubbed pre-audit.
|
|
1789
|
+
*/
|
|
1790
|
+
post: operations["syncOrgSafeAllowances"];
|
|
1791
|
+
delete?: never;
|
|
1792
|
+
options?: never;
|
|
1793
|
+
head?: never;
|
|
1794
|
+
patch?: never;
|
|
1795
|
+
trace?: never;
|
|
1796
|
+
};
|
|
1797
|
+
"/v1/treasury/{treasury_id}/safe/roles-sync": {
|
|
1798
|
+
parameters: {
|
|
1799
|
+
query?: never;
|
|
1800
|
+
header?: never;
|
|
1801
|
+
path?: never;
|
|
1802
|
+
cookie?: never;
|
|
1803
|
+
};
|
|
1804
|
+
get?: never;
|
|
1805
|
+
put?: never;
|
|
1806
|
+
/**
|
|
1807
|
+
* Sync treasury Safe Roles module (stub)
|
|
1808
|
+
* @description Human-only. Reconciles on-chain Roles config with agent guardrails. Returns 501 pre-audit.
|
|
1809
|
+
*/
|
|
1810
|
+
post: operations["treasurySafeRolesSync"];
|
|
1811
|
+
delete?: never;
|
|
1812
|
+
options?: never;
|
|
1813
|
+
head?: never;
|
|
1814
|
+
patch?: never;
|
|
1815
|
+
trace?: never;
|
|
1816
|
+
};
|
|
1817
|
+
"/v1/agents/{agent_id}/safe/cosign": {
|
|
1818
|
+
parameters: {
|
|
1819
|
+
query?: never;
|
|
1820
|
+
header?: never;
|
|
1821
|
+
path?: never;
|
|
1822
|
+
cookie?: never;
|
|
1823
|
+
};
|
|
1824
|
+
get?: never;
|
|
1825
|
+
put?: never;
|
|
1826
|
+
/** Enable Vault co-signer (stub) */
|
|
1827
|
+
post: operations["enableSafeCosign"];
|
|
1828
|
+
delete?: never;
|
|
1829
|
+
options?: never;
|
|
1830
|
+
head?: never;
|
|
1831
|
+
patch?: never;
|
|
1832
|
+
trace?: never;
|
|
1833
|
+
};
|
|
1834
|
+
"/v1/agents/{agent_id}/safe/passkey-enroll": {
|
|
1835
|
+
parameters: {
|
|
1836
|
+
query?: never;
|
|
1837
|
+
header?: never;
|
|
1838
|
+
path?: never;
|
|
1839
|
+
cookie?: never;
|
|
1840
|
+
};
|
|
1841
|
+
get?: never;
|
|
1842
|
+
put?: never;
|
|
1843
|
+
/** Enroll passkey Safe owner (stub) */
|
|
1844
|
+
post: operations["enrollSafePasskeyOwner"];
|
|
1845
|
+
delete?: never;
|
|
1846
|
+
options?: never;
|
|
1847
|
+
head?: never;
|
|
1848
|
+
patch?: never;
|
|
1849
|
+
trace?: never;
|
|
1850
|
+
};
|
|
1851
|
+
"/v1/agents/{agent_id}/safe/timelock": {
|
|
1852
|
+
parameters: {
|
|
1853
|
+
query?: never;
|
|
1854
|
+
header?: never;
|
|
1855
|
+
path?: never;
|
|
1856
|
+
cookie?: never;
|
|
1857
|
+
};
|
|
1858
|
+
get?: never;
|
|
1859
|
+
put?: never;
|
|
1860
|
+
/** Configure Zodiac timelock (stub) */
|
|
1861
|
+
post: operations["configureSafeTimelock"];
|
|
1862
|
+
delete?: never;
|
|
1863
|
+
options?: never;
|
|
1864
|
+
head?: never;
|
|
1865
|
+
patch?: never;
|
|
1866
|
+
trace?: never;
|
|
1867
|
+
};
|
|
1868
|
+
"/v1/agents/{agent_id}/safe/erc4337": {
|
|
1869
|
+
parameters: {
|
|
1870
|
+
query?: never;
|
|
1871
|
+
header?: never;
|
|
1872
|
+
path?: never;
|
|
1873
|
+
cookie?: never;
|
|
1874
|
+
};
|
|
1875
|
+
get?: never;
|
|
1876
|
+
put?: never;
|
|
1877
|
+
/** Enable ERC-4337 Safe lane (stub) */
|
|
1878
|
+
post: operations["enableSafeErc4337"];
|
|
1879
|
+
delete?: never;
|
|
1880
|
+
options?: never;
|
|
1881
|
+
head?: never;
|
|
1882
|
+
patch?: never;
|
|
1883
|
+
trace?: never;
|
|
1884
|
+
};
|
|
1885
|
+
"/v1/agents/{agent_id}/guardrails/replay": {
|
|
1886
|
+
parameters: {
|
|
1887
|
+
query?: never;
|
|
1888
|
+
header?: never;
|
|
1889
|
+
path?: never;
|
|
1890
|
+
cookie?: never;
|
|
1891
|
+
};
|
|
1892
|
+
get?: never;
|
|
1893
|
+
put?: never;
|
|
1894
|
+
/**
|
|
1895
|
+
* Dry-run guardrail changes against recent transactions
|
|
1896
|
+
* @description Human-only. Compares draft guardrails against recent agent transactions.
|
|
1897
|
+
*/
|
|
1898
|
+
post: operations["replayAgentGuardrails"];
|
|
1899
|
+
delete?: never;
|
|
1900
|
+
options?: never;
|
|
1901
|
+
head?: never;
|
|
1902
|
+
patch?: never;
|
|
1903
|
+
trace?: never;
|
|
1904
|
+
};
|
|
1905
|
+
"/v1/safe/module-registry/{chain}": {
|
|
1906
|
+
parameters: {
|
|
1907
|
+
query?: never;
|
|
1908
|
+
header?: never;
|
|
1909
|
+
path?: never;
|
|
1910
|
+
cookie?: never;
|
|
1911
|
+
};
|
|
1912
|
+
/** List Safe module registry entries for a chain */
|
|
1913
|
+
get: operations["getSafeModuleRegistry"];
|
|
1914
|
+
put?: never;
|
|
1915
|
+
post?: never;
|
|
1916
|
+
delete?: never;
|
|
1917
|
+
options?: never;
|
|
1918
|
+
head?: never;
|
|
1919
|
+
patch?: never;
|
|
1920
|
+
trace?: never;
|
|
1921
|
+
};
|
|
1677
1922
|
"/v1/agents/{agent_id}/delegations": {
|
|
1678
1923
|
parameters: {
|
|
1679
1924
|
query?: never;
|
|
@@ -2077,6 +2322,26 @@ export interface paths {
|
|
|
2077
2322
|
patch?: never;
|
|
2078
2323
|
trace?: never;
|
|
2079
2324
|
};
|
|
2325
|
+
"/v1/org/status": {
|
|
2326
|
+
parameters: {
|
|
2327
|
+
query?: never;
|
|
2328
|
+
header?: never;
|
|
2329
|
+
path?: never;
|
|
2330
|
+
cookie?: never;
|
|
2331
|
+
};
|
|
2332
|
+
/**
|
|
2333
|
+
* Organization operational status
|
|
2334
|
+
* @description Returns whether the org is emergency-frozen (blocks agent tx/execution).
|
|
2335
|
+
*/
|
|
2336
|
+
get: operations["getOrgStatus"];
|
|
2337
|
+
put?: never;
|
|
2338
|
+
post?: never;
|
|
2339
|
+
delete?: never;
|
|
2340
|
+
options?: never;
|
|
2341
|
+
head?: never;
|
|
2342
|
+
patch?: never;
|
|
2343
|
+
trace?: never;
|
|
2344
|
+
};
|
|
2080
2345
|
"/v1/org/freeze": {
|
|
2081
2346
|
parameters: {
|
|
2082
2347
|
query?: never;
|
|
@@ -2984,6 +3249,30 @@ export interface paths {
|
|
|
2984
3249
|
patch?: never;
|
|
2985
3250
|
trace?: never;
|
|
2986
3251
|
};
|
|
3252
|
+
"/v1/treasury/wallets/auth-policy": {
|
|
3253
|
+
parameters: {
|
|
3254
|
+
query?: never;
|
|
3255
|
+
header?: never;
|
|
3256
|
+
path?: never;
|
|
3257
|
+
cookie?: never;
|
|
3258
|
+
};
|
|
3259
|
+
/**
|
|
3260
|
+
* Get effective human factor auth policy for embedded clients
|
|
3261
|
+
* @description Returns the resolved human factor auth (HFA) policy governing treasury
|
|
3262
|
+
* wallet send, swap, and export, plus the number of passkeys registered
|
|
3263
|
+
* for the calling user. Intended for embedded wallet clients; equivalent
|
|
3264
|
+
* to GET /v1/auth/human-factor-auth with an additional passkey count.
|
|
3265
|
+
* Precedence: user override → platform app → spend policy → defaults.
|
|
3266
|
+
*/
|
|
3267
|
+
get: operations["getTreasuryAuthPolicy"];
|
|
3268
|
+
put?: never;
|
|
3269
|
+
post?: never;
|
|
3270
|
+
delete?: never;
|
|
3271
|
+
options?: never;
|
|
3272
|
+
head?: never;
|
|
3273
|
+
patch?: never;
|
|
3274
|
+
trace?: never;
|
|
3275
|
+
};
|
|
2987
3276
|
"/v1/treasury/wallets/spend-policy": {
|
|
2988
3277
|
parameters: {
|
|
2989
3278
|
query?: never;
|
|
@@ -4767,9 +5056,10 @@ export interface paths {
|
|
|
4767
5056
|
put?: never;
|
|
4768
5057
|
/**
|
|
4769
5058
|
* Begin passkey transaction authorization
|
|
4770
|
-
* @description Requires `tx_digest` — SHA-256 hex of canonical
|
|
4771
|
-
*
|
|
4772
|
-
* on send and rejects passkey tokens that
|
|
5059
|
+
* @description Requires `tx_digest` — SHA-256 hex of the canonical digest for the
|
|
5060
|
+
* treasury action being authorized (`send` or `swap`). The server
|
|
5061
|
+
* recomputes this digest on send/swap and rejects passkey tokens that
|
|
5062
|
+
* do not match.
|
|
4773
5063
|
*/
|
|
4774
5064
|
post: operations["passkeyTxAssertBegin"];
|
|
4775
5065
|
delete?: never;
|
|
@@ -6406,7 +6696,7 @@ export interface paths {
|
|
|
6406
6696
|
patch?: never;
|
|
6407
6697
|
trace?: never;
|
|
6408
6698
|
};
|
|
6409
|
-
"/v1/org/
|
|
6699
|
+
"/v1/org/guardrail-shadow-report": {
|
|
6410
6700
|
parameters: {
|
|
6411
6701
|
query?: never;
|
|
6412
6702
|
header?: never;
|
|
@@ -6414,57 +6704,98 @@ export interface paths {
|
|
|
6414
6704
|
cookie?: never;
|
|
6415
6705
|
};
|
|
6416
6706
|
/**
|
|
6417
|
-
*
|
|
6418
|
-
* @description
|
|
6707
|
+
* Get guardrail shadow divergence report
|
|
6708
|
+
* @description Returns Convention 6 shadow-mode violations (`guardrail_shadow.would_deny` audit events)
|
|
6709
|
+
* grouped by reason code. Owner/admin only.
|
|
6419
6710
|
*/
|
|
6420
|
-
get: operations["
|
|
6711
|
+
get: operations["getGuardrailShadowReport"];
|
|
6421
6712
|
put?: never;
|
|
6422
|
-
|
|
6423
|
-
* Register a contract ABI
|
|
6424
|
-
* @description Upload an org-scoped ABI for transaction decoding. Owner/admin only.
|
|
6425
|
-
*/
|
|
6426
|
-
post: operations["createContractAbi"];
|
|
6713
|
+
post?: never;
|
|
6427
6714
|
delete?: never;
|
|
6428
6715
|
options?: never;
|
|
6429
6716
|
head?: never;
|
|
6430
6717
|
patch?: never;
|
|
6431
6718
|
trace?: never;
|
|
6432
6719
|
};
|
|
6433
|
-
"/v1/org/
|
|
6720
|
+
"/v1/org/guardrail-revisions": {
|
|
6434
6721
|
parameters: {
|
|
6435
6722
|
query?: never;
|
|
6436
6723
|
header?: never;
|
|
6437
6724
|
path?: never;
|
|
6438
6725
|
cookie?: never;
|
|
6439
6726
|
};
|
|
6440
|
-
/**
|
|
6441
|
-
|
|
6727
|
+
/**
|
|
6728
|
+
* List guardrail revision history
|
|
6729
|
+
* @description Audit trail of agent and binding guardrail changes. Owner/admin only.
|
|
6730
|
+
*/
|
|
6731
|
+
get: operations["listGuardrailRevisions"];
|
|
6442
6732
|
put?: never;
|
|
6443
6733
|
post?: never;
|
|
6444
|
-
|
|
6445
|
-
delete: operations["deleteContractAbi"];
|
|
6734
|
+
delete?: never;
|
|
6446
6735
|
options?: never;
|
|
6447
6736
|
head?: never;
|
|
6448
6737
|
patch?: never;
|
|
6449
6738
|
trace?: never;
|
|
6450
6739
|
};
|
|
6451
|
-
"/v1/
|
|
6740
|
+
"/v1/org/contract-abis": {
|
|
6452
6741
|
parameters: {
|
|
6453
6742
|
query?: never;
|
|
6454
6743
|
header?: never;
|
|
6455
6744
|
path?: never;
|
|
6456
6745
|
cookie?: never;
|
|
6457
6746
|
};
|
|
6458
|
-
/** List pending approvals */
|
|
6459
|
-
get: operations["listPendingApprovals"];
|
|
6460
|
-
put?: never;
|
|
6461
6747
|
/**
|
|
6462
|
-
*
|
|
6463
|
-
* @description
|
|
6748
|
+
* List contract ABIs
|
|
6749
|
+
* @description List org contract ABIs, optionally filtered by chain. Owner/admin only.
|
|
6464
6750
|
*/
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
|
|
6751
|
+
get: operations["listContractAbis"];
|
|
6752
|
+
put?: never;
|
|
6753
|
+
/**
|
|
6754
|
+
* Register a contract ABI
|
|
6755
|
+
* @description Upload an org-scoped ABI for transaction decoding. Owner/admin only.
|
|
6756
|
+
*/
|
|
6757
|
+
post: operations["createContractAbi"];
|
|
6758
|
+
delete?: never;
|
|
6759
|
+
options?: never;
|
|
6760
|
+
head?: never;
|
|
6761
|
+
patch?: never;
|
|
6762
|
+
trace?: never;
|
|
6763
|
+
};
|
|
6764
|
+
"/v1/org/contract-abis/{id}": {
|
|
6765
|
+
parameters: {
|
|
6766
|
+
query?: never;
|
|
6767
|
+
header?: never;
|
|
6768
|
+
path?: never;
|
|
6769
|
+
cookie?: never;
|
|
6770
|
+
};
|
|
6771
|
+
/** Get a contract ABI */
|
|
6772
|
+
get: operations["getContractAbi"];
|
|
6773
|
+
put?: never;
|
|
6774
|
+
post?: never;
|
|
6775
|
+
/** Delete a contract ABI */
|
|
6776
|
+
delete: operations["deleteContractAbi"];
|
|
6777
|
+
options?: never;
|
|
6778
|
+
head?: never;
|
|
6779
|
+
patch?: never;
|
|
6780
|
+
trace?: never;
|
|
6781
|
+
};
|
|
6782
|
+
"/v1/pending-approvals": {
|
|
6783
|
+
parameters: {
|
|
6784
|
+
query?: never;
|
|
6785
|
+
header?: never;
|
|
6786
|
+
path?: never;
|
|
6787
|
+
cookie?: never;
|
|
6788
|
+
};
|
|
6789
|
+
/** List pending approvals */
|
|
6790
|
+
get: operations["listPendingApprovals"];
|
|
6791
|
+
put?: never;
|
|
6792
|
+
/**
|
|
6793
|
+
* Submit action for approval
|
|
6794
|
+
* @description Submit a signing or transaction action that matches a consensus policy trigger.
|
|
6795
|
+
*/
|
|
6796
|
+
post: operations["submitPendingApproval"];
|
|
6797
|
+
delete?: never;
|
|
6798
|
+
options?: never;
|
|
6468
6799
|
head?: never;
|
|
6469
6800
|
patch?: never;
|
|
6470
6801
|
trace?: never;
|
|
@@ -7652,7 +7983,9 @@ export interface components {
|
|
|
7652
7983
|
xrpl_allowed_tx_types?: string[];
|
|
7653
7984
|
/**
|
|
7654
7985
|
* @description Per-chain guardrail overrides. Keys are signing chains (ethereum, bitcoin, solana, xrp, cardano, tron).
|
|
7655
|
-
* Each value may include max_value, daily_limit, to_allowlist, token_allowlist, max_per_day,
|
|
7986
|
+
* Each value may include max_value, daily_limit, to_allowlist, token_allowlist, max_per_day,
|
|
7987
|
+
* overhead_budget, max_ata_creates_per_day, max_fee_per_gas_gwei, max_gas_limit,
|
|
7988
|
+
* gas_daily_budget_native (UTC-day cumulative EVM gas estimate in native units).
|
|
7656
7989
|
* Strictest of global and per-chain limits wins. Daily limits apply per chain family spend, not cross-chain totals.
|
|
7657
7990
|
*/
|
|
7658
7991
|
per_chain_guardrails?: {
|
|
@@ -7881,7 +8214,8 @@ export interface components {
|
|
|
7881
8214
|
xrpl_allowed_tx_types?: string[];
|
|
7882
8215
|
/**
|
|
7883
8216
|
* @description Per-chain guardrail overrides. Keys are signing chains (ethereum, bitcoin, solana, xrp, cardano, tron).
|
|
7884
|
-
* Each value may include max_value, daily_limit, to_allowlist, token_allowlist (legacy *_eth keys accepted)
|
|
8217
|
+
* Each value may include max_value, daily_limit, to_allowlist, token_allowlist (legacy *_eth keys accepted),
|
|
8218
|
+
* max_fee_per_gas_gwei, max_gas_limit, gas_daily_budget_native (UTC-day cumulative EVM gas in native units).
|
|
7885
8219
|
* Strictest of global and per-chain limits wins. Daily limits apply per chain family spend, not cross-chain totals.
|
|
7886
8220
|
*/
|
|
7887
8221
|
per_chain_guardrails?: {
|
|
@@ -7902,6 +8236,15 @@ export interface components {
|
|
|
7902
8236
|
per_environment_guardrails?: {
|
|
7903
8237
|
[key: string]: unknown;
|
|
7904
8238
|
};
|
|
8239
|
+
/** @description Recipient address screening policy. `mode` may be `off`, `deny`, or `approve`. */
|
|
8240
|
+
address_screening_policy?: {
|
|
8241
|
+
[key: string]: unknown;
|
|
8242
|
+
};
|
|
8243
|
+
/**
|
|
8244
|
+
* Format: uuid
|
|
8245
|
+
* @description Approved policy_change id when applying a queued guardrail widening. Resubmit PATCH with this field after the approval has been approved via POST /v1/approvals/{approval_id}/decide.
|
|
8246
|
+
*/
|
|
8247
|
+
approval_id?: string;
|
|
7905
8248
|
};
|
|
7906
8249
|
AgentResponse: {
|
|
7907
8250
|
/** Format: uuid */
|
|
@@ -8072,6 +8415,10 @@ export interface components {
|
|
|
8072
8415
|
per_environment_guardrails?: {
|
|
8073
8416
|
[key: string]: unknown;
|
|
8074
8417
|
};
|
|
8418
|
+
/** @description Recipient address screening policy. `mode` may be `off`, `deny`, or `approve`. */
|
|
8419
|
+
address_screening_policy?: {
|
|
8420
|
+
[key: string]: unknown;
|
|
8421
|
+
};
|
|
8075
8422
|
};
|
|
8076
8423
|
KnownToken: {
|
|
8077
8424
|
/** Format: uuid */
|
|
@@ -10160,11 +10507,19 @@ export interface components {
|
|
|
10160
10507
|
/** Format: date-time */
|
|
10161
10508
|
expires_at?: string | null;
|
|
10162
10509
|
};
|
|
10510
|
+
/**
|
|
10511
|
+
* @description Stable snake_case reason codes for guardrail violations (Convention 1).
|
|
10512
|
+
* Shadow-mode `"log"` emits the same codes in `guardrail_shadow.would_deny`
|
|
10513
|
+
* audit events with `enforced: false`. 202 HITL responses use
|
|
10514
|
+
* `approval_available: true` instead of a deny reason_code.
|
|
10515
|
+
* @enum {string}
|
|
10516
|
+
*/
|
|
10517
|
+
GuardrailReasonCode: "binding_rpm_exceeded" | "agent_rpm_exceeded" | "graphql_mutation_blocked" | "graphql_depth_exceeded" | "graphql_parse_failed" | "graphql_introspection_blocked" | "response_too_large" | "request_too_large" | "method_not_allowed" | "header_not_allowed" | "dns_private_ip_blocked" | "agent_suspended" | "outside_time_window" | "secret_in_request" | "concurrency_exceeded" | "org_frozen" | "price_unavailable" | "gas_fee_exceeded" | "unlimited_approval_blocked" | "tx_per_recipient_limit_exceeded" | "tx_max_value_exceeded" | "tx_daily_limit_exceeded" | "delegation_signing_blocked" | "recipient_screening_failed" | "screening_provider_unavailable" | "human_factor_auth_required" | "register_passkey_required";
|
|
10518
|
+
/** @description Convention 1 machine-readable guardrail denial JSON body. */
|
|
10163
10519
|
GuardrailViolation: {
|
|
10164
10520
|
/** @enum {string} */
|
|
10165
10521
|
error: "guardrail_violation";
|
|
10166
|
-
|
|
10167
|
-
reason_code: "binding_rpm_exceeded" | "agent_rpm_exceeded" | "graphql_mutation_blocked" | "graphql_depth_exceeded" | "graphql_parse_failed" | "graphql_introspection_blocked" | "response_too_large" | "request_too_large" | "method_not_allowed" | "header_not_allowed" | "dns_private_ip_blocked" | "agent_suspended" | "outside_time_window" | "secret_in_request" | "concurrency_exceeded" | "org_frozen";
|
|
10522
|
+
reason_code: components["schemas"]["GuardrailReasonCode"];
|
|
10168
10523
|
limit?: string | null;
|
|
10169
10524
|
current?: string | null;
|
|
10170
10525
|
attempted?: string | null;
|
|
@@ -10173,6 +10528,8 @@ export interface components {
|
|
|
10173
10528
|
retry_after_seconds?: number | null;
|
|
10174
10529
|
detail?: string | null;
|
|
10175
10530
|
};
|
|
10531
|
+
/** @description Alias of GuardrailViolation (Convention 1 JSON shape). */
|
|
10532
|
+
GuardrailDenial: components["schemas"]["GuardrailViolation"];
|
|
10176
10533
|
EmailOtpVerifyResponse: {
|
|
10177
10534
|
/** @description JWT access token */
|
|
10178
10535
|
token: string;
|
|
@@ -10236,6 +10593,14 @@ export interface components {
|
|
|
10236
10593
|
allowed_tokens?: string[];
|
|
10237
10594
|
/** @description Maximum number of transactions per 24h window */
|
|
10238
10595
|
max_transactions_per_day?: number;
|
|
10596
|
+
/**
|
|
10597
|
+
* @description Human factor auth requirements for send/swap/export.
|
|
10598
|
+
* Fields: send, swap, export (password_or_passkey | passkey_only | passkey_required | password_only | reauth_token_only),
|
|
10599
|
+
* conditional.require_passkey_above_usd, conditional.require_passkey_for_new_recipient.
|
|
10600
|
+
*/
|
|
10601
|
+
human_factor_auth?: {
|
|
10602
|
+
[key: string]: unknown;
|
|
10603
|
+
};
|
|
10239
10604
|
};
|
|
10240
10605
|
SpendPolicyResponse: {
|
|
10241
10606
|
/** Format: uuid */
|
|
@@ -10251,9 +10616,72 @@ export interface components {
|
|
|
10251
10616
|
allowed_chains?: string[];
|
|
10252
10617
|
allowed_tokens?: string[];
|
|
10253
10618
|
max_transactions_per_day?: number | null;
|
|
10619
|
+
human_factor_auth?: {
|
|
10620
|
+
[key: string]: unknown;
|
|
10621
|
+
} | null;
|
|
10254
10622
|
/** Format: date-time */
|
|
10255
10623
|
created_at: string;
|
|
10256
10624
|
};
|
|
10625
|
+
HumanFactorAuthPolicy: {
|
|
10626
|
+
/** @enum {string} */
|
|
10627
|
+
send?: "password_or_passkey" | "passkey_only" | "passkey_required" | "password_only" | "reauth_token_only";
|
|
10628
|
+
/** @enum {string} */
|
|
10629
|
+
swap?: "password_or_passkey" | "passkey_only" | "passkey_required" | "password_only" | "reauth_token_only";
|
|
10630
|
+
/** @enum {string} */
|
|
10631
|
+
export?: "password_or_passkey" | "passkey_only" | "passkey_required" | "password_only" | "reauth_token_only";
|
|
10632
|
+
conditional?: {
|
|
10633
|
+
require_passkey_above_usd?: string | null;
|
|
10634
|
+
require_passkey_for_new_recipient?: boolean;
|
|
10635
|
+
};
|
|
10636
|
+
};
|
|
10637
|
+
UpsertHumanFactorAuthRequest: {
|
|
10638
|
+
policy: components["schemas"]["HumanFactorAuthPolicy"];
|
|
10639
|
+
};
|
|
10640
|
+
HumanFactorAuthResponse: {
|
|
10641
|
+
policy: components["schemas"]["HumanFactorAuthPolicy"];
|
|
10642
|
+
/** @description user | platform_app | spend_policy | default */
|
|
10643
|
+
source: string;
|
|
10644
|
+
};
|
|
10645
|
+
TreasuryAuthPolicyResponse: {
|
|
10646
|
+
policy: components["schemas"]["HumanFactorAuthPolicy"];
|
|
10647
|
+
/** @description user | platform_app | spend_policy | default */
|
|
10648
|
+
source: string;
|
|
10649
|
+
/** @description Number of WebAuthn passkeys registered for the calling user. */
|
|
10650
|
+
registered_passkeys: number;
|
|
10651
|
+
};
|
|
10652
|
+
PasskeyTxAssertBeginRequest: {
|
|
10653
|
+
/** @description 64-char hex SHA-256 of canonical send or swap params */
|
|
10654
|
+
tx_digest: string;
|
|
10655
|
+
/**
|
|
10656
|
+
* @description Treasury action being authorized. Defaults to `send`.
|
|
10657
|
+
* @default send
|
|
10658
|
+
* @enum {string}
|
|
10659
|
+
*/
|
|
10660
|
+
action: "send" | "swap";
|
|
10661
|
+
};
|
|
10662
|
+
PasskeyAssertBeginResponse: {
|
|
10663
|
+
challenge: string;
|
|
10664
|
+
rp_id: string;
|
|
10665
|
+
timeout: number;
|
|
10666
|
+
user_verification: string;
|
|
10667
|
+
allow_credentials: components["schemas"]["AllowCredential"][];
|
|
10668
|
+
};
|
|
10669
|
+
AllowCredential: {
|
|
10670
|
+
id: string;
|
|
10671
|
+
/** @enum {string} */
|
|
10672
|
+
type: "public-key";
|
|
10673
|
+
transports?: string[];
|
|
10674
|
+
};
|
|
10675
|
+
GuardrailWideningQueuedResponse: {
|
|
10676
|
+
/** @enum {string} */
|
|
10677
|
+
status: "awaiting_approval";
|
|
10678
|
+
/** Format: uuid */
|
|
10679
|
+
approval_id: string;
|
|
10680
|
+
/** Format: uuid */
|
|
10681
|
+
revision_id: string;
|
|
10682
|
+
/** @description Human-readable explanation of the queued change. */
|
|
10683
|
+
message: string;
|
|
10684
|
+
};
|
|
10257
10685
|
RiskEvent: {
|
|
10258
10686
|
/** Format: uuid */
|
|
10259
10687
|
id: string;
|
|
@@ -10383,6 +10811,11 @@ export interface components {
|
|
|
10383
10811
|
[key: string]: unknown;
|
|
10384
10812
|
};
|
|
10385
10813
|
credential_source?: components["schemas"]["CredentialSource"];
|
|
10814
|
+
/**
|
|
10815
|
+
* Format: uuid
|
|
10816
|
+
* @description Approved policy_change id when applying a queued binding guardrail widening. Resubmit PATCH with this field after approval via POST /v1/approvals/{approval_id}/decide.
|
|
10817
|
+
*/
|
|
10818
|
+
approval_id?: string;
|
|
10386
10819
|
};
|
|
10387
10820
|
/** @description Per-binding execution guardrails enforced at execute time. */
|
|
10388
10821
|
BindingGuardrails: {
|
|
@@ -11339,6 +11772,149 @@ export interface components {
|
|
|
11339
11772
|
/** Format: date-time */
|
|
11340
11773
|
created_at?: string;
|
|
11341
11774
|
};
|
|
11775
|
+
GuardrailShadowReportResponse: {
|
|
11776
|
+
/** Format: uuid */
|
|
11777
|
+
org_id?: string;
|
|
11778
|
+
/** Format: date-time */
|
|
11779
|
+
since?: string;
|
|
11780
|
+
/** Format: date-time */
|
|
11781
|
+
until?: string;
|
|
11782
|
+
/** Format: int64 */
|
|
11783
|
+
total_would_deny?: number;
|
|
11784
|
+
by_reason?: components["schemas"]["GuardrailShadowReasonRow"][];
|
|
11785
|
+
};
|
|
11786
|
+
GuardrailShadowReasonRow: {
|
|
11787
|
+
reason_code?: string;
|
|
11788
|
+
/** Format: int64 */
|
|
11789
|
+
would_deny_count?: number;
|
|
11790
|
+
/** Format: int64 */
|
|
11791
|
+
enforced_count?: number;
|
|
11792
|
+
};
|
|
11793
|
+
GuardrailRevisionListResponse: {
|
|
11794
|
+
revisions?: components["schemas"]["GuardrailRevisionRow"][];
|
|
11795
|
+
};
|
|
11796
|
+
GuardrailRevisionRow: {
|
|
11797
|
+
/** Format: uuid */
|
|
11798
|
+
id?: string;
|
|
11799
|
+
/** Format: uuid */
|
|
11800
|
+
org_id?: string;
|
|
11801
|
+
/** @enum {string} */
|
|
11802
|
+
resource_type?: "agent" | "binding";
|
|
11803
|
+
/** Format: uuid */
|
|
11804
|
+
resource_id?: string;
|
|
11805
|
+
/** Format: uuid */
|
|
11806
|
+
actor_id?: string;
|
|
11807
|
+
before_json?: {
|
|
11808
|
+
[key: string]: unknown;
|
|
11809
|
+
};
|
|
11810
|
+
after_json?: {
|
|
11811
|
+
[key: string]: unknown;
|
|
11812
|
+
};
|
|
11813
|
+
/** @enum {string} */
|
|
11814
|
+
change_kind?: "narrowing" | "widening" | "neutral";
|
|
11815
|
+
/** Format: uuid */
|
|
11816
|
+
approval_id?: string | null;
|
|
11817
|
+
/** Format: date-time */
|
|
11818
|
+
created_at?: string;
|
|
11819
|
+
};
|
|
11820
|
+
GuardrailReplayRequest: {
|
|
11821
|
+
days?: number;
|
|
11822
|
+
draft_guardrails?: {
|
|
11823
|
+
[key: string]: unknown;
|
|
11824
|
+
};
|
|
11825
|
+
draft_approval_policy?: {
|
|
11826
|
+
[key: string]: unknown;
|
|
11827
|
+
};
|
|
11828
|
+
};
|
|
11829
|
+
GuardrailReplayResponse: {
|
|
11830
|
+
/** Format: uuid */
|
|
11831
|
+
agent_id?: string;
|
|
11832
|
+
/** Format: int64 */
|
|
11833
|
+
window_days?: number;
|
|
11834
|
+
/** Format: int64 */
|
|
11835
|
+
allowed?: number;
|
|
11836
|
+
/** Format: int64 */
|
|
11837
|
+
denied?: number;
|
|
11838
|
+
/** Format: int64 */
|
|
11839
|
+
would_require_approval?: number;
|
|
11840
|
+
samples?: {
|
|
11841
|
+
[key: string]: unknown;
|
|
11842
|
+
}[];
|
|
11843
|
+
};
|
|
11844
|
+
AgentAccountListResponse: {
|
|
11845
|
+
accounts?: components["schemas"]["AgentAccountResponse"][];
|
|
11846
|
+
};
|
|
11847
|
+
AgentAccountResponse: {
|
|
11848
|
+
/** Format: uuid */
|
|
11849
|
+
id?: string;
|
|
11850
|
+
/** Format: uuid */
|
|
11851
|
+
org_id?: string;
|
|
11852
|
+
/** Format: uuid */
|
|
11853
|
+
agent_id?: string;
|
|
11854
|
+
chain?: string;
|
|
11855
|
+
account_type?: string;
|
|
11856
|
+
address?: string;
|
|
11857
|
+
safe_version?: string;
|
|
11858
|
+
modules_enabled?: string[];
|
|
11859
|
+
deploy_status?: string;
|
|
11860
|
+
cosign_enabled?: boolean;
|
|
11861
|
+
metadata?: Record<string, never>;
|
|
11862
|
+
/** Format: date-time */
|
|
11863
|
+
created_at?: string;
|
|
11864
|
+
/** Format: date-time */
|
|
11865
|
+
updated_at?: string;
|
|
11866
|
+
};
|
|
11867
|
+
MigrationPlanResponse: {
|
|
11868
|
+
/** Format: uuid */
|
|
11869
|
+
agent_id?: string;
|
|
11870
|
+
chain?: string;
|
|
11871
|
+
safe_address?: string;
|
|
11872
|
+
safe_version?: string;
|
|
11873
|
+
modules?: string[];
|
|
11874
|
+
eoa_address?: string;
|
|
11875
|
+
sweep_instructions?: {
|
|
11876
|
+
asset?: string;
|
|
11877
|
+
action?: string;
|
|
11878
|
+
note?: string;
|
|
11879
|
+
}[];
|
|
11880
|
+
roles_config_hash?: string;
|
|
11881
|
+
allowance_config_hash?: string;
|
|
11882
|
+
warnings?: string[];
|
|
11883
|
+
deploy_status?: string;
|
|
11884
|
+
};
|
|
11885
|
+
ProvisionAgentAccountRequest: {
|
|
11886
|
+
chain: string;
|
|
11887
|
+
/** @default eoa */
|
|
11888
|
+
account_type: string;
|
|
11889
|
+
address?: string;
|
|
11890
|
+
};
|
|
11891
|
+
SafeModuleRegistryResponse: {
|
|
11892
|
+
chain?: string;
|
|
11893
|
+
modules?: components["schemas"]["SafeModuleInfo"][];
|
|
11894
|
+
};
|
|
11895
|
+
SafeModuleInfo: {
|
|
11896
|
+
name?: string;
|
|
11897
|
+
address?: string;
|
|
11898
|
+
version?: string;
|
|
11899
|
+
};
|
|
11900
|
+
AllowanceReconcileReport: {
|
|
11901
|
+
/** Format: uuid */
|
|
11902
|
+
org_id?: string;
|
|
11903
|
+
agents_checked?: number;
|
|
11904
|
+
compiled?: {
|
|
11905
|
+
[key: string]: unknown;
|
|
11906
|
+
}[];
|
|
11907
|
+
drift_detected?: {
|
|
11908
|
+
[key: string]: unknown;
|
|
11909
|
+
}[];
|
|
11910
|
+
/** @description counterfactual when on-chain broadcast is stubbed pre-audit */
|
|
11911
|
+
onchain_sync?: string;
|
|
11912
|
+
};
|
|
11913
|
+
NotImplementedResponse: {
|
|
11914
|
+
error: string;
|
|
11915
|
+
phase: string;
|
|
11916
|
+
message: string;
|
|
11917
|
+
};
|
|
11342
11918
|
CreateContractAbiRequest: {
|
|
11343
11919
|
chain: string;
|
|
11344
11920
|
/** @description Contract address, or Solana program id when interface_kind is solana_idl */
|
|
@@ -12894,6 +13470,52 @@ export interface operations {
|
|
|
12894
13470
|
403: components["responses"]["Forbidden"];
|
|
12895
13471
|
};
|
|
12896
13472
|
};
|
|
13473
|
+
getHumanFactorAuth: {
|
|
13474
|
+
parameters: {
|
|
13475
|
+
query?: never;
|
|
13476
|
+
header?: never;
|
|
13477
|
+
path?: never;
|
|
13478
|
+
cookie?: never;
|
|
13479
|
+
};
|
|
13480
|
+
requestBody?: never;
|
|
13481
|
+
responses: {
|
|
13482
|
+
/** @description Effective HFA policy */
|
|
13483
|
+
200: {
|
|
13484
|
+
headers: {
|
|
13485
|
+
[name: string]: unknown;
|
|
13486
|
+
};
|
|
13487
|
+
content: {
|
|
13488
|
+
"application/json": components["schemas"]["HumanFactorAuthResponse"];
|
|
13489
|
+
};
|
|
13490
|
+
};
|
|
13491
|
+
403: components["responses"]["Forbidden"];
|
|
13492
|
+
};
|
|
13493
|
+
};
|
|
13494
|
+
upsertHumanFactorAuth: {
|
|
13495
|
+
parameters: {
|
|
13496
|
+
query?: never;
|
|
13497
|
+
header?: never;
|
|
13498
|
+
path?: never;
|
|
13499
|
+
cookie?: never;
|
|
13500
|
+
};
|
|
13501
|
+
requestBody: {
|
|
13502
|
+
content: {
|
|
13503
|
+
"application/json": components["schemas"]["UpsertHumanFactorAuthRequest"];
|
|
13504
|
+
};
|
|
13505
|
+
};
|
|
13506
|
+
responses: {
|
|
13507
|
+
/** @description Updated policy */
|
|
13508
|
+
200: {
|
|
13509
|
+
headers: {
|
|
13510
|
+
[name: string]: unknown;
|
|
13511
|
+
};
|
|
13512
|
+
content: {
|
|
13513
|
+
"application/json": components["schemas"]["HumanFactorAuthResponse"];
|
|
13514
|
+
};
|
|
13515
|
+
};
|
|
13516
|
+
403: components["responses"]["Forbidden"];
|
|
13517
|
+
};
|
|
13518
|
+
};
|
|
12897
13519
|
mfaStatus: {
|
|
12898
13520
|
parameters: {
|
|
12899
13521
|
query?: never;
|
|
@@ -14354,6 +14976,20 @@ export interface operations {
|
|
|
14354
14976
|
"application/json": components["schemas"]["AgentResponse"];
|
|
14355
14977
|
};
|
|
14356
14978
|
};
|
|
14979
|
+
/**
|
|
14980
|
+
* @description Guardrail widening queued for human approval. The change is not
|
|
14981
|
+
* applied until approved via POST /v1/approvals/{approval_id}/decide.
|
|
14982
|
+
* Resubmit this PATCH with `approval_id` set to the returned value
|
|
14983
|
+
* after approval to apply the widening.
|
|
14984
|
+
*/
|
|
14985
|
+
202: {
|
|
14986
|
+
headers: {
|
|
14987
|
+
[name: string]: unknown;
|
|
14988
|
+
};
|
|
14989
|
+
content: {
|
|
14990
|
+
"application/json": components["schemas"]["GuardrailWideningQueuedResponse"];
|
|
14991
|
+
};
|
|
14992
|
+
};
|
|
14357
14993
|
404: components["responses"]["NotFound"];
|
|
14358
14994
|
};
|
|
14359
14995
|
};
|
|
@@ -14610,7 +15246,350 @@ export interface operations {
|
|
|
14610
15246
|
403: components["responses"]["Forbidden"];
|
|
14611
15247
|
};
|
|
14612
15248
|
};
|
|
14613
|
-
simulateBundle: {
|
|
15249
|
+
simulateBundle: {
|
|
15250
|
+
parameters: {
|
|
15251
|
+
query?: never;
|
|
15252
|
+
header?: never;
|
|
15253
|
+
path: {
|
|
15254
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15255
|
+
};
|
|
15256
|
+
cookie?: never;
|
|
15257
|
+
};
|
|
15258
|
+
requestBody: {
|
|
15259
|
+
content: {
|
|
15260
|
+
"application/json": components["schemas"]["SimulateBundleRequest"];
|
|
15261
|
+
};
|
|
15262
|
+
};
|
|
15263
|
+
responses: {
|
|
15264
|
+
/** @description Bundle simulation results */
|
|
15265
|
+
200: {
|
|
15266
|
+
headers: {
|
|
15267
|
+
[name: string]: unknown;
|
|
15268
|
+
};
|
|
15269
|
+
content: {
|
|
15270
|
+
"application/json": components["schemas"]["BundleSimulationResponse"];
|
|
15271
|
+
};
|
|
15272
|
+
};
|
|
15273
|
+
400: components["responses"]["BadRequest"];
|
|
15274
|
+
402: components["responses"]["PaymentRequired"];
|
|
15275
|
+
};
|
|
15276
|
+
};
|
|
15277
|
+
listSigningKeys: {
|
|
15278
|
+
parameters: {
|
|
15279
|
+
query?: never;
|
|
15280
|
+
header?: never;
|
|
15281
|
+
path: {
|
|
15282
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15283
|
+
};
|
|
15284
|
+
cookie?: never;
|
|
15285
|
+
};
|
|
15286
|
+
requestBody?: never;
|
|
15287
|
+
responses: {
|
|
15288
|
+
/** @description Signing keys list */
|
|
15289
|
+
200: {
|
|
15290
|
+
headers: {
|
|
15291
|
+
[name: string]: unknown;
|
|
15292
|
+
};
|
|
15293
|
+
content: {
|
|
15294
|
+
"application/json": components["schemas"]["SigningKeyListResponse"];
|
|
15295
|
+
};
|
|
15296
|
+
};
|
|
15297
|
+
};
|
|
15298
|
+
};
|
|
15299
|
+
createSigningKey: {
|
|
15300
|
+
parameters: {
|
|
15301
|
+
query?: never;
|
|
15302
|
+
header?: never;
|
|
15303
|
+
path: {
|
|
15304
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15305
|
+
};
|
|
15306
|
+
cookie?: never;
|
|
15307
|
+
};
|
|
15308
|
+
requestBody: {
|
|
15309
|
+
content: {
|
|
15310
|
+
"application/json": components["schemas"]["CreateSigningKeyRequest"];
|
|
15311
|
+
};
|
|
15312
|
+
};
|
|
15313
|
+
responses: {
|
|
15314
|
+
/** @description Signing key created */
|
|
15315
|
+
201: {
|
|
15316
|
+
headers: {
|
|
15317
|
+
[name: string]: unknown;
|
|
15318
|
+
};
|
|
15319
|
+
content: {
|
|
15320
|
+
"application/json": components["schemas"]["SigningKeyResponse"];
|
|
15321
|
+
};
|
|
15322
|
+
};
|
|
15323
|
+
400: components["responses"]["BadRequest"];
|
|
15324
|
+
409: components["responses"]["Conflict"];
|
|
15325
|
+
};
|
|
15326
|
+
};
|
|
15327
|
+
rotateSigningKey: {
|
|
15328
|
+
parameters: {
|
|
15329
|
+
query?: never;
|
|
15330
|
+
header?: never;
|
|
15331
|
+
path: {
|
|
15332
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15333
|
+
chain: string;
|
|
15334
|
+
};
|
|
15335
|
+
cookie?: never;
|
|
15336
|
+
};
|
|
15337
|
+
requestBody?: never;
|
|
15338
|
+
responses: {
|
|
15339
|
+
/** @description Rotated signing key */
|
|
15340
|
+
200: {
|
|
15341
|
+
headers: {
|
|
15342
|
+
[name: string]: unknown;
|
|
15343
|
+
};
|
|
15344
|
+
content: {
|
|
15345
|
+
"application/json": components["schemas"]["SigningKeyResponse"];
|
|
15346
|
+
};
|
|
15347
|
+
};
|
|
15348
|
+
404: components["responses"]["NotFound"];
|
|
15349
|
+
};
|
|
15350
|
+
};
|
|
15351
|
+
deactivateSigningKey: {
|
|
15352
|
+
parameters: {
|
|
15353
|
+
query?: never;
|
|
15354
|
+
header?: never;
|
|
15355
|
+
path: {
|
|
15356
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15357
|
+
chain: string;
|
|
15358
|
+
};
|
|
15359
|
+
cookie?: never;
|
|
15360
|
+
};
|
|
15361
|
+
requestBody?: never;
|
|
15362
|
+
responses: {
|
|
15363
|
+
/** @description Key deactivated */
|
|
15364
|
+
204: {
|
|
15365
|
+
headers: {
|
|
15366
|
+
[name: string]: unknown;
|
|
15367
|
+
};
|
|
15368
|
+
content?: never;
|
|
15369
|
+
};
|
|
15370
|
+
404: components["responses"]["NotFound"];
|
|
15371
|
+
};
|
|
15372
|
+
};
|
|
15373
|
+
exportSigningKey: {
|
|
15374
|
+
parameters: {
|
|
15375
|
+
query?: never;
|
|
15376
|
+
header: {
|
|
15377
|
+
/** @description Account password for re-authentication */
|
|
15378
|
+
"X-Auth-Confirm": string;
|
|
15379
|
+
};
|
|
15380
|
+
path: {
|
|
15381
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15382
|
+
chain: string;
|
|
15383
|
+
};
|
|
15384
|
+
cookie?: never;
|
|
15385
|
+
};
|
|
15386
|
+
requestBody?: never;
|
|
15387
|
+
responses: {
|
|
15388
|
+
/** @description Signing key exported successfully */
|
|
15389
|
+
200: {
|
|
15390
|
+
headers: {
|
|
15391
|
+
[name: string]: unknown;
|
|
15392
|
+
};
|
|
15393
|
+
content: {
|
|
15394
|
+
"application/json": {
|
|
15395
|
+
chain: string;
|
|
15396
|
+
curve: string;
|
|
15397
|
+
public_key: string;
|
|
15398
|
+
address?: string;
|
|
15399
|
+
private_key: string;
|
|
15400
|
+
key_version: number;
|
|
15401
|
+
/** Format: uuid */
|
|
15402
|
+
agent_id: string;
|
|
15403
|
+
};
|
|
15404
|
+
};
|
|
15405
|
+
};
|
|
15406
|
+
403: components["responses"]["Forbidden"];
|
|
15407
|
+
404: components["responses"]["NotFound"];
|
|
15408
|
+
};
|
|
15409
|
+
};
|
|
15410
|
+
getSigningKeyBalance: {
|
|
15411
|
+
parameters: {
|
|
15412
|
+
query?: never;
|
|
15413
|
+
header?: never;
|
|
15414
|
+
path: {
|
|
15415
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15416
|
+
chain: string;
|
|
15417
|
+
};
|
|
15418
|
+
cookie?: never;
|
|
15419
|
+
};
|
|
15420
|
+
requestBody?: never;
|
|
15421
|
+
responses: {
|
|
15422
|
+
/** @description Signing key balance */
|
|
15423
|
+
200: {
|
|
15424
|
+
headers: {
|
|
15425
|
+
[name: string]: unknown;
|
|
15426
|
+
};
|
|
15427
|
+
content: {
|
|
15428
|
+
"application/json": components["schemas"]["SigningKeyBalanceResponse"];
|
|
15429
|
+
};
|
|
15430
|
+
};
|
|
15431
|
+
401: components["responses"]["Unauthorized"];
|
|
15432
|
+
403: components["responses"]["Forbidden"];
|
|
15433
|
+
404: components["responses"]["NotFound"];
|
|
15434
|
+
};
|
|
15435
|
+
};
|
|
15436
|
+
importSigningKey: {
|
|
15437
|
+
parameters: {
|
|
15438
|
+
query?: never;
|
|
15439
|
+
header?: never;
|
|
15440
|
+
path: {
|
|
15441
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15442
|
+
chain: string;
|
|
15443
|
+
};
|
|
15444
|
+
cookie?: never;
|
|
15445
|
+
};
|
|
15446
|
+
requestBody: {
|
|
15447
|
+
content: {
|
|
15448
|
+
"application/json": components["schemas"]["ImportKeyRequest"];
|
|
15449
|
+
};
|
|
15450
|
+
};
|
|
15451
|
+
responses: {
|
|
15452
|
+
/** @description Signing key imported */
|
|
15453
|
+
201: {
|
|
15454
|
+
headers: {
|
|
15455
|
+
[name: string]: unknown;
|
|
15456
|
+
};
|
|
15457
|
+
content: {
|
|
15458
|
+
"application/json": components["schemas"]["SigningKeyResponse"];
|
|
15459
|
+
};
|
|
15460
|
+
};
|
|
15461
|
+
401: components["responses"]["Unauthorized"];
|
|
15462
|
+
403: components["responses"]["Forbidden"];
|
|
15463
|
+
};
|
|
15464
|
+
};
|
|
15465
|
+
leaseBankrKey: {
|
|
15466
|
+
parameters: {
|
|
15467
|
+
query?: never;
|
|
15468
|
+
header?: never;
|
|
15469
|
+
path: {
|
|
15470
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15471
|
+
};
|
|
15472
|
+
cookie?: never;
|
|
15473
|
+
};
|
|
15474
|
+
requestBody?: {
|
|
15475
|
+
content: {
|
|
15476
|
+
"application/json": components["schemas"]["LeaseBankrKeyRequest"];
|
|
15477
|
+
};
|
|
15478
|
+
};
|
|
15479
|
+
responses: {
|
|
15480
|
+
/** @description Bankr key leased */
|
|
15481
|
+
201: {
|
|
15482
|
+
headers: {
|
|
15483
|
+
[name: string]: unknown;
|
|
15484
|
+
};
|
|
15485
|
+
content: {
|
|
15486
|
+
"application/json": components["schemas"]["LeaseBankrKeyResponse"];
|
|
15487
|
+
};
|
|
15488
|
+
};
|
|
15489
|
+
400: components["responses"]["BadRequest"];
|
|
15490
|
+
403: components["responses"]["Forbidden"];
|
|
15491
|
+
};
|
|
15492
|
+
};
|
|
15493
|
+
listBankrKeys: {
|
|
15494
|
+
parameters: {
|
|
15495
|
+
query?: never;
|
|
15496
|
+
header?: never;
|
|
15497
|
+
path: {
|
|
15498
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15499
|
+
};
|
|
15500
|
+
cookie?: never;
|
|
15501
|
+
};
|
|
15502
|
+
requestBody?: never;
|
|
15503
|
+
responses: {
|
|
15504
|
+
/** @description Active leases (no secret values) */
|
|
15505
|
+
200: {
|
|
15506
|
+
headers: {
|
|
15507
|
+
[name: string]: unknown;
|
|
15508
|
+
};
|
|
15509
|
+
content: {
|
|
15510
|
+
"application/json": components["schemas"]["BankrKeyLeaseListResponse"];
|
|
15511
|
+
};
|
|
15512
|
+
};
|
|
15513
|
+
404: components["responses"]["NotFound"];
|
|
15514
|
+
};
|
|
15515
|
+
};
|
|
15516
|
+
revokeBankrKey: {
|
|
15517
|
+
parameters: {
|
|
15518
|
+
query?: never;
|
|
15519
|
+
header?: never;
|
|
15520
|
+
path: {
|
|
15521
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15522
|
+
lease_id: string;
|
|
15523
|
+
};
|
|
15524
|
+
cookie?: never;
|
|
15525
|
+
};
|
|
15526
|
+
requestBody?: never;
|
|
15527
|
+
responses: {
|
|
15528
|
+
/** @description Lease revoked */
|
|
15529
|
+
204: {
|
|
15530
|
+
headers: {
|
|
15531
|
+
[name: string]: unknown;
|
|
15532
|
+
};
|
|
15533
|
+
content?: never;
|
|
15534
|
+
};
|
|
15535
|
+
404: components["responses"]["NotFound"];
|
|
15536
|
+
};
|
|
15537
|
+
};
|
|
15538
|
+
listAgentAccounts: {
|
|
15539
|
+
parameters: {
|
|
15540
|
+
query?: never;
|
|
15541
|
+
header?: never;
|
|
15542
|
+
path: {
|
|
15543
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15544
|
+
};
|
|
15545
|
+
cookie?: never;
|
|
15546
|
+
};
|
|
15547
|
+
requestBody?: never;
|
|
15548
|
+
responses: {
|
|
15549
|
+
/** @description Agent accounts */
|
|
15550
|
+
200: {
|
|
15551
|
+
headers: {
|
|
15552
|
+
[name: string]: unknown;
|
|
15553
|
+
};
|
|
15554
|
+
content: {
|
|
15555
|
+
"application/json": components["schemas"]["AgentAccountListResponse"];
|
|
15556
|
+
};
|
|
15557
|
+
};
|
|
15558
|
+
401: components["responses"]["Unauthorized"];
|
|
15559
|
+
403: components["responses"]["Forbidden"];
|
|
15560
|
+
404: components["responses"]["NotFound"];
|
|
15561
|
+
};
|
|
15562
|
+
};
|
|
15563
|
+
provisionAgentAccount: {
|
|
15564
|
+
parameters: {
|
|
15565
|
+
query?: never;
|
|
15566
|
+
header?: never;
|
|
15567
|
+
path: {
|
|
15568
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15569
|
+
};
|
|
15570
|
+
cookie?: never;
|
|
15571
|
+
};
|
|
15572
|
+
requestBody: {
|
|
15573
|
+
content: {
|
|
15574
|
+
"application/json": components["schemas"]["ProvisionAgentAccountRequest"];
|
|
15575
|
+
};
|
|
15576
|
+
};
|
|
15577
|
+
responses: {
|
|
15578
|
+
/** @description Account provisioned */
|
|
15579
|
+
201: {
|
|
15580
|
+
headers: {
|
|
15581
|
+
[name: string]: unknown;
|
|
15582
|
+
};
|
|
15583
|
+
content: {
|
|
15584
|
+
"application/json": components["schemas"]["AgentAccountResponse"];
|
|
15585
|
+
};
|
|
15586
|
+
};
|
|
15587
|
+
401: components["responses"]["Unauthorized"];
|
|
15588
|
+
403: components["responses"]["Forbidden"];
|
|
15589
|
+
404: components["responses"]["NotFound"];
|
|
15590
|
+
};
|
|
15591
|
+
};
|
|
15592
|
+
migrateAgentToSafe: {
|
|
14614
15593
|
parameters: {
|
|
14615
15594
|
query?: never;
|
|
14616
15595
|
header?: never;
|
|
@@ -14621,212 +15600,187 @@ export interface operations {
|
|
|
14621
15600
|
};
|
|
14622
15601
|
requestBody: {
|
|
14623
15602
|
content: {
|
|
14624
|
-
"application/json":
|
|
15603
|
+
"application/json": {
|
|
15604
|
+
chain: string;
|
|
15605
|
+
deprecate_eoa?: boolean;
|
|
15606
|
+
};
|
|
14625
15607
|
};
|
|
14626
15608
|
};
|
|
14627
15609
|
responses: {
|
|
14628
|
-
/** @description
|
|
15610
|
+
/** @description Migration plan */
|
|
14629
15611
|
200: {
|
|
14630
15612
|
headers: {
|
|
14631
15613
|
[name: string]: unknown;
|
|
14632
15614
|
};
|
|
14633
15615
|
content: {
|
|
14634
|
-
"application/json": components["schemas"]["
|
|
15616
|
+
"application/json": components["schemas"]["MigrationPlanResponse"];
|
|
14635
15617
|
};
|
|
14636
15618
|
};
|
|
14637
|
-
|
|
14638
|
-
|
|
15619
|
+
401: components["responses"]["Unauthorized"];
|
|
15620
|
+
403: components["responses"]["Forbidden"];
|
|
15621
|
+
404: components["responses"]["NotFound"];
|
|
14639
15622
|
};
|
|
14640
15623
|
};
|
|
14641
|
-
|
|
15624
|
+
deprecateAgentEoa: {
|
|
14642
15625
|
parameters: {
|
|
14643
15626
|
query?: never;
|
|
14644
15627
|
header?: never;
|
|
14645
15628
|
path: {
|
|
14646
15629
|
agent_id: components["parameters"]["AgentId"];
|
|
15630
|
+
chain: string;
|
|
14647
15631
|
};
|
|
14648
15632
|
cookie?: never;
|
|
14649
15633
|
};
|
|
14650
15634
|
requestBody?: never;
|
|
14651
15635
|
responses: {
|
|
14652
|
-
/** @description
|
|
15636
|
+
/** @description Updated account */
|
|
14653
15637
|
200: {
|
|
14654
15638
|
headers: {
|
|
14655
15639
|
[name: string]: unknown;
|
|
14656
15640
|
};
|
|
14657
15641
|
content: {
|
|
14658
|
-
"application/json": components["schemas"]["
|
|
15642
|
+
"application/json": components["schemas"]["AgentAccountResponse"];
|
|
14659
15643
|
};
|
|
14660
15644
|
};
|
|
15645
|
+
401: components["responses"]["Unauthorized"];
|
|
15646
|
+
403: components["responses"]["Forbidden"];
|
|
15647
|
+
404: components["responses"]["NotFound"];
|
|
14661
15648
|
};
|
|
14662
15649
|
};
|
|
14663
|
-
|
|
15650
|
+
deployAgentSafeAccount: {
|
|
14664
15651
|
parameters: {
|
|
14665
15652
|
query?: never;
|
|
14666
15653
|
header?: never;
|
|
14667
15654
|
path: {
|
|
14668
15655
|
agent_id: components["parameters"]["AgentId"];
|
|
15656
|
+
chain: string;
|
|
14669
15657
|
};
|
|
14670
15658
|
cookie?: never;
|
|
14671
15659
|
};
|
|
14672
|
-
requestBody
|
|
14673
|
-
content: {
|
|
14674
|
-
"application/json": components["schemas"]["CreateSigningKeyRequest"];
|
|
14675
|
-
};
|
|
14676
|
-
};
|
|
15660
|
+
requestBody?: never;
|
|
14677
15661
|
responses: {
|
|
14678
|
-
|
|
14679
|
-
|
|
15662
|
+
401: components["responses"]["Unauthorized"];
|
|
15663
|
+
403: components["responses"]["Forbidden"];
|
|
15664
|
+
404: components["responses"]["NotFound"];
|
|
15665
|
+
/** @description Not implemented (Phase 5.1) */
|
|
15666
|
+
501: {
|
|
14680
15667
|
headers: {
|
|
14681
15668
|
[name: string]: unknown;
|
|
14682
15669
|
};
|
|
14683
15670
|
content: {
|
|
14684
|
-
"application/json": components["schemas"]["
|
|
15671
|
+
"application/json": components["schemas"]["NotImplementedResponse"];
|
|
14685
15672
|
};
|
|
14686
15673
|
};
|
|
14687
|
-
400: components["responses"]["BadRequest"];
|
|
14688
|
-
409: components["responses"]["Conflict"];
|
|
14689
15674
|
};
|
|
14690
15675
|
};
|
|
14691
|
-
|
|
15676
|
+
syncOrgSafeAllowances: {
|
|
14692
15677
|
parameters: {
|
|
14693
15678
|
query?: never;
|
|
14694
15679
|
header?: never;
|
|
14695
|
-
path
|
|
14696
|
-
agent_id: components["parameters"]["AgentId"];
|
|
14697
|
-
chain: string;
|
|
14698
|
-
};
|
|
15680
|
+
path?: never;
|
|
14699
15681
|
cookie?: never;
|
|
14700
15682
|
};
|
|
14701
15683
|
requestBody?: never;
|
|
14702
15684
|
responses: {
|
|
14703
|
-
/** @description
|
|
15685
|
+
/** @description Reconciliation report */
|
|
14704
15686
|
200: {
|
|
14705
15687
|
headers: {
|
|
14706
15688
|
[name: string]: unknown;
|
|
14707
15689
|
};
|
|
14708
15690
|
content: {
|
|
14709
|
-
"application/json": components["schemas"]["
|
|
15691
|
+
"application/json": components["schemas"]["AllowanceReconcileReport"];
|
|
14710
15692
|
};
|
|
14711
15693
|
};
|
|
14712
|
-
|
|
15694
|
+
401: components["responses"]["Unauthorized"];
|
|
15695
|
+
403: components["responses"]["Forbidden"];
|
|
14713
15696
|
};
|
|
14714
15697
|
};
|
|
14715
|
-
|
|
15698
|
+
treasurySafeRolesSync: {
|
|
14716
15699
|
parameters: {
|
|
14717
15700
|
query?: never;
|
|
14718
15701
|
header?: never;
|
|
14719
15702
|
path: {
|
|
14720
|
-
|
|
14721
|
-
chain: string;
|
|
15703
|
+
treasury_id: string;
|
|
14722
15704
|
};
|
|
14723
15705
|
cookie?: never;
|
|
14724
15706
|
};
|
|
14725
15707
|
requestBody?: never;
|
|
14726
15708
|
responses: {
|
|
14727
|
-
|
|
14728
|
-
|
|
15709
|
+
401: components["responses"]["Unauthorized"];
|
|
15710
|
+
403: components["responses"]["Forbidden"];
|
|
15711
|
+
404: components["responses"]["NotFound"];
|
|
15712
|
+
/** @description Not implemented (Phase 5.9) */
|
|
15713
|
+
501: {
|
|
14729
15714
|
headers: {
|
|
14730
15715
|
[name: string]: unknown;
|
|
14731
15716
|
};
|
|
14732
|
-
content
|
|
15717
|
+
content: {
|
|
15718
|
+
"application/json": components["schemas"]["NotImplementedResponse"];
|
|
15719
|
+
};
|
|
14733
15720
|
};
|
|
14734
|
-
404: components["responses"]["NotFound"];
|
|
14735
15721
|
};
|
|
14736
15722
|
};
|
|
14737
|
-
|
|
15723
|
+
enableSafeCosign: {
|
|
14738
15724
|
parameters: {
|
|
14739
15725
|
query?: never;
|
|
14740
|
-
header
|
|
14741
|
-
/** @description Account password for re-authentication */
|
|
14742
|
-
"X-Auth-Confirm": string;
|
|
14743
|
-
};
|
|
15726
|
+
header?: never;
|
|
14744
15727
|
path: {
|
|
14745
15728
|
agent_id: components["parameters"]["AgentId"];
|
|
14746
|
-
chain: string;
|
|
14747
15729
|
};
|
|
14748
15730
|
cookie?: never;
|
|
14749
15731
|
};
|
|
14750
15732
|
requestBody?: never;
|
|
14751
15733
|
responses: {
|
|
14752
|
-
/** @description
|
|
14753
|
-
|
|
15734
|
+
/** @description Not implemented (Phase 5.2) */
|
|
15735
|
+
501: {
|
|
14754
15736
|
headers: {
|
|
14755
15737
|
[name: string]: unknown;
|
|
14756
15738
|
};
|
|
14757
|
-
content
|
|
14758
|
-
"application/json": {
|
|
14759
|
-
chain: string;
|
|
14760
|
-
curve: string;
|
|
14761
|
-
public_key: string;
|
|
14762
|
-
address?: string;
|
|
14763
|
-
private_key: string;
|
|
14764
|
-
key_version: number;
|
|
14765
|
-
/** Format: uuid */
|
|
14766
|
-
agent_id: string;
|
|
14767
|
-
};
|
|
14768
|
-
};
|
|
15739
|
+
content?: never;
|
|
14769
15740
|
};
|
|
14770
|
-
403: components["responses"]["Forbidden"];
|
|
14771
|
-
404: components["responses"]["NotFound"];
|
|
14772
15741
|
};
|
|
14773
15742
|
};
|
|
14774
|
-
|
|
15743
|
+
enrollSafePasskeyOwner: {
|
|
14775
15744
|
parameters: {
|
|
14776
15745
|
query?: never;
|
|
14777
15746
|
header?: never;
|
|
14778
15747
|
path: {
|
|
14779
15748
|
agent_id: components["parameters"]["AgentId"];
|
|
14780
|
-
chain: string;
|
|
14781
15749
|
};
|
|
14782
15750
|
cookie?: never;
|
|
14783
15751
|
};
|
|
14784
15752
|
requestBody?: never;
|
|
14785
15753
|
responses: {
|
|
14786
|
-
/** @description
|
|
14787
|
-
|
|
15754
|
+
/** @description Not implemented (Phase 5.5) */
|
|
15755
|
+
501: {
|
|
14788
15756
|
headers: {
|
|
14789
15757
|
[name: string]: unknown;
|
|
14790
15758
|
};
|
|
14791
|
-
content
|
|
14792
|
-
"application/json": components["schemas"]["SigningKeyBalanceResponse"];
|
|
14793
|
-
};
|
|
15759
|
+
content?: never;
|
|
14794
15760
|
};
|
|
14795
|
-
401: components["responses"]["Unauthorized"];
|
|
14796
|
-
403: components["responses"]["Forbidden"];
|
|
14797
|
-
404: components["responses"]["NotFound"];
|
|
14798
15761
|
};
|
|
14799
15762
|
};
|
|
14800
|
-
|
|
15763
|
+
configureSafeTimelock: {
|
|
14801
15764
|
parameters: {
|
|
14802
15765
|
query?: never;
|
|
14803
15766
|
header?: never;
|
|
14804
15767
|
path: {
|
|
14805
15768
|
agent_id: components["parameters"]["AgentId"];
|
|
14806
|
-
chain: string;
|
|
14807
15769
|
};
|
|
14808
15770
|
cookie?: never;
|
|
14809
15771
|
};
|
|
14810
|
-
requestBody
|
|
14811
|
-
content: {
|
|
14812
|
-
"application/json": components["schemas"]["ImportKeyRequest"];
|
|
14813
|
-
};
|
|
14814
|
-
};
|
|
15772
|
+
requestBody?: never;
|
|
14815
15773
|
responses: {
|
|
14816
|
-
/** @description
|
|
14817
|
-
|
|
15774
|
+
/** @description Not implemented (Phase 5.6) */
|
|
15775
|
+
501: {
|
|
14818
15776
|
headers: {
|
|
14819
15777
|
[name: string]: unknown;
|
|
14820
15778
|
};
|
|
14821
|
-
content
|
|
14822
|
-
"application/json": components["schemas"]["SigningKeyResponse"];
|
|
14823
|
-
};
|
|
15779
|
+
content?: never;
|
|
14824
15780
|
};
|
|
14825
|
-
401: components["responses"]["Unauthorized"];
|
|
14826
|
-
403: components["responses"]["Forbidden"];
|
|
14827
15781
|
};
|
|
14828
15782
|
};
|
|
14829
|
-
|
|
15783
|
+
enableSafeErc4337: {
|
|
14830
15784
|
parameters: {
|
|
14831
15785
|
query?: never;
|
|
14832
15786
|
header?: never;
|
|
@@ -14835,26 +15789,18 @@ export interface operations {
|
|
|
14835
15789
|
};
|
|
14836
15790
|
cookie?: never;
|
|
14837
15791
|
};
|
|
14838
|
-
requestBody?:
|
|
14839
|
-
content: {
|
|
14840
|
-
"application/json": components["schemas"]["LeaseBankrKeyRequest"];
|
|
14841
|
-
};
|
|
14842
|
-
};
|
|
15792
|
+
requestBody?: never;
|
|
14843
15793
|
responses: {
|
|
14844
|
-
/** @description
|
|
14845
|
-
|
|
15794
|
+
/** @description Not implemented (Phase 5.8) */
|
|
15795
|
+
501: {
|
|
14846
15796
|
headers: {
|
|
14847
15797
|
[name: string]: unknown;
|
|
14848
15798
|
};
|
|
14849
|
-
content
|
|
14850
|
-
"application/json": components["schemas"]["LeaseBankrKeyResponse"];
|
|
14851
|
-
};
|
|
15799
|
+
content?: never;
|
|
14852
15800
|
};
|
|
14853
|
-
400: components["responses"]["BadRequest"];
|
|
14854
|
-
403: components["responses"]["Forbidden"];
|
|
14855
15801
|
};
|
|
14856
15802
|
};
|
|
14857
|
-
|
|
15803
|
+
replayAgentGuardrails: {
|
|
14858
15804
|
parameters: {
|
|
14859
15805
|
query?: never;
|
|
14860
15806
|
header?: never;
|
|
@@ -14863,40 +15809,46 @@ export interface operations {
|
|
|
14863
15809
|
};
|
|
14864
15810
|
cookie?: never;
|
|
14865
15811
|
};
|
|
14866
|
-
requestBody?:
|
|
15812
|
+
requestBody?: {
|
|
15813
|
+
content: {
|
|
15814
|
+
"application/json": components["schemas"]["GuardrailReplayRequest"];
|
|
15815
|
+
};
|
|
15816
|
+
};
|
|
14867
15817
|
responses: {
|
|
14868
|
-
/** @description
|
|
15818
|
+
/** @description Replay report */
|
|
14869
15819
|
200: {
|
|
14870
15820
|
headers: {
|
|
14871
15821
|
[name: string]: unknown;
|
|
14872
15822
|
};
|
|
14873
15823
|
content: {
|
|
14874
|
-
"application/json": components["schemas"]["
|
|
15824
|
+
"application/json": components["schemas"]["GuardrailReplayResponse"];
|
|
14875
15825
|
};
|
|
14876
15826
|
};
|
|
15827
|
+
401: components["responses"]["Unauthorized"];
|
|
15828
|
+
403: components["responses"]["Forbidden"];
|
|
14877
15829
|
404: components["responses"]["NotFound"];
|
|
14878
15830
|
};
|
|
14879
15831
|
};
|
|
14880
|
-
|
|
15832
|
+
getSafeModuleRegistry: {
|
|
14881
15833
|
parameters: {
|
|
14882
15834
|
query?: never;
|
|
14883
15835
|
header?: never;
|
|
14884
15836
|
path: {
|
|
14885
|
-
|
|
14886
|
-
lease_id: string;
|
|
15837
|
+
chain: string;
|
|
14887
15838
|
};
|
|
14888
15839
|
cookie?: never;
|
|
14889
15840
|
};
|
|
14890
15841
|
requestBody?: never;
|
|
14891
15842
|
responses: {
|
|
14892
|
-
/** @description
|
|
14893
|
-
|
|
15843
|
+
/** @description Module registry */
|
|
15844
|
+
200: {
|
|
14894
15845
|
headers: {
|
|
14895
15846
|
[name: string]: unknown;
|
|
14896
15847
|
};
|
|
14897
|
-
content
|
|
15848
|
+
content: {
|
|
15849
|
+
"application/json": components["schemas"]["SafeModuleRegistryResponse"];
|
|
15850
|
+
};
|
|
14898
15851
|
};
|
|
14899
|
-
404: components["responses"]["NotFound"];
|
|
14900
15852
|
};
|
|
14901
15853
|
};
|
|
14902
15854
|
listDelegations: {
|
|
@@ -15210,6 +16162,19 @@ export interface operations {
|
|
|
15210
16162
|
"application/json": components["schemas"]["BindingResponse"];
|
|
15211
16163
|
};
|
|
15212
16164
|
};
|
|
16165
|
+
/**
|
|
16166
|
+
* @description Binding guardrail widening queued for human approval. Resubmit
|
|
16167
|
+
* PATCH with `approval_id` after approval via
|
|
16168
|
+
* POST /v1/approvals/{approval_id}/decide.
|
|
16169
|
+
*/
|
|
16170
|
+
202: {
|
|
16171
|
+
headers: {
|
|
16172
|
+
[name: string]: unknown;
|
|
16173
|
+
};
|
|
16174
|
+
content: {
|
|
16175
|
+
"application/json": components["schemas"]["GuardrailWideningQueuedResponse"];
|
|
16176
|
+
};
|
|
16177
|
+
};
|
|
15213
16178
|
400: components["responses"]["BadRequest"];
|
|
15214
16179
|
404: components["responses"]["NotFound"];
|
|
15215
16180
|
};
|
|
@@ -15701,6 +16666,40 @@ export interface operations {
|
|
|
15701
16666
|
};
|
|
15702
16667
|
};
|
|
15703
16668
|
};
|
|
16669
|
+
getOrgStatus: {
|
|
16670
|
+
parameters: {
|
|
16671
|
+
query?: never;
|
|
16672
|
+
header?: never;
|
|
16673
|
+
path?: never;
|
|
16674
|
+
cookie?: never;
|
|
16675
|
+
};
|
|
16676
|
+
requestBody?: never;
|
|
16677
|
+
responses: {
|
|
16678
|
+
/** @description Current org status */
|
|
16679
|
+
200: {
|
|
16680
|
+
headers: {
|
|
16681
|
+
[name: string]: unknown;
|
|
16682
|
+
};
|
|
16683
|
+
content: {
|
|
16684
|
+
"application/json": {
|
|
16685
|
+
/** Format: uuid */
|
|
16686
|
+
org_id: string;
|
|
16687
|
+
/** @enum {string} */
|
|
16688
|
+
status: "active" | "frozen";
|
|
16689
|
+
/** Format: date-time */
|
|
16690
|
+
frozen_at?: string | null;
|
|
16691
|
+
};
|
|
16692
|
+
};
|
|
16693
|
+
};
|
|
16694
|
+
/** @description Forbidden */
|
|
16695
|
+
403: {
|
|
16696
|
+
headers: {
|
|
16697
|
+
[name: string]: unknown;
|
|
16698
|
+
};
|
|
16699
|
+
content?: never;
|
|
16700
|
+
};
|
|
16701
|
+
};
|
|
16702
|
+
};
|
|
15704
16703
|
freezeOrg: {
|
|
15705
16704
|
parameters: {
|
|
15706
16705
|
query?: never;
|
|
@@ -17151,6 +18150,27 @@ export interface operations {
|
|
|
17151
18150
|
403: components["responses"]["Forbidden"];
|
|
17152
18151
|
};
|
|
17153
18152
|
};
|
|
18153
|
+
getTreasuryAuthPolicy: {
|
|
18154
|
+
parameters: {
|
|
18155
|
+
query?: never;
|
|
18156
|
+
header?: never;
|
|
18157
|
+
path?: never;
|
|
18158
|
+
cookie?: never;
|
|
18159
|
+
};
|
|
18160
|
+
requestBody?: never;
|
|
18161
|
+
responses: {
|
|
18162
|
+
/** @description Effective HFA policy with passkey registration count */
|
|
18163
|
+
200: {
|
|
18164
|
+
headers: {
|
|
18165
|
+
[name: string]: unknown;
|
|
18166
|
+
};
|
|
18167
|
+
content: {
|
|
18168
|
+
"application/json": components["schemas"]["TreasuryAuthPolicyResponse"];
|
|
18169
|
+
};
|
|
18170
|
+
};
|
|
18171
|
+
403: components["responses"]["Forbidden"];
|
|
18172
|
+
};
|
|
18173
|
+
};
|
|
17154
18174
|
getEffectiveSpendPolicy: {
|
|
17155
18175
|
parameters: {
|
|
17156
18176
|
query?: never;
|
|
@@ -18349,10 +19369,7 @@ export interface operations {
|
|
|
18349
19369
|
};
|
|
18350
19370
|
requestBody: {
|
|
18351
19371
|
content: {
|
|
18352
|
-
"application/json":
|
|
18353
|
-
/** @description 64-char hex SHA-256 of canonical send params */
|
|
18354
|
-
tx_digest: string;
|
|
18355
|
-
};
|
|
19372
|
+
"application/json": components["schemas"]["PasskeyTxAssertBeginRequest"];
|
|
18356
19373
|
};
|
|
18357
19374
|
};
|
|
18358
19375
|
responses: {
|
|
@@ -18361,15 +19378,25 @@ export interface operations {
|
|
|
18361
19378
|
headers: {
|
|
18362
19379
|
[name: string]: unknown;
|
|
18363
19380
|
};
|
|
18364
|
-
content
|
|
19381
|
+
content: {
|
|
19382
|
+
"application/json": components["schemas"]["PasskeyAssertBeginResponse"];
|
|
19383
|
+
};
|
|
18365
19384
|
};
|
|
18366
|
-
/** @description Missing or invalid tx_digest */
|
|
19385
|
+
/** @description Missing or invalid tx_digest, or invalid action */
|
|
18367
19386
|
400: {
|
|
18368
19387
|
headers: {
|
|
18369
19388
|
[name: string]: unknown;
|
|
18370
19389
|
};
|
|
18371
19390
|
content?: never;
|
|
18372
19391
|
};
|
|
19392
|
+
403: components["responses"]["Forbidden"];
|
|
19393
|
+
/** @description No passkeys registered for the user */
|
|
19394
|
+
404: {
|
|
19395
|
+
headers: {
|
|
19396
|
+
[name: string]: unknown;
|
|
19397
|
+
};
|
|
19398
|
+
content?: never;
|
|
19399
|
+
};
|
|
18373
19400
|
};
|
|
18374
19401
|
};
|
|
18375
19402
|
passkeyTxAssertComplete: {
|
|
@@ -21067,6 +22094,53 @@ export interface operations {
|
|
|
21067
22094
|
403: components["responses"]["Forbidden"];
|
|
21068
22095
|
};
|
|
21069
22096
|
};
|
|
22097
|
+
getGuardrailShadowReport: {
|
|
22098
|
+
parameters: {
|
|
22099
|
+
query?: {
|
|
22100
|
+
since?: string;
|
|
22101
|
+
until?: string;
|
|
22102
|
+
};
|
|
22103
|
+
header?: never;
|
|
22104
|
+
path?: never;
|
|
22105
|
+
cookie?: never;
|
|
22106
|
+
};
|
|
22107
|
+
requestBody?: never;
|
|
22108
|
+
responses: {
|
|
22109
|
+
/** @description Guardrail shadow report */
|
|
22110
|
+
200: {
|
|
22111
|
+
headers: {
|
|
22112
|
+
[name: string]: unknown;
|
|
22113
|
+
};
|
|
22114
|
+
content: {
|
|
22115
|
+
"application/json": components["schemas"]["GuardrailShadowReportResponse"];
|
|
22116
|
+
};
|
|
22117
|
+
};
|
|
22118
|
+
401: components["responses"]["Unauthorized"];
|
|
22119
|
+
403: components["responses"]["Forbidden"];
|
|
22120
|
+
};
|
|
22121
|
+
};
|
|
22122
|
+
listGuardrailRevisions: {
|
|
22123
|
+
parameters: {
|
|
22124
|
+
query?: never;
|
|
22125
|
+
header?: never;
|
|
22126
|
+
path?: never;
|
|
22127
|
+
cookie?: never;
|
|
22128
|
+
};
|
|
22129
|
+
requestBody?: never;
|
|
22130
|
+
responses: {
|
|
22131
|
+
/** @description Guardrail revisions */
|
|
22132
|
+
200: {
|
|
22133
|
+
headers: {
|
|
22134
|
+
[name: string]: unknown;
|
|
22135
|
+
};
|
|
22136
|
+
content: {
|
|
22137
|
+
"application/json": components["schemas"]["GuardrailRevisionListResponse"];
|
|
22138
|
+
};
|
|
22139
|
+
};
|
|
22140
|
+
401: components["responses"]["Unauthorized"];
|
|
22141
|
+
403: components["responses"]["Forbidden"];
|
|
22142
|
+
};
|
|
22143
|
+
};
|
|
21070
22144
|
listContractAbis: {
|
|
21071
22145
|
parameters: {
|
|
21072
22146
|
query?: {
|