@composio/client 0.1.0-alpha.1 → 0.1.0-alpha.11
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/CHANGELOG.md +157 -0
- package/LICENSE +1 -1
- package/README.md +31 -31
- package/api-promise.js +2 -15
- package/api-promise.js.map +1 -1
- package/client.d.mts +32 -29
- package/client.d.mts.map +1 -1
- package/client.d.ts +32 -29
- package/client.d.ts.map +1 -1
- package/client.js +95 -113
- package/client.js.map +1 -1
- package/client.mjs +88 -83
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts +2 -3
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts +2 -3
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.js +4 -14
- package/core/api-promise.js.map +1 -1
- package/core/api-promise.mjs +1 -11
- package/core/api-promise.mjs.map +1 -1
- package/core/error.d.mts +2 -3
- package/core/error.d.mts.map +1 -1
- package/core/error.d.ts +2 -3
- package/core/error.d.ts.map +1 -1
- package/core/error.js +4 -4
- package/core/error.js.map +1 -1
- package/core/error.mjs +2 -2
- package/core/error.mjs.map +1 -1
- package/core/resource.d.mts +3 -3
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts +3 -3
- package/core/resource.d.ts.map +1 -1
- package/core/resource.js.map +1 -1
- package/core/resource.mjs.map +1 -1
- package/error.js +2 -15
- package/error.js.map +1 -1
- package/index.d.mts +3 -3
- package/index.d.mts.map +1 -1
- package/index.d.ts +3 -3
- package/index.d.ts.map +1 -1
- package/index.js +4 -4
- package/index.js.map +1 -1
- package/index.mjs +3 -3
- package/index.mjs.map +1 -1
- package/internal/builtin-types.d.mts +0 -2
- package/internal/builtin-types.d.mts.map +1 -1
- package/internal/builtin-types.d.ts +0 -2
- package/internal/builtin-types.d.ts.map +1 -1
- package/internal/detect-platform.js.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/errors.d.mts.map +1 -1
- package/internal/errors.d.ts.map +1 -1
- package/internal/errors.js +2 -2
- package/internal/errors.js.map +1 -1
- package/internal/errors.mjs.map +1 -1
- package/internal/headers.d.mts +1 -2
- package/internal/headers.d.mts.map +1 -1
- package/internal/headers.d.ts +1 -2
- package/internal/headers.d.ts.map +1 -1
- package/internal/headers.js +3 -1
- package/internal/headers.js.map +1 -1
- package/internal/headers.mjs +3 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts +2 -3
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts +2 -3
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +1 -2
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts +6 -0
- package/internal/qs/formats.d.mts.map +1 -0
- package/internal/qs/formats.d.ts +6 -0
- package/internal/qs/formats.d.ts.map +1 -0
- package/internal/qs/formats.js +11 -0
- package/internal/qs/formats.js.map +1 -0
- package/internal/qs/formats.mjs +8 -0
- package/internal/qs/formats.mjs.map +1 -0
- package/internal/qs/index.d.mts +10 -0
- package/internal/qs/index.d.mts.map +1 -0
- package/internal/qs/index.d.ts +10 -0
- package/internal/qs/index.d.ts.map +1 -0
- package/internal/qs/index.js +14 -0
- package/internal/qs/index.js.map +1 -0
- package/internal/qs/index.mjs +10 -0
- package/internal/qs/index.mjs.map +1 -0
- package/internal/qs/stringify.d.mts +3 -0
- package/internal/qs/stringify.d.mts.map +1 -0
- package/internal/qs/stringify.d.ts +3 -0
- package/internal/qs/stringify.d.ts.map +1 -0
- package/internal/qs/stringify.js +279 -0
- package/internal/qs/stringify.js.map +1 -0
- package/internal/qs/stringify.mjs +276 -0
- package/internal/qs/stringify.mjs.map +1 -0
- package/internal/qs/types.d.mts +57 -0
- package/internal/qs/types.d.mts.map +1 -0
- package/internal/qs/types.d.ts +57 -0
- package/internal/qs/types.d.ts.map +1 -0
- package/internal/qs/types.js +3 -0
- package/internal/qs/types.js.map +1 -0
- package/internal/qs/types.mjs +2 -0
- package/internal/qs/types.mjs.map +1 -0
- package/internal/qs/utils.d.mts +14 -0
- package/internal/qs/utils.d.mts.map +1 -0
- package/internal/qs/utils.d.ts +14 -0
- package/internal/qs/utils.d.ts.map +1 -0
- package/internal/qs/utils.js +229 -0
- package/internal/qs/utils.js.map +1 -0
- package/internal/qs/utils.mjs +217 -0
- package/internal/qs/utils.mjs.map +1 -0
- package/internal/request-options.d.mts +0 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +0 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.js +6 -7
- package/internal/shims.js.map +1 -1
- package/internal/shims.mjs +1 -1
- package/internal/shims.mjs.map +1 -1
- package/internal/to-file.d.mts +0 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts +0 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.js +4 -4
- package/internal/to-file.js.map +1 -1
- package/internal/to-file.mjs +3 -2
- package/internal/to-file.mjs.map +1 -1
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +0 -1
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +0 -1
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts +5 -7
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts +5 -7
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.js +16 -6
- package/internal/uploads.js.map +1 -1
- package/internal/uploads.mjs +12 -3
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.d.mts.map +1 -1
- package/internal/utils/base64.d.ts.map +1 -1
- package/internal/utils/base64.js +14 -9
- package/internal/utils/base64.js.map +1 -1
- package/internal/utils/base64.mjs +15 -10
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts.map +1 -1
- package/internal/utils/env.d.ts.map +1 -1
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs.map +1 -1
- package/internal/utils/log.d.mts +3 -4
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts +3 -4
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +2 -2
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.d.mts.map +1 -1
- package/internal/utils/path.d.ts.map +1 -1
- package/internal/utils/path.js +3 -3
- package/internal/utils/path.js.map +1 -1
- package/internal/utils/path.mjs +2 -2
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/sleep.d.mts.map +1 -1
- package/internal/utils/sleep.d.ts.map +1 -1
- package/internal/utils/uuid.d.mts +1 -1
- package/internal/utils/uuid.d.mts.map +1 -1
- package/internal/utils/uuid.d.ts +1 -1
- package/internal/utils/uuid.d.ts.map +1 -1
- package/internal/utils/uuid.js +1 -2
- package/internal/utils/uuid.js.map +1 -1
- package/internal/utils/uuid.mjs +1 -2
- package/internal/utils/uuid.mjs.map +1 -1
- package/internal/utils/values.d.mts.map +1 -1
- package/internal/utils/values.d.ts.map +1 -1
- package/internal/utils/values.js +10 -10
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs +6 -6
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.js +7 -20
- package/internal/utils.js.map +1 -1
- package/package.json +5 -9
- package/resource.js +2 -15
- package/resource.js.map +1 -1
- package/resources/auth-configs.d.mts +232 -41
- package/resources/auth-configs.d.mts.map +1 -1
- package/resources/auth-configs.d.ts +232 -41
- package/resources/auth-configs.d.ts.map +1 -1
- package/resources/auth-configs.js +64 -0
- package/resources/auth-configs.js.map +1 -1
- package/resources/auth-configs.mjs +64 -0
- package/resources/auth-configs.mjs.map +1 -1
- package/resources/connected-accounts.d.mts +176 -216
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +176 -216
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/connected-accounts.js +70 -0
- package/resources/connected-accounts.js.map +1 -1
- package/resources/connected-accounts.mjs +70 -0
- package/resources/connected-accounts.mjs.map +1 -1
- package/resources/files.d.mts +159 -0
- package/resources/files.d.mts.map +1 -0
- package/resources/files.d.ts +159 -0
- package/resources/files.d.ts.map +1 -0
- package/resources/files.js +39 -0
- package/resources/files.js.map +1 -0
- package/resources/files.mjs +35 -0
- package/resources/files.mjs.map +1 -0
- package/resources/index.d.mts +5 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -5
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -2
- package/resources/index.mjs.map +1 -1
- package/resources/mcp/command.d.mts +4 -0
- package/resources/mcp/command.d.mts.map +1 -0
- package/resources/mcp/command.d.ts +4 -0
- package/resources/mcp/command.d.ts.map +1 -0
- package/resources/mcp/command.js +9 -0
- package/resources/mcp/command.js.map +1 -0
- package/resources/mcp/command.mjs +5 -0
- package/resources/mcp/command.mjs.map +1 -0
- package/resources/mcp/index.d.mts +3 -0
- package/resources/mcp/index.d.mts.map +1 -0
- package/resources/mcp/index.d.ts +3 -0
- package/resources/mcp/index.d.ts.map +1 -0
- package/resources/mcp/index.js +9 -0
- package/resources/mcp/index.js.map +1 -0
- package/resources/mcp/index.mjs +4 -0
- package/resources/mcp/index.mjs.map +1 -0
- package/resources/mcp/mcp.d.mts +411 -0
- package/resources/mcp/mcp.d.mts.map +1 -0
- package/resources/mcp/mcp.d.ts +411 -0
- package/resources/mcp/mcp.d.ts.map +1 -0
- package/resources/mcp/mcp.js +101 -0
- package/resources/mcp/mcp.js.map +1 -0
- package/resources/mcp/mcp.mjs +96 -0
- package/resources/mcp/mcp.mjs.map +1 -0
- package/resources/mcp.d.mts +2 -0
- package/resources/mcp.d.mts.map +1 -0
- package/resources/mcp.d.ts +2 -0
- package/resources/mcp.d.ts.map +1 -0
- package/resources/mcp.js +6 -0
- package/resources/mcp.js.map +1 -0
- package/resources/mcp.mjs +3 -0
- package/resources/mcp.mjs.map +1 -0
- package/resources/migration.d.mts +32 -0
- package/resources/migration.d.mts.map +1 -0
- package/resources/migration.d.ts +32 -0
- package/resources/migration.d.ts.map +1 -0
- package/resources/migration.js +17 -0
- package/resources/migration.js.map +1 -0
- package/resources/migration.mjs +13 -0
- package/resources/migration.mjs.map +1 -0
- package/resources/org/api-key.d.mts +28 -0
- package/resources/org/api-key.d.mts.map +1 -1
- package/resources/org/api-key.d.ts +28 -0
- package/resources/org/api-key.d.ts.map +1 -1
- package/resources/org/api-key.js +20 -0
- package/resources/org/api-key.js.map +1 -1
- package/resources/org/api-key.mjs +20 -0
- package/resources/org/api-key.mjs.map +1 -1
- package/resources/org/org.js +3 -25
- package/resources/org/org.js.map +1 -1
- package/resources/org/project/api-keys.d.mts +97 -20
- package/resources/org/project/api-keys.d.mts.map +1 -1
- package/resources/org/project/api-keys.d.ts +97 -20
- package/resources/org/project/api-keys.d.ts.map +1 -1
- package/resources/org/project/api-keys.js +57 -0
- package/resources/org/project/api-keys.js.map +1 -1
- package/resources/org/project/api-keys.mjs +57 -0
- package/resources/org/project/api-keys.mjs.map +1 -1
- package/resources/org/project/project.d.mts +182 -7
- package/resources/org/project/project.d.mts.map +1 -1
- package/resources/org/project/project.d.ts +182 -7
- package/resources/org/project/project.d.ts.map +1 -1
- package/resources/org/project/project.js +56 -26
- package/resources/org/project/project.js.map +1 -1
- package/resources/org/project/project.mjs +52 -0
- package/resources/org/project/project.mjs.map +1 -1
- package/resources/org/project/trigger.d.mts +101 -5
- package/resources/org/project/trigger.d.mts.map +1 -1
- package/resources/org/project/trigger.d.ts +101 -5
- package/resources/org/project/trigger.d.ts.map +1 -1
- package/resources/org/project/trigger.js +21 -0
- package/resources/org/project/trigger.js.map +1 -1
- package/resources/org/project/trigger.mjs +21 -0
- package/resources/org/project/trigger.mjs.map +1 -1
- package/resources/org/project/webhook.d.mts +88 -14
- package/resources/org/project/webhook.d.mts.map +1 -1
- package/resources/org/project/webhook.d.ts +88 -14
- package/resources/org/project/webhook.d.ts.map +1 -1
- package/resources/org/project/webhook.js +51 -1
- package/resources/org/project/webhook.js.map +1 -1
- package/resources/org/project/webhook.mjs +51 -1
- package/resources/org/project/webhook.mjs.map +1 -1
- package/resources/org/project.js +2 -15
- package/resources/org/project.js.map +1 -1
- package/resources/org.js +2 -15
- package/resources/org.js.map +1 -1
- package/resources/team-members.d.mts +12 -0
- package/resources/team-members.d.mts.map +1 -1
- package/resources/team-members.d.ts +12 -0
- package/resources/team-members.d.ts.map +1 -1
- package/resources/team-members.js +12 -0
- package/resources/team-members.js.map +1 -1
- package/resources/team-members.mjs +12 -0
- package/resources/team-members.mjs.map +1 -1
- package/resources/toolkits.d.mts +215 -4
- package/resources/toolkits.d.mts.map +1 -1
- package/resources/toolkits.d.ts +215 -4
- package/resources/toolkits.d.ts.map +1 -1
- package/resources/toolkits.js +20 -2
- package/resources/toolkits.js.map +1 -1
- package/resources/toolkits.mjs +20 -2
- package/resources/toolkits.mjs.map +1 -1
- package/resources/tools.d.mts +295 -21
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +295 -21
- package/resources/tools.d.ts.map +1 -1
- package/resources/tools.js +67 -0
- package/resources/tools.js.map +1 -1
- package/resources/tools.mjs +67 -0
- package/resources/tools.mjs.map +1 -1
- package/resources/trigger-instances/handle.d.mts +2 -2
- package/resources/trigger-instances/handle.d.mts.map +1 -1
- package/resources/trigger-instances/handle.d.ts +2 -2
- package/resources/trigger-instances/handle.d.ts.map +1 -1
- package/resources/trigger-instances/handle.js.map +1 -1
- package/resources/trigger-instances/handle.mjs.map +1 -1
- package/resources/trigger-instances/index.d.mts +1 -1
- package/resources/trigger-instances/index.d.mts.map +1 -1
- package/resources/trigger-instances/index.d.ts +1 -1
- package/resources/trigger-instances/index.d.ts.map +1 -1
- package/resources/trigger-instances/index.js.map +1 -1
- package/resources/trigger-instances/index.mjs.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.mts +51 -31
- package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.ts +51 -31
- package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.js +3 -32
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs +1 -8
- package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
- package/resources/trigger-instances.js +2 -15
- package/resources/trigger-instances.js.map +1 -1
- package/resources/triggers-types.d.mts +105 -4
- package/resources/triggers-types.d.mts.map +1 -1
- package/resources/triggers-types.d.ts +105 -4
- package/resources/triggers-types.d.ts.map +1 -1
- package/resources/triggers-types.js +29 -0
- package/resources/triggers-types.js.map +1 -1
- package/resources/triggers-types.mjs +29 -0
- package/resources/triggers-types.mjs.map +1 -1
- package/resources.js +2 -15
- package/resources.js.map +1 -1
- package/src/client.ts +128 -94
- package/src/core/api-promise.ts +4 -4
- package/src/core/error.ts +2 -2
- package/src/core/resource.ts +3 -3
- package/src/index.ts +3 -3
- package/src/internal/headers.ts +4 -3
- package/src/internal/parse.ts +2 -2
- package/src/internal/qs/LICENSE.md +13 -0
- package/src/internal/qs/README.md +3 -0
- package/src/internal/qs/formats.ts +9 -0
- package/src/internal/qs/index.ts +13 -0
- package/src/internal/qs/stringify.ts +388 -0
- package/src/internal/qs/types.ts +71 -0
- package/src/internal/qs/utils.ts +265 -0
- package/src/internal/shims.ts +1 -1
- package/src/internal/to-file.ts +4 -2
- package/src/internal/uploads.ts +21 -9
- package/src/internal/utils/base64.ts +16 -13
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/log.ts +3 -3
- package/src/internal/utils/path.ts +2 -4
- package/src/internal/utils/uuid.ts +1 -3
- package/src/internal/utils/values.ts +6 -6
- package/src/resources/auth-configs.ts +258 -49
- package/src/resources/connected-accounts.ts +192 -302
- package/src/resources/files.ts +209 -0
- package/src/resources/index.ts +24 -11
- package/src/resources/mcp/command.ts +5 -0
- package/src/resources/mcp/index.ts +14 -0
- package/src/resources/mcp/mcp.ts +522 -0
- package/src/resources/mcp.ts +3 -0
- package/src/resources/migration.ts +46 -0
- package/src/resources/org/api-key.ts +28 -0
- package/src/resources/org/project/api-keys.ts +97 -20
- package/src/resources/org/project/project.ts +182 -13
- package/src/resources/org/project/trigger.ts +101 -9
- package/src/resources/org/project/webhook.ts +88 -14
- package/src/resources/team-members.ts +12 -0
- package/src/resources/toolkits.ts +230 -4
- package/src/resources/tools.ts +316 -21
- package/src/resources/trigger-instances/handle.ts +10 -2
- package/src/resources/trigger-instances/index.ts +0 -3
- package/src/resources/trigger-instances/trigger-instances.ts +55 -44
- package/src/resources/triggers-types.ts +107 -6
- package/src/version.ts +1 -1
- package/uploads.js +2 -15
- package/uploads.js.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/internal/shims/crypto.d.mts +0 -13
- package/internal/shims/crypto.d.mts.map +0 -1
- package/internal/shims/crypto.d.ts +0 -13
- package/internal/shims/crypto.d.ts.map +0 -1
- package/internal/shims/crypto.js +0 -13
- package/internal/shims/crypto.js.map +0 -1
- package/internal/shims/crypto.mjs +0 -9
- package/internal/shims/crypto.mjs.map +0 -1
- package/internal/shims/file.d.mts +0 -23
- package/internal/shims/file.d.mts.map +0 -1
- package/internal/shims/file.d.ts +0 -23
- package/internal/shims/file.d.ts.map +0 -1
- package/internal/shims/file.js +0 -16
- package/internal/shims/file.js.map +0 -1
- package/internal/shims/file.mjs +0 -12
- package/internal/shims/file.mjs.map +0 -1
- package/internal/shims/getBuiltinModule.d.mts +0 -11
- package/internal/shims/getBuiltinModule.d.mts.map +0 -1
- package/internal/shims/getBuiltinModule.d.ts +0 -11
- package/internal/shims/getBuiltinModule.d.ts.map +0 -1
- package/internal/shims/getBuiltinModule.js +0 -68
- package/internal/shims/getBuiltinModule.js.map +0 -1
- package/internal/shims/getBuiltinModule.mjs +0 -64
- package/internal/shims/getBuiltinModule.mjs.map +0 -1
- package/internal/shims/nullGetBuiltinModule.d.mts +0 -2
- package/internal/shims/nullGetBuiltinModule.d.mts.map +0 -1
- package/internal/shims/nullGetBuiltinModule.d.ts +0 -2
- package/internal/shims/nullGetBuiltinModule.d.ts.map +0 -1
- package/internal/shims/nullGetBuiltinModule.js +0 -5
- package/internal/shims/nullGetBuiltinModule.js.map +0 -1
- package/internal/shims/nullGetBuiltinModule.mjs +0 -2
- package/internal/shims/nullGetBuiltinModule.mjs.map +0 -1
- package/resources/action-execution.d.mts +0 -155
- package/resources/action-execution.d.mts.map +0 -1
- package/resources/action-execution.d.ts +0 -155
- package/resources/action-execution.d.ts.map +0 -1
- package/resources/action-execution.js +0 -19
- package/resources/action-execution.js.map +0 -1
- package/resources/action-execution.mjs +0 -15
- package/resources/action-execution.mjs.map +0 -1
- package/resources/trigger.d.mts +0 -73
- package/resources/trigger.d.mts.map +0 -1
- package/resources/trigger.d.ts +0 -73
- package/resources/trigger.d.ts.map +0 -1
- package/resources/trigger.js +0 -12
- package/resources/trigger.js.map +0 -1
- package/resources/trigger.mjs +0 -8
- package/resources/trigger.mjs.map +0 -1
- package/src/internal/shims/crypto.ts +0 -18
- package/src/internal/shims/file.ts +0 -32
- package/src/internal/shims/getBuiltinModule.ts +0 -64
- package/src/internal/shims/nullGetBuiltinModule.ts +0 -1
- package/src/resources/action-execution.ts +0 -244
- package/src/resources/trigger.ts +0 -108
package/resources/tools.d.mts
CHANGED
|
@@ -2,28 +2,143 @@ import { APIResource } from "../core/resource.mjs";
|
|
|
2
2
|
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
4
|
export declare class Tools extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Retrieve detailed information about a specific tool using its slug identifier.
|
|
7
|
+
* This endpoint returns full metadata about a tool including input/output
|
|
8
|
+
* parameters, versions, and toolkit information.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const tool = await client.tools.retrieve('tool_slug');
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
5
15
|
retrieve(toolSlug: string, options?: RequestOptions): APIPromise<ToolRetrieveResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Retrieve a paginated list of available tools with comprehensive filtering,
|
|
18
|
+
* sorting and search capabilities. Use query parameters to narrow down results by
|
|
19
|
+
* toolkit, tags, or search terms.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* const tools = await client.tools.list();
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
6
26
|
list(query?: ToolListParams | null | undefined, options?: RequestOptions): APIPromise<ToolListResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Execute a specific tool operation with provided arguments and authentication.
|
|
29
|
+
* This is the primary endpoint for integrating with third-party services and
|
|
30
|
+
* executing tools. You can provide structured arguments or use natural language
|
|
31
|
+
* processing by providing a text description of what you want to accomplish.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const response = await client.tools.execute('action');
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
7
38
|
execute(action: string, body?: ToolExecuteParams | null | undefined, options?: RequestOptions): APIPromise<ToolExecuteResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* Uses AI to translate a natural language description into structured arguments
|
|
41
|
+
* for a specific tool. This endpoint is useful when you want to let users describe
|
|
42
|
+
* what they want to do in plain language instead of providing structured
|
|
43
|
+
* parameters.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* const response = await client.tools.getInput('actionName', {
|
|
48
|
+
* text: 'I need to trigger the main workflow in the octocat/Hello-World repository to deploy to production',
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
8
52
|
getInput(actionName: string, body: ToolGetInputParams, options?: RequestOptions): APIPromise<ToolGetInputResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* Proxy an HTTP request to a third-party API using connected account credentials.
|
|
55
|
+
* This endpoint allows making authenticated API calls to external services while
|
|
56
|
+
* abstracting away authentication details.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```ts
|
|
60
|
+
* const response = await client.tools.proxy({
|
|
61
|
+
* endpoint: '/api/v1/resources',
|
|
62
|
+
* method: 'GET',
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
9
66
|
proxy(body: ToolProxyParams, options?: RequestOptions): APIPromise<ToolProxyResponse>;
|
|
67
|
+
/**
|
|
68
|
+
* Retrieve a list of all available tool enumeration values (tool slugs) for the
|
|
69
|
+
* project. This endpoint returns a comma-separated string of tool slugs that can
|
|
70
|
+
* be used in other API calls.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* ```ts
|
|
74
|
+
* const response = await client.tools.retrieveEnum();
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
10
77
|
retrieveEnum(options?: RequestOptions): APIPromise<string>;
|
|
11
78
|
}
|
|
12
79
|
export interface ToolRetrieveResponse {
|
|
80
|
+
/**
|
|
81
|
+
* List of all available versions for this tool
|
|
82
|
+
*/
|
|
13
83
|
available_versions: Array<string>;
|
|
84
|
+
deprecated: ToolRetrieveResponse.Deprecated;
|
|
85
|
+
/**
|
|
86
|
+
* Detailed description of what the tool does
|
|
87
|
+
*/
|
|
14
88
|
description: string;
|
|
89
|
+
/**
|
|
90
|
+
* Schema definition of required input parameters for the tool
|
|
91
|
+
*/
|
|
15
92
|
input_parameters: Record<string, unknown>;
|
|
93
|
+
/**
|
|
94
|
+
* Human-readable name of the tool
|
|
95
|
+
*/
|
|
16
96
|
name: string;
|
|
97
|
+
/**
|
|
98
|
+
* Indicates if the tool can be used without authentication
|
|
99
|
+
*/
|
|
100
|
+
no_auth: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Schema definition of return values from the tool
|
|
103
|
+
*/
|
|
17
104
|
output_parameters: Record<string, unknown>;
|
|
105
|
+
/**
|
|
106
|
+
* Unique identifier for the tool
|
|
107
|
+
*/
|
|
18
108
|
slug: string;
|
|
109
|
+
/**
|
|
110
|
+
* List of tags associated with the tool for categorization
|
|
111
|
+
*/
|
|
19
112
|
tags: Array<string>;
|
|
20
113
|
toolkit: ToolRetrieveResponse.Toolkit;
|
|
114
|
+
/**
|
|
115
|
+
* Current version of the tool
|
|
116
|
+
*/
|
|
21
117
|
version: string;
|
|
22
118
|
}
|
|
23
119
|
export declare namespace ToolRetrieveResponse {
|
|
120
|
+
interface Deprecated {
|
|
121
|
+
/**
|
|
122
|
+
* The display name of the tool
|
|
123
|
+
*/
|
|
124
|
+
displayName: string;
|
|
125
|
+
/**
|
|
126
|
+
* Whether the action is deprecated
|
|
127
|
+
*/
|
|
128
|
+
is_deprecated: boolean;
|
|
129
|
+
}
|
|
24
130
|
interface Toolkit {
|
|
131
|
+
/**
|
|
132
|
+
* URL to the toolkit logo image
|
|
133
|
+
*/
|
|
25
134
|
logo: string;
|
|
135
|
+
/**
|
|
136
|
+
* Human-readable name of the parent toolkit
|
|
137
|
+
*/
|
|
26
138
|
name: string;
|
|
139
|
+
/**
|
|
140
|
+
* Unique identifier of the parent toolkit
|
|
141
|
+
*/
|
|
27
142
|
slug: string;
|
|
28
143
|
}
|
|
29
144
|
}
|
|
@@ -34,127 +149,286 @@ export interface ToolListResponse {
|
|
|
34
149
|
}
|
|
35
150
|
export declare namespace ToolListResponse {
|
|
36
151
|
interface Item {
|
|
152
|
+
deprecated: Item.Deprecated;
|
|
37
153
|
/**
|
|
38
|
-
*
|
|
154
|
+
* Detailed explanation of the tool's functionality and purpose
|
|
39
155
|
*/
|
|
40
156
|
description: string;
|
|
41
157
|
/**
|
|
42
|
-
*
|
|
158
|
+
* Schema definition of required input parameters for the tool
|
|
43
159
|
*/
|
|
44
160
|
input_parameters: Record<string, unknown>;
|
|
45
161
|
/**
|
|
46
|
-
*
|
|
162
|
+
* Human-readable display name of the tool
|
|
47
163
|
*/
|
|
48
164
|
name: string;
|
|
49
165
|
/**
|
|
50
|
-
*
|
|
166
|
+
* Indicates if the tool can be used without authentication
|
|
167
|
+
*/
|
|
168
|
+
no_auth: boolean;
|
|
169
|
+
/**
|
|
170
|
+
* Schema definition of return values from the tool
|
|
51
171
|
*/
|
|
52
172
|
output_parameters: Record<string, unknown>;
|
|
53
173
|
/**
|
|
54
|
-
*
|
|
174
|
+
* Unique identifier for the tool
|
|
55
175
|
*/
|
|
56
176
|
slug: string;
|
|
57
177
|
/**
|
|
58
|
-
*
|
|
178
|
+
* List of tags associated with the tool for categorization and filtering
|
|
59
179
|
*/
|
|
60
180
|
tags: Array<string>;
|
|
61
181
|
toolkit: Item.Toolkit;
|
|
62
182
|
}
|
|
63
183
|
namespace Item {
|
|
184
|
+
interface Deprecated {
|
|
185
|
+
/**
|
|
186
|
+
* List of all available versions for this tool
|
|
187
|
+
*/
|
|
188
|
+
available_versions: Array<string>;
|
|
189
|
+
/**
|
|
190
|
+
* The display name of the tool
|
|
191
|
+
*/
|
|
192
|
+
displayName: string;
|
|
193
|
+
/**
|
|
194
|
+
* Indicates if this tool is deprecated and may be removed in the future
|
|
195
|
+
*/
|
|
196
|
+
is_deprecated: boolean;
|
|
197
|
+
toolkit: Deprecated.Toolkit;
|
|
198
|
+
/**
|
|
199
|
+
* Current version identifier of the tool
|
|
200
|
+
*/
|
|
201
|
+
version: string;
|
|
202
|
+
}
|
|
203
|
+
namespace Deprecated {
|
|
204
|
+
interface Toolkit {
|
|
205
|
+
/**
|
|
206
|
+
* URL to the toolkit logo image
|
|
207
|
+
*/
|
|
208
|
+
logo: string;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
64
211
|
interface Toolkit {
|
|
65
212
|
/**
|
|
66
|
-
*
|
|
213
|
+
* Human-readable name of the parent toolkit
|
|
67
214
|
*/
|
|
68
215
|
name: string;
|
|
69
216
|
/**
|
|
70
|
-
*
|
|
217
|
+
* Unique identifier of the parent toolkit
|
|
71
218
|
*/
|
|
72
219
|
slug: string;
|
|
73
220
|
}
|
|
74
221
|
}
|
|
75
222
|
}
|
|
76
223
|
export interface ToolExecuteResponse {
|
|
224
|
+
/**
|
|
225
|
+
* Tool execution output data that varies based on the specific tool
|
|
226
|
+
*/
|
|
77
227
|
data: Record<string, unknown>;
|
|
228
|
+
/**
|
|
229
|
+
* Error message if the tool execution was not successful (null if successful)
|
|
230
|
+
*/
|
|
78
231
|
error: string | null;
|
|
232
|
+
/**
|
|
233
|
+
* Indicates if the tool execution was successful
|
|
234
|
+
*/
|
|
79
235
|
successful: boolean;
|
|
236
|
+
/**
|
|
237
|
+
* Unique identifier for the execution log (useful for debugging and support)
|
|
238
|
+
*/
|
|
80
239
|
log_id?: string;
|
|
240
|
+
/**
|
|
241
|
+
* Optional session information for tools that return session context
|
|
242
|
+
*/
|
|
81
243
|
session_info?: unknown;
|
|
82
244
|
}
|
|
83
245
|
export interface ToolGetInputResponse {
|
|
84
246
|
/**
|
|
85
|
-
*
|
|
247
|
+
* Key-value pairs of arguments required by the tool to accomplish the described
|
|
248
|
+
* task
|
|
86
249
|
*/
|
|
87
250
|
arguments?: Record<string, unknown>;
|
|
88
251
|
/**
|
|
89
|
-
*
|
|
252
|
+
* Error message if the arguments could not be generated (null if successful)
|
|
90
253
|
*/
|
|
91
254
|
error?: string;
|
|
92
255
|
}
|
|
93
256
|
export interface ToolProxyResponse {
|
|
257
|
+
/**
|
|
258
|
+
* The HTTP status code returned from the proxied API
|
|
259
|
+
*/
|
|
94
260
|
status: number;
|
|
261
|
+
/**
|
|
262
|
+
* The response data returned from the proxied API
|
|
263
|
+
*/
|
|
95
264
|
data?: unknown;
|
|
265
|
+
/**
|
|
266
|
+
* The HTTP headers returned from the proxied API
|
|
267
|
+
*/
|
|
96
268
|
headers?: Record<string, string>;
|
|
97
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
* Comma-separated list of tool slugs available to the project
|
|
272
|
+
*/
|
|
98
273
|
export type ToolRetrieveEnumResponse = string;
|
|
99
274
|
export interface ToolListParams {
|
|
100
275
|
/**
|
|
101
|
-
*
|
|
276
|
+
* Pagination cursor for fetching next page of results (base64 encoded)
|
|
102
277
|
*/
|
|
103
278
|
cursor?: string;
|
|
104
279
|
/**
|
|
105
|
-
*
|
|
280
|
+
* Filter to only show important/featured tools (set to "true" to enable)
|
|
106
281
|
*/
|
|
107
|
-
important?:
|
|
282
|
+
important?: 'true' | 'false';
|
|
108
283
|
/**
|
|
109
|
-
*
|
|
284
|
+
* Maximum number of tools to return per page (defaults to 20, max 100)
|
|
110
285
|
*/
|
|
111
286
|
limit?: string;
|
|
112
287
|
/**
|
|
113
|
-
*
|
|
288
|
+
* Free-text search query to find tools by name, description, or functionality
|
|
114
289
|
*/
|
|
115
290
|
search?: string;
|
|
291
|
+
/**
|
|
292
|
+
* Filter tools by one or more tags (can be specified multiple times)
|
|
293
|
+
*/
|
|
294
|
+
tags?: Array<string>;
|
|
295
|
+
/**
|
|
296
|
+
* Comma-separated list of specific tool slugs to retrieve (overrides other
|
|
297
|
+
* filters)
|
|
298
|
+
*/
|
|
299
|
+
tool_slugs?: string;
|
|
116
300
|
/**
|
|
117
301
|
* The slug of the toolkit to filter by
|
|
118
302
|
*/
|
|
119
303
|
toolkit_slug?: string;
|
|
120
304
|
}
|
|
121
305
|
export interface ToolExecuteParams {
|
|
306
|
+
/**
|
|
307
|
+
* Enable debug tracing for tool execution (useful for debugging)
|
|
308
|
+
*/
|
|
122
309
|
allow_tracing?: boolean;
|
|
310
|
+
/**
|
|
311
|
+
* Key-value pairs of arguments required by the tool (mutually exclusive with text)
|
|
312
|
+
*/
|
|
123
313
|
arguments?: Record<string, unknown>;
|
|
314
|
+
/**
|
|
315
|
+
* Unique identifier for the connected account to use for authentication
|
|
316
|
+
*/
|
|
124
317
|
connected_account_id?: string;
|
|
318
|
+
/**
|
|
319
|
+
* Custom authentication parameters for tools that support parameterized
|
|
320
|
+
* authentication
|
|
321
|
+
*/
|
|
322
|
+
custom_auth_params?: ToolExecuteParams.CustomAuthParams;
|
|
323
|
+
/**
|
|
324
|
+
* Entity identifier for multi-entity connected accounts (e.g. multiple
|
|
325
|
+
* repositories, organizations)
|
|
326
|
+
*/
|
|
125
327
|
entity_id?: string;
|
|
328
|
+
/**
|
|
329
|
+
* Natural language description of the task to perform (mutually exclusive with
|
|
330
|
+
* arguments)
|
|
331
|
+
*/
|
|
126
332
|
text?: string;
|
|
333
|
+
/**
|
|
334
|
+
* Tool version to execute (defaults to "latest" if not specified)
|
|
335
|
+
*/
|
|
127
336
|
version?: string;
|
|
128
337
|
}
|
|
338
|
+
export declare namespace ToolExecuteParams {
|
|
339
|
+
/**
|
|
340
|
+
* Custom authentication parameters for tools that support parameterized
|
|
341
|
+
* authentication
|
|
342
|
+
*/
|
|
343
|
+
interface CustomAuthParams {
|
|
344
|
+
parameters: Array<CustomAuthParams.Parameter>;
|
|
345
|
+
/**
|
|
346
|
+
* The base URL (root address) what you should use while making http requests to
|
|
347
|
+
* the connected account. For example, for gmail, it would be
|
|
348
|
+
* 'https://gmail.googleapis.com'
|
|
349
|
+
*/
|
|
350
|
+
base_url?: string;
|
|
351
|
+
/**
|
|
352
|
+
* The body to be sent to the endpoint for authentication. This is a JSON object.
|
|
353
|
+
* Note: This is very rarely needed and is only required by very few apps.
|
|
354
|
+
*/
|
|
355
|
+
body?: Record<string, unknown>;
|
|
356
|
+
}
|
|
357
|
+
namespace CustomAuthParams {
|
|
358
|
+
interface Parameter {
|
|
359
|
+
/**
|
|
360
|
+
* The location of the parameter. Can be 'query' or 'header'.
|
|
361
|
+
*/
|
|
362
|
+
in: 'query' | 'header';
|
|
363
|
+
/**
|
|
364
|
+
* The name of the parameter. For example, 'x-api-key', 'Content-Type', etc.
|
|
365
|
+
*/
|
|
366
|
+
name: string;
|
|
367
|
+
/**
|
|
368
|
+
* The value of the parameter. For example, '1234567890', 'application/json', etc.
|
|
369
|
+
*/
|
|
370
|
+
value: string | number;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
129
374
|
export interface ToolGetInputParams {
|
|
130
375
|
/**
|
|
131
|
-
*
|
|
132
|
-
* generate the correct inputs for the action.
|
|
376
|
+
* Natural language description of what you want to accomplish with this tool
|
|
133
377
|
*/
|
|
134
378
|
text: string;
|
|
135
379
|
/**
|
|
136
|
-
*
|
|
137
|
-
*
|
|
380
|
+
* Custom description of the tool to help guide the LLM in generating more accurate
|
|
381
|
+
* inputs
|
|
138
382
|
*/
|
|
139
383
|
customDescription?: string;
|
|
140
384
|
/**
|
|
141
|
-
*
|
|
142
|
-
*
|
|
385
|
+
* System prompt to control and guide the behavior of the LLM when generating
|
|
386
|
+
* inputs
|
|
143
387
|
*/
|
|
144
388
|
systemPrompt?: string;
|
|
389
|
+
/**
|
|
390
|
+
* Tool version to use when generating inputs (defaults to "latest" if not
|
|
391
|
+
* specified)
|
|
392
|
+
*/
|
|
145
393
|
version?: string;
|
|
146
394
|
}
|
|
147
395
|
export interface ToolProxyParams {
|
|
396
|
+
/**
|
|
397
|
+
* The API endpoint to call (absolute URL or path relative to base URL of the
|
|
398
|
+
* connected account)
|
|
399
|
+
*/
|
|
148
400
|
endpoint: string;
|
|
401
|
+
/**
|
|
402
|
+
* The HTTP method to use for the request
|
|
403
|
+
*/
|
|
149
404
|
method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
405
|
+
/**
|
|
406
|
+
* The request body (for POST, PUT, and PATCH requests)
|
|
407
|
+
*/
|
|
150
408
|
body?: unknown;
|
|
409
|
+
/**
|
|
410
|
+
* The ID of the connected account to use for authentication (if not provided, will
|
|
411
|
+
* use the default account for the project)
|
|
412
|
+
*/
|
|
151
413
|
connected_account_id?: string;
|
|
414
|
+
/**
|
|
415
|
+
* Additional HTTP headers or query parameters to include in the request
|
|
416
|
+
*/
|
|
152
417
|
parameters?: Array<ToolProxyParams.Parameter>;
|
|
153
418
|
}
|
|
154
419
|
export declare namespace ToolProxyParams {
|
|
155
420
|
interface Parameter {
|
|
421
|
+
/**
|
|
422
|
+
* Parameter name
|
|
423
|
+
*/
|
|
156
424
|
name: string;
|
|
425
|
+
/**
|
|
426
|
+
* Parameter type (header or query)
|
|
427
|
+
*/
|
|
157
428
|
type: 'header' | 'query';
|
|
429
|
+
/**
|
|
430
|
+
* Parameter value
|
|
431
|
+
*/
|
|
158
432
|
value: string;
|
|
159
433
|
}
|
|
160
434
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.mts","sourceRoot":"","sources":["../src/resources/tools.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,oBAAoB,CAAC;IAItF,IAAI,CACF,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC;IAI/B,OAAO,CACL,MAAM,EAAE,MAAM,EACd,IAAI,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAIlC,QAAQ,CACN,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,kBAAkB,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAInC,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