@composio/client 2.0.0-rc.12 → 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/README.md +5 -5
- package/dist/{api-key-revocation-DJF8KL2o.mjs → api-key-revocation-BtpYMp2A.mjs} +2 -2
- package/dist/{auth-CHlaMfu-.mjs → auth-DOLhepVW.mjs} +2 -2
- package/dist/{auth-configs-sKOQG2Yw.mjs → auth-configs-DwRyrT5R.mjs} +1 -1
- package/dist/{clanker-DyM265dK.mjs → clanker-CKQuvB-f.mjs} +2 -2
- package/dist/{cli-zrk9Qew1.mjs → cli-r2AP1DQC.mjs} +3 -3
- package/dist/{connected-accounts-a6ezLeaq.mjs → connected-accounts-DoC-z2wg.mjs} +3 -3
- package/dist/{consumer-B0qaosDp.mjs → consumer-qY1RmyT2.mjs} +3 -3
- package/dist/{custom-99mj4dPN.mjs → custom-0lCWqNaG.mjs} +1 -1
- package/dist/{custom-Ddfc8mtR.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-BkqUHaPL.mjs → files-Bn4CgdQ5.mjs} +1 -1
- package/dist/{files-ITYv6j_c.mjs → files-DNgrvsvD.mjs} +1 -1
- package/dist/{generate-i93AYL8q.mjs → generate-gTgUCYef.mjs} +1 -1
- package/dist/{generated-deprecated-inputs-CQlAN1eH.mjs → generated-deprecated-inputs-ZjzVSweS.mjs} +6 -1
- package/dist/{generated-operations-BguuMwpw.mjs → generated-operations-D8jOXj9j.mjs} +11 -10
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +24 -24
- package/dist/{keyring-FoLfgtBi.mjs → keyring-Bdurkv-I.mjs} +1 -1
- package/dist/{link-DdF0Mpaw.mjs → link-DhTr_Zq5.mjs} +1 -1
- package/dist/{logs-Bk1qx5Br.mjs → logs-BCI69MYO.mjs} +4 -5
- package/dist/{manage-CAZEslDY.mjs → manage-nrsf5m2K.mjs} +1 -1
- package/dist/{mcp-B91r14RW.mjs → mcp-Cf7Tp8i8.mjs} +5 -5
- package/dist/{org-JUdjHRmz.mjs → org-_aj_XBWC.mjs} +7 -7
- package/dist/{owner-BiP5UwSE.mjs → owner-C3FsQfkM.mjs} +2 -2
- package/dist/{project-BqlCHKGr.mjs → project-C0XrovoG.mjs} +2 -2
- package/dist/{project-BJ0ixr7M.mjs → project-D08liXQJ.mjs} +2 -2
- package/dist/{project-B8d4M3Ut.mjs → project-VByEH_fg.mjs} +2 -3
- package/dist/{project-D4uc18P5.mjs → project-hVzPq3ta.mjs} +2 -2
- package/dist/{realtime-BY6LAuSf.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-BISWW6RD.mjs → session-DkmLw9W7.mjs} +2 -3
- package/dist/{session-BMaJyaay.mjs → session-DpNSa-W_.mjs} +3 -3
- package/dist/{session-configs-Uq4WDziI.d.mts → session-configs-CtHZk-vG.d.mts} +122 -87
- package/dist/{tool-router-CigDMyik.mjs → tool-router-BS_br3iE.mjs} +1 -1
- package/dist/{toolkits-8jNDLM-m.mjs → toolkits-BPFKa015.mjs} +2 -2
- package/dist/{tools-B8MskXI8.mjs → tools-BwrEpHGs.mjs} +2 -2
- package/dist/{tools-Dl-mKUP6.mjs → tools-CrBz2Tm7.mjs} +1 -1
- package/dist/{trigger-instances-DRUh_YQ4.mjs → trigger-instances-DyFxjnmc.mjs} +2 -2
- package/dist/{triggers-BrVLwzqY.mjs → triggers-BKDJTu8N.mjs} +1 -1
- package/dist/{triggers-types-c8LTfiyU.mjs → triggers-types-CAnS6vg7.mjs} +1 -1
- package/dist/{usage-Bgc2EN82.mjs → usage-BS1Ecjh5.mjs} +2 -2
- package/dist/{usage-CMyLY8PR.mjs → usage-Dj3PPjwF.mjs} +2 -2
- package/dist/version-DrOZXX3G.d.mts +4 -0
- package/dist/{webhook-endpoints-BN8qcJuW.mjs → webhook-endpoints-DE_mR76r.mjs} +2 -3
- package/dist/{webhook-subscriptions-BOYXHSCR.mjs → webhook-subscriptions-DWY9Bf_H.mjs} +2 -2
- package/package.json +1 -1
- package/dist/version-D-eWgm6-.d.mts +0 -4
|
@@ -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({
|
|
@@ -8229,13 +8229,13 @@ declare const schemaLoaders: {
|
|
|
8229
8229
|
readonly disable: Schema.$Array<Schema.String>;
|
|
8230
8230
|
}>, Schema.Struct<{
|
|
8231
8231
|
readonly tags: Schema.Struct<{
|
|
8232
|
-
readonly enable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8233
|
-
readonly disable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8232
|
+
readonly enable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8233
|
+
readonly disable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8234
8234
|
}>;
|
|
8235
8235
|
}>]>>>;
|
|
8236
8236
|
readonly tags: Schema.optionalKey<Schema.Struct<{
|
|
8237
|
-
readonly enable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8238
|
-
readonly disable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8237
|
+
readonly enable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8238
|
+
readonly disable: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8239
8239
|
}>>;
|
|
8240
8240
|
}>;
|
|
8241
8241
|
readonly created_at: Schema.String;
|
|
@@ -8272,6 +8272,7 @@ declare const schemaLoaders: {
|
|
|
8272
8272
|
readonly disabled: Schema.$Array<Schema.String>;
|
|
8273
8273
|
}>]>>>;
|
|
8274
8274
|
readonly return_instant_charge: Schema.Boolean;
|
|
8275
|
+
readonly return_prices_in_search: Schema.Boolean;
|
|
8275
8276
|
}>]>;
|
|
8276
8277
|
readonly manage_connections: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
8277
8278
|
readonly enabled: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -8287,18 +8288,18 @@ declare const schemaLoaders: {
|
|
|
8287
8288
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
8288
8289
|
}>, Schema.Struct<{
|
|
8289
8290
|
readonly tags: Schema.StructWithRest<Schema.Struct<{
|
|
8290
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8291
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8292
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8291
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8292
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8293
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8293
8294
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
8294
8295
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
8295
8296
|
}>, Schema.Struct<{
|
|
8296
8297
|
readonly require_approval: Schema.$Array<Schema.String>;
|
|
8297
8298
|
}>]>>>;
|
|
8298
8299
|
readonly tags: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
8299
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8300
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8301
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8300
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8301
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8302
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8302
8303
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
8303
8304
|
readonly workbench: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
8304
8305
|
readonly enable: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -8392,6 +8393,7 @@ declare const schemaLoaders: {
|
|
|
8392
8393
|
readonly disabled: Schema.$Array<Schema.String>;
|
|
8393
8394
|
}>]>>>;
|
|
8394
8395
|
readonly return_instant_charge: Schema.Boolean;
|
|
8396
|
+
readonly return_prices_in_search: Schema.Boolean;
|
|
8395
8397
|
}>]>;
|
|
8396
8398
|
readonly manage_connections: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
8397
8399
|
readonly enabled: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -8407,18 +8409,18 @@ declare const schemaLoaders: {
|
|
|
8407
8409
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
8408
8410
|
}>, Schema.Struct<{
|
|
8409
8411
|
readonly tags: Schema.StructWithRest<Schema.Struct<{
|
|
8410
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8411
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8412
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8412
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8413
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8414
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8413
8415
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
8414
8416
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
8415
8417
|
}>, Schema.Struct<{
|
|
8416
8418
|
readonly require_approval: Schema.$Array<Schema.String>;
|
|
8417
8419
|
}>]>>>;
|
|
8418
8420
|
readonly tags: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
8419
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8420
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8421
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8421
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8422
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8423
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8422
8424
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
8423
8425
|
readonly workbench: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
8424
8426
|
readonly enable: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -8484,6 +8486,7 @@ declare const schemaLoaders: {
|
|
|
8484
8486
|
readonly disabled: Schema.$Array<Schema.String>;
|
|
8485
8487
|
}>]>>>;
|
|
8486
8488
|
readonly return_instant_charge: Schema.Boolean;
|
|
8489
|
+
readonly return_prices_in_search: Schema.Boolean;
|
|
8487
8490
|
}>]>;
|
|
8488
8491
|
readonly manage_connections: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
8489
8492
|
readonly enabled: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -8499,18 +8502,18 @@ declare const schemaLoaders: {
|
|
|
8499
8502
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
8500
8503
|
}>, Schema.Struct<{
|
|
8501
8504
|
readonly tags: Schema.StructWithRest<Schema.Struct<{
|
|
8502
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8503
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8504
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8505
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8506
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8507
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8505
8508
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
8506
8509
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
8507
8510
|
}>, Schema.Struct<{
|
|
8508
8511
|
readonly require_approval: Schema.$Array<Schema.String>;
|
|
8509
8512
|
}>]>>>;
|
|
8510
8513
|
readonly tags: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
8511
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8512
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8513
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8514
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8515
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8516
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8514
8517
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
8515
8518
|
readonly workbench: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
8516
8519
|
readonly enable: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -8709,6 +8712,7 @@ declare const schemaLoaders: {
|
|
|
8709
8712
|
readonly disabled: Schema.$Array<Schema.String>;
|
|
8710
8713
|
}>]>>>;
|
|
8711
8714
|
readonly return_instant_charge: Schema.Boolean;
|
|
8715
|
+
readonly return_prices_in_search: Schema.Boolean;
|
|
8712
8716
|
}>]>;
|
|
8713
8717
|
readonly manage_connections: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
8714
8718
|
readonly enabled: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -8724,18 +8728,18 @@ declare const schemaLoaders: {
|
|
|
8724
8728
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
8725
8729
|
}>, Schema.Struct<{
|
|
8726
8730
|
readonly tags: Schema.StructWithRest<Schema.Struct<{
|
|
8727
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8728
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8729
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8731
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8732
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8733
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8730
8734
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
8731
8735
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
8732
8736
|
}>, Schema.Struct<{
|
|
8733
8737
|
readonly require_approval: Schema.$Array<Schema.String>;
|
|
8734
8738
|
}>]>>>;
|
|
8735
8739
|
readonly tags: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
8736
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8737
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8738
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8740
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8741
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8742
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8739
8743
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
8740
8744
|
readonly workbench: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
8741
8745
|
readonly enable: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -8853,6 +8857,7 @@ declare const schemaLoaders: {
|
|
|
8853
8857
|
readonly disabled: Schema.$Array<Schema.String>;
|
|
8854
8858
|
}>]>>>;
|
|
8855
8859
|
readonly return_instant_charge: Schema.Boolean;
|
|
8860
|
+
readonly return_prices_in_search: Schema.Boolean;
|
|
8856
8861
|
}>]>;
|
|
8857
8862
|
readonly manage_connections: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
8858
8863
|
readonly enabled: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -8868,18 +8873,18 @@ declare const schemaLoaders: {
|
|
|
8868
8873
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
8869
8874
|
}>, Schema.Struct<{
|
|
8870
8875
|
readonly tags: Schema.StructWithRest<Schema.Struct<{
|
|
8871
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8872
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8873
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8876
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8877
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8878
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8874
8879
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
8875
8880
|
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
8876
8881
|
}>, Schema.Struct<{
|
|
8877
8882
|
readonly require_approval: Schema.$Array<Schema.String>;
|
|
8878
8883
|
}>]>>>;
|
|
8879
8884
|
readonly tags: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
8880
|
-
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8881
|
-
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8882
|
-
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8885
|
+
readonly enabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8886
|
+
readonly disabled: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8887
|
+
readonly require_approval: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["readOnlyHint", "createHint", "updateHint", "destructiveHint", "idempotentHint", "openWorldHint"]>>>;
|
|
8883
8888
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
8884
8889
|
readonly workbench: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
8885
8890
|
readonly enable: Schema.optionalKey<Schema.Boolean>;
|
|
@@ -8986,6 +8991,10 @@ declare const schemaLoaders: {
|
|
|
8986
8991
|
readonly account_selection: Schema.optionalKey<Schema.Literal<"required">>;
|
|
8987
8992
|
readonly instant_account: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
8988
8993
|
readonly allowed_tool_slugs: Schema.$Array<Schema.String>;
|
|
8994
|
+
readonly prices: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Struct<{
|
|
8995
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
8996
|
+
readonly discount: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8997
|
+
}>>>;
|
|
8989
8998
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
8990
8999
|
readonly status_message: Schema.String;
|
|
8991
9000
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
package/dist/effect.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as ProjectRegenerateAPIKeyResponse, $n as ToolkitRetrieveChangelogResponse, $r as SessionCreateResponse, $t as McpCreateInstanceParams, A as ClankerCreateClaimResponse, An as TriggersTypeListParams, Ar as FileListResponse$1, At as LogRetrieveToolExecutionResponse, B as ConsumerListConnectedToolkitsParams, Bn as AuthConfigListParams, Br as ToolRetrieveEnumResponse, Ci as FileDeleteResponse, Cn as TriggerInstanceUpsertParams, Cr as ConnectedAccountRevokeResponse, D as OrgListResponse, Dn as ManageDeleteResponse, Dr as FileCreatePresignedURLParams, Dt as UsageRetrieveSummaryResponse, E as OrgListParams, Et as UsageRetrieveSummaryParams, F as UsageRetrieveSummaryResponse$1, Fi as APIErrorBody, Fr as ToolGetInputResponse, Ft as ToolRetrieveResponse$1, Gn as AuthConfigUpdateStatusParams, Gt as CliCreateSessionResponse, Hn as AuthConfigRetrieveResponse, Hr as ToolRetrieveRequiredScopesParams, Ht as CliCreateCodactFailureParams, In as AuthConfigCreateParams, Ir as ToolListParams, J as ProjectCreateResponse, Jn as ToolkitListParams, Jr as SessionAttachParams, Kn as AuthConfigUpdateStatusResponse, Kt as CliGetSessionParams, L as ProjectListParams$1, Ln as AuthConfigCreateResponse, Lr as ToolListResponse, Lt as TriggerListParams, M as UsageRetrieveParams$1, Mn as TriggersTypeRetrieveEnumResponse, Mr as ToolExecuteParams, Mt as ToolListFieldsResponse, N as UsageRetrieveResponse$1, Nn as TriggersTypeRetrieveParams, Nr as ToolExecuteResponse, Nt as ToolListParams$1, On as ManageUpdateParams, Or as FileCreatePresignedURLResponse, Ot as LogCreateToolExecutionParams, P as UsageRetrieveSummaryParams$1, Pn as TriggersTypeRetrieveResponse, Pr as ToolGetInputParams, Pt as ToolListResponse$1, Q as ProjectListResponse, Qn as ToolkitRetrieveCategoriesResponse, Qr as SessionCreateParams, R as ProjectListResponse$1, Rn as AuthConfigDeleteParams, Rr as ToolProxyParams, Rt as TriggerListResponse, Si as FileDeleteParams, Sn as TriggerInstanceListActiveResponse, Sr as ConnectedAccountRetrieveResponse, Ti as FileListResponse, Tr as ConnectedAccountUpdateStatusResponse, Tt as UsageRetrieveResponse, U as ProjectResolveParams, Un as AuthConfigUpdateParams, Ur as ToolRetrieveRequiredScopesResponse, Ut as CliCreateCodactFailureResponse, V as ConsumerListConnectedToolkitsResponse, Vn as AuthConfigListResponse, Vr as ToolRetrieveParams, W as ProjectResolveResponse, Wn as AuthConfigUpdateResponse, Wr as ToolRetrieveResponse, Wt as CliCreateSessionParams, X as ProjectDeleteResponse, Xn as ToolkitRecommendScopesParams, Xr as SessionConfigHistoryParams, Xt as RealtimeAuthResponse, Y as ProjectDeleteParams, Yn as ToolkitListResponse, Yr as SessionAttachResponse, Yt as RealtimeAuthParams, Z as ProjectListParams, Zn as ToolkitRecommendScopesResponse, Zr as SessionConfigHistoryResponse, Zt as RealtimeCredentialsResponse, _ as CustomUpsertParams, _i as SessionToolsResponse, _n as GenerateURLResponse, _r as ConnectedAccountListResponse, _t as WebhookSubscriptionRetrieveResponse, ai as SessionLinkParams, an as McpDeleteResponse, ar as ToolkitRetrieveScopesGrantContextResponse, at as WebhookEndpointReplaceParams, b as ApiKeyRevocationCreateParams, bi as FileCreateUploadURLParams, bn as CustomCreateResponse, br as ConnectedAccountRefreshParams, bt as WebhookSubscriptionUpdateResponse, ci as SessionPatchResponse, cn as McpListParams, cr as LinkCreateParams, ct as WebhookEndpointUpdateParams, d as KeyringListTransferKeysResponse, di as SessionRetrieveResponse, dn as McpRetrieveAppResponse, dr as ConnectedAccountCompleteAuthResponse, dt as WebhookSubscriptionCreateParams, ei as SessionDeleteResponse, en as McpCreateInstanceResponse, er as ToolkitRetrieveMultiParams, et as ProjectRetrieveResponse, fi as SessionSearchParams, fn as McpRetrieveResponse, fr as ConnectedAccountCreateParams, ft as WebhookSubscriptionCreateResponse, g as CustomSyncResponse, gi as SessionToolsParams, gn as GenerateURLParams, gr as ConnectedAccountListParams, gt as WebhookSubscriptionListResponse, h as CustomSyncParams, hi as SessionToolkitsResponse, hr as ConnectedAccountDeleteResponse, ht as WebhookSubscriptionListParams, i as SessionConfigsRetrieveResponse, ii as SessionExecuteResponse, in as McpDeleteInstanceResponse, ir as ToolkitRetrieveScopesGrantContextParams, it as WebhookEndpointListResponse, ji as HeadersLike, jn as TriggersTypeListResponse, k as ClankerCreateClaimParams, kn as ManageUpdateResponse, kr as FileListParams$1, kt as LogCreateToolExecutionResponse, li as SessionProxyExecuteParams, ln as McpListResponse, lr as LinkCreateResponse, lt as WebhookEndpointUpdateResponse, m as CustomDeleteToolkitResponse, mi as SessionToolkitsParams, mn as McpUpdateResponse, mr as ConnectedAccountDeleteParams, mt as WebhookSubscriptionListEventTypesResponse, n as SessionConfigsListParams, ni as SessionExecuteMetaResponse, nn as McpCreateResponse, nr as ToolkitRetrieveParams, nt as WebhookEndpointCreateResponse, oi as SessionLinkResponse, on as McpListInstancesParams, ot as WebhookEndpointReplaceResponse, p as CustomDeleteToolkitParams, pi as SessionSearchResponse, pn as McpUpdateParams, pr as ConnectedAccountCreateResponse, pt as WebhookSubscriptionDeleteResponse, q as ProjectCreateParams, qt as CliGetSessionResponse, r as SessionConfigsListResponse, ri as SessionExecuteParams, rn as McpDeleteInstanceParams, rr as ToolkitRetrieveResponse, rt as WebhookEndpointListParams, si as SessionPatchParams, sn as McpListInstancesResponse, st as WebhookEndpointRetrieveResponse, ti as SessionExecuteMetaParams, tn as McpCreateParams, tr as ToolkitRetrieveMultiResponse, tt as WebhookEndpointCreateParams, ui as SessionProxyExecuteResponse, un as McpRetrieveAppParams, ur as ConnectedAccountCompleteAuthParams, v as CustomUpsertResponse, vi as FileCreateDownloadURLParams, vr as ConnectedAccountPatchParams, vt as WebhookSubscriptionRotateSecretResponse, w as SessionRetrieveInfoResponse, wi as FileListParams, wn as TriggerInstanceUpsertResponse, wr as ConnectedAccountUpdateStatusParams, wt as UsageRetrieveParams, x as ApiKeyRevocationCreateResponse, xi as FileCreateUploadURLResponse, xn as TriggerInstanceListActiveParams, xr as ConnectedAccountRefreshResponse, yi as FileCreateDownloadURLResponse, yn as CustomCreateParams, yr as ConnectedAccountPatchResponse, yt as WebhookSubscriptionUpdateParams, zn as AuthConfigDeleteResponse, zr as ToolProxyResponse, zt as TriggerRetrieveResponse } from "./session-configs-
|
|
2
|
-
import { t as VERSION } from "./version-
|
|
1
|
+
import { $ as ProjectRegenerateAPIKeyResponse, $n as ToolkitRetrieveChangelogResponse, $r as SessionCreateResponse, $t as McpCreateInstanceParams, A as ClankerCreateClaimResponse, An as TriggersTypeListParams, Ar as FileListResponse$1, At as LogRetrieveToolExecutionResponse, B as ConsumerListConnectedToolkitsParams, Bn as AuthConfigListParams, Br as ToolRetrieveEnumResponse, Ci as FileDeleteResponse, Cn as TriggerInstanceUpsertParams, Cr as ConnectedAccountRevokeResponse, D as OrgListResponse, Dn as ManageDeleteResponse, Dr as FileCreatePresignedURLParams, Dt as UsageRetrieveSummaryResponse, E as OrgListParams, Et as UsageRetrieveSummaryParams, F as UsageRetrieveSummaryResponse$1, Fi as APIErrorBody, Fr as ToolGetInputResponse, Ft as ToolRetrieveResponse$1, Gn as AuthConfigUpdateStatusParams, Gt as CliCreateSessionResponse, Hn as AuthConfigRetrieveResponse, Hr as ToolRetrieveRequiredScopesParams, Ht as CliCreateCodactFailureParams, In as AuthConfigCreateParams, Ir as ToolListParams, J as ProjectCreateResponse, Jn as ToolkitListParams, Jr as SessionAttachParams, Kn as AuthConfigUpdateStatusResponse, Kt as CliGetSessionParams, L as ProjectListParams$1, Ln as AuthConfigCreateResponse, Lr as ToolListResponse, Lt as TriggerListParams, M as UsageRetrieveParams$1, Mn as TriggersTypeRetrieveEnumResponse, Mr as ToolExecuteParams, Mt as ToolListFieldsResponse, N as UsageRetrieveResponse$1, Nn as TriggersTypeRetrieveParams, Nr as ToolExecuteResponse, Nt as ToolListParams$1, On as ManageUpdateParams, Or as FileCreatePresignedURLResponse, Ot as LogCreateToolExecutionParams, P as UsageRetrieveSummaryParams$1, Pn as TriggersTypeRetrieveResponse, Pr as ToolGetInputParams, Pt as ToolListResponse$1, Q as ProjectListResponse, Qn as ToolkitRetrieveCategoriesResponse, Qr as SessionCreateParams, R as ProjectListResponse$1, Rn as AuthConfigDeleteParams, Rr as ToolProxyParams, Rt as TriggerListResponse, Si as FileDeleteParams, Sn as TriggerInstanceListActiveResponse, Sr as ConnectedAccountRetrieveResponse, Ti as FileListResponse, Tr as ConnectedAccountUpdateStatusResponse, Tt as UsageRetrieveResponse, U as ProjectResolveParams, Un as AuthConfigUpdateParams, Ur as ToolRetrieveRequiredScopesResponse, Ut as CliCreateCodactFailureResponse, V as ConsumerListConnectedToolkitsResponse, Vn as AuthConfigListResponse, Vr as ToolRetrieveParams, W as ProjectResolveResponse, Wn as AuthConfigUpdateResponse, Wr as ToolRetrieveResponse, Wt as CliCreateSessionParams, X as ProjectDeleteResponse, Xn as ToolkitRecommendScopesParams, Xr as SessionConfigHistoryParams, Xt as RealtimeAuthResponse, Y as ProjectDeleteParams, Yn as ToolkitListResponse, Yr as SessionAttachResponse, Yt as RealtimeAuthParams, Z as ProjectListParams, Zn as ToolkitRecommendScopesResponse, Zr as SessionConfigHistoryResponse, Zt as RealtimeCredentialsResponse, _ as CustomUpsertParams, _i as SessionToolsResponse, _n as GenerateURLResponse, _r as ConnectedAccountListResponse, _t as WebhookSubscriptionRetrieveResponse, ai as SessionLinkParams, an as McpDeleteResponse, ar as ToolkitRetrieveScopesGrantContextResponse, at as WebhookEndpointReplaceParams, b as ApiKeyRevocationCreateParams, bi as FileCreateUploadURLParams, bn as CustomCreateResponse, br as ConnectedAccountRefreshParams, bt as WebhookSubscriptionUpdateResponse, ci as SessionPatchResponse, cn as McpListParams, cr as LinkCreateParams, ct as WebhookEndpointUpdateParams, d as KeyringListTransferKeysResponse, di as SessionRetrieveResponse, dn as McpRetrieveAppResponse, dr as ConnectedAccountCompleteAuthResponse, dt as WebhookSubscriptionCreateParams, ei as SessionDeleteResponse, en as McpCreateInstanceResponse, er as ToolkitRetrieveMultiParams, et as ProjectRetrieveResponse, fi as SessionSearchParams, fn as McpRetrieveResponse, fr as ConnectedAccountCreateParams, ft as WebhookSubscriptionCreateResponse, g as CustomSyncResponse, gi as SessionToolsParams, gn as GenerateURLParams, gr as ConnectedAccountListParams, gt as WebhookSubscriptionListResponse, h as CustomSyncParams, hi as SessionToolkitsResponse, hr as ConnectedAccountDeleteResponse, ht as WebhookSubscriptionListParams, i as SessionConfigsRetrieveResponse, ii as SessionExecuteResponse, in as McpDeleteInstanceResponse, ir as ToolkitRetrieveScopesGrantContextParams, it as WebhookEndpointListResponse, ji as HeadersLike, jn as TriggersTypeListResponse, k as ClankerCreateClaimParams, kn as ManageUpdateResponse, kr as FileListParams$1, kt as LogCreateToolExecutionResponse, li as SessionProxyExecuteParams, ln as McpListResponse, lr as LinkCreateResponse, lt as WebhookEndpointUpdateResponse, m as CustomDeleteToolkitResponse, mi as SessionToolkitsParams, mn as McpUpdateResponse, mr as ConnectedAccountDeleteParams, mt as WebhookSubscriptionListEventTypesResponse, n as SessionConfigsListParams, ni as SessionExecuteMetaResponse, nn as McpCreateResponse, nr as ToolkitRetrieveParams, nt as WebhookEndpointCreateResponse, oi as SessionLinkResponse, on as McpListInstancesParams, ot as WebhookEndpointReplaceResponse, p as CustomDeleteToolkitParams, pi as SessionSearchResponse, pn as McpUpdateParams, pr as ConnectedAccountCreateResponse, pt as WebhookSubscriptionDeleteResponse, q as ProjectCreateParams, qt as CliGetSessionResponse, r as SessionConfigsListResponse, ri as SessionExecuteParams, rn as McpDeleteInstanceParams, rr as ToolkitRetrieveResponse, rt as WebhookEndpointListParams, si as SessionPatchParams, sn as McpListInstancesResponse, st as WebhookEndpointRetrieveResponse, ti as SessionExecuteMetaParams, tn as McpCreateParams, tr as ToolkitRetrieveMultiResponse, tt as WebhookEndpointCreateParams, ui as SessionProxyExecuteResponse, un as McpRetrieveAppParams, ur as ConnectedAccountCompleteAuthParams, v as CustomUpsertResponse, vi as FileCreateDownloadURLParams, vr as ConnectedAccountPatchParams, vt as WebhookSubscriptionRotateSecretResponse, w as SessionRetrieveInfoResponse, wi as FileListParams, wn as TriggerInstanceUpsertResponse, wr as ConnectedAccountUpdateStatusParams, wt as UsageRetrieveParams, x as ApiKeyRevocationCreateResponse, xi as FileCreateUploadURLResponse, xn as TriggerInstanceListActiveParams, xr as ConnectedAccountRefreshResponse, yi as FileCreateDownloadURLResponse, yn as CustomCreateParams, yr as ConnectedAccountPatchResponse, yt as WebhookSubscriptionUpdateParams, zn as AuthConfigDeleteResponse, zr as ToolProxyResponse, zt as TriggerRetrieveResponse } from "./session-configs-CtHZk-vG.mjs";
|
|
2
|
+
import { t as VERSION } from "./version-DrOZXX3G.mjs";
|
|
3
3
|
import { Context, Effect, Layer, Redacted, Stream } from "effect";
|
|
4
4
|
import * as HttpClient from "effect/http/HttpClient";
|
|
5
5
|
import * as Schema from "effect/Schema";
|
package/dist/effect.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as makeAPIErrorMessage, m as errorDetails, s as ComposioError } from "./error-D9cG225M.mjs";
|
|
2
|
-
import { A as resolveHTTPURL, C as inspectDeprecation, D as callerPlacedCredential, E as assertCredentialTransport, M as mergeHeaders, O as carriesCredentials, S as inspectDeprecatedInputs, T as SCHEME_HEADERS, _ as schemeForRequest, a as TOO_MANY_REDIRECTS, c as buildURL, d as path, f as printableURL, g as safeJSON, h as rewriteForRedirect, i as REDIRECT_STATUSES, j as buildHeaders, k as parseHTTPURL, m as retryDelayMillis, n as generatedOperation, o as buildBody, r as OPAQUE_REDIRECT, s as buildRequestHeaders, t as GENERATED_OPERATIONS, v as shouldRetryResponse, w as matchOperation, x as VERSION, y as validatePositiveInteger } from "./generated-operations-
|
|
3
|
-
import { r as classifySuccessBody, t as GENERATED_DEPRECATED_INPUTS } from "./generated-deprecated-inputs-
|
|
2
|
+
import { A as resolveHTTPURL, C as inspectDeprecation, D as callerPlacedCredential, E as assertCredentialTransport, M as mergeHeaders, O as carriesCredentials, S as inspectDeprecatedInputs, T as SCHEME_HEADERS, _ as schemeForRequest, a as TOO_MANY_REDIRECTS, c as buildURL, d as path, f as printableURL, g as safeJSON, h as rewriteForRedirect, i as REDIRECT_STATUSES, j as buildHeaders, k as parseHTTPURL, m as retryDelayMillis, n as generatedOperation, o as buildBody, r as OPAQUE_REDIRECT, s as buildRequestHeaders, t as GENERATED_OPERATIONS, v as shouldRetryResponse, w as matchOperation, x as VERSION, y as validatePositiveInteger } from "./generated-operations-D8jOXj9j.mjs";
|
|
3
|
+
import { r as classifySuccessBody, t as GENERATED_DEPRECATED_INPUTS } from "./generated-deprecated-inputs-ZjzVSweS.mjs";
|
|
4
4
|
import { i as standardNextCursor, n as assertPageItems, r as isFinalCursor, t as assertCursorAdvanced } from "./pagination-rules-uMUdPq_7.mjs";
|
|
5
5
|
import { Config, Context, Data, Effect, Exit, Layer, Match, Option, Predicate, Redacted, Result, Stream, Tracer } from "effect";
|
|
6
6
|
import * as FetchHttpClient from "effect/http/FetchHttpClient";
|
|
@@ -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/files.ts
|
|
4
4
|
const OP_LIST = generatedOperation("files.list");
|
|
@@ -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/tool-router/session/files.ts
|
|
4
4
|
const OP_LIST = generatedOperation("toolRouter.session.files.list");
|
|
@@ -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/generate.ts
|
|
4
4
|
const OP_URL = generatedOperation("mcp.generate.url");
|
package/dist/{generated-deprecated-inputs-CQlAN1eH.mjs → generated-deprecated-inputs-ZjzVSweS.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as APIError } from "./error-D9cG225M.mjs";
|
|
2
|
-
import { g as safeJSON, l as castToError } from "./generated-operations-
|
|
2
|
+
import { g as safeJSON, l as castToError } from "./generated-operations-D8jOXj9j.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/compat/api-promise.ts
|
|
5
5
|
/**
|
|
@@ -108,6 +108,11 @@ const GENERATED_DEPRECATED_INPUTS = /* @__PURE__ */ new Map([
|
|
|
108
108
|
in: "body",
|
|
109
109
|
replacementWire: null
|
|
110
110
|
}]],
|
|
111
|
+
["mcp.generate.url", [{
|
|
112
|
+
wire: "managed_auth_by_composio",
|
|
113
|
+
in: "body",
|
|
114
|
+
replacementWire: null
|
|
115
|
+
}]],
|
|
111
116
|
["toolRouter.session.proxyExecute", [{
|
|
112
117
|
wire: "custom_connection_data",
|
|
113
118
|
in: "body",
|
|
@@ -83,7 +83,7 @@ const buildHeaders = (sources) => mergeHeaders(sources).values;
|
|
|
83
83
|
* measured property of the API (two credential headers on one request is a
|
|
84
84
|
* 401, even where either alone is a 200), so the four rules below are all
|
|
85
85
|
* stated about *the* credential a request carries, and {@link selectScheme}
|
|
86
|
-
* decides which one that is. See
|
|
86
|
+
* decides which one that is. See §4 of
|
|
87
87
|
* `docs/research/drop-in-contract.md`.
|
|
88
88
|
* 1. **A credentialed API origin must use HTTPS.** Plain `http:` is permitted
|
|
89
89
|
* only for loopback development endpoints, or for the exact origin a
|
|
@@ -137,7 +137,7 @@ const buildHeaders = (sources) => mergeHeaders(sources).values;
|
|
|
137
137
|
* Deliberate, and sanctioned by the design record: the published Stainless
|
|
138
138
|
* client enforces none of this. Redirect *following* is no longer part of the
|
|
139
139
|
* divergence — both clients follow — but what rides along on the hop is. See
|
|
140
|
-
* §4 of `docs/research/drop-in-contract.md
|
|
140
|
+
* §4 of `docs/research/drop-in-contract.md`.
|
|
141
141
|
*/
|
|
142
142
|
/**
|
|
143
143
|
* The three credential classes this API accepts, and the header each one puts
|
|
@@ -374,9 +374,9 @@ const callerPlacedCredential = (sources) => {
|
|
|
374
374
|
*
|
|
375
375
|
* `x-user-api-key` and `x-org-api-key` are the spec's other two credential
|
|
376
376
|
* schemes (`UserApiKeyAuth`, `OrgApiKeyAuth`), and they belong here for the same
|
|
377
|
-
* reason `x-api-key` does — the kernel attaches all three
|
|
377
|
+
* reason `x-api-key` does — the kernel attaches all three
|
|
378
378
|
* and a caller can place the latter two directly besides. They were listed here
|
|
379
|
-
*
|
|
379
|
+
* *before* the attachment work, because omitting them cost more than
|
|
380
380
|
* a missed withdrawal: {@link carriesCredentials} answered `false` for a request
|
|
381
381
|
* carrying only one of them, so `request.ts` classified it as credential-free
|
|
382
382
|
* and handed the whole chain to `fetch` at `redirect: 'follow'` — the exact leak
|
|
@@ -905,7 +905,7 @@ const inspectDeprecatedInputs = ({ operation, query, body, headers, table, seen,
|
|
|
905
905
|
|
|
906
906
|
//#endregion
|
|
907
907
|
//#region src/version.ts
|
|
908
|
-
const VERSION = "2.0.0-rc.
|
|
908
|
+
const VERSION = "2.0.0-rc.14";
|
|
909
909
|
|
|
910
910
|
//#endregion
|
|
911
911
|
//#region src/compat/telemetry.ts
|
|
@@ -1044,7 +1044,7 @@ const path = (statics, ...params) => {
|
|
|
1044
1044
|
* empty values, and plain-object values expanded qs-style into bracket
|
|
1045
1045
|
* notation (`toolkit_versions[github]=v1`, the whole key percent-encoded) —
|
|
1046
1046
|
* pinned differentially against Stainless via `tools.retrieve`'s object
|
|
1047
|
-
* `toolkit_versions` param
|
|
1047
|
+
* `toolkit_versions` param.
|
|
1048
1048
|
*/
|
|
1049
1049
|
const stringifyQuery = (query) => {
|
|
1050
1050
|
const parts = [];
|
|
@@ -1203,7 +1203,7 @@ const TOO_MANY_REDIRECTS = `The API redirected more than ${20} times; the chain
|
|
|
1203
1203
|
* What is left is a *credentialed* request that redirects in a browser. It
|
|
1204
1204
|
* gets a named error rather than a silent leak — and on this API that is very
|
|
1205
1205
|
* nearly unreachable: the only redirects the platform serves are same-origin
|
|
1206
|
-
* edge normalizations
|
|
1206
|
+
* edge normalizations, and `buildURL`
|
|
1207
1207
|
* cannot construct a URL that triggers one.
|
|
1208
1208
|
*/
|
|
1209
1209
|
const OPAQUE_REDIRECT = "The API responded with a redirect that this runtime will not let the client read (an opaque redirect, in a browser). Redirects are followed only where the response can be inspected, because a credential must never cross an origin change.";
|
|
@@ -1374,8 +1374,8 @@ const dispatchWithRedirects = async (config, options, initialURL, initialBody, i
|
|
|
1374
1374
|
*
|
|
1375
1375
|
* Redirects are followed inside an attempt by `dispatchWithRedirects`, so the
|
|
1376
1376
|
* single response exit below still fires `onResponse` **once per logical
|
|
1377
|
-
* call** rather than once per hop — the once-per-call guarantee
|
|
1378
|
-
*
|
|
1377
|
+
* call** rather than once per hop — the once-per-call guarantee the
|
|
1378
|
+
* deprecation interceptor is built on. The `Response` handed back is the
|
|
1379
1379
|
* final hop's, so `response.url` is still "the URL this response came from",
|
|
1380
1380
|
* which is what `deprecation.ts` resolves relative `Link` targets against.
|
|
1381
1381
|
*/
|
|
@@ -2043,7 +2043,8 @@ const GENERATED_OPERATIONS = [
|
|
|
2043
2043
|
"mcp",
|
|
2044
2044
|
"generate",
|
|
2045
2045
|
"url"
|
|
2046
|
-
]
|
|
2046
|
+
],
|
|
2047
|
+
hasDeprecatedInputs: true
|
|
2047
2048
|
},
|
|
2048
2049
|
{
|
|
2049
2050
|
method: "post",
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $r as SessionCreateResponse, Ai as createFetchTransport, Bi as ConflictError, Ci as FileDeleteResponse, Di as RequestOptions, Ei as Files, Fi as APIErrorBody, Gi as UnprocessableEntityError, Hi as NotFoundError, Ii as APIUserAbortError, Jr as SessionAttachParams, Ki as APIPromise, Kr as ToolRouter, Li as AuthenticationError, Mi as APIConnectionError, Ni as APIConnectionTimeoutError, Oi as FetchTransportDefaults, Pi as APIError, Qr as SessionCreateParams, Ri as BadRequestError, Si as FileDeleteParams, Ti as FileListResponse, Ui as PermissionDeniedError, Vi as InternalServerError, Wi as RateLimitError, Xr as SessionConfigHistoryParams, Yr as SessionAttachResponse, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, a as ClientOptions, ai as SessionLinkParams, bi as FileCreateUploadURLParams, c as LogLevel, ci as SessionPatchResponse, di as SessionRetrieveResponse, ei as SessionDeleteResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, ki as Transport, l as Logger, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, o as Composio, oi as SessionLinkResponse, pi as SessionSearchResponse, qr as Session, ri as SessionExecuteParams, s as EnvironmentMap, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse, vi as FileCreateDownloadURLParams, wi as FileListParams, xi as FileCreateUploadURLResponse, yi as FileCreateDownloadURLResponse, zi as ComposioError } from "./session-configs-
|
|
2
|
-
import { t as VERSION } from "./version-
|
|
1
|
+
import { $r as SessionCreateResponse, Ai as createFetchTransport, Bi as ConflictError, Ci as FileDeleteResponse, Di as RequestOptions, Ei as Files, Fi as APIErrorBody, Gi as UnprocessableEntityError, Hi as NotFoundError, Ii as APIUserAbortError, Jr as SessionAttachParams, Ki as APIPromise, Kr as ToolRouter, Li as AuthenticationError, Mi as APIConnectionError, Ni as APIConnectionTimeoutError, Oi as FetchTransportDefaults, Pi as APIError, Qr as SessionCreateParams, Ri as BadRequestError, Si as FileDeleteParams, Ti as FileListResponse, Ui as PermissionDeniedError, Vi as InternalServerError, Wi as RateLimitError, Xr as SessionConfigHistoryParams, Yr as SessionAttachResponse, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, a as ClientOptions, ai as SessionLinkParams, bi as FileCreateUploadURLParams, c as LogLevel, ci as SessionPatchResponse, di as SessionRetrieveResponse, ei as SessionDeleteResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, ki as Transport, l as Logger, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, o as Composio, oi as SessionLinkResponse, pi as SessionSearchResponse, qr as Session, ri as SessionExecuteParams, s as EnvironmentMap, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse, vi as FileCreateDownloadURLParams, wi as FileListParams, xi as FileCreateUploadURLResponse, yi as FileCreateDownloadURLResponse, zi as ComposioError } from "./session-configs-CtHZk-vG.mjs";
|
|
2
|
+
import { t as VERSION } from "./version-DrOZXX3G.mjs";
|
|
3
3
|
export { APIConnectionError, APIConnectionTimeoutError, APIError, type APIErrorBody, APIPromise, APIUserAbortError, AuthenticationError, BadRequestError, type ClientOptions, Composio, Composio as default, ComposioError, ConflictError, type EnvironmentMap, type FetchTransportDefaults, type FileCreateDownloadURLParams, type FileCreateDownloadURLResponse, type FileCreateUploadURLParams, type FileCreateUploadURLResponse, type FileDeleteParams, type FileDeleteResponse, type FileListParams, type FileListResponse, Files, InternalServerError, type LogLevel, type Logger, NotFoundError, PermissionDeniedError, RateLimitError, type RequestOptions, Session, type SessionAttachParams, type SessionAttachResponse, type SessionConfigHistoryParams, type SessionConfigHistoryResponse, type SessionCreateParams, type SessionCreateResponse, type SessionDeleteResponse, type SessionExecuteMetaParams, type SessionExecuteMetaResponse, type SessionExecuteParams, type SessionExecuteResponse, type SessionLinkParams, type SessionLinkResponse, type SessionPatchParams, type SessionPatchResponse, type SessionProxyExecuteParams, type SessionProxyExecuteResponse, type SessionRetrieveResponse, type SessionSearchParams, type SessionSearchResponse, type SessionToolkitsParams, type SessionToolkitsResponse, type SessionToolsParams, type SessionToolsResponse, ToolRouter, type Transport, UnprocessableEntityError, VERSION, createFetchTransport };
|
package/dist/index.mjs
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { a as AuthenticationError, c as ConflictError, d as PermissionDeniedError, f as RateLimitError, i as APIUserAbortError, l as InternalServerError, n as APIConnectionTimeoutError, o as BadRequestError, p as UnprocessableEntityError, r as APIError, s as ComposioError, t as APIConnectionError, u as NotFoundError } from "./error-D9cG225M.mjs";
|
|
2
|
-
import { C as inspectDeprecation, E as assertCredentialTransport, M as mergeHeaders, S as inspectDeprecatedInputs, k as parseHTTPURL, p as readOperation, t as GENERATED_OPERATIONS, u as makeRequest, x as VERSION } from "./generated-operations-
|
|
3
|
-
import { t as Custom } from "./custom-
|
|
4
|
-
import { t as ApiKeyRevocation } from "./api-key-revocation-
|
|
5
|
-
import { t as AuthConfigs } from "./auth-configs-
|
|
6
|
-
import { t as Auth } from "./auth-
|
|
7
|
-
import { t as Cli } from "./cli-
|
|
8
|
-
import { t as ConnectedAccounts } from "./connected-accounts-
|
|
9
|
-
import { t as Files$1 } from "./files-
|
|
10
|
-
import { t as Keyring } from "./keyring-
|
|
11
|
-
import { t as Link } from "./link-
|
|
12
|
-
import { t as Logs } from "./logs-
|
|
13
|
-
import { t as Mcp } from "./mcp-
|
|
2
|
+
import { C as inspectDeprecation, E as assertCredentialTransport, M as mergeHeaders, S as inspectDeprecatedInputs, k as parseHTTPURL, p as readOperation, t as GENERATED_OPERATIONS, u as makeRequest, x as VERSION } from "./generated-operations-D8jOXj9j.mjs";
|
|
3
|
+
import { t as Custom } from "./custom-Bnoa7Qsa.mjs";
|
|
4
|
+
import { t as ApiKeyRevocation } from "./api-key-revocation-BtpYMp2A.mjs";
|
|
5
|
+
import { t as AuthConfigs } from "./auth-configs-DwRyrT5R.mjs";
|
|
6
|
+
import { t as Auth } from "./auth-DOLhepVW.mjs";
|
|
7
|
+
import { t as Cli } from "./cli-r2AP1DQC.mjs";
|
|
8
|
+
import { t as ConnectedAccounts } from "./connected-accounts-DoC-z2wg.mjs";
|
|
9
|
+
import { t as Files$1 } from "./files-Bn4CgdQ5.mjs";
|
|
10
|
+
import { t as Keyring } from "./keyring-Bdurkv-I.mjs";
|
|
11
|
+
import { t as Link } from "./link-DhTr_Zq5.mjs";
|
|
12
|
+
import { t as Logs } from "./logs-BCI69MYO.mjs";
|
|
13
|
+
import { t as Mcp } from "./mcp-Cf7Tp8i8.mjs";
|
|
14
14
|
import { t as Migration } from "./migration-CBhnoN-Y.mjs";
|
|
15
|
-
import { t as Org } from "./org-
|
|
16
|
-
import { t as Project } from "./project-
|
|
15
|
+
import { t as Org } from "./org-_aj_XBWC.mjs";
|
|
16
|
+
import { t as Project } from "./project-D08liXQJ.mjs";
|
|
17
17
|
import { SessionConfigs } from "./resources/session-configs.mjs";
|
|
18
|
-
import { t as Files } from "./files-
|
|
19
|
-
import { t as Session } from "./session-
|
|
20
|
-
import { t as ToolRouter } from "./tool-router-
|
|
21
|
-
import { t as Toolkits } from "./toolkits-
|
|
22
|
-
import { t as Tools } from "./tools-
|
|
23
|
-
import { t as TriggerInstances } from "./trigger-instances-
|
|
24
|
-
import { t as TriggersTypes } from "./triggers-types-
|
|
25
|
-
import { t as WebhookEndpoints } from "./webhook-endpoints-
|
|
26
|
-
import { t as WebhookSubscriptions } from "./webhook-subscriptions-
|
|
27
|
-
import { n as APIPromise, t as GENERATED_DEPRECATED_INPUTS } from "./generated-deprecated-inputs-
|
|
18
|
+
import { t as Files } from "./files-DNgrvsvD.mjs";
|
|
19
|
+
import { t as Session } from "./session-DpNSa-W_.mjs";
|
|
20
|
+
import { t as ToolRouter } from "./tool-router-BS_br3iE.mjs";
|
|
21
|
+
import { t as Toolkits } from "./toolkits-BPFKa015.mjs";
|
|
22
|
+
import { t as Tools } from "./tools-BwrEpHGs.mjs";
|
|
23
|
+
import { t as TriggerInstances } from "./trigger-instances-DyFxjnmc.mjs";
|
|
24
|
+
import { t as TriggersTypes } from "./triggers-types-CAnS6vg7.mjs";
|
|
25
|
+
import { t as WebhookEndpoints } from "./webhook-endpoints-DE_mR76r.mjs";
|
|
26
|
+
import { t as WebhookSubscriptions } from "./webhook-subscriptions-DWY9Bf_H.mjs";
|
|
27
|
+
import { n as APIPromise, t as GENERATED_DEPRECATED_INPUTS } from "./generated-deprecated-inputs-ZjzVSweS.mjs";
|
|
28
28
|
|
|
29
29
|
//#region src/compat/generated-resource-wiring.ts
|
|
30
30
|
const createClientResources = (client) => ({
|
|
@@ -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/keyring.ts
|
|
4
4
|
const OP_LIST_TRANSFER_KEYS = generatedOperation("keyring.listTransferKeys");
|
|
@@ -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/link.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("link.create");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-
|
|
2
|
-
import { t as Triggers } from "./triggers-
|
|
3
|
-
import { t as Tools } from "./tools-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-D8jOXj9j.mjs";
|
|
2
|
+
import { t as Triggers } from "./triggers-BKDJTu8N.mjs";
|
|
3
|
+
import { t as Tools } from "./tools-CrBz2Tm7.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/compat/resources/logs/logs.ts
|
|
6
6
|
const OP_CREATE_TOOL_EXECUTION = generatedOperation("logs.createToolExecution");
|
|
@@ -9,8 +9,7 @@ const OP_RETRIEVE_TOOL_EXECUTION = generatedOperation("logs.retrieveToolExecutio
|
|
|
9
9
|
* Stainless-shaped `client.logs` resource: a method-less container in the
|
|
10
10
|
* published Stainless client (the `triggers` and `tools` log sub-resources)
|
|
11
11
|
* plus the spec-surface `createToolExecution`/`retrieveToolExecution`
|
|
12
|
-
* (`/logs/tool_execution*`, never published by Stainless
|
|
13
|
-
* ticket 29).
|
|
12
|
+
* (`/logs/tool_execution*`, never published by Stainless).
|
|
14
13
|
*/
|
|
15
14
|
var Logs = class {
|
|
16
15
|
triggers;
|
|
@@ -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/trigger-instances/manage.ts
|
|
4
4
|
const OP_UPDATE = generatedOperation("triggerInstances.manage.update");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-
|
|
2
|
-
import { t as Custom } from "./custom-
|
|
3
|
-
import { t as Generate } from "./generate-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-D8jOXj9j.mjs";
|
|
2
|
+
import { t as Custom } from "./custom-0lCWqNaG.mjs";
|
|
3
|
+
import { t as Generate } from "./generate-gTgUCYef.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/compat/resources/mcp/mcp.ts
|
|
6
6
|
const OP_CREATE = generatedOperation("mcp.create");
|
|
@@ -16,8 +16,8 @@ const OP_RETRIEVE_APP = generatedOperation("mcp.retrieveApp");
|
|
|
16
16
|
* Stainless-shaped `client.mcp` resource: the 6-method published surface of
|
|
17
17
|
* `@composio/client` (create/retrieve/update/list/delete/retrieveApp) plus the
|
|
18
18
|
* spec-surface `/mcp/servers/{serverId}/instances` trio (listInstances/
|
|
19
|
-
* createInstance/deleteInstance), never published by Stainless
|
|
20
|
-
*
|
|
19
|
+
* createInstance/deleteInstance), never published by Stainless.
|
|
20
|
+
* Dispatched through the handwritten kernel.
|
|
21
21
|
*/
|
|
22
22
|
var Mcp = class {
|
|
23
23
|
custom;
|