@1claw/sdk 0.61.12 → 0.61.14
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 +15 -5
- package/dist/generated/api-types.d.ts +648 -1
- package/dist/generated/api-types.d.ts.map +1 -1
- package/dist/types.d.ts +30 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
|
@@ -510,6 +510,28 @@ export interface paths {
|
|
|
510
510
|
patch?: never;
|
|
511
511
|
trace?: never;
|
|
512
512
|
};
|
|
513
|
+
"/v1/auth/feature-quota/consume": {
|
|
514
|
+
parameters: {
|
|
515
|
+
query?: never;
|
|
516
|
+
header?: never;
|
|
517
|
+
path?: never;
|
|
518
|
+
cookie?: never;
|
|
519
|
+
};
|
|
520
|
+
get?: never;
|
|
521
|
+
put?: never;
|
|
522
|
+
/**
|
|
523
|
+
* Count one call against a per-user feature quota
|
|
524
|
+
* @description Atomic fixed-window counter for metered dashboard features (currently
|
|
525
|
+
* `voice_brief`, 30 calls per hour). The limit and window are defined
|
|
526
|
+
* server-side; the caller only names the feature. Users only.
|
|
527
|
+
*/
|
|
528
|
+
post: operations["consumeFeatureQuota"];
|
|
529
|
+
delete?: never;
|
|
530
|
+
options?: never;
|
|
531
|
+
head?: never;
|
|
532
|
+
patch?: never;
|
|
533
|
+
trace?: never;
|
|
534
|
+
};
|
|
513
535
|
"/v1/auth/me": {
|
|
514
536
|
parameters: {
|
|
515
537
|
query?: never;
|
|
@@ -2197,6 +2219,66 @@ export interface paths {
|
|
|
2197
2219
|
patch?: never;
|
|
2198
2220
|
trace?: never;
|
|
2199
2221
|
};
|
|
2222
|
+
"/v1/admin/agents/{agent_id}/reports/dismiss": {
|
|
2223
|
+
parameters: {
|
|
2224
|
+
query?: never;
|
|
2225
|
+
header?: never;
|
|
2226
|
+
path?: never;
|
|
2227
|
+
cookie?: never;
|
|
2228
|
+
};
|
|
2229
|
+
get?: never;
|
|
2230
|
+
put?: never;
|
|
2231
|
+
/**
|
|
2232
|
+
* Dismiss every open report on a directory listing
|
|
2233
|
+
* @description Platform admins only. Clears the listing's report flag and recounts. The review queue is a platform function — an org dismissing reports against its own agent is the abuse the queue exists to catch.
|
|
2234
|
+
*/
|
|
2235
|
+
post: operations["adminDismissAgentReports"];
|
|
2236
|
+
delete?: never;
|
|
2237
|
+
options?: never;
|
|
2238
|
+
head?: never;
|
|
2239
|
+
patch?: never;
|
|
2240
|
+
trace?: never;
|
|
2241
|
+
};
|
|
2242
|
+
"/v1/admin/agents/{agent_id}/verification-tier": {
|
|
2243
|
+
parameters: {
|
|
2244
|
+
query?: never;
|
|
2245
|
+
header?: never;
|
|
2246
|
+
path?: never;
|
|
2247
|
+
cookie?: never;
|
|
2248
|
+
};
|
|
2249
|
+
get?: never;
|
|
2250
|
+
/**
|
|
2251
|
+
* Set a directory listing's verification tier
|
|
2252
|
+
* @description Platform admins only. Unknown tiers are refused rather than demoted to `unverified`.
|
|
2253
|
+
*/
|
|
2254
|
+
put: operations["adminSetAgentVerificationTier"];
|
|
2255
|
+
post?: never;
|
|
2256
|
+
delete?: never;
|
|
2257
|
+
options?: never;
|
|
2258
|
+
head?: never;
|
|
2259
|
+
patch?: never;
|
|
2260
|
+
trace?: never;
|
|
2261
|
+
};
|
|
2262
|
+
"/v1/admin/kms/relevel": {
|
|
2263
|
+
parameters: {
|
|
2264
|
+
query?: never;
|
|
2265
|
+
header?: never;
|
|
2266
|
+
path?: never;
|
|
2267
|
+
cookie?: never;
|
|
2268
|
+
};
|
|
2269
|
+
get?: never;
|
|
2270
|
+
put?: never;
|
|
2271
|
+
/**
|
|
2272
|
+
* Move orgs onto the KEK protection level their tier and payment call for
|
|
2273
|
+
* @description Platform admins only. Examines up to `limit` orgs whose stored KEK level disagrees with the target (Pro earns HSM only with an active subscription; Team, Business and Enterprise keep HSM; the platform org is always software) and starts a migration for each: a new key at the right level, every secret and every org-scoped row re-wrapped, the old key released from the keep set 30 days after completion. The nightly consolidation job runs the same pass, 25 orgs at a time.
|
|
2274
|
+
*/
|
|
2275
|
+
post: operations["adminKmsRelevel"];
|
|
2276
|
+
delete?: never;
|
|
2277
|
+
options?: never;
|
|
2278
|
+
head?: never;
|
|
2279
|
+
patch?: never;
|
|
2280
|
+
trace?: never;
|
|
2281
|
+
};
|
|
2200
2282
|
"/v1/admin/chains": {
|
|
2201
2283
|
parameters: {
|
|
2202
2284
|
query?: never;
|
|
@@ -3159,6 +3241,92 @@ export interface paths {
|
|
|
3159
3241
|
patch?: never;
|
|
3160
3242
|
trace?: never;
|
|
3161
3243
|
};
|
|
3244
|
+
"/v1/keys/{key_id}/client-share": {
|
|
3245
|
+
parameters: {
|
|
3246
|
+
query?: never;
|
|
3247
|
+
header?: never;
|
|
3248
|
+
path: {
|
|
3249
|
+
/** @description A treasury wallet id or an agent signing key id owned by the caller's org */
|
|
3250
|
+
key_id: string;
|
|
3251
|
+
};
|
|
3252
|
+
cookie?: never;
|
|
3253
|
+
};
|
|
3254
|
+
/**
|
|
3255
|
+
* List the caller's wrapped shares for a key
|
|
3256
|
+
* @description Returns every wrap on file for this key, unopened, to the user who
|
|
3257
|
+
* stored them. `custody` tells you whether the key is `server` (1claw
|
|
3258
|
+
* holds the whole private key) or `client_tss` (threshold; neither party
|
|
3259
|
+
* can sign alone). Funding a `client_tss` wallet needs at least two wraps.
|
|
3260
|
+
*/
|
|
3261
|
+
get: operations["listClientKeyShares"];
|
|
3262
|
+
/**
|
|
3263
|
+
* Store the customer's wrapped share of a threshold key
|
|
3264
|
+
* @description Stores ciphertext the vault cannot open: the customer's share of a
|
|
3265
|
+
* 2-party threshold signing key, wrapped in the browser under the
|
|
3266
|
+
* passkey's WebAuthn PRF output (`passkey_prf`, one wrap per credential)
|
|
3267
|
+
* or under a recovery code (`recovery_code`, one per key). The vault
|
|
3268
|
+
* keeps the blob and its salt and returns them only to the owning user.
|
|
3269
|
+
* Human users only; the passkey must have reported PRF support at
|
|
3270
|
+
* registration. Idempotent per (key, credential).
|
|
3271
|
+
*/
|
|
3272
|
+
put: operations["putClientKeyShare"];
|
|
3273
|
+
post?: never;
|
|
3274
|
+
delete?: never;
|
|
3275
|
+
options?: never;
|
|
3276
|
+
head?: never;
|
|
3277
|
+
patch?: never;
|
|
3278
|
+
trace?: never;
|
|
3279
|
+
};
|
|
3280
|
+
"/v1/keys/{key_id}/client-share/rewrap": {
|
|
3281
|
+
parameters: {
|
|
3282
|
+
query?: never;
|
|
3283
|
+
header?: never;
|
|
3284
|
+
path: {
|
|
3285
|
+
key_id: string;
|
|
3286
|
+
};
|
|
3287
|
+
cookie?: never;
|
|
3288
|
+
};
|
|
3289
|
+
get?: never;
|
|
3290
|
+
put?: never;
|
|
3291
|
+
/**
|
|
3292
|
+
* Add a wrap for another credential or the recovery code
|
|
3293
|
+
* @description Same write as `PUT …/client-share`, for a key that already has at
|
|
3294
|
+
* least one wrap: the browser, holding the share in memory during a
|
|
3295
|
+
* passkey session, re-wraps it under a newly added passkey's PRF
|
|
3296
|
+
* output or under the recovery code. 409 if no wrap exists yet.
|
|
3297
|
+
*/
|
|
3298
|
+
post: operations["rewrapClientKeyShare"];
|
|
3299
|
+
delete?: never;
|
|
3300
|
+
options?: never;
|
|
3301
|
+
head?: never;
|
|
3302
|
+
patch?: never;
|
|
3303
|
+
trace?: never;
|
|
3304
|
+
};
|
|
3305
|
+
"/v1/keys/{key_id}/client-share/{share_id}": {
|
|
3306
|
+
parameters: {
|
|
3307
|
+
query?: never;
|
|
3308
|
+
header?: never;
|
|
3309
|
+
path: {
|
|
3310
|
+
key_id: string;
|
|
3311
|
+
share_id: string;
|
|
3312
|
+
};
|
|
3313
|
+
cookie?: never;
|
|
3314
|
+
};
|
|
3315
|
+
get?: never;
|
|
3316
|
+
put?: never;
|
|
3317
|
+
post?: never;
|
|
3318
|
+
/**
|
|
3319
|
+
* Remove one wrap
|
|
3320
|
+
* @description Deletes a single wrap. Wraps tied to a passkey are also removed when
|
|
3321
|
+
* that passkey is deleted. Removing the last wrap of a `client_tss` key
|
|
3322
|
+
* makes the key unrecoverable — the vault holds only its own share.
|
|
3323
|
+
*/
|
|
3324
|
+
delete: operations["deleteClientKeyShare"];
|
|
3325
|
+
options?: never;
|
|
3326
|
+
head?: never;
|
|
3327
|
+
patch?: never;
|
|
3328
|
+
trace?: never;
|
|
3329
|
+
};
|
|
3162
3330
|
"/v1/treasury/wallets/generate": {
|
|
3163
3331
|
parameters: {
|
|
3164
3332
|
query?: never;
|
|
@@ -5677,7 +5845,16 @@ export interface paths {
|
|
|
5677
5845
|
get: operations["getConnectionRuntime"];
|
|
5678
5846
|
put?: never;
|
|
5679
5847
|
post?: never;
|
|
5680
|
-
|
|
5848
|
+
/**
|
|
5849
|
+
* Delete a connection runtime (plt_ scoped)
|
|
5850
|
+
* @description Removes a runtime the app provisioned on this connection. A running
|
|
5851
|
+
* runtime is stopped at the provider first and any runtime add-on
|
|
5852
|
+
* subscription is cancelled before the record is removed. Scoped like
|
|
5853
|
+
* the GET: the connection must belong to the app and list the runtime.
|
|
5854
|
+
* This is the cleanup path for a mis-provisioned runtime;
|
|
5855
|
+
* `DELETE /v1/runtimes/{id}` does not accept a plt_ key.
|
|
5856
|
+
*/
|
|
5857
|
+
delete: operations["deleteConnectionRuntime"];
|
|
5681
5858
|
options?: never;
|
|
5682
5859
|
head?: never;
|
|
5683
5860
|
patch?: never;
|
|
@@ -6557,6 +6734,26 @@ export interface paths {
|
|
|
6557
6734
|
patch?: never;
|
|
6558
6735
|
trace?: never;
|
|
6559
6736
|
};
|
|
6737
|
+
"/v1/agents/{agent_id}/pay/grants/prepare": {
|
|
6738
|
+
parameters: {
|
|
6739
|
+
query?: never;
|
|
6740
|
+
header?: never;
|
|
6741
|
+
path?: never;
|
|
6742
|
+
cookie?: never;
|
|
6743
|
+
};
|
|
6744
|
+
get?: never;
|
|
6745
|
+
put?: never;
|
|
6746
|
+
/**
|
|
6747
|
+
* Prepare a spending grant (step one of two)
|
|
6748
|
+
* @description Fixes the grant terms and a server-side nonce and returns the `grant_digest` the person must assert over with a passkey (`action=x402_grant`). Then call `POST .../pay/grants` with the same terms, the digest, and the passkey token. Preparations are single-use, bound to the caller and agent, and expire after ten minutes. The nonce never leaves the server, so the digest cannot be recomputed for different terms. Human callers only; terms are validated against the agent's maximum cap and window here as well.
|
|
6749
|
+
*/
|
|
6750
|
+
post: operations["preparePayGrant"];
|
|
6751
|
+
delete?: never;
|
|
6752
|
+
options?: never;
|
|
6753
|
+
head?: never;
|
|
6754
|
+
patch?: never;
|
|
6755
|
+
trace?: never;
|
|
6756
|
+
};
|
|
6560
6757
|
"/v1/agents/{agent_id}/pay/grants": {
|
|
6561
6758
|
parameters: {
|
|
6562
6759
|
query?: never;
|
|
@@ -11281,6 +11478,27 @@ export interface components {
|
|
|
11281
11478
|
mfa_token?: string;
|
|
11282
11479
|
/** @enum {string} */
|
|
11283
11480
|
mfa_method?: "totp" | "passkey";
|
|
11481
|
+
/**
|
|
11482
|
+
* Format: uuid
|
|
11483
|
+
* @description Agent token exchange only — the resolved agent id.
|
|
11484
|
+
*/
|
|
11485
|
+
agent_id?: string;
|
|
11486
|
+
/** @description Agent token exchange only — vaults the agent is bound to. */
|
|
11487
|
+
vault_ids?: string[];
|
|
11488
|
+
entitlements?: components["schemas"]["AgentEntitlements"];
|
|
11489
|
+
};
|
|
11490
|
+
/** @description Returned on agent token exchange. The flags a client needs to decide which tools to offer, as of the moment the token was minted. treasury_signer and has_delegations are derived from the agent's treasury signer rows and active delegations and are not present on the agent profile. */
|
|
11491
|
+
AgentEntitlements: {
|
|
11492
|
+
intents_api: boolean;
|
|
11493
|
+
execution_intents: boolean;
|
|
11494
|
+
execution_require_tee: boolean;
|
|
11495
|
+
intents_require_tee: boolean;
|
|
11496
|
+
cards: boolean;
|
|
11497
|
+
memory: boolean;
|
|
11498
|
+
shroud: boolean;
|
|
11499
|
+
discoverable: boolean;
|
|
11500
|
+
treasury_signer: boolean;
|
|
11501
|
+
has_delegations: boolean;
|
|
11284
11502
|
};
|
|
11285
11503
|
/** @description Exactly one credential, decided by the agent's auth_method: api_key for api_key agents, oidc_token for oidc_client_credentials agents. mTLS agents send neither and present a client certificate through the TLS terminator. */
|
|
11286
11504
|
AgentTokenRequest: {
|
|
@@ -12955,6 +13173,12 @@ export interface components {
|
|
|
12955
13173
|
created_at?: string;
|
|
12956
13174
|
/** Format: date-time */
|
|
12957
13175
|
rotated_at?: string | null;
|
|
13176
|
+
/**
|
|
13177
|
+
* @description `server` — 1claw holds the whole private key and can sign alone.
|
|
13178
|
+
* `client_tss` — 2-party threshold key; the customer's passkey share is required.
|
|
13179
|
+
* @enum {string}
|
|
13180
|
+
*/
|
|
13181
|
+
custody?: "server" | "client_tss";
|
|
12958
13182
|
};
|
|
12959
13183
|
SigningKeyListResponse: {
|
|
12960
13184
|
keys?: components["schemas"]["SigningKeyResponse"][];
|
|
@@ -13512,6 +13736,15 @@ export interface components {
|
|
|
13512
13736
|
};
|
|
13513
13737
|
LlmTokenBillingStatus: {
|
|
13514
13738
|
enabled: boolean;
|
|
13739
|
+
/**
|
|
13740
|
+
* @description Usage accrues on the Stripe subscription and is invoiced at the end of the
|
|
13741
|
+
* billing period. `credit_balance` is Stripe's prepaid credit-grant balance,
|
|
13742
|
+
* which is 0 unless a credit grant was issued; a 0 there does not block inference.
|
|
13743
|
+
* @enum {string}
|
|
13744
|
+
*/
|
|
13745
|
+
billing_model: "postpaid_metered";
|
|
13746
|
+
/** @description Enabled and the subscription is not canceled/unpaid/expired. */
|
|
13747
|
+
inference_allowed: boolean;
|
|
13515
13748
|
/** @enum {string} */
|
|
13516
13749
|
subscription_status?: "active" | "inactive";
|
|
13517
13750
|
credit_balance?: components["schemas"]["LlmCreditBalance"];
|
|
@@ -13884,6 +14117,12 @@ export interface components {
|
|
|
13884
14117
|
is_active?: boolean;
|
|
13885
14118
|
/** Format: date-time */
|
|
13886
14119
|
created_at?: string;
|
|
14120
|
+
/**
|
|
14121
|
+
* @description `server` — 1claw holds the whole private key and can sign alone.
|
|
14122
|
+
* `client_tss` — 2-party threshold key; the customer's passkey share is required.
|
|
14123
|
+
* @enum {string}
|
|
14124
|
+
*/
|
|
14125
|
+
custody?: "server" | "client_tss";
|
|
13887
14126
|
};
|
|
13888
14127
|
TreasuryWalletListResponse: {
|
|
13889
14128
|
wallets?: components["schemas"]["TreasuryWalletResponse"][];
|
|
@@ -15053,6 +15292,9 @@ export interface components {
|
|
|
15053
15292
|
connection_id: string;
|
|
15054
15293
|
/** Format: uuid */
|
|
15055
15294
|
user_id: string;
|
|
15295
|
+
/** @description The connected user's email, as returned by the upsert. Use it to recognise a returning user and begin a passkey ceremony from the connection alone. */
|
|
15296
|
+
email?: string;
|
|
15297
|
+
display_name?: string;
|
|
15056
15298
|
status: string;
|
|
15057
15299
|
entitlement_status: string;
|
|
15058
15300
|
/**
|
|
@@ -15213,6 +15455,58 @@ export interface components {
|
|
|
15213
15455
|
client_data_json: string;
|
|
15214
15456
|
transports?: string[];
|
|
15215
15457
|
name?: string;
|
|
15458
|
+
/**
|
|
15459
|
+
* @description `prf.enabled` from `credential.getClientExtensionResults()` —
|
|
15460
|
+
* whether this authenticator can derive the secret that wraps a
|
|
15461
|
+
* wallet share. Omit if the client did not request the extension.
|
|
15462
|
+
*/
|
|
15463
|
+
prf_supported?: boolean | null;
|
|
15464
|
+
};
|
|
15465
|
+
PutClientShareRequest: {
|
|
15466
|
+
/** @enum {string} */
|
|
15467
|
+
wrap_kind: "passkey_prf" | "recovery_code";
|
|
15468
|
+
/**
|
|
15469
|
+
* Format: uuid
|
|
15470
|
+
* @description Required for `passkey_prf`; the passkey id from `GET /v1/auth/passkeys`.
|
|
15471
|
+
*/
|
|
15472
|
+
credential_id?: string | null;
|
|
15473
|
+
/** @description Base64 ciphertext (≤ 4 KiB). Opaque to the vault. */
|
|
15474
|
+
wrapped_share: string;
|
|
15475
|
+
/** @description Base64 PRF salt, 16–64 random bytes, one per key. */
|
|
15476
|
+
salt: string;
|
|
15477
|
+
};
|
|
15478
|
+
ClientShareResponse: {
|
|
15479
|
+
/** Format: uuid */
|
|
15480
|
+
id?: string;
|
|
15481
|
+
/** Format: uuid */
|
|
15482
|
+
key_id?: string;
|
|
15483
|
+
/** @enum {string} */
|
|
15484
|
+
key_kind?: "agent_signing_key" | "treasury_wallet";
|
|
15485
|
+
/** @enum {string} */
|
|
15486
|
+
wrap_kind?: "passkey_prf" | "recovery_code";
|
|
15487
|
+
/** Format: uuid */
|
|
15488
|
+
credential_id?: string | null;
|
|
15489
|
+
/** @description Base64, exactly as stored. */
|
|
15490
|
+
wrapped_share?: string;
|
|
15491
|
+
/** @description Base64. */
|
|
15492
|
+
salt?: string;
|
|
15493
|
+
/** Format: date-time */
|
|
15494
|
+
created_at?: string;
|
|
15495
|
+
/** Format: date-time */
|
|
15496
|
+
updated_at?: string;
|
|
15497
|
+
};
|
|
15498
|
+
ClientShareListResponse: {
|
|
15499
|
+
/** Format: uuid */
|
|
15500
|
+
key_id?: string;
|
|
15501
|
+
/** @enum {string} */
|
|
15502
|
+
key_kind?: "agent_signing_key" | "treasury_wallet";
|
|
15503
|
+
/**
|
|
15504
|
+
* @description `server` — 1claw holds the whole private key and can sign alone.
|
|
15505
|
+
* `client_tss` — 2-party threshold key; the customer's share is required.
|
|
15506
|
+
* @enum {string}
|
|
15507
|
+
*/
|
|
15508
|
+
custody?: "server" | "client_tss";
|
|
15509
|
+
shares?: components["schemas"]["ClientShareResponse"][];
|
|
15216
15510
|
};
|
|
15217
15511
|
PasskeyRegisterCompleteResponse: {
|
|
15218
15512
|
/** Format: uuid */
|
|
@@ -17964,6 +18258,12 @@ export interface operations {
|
|
|
17964
18258
|
name?: string;
|
|
17965
18259
|
last_used_at?: string;
|
|
17966
18260
|
created_at?: string;
|
|
18261
|
+
/**
|
|
18262
|
+
* @description `true` — can hold a wallet share (WebAuthn PRF).
|
|
18263
|
+
* `false` — cannot. `null` — registered before this
|
|
18264
|
+
* was captured.
|
|
18265
|
+
*/
|
|
18266
|
+
prf_supported?: boolean | null;
|
|
17967
18267
|
}[];
|
|
17968
18268
|
};
|
|
17969
18269
|
};
|
|
@@ -18061,6 +18361,41 @@ export interface operations {
|
|
|
18061
18361
|
403: components["responses"]["Forbidden"];
|
|
18062
18362
|
};
|
|
18063
18363
|
};
|
|
18364
|
+
consumeFeatureQuota: {
|
|
18365
|
+
parameters: {
|
|
18366
|
+
query?: never;
|
|
18367
|
+
header?: never;
|
|
18368
|
+
path?: never;
|
|
18369
|
+
cookie?: never;
|
|
18370
|
+
};
|
|
18371
|
+
requestBody: {
|
|
18372
|
+
content: {
|
|
18373
|
+
"application/json": {
|
|
18374
|
+
/** @enum {string} */
|
|
18375
|
+
feature: "voice_brief";
|
|
18376
|
+
};
|
|
18377
|
+
};
|
|
18378
|
+
};
|
|
18379
|
+
responses: {
|
|
18380
|
+
/** @description Whether this call is within the window's limit */
|
|
18381
|
+
200: {
|
|
18382
|
+
headers: {
|
|
18383
|
+
[name: string]: unknown;
|
|
18384
|
+
};
|
|
18385
|
+
content: {
|
|
18386
|
+
"application/json": {
|
|
18387
|
+
allowed: boolean;
|
|
18388
|
+
limit: number;
|
|
18389
|
+
remaining: number;
|
|
18390
|
+
/** Format: date-time */
|
|
18391
|
+
reset_at: string;
|
|
18392
|
+
};
|
|
18393
|
+
};
|
|
18394
|
+
};
|
|
18395
|
+
400: components["responses"]["BadRequest"];
|
|
18396
|
+
403: components["responses"]["Forbidden"];
|
|
18397
|
+
};
|
|
18398
|
+
};
|
|
18064
18399
|
getMe: {
|
|
18065
18400
|
parameters: {
|
|
18066
18401
|
query?: never;
|
|
@@ -21171,6 +21506,135 @@ export interface operations {
|
|
|
21171
21506
|
404: components["responses"]["NotFound"];
|
|
21172
21507
|
};
|
|
21173
21508
|
};
|
|
21509
|
+
adminDismissAgentReports: {
|
|
21510
|
+
parameters: {
|
|
21511
|
+
query?: never;
|
|
21512
|
+
header?: never;
|
|
21513
|
+
path: {
|
|
21514
|
+
agent_id: string;
|
|
21515
|
+
};
|
|
21516
|
+
cookie?: never;
|
|
21517
|
+
};
|
|
21518
|
+
requestBody?: never;
|
|
21519
|
+
responses: {
|
|
21520
|
+
/** @description Reports dismissed */
|
|
21521
|
+
200: {
|
|
21522
|
+
headers: {
|
|
21523
|
+
[name: string]: unknown;
|
|
21524
|
+
};
|
|
21525
|
+
content: {
|
|
21526
|
+
"application/json": {
|
|
21527
|
+
/** Format: uuid */
|
|
21528
|
+
agent_id?: string;
|
|
21529
|
+
dismissed?: number;
|
|
21530
|
+
};
|
|
21531
|
+
};
|
|
21532
|
+
};
|
|
21533
|
+
/** @description Not a platform admin */
|
|
21534
|
+
403: {
|
|
21535
|
+
headers: {
|
|
21536
|
+
[name: string]: unknown;
|
|
21537
|
+
};
|
|
21538
|
+
content?: never;
|
|
21539
|
+
};
|
|
21540
|
+
/** @description Agent not found */
|
|
21541
|
+
404: {
|
|
21542
|
+
headers: {
|
|
21543
|
+
[name: string]: unknown;
|
|
21544
|
+
};
|
|
21545
|
+
content?: never;
|
|
21546
|
+
};
|
|
21547
|
+
};
|
|
21548
|
+
};
|
|
21549
|
+
adminSetAgentVerificationTier: {
|
|
21550
|
+
parameters: {
|
|
21551
|
+
query?: never;
|
|
21552
|
+
header?: never;
|
|
21553
|
+
path: {
|
|
21554
|
+
agent_id: string;
|
|
21555
|
+
};
|
|
21556
|
+
cookie?: never;
|
|
21557
|
+
};
|
|
21558
|
+
requestBody: {
|
|
21559
|
+
content: {
|
|
21560
|
+
"application/json": {
|
|
21561
|
+
/** @enum {string} */
|
|
21562
|
+
tier: "unverified" | "platform_reviewed" | "identity_verified" | "enterprise";
|
|
21563
|
+
/** @description Internal review notes */
|
|
21564
|
+
notes?: string | null;
|
|
21565
|
+
};
|
|
21566
|
+
};
|
|
21567
|
+
};
|
|
21568
|
+
responses: {
|
|
21569
|
+
/** @description Tier set */
|
|
21570
|
+
200: {
|
|
21571
|
+
headers: {
|
|
21572
|
+
[name: string]: unknown;
|
|
21573
|
+
};
|
|
21574
|
+
content: {
|
|
21575
|
+
"application/json": {
|
|
21576
|
+
/** Format: uuid */
|
|
21577
|
+
agent_id?: string;
|
|
21578
|
+
tier?: string;
|
|
21579
|
+
};
|
|
21580
|
+
};
|
|
21581
|
+
};
|
|
21582
|
+
/** @description Unknown tier */
|
|
21583
|
+
400: {
|
|
21584
|
+
headers: {
|
|
21585
|
+
[name: string]: unknown;
|
|
21586
|
+
};
|
|
21587
|
+
content?: never;
|
|
21588
|
+
};
|
|
21589
|
+
/** @description Not a platform admin */
|
|
21590
|
+
403: {
|
|
21591
|
+
headers: {
|
|
21592
|
+
[name: string]: unknown;
|
|
21593
|
+
};
|
|
21594
|
+
content?: never;
|
|
21595
|
+
};
|
|
21596
|
+
/** @description Agent not found */
|
|
21597
|
+
404: {
|
|
21598
|
+
headers: {
|
|
21599
|
+
[name: string]: unknown;
|
|
21600
|
+
};
|
|
21601
|
+
content?: never;
|
|
21602
|
+
};
|
|
21603
|
+
};
|
|
21604
|
+
};
|
|
21605
|
+
adminKmsRelevel: {
|
|
21606
|
+
parameters: {
|
|
21607
|
+
query?: {
|
|
21608
|
+
limit?: number;
|
|
21609
|
+
};
|
|
21610
|
+
header?: never;
|
|
21611
|
+
path?: never;
|
|
21612
|
+
cookie?: never;
|
|
21613
|
+
};
|
|
21614
|
+
requestBody?: never;
|
|
21615
|
+
responses: {
|
|
21616
|
+
/** @description Orgs examined and migrations started */
|
|
21617
|
+
200: {
|
|
21618
|
+
headers: {
|
|
21619
|
+
[name: string]: unknown;
|
|
21620
|
+
};
|
|
21621
|
+
content: {
|
|
21622
|
+
"application/json": {
|
|
21623
|
+
examined?: number;
|
|
21624
|
+
migrations_started?: number;
|
|
21625
|
+
limit?: number;
|
|
21626
|
+
};
|
|
21627
|
+
};
|
|
21628
|
+
};
|
|
21629
|
+
/** @description Not a platform admin */
|
|
21630
|
+
403: {
|
|
21631
|
+
headers: {
|
|
21632
|
+
[name: string]: unknown;
|
|
21633
|
+
};
|
|
21634
|
+
content?: never;
|
|
21635
|
+
};
|
|
21636
|
+
};
|
|
21637
|
+
};
|
|
21174
21638
|
adminListChains: {
|
|
21175
21639
|
parameters: {
|
|
21176
21640
|
query?: never;
|
|
@@ -22715,6 +23179,118 @@ export interface operations {
|
|
|
22715
23179
|
404: components["responses"]["NotFound"];
|
|
22716
23180
|
};
|
|
22717
23181
|
};
|
|
23182
|
+
listClientKeyShares: {
|
|
23183
|
+
parameters: {
|
|
23184
|
+
query?: never;
|
|
23185
|
+
header?: never;
|
|
23186
|
+
path: {
|
|
23187
|
+
/** @description A treasury wallet id or an agent signing key id owned by the caller's org */
|
|
23188
|
+
key_id: string;
|
|
23189
|
+
};
|
|
23190
|
+
cookie?: never;
|
|
23191
|
+
};
|
|
23192
|
+
requestBody?: never;
|
|
23193
|
+
responses: {
|
|
23194
|
+
/** @description Wraps on file */
|
|
23195
|
+
200: {
|
|
23196
|
+
headers: {
|
|
23197
|
+
[name: string]: unknown;
|
|
23198
|
+
};
|
|
23199
|
+
content: {
|
|
23200
|
+
"application/json": components["schemas"]["ClientShareListResponse"];
|
|
23201
|
+
};
|
|
23202
|
+
};
|
|
23203
|
+
401: components["responses"]["Unauthorized"];
|
|
23204
|
+
403: components["responses"]["Forbidden"];
|
|
23205
|
+
404: components["responses"]["NotFound"];
|
|
23206
|
+
};
|
|
23207
|
+
};
|
|
23208
|
+
putClientKeyShare: {
|
|
23209
|
+
parameters: {
|
|
23210
|
+
query?: never;
|
|
23211
|
+
header?: never;
|
|
23212
|
+
path: {
|
|
23213
|
+
/** @description A treasury wallet id or an agent signing key id owned by the caller's org */
|
|
23214
|
+
key_id: string;
|
|
23215
|
+
};
|
|
23216
|
+
cookie?: never;
|
|
23217
|
+
};
|
|
23218
|
+
requestBody: {
|
|
23219
|
+
content: {
|
|
23220
|
+
"application/json": components["schemas"]["PutClientShareRequest"];
|
|
23221
|
+
};
|
|
23222
|
+
};
|
|
23223
|
+
responses: {
|
|
23224
|
+
/** @description Share stored */
|
|
23225
|
+
201: {
|
|
23226
|
+
headers: {
|
|
23227
|
+
[name: string]: unknown;
|
|
23228
|
+
};
|
|
23229
|
+
content: {
|
|
23230
|
+
"application/json": components["schemas"]["ClientShareResponse"];
|
|
23231
|
+
};
|
|
23232
|
+
};
|
|
23233
|
+
400: components["responses"]["BadRequest"];
|
|
23234
|
+
401: components["responses"]["Unauthorized"];
|
|
23235
|
+
403: components["responses"]["Forbidden"];
|
|
23236
|
+
404: components["responses"]["NotFound"];
|
|
23237
|
+
};
|
|
23238
|
+
};
|
|
23239
|
+
rewrapClientKeyShare: {
|
|
23240
|
+
parameters: {
|
|
23241
|
+
query?: never;
|
|
23242
|
+
header?: never;
|
|
23243
|
+
path: {
|
|
23244
|
+
key_id: string;
|
|
23245
|
+
};
|
|
23246
|
+
cookie?: never;
|
|
23247
|
+
};
|
|
23248
|
+
requestBody: {
|
|
23249
|
+
content: {
|
|
23250
|
+
"application/json": components["schemas"]["PutClientShareRequest"];
|
|
23251
|
+
};
|
|
23252
|
+
};
|
|
23253
|
+
responses: {
|
|
23254
|
+
/** @description Wrap added */
|
|
23255
|
+
201: {
|
|
23256
|
+
headers: {
|
|
23257
|
+
[name: string]: unknown;
|
|
23258
|
+
};
|
|
23259
|
+
content: {
|
|
23260
|
+
"application/json": components["schemas"]["ClientShareResponse"];
|
|
23261
|
+
};
|
|
23262
|
+
};
|
|
23263
|
+
400: components["responses"]["BadRequest"];
|
|
23264
|
+
401: components["responses"]["Unauthorized"];
|
|
23265
|
+
403: components["responses"]["Forbidden"];
|
|
23266
|
+
404: components["responses"]["NotFound"];
|
|
23267
|
+
409: components["responses"]["Conflict"];
|
|
23268
|
+
};
|
|
23269
|
+
};
|
|
23270
|
+
deleteClientKeyShare: {
|
|
23271
|
+
parameters: {
|
|
23272
|
+
query?: never;
|
|
23273
|
+
header?: never;
|
|
23274
|
+
path: {
|
|
23275
|
+
key_id: string;
|
|
23276
|
+
share_id: string;
|
|
23277
|
+
};
|
|
23278
|
+
cookie?: never;
|
|
23279
|
+
};
|
|
23280
|
+
requestBody?: never;
|
|
23281
|
+
responses: {
|
|
23282
|
+
/** @description Wrap removed */
|
|
23283
|
+
204: {
|
|
23284
|
+
headers: {
|
|
23285
|
+
[name: string]: unknown;
|
|
23286
|
+
};
|
|
23287
|
+
content?: never;
|
|
23288
|
+
};
|
|
23289
|
+
401: components["responses"]["Unauthorized"];
|
|
23290
|
+
403: components["responses"]["Forbidden"];
|
|
23291
|
+
404: components["responses"]["NotFound"];
|
|
23292
|
+
};
|
|
23293
|
+
};
|
|
22718
23294
|
generateTreasuryWallets: {
|
|
22719
23295
|
parameters: {
|
|
22720
23296
|
query?: never;
|
|
@@ -24790,6 +25366,28 @@ export interface operations {
|
|
|
24790
25366
|
404: components["responses"]["NotFound"];
|
|
24791
25367
|
};
|
|
24792
25368
|
};
|
|
25369
|
+
deleteConnectionRuntime: {
|
|
25370
|
+
parameters: {
|
|
25371
|
+
query?: never;
|
|
25372
|
+
header?: never;
|
|
25373
|
+
path: {
|
|
25374
|
+
connectionId: string;
|
|
25375
|
+
runtimeId: string;
|
|
25376
|
+
};
|
|
25377
|
+
cookie?: never;
|
|
25378
|
+
};
|
|
25379
|
+
requestBody?: never;
|
|
25380
|
+
responses: {
|
|
25381
|
+
/** @description Runtime deleted */
|
|
25382
|
+
204: {
|
|
25383
|
+
headers: {
|
|
25384
|
+
[name: string]: unknown;
|
|
25385
|
+
};
|
|
25386
|
+
content?: never;
|
|
25387
|
+
};
|
|
25388
|
+
404: components["responses"]["NotFound"];
|
|
25389
|
+
};
|
|
25390
|
+
};
|
|
24793
25391
|
connectionPasskeyEnrollBegin: {
|
|
24794
25392
|
parameters: {
|
|
24795
25393
|
query?: never;
|
|
@@ -26201,6 +26799,55 @@ export interface operations {
|
|
|
26201
26799
|
};
|
|
26202
26800
|
};
|
|
26203
26801
|
};
|
|
26802
|
+
preparePayGrant: {
|
|
26803
|
+
parameters: {
|
|
26804
|
+
query?: never;
|
|
26805
|
+
header?: never;
|
|
26806
|
+
path: {
|
|
26807
|
+
agent_id: components["parameters"]["AgentId"];
|
|
26808
|
+
};
|
|
26809
|
+
cookie?: never;
|
|
26810
|
+
};
|
|
26811
|
+
requestBody: {
|
|
26812
|
+
content: {
|
|
26813
|
+
"application/json": {
|
|
26814
|
+
cap_usd: string;
|
|
26815
|
+
ttl_secs: number;
|
|
26816
|
+
allowed_paytos?: string[] | null;
|
|
26817
|
+
};
|
|
26818
|
+
};
|
|
26819
|
+
};
|
|
26820
|
+
responses: {
|
|
26821
|
+
/** @description The digest to assert over */
|
|
26822
|
+
200: {
|
|
26823
|
+
headers: {
|
|
26824
|
+
[name: string]: unknown;
|
|
26825
|
+
};
|
|
26826
|
+
content: {
|
|
26827
|
+
"application/json": {
|
|
26828
|
+
grant_digest: string;
|
|
26829
|
+
/** @enum {string} */
|
|
26830
|
+
action: "x402_grant";
|
|
26831
|
+
expires_in_secs: number;
|
|
26832
|
+
};
|
|
26833
|
+
};
|
|
26834
|
+
};
|
|
26835
|
+
/** @description Invalid terms */
|
|
26836
|
+
400: {
|
|
26837
|
+
headers: {
|
|
26838
|
+
[name: string]: unknown;
|
|
26839
|
+
};
|
|
26840
|
+
content?: never;
|
|
26841
|
+
};
|
|
26842
|
+
/** @description Not a human caller */
|
|
26843
|
+
403: {
|
|
26844
|
+
headers: {
|
|
26845
|
+
[name: string]: unknown;
|
|
26846
|
+
};
|
|
26847
|
+
content?: never;
|
|
26848
|
+
};
|
|
26849
|
+
};
|
|
26850
|
+
};
|
|
26204
26851
|
createPayGrant: {
|
|
26205
26852
|
parameters: {
|
|
26206
26853
|
query?: never;
|