@1claw/sdk 0.58.0 → 0.58.2

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 CHANGED
@@ -1,4 +1,4 @@
1
- # @1claw/sdk
1
+ # @1claw/sdk (v0.58.2)
2
2
 
3
3
  TypeScript/JavaScript client for the 1Claw Vault API.
4
4
 
@@ -106,8 +106,19 @@ await client.auth.verifyEmailChange({ code: "123456" });
106
106
  | `client.fiat` | `createOnrampSession`, `initiateOfframp` |
107
107
  | `client.signingKeys` | `create`, `list`, `rotate`, `deactivate`, `export` |
108
108
  | `client.agents` (Bankr) | `leaseBankrKey`, `listBankrKeys`, `revokeBankrKey` — privileged; `api_key` omitted for agent JWTs (use Shroud) |
109
- | `client.platform` | `createApp`, `listApps`, `getApp`, `updateApp`, `deleteApp`, `rotateKey`, `rotateWebhookSecret`, `getAppStats`, `marketplace`, `createTemplate`, `listTemplates`, `upsertUser`, `listUsers`, `bootstrapUser`, `reissueClaim`, `claimPreview`, `claimRedeem`, `listConnectedApps`, `disconnectApp`, `grantAccess`, `listGrants`, `revokeGrant`, `createSpendPolicy`, `listSpendPolicies`, `setUserSpendPolicy`, `deleteSpendPolicy`, `updateConnectionDelegation`, **`siweChallenge`**, **`getConnection`**, **`getConnectionUsage`**, **`listEntitlements`**, **`refreshEntitlements`**, **`previewTemplate`** |
109
+ | `client.platform` | `createApp`, `listApps`, `getApp`, `updateApp`, `deleteApp`, `rotateKey`, `rotateWebhookSecret`, `getAppStats`, `marketplace`, `createTemplate`, `listTemplates`, `upsertUser`, `listUsers`, `bootstrapUser`, `reissueClaim`, `claimPreview`, `claimRedeem`, `listConnectedApps`, `disconnectApp`, `grantAccess`, `listGrants`, `revokeGrant`, `createSpendPolicy`, `listSpendPolicies`, `setUserSpendPolicy`, `deleteSpendPolicy`, `updateConnectionDelegation`, **`siweChallenge`**, **`getConnection`**, **`getConnectionUsage`**, **`listEntitlements`**, **`refreshEntitlements`**, **`previewTemplate`**, **`transferAppOwnership`**, **`getSpendPolicy`**, **`getConnectionSpendPolicy`**, **`listConnectionApprovals`**, **`getConnectionApproval`**, **`listConnectionPendingApprovals`** |
110
110
  | `client.treasuryWallets` | … **`getInferenceBudget`** (platform-connected users) |
111
+ | `client.bindings` | `create`, `list`, `get`, `update`, `delete`, `test`, `execute`, `rotateCredential`, `listExecutions` |
112
+ | `client.chat` | `sendMessage`, `sendMessageStream`, `listConversations`, `getConversation`, `deleteConversation` |
113
+ | `client.channels` | `create`, `list`, `update`, `delete`, `send`, `test`, `refreshWebhook`, `listMessages` |
114
+ | `client.oauthConnect` | `listProviders`, `listConnections`, `connect`, `disconnect`, `saveAppCredentials`, `listAppCredentials`, `deleteAppCredentials` |
115
+ | `client.cedarPolicies` | `create`, `list`, `get`, `delete`, `test` |
116
+ | `client.opaPolicies` | `create`, `list`, `get`, `delete`, `test` |
117
+ | `client.contractAbis` | `upload`, `list`, `delete` |
118
+ | `client.pendingApprovals` | `list`, `get`, `approve`, `execute`, `cancel` |
119
+ | `client.subOrgs` | `create`, `list`, `get`, `delete`, `grantPermission`, `revokePermission`, `addUser`, `generateWallets` |
120
+ | `client.portfolio` | `get` |
121
+ | `client.cards` | `order`, `orderGiftCard`, `searchGiftCards`, `list`, `get`, `reveal`, `update`, `void`, `refresh`, `import` |
111
122
  | `client.devices` | `register`, `list`, `delete`, `challenge`, `attest`, `setPushToken` |
112
123
  | `client.passkeys` | `list`, `registerBegin`, `registerComplete`, `assertBegin`, `assertComplete`, `delete` |
113
124
  | `client.risk` | `listEvents`, `getVerdict`, `listVerdicts`, `createHoneytoken`, `listHoneytokens`, `deleteHoneytoken` |
@@ -1017,6 +1028,41 @@ await client.platform.previewTemplate(appId, templateId, { parameters: { agent_n
1017
1028
  await client.treasuryWallets.getInferenceBudget();
1018
1029
  ```
1019
1030
 
1031
+ ## v0.58 — Platform API control plane
1032
+
1033
+ App-scoped reads, spend-policy idempotency, and ownership transfer (plt_ auth unless noted):
1034
+
1035
+ ```typescript
1036
+ await client.platform.transferAppOwnership(appId, {
1037
+ target_org_id: "org-uuid",
1038
+ });
1039
+ await client.platform.getSpendPolicy(appId, policyId);
1040
+ await client.platform.getConnectionSpendPolicy(connectionId);
1041
+ await client.platform.listConnectionApprovals(connectionId);
1042
+ await client.platform.getConnectionApproval(connectionId, approvalId);
1043
+ await client.platform.listConnectionPendingApprovals(connectionId);
1044
+ await client.platform.getTemplate(appId, templateId);
1045
+ await client.platform.createConnectionRuntime(connectionId, {
1046
+ name: "my-runtime",
1047
+ agent_id: "agent-uuid",
1048
+ preset: "small",
1049
+ template: "openclaw",
1050
+ });
1051
+ await client.platform.connectionAgentChat(connectionId, agentId, {
1052
+ message: "Hello",
1053
+ });
1054
+ await client.platform.decideConnectionPendingApproval(connectionId, approvalId, {
1055
+ decision: "approve",
1056
+ payload_hash: "...",
1057
+ credential_type: "wallet_mandate",
1058
+ });
1059
+ await client.platform.decideConnectionApproval(connectionId, approvalId, {
1060
+ decision: "approved",
1061
+ });
1062
+ await client.platform.deactivateConnectionSigningKey(connectionId, "ethereum", agentId);
1063
+ // setUserSpendPolicy(connectionId, data, { idempotencyKey: "..." }) — 24h replay protection
1064
+ ```
1065
+
1020
1066
  ## OpenAPI Types
1021
1067
 
1022
1068
  The SDK's request types are generated from the **OpenAPI 3.1** spec, published as [@1claw/openapi-spec](https://www.npmjs.com/package/@1claw/openapi-spec). Advanced users can access the raw generated types:
@@ -4147,7 +4147,11 @@ export interface paths {
4147
4147
  path?: never;
4148
4148
  cookie?: never;
4149
4149
  };
4150
- get?: never;
4150
+ /**
4151
+ * Get a bootstrap template
4152
+ * @description Returns the full template spec for a platform app. plt_ or user JWT.
4153
+ */
4154
+ get: operations["getPlatformTemplate"];
4151
4155
  put?: never;
4152
4156
  post?: never;
4153
4157
  /** Delete a bootstrap template */
@@ -5120,9 +5124,10 @@ export interface paths {
5120
5124
  get: operations["getConnectionSpendPolicy"];
5121
5125
  /**
5122
5126
  * Set per-user spend policy override
5123
- * @description Override the app-wide spend policy for a specific connected user. This
5124
- * policy takes precedence over the app default. Remove by deleting the
5125
- * connection-level policy.
5127
+ * @description Replace the per-user spend policy for a connected user (deactivates the
5128
+ * previous active row, then inserts). Requires plt_ platform auth.
5129
+ * Optional `Idempotency-Key` header must cover the full request body — reusing
5130
+ * the same key with different parameters returns 409.
5126
5131
  */
5127
5132
  put: operations["setUserSpendPolicy"];
5128
5133
  post?: never;
@@ -5192,6 +5197,132 @@ export interface paths {
5192
5197
  patch?: never;
5193
5198
  trace?: never;
5194
5199
  };
5200
+ "/v1/platform/connections/{connectionId}/pending-approvals/{approvalId}": {
5201
+ parameters: {
5202
+ query?: never;
5203
+ header?: never;
5204
+ path?: never;
5205
+ cookie?: never;
5206
+ };
5207
+ /** Get a connection-scoped pending approval (with payload_hash) */
5208
+ get: operations["getConnectionPendingApproval"];
5209
+ put?: never;
5210
+ post?: never;
5211
+ delete?: never;
5212
+ options?: never;
5213
+ head?: never;
5214
+ patch?: never;
5215
+ trace?: never;
5216
+ };
5217
+ "/v1/platform/connections/{connectionId}/pending-approvals/{approvalId}/decide": {
5218
+ parameters: {
5219
+ query?: never;
5220
+ header?: never;
5221
+ path?: never;
5222
+ cookie?: never;
5223
+ };
5224
+ get?: never;
5225
+ put?: never;
5226
+ /**
5227
+ * Decide a pending approval for a connection user
5228
+ * @description Platform apps vote on behalf of the connected user after verifying intent
5229
+ * out-of-band (e.g. wallet mandate). Requires `payload_hash` matching the
5230
+ * pending row. Accepts `decision`: `approve` or `reject` (aliases `approved` /
5231
+ * `rejected`). plt_ auth only; scoped to agents on the connection.
5232
+ */
5233
+ post: operations["decideConnectionPendingApproval"];
5234
+ delete?: never;
5235
+ options?: never;
5236
+ head?: never;
5237
+ patch?: never;
5238
+ trace?: never;
5239
+ };
5240
+ "/v1/platform/connections/{connectionId}/approvals/{approvalId}/decide": {
5241
+ parameters: {
5242
+ query?: never;
5243
+ header?: never;
5244
+ path?: never;
5245
+ cookie?: never;
5246
+ };
5247
+ get?: never;
5248
+ put?: never;
5249
+ /**
5250
+ * Decide a mobile/agent approval for a connection user
5251
+ * @description Platform apps decide agent approval requests on behalf of the connected user.
5252
+ * Accepts `decision`: `approved` or `rejected` (aliases `approve` / `reject`).
5253
+ * plt_ auth only.
5254
+ */
5255
+ post: operations["decideConnectionApproval"];
5256
+ delete?: never;
5257
+ options?: never;
5258
+ head?: never;
5259
+ patch?: never;
5260
+ trace?: never;
5261
+ };
5262
+ "/v1/platform/connections/{connectionId}/signing-keys/{chain}": {
5263
+ parameters: {
5264
+ query?: never;
5265
+ header?: never;
5266
+ path?: never;
5267
+ cookie?: never;
5268
+ };
5269
+ get?: never;
5270
+ put?: never;
5271
+ post?: never;
5272
+ /**
5273
+ * Deactivate a signing key for a connection agent
5274
+ * @description Deactivates the signing key for an agent provisioned on the connection.
5275
+ * When multiple agents exist, pass `agent_id` query param. plt_ auth only.
5276
+ */
5277
+ delete: operations["deactivateConnectionSigningKey"];
5278
+ options?: never;
5279
+ head?: never;
5280
+ patch?: never;
5281
+ trace?: never;
5282
+ };
5283
+ "/v1/platform/connections/{connectionId}/runtimes": {
5284
+ parameters: {
5285
+ query?: never;
5286
+ header?: never;
5287
+ path?: never;
5288
+ cookie?: never;
5289
+ };
5290
+ get?: never;
5291
+ put?: never;
5292
+ /**
5293
+ * Create a runtime for a connection agent
5294
+ * @description Creates a Cloud Runtime in the end-user's org for an agent on this connection.
5295
+ * Use instead of `POST /v1/runtimes` with a plt_ key (which resolves to the platform org).
5296
+ * App must verify user intent out-of-band (e.g. wallet mandate) before calling.
5297
+ */
5298
+ post: operations["createConnectionRuntime"];
5299
+ delete?: never;
5300
+ options?: never;
5301
+ head?: never;
5302
+ patch?: never;
5303
+ trace?: never;
5304
+ };
5305
+ "/v1/platform/connections/{connectionId}/agents/{agentId}/chat": {
5306
+ parameters: {
5307
+ query?: never;
5308
+ header?: never;
5309
+ path?: never;
5310
+ cookie?: never;
5311
+ };
5312
+ get?: never;
5313
+ put?: never;
5314
+ /**
5315
+ * Chat with a connection agent (plt_ scoped)
5316
+ * @description Send a chat message to an agent provisioned on this connection, acting as the
5317
+ * connected end-user. Use instead of `POST /v1/agents/{id}/chat` with a plt_ key.
5318
+ */
5319
+ post: operations["connectionAgentChat"];
5320
+ delete?: never;
5321
+ options?: never;
5322
+ head?: never;
5323
+ patch?: never;
5324
+ trace?: never;
5325
+ };
5195
5326
  "/v1/approvals": {
5196
5327
  parameters: {
5197
5328
  query?: never;
@@ -6190,6 +6321,29 @@ export interface paths {
6190
6321
  patch?: never;
6191
6322
  trace?: never;
6192
6323
  };
6324
+ "/v1/agents/{agent_id}/automations": {
6325
+ parameters: {
6326
+ query?: never;
6327
+ header?: never;
6328
+ path?: never;
6329
+ cookie?: never;
6330
+ };
6331
+ get?: never;
6332
+ put?: never;
6333
+ /**
6334
+ * Create agent automation (agent-only)
6335
+ * @description Agent-scoped create for simple manual or webhook automations from chat/runtime tools.
6336
+ * Allowed step types: log, notify, memory_get, memory_put, wait (max 10).
6337
+ * Cron, swap, http, and transaction steps require human dashboard setup.
6338
+ * Requires agent JWT; agent_id in path must match the caller.
6339
+ */
6340
+ post: operations["createAgentAutomation"];
6341
+ delete?: never;
6342
+ options?: never;
6343
+ head?: never;
6344
+ patch?: never;
6345
+ trace?: never;
6346
+ };
6193
6347
  "/v1/runtimes": {
6194
6348
  parameters: {
6195
6349
  query?: never;
@@ -11120,6 +11274,8 @@ export interface components {
11120
11274
  wallet_address?: string | null;
11121
11275
  vault_ids: string[];
11122
11276
  agent_ids: string[];
11277
+ runtime_ids?: string[];
11278
+ automation_ids?: string[];
11123
11279
  /** Format: date-time */
11124
11280
  claimed_at?: string | null;
11125
11281
  claim: components["schemas"]["ClaimStatusResponse"];
@@ -11615,6 +11771,28 @@ export interface components {
11615
11771
  [key: string]: unknown;
11616
11772
  };
11617
11773
  };
11774
+ /**
11775
+ * @description Agent-scoped automation create. Defaults to manual trigger.
11776
+ * workflow_spec must use only agent-allowed step types (log, notify, memory_get, memory_put, wait).
11777
+ */
11778
+ AgentCreateAutomationRequest: {
11779
+ name: string;
11780
+ /**
11781
+ * @default manual
11782
+ * @enum {string}
11783
+ */
11784
+ trigger_type: "manual" | "webhook";
11785
+ workflow_spec: {
11786
+ [key: string]: unknown;
11787
+ }[] | {
11788
+ [key: string]: unknown;
11789
+ };
11790
+ /**
11791
+ * @description When true (manual trigger only), start a run immediately after creation
11792
+ * @default false
11793
+ */
11794
+ auto_trigger: boolean;
11795
+ };
11618
11796
  UpdateAutomationRequest: {
11619
11797
  name?: string;
11620
11798
  cron_expr?: string | null;
@@ -11660,6 +11838,11 @@ export interface components {
11660
11838
  success_rate?: number | null;
11661
11839
  /** @description Resolved agent display name (enriched list field) */
11662
11840
  agent_name?: string | null;
11841
+ /**
11842
+ * @description Whether the automation was created by a human or agent (chat-native create)
11843
+ * @enum {string}
11844
+ */
11845
+ created_by_type?: "user" | "agent";
11663
11846
  /** Format: date-time */
11664
11847
  created_at: string;
11665
11848
  /** Format: date-time */
@@ -11731,6 +11914,25 @@ export interface components {
11731
11914
  };
11732
11915
  }[];
11733
11916
  };
11917
+ CreateConnectionRuntimeRequest: {
11918
+ name: string;
11919
+ /**
11920
+ * Format: uuid
11921
+ * @description Required when multiple agents on the connection; defaults to sole agent
11922
+ */
11923
+ agent_id?: string;
11924
+ template?: string;
11925
+ /** @default medium */
11926
+ preset: string;
11927
+ env_public?: {
11928
+ [key: string]: unknown;
11929
+ };
11930
+ idle_timeout_secs?: number;
11931
+ expose_http?: boolean;
11932
+ slug?: string;
11933
+ inbound_auth?: string;
11934
+ startup_command?: string;
11935
+ };
11734
11936
  CreateRuntimeRequest: {
11735
11937
  name: string;
11736
11938
  /** Format: uuid */
@@ -12738,7 +12940,7 @@ export interface components {
12738
12940
  };
12739
12941
  ApprovePendingApprovalRequest: {
12740
12942
  /** @enum {string} */
12741
- decision: "approve" | "reject";
12943
+ decision: "approve" | "reject" | "approved" | "rejected";
12742
12944
  payload_hash: string;
12743
12945
  reason?: string;
12744
12946
  /**
@@ -19407,6 +19609,30 @@ export interface operations {
19407
19609
  404: components["responses"]["NotFound"];
19408
19610
  };
19409
19611
  };
19612
+ getPlatformTemplate: {
19613
+ parameters: {
19614
+ query?: never;
19615
+ header?: never;
19616
+ path: {
19617
+ appId: string;
19618
+ template_id: string;
19619
+ };
19620
+ cookie?: never;
19621
+ };
19622
+ requestBody?: never;
19623
+ responses: {
19624
+ /** @description Template details */
19625
+ 200: {
19626
+ headers: {
19627
+ [name: string]: unknown;
19628
+ };
19629
+ content: {
19630
+ "application/json": components["schemas"]["PlatformTemplateResponse"];
19631
+ };
19632
+ };
19633
+ 404: components["responses"]["NotFound"];
19634
+ };
19635
+ };
19410
19636
  deletePlatformTemplate: {
19411
19637
  parameters: {
19412
19638
  query?: never;
@@ -19786,6 +20012,193 @@ export interface operations {
19786
20012
  404: components["responses"]["NotFound"];
19787
20013
  };
19788
20014
  };
20015
+ getConnectionPendingApproval: {
20016
+ parameters: {
20017
+ query?: never;
20018
+ header?: never;
20019
+ path: {
20020
+ connectionId: string;
20021
+ approvalId: string;
20022
+ };
20023
+ cookie?: never;
20024
+ };
20025
+ requestBody?: never;
20026
+ responses: {
20027
+ /** @description Pending approval detail including action_payload and payload_hash */
20028
+ 200: {
20029
+ headers: {
20030
+ [name: string]: unknown;
20031
+ };
20032
+ content: {
20033
+ "application/json": components["schemas"]["PendingApprovalResponse"];
20034
+ };
20035
+ };
20036
+ 404: components["responses"]["NotFound"];
20037
+ };
20038
+ };
20039
+ decideConnectionPendingApproval: {
20040
+ parameters: {
20041
+ query?: never;
20042
+ header?: never;
20043
+ path: {
20044
+ connectionId: string;
20045
+ approvalId: string;
20046
+ };
20047
+ cookie?: never;
20048
+ };
20049
+ requestBody: {
20050
+ content: {
20051
+ "application/json": components["schemas"]["ApprovePendingApprovalRequest"];
20052
+ };
20053
+ };
20054
+ responses: {
20055
+ /** @description Updated pending approval */
20056
+ 200: {
20057
+ headers: {
20058
+ [name: string]: unknown;
20059
+ };
20060
+ content: {
20061
+ "application/json": components["schemas"]["PendingApprovalResponse"];
20062
+ };
20063
+ };
20064
+ 400: components["responses"]["BadRequest"];
20065
+ 403: components["responses"]["Forbidden"];
20066
+ 404: components["responses"]["NotFound"];
20067
+ /** @description Already voted */
20068
+ 409: {
20069
+ headers: {
20070
+ [name: string]: unknown;
20071
+ };
20072
+ content?: never;
20073
+ };
20074
+ };
20075
+ };
20076
+ decideConnectionApproval: {
20077
+ parameters: {
20078
+ query?: never;
20079
+ header?: never;
20080
+ path: {
20081
+ connectionId: string;
20082
+ approvalId: string;
20083
+ };
20084
+ cookie?: never;
20085
+ };
20086
+ requestBody: {
20087
+ content: {
20088
+ "application/json": {
20089
+ /** @enum {string} */
20090
+ decision: "approved" | "rejected" | "approve" | "reject";
20091
+ reason?: string;
20092
+ };
20093
+ };
20094
+ };
20095
+ responses: {
20096
+ /** @description Decided approval */
20097
+ 200: {
20098
+ headers: {
20099
+ [name: string]: unknown;
20100
+ };
20101
+ content: {
20102
+ "application/json": components["schemas"]["ApprovalResponse"];
20103
+ };
20104
+ };
20105
+ 403: components["responses"]["Forbidden"];
20106
+ 404: components["responses"]["NotFound"];
20107
+ /** @description Already decided */
20108
+ 409: {
20109
+ headers: {
20110
+ [name: string]: unknown;
20111
+ };
20112
+ content?: never;
20113
+ };
20114
+ };
20115
+ };
20116
+ deactivateConnectionSigningKey: {
20117
+ parameters: {
20118
+ query?: {
20119
+ agent_id?: string;
20120
+ };
20121
+ header?: never;
20122
+ path: {
20123
+ connectionId: string;
20124
+ chain: string;
20125
+ };
20126
+ cookie?: never;
20127
+ };
20128
+ requestBody?: never;
20129
+ responses: {
20130
+ /** @description Key deactivated */
20131
+ 204: {
20132
+ headers: {
20133
+ [name: string]: unknown;
20134
+ };
20135
+ content?: never;
20136
+ };
20137
+ /** @description Multiple agents — agent_id required */
20138
+ 400: {
20139
+ headers: {
20140
+ [name: string]: unknown;
20141
+ };
20142
+ content?: never;
20143
+ };
20144
+ 404: components["responses"]["NotFound"];
20145
+ };
20146
+ };
20147
+ createConnectionRuntime: {
20148
+ parameters: {
20149
+ query?: never;
20150
+ header?: never;
20151
+ path: {
20152
+ connectionId: string;
20153
+ };
20154
+ cookie?: never;
20155
+ };
20156
+ requestBody: {
20157
+ content: {
20158
+ "application/json": components["schemas"]["CreateConnectionRuntimeRequest"];
20159
+ };
20160
+ };
20161
+ responses: {
20162
+ /** @description Runtime created */
20163
+ 201: {
20164
+ headers: {
20165
+ [name: string]: unknown;
20166
+ };
20167
+ content: {
20168
+ "application/json": components["schemas"]["RuntimeResponse"];
20169
+ };
20170
+ };
20171
+ 403: components["responses"]["Forbidden"];
20172
+ 404: components["responses"]["NotFound"];
20173
+ };
20174
+ };
20175
+ connectionAgentChat: {
20176
+ parameters: {
20177
+ query?: never;
20178
+ header?: never;
20179
+ path: {
20180
+ connectionId: string;
20181
+ agentId: string;
20182
+ };
20183
+ cookie?: never;
20184
+ };
20185
+ requestBody: {
20186
+ content: {
20187
+ "application/json": components["schemas"]["SendChatMessageRequest"];
20188
+ };
20189
+ };
20190
+ responses: {
20191
+ /** @description Message sent (JSON or SSE stream) */
20192
+ 200: {
20193
+ headers: {
20194
+ [name: string]: unknown;
20195
+ };
20196
+ content?: never;
20197
+ };
20198
+ 403: components["responses"]["Forbidden"];
20199
+ 404: components["responses"]["NotFound"];
20200
+ };
20201
+ };
19789
20202
  listApprovals: {
19790
20203
  parameters: {
19791
20204
  query?: {
@@ -21428,6 +21841,36 @@ export interface operations {
21428
21841
  };
21429
21842
  };
21430
21843
  };
21844
+ createAgentAutomation: {
21845
+ parameters: {
21846
+ query?: never;
21847
+ header?: never;
21848
+ path: {
21849
+ agent_id: string;
21850
+ };
21851
+ cookie?: never;
21852
+ };
21853
+ requestBody: {
21854
+ content: {
21855
+ "application/json": components["schemas"]["AgentCreateAutomationRequest"];
21856
+ };
21857
+ };
21858
+ responses: {
21859
+ /** @description Automation created (includes one-time webhook credentials when trigger_type is webhook) */
21860
+ 201: {
21861
+ headers: {
21862
+ [name: string]: unknown;
21863
+ };
21864
+ content: {
21865
+ "application/json": components["schemas"]["AutomationCreatedResponse"];
21866
+ };
21867
+ };
21868
+ 400: components["responses"]["BadRequest"];
21869
+ 401: components["responses"]["Unauthorized"];
21870
+ 403: components["responses"]["Forbidden"];
21871
+ 404: components["responses"]["NotFound"];
21872
+ };
21873
+ };
21431
21874
  listRuntimes: {
21432
21875
  parameters: {
21433
21876
  query?: never;