@composio/client 0.1.0-alpha.6 → 0.1.0-alpha.61
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 +837 -0
- package/LICENSE +1 -1
- package/README.md +22 -35
- package/api-promise.js +2 -15
- package/api-promise.js.map +1 -1
- package/client.d.mts +85 -40
- package/client.d.mts.map +1 -1
- package/client.d.ts +85 -40
- package/client.d.ts.map +1 -1
- package/client.js +151 -105
- package/client.js.map +1 -1
- package/client.mjs +133 -64
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts +0 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts +0 -1
- 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 +0 -1
- package/core/error.d.mts.map +1 -1
- package/core/error.d.ts +0 -1
- package/core/error.d.ts.map +1 -1
- package/core/error.js.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/resource.d.mts +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts +1 -1
- 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/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 +3 -3
- package/internal/detect-platform.js.map +1 -1
- package/internal/detect-platform.mjs +3 -3
- 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 +7 -5
- package/internal/headers.js.map +1 -1
- package/internal/headers.mjs +7 -5
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts +0 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts +0 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +6 -2
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts +1 -0
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts +1 -0
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/formats.js +4 -2
- package/internal/qs/formats.js.map +1 -1
- package/internal/qs/formats.mjs +2 -1
- package/internal/qs/formats.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.js +16 -19
- package/internal/qs/stringify.js.map +1 -1
- package/internal/qs/stringify.mjs +17 -19
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts +1 -0
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts +1 -0
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.js +22 -21
- package/internal/qs/utils.js.map +1 -1
- package/internal/qs/utils.mjs +12 -12
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts +43 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +43 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/shim-types.d.mts +11 -22
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +11 -22
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/{resources/org.mjs → internal/shim-types.mjs} +2 -2
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +2 -2
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +2 -2
- package/internal/shims.d.ts.map +1 -1
- package/internal/shims.js +5 -6
- package/internal/shims.js.map +1 -1
- package/internal/shims.mjs.map +1 -1
- package/internal/to-file.d.mts +1 -2
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts +1 -2
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.js +5 -5
- package/internal/to-file.js.map +1 -1
- package/internal/to-file.mjs +4 -3
- 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 +8 -7
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +8 -7
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts +1 -3
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts +1 -3
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.js +17 -7
- package/internal/uploads.js.map +1 -1
- package/internal/uploads.mjs +13 -4
- 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 +12 -7
- package/internal/utils/base64.js.map +1 -1
- package/internal/utils/base64.mjs +12 -7
- 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 +0 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts +0 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +3 -3
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +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 +28 -7
- package/internal/utils/path.js.map +1 -1
- package/internal/utils/path.mjs +27 -6
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.d.mts +2 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +10 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.mjs.map +1 -0
- 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 +2 -0
- package/internal/utils/values.d.mts.map +1 -1
- package/internal/utils/values.d.ts +2 -0
- package/internal/utils/values.d.ts.map +1 -1
- package/internal/utils/values.js +11 -8
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs +5 -3
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts +1 -0
- package/internal/utils.d.ts +1 -0
- package/internal/utils.js +8 -20
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +1 -0
- package/package.json +6 -14
- package/resource.js +2 -15
- package/resource.js.map +1 -1
- package/resources/auth-configs.d.mts +494 -54
- package/resources/auth-configs.d.mts.map +1 -1
- package/resources/auth-configs.d.ts +494 -54
- package/resources/auth-configs.d.ts.map +1 -1
- package/resources/auth-configs.js +73 -0
- package/resources/auth-configs.js.map +1 -1
- package/resources/auth-configs.mjs +73 -0
- package/resources/auth-configs.mjs.map +1 -1
- package/resources/cli/cli.d.mts +120 -0
- package/resources/cli/cli.d.mts.map +1 -0
- package/resources/cli/cli.d.ts +120 -0
- package/resources/cli/cli.d.ts.map +1 -0
- package/resources/cli/cli.js +36 -0
- package/resources/cli/cli.js.map +1 -0
- package/resources/cli/cli.mjs +31 -0
- package/resources/cli/cli.mjs.map +1 -0
- package/resources/cli/index.d.mts +3 -0
- package/resources/cli/index.d.mts.map +1 -0
- package/resources/cli/index.d.ts +3 -0
- package/resources/cli/index.d.ts.map +1 -0
- package/resources/cli/index.js +9 -0
- package/resources/cli/index.js.map +1 -0
- package/resources/cli/index.mjs +4 -0
- package/resources/cli/index.mjs.map +1 -0
- package/resources/cli/realtime.d.mts +56 -0
- package/resources/cli/realtime.d.mts.map +1 -0
- package/resources/cli/realtime.d.ts +56 -0
- package/resources/cli/realtime.d.ts.map +1 -0
- package/resources/cli/realtime.js +25 -0
- package/resources/cli/realtime.js.map +1 -0
- package/resources/cli/realtime.mjs +21 -0
- package/resources/cli/realtime.mjs.map +1 -0
- package/resources/cli.d.mts +1 -123
- package/resources/cli.d.mts.map +1 -1
- package/resources/cli.d.ts +1 -123
- package/resources/cli.d.ts.map +1 -1
- package/resources/cli.js +2 -14
- package/resources/cli.js.map +1 -1
- package/resources/cli.mjs +1 -12
- package/resources/cli.mjs.map +1 -1
- package/resources/connected-accounts.d.mts +8744 -235
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +8744 -235
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/connected-accounts.js +87 -2
- package/resources/connected-accounts.js.map +1 -1
- package/resources/connected-accounts.mjs +87 -2
- package/resources/connected-accounts.mjs.map +1 -1
- package/resources/files.d.mts +152 -0
- package/resources/files.d.mts.map +1 -0
- package/resources/files.d.ts +152 -0
- package/resources/files.d.ts.map +1 -0
- package/resources/files.js +42 -0
- package/resources/files.js.map +1 -0
- package/resources/files.mjs +38 -0
- package/resources/files.mjs.map +1 -0
- package/resources/index.d.mts +13 -11
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +13 -11
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +14 -10
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +7 -5
- package/resources/index.mjs.map +1 -1
- package/resources/link.d.mts +2020 -0
- package/resources/link.d.mts.map +1 -0
- package/resources/link.d.ts +2020 -0
- package/resources/link.d.ts.map +1 -0
- package/resources/link.js +19 -0
- package/resources/link.js.map +1 -0
- package/resources/link.mjs +15 -0
- package/resources/link.mjs.map +1 -0
- package/resources/logs/index.d.mts +4 -0
- package/resources/logs/index.d.mts.map +1 -0
- package/resources/logs/index.d.ts +4 -0
- package/resources/logs/index.d.ts.map +1 -0
- package/resources/logs/index.js +11 -0
- package/resources/logs/index.js.map +1 -0
- package/resources/logs/index.mjs +5 -0
- package/resources/logs/index.mjs.map +1 -0
- package/resources/logs/logs.d.mts +14 -0
- package/resources/logs/logs.d.mts.map +1 -0
- package/resources/logs/logs.d.ts +14 -0
- package/resources/logs/logs.d.ts.map +1 -0
- package/resources/logs/logs.js +21 -0
- package/resources/logs/logs.js.map +1 -0
- package/resources/logs/logs.mjs +16 -0
- package/resources/logs/logs.mjs.map +1 -0
- package/resources/logs/tools.d.mts +173 -0
- package/resources/logs/tools.d.mts.map +1 -0
- package/resources/logs/tools.d.ts +173 -0
- package/resources/logs/tools.d.ts.map +1 -0
- package/resources/logs/tools.js +35 -0
- package/resources/logs/tools.js.map +1 -0
- package/resources/logs/tools.mjs +31 -0
- package/resources/logs/tools.mjs.map +1 -0
- package/resources/logs/triggers.d.mts +161 -0
- package/resources/logs/triggers.d.mts.map +1 -0
- package/resources/logs/triggers.d.ts +161 -0
- package/resources/logs/triggers.d.ts.map +1 -0
- package/resources/logs/triggers.js +36 -0
- package/resources/logs/triggers.js.map +1 -0
- package/resources/logs/triggers.mjs +32 -0
- package/resources/logs/triggers.mjs.map +1 -0
- package/resources/logs.d.mts +2 -0
- package/resources/logs.d.mts.map +1 -0
- package/resources/logs.d.ts +2 -0
- package/resources/logs.d.ts.map +1 -0
- package/resources/logs.js +6 -0
- package/resources/logs.js.map +1 -0
- package/resources/logs.mjs +3 -0
- package/resources/logs.mjs.map +1 -0
- package/resources/mcp/custom.d.mts +105 -0
- package/resources/mcp/custom.d.mts.map +1 -0
- package/resources/mcp/custom.d.ts +105 -0
- package/resources/mcp/custom.d.ts.map +1 -0
- package/resources/mcp/custom.js +29 -0
- package/resources/mcp/custom.js.map +1 -0
- package/resources/mcp/custom.mjs +25 -0
- package/resources/mcp/custom.mjs.map +1 -0
- package/resources/mcp/generate.d.mts +62 -0
- package/resources/mcp/generate.d.mts.map +1 -0
- package/resources/mcp/generate.d.ts +62 -0
- package/resources/mcp/generate.d.ts.map +1 -0
- package/resources/mcp/generate.js +29 -0
- package/resources/mcp/generate.js.map +1 -0
- package/resources/mcp/generate.mjs +25 -0
- package/resources/mcp/generate.mjs.map +1 -0
- package/resources/mcp/index.d.mts +3 -2
- package/resources/mcp/index.d.mts.map +1 -1
- package/resources/mcp/index.d.ts +3 -2
- package/resources/mcp/index.d.ts.map +1 -1
- package/resources/mcp/index.js +5 -3
- package/resources/mcp/index.js.map +1 -1
- package/resources/mcp/index.mjs +2 -1
- package/resources/mcp/index.mjs.map +1 -1
- package/resources/mcp/mcp.d.mts +450 -175
- package/resources/mcp/mcp.d.mts.map +1 -1
- package/resources/mcp/mcp.d.ts +450 -175
- package/resources/mcp/mcp.d.ts.map +1 -1
- package/resources/mcp/mcp.js +92 -39
- package/resources/mcp/mcp.js.map +1 -1
- package/resources/mcp/mcp.mjs +91 -16
- package/resources/mcp/mcp.mjs.map +1 -1
- package/resources/mcp.js +2 -15
- package/resources/mcp.js.map +1 -1
- package/resources/migration.d.mts +35 -0
- package/resources/migration.d.mts.map +1 -0
- package/resources/migration.d.ts +35 -0
- package/resources/migration.d.ts.map +1 -0
- package/resources/migration.js +20 -0
- package/resources/migration.js.map +1 -0
- package/resources/migration.mjs +16 -0
- package/resources/migration.mjs.map +1 -0
- package/resources/project/config.d.mts +71 -0
- package/resources/project/config.d.mts.map +1 -0
- package/resources/project/config.d.ts +71 -0
- package/resources/project/config.d.ts.map +1 -0
- package/resources/project/config.js +33 -0
- package/resources/project/config.js.map +1 -0
- package/resources/project/config.mjs +29 -0
- package/resources/project/config.mjs.map +1 -0
- package/resources/project/index.d.mts +3 -0
- package/resources/project/index.d.mts.map +1 -0
- package/resources/project/index.d.ts +3 -0
- package/resources/project/index.d.ts.map +1 -0
- package/resources/project/index.js +9 -0
- package/resources/project/index.js.map +1 -0
- package/resources/project/index.mjs +4 -0
- package/resources/project/index.mjs.map +1 -0
- package/resources/project/project.d.mts +10 -0
- package/resources/project/project.d.mts.map +1 -0
- package/resources/project/project.d.ts +10 -0
- package/resources/project/project.d.ts.map +1 -0
- package/resources/project/project.js +17 -0
- package/resources/project/project.js.map +1 -0
- package/resources/project/project.mjs +12 -0
- package/resources/project/project.mjs.map +1 -0
- package/resources/{org/project.d.mts.map → project.d.mts.map} +1 -1
- package/resources/{org/project.d.ts.map → project.d.ts.map} +1 -1
- package/resources/project.js +6 -0
- package/resources/project.js.map +1 -0
- package/resources/project.mjs.map +1 -0
- package/resources/tool-router/index.d.mts +3 -0
- package/resources/tool-router/index.d.mts.map +1 -0
- package/resources/tool-router/index.d.ts +3 -0
- package/resources/tool-router/index.d.ts.map +1 -0
- package/resources/tool-router/index.js +9 -0
- package/resources/tool-router/index.js.map +1 -0
- package/resources/tool-router/index.mjs +4 -0
- package/resources/tool-router/index.mjs.map +1 -0
- package/resources/tool-router/session/files.d.mts +205 -0
- package/resources/tool-router/session/files.d.mts.map +1 -0
- package/resources/tool-router/session/files.d.ts +205 -0
- package/resources/tool-router/session/files.d.ts.map +1 -0
- package/resources/tool-router/session/files.js +101 -0
- package/resources/tool-router/session/files.js.map +1 -0
- package/resources/tool-router/session/files.mjs +97 -0
- package/resources/tool-router/session/files.mjs.map +1 -0
- package/resources/tool-router/session/index.d.mts +3 -0
- package/resources/tool-router/session/index.d.mts.map +1 -0
- package/resources/tool-router/session/index.d.ts +3 -0
- package/resources/tool-router/session/index.d.ts.map +1 -0
- package/resources/tool-router/session/index.js +9 -0
- package/resources/tool-router/session/index.js.map +1 -0
- package/resources/tool-router/session/index.mjs +4 -0
- package/resources/tool-router/session/index.mjs.map +1 -0
- package/resources/tool-router/session/session.d.mts +1201 -0
- package/resources/tool-router/session/session.d.mts.map +1 -0
- package/resources/tool-router/session/session.d.ts +1201 -0
- package/resources/tool-router/session/session.d.ts.map +1 -0
- package/resources/tool-router/session/session.js +153 -0
- package/resources/tool-router/session/session.js.map +1 -0
- package/resources/tool-router/session/session.mjs +148 -0
- package/resources/tool-router/session/session.mjs.map +1 -0
- package/resources/tool-router/session.d.mts +2 -0
- package/resources/tool-router/session.d.mts.map +1 -0
- package/resources/tool-router/session.d.ts +2 -0
- package/resources/tool-router/session.d.ts.map +1 -0
- package/resources/tool-router/session.js +6 -0
- package/resources/tool-router/session.js.map +1 -0
- package/resources/tool-router/session.mjs +3 -0
- package/resources/tool-router/session.mjs.map +1 -0
- package/resources/tool-router/tool-router.d.mts +94 -0
- package/resources/tool-router/tool-router.d.mts.map +1 -0
- package/resources/tool-router/tool-router.d.ts +94 -0
- package/resources/tool-router/tool-router.d.ts.map +1 -0
- package/resources/tool-router/tool-router.js +49 -0
- package/resources/tool-router/tool-router.js.map +1 -0
- package/resources/tool-router/tool-router.mjs +44 -0
- package/resources/tool-router/tool-router.mjs.map +1 -0
- package/resources/tool-router.d.mts +2 -0
- package/resources/tool-router.d.mts.map +1 -0
- package/resources/tool-router.d.ts +2 -0
- package/resources/tool-router.d.ts.map +1 -0
- package/resources/tool-router.js +6 -0
- package/resources/tool-router.js.map +1 -0
- package/resources/tool-router.mjs +3 -0
- package/resources/tool-router.mjs.map +1 -0
- package/resources/toolkits.d.mts +301 -6
- package/resources/toolkits.d.mts.map +1 -1
- package/resources/toolkits.d.ts +301 -6
- package/resources/toolkits.d.ts.map +1 -1
- package/resources/toolkits.js +23 -2
- package/resources/toolkits.js.map +1 -1
- package/resources/toolkits.mjs +23 -2
- package/resources/toolkits.mjs.map +1 -1
- package/resources/tools.d.mts +1289 -41
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +1289 -41
- package/resources/tools.d.ts.map +1 -1
- package/resources/tools.js +85 -6
- package/resources/tools.js.map +1 -1
- package/resources/tools.mjs +85 -6
- package/resources/tools.mjs.map +1 -1
- package/resources/trigger-instances/index.d.mts +2 -2
- package/resources/trigger-instances/index.d.mts.map +1 -1
- package/resources/trigger-instances/index.d.ts +2 -2
- package/resources/trigger-instances/index.d.ts.map +1 -1
- package/resources/trigger-instances/index.js +3 -3
- package/resources/trigger-instances/index.js.map +1 -1
- package/resources/trigger-instances/index.mjs +1 -1
- package/resources/trigger-instances/index.mjs.map +1 -1
- package/resources/trigger-instances/manage.d.mts +55 -0
- package/resources/trigger-instances/manage.d.mts.map +1 -0
- package/resources/trigger-instances/manage.d.ts +55 -0
- package/resources/trigger-instances/manage.d.ts.map +1 -0
- package/resources/trigger-instances/manage.js +45 -0
- package/resources/trigger-instances/manage.js.map +1 -0
- package/resources/trigger-instances/manage.mjs +41 -0
- package/resources/trigger-instances/manage.mjs.map +1 -0
- package/resources/trigger-instances/trigger-instances.d.mts +184 -42
- package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.ts +184 -42
- package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.js +34 -35
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs +33 -12
- 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 +148 -12
- package/resources/triggers-types.d.mts.map +1 -1
- package/resources/triggers-types.d.ts +148 -12
- package/resources/triggers-types.d.ts.map +1 -1
- package/resources/triggers-types.js +17 -2
- package/resources/triggers-types.js.map +1 -1
- package/resources/triggers-types.mjs +17 -2
- package/resources/triggers-types.mjs.map +1 -1
- package/resources.js +2 -15
- package/resources.js.map +1 -1
- package/src/client.ts +223 -126
- package/src/core/resource.ts +1 -1
- package/src/internal/detect-platform.ts +3 -3
- package/src/internal/headers.ts +9 -8
- package/src/internal/parse.ts +6 -0
- package/src/internal/qs/formats.ts +2 -1
- package/src/internal/qs/stringify.ts +17 -20
- package/src/internal/qs/utils.ts +14 -14
- package/src/internal/request-options.ts +54 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +2 -2
- package/src/internal/to-file.ts +5 -3
- package/src/internal/types.ts +9 -6
- package/src/internal/uploads.ts +17 -5
- package/src/internal/utils/base64.ts +13 -10
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/log.ts +1 -1
- package/src/internal/utils/path.ts +33 -8
- package/src/internal/utils/query.ts +7 -0
- package/src/internal/utils/uuid.ts +1 -3
- package/src/internal/utils/values.ts +6 -3
- package/src/internal/utils.ts +1 -0
- package/src/resources/auth-configs.ts +559 -67
- package/src/resources/cli/cli.ts +163 -0
- package/src/resources/cli/index.ts +15 -0
- package/src/resources/cli/realtime.ts +75 -0
- package/src/resources/cli.ts +1 -164
- package/src/resources/connected-accounts.ts +16489 -459
- package/src/resources/files.ts +197 -0
- package/src/resources/index.ts +28 -27
- package/src/resources/link.ts +3820 -0
- package/src/resources/logs/index.ts +10 -0
- package/src/resources/logs/logs.ts +31 -0
- package/src/resources/{action-execution.ts → logs/tools.ts} +98 -103
- package/src/resources/logs/triggers.ts +241 -0
- package/src/resources/{org.ts → logs.ts} +1 -1
- package/src/resources/mcp/custom.ts +125 -0
- package/src/resources/mcp/generate.ts +74 -0
- package/src/resources/mcp/index.ts +3 -3
- package/src/resources/mcp/mcp.ts +487 -200
- package/src/resources/migration.ts +49 -0
- package/src/resources/project/config.ts +110 -0
- package/src/resources/project/index.ts +9 -0
- package/src/resources/project/project.ts +20 -0
- package/src/resources/tool-router/index.ts +25 -0
- package/src/resources/tool-router/session/files.ts +284 -0
- package/src/resources/tool-router/session/index.ts +31 -0
- package/src/resources/tool-router/session/session.ts +1465 -0
- package/src/resources/tool-router/session.ts +3 -0
- package/src/resources/tool-router/tool-router.ts +152 -0
- package/src/resources/tool-router.ts +3 -0
- package/src/resources/toolkits.ts +343 -8
- package/src/resources/tools.ts +1983 -60
- package/src/resources/trigger-instances/index.ts +5 -9
- package/src/resources/trigger-instances/manage.ts +75 -0
- package/src/resources/trigger-instances/trigger-instances.ts +197 -66
- package/src/resources/triggers-types.ts +152 -14
- 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 -71
- package/internal/shims/getBuiltinModule.js.map +0 -1
- package/internal/shims/getBuiltinModule.mjs +0 -67
- 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/mcp/command.d.mts +0 -34
- package/resources/mcp/command.d.mts.map +0 -1
- package/resources/mcp/command.d.ts +0 -34
- package/resources/mcp/command.d.ts.map +0 -1
- package/resources/mcp/command.js +0 -12
- package/resources/mcp/command.js.map +0 -1
- package/resources/mcp/command.mjs +0 -8
- package/resources/mcp/command.mjs.map +0 -1
- package/resources/org/api-key.d.mts +0 -17
- package/resources/org/api-key.d.mts.map +0 -1
- package/resources/org/api-key.d.ts +0 -17
- package/resources/org/api-key.d.ts.map +0 -1
- package/resources/org/api-key.js +0 -15
- package/resources/org/api-key.js.map +0 -1
- package/resources/org/api-key.mjs +0 -11
- package/resources/org/api-key.mjs.map +0 -1
- package/resources/org/index.d.mts +0 -4
- package/resources/org/index.d.mts.map +0 -1
- package/resources/org/index.d.ts +0 -4
- package/resources/org/index.d.ts.map +0 -1
- package/resources/org/index.js +0 -11
- package/resources/org/index.js.map +0 -1
- package/resources/org/index.mjs +0 -5
- package/resources/org/index.mjs.map +0 -1
- package/resources/org/org.d.mts +0 -14
- package/resources/org/org.d.mts.map +0 -1
- package/resources/org/org.d.ts +0 -14
- package/resources/org/org.d.ts.map +0 -1
- package/resources/org/org.js +0 -43
- package/resources/org/org.js.map +0 -1
- package/resources/org/org.mjs +0 -16
- package/resources/org/org.mjs.map +0 -1
- package/resources/org/project/api-keys.d.mts +0 -109
- package/resources/org/project/api-keys.d.mts.map +0 -1
- package/resources/org/project/api-keys.d.ts +0 -109
- package/resources/org/project/api-keys.d.ts.map +0 -1
- package/resources/org/project/api-keys.js +0 -23
- package/resources/org/project/api-keys.js.map +0 -1
- package/resources/org/project/api-keys.mjs +0 -19
- package/resources/org/project/api-keys.mjs.map +0 -1
- package/resources/org/project/index.d.mts +0 -5
- package/resources/org/project/index.d.mts.map +0 -1
- package/resources/org/project/index.d.ts +0 -5
- package/resources/org/project/index.d.ts.map +0 -1
- package/resources/org/project/index.js +0 -13
- package/resources/org/project/index.js.map +0 -1
- package/resources/org/project/index.mjs +0 -6
- package/resources/org/project/index.mjs.map +0 -1
- package/resources/org/project/project.d.mts +0 -90
- package/resources/org/project/project.d.mts.map +0 -1
- package/resources/org/project/project.d.ts +0 -90
- package/resources/org/project/project.d.ts.map +0 -1
- package/resources/org/project/project.js +0 -60
- package/resources/org/project/project.js.map +0 -1
- package/resources/org/project/project.mjs +0 -33
- package/resources/org/project/project.mjs.map +0 -1
- package/resources/org/project/trigger.d.mts +0 -51
- package/resources/org/project/trigger.d.mts.map +0 -1
- package/resources/org/project/trigger.d.ts +0 -51
- package/resources/org/project/trigger.d.ts.map +0 -1
- package/resources/org/project/trigger.js +0 -16
- package/resources/org/project/trigger.js.map +0 -1
- package/resources/org/project/trigger.mjs +0 -12
- package/resources/org/project/trigger.mjs.map +0 -1
- package/resources/org/project/webhook.d.mts +0 -92
- package/resources/org/project/webhook.d.mts.map +0 -1
- package/resources/org/project/webhook.d.ts +0 -92
- package/resources/org/project/webhook.d.ts.map +0 -1
- package/resources/org/project/webhook.js +0 -24
- package/resources/org/project/webhook.js.map +0 -1
- package/resources/org/project/webhook.mjs +0 -20
- package/resources/org/project/webhook.mjs.map +0 -1
- package/resources/org/project.js +0 -19
- package/resources/org/project.js.map +0 -1
- package/resources/org/project.mjs.map +0 -1
- package/resources/org.d.mts +0 -2
- package/resources/org.d.mts.map +0 -1
- package/resources/org.d.ts +0 -2
- package/resources/org.d.ts.map +0 -1
- package/resources/org.js +0 -19
- package/resources/org.js.map +0 -1
- package/resources/org.mjs.map +0 -1
- package/resources/team-members.d.mts +0 -57
- package/resources/team-members.d.mts.map +0 -1
- package/resources/team-members.d.ts +0 -57
- package/resources/team-members.d.ts.map +0 -1
- package/resources/team-members.js +0 -22
- package/resources/team-members.js.map +0 -1
- package/resources/team-members.mjs +0 -18
- package/resources/team-members.mjs.map +0 -1
- package/resources/trigger-instances/handle.d.mts +0 -25
- package/resources/trigger-instances/handle.d.mts.map +0 -1
- package/resources/trigger-instances/handle.d.ts +0 -25
- package/resources/trigger-instances/handle.d.ts.map +0 -1
- package/resources/trigger-instances/handle.js +0 -18
- package/resources/trigger-instances/handle.js.map +0 -1
- package/resources/trigger-instances/handle.mjs +0 -14
- package/resources/trigger-instances/handle.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/shim-types.d.ts +0 -28
- package/src/internal/shims/crypto.ts +0 -18
- package/src/internal/shims/file.ts +0 -32
- package/src/internal/shims/getBuiltinModule.ts +0 -66
- package/src/internal/shims/nullGetBuiltinModule.ts +0 -1
- package/src/resources/mcp/command.ts +0 -47
- package/src/resources/org/api-key.ts +0 -30
- package/src/resources/org/index.ts +0 -12
- package/src/resources/org/org.ts +0 -39
- package/src/resources/org/project/api-keys.ts +0 -156
- package/src/resources/org/project/index.ts +0 -35
- package/src/resources/org/project/project.ts +0 -206
- package/src/resources/org/project/trigger.ts +0 -95
- package/src/resources/org/project/webhook.ts +0 -131
- package/src/resources/team-members.ts +0 -111
- package/src/resources/trigger-instances/handle.ts +0 -45
- package/src/resources/trigger.ts +0 -108
- /package/resources/{org/project.d.mts → project.d.mts} +0 -0
- /package/resources/{org/project.d.ts → project.d.ts} +0 -0
- /package/resources/{org/project.mjs → project.mjs} +0 -0
- /package/src/resources/{org/project.ts → project.ts} +0 -0
package/resources/tools.d.ts
CHANGED
|
@@ -1,164 +1,1412 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.js";
|
|
2
2
|
import { APIPromise } from "../core/api-promise.js";
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Tool execution endpoints
|
|
6
|
+
*/
|
|
4
7
|
export declare class Tools extends APIResource {
|
|
5
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Retrieve detailed information about a specific tool using its slug identifier.
|
|
10
|
+
* This endpoint returns full metadata about a tool including input/output
|
|
11
|
+
* parameters, versions, and toolkit information.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const tool = await client.tools.retrieve('tool_slug');
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
retrieve(toolSlug: string, query?: ToolRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ToolRetrieveResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieve a paginated list of available tools with comprehensive filtering,
|
|
21
|
+
* sorting and search capabilities. Use query parameters to narrow down results by
|
|
22
|
+
* toolkit, tags, or search terms.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```ts
|
|
26
|
+
* const tools = await client.tools.list();
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
6
29
|
list(query?: ToolListParams | null | undefined, options?: RequestOptions): APIPromise<ToolListResponse>;
|
|
7
|
-
|
|
8
|
-
|
|
30
|
+
/**
|
|
31
|
+
* Execute a specific tool operation with provided arguments and authentication.
|
|
32
|
+
* This is the primary endpoint for integrating with third-party services and
|
|
33
|
+
* executing tools. You can provide structured arguments or use natural language
|
|
34
|
+
* processing by providing a text description of what you want to accomplish.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const response = await client.tools.execute('tool_slug');
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
execute(toolSlug: string, params?: ToolExecuteParams | null | undefined, options?: RequestOptions): APIPromise<ToolExecuteResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* Uses AI to translate a natural language description into structured arguments
|
|
44
|
+
* for a specific tool. This endpoint is useful when you want to let users describe
|
|
45
|
+
* what they want to do in plain language instead of providing structured
|
|
46
|
+
* parameters.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```ts
|
|
50
|
+
* const response = await client.tools.getInput('tool_slug', {
|
|
51
|
+
* text: 'I need to trigger the main workflow in the octocat/Hello-World repository to deploy to production',
|
|
52
|
+
* });
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
getInput(toolSlug: string, body: ToolGetInputParams, options?: RequestOptions): APIPromise<ToolGetInputResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* Proxy an HTTP request to a third-party API using connected account credentials.
|
|
58
|
+
* This endpoint allows making authenticated API calls to external services while
|
|
59
|
+
* abstracting away authentication details.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```ts
|
|
63
|
+
* const response = await client.tools.proxy({
|
|
64
|
+
* endpoint: '/api/v1/resources',
|
|
65
|
+
* method: 'GET',
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
9
69
|
proxy(body: ToolProxyParams, options?: RequestOptions): APIPromise<ToolProxyResponse>;
|
|
10
|
-
|
|
70
|
+
/**
|
|
71
|
+
* Retrieve a list of all available tool enumeration values (tool slugs) from
|
|
72
|
+
* latest version of each toolkit. This endpoint returns a comma-separated string
|
|
73
|
+
* of tool slugs that can be used in other API calls.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```ts
|
|
77
|
+
* const response = await client.tools.retrieveEnum();
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
retrieveEnum(options?: RequestOptions): APIPromise<ToolRetrieveEnumResponse>;
|
|
11
81
|
}
|
|
12
82
|
export interface ToolRetrieveResponse {
|
|
83
|
+
/**
|
|
84
|
+
* List of all available versions for this tool
|
|
85
|
+
*/
|
|
13
86
|
available_versions: Array<string>;
|
|
87
|
+
deprecated: ToolRetrieveResponse.Deprecated;
|
|
88
|
+
/**
|
|
89
|
+
* Detailed explanation of the tool's functionality and purpose
|
|
90
|
+
*/
|
|
14
91
|
description: string;
|
|
15
|
-
|
|
92
|
+
/**
|
|
93
|
+
* Schema definition of required input parameters for the tool
|
|
94
|
+
*/
|
|
95
|
+
input_parameters: {
|
|
96
|
+
[key: string]: unknown;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Indicates if this tool is deprecated and may be removed in the future
|
|
100
|
+
*/
|
|
101
|
+
is_deprecated: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Human-readable display name of the tool
|
|
104
|
+
*/
|
|
16
105
|
name: string;
|
|
17
|
-
|
|
106
|
+
/**
|
|
107
|
+
* Indicates if the tool can be used without authentication
|
|
108
|
+
*/
|
|
109
|
+
no_auth: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Schema definition of return values from the tool
|
|
112
|
+
*/
|
|
113
|
+
output_parameters: {
|
|
114
|
+
[key: string]: unknown;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* List of scopes associated with the tool
|
|
118
|
+
*/
|
|
119
|
+
scopes: Array<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Unique identifier for the tool
|
|
122
|
+
*/
|
|
18
123
|
slug: string;
|
|
124
|
+
/**
|
|
125
|
+
* List of tags associated with the tool for categorization and filtering
|
|
126
|
+
*/
|
|
19
127
|
tags: Array<string>;
|
|
20
128
|
toolkit: ToolRetrieveResponse.Toolkit;
|
|
129
|
+
/**
|
|
130
|
+
* Current version of the tool
|
|
131
|
+
*/
|
|
21
132
|
version: string;
|
|
133
|
+
/**
|
|
134
|
+
* Human-friendly description of the tool, if available
|
|
135
|
+
*/
|
|
136
|
+
human_description?: string;
|
|
22
137
|
}
|
|
23
138
|
export declare namespace ToolRetrieveResponse {
|
|
139
|
+
interface Deprecated {
|
|
140
|
+
/**
|
|
141
|
+
* List of all available versions for this tool
|
|
142
|
+
*/
|
|
143
|
+
available_versions: Array<string>;
|
|
144
|
+
/**
|
|
145
|
+
* The display name of the tool
|
|
146
|
+
*/
|
|
147
|
+
displayName: string;
|
|
148
|
+
/**
|
|
149
|
+
* Indicates if this tool is deprecated and may be removed in the future
|
|
150
|
+
*/
|
|
151
|
+
is_deprecated: boolean;
|
|
152
|
+
toolkit: Deprecated.Toolkit;
|
|
153
|
+
/**
|
|
154
|
+
* Current version identifier of the tool
|
|
155
|
+
*/
|
|
156
|
+
version: string;
|
|
157
|
+
}
|
|
158
|
+
namespace Deprecated {
|
|
159
|
+
interface Toolkit {
|
|
160
|
+
/**
|
|
161
|
+
* URL to the toolkit logo image
|
|
162
|
+
*/
|
|
163
|
+
logo: string;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
24
166
|
interface Toolkit {
|
|
167
|
+
/**
|
|
168
|
+
* URL to the toolkit logo image
|
|
169
|
+
*/
|
|
25
170
|
logo: string;
|
|
171
|
+
/**
|
|
172
|
+
* Human-readable name of the parent toolkit
|
|
173
|
+
*/
|
|
26
174
|
name: string;
|
|
175
|
+
/**
|
|
176
|
+
* Unique identifier of the parent toolkit
|
|
177
|
+
*/
|
|
27
178
|
slug: string;
|
|
28
179
|
}
|
|
29
180
|
}
|
|
30
181
|
export interface ToolListResponse {
|
|
182
|
+
current_page: number;
|
|
31
183
|
items: Array<ToolListResponse.Item>;
|
|
32
|
-
|
|
184
|
+
total_items: number;
|
|
33
185
|
total_pages: number;
|
|
186
|
+
next_cursor?: string | null;
|
|
34
187
|
}
|
|
35
188
|
export declare namespace ToolListResponse {
|
|
36
189
|
interface Item {
|
|
37
190
|
/**
|
|
38
|
-
*
|
|
191
|
+
* List of all available versions for this tool
|
|
192
|
+
*/
|
|
193
|
+
available_versions: Array<string>;
|
|
194
|
+
deprecated: Item.Deprecated;
|
|
195
|
+
/**
|
|
196
|
+
* Detailed explanation of the tool's functionality and purpose
|
|
39
197
|
*/
|
|
40
198
|
description: string;
|
|
41
199
|
/**
|
|
42
|
-
*
|
|
200
|
+
* Schema definition of required input parameters for the tool
|
|
43
201
|
*/
|
|
44
|
-
input_parameters:
|
|
202
|
+
input_parameters: {
|
|
203
|
+
[key: string]: unknown;
|
|
204
|
+
};
|
|
45
205
|
/**
|
|
46
|
-
*
|
|
206
|
+
* Indicates if this tool is deprecated and may be removed in the future
|
|
207
|
+
*/
|
|
208
|
+
is_deprecated: boolean;
|
|
209
|
+
/**
|
|
210
|
+
* Human-readable display name of the tool
|
|
47
211
|
*/
|
|
48
212
|
name: string;
|
|
49
213
|
/**
|
|
50
|
-
*
|
|
214
|
+
* Indicates if the tool can be used without authentication
|
|
51
215
|
*/
|
|
52
|
-
|
|
216
|
+
no_auth: boolean;
|
|
53
217
|
/**
|
|
54
|
-
*
|
|
218
|
+
* Schema definition of return values from the tool
|
|
219
|
+
*/
|
|
220
|
+
output_parameters: {
|
|
221
|
+
[key: string]: unknown;
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* List of scopes associated with the tool
|
|
225
|
+
*/
|
|
226
|
+
scopes: Array<string>;
|
|
227
|
+
/**
|
|
228
|
+
* Unique identifier for the tool
|
|
55
229
|
*/
|
|
56
230
|
slug: string;
|
|
57
231
|
/**
|
|
58
|
-
*
|
|
232
|
+
* List of tags associated with the tool for categorization and filtering
|
|
59
233
|
*/
|
|
60
234
|
tags: Array<string>;
|
|
61
235
|
toolkit: Item.Toolkit;
|
|
236
|
+
/**
|
|
237
|
+
* Current version of the tool
|
|
238
|
+
*/
|
|
239
|
+
version: string;
|
|
240
|
+
/**
|
|
241
|
+
* Human-friendly description of the tool, if available
|
|
242
|
+
*/
|
|
243
|
+
human_description?: string;
|
|
62
244
|
}
|
|
63
245
|
namespace Item {
|
|
246
|
+
interface Deprecated {
|
|
247
|
+
/**
|
|
248
|
+
* List of all available versions for this tool
|
|
249
|
+
*/
|
|
250
|
+
available_versions: Array<string>;
|
|
251
|
+
/**
|
|
252
|
+
* The display name of the tool
|
|
253
|
+
*/
|
|
254
|
+
displayName: string;
|
|
255
|
+
/**
|
|
256
|
+
* Indicates if this tool is deprecated and may be removed in the future
|
|
257
|
+
*/
|
|
258
|
+
is_deprecated: boolean;
|
|
259
|
+
toolkit: Deprecated.Toolkit;
|
|
260
|
+
/**
|
|
261
|
+
* Current version identifier of the tool
|
|
262
|
+
*/
|
|
263
|
+
version: string;
|
|
264
|
+
}
|
|
265
|
+
namespace Deprecated {
|
|
266
|
+
interface Toolkit {
|
|
267
|
+
/**
|
|
268
|
+
* URL to the toolkit logo image
|
|
269
|
+
*/
|
|
270
|
+
logo: string;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
64
273
|
interface Toolkit {
|
|
65
274
|
/**
|
|
66
|
-
*
|
|
275
|
+
* URL to the toolkit logo image
|
|
276
|
+
*/
|
|
277
|
+
logo: string;
|
|
278
|
+
/**
|
|
279
|
+
* Human-readable name of the parent toolkit
|
|
67
280
|
*/
|
|
68
281
|
name: string;
|
|
69
282
|
/**
|
|
70
|
-
*
|
|
283
|
+
* Unique identifier of the parent toolkit
|
|
71
284
|
*/
|
|
72
285
|
slug: string;
|
|
73
286
|
}
|
|
74
287
|
}
|
|
75
288
|
}
|
|
76
289
|
export interface ToolExecuteResponse {
|
|
77
|
-
|
|
290
|
+
/**
|
|
291
|
+
* Tool execution output data that varies based on the specific tool
|
|
292
|
+
*/
|
|
293
|
+
data: {
|
|
294
|
+
[key: string]: unknown;
|
|
295
|
+
};
|
|
296
|
+
/**
|
|
297
|
+
* Error message if the tool execution was not successful (null if successful)
|
|
298
|
+
*/
|
|
78
299
|
error: string | null;
|
|
300
|
+
/**
|
|
301
|
+
* Indicates if the tool execution was successful
|
|
302
|
+
*/
|
|
79
303
|
successful: boolean;
|
|
304
|
+
/**
|
|
305
|
+
* Unique identifier for the execution log (useful for debugging and support)
|
|
306
|
+
*/
|
|
80
307
|
log_id?: string;
|
|
308
|
+
/**
|
|
309
|
+
* Optional session information for tools that return session context
|
|
310
|
+
*/
|
|
81
311
|
session_info?: unknown;
|
|
82
312
|
}
|
|
83
313
|
export interface ToolGetInputResponse {
|
|
84
314
|
/**
|
|
85
|
-
*
|
|
315
|
+
* Key-value pairs of arguments required by the tool to accomplish the described
|
|
316
|
+
* task
|
|
86
317
|
*/
|
|
87
|
-
arguments?:
|
|
318
|
+
arguments?: {
|
|
319
|
+
[key: string]: unknown;
|
|
320
|
+
};
|
|
88
321
|
/**
|
|
89
|
-
*
|
|
322
|
+
* Error message if the arguments could not be generated (null if successful)
|
|
90
323
|
*/
|
|
91
324
|
error?: string;
|
|
92
325
|
}
|
|
93
326
|
export interface ToolProxyResponse {
|
|
327
|
+
/**
|
|
328
|
+
* The HTTP status code returned from the proxied API
|
|
329
|
+
*/
|
|
94
330
|
status: number;
|
|
331
|
+
/**
|
|
332
|
+
* Binary body response data. Present when the response is a binary file.
|
|
333
|
+
*/
|
|
334
|
+
binary_data?: ToolProxyResponse.BinaryData;
|
|
335
|
+
/**
|
|
336
|
+
* The response data returned from the proxied API
|
|
337
|
+
*/
|
|
95
338
|
data?: unknown;
|
|
96
|
-
|
|
339
|
+
/**
|
|
340
|
+
* The HTTP headers returned from the proxied API
|
|
341
|
+
*/
|
|
342
|
+
headers?: {
|
|
343
|
+
[key: string]: string;
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
export declare namespace ToolProxyResponse {
|
|
347
|
+
/**
|
|
348
|
+
* Binary body response data. Present when the response is a binary file.
|
|
349
|
+
*/
|
|
350
|
+
interface BinaryData {
|
|
351
|
+
/**
|
|
352
|
+
* Content-Type of the binary data
|
|
353
|
+
*/
|
|
354
|
+
content_type: string;
|
|
355
|
+
/**
|
|
356
|
+
* File size in bytes
|
|
357
|
+
*/
|
|
358
|
+
size: number;
|
|
359
|
+
/**
|
|
360
|
+
* URL to download binary content
|
|
361
|
+
*/
|
|
362
|
+
url: string;
|
|
363
|
+
/**
|
|
364
|
+
* ISO 8601 timestamp when the URL expires
|
|
365
|
+
*/
|
|
366
|
+
expires_at?: string;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
/**
|
|
370
|
+
* JSON string containing all tool enum values from latest version of each toolkit
|
|
371
|
+
*/
|
|
372
|
+
export type ToolRetrieveEnumResponse = Array<string>;
|
|
373
|
+
export interface ToolRetrieveParams {
|
|
374
|
+
/**
|
|
375
|
+
* Toolkit version specification. Use "latest" for latest versions or bracket
|
|
376
|
+
* notation for specific versions per toolkit.
|
|
377
|
+
*/
|
|
378
|
+
toolkit_versions?: string | {
|
|
379
|
+
[key: string]: string;
|
|
380
|
+
};
|
|
381
|
+
/**
|
|
382
|
+
* Optional version of the tool to retrieve
|
|
383
|
+
*/
|
|
384
|
+
version?: string;
|
|
97
385
|
}
|
|
98
|
-
export type ToolRetrieveEnumResponse = string;
|
|
99
386
|
export interface ToolListParams {
|
|
100
387
|
/**
|
|
101
|
-
*
|
|
388
|
+
* Comma-separated list of auth config IDs to filter tools by
|
|
389
|
+
*/
|
|
390
|
+
auth_config_ids?: string | Array<string>;
|
|
391
|
+
/**
|
|
392
|
+
* Cursor for pagination. The cursor is a base64 encoded string of the page and
|
|
393
|
+
* limit. The page is the page number and the limit is the number of items per
|
|
394
|
+
* page. The cursor is used to paginate through the items. The cursor is not
|
|
395
|
+
* required for the first page.
|
|
102
396
|
*/
|
|
103
397
|
cursor?: string;
|
|
104
398
|
/**
|
|
105
|
-
*
|
|
399
|
+
* Filter to only show important/featured tools (set to "true" to enable)
|
|
400
|
+
*/
|
|
401
|
+
important?: 'true' | 'false';
|
|
402
|
+
/**
|
|
403
|
+
* Include deprecated tools in the response
|
|
106
404
|
*/
|
|
107
|
-
|
|
405
|
+
include_deprecated?: boolean;
|
|
108
406
|
/**
|
|
109
|
-
*
|
|
407
|
+
* Number of items per page, max allowed is 1000
|
|
110
408
|
*/
|
|
111
|
-
limit?:
|
|
409
|
+
limit?: number | null;
|
|
112
410
|
/**
|
|
113
|
-
*
|
|
411
|
+
* Full-text search query to filter tools by name, slug, or description. Applied as
|
|
412
|
+
* a soft filter on top of other filters.
|
|
413
|
+
*/
|
|
414
|
+
query?: string;
|
|
415
|
+
/**
|
|
416
|
+
* Array of scopes to filter tools by)
|
|
417
|
+
*/
|
|
418
|
+
scopes?: Array<string> | null;
|
|
419
|
+
/**
|
|
420
|
+
* Deprecated: use "query" instead. Free-text search query to find tools by name,
|
|
421
|
+
* description, or functionality.
|
|
114
422
|
*/
|
|
115
423
|
search?: string;
|
|
424
|
+
/**
|
|
425
|
+
* Filter tools by one or more tags (can be specified multiple times)
|
|
426
|
+
*/
|
|
427
|
+
tags?: Array<string>;
|
|
428
|
+
/**
|
|
429
|
+
* Comma-separated list of specific tool slugs to retrieve (overrides other
|
|
430
|
+
* filters)
|
|
431
|
+
*/
|
|
432
|
+
tool_slugs?: string;
|
|
116
433
|
/**
|
|
117
434
|
* The slug of the toolkit to filter by
|
|
118
435
|
*/
|
|
119
436
|
toolkit_slug?: string;
|
|
437
|
+
/**
|
|
438
|
+
* Toolkit version specification. Use "latest" for latest versions or bracket
|
|
439
|
+
* notation for specific versions per toolkit.
|
|
440
|
+
*/
|
|
441
|
+
toolkit_versions?: string | {
|
|
442
|
+
[key: string]: string;
|
|
443
|
+
};
|
|
120
444
|
}
|
|
121
445
|
export interface ToolExecuteParams {
|
|
122
|
-
|
|
123
|
-
|
|
446
|
+
/**
|
|
447
|
+
* @deprecated Body param: Deprecated. Enable debug tracing for tool execution
|
|
448
|
+
* (useful for debugging)
|
|
449
|
+
*/
|
|
450
|
+
allow_tracing?: boolean | null;
|
|
451
|
+
/**
|
|
452
|
+
* Body param: Key-value pairs of arguments required by the tool (mutually
|
|
453
|
+
* exclusive with text)
|
|
454
|
+
*/
|
|
455
|
+
arguments?: {
|
|
456
|
+
[key: string]: unknown;
|
|
457
|
+
};
|
|
458
|
+
/**
|
|
459
|
+
* Body param: Unique identifier for the connected account to use for
|
|
460
|
+
* authentication
|
|
461
|
+
*/
|
|
124
462
|
connected_account_id?: string;
|
|
463
|
+
/**
|
|
464
|
+
* Body param: Custom authentication parameters for tools that support
|
|
465
|
+
* parameterized authentication
|
|
466
|
+
*/
|
|
467
|
+
custom_auth_params?: ToolExecuteParams.CustomAuthParams;
|
|
468
|
+
/**
|
|
469
|
+
* Body param: Custom connection data for tools that support custom connection data
|
|
470
|
+
*/
|
|
471
|
+
custom_connection_data?: ToolExecuteParams.UnionMember0 | ToolExecuteParams.UnionMember1 | ToolExecuteParams.UnionMember2 | ToolExecuteParams.UnionMember3 | ToolExecuteParams.UnionMember4 | ToolExecuteParams.UnionMember5 | ToolExecuteParams.UnionMember6 | ToolExecuteParams.UnionMember7 | ToolExecuteParams.UnionMember8 | ToolExecuteParams.UnionMember9;
|
|
472
|
+
/**
|
|
473
|
+
* @deprecated Body param: Deprecated: please use user_id instead. Entity
|
|
474
|
+
* identifier for multi-entity connected accounts (e.g. multiple repositories,
|
|
475
|
+
* organizations)
|
|
476
|
+
*/
|
|
125
477
|
entity_id?: string;
|
|
478
|
+
/**
|
|
479
|
+
* Body param: Natural language description of the task to perform (mutually
|
|
480
|
+
* exclusive with arguments)
|
|
481
|
+
*/
|
|
126
482
|
text?: string;
|
|
483
|
+
/**
|
|
484
|
+
* Body param: User id for multi-user connected accounts (e.g. multiple users,
|
|
485
|
+
* organizations)
|
|
486
|
+
*/
|
|
487
|
+
user_id?: string;
|
|
488
|
+
/**
|
|
489
|
+
* Body param: Tool version to execute (defaults to "00000000_00" if not specified)
|
|
490
|
+
*/
|
|
127
491
|
version?: string;
|
|
492
|
+
/**
|
|
493
|
+
* Header param: JSON object containing custom headers to pass to LLM providers
|
|
494
|
+
* (OpenAI, Bedrock, etc.)
|
|
495
|
+
*/
|
|
496
|
+
'x-llm-gateway-headers'?: string;
|
|
497
|
+
}
|
|
498
|
+
export declare namespace ToolExecuteParams {
|
|
499
|
+
/**
|
|
500
|
+
* Custom authentication parameters for tools that support parameterized
|
|
501
|
+
* authentication
|
|
502
|
+
*/
|
|
503
|
+
interface CustomAuthParams {
|
|
504
|
+
/**
|
|
505
|
+
* The base URL (root address) what you should use while making http requests to
|
|
506
|
+
* the connected account. For example, for gmail, it would be
|
|
507
|
+
* 'https://gmail.googleapis.com'
|
|
508
|
+
*/
|
|
509
|
+
base_url?: string;
|
|
510
|
+
/**
|
|
511
|
+
* The body to be sent to the endpoint for authentication. This is a JSON object.
|
|
512
|
+
* Note: This is very rarely needed and is only required by very few apps.
|
|
513
|
+
*/
|
|
514
|
+
body?: {
|
|
515
|
+
[key: string]: unknown;
|
|
516
|
+
};
|
|
517
|
+
parameters?: Array<CustomAuthParams.Parameter>;
|
|
518
|
+
}
|
|
519
|
+
namespace CustomAuthParams {
|
|
520
|
+
interface Parameter {
|
|
521
|
+
/**
|
|
522
|
+
* The location of the parameter. Can be 'query' or 'header'.
|
|
523
|
+
*/
|
|
524
|
+
in: 'query' | 'header';
|
|
525
|
+
/**
|
|
526
|
+
* The name of the parameter. For example, 'x-api-key', 'Content-Type', etc.
|
|
527
|
+
*/
|
|
528
|
+
name: string;
|
|
529
|
+
/**
|
|
530
|
+
* The value of the parameter. For example, '1234567890', 'application/json', etc.
|
|
531
|
+
*/
|
|
532
|
+
value: string | number;
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
interface UnionMember0 {
|
|
536
|
+
authScheme: 'OAUTH2';
|
|
537
|
+
toolkitSlug: string;
|
|
538
|
+
val: UnionMember0.Val;
|
|
539
|
+
}
|
|
540
|
+
namespace UnionMember0 {
|
|
541
|
+
interface Val {
|
|
542
|
+
access_token: string;
|
|
543
|
+
account_id?: string;
|
|
544
|
+
account_url?: string;
|
|
545
|
+
api_url?: string;
|
|
546
|
+
/**
|
|
547
|
+
* for slack user scopes
|
|
548
|
+
*/
|
|
549
|
+
authed_user?: Val.AuthedUser;
|
|
550
|
+
base_url?: string;
|
|
551
|
+
borneo_dashboard_url?: string;
|
|
552
|
+
COMPANYDOMAIN?: string;
|
|
553
|
+
dc?: string;
|
|
554
|
+
domain?: string;
|
|
555
|
+
expires_in?: number | string | null;
|
|
556
|
+
extension?: string;
|
|
557
|
+
form_api_base_url?: string;
|
|
558
|
+
id_token?: string;
|
|
559
|
+
instanceEndpoint?: string;
|
|
560
|
+
instanceName?: string;
|
|
561
|
+
/**
|
|
562
|
+
* Whether to return the redirect url without shortening
|
|
563
|
+
*/
|
|
564
|
+
long_redirect_url?: boolean;
|
|
565
|
+
proxy_password?: string;
|
|
566
|
+
proxy_username?: string;
|
|
567
|
+
refresh_token?: string | null;
|
|
568
|
+
region?: string;
|
|
569
|
+
scope?: string | Array<string> | null;
|
|
570
|
+
server_location?: string;
|
|
571
|
+
shop?: string;
|
|
572
|
+
site_name?: string;
|
|
573
|
+
/**
|
|
574
|
+
* The oauth2 state prefix for the connection
|
|
575
|
+
*/
|
|
576
|
+
state_prefix?: string;
|
|
577
|
+
subdomain?: string;
|
|
578
|
+
token_type?: string;
|
|
579
|
+
version?: string;
|
|
580
|
+
webhook_signature?: string;
|
|
581
|
+
your_server?: string;
|
|
582
|
+
'your-domain'?: string;
|
|
583
|
+
[k: string]: unknown;
|
|
584
|
+
}
|
|
585
|
+
namespace Val {
|
|
586
|
+
/**
|
|
587
|
+
* for slack user scopes
|
|
588
|
+
*/
|
|
589
|
+
interface AuthedUser {
|
|
590
|
+
access_token?: string;
|
|
591
|
+
scope?: string;
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
interface UnionMember1 {
|
|
596
|
+
authScheme: 'DCR_OAUTH';
|
|
597
|
+
toolkitSlug: string;
|
|
598
|
+
val: UnionMember1.Val;
|
|
599
|
+
}
|
|
600
|
+
namespace UnionMember1 {
|
|
601
|
+
interface Val {
|
|
602
|
+
access_token: string;
|
|
603
|
+
/**
|
|
604
|
+
* Dynamically registered client ID
|
|
605
|
+
*/
|
|
606
|
+
client_id: string;
|
|
607
|
+
account_id?: string;
|
|
608
|
+
account_url?: string;
|
|
609
|
+
api_url?: string;
|
|
610
|
+
base_url?: string;
|
|
611
|
+
borneo_dashboard_url?: string;
|
|
612
|
+
client_id_issued_at?: number;
|
|
613
|
+
/**
|
|
614
|
+
* Dynamically registered client secret
|
|
615
|
+
*/
|
|
616
|
+
client_secret?: string;
|
|
617
|
+
client_secret_expires_at?: number;
|
|
618
|
+
COMPANYDOMAIN?: string;
|
|
619
|
+
dc?: string;
|
|
620
|
+
domain?: string;
|
|
621
|
+
expires_in?: number | string | null;
|
|
622
|
+
extension?: string;
|
|
623
|
+
form_api_base_url?: string;
|
|
624
|
+
id_token?: string;
|
|
625
|
+
instanceEndpoint?: string;
|
|
626
|
+
instanceName?: string;
|
|
627
|
+
/**
|
|
628
|
+
* Whether to return the redirect url without shortening
|
|
629
|
+
*/
|
|
630
|
+
long_redirect_url?: boolean;
|
|
631
|
+
proxy_password?: string;
|
|
632
|
+
proxy_username?: string;
|
|
633
|
+
refresh_token?: string | null;
|
|
634
|
+
region?: string;
|
|
635
|
+
scope?: string | Array<string> | null;
|
|
636
|
+
server_location?: string;
|
|
637
|
+
shop?: string;
|
|
638
|
+
site_name?: string;
|
|
639
|
+
/**
|
|
640
|
+
* The oauth2 state prefix for the connection
|
|
641
|
+
*/
|
|
642
|
+
state_prefix?: string;
|
|
643
|
+
subdomain?: string;
|
|
644
|
+
token_type?: string;
|
|
645
|
+
version?: string;
|
|
646
|
+
your_server?: string;
|
|
647
|
+
'your-domain'?: string;
|
|
648
|
+
[k: string]: unknown;
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
interface UnionMember2 {
|
|
652
|
+
authScheme: 'API_KEY';
|
|
653
|
+
toolkitSlug: string;
|
|
654
|
+
val: UnionMember2.Val;
|
|
655
|
+
}
|
|
656
|
+
namespace UnionMember2 {
|
|
657
|
+
interface Val {
|
|
658
|
+
account_id?: string;
|
|
659
|
+
account_url?: string;
|
|
660
|
+
api_key?: string;
|
|
661
|
+
api_url?: string;
|
|
662
|
+
base_url?: string;
|
|
663
|
+
basic_encoded?: string;
|
|
664
|
+
bearer_token?: string;
|
|
665
|
+
borneo_dashboard_url?: string;
|
|
666
|
+
COMPANYDOMAIN?: string;
|
|
667
|
+
dc?: string;
|
|
668
|
+
domain?: string;
|
|
669
|
+
extension?: string;
|
|
670
|
+
form_api_base_url?: string;
|
|
671
|
+
generic_api_key?: string;
|
|
672
|
+
instanceEndpoint?: string;
|
|
673
|
+
instanceName?: string;
|
|
674
|
+
proxy_password?: string;
|
|
675
|
+
proxy_username?: string;
|
|
676
|
+
region?: string;
|
|
677
|
+
server_location?: string;
|
|
678
|
+
shop?: string;
|
|
679
|
+
site_name?: string;
|
|
680
|
+
subdomain?: string;
|
|
681
|
+
version?: string;
|
|
682
|
+
your_server?: string;
|
|
683
|
+
'your-domain'?: string;
|
|
684
|
+
[k: string]: unknown;
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
interface UnionMember3 {
|
|
688
|
+
authScheme: 'BASIC_WITH_JWT';
|
|
689
|
+
toolkitSlug: string;
|
|
690
|
+
val: UnionMember3.Val;
|
|
691
|
+
}
|
|
692
|
+
namespace UnionMember3 {
|
|
693
|
+
interface Val {
|
|
694
|
+
password: string;
|
|
695
|
+
username: string;
|
|
696
|
+
account_id?: string;
|
|
697
|
+
account_url?: string;
|
|
698
|
+
api_url?: string;
|
|
699
|
+
base_url?: string;
|
|
700
|
+
borneo_dashboard_url?: string;
|
|
701
|
+
COMPANYDOMAIN?: string;
|
|
702
|
+
dc?: string;
|
|
703
|
+
domain?: string;
|
|
704
|
+
extension?: string;
|
|
705
|
+
form_api_base_url?: string;
|
|
706
|
+
instanceEndpoint?: string;
|
|
707
|
+
instanceName?: string;
|
|
708
|
+
proxy_password?: string;
|
|
709
|
+
proxy_username?: string;
|
|
710
|
+
region?: string;
|
|
711
|
+
server_location?: string;
|
|
712
|
+
shop?: string;
|
|
713
|
+
site_name?: string;
|
|
714
|
+
subdomain?: string;
|
|
715
|
+
version?: string;
|
|
716
|
+
your_server?: string;
|
|
717
|
+
'your-domain'?: string;
|
|
718
|
+
[k: string]: unknown;
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
interface UnionMember4 {
|
|
722
|
+
authScheme: 'BASIC';
|
|
723
|
+
toolkitSlug: string;
|
|
724
|
+
val: UnionMember4.Val;
|
|
725
|
+
}
|
|
726
|
+
namespace UnionMember4 {
|
|
727
|
+
interface Val {
|
|
728
|
+
username: string;
|
|
729
|
+
account_id?: string;
|
|
730
|
+
account_url?: string;
|
|
731
|
+
api_url?: string;
|
|
732
|
+
base_url?: string;
|
|
733
|
+
borneo_dashboard_url?: string;
|
|
734
|
+
COMPANYDOMAIN?: string;
|
|
735
|
+
dc?: string;
|
|
736
|
+
domain?: string;
|
|
737
|
+
extension?: string;
|
|
738
|
+
form_api_base_url?: string;
|
|
739
|
+
instanceEndpoint?: string;
|
|
740
|
+
instanceName?: string;
|
|
741
|
+
password?: string;
|
|
742
|
+
proxy_password?: string;
|
|
743
|
+
proxy_username?: string;
|
|
744
|
+
region?: string;
|
|
745
|
+
server_location?: string;
|
|
746
|
+
shop?: string;
|
|
747
|
+
site_name?: string;
|
|
748
|
+
subdomain?: string;
|
|
749
|
+
version?: string;
|
|
750
|
+
your_server?: string;
|
|
751
|
+
'your-domain'?: string;
|
|
752
|
+
[k: string]: unknown;
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
interface UnionMember5 {
|
|
756
|
+
authScheme: 'BEARER_TOKEN';
|
|
757
|
+
toolkitSlug: string;
|
|
758
|
+
val: UnionMember5.Val;
|
|
759
|
+
}
|
|
760
|
+
namespace UnionMember5 {
|
|
761
|
+
interface Val {
|
|
762
|
+
token: string;
|
|
763
|
+
account_id?: string;
|
|
764
|
+
account_url?: string;
|
|
765
|
+
api_url?: string;
|
|
766
|
+
base_url?: string;
|
|
767
|
+
borneo_dashboard_url?: string;
|
|
768
|
+
COMPANYDOMAIN?: string;
|
|
769
|
+
dc?: string;
|
|
770
|
+
domain?: string;
|
|
771
|
+
extension?: string;
|
|
772
|
+
form_api_base_url?: string;
|
|
773
|
+
instanceEndpoint?: string;
|
|
774
|
+
instanceName?: string;
|
|
775
|
+
proxy_password?: string;
|
|
776
|
+
proxy_username?: string;
|
|
777
|
+
region?: string;
|
|
778
|
+
server_location?: string;
|
|
779
|
+
shop?: string;
|
|
780
|
+
site_name?: string;
|
|
781
|
+
subdomain?: string;
|
|
782
|
+
version?: string;
|
|
783
|
+
your_server?: string;
|
|
784
|
+
'your-domain'?: string;
|
|
785
|
+
[k: string]: unknown;
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
interface UnionMember6 {
|
|
789
|
+
authScheme: 'OAUTH1';
|
|
790
|
+
toolkitSlug: string;
|
|
791
|
+
val: UnionMember6.Val;
|
|
792
|
+
}
|
|
793
|
+
namespace UnionMember6 {
|
|
794
|
+
interface Val {
|
|
795
|
+
oauth_token: string;
|
|
796
|
+
oauth_token_secret: string;
|
|
797
|
+
account_id?: string;
|
|
798
|
+
account_url?: string;
|
|
799
|
+
api_url?: string;
|
|
800
|
+
base_url?: string;
|
|
801
|
+
borneo_dashboard_url?: string;
|
|
802
|
+
callback_url?: string;
|
|
803
|
+
COMPANYDOMAIN?: string;
|
|
804
|
+
consumer_key?: string;
|
|
805
|
+
dc?: string;
|
|
806
|
+
domain?: string;
|
|
807
|
+
extension?: string;
|
|
808
|
+
form_api_base_url?: string;
|
|
809
|
+
instanceEndpoint?: string;
|
|
810
|
+
instanceName?: string;
|
|
811
|
+
oauth_verifier?: string;
|
|
812
|
+
proxy_password?: string;
|
|
813
|
+
proxy_username?: string;
|
|
814
|
+
redirectUrl?: string;
|
|
815
|
+
region?: string;
|
|
816
|
+
server_location?: string;
|
|
817
|
+
shop?: string;
|
|
818
|
+
site_name?: string;
|
|
819
|
+
subdomain?: string;
|
|
820
|
+
version?: string;
|
|
821
|
+
your_server?: string;
|
|
822
|
+
'your-domain'?: string;
|
|
823
|
+
[k: string]: unknown;
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
interface UnionMember7 {
|
|
827
|
+
authScheme: 'NO_AUTH';
|
|
828
|
+
toolkitSlug: string;
|
|
829
|
+
val: UnionMember7.Val;
|
|
830
|
+
}
|
|
831
|
+
namespace UnionMember7 {
|
|
832
|
+
interface Val {
|
|
833
|
+
account_id?: string;
|
|
834
|
+
account_url?: string;
|
|
835
|
+
api_url?: string;
|
|
836
|
+
base_url?: string;
|
|
837
|
+
borneo_dashboard_url?: string;
|
|
838
|
+
COMPANYDOMAIN?: string;
|
|
839
|
+
dc?: string;
|
|
840
|
+
domain?: string;
|
|
841
|
+
extension?: string;
|
|
842
|
+
form_api_base_url?: string;
|
|
843
|
+
instanceEndpoint?: string;
|
|
844
|
+
instanceName?: string;
|
|
845
|
+
proxy_password?: string;
|
|
846
|
+
proxy_username?: string;
|
|
847
|
+
region?: string;
|
|
848
|
+
server_location?: string;
|
|
849
|
+
shop?: string;
|
|
850
|
+
site_name?: string;
|
|
851
|
+
subdomain?: string;
|
|
852
|
+
version?: string;
|
|
853
|
+
your_server?: string;
|
|
854
|
+
'your-domain'?: string;
|
|
855
|
+
[k: string]: unknown;
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
interface UnionMember8 {
|
|
859
|
+
authScheme: 'SERVICE_ACCOUNT';
|
|
860
|
+
toolkitSlug: string;
|
|
861
|
+
val: UnionMember8.Val;
|
|
862
|
+
}
|
|
863
|
+
namespace UnionMember8 {
|
|
864
|
+
interface Val {
|
|
865
|
+
application_id: string;
|
|
866
|
+
installation_id: string;
|
|
867
|
+
private_key: string;
|
|
868
|
+
account_id?: string;
|
|
869
|
+
account_url?: string;
|
|
870
|
+
api_url?: string;
|
|
871
|
+
base_url?: string;
|
|
872
|
+
borneo_dashboard_url?: string;
|
|
873
|
+
COMPANYDOMAIN?: string;
|
|
874
|
+
dc?: string;
|
|
875
|
+
domain?: string;
|
|
876
|
+
extension?: string;
|
|
877
|
+
form_api_base_url?: string;
|
|
878
|
+
instanceEndpoint?: string;
|
|
879
|
+
instanceName?: string;
|
|
880
|
+
proxy_password?: string;
|
|
881
|
+
proxy_username?: string;
|
|
882
|
+
region?: string;
|
|
883
|
+
server_location?: string;
|
|
884
|
+
shop?: string;
|
|
885
|
+
site_name?: string;
|
|
886
|
+
subdomain?: string;
|
|
887
|
+
version?: string;
|
|
888
|
+
your_server?: string;
|
|
889
|
+
'your-domain'?: string;
|
|
890
|
+
[k: string]: unknown;
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
interface UnionMember9 {
|
|
894
|
+
authScheme: 'GOOGLE_SERVICE_ACCOUNT';
|
|
895
|
+
toolkitSlug: string;
|
|
896
|
+
val: UnionMember9.Val;
|
|
897
|
+
}
|
|
898
|
+
namespace UnionMember9 {
|
|
899
|
+
interface Val {
|
|
900
|
+
credentials_json: string;
|
|
901
|
+
account_id?: string;
|
|
902
|
+
account_url?: string;
|
|
903
|
+
api_url?: string;
|
|
904
|
+
base_url?: string;
|
|
905
|
+
borneo_dashboard_url?: string;
|
|
906
|
+
COMPANYDOMAIN?: string;
|
|
907
|
+
dc?: string;
|
|
908
|
+
domain?: string;
|
|
909
|
+
extension?: string;
|
|
910
|
+
form_api_base_url?: string;
|
|
911
|
+
instanceEndpoint?: string;
|
|
912
|
+
instanceName?: string;
|
|
913
|
+
proxy_password?: string;
|
|
914
|
+
proxy_username?: string;
|
|
915
|
+
region?: string;
|
|
916
|
+
server_location?: string;
|
|
917
|
+
shop?: string;
|
|
918
|
+
site_name?: string;
|
|
919
|
+
subdomain?: string;
|
|
920
|
+
version?: string;
|
|
921
|
+
your_server?: string;
|
|
922
|
+
'your-domain'?: string;
|
|
923
|
+
[k: string]: unknown;
|
|
924
|
+
}
|
|
925
|
+
}
|
|
128
926
|
}
|
|
129
927
|
export interface ToolGetInputParams {
|
|
130
928
|
/**
|
|
131
|
-
*
|
|
132
|
-
* generate the correct inputs for the action.
|
|
929
|
+
* Natural language description of what you want to accomplish with this tool
|
|
133
930
|
*/
|
|
134
931
|
text: string;
|
|
135
932
|
/**
|
|
136
|
-
*
|
|
137
|
-
*
|
|
933
|
+
* Custom description of the tool to help guide the LLM in generating more accurate
|
|
934
|
+
* inputs
|
|
935
|
+
*/
|
|
936
|
+
custom_description?: string;
|
|
937
|
+
/**
|
|
938
|
+
* System prompt to control and guide the behavior of the LLM when generating
|
|
939
|
+
* inputs
|
|
138
940
|
*/
|
|
139
|
-
|
|
941
|
+
system_prompt?: string;
|
|
140
942
|
/**
|
|
141
|
-
*
|
|
142
|
-
*
|
|
943
|
+
* Tool version to use when generating inputs (defaults to "latest" if not
|
|
944
|
+
* specified)
|
|
143
945
|
*/
|
|
144
|
-
systemPrompt?: string;
|
|
145
946
|
version?: string;
|
|
146
947
|
}
|
|
147
948
|
export interface ToolProxyParams {
|
|
949
|
+
/**
|
|
950
|
+
* The API endpoint to call (absolute URL or path relative to base URL of the
|
|
951
|
+
* connected account)
|
|
952
|
+
*/
|
|
148
953
|
endpoint: string;
|
|
149
|
-
|
|
954
|
+
/**
|
|
955
|
+
* The HTTP method to use for the request
|
|
956
|
+
*/
|
|
957
|
+
method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD';
|
|
958
|
+
/**
|
|
959
|
+
* Binary body to send. For binary upload via URL: use {url: "https://...",
|
|
960
|
+
* content_type?: "..."}. For binary upload via base64: use {base64: "...",
|
|
961
|
+
* content_type?: "..."}.
|
|
962
|
+
*/
|
|
963
|
+
binary_body?: ToolProxyParams.UnionMember0 | ToolProxyParams.UnionMember1;
|
|
964
|
+
/**
|
|
965
|
+
* The request body (for POST, PUT, and PATCH requests)
|
|
966
|
+
*/
|
|
150
967
|
body?: unknown;
|
|
968
|
+
/**
|
|
969
|
+
* The ID of the connected account to use for authentication (if not provided, will
|
|
970
|
+
* use the default account for the project)
|
|
971
|
+
*/
|
|
151
972
|
connected_account_id?: string;
|
|
973
|
+
/**
|
|
974
|
+
* @deprecated
|
|
975
|
+
*/
|
|
976
|
+
custom_connection_data?: ToolProxyParams.UnionMember0 | ToolProxyParams.UnionMember1 | ToolProxyParams.UnionMember2 | ToolProxyParams.UnionMember3 | ToolProxyParams.UnionMember4 | ToolProxyParams.UnionMember5 | ToolProxyParams.UnionMember6 | ToolProxyParams.UnionMember7 | ToolProxyParams.UnionMember8 | ToolProxyParams.UnionMember9;
|
|
977
|
+
/**
|
|
978
|
+
* Additional HTTP headers or query parameters to include in the request
|
|
979
|
+
*/
|
|
152
980
|
parameters?: Array<ToolProxyParams.Parameter>;
|
|
153
981
|
}
|
|
154
982
|
export declare namespace ToolProxyParams {
|
|
983
|
+
interface UnionMember0 {
|
|
984
|
+
/**
|
|
985
|
+
* URL to fetch binary content from
|
|
986
|
+
*/
|
|
987
|
+
url: string;
|
|
988
|
+
/**
|
|
989
|
+
* Content-Type header to use for the request
|
|
990
|
+
*/
|
|
991
|
+
content_type?: string;
|
|
992
|
+
}
|
|
993
|
+
interface UnionMember1 {
|
|
994
|
+
/**
|
|
995
|
+
* Base64-encoded binary data
|
|
996
|
+
*/
|
|
997
|
+
base64: string;
|
|
998
|
+
/**
|
|
999
|
+
* Content-Type header to use for the request
|
|
1000
|
+
*/
|
|
1001
|
+
content_type?: string;
|
|
1002
|
+
}
|
|
1003
|
+
interface UnionMember0 {
|
|
1004
|
+
authScheme: 'OAUTH2';
|
|
1005
|
+
toolkitSlug: string;
|
|
1006
|
+
val: UnionMember0.Val;
|
|
1007
|
+
}
|
|
1008
|
+
namespace UnionMember0 {
|
|
1009
|
+
interface Val {
|
|
1010
|
+
access_token: string;
|
|
1011
|
+
account_id?: string;
|
|
1012
|
+
account_url?: string;
|
|
1013
|
+
api_url?: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* for slack user scopes
|
|
1016
|
+
*/
|
|
1017
|
+
authed_user?: Val.AuthedUser;
|
|
1018
|
+
base_url?: string;
|
|
1019
|
+
borneo_dashboard_url?: string;
|
|
1020
|
+
COMPANYDOMAIN?: string;
|
|
1021
|
+
dc?: string;
|
|
1022
|
+
domain?: string;
|
|
1023
|
+
expires_in?: number | string | null;
|
|
1024
|
+
extension?: string;
|
|
1025
|
+
form_api_base_url?: string;
|
|
1026
|
+
id_token?: string;
|
|
1027
|
+
instanceEndpoint?: string;
|
|
1028
|
+
instanceName?: string;
|
|
1029
|
+
/**
|
|
1030
|
+
* Whether to return the redirect url without shortening
|
|
1031
|
+
*/
|
|
1032
|
+
long_redirect_url?: boolean;
|
|
1033
|
+
proxy_password?: string;
|
|
1034
|
+
proxy_username?: string;
|
|
1035
|
+
refresh_token?: string | null;
|
|
1036
|
+
region?: string;
|
|
1037
|
+
scope?: string | Array<string> | null;
|
|
1038
|
+
server_location?: string;
|
|
1039
|
+
shop?: string;
|
|
1040
|
+
site_name?: string;
|
|
1041
|
+
/**
|
|
1042
|
+
* The oauth2 state prefix for the connection
|
|
1043
|
+
*/
|
|
1044
|
+
state_prefix?: string;
|
|
1045
|
+
subdomain?: string;
|
|
1046
|
+
token_type?: string;
|
|
1047
|
+
version?: string;
|
|
1048
|
+
webhook_signature?: string;
|
|
1049
|
+
your_server?: string;
|
|
1050
|
+
'your-domain'?: string;
|
|
1051
|
+
[k: string]: unknown;
|
|
1052
|
+
}
|
|
1053
|
+
namespace Val {
|
|
1054
|
+
/**
|
|
1055
|
+
* for slack user scopes
|
|
1056
|
+
*/
|
|
1057
|
+
interface AuthedUser {
|
|
1058
|
+
access_token?: string;
|
|
1059
|
+
scope?: string;
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
interface UnionMember1 {
|
|
1064
|
+
authScheme: 'DCR_OAUTH';
|
|
1065
|
+
toolkitSlug: string;
|
|
1066
|
+
val: UnionMember1.Val;
|
|
1067
|
+
}
|
|
1068
|
+
namespace UnionMember1 {
|
|
1069
|
+
interface Val {
|
|
1070
|
+
access_token: string;
|
|
1071
|
+
/**
|
|
1072
|
+
* Dynamically registered client ID
|
|
1073
|
+
*/
|
|
1074
|
+
client_id: string;
|
|
1075
|
+
account_id?: string;
|
|
1076
|
+
account_url?: string;
|
|
1077
|
+
api_url?: string;
|
|
1078
|
+
base_url?: string;
|
|
1079
|
+
borneo_dashboard_url?: string;
|
|
1080
|
+
client_id_issued_at?: number;
|
|
1081
|
+
/**
|
|
1082
|
+
* Dynamically registered client secret
|
|
1083
|
+
*/
|
|
1084
|
+
client_secret?: string;
|
|
1085
|
+
client_secret_expires_at?: number;
|
|
1086
|
+
COMPANYDOMAIN?: string;
|
|
1087
|
+
dc?: string;
|
|
1088
|
+
domain?: string;
|
|
1089
|
+
expires_in?: number | string | null;
|
|
1090
|
+
extension?: string;
|
|
1091
|
+
form_api_base_url?: string;
|
|
1092
|
+
id_token?: string;
|
|
1093
|
+
instanceEndpoint?: string;
|
|
1094
|
+
instanceName?: string;
|
|
1095
|
+
/**
|
|
1096
|
+
* Whether to return the redirect url without shortening
|
|
1097
|
+
*/
|
|
1098
|
+
long_redirect_url?: boolean;
|
|
1099
|
+
proxy_password?: string;
|
|
1100
|
+
proxy_username?: string;
|
|
1101
|
+
refresh_token?: string | null;
|
|
1102
|
+
region?: string;
|
|
1103
|
+
scope?: string | Array<string> | null;
|
|
1104
|
+
server_location?: string;
|
|
1105
|
+
shop?: string;
|
|
1106
|
+
site_name?: string;
|
|
1107
|
+
/**
|
|
1108
|
+
* The oauth2 state prefix for the connection
|
|
1109
|
+
*/
|
|
1110
|
+
state_prefix?: string;
|
|
1111
|
+
subdomain?: string;
|
|
1112
|
+
token_type?: string;
|
|
1113
|
+
version?: string;
|
|
1114
|
+
your_server?: string;
|
|
1115
|
+
'your-domain'?: string;
|
|
1116
|
+
[k: string]: unknown;
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
interface UnionMember2 {
|
|
1120
|
+
authScheme: 'API_KEY';
|
|
1121
|
+
toolkitSlug: string;
|
|
1122
|
+
val: UnionMember2.Val;
|
|
1123
|
+
}
|
|
1124
|
+
namespace UnionMember2 {
|
|
1125
|
+
interface Val {
|
|
1126
|
+
account_id?: string;
|
|
1127
|
+
account_url?: string;
|
|
1128
|
+
api_key?: string;
|
|
1129
|
+
api_url?: string;
|
|
1130
|
+
base_url?: string;
|
|
1131
|
+
basic_encoded?: string;
|
|
1132
|
+
bearer_token?: string;
|
|
1133
|
+
borneo_dashboard_url?: string;
|
|
1134
|
+
COMPANYDOMAIN?: string;
|
|
1135
|
+
dc?: string;
|
|
1136
|
+
domain?: string;
|
|
1137
|
+
extension?: string;
|
|
1138
|
+
form_api_base_url?: string;
|
|
1139
|
+
generic_api_key?: string;
|
|
1140
|
+
instanceEndpoint?: string;
|
|
1141
|
+
instanceName?: string;
|
|
1142
|
+
proxy_password?: string;
|
|
1143
|
+
proxy_username?: string;
|
|
1144
|
+
region?: string;
|
|
1145
|
+
server_location?: string;
|
|
1146
|
+
shop?: string;
|
|
1147
|
+
site_name?: string;
|
|
1148
|
+
subdomain?: string;
|
|
1149
|
+
version?: string;
|
|
1150
|
+
your_server?: string;
|
|
1151
|
+
'your-domain'?: string;
|
|
1152
|
+
[k: string]: unknown;
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
interface UnionMember3 {
|
|
1156
|
+
authScheme: 'BASIC_WITH_JWT';
|
|
1157
|
+
toolkitSlug: string;
|
|
1158
|
+
val: UnionMember3.Val;
|
|
1159
|
+
}
|
|
1160
|
+
namespace UnionMember3 {
|
|
1161
|
+
interface Val {
|
|
1162
|
+
password: string;
|
|
1163
|
+
username: string;
|
|
1164
|
+
account_id?: string;
|
|
1165
|
+
account_url?: string;
|
|
1166
|
+
api_url?: string;
|
|
1167
|
+
base_url?: string;
|
|
1168
|
+
borneo_dashboard_url?: string;
|
|
1169
|
+
COMPANYDOMAIN?: string;
|
|
1170
|
+
dc?: string;
|
|
1171
|
+
domain?: string;
|
|
1172
|
+
extension?: string;
|
|
1173
|
+
form_api_base_url?: string;
|
|
1174
|
+
instanceEndpoint?: string;
|
|
1175
|
+
instanceName?: string;
|
|
1176
|
+
proxy_password?: string;
|
|
1177
|
+
proxy_username?: string;
|
|
1178
|
+
region?: string;
|
|
1179
|
+
server_location?: string;
|
|
1180
|
+
shop?: string;
|
|
1181
|
+
site_name?: string;
|
|
1182
|
+
subdomain?: string;
|
|
1183
|
+
version?: string;
|
|
1184
|
+
your_server?: string;
|
|
1185
|
+
'your-domain'?: string;
|
|
1186
|
+
[k: string]: unknown;
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
interface UnionMember4 {
|
|
1190
|
+
authScheme: 'BASIC';
|
|
1191
|
+
toolkitSlug: string;
|
|
1192
|
+
val: UnionMember4.Val;
|
|
1193
|
+
}
|
|
1194
|
+
namespace UnionMember4 {
|
|
1195
|
+
interface Val {
|
|
1196
|
+
username: string;
|
|
1197
|
+
account_id?: string;
|
|
1198
|
+
account_url?: string;
|
|
1199
|
+
api_url?: string;
|
|
1200
|
+
base_url?: string;
|
|
1201
|
+
borneo_dashboard_url?: string;
|
|
1202
|
+
COMPANYDOMAIN?: string;
|
|
1203
|
+
dc?: string;
|
|
1204
|
+
domain?: string;
|
|
1205
|
+
extension?: string;
|
|
1206
|
+
form_api_base_url?: string;
|
|
1207
|
+
instanceEndpoint?: string;
|
|
1208
|
+
instanceName?: string;
|
|
1209
|
+
password?: string;
|
|
1210
|
+
proxy_password?: string;
|
|
1211
|
+
proxy_username?: string;
|
|
1212
|
+
region?: string;
|
|
1213
|
+
server_location?: string;
|
|
1214
|
+
shop?: string;
|
|
1215
|
+
site_name?: string;
|
|
1216
|
+
subdomain?: string;
|
|
1217
|
+
version?: string;
|
|
1218
|
+
your_server?: string;
|
|
1219
|
+
'your-domain'?: string;
|
|
1220
|
+
[k: string]: unknown;
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
interface UnionMember5 {
|
|
1224
|
+
authScheme: 'BEARER_TOKEN';
|
|
1225
|
+
toolkitSlug: string;
|
|
1226
|
+
val: UnionMember5.Val;
|
|
1227
|
+
}
|
|
1228
|
+
namespace UnionMember5 {
|
|
1229
|
+
interface Val {
|
|
1230
|
+
token: string;
|
|
1231
|
+
account_id?: string;
|
|
1232
|
+
account_url?: string;
|
|
1233
|
+
api_url?: string;
|
|
1234
|
+
base_url?: string;
|
|
1235
|
+
borneo_dashboard_url?: string;
|
|
1236
|
+
COMPANYDOMAIN?: string;
|
|
1237
|
+
dc?: string;
|
|
1238
|
+
domain?: string;
|
|
1239
|
+
extension?: string;
|
|
1240
|
+
form_api_base_url?: string;
|
|
1241
|
+
instanceEndpoint?: string;
|
|
1242
|
+
instanceName?: string;
|
|
1243
|
+
proxy_password?: string;
|
|
1244
|
+
proxy_username?: string;
|
|
1245
|
+
region?: string;
|
|
1246
|
+
server_location?: string;
|
|
1247
|
+
shop?: string;
|
|
1248
|
+
site_name?: string;
|
|
1249
|
+
subdomain?: string;
|
|
1250
|
+
version?: string;
|
|
1251
|
+
your_server?: string;
|
|
1252
|
+
'your-domain'?: string;
|
|
1253
|
+
[k: string]: unknown;
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
interface UnionMember6 {
|
|
1257
|
+
authScheme: 'OAUTH1';
|
|
1258
|
+
toolkitSlug: string;
|
|
1259
|
+
val: UnionMember6.Val;
|
|
1260
|
+
}
|
|
1261
|
+
namespace UnionMember6 {
|
|
1262
|
+
interface Val {
|
|
1263
|
+
oauth_token: string;
|
|
1264
|
+
oauth_token_secret: string;
|
|
1265
|
+
account_id?: string;
|
|
1266
|
+
account_url?: string;
|
|
1267
|
+
api_url?: string;
|
|
1268
|
+
base_url?: string;
|
|
1269
|
+
borneo_dashboard_url?: string;
|
|
1270
|
+
callback_url?: string;
|
|
1271
|
+
COMPANYDOMAIN?: string;
|
|
1272
|
+
consumer_key?: string;
|
|
1273
|
+
dc?: string;
|
|
1274
|
+
domain?: string;
|
|
1275
|
+
extension?: string;
|
|
1276
|
+
form_api_base_url?: string;
|
|
1277
|
+
instanceEndpoint?: string;
|
|
1278
|
+
instanceName?: string;
|
|
1279
|
+
oauth_verifier?: string;
|
|
1280
|
+
proxy_password?: string;
|
|
1281
|
+
proxy_username?: string;
|
|
1282
|
+
redirectUrl?: string;
|
|
1283
|
+
region?: string;
|
|
1284
|
+
server_location?: string;
|
|
1285
|
+
shop?: string;
|
|
1286
|
+
site_name?: string;
|
|
1287
|
+
subdomain?: string;
|
|
1288
|
+
version?: string;
|
|
1289
|
+
your_server?: string;
|
|
1290
|
+
'your-domain'?: string;
|
|
1291
|
+
[k: string]: unknown;
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
interface UnionMember7 {
|
|
1295
|
+
authScheme: 'NO_AUTH';
|
|
1296
|
+
toolkitSlug: string;
|
|
1297
|
+
val: UnionMember7.Val;
|
|
1298
|
+
}
|
|
1299
|
+
namespace UnionMember7 {
|
|
1300
|
+
interface Val {
|
|
1301
|
+
account_id?: string;
|
|
1302
|
+
account_url?: string;
|
|
1303
|
+
api_url?: string;
|
|
1304
|
+
base_url?: string;
|
|
1305
|
+
borneo_dashboard_url?: string;
|
|
1306
|
+
COMPANYDOMAIN?: string;
|
|
1307
|
+
dc?: string;
|
|
1308
|
+
domain?: string;
|
|
1309
|
+
extension?: string;
|
|
1310
|
+
form_api_base_url?: string;
|
|
1311
|
+
instanceEndpoint?: string;
|
|
1312
|
+
instanceName?: string;
|
|
1313
|
+
proxy_password?: string;
|
|
1314
|
+
proxy_username?: string;
|
|
1315
|
+
region?: string;
|
|
1316
|
+
server_location?: string;
|
|
1317
|
+
shop?: string;
|
|
1318
|
+
site_name?: string;
|
|
1319
|
+
subdomain?: string;
|
|
1320
|
+
version?: string;
|
|
1321
|
+
your_server?: string;
|
|
1322
|
+
'your-domain'?: string;
|
|
1323
|
+
[k: string]: unknown;
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
interface UnionMember8 {
|
|
1327
|
+
authScheme: 'SERVICE_ACCOUNT';
|
|
1328
|
+
toolkitSlug: string;
|
|
1329
|
+
val: UnionMember8.Val;
|
|
1330
|
+
}
|
|
1331
|
+
namespace UnionMember8 {
|
|
1332
|
+
interface Val {
|
|
1333
|
+
application_id: string;
|
|
1334
|
+
installation_id: string;
|
|
1335
|
+
private_key: string;
|
|
1336
|
+
account_id?: string;
|
|
1337
|
+
account_url?: string;
|
|
1338
|
+
api_url?: string;
|
|
1339
|
+
base_url?: string;
|
|
1340
|
+
borneo_dashboard_url?: string;
|
|
1341
|
+
COMPANYDOMAIN?: string;
|
|
1342
|
+
dc?: string;
|
|
1343
|
+
domain?: string;
|
|
1344
|
+
extension?: string;
|
|
1345
|
+
form_api_base_url?: string;
|
|
1346
|
+
instanceEndpoint?: string;
|
|
1347
|
+
instanceName?: string;
|
|
1348
|
+
proxy_password?: string;
|
|
1349
|
+
proxy_username?: string;
|
|
1350
|
+
region?: string;
|
|
1351
|
+
server_location?: string;
|
|
1352
|
+
shop?: string;
|
|
1353
|
+
site_name?: string;
|
|
1354
|
+
subdomain?: string;
|
|
1355
|
+
version?: string;
|
|
1356
|
+
your_server?: string;
|
|
1357
|
+
'your-domain'?: string;
|
|
1358
|
+
[k: string]: unknown;
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
interface UnionMember9 {
|
|
1362
|
+
authScheme: 'GOOGLE_SERVICE_ACCOUNT';
|
|
1363
|
+
toolkitSlug: string;
|
|
1364
|
+
val: UnionMember9.Val;
|
|
1365
|
+
}
|
|
1366
|
+
namespace UnionMember9 {
|
|
1367
|
+
interface Val {
|
|
1368
|
+
credentials_json: string;
|
|
1369
|
+
account_id?: string;
|
|
1370
|
+
account_url?: string;
|
|
1371
|
+
api_url?: string;
|
|
1372
|
+
base_url?: string;
|
|
1373
|
+
borneo_dashboard_url?: string;
|
|
1374
|
+
COMPANYDOMAIN?: string;
|
|
1375
|
+
dc?: string;
|
|
1376
|
+
domain?: string;
|
|
1377
|
+
extension?: string;
|
|
1378
|
+
form_api_base_url?: string;
|
|
1379
|
+
instanceEndpoint?: string;
|
|
1380
|
+
instanceName?: string;
|
|
1381
|
+
proxy_password?: string;
|
|
1382
|
+
proxy_username?: string;
|
|
1383
|
+
region?: string;
|
|
1384
|
+
server_location?: string;
|
|
1385
|
+
shop?: string;
|
|
1386
|
+
site_name?: string;
|
|
1387
|
+
subdomain?: string;
|
|
1388
|
+
version?: string;
|
|
1389
|
+
your_server?: string;
|
|
1390
|
+
'your-domain'?: string;
|
|
1391
|
+
[k: string]: unknown;
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
155
1394
|
interface Parameter {
|
|
1395
|
+
/**
|
|
1396
|
+
* Parameter name
|
|
1397
|
+
*/
|
|
156
1398
|
name: string;
|
|
1399
|
+
/**
|
|
1400
|
+
* Parameter type (header or query)
|
|
1401
|
+
*/
|
|
157
1402
|
type: 'header' | 'query';
|
|
1403
|
+
/**
|
|
1404
|
+
* Parameter value
|
|
1405
|
+
*/
|
|
158
1406
|
value: string;
|
|
159
1407
|
}
|
|
160
1408
|
}
|
|
161
1409
|
export declare namespace Tools {
|
|
162
|
-
export { type ToolRetrieveResponse as ToolRetrieveResponse, type ToolListResponse as ToolListResponse, type ToolExecuteResponse as ToolExecuteResponse, type ToolGetInputResponse as ToolGetInputResponse, type ToolProxyResponse as ToolProxyResponse, type ToolRetrieveEnumResponse as ToolRetrieveEnumResponse, type ToolListParams as ToolListParams, type ToolExecuteParams as ToolExecuteParams, type ToolGetInputParams as ToolGetInputParams, type ToolProxyParams as ToolProxyParams, };
|
|
1410
|
+
export { type ToolRetrieveResponse as ToolRetrieveResponse, type ToolListResponse as ToolListResponse, type ToolExecuteResponse as ToolExecuteResponse, type ToolGetInputResponse as ToolGetInputResponse, type ToolProxyResponse as ToolProxyResponse, type ToolRetrieveEnumResponse as ToolRetrieveEnumResponse, type ToolRetrieveParams as ToolRetrieveParams, type ToolListParams as ToolListParams, type ToolExecuteParams as ToolExecuteParams, type ToolGetInputParams as ToolGetInputParams, type ToolProxyParams as ToolProxyParams, };
|
|
163
1411
|
}
|
|
164
1412
|
//# sourceMappingURL=tools.d.ts.map
|