@composio/client 0.1.0-alpha.7 → 0.1.0-alpha.71
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 +977 -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 -43
- package/client.d.mts.map +1 -1
- package/client.d.ts +85 -43
- package/client.d.ts.map +1 -1
- package/client.js +162 -108
- package/client.js.map +1 -1
- package/client.mjs +144 -67
- 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 +12 -11
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +12 -11
- 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 +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- 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 +6 -5
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +4 -3
- 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 +14 -11
- package/resource.js +2 -15
- package/resource.js.map +1 -1
- package/resources/auth-configs.d.mts +511 -54
- package/resources/auth-configs.d.mts.map +1 -1
- package/resources/auth-configs.d.ts +511 -54
- package/resources/auth-configs.d.ts.map +1 -1
- package/resources/auth-configs.js +79 -6
- package/resources/auth-configs.js.map +1 -1
- package/resources/auth-configs.mjs +79 -6
- 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 +9882 -231
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +9882 -231
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/connected-accounts.js +124 -7
- package/resources/connected-accounts.js.map +1 -1
- package/resources/connected-accounts.mjs +124 -7
- 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 -12
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +13 -12
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +14 -12
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +7 -6
- package/resources/index.mjs.map +1 -1
- package/resources/link.d.mts +2273 -0
- package/resources/link.d.mts.map +1 -0
- package/resources/link.d.ts +2273 -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/{auth.mjs → logs.mjs} +2 -2
- 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 +65 -0
- package/resources/mcp/generate.d.mts.map +1 -0
- package/resources/mcp/generate.d.ts +65 -0
- package/resources/mcp/generate.d.ts.map +1 -0
- package/resources/mcp/generate.js +32 -0
- package/resources/mcp/generate.js.map +1 -0
- package/resources/mcp/generate.mjs +28 -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 +95 -42
- package/resources/mcp/mcp.js.map +1 -1
- package/resources/mcp/mcp.mjs +94 -19
- 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 +98 -0
- package/resources/tool-router/session/files.js.map +1 -0
- package/resources/tool-router/session/files.mjs +94 -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/{auth → tool-router/session}/index.js +3 -3
- 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 +4024 -0
- package/resources/tool-router/session/session.d.mts.map +1 -0
- package/resources/tool-router/session/session.d.ts +4024 -0
- package/resources/tool-router/session/session.d.ts.map +1 -0
- package/resources/tool-router/session/session.js +224 -0
- package/resources/tool-router/session/session.js.map +1 -0
- package/resources/tool-router/session/session.mjs +219 -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 +322 -6
- package/resources/toolkits.d.mts.map +1 -1
- package/resources/toolkits.d.ts +322 -6
- package/resources/toolkits.d.ts.map +1 -1
- package/resources/toolkits.js +25 -4
- package/resources/toolkits.js.map +1 -1
- package/resources/toolkits.mjs +25 -4
- package/resources/toolkits.mjs.map +1 -1
- package/resources/tools.d.mts +1407 -41
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +1407 -41
- package/resources/tools.d.ts.map +1 -1
- package/resources/tools.js +88 -9
- package/resources/tools.js.map +1 -1
- package/resources/tools.mjs +88 -9
- 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 +190 -43
- package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.ts +190 -43
- package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.js +36 -37
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs +35 -14
- 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 +160 -12
- package/resources/triggers-types.d.mts.map +1 -1
- package/resources/triggers-types.d.ts +160 -12
- package/resources/triggers-types.d.ts.map +1 -1
- package/resources/triggers-types.js +19 -4
- package/resources/triggers-types.js.map +1 -1
- package/resources/triggers-types.mjs +19 -4
- package/resources/triggers-types.mjs.map +1 -1
- package/resources.js +2 -15
- package/resources.js.map +1 -1
- package/src/client.ts +239 -131
- 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 +13 -12
- 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/env.ts +2 -2
- package/src/internal/utils/log.ts +3 -2
- 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 +587 -73
- 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 +18489 -448
- package/src/resources/files.ts +197 -0
- package/src/resources/index.ts +30 -28
- package/src/resources/link.ts +4266 -0
- package/src/resources/logs/index.ts +10 -0
- package/src/resources/logs/logs.ts +31 -0
- package/src/resources/logs/tools.ts +239 -0
- package/src/resources/logs/triggers.ts +241 -0
- package/src/resources/{auth.ts → logs.ts} +1 -1
- package/src/resources/mcp/custom.ts +125 -0
- package/src/resources/mcp/generate.ts +77 -0
- package/src/resources/mcp/index.ts +3 -3
- package/src/resources/mcp/mcp.ts +490 -203
- 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 +33 -0
- package/src/resources/tool-router/session/files.ts +284 -0
- package/src/resources/tool-router/session/index.ts +39 -0
- package/src/resources/tool-router/session/session.ts +5034 -0
- package/src/resources/{org.ts → tool-router/session.ts} +1 -1
- package/src/resources/tool-router/tool-router.ts +168 -0
- package/src/resources/tool-router.ts +3 -0
- package/src/resources/toolkits.ts +377 -10
- package/src/resources/tools.ts +2176 -63
- 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 +206 -69
- package/src/resources/triggers-types.ts +168 -16
- 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/auth/auth.d.mts +0 -10
- package/resources/auth/auth.d.mts.map +0 -1
- package/resources/auth/auth.d.ts +0 -10
- package/resources/auth/auth.d.ts.map +0 -1
- package/resources/auth/auth.js +0 -39
- package/resources/auth/auth.js.map +0 -1
- package/resources/auth/auth.mjs +0 -12
- package/resources/auth/auth.mjs.map +0 -1
- package/resources/auth/index.d.mts +0 -3
- package/resources/auth/index.d.mts.map +0 -1
- package/resources/auth/index.d.ts +0 -3
- package/resources/auth/index.d.ts.map +0 -1
- package/resources/auth/index.js.map +0 -1
- package/resources/auth/index.mjs +0 -4
- package/resources/auth/index.mjs.map +0 -1
- package/resources/auth/session.d.mts +0 -75
- package/resources/auth/session.d.mts.map +0 -1
- package/resources/auth/session.d.ts +0 -75
- package/resources/auth/session.d.ts.map +0 -1
- package/resources/auth/session.js +0 -12
- package/resources/auth/session.js.map +0 -1
- package/resources/auth/session.mjs +0 -8
- package/resources/auth/session.mjs.map +0 -1
- package/resources/auth.d.mts +0 -2
- package/resources/auth.d.mts.map +0 -1
- package/resources/auth.d.ts +0 -2
- package/resources/auth.d.ts.map +0 -1
- package/resources/auth.js +0 -19
- package/resources/auth.js.map +0 -1
- package/resources/auth.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/action-execution.ts +0 -244
- package/src/resources/auth/auth.ts +0 -15
- package/src/resources/auth/index.ts +0 -4
- package/src/resources/auth/session.ts +0 -127
- 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/src/resources/tools.ts
CHANGED
|
@@ -2,128 +2,413 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
4
|
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { buildHeaders } from '../internal/headers';
|
|
5
6
|
import { RequestOptions } from '../internal/request-options';
|
|
6
7
|
import { path } from '../internal/utils/path';
|
|
7
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Tool execution endpoints
|
|
11
|
+
*/
|
|
8
12
|
export class Tools extends APIResource {
|
|
9
|
-
|
|
10
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Retrieve detailed information about a specific tool using its slug identifier.
|
|
15
|
+
* This endpoint returns full metadata about a tool including input/output
|
|
16
|
+
* parameters, versions, and toolkit information.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* const tool = await client.tools.retrieve('tool_slug');
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
retrieve(
|
|
24
|
+
toolSlug: string,
|
|
25
|
+
query: ToolRetrieveParams | null | undefined = {},
|
|
26
|
+
options?: RequestOptions,
|
|
27
|
+
): APIPromise<ToolRetrieveResponse> {
|
|
28
|
+
return this._client.get(path`/api/v3.1/tools/${toolSlug}`, { query, ...options });
|
|
11
29
|
}
|
|
12
30
|
|
|
31
|
+
/**
|
|
32
|
+
* Retrieve a paginated list of available tools with comprehensive filtering,
|
|
33
|
+
* sorting and search capabilities. Use query parameters to narrow down results by
|
|
34
|
+
* toolkit, tags, or search terms.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const tools = await client.tools.list();
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
13
41
|
list(
|
|
14
42
|
query: ToolListParams | null | undefined = {},
|
|
15
43
|
options?: RequestOptions,
|
|
16
44
|
): APIPromise<ToolListResponse> {
|
|
17
|
-
return this._client.get('/api/v3/tools', { query, ...options });
|
|
45
|
+
return this._client.get('/api/v3.1/tools', { query, ...options });
|
|
18
46
|
}
|
|
19
47
|
|
|
48
|
+
/**
|
|
49
|
+
* Execute a specific tool operation with provided arguments and authentication.
|
|
50
|
+
* This is the primary endpoint for integrating with third-party services and
|
|
51
|
+
* executing tools. You can provide structured arguments or use natural language
|
|
52
|
+
* processing by providing a text description of what you want to accomplish.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```ts
|
|
56
|
+
* const response = await client.tools.execute('tool_slug');
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
20
59
|
execute(
|
|
21
|
-
|
|
22
|
-
|
|
60
|
+
toolSlug: string,
|
|
61
|
+
params: ToolExecuteParams | null | undefined = {},
|
|
23
62
|
options?: RequestOptions,
|
|
24
63
|
): APIPromise<ToolExecuteResponse> {
|
|
25
|
-
|
|
64
|
+
const { 'x-llm-gateway-headers': xLlmGatewayHeaders, ...body } = params ?? {};
|
|
65
|
+
return this._client.post(path`/api/v3.1/tools/execute/${toolSlug}`, {
|
|
66
|
+
body,
|
|
67
|
+
...options,
|
|
68
|
+
headers: buildHeaders([
|
|
69
|
+
{ ...(xLlmGatewayHeaders != null ? { 'x-llm-gateway-headers': xLlmGatewayHeaders } : undefined) },
|
|
70
|
+
options?.headers,
|
|
71
|
+
]),
|
|
72
|
+
});
|
|
26
73
|
}
|
|
27
74
|
|
|
75
|
+
/**
|
|
76
|
+
* Uses AI to translate a natural language description into structured arguments
|
|
77
|
+
* for a specific tool. This endpoint is useful when you want to let users describe
|
|
78
|
+
* what they want to do in plain language instead of providing structured
|
|
79
|
+
* parameters.
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* ```ts
|
|
83
|
+
* const response = await client.tools.getInput('tool_slug', {
|
|
84
|
+
* text: 'I need to trigger the main workflow in the octocat/Hello-World repository to deploy to production',
|
|
85
|
+
* });
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
28
88
|
getInput(
|
|
29
|
-
|
|
89
|
+
toolSlug: string,
|
|
30
90
|
body: ToolGetInputParams,
|
|
31
91
|
options?: RequestOptions,
|
|
32
92
|
): APIPromise<ToolGetInputResponse> {
|
|
33
|
-
return this._client.post(path`/api/v3/tools/execute/${
|
|
93
|
+
return this._client.post(path`/api/v3.1/tools/execute/${toolSlug}/input`, { body, ...options });
|
|
34
94
|
}
|
|
35
95
|
|
|
96
|
+
/**
|
|
97
|
+
* Proxy an HTTP request to a third-party API using connected account credentials.
|
|
98
|
+
* This endpoint allows making authenticated API calls to external services while
|
|
99
|
+
* abstracting away authentication details.
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* ```ts
|
|
103
|
+
* const response = await client.tools.proxy({
|
|
104
|
+
* endpoint: '/api/v1/resources',
|
|
105
|
+
* method: 'GET',
|
|
106
|
+
* });
|
|
107
|
+
* ```
|
|
108
|
+
*/
|
|
36
109
|
proxy(body: ToolProxyParams, options?: RequestOptions): APIPromise<ToolProxyResponse> {
|
|
37
|
-
return this._client.post('/api/v3/tools/execute/proxy', { body, ...options });
|
|
110
|
+
return this._client.post('/api/v3.1/tools/execute/proxy', { body, ...options });
|
|
38
111
|
}
|
|
39
112
|
|
|
40
|
-
|
|
41
|
-
|
|
113
|
+
/**
|
|
114
|
+
* Retrieve a list of all available tool enumeration values (tool slugs) from
|
|
115
|
+
* latest version of each toolkit. This endpoint returns a comma-separated string
|
|
116
|
+
* of tool slugs that can be used in other API calls.
|
|
117
|
+
*
|
|
118
|
+
* @example
|
|
119
|
+
* ```ts
|
|
120
|
+
* const response = await client.tools.retrieveEnum();
|
|
121
|
+
* ```
|
|
122
|
+
*/
|
|
123
|
+
retrieveEnum(options?: RequestOptions): APIPromise<ToolRetrieveEnumResponse> {
|
|
124
|
+
return this._client.get('/api/v3.1/tools/enum', options);
|
|
42
125
|
}
|
|
43
126
|
}
|
|
44
127
|
|
|
45
128
|
export interface ToolRetrieveResponse {
|
|
129
|
+
/**
|
|
130
|
+
* List of all available versions for this tool
|
|
131
|
+
*/
|
|
46
132
|
available_versions: Array<string>;
|
|
47
133
|
|
|
134
|
+
deprecated: ToolRetrieveResponse.Deprecated;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Detailed explanation of the tool's functionality and purpose
|
|
138
|
+
*/
|
|
48
139
|
description: string;
|
|
49
140
|
|
|
50
|
-
|
|
141
|
+
/**
|
|
142
|
+
* Schema definition of required input parameters for the tool
|
|
143
|
+
*/
|
|
144
|
+
input_parameters: { [key: string]: unknown };
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Indicates if this tool is deprecated and may be removed in the future
|
|
148
|
+
*/
|
|
149
|
+
is_deprecated: boolean;
|
|
51
150
|
|
|
151
|
+
/**
|
|
152
|
+
* Human-readable display name of the tool
|
|
153
|
+
*/
|
|
52
154
|
name: string;
|
|
53
155
|
|
|
54
|
-
|
|
156
|
+
/**
|
|
157
|
+
* Indicates if the tool can be used without authentication
|
|
158
|
+
*/
|
|
159
|
+
no_auth: boolean;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Schema definition of return values from the tool
|
|
163
|
+
*/
|
|
164
|
+
output_parameters: { [key: string]: unknown };
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Structured scope requirements for the tool. Null means the tool is legacy and
|
|
168
|
+
* only exposes flat scopes.
|
|
169
|
+
*/
|
|
170
|
+
scope_requirements: ToolRetrieveResponse.ScopeRequirements | null;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* List of scopes associated with the tool
|
|
174
|
+
*/
|
|
175
|
+
scopes: Array<string>;
|
|
55
176
|
|
|
177
|
+
/**
|
|
178
|
+
* Unique identifier for the tool
|
|
179
|
+
*/
|
|
56
180
|
slug: string;
|
|
57
181
|
|
|
182
|
+
/**
|
|
183
|
+
* List of tags associated with the tool for categorization and filtering
|
|
184
|
+
*/
|
|
58
185
|
tags: Array<string>;
|
|
59
186
|
|
|
60
187
|
toolkit: ToolRetrieveResponse.Toolkit;
|
|
61
188
|
|
|
189
|
+
/**
|
|
190
|
+
* Current version of the tool
|
|
191
|
+
*/
|
|
62
192
|
version: string;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Human-friendly description of the tool, if available
|
|
196
|
+
*/
|
|
197
|
+
human_description?: string;
|
|
63
198
|
}
|
|
64
199
|
|
|
65
200
|
export namespace ToolRetrieveResponse {
|
|
201
|
+
export interface Deprecated {
|
|
202
|
+
/**
|
|
203
|
+
* List of all available versions for this tool
|
|
204
|
+
*/
|
|
205
|
+
available_versions: Array<string>;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* The display name of the tool
|
|
209
|
+
*/
|
|
210
|
+
displayName: string;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Indicates if this tool is deprecated and may be removed in the future
|
|
214
|
+
*/
|
|
215
|
+
is_deprecated: boolean;
|
|
216
|
+
|
|
217
|
+
toolkit: Deprecated.Toolkit;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Current version identifier of the tool
|
|
221
|
+
*/
|
|
222
|
+
version: string;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export namespace Deprecated {
|
|
226
|
+
export interface Toolkit {
|
|
227
|
+
/**
|
|
228
|
+
* URL to the toolkit logo image
|
|
229
|
+
*/
|
|
230
|
+
logo: string;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Structured scope requirements for the tool. Null means the tool is legacy and
|
|
236
|
+
* only exposes flat scopes.
|
|
237
|
+
*/
|
|
238
|
+
export interface ScopeRequirements {
|
|
239
|
+
all_of: Array<string | ScopeRequirements.AnyOf>;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export namespace ScopeRequirements {
|
|
243
|
+
export interface AnyOf {
|
|
244
|
+
any_of: Array<string>;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
66
248
|
export interface Toolkit {
|
|
249
|
+
/**
|
|
250
|
+
* URL to the toolkit logo image
|
|
251
|
+
*/
|
|
67
252
|
logo: string;
|
|
68
253
|
|
|
254
|
+
/**
|
|
255
|
+
* Human-readable name of the parent toolkit
|
|
256
|
+
*/
|
|
69
257
|
name: string;
|
|
70
258
|
|
|
259
|
+
/**
|
|
260
|
+
* Unique identifier of the parent toolkit
|
|
261
|
+
*/
|
|
71
262
|
slug: string;
|
|
72
263
|
}
|
|
73
264
|
}
|
|
74
265
|
|
|
75
266
|
export interface ToolListResponse {
|
|
267
|
+
current_page: number;
|
|
268
|
+
|
|
76
269
|
items: Array<ToolListResponse.Item>;
|
|
77
270
|
|
|
78
|
-
|
|
271
|
+
total_items: number;
|
|
79
272
|
|
|
80
273
|
total_pages: number;
|
|
274
|
+
|
|
275
|
+
next_cursor?: string | null;
|
|
81
276
|
}
|
|
82
277
|
|
|
83
278
|
export namespace ToolListResponse {
|
|
84
279
|
export interface Item {
|
|
85
280
|
/**
|
|
86
|
-
*
|
|
281
|
+
* List of all available versions for this tool
|
|
282
|
+
*/
|
|
283
|
+
available_versions: Array<string>;
|
|
284
|
+
|
|
285
|
+
deprecated: Item.Deprecated;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Detailed explanation of the tool's functionality and purpose
|
|
87
289
|
*/
|
|
88
290
|
description: string;
|
|
89
291
|
|
|
90
292
|
/**
|
|
91
|
-
*
|
|
293
|
+
* Schema definition of required input parameters for the tool
|
|
92
294
|
*/
|
|
93
|
-
input_parameters:
|
|
295
|
+
input_parameters: { [key: string]: unknown };
|
|
94
296
|
|
|
95
297
|
/**
|
|
96
|
-
*
|
|
298
|
+
* Indicates if this tool is deprecated and may be removed in the future
|
|
299
|
+
*/
|
|
300
|
+
is_deprecated: boolean;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Human-readable display name of the tool
|
|
97
304
|
*/
|
|
98
305
|
name: string;
|
|
99
306
|
|
|
100
307
|
/**
|
|
101
|
-
*
|
|
308
|
+
* Indicates if the tool can be used without authentication
|
|
309
|
+
*/
|
|
310
|
+
no_auth: boolean;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Schema definition of return values from the tool
|
|
314
|
+
*/
|
|
315
|
+
output_parameters: { [key: string]: unknown };
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Structured scope requirements for the tool. Null means the tool is legacy and
|
|
319
|
+
* only exposes flat scopes.
|
|
320
|
+
*/
|
|
321
|
+
scope_requirements: Item.ScopeRequirements | null;
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* List of scopes associated with the tool
|
|
102
325
|
*/
|
|
103
|
-
|
|
326
|
+
scopes: Array<string>;
|
|
104
327
|
|
|
105
328
|
/**
|
|
106
|
-
*
|
|
329
|
+
* Unique identifier for the tool
|
|
107
330
|
*/
|
|
108
331
|
slug: string;
|
|
109
332
|
|
|
110
333
|
/**
|
|
111
|
-
*
|
|
334
|
+
* List of tags associated with the tool for categorization and filtering
|
|
112
335
|
*/
|
|
113
336
|
tags: Array<string>;
|
|
114
337
|
|
|
115
338
|
toolkit: Item.Toolkit;
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Current version of the tool
|
|
342
|
+
*/
|
|
343
|
+
version: string;
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Human-friendly description of the tool, if available
|
|
347
|
+
*/
|
|
348
|
+
human_description?: string;
|
|
116
349
|
}
|
|
117
350
|
|
|
118
351
|
export namespace Item {
|
|
352
|
+
export interface Deprecated {
|
|
353
|
+
/**
|
|
354
|
+
* List of all available versions for this tool
|
|
355
|
+
*/
|
|
356
|
+
available_versions: Array<string>;
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* The display name of the tool
|
|
360
|
+
*/
|
|
361
|
+
displayName: string;
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Indicates if this tool is deprecated and may be removed in the future
|
|
365
|
+
*/
|
|
366
|
+
is_deprecated: boolean;
|
|
367
|
+
|
|
368
|
+
toolkit: Deprecated.Toolkit;
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* Current version identifier of the tool
|
|
372
|
+
*/
|
|
373
|
+
version: string;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
export namespace Deprecated {
|
|
377
|
+
export interface Toolkit {
|
|
378
|
+
/**
|
|
379
|
+
* URL to the toolkit logo image
|
|
380
|
+
*/
|
|
381
|
+
logo: string;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* Structured scope requirements for the tool. Null means the tool is legacy and
|
|
387
|
+
* only exposes flat scopes.
|
|
388
|
+
*/
|
|
389
|
+
export interface ScopeRequirements {
|
|
390
|
+
all_of: Array<string | ScopeRequirements.AnyOf>;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
export namespace ScopeRequirements {
|
|
394
|
+
export interface AnyOf {
|
|
395
|
+
any_of: Array<string>;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
|
|
119
399
|
export interface Toolkit {
|
|
120
400
|
/**
|
|
121
|
-
*
|
|
401
|
+
* URL to the toolkit logo image
|
|
402
|
+
*/
|
|
403
|
+
logo: string;
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* Human-readable name of the parent toolkit
|
|
122
407
|
*/
|
|
123
408
|
name: string;
|
|
124
409
|
|
|
125
410
|
/**
|
|
126
|
-
*
|
|
411
|
+
* Unique identifier of the parent toolkit
|
|
127
412
|
*/
|
|
128
413
|
slug: string;
|
|
129
414
|
}
|
|
@@ -131,120 +416,1947 @@ export namespace ToolListResponse {
|
|
|
131
416
|
}
|
|
132
417
|
|
|
133
418
|
export interface ToolExecuteResponse {
|
|
134
|
-
|
|
419
|
+
/**
|
|
420
|
+
* Tool execution output data that varies based on the specific tool
|
|
421
|
+
*/
|
|
422
|
+
data: { [key: string]: unknown };
|
|
135
423
|
|
|
424
|
+
/**
|
|
425
|
+
* Error message if the tool execution was not successful (null if successful)
|
|
426
|
+
*/
|
|
136
427
|
error: string | null;
|
|
137
428
|
|
|
429
|
+
/**
|
|
430
|
+
* Indicates if the tool execution was successful
|
|
431
|
+
*/
|
|
138
432
|
successful: boolean;
|
|
139
433
|
|
|
434
|
+
/**
|
|
435
|
+
* Unique identifier for the execution log (useful for debugging and support)
|
|
436
|
+
*/
|
|
140
437
|
log_id?: string;
|
|
141
438
|
|
|
439
|
+
/**
|
|
440
|
+
* Optional session information for tools that return session context
|
|
441
|
+
*/
|
|
142
442
|
session_info?: unknown;
|
|
143
443
|
}
|
|
144
444
|
|
|
145
445
|
export interface ToolGetInputResponse {
|
|
146
446
|
/**
|
|
147
|
-
*
|
|
447
|
+
* Key-value pairs of arguments required by the tool to accomplish the described
|
|
448
|
+
* task
|
|
148
449
|
*/
|
|
149
|
-
arguments?:
|
|
450
|
+
arguments?: { [key: string]: unknown };
|
|
150
451
|
|
|
151
452
|
/**
|
|
152
|
-
*
|
|
453
|
+
* Error message if the arguments could not be generated (null if successful)
|
|
153
454
|
*/
|
|
154
455
|
error?: string;
|
|
155
456
|
}
|
|
156
457
|
|
|
157
458
|
export interface ToolProxyResponse {
|
|
459
|
+
/**
|
|
460
|
+
* The HTTP status code returned from the proxied API
|
|
461
|
+
*/
|
|
158
462
|
status: number;
|
|
159
463
|
|
|
464
|
+
/**
|
|
465
|
+
* Binary body response data. Present when the response is a binary file.
|
|
466
|
+
*/
|
|
467
|
+
binary_data?: ToolProxyResponse.BinaryData;
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* The response data returned from the proxied API
|
|
471
|
+
*/
|
|
160
472
|
data?: unknown;
|
|
161
473
|
|
|
162
|
-
|
|
474
|
+
/**
|
|
475
|
+
* The HTTP headers returned from the proxied API
|
|
476
|
+
*/
|
|
477
|
+
headers?: { [key: string]: string };
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
export namespace ToolProxyResponse {
|
|
481
|
+
/**
|
|
482
|
+
* Binary body response data. Present when the response is a binary file.
|
|
483
|
+
*/
|
|
484
|
+
export interface BinaryData {
|
|
485
|
+
/**
|
|
486
|
+
* Content-Type of the binary data
|
|
487
|
+
*/
|
|
488
|
+
content_type: string;
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* File size in bytes
|
|
492
|
+
*/
|
|
493
|
+
size: number;
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* URL to download binary content
|
|
497
|
+
*/
|
|
498
|
+
url: string;
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* ISO 8601 timestamp when the URL expires
|
|
502
|
+
*/
|
|
503
|
+
expires_at?: string;
|
|
504
|
+
}
|
|
163
505
|
}
|
|
164
506
|
|
|
165
|
-
|
|
507
|
+
/**
|
|
508
|
+
* JSON string containing all tool enum values from latest version of each toolkit
|
|
509
|
+
*/
|
|
510
|
+
export type ToolRetrieveEnumResponse = Array<string>;
|
|
511
|
+
|
|
512
|
+
export interface ToolRetrieveParams {
|
|
513
|
+
/**
|
|
514
|
+
* Toolkit version specification. Use "latest" for latest versions or bracket
|
|
515
|
+
* notation for specific versions per toolkit.
|
|
516
|
+
*/
|
|
517
|
+
toolkit_versions?: string | { [key: string]: string };
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* Optional version of the tool to retrieve
|
|
521
|
+
*/
|
|
522
|
+
version?: string;
|
|
523
|
+
}
|
|
166
524
|
|
|
167
525
|
export interface ToolListParams {
|
|
168
526
|
/**
|
|
169
|
-
*
|
|
527
|
+
* Comma-separated list of auth config IDs to filter tools by
|
|
528
|
+
*/
|
|
529
|
+
auth_config_ids?: string | Array<string>;
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Cursor for pagination. The cursor is a base64 encoded string of the page and
|
|
533
|
+
* limit. The page is the page number and the limit is the number of items per
|
|
534
|
+
* page. The cursor is used to paginate through the items. The cursor is not
|
|
535
|
+
* required for the first page.
|
|
170
536
|
*/
|
|
171
537
|
cursor?: string;
|
|
172
538
|
|
|
173
539
|
/**
|
|
174
|
-
*
|
|
540
|
+
* Filter to only show important/featured tools (set to "true" to enable)
|
|
541
|
+
*/
|
|
542
|
+
important?: 'true' | 'false';
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* Include deprecated tools in the response
|
|
175
546
|
*/
|
|
176
|
-
|
|
547
|
+
include_deprecated?: boolean;
|
|
177
548
|
|
|
178
549
|
/**
|
|
179
|
-
*
|
|
550
|
+
* Number of items per page, max allowed is 1000
|
|
180
551
|
*/
|
|
181
|
-
limit?:
|
|
552
|
+
limit?: number | null;
|
|
182
553
|
|
|
183
554
|
/**
|
|
184
|
-
*
|
|
555
|
+
* Full-text search query to filter tools by name, slug, or description. Applied as
|
|
556
|
+
* a soft filter on top of other filters.
|
|
557
|
+
*/
|
|
558
|
+
query?: string;
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* Array of scopes to filter tools by)
|
|
562
|
+
*/
|
|
563
|
+
scopes?: Array<string> | null;
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* Deprecated: use "query" instead. Free-text search query to find tools by name,
|
|
567
|
+
* description, or functionality.
|
|
185
568
|
*/
|
|
186
569
|
search?: string;
|
|
187
570
|
|
|
571
|
+
/**
|
|
572
|
+
* Filter tools by one or more tags (can be specified multiple times)
|
|
573
|
+
*/
|
|
574
|
+
tags?: Array<string>;
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* Comma-separated list of specific tool slugs to retrieve (overrides other
|
|
578
|
+
* filters)
|
|
579
|
+
*/
|
|
580
|
+
tool_slugs?: string;
|
|
581
|
+
|
|
188
582
|
/**
|
|
189
583
|
* The slug of the toolkit to filter by
|
|
190
584
|
*/
|
|
191
585
|
toolkit_slug?: string;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* Toolkit version specification. Use "latest" for latest versions or bracket
|
|
589
|
+
* notation for specific versions per toolkit.
|
|
590
|
+
*/
|
|
591
|
+
toolkit_versions?: string | { [key: string]: string };
|
|
192
592
|
}
|
|
193
593
|
|
|
194
594
|
export interface ToolExecuteParams {
|
|
195
|
-
|
|
595
|
+
/**
|
|
596
|
+
* @deprecated Body param: Deprecated. Enable debug tracing for tool execution
|
|
597
|
+
* (useful for debugging)
|
|
598
|
+
*/
|
|
599
|
+
allow_tracing?: boolean | null;
|
|
196
600
|
|
|
197
|
-
|
|
601
|
+
/**
|
|
602
|
+
* Body param: Key-value pairs of arguments required by the tool (mutually
|
|
603
|
+
* exclusive with text)
|
|
604
|
+
*/
|
|
605
|
+
arguments?: { [key: string]: unknown };
|
|
198
606
|
|
|
607
|
+
/**
|
|
608
|
+
* Body param: Unique identifier for the connected account to use for
|
|
609
|
+
* authentication
|
|
610
|
+
*/
|
|
199
611
|
connected_account_id?: string;
|
|
200
612
|
|
|
613
|
+
/**
|
|
614
|
+
* Body param: Custom authentication parameters for tools that support
|
|
615
|
+
* parameterized authentication
|
|
616
|
+
*/
|
|
617
|
+
custom_auth_params?: ToolExecuteParams.CustomAuthParams;
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* Body param: Custom connection data for tools that support custom connection data
|
|
621
|
+
*/
|
|
622
|
+
custom_connection_data?:
|
|
623
|
+
| ToolExecuteParams.UnionMember0
|
|
624
|
+
| ToolExecuteParams.UnionMember1
|
|
625
|
+
| ToolExecuteParams.UnionMember2
|
|
626
|
+
| ToolExecuteParams.UnionMember3
|
|
627
|
+
| ToolExecuteParams.UnionMember4
|
|
628
|
+
| ToolExecuteParams.UnionMember5
|
|
629
|
+
| ToolExecuteParams.UnionMember6
|
|
630
|
+
| ToolExecuteParams.UnionMember7
|
|
631
|
+
| ToolExecuteParams.UnionMember8
|
|
632
|
+
| ToolExecuteParams.UnionMember9
|
|
633
|
+
| ToolExecuteParams.UnionMember10;
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* @deprecated Body param: Deprecated: please use user_id instead. Entity
|
|
637
|
+
* identifier for multi-entity connected accounts (e.g. multiple repositories,
|
|
638
|
+
* organizations)
|
|
639
|
+
*/
|
|
201
640
|
entity_id?: string;
|
|
202
641
|
|
|
642
|
+
/**
|
|
643
|
+
* Body param: Natural language description of the task to perform (mutually
|
|
644
|
+
* exclusive with arguments)
|
|
645
|
+
*/
|
|
203
646
|
text?: string;
|
|
204
647
|
|
|
205
|
-
|
|
206
|
-
|
|
648
|
+
/**
|
|
649
|
+
* Body param: User id for multi-user connected accounts (e.g. multiple users,
|
|
650
|
+
* organizations)
|
|
651
|
+
*/
|
|
652
|
+
user_id?: string;
|
|
207
653
|
|
|
208
|
-
export interface ToolGetInputParams {
|
|
209
654
|
/**
|
|
210
|
-
*
|
|
211
|
-
* generate the correct inputs for the action.
|
|
655
|
+
* Body param: Tool version to execute (defaults to "00000000_00" if not specified)
|
|
212
656
|
*/
|
|
213
|
-
|
|
657
|
+
version?: string;
|
|
214
658
|
|
|
215
659
|
/**
|
|
216
|
-
*
|
|
217
|
-
*
|
|
660
|
+
* Header param: JSON object containing custom headers to pass to LLM providers
|
|
661
|
+
* (OpenAI, Bedrock, etc.)
|
|
218
662
|
*/
|
|
219
|
-
|
|
663
|
+
'x-llm-gateway-headers'?: string;
|
|
664
|
+
}
|
|
220
665
|
|
|
666
|
+
export namespace ToolExecuteParams {
|
|
221
667
|
/**
|
|
222
|
-
*
|
|
223
|
-
*
|
|
668
|
+
* Custom authentication parameters for tools that support parameterized
|
|
669
|
+
* authentication
|
|
224
670
|
*/
|
|
225
|
-
|
|
671
|
+
export interface CustomAuthParams {
|
|
672
|
+
/**
|
|
673
|
+
* The base URL (root address) what you should use while making http requests to
|
|
674
|
+
* the connected account. For example, for gmail, it would be
|
|
675
|
+
* 'https://gmail.googleapis.com'
|
|
676
|
+
*/
|
|
677
|
+
base_url?: string;
|
|
226
678
|
|
|
227
|
-
|
|
228
|
-
|
|
679
|
+
/**
|
|
680
|
+
* The body to be sent to the endpoint for authentication. This is a JSON object.
|
|
681
|
+
* Note: This is very rarely needed and is only required by very few apps.
|
|
682
|
+
*/
|
|
683
|
+
body?: { [key: string]: unknown };
|
|
229
684
|
|
|
230
|
-
|
|
231
|
-
|
|
685
|
+
parameters?: Array<CustomAuthParams.Parameter>;
|
|
686
|
+
}
|
|
232
687
|
|
|
233
|
-
|
|
688
|
+
export namespace CustomAuthParams {
|
|
689
|
+
export interface Parameter {
|
|
690
|
+
/**
|
|
691
|
+
* The location of the parameter. Can be 'query' or 'header'.
|
|
692
|
+
*/
|
|
693
|
+
in: 'query' | 'header';
|
|
234
694
|
|
|
235
|
-
|
|
695
|
+
/**
|
|
696
|
+
* The name of the parameter. For example, 'x-api-key', 'Content-Type', etc.
|
|
697
|
+
*/
|
|
698
|
+
name: string;
|
|
236
699
|
|
|
237
|
-
|
|
700
|
+
/**
|
|
701
|
+
* The value of the parameter. For example, '1234567890', 'application/json', etc.
|
|
702
|
+
*/
|
|
703
|
+
value: string | number;
|
|
704
|
+
}
|
|
705
|
+
}
|
|
238
706
|
|
|
239
|
-
|
|
240
|
-
|
|
707
|
+
export interface UnionMember0 {
|
|
708
|
+
authScheme: 'OAUTH2';
|
|
241
709
|
|
|
242
|
-
|
|
243
|
-
export interface Parameter {
|
|
244
|
-
name: string;
|
|
710
|
+
toolkitSlug: string;
|
|
245
711
|
|
|
246
|
-
|
|
712
|
+
val: UnionMember0.Val;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
export namespace UnionMember0 {
|
|
716
|
+
export interface Val {
|
|
717
|
+
access_token: string;
|
|
718
|
+
|
|
719
|
+
account_id?: string;
|
|
720
|
+
|
|
721
|
+
account_url?: string;
|
|
722
|
+
|
|
723
|
+
api_url?: string;
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* for slack user scopes
|
|
727
|
+
*/
|
|
728
|
+
authed_user?: Val.AuthedUser;
|
|
729
|
+
|
|
730
|
+
base_url?: string;
|
|
731
|
+
|
|
732
|
+
borneo_dashboard_url?: string;
|
|
733
|
+
|
|
734
|
+
COMPANYDOMAIN?: string;
|
|
735
|
+
|
|
736
|
+
dc?: string;
|
|
737
|
+
|
|
738
|
+
domain?: string;
|
|
739
|
+
|
|
740
|
+
expires_in?: number | string | null;
|
|
741
|
+
|
|
742
|
+
extension?: string;
|
|
247
743
|
|
|
744
|
+
extra_token_data?: { [key: string]: unknown };
|
|
745
|
+
|
|
746
|
+
form_api_base_url?: string;
|
|
747
|
+
|
|
748
|
+
id_token?: string;
|
|
749
|
+
|
|
750
|
+
instanceEndpoint?: string;
|
|
751
|
+
|
|
752
|
+
instanceName?: string;
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* Whether to return the redirect url without shortening
|
|
756
|
+
*/
|
|
757
|
+
long_redirect_url?: boolean;
|
|
758
|
+
|
|
759
|
+
proxy_password?: string;
|
|
760
|
+
|
|
761
|
+
proxy_username?: string;
|
|
762
|
+
|
|
763
|
+
refresh_token?: string | null;
|
|
764
|
+
|
|
765
|
+
region?: string;
|
|
766
|
+
|
|
767
|
+
scope?: string | Array<string> | null;
|
|
768
|
+
|
|
769
|
+
server_location?: string;
|
|
770
|
+
|
|
771
|
+
shop?: string;
|
|
772
|
+
|
|
773
|
+
site_name?: string;
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* The oauth2 state prefix for the connection
|
|
777
|
+
*/
|
|
778
|
+
state_prefix?: string;
|
|
779
|
+
|
|
780
|
+
subdomain?: string;
|
|
781
|
+
|
|
782
|
+
token_type?: string;
|
|
783
|
+
|
|
784
|
+
version?: string;
|
|
785
|
+
|
|
786
|
+
webhook_signature?: string;
|
|
787
|
+
|
|
788
|
+
your_server?: string;
|
|
789
|
+
|
|
790
|
+
'your-domain'?: string;
|
|
791
|
+
|
|
792
|
+
[k: string]: unknown;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
export namespace Val {
|
|
796
|
+
/**
|
|
797
|
+
* for slack user scopes
|
|
798
|
+
*/
|
|
799
|
+
export interface AuthedUser {
|
|
800
|
+
access_token?: string;
|
|
801
|
+
|
|
802
|
+
scope?: string;
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
export interface UnionMember1 {
|
|
808
|
+
authScheme: 'DCR_OAUTH';
|
|
809
|
+
|
|
810
|
+
toolkitSlug: string;
|
|
811
|
+
|
|
812
|
+
val: UnionMember1.Val;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
export namespace UnionMember1 {
|
|
816
|
+
export interface Val {
|
|
817
|
+
access_token: string;
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* Dynamically registered client ID
|
|
821
|
+
*/
|
|
822
|
+
client_id: string;
|
|
823
|
+
|
|
824
|
+
account_id?: string;
|
|
825
|
+
|
|
826
|
+
account_url?: string;
|
|
827
|
+
|
|
828
|
+
api_url?: string;
|
|
829
|
+
|
|
830
|
+
base_url?: string;
|
|
831
|
+
|
|
832
|
+
borneo_dashboard_url?: string;
|
|
833
|
+
|
|
834
|
+
client_id_issued_at?: number;
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* Dynamically registered client secret
|
|
838
|
+
*/
|
|
839
|
+
client_secret?: string;
|
|
840
|
+
|
|
841
|
+
client_secret_expires_at?: number;
|
|
842
|
+
|
|
843
|
+
COMPANYDOMAIN?: string;
|
|
844
|
+
|
|
845
|
+
dc?: string;
|
|
846
|
+
|
|
847
|
+
domain?: string;
|
|
848
|
+
|
|
849
|
+
expires_in?: number | string | null;
|
|
850
|
+
|
|
851
|
+
extension?: string;
|
|
852
|
+
|
|
853
|
+
form_api_base_url?: string;
|
|
854
|
+
|
|
855
|
+
id_token?: string;
|
|
856
|
+
|
|
857
|
+
instanceEndpoint?: string;
|
|
858
|
+
|
|
859
|
+
instanceName?: string;
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* Whether to return the redirect url without shortening
|
|
863
|
+
*/
|
|
864
|
+
long_redirect_url?: boolean;
|
|
865
|
+
|
|
866
|
+
proxy_password?: string;
|
|
867
|
+
|
|
868
|
+
proxy_username?: string;
|
|
869
|
+
|
|
870
|
+
refresh_token?: string | null;
|
|
871
|
+
|
|
872
|
+
region?: string;
|
|
873
|
+
|
|
874
|
+
scope?: string | Array<string> | null;
|
|
875
|
+
|
|
876
|
+
server_location?: string;
|
|
877
|
+
|
|
878
|
+
shop?: string;
|
|
879
|
+
|
|
880
|
+
site_name?: string;
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* The oauth2 state prefix for the connection
|
|
884
|
+
*/
|
|
885
|
+
state_prefix?: string;
|
|
886
|
+
|
|
887
|
+
subdomain?: string;
|
|
888
|
+
|
|
889
|
+
token_type?: string;
|
|
890
|
+
|
|
891
|
+
version?: string;
|
|
892
|
+
|
|
893
|
+
your_server?: string;
|
|
894
|
+
|
|
895
|
+
'your-domain'?: string;
|
|
896
|
+
|
|
897
|
+
[k: string]: unknown;
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
export interface UnionMember2 {
|
|
902
|
+
authScheme: 'API_KEY';
|
|
903
|
+
|
|
904
|
+
toolkitSlug: string;
|
|
905
|
+
|
|
906
|
+
val: UnionMember2.Val;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
export namespace UnionMember2 {
|
|
910
|
+
export interface Val {
|
|
911
|
+
account_id?: string;
|
|
912
|
+
|
|
913
|
+
account_url?: string;
|
|
914
|
+
|
|
915
|
+
api_key?: string;
|
|
916
|
+
|
|
917
|
+
api_url?: string;
|
|
918
|
+
|
|
919
|
+
base_url?: string;
|
|
920
|
+
|
|
921
|
+
basic_encoded?: string;
|
|
922
|
+
|
|
923
|
+
bearer_token?: string;
|
|
924
|
+
|
|
925
|
+
borneo_dashboard_url?: string;
|
|
926
|
+
|
|
927
|
+
COMPANYDOMAIN?: string;
|
|
928
|
+
|
|
929
|
+
dc?: string;
|
|
930
|
+
|
|
931
|
+
domain?: string;
|
|
932
|
+
|
|
933
|
+
extension?: string;
|
|
934
|
+
|
|
935
|
+
form_api_base_url?: string;
|
|
936
|
+
|
|
937
|
+
generic_api_key?: string;
|
|
938
|
+
|
|
939
|
+
instanceEndpoint?: string;
|
|
940
|
+
|
|
941
|
+
instanceName?: string;
|
|
942
|
+
|
|
943
|
+
proxy_password?: string;
|
|
944
|
+
|
|
945
|
+
proxy_username?: string;
|
|
946
|
+
|
|
947
|
+
region?: string;
|
|
948
|
+
|
|
949
|
+
server_location?: string;
|
|
950
|
+
|
|
951
|
+
shop?: string;
|
|
952
|
+
|
|
953
|
+
site_name?: string;
|
|
954
|
+
|
|
955
|
+
subdomain?: string;
|
|
956
|
+
|
|
957
|
+
version?: string;
|
|
958
|
+
|
|
959
|
+
your_server?: string;
|
|
960
|
+
|
|
961
|
+
'your-domain'?: string;
|
|
962
|
+
|
|
963
|
+
[k: string]: unknown;
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
export interface UnionMember3 {
|
|
968
|
+
authScheme: 'BASIC_WITH_JWT';
|
|
969
|
+
|
|
970
|
+
toolkitSlug: string;
|
|
971
|
+
|
|
972
|
+
val: UnionMember3.Val;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
export namespace UnionMember3 {
|
|
976
|
+
export interface Val {
|
|
977
|
+
password: string;
|
|
978
|
+
|
|
979
|
+
username: string;
|
|
980
|
+
|
|
981
|
+
account_id?: string;
|
|
982
|
+
|
|
983
|
+
account_url?: string;
|
|
984
|
+
|
|
985
|
+
api_url?: string;
|
|
986
|
+
|
|
987
|
+
base_url?: string;
|
|
988
|
+
|
|
989
|
+
borneo_dashboard_url?: string;
|
|
990
|
+
|
|
991
|
+
COMPANYDOMAIN?: string;
|
|
992
|
+
|
|
993
|
+
dc?: string;
|
|
994
|
+
|
|
995
|
+
domain?: string;
|
|
996
|
+
|
|
997
|
+
extension?: string;
|
|
998
|
+
|
|
999
|
+
form_api_base_url?: string;
|
|
1000
|
+
|
|
1001
|
+
instanceEndpoint?: string;
|
|
1002
|
+
|
|
1003
|
+
instanceName?: string;
|
|
1004
|
+
|
|
1005
|
+
proxy_password?: string;
|
|
1006
|
+
|
|
1007
|
+
proxy_username?: string;
|
|
1008
|
+
|
|
1009
|
+
region?: string;
|
|
1010
|
+
|
|
1011
|
+
server_location?: string;
|
|
1012
|
+
|
|
1013
|
+
shop?: string;
|
|
1014
|
+
|
|
1015
|
+
site_name?: string;
|
|
1016
|
+
|
|
1017
|
+
subdomain?: string;
|
|
1018
|
+
|
|
1019
|
+
version?: string;
|
|
1020
|
+
|
|
1021
|
+
your_server?: string;
|
|
1022
|
+
|
|
1023
|
+
'your-domain'?: string;
|
|
1024
|
+
|
|
1025
|
+
[k: string]: unknown;
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
export interface UnionMember4 {
|
|
1030
|
+
authScheme: 'BASIC';
|
|
1031
|
+
|
|
1032
|
+
toolkitSlug: string;
|
|
1033
|
+
|
|
1034
|
+
val: UnionMember4.Val;
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
export namespace UnionMember4 {
|
|
1038
|
+
export interface Val {
|
|
1039
|
+
username: string;
|
|
1040
|
+
|
|
1041
|
+
account_id?: string;
|
|
1042
|
+
|
|
1043
|
+
account_url?: string;
|
|
1044
|
+
|
|
1045
|
+
api_url?: string;
|
|
1046
|
+
|
|
1047
|
+
base_url?: string;
|
|
1048
|
+
|
|
1049
|
+
borneo_dashboard_url?: string;
|
|
1050
|
+
|
|
1051
|
+
COMPANYDOMAIN?: string;
|
|
1052
|
+
|
|
1053
|
+
dc?: string;
|
|
1054
|
+
|
|
1055
|
+
domain?: string;
|
|
1056
|
+
|
|
1057
|
+
extension?: string;
|
|
1058
|
+
|
|
1059
|
+
form_api_base_url?: string;
|
|
1060
|
+
|
|
1061
|
+
instanceEndpoint?: string;
|
|
1062
|
+
|
|
1063
|
+
instanceName?: string;
|
|
1064
|
+
|
|
1065
|
+
password?: string;
|
|
1066
|
+
|
|
1067
|
+
proxy_password?: string;
|
|
1068
|
+
|
|
1069
|
+
proxy_username?: string;
|
|
1070
|
+
|
|
1071
|
+
region?: string;
|
|
1072
|
+
|
|
1073
|
+
server_location?: string;
|
|
1074
|
+
|
|
1075
|
+
shop?: string;
|
|
1076
|
+
|
|
1077
|
+
site_name?: string;
|
|
1078
|
+
|
|
1079
|
+
subdomain?: string;
|
|
1080
|
+
|
|
1081
|
+
version?: string;
|
|
1082
|
+
|
|
1083
|
+
your_server?: string;
|
|
1084
|
+
|
|
1085
|
+
'your-domain'?: string;
|
|
1086
|
+
|
|
1087
|
+
[k: string]: unknown;
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
export interface UnionMember5 {
|
|
1092
|
+
authScheme: 'BEARER_TOKEN';
|
|
1093
|
+
|
|
1094
|
+
toolkitSlug: string;
|
|
1095
|
+
|
|
1096
|
+
val: UnionMember5.Val;
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
export namespace UnionMember5 {
|
|
1100
|
+
export interface Val {
|
|
1101
|
+
token: string;
|
|
1102
|
+
|
|
1103
|
+
account_id?: string;
|
|
1104
|
+
|
|
1105
|
+
account_url?: string;
|
|
1106
|
+
|
|
1107
|
+
api_url?: string;
|
|
1108
|
+
|
|
1109
|
+
base_url?: string;
|
|
1110
|
+
|
|
1111
|
+
borneo_dashboard_url?: string;
|
|
1112
|
+
|
|
1113
|
+
COMPANYDOMAIN?: string;
|
|
1114
|
+
|
|
1115
|
+
dc?: string;
|
|
1116
|
+
|
|
1117
|
+
domain?: string;
|
|
1118
|
+
|
|
1119
|
+
extension?: string;
|
|
1120
|
+
|
|
1121
|
+
form_api_base_url?: string;
|
|
1122
|
+
|
|
1123
|
+
instanceEndpoint?: string;
|
|
1124
|
+
|
|
1125
|
+
instanceName?: string;
|
|
1126
|
+
|
|
1127
|
+
proxy_password?: string;
|
|
1128
|
+
|
|
1129
|
+
proxy_username?: string;
|
|
1130
|
+
|
|
1131
|
+
region?: string;
|
|
1132
|
+
|
|
1133
|
+
server_location?: string;
|
|
1134
|
+
|
|
1135
|
+
shop?: string;
|
|
1136
|
+
|
|
1137
|
+
site_name?: string;
|
|
1138
|
+
|
|
1139
|
+
subdomain?: string;
|
|
1140
|
+
|
|
1141
|
+
version?: string;
|
|
1142
|
+
|
|
1143
|
+
your_server?: string;
|
|
1144
|
+
|
|
1145
|
+
'your-domain'?: string;
|
|
1146
|
+
|
|
1147
|
+
[k: string]: unknown;
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
export interface UnionMember6 {
|
|
1152
|
+
authScheme: 'OAUTH1';
|
|
1153
|
+
|
|
1154
|
+
toolkitSlug: string;
|
|
1155
|
+
|
|
1156
|
+
val: UnionMember6.Val;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
export namespace UnionMember6 {
|
|
1160
|
+
export interface Val {
|
|
1161
|
+
oauth_token: string;
|
|
1162
|
+
|
|
1163
|
+
oauth_token_secret: string;
|
|
1164
|
+
|
|
1165
|
+
account_id?: string;
|
|
1166
|
+
|
|
1167
|
+
account_url?: string;
|
|
1168
|
+
|
|
1169
|
+
api_url?: string;
|
|
1170
|
+
|
|
1171
|
+
base_url?: string;
|
|
1172
|
+
|
|
1173
|
+
borneo_dashboard_url?: string;
|
|
1174
|
+
|
|
1175
|
+
callback_url?: string;
|
|
1176
|
+
|
|
1177
|
+
COMPANYDOMAIN?: string;
|
|
1178
|
+
|
|
1179
|
+
consumer_key?: string;
|
|
1180
|
+
|
|
1181
|
+
dc?: string;
|
|
1182
|
+
|
|
1183
|
+
domain?: string;
|
|
1184
|
+
|
|
1185
|
+
extension?: string;
|
|
1186
|
+
|
|
1187
|
+
form_api_base_url?: string;
|
|
1188
|
+
|
|
1189
|
+
instanceEndpoint?: string;
|
|
1190
|
+
|
|
1191
|
+
instanceName?: string;
|
|
1192
|
+
|
|
1193
|
+
oauth_verifier?: string;
|
|
1194
|
+
|
|
1195
|
+
proxy_password?: string;
|
|
1196
|
+
|
|
1197
|
+
proxy_username?: string;
|
|
1198
|
+
|
|
1199
|
+
redirectUrl?: string;
|
|
1200
|
+
|
|
1201
|
+
region?: string;
|
|
1202
|
+
|
|
1203
|
+
server_location?: string;
|
|
1204
|
+
|
|
1205
|
+
shop?: string;
|
|
1206
|
+
|
|
1207
|
+
site_name?: string;
|
|
1208
|
+
|
|
1209
|
+
subdomain?: string;
|
|
1210
|
+
|
|
1211
|
+
version?: string;
|
|
1212
|
+
|
|
1213
|
+
your_server?: string;
|
|
1214
|
+
|
|
1215
|
+
'your-domain'?: string;
|
|
1216
|
+
|
|
1217
|
+
[k: string]: unknown;
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
export interface UnionMember7 {
|
|
1222
|
+
authScheme: 'NO_AUTH';
|
|
1223
|
+
|
|
1224
|
+
toolkitSlug: string;
|
|
1225
|
+
|
|
1226
|
+
val: UnionMember7.Val;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
export namespace UnionMember7 {
|
|
1230
|
+
export interface Val {
|
|
1231
|
+
account_id?: string;
|
|
1232
|
+
|
|
1233
|
+
account_url?: string;
|
|
1234
|
+
|
|
1235
|
+
api_url?: string;
|
|
1236
|
+
|
|
1237
|
+
base_url?: string;
|
|
1238
|
+
|
|
1239
|
+
borneo_dashboard_url?: string;
|
|
1240
|
+
|
|
1241
|
+
COMPANYDOMAIN?: string;
|
|
1242
|
+
|
|
1243
|
+
dc?: string;
|
|
1244
|
+
|
|
1245
|
+
domain?: string;
|
|
1246
|
+
|
|
1247
|
+
extension?: string;
|
|
1248
|
+
|
|
1249
|
+
form_api_base_url?: string;
|
|
1250
|
+
|
|
1251
|
+
instanceEndpoint?: string;
|
|
1252
|
+
|
|
1253
|
+
instanceName?: string;
|
|
1254
|
+
|
|
1255
|
+
proxy_password?: string;
|
|
1256
|
+
|
|
1257
|
+
proxy_username?: string;
|
|
1258
|
+
|
|
1259
|
+
region?: string;
|
|
1260
|
+
|
|
1261
|
+
server_location?: string;
|
|
1262
|
+
|
|
1263
|
+
shop?: string;
|
|
1264
|
+
|
|
1265
|
+
site_name?: string;
|
|
1266
|
+
|
|
1267
|
+
subdomain?: string;
|
|
1268
|
+
|
|
1269
|
+
version?: string;
|
|
1270
|
+
|
|
1271
|
+
your_server?: string;
|
|
1272
|
+
|
|
1273
|
+
'your-domain'?: string;
|
|
1274
|
+
|
|
1275
|
+
[k: string]: unknown;
|
|
1276
|
+
}
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
export interface UnionMember8 {
|
|
1280
|
+
authScheme: 'SERVICE_ACCOUNT';
|
|
1281
|
+
|
|
1282
|
+
toolkitSlug: string;
|
|
1283
|
+
|
|
1284
|
+
val: UnionMember8.Val;
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
export namespace UnionMember8 {
|
|
1288
|
+
export interface Val {
|
|
1289
|
+
application_id: string;
|
|
1290
|
+
|
|
1291
|
+
installation_id: string;
|
|
1292
|
+
|
|
1293
|
+
private_key: string;
|
|
1294
|
+
|
|
1295
|
+
account_id?: string;
|
|
1296
|
+
|
|
1297
|
+
account_url?: string;
|
|
1298
|
+
|
|
1299
|
+
api_url?: string;
|
|
1300
|
+
|
|
1301
|
+
base_url?: string;
|
|
1302
|
+
|
|
1303
|
+
borneo_dashboard_url?: string;
|
|
1304
|
+
|
|
1305
|
+
COMPANYDOMAIN?: string;
|
|
1306
|
+
|
|
1307
|
+
dc?: string;
|
|
1308
|
+
|
|
1309
|
+
domain?: string;
|
|
1310
|
+
|
|
1311
|
+
extension?: string;
|
|
1312
|
+
|
|
1313
|
+
form_api_base_url?: string;
|
|
1314
|
+
|
|
1315
|
+
instanceEndpoint?: string;
|
|
1316
|
+
|
|
1317
|
+
instanceName?: string;
|
|
1318
|
+
|
|
1319
|
+
proxy_password?: string;
|
|
1320
|
+
|
|
1321
|
+
proxy_username?: string;
|
|
1322
|
+
|
|
1323
|
+
region?: string;
|
|
1324
|
+
|
|
1325
|
+
server_location?: string;
|
|
1326
|
+
|
|
1327
|
+
shop?: string;
|
|
1328
|
+
|
|
1329
|
+
site_name?: string;
|
|
1330
|
+
|
|
1331
|
+
subdomain?: string;
|
|
1332
|
+
|
|
1333
|
+
version?: string;
|
|
1334
|
+
|
|
1335
|
+
your_server?: string;
|
|
1336
|
+
|
|
1337
|
+
'your-domain'?: string;
|
|
1338
|
+
|
|
1339
|
+
[k: string]: unknown;
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
export interface UnionMember9 {
|
|
1344
|
+
authScheme: 'GOOGLE_SERVICE_ACCOUNT';
|
|
1345
|
+
|
|
1346
|
+
toolkitSlug: string;
|
|
1347
|
+
|
|
1348
|
+
val: UnionMember9.Val;
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
export namespace UnionMember9 {
|
|
1352
|
+
export interface Val {
|
|
1353
|
+
credentials_json: string;
|
|
1354
|
+
|
|
1355
|
+
account_id?: string;
|
|
1356
|
+
|
|
1357
|
+
account_url?: string;
|
|
1358
|
+
|
|
1359
|
+
api_url?: string;
|
|
1360
|
+
|
|
1361
|
+
base_url?: string;
|
|
1362
|
+
|
|
1363
|
+
borneo_dashboard_url?: string;
|
|
1364
|
+
|
|
1365
|
+
COMPANYDOMAIN?: string;
|
|
1366
|
+
|
|
1367
|
+
dc?: string;
|
|
1368
|
+
|
|
1369
|
+
domain?: string;
|
|
1370
|
+
|
|
1371
|
+
extension?: string;
|
|
1372
|
+
|
|
1373
|
+
form_api_base_url?: string;
|
|
1374
|
+
|
|
1375
|
+
instanceEndpoint?: string;
|
|
1376
|
+
|
|
1377
|
+
instanceName?: string;
|
|
1378
|
+
|
|
1379
|
+
proxy_password?: string;
|
|
1380
|
+
|
|
1381
|
+
proxy_username?: string;
|
|
1382
|
+
|
|
1383
|
+
region?: string;
|
|
1384
|
+
|
|
1385
|
+
server_location?: string;
|
|
1386
|
+
|
|
1387
|
+
shop?: string;
|
|
1388
|
+
|
|
1389
|
+
site_name?: string;
|
|
1390
|
+
|
|
1391
|
+
subdomain?: string;
|
|
1392
|
+
|
|
1393
|
+
version?: string;
|
|
1394
|
+
|
|
1395
|
+
your_server?: string;
|
|
1396
|
+
|
|
1397
|
+
'your-domain'?: string;
|
|
1398
|
+
|
|
1399
|
+
[k: string]: unknown;
|
|
1400
|
+
}
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
export interface UnionMember10 {
|
|
1404
|
+
authScheme: 'S2S_OAUTH2';
|
|
1405
|
+
|
|
1406
|
+
toolkitSlug: string;
|
|
1407
|
+
|
|
1408
|
+
val: UnionMember10.Val;
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
export namespace UnionMember10 {
|
|
1412
|
+
export interface Val {
|
|
1413
|
+
access_token: string;
|
|
1414
|
+
|
|
1415
|
+
client_id: string;
|
|
1416
|
+
|
|
1417
|
+
client_secret: string;
|
|
1418
|
+
|
|
1419
|
+
account_id?: string;
|
|
1420
|
+
|
|
1421
|
+
account_url?: string;
|
|
1422
|
+
|
|
1423
|
+
api_url?: string;
|
|
1424
|
+
|
|
1425
|
+
base_url?: string;
|
|
1426
|
+
|
|
1427
|
+
borneo_dashboard_url?: string;
|
|
1428
|
+
|
|
1429
|
+
COMPANYDOMAIN?: string;
|
|
1430
|
+
|
|
1431
|
+
dc?: string;
|
|
1432
|
+
|
|
1433
|
+
domain?: string;
|
|
1434
|
+
|
|
1435
|
+
expires_at?: string;
|
|
1436
|
+
|
|
1437
|
+
expires_in?: number | string | null;
|
|
1438
|
+
|
|
1439
|
+
extension?: string;
|
|
1440
|
+
|
|
1441
|
+
form_api_base_url?: string;
|
|
1442
|
+
|
|
1443
|
+
instanceEndpoint?: string;
|
|
1444
|
+
|
|
1445
|
+
instanceName?: string;
|
|
1446
|
+
|
|
1447
|
+
proxy_password?: string;
|
|
1448
|
+
|
|
1449
|
+
proxy_username?: string;
|
|
1450
|
+
|
|
1451
|
+
region?: string;
|
|
1452
|
+
|
|
1453
|
+
scope?: string | Array<string> | null;
|
|
1454
|
+
|
|
1455
|
+
server_location?: string;
|
|
1456
|
+
|
|
1457
|
+
shop?: string;
|
|
1458
|
+
|
|
1459
|
+
site_name?: string;
|
|
1460
|
+
|
|
1461
|
+
subdomain?: string;
|
|
1462
|
+
|
|
1463
|
+
token_type?: string;
|
|
1464
|
+
|
|
1465
|
+
version?: string;
|
|
1466
|
+
|
|
1467
|
+
your_server?: string;
|
|
1468
|
+
|
|
1469
|
+
'your-domain'?: string;
|
|
1470
|
+
|
|
1471
|
+
[k: string]: unknown;
|
|
1472
|
+
}
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
export interface ToolGetInputParams {
|
|
1477
|
+
/**
|
|
1478
|
+
* Natural language description of what you want to accomplish with this tool
|
|
1479
|
+
*/
|
|
1480
|
+
text: string;
|
|
1481
|
+
|
|
1482
|
+
/**
|
|
1483
|
+
* Custom description of the tool to help guide the LLM in generating more accurate
|
|
1484
|
+
* inputs
|
|
1485
|
+
*/
|
|
1486
|
+
custom_description?: string;
|
|
1487
|
+
|
|
1488
|
+
/**
|
|
1489
|
+
* System prompt to control and guide the behavior of the LLM when generating
|
|
1490
|
+
* inputs
|
|
1491
|
+
*/
|
|
1492
|
+
system_prompt?: string;
|
|
1493
|
+
|
|
1494
|
+
/**
|
|
1495
|
+
* Tool version to use when generating inputs (defaults to "latest" if not
|
|
1496
|
+
* specified)
|
|
1497
|
+
*/
|
|
1498
|
+
version?: string;
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
export interface ToolProxyParams {
|
|
1502
|
+
/**
|
|
1503
|
+
* The API endpoint to call (absolute URL or path relative to base URL of the
|
|
1504
|
+
* connected account)
|
|
1505
|
+
*/
|
|
1506
|
+
endpoint: string;
|
|
1507
|
+
|
|
1508
|
+
/**
|
|
1509
|
+
* The HTTP method to use for the request
|
|
1510
|
+
*/
|
|
1511
|
+
method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD';
|
|
1512
|
+
|
|
1513
|
+
/**
|
|
1514
|
+
* Binary body to send. For binary upload via URL: use {url: "https://...",
|
|
1515
|
+
* content_type?: "..."}. For binary upload via base64: use {base64: "...",
|
|
1516
|
+
* content_type?: "..."}.
|
|
1517
|
+
*/
|
|
1518
|
+
binary_body?: ToolProxyParams.UnionMember0 | ToolProxyParams.UnionMember1;
|
|
1519
|
+
|
|
1520
|
+
/**
|
|
1521
|
+
* The request body (for POST, PUT, and PATCH requests)
|
|
1522
|
+
*/
|
|
1523
|
+
body?: unknown;
|
|
1524
|
+
|
|
1525
|
+
/**
|
|
1526
|
+
* The ID of the connected account to use for authentication (if not provided, will
|
|
1527
|
+
* use the default account for the project)
|
|
1528
|
+
*/
|
|
1529
|
+
connected_account_id?: string;
|
|
1530
|
+
|
|
1531
|
+
/**
|
|
1532
|
+
* @deprecated
|
|
1533
|
+
*/
|
|
1534
|
+
custom_connection_data?:
|
|
1535
|
+
| ToolProxyParams.UnionMember0
|
|
1536
|
+
| ToolProxyParams.UnionMember1
|
|
1537
|
+
| ToolProxyParams.UnionMember2
|
|
1538
|
+
| ToolProxyParams.UnionMember3
|
|
1539
|
+
| ToolProxyParams.UnionMember4
|
|
1540
|
+
| ToolProxyParams.UnionMember5
|
|
1541
|
+
| ToolProxyParams.UnionMember6
|
|
1542
|
+
| ToolProxyParams.UnionMember7
|
|
1543
|
+
| ToolProxyParams.UnionMember8
|
|
1544
|
+
| ToolProxyParams.UnionMember9
|
|
1545
|
+
| ToolProxyParams.UnionMember10;
|
|
1546
|
+
|
|
1547
|
+
/**
|
|
1548
|
+
* Additional HTTP headers or query parameters to include in the request
|
|
1549
|
+
*/
|
|
1550
|
+
parameters?: Array<ToolProxyParams.Parameter>;
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
export namespace ToolProxyParams {
|
|
1554
|
+
export interface UnionMember0 {
|
|
1555
|
+
/**
|
|
1556
|
+
* URL to fetch binary content from
|
|
1557
|
+
*/
|
|
1558
|
+
url: string;
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* Content-Type header to use for the request
|
|
1562
|
+
*/
|
|
1563
|
+
content_type?: string;
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
export interface UnionMember1 {
|
|
1567
|
+
/**
|
|
1568
|
+
* Base64-encoded binary data
|
|
1569
|
+
*/
|
|
1570
|
+
base64: string;
|
|
1571
|
+
|
|
1572
|
+
/**
|
|
1573
|
+
* Content-Type header to use for the request
|
|
1574
|
+
*/
|
|
1575
|
+
content_type?: string;
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
export interface UnionMember0 {
|
|
1579
|
+
authScheme: 'OAUTH2';
|
|
1580
|
+
|
|
1581
|
+
toolkitSlug: string;
|
|
1582
|
+
|
|
1583
|
+
val: UnionMember0.Val;
|
|
1584
|
+
}
|
|
1585
|
+
|
|
1586
|
+
export namespace UnionMember0 {
|
|
1587
|
+
export interface Val {
|
|
1588
|
+
access_token: string;
|
|
1589
|
+
|
|
1590
|
+
account_id?: string;
|
|
1591
|
+
|
|
1592
|
+
account_url?: string;
|
|
1593
|
+
|
|
1594
|
+
api_url?: string;
|
|
1595
|
+
|
|
1596
|
+
/**
|
|
1597
|
+
* for slack user scopes
|
|
1598
|
+
*/
|
|
1599
|
+
authed_user?: Val.AuthedUser;
|
|
1600
|
+
|
|
1601
|
+
base_url?: string;
|
|
1602
|
+
|
|
1603
|
+
borneo_dashboard_url?: string;
|
|
1604
|
+
|
|
1605
|
+
COMPANYDOMAIN?: string;
|
|
1606
|
+
|
|
1607
|
+
dc?: string;
|
|
1608
|
+
|
|
1609
|
+
domain?: string;
|
|
1610
|
+
|
|
1611
|
+
expires_in?: number | string | null;
|
|
1612
|
+
|
|
1613
|
+
extension?: string;
|
|
1614
|
+
|
|
1615
|
+
extra_token_data?: { [key: string]: unknown };
|
|
1616
|
+
|
|
1617
|
+
form_api_base_url?: string;
|
|
1618
|
+
|
|
1619
|
+
id_token?: string;
|
|
1620
|
+
|
|
1621
|
+
instanceEndpoint?: string;
|
|
1622
|
+
|
|
1623
|
+
instanceName?: string;
|
|
1624
|
+
|
|
1625
|
+
/**
|
|
1626
|
+
* Whether to return the redirect url without shortening
|
|
1627
|
+
*/
|
|
1628
|
+
long_redirect_url?: boolean;
|
|
1629
|
+
|
|
1630
|
+
proxy_password?: string;
|
|
1631
|
+
|
|
1632
|
+
proxy_username?: string;
|
|
1633
|
+
|
|
1634
|
+
refresh_token?: string | null;
|
|
1635
|
+
|
|
1636
|
+
region?: string;
|
|
1637
|
+
|
|
1638
|
+
scope?: string | Array<string> | null;
|
|
1639
|
+
|
|
1640
|
+
server_location?: string;
|
|
1641
|
+
|
|
1642
|
+
shop?: string;
|
|
1643
|
+
|
|
1644
|
+
site_name?: string;
|
|
1645
|
+
|
|
1646
|
+
/**
|
|
1647
|
+
* The oauth2 state prefix for the connection
|
|
1648
|
+
*/
|
|
1649
|
+
state_prefix?: string;
|
|
1650
|
+
|
|
1651
|
+
subdomain?: string;
|
|
1652
|
+
|
|
1653
|
+
token_type?: string;
|
|
1654
|
+
|
|
1655
|
+
version?: string;
|
|
1656
|
+
|
|
1657
|
+
webhook_signature?: string;
|
|
1658
|
+
|
|
1659
|
+
your_server?: string;
|
|
1660
|
+
|
|
1661
|
+
'your-domain'?: string;
|
|
1662
|
+
|
|
1663
|
+
[k: string]: unknown;
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
export namespace Val {
|
|
1667
|
+
/**
|
|
1668
|
+
* for slack user scopes
|
|
1669
|
+
*/
|
|
1670
|
+
export interface AuthedUser {
|
|
1671
|
+
access_token?: string;
|
|
1672
|
+
|
|
1673
|
+
scope?: string;
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
export interface UnionMember1 {
|
|
1679
|
+
authScheme: 'DCR_OAUTH';
|
|
1680
|
+
|
|
1681
|
+
toolkitSlug: string;
|
|
1682
|
+
|
|
1683
|
+
val: UnionMember1.Val;
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
export namespace UnionMember1 {
|
|
1687
|
+
export interface Val {
|
|
1688
|
+
access_token: string;
|
|
1689
|
+
|
|
1690
|
+
/**
|
|
1691
|
+
* Dynamically registered client ID
|
|
1692
|
+
*/
|
|
1693
|
+
client_id: string;
|
|
1694
|
+
|
|
1695
|
+
account_id?: string;
|
|
1696
|
+
|
|
1697
|
+
account_url?: string;
|
|
1698
|
+
|
|
1699
|
+
api_url?: string;
|
|
1700
|
+
|
|
1701
|
+
base_url?: string;
|
|
1702
|
+
|
|
1703
|
+
borneo_dashboard_url?: string;
|
|
1704
|
+
|
|
1705
|
+
client_id_issued_at?: number;
|
|
1706
|
+
|
|
1707
|
+
/**
|
|
1708
|
+
* Dynamically registered client secret
|
|
1709
|
+
*/
|
|
1710
|
+
client_secret?: string;
|
|
1711
|
+
|
|
1712
|
+
client_secret_expires_at?: number;
|
|
1713
|
+
|
|
1714
|
+
COMPANYDOMAIN?: string;
|
|
1715
|
+
|
|
1716
|
+
dc?: string;
|
|
1717
|
+
|
|
1718
|
+
domain?: string;
|
|
1719
|
+
|
|
1720
|
+
expires_in?: number | string | null;
|
|
1721
|
+
|
|
1722
|
+
extension?: string;
|
|
1723
|
+
|
|
1724
|
+
form_api_base_url?: string;
|
|
1725
|
+
|
|
1726
|
+
id_token?: string;
|
|
1727
|
+
|
|
1728
|
+
instanceEndpoint?: string;
|
|
1729
|
+
|
|
1730
|
+
instanceName?: string;
|
|
1731
|
+
|
|
1732
|
+
/**
|
|
1733
|
+
* Whether to return the redirect url without shortening
|
|
1734
|
+
*/
|
|
1735
|
+
long_redirect_url?: boolean;
|
|
1736
|
+
|
|
1737
|
+
proxy_password?: string;
|
|
1738
|
+
|
|
1739
|
+
proxy_username?: string;
|
|
1740
|
+
|
|
1741
|
+
refresh_token?: string | null;
|
|
1742
|
+
|
|
1743
|
+
region?: string;
|
|
1744
|
+
|
|
1745
|
+
scope?: string | Array<string> | null;
|
|
1746
|
+
|
|
1747
|
+
server_location?: string;
|
|
1748
|
+
|
|
1749
|
+
shop?: string;
|
|
1750
|
+
|
|
1751
|
+
site_name?: string;
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* The oauth2 state prefix for the connection
|
|
1755
|
+
*/
|
|
1756
|
+
state_prefix?: string;
|
|
1757
|
+
|
|
1758
|
+
subdomain?: string;
|
|
1759
|
+
|
|
1760
|
+
token_type?: string;
|
|
1761
|
+
|
|
1762
|
+
version?: string;
|
|
1763
|
+
|
|
1764
|
+
your_server?: string;
|
|
1765
|
+
|
|
1766
|
+
'your-domain'?: string;
|
|
1767
|
+
|
|
1768
|
+
[k: string]: unknown;
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
export interface UnionMember2 {
|
|
1773
|
+
authScheme: 'API_KEY';
|
|
1774
|
+
|
|
1775
|
+
toolkitSlug: string;
|
|
1776
|
+
|
|
1777
|
+
val: UnionMember2.Val;
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
export namespace UnionMember2 {
|
|
1781
|
+
export interface Val {
|
|
1782
|
+
account_id?: string;
|
|
1783
|
+
|
|
1784
|
+
account_url?: string;
|
|
1785
|
+
|
|
1786
|
+
api_key?: string;
|
|
1787
|
+
|
|
1788
|
+
api_url?: string;
|
|
1789
|
+
|
|
1790
|
+
base_url?: string;
|
|
1791
|
+
|
|
1792
|
+
basic_encoded?: string;
|
|
1793
|
+
|
|
1794
|
+
bearer_token?: string;
|
|
1795
|
+
|
|
1796
|
+
borneo_dashboard_url?: string;
|
|
1797
|
+
|
|
1798
|
+
COMPANYDOMAIN?: string;
|
|
1799
|
+
|
|
1800
|
+
dc?: string;
|
|
1801
|
+
|
|
1802
|
+
domain?: string;
|
|
1803
|
+
|
|
1804
|
+
extension?: string;
|
|
1805
|
+
|
|
1806
|
+
form_api_base_url?: string;
|
|
1807
|
+
|
|
1808
|
+
generic_api_key?: string;
|
|
1809
|
+
|
|
1810
|
+
instanceEndpoint?: string;
|
|
1811
|
+
|
|
1812
|
+
instanceName?: string;
|
|
1813
|
+
|
|
1814
|
+
proxy_password?: string;
|
|
1815
|
+
|
|
1816
|
+
proxy_username?: string;
|
|
1817
|
+
|
|
1818
|
+
region?: string;
|
|
1819
|
+
|
|
1820
|
+
server_location?: string;
|
|
1821
|
+
|
|
1822
|
+
shop?: string;
|
|
1823
|
+
|
|
1824
|
+
site_name?: string;
|
|
1825
|
+
|
|
1826
|
+
subdomain?: string;
|
|
1827
|
+
|
|
1828
|
+
version?: string;
|
|
1829
|
+
|
|
1830
|
+
your_server?: string;
|
|
1831
|
+
|
|
1832
|
+
'your-domain'?: string;
|
|
1833
|
+
|
|
1834
|
+
[k: string]: unknown;
|
|
1835
|
+
}
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
export interface UnionMember3 {
|
|
1839
|
+
authScheme: 'BASIC_WITH_JWT';
|
|
1840
|
+
|
|
1841
|
+
toolkitSlug: string;
|
|
1842
|
+
|
|
1843
|
+
val: UnionMember3.Val;
|
|
1844
|
+
}
|
|
1845
|
+
|
|
1846
|
+
export namespace UnionMember3 {
|
|
1847
|
+
export interface Val {
|
|
1848
|
+
password: string;
|
|
1849
|
+
|
|
1850
|
+
username: string;
|
|
1851
|
+
|
|
1852
|
+
account_id?: string;
|
|
1853
|
+
|
|
1854
|
+
account_url?: string;
|
|
1855
|
+
|
|
1856
|
+
api_url?: string;
|
|
1857
|
+
|
|
1858
|
+
base_url?: string;
|
|
1859
|
+
|
|
1860
|
+
borneo_dashboard_url?: string;
|
|
1861
|
+
|
|
1862
|
+
COMPANYDOMAIN?: string;
|
|
1863
|
+
|
|
1864
|
+
dc?: string;
|
|
1865
|
+
|
|
1866
|
+
domain?: string;
|
|
1867
|
+
|
|
1868
|
+
extension?: string;
|
|
1869
|
+
|
|
1870
|
+
form_api_base_url?: string;
|
|
1871
|
+
|
|
1872
|
+
instanceEndpoint?: string;
|
|
1873
|
+
|
|
1874
|
+
instanceName?: string;
|
|
1875
|
+
|
|
1876
|
+
proxy_password?: string;
|
|
1877
|
+
|
|
1878
|
+
proxy_username?: string;
|
|
1879
|
+
|
|
1880
|
+
region?: string;
|
|
1881
|
+
|
|
1882
|
+
server_location?: string;
|
|
1883
|
+
|
|
1884
|
+
shop?: string;
|
|
1885
|
+
|
|
1886
|
+
site_name?: string;
|
|
1887
|
+
|
|
1888
|
+
subdomain?: string;
|
|
1889
|
+
|
|
1890
|
+
version?: string;
|
|
1891
|
+
|
|
1892
|
+
your_server?: string;
|
|
1893
|
+
|
|
1894
|
+
'your-domain'?: string;
|
|
1895
|
+
|
|
1896
|
+
[k: string]: unknown;
|
|
1897
|
+
}
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
export interface UnionMember4 {
|
|
1901
|
+
authScheme: 'BASIC';
|
|
1902
|
+
|
|
1903
|
+
toolkitSlug: string;
|
|
1904
|
+
|
|
1905
|
+
val: UnionMember4.Val;
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
export namespace UnionMember4 {
|
|
1909
|
+
export interface Val {
|
|
1910
|
+
username: string;
|
|
1911
|
+
|
|
1912
|
+
account_id?: string;
|
|
1913
|
+
|
|
1914
|
+
account_url?: string;
|
|
1915
|
+
|
|
1916
|
+
api_url?: string;
|
|
1917
|
+
|
|
1918
|
+
base_url?: string;
|
|
1919
|
+
|
|
1920
|
+
borneo_dashboard_url?: string;
|
|
1921
|
+
|
|
1922
|
+
COMPANYDOMAIN?: string;
|
|
1923
|
+
|
|
1924
|
+
dc?: string;
|
|
1925
|
+
|
|
1926
|
+
domain?: string;
|
|
1927
|
+
|
|
1928
|
+
extension?: string;
|
|
1929
|
+
|
|
1930
|
+
form_api_base_url?: string;
|
|
1931
|
+
|
|
1932
|
+
instanceEndpoint?: string;
|
|
1933
|
+
|
|
1934
|
+
instanceName?: string;
|
|
1935
|
+
|
|
1936
|
+
password?: string;
|
|
1937
|
+
|
|
1938
|
+
proxy_password?: string;
|
|
1939
|
+
|
|
1940
|
+
proxy_username?: string;
|
|
1941
|
+
|
|
1942
|
+
region?: string;
|
|
1943
|
+
|
|
1944
|
+
server_location?: string;
|
|
1945
|
+
|
|
1946
|
+
shop?: string;
|
|
1947
|
+
|
|
1948
|
+
site_name?: string;
|
|
1949
|
+
|
|
1950
|
+
subdomain?: string;
|
|
1951
|
+
|
|
1952
|
+
version?: string;
|
|
1953
|
+
|
|
1954
|
+
your_server?: string;
|
|
1955
|
+
|
|
1956
|
+
'your-domain'?: string;
|
|
1957
|
+
|
|
1958
|
+
[k: string]: unknown;
|
|
1959
|
+
}
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
export interface UnionMember5 {
|
|
1963
|
+
authScheme: 'BEARER_TOKEN';
|
|
1964
|
+
|
|
1965
|
+
toolkitSlug: string;
|
|
1966
|
+
|
|
1967
|
+
val: UnionMember5.Val;
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
export namespace UnionMember5 {
|
|
1971
|
+
export interface Val {
|
|
1972
|
+
token: string;
|
|
1973
|
+
|
|
1974
|
+
account_id?: string;
|
|
1975
|
+
|
|
1976
|
+
account_url?: string;
|
|
1977
|
+
|
|
1978
|
+
api_url?: string;
|
|
1979
|
+
|
|
1980
|
+
base_url?: string;
|
|
1981
|
+
|
|
1982
|
+
borneo_dashboard_url?: string;
|
|
1983
|
+
|
|
1984
|
+
COMPANYDOMAIN?: string;
|
|
1985
|
+
|
|
1986
|
+
dc?: string;
|
|
1987
|
+
|
|
1988
|
+
domain?: string;
|
|
1989
|
+
|
|
1990
|
+
extension?: string;
|
|
1991
|
+
|
|
1992
|
+
form_api_base_url?: string;
|
|
1993
|
+
|
|
1994
|
+
instanceEndpoint?: string;
|
|
1995
|
+
|
|
1996
|
+
instanceName?: string;
|
|
1997
|
+
|
|
1998
|
+
proxy_password?: string;
|
|
1999
|
+
|
|
2000
|
+
proxy_username?: string;
|
|
2001
|
+
|
|
2002
|
+
region?: string;
|
|
2003
|
+
|
|
2004
|
+
server_location?: string;
|
|
2005
|
+
|
|
2006
|
+
shop?: string;
|
|
2007
|
+
|
|
2008
|
+
site_name?: string;
|
|
2009
|
+
|
|
2010
|
+
subdomain?: string;
|
|
2011
|
+
|
|
2012
|
+
version?: string;
|
|
2013
|
+
|
|
2014
|
+
your_server?: string;
|
|
2015
|
+
|
|
2016
|
+
'your-domain'?: string;
|
|
2017
|
+
|
|
2018
|
+
[k: string]: unknown;
|
|
2019
|
+
}
|
|
2020
|
+
}
|
|
2021
|
+
|
|
2022
|
+
export interface UnionMember6 {
|
|
2023
|
+
authScheme: 'OAUTH1';
|
|
2024
|
+
|
|
2025
|
+
toolkitSlug: string;
|
|
2026
|
+
|
|
2027
|
+
val: UnionMember6.Val;
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
export namespace UnionMember6 {
|
|
2031
|
+
export interface Val {
|
|
2032
|
+
oauth_token: string;
|
|
2033
|
+
|
|
2034
|
+
oauth_token_secret: string;
|
|
2035
|
+
|
|
2036
|
+
account_id?: string;
|
|
2037
|
+
|
|
2038
|
+
account_url?: string;
|
|
2039
|
+
|
|
2040
|
+
api_url?: string;
|
|
2041
|
+
|
|
2042
|
+
base_url?: string;
|
|
2043
|
+
|
|
2044
|
+
borneo_dashboard_url?: string;
|
|
2045
|
+
|
|
2046
|
+
callback_url?: string;
|
|
2047
|
+
|
|
2048
|
+
COMPANYDOMAIN?: string;
|
|
2049
|
+
|
|
2050
|
+
consumer_key?: string;
|
|
2051
|
+
|
|
2052
|
+
dc?: string;
|
|
2053
|
+
|
|
2054
|
+
domain?: string;
|
|
2055
|
+
|
|
2056
|
+
extension?: string;
|
|
2057
|
+
|
|
2058
|
+
form_api_base_url?: string;
|
|
2059
|
+
|
|
2060
|
+
instanceEndpoint?: string;
|
|
2061
|
+
|
|
2062
|
+
instanceName?: string;
|
|
2063
|
+
|
|
2064
|
+
oauth_verifier?: string;
|
|
2065
|
+
|
|
2066
|
+
proxy_password?: string;
|
|
2067
|
+
|
|
2068
|
+
proxy_username?: string;
|
|
2069
|
+
|
|
2070
|
+
redirectUrl?: string;
|
|
2071
|
+
|
|
2072
|
+
region?: string;
|
|
2073
|
+
|
|
2074
|
+
server_location?: string;
|
|
2075
|
+
|
|
2076
|
+
shop?: string;
|
|
2077
|
+
|
|
2078
|
+
site_name?: string;
|
|
2079
|
+
|
|
2080
|
+
subdomain?: string;
|
|
2081
|
+
|
|
2082
|
+
version?: string;
|
|
2083
|
+
|
|
2084
|
+
your_server?: string;
|
|
2085
|
+
|
|
2086
|
+
'your-domain'?: string;
|
|
2087
|
+
|
|
2088
|
+
[k: string]: unknown;
|
|
2089
|
+
}
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
export interface UnionMember7 {
|
|
2093
|
+
authScheme: 'NO_AUTH';
|
|
2094
|
+
|
|
2095
|
+
toolkitSlug: string;
|
|
2096
|
+
|
|
2097
|
+
val: UnionMember7.Val;
|
|
2098
|
+
}
|
|
2099
|
+
|
|
2100
|
+
export namespace UnionMember7 {
|
|
2101
|
+
export interface Val {
|
|
2102
|
+
account_id?: string;
|
|
2103
|
+
|
|
2104
|
+
account_url?: string;
|
|
2105
|
+
|
|
2106
|
+
api_url?: string;
|
|
2107
|
+
|
|
2108
|
+
base_url?: string;
|
|
2109
|
+
|
|
2110
|
+
borneo_dashboard_url?: string;
|
|
2111
|
+
|
|
2112
|
+
COMPANYDOMAIN?: string;
|
|
2113
|
+
|
|
2114
|
+
dc?: string;
|
|
2115
|
+
|
|
2116
|
+
domain?: string;
|
|
2117
|
+
|
|
2118
|
+
extension?: string;
|
|
2119
|
+
|
|
2120
|
+
form_api_base_url?: string;
|
|
2121
|
+
|
|
2122
|
+
instanceEndpoint?: string;
|
|
2123
|
+
|
|
2124
|
+
instanceName?: string;
|
|
2125
|
+
|
|
2126
|
+
proxy_password?: string;
|
|
2127
|
+
|
|
2128
|
+
proxy_username?: string;
|
|
2129
|
+
|
|
2130
|
+
region?: string;
|
|
2131
|
+
|
|
2132
|
+
server_location?: string;
|
|
2133
|
+
|
|
2134
|
+
shop?: string;
|
|
2135
|
+
|
|
2136
|
+
site_name?: string;
|
|
2137
|
+
|
|
2138
|
+
subdomain?: string;
|
|
2139
|
+
|
|
2140
|
+
version?: string;
|
|
2141
|
+
|
|
2142
|
+
your_server?: string;
|
|
2143
|
+
|
|
2144
|
+
'your-domain'?: string;
|
|
2145
|
+
|
|
2146
|
+
[k: string]: unknown;
|
|
2147
|
+
}
|
|
2148
|
+
}
|
|
2149
|
+
|
|
2150
|
+
export interface UnionMember8 {
|
|
2151
|
+
authScheme: 'SERVICE_ACCOUNT';
|
|
2152
|
+
|
|
2153
|
+
toolkitSlug: string;
|
|
2154
|
+
|
|
2155
|
+
val: UnionMember8.Val;
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2158
|
+
export namespace UnionMember8 {
|
|
2159
|
+
export interface Val {
|
|
2160
|
+
application_id: string;
|
|
2161
|
+
|
|
2162
|
+
installation_id: string;
|
|
2163
|
+
|
|
2164
|
+
private_key: string;
|
|
2165
|
+
|
|
2166
|
+
account_id?: string;
|
|
2167
|
+
|
|
2168
|
+
account_url?: string;
|
|
2169
|
+
|
|
2170
|
+
api_url?: string;
|
|
2171
|
+
|
|
2172
|
+
base_url?: string;
|
|
2173
|
+
|
|
2174
|
+
borneo_dashboard_url?: string;
|
|
2175
|
+
|
|
2176
|
+
COMPANYDOMAIN?: string;
|
|
2177
|
+
|
|
2178
|
+
dc?: string;
|
|
2179
|
+
|
|
2180
|
+
domain?: string;
|
|
2181
|
+
|
|
2182
|
+
extension?: string;
|
|
2183
|
+
|
|
2184
|
+
form_api_base_url?: string;
|
|
2185
|
+
|
|
2186
|
+
instanceEndpoint?: string;
|
|
2187
|
+
|
|
2188
|
+
instanceName?: string;
|
|
2189
|
+
|
|
2190
|
+
proxy_password?: string;
|
|
2191
|
+
|
|
2192
|
+
proxy_username?: string;
|
|
2193
|
+
|
|
2194
|
+
region?: string;
|
|
2195
|
+
|
|
2196
|
+
server_location?: string;
|
|
2197
|
+
|
|
2198
|
+
shop?: string;
|
|
2199
|
+
|
|
2200
|
+
site_name?: string;
|
|
2201
|
+
|
|
2202
|
+
subdomain?: string;
|
|
2203
|
+
|
|
2204
|
+
version?: string;
|
|
2205
|
+
|
|
2206
|
+
your_server?: string;
|
|
2207
|
+
|
|
2208
|
+
'your-domain'?: string;
|
|
2209
|
+
|
|
2210
|
+
[k: string]: unknown;
|
|
2211
|
+
}
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2214
|
+
export interface UnionMember9 {
|
|
2215
|
+
authScheme: 'GOOGLE_SERVICE_ACCOUNT';
|
|
2216
|
+
|
|
2217
|
+
toolkitSlug: string;
|
|
2218
|
+
|
|
2219
|
+
val: UnionMember9.Val;
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2222
|
+
export namespace UnionMember9 {
|
|
2223
|
+
export interface Val {
|
|
2224
|
+
credentials_json: string;
|
|
2225
|
+
|
|
2226
|
+
account_id?: string;
|
|
2227
|
+
|
|
2228
|
+
account_url?: string;
|
|
2229
|
+
|
|
2230
|
+
api_url?: string;
|
|
2231
|
+
|
|
2232
|
+
base_url?: string;
|
|
2233
|
+
|
|
2234
|
+
borneo_dashboard_url?: string;
|
|
2235
|
+
|
|
2236
|
+
COMPANYDOMAIN?: string;
|
|
2237
|
+
|
|
2238
|
+
dc?: string;
|
|
2239
|
+
|
|
2240
|
+
domain?: string;
|
|
2241
|
+
|
|
2242
|
+
extension?: string;
|
|
2243
|
+
|
|
2244
|
+
form_api_base_url?: string;
|
|
2245
|
+
|
|
2246
|
+
instanceEndpoint?: string;
|
|
2247
|
+
|
|
2248
|
+
instanceName?: string;
|
|
2249
|
+
|
|
2250
|
+
proxy_password?: string;
|
|
2251
|
+
|
|
2252
|
+
proxy_username?: string;
|
|
2253
|
+
|
|
2254
|
+
region?: string;
|
|
2255
|
+
|
|
2256
|
+
server_location?: string;
|
|
2257
|
+
|
|
2258
|
+
shop?: string;
|
|
2259
|
+
|
|
2260
|
+
site_name?: string;
|
|
2261
|
+
|
|
2262
|
+
subdomain?: string;
|
|
2263
|
+
|
|
2264
|
+
version?: string;
|
|
2265
|
+
|
|
2266
|
+
your_server?: string;
|
|
2267
|
+
|
|
2268
|
+
'your-domain'?: string;
|
|
2269
|
+
|
|
2270
|
+
[k: string]: unknown;
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2273
|
+
|
|
2274
|
+
export interface UnionMember10 {
|
|
2275
|
+
authScheme: 'S2S_OAUTH2';
|
|
2276
|
+
|
|
2277
|
+
toolkitSlug: string;
|
|
2278
|
+
|
|
2279
|
+
val: UnionMember10.Val;
|
|
2280
|
+
}
|
|
2281
|
+
|
|
2282
|
+
export namespace UnionMember10 {
|
|
2283
|
+
export interface Val {
|
|
2284
|
+
access_token: string;
|
|
2285
|
+
|
|
2286
|
+
client_id: string;
|
|
2287
|
+
|
|
2288
|
+
client_secret: string;
|
|
2289
|
+
|
|
2290
|
+
account_id?: string;
|
|
2291
|
+
|
|
2292
|
+
account_url?: string;
|
|
2293
|
+
|
|
2294
|
+
api_url?: string;
|
|
2295
|
+
|
|
2296
|
+
base_url?: string;
|
|
2297
|
+
|
|
2298
|
+
borneo_dashboard_url?: string;
|
|
2299
|
+
|
|
2300
|
+
COMPANYDOMAIN?: string;
|
|
2301
|
+
|
|
2302
|
+
dc?: string;
|
|
2303
|
+
|
|
2304
|
+
domain?: string;
|
|
2305
|
+
|
|
2306
|
+
expires_at?: string;
|
|
2307
|
+
|
|
2308
|
+
expires_in?: number | string | null;
|
|
2309
|
+
|
|
2310
|
+
extension?: string;
|
|
2311
|
+
|
|
2312
|
+
form_api_base_url?: string;
|
|
2313
|
+
|
|
2314
|
+
instanceEndpoint?: string;
|
|
2315
|
+
|
|
2316
|
+
instanceName?: string;
|
|
2317
|
+
|
|
2318
|
+
proxy_password?: string;
|
|
2319
|
+
|
|
2320
|
+
proxy_username?: string;
|
|
2321
|
+
|
|
2322
|
+
region?: string;
|
|
2323
|
+
|
|
2324
|
+
scope?: string | Array<string> | null;
|
|
2325
|
+
|
|
2326
|
+
server_location?: string;
|
|
2327
|
+
|
|
2328
|
+
shop?: string;
|
|
2329
|
+
|
|
2330
|
+
site_name?: string;
|
|
2331
|
+
|
|
2332
|
+
subdomain?: string;
|
|
2333
|
+
|
|
2334
|
+
token_type?: string;
|
|
2335
|
+
|
|
2336
|
+
version?: string;
|
|
2337
|
+
|
|
2338
|
+
your_server?: string;
|
|
2339
|
+
|
|
2340
|
+
'your-domain'?: string;
|
|
2341
|
+
|
|
2342
|
+
[k: string]: unknown;
|
|
2343
|
+
}
|
|
2344
|
+
}
|
|
2345
|
+
|
|
2346
|
+
export interface Parameter {
|
|
2347
|
+
/**
|
|
2348
|
+
* Parameter name
|
|
2349
|
+
*/
|
|
2350
|
+
name: string;
|
|
2351
|
+
|
|
2352
|
+
/**
|
|
2353
|
+
* Parameter type (header or query)
|
|
2354
|
+
*/
|
|
2355
|
+
type: 'header' | 'query';
|
|
2356
|
+
|
|
2357
|
+
/**
|
|
2358
|
+
* Parameter value
|
|
2359
|
+
*/
|
|
248
2360
|
value: string;
|
|
249
2361
|
}
|
|
250
2362
|
}
|
|
@@ -257,6 +2369,7 @@ export declare namespace Tools {
|
|
|
257
2369
|
type ToolGetInputResponse as ToolGetInputResponse,
|
|
258
2370
|
type ToolProxyResponse as ToolProxyResponse,
|
|
259
2371
|
type ToolRetrieveEnumResponse as ToolRetrieveEnumResponse,
|
|
2372
|
+
type ToolRetrieveParams as ToolRetrieveParams,
|
|
260
2373
|
type ToolListParams as ToolListParams,
|
|
261
2374
|
type ToolExecuteParams as ToolExecuteParams,
|
|
262
2375
|
type ToolGetInputParams as ToolGetInputParams,
|