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