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