@1claw/sdk 0.43.4 → 0.44.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 +2 -2
- package/dist/core/client.d.ts +3 -0
- package/dist/core/client.d.ts.map +1 -1
- package/dist/core/client.js +2 -0
- package/dist/core/client.js.map +1 -1
- package/dist/generated/api-types.d.ts +407 -1
- package/dist/generated/api-types.d.ts.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/resources/automations.d.ts +5 -1
- package/dist/resources/automations.d.ts.map +1 -1
- package/dist/resources/automations.js +8 -0
- package/dist/resources/automations.js.map +1 -1
- package/dist/resources/memory.d.ts +3 -1
- package/dist/resources/memory.d.ts.map +1 -1
- package/dist/resources/memory.js +4 -0
- package/dist/resources/memory.js.map +1 -1
- package/dist/resources/platform.d.ts +41 -1
- 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/webhooks.d.ts +20 -0
- package/dist/resources/webhooks.d.ts.map +1 -0
- package/dist/resources/webhooks.js +31 -0
- package/dist/resources/webhooks.js.map +1 -0
- package/dist/types.d.ts +59 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -102,12 +102,12 @@ await client.auth.verifyEmailChange({ code: "123456" });
|
|
|
102
102
|
| `client.fiat` | `createOnrampSession`, `initiateOfframp` |
|
|
103
103
|
| `client.signingKeys` | `create`, `list`, `rotate`, `deactivate`, `export` |
|
|
104
104
|
| `client.agents` (Bankr) | `leaseBankrKey`, `listBankrKeys`, `revokeBankrKey` — privileged; `api_key` omitted for agent JWTs (use Shroud) |
|
|
105
|
-
| `client.platform` | `createApp`, `listApps`, `getApp`, `updateApp`, `deleteApp`, `rotateKey`, `createTemplate`, `listTemplates`, `upsertUser`, `listUsers`, `bootstrapUser`, `reissueClaim`, `claimPreview`, `claimRedeem`, `listConnectedApps`, `disconnectApp`, `grantAccess`, `listGrants`, `revokeGrant`, `createSpendPolicy`, `listSpendPolicies`, `setUserSpendPolicy`, `deleteSpendPolicy` |
|
|
105
|
+
| `client.platform` | `createApp`, `listApps`, `getApp`, `updateApp`, `deleteApp`, `rotateKey`, `createTemplate`, `listTemplates`, `upsertUser`, `listUsers`, `bootstrapUser`, `reissueClaim`, `claimPreview`, `claimRedeem`, `listConnectedApps`, `disconnectApp`, `grantAccess`, `listGrants`, `revokeGrant`, `createSpendPolicy`, `listSpendPolicies`, `setUserSpendPolicy`, `deleteSpendPolicy`, `updateConnectionDelegation` |
|
|
106
106
|
| `client.devices` | `register`, `list`, `delete`, `challenge`, `attest`, `setPushToken` |
|
|
107
107
|
| `client.passkeys` | `list`, `registerBegin`, `registerComplete`, `assertBegin`, `assertComplete`, `delete` |
|
|
108
108
|
| `client.risk` | `listEvents`, `getVerdict`, `listVerdicts`, `createHoneytoken`, `listHoneytokens`, `deleteHoneytoken` |
|
|
109
109
|
| `client.webhooks` | `create`, `list`, `get`, `update`, `delete` |
|
|
110
|
-
| `client.memory` | `put`, `get`, `list`, `delete`, `search`, `listNamespaces`
|
|
110
|
+
| `client.memory` | `put`, `get`, `list`, `delete`, `search`, `listNamespaces`, `deleteNamespace` |
|
|
111
111
|
| `client.automations` | `create`, `list`, `get`, `update`, `delete`, `trigger`, `listRuns` |
|
|
112
112
|
| `client.runtimes` | `create`, `list`, `get`, `update`, `delete`, `start`, `stop`, `logs`, `checkSlug` |
|
|
113
113
|
| `client.discovery` | `getAgentCard`, `directory`, `updateDiscovery`, `marketplace` |
|
package/dist/core/client.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ import { RuntimesResource } from "../resources/runtimes";
|
|
|
32
32
|
import { DiscoveryResource } from "../resources/discovery";
|
|
33
33
|
import { ChatResource } from "../resources/chat";
|
|
34
34
|
import { ChannelsResource } from "../resources/channels";
|
|
35
|
+
import { WebhooksResource } from "../resources/webhooks";
|
|
35
36
|
/**
|
|
36
37
|
* The main 1Claw SDK client. All API resources are exposed as
|
|
37
38
|
* namespaced properties for discoverability and tree-shaking.
|
|
@@ -119,6 +120,8 @@ export declare class OneclawClient {
|
|
|
119
120
|
readonly chat: ChatResource;
|
|
120
121
|
/** Channels — register external messaging channels (Telegram, WhatsApp, Discord). */
|
|
121
122
|
readonly channels: ChannelsResource;
|
|
123
|
+
/** Webhooks — register and manage event notification webhooks. */
|
|
124
|
+
readonly webhooks: WebhooksResource;
|
|
122
125
|
constructor(config: OneclawClientConfig);
|
|
123
126
|
private autoAuthenticateUserKey;
|
|
124
127
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/core/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC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E;IAClE,QAAQ,CAAC,OAAO,EAAE,eAAe,CAAC;IAClC,iEAAiE;IACjE,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,8EAA8E;IAC9E,QAAQ,CAAC,mBAAmB,EAAE,2BAA2B,CAAC;IAC1D,+EAA+E;IAC/E,QAAQ,CAAC,gBAAgB,EAAE,wBAAwB,CAAC;IACpD,wEAAwE;IACxE,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;IAC5B,uDAAuD;IACvD,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;IAC5B,+EAA+E;IAC/E,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC;IAChC,iFAAiF;IACjF,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;IAC9B,qEAAqE;IACrE,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC;IAChC,8EAA8E;IAC9E,QAAQ,CAAC,WAAW,EAAE,mBAAmB,CAAC;IAC1C,wEAAwE;IACxE,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,2DAA2D;IAC3D,QAAQ,CAAC,SAAS,EAAE,iBAAiB,CAAC;IACtC,2EAA2E;IAC3E,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;IAC5B,qFAAqF;IACrF,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,kEAAkE;IAClE,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;gBAExB,MAAM,EAAE,mBAAmB;IA8CvC,OAAO,CAAC,uBAAuB;CAclC;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,mBAAmB,GAAG,aAAa,CAEvE"}
|
package/dist/core/client.js
CHANGED
|
@@ -31,6 +31,7 @@ import { RuntimesResource } from "../resources/runtimes.js";
|
|
|
31
31
|
import { DiscoveryResource } from "../resources/discovery.js";
|
|
32
32
|
import { ChatResource } from "../resources/chat.js";
|
|
33
33
|
import { ChannelsResource } from "../resources/channels.js";
|
|
34
|
+
import { WebhooksResource } from "../resources/webhooks.js";
|
|
34
35
|
/**
|
|
35
36
|
* The main 1Claw SDK client. All API resources are exposed as
|
|
36
37
|
* namespaced properties for discoverability and tree-shaking.
|
|
@@ -94,6 +95,7 @@ export class OneclawClient {
|
|
|
94
95
|
this.discovery = new DiscoveryResource(this.http);
|
|
95
96
|
this.chat = new ChatResource(this.http);
|
|
96
97
|
this.channels = new ChannelsResource(this.http);
|
|
98
|
+
this.webhooks = new WebhooksResource(this.http);
|
|
97
99
|
}
|
|
98
100
|
autoAuthenticateUserKey(config) {
|
|
99
101
|
const authPromise = this.http
|
package/dist/core/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/core/client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,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AAC,MAAM,EAAE;SACnC,CAAC;aACD,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE;YACV,IAAI,GAAG,CAAC,IAAI,EAAE,YAAY;gBACtB,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAClD,CAAC,CAAC,CAAC;QAEP,WAAW,CAAC,KAAK,CAAC,GAAG,EAAE;YACnB,mDAAmD;QACvD,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,UAAU,YAAY,CAAC,MAA2B;IACpD,OAAO,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC;AACrC,CAAC"}
|
|
@@ -3288,6 +3288,27 @@ export interface paths {
|
|
|
3288
3288
|
patch?: never;
|
|
3289
3289
|
trace?: never;
|
|
3290
3290
|
};
|
|
3291
|
+
"/v1/platform/apps/{appId}/templates/{template_id}": {
|
|
3292
|
+
parameters: {
|
|
3293
|
+
query?: never;
|
|
3294
|
+
header?: never;
|
|
3295
|
+
path?: never;
|
|
3296
|
+
cookie?: never;
|
|
3297
|
+
};
|
|
3298
|
+
get?: never;
|
|
3299
|
+
put?: never;
|
|
3300
|
+
post?: never;
|
|
3301
|
+
/** Delete a bootstrap template */
|
|
3302
|
+
delete: operations["deletePlatformTemplate"];
|
|
3303
|
+
options?: never;
|
|
3304
|
+
head?: never;
|
|
3305
|
+
/**
|
|
3306
|
+
* Update a bootstrap template
|
|
3307
|
+
* @description Update an existing template's name, description, spec, or active status.
|
|
3308
|
+
*/
|
|
3309
|
+
patch: operations["updatePlatformTemplate"];
|
|
3310
|
+
trace?: never;
|
|
3311
|
+
};
|
|
3291
3312
|
"/v1/platform/users/upsert": {
|
|
3292
3313
|
parameters: {
|
|
3293
3314
|
query?: never;
|
|
@@ -3634,6 +3655,30 @@ export interface paths {
|
|
|
3634
3655
|
};
|
|
3635
3656
|
options?: never;
|
|
3636
3657
|
head?: never;
|
|
3658
|
+
/**
|
|
3659
|
+
* Update connection delegation
|
|
3660
|
+
* @description Toggle delegation and update delegation scopes for a connected platform app. User-only.
|
|
3661
|
+
*/
|
|
3662
|
+
patch: operations["updateConnectionDelegation"];
|
|
3663
|
+
trace?: never;
|
|
3664
|
+
};
|
|
3665
|
+
"/v1/platform/connections/{connectionId}/delegation-log": {
|
|
3666
|
+
parameters: {
|
|
3667
|
+
query?: never;
|
|
3668
|
+
header?: never;
|
|
3669
|
+
path?: never;
|
|
3670
|
+
cookie?: never;
|
|
3671
|
+
};
|
|
3672
|
+
/**
|
|
3673
|
+
* Delegation audit log
|
|
3674
|
+
* @description List delegated actions performed by a platform app on behalf of this user.
|
|
3675
|
+
*/
|
|
3676
|
+
get: operations["getDelegationLog"];
|
|
3677
|
+
put?: never;
|
|
3678
|
+
post?: never;
|
|
3679
|
+
delete?: never;
|
|
3680
|
+
options?: never;
|
|
3681
|
+
head?: never;
|
|
3637
3682
|
patch?: never;
|
|
3638
3683
|
trace?: never;
|
|
3639
3684
|
};
|
|
@@ -4767,6 +4812,26 @@ export interface paths {
|
|
|
4767
4812
|
patch?: never;
|
|
4768
4813
|
trace?: never;
|
|
4769
4814
|
};
|
|
4815
|
+
"/v1/automations/{automationId}/runs/{runId}": {
|
|
4816
|
+
parameters: {
|
|
4817
|
+
query?: never;
|
|
4818
|
+
header?: never;
|
|
4819
|
+
path?: never;
|
|
4820
|
+
cookie?: never;
|
|
4821
|
+
};
|
|
4822
|
+
/**
|
|
4823
|
+
* Get automation run
|
|
4824
|
+
* @description Get details of a single automation run including step results and context.
|
|
4825
|
+
*/
|
|
4826
|
+
get: operations["getAutomationRun"];
|
|
4827
|
+
put?: never;
|
|
4828
|
+
post?: never;
|
|
4829
|
+
delete?: never;
|
|
4830
|
+
options?: never;
|
|
4831
|
+
head?: never;
|
|
4832
|
+
patch?: never;
|
|
4833
|
+
trace?: never;
|
|
4834
|
+
};
|
|
4770
4835
|
"/v1/automations/assist/draft": {
|
|
4771
4836
|
parameters: {
|
|
4772
4837
|
query?: never;
|
|
@@ -4835,6 +4900,47 @@ export interface paths {
|
|
|
4835
4900
|
patch?: never;
|
|
4836
4901
|
trace?: never;
|
|
4837
4902
|
};
|
|
4903
|
+
"/v1/automations/{automationId}/runs/{runId}/cancel": {
|
|
4904
|
+
parameters: {
|
|
4905
|
+
query?: never;
|
|
4906
|
+
header?: never;
|
|
4907
|
+
path?: never;
|
|
4908
|
+
cookie?: never;
|
|
4909
|
+
};
|
|
4910
|
+
get?: never;
|
|
4911
|
+
put?: never;
|
|
4912
|
+
/**
|
|
4913
|
+
* Cancel a running automation run
|
|
4914
|
+
* @description Cancel a run that is currently in `running` or `awaiting_approval` status.
|
|
4915
|
+
* Returns the updated run with status `cancelled`.
|
|
4916
|
+
*/
|
|
4917
|
+
post: operations["cancelAutomationRun"];
|
|
4918
|
+
delete?: never;
|
|
4919
|
+
options?: never;
|
|
4920
|
+
head?: never;
|
|
4921
|
+
patch?: never;
|
|
4922
|
+
trace?: never;
|
|
4923
|
+
};
|
|
4924
|
+
"/v1/automations/presets": {
|
|
4925
|
+
parameters: {
|
|
4926
|
+
query?: never;
|
|
4927
|
+
header?: never;
|
|
4928
|
+
path?: never;
|
|
4929
|
+
cookie?: never;
|
|
4930
|
+
};
|
|
4931
|
+
/**
|
|
4932
|
+
* List automation presets
|
|
4933
|
+
* @description Public preset gallery of ready-to-use automation templates.
|
|
4934
|
+
*/
|
|
4935
|
+
get: operations["listAutomationPresets"];
|
|
4936
|
+
put?: never;
|
|
4937
|
+
post?: never;
|
|
4938
|
+
delete?: never;
|
|
4939
|
+
options?: never;
|
|
4940
|
+
head?: never;
|
|
4941
|
+
patch?: never;
|
|
4942
|
+
trace?: never;
|
|
4943
|
+
};
|
|
4838
4944
|
"/v1/runtimes": {
|
|
4839
4945
|
parameters: {
|
|
4840
4946
|
query?: never;
|
|
@@ -5312,6 +5418,26 @@ export interface paths {
|
|
|
5312
5418
|
patch?: never;
|
|
5313
5419
|
trace?: never;
|
|
5314
5420
|
};
|
|
5421
|
+
"/v1/agents/{agent_id}/channels/{channel_id}/test": {
|
|
5422
|
+
parameters: {
|
|
5423
|
+
query?: never;
|
|
5424
|
+
header?: never;
|
|
5425
|
+
path?: never;
|
|
5426
|
+
cookie?: never;
|
|
5427
|
+
};
|
|
5428
|
+
get?: never;
|
|
5429
|
+
put?: never;
|
|
5430
|
+
/**
|
|
5431
|
+
* Test channel connectivity
|
|
5432
|
+
* @description Send a test message through the channel to verify connectivity and credentials.
|
|
5433
|
+
*/
|
|
5434
|
+
post: operations["testChannel"];
|
|
5435
|
+
delete?: never;
|
|
5436
|
+
options?: never;
|
|
5437
|
+
head?: never;
|
|
5438
|
+
patch?: never;
|
|
5439
|
+
trace?: never;
|
|
5440
|
+
};
|
|
5315
5441
|
"/v1/webhooks/telegram/{webhook_path}": {
|
|
5316
5442
|
parameters: {
|
|
5317
5443
|
query?: never;
|
|
@@ -7939,6 +8065,8 @@ export interface components {
|
|
|
7939
8065
|
signing_key_chains?: string[];
|
|
7940
8066
|
/** @description One-time agent API key (ocv_ prefix). Store securely — not retrievable later. */
|
|
7941
8067
|
agent_api_key?: string | null;
|
|
8068
|
+
/** @description EOA address when provision_eoa is true in the template */
|
|
8069
|
+
agent_evm_address?: string | null;
|
|
7942
8070
|
/** @description Provisioned signing key details (chain, address, public key) */
|
|
7943
8071
|
signing_keys?: {
|
|
7944
8072
|
chain?: string;
|
|
@@ -7946,6 +8074,10 @@ export interface components {
|
|
|
7946
8074
|
public_key?: string;
|
|
7947
8075
|
address?: string;
|
|
7948
8076
|
}[];
|
|
8077
|
+
/** @description IDs of runtimes provisioned by the template */
|
|
8078
|
+
runtime_ids?: string[];
|
|
8079
|
+
/** @description IDs of automations provisioned by the template */
|
|
8080
|
+
automation_ids?: string[];
|
|
7949
8081
|
};
|
|
7950
8082
|
};
|
|
7951
8083
|
ConnectedAppResponse: {
|
|
@@ -8462,6 +8594,10 @@ export interface components {
|
|
|
8462
8594
|
/**
|
|
8463
8595
|
* @description Workflow steps. Accepts a bare array `[...]` or
|
|
8464
8596
|
* `{ "steps": [...] }` (dashboard / preset shape).
|
|
8597
|
+
* Supported step types: get_secret, put_secret, http_request,
|
|
8598
|
+
* rotate_secret, notify_human, ai_generate, memory_get,
|
|
8599
|
+
* memory_put, memory_search, notify, approval_request,
|
|
8600
|
+
* condition, execute_binding.
|
|
8465
8601
|
*/
|
|
8466
8602
|
workflow_spec: {
|
|
8467
8603
|
[key: string]: unknown;
|
|
@@ -8506,6 +8642,14 @@ export interface components {
|
|
|
8506
8642
|
last_run_at?: string | null;
|
|
8507
8643
|
/** Format: date-time */
|
|
8508
8644
|
next_run_at?: string | null;
|
|
8645
|
+
/** @description Status of the most recent run (enriched list field) */
|
|
8646
|
+
last_run_status?: string | null;
|
|
8647
|
+
/** @description Total runs in the last 30 days (enriched list field) */
|
|
8648
|
+
total_runs?: number | null;
|
|
8649
|
+
/** @description Success rate percentage (enriched list field) */
|
|
8650
|
+
success_rate?: number | null;
|
|
8651
|
+
/** @description Resolved agent display name (enriched list field) */
|
|
8652
|
+
agent_name?: string | null;
|
|
8509
8653
|
/** Format: date-time */
|
|
8510
8654
|
created_at: string;
|
|
8511
8655
|
/** Format: date-time */
|
|
@@ -8547,10 +8691,14 @@ export interface components {
|
|
|
8547
8691
|
/** Format: uuid */
|
|
8548
8692
|
agent_id: string;
|
|
8549
8693
|
/** @enum {string} */
|
|
8550
|
-
status: "
|
|
8694
|
+
status: "running" | "success" | "failed" | "timed_out" | "cancelled" | "awaiting_approval";
|
|
8551
8695
|
step_results?: unknown;
|
|
8552
8696
|
error?: string | null;
|
|
8553
8697
|
trigger_source?: string | null;
|
|
8698
|
+
/** @description JSONB context passed between workflow steps */
|
|
8699
|
+
context?: {
|
|
8700
|
+
[key: string]: unknown;
|
|
8701
|
+
} | null;
|
|
8554
8702
|
/** Format: date-time */
|
|
8555
8703
|
started_at: string;
|
|
8556
8704
|
/** Format: date-time */
|
|
@@ -8561,6 +8709,18 @@ export interface components {
|
|
|
8561
8709
|
AutomationRunListResponse: {
|
|
8562
8710
|
runs: components["schemas"]["AutomationRunResponse"][];
|
|
8563
8711
|
};
|
|
8712
|
+
AutomationPresetsResponse: {
|
|
8713
|
+
presets: {
|
|
8714
|
+
id?: string;
|
|
8715
|
+
name?: string;
|
|
8716
|
+
description?: string;
|
|
8717
|
+
trigger_type?: string;
|
|
8718
|
+
cron_expr?: string | null;
|
|
8719
|
+
workflow_spec?: {
|
|
8720
|
+
[key: string]: unknown;
|
|
8721
|
+
};
|
|
8722
|
+
}[];
|
|
8723
|
+
};
|
|
8564
8724
|
CreateRuntimeRequest: {
|
|
8565
8725
|
name: string;
|
|
8566
8726
|
/** Format: uuid */
|
|
@@ -8835,6 +8995,14 @@ export interface components {
|
|
|
8835
8995
|
webhook_path?: string;
|
|
8836
8996
|
webhook_url?: string;
|
|
8837
8997
|
is_active?: boolean;
|
|
8998
|
+
/**
|
|
8999
|
+
* @description Channel-specific configuration JSON. May include:
|
|
9000
|
+
* - sender_allowlist (array of strings): restrict which external senders can trigger the agent
|
|
9001
|
+
* - auto_respond_enabled (boolean): whether the agent auto-responds to inbound messages
|
|
9002
|
+
*/
|
|
9003
|
+
config?: {
|
|
9004
|
+
[key: string]: unknown;
|
|
9005
|
+
} | null;
|
|
8838
9006
|
/** Format: date-time */
|
|
8839
9007
|
created_at?: string;
|
|
8840
9008
|
/** Format: date-time */
|
|
@@ -13667,6 +13835,135 @@ export interface operations {
|
|
|
13667
13835
|
};
|
|
13668
13836
|
};
|
|
13669
13837
|
};
|
|
13838
|
+
deletePlatformTemplate: {
|
|
13839
|
+
parameters: {
|
|
13840
|
+
query?: never;
|
|
13841
|
+
header?: never;
|
|
13842
|
+
path: {
|
|
13843
|
+
appId: string;
|
|
13844
|
+
template_id: string;
|
|
13845
|
+
};
|
|
13846
|
+
cookie?: never;
|
|
13847
|
+
};
|
|
13848
|
+
requestBody?: never;
|
|
13849
|
+
responses: {
|
|
13850
|
+
/** @description Template deleted */
|
|
13851
|
+
204: {
|
|
13852
|
+
headers: {
|
|
13853
|
+
[name: string]: unknown;
|
|
13854
|
+
};
|
|
13855
|
+
content?: never;
|
|
13856
|
+
};
|
|
13857
|
+
404: components["responses"]["NotFound"];
|
|
13858
|
+
};
|
|
13859
|
+
};
|
|
13860
|
+
updatePlatformTemplate: {
|
|
13861
|
+
parameters: {
|
|
13862
|
+
query?: never;
|
|
13863
|
+
header?: never;
|
|
13864
|
+
path: {
|
|
13865
|
+
appId: string;
|
|
13866
|
+
template_id: string;
|
|
13867
|
+
};
|
|
13868
|
+
cookie?: never;
|
|
13869
|
+
};
|
|
13870
|
+
requestBody: {
|
|
13871
|
+
content: {
|
|
13872
|
+
"application/json": {
|
|
13873
|
+
name?: string;
|
|
13874
|
+
description?: string | null;
|
|
13875
|
+
spec?: {
|
|
13876
|
+
[key: string]: unknown;
|
|
13877
|
+
};
|
|
13878
|
+
is_active?: boolean;
|
|
13879
|
+
};
|
|
13880
|
+
};
|
|
13881
|
+
};
|
|
13882
|
+
responses: {
|
|
13883
|
+
/** @description Template updated */
|
|
13884
|
+
200: {
|
|
13885
|
+
headers: {
|
|
13886
|
+
[name: string]: unknown;
|
|
13887
|
+
};
|
|
13888
|
+
content: {
|
|
13889
|
+
"application/json": components["schemas"]["PlatformTemplateResponse"];
|
|
13890
|
+
};
|
|
13891
|
+
};
|
|
13892
|
+
404: components["responses"]["NotFound"];
|
|
13893
|
+
};
|
|
13894
|
+
};
|
|
13895
|
+
updateConnectionDelegation: {
|
|
13896
|
+
parameters: {
|
|
13897
|
+
query?: never;
|
|
13898
|
+
header?: never;
|
|
13899
|
+
path: {
|
|
13900
|
+
connectionId: string;
|
|
13901
|
+
};
|
|
13902
|
+
cookie?: never;
|
|
13903
|
+
};
|
|
13904
|
+
requestBody: {
|
|
13905
|
+
content: {
|
|
13906
|
+
"application/json": {
|
|
13907
|
+
delegation_enabled?: boolean;
|
|
13908
|
+
/** @description Scopes: vaults:read, vaults:write, agents:read, agents:write, secrets:read, secrets:write, automations:*, runtimes:* */
|
|
13909
|
+
delegation_scopes?: string[];
|
|
13910
|
+
};
|
|
13911
|
+
};
|
|
13912
|
+
};
|
|
13913
|
+
responses: {
|
|
13914
|
+
/** @description Delegation settings updated */
|
|
13915
|
+
200: {
|
|
13916
|
+
headers: {
|
|
13917
|
+
[name: string]: unknown;
|
|
13918
|
+
};
|
|
13919
|
+
content: {
|
|
13920
|
+
"application/json": {
|
|
13921
|
+
/** Format: uuid */
|
|
13922
|
+
connection_id?: string;
|
|
13923
|
+
delegation_enabled?: boolean;
|
|
13924
|
+
delegation_scopes?: string[];
|
|
13925
|
+
};
|
|
13926
|
+
};
|
|
13927
|
+
};
|
|
13928
|
+
404: components["responses"]["NotFound"];
|
|
13929
|
+
};
|
|
13930
|
+
};
|
|
13931
|
+
getDelegationLog: {
|
|
13932
|
+
parameters: {
|
|
13933
|
+
query?: never;
|
|
13934
|
+
header?: never;
|
|
13935
|
+
path: {
|
|
13936
|
+
connectionId: string;
|
|
13937
|
+
};
|
|
13938
|
+
cookie?: never;
|
|
13939
|
+
};
|
|
13940
|
+
requestBody?: never;
|
|
13941
|
+
responses: {
|
|
13942
|
+
/** @description Delegation log entries */
|
|
13943
|
+
200: {
|
|
13944
|
+
headers: {
|
|
13945
|
+
[name: string]: unknown;
|
|
13946
|
+
};
|
|
13947
|
+
content: {
|
|
13948
|
+
"application/json": {
|
|
13949
|
+
entries?: {
|
|
13950
|
+
action?: string;
|
|
13951
|
+
scope?: string;
|
|
13952
|
+
resource_type?: string;
|
|
13953
|
+
/** Format: uuid */
|
|
13954
|
+
resource_id?: string;
|
|
13955
|
+
/** Format: date-time */
|
|
13956
|
+
timestamp?: string;
|
|
13957
|
+
details?: {
|
|
13958
|
+
[key: string]: unknown;
|
|
13959
|
+
} | null;
|
|
13960
|
+
}[];
|
|
13961
|
+
};
|
|
13962
|
+
};
|
|
13963
|
+
};
|
|
13964
|
+
404: components["responses"]["NotFound"];
|
|
13965
|
+
};
|
|
13966
|
+
};
|
|
13670
13967
|
listSpendPolicies: {
|
|
13671
13968
|
parameters: {
|
|
13672
13969
|
query?: never;
|
|
@@ -15136,6 +15433,31 @@ export interface operations {
|
|
|
15136
15433
|
404: components["responses"]["NotFound"];
|
|
15137
15434
|
};
|
|
15138
15435
|
};
|
|
15436
|
+
getAutomationRun: {
|
|
15437
|
+
parameters: {
|
|
15438
|
+
query?: never;
|
|
15439
|
+
header?: never;
|
|
15440
|
+
path: {
|
|
15441
|
+
automationId: string;
|
|
15442
|
+
runId: string;
|
|
15443
|
+
};
|
|
15444
|
+
cookie?: never;
|
|
15445
|
+
};
|
|
15446
|
+
requestBody?: never;
|
|
15447
|
+
responses: {
|
|
15448
|
+
/** @description Automation run detail */
|
|
15449
|
+
200: {
|
|
15450
|
+
headers: {
|
|
15451
|
+
[name: string]: unknown;
|
|
15452
|
+
};
|
|
15453
|
+
content: {
|
|
15454
|
+
"application/json": components["schemas"]["AutomationRunResponse"];
|
|
15455
|
+
};
|
|
15456
|
+
};
|
|
15457
|
+
401: components["responses"]["Unauthorized"];
|
|
15458
|
+
404: components["responses"]["NotFound"];
|
|
15459
|
+
};
|
|
15460
|
+
};
|
|
15139
15461
|
assistDraftAutomation: {
|
|
15140
15462
|
parameters: {
|
|
15141
15463
|
query?: never;
|
|
@@ -15244,6 +15566,52 @@ export interface operations {
|
|
|
15244
15566
|
404: components["responses"]["NotFound"];
|
|
15245
15567
|
};
|
|
15246
15568
|
};
|
|
15569
|
+
cancelAutomationRun: {
|
|
15570
|
+
parameters: {
|
|
15571
|
+
query?: never;
|
|
15572
|
+
header?: never;
|
|
15573
|
+
path: {
|
|
15574
|
+
automationId: string;
|
|
15575
|
+
runId: string;
|
|
15576
|
+
};
|
|
15577
|
+
cookie?: never;
|
|
15578
|
+
};
|
|
15579
|
+
requestBody?: never;
|
|
15580
|
+
responses: {
|
|
15581
|
+
/** @description Run cancelled */
|
|
15582
|
+
200: {
|
|
15583
|
+
headers: {
|
|
15584
|
+
[name: string]: unknown;
|
|
15585
|
+
};
|
|
15586
|
+
content: {
|
|
15587
|
+
"application/json": components["schemas"]["AutomationRunResponse"];
|
|
15588
|
+
};
|
|
15589
|
+
};
|
|
15590
|
+
400: components["responses"]["BadRequest"];
|
|
15591
|
+
401: components["responses"]["Unauthorized"];
|
|
15592
|
+
404: components["responses"]["NotFound"];
|
|
15593
|
+
};
|
|
15594
|
+
};
|
|
15595
|
+
listAutomationPresets: {
|
|
15596
|
+
parameters: {
|
|
15597
|
+
query?: never;
|
|
15598
|
+
header?: never;
|
|
15599
|
+
path?: never;
|
|
15600
|
+
cookie?: never;
|
|
15601
|
+
};
|
|
15602
|
+
requestBody?: never;
|
|
15603
|
+
responses: {
|
|
15604
|
+
/** @description Automation preset list */
|
|
15605
|
+
200: {
|
|
15606
|
+
headers: {
|
|
15607
|
+
[name: string]: unknown;
|
|
15608
|
+
};
|
|
15609
|
+
content: {
|
|
15610
|
+
"application/json": components["schemas"]["AutomationPresetsResponse"];
|
|
15611
|
+
};
|
|
15612
|
+
};
|
|
15613
|
+
};
|
|
15614
|
+
};
|
|
15247
15615
|
listRuntimes: {
|
|
15248
15616
|
parameters: {
|
|
15249
15617
|
query?: never;
|
|
@@ -16085,6 +16453,44 @@ export interface operations {
|
|
|
16085
16453
|
401: components["responses"]["Unauthorized"];
|
|
16086
16454
|
};
|
|
16087
16455
|
};
|
|
16456
|
+
testChannel: {
|
|
16457
|
+
parameters: {
|
|
16458
|
+
query?: never;
|
|
16459
|
+
header?: never;
|
|
16460
|
+
path: {
|
|
16461
|
+
agent_id: components["parameters"]["AgentId"];
|
|
16462
|
+
channel_id: string;
|
|
16463
|
+
};
|
|
16464
|
+
cookie?: never;
|
|
16465
|
+
};
|
|
16466
|
+
requestBody?: {
|
|
16467
|
+
content: {
|
|
16468
|
+
"application/json": {
|
|
16469
|
+
/** @description Optional chat ID to send the test message to */
|
|
16470
|
+
external_chat_id?: string;
|
|
16471
|
+
/** @description Optional custom test message content */
|
|
16472
|
+
content?: string;
|
|
16473
|
+
};
|
|
16474
|
+
};
|
|
16475
|
+
};
|
|
16476
|
+
responses: {
|
|
16477
|
+
/** @description Test result */
|
|
16478
|
+
200: {
|
|
16479
|
+
headers: {
|
|
16480
|
+
[name: string]: unknown;
|
|
16481
|
+
};
|
|
16482
|
+
content: {
|
|
16483
|
+
"application/json": {
|
|
16484
|
+
success?: boolean;
|
|
16485
|
+
message?: string | null;
|
|
16486
|
+
error?: string | null;
|
|
16487
|
+
};
|
|
16488
|
+
};
|
|
16489
|
+
};
|
|
16490
|
+
401: components["responses"]["Unauthorized"];
|
|
16491
|
+
404: components["responses"]["NotFound"];
|
|
16492
|
+
};
|
|
16493
|
+
};
|
|
16088
16494
|
telegramWebhook: {
|
|
16089
16495
|
parameters: {
|
|
16090
16496
|
query?: never;
|