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