@1claw/sdk 0.55.0 → 0.57.0
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 +65 -1
- package/dist/generated/api-types.d.ts +1904 -280
- 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/platform.d.ts +83 -0
- package/dist/resources/platform.d.ts.map +1 -1
- package/dist/resources/platform.js +24 -0
- package/dist/resources/platform.js.map +1 -1
- package/dist/resources/treasury-wallets.d.ts +8 -0
- package/dist/resources/treasury-wallets.d.ts.map +1 -1
- package/dist/resources/treasury-wallets.js +8 -0
- package/dist/resources/treasury-wallets.js.map +1 -1
- package/dist/types.d.ts +9 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -535,10 +535,36 @@ export interface paths {
|
|
|
535
535
|
* @description Disabling `require_passkey_for_vaults` requires `X-Auth-Confirm`
|
|
536
536
|
* (purpose `security.vault_passkey.disable`) with a passkey or TOTP
|
|
537
537
|
* when either is enrolled.
|
|
538
|
+
*
|
|
539
|
+
* Disabling `require_passkey_for_mfa` requires `X-Auth-Confirm`
|
|
540
|
+
* (purpose `security.mfa_passkey.disable`) with a passkey or TOTP
|
|
541
|
+
* when either is enrolled.
|
|
538
542
|
*/
|
|
539
543
|
patch: operations["updateSecuritySettings"];
|
|
540
544
|
trace?: never;
|
|
541
545
|
};
|
|
546
|
+
"/v1/auth/human-factor-auth": {
|
|
547
|
+
parameters: {
|
|
548
|
+
query?: never;
|
|
549
|
+
header?: never;
|
|
550
|
+
path?: never;
|
|
551
|
+
cookie?: never;
|
|
552
|
+
};
|
|
553
|
+
/**
|
|
554
|
+
* Get effective human factor auth policy
|
|
555
|
+
* @description Returns the resolved HFA policy for treasury wallet send, swap, and export.
|
|
556
|
+
* Precedence: user override → spend policy → platform defaults.
|
|
557
|
+
*/
|
|
558
|
+
get: operations["getHumanFactorAuth"];
|
|
559
|
+
/** Set user human factor auth policy */
|
|
560
|
+
put: operations["upsertHumanFactorAuth"];
|
|
561
|
+
post?: never;
|
|
562
|
+
delete?: never;
|
|
563
|
+
options?: never;
|
|
564
|
+
head?: never;
|
|
565
|
+
patch?: never;
|
|
566
|
+
trace?: never;
|
|
567
|
+
};
|
|
542
568
|
"/v1/auth/mfa/status": {
|
|
543
569
|
parameters: {
|
|
544
570
|
query?: never;
|
|
@@ -607,6 +633,40 @@ export interface paths {
|
|
|
607
633
|
patch?: never;
|
|
608
634
|
trace?: never;
|
|
609
635
|
};
|
|
636
|
+
"/v1/auth/mfa/passkey/begin": {
|
|
637
|
+
parameters: {
|
|
638
|
+
query?: never;
|
|
639
|
+
header?: never;
|
|
640
|
+
path?: never;
|
|
641
|
+
cookie?: never;
|
|
642
|
+
};
|
|
643
|
+
get?: never;
|
|
644
|
+
put?: never;
|
|
645
|
+
/** Begin passkey MFA verification during login */
|
|
646
|
+
post: operations["mfaPasskeyBegin"];
|
|
647
|
+
delete?: never;
|
|
648
|
+
options?: never;
|
|
649
|
+
head?: never;
|
|
650
|
+
patch?: never;
|
|
651
|
+
trace?: never;
|
|
652
|
+
};
|
|
653
|
+
"/v1/auth/mfa/passkey/complete": {
|
|
654
|
+
parameters: {
|
|
655
|
+
query?: never;
|
|
656
|
+
header?: never;
|
|
657
|
+
path?: never;
|
|
658
|
+
cookie?: never;
|
|
659
|
+
};
|
|
660
|
+
get?: never;
|
|
661
|
+
put?: never;
|
|
662
|
+
/** Complete passkey MFA verification during login */
|
|
663
|
+
post: operations["mfaPasskeyComplete"];
|
|
664
|
+
delete?: never;
|
|
665
|
+
options?: never;
|
|
666
|
+
head?: never;
|
|
667
|
+
patch?: never;
|
|
668
|
+
trace?: never;
|
|
669
|
+
};
|
|
610
670
|
"/v1/auth/mfa": {
|
|
611
671
|
parameters: {
|
|
612
672
|
query?: never;
|
|
@@ -1674,6 +1734,229 @@ export interface paths {
|
|
|
1674
1734
|
patch?: never;
|
|
1675
1735
|
trace?: never;
|
|
1676
1736
|
};
|
|
1737
|
+
"/v1/agents/{agent_id}/accounts": {
|
|
1738
|
+
parameters: {
|
|
1739
|
+
query?: never;
|
|
1740
|
+
header?: never;
|
|
1741
|
+
path?: never;
|
|
1742
|
+
cookie?: never;
|
|
1743
|
+
};
|
|
1744
|
+
/** List agent on-chain accounts */
|
|
1745
|
+
get: operations["listAgentAccounts"];
|
|
1746
|
+
put?: never;
|
|
1747
|
+
/**
|
|
1748
|
+
* Provision an agent account record
|
|
1749
|
+
* @description Human-only. Creates a DB record for an EOA or Safe account (Safe onchain sync is stubbed).
|
|
1750
|
+
*/
|
|
1751
|
+
post: operations["provisionAgentAccount"];
|
|
1752
|
+
delete?: never;
|
|
1753
|
+
options?: never;
|
|
1754
|
+
head?: never;
|
|
1755
|
+
patch?: never;
|
|
1756
|
+
trace?: never;
|
|
1757
|
+
};
|
|
1758
|
+
"/v1/agents/{agent_id}/accounts/migrate": {
|
|
1759
|
+
parameters: {
|
|
1760
|
+
query?: never;
|
|
1761
|
+
header?: never;
|
|
1762
|
+
path?: never;
|
|
1763
|
+
cookie?: never;
|
|
1764
|
+
};
|
|
1765
|
+
get?: never;
|
|
1766
|
+
put?: never;
|
|
1767
|
+
/**
|
|
1768
|
+
* EOA to Safe migration wizard
|
|
1769
|
+
* @description Human-only. Provisions counterfactual Safe and returns sweep plan. Onchain module broadcast stubbed pre-audit.
|
|
1770
|
+
*/
|
|
1771
|
+
post: operations["migrateAgentToSafe"];
|
|
1772
|
+
delete?: never;
|
|
1773
|
+
options?: never;
|
|
1774
|
+
head?: never;
|
|
1775
|
+
patch?: never;
|
|
1776
|
+
trace?: never;
|
|
1777
|
+
};
|
|
1778
|
+
"/v1/agents/{agent_id}/accounts/{chain}/deprecate-eoa": {
|
|
1779
|
+
parameters: {
|
|
1780
|
+
query?: never;
|
|
1781
|
+
header?: never;
|
|
1782
|
+
path?: never;
|
|
1783
|
+
cookie?: never;
|
|
1784
|
+
};
|
|
1785
|
+
get?: never;
|
|
1786
|
+
put?: never;
|
|
1787
|
+
/** Mark agent EOA account deprecated */
|
|
1788
|
+
post: operations["deprecateAgentEoa"];
|
|
1789
|
+
delete?: never;
|
|
1790
|
+
options?: never;
|
|
1791
|
+
head?: never;
|
|
1792
|
+
patch?: never;
|
|
1793
|
+
trace?: never;
|
|
1794
|
+
};
|
|
1795
|
+
"/v1/agents/{agent_id}/accounts/{chain}/deploy": {
|
|
1796
|
+
parameters: {
|
|
1797
|
+
query?: never;
|
|
1798
|
+
header?: never;
|
|
1799
|
+
path?: never;
|
|
1800
|
+
cookie?: never;
|
|
1801
|
+
};
|
|
1802
|
+
get?: never;
|
|
1803
|
+
put?: never;
|
|
1804
|
+
/**
|
|
1805
|
+
* Lazy-deploy counterfactual Safe (stub)
|
|
1806
|
+
* @description Human-only. Broadcasts Safe deployment when Guard audit completes. Returns 501 pre-audit.
|
|
1807
|
+
*/
|
|
1808
|
+
post: operations["deployAgentSafeAccount"];
|
|
1809
|
+
delete?: never;
|
|
1810
|
+
options?: never;
|
|
1811
|
+
head?: never;
|
|
1812
|
+
patch?: never;
|
|
1813
|
+
trace?: never;
|
|
1814
|
+
};
|
|
1815
|
+
"/v1/org/safe/sync-allowances": {
|
|
1816
|
+
parameters: {
|
|
1817
|
+
query?: never;
|
|
1818
|
+
header?: never;
|
|
1819
|
+
path?: never;
|
|
1820
|
+
cookie?: never;
|
|
1821
|
+
};
|
|
1822
|
+
get?: never;
|
|
1823
|
+
put?: never;
|
|
1824
|
+
/**
|
|
1825
|
+
* Reconcile Safe allowance targets (org admin)
|
|
1826
|
+
* @description Compiles tx_daily_limit targets for Safe agents. Onchain read/write stubbed pre-audit.
|
|
1827
|
+
*/
|
|
1828
|
+
post: operations["syncOrgSafeAllowances"];
|
|
1829
|
+
delete?: never;
|
|
1830
|
+
options?: never;
|
|
1831
|
+
head?: never;
|
|
1832
|
+
patch?: never;
|
|
1833
|
+
trace?: never;
|
|
1834
|
+
};
|
|
1835
|
+
"/v1/treasury/{treasury_id}/safe/roles-sync": {
|
|
1836
|
+
parameters: {
|
|
1837
|
+
query?: never;
|
|
1838
|
+
header?: never;
|
|
1839
|
+
path?: never;
|
|
1840
|
+
cookie?: never;
|
|
1841
|
+
};
|
|
1842
|
+
get?: never;
|
|
1843
|
+
put?: never;
|
|
1844
|
+
/**
|
|
1845
|
+
* Sync treasury Safe Roles module (stub)
|
|
1846
|
+
* @description Human-only. Reconciles on-chain Roles config with agent guardrails. Returns 501 pre-audit.
|
|
1847
|
+
*/
|
|
1848
|
+
post: operations["treasurySafeRolesSync"];
|
|
1849
|
+
delete?: never;
|
|
1850
|
+
options?: never;
|
|
1851
|
+
head?: never;
|
|
1852
|
+
patch?: never;
|
|
1853
|
+
trace?: never;
|
|
1854
|
+
};
|
|
1855
|
+
"/v1/agents/{agent_id}/safe/cosign": {
|
|
1856
|
+
parameters: {
|
|
1857
|
+
query?: never;
|
|
1858
|
+
header?: never;
|
|
1859
|
+
path?: never;
|
|
1860
|
+
cookie?: never;
|
|
1861
|
+
};
|
|
1862
|
+
get?: never;
|
|
1863
|
+
put?: never;
|
|
1864
|
+
/** Enable Vault co-signer (stub) */
|
|
1865
|
+
post: operations["enableSafeCosign"];
|
|
1866
|
+
delete?: never;
|
|
1867
|
+
options?: never;
|
|
1868
|
+
head?: never;
|
|
1869
|
+
patch?: never;
|
|
1870
|
+
trace?: never;
|
|
1871
|
+
};
|
|
1872
|
+
"/v1/agents/{agent_id}/safe/passkey-enroll": {
|
|
1873
|
+
parameters: {
|
|
1874
|
+
query?: never;
|
|
1875
|
+
header?: never;
|
|
1876
|
+
path?: never;
|
|
1877
|
+
cookie?: never;
|
|
1878
|
+
};
|
|
1879
|
+
get?: never;
|
|
1880
|
+
put?: never;
|
|
1881
|
+
/** Enroll passkey Safe owner (stub) */
|
|
1882
|
+
post: operations["enrollSafePasskeyOwner"];
|
|
1883
|
+
delete?: never;
|
|
1884
|
+
options?: never;
|
|
1885
|
+
head?: never;
|
|
1886
|
+
patch?: never;
|
|
1887
|
+
trace?: never;
|
|
1888
|
+
};
|
|
1889
|
+
"/v1/agents/{agent_id}/safe/timelock": {
|
|
1890
|
+
parameters: {
|
|
1891
|
+
query?: never;
|
|
1892
|
+
header?: never;
|
|
1893
|
+
path?: never;
|
|
1894
|
+
cookie?: never;
|
|
1895
|
+
};
|
|
1896
|
+
get?: never;
|
|
1897
|
+
put?: never;
|
|
1898
|
+
/** Configure Zodiac timelock (stub) */
|
|
1899
|
+
post: operations["configureSafeTimelock"];
|
|
1900
|
+
delete?: never;
|
|
1901
|
+
options?: never;
|
|
1902
|
+
head?: never;
|
|
1903
|
+
patch?: never;
|
|
1904
|
+
trace?: never;
|
|
1905
|
+
};
|
|
1906
|
+
"/v1/agents/{agent_id}/safe/erc4337": {
|
|
1907
|
+
parameters: {
|
|
1908
|
+
query?: never;
|
|
1909
|
+
header?: never;
|
|
1910
|
+
path?: never;
|
|
1911
|
+
cookie?: never;
|
|
1912
|
+
};
|
|
1913
|
+
get?: never;
|
|
1914
|
+
put?: never;
|
|
1915
|
+
/** Enable ERC-4337 Safe lane (stub) */
|
|
1916
|
+
post: operations["enableSafeErc4337"];
|
|
1917
|
+
delete?: never;
|
|
1918
|
+
options?: never;
|
|
1919
|
+
head?: never;
|
|
1920
|
+
patch?: never;
|
|
1921
|
+
trace?: never;
|
|
1922
|
+
};
|
|
1923
|
+
"/v1/agents/{agent_id}/guardrails/replay": {
|
|
1924
|
+
parameters: {
|
|
1925
|
+
query?: never;
|
|
1926
|
+
header?: never;
|
|
1927
|
+
path?: never;
|
|
1928
|
+
cookie?: never;
|
|
1929
|
+
};
|
|
1930
|
+
get?: never;
|
|
1931
|
+
put?: never;
|
|
1932
|
+
/**
|
|
1933
|
+
* Dry-run guardrail changes against recent transactions
|
|
1934
|
+
* @description Human-only. Compares draft guardrails against recent agent transactions.
|
|
1935
|
+
*/
|
|
1936
|
+
post: operations["replayAgentGuardrails"];
|
|
1937
|
+
delete?: never;
|
|
1938
|
+
options?: never;
|
|
1939
|
+
head?: never;
|
|
1940
|
+
patch?: never;
|
|
1941
|
+
trace?: never;
|
|
1942
|
+
};
|
|
1943
|
+
"/v1/safe/module-registry/{chain}": {
|
|
1944
|
+
parameters: {
|
|
1945
|
+
query?: never;
|
|
1946
|
+
header?: never;
|
|
1947
|
+
path?: never;
|
|
1948
|
+
cookie?: never;
|
|
1949
|
+
};
|
|
1950
|
+
/** List Safe module registry entries for a chain */
|
|
1951
|
+
get: operations["getSafeModuleRegistry"];
|
|
1952
|
+
put?: never;
|
|
1953
|
+
post?: never;
|
|
1954
|
+
delete?: never;
|
|
1955
|
+
options?: never;
|
|
1956
|
+
head?: never;
|
|
1957
|
+
patch?: never;
|
|
1958
|
+
trace?: never;
|
|
1959
|
+
};
|
|
1677
1960
|
"/v1/agents/{agent_id}/delegations": {
|
|
1678
1961
|
parameters: {
|
|
1679
1962
|
query?: never;
|
|
@@ -2077,6 +2360,26 @@ export interface paths {
|
|
|
2077
2360
|
patch?: never;
|
|
2078
2361
|
trace?: never;
|
|
2079
2362
|
};
|
|
2363
|
+
"/v1/org/status": {
|
|
2364
|
+
parameters: {
|
|
2365
|
+
query?: never;
|
|
2366
|
+
header?: never;
|
|
2367
|
+
path?: never;
|
|
2368
|
+
cookie?: never;
|
|
2369
|
+
};
|
|
2370
|
+
/**
|
|
2371
|
+
* Organization operational status
|
|
2372
|
+
* @description Returns whether the org is emergency-frozen (blocks agent tx/execution).
|
|
2373
|
+
*/
|
|
2374
|
+
get: operations["getOrgStatus"];
|
|
2375
|
+
put?: never;
|
|
2376
|
+
post?: never;
|
|
2377
|
+
delete?: never;
|
|
2378
|
+
options?: never;
|
|
2379
|
+
head?: never;
|
|
2380
|
+
patch?: never;
|
|
2381
|
+
trace?: never;
|
|
2382
|
+
};
|
|
2080
2383
|
"/v1/org/freeze": {
|
|
2081
2384
|
parameters: {
|
|
2082
2385
|
query?: never;
|
|
@@ -2984,7 +3287,7 @@ export interface paths {
|
|
|
2984
3287
|
patch?: never;
|
|
2985
3288
|
trace?: never;
|
|
2986
3289
|
};
|
|
2987
|
-
"/v1/treasury/wallets/
|
|
3290
|
+
"/v1/treasury/wallets/auth-policy": {
|
|
2988
3291
|
parameters: {
|
|
2989
3292
|
query?: never;
|
|
2990
3293
|
header?: never;
|
|
@@ -2992,12 +3295,14 @@ export interface paths {
|
|
|
2992
3295
|
cookie?: never;
|
|
2993
3296
|
};
|
|
2994
3297
|
/**
|
|
2995
|
-
* Get effective
|
|
2996
|
-
* @description Returns the
|
|
2997
|
-
* wallet
|
|
2998
|
-
*
|
|
3298
|
+
* Get effective human factor auth policy for embedded clients
|
|
3299
|
+
* @description Returns the resolved human factor auth (HFA) policy governing treasury
|
|
3300
|
+
* wallet send, swap, and export, plus the number of passkeys registered
|
|
3301
|
+
* for the calling user. Intended for embedded wallet clients; equivalent
|
|
3302
|
+
* to GET /v1/auth/human-factor-auth with an additional passkey count.
|
|
3303
|
+
* Precedence: user override → platform app → spend policy → defaults.
|
|
2999
3304
|
*/
|
|
3000
|
-
get: operations["
|
|
3305
|
+
get: operations["getTreasuryAuthPolicy"];
|
|
3001
3306
|
put?: never;
|
|
3002
3307
|
post?: never;
|
|
3003
3308
|
delete?: never;
|
|
@@ -3006,21 +3311,64 @@ export interface paths {
|
|
|
3006
3311
|
patch?: never;
|
|
3007
3312
|
trace?: never;
|
|
3008
3313
|
};
|
|
3009
|
-
"/v1/
|
|
3314
|
+
"/v1/treasury/wallets/spend-policy": {
|
|
3010
3315
|
parameters: {
|
|
3011
3316
|
query?: never;
|
|
3012
3317
|
header?: never;
|
|
3013
3318
|
path?: never;
|
|
3014
3319
|
cookie?: never;
|
|
3015
3320
|
};
|
|
3016
|
-
/**
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3321
|
+
/**
|
|
3322
|
+
* Get effective spend policy for current user
|
|
3323
|
+
* @description Returns the effective spend policy governing the authenticated user's
|
|
3324
|
+
* wallet transactions. Resolves from per-user override (if set) or the
|
|
3325
|
+
* app-wide default. Returns null if no policy is configured.
|
|
3326
|
+
*/
|
|
3327
|
+
get: operations["getEffectiveSpendPolicy"];
|
|
3328
|
+
put?: never;
|
|
3329
|
+
post?: never;
|
|
3330
|
+
delete?: never;
|
|
3331
|
+
options?: never;
|
|
3332
|
+
head?: never;
|
|
3333
|
+
patch?: never;
|
|
3334
|
+
trace?: never;
|
|
3335
|
+
};
|
|
3336
|
+
"/v1/treasury/wallets/inference-budget": {
|
|
3337
|
+
parameters: {
|
|
3338
|
+
query?: never;
|
|
3339
|
+
header?: never;
|
|
3340
|
+
path?: never;
|
|
3341
|
+
cookie?: never;
|
|
3342
|
+
};
|
|
3343
|
+
/**
|
|
3344
|
+
* Get inference budget for current user
|
|
3345
|
+
* @description Returns the user's remaining LLM inference allowance when connected via a platform app.
|
|
3346
|
+
* Includes allowance, spent, remaining USD, per-request cap, and billing period end.
|
|
3347
|
+
*/
|
|
3348
|
+
get: operations["getUserInferenceBudget"];
|
|
3349
|
+
put?: never;
|
|
3350
|
+
post?: never;
|
|
3351
|
+
delete?: never;
|
|
3352
|
+
options?: never;
|
|
3353
|
+
head?: never;
|
|
3354
|
+
patch?: never;
|
|
3355
|
+
trace?: never;
|
|
3356
|
+
};
|
|
3357
|
+
"/v1/webhooks": {
|
|
3358
|
+
parameters: {
|
|
3359
|
+
query?: never;
|
|
3360
|
+
header?: never;
|
|
3361
|
+
path?: never;
|
|
3362
|
+
cookie?: never;
|
|
3363
|
+
};
|
|
3364
|
+
/** List webhooks */
|
|
3365
|
+
get: operations["listWebhooks"];
|
|
3366
|
+
put?: never;
|
|
3367
|
+
/** Register a webhook */
|
|
3368
|
+
post: operations["createWebhook"];
|
|
3369
|
+
delete?: never;
|
|
3370
|
+
options?: never;
|
|
3371
|
+
head?: never;
|
|
3024
3372
|
patch?: never;
|
|
3025
3373
|
trace?: never;
|
|
3026
3374
|
};
|
|
@@ -3788,6 +4136,54 @@ export interface paths {
|
|
|
3788
4136
|
patch: operations["updatePlatformTemplate"];
|
|
3789
4137
|
trace?: never;
|
|
3790
4138
|
};
|
|
4139
|
+
"/v1/platform/apps/{appId}/templates/{template_id}/preview": {
|
|
4140
|
+
parameters: {
|
|
4141
|
+
query?: never;
|
|
4142
|
+
header?: never;
|
|
4143
|
+
path?: never;
|
|
4144
|
+
cookie?: never;
|
|
4145
|
+
};
|
|
4146
|
+
get?: never;
|
|
4147
|
+
put?: never;
|
|
4148
|
+
/**
|
|
4149
|
+
* Preview resolved template spec
|
|
4150
|
+
* @description Resolves `{{params.*}}` and `{{subject.*}}` placeholders in a template spec
|
|
4151
|
+
* without provisioning resources. Useful for validating parameterized bootstrap templates.
|
|
4152
|
+
*/
|
|
4153
|
+
post: {
|
|
4154
|
+
parameters: {
|
|
4155
|
+
query?: never;
|
|
4156
|
+
header?: never;
|
|
4157
|
+
path: {
|
|
4158
|
+
appId: string;
|
|
4159
|
+
template_id: string;
|
|
4160
|
+
};
|
|
4161
|
+
cookie?: never;
|
|
4162
|
+
};
|
|
4163
|
+
requestBody?: {
|
|
4164
|
+
content: {
|
|
4165
|
+
"application/json": components["schemas"]["TemplatePreviewRequest"];
|
|
4166
|
+
};
|
|
4167
|
+
};
|
|
4168
|
+
responses: {
|
|
4169
|
+
/** @description Resolved template spec */
|
|
4170
|
+
200: {
|
|
4171
|
+
headers: {
|
|
4172
|
+
[name: string]: unknown;
|
|
4173
|
+
};
|
|
4174
|
+
content: {
|
|
4175
|
+
"application/json": components["schemas"]["TemplatePreviewResponse"];
|
|
4176
|
+
};
|
|
4177
|
+
};
|
|
4178
|
+
404: components["responses"]["NotFound"];
|
|
4179
|
+
};
|
|
4180
|
+
};
|
|
4181
|
+
delete?: never;
|
|
4182
|
+
options?: never;
|
|
4183
|
+
head?: never;
|
|
4184
|
+
patch?: never;
|
|
4185
|
+
trace?: never;
|
|
4186
|
+
};
|
|
3791
4187
|
"/v1/platform/users/upsert": {
|
|
3792
4188
|
parameters: {
|
|
3793
4189
|
query?: never;
|
|
@@ -3849,6 +4245,57 @@ export interface paths {
|
|
|
3849
4245
|
patch?: never;
|
|
3850
4246
|
trace?: never;
|
|
3851
4247
|
};
|
|
4248
|
+
"/v1/platform/siwe/challenge": {
|
|
4249
|
+
parameters: {
|
|
4250
|
+
query?: never;
|
|
4251
|
+
header?: never;
|
|
4252
|
+
path?: never;
|
|
4253
|
+
cookie?: never;
|
|
4254
|
+
};
|
|
4255
|
+
get?: never;
|
|
4256
|
+
put?: never;
|
|
4257
|
+
/**
|
|
4258
|
+
* Issue SIWE nonce
|
|
4259
|
+
* @description Creates a one-time nonce for Sign-In With Ethereum user provisioning.
|
|
4260
|
+
* Requires platform (`plt_`) authentication. The nonce expires in 5 minutes.
|
|
4261
|
+
*/
|
|
4262
|
+
post: {
|
|
4263
|
+
parameters: {
|
|
4264
|
+
query?: never;
|
|
4265
|
+
header?: never;
|
|
4266
|
+
path?: never;
|
|
4267
|
+
cookie?: never;
|
|
4268
|
+
};
|
|
4269
|
+
requestBody?: {
|
|
4270
|
+
content: {
|
|
4271
|
+
"application/json": components["schemas"]["SiweChallengeRequest"];
|
|
4272
|
+
};
|
|
4273
|
+
};
|
|
4274
|
+
responses: {
|
|
4275
|
+
/** @description Nonce issued */
|
|
4276
|
+
200: {
|
|
4277
|
+
headers: {
|
|
4278
|
+
[name: string]: unknown;
|
|
4279
|
+
};
|
|
4280
|
+
content: {
|
|
4281
|
+
"application/json": components["schemas"]["SiweChallengeResponse"];
|
|
4282
|
+
};
|
|
4283
|
+
};
|
|
4284
|
+
/** @description SIWE domain not configured */
|
|
4285
|
+
400: {
|
|
4286
|
+
headers: {
|
|
4287
|
+
[name: string]: unknown;
|
|
4288
|
+
};
|
|
4289
|
+
content?: never;
|
|
4290
|
+
};
|
|
4291
|
+
};
|
|
4292
|
+
};
|
|
4293
|
+
delete?: never;
|
|
4294
|
+
options?: never;
|
|
4295
|
+
head?: never;
|
|
4296
|
+
patch?: never;
|
|
4297
|
+
trace?: never;
|
|
4298
|
+
};
|
|
3852
4299
|
"/v1/platform/apps/{appId}/users": {
|
|
3853
4300
|
parameters: {
|
|
3854
4301
|
query?: never;
|
|
@@ -4004,7 +4451,7 @@ export interface paths {
|
|
|
4004
4451
|
patch?: never;
|
|
4005
4452
|
trace?: never;
|
|
4006
4453
|
};
|
|
4007
|
-
"/v1/platform/
|
|
4454
|
+
"/v1/platform/connections/{connectionId}": {
|
|
4008
4455
|
parameters: {
|
|
4009
4456
|
query?: never;
|
|
4010
4457
|
header?: never;
|
|
@@ -4012,34 +4459,31 @@ export interface paths {
|
|
|
4012
4459
|
cookie?: never;
|
|
4013
4460
|
};
|
|
4014
4461
|
/**
|
|
4015
|
-
*
|
|
4016
|
-
* @description Returns
|
|
4462
|
+
* Get connection details
|
|
4463
|
+
* @description Returns connection status, claim state, wallet address, and provisioned resource IDs.
|
|
4464
|
+
* Use for polling the claim loop after bootstrap.
|
|
4017
4465
|
*/
|
|
4018
4466
|
get: {
|
|
4019
4467
|
parameters: {
|
|
4020
|
-
query?:
|
|
4021
|
-
limit?: number;
|
|
4022
|
-
offset?: number;
|
|
4023
|
-
};
|
|
4468
|
+
query?: never;
|
|
4024
4469
|
header?: never;
|
|
4025
4470
|
path: {
|
|
4026
|
-
|
|
4471
|
+
connectionId: string;
|
|
4027
4472
|
};
|
|
4028
4473
|
cookie?: never;
|
|
4029
4474
|
};
|
|
4030
4475
|
requestBody?: never;
|
|
4031
4476
|
responses: {
|
|
4032
|
-
/** @description
|
|
4477
|
+
/** @description Connection details */
|
|
4033
4478
|
200: {
|
|
4034
4479
|
headers: {
|
|
4035
4480
|
[name: string]: unknown;
|
|
4036
4481
|
};
|
|
4037
4482
|
content: {
|
|
4038
|
-
"application/json":
|
|
4039
|
-
events?: Record<string, never>[];
|
|
4040
|
-
};
|
|
4483
|
+
"application/json": components["schemas"]["ConnectionDetailResponse"];
|
|
4041
4484
|
};
|
|
4042
4485
|
};
|
|
4486
|
+
404: components["responses"]["NotFound"];
|
|
4043
4487
|
};
|
|
4044
4488
|
};
|
|
4045
4489
|
put?: never;
|
|
@@ -4050,7 +4494,7 @@ export interface paths {
|
|
|
4050
4494
|
patch?: never;
|
|
4051
4495
|
trace?: never;
|
|
4052
4496
|
};
|
|
4053
|
-
"/v1/platform/
|
|
4497
|
+
"/v1/platform/connections/{connectionId}/usage": {
|
|
4054
4498
|
parameters: {
|
|
4055
4499
|
query?: never;
|
|
4056
4500
|
header?: never;
|
|
@@ -4058,29 +4502,30 @@ export interface paths {
|
|
|
4058
4502
|
cookie?: never;
|
|
4059
4503
|
};
|
|
4060
4504
|
/**
|
|
4061
|
-
*
|
|
4062
|
-
* @description Returns
|
|
4505
|
+
* Get per-connection usage
|
|
4506
|
+
* @description Returns inference spend for the current UTC month for this connection.
|
|
4063
4507
|
*/
|
|
4064
4508
|
get: {
|
|
4065
4509
|
parameters: {
|
|
4066
4510
|
query?: never;
|
|
4067
4511
|
header?: never;
|
|
4068
|
-
path
|
|
4512
|
+
path: {
|
|
4513
|
+
connectionId: string;
|
|
4514
|
+
};
|
|
4069
4515
|
cookie?: never;
|
|
4070
4516
|
};
|
|
4071
4517
|
requestBody?: never;
|
|
4072
4518
|
responses: {
|
|
4073
|
-
/** @description
|
|
4519
|
+
/** @description Usage summary */
|
|
4074
4520
|
200: {
|
|
4075
4521
|
headers: {
|
|
4076
4522
|
[name: string]: unknown;
|
|
4077
4523
|
};
|
|
4078
4524
|
content: {
|
|
4079
|
-
"application/json":
|
|
4080
|
-
connected_apps?: components["schemas"]["ConnectedAppResponse"][];
|
|
4081
|
-
};
|
|
4525
|
+
"application/json": components["schemas"]["ConnectionUsageResponse"];
|
|
4082
4526
|
};
|
|
4083
4527
|
};
|
|
4528
|
+
404: components["responses"]["NotFound"];
|
|
4084
4529
|
};
|
|
4085
4530
|
};
|
|
4086
4531
|
put?: never;
|
|
@@ -4091,21 +4536,18 @@ export interface paths {
|
|
|
4091
4536
|
patch?: never;
|
|
4092
4537
|
trace?: never;
|
|
4093
4538
|
};
|
|
4094
|
-
"/v1/platform/
|
|
4539
|
+
"/v1/platform/connections/{connectionId}/entitlements": {
|
|
4095
4540
|
parameters: {
|
|
4096
4541
|
query?: never;
|
|
4097
4542
|
header?: never;
|
|
4098
4543
|
path?: never;
|
|
4099
4544
|
cookie?: never;
|
|
4100
4545
|
};
|
|
4101
|
-
get?: never;
|
|
4102
|
-
put?: never;
|
|
4103
|
-
post?: never;
|
|
4104
4546
|
/**
|
|
4105
|
-
*
|
|
4106
|
-
* @description
|
|
4547
|
+
* List entitlement evaluations
|
|
4548
|
+
* @description Returns on-chain entitlement watch status for the connection.
|
|
4107
4549
|
*/
|
|
4108
|
-
|
|
4550
|
+
get: {
|
|
4109
4551
|
parameters: {
|
|
4110
4552
|
query?: never;
|
|
4111
4553
|
header?: never;
|
|
@@ -4116,43 +4558,18 @@ export interface paths {
|
|
|
4116
4558
|
};
|
|
4117
4559
|
requestBody?: never;
|
|
4118
4560
|
responses: {
|
|
4119
|
-
/** @description
|
|
4120
|
-
|
|
4561
|
+
/** @description Entitlement watches */
|
|
4562
|
+
200: {
|
|
4121
4563
|
headers: {
|
|
4122
4564
|
[name: string]: unknown;
|
|
4123
4565
|
};
|
|
4124
|
-
content
|
|
4125
|
-
|
|
4126
|
-
/** @description Connection not found */
|
|
4127
|
-
404: {
|
|
4128
|
-
headers: {
|
|
4129
|
-
[name: string]: unknown;
|
|
4566
|
+
content: {
|
|
4567
|
+
"application/json": components["schemas"]["EntitlementsListResponse"];
|
|
4130
4568
|
};
|
|
4131
|
-
content?: never;
|
|
4132
4569
|
};
|
|
4570
|
+
404: components["responses"]["NotFound"];
|
|
4133
4571
|
};
|
|
4134
4572
|
};
|
|
4135
|
-
options?: never;
|
|
4136
|
-
head?: never;
|
|
4137
|
-
/**
|
|
4138
|
-
* Update connection delegation
|
|
4139
|
-
* @description Toggle delegation and update delegation scopes for a connected platform app. User-only.
|
|
4140
|
-
*/
|
|
4141
|
-
patch: operations["updateConnectionDelegation"];
|
|
4142
|
-
trace?: never;
|
|
4143
|
-
};
|
|
4144
|
-
"/v1/platform/connections/{connectionId}/delegation-log": {
|
|
4145
|
-
parameters: {
|
|
4146
|
-
query?: never;
|
|
4147
|
-
header?: never;
|
|
4148
|
-
path?: never;
|
|
4149
|
-
cookie?: never;
|
|
4150
|
-
};
|
|
4151
|
-
/**
|
|
4152
|
-
* Delegation audit log
|
|
4153
|
-
* @description List delegated actions performed by a platform app on behalf of this user.
|
|
4154
|
-
*/
|
|
4155
|
-
get: operations["getDelegationLog"];
|
|
4156
4573
|
put?: never;
|
|
4157
4574
|
post?: never;
|
|
4158
4575
|
delete?: never;
|
|
@@ -4161,7 +4578,7 @@ export interface paths {
|
|
|
4161
4578
|
patch?: never;
|
|
4162
4579
|
trace?: never;
|
|
4163
4580
|
};
|
|
4164
|
-
"/v1/platform/connections/{connectionId}/
|
|
4581
|
+
"/v1/platform/connections/{connectionId}/entitlements/refresh": {
|
|
4165
4582
|
parameters: {
|
|
4166
4583
|
query?: never;
|
|
4167
4584
|
header?: never;
|
|
@@ -4171,10 +4588,8 @@ export interface paths {
|
|
|
4171
4588
|
get?: never;
|
|
4172
4589
|
put?: never;
|
|
4173
4590
|
/**
|
|
4174
|
-
*
|
|
4175
|
-
* @description
|
|
4176
|
-
* Validates user ownership of all requested resources. Creates platform_user_grants
|
|
4177
|
-
* entries and merges resource IDs into the connection record.
|
|
4591
|
+
* Refresh entitlement evaluations
|
|
4592
|
+
* @description Triggers an immediate entitlement monitor cycle for this connection's org.
|
|
4178
4593
|
*/
|
|
4179
4594
|
post: {
|
|
4180
4595
|
parameters: {
|
|
@@ -4185,42 +4600,16 @@ export interface paths {
|
|
|
4185
4600
|
};
|
|
4186
4601
|
cookie?: never;
|
|
4187
4602
|
};
|
|
4188
|
-
requestBody
|
|
4189
|
-
content: {
|
|
4190
|
-
"application/json": components["schemas"]["GrantResourcesRequest"];
|
|
4191
|
-
};
|
|
4192
|
-
};
|
|
4603
|
+
requestBody?: never;
|
|
4193
4604
|
responses: {
|
|
4194
|
-
/** @description
|
|
4195
|
-
|
|
4196
|
-
headers: {
|
|
4197
|
-
[name: string]: unknown;
|
|
4198
|
-
};
|
|
4199
|
-
content: {
|
|
4200
|
-
"application/json": components["schemas"]["GrantResourcesResponse"];
|
|
4201
|
-
};
|
|
4202
|
-
};
|
|
4203
|
-
/** @description No vault_ids or agent_ids provided */
|
|
4204
|
-
400: {
|
|
4205
|
-
headers: {
|
|
4206
|
-
[name: string]: unknown;
|
|
4207
|
-
};
|
|
4208
|
-
content?: never;
|
|
4209
|
-
};
|
|
4210
|
-
/** @description Resource not owned by caller */
|
|
4211
|
-
403: {
|
|
4212
|
-
headers: {
|
|
4213
|
-
[name: string]: unknown;
|
|
4214
|
-
};
|
|
4215
|
-
content?: never;
|
|
4216
|
-
};
|
|
4217
|
-
/** @description Connection not found */
|
|
4218
|
-
404: {
|
|
4605
|
+
/** @description Refresh accepted */
|
|
4606
|
+
202: {
|
|
4219
4607
|
headers: {
|
|
4220
4608
|
[name: string]: unknown;
|
|
4221
4609
|
};
|
|
4222
4610
|
content?: never;
|
|
4223
4611
|
};
|
|
4612
|
+
404: components["responses"]["NotFound"];
|
|
4224
4613
|
};
|
|
4225
4614
|
};
|
|
4226
4615
|
delete?: never;
|
|
@@ -4229,7 +4618,7 @@ export interface paths {
|
|
|
4229
4618
|
patch?: never;
|
|
4230
4619
|
trace?: never;
|
|
4231
4620
|
};
|
|
4232
|
-
"/v1/platform/
|
|
4621
|
+
"/v1/platform/apps/{appId}/audit": {
|
|
4233
4622
|
parameters: {
|
|
4234
4623
|
query?: never;
|
|
4235
4624
|
header?: never;
|
|
@@ -4237,35 +4626,33 @@ export interface paths {
|
|
|
4237
4626
|
cookie?: never;
|
|
4238
4627
|
};
|
|
4239
4628
|
/**
|
|
4240
|
-
*
|
|
4241
|
-
* @description
|
|
4629
|
+
* Platform audit log
|
|
4630
|
+
* @description Returns audit events related to this platform app.
|
|
4242
4631
|
*/
|
|
4243
4632
|
get: {
|
|
4244
4633
|
parameters: {
|
|
4245
|
-
query?:
|
|
4634
|
+
query?: {
|
|
4635
|
+
limit?: number;
|
|
4636
|
+
offset?: number;
|
|
4637
|
+
};
|
|
4246
4638
|
header?: never;
|
|
4247
4639
|
path: {
|
|
4248
|
-
|
|
4640
|
+
appId: string;
|
|
4249
4641
|
};
|
|
4250
4642
|
cookie?: never;
|
|
4251
4643
|
};
|
|
4252
4644
|
requestBody?: never;
|
|
4253
4645
|
responses: {
|
|
4254
|
-
/** @description
|
|
4646
|
+
/** @description Audit events */
|
|
4255
4647
|
200: {
|
|
4256
4648
|
headers: {
|
|
4257
4649
|
[name: string]: unknown;
|
|
4258
4650
|
};
|
|
4259
4651
|
content: {
|
|
4260
|
-
"application/json":
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
/** @description Connection not found */
|
|
4264
|
-
404: {
|
|
4265
|
-
headers: {
|
|
4266
|
-
[name: string]: unknown;
|
|
4652
|
+
"application/json": {
|
|
4653
|
+
events?: Record<string, never>[];
|
|
4654
|
+
};
|
|
4267
4655
|
};
|
|
4268
|
-
content?: never;
|
|
4269
4656
|
};
|
|
4270
4657
|
};
|
|
4271
4658
|
};
|
|
@@ -4277,7 +4664,234 @@ export interface paths {
|
|
|
4277
4664
|
patch?: never;
|
|
4278
4665
|
trace?: never;
|
|
4279
4666
|
};
|
|
4280
|
-
"/v1/platform/
|
|
4667
|
+
"/v1/platform/connected-apps": {
|
|
4668
|
+
parameters: {
|
|
4669
|
+
query?: never;
|
|
4670
|
+
header?: never;
|
|
4671
|
+
path?: never;
|
|
4672
|
+
cookie?: never;
|
|
4673
|
+
};
|
|
4674
|
+
/**
|
|
4675
|
+
* List connected apps (user side)
|
|
4676
|
+
* @description Returns platform apps connected to the calling user's account.
|
|
4677
|
+
*/
|
|
4678
|
+
get: {
|
|
4679
|
+
parameters: {
|
|
4680
|
+
query?: never;
|
|
4681
|
+
header?: never;
|
|
4682
|
+
path?: never;
|
|
4683
|
+
cookie?: never;
|
|
4684
|
+
};
|
|
4685
|
+
requestBody?: never;
|
|
4686
|
+
responses: {
|
|
4687
|
+
/** @description Connected apps */
|
|
4688
|
+
200: {
|
|
4689
|
+
headers: {
|
|
4690
|
+
[name: string]: unknown;
|
|
4691
|
+
};
|
|
4692
|
+
content: {
|
|
4693
|
+
"application/json": {
|
|
4694
|
+
connected_apps?: components["schemas"]["ConnectedAppResponse"][];
|
|
4695
|
+
};
|
|
4696
|
+
};
|
|
4697
|
+
};
|
|
4698
|
+
};
|
|
4699
|
+
};
|
|
4700
|
+
put?: never;
|
|
4701
|
+
post?: never;
|
|
4702
|
+
delete?: never;
|
|
4703
|
+
options?: never;
|
|
4704
|
+
head?: never;
|
|
4705
|
+
patch?: never;
|
|
4706
|
+
trace?: never;
|
|
4707
|
+
};
|
|
4708
|
+
"/v1/platform/connected-apps/{connectionId}": {
|
|
4709
|
+
parameters: {
|
|
4710
|
+
query?: never;
|
|
4711
|
+
header?: never;
|
|
4712
|
+
path?: never;
|
|
4713
|
+
cookie?: never;
|
|
4714
|
+
};
|
|
4715
|
+
get?: never;
|
|
4716
|
+
put?: never;
|
|
4717
|
+
post?: never;
|
|
4718
|
+
/**
|
|
4719
|
+
* Disconnect a platform app
|
|
4720
|
+
* @description Disconnect the calling user from a platform app.
|
|
4721
|
+
*/
|
|
4722
|
+
delete: {
|
|
4723
|
+
parameters: {
|
|
4724
|
+
query?: never;
|
|
4725
|
+
header?: never;
|
|
4726
|
+
path: {
|
|
4727
|
+
connectionId: string;
|
|
4728
|
+
};
|
|
4729
|
+
cookie?: never;
|
|
4730
|
+
};
|
|
4731
|
+
requestBody?: never;
|
|
4732
|
+
responses: {
|
|
4733
|
+
/** @description Disconnected */
|
|
4734
|
+
204: {
|
|
4735
|
+
headers: {
|
|
4736
|
+
[name: string]: unknown;
|
|
4737
|
+
};
|
|
4738
|
+
content?: never;
|
|
4739
|
+
};
|
|
4740
|
+
/** @description Connection not found */
|
|
4741
|
+
404: {
|
|
4742
|
+
headers: {
|
|
4743
|
+
[name: string]: unknown;
|
|
4744
|
+
};
|
|
4745
|
+
content?: never;
|
|
4746
|
+
};
|
|
4747
|
+
};
|
|
4748
|
+
};
|
|
4749
|
+
options?: never;
|
|
4750
|
+
head?: never;
|
|
4751
|
+
/**
|
|
4752
|
+
* Update connection delegation
|
|
4753
|
+
* @description Toggle delegation and update delegation scopes for a connected platform app. User-only.
|
|
4754
|
+
*/
|
|
4755
|
+
patch: operations["updateConnectionDelegation"];
|
|
4756
|
+
trace?: never;
|
|
4757
|
+
};
|
|
4758
|
+
"/v1/platform/connections/{connectionId}/delegation-log": {
|
|
4759
|
+
parameters: {
|
|
4760
|
+
query?: never;
|
|
4761
|
+
header?: never;
|
|
4762
|
+
path?: never;
|
|
4763
|
+
cookie?: never;
|
|
4764
|
+
};
|
|
4765
|
+
/**
|
|
4766
|
+
* Delegation audit log
|
|
4767
|
+
* @description List delegated actions performed by a platform app on behalf of this user.
|
|
4768
|
+
*/
|
|
4769
|
+
get: operations["getDelegationLog"];
|
|
4770
|
+
put?: never;
|
|
4771
|
+
post?: never;
|
|
4772
|
+
delete?: never;
|
|
4773
|
+
options?: never;
|
|
4774
|
+
head?: never;
|
|
4775
|
+
patch?: never;
|
|
4776
|
+
trace?: never;
|
|
4777
|
+
};
|
|
4778
|
+
"/v1/platform/connections/{connectionId}/grant": {
|
|
4779
|
+
parameters: {
|
|
4780
|
+
query?: never;
|
|
4781
|
+
header?: never;
|
|
4782
|
+
path?: never;
|
|
4783
|
+
cookie?: never;
|
|
4784
|
+
};
|
|
4785
|
+
get?: never;
|
|
4786
|
+
put?: never;
|
|
4787
|
+
/**
|
|
4788
|
+
* Grant platform app access to vaults/agents
|
|
4789
|
+
* @description User-authenticated. Grant the platform app access to selected vaults and agents.
|
|
4790
|
+
* Validates user ownership of all requested resources. Creates platform_user_grants
|
|
4791
|
+
* entries and merges resource IDs into the connection record.
|
|
4792
|
+
*/
|
|
4793
|
+
post: {
|
|
4794
|
+
parameters: {
|
|
4795
|
+
query?: never;
|
|
4796
|
+
header?: never;
|
|
4797
|
+
path: {
|
|
4798
|
+
connectionId: string;
|
|
4799
|
+
};
|
|
4800
|
+
cookie?: never;
|
|
4801
|
+
};
|
|
4802
|
+
requestBody: {
|
|
4803
|
+
content: {
|
|
4804
|
+
"application/json": components["schemas"]["GrantResourcesRequest"];
|
|
4805
|
+
};
|
|
4806
|
+
};
|
|
4807
|
+
responses: {
|
|
4808
|
+
/** @description Grants created */
|
|
4809
|
+
201: {
|
|
4810
|
+
headers: {
|
|
4811
|
+
[name: string]: unknown;
|
|
4812
|
+
};
|
|
4813
|
+
content: {
|
|
4814
|
+
"application/json": components["schemas"]["GrantResourcesResponse"];
|
|
4815
|
+
};
|
|
4816
|
+
};
|
|
4817
|
+
/** @description No vault_ids or agent_ids provided */
|
|
4818
|
+
400: {
|
|
4819
|
+
headers: {
|
|
4820
|
+
[name: string]: unknown;
|
|
4821
|
+
};
|
|
4822
|
+
content?: never;
|
|
4823
|
+
};
|
|
4824
|
+
/** @description Resource not owned by caller */
|
|
4825
|
+
403: {
|
|
4826
|
+
headers: {
|
|
4827
|
+
[name: string]: unknown;
|
|
4828
|
+
};
|
|
4829
|
+
content?: never;
|
|
4830
|
+
};
|
|
4831
|
+
/** @description Connection not found */
|
|
4832
|
+
404: {
|
|
4833
|
+
headers: {
|
|
4834
|
+
[name: string]: unknown;
|
|
4835
|
+
};
|
|
4836
|
+
content?: never;
|
|
4837
|
+
};
|
|
4838
|
+
};
|
|
4839
|
+
};
|
|
4840
|
+
delete?: never;
|
|
4841
|
+
options?: never;
|
|
4842
|
+
head?: never;
|
|
4843
|
+
patch?: never;
|
|
4844
|
+
trace?: never;
|
|
4845
|
+
};
|
|
4846
|
+
"/v1/platform/connections/{connectionId}/grants": {
|
|
4847
|
+
parameters: {
|
|
4848
|
+
query?: never;
|
|
4849
|
+
header?: never;
|
|
4850
|
+
path?: never;
|
|
4851
|
+
cookie?: never;
|
|
4852
|
+
};
|
|
4853
|
+
/**
|
|
4854
|
+
* List active resource grants for a connection
|
|
4855
|
+
* @description User-authenticated. Returns active (non-revoked) grants for the connection.
|
|
4856
|
+
*/
|
|
4857
|
+
get: {
|
|
4858
|
+
parameters: {
|
|
4859
|
+
query?: never;
|
|
4860
|
+
header?: never;
|
|
4861
|
+
path: {
|
|
4862
|
+
connectionId: string;
|
|
4863
|
+
};
|
|
4864
|
+
cookie?: never;
|
|
4865
|
+
};
|
|
4866
|
+
requestBody?: never;
|
|
4867
|
+
responses: {
|
|
4868
|
+
/** @description Grant list */
|
|
4869
|
+
200: {
|
|
4870
|
+
headers: {
|
|
4871
|
+
[name: string]: unknown;
|
|
4872
|
+
};
|
|
4873
|
+
content: {
|
|
4874
|
+
"application/json": components["schemas"]["GrantListResponse"];
|
|
4875
|
+
};
|
|
4876
|
+
};
|
|
4877
|
+
/** @description Connection not found */
|
|
4878
|
+
404: {
|
|
4879
|
+
headers: {
|
|
4880
|
+
[name: string]: unknown;
|
|
4881
|
+
};
|
|
4882
|
+
content?: never;
|
|
4883
|
+
};
|
|
4884
|
+
};
|
|
4885
|
+
};
|
|
4886
|
+
put?: never;
|
|
4887
|
+
post?: never;
|
|
4888
|
+
delete?: never;
|
|
4889
|
+
options?: never;
|
|
4890
|
+
head?: never;
|
|
4891
|
+
patch?: never;
|
|
4892
|
+
trace?: never;
|
|
4893
|
+
};
|
|
4894
|
+
"/v1/platform/connections/{connectionId}/grants/{grantId}": {
|
|
4281
4895
|
parameters: {
|
|
4282
4896
|
query?: never;
|
|
4283
4897
|
header?: never;
|
|
@@ -4767,9 +5381,10 @@ export interface paths {
|
|
|
4767
5381
|
put?: never;
|
|
4768
5382
|
/**
|
|
4769
5383
|
* Begin passkey transaction authorization
|
|
4770
|
-
* @description Requires `tx_digest` — SHA-256 hex of canonical
|
|
4771
|
-
*
|
|
4772
|
-
* on send and rejects passkey tokens that
|
|
5384
|
+
* @description Requires `tx_digest` — SHA-256 hex of the canonical digest for the
|
|
5385
|
+
* treasury action being authorized (`send` or `swap`). The server
|
|
5386
|
+
* recomputes this digest on send/swap and rejects passkey tokens that
|
|
5387
|
+
* do not match.
|
|
4773
5388
|
*/
|
|
4774
5389
|
post: operations["passkeyTxAssertBegin"];
|
|
4775
5390
|
delete?: never;
|
|
@@ -6406,7 +7021,7 @@ export interface paths {
|
|
|
6406
7021
|
patch?: never;
|
|
6407
7022
|
trace?: never;
|
|
6408
7023
|
};
|
|
6409
|
-
"/v1/org/
|
|
7024
|
+
"/v1/org/guardrail-shadow-report": {
|
|
6410
7025
|
parameters: {
|
|
6411
7026
|
query?: never;
|
|
6412
7027
|
header?: never;
|
|
@@ -6414,55 +7029,96 @@ export interface paths {
|
|
|
6414
7029
|
cookie?: never;
|
|
6415
7030
|
};
|
|
6416
7031
|
/**
|
|
6417
|
-
*
|
|
6418
|
-
* @description
|
|
7032
|
+
* Get guardrail shadow divergence report
|
|
7033
|
+
* @description Returns Convention 6 shadow-mode violations (`guardrail_shadow.would_deny` audit events)
|
|
7034
|
+
* grouped by reason code. Owner/admin only.
|
|
6419
7035
|
*/
|
|
6420
|
-
get: operations["
|
|
7036
|
+
get: operations["getGuardrailShadowReport"];
|
|
6421
7037
|
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"];
|
|
7038
|
+
post?: never;
|
|
6427
7039
|
delete?: never;
|
|
6428
7040
|
options?: never;
|
|
6429
7041
|
head?: never;
|
|
6430
7042
|
patch?: never;
|
|
6431
7043
|
trace?: never;
|
|
6432
7044
|
};
|
|
6433
|
-
"/v1/org/
|
|
7045
|
+
"/v1/org/guardrail-revisions": {
|
|
6434
7046
|
parameters: {
|
|
6435
7047
|
query?: never;
|
|
6436
7048
|
header?: never;
|
|
6437
7049
|
path?: never;
|
|
6438
7050
|
cookie?: never;
|
|
6439
7051
|
};
|
|
6440
|
-
/**
|
|
6441
|
-
|
|
7052
|
+
/**
|
|
7053
|
+
* List guardrail revision history
|
|
7054
|
+
* @description Audit trail of agent and binding guardrail changes. Owner/admin only.
|
|
7055
|
+
*/
|
|
7056
|
+
get: operations["listGuardrailRevisions"];
|
|
6442
7057
|
put?: never;
|
|
6443
7058
|
post?: never;
|
|
6444
|
-
|
|
6445
|
-
delete: operations["deleteContractAbi"];
|
|
7059
|
+
delete?: never;
|
|
6446
7060
|
options?: never;
|
|
6447
7061
|
head?: never;
|
|
6448
7062
|
patch?: never;
|
|
6449
7063
|
trace?: never;
|
|
6450
7064
|
};
|
|
6451
|
-
"/v1/
|
|
7065
|
+
"/v1/org/contract-abis": {
|
|
6452
7066
|
parameters: {
|
|
6453
7067
|
query?: never;
|
|
6454
7068
|
header?: never;
|
|
6455
7069
|
path?: never;
|
|
6456
7070
|
cookie?: never;
|
|
6457
7071
|
};
|
|
6458
|
-
/** List pending approvals */
|
|
6459
|
-
get: operations["listPendingApprovals"];
|
|
6460
|
-
put?: never;
|
|
6461
7072
|
/**
|
|
6462
|
-
*
|
|
6463
|
-
* @description
|
|
7073
|
+
* List contract ABIs
|
|
7074
|
+
* @description List org contract ABIs, optionally filtered by chain. Owner/admin only.
|
|
6464
7075
|
*/
|
|
6465
|
-
|
|
7076
|
+
get: operations["listContractAbis"];
|
|
7077
|
+
put?: never;
|
|
7078
|
+
/**
|
|
7079
|
+
* Register a contract ABI
|
|
7080
|
+
* @description Upload an org-scoped ABI for transaction decoding. Owner/admin only.
|
|
7081
|
+
*/
|
|
7082
|
+
post: operations["createContractAbi"];
|
|
7083
|
+
delete?: never;
|
|
7084
|
+
options?: never;
|
|
7085
|
+
head?: never;
|
|
7086
|
+
patch?: never;
|
|
7087
|
+
trace?: never;
|
|
7088
|
+
};
|
|
7089
|
+
"/v1/org/contract-abis/{id}": {
|
|
7090
|
+
parameters: {
|
|
7091
|
+
query?: never;
|
|
7092
|
+
header?: never;
|
|
7093
|
+
path?: never;
|
|
7094
|
+
cookie?: never;
|
|
7095
|
+
};
|
|
7096
|
+
/** Get a contract ABI */
|
|
7097
|
+
get: operations["getContractAbi"];
|
|
7098
|
+
put?: never;
|
|
7099
|
+
post?: never;
|
|
7100
|
+
/** Delete a contract ABI */
|
|
7101
|
+
delete: operations["deleteContractAbi"];
|
|
7102
|
+
options?: never;
|
|
7103
|
+
head?: never;
|
|
7104
|
+
patch?: never;
|
|
7105
|
+
trace?: never;
|
|
7106
|
+
};
|
|
7107
|
+
"/v1/pending-approvals": {
|
|
7108
|
+
parameters: {
|
|
7109
|
+
query?: never;
|
|
7110
|
+
header?: never;
|
|
7111
|
+
path?: never;
|
|
7112
|
+
cookie?: never;
|
|
7113
|
+
};
|
|
7114
|
+
/** List pending approvals */
|
|
7115
|
+
get: operations["listPendingApprovals"];
|
|
7116
|
+
put?: never;
|
|
7117
|
+
/**
|
|
7118
|
+
* Submit action for approval
|
|
7119
|
+
* @description Submit a signing or transaction action that matches a consensus policy trigger.
|
|
7120
|
+
*/
|
|
7121
|
+
post: operations["submitPendingApproval"];
|
|
6466
7122
|
delete?: never;
|
|
6467
7123
|
options?: never;
|
|
6468
7124
|
head?: never;
|
|
@@ -7111,12 +7767,21 @@ export interface components {
|
|
|
7111
7767
|
refresh_token?: string;
|
|
7112
7768
|
mfa_required?: boolean;
|
|
7113
7769
|
mfa_token?: string;
|
|
7770
|
+
/**
|
|
7771
|
+
* @description When MFA is required, which second factor to collect
|
|
7772
|
+
* @enum {string}
|
|
7773
|
+
*/
|
|
7774
|
+
mfa_method?: "totp" | "passkey";
|
|
7114
7775
|
};
|
|
7115
7776
|
TokenResponse: {
|
|
7116
7777
|
access_token: string;
|
|
7117
7778
|
token_type: string;
|
|
7118
7779
|
expires_in?: number;
|
|
7119
7780
|
refresh_token?: string;
|
|
7781
|
+
mfa_required?: boolean;
|
|
7782
|
+
mfa_token?: string;
|
|
7783
|
+
/** @enum {string} */
|
|
7784
|
+
mfa_method?: "totp" | "passkey";
|
|
7120
7785
|
};
|
|
7121
7786
|
AgentTokenRequest: {
|
|
7122
7787
|
/**
|
|
@@ -7206,6 +7871,9 @@ export interface components {
|
|
|
7206
7871
|
};
|
|
7207
7872
|
MfaStatusResponse: {
|
|
7208
7873
|
enabled?: boolean;
|
|
7874
|
+
eligible?: boolean;
|
|
7875
|
+
totp_enabled?: boolean;
|
|
7876
|
+
passkey_mfa_enabled?: boolean;
|
|
7209
7877
|
};
|
|
7210
7878
|
MfaSetupResponse: {
|
|
7211
7879
|
otpauth_uri?: string;
|
|
@@ -7652,7 +8320,9 @@ export interface components {
|
|
|
7652
8320
|
xrpl_allowed_tx_types?: string[];
|
|
7653
8321
|
/**
|
|
7654
8322
|
* @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,
|
|
8323
|
+
* Each value may include max_value, daily_limit, to_allowlist, token_allowlist, max_per_day,
|
|
8324
|
+
* overhead_budget, max_ata_creates_per_day, max_fee_per_gas_gwei, max_gas_limit,
|
|
8325
|
+
* gas_daily_budget_native (UTC-day cumulative EVM gas estimate in native units).
|
|
7656
8326
|
* Strictest of global and per-chain limits wins. Daily limits apply per chain family spend, not cross-chain totals.
|
|
7657
8327
|
*/
|
|
7658
8328
|
per_chain_guardrails?: {
|
|
@@ -7881,7 +8551,8 @@ export interface components {
|
|
|
7881
8551
|
xrpl_allowed_tx_types?: string[];
|
|
7882
8552
|
/**
|
|
7883
8553
|
* @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)
|
|
8554
|
+
* Each value may include max_value, daily_limit, to_allowlist, token_allowlist (legacy *_eth keys accepted),
|
|
8555
|
+
* max_fee_per_gas_gwei, max_gas_limit, gas_daily_budget_native (UTC-day cumulative EVM gas in native units).
|
|
7885
8556
|
* Strictest of global and per-chain limits wins. Daily limits apply per chain family spend, not cross-chain totals.
|
|
7886
8557
|
*/
|
|
7887
8558
|
per_chain_guardrails?: {
|
|
@@ -7902,6 +8573,15 @@ export interface components {
|
|
|
7902
8573
|
per_environment_guardrails?: {
|
|
7903
8574
|
[key: string]: unknown;
|
|
7904
8575
|
};
|
|
8576
|
+
/** @description Recipient address screening policy. `mode` may be `off`, `deny`, or `approve`. */
|
|
8577
|
+
address_screening_policy?: {
|
|
8578
|
+
[key: string]: unknown;
|
|
8579
|
+
};
|
|
8580
|
+
/**
|
|
8581
|
+
* Format: uuid
|
|
8582
|
+
* @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.
|
|
8583
|
+
*/
|
|
8584
|
+
approval_id?: string;
|
|
7905
8585
|
};
|
|
7906
8586
|
AgentResponse: {
|
|
7907
8587
|
/** Format: uuid */
|
|
@@ -8072,6 +8752,10 @@ export interface components {
|
|
|
8072
8752
|
per_environment_guardrails?: {
|
|
8073
8753
|
[key: string]: unknown;
|
|
8074
8754
|
};
|
|
8755
|
+
/** @description Recipient address screening policy. `mode` may be `off`, `deny`, or `approve`. */
|
|
8756
|
+
address_screening_policy?: {
|
|
8757
|
+
[key: string]: unknown;
|
|
8758
|
+
};
|
|
8075
8759
|
};
|
|
8076
8760
|
KnownToken: {
|
|
8077
8761
|
/** Format: uuid */
|
|
@@ -9855,7 +10539,11 @@ export interface components {
|
|
|
9855
10539
|
UpsertPlatformUserRequest: {
|
|
9856
10540
|
/** @description OIDC JWT from the platform's IdP (verified against JWKS) */
|
|
9857
10541
|
subject_token?: string;
|
|
9858
|
-
/**
|
|
10542
|
+
/**
|
|
10543
|
+
* @description Token type for subject_token. Use `urn:1claw:params:oauth:token-type:siwe`
|
|
10544
|
+
* with `siwe_message` and `siwe_signature` for wallet-based provisioning.
|
|
10545
|
+
* @default urn:ietf:params:oauth:token-type:jwt
|
|
10546
|
+
*/
|
|
9859
10547
|
subject_token_type: string;
|
|
9860
10548
|
/**
|
|
9861
10549
|
* Format: email
|
|
@@ -9863,6 +10551,20 @@ export interface components {
|
|
|
9863
10551
|
*/
|
|
9864
10552
|
email?: string;
|
|
9865
10553
|
display_name?: string;
|
|
10554
|
+
/** @description EIP-4361 Sign-In With Ethereum message (required for SIWE upsert) */
|
|
10555
|
+
siwe_message?: string;
|
|
10556
|
+
/** @description Hex-encoded SIWE signature (required for SIWE upsert) */
|
|
10557
|
+
siwe_signature?: string;
|
|
10558
|
+
/**
|
|
10559
|
+
* Format: uri
|
|
10560
|
+
* @description Redirect URL after cross-org link consent
|
|
10561
|
+
*/
|
|
10562
|
+
return_to?: string;
|
|
10563
|
+
/**
|
|
10564
|
+
* @description When true, creates a sub-org under the platform app's org
|
|
10565
|
+
* @default false
|
|
10566
|
+
*/
|
|
10567
|
+
create_sub_org: boolean;
|
|
9866
10568
|
};
|
|
9867
10569
|
PlatformUserResponse: {
|
|
9868
10570
|
/** Format: uuid */
|
|
@@ -9916,6 +10618,13 @@ export interface components {
|
|
|
9916
10618
|
* @description URL to redirect the user to after claiming resources.
|
|
9917
10619
|
*/
|
|
9918
10620
|
return_to?: string;
|
|
10621
|
+
/**
|
|
10622
|
+
* @description Template parameters substituted as `{{params.*}}` during bootstrap.
|
|
10623
|
+
* Combined with `Idempotency-Key` header for params-aware idempotent replay.
|
|
10624
|
+
*/
|
|
10625
|
+
parameters?: {
|
|
10626
|
+
[key: string]: unknown;
|
|
10627
|
+
};
|
|
9919
10628
|
};
|
|
9920
10629
|
BootstrapResponse: {
|
|
9921
10630
|
/** Format: uri */
|
|
@@ -10160,11 +10869,19 @@ export interface components {
|
|
|
10160
10869
|
/** Format: date-time */
|
|
10161
10870
|
expires_at?: string | null;
|
|
10162
10871
|
};
|
|
10872
|
+
/**
|
|
10873
|
+
* @description Stable snake_case reason codes for guardrail violations (Convention 1).
|
|
10874
|
+
* Shadow-mode `"log"` emits the same codes in `guardrail_shadow.would_deny`
|
|
10875
|
+
* audit events with `enforced: false`. 202 HITL responses use
|
|
10876
|
+
* `approval_available: true` instead of a deny reason_code.
|
|
10877
|
+
* @enum {string}
|
|
10878
|
+
*/
|
|
10879
|
+
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";
|
|
10880
|
+
/** @description Convention 1 machine-readable guardrail denial JSON body. */
|
|
10163
10881
|
GuardrailViolation: {
|
|
10164
10882
|
/** @enum {string} */
|
|
10165
10883
|
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";
|
|
10884
|
+
reason_code: components["schemas"]["GuardrailReasonCode"];
|
|
10168
10885
|
limit?: string | null;
|
|
10169
10886
|
current?: string | null;
|
|
10170
10887
|
attempted?: string | null;
|
|
@@ -10173,6 +10890,8 @@ export interface components {
|
|
|
10173
10890
|
retry_after_seconds?: number | null;
|
|
10174
10891
|
detail?: string | null;
|
|
10175
10892
|
};
|
|
10893
|
+
/** @description Alias of GuardrailViolation (Convention 1 JSON shape). */
|
|
10894
|
+
GuardrailDenial: components["schemas"]["GuardrailViolation"];
|
|
10176
10895
|
EmailOtpVerifyResponse: {
|
|
10177
10896
|
/** @description JWT access token */
|
|
10178
10897
|
token: string;
|
|
@@ -10236,6 +10955,115 @@ export interface components {
|
|
|
10236
10955
|
allowed_tokens?: string[];
|
|
10237
10956
|
/** @description Maximum number of transactions per 24h window */
|
|
10238
10957
|
max_transactions_per_day?: number;
|
|
10958
|
+
/** @description Monthly LLM inference allowance in USD (decimal string) */
|
|
10959
|
+
inference_allowance_usd?: string;
|
|
10960
|
+
/**
|
|
10961
|
+
* @description Percent of allowance held in reserve (not spendable)
|
|
10962
|
+
* @default 25
|
|
10963
|
+
*/
|
|
10964
|
+
inference_reserved_pct: number;
|
|
10965
|
+
/**
|
|
10966
|
+
* @description When true, block inference when allowance is exhausted
|
|
10967
|
+
* @default true
|
|
10968
|
+
*/
|
|
10969
|
+
inference_hard_stop: boolean;
|
|
10970
|
+
/**
|
|
10971
|
+
* @default policy
|
|
10972
|
+
* @enum {string}
|
|
10973
|
+
*/
|
|
10974
|
+
inference_allowance_mode: "policy" | "credits";
|
|
10975
|
+
/** @description Maximum estimated cost per LLM request in USD */
|
|
10976
|
+
max_request_cost_usd?: string;
|
|
10977
|
+
/**
|
|
10978
|
+
* @description Human factor auth requirements for send/swap/export.
|
|
10979
|
+
* Fields: send, swap, export (password_or_passkey | passkey_only | passkey_required | password_only | reauth_token_only),
|
|
10980
|
+
* conditional.require_passkey_above_usd, conditional.require_passkey_for_new_recipient.
|
|
10981
|
+
*/
|
|
10982
|
+
human_factor_auth?: {
|
|
10983
|
+
[key: string]: unknown;
|
|
10984
|
+
};
|
|
10985
|
+
};
|
|
10986
|
+
SiweChallengeRequest: {
|
|
10987
|
+
/** @description Optional SIWE domain override (defaults to platform app's siwe_domain) */
|
|
10988
|
+
domain?: string;
|
|
10989
|
+
};
|
|
10990
|
+
SiweChallengeResponse: {
|
|
10991
|
+
nonce: string;
|
|
10992
|
+
/** @description Seconds until nonce expiry */
|
|
10993
|
+
expires_in: number;
|
|
10994
|
+
domain: string;
|
|
10995
|
+
};
|
|
10996
|
+
ConnectionDetailResponse: {
|
|
10997
|
+
/** Format: uuid */
|
|
10998
|
+
connection_id: string;
|
|
10999
|
+
/** Format: uuid */
|
|
11000
|
+
user_id: string;
|
|
11001
|
+
status: string;
|
|
11002
|
+
entitlement_status: string;
|
|
11003
|
+
wallet_address?: string | null;
|
|
11004
|
+
vault_ids: string[];
|
|
11005
|
+
agent_ids: string[];
|
|
11006
|
+
/** Format: date-time */
|
|
11007
|
+
claimed_at?: string | null;
|
|
11008
|
+
claim: components["schemas"]["ClaimStatusResponse"];
|
|
11009
|
+
};
|
|
11010
|
+
ClaimStatusResponse: {
|
|
11011
|
+
/** @enum {string} */
|
|
11012
|
+
status: "pending" | "active" | "claimed";
|
|
11013
|
+
/** Format: date-time */
|
|
11014
|
+
redeemed_at?: string | null;
|
|
11015
|
+
};
|
|
11016
|
+
ConnectionUsageResponse: {
|
|
11017
|
+
/** Format: uuid */
|
|
11018
|
+
connection_id: string;
|
|
11019
|
+
/** @description UTC month (YYYY-MM) */
|
|
11020
|
+
period: string;
|
|
11021
|
+
inference_spent_usd: string;
|
|
11022
|
+
};
|
|
11023
|
+
EntitlementsListResponse: {
|
|
11024
|
+
evaluations: components["schemas"]["EntitlementEvaluationResponse"][];
|
|
11025
|
+
};
|
|
11026
|
+
EntitlementEvaluationResponse: {
|
|
11027
|
+
id: string;
|
|
11028
|
+
status: string;
|
|
11029
|
+
watch_kind: string;
|
|
11030
|
+
chain: string;
|
|
11031
|
+
holder_address: string;
|
|
11032
|
+
last_value_raw?: string | null;
|
|
11033
|
+
/** Format: date-time */
|
|
11034
|
+
last_checked_at?: string | null;
|
|
11035
|
+
};
|
|
11036
|
+
TemplatePreviewRequest: {
|
|
11037
|
+
parameters?: {
|
|
11038
|
+
[key: string]: unknown;
|
|
11039
|
+
};
|
|
11040
|
+
subject?: {
|
|
11041
|
+
user_id?: string;
|
|
11042
|
+
external_subject?: string;
|
|
11043
|
+
wallet_address?: string;
|
|
11044
|
+
email?: string;
|
|
11045
|
+
};
|
|
11046
|
+
};
|
|
11047
|
+
TemplatePreviewResponse: {
|
|
11048
|
+
resolved_spec: {
|
|
11049
|
+
[key: string]: unknown;
|
|
11050
|
+
};
|
|
11051
|
+
};
|
|
11052
|
+
InferenceBudgetResponse: {
|
|
11053
|
+
allowance_usd: string;
|
|
11054
|
+
spent_usd: string;
|
|
11055
|
+
remaining_usd: string;
|
|
11056
|
+
reserved_pct: number;
|
|
11057
|
+
max_request_cost_usd: string;
|
|
11058
|
+
/** Format: date-time */
|
|
11059
|
+
period_end: string;
|
|
11060
|
+
/** Format: uuid */
|
|
11061
|
+
connection_id?: string | null;
|
|
11062
|
+
};
|
|
11063
|
+
InferenceBudgetUnconfiguredResponse: {
|
|
11064
|
+
allowance_usd?: string | null;
|
|
11065
|
+
remaining_usd?: unknown;
|
|
11066
|
+
message?: string;
|
|
10239
11067
|
};
|
|
10240
11068
|
SpendPolicyResponse: {
|
|
10241
11069
|
/** Format: uuid */
|
|
@@ -10251,9 +11079,84 @@ export interface components {
|
|
|
10251
11079
|
allowed_chains?: string[];
|
|
10252
11080
|
allowed_tokens?: string[];
|
|
10253
11081
|
max_transactions_per_day?: number | null;
|
|
11082
|
+
inference_allowance_usd?: string | null;
|
|
11083
|
+
inference_reserved_pct?: number | null;
|
|
11084
|
+
inference_hard_stop?: boolean | null;
|
|
11085
|
+
inference_allowance_mode?: string | null;
|
|
11086
|
+
max_request_cost_usd?: string | null;
|
|
11087
|
+
human_factor_auth?: {
|
|
11088
|
+
[key: string]: unknown;
|
|
11089
|
+
} | null;
|
|
10254
11090
|
/** Format: date-time */
|
|
10255
11091
|
created_at: string;
|
|
10256
11092
|
};
|
|
11093
|
+
HumanFactorAuthPolicy: {
|
|
11094
|
+
/** @enum {string} */
|
|
11095
|
+
send?: "password_or_passkey" | "passkey_only" | "passkey_required" | "password_only" | "reauth_token_only";
|
|
11096
|
+
/** @enum {string} */
|
|
11097
|
+
swap?: "password_or_passkey" | "passkey_only" | "passkey_required" | "password_only" | "reauth_token_only";
|
|
11098
|
+
/** @enum {string} */
|
|
11099
|
+
export?: "password_or_passkey" | "passkey_only" | "passkey_required" | "password_only" | "reauth_token_only";
|
|
11100
|
+
conditional?: {
|
|
11101
|
+
require_passkey_above_usd?: string | null;
|
|
11102
|
+
require_passkey_for_new_recipient?: boolean;
|
|
11103
|
+
};
|
|
11104
|
+
};
|
|
11105
|
+
UpsertHumanFactorAuthRequest: {
|
|
11106
|
+
policy: components["schemas"]["HumanFactorAuthPolicy"];
|
|
11107
|
+
};
|
|
11108
|
+
HumanFactorAuthResponse: {
|
|
11109
|
+
policy: components["schemas"]["HumanFactorAuthPolicy"];
|
|
11110
|
+
/** @description user | platform_app | spend_policy | default */
|
|
11111
|
+
source: string;
|
|
11112
|
+
};
|
|
11113
|
+
TreasuryAuthPolicyResponse: {
|
|
11114
|
+
policy: components["schemas"]["HumanFactorAuthPolicy"];
|
|
11115
|
+
/** @description user | platform_app | spend_policy | default */
|
|
11116
|
+
source: string;
|
|
11117
|
+
/** @description Number of WebAuthn passkeys registered for the calling user. */
|
|
11118
|
+
registered_passkeys: number;
|
|
11119
|
+
};
|
|
11120
|
+
PasskeyTxAssertBeginRequest: {
|
|
11121
|
+
/** @description 64-char hex SHA-256 of canonical send or swap params */
|
|
11122
|
+
tx_digest: string;
|
|
11123
|
+
/**
|
|
11124
|
+
* @description Treasury action being authorized. Defaults to `send`.
|
|
11125
|
+
* @default send
|
|
11126
|
+
* @enum {string}
|
|
11127
|
+
*/
|
|
11128
|
+
action: "send" | "swap";
|
|
11129
|
+
};
|
|
11130
|
+
PasskeyAssertBeginResponse: {
|
|
11131
|
+
challenge: string;
|
|
11132
|
+
rp_id: string;
|
|
11133
|
+
timeout: number;
|
|
11134
|
+
user_verification: string;
|
|
11135
|
+
allow_credentials: components["schemas"]["AllowCredential"][];
|
|
11136
|
+
};
|
|
11137
|
+
AllowCredential: {
|
|
11138
|
+
id: string;
|
|
11139
|
+
/** @enum {string} */
|
|
11140
|
+
type: "public-key";
|
|
11141
|
+
transports?: string[];
|
|
11142
|
+
};
|
|
11143
|
+
MfaPasskeyCompleteRequest: {
|
|
11144
|
+
mfa_token: string;
|
|
11145
|
+
credential_id: string;
|
|
11146
|
+
authenticator_data: string;
|
|
11147
|
+
client_data_json: string;
|
|
11148
|
+
signature: string;
|
|
11149
|
+
};
|
|
11150
|
+
GuardrailWideningQueuedResponse: {
|
|
11151
|
+
/** @enum {string} */
|
|
11152
|
+
status: "awaiting_approval";
|
|
11153
|
+
/** Format: uuid */
|
|
11154
|
+
approval_id: string;
|
|
11155
|
+
/** Format: uuid */
|
|
11156
|
+
revision_id: string;
|
|
11157
|
+
/** @description Human-readable explanation of the queued change. */
|
|
11158
|
+
message: string;
|
|
11159
|
+
};
|
|
10257
11160
|
RiskEvent: {
|
|
10258
11161
|
/** Format: uuid */
|
|
10259
11162
|
id: string;
|
|
@@ -10383,6 +11286,11 @@ export interface components {
|
|
|
10383
11286
|
[key: string]: unknown;
|
|
10384
11287
|
};
|
|
10385
11288
|
credential_source?: components["schemas"]["CredentialSource"];
|
|
11289
|
+
/**
|
|
11290
|
+
* Format: uuid
|
|
11291
|
+
* @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.
|
|
11292
|
+
*/
|
|
11293
|
+
approval_id?: string;
|
|
10386
11294
|
};
|
|
10387
11295
|
/** @description Per-binding execution guardrails enforced at execute time. */
|
|
10388
11296
|
BindingGuardrails: {
|
|
@@ -11339,6 +12247,149 @@ export interface components {
|
|
|
11339
12247
|
/** Format: date-time */
|
|
11340
12248
|
created_at?: string;
|
|
11341
12249
|
};
|
|
12250
|
+
GuardrailShadowReportResponse: {
|
|
12251
|
+
/** Format: uuid */
|
|
12252
|
+
org_id?: string;
|
|
12253
|
+
/** Format: date-time */
|
|
12254
|
+
since?: string;
|
|
12255
|
+
/** Format: date-time */
|
|
12256
|
+
until?: string;
|
|
12257
|
+
/** Format: int64 */
|
|
12258
|
+
total_would_deny?: number;
|
|
12259
|
+
by_reason?: components["schemas"]["GuardrailShadowReasonRow"][];
|
|
12260
|
+
};
|
|
12261
|
+
GuardrailShadowReasonRow: {
|
|
12262
|
+
reason_code?: string;
|
|
12263
|
+
/** Format: int64 */
|
|
12264
|
+
would_deny_count?: number;
|
|
12265
|
+
/** Format: int64 */
|
|
12266
|
+
enforced_count?: number;
|
|
12267
|
+
};
|
|
12268
|
+
GuardrailRevisionListResponse: {
|
|
12269
|
+
revisions?: components["schemas"]["GuardrailRevisionRow"][];
|
|
12270
|
+
};
|
|
12271
|
+
GuardrailRevisionRow: {
|
|
12272
|
+
/** Format: uuid */
|
|
12273
|
+
id?: string;
|
|
12274
|
+
/** Format: uuid */
|
|
12275
|
+
org_id?: string;
|
|
12276
|
+
/** @enum {string} */
|
|
12277
|
+
resource_type?: "agent" | "binding";
|
|
12278
|
+
/** Format: uuid */
|
|
12279
|
+
resource_id?: string;
|
|
12280
|
+
/** Format: uuid */
|
|
12281
|
+
actor_id?: string;
|
|
12282
|
+
before_json?: {
|
|
12283
|
+
[key: string]: unknown;
|
|
12284
|
+
};
|
|
12285
|
+
after_json?: {
|
|
12286
|
+
[key: string]: unknown;
|
|
12287
|
+
};
|
|
12288
|
+
/** @enum {string} */
|
|
12289
|
+
change_kind?: "narrowing" | "widening" | "neutral";
|
|
12290
|
+
/** Format: uuid */
|
|
12291
|
+
approval_id?: string | null;
|
|
12292
|
+
/** Format: date-time */
|
|
12293
|
+
created_at?: string;
|
|
12294
|
+
};
|
|
12295
|
+
GuardrailReplayRequest: {
|
|
12296
|
+
days?: number;
|
|
12297
|
+
draft_guardrails?: {
|
|
12298
|
+
[key: string]: unknown;
|
|
12299
|
+
};
|
|
12300
|
+
draft_approval_policy?: {
|
|
12301
|
+
[key: string]: unknown;
|
|
12302
|
+
};
|
|
12303
|
+
};
|
|
12304
|
+
GuardrailReplayResponse: {
|
|
12305
|
+
/** Format: uuid */
|
|
12306
|
+
agent_id?: string;
|
|
12307
|
+
/** Format: int64 */
|
|
12308
|
+
window_days?: number;
|
|
12309
|
+
/** Format: int64 */
|
|
12310
|
+
allowed?: number;
|
|
12311
|
+
/** Format: int64 */
|
|
12312
|
+
denied?: number;
|
|
12313
|
+
/** Format: int64 */
|
|
12314
|
+
would_require_approval?: number;
|
|
12315
|
+
samples?: {
|
|
12316
|
+
[key: string]: unknown;
|
|
12317
|
+
}[];
|
|
12318
|
+
};
|
|
12319
|
+
AgentAccountListResponse: {
|
|
12320
|
+
accounts?: components["schemas"]["AgentAccountResponse"][];
|
|
12321
|
+
};
|
|
12322
|
+
AgentAccountResponse: {
|
|
12323
|
+
/** Format: uuid */
|
|
12324
|
+
id?: string;
|
|
12325
|
+
/** Format: uuid */
|
|
12326
|
+
org_id?: string;
|
|
12327
|
+
/** Format: uuid */
|
|
12328
|
+
agent_id?: string;
|
|
12329
|
+
chain?: string;
|
|
12330
|
+
account_type?: string;
|
|
12331
|
+
address?: string;
|
|
12332
|
+
safe_version?: string;
|
|
12333
|
+
modules_enabled?: string[];
|
|
12334
|
+
deploy_status?: string;
|
|
12335
|
+
cosign_enabled?: boolean;
|
|
12336
|
+
metadata?: Record<string, never>;
|
|
12337
|
+
/** Format: date-time */
|
|
12338
|
+
created_at?: string;
|
|
12339
|
+
/** Format: date-time */
|
|
12340
|
+
updated_at?: string;
|
|
12341
|
+
};
|
|
12342
|
+
MigrationPlanResponse: {
|
|
12343
|
+
/** Format: uuid */
|
|
12344
|
+
agent_id?: string;
|
|
12345
|
+
chain?: string;
|
|
12346
|
+
safe_address?: string;
|
|
12347
|
+
safe_version?: string;
|
|
12348
|
+
modules?: string[];
|
|
12349
|
+
eoa_address?: string;
|
|
12350
|
+
sweep_instructions?: {
|
|
12351
|
+
asset?: string;
|
|
12352
|
+
action?: string;
|
|
12353
|
+
note?: string;
|
|
12354
|
+
}[];
|
|
12355
|
+
roles_config_hash?: string;
|
|
12356
|
+
allowance_config_hash?: string;
|
|
12357
|
+
warnings?: string[];
|
|
12358
|
+
deploy_status?: string;
|
|
12359
|
+
};
|
|
12360
|
+
ProvisionAgentAccountRequest: {
|
|
12361
|
+
chain: string;
|
|
12362
|
+
/** @default eoa */
|
|
12363
|
+
account_type: string;
|
|
12364
|
+
address?: string;
|
|
12365
|
+
};
|
|
12366
|
+
SafeModuleRegistryResponse: {
|
|
12367
|
+
chain?: string;
|
|
12368
|
+
modules?: components["schemas"]["SafeModuleInfo"][];
|
|
12369
|
+
};
|
|
12370
|
+
SafeModuleInfo: {
|
|
12371
|
+
name?: string;
|
|
12372
|
+
address?: string;
|
|
12373
|
+
version?: string;
|
|
12374
|
+
};
|
|
12375
|
+
AllowanceReconcileReport: {
|
|
12376
|
+
/** Format: uuid */
|
|
12377
|
+
org_id?: string;
|
|
12378
|
+
agents_checked?: number;
|
|
12379
|
+
compiled?: {
|
|
12380
|
+
[key: string]: unknown;
|
|
12381
|
+
}[];
|
|
12382
|
+
drift_detected?: {
|
|
12383
|
+
[key: string]: unknown;
|
|
12384
|
+
}[];
|
|
12385
|
+
/** @description counterfactual when on-chain broadcast is stubbed pre-audit */
|
|
12386
|
+
onchain_sync?: string;
|
|
12387
|
+
};
|
|
12388
|
+
NotImplementedResponse: {
|
|
12389
|
+
error: string;
|
|
12390
|
+
phase: string;
|
|
12391
|
+
message: string;
|
|
12392
|
+
};
|
|
11342
12393
|
CreateContractAbiRequest: {
|
|
11343
12394
|
chain: string;
|
|
11344
12395
|
/** @description Contract address, or Solana program id when interface_kind is solana_idl */
|
|
@@ -12861,6 +13912,7 @@ export interface operations {
|
|
|
12861
13912
|
content: {
|
|
12862
13913
|
"application/json": {
|
|
12863
13914
|
require_passkey_for_vaults?: boolean;
|
|
13915
|
+
require_passkey_for_mfa?: boolean;
|
|
12864
13916
|
passkey_count?: number;
|
|
12865
13917
|
};
|
|
12866
13918
|
};
|
|
@@ -12880,6 +13932,7 @@ export interface operations {
|
|
|
12880
13932
|
content: {
|
|
12881
13933
|
"application/json": {
|
|
12882
13934
|
require_passkey_for_vaults?: boolean;
|
|
13935
|
+
require_passkey_for_mfa?: boolean;
|
|
12883
13936
|
};
|
|
12884
13937
|
};
|
|
12885
13938
|
};
|
|
@@ -12894,7 +13947,7 @@ export interface operations {
|
|
|
12894
13947
|
403: components["responses"]["Forbidden"];
|
|
12895
13948
|
};
|
|
12896
13949
|
};
|
|
12897
|
-
|
|
13950
|
+
getHumanFactorAuth: {
|
|
12898
13951
|
parameters: {
|
|
12899
13952
|
query?: never;
|
|
12900
13953
|
header?: never;
|
|
@@ -12903,51 +13956,97 @@ export interface operations {
|
|
|
12903
13956
|
};
|
|
12904
13957
|
requestBody?: never;
|
|
12905
13958
|
responses: {
|
|
12906
|
-
/** @description
|
|
13959
|
+
/** @description Effective HFA policy */
|
|
12907
13960
|
200: {
|
|
12908
13961
|
headers: {
|
|
12909
13962
|
[name: string]: unknown;
|
|
12910
13963
|
};
|
|
12911
13964
|
content: {
|
|
12912
|
-
"application/json": components["schemas"]["
|
|
13965
|
+
"application/json": components["schemas"]["HumanFactorAuthResponse"];
|
|
12913
13966
|
};
|
|
12914
13967
|
};
|
|
13968
|
+
403: components["responses"]["Forbidden"];
|
|
12915
13969
|
};
|
|
12916
13970
|
};
|
|
12917
|
-
|
|
13971
|
+
upsertHumanFactorAuth: {
|
|
12918
13972
|
parameters: {
|
|
12919
13973
|
query?: never;
|
|
12920
13974
|
header?: never;
|
|
12921
13975
|
path?: never;
|
|
12922
13976
|
cookie?: never;
|
|
12923
13977
|
};
|
|
12924
|
-
requestBody
|
|
13978
|
+
requestBody: {
|
|
13979
|
+
content: {
|
|
13980
|
+
"application/json": components["schemas"]["UpsertHumanFactorAuthRequest"];
|
|
13981
|
+
};
|
|
13982
|
+
};
|
|
12925
13983
|
responses: {
|
|
12926
|
-
/** @description
|
|
13984
|
+
/** @description Updated policy */
|
|
12927
13985
|
200: {
|
|
12928
13986
|
headers: {
|
|
12929
13987
|
[name: string]: unknown;
|
|
12930
13988
|
};
|
|
12931
13989
|
content: {
|
|
12932
|
-
"application/json": components["schemas"]["
|
|
13990
|
+
"application/json": components["schemas"]["HumanFactorAuthResponse"];
|
|
12933
13991
|
};
|
|
12934
13992
|
};
|
|
13993
|
+
403: components["responses"]["Forbidden"];
|
|
12935
13994
|
};
|
|
12936
13995
|
};
|
|
12937
|
-
|
|
13996
|
+
mfaStatus: {
|
|
12938
13997
|
parameters: {
|
|
12939
13998
|
query?: never;
|
|
12940
13999
|
header?: never;
|
|
12941
14000
|
path?: never;
|
|
12942
14001
|
cookie?: never;
|
|
12943
14002
|
};
|
|
12944
|
-
requestBody
|
|
12945
|
-
content: {
|
|
12946
|
-
"application/json": components["schemas"]["MfaVerifySetupRequest"];
|
|
12947
|
-
};
|
|
12948
|
-
};
|
|
14003
|
+
requestBody?: never;
|
|
12949
14004
|
responses: {
|
|
12950
|
-
/** @description MFA
|
|
14005
|
+
/** @description MFA status */
|
|
14006
|
+
200: {
|
|
14007
|
+
headers: {
|
|
14008
|
+
[name: string]: unknown;
|
|
14009
|
+
};
|
|
14010
|
+
content: {
|
|
14011
|
+
"application/json": components["schemas"]["MfaStatusResponse"];
|
|
14012
|
+
};
|
|
14013
|
+
};
|
|
14014
|
+
};
|
|
14015
|
+
};
|
|
14016
|
+
mfaSetup: {
|
|
14017
|
+
parameters: {
|
|
14018
|
+
query?: never;
|
|
14019
|
+
header?: never;
|
|
14020
|
+
path?: never;
|
|
14021
|
+
cookie?: never;
|
|
14022
|
+
};
|
|
14023
|
+
requestBody?: never;
|
|
14024
|
+
responses: {
|
|
14025
|
+
/** @description TOTP setup details */
|
|
14026
|
+
200: {
|
|
14027
|
+
headers: {
|
|
14028
|
+
[name: string]: unknown;
|
|
14029
|
+
};
|
|
14030
|
+
content: {
|
|
14031
|
+
"application/json": components["schemas"]["MfaSetupResponse"];
|
|
14032
|
+
};
|
|
14033
|
+
};
|
|
14034
|
+
};
|
|
14035
|
+
};
|
|
14036
|
+
mfaVerifySetup: {
|
|
14037
|
+
parameters: {
|
|
14038
|
+
query?: never;
|
|
14039
|
+
header?: never;
|
|
14040
|
+
path?: never;
|
|
14041
|
+
cookie?: never;
|
|
14042
|
+
};
|
|
14043
|
+
requestBody: {
|
|
14044
|
+
content: {
|
|
14045
|
+
"application/json": components["schemas"]["MfaVerifySetupRequest"];
|
|
14046
|
+
};
|
|
14047
|
+
};
|
|
14048
|
+
responses: {
|
|
14049
|
+
/** @description MFA enabled, recovery codes returned */
|
|
12951
14050
|
200: {
|
|
12952
14051
|
headers: {
|
|
12953
14052
|
[name: string]: unknown;
|
|
@@ -12984,6 +14083,58 @@ export interface operations {
|
|
|
12984
14083
|
401: components["responses"]["Unauthorized"];
|
|
12985
14084
|
};
|
|
12986
14085
|
};
|
|
14086
|
+
mfaPasskeyBegin: {
|
|
14087
|
+
parameters: {
|
|
14088
|
+
query?: never;
|
|
14089
|
+
header?: never;
|
|
14090
|
+
path?: never;
|
|
14091
|
+
cookie?: never;
|
|
14092
|
+
};
|
|
14093
|
+
requestBody: {
|
|
14094
|
+
content: {
|
|
14095
|
+
"application/json": {
|
|
14096
|
+
mfa_token: string;
|
|
14097
|
+
};
|
|
14098
|
+
};
|
|
14099
|
+
};
|
|
14100
|
+
responses: {
|
|
14101
|
+
/** @description WebAuthn challenge */
|
|
14102
|
+
200: {
|
|
14103
|
+
headers: {
|
|
14104
|
+
[name: string]: unknown;
|
|
14105
|
+
};
|
|
14106
|
+
content: {
|
|
14107
|
+
"application/json": components["schemas"]["PasskeyAssertBeginResponse"];
|
|
14108
|
+
};
|
|
14109
|
+
};
|
|
14110
|
+
400: components["responses"]["BadRequest"];
|
|
14111
|
+
};
|
|
14112
|
+
};
|
|
14113
|
+
mfaPasskeyComplete: {
|
|
14114
|
+
parameters: {
|
|
14115
|
+
query?: never;
|
|
14116
|
+
header?: never;
|
|
14117
|
+
path?: never;
|
|
14118
|
+
cookie?: never;
|
|
14119
|
+
};
|
|
14120
|
+
requestBody: {
|
|
14121
|
+
content: {
|
|
14122
|
+
"application/json": components["schemas"]["MfaPasskeyCompleteRequest"];
|
|
14123
|
+
};
|
|
14124
|
+
};
|
|
14125
|
+
responses: {
|
|
14126
|
+
/** @description MFA verified, JWT issued */
|
|
14127
|
+
200: {
|
|
14128
|
+
headers: {
|
|
14129
|
+
[name: string]: unknown;
|
|
14130
|
+
};
|
|
14131
|
+
content: {
|
|
14132
|
+
"application/json": components["schemas"]["TokenResponse"];
|
|
14133
|
+
};
|
|
14134
|
+
};
|
|
14135
|
+
401: components["responses"]["Unauthorized"];
|
|
14136
|
+
};
|
|
14137
|
+
};
|
|
12987
14138
|
mfaDisable: {
|
|
12988
14139
|
parameters: {
|
|
12989
14140
|
query?: never;
|
|
@@ -14354,6 +15505,20 @@ export interface operations {
|
|
|
14354
15505
|
"application/json": components["schemas"]["AgentResponse"];
|
|
14355
15506
|
};
|
|
14356
15507
|
};
|
|
15508
|
+
/**
|
|
15509
|
+
* @description Guardrail widening queued for human approval. The change is not
|
|
15510
|
+
* applied until approved via POST /v1/approvals/{approval_id}/decide.
|
|
15511
|
+
* Resubmit this PATCH with `approval_id` set to the returned value
|
|
15512
|
+
* after approval to apply the widening.
|
|
15513
|
+
*/
|
|
15514
|
+
202: {
|
|
15515
|
+
headers: {
|
|
15516
|
+
[name: string]: unknown;
|
|
15517
|
+
};
|
|
15518
|
+
content: {
|
|
15519
|
+
"application/json": components["schemas"]["GuardrailWideningQueuedResponse"];
|
|
15520
|
+
};
|
|
15521
|
+
};
|
|
14357
15522
|
404: components["responses"]["NotFound"];
|
|
14358
15523
|
};
|
|
14359
15524
|
};
|
|
@@ -14638,195 +15803,533 @@ export interface operations {
|
|
|
14638
15803
|
402: components["responses"]["PaymentRequired"];
|
|
14639
15804
|
};
|
|
14640
15805
|
};
|
|
14641
|
-
listSigningKeys: {
|
|
15806
|
+
listSigningKeys: {
|
|
15807
|
+
parameters: {
|
|
15808
|
+
query?: never;
|
|
15809
|
+
header?: never;
|
|
15810
|
+
path: {
|
|
15811
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15812
|
+
};
|
|
15813
|
+
cookie?: never;
|
|
15814
|
+
};
|
|
15815
|
+
requestBody?: never;
|
|
15816
|
+
responses: {
|
|
15817
|
+
/** @description Signing keys list */
|
|
15818
|
+
200: {
|
|
15819
|
+
headers: {
|
|
15820
|
+
[name: string]: unknown;
|
|
15821
|
+
};
|
|
15822
|
+
content: {
|
|
15823
|
+
"application/json": components["schemas"]["SigningKeyListResponse"];
|
|
15824
|
+
};
|
|
15825
|
+
};
|
|
15826
|
+
};
|
|
15827
|
+
};
|
|
15828
|
+
createSigningKey: {
|
|
15829
|
+
parameters: {
|
|
15830
|
+
query?: never;
|
|
15831
|
+
header?: never;
|
|
15832
|
+
path: {
|
|
15833
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15834
|
+
};
|
|
15835
|
+
cookie?: never;
|
|
15836
|
+
};
|
|
15837
|
+
requestBody: {
|
|
15838
|
+
content: {
|
|
15839
|
+
"application/json": components["schemas"]["CreateSigningKeyRequest"];
|
|
15840
|
+
};
|
|
15841
|
+
};
|
|
15842
|
+
responses: {
|
|
15843
|
+
/** @description Signing key created */
|
|
15844
|
+
201: {
|
|
15845
|
+
headers: {
|
|
15846
|
+
[name: string]: unknown;
|
|
15847
|
+
};
|
|
15848
|
+
content: {
|
|
15849
|
+
"application/json": components["schemas"]["SigningKeyResponse"];
|
|
15850
|
+
};
|
|
15851
|
+
};
|
|
15852
|
+
400: components["responses"]["BadRequest"];
|
|
15853
|
+
409: components["responses"]["Conflict"];
|
|
15854
|
+
};
|
|
15855
|
+
};
|
|
15856
|
+
rotateSigningKey: {
|
|
15857
|
+
parameters: {
|
|
15858
|
+
query?: never;
|
|
15859
|
+
header?: never;
|
|
15860
|
+
path: {
|
|
15861
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15862
|
+
chain: string;
|
|
15863
|
+
};
|
|
15864
|
+
cookie?: never;
|
|
15865
|
+
};
|
|
15866
|
+
requestBody?: never;
|
|
15867
|
+
responses: {
|
|
15868
|
+
/** @description Rotated signing key */
|
|
15869
|
+
200: {
|
|
15870
|
+
headers: {
|
|
15871
|
+
[name: string]: unknown;
|
|
15872
|
+
};
|
|
15873
|
+
content: {
|
|
15874
|
+
"application/json": components["schemas"]["SigningKeyResponse"];
|
|
15875
|
+
};
|
|
15876
|
+
};
|
|
15877
|
+
404: components["responses"]["NotFound"];
|
|
15878
|
+
};
|
|
15879
|
+
};
|
|
15880
|
+
deactivateSigningKey: {
|
|
15881
|
+
parameters: {
|
|
15882
|
+
query?: never;
|
|
15883
|
+
header?: never;
|
|
15884
|
+
path: {
|
|
15885
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15886
|
+
chain: string;
|
|
15887
|
+
};
|
|
15888
|
+
cookie?: never;
|
|
15889
|
+
};
|
|
15890
|
+
requestBody?: never;
|
|
15891
|
+
responses: {
|
|
15892
|
+
/** @description Key deactivated */
|
|
15893
|
+
204: {
|
|
15894
|
+
headers: {
|
|
15895
|
+
[name: string]: unknown;
|
|
15896
|
+
};
|
|
15897
|
+
content?: never;
|
|
15898
|
+
};
|
|
15899
|
+
404: components["responses"]["NotFound"];
|
|
15900
|
+
};
|
|
15901
|
+
};
|
|
15902
|
+
exportSigningKey: {
|
|
15903
|
+
parameters: {
|
|
15904
|
+
query?: never;
|
|
15905
|
+
header: {
|
|
15906
|
+
/** @description Account password for re-authentication */
|
|
15907
|
+
"X-Auth-Confirm": string;
|
|
15908
|
+
};
|
|
15909
|
+
path: {
|
|
15910
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15911
|
+
chain: string;
|
|
15912
|
+
};
|
|
15913
|
+
cookie?: never;
|
|
15914
|
+
};
|
|
15915
|
+
requestBody?: never;
|
|
15916
|
+
responses: {
|
|
15917
|
+
/** @description Signing key exported successfully */
|
|
15918
|
+
200: {
|
|
15919
|
+
headers: {
|
|
15920
|
+
[name: string]: unknown;
|
|
15921
|
+
};
|
|
15922
|
+
content: {
|
|
15923
|
+
"application/json": {
|
|
15924
|
+
chain: string;
|
|
15925
|
+
curve: string;
|
|
15926
|
+
public_key: string;
|
|
15927
|
+
address?: string;
|
|
15928
|
+
private_key: string;
|
|
15929
|
+
key_version: number;
|
|
15930
|
+
/** Format: uuid */
|
|
15931
|
+
agent_id: string;
|
|
15932
|
+
};
|
|
15933
|
+
};
|
|
15934
|
+
};
|
|
15935
|
+
403: components["responses"]["Forbidden"];
|
|
15936
|
+
404: components["responses"]["NotFound"];
|
|
15937
|
+
};
|
|
15938
|
+
};
|
|
15939
|
+
getSigningKeyBalance: {
|
|
15940
|
+
parameters: {
|
|
15941
|
+
query?: never;
|
|
15942
|
+
header?: never;
|
|
15943
|
+
path: {
|
|
15944
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15945
|
+
chain: string;
|
|
15946
|
+
};
|
|
15947
|
+
cookie?: never;
|
|
15948
|
+
};
|
|
15949
|
+
requestBody?: never;
|
|
15950
|
+
responses: {
|
|
15951
|
+
/** @description Signing key balance */
|
|
15952
|
+
200: {
|
|
15953
|
+
headers: {
|
|
15954
|
+
[name: string]: unknown;
|
|
15955
|
+
};
|
|
15956
|
+
content: {
|
|
15957
|
+
"application/json": components["schemas"]["SigningKeyBalanceResponse"];
|
|
15958
|
+
};
|
|
15959
|
+
};
|
|
15960
|
+
401: components["responses"]["Unauthorized"];
|
|
15961
|
+
403: components["responses"]["Forbidden"];
|
|
15962
|
+
404: components["responses"]["NotFound"];
|
|
15963
|
+
};
|
|
15964
|
+
};
|
|
15965
|
+
importSigningKey: {
|
|
15966
|
+
parameters: {
|
|
15967
|
+
query?: never;
|
|
15968
|
+
header?: never;
|
|
15969
|
+
path: {
|
|
15970
|
+
agent_id: components["parameters"]["AgentId"];
|
|
15971
|
+
chain: string;
|
|
15972
|
+
};
|
|
15973
|
+
cookie?: never;
|
|
15974
|
+
};
|
|
15975
|
+
requestBody: {
|
|
15976
|
+
content: {
|
|
15977
|
+
"application/json": components["schemas"]["ImportKeyRequest"];
|
|
15978
|
+
};
|
|
15979
|
+
};
|
|
15980
|
+
responses: {
|
|
15981
|
+
/** @description Signing key imported */
|
|
15982
|
+
201: {
|
|
15983
|
+
headers: {
|
|
15984
|
+
[name: string]: unknown;
|
|
15985
|
+
};
|
|
15986
|
+
content: {
|
|
15987
|
+
"application/json": components["schemas"]["SigningKeyResponse"];
|
|
15988
|
+
};
|
|
15989
|
+
};
|
|
15990
|
+
401: components["responses"]["Unauthorized"];
|
|
15991
|
+
403: components["responses"]["Forbidden"];
|
|
15992
|
+
};
|
|
15993
|
+
};
|
|
15994
|
+
leaseBankrKey: {
|
|
15995
|
+
parameters: {
|
|
15996
|
+
query?: never;
|
|
15997
|
+
header?: never;
|
|
15998
|
+
path: {
|
|
15999
|
+
agent_id: components["parameters"]["AgentId"];
|
|
16000
|
+
};
|
|
16001
|
+
cookie?: never;
|
|
16002
|
+
};
|
|
16003
|
+
requestBody?: {
|
|
16004
|
+
content: {
|
|
16005
|
+
"application/json": components["schemas"]["LeaseBankrKeyRequest"];
|
|
16006
|
+
};
|
|
16007
|
+
};
|
|
16008
|
+
responses: {
|
|
16009
|
+
/** @description Bankr key leased */
|
|
16010
|
+
201: {
|
|
16011
|
+
headers: {
|
|
16012
|
+
[name: string]: unknown;
|
|
16013
|
+
};
|
|
16014
|
+
content: {
|
|
16015
|
+
"application/json": components["schemas"]["LeaseBankrKeyResponse"];
|
|
16016
|
+
};
|
|
16017
|
+
};
|
|
16018
|
+
400: components["responses"]["BadRequest"];
|
|
16019
|
+
403: components["responses"]["Forbidden"];
|
|
16020
|
+
};
|
|
16021
|
+
};
|
|
16022
|
+
listBankrKeys: {
|
|
16023
|
+
parameters: {
|
|
16024
|
+
query?: never;
|
|
16025
|
+
header?: never;
|
|
16026
|
+
path: {
|
|
16027
|
+
agent_id: components["parameters"]["AgentId"];
|
|
16028
|
+
};
|
|
16029
|
+
cookie?: never;
|
|
16030
|
+
};
|
|
16031
|
+
requestBody?: never;
|
|
16032
|
+
responses: {
|
|
16033
|
+
/** @description Active leases (no secret values) */
|
|
16034
|
+
200: {
|
|
16035
|
+
headers: {
|
|
16036
|
+
[name: string]: unknown;
|
|
16037
|
+
};
|
|
16038
|
+
content: {
|
|
16039
|
+
"application/json": components["schemas"]["BankrKeyLeaseListResponse"];
|
|
16040
|
+
};
|
|
16041
|
+
};
|
|
16042
|
+
404: components["responses"]["NotFound"];
|
|
16043
|
+
};
|
|
16044
|
+
};
|
|
16045
|
+
revokeBankrKey: {
|
|
16046
|
+
parameters: {
|
|
16047
|
+
query?: never;
|
|
16048
|
+
header?: never;
|
|
16049
|
+
path: {
|
|
16050
|
+
agent_id: components["parameters"]["AgentId"];
|
|
16051
|
+
lease_id: string;
|
|
16052
|
+
};
|
|
16053
|
+
cookie?: never;
|
|
16054
|
+
};
|
|
16055
|
+
requestBody?: never;
|
|
16056
|
+
responses: {
|
|
16057
|
+
/** @description Lease revoked */
|
|
16058
|
+
204: {
|
|
16059
|
+
headers: {
|
|
16060
|
+
[name: string]: unknown;
|
|
16061
|
+
};
|
|
16062
|
+
content?: never;
|
|
16063
|
+
};
|
|
16064
|
+
404: components["responses"]["NotFound"];
|
|
16065
|
+
};
|
|
16066
|
+
};
|
|
16067
|
+
listAgentAccounts: {
|
|
16068
|
+
parameters: {
|
|
16069
|
+
query?: never;
|
|
16070
|
+
header?: never;
|
|
16071
|
+
path: {
|
|
16072
|
+
agent_id: components["parameters"]["AgentId"];
|
|
16073
|
+
};
|
|
16074
|
+
cookie?: never;
|
|
16075
|
+
};
|
|
16076
|
+
requestBody?: never;
|
|
16077
|
+
responses: {
|
|
16078
|
+
/** @description Agent accounts */
|
|
16079
|
+
200: {
|
|
16080
|
+
headers: {
|
|
16081
|
+
[name: string]: unknown;
|
|
16082
|
+
};
|
|
16083
|
+
content: {
|
|
16084
|
+
"application/json": components["schemas"]["AgentAccountListResponse"];
|
|
16085
|
+
};
|
|
16086
|
+
};
|
|
16087
|
+
401: components["responses"]["Unauthorized"];
|
|
16088
|
+
403: components["responses"]["Forbidden"];
|
|
16089
|
+
404: components["responses"]["NotFound"];
|
|
16090
|
+
};
|
|
16091
|
+
};
|
|
16092
|
+
provisionAgentAccount: {
|
|
16093
|
+
parameters: {
|
|
16094
|
+
query?: never;
|
|
16095
|
+
header?: never;
|
|
16096
|
+
path: {
|
|
16097
|
+
agent_id: components["parameters"]["AgentId"];
|
|
16098
|
+
};
|
|
16099
|
+
cookie?: never;
|
|
16100
|
+
};
|
|
16101
|
+
requestBody: {
|
|
16102
|
+
content: {
|
|
16103
|
+
"application/json": components["schemas"]["ProvisionAgentAccountRequest"];
|
|
16104
|
+
};
|
|
16105
|
+
};
|
|
16106
|
+
responses: {
|
|
16107
|
+
/** @description Account provisioned */
|
|
16108
|
+
201: {
|
|
16109
|
+
headers: {
|
|
16110
|
+
[name: string]: unknown;
|
|
16111
|
+
};
|
|
16112
|
+
content: {
|
|
16113
|
+
"application/json": components["schemas"]["AgentAccountResponse"];
|
|
16114
|
+
};
|
|
16115
|
+
};
|
|
16116
|
+
401: components["responses"]["Unauthorized"];
|
|
16117
|
+
403: components["responses"]["Forbidden"];
|
|
16118
|
+
404: components["responses"]["NotFound"];
|
|
16119
|
+
};
|
|
16120
|
+
};
|
|
16121
|
+
migrateAgentToSafe: {
|
|
16122
|
+
parameters: {
|
|
16123
|
+
query?: never;
|
|
16124
|
+
header?: never;
|
|
16125
|
+
path: {
|
|
16126
|
+
agent_id: components["parameters"]["AgentId"];
|
|
16127
|
+
};
|
|
16128
|
+
cookie?: never;
|
|
16129
|
+
};
|
|
16130
|
+
requestBody: {
|
|
16131
|
+
content: {
|
|
16132
|
+
"application/json": {
|
|
16133
|
+
chain: string;
|
|
16134
|
+
deprecate_eoa?: boolean;
|
|
16135
|
+
};
|
|
16136
|
+
};
|
|
16137
|
+
};
|
|
16138
|
+
responses: {
|
|
16139
|
+
/** @description Migration plan */
|
|
16140
|
+
200: {
|
|
16141
|
+
headers: {
|
|
16142
|
+
[name: string]: unknown;
|
|
16143
|
+
};
|
|
16144
|
+
content: {
|
|
16145
|
+
"application/json": components["schemas"]["MigrationPlanResponse"];
|
|
16146
|
+
};
|
|
16147
|
+
};
|
|
16148
|
+
401: components["responses"]["Unauthorized"];
|
|
16149
|
+
403: components["responses"]["Forbidden"];
|
|
16150
|
+
404: components["responses"]["NotFound"];
|
|
16151
|
+
};
|
|
16152
|
+
};
|
|
16153
|
+
deprecateAgentEoa: {
|
|
16154
|
+
parameters: {
|
|
16155
|
+
query?: never;
|
|
16156
|
+
header?: never;
|
|
16157
|
+
path: {
|
|
16158
|
+
agent_id: components["parameters"]["AgentId"];
|
|
16159
|
+
chain: string;
|
|
16160
|
+
};
|
|
16161
|
+
cookie?: never;
|
|
16162
|
+
};
|
|
16163
|
+
requestBody?: never;
|
|
16164
|
+
responses: {
|
|
16165
|
+
/** @description Updated account */
|
|
16166
|
+
200: {
|
|
16167
|
+
headers: {
|
|
16168
|
+
[name: string]: unknown;
|
|
16169
|
+
};
|
|
16170
|
+
content: {
|
|
16171
|
+
"application/json": components["schemas"]["AgentAccountResponse"];
|
|
16172
|
+
};
|
|
16173
|
+
};
|
|
16174
|
+
401: components["responses"]["Unauthorized"];
|
|
16175
|
+
403: components["responses"]["Forbidden"];
|
|
16176
|
+
404: components["responses"]["NotFound"];
|
|
16177
|
+
};
|
|
16178
|
+
};
|
|
16179
|
+
deployAgentSafeAccount: {
|
|
14642
16180
|
parameters: {
|
|
14643
16181
|
query?: never;
|
|
14644
16182
|
header?: never;
|
|
14645
16183
|
path: {
|
|
14646
16184
|
agent_id: components["parameters"]["AgentId"];
|
|
16185
|
+
chain: string;
|
|
14647
16186
|
};
|
|
14648
16187
|
cookie?: never;
|
|
14649
16188
|
};
|
|
14650
16189
|
requestBody?: never;
|
|
14651
16190
|
responses: {
|
|
14652
|
-
|
|
14653
|
-
|
|
16191
|
+
401: components["responses"]["Unauthorized"];
|
|
16192
|
+
403: components["responses"]["Forbidden"];
|
|
16193
|
+
404: components["responses"]["NotFound"];
|
|
16194
|
+
/** @description Not implemented (Phase 5.1) */
|
|
16195
|
+
501: {
|
|
14654
16196
|
headers: {
|
|
14655
16197
|
[name: string]: unknown;
|
|
14656
16198
|
};
|
|
14657
16199
|
content: {
|
|
14658
|
-
"application/json": components["schemas"]["
|
|
16200
|
+
"application/json": components["schemas"]["NotImplementedResponse"];
|
|
14659
16201
|
};
|
|
14660
16202
|
};
|
|
14661
16203
|
};
|
|
14662
16204
|
};
|
|
14663
|
-
|
|
16205
|
+
syncOrgSafeAllowances: {
|
|
14664
16206
|
parameters: {
|
|
14665
16207
|
query?: never;
|
|
14666
16208
|
header?: never;
|
|
14667
|
-
path
|
|
14668
|
-
agent_id: components["parameters"]["AgentId"];
|
|
14669
|
-
};
|
|
16209
|
+
path?: never;
|
|
14670
16210
|
cookie?: never;
|
|
14671
16211
|
};
|
|
14672
|
-
requestBody
|
|
14673
|
-
content: {
|
|
14674
|
-
"application/json": components["schemas"]["CreateSigningKeyRequest"];
|
|
14675
|
-
};
|
|
14676
|
-
};
|
|
16212
|
+
requestBody?: never;
|
|
14677
16213
|
responses: {
|
|
14678
|
-
/** @description
|
|
14679
|
-
|
|
16214
|
+
/** @description Reconciliation report */
|
|
16215
|
+
200: {
|
|
14680
16216
|
headers: {
|
|
14681
16217
|
[name: string]: unknown;
|
|
14682
16218
|
};
|
|
14683
16219
|
content: {
|
|
14684
|
-
"application/json": components["schemas"]["
|
|
16220
|
+
"application/json": components["schemas"]["AllowanceReconcileReport"];
|
|
14685
16221
|
};
|
|
14686
16222
|
};
|
|
14687
|
-
|
|
14688
|
-
|
|
16223
|
+
401: components["responses"]["Unauthorized"];
|
|
16224
|
+
403: components["responses"]["Forbidden"];
|
|
14689
16225
|
};
|
|
14690
16226
|
};
|
|
14691
|
-
|
|
16227
|
+
treasurySafeRolesSync: {
|
|
14692
16228
|
parameters: {
|
|
14693
16229
|
query?: never;
|
|
14694
16230
|
header?: never;
|
|
14695
16231
|
path: {
|
|
14696
|
-
|
|
14697
|
-
chain: string;
|
|
16232
|
+
treasury_id: string;
|
|
14698
16233
|
};
|
|
14699
16234
|
cookie?: never;
|
|
14700
16235
|
};
|
|
14701
16236
|
requestBody?: never;
|
|
14702
16237
|
responses: {
|
|
14703
|
-
|
|
14704
|
-
|
|
16238
|
+
401: components["responses"]["Unauthorized"];
|
|
16239
|
+
403: components["responses"]["Forbidden"];
|
|
16240
|
+
404: components["responses"]["NotFound"];
|
|
16241
|
+
/** @description Not implemented (Phase 5.9) */
|
|
16242
|
+
501: {
|
|
14705
16243
|
headers: {
|
|
14706
16244
|
[name: string]: unknown;
|
|
14707
16245
|
};
|
|
14708
16246
|
content: {
|
|
14709
|
-
"application/json": components["schemas"]["
|
|
16247
|
+
"application/json": components["schemas"]["NotImplementedResponse"];
|
|
14710
16248
|
};
|
|
14711
16249
|
};
|
|
14712
|
-
404: components["responses"]["NotFound"];
|
|
14713
16250
|
};
|
|
14714
16251
|
};
|
|
14715
|
-
|
|
16252
|
+
enableSafeCosign: {
|
|
14716
16253
|
parameters: {
|
|
14717
16254
|
query?: never;
|
|
14718
16255
|
header?: never;
|
|
14719
16256
|
path: {
|
|
14720
16257
|
agent_id: components["parameters"]["AgentId"];
|
|
14721
|
-
chain: string;
|
|
14722
16258
|
};
|
|
14723
16259
|
cookie?: never;
|
|
14724
16260
|
};
|
|
14725
16261
|
requestBody?: never;
|
|
14726
16262
|
responses: {
|
|
14727
|
-
/** @description
|
|
14728
|
-
|
|
16263
|
+
/** @description Not implemented (Phase 5.2) */
|
|
16264
|
+
501: {
|
|
14729
16265
|
headers: {
|
|
14730
16266
|
[name: string]: unknown;
|
|
14731
16267
|
};
|
|
14732
16268
|
content?: never;
|
|
14733
16269
|
};
|
|
14734
|
-
404: components["responses"]["NotFound"];
|
|
14735
16270
|
};
|
|
14736
16271
|
};
|
|
14737
|
-
|
|
16272
|
+
enrollSafePasskeyOwner: {
|
|
14738
16273
|
parameters: {
|
|
14739
16274
|
query?: never;
|
|
14740
|
-
header
|
|
14741
|
-
/** @description Account password for re-authentication */
|
|
14742
|
-
"X-Auth-Confirm": string;
|
|
14743
|
-
};
|
|
16275
|
+
header?: never;
|
|
14744
16276
|
path: {
|
|
14745
16277
|
agent_id: components["parameters"]["AgentId"];
|
|
14746
|
-
chain: string;
|
|
14747
16278
|
};
|
|
14748
16279
|
cookie?: never;
|
|
14749
16280
|
};
|
|
14750
16281
|
requestBody?: never;
|
|
14751
16282
|
responses: {
|
|
14752
|
-
/** @description
|
|
14753
|
-
|
|
16283
|
+
/** @description Not implemented (Phase 5.5) */
|
|
16284
|
+
501: {
|
|
14754
16285
|
headers: {
|
|
14755
16286
|
[name: string]: unknown;
|
|
14756
16287
|
};
|
|
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
|
-
};
|
|
16288
|
+
content?: never;
|
|
14769
16289
|
};
|
|
14770
|
-
403: components["responses"]["Forbidden"];
|
|
14771
|
-
404: components["responses"]["NotFound"];
|
|
14772
16290
|
};
|
|
14773
16291
|
};
|
|
14774
|
-
|
|
16292
|
+
configureSafeTimelock: {
|
|
14775
16293
|
parameters: {
|
|
14776
16294
|
query?: never;
|
|
14777
16295
|
header?: never;
|
|
14778
16296
|
path: {
|
|
14779
16297
|
agent_id: components["parameters"]["AgentId"];
|
|
14780
|
-
chain: string;
|
|
14781
16298
|
};
|
|
14782
16299
|
cookie?: never;
|
|
14783
16300
|
};
|
|
14784
16301
|
requestBody?: never;
|
|
14785
16302
|
responses: {
|
|
14786
|
-
/** @description
|
|
14787
|
-
|
|
16303
|
+
/** @description Not implemented (Phase 5.6) */
|
|
16304
|
+
501: {
|
|
14788
16305
|
headers: {
|
|
14789
16306
|
[name: string]: unknown;
|
|
14790
16307
|
};
|
|
14791
|
-
content
|
|
14792
|
-
"application/json": components["schemas"]["SigningKeyBalanceResponse"];
|
|
14793
|
-
};
|
|
16308
|
+
content?: never;
|
|
14794
16309
|
};
|
|
14795
|
-
401: components["responses"]["Unauthorized"];
|
|
14796
|
-
403: components["responses"]["Forbidden"];
|
|
14797
|
-
404: components["responses"]["NotFound"];
|
|
14798
16310
|
};
|
|
14799
16311
|
};
|
|
14800
|
-
|
|
16312
|
+
enableSafeErc4337: {
|
|
14801
16313
|
parameters: {
|
|
14802
16314
|
query?: never;
|
|
14803
16315
|
header?: never;
|
|
14804
16316
|
path: {
|
|
14805
16317
|
agent_id: components["parameters"]["AgentId"];
|
|
14806
|
-
chain: string;
|
|
14807
16318
|
};
|
|
14808
16319
|
cookie?: never;
|
|
14809
16320
|
};
|
|
14810
|
-
requestBody
|
|
14811
|
-
content: {
|
|
14812
|
-
"application/json": components["schemas"]["ImportKeyRequest"];
|
|
14813
|
-
};
|
|
14814
|
-
};
|
|
16321
|
+
requestBody?: never;
|
|
14815
16322
|
responses: {
|
|
14816
|
-
/** @description
|
|
14817
|
-
|
|
16323
|
+
/** @description Not implemented (Phase 5.8) */
|
|
16324
|
+
501: {
|
|
14818
16325
|
headers: {
|
|
14819
16326
|
[name: string]: unknown;
|
|
14820
16327
|
};
|
|
14821
|
-
content
|
|
14822
|
-
"application/json": components["schemas"]["SigningKeyResponse"];
|
|
14823
|
-
};
|
|
16328
|
+
content?: never;
|
|
14824
16329
|
};
|
|
14825
|
-
401: components["responses"]["Unauthorized"];
|
|
14826
|
-
403: components["responses"]["Forbidden"];
|
|
14827
16330
|
};
|
|
14828
16331
|
};
|
|
14829
|
-
|
|
16332
|
+
replayAgentGuardrails: {
|
|
14830
16333
|
parameters: {
|
|
14831
16334
|
query?: never;
|
|
14832
16335
|
header?: never;
|
|
@@ -14837,66 +16340,44 @@ export interface operations {
|
|
|
14837
16340
|
};
|
|
14838
16341
|
requestBody?: {
|
|
14839
16342
|
content: {
|
|
14840
|
-
"application/json": components["schemas"]["
|
|
16343
|
+
"application/json": components["schemas"]["GuardrailReplayRequest"];
|
|
14841
16344
|
};
|
|
14842
16345
|
};
|
|
14843
16346
|
responses: {
|
|
14844
|
-
/** @description
|
|
14845
|
-
|
|
16347
|
+
/** @description Replay report */
|
|
16348
|
+
200: {
|
|
14846
16349
|
headers: {
|
|
14847
16350
|
[name: string]: unknown;
|
|
14848
16351
|
};
|
|
14849
16352
|
content: {
|
|
14850
|
-
"application/json": components["schemas"]["
|
|
16353
|
+
"application/json": components["schemas"]["GuardrailReplayResponse"];
|
|
14851
16354
|
};
|
|
14852
16355
|
};
|
|
14853
|
-
|
|
16356
|
+
401: components["responses"]["Unauthorized"];
|
|
14854
16357
|
403: components["responses"]["Forbidden"];
|
|
16358
|
+
404: components["responses"]["NotFound"];
|
|
14855
16359
|
};
|
|
14856
16360
|
};
|
|
14857
|
-
|
|
16361
|
+
getSafeModuleRegistry: {
|
|
14858
16362
|
parameters: {
|
|
14859
16363
|
query?: never;
|
|
14860
16364
|
header?: never;
|
|
14861
16365
|
path: {
|
|
14862
|
-
|
|
16366
|
+
chain: string;
|
|
14863
16367
|
};
|
|
14864
16368
|
cookie?: never;
|
|
14865
16369
|
};
|
|
14866
16370
|
requestBody?: never;
|
|
14867
16371
|
responses: {
|
|
14868
|
-
/** @description
|
|
16372
|
+
/** @description Module registry */
|
|
14869
16373
|
200: {
|
|
14870
16374
|
headers: {
|
|
14871
16375
|
[name: string]: unknown;
|
|
14872
16376
|
};
|
|
14873
16377
|
content: {
|
|
14874
|
-
"application/json": components["schemas"]["
|
|
14875
|
-
};
|
|
14876
|
-
};
|
|
14877
|
-
404: components["responses"]["NotFound"];
|
|
14878
|
-
};
|
|
14879
|
-
};
|
|
14880
|
-
revokeBankrKey: {
|
|
14881
|
-
parameters: {
|
|
14882
|
-
query?: never;
|
|
14883
|
-
header?: never;
|
|
14884
|
-
path: {
|
|
14885
|
-
agent_id: components["parameters"]["AgentId"];
|
|
14886
|
-
lease_id: string;
|
|
14887
|
-
};
|
|
14888
|
-
cookie?: never;
|
|
14889
|
-
};
|
|
14890
|
-
requestBody?: never;
|
|
14891
|
-
responses: {
|
|
14892
|
-
/** @description Lease revoked */
|
|
14893
|
-
204: {
|
|
14894
|
-
headers: {
|
|
14895
|
-
[name: string]: unknown;
|
|
16378
|
+
"application/json": components["schemas"]["SafeModuleRegistryResponse"];
|
|
14896
16379
|
};
|
|
14897
|
-
content?: never;
|
|
14898
16380
|
};
|
|
14899
|
-
404: components["responses"]["NotFound"];
|
|
14900
16381
|
};
|
|
14901
16382
|
};
|
|
14902
16383
|
listDelegations: {
|
|
@@ -15210,6 +16691,19 @@ export interface operations {
|
|
|
15210
16691
|
"application/json": components["schemas"]["BindingResponse"];
|
|
15211
16692
|
};
|
|
15212
16693
|
};
|
|
16694
|
+
/**
|
|
16695
|
+
* @description Binding guardrail widening queued for human approval. Resubmit
|
|
16696
|
+
* PATCH with `approval_id` after approval via
|
|
16697
|
+
* POST /v1/approvals/{approval_id}/decide.
|
|
16698
|
+
*/
|
|
16699
|
+
202: {
|
|
16700
|
+
headers: {
|
|
16701
|
+
[name: string]: unknown;
|
|
16702
|
+
};
|
|
16703
|
+
content: {
|
|
16704
|
+
"application/json": components["schemas"]["GuardrailWideningQueuedResponse"];
|
|
16705
|
+
};
|
|
16706
|
+
};
|
|
15213
16707
|
400: components["responses"]["BadRequest"];
|
|
15214
16708
|
404: components["responses"]["NotFound"];
|
|
15215
16709
|
};
|
|
@@ -15701,6 +17195,40 @@ export interface operations {
|
|
|
15701
17195
|
};
|
|
15702
17196
|
};
|
|
15703
17197
|
};
|
|
17198
|
+
getOrgStatus: {
|
|
17199
|
+
parameters: {
|
|
17200
|
+
query?: never;
|
|
17201
|
+
header?: never;
|
|
17202
|
+
path?: never;
|
|
17203
|
+
cookie?: never;
|
|
17204
|
+
};
|
|
17205
|
+
requestBody?: never;
|
|
17206
|
+
responses: {
|
|
17207
|
+
/** @description Current org status */
|
|
17208
|
+
200: {
|
|
17209
|
+
headers: {
|
|
17210
|
+
[name: string]: unknown;
|
|
17211
|
+
};
|
|
17212
|
+
content: {
|
|
17213
|
+
"application/json": {
|
|
17214
|
+
/** Format: uuid */
|
|
17215
|
+
org_id: string;
|
|
17216
|
+
/** @enum {string} */
|
|
17217
|
+
status: "active" | "frozen";
|
|
17218
|
+
/** Format: date-time */
|
|
17219
|
+
frozen_at?: string | null;
|
|
17220
|
+
};
|
|
17221
|
+
};
|
|
17222
|
+
};
|
|
17223
|
+
/** @description Forbidden */
|
|
17224
|
+
403: {
|
|
17225
|
+
headers: {
|
|
17226
|
+
[name: string]: unknown;
|
|
17227
|
+
};
|
|
17228
|
+
content?: never;
|
|
17229
|
+
};
|
|
17230
|
+
};
|
|
17231
|
+
};
|
|
15704
17232
|
freezeOrg: {
|
|
15705
17233
|
parameters: {
|
|
15706
17234
|
query?: never;
|
|
@@ -17151,6 +18679,27 @@ export interface operations {
|
|
|
17151
18679
|
403: components["responses"]["Forbidden"];
|
|
17152
18680
|
};
|
|
17153
18681
|
};
|
|
18682
|
+
getTreasuryAuthPolicy: {
|
|
18683
|
+
parameters: {
|
|
18684
|
+
query?: never;
|
|
18685
|
+
header?: never;
|
|
18686
|
+
path?: never;
|
|
18687
|
+
cookie?: never;
|
|
18688
|
+
};
|
|
18689
|
+
requestBody?: never;
|
|
18690
|
+
responses: {
|
|
18691
|
+
/** @description Effective HFA policy with passkey registration count */
|
|
18692
|
+
200: {
|
|
18693
|
+
headers: {
|
|
18694
|
+
[name: string]: unknown;
|
|
18695
|
+
};
|
|
18696
|
+
content: {
|
|
18697
|
+
"application/json": components["schemas"]["TreasuryAuthPolicyResponse"];
|
|
18698
|
+
};
|
|
18699
|
+
};
|
|
18700
|
+
403: components["responses"]["Forbidden"];
|
|
18701
|
+
};
|
|
18702
|
+
};
|
|
17154
18703
|
getEffectiveSpendPolicy: {
|
|
17155
18704
|
parameters: {
|
|
17156
18705
|
query?: never;
|
|
@@ -17174,6 +18723,27 @@ export interface operations {
|
|
|
17174
18723
|
401: components["responses"]["Unauthorized"];
|
|
17175
18724
|
};
|
|
17176
18725
|
};
|
|
18726
|
+
getUserInferenceBudget: {
|
|
18727
|
+
parameters: {
|
|
18728
|
+
query?: never;
|
|
18729
|
+
header?: never;
|
|
18730
|
+
path?: never;
|
|
18731
|
+
cookie?: never;
|
|
18732
|
+
};
|
|
18733
|
+
requestBody?: never;
|
|
18734
|
+
responses: {
|
|
18735
|
+
/** @description Inference budget (or unconfigured message) */
|
|
18736
|
+
200: {
|
|
18737
|
+
headers: {
|
|
18738
|
+
[name: string]: unknown;
|
|
18739
|
+
};
|
|
18740
|
+
content: {
|
|
18741
|
+
"application/json": components["schemas"]["InferenceBudgetResponse"] | components["schemas"]["InferenceBudgetUnconfiguredResponse"];
|
|
18742
|
+
};
|
|
18743
|
+
};
|
|
18744
|
+
403: components["responses"]["Forbidden"];
|
|
18745
|
+
};
|
|
18746
|
+
};
|
|
17177
18747
|
listWebhooks: {
|
|
17178
18748
|
parameters: {
|
|
17179
18749
|
query?: never;
|
|
@@ -18349,10 +19919,7 @@ export interface operations {
|
|
|
18349
19919
|
};
|
|
18350
19920
|
requestBody: {
|
|
18351
19921
|
content: {
|
|
18352
|
-
"application/json":
|
|
18353
|
-
/** @description 64-char hex SHA-256 of canonical send params */
|
|
18354
|
-
tx_digest: string;
|
|
18355
|
-
};
|
|
19922
|
+
"application/json": components["schemas"]["PasskeyTxAssertBeginRequest"];
|
|
18356
19923
|
};
|
|
18357
19924
|
};
|
|
18358
19925
|
responses: {
|
|
@@ -18361,15 +19928,25 @@ export interface operations {
|
|
|
18361
19928
|
headers: {
|
|
18362
19929
|
[name: string]: unknown;
|
|
18363
19930
|
};
|
|
18364
|
-
content
|
|
19931
|
+
content: {
|
|
19932
|
+
"application/json": components["schemas"]["PasskeyAssertBeginResponse"];
|
|
19933
|
+
};
|
|
18365
19934
|
};
|
|
18366
|
-
/** @description Missing or invalid tx_digest */
|
|
19935
|
+
/** @description Missing or invalid tx_digest, or invalid action */
|
|
18367
19936
|
400: {
|
|
18368
19937
|
headers: {
|
|
18369
19938
|
[name: string]: unknown;
|
|
18370
19939
|
};
|
|
18371
19940
|
content?: never;
|
|
18372
19941
|
};
|
|
19942
|
+
403: components["responses"]["Forbidden"];
|
|
19943
|
+
/** @description No passkeys registered for the user */
|
|
19944
|
+
404: {
|
|
19945
|
+
headers: {
|
|
19946
|
+
[name: string]: unknown;
|
|
19947
|
+
};
|
|
19948
|
+
content?: never;
|
|
19949
|
+
};
|
|
18373
19950
|
};
|
|
18374
19951
|
};
|
|
18375
19952
|
passkeyTxAssertComplete: {
|
|
@@ -21067,6 +22644,53 @@ export interface operations {
|
|
|
21067
22644
|
403: components["responses"]["Forbidden"];
|
|
21068
22645
|
};
|
|
21069
22646
|
};
|
|
22647
|
+
getGuardrailShadowReport: {
|
|
22648
|
+
parameters: {
|
|
22649
|
+
query?: {
|
|
22650
|
+
since?: string;
|
|
22651
|
+
until?: string;
|
|
22652
|
+
};
|
|
22653
|
+
header?: never;
|
|
22654
|
+
path?: never;
|
|
22655
|
+
cookie?: never;
|
|
22656
|
+
};
|
|
22657
|
+
requestBody?: never;
|
|
22658
|
+
responses: {
|
|
22659
|
+
/** @description Guardrail shadow report */
|
|
22660
|
+
200: {
|
|
22661
|
+
headers: {
|
|
22662
|
+
[name: string]: unknown;
|
|
22663
|
+
};
|
|
22664
|
+
content: {
|
|
22665
|
+
"application/json": components["schemas"]["GuardrailShadowReportResponse"];
|
|
22666
|
+
};
|
|
22667
|
+
};
|
|
22668
|
+
401: components["responses"]["Unauthorized"];
|
|
22669
|
+
403: components["responses"]["Forbidden"];
|
|
22670
|
+
};
|
|
22671
|
+
};
|
|
22672
|
+
listGuardrailRevisions: {
|
|
22673
|
+
parameters: {
|
|
22674
|
+
query?: never;
|
|
22675
|
+
header?: never;
|
|
22676
|
+
path?: never;
|
|
22677
|
+
cookie?: never;
|
|
22678
|
+
};
|
|
22679
|
+
requestBody?: never;
|
|
22680
|
+
responses: {
|
|
22681
|
+
/** @description Guardrail revisions */
|
|
22682
|
+
200: {
|
|
22683
|
+
headers: {
|
|
22684
|
+
[name: string]: unknown;
|
|
22685
|
+
};
|
|
22686
|
+
content: {
|
|
22687
|
+
"application/json": components["schemas"]["GuardrailRevisionListResponse"];
|
|
22688
|
+
};
|
|
22689
|
+
};
|
|
22690
|
+
401: components["responses"]["Unauthorized"];
|
|
22691
|
+
403: components["responses"]["Forbidden"];
|
|
22692
|
+
};
|
|
22693
|
+
};
|
|
21070
22694
|
listContractAbis: {
|
|
21071
22695
|
parameters: {
|
|
21072
22696
|
query?: {
|