@composio/client 2.0.0-rc.13 → 2.0.0-rc.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/dist/{api-key-revocation-Cepb5MPW.mjs → api-key-revocation-BtpYMp2A.mjs} +1 -1
- package/dist/{auth-g5G0n9oV.mjs → auth-DOLhepVW.mjs} +1 -1
- package/dist/{auth-configs-DuClvjog.mjs → auth-configs-DwRyrT5R.mjs} +1 -1
- package/dist/{clanker-D1NQWaPc.mjs → clanker-CKQuvB-f.mjs} +1 -1
- package/dist/{cli-CGKT5K03.mjs → cli-r2AP1DQC.mjs} +2 -2
- package/dist/{connected-accounts-C8CZoYC9.mjs → connected-accounts-DoC-z2wg.mjs} +1 -1
- package/dist/{consumer-C9YlbuuF.mjs → consumer-qY1RmyT2.mjs} +2 -2
- package/dist/{custom-Dh-9BeLk.mjs → custom-0lCWqNaG.mjs} +1 -1
- package/dist/{custom-C__H3Kph.mjs → custom-Bnoa7Qsa.mjs} +1 -1
- package/dist/effect/schemas/components/session-create-response-config.d.mts +7 -6
- package/dist/effect/schemas/components/session-create-response-config.mjs +14 -1
- package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.d.mts +7 -6
- package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.mjs +14 -1
- package/dist/effect/schemas/mcp/generate/url.mjs +5 -5
- package/dist/effect/schemas/session-configs/retrieve.d.mts +4 -4
- package/dist/effect/schemas/session-configs/retrieve.mjs +8 -0
- package/dist/effect/schemas/tool-router/session/attach.d.mts +7 -6
- package/dist/effect/schemas/tool-router/session/config-history.d.mts +7 -6
- package/dist/effect/schemas/tool-router/session/create.d.mts +7 -6
- package/dist/effect/schemas/tool-router/session/patch.d.mts +7 -6
- package/dist/effect/schemas/tool-router/session/retrieve.d.mts +7 -6
- package/dist/effect/schemas/tool-router/session/search.d.mts +4 -0
- package/dist/effect/schemas/tool-router/session/search.mjs +5 -1
- package/dist/effect/schemas.d.mts +43 -34
- package/dist/effect.d.mts +2 -2
- package/dist/effect.mjs +2 -2
- package/dist/{files-D117G13q.mjs → files-Bn4CgdQ5.mjs} +1 -1
- package/dist/{files-Azjc6Q8K.mjs → files-DNgrvsvD.mjs} +1 -1
- package/dist/{generate-CRTH0ELB.mjs → generate-gTgUCYef.mjs} +1 -1
- package/dist/{generated-deprecated-inputs-LDMdNcg5.mjs → generated-deprecated-inputs-ZjzVSweS.mjs} +6 -1
- package/dist/{generated-operations-CtVNMBUj.mjs → generated-operations-D8jOXj9j.mjs} +3 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +24 -24
- package/dist/{keyring-Ct88j6tO.mjs → keyring-Bdurkv-I.mjs} +1 -1
- package/dist/{link-Cf--DVaO.mjs → link-DhTr_Zq5.mjs} +1 -1
- package/dist/{logs-Drxog1aA.mjs → logs-BCI69MYO.mjs} +3 -3
- package/dist/{manage-CE_6prdE.mjs → manage-nrsf5m2K.mjs} +1 -1
- package/dist/{mcp-BH8R-5YV.mjs → mcp-Cf7Tp8i8.mjs} +3 -3
- package/dist/{org-Wf7f-Vv6.mjs → org-_aj_XBWC.mjs} +6 -6
- package/dist/{owner-t5WgXUr3.mjs → owner-C3FsQfkM.mjs} +1 -1
- package/dist/{project-CbBPg2b6.mjs → project-C0XrovoG.mjs} +1 -1
- package/dist/{project-CnnjwkO0.mjs → project-D08liXQJ.mjs} +1 -1
- package/dist/{project-p51XghZG.mjs → project-VByEH_fg.mjs} +1 -1
- package/dist/{project-EfFVX-hX.mjs → project-hVzPq3ta.mjs} +1 -1
- package/dist/{realtime-BKG7w32e.mjs → realtime-w-jWkaTI.mjs} +1 -1
- package/dist/resources/api-key-revocation.d.mts +1 -1
- package/dist/resources/api-key-revocation.mjs +1 -1
- package/dist/resources/auth/auth.d.mts +1 -1
- package/dist/resources/auth/auth.mjs +1 -1
- package/dist/resources/auth/index.d.mts +1 -1
- package/dist/resources/auth/index.mjs +2 -2
- package/dist/resources/auth/session.d.mts +1 -1
- package/dist/resources/auth/session.mjs +1 -1
- package/dist/resources/auth-configs.d.mts +1 -1
- package/dist/resources/auth-configs.mjs +1 -1
- package/dist/resources/auth.d.mts +1 -1
- package/dist/resources/auth.mjs +2 -2
- package/dist/resources/cli/cli.d.mts +1 -1
- package/dist/resources/cli/cli.mjs +1 -1
- package/dist/resources/cli/index.d.mts +1 -1
- package/dist/resources/cli/index.mjs +2 -2
- package/dist/resources/cli/realtime.d.mts +1 -1
- package/dist/resources/cli/realtime.mjs +1 -1
- package/dist/resources/cli.d.mts +1 -1
- package/dist/resources/cli.mjs +2 -2
- package/dist/resources/connected-accounts.d.mts +1 -1
- package/dist/resources/connected-accounts.mjs +1 -1
- package/dist/resources/custom.d.mts +1 -1
- package/dist/resources/custom.mjs +1 -1
- package/dist/resources/files.d.mts +1 -1
- package/dist/resources/files.mjs +1 -1
- package/dist/resources/index.d.mts +1 -1
- package/dist/resources/index.mjs +13 -13
- package/dist/resources/keyring.d.mts +1 -1
- package/dist/resources/keyring.mjs +1 -1
- package/dist/resources/link.d.mts +1 -1
- package/dist/resources/link.mjs +1 -1
- package/dist/resources/logs/index.d.mts +1 -1
- package/dist/resources/logs/index.mjs +3 -3
- package/dist/resources/logs/logs.d.mts +1 -1
- package/dist/resources/logs/logs.mjs +1 -1
- package/dist/resources/logs/tools.d.mts +1 -1
- package/dist/resources/logs/tools.mjs +1 -1
- package/dist/resources/logs/triggers.d.mts +1 -1
- package/dist/resources/logs/triggers.mjs +1 -1
- package/dist/resources/logs.d.mts +1 -1
- package/dist/resources/logs.mjs +3 -3
- package/dist/resources/mcp/custom.d.mts +1 -1
- package/dist/resources/mcp/custom.mjs +1 -1
- package/dist/resources/mcp/generate.d.mts +1 -1
- package/dist/resources/mcp/generate.mjs +1 -1
- package/dist/resources/mcp/index.d.mts +1 -1
- package/dist/resources/mcp/index.mjs +3 -3
- package/dist/resources/mcp/mcp.d.mts +1 -1
- package/dist/resources/mcp/mcp.mjs +1 -1
- package/dist/resources/mcp.d.mts +1 -1
- package/dist/resources/mcp.mjs +3 -3
- package/dist/resources/org/clanker.d.mts +1 -1
- package/dist/resources/org/clanker.mjs +1 -1
- package/dist/resources/org/consumer/consumer.d.mts +1 -1
- package/dist/resources/org/consumer/consumer.mjs +1 -1
- package/dist/resources/org/consumer/index.d.mts +1 -1
- package/dist/resources/org/consumer/index.mjs +2 -2
- package/dist/resources/org/consumer/project.d.mts +1 -1
- package/dist/resources/org/consumer/project.mjs +1 -1
- package/dist/resources/org/consumer.d.mts +1 -1
- package/dist/resources/org/consumer.mjs +2 -2
- package/dist/resources/org/index.d.mts +1 -1
- package/dist/resources/org/index.mjs +6 -6
- package/dist/resources/org/org.d.mts +1 -1
- package/dist/resources/org/org.mjs +1 -1
- package/dist/resources/org/owner/index.d.mts +1 -1
- package/dist/resources/org/owner/index.mjs +2 -2
- package/dist/resources/org/owner/owner.d.mts +1 -1
- package/dist/resources/org/owner/owner.mjs +1 -1
- package/dist/resources/org/owner/project.d.mts +1 -1
- package/dist/resources/org/owner/project.mjs +1 -1
- package/dist/resources/org/owner.d.mts +1 -1
- package/dist/resources/org/owner.mjs +2 -2
- package/dist/resources/org/project.d.mts +1 -1
- package/dist/resources/org/project.mjs +1 -1
- package/dist/resources/org/usage.d.mts +1 -1
- package/dist/resources/org/usage.mjs +1 -1
- package/dist/resources/org.d.mts +1 -1
- package/dist/resources/org.mjs +6 -6
- package/dist/resources/project/index.d.mts +1 -1
- package/dist/resources/project/index.mjs +1 -1
- package/dist/resources/project/project.d.mts +1 -1
- package/dist/resources/project/project.mjs +1 -1
- package/dist/resources/project/usage.d.mts +1 -1
- package/dist/resources/project/usage.mjs +1 -1
- package/dist/resources/project.d.mts +1 -1
- package/dist/resources/project.mjs +1 -1
- package/dist/resources/session-configs.d.mts +1 -1
- package/dist/resources/session-configs.mjs +1 -1
- package/dist/resources/tool-router/index.d.mts +1 -1
- package/dist/resources/tool-router/index.mjs +2 -2
- package/dist/resources/tool-router/session/files.d.mts +1 -1
- package/dist/resources/tool-router/session/files.mjs +1 -1
- package/dist/resources/tool-router/session/index.d.mts +1 -1
- package/dist/resources/tool-router/session/index.mjs +2 -2
- package/dist/resources/tool-router/session/session.d.mts +1 -1
- package/dist/resources/tool-router/session/session.mjs +1 -1
- package/dist/resources/tool-router/session.d.mts +1 -1
- package/dist/resources/tool-router/session.mjs +2 -2
- package/dist/resources/tool-router/tool-router.d.mts +1 -1
- package/dist/resources/tool-router/tool-router.mjs +1 -1
- package/dist/resources/tool-router.d.mts +1 -1
- package/dist/resources/tool-router.mjs +2 -2
- package/dist/resources/toolkits.d.mts +1 -1
- package/dist/resources/toolkits.mjs +1 -1
- package/dist/resources/tools.d.mts +1 -1
- package/dist/resources/tools.mjs +1 -1
- package/dist/resources/trigger-instances/index.d.mts +1 -1
- package/dist/resources/trigger-instances/index.mjs +2 -2
- package/dist/resources/trigger-instances/manage.d.mts +1 -1
- package/dist/resources/trigger-instances/manage.mjs +1 -1
- package/dist/resources/trigger-instances/trigger-instances.d.mts +1 -1
- package/dist/resources/trigger-instances/trigger-instances.mjs +1 -1
- package/dist/resources/trigger-instances.d.mts +1 -1
- package/dist/resources/trigger-instances.mjs +2 -2
- package/dist/resources/triggers-types.d.mts +1 -1
- package/dist/resources/triggers-types.mjs +1 -1
- package/dist/resources/webhook-endpoints.d.mts +1 -1
- package/dist/resources/webhook-endpoints.mjs +1 -1
- package/dist/resources/webhook-subscriptions.d.mts +1 -1
- package/dist/resources/webhook-subscriptions.mjs +1 -1
- package/dist/{session-Dr2pfpgr.mjs → session-DkmLw9W7.mjs} +1 -1
- package/dist/{session-BmNXoUzp.mjs → session-DpNSa-W_.mjs} +2 -2
- package/dist/{session-configs-BCEkl1E-.d.mts → session-configs-CtHZk-vG.d.mts} +96 -57
- package/dist/{tool-router-DUl_FyWW.mjs → tool-router-BS_br3iE.mjs} +1 -1
- package/dist/{toolkits-NqNU3W0c.mjs → toolkits-BPFKa015.mjs} +1 -1
- package/dist/{tools-tclheOeG.mjs → tools-BwrEpHGs.mjs} +1 -1
- package/dist/{tools-N4xcs_0a.mjs → tools-CrBz2Tm7.mjs} +1 -1
- package/dist/{trigger-instances-93_0xLWQ.mjs → trigger-instances-DyFxjnmc.mjs} +2 -2
- package/dist/{triggers-AZd9nfc9.mjs → triggers-BKDJTu8N.mjs} +1 -1
- package/dist/{triggers-types-Cop2FUpI.mjs → triggers-types-CAnS6vg7.mjs} +1 -1
- package/dist/{usage-CGagRqsM.mjs → usage-BS1Ecjh5.mjs} +1 -1
- package/dist/{usage-CrsH3XJs.mjs → usage-Dj3PPjwF.mjs} +1 -1
- package/dist/version-DrOZXX3G.d.mts +4 -0
- package/dist/{webhook-endpoints-B2b3GF14.mjs → webhook-endpoints-DE_mR76r.mjs} +1 -1
- package/dist/{webhook-subscriptions-CSP2_-0w.mjs → webhook-subscriptions-DWY9Bf_H.mjs} +1 -1
- package/package.json +1 -1
- package/dist/version-CVZVY0oU.d.mts +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "./generated-operations-D8jOXj9j.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/api-key-revocation.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("apiKeyRevocation.create");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-D8jOXj9j.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/auth-configs.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("authConfigs.create");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "./generated-operations-D8jOXj9j.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/org/clanker.ts
|
|
4
4
|
const OP_CREATE_CLAIM = generatedOperation("org.clanker.createClaim");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as mergeHeaders, b as withOperation, n as generatedOperation } from "./generated-operations-
|
|
2
|
-
import { t as Realtime } from "./realtime-
|
|
1
|
+
import { M as mergeHeaders, b as withOperation, n as generatedOperation } from "./generated-operations-D8jOXj9j.mjs";
|
|
2
|
+
import { t as Realtime } from "./realtime-w-jWkaTI.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/compat/resources/cli/cli.ts
|
|
5
5
|
const OP_CREATE_CODACT_FAILURE = generatedOperation("cli.createCodactFailure");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-D8jOXj9j.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/connected-accounts.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("connectedAccounts.create");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as mergeHeaders, b as withOperation, n as generatedOperation } from "./generated-operations-
|
|
2
|
-
import { t as Project } from "./project-
|
|
1
|
+
import { M as mergeHeaders, b as withOperation, n as generatedOperation } from "./generated-operations-D8jOXj9j.mjs";
|
|
2
|
+
import { t as Project } from "./project-VByEH_fg.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/compat/resources/org/consumer/consumer.ts
|
|
5
5
|
const OP_LIST_CONNECTED_TOOLKITS = generatedOperation("org.consumer.listConnectedToolkits");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "./generated-operations-D8jOXj9j.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/mcp/custom.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("mcp.custom.create");
|
|
@@ -25,6 +25,7 @@ declare const SessionCreateResponseConfig: Schema.StructWithRest<Schema.Struct<{
|
|
|
25
25
|
readonly disabled: Schema.$Array<Schema.String>;
|
|
26
26
|
}>]>>>;
|
|
27
27
|
readonly return_instant_charge: Schema.Boolean;
|
|
28
|
+
readonly return_prices_in_search: Schema.Boolean;
|
|
28
29
|
}>]>;
|
|
29
30
|
readonly manage_connections: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
30
31
|
readonly enabled: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -40,18 +41,18 @@ declare const SessionCreateResponseConfig: Schema.StructWithRest<Schema.Struct<{
|
|
|
40
41
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
41
42
|
}>, Schema.Struct<{
|
|
42
43
|
readonly tags: Schema.StructWithRest<Schema.Struct<{
|
|
43
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
44
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
45
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
44
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
45
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
46
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
46
47
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
47
48
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
48
49
|
}>, Schema.Struct<{
|
|
49
50
|
readonly require_approval: Schema.$Array<Schema.String>;
|
|
50
51
|
}>]>>>;
|
|
51
52
|
readonly tags: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
52
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
53
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
54
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
53
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
54
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
55
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
55
56
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
56
57
|
readonly workbench: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
57
58
|
readonly enable: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -19,7 +19,8 @@ const SessionCreateResponseConfig = Schema.StructWithRest(Schema.Struct({
|
|
|
19
19
|
"instant": Schema.Union([Schema.Literal(false), Schema.Struct({
|
|
20
20
|
"toolkits": Schema.optionalKey(Schema.Union([Schema.Struct({ "enabled": Schema.Array(Schema.String) }), Schema.Struct({ "disabled": Schema.Array(Schema.String) })]).annotate({ "description": "Toolkits eligible for instant usage, as an enabled or disabled list. If absent, no additional toolkit restriction applies." })),
|
|
21
21
|
"tools": Schema.optionalKey(Schema.Record(Schema.String, Schema.Union([Schema.Struct({ "enabled": Schema.Array(Schema.String) }), Schema.Struct({ "disabled": Schema.Array(Schema.String) })])).annotate({ "description": "Per-toolkit enabled or disabled lists that restrict instant usage. Toolkits absent from this map have no additional tool restriction." })),
|
|
22
|
-
"return_instant_charge": Schema.Boolean.annotate({ "description": "Whether session tool responses return a top-level instant_charge when a charge is available. Defaults to false; controls response visibility only." })
|
|
22
|
+
"return_instant_charge": Schema.Boolean.annotate({ "description": "Whether session tool responses return a top-level instant_charge when a charge is available. Defaults to false; controls response visibility only." }),
|
|
23
|
+
"return_prices_in_search": Schema.Boolean.annotate({ "description": "Experimental. Whether tool search results show each instant tool's price, under instant_account.prices. Defaults to false." })
|
|
23
24
|
})]).annotate({ "description": "Instant usage settings. False disables instant usage; an object permits it subject to project permission and session toolkit and tool restrictions." }),
|
|
24
25
|
"manage_connections": Schema.optionalKey(Schema.StructWithRest(Schema.Struct({
|
|
25
26
|
"enabled": Schema.optionalKey(Schema.Boolean.annotate({
|
|
@@ -52,18 +53,24 @@ const SessionCreateResponseConfig = Schema.StructWithRest(Schema.Struct({
|
|
|
52
53
|
"tags": Schema.StructWithRest(Schema.Struct({
|
|
53
54
|
"enabled": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
54
55
|
"readOnlyHint",
|
|
56
|
+
"createHint",
|
|
57
|
+
"updateHint",
|
|
55
58
|
"destructiveHint",
|
|
56
59
|
"idempotentHint",
|
|
57
60
|
"openWorldHint"
|
|
58
61
|
])).annotate({ "description": "Tags that the tool must have at least one of" })),
|
|
59
62
|
"disabled": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
60
63
|
"readOnlyHint",
|
|
64
|
+
"createHint",
|
|
65
|
+
"updateHint",
|
|
61
66
|
"destructiveHint",
|
|
62
67
|
"idempotentHint",
|
|
63
68
|
"openWorldHint"
|
|
64
69
|
])).annotate({ "description": "Tags that the tool must NOT have any of" })),
|
|
65
70
|
"require_approval": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
66
71
|
"readOnlyHint",
|
|
72
|
+
"createHint",
|
|
73
|
+
"updateHint",
|
|
67
74
|
"destructiveHint",
|
|
68
75
|
"idempotentHint",
|
|
69
76
|
"openWorldHint"
|
|
@@ -76,18 +83,24 @@ const SessionCreateResponseConfig = Schema.StructWithRest(Schema.Struct({
|
|
|
76
83
|
"tags": Schema.optionalKey(Schema.StructWithRest(Schema.Struct({
|
|
77
84
|
"enabled": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
78
85
|
"readOnlyHint",
|
|
86
|
+
"createHint",
|
|
87
|
+
"updateHint",
|
|
79
88
|
"destructiveHint",
|
|
80
89
|
"idempotentHint",
|
|
81
90
|
"openWorldHint"
|
|
82
91
|
])).annotate({ "description": "Tags that the tool must have at least one of" })),
|
|
83
92
|
"disabled": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
84
93
|
"readOnlyHint",
|
|
94
|
+
"createHint",
|
|
95
|
+
"updateHint",
|
|
85
96
|
"destructiveHint",
|
|
86
97
|
"idempotentHint",
|
|
87
98
|
"openWorldHint"
|
|
88
99
|
])).annotate({ "description": "Tags that the tool must NOT have any of" })),
|
|
89
100
|
"require_approval": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
90
101
|
"readOnlyHint",
|
|
102
|
+
"createHint",
|
|
103
|
+
"updateHint",
|
|
91
104
|
"destructiveHint",
|
|
92
105
|
"idempotentHint",
|
|
93
106
|
"openWorldHint"
|
package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.d.mts
CHANGED
|
@@ -29,6 +29,7 @@ declare const ToolRouterSessionV31ConfigHistoryListResponse: Schema.StructWithRe
|
|
|
29
29
|
readonly disabled: Schema.$Array<Schema.String>;
|
|
30
30
|
}>]>>>;
|
|
31
31
|
readonly return_instant_charge: Schema.Boolean;
|
|
32
|
+
readonly return_prices_in_search: Schema.Boolean;
|
|
32
33
|
}>]>;
|
|
33
34
|
readonly manage_connections: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
34
35
|
readonly enabled: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -44,18 +45,18 @@ declare const ToolRouterSessionV31ConfigHistoryListResponse: Schema.StructWithRe
|
|
|
44
45
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
45
46
|
}>, Schema.Struct<{
|
|
46
47
|
readonly tags: Schema.StructWithRest<Schema.Struct<{
|
|
47
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
48
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
49
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
48
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
49
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
50
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
50
51
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
51
52
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
52
53
|
}>, Schema.Struct<{
|
|
53
54
|
readonly require_approval: Schema.$Array<Schema.String>;
|
|
54
55
|
}>]>>>;
|
|
55
56
|
readonly tags: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
56
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
57
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
58
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
57
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
58
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
59
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
59
60
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
60
61
|
readonly workbench: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
61
62
|
readonly enable: Schema.optionalKey<Schema.Boolean>;
|
package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.mjs
CHANGED
|
@@ -26,7 +26,8 @@ const ToolRouterSessionV31ConfigHistoryListResponse = Schema.StructWithRest(Sche
|
|
|
26
26
|
"instant": Schema.Union([Schema.Literal(false), Schema.Struct({
|
|
27
27
|
"toolkits": Schema.optionalKey(Schema.Union([Schema.Struct({ "enabled": Schema.Array(Schema.String) }), Schema.Struct({ "disabled": Schema.Array(Schema.String) })]).annotate({ "description": "Toolkits eligible for instant usage, as an enabled or disabled list. If absent, no additional toolkit restriction applies." })),
|
|
28
28
|
"tools": Schema.optionalKey(Schema.Record(Schema.String, Schema.Union([Schema.Struct({ "enabled": Schema.Array(Schema.String) }), Schema.Struct({ "disabled": Schema.Array(Schema.String) })])).annotate({ "description": "Per-toolkit enabled or disabled lists that restrict instant usage. Toolkits absent from this map have no additional tool restriction." })),
|
|
29
|
-
"return_instant_charge": Schema.Boolean.annotate({ "description": "Whether session tool responses return a top-level instant_charge when a charge is available. Defaults to false; controls response visibility only." })
|
|
29
|
+
"return_instant_charge": Schema.Boolean.annotate({ "description": "Whether session tool responses return a top-level instant_charge when a charge is available. Defaults to false; controls response visibility only." }),
|
|
30
|
+
"return_prices_in_search": Schema.Boolean.annotate({ "description": "Experimental. Whether tool search results show each instant tool's price, under instant_account.prices. Defaults to false." })
|
|
30
31
|
})]).annotate({ "description": "Instant usage settings. False disables instant usage; an object permits it subject to project permission and session toolkit and tool restrictions." }),
|
|
31
32
|
"manage_connections": Schema.optionalKey(Schema.StructWithRest(Schema.Struct({
|
|
32
33
|
"enabled": Schema.optionalKey(Schema.Boolean.annotate({
|
|
@@ -59,18 +60,24 @@ const ToolRouterSessionV31ConfigHistoryListResponse = Schema.StructWithRest(Sche
|
|
|
59
60
|
"tags": Schema.StructWithRest(Schema.Struct({
|
|
60
61
|
"enabled": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
61
62
|
"readOnlyHint",
|
|
63
|
+
"createHint",
|
|
64
|
+
"updateHint",
|
|
62
65
|
"destructiveHint",
|
|
63
66
|
"idempotentHint",
|
|
64
67
|
"openWorldHint"
|
|
65
68
|
])).annotate({ "description": "Tags that the tool must have at least one of" })),
|
|
66
69
|
"disabled": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
67
70
|
"readOnlyHint",
|
|
71
|
+
"createHint",
|
|
72
|
+
"updateHint",
|
|
68
73
|
"destructiveHint",
|
|
69
74
|
"idempotentHint",
|
|
70
75
|
"openWorldHint"
|
|
71
76
|
])).annotate({ "description": "Tags that the tool must NOT have any of" })),
|
|
72
77
|
"require_approval": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
73
78
|
"readOnlyHint",
|
|
79
|
+
"createHint",
|
|
80
|
+
"updateHint",
|
|
74
81
|
"destructiveHint",
|
|
75
82
|
"idempotentHint",
|
|
76
83
|
"openWorldHint"
|
|
@@ -83,18 +90,24 @@ const ToolRouterSessionV31ConfigHistoryListResponse = Schema.StructWithRest(Sche
|
|
|
83
90
|
"tags": Schema.optionalKey(Schema.StructWithRest(Schema.Struct({
|
|
84
91
|
"enabled": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
85
92
|
"readOnlyHint",
|
|
93
|
+
"createHint",
|
|
94
|
+
"updateHint",
|
|
86
95
|
"destructiveHint",
|
|
87
96
|
"idempotentHint",
|
|
88
97
|
"openWorldHint"
|
|
89
98
|
])).annotate({ "description": "Tags that the tool must have at least one of" })),
|
|
90
99
|
"disabled": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
91
100
|
"readOnlyHint",
|
|
101
|
+
"createHint",
|
|
102
|
+
"updateHint",
|
|
92
103
|
"destructiveHint",
|
|
93
104
|
"idempotentHint",
|
|
94
105
|
"openWorldHint"
|
|
95
106
|
])).annotate({ "description": "Tags that the tool must NOT have any of" })),
|
|
96
107
|
"require_approval": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
97
108
|
"readOnlyHint",
|
|
109
|
+
"createHint",
|
|
110
|
+
"updateHint",
|
|
98
111
|
"destructiveHint",
|
|
99
112
|
"idempotentHint",
|
|
100
113
|
"openWorldHint"
|
|
@@ -5,15 +5,15 @@ import * as Schema from "effect/Schema";
|
|
|
5
5
|
const GenerateURLResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
6
|
"mcp_url": Schema.String.annotate({
|
|
7
7
|
"description": "Base MCP URL without any query parameters",
|
|
8
|
-
"examples": ["https://
|
|
8
|
+
"examples": ["https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000"]
|
|
9
9
|
}),
|
|
10
10
|
"connected_account_urls": Schema.Array(Schema.String).annotate({
|
|
11
|
-
"description": "List of URLs generated for each connected account ID",
|
|
12
|
-
"examples": [["https://
|
|
11
|
+
"description": "List of URLs generated for each connected account ID. URLs may carry the include_composio_helper_actions query parameter. DEPRECATED: The include_composio_helper_actions query parameter will be removed in a future version. Switch to Composio Sessions (POST /api/v3/tool_router/session), whose MCP URL includes connection-management tools.",
|
|
12
|
+
"examples": [["https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?include_composio_helper_actions=true&connected_account_id=ca_1a2b3c4d5e6f", "https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?include_composio_helper_actions=true&connected_account_id=ca_7g8h9i0j1k2l"]]
|
|
13
13
|
}),
|
|
14
14
|
"user_ids_url": Schema.Array(Schema.String).annotate({
|
|
15
|
-
"description": "List of URLs generated for each user ID",
|
|
16
|
-
"examples": [["https://
|
|
15
|
+
"description": "List of URLs generated for each user ID. URLs may carry the include_composio_helper_actions query parameter. DEPRECATED: The include_composio_helper_actions query parameter will be removed in a future version. Switch to Composio Sessions (POST /api/v3/tool_router/session), whose MCP URL includes connection-management tools.",
|
|
16
|
+
"examples": [["https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?include_composio_helper_actions=true&user_id=user_123456", "https://backend.composio.dev/v3/mcp/550e8400-e29b-41d4-a716-446655440000?include_composio_helper_actions=true&user_id=user_789012"]]
|
|
17
17
|
})
|
|
18
18
|
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Response containing the generated MCP URLs" });
|
|
19
19
|
|
|
@@ -18,13 +18,13 @@ declare const SessionConfigsRetrieveResponse: Schema.StructWithRest<Schema.Struc
|
|
|
18
18
|
readonly disable: Schema.$Array<Schema.String>;
|
|
19
19
|
}>, Schema.Struct<{
|
|
20
20
|
readonly tags: Schema.Struct<{
|
|
21
|
-
readonly enable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
22
|
-
readonly disable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
21
|
+
readonly enable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
22
|
+
readonly disable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
23
23
|
}>;
|
|
24
24
|
}>]>>>;
|
|
25
25
|
readonly tags: Schema.optionalKey<Schema.Struct<{
|
|
26
|
-
readonly enable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
27
|
-
readonly disable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
26
|
+
readonly enable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
27
|
+
readonly disable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
28
28
|
}>>;
|
|
29
29
|
}>;
|
|
30
30
|
readonly created_at: Schema.String;
|
|
@@ -18,12 +18,16 @@ const SessionConfigsRetrieveResponse = Schema.StructWithRest(Schema.Struct({
|
|
|
18
18
|
Schema.Struct({ "tags": Schema.Struct({
|
|
19
19
|
"enable": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
20
20
|
"readOnlyHint",
|
|
21
|
+
"createHint",
|
|
22
|
+
"updateHint",
|
|
21
23
|
"destructiveHint",
|
|
22
24
|
"idempotentHint",
|
|
23
25
|
"openWorldHint"
|
|
24
26
|
]))),
|
|
25
27
|
"disable": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
26
28
|
"readOnlyHint",
|
|
29
|
+
"createHint",
|
|
30
|
+
"updateHint",
|
|
27
31
|
"destructiveHint",
|
|
28
32
|
"idempotentHint",
|
|
29
33
|
"openWorldHint"
|
|
@@ -33,12 +37,16 @@ const SessionConfigsRetrieveResponse = Schema.StructWithRest(Schema.Struct({
|
|
|
33
37
|
"tags": Schema.optionalKey(Schema.Struct({
|
|
34
38
|
"enable": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
35
39
|
"readOnlyHint",
|
|
40
|
+
"createHint",
|
|
41
|
+
"updateHint",
|
|
36
42
|
"destructiveHint",
|
|
37
43
|
"idempotentHint",
|
|
38
44
|
"openWorldHint"
|
|
39
45
|
]))),
|
|
40
46
|
"disable": Schema.optionalKey(Schema.Array(Schema.Literals([
|
|
41
47
|
"readOnlyHint",
|
|
48
|
+
"createHint",
|
|
49
|
+
"updateHint",
|
|
42
50
|
"destructiveHint",
|
|
43
51
|
"idempotentHint",
|
|
44
52
|
"openWorldHint"
|
|
@@ -32,6 +32,7 @@ declare const SessionAttachResponse: Schema.StructWithRest<Schema.Struct<{
|
|
|
32
32
|
readonly disabled: Schema.$Array<Schema.String>;
|
|
33
33
|
}>]>>>;
|
|
34
34
|
readonly return_instant_charge: Schema.Boolean;
|
|
35
|
+
readonly return_prices_in_search: Schema.Boolean;
|
|
35
36
|
}>]>;
|
|
36
37
|
readonly manage_connections: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
37
38
|
readonly enabled: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -47,18 +48,18 @@ declare const SessionAttachResponse: Schema.StructWithRest<Schema.Struct<{
|
|
|
47
48
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
48
49
|
}>, Schema.Struct<{
|
|
49
50
|
readonly tags: Schema.StructWithRest<Schema.Struct<{
|
|
50
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
51
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
52
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
51
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
52
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
53
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
53
54
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
54
55
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
55
56
|
}>, Schema.Struct<{
|
|
56
57
|
readonly require_approval: Schema.$Array<Schema.String>;
|
|
57
58
|
}>]>>>;
|
|
58
59
|
readonly tags: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
59
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
60
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
61
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
60
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
61
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
62
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
62
63
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
63
64
|
readonly workbench: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
64
65
|
readonly enable: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -28,6 +28,7 @@ declare const SessionConfigHistoryResponse: import("effect/Schema").StructWithRe
|
|
|
28
28
|
readonly disabled: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
29
29
|
}>]>>>;
|
|
30
30
|
readonly return_instant_charge: import("effect/Schema").Boolean;
|
|
31
|
+
readonly return_prices_in_search: import("effect/Schema").Boolean;
|
|
31
32
|
}>]>;
|
|
32
33
|
readonly manage_connections: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
33
34
|
readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
@@ -43,18 +44,18 @@ declare const SessionConfigHistoryResponse: import("effect/Schema").StructWithRe
|
|
|
43
44
|
readonly require_approval: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
44
45
|
}>, import("effect/Schema").Struct<{
|
|
45
46
|
readonly tags: import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
46
|
-
readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
47
|
-
readonly disabled: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
48
|
-
readonly require_approval: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
47
|
+
readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
48
|
+
readonly disabled: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
49
|
+
readonly require_approval: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
49
50
|
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>;
|
|
50
51
|
readonly require_approval: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
51
52
|
}>, import("effect/Schema").Struct<{
|
|
52
53
|
readonly require_approval: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
53
54
|
}>]>>>;
|
|
54
55
|
readonly tags: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
55
|
-
readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
56
|
-
readonly disabled: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
57
|
-
readonly require_approval: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
56
|
+
readonly enabled: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
57
|
+
readonly disabled: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
58
|
+
readonly require_approval: import("effect/Schema").optionalKey<import("effect/Schema").$Array<import("effect/Schema").Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
58
59
|
}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>>]>>;
|
|
59
60
|
readonly workbench: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
|
|
60
61
|
readonly enable: import("effect/Schema").optionalKey<import("effect/Schema").Boolean>;
|
|
@@ -32,6 +32,7 @@ declare const SessionCreateResponse: Schema.StructWithRest<Schema.Struct<{
|
|
|
32
32
|
readonly disabled: Schema.$Array<Schema.String>;
|
|
33
33
|
}>]>>>;
|
|
34
34
|
readonly return_instant_charge: Schema.Boolean;
|
|
35
|
+
readonly return_prices_in_search: Schema.Boolean;
|
|
35
36
|
}>]>;
|
|
36
37
|
readonly manage_connections: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
37
38
|
readonly enabled: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -47,18 +48,18 @@ declare const SessionCreateResponse: Schema.StructWithRest<Schema.Struct<{
|
|
|
47
48
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
48
49
|
}>, Schema.Struct<{
|
|
49
50
|
readonly tags: Schema.StructWithRest<Schema.Struct<{
|
|
50
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
51
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
52
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
51
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
52
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
53
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
53
54
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
54
55
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
55
56
|
}>, Schema.Struct<{
|
|
56
57
|
readonly require_approval: Schema.$Array<Schema.String>;
|
|
57
58
|
}>]>>>;
|
|
58
59
|
readonly tags: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
59
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
60
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
61
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
60
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
61
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
62
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
62
63
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
63
64
|
readonly workbench: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
64
65
|
readonly enable: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -32,6 +32,7 @@ declare const SessionPatchResponse: Schema.StructWithRest<Schema.Struct<{
|
|
|
32
32
|
readonly disabled: Schema.$Array<Schema.String>;
|
|
33
33
|
}>]>>>;
|
|
34
34
|
readonly return_instant_charge: Schema.Boolean;
|
|
35
|
+
readonly return_prices_in_search: Schema.Boolean;
|
|
35
36
|
}>]>;
|
|
36
37
|
readonly manage_connections: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
37
38
|
readonly enabled: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -47,18 +48,18 @@ declare const SessionPatchResponse: Schema.StructWithRest<Schema.Struct<{
|
|
|
47
48
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
48
49
|
}>, Schema.Struct<{
|
|
49
50
|
readonly tags: Schema.StructWithRest<Schema.Struct<{
|
|
50
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
51
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
52
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
51
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
52
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
53
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
53
54
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
54
55
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
55
56
|
}>, Schema.Struct<{
|
|
56
57
|
readonly require_approval: Schema.$Array<Schema.String>;
|
|
57
58
|
}>]>>>;
|
|
58
59
|
readonly tags: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
59
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
60
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
61
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
60
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
61
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
62
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
62
63
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
63
64
|
readonly workbench: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
64
65
|
readonly enable: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -32,6 +32,7 @@ declare const SessionRetrieveResponse: Schema.StructWithRest<Schema.Struct<{
|
|
|
32
32
|
readonly disabled: Schema.$Array<Schema.String>;
|
|
33
33
|
}>]>>>;
|
|
34
34
|
readonly return_instant_charge: Schema.Boolean;
|
|
35
|
+
readonly return_prices_in_search: Schema.Boolean;
|
|
35
36
|
}>]>;
|
|
36
37
|
readonly manage_connections: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
37
38
|
readonly enabled: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -47,18 +48,18 @@ declare const SessionRetrieveResponse: Schema.StructWithRest<Schema.Struct<{
|
|
|
47
48
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
48
49
|
}>, Schema.Struct<{
|
|
49
50
|
readonly tags: Schema.StructWithRest<Schema.Struct<{
|
|
50
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
51
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
52
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
51
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
52
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
53
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
53
54
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
54
55
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
55
56
|
}>, Schema.Struct<{
|
|
56
57
|
readonly require_approval: Schema.$Array<Schema.String>;
|
|
57
58
|
}>]>>>;
|
|
58
59
|
readonly tags: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
59
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
60
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
61
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
60
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
61
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
62
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
62
63
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
63
64
|
readonly workbench: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
64
65
|
readonly enable: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -42,6 +42,10 @@ declare const SessionSearchResponse: Schema.StructWithRest<Schema.Struct<{
|
|
|
42
42
|
readonly account_selection: Schema.optionalKey<Schema.Literal<"required">>;
|
|
43
43
|
readonly instant_account: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
44
44
|
readonly allowed_tool_slugs: Schema.$Array<Schema.String>;
|
|
45
|
+
readonly prices: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Struct<{
|
|
46
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
47
|
+
readonly discount: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
48
|
+
}>>>;
|
|
45
49
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
46
50
|
readonly status_message: Schema.String;
|
|
47
51
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ToolPricing } from "../../components/tool-pricing.mjs";
|
|
1
2
|
import * as Schema from "effect/Schema";
|
|
2
3
|
|
|
3
4
|
//#region src/effect/generated/schemas/tool-router/session/search.ts
|
|
@@ -41,7 +42,10 @@ const SessionSearchResponse = Schema.StructWithRest(Schema.Struct({
|
|
|
41
42
|
"account_type": Schema.optionalKey(Schema.Literals(["PRIVATE", "SHARED"]).annotate({ "description": "Sharing model for this connected account. PRIVATE is owner-only; SHARED is reachable from a tool-router session only when explicitly pinned." }))
|
|
42
43
|
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])).annotate({ "description": "List of connected accounts for this toolkit. Present when multi-account is enabled." })),
|
|
43
44
|
"account_selection": Schema.optionalKey(Schema.Literal("required").annotate({ "description": "When \"required\", the agent must specify which account to use. Present only when multiple accounts exist." })),
|
|
44
|
-
"instant_account": Schema.optionalKey(Schema.StructWithRest(Schema.Struct({
|
|
45
|
+
"instant_account": Schema.optionalKey(Schema.StructWithRest(Schema.Struct({
|
|
46
|
+
"allowed_tool_slugs": Schema.Array(Schema.String).annotate({ "description": "Tools of this toolkit that run on the Composio instant account" }),
|
|
47
|
+
"prices": Schema.optionalKey(Schema.Record(Schema.String, ToolPricing).annotate({ "description": "Price of each tool, keyed by tool slug." }))
|
|
48
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]).annotate({ "description": "Present when the toolkit is connected through the Composio instant account rather than a connected account of the user." })),
|
|
45
49
|
"status_message": Schema.String.annotate({ "description": "Human-readable message about the connection status and next steps" })
|
|
46
50
|
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])).annotate({ "description": "Connection status for all toolkits mentioned across all queries, with descriptions merged in." }),
|
|
47
51
|
"tool_schemas": Schema.Record(Schema.String, Schema.StructWithRest(Schema.Struct({
|