@composio/client 0.1.0-alpha.7 → 0.1.0-alpha.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +977 -0
- package/LICENSE +1 -1
- package/README.md +22 -35
- package/api-promise.js +2 -15
- package/api-promise.js.map +1 -1
- package/client.d.mts +85 -43
- package/client.d.mts.map +1 -1
- package/client.d.ts +85 -43
- package/client.d.ts.map +1 -1
- package/client.js +162 -108
- package/client.js.map +1 -1
- package/client.mjs +144 -67
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts +0 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts +0 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.js +4 -14
- package/core/api-promise.js.map +1 -1
- package/core/api-promise.mjs +1 -11
- package/core/api-promise.mjs.map +1 -1
- package/core/error.d.mts +0 -1
- package/core/error.d.mts.map +1 -1
- package/core/error.d.ts +0 -1
- package/core/error.d.ts.map +1 -1
- package/core/error.js.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/resource.d.mts +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/resource.js.map +1 -1
- package/core/resource.mjs.map +1 -1
- package/error.js +2 -15
- package/error.js.map +1 -1
- package/internal/builtin-types.d.mts +0 -2
- package/internal/builtin-types.d.mts.map +1 -1
- package/internal/builtin-types.d.ts +0 -2
- package/internal/builtin-types.d.ts.map +1 -1
- package/internal/detect-platform.js +3 -3
- package/internal/detect-platform.js.map +1 -1
- package/internal/detect-platform.mjs +3 -3
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/errors.d.mts.map +1 -1
- package/internal/errors.d.ts.map +1 -1
- package/internal/errors.js +2 -2
- package/internal/errors.js.map +1 -1
- package/internal/errors.mjs.map +1 -1
- package/internal/headers.d.mts +1 -2
- package/internal/headers.d.mts.map +1 -1
- package/internal/headers.d.ts +1 -2
- package/internal/headers.d.ts.map +1 -1
- package/internal/headers.js +7 -5
- package/internal/headers.js.map +1 -1
- package/internal/headers.mjs +7 -5
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts +0 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts +0 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +6 -2
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts +1 -0
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts +1 -0
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/formats.js +4 -2
- package/internal/qs/formats.js.map +1 -1
- package/internal/qs/formats.mjs +2 -1
- package/internal/qs/formats.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.js +16 -19
- package/internal/qs/stringify.js.map +1 -1
- package/internal/qs/stringify.mjs +17 -19
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts +1 -0
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts +1 -0
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.js +22 -21
- package/internal/qs/utils.js.map +1 -1
- package/internal/qs/utils.mjs +12 -12
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts +43 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +43 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/shim-types.d.mts +11 -22
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +11 -22
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/{resources/org.mjs → internal/shim-types.mjs} +2 -2
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +2 -2
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +2 -2
- package/internal/shims.d.ts.map +1 -1
- package/internal/shims.js +5 -6
- package/internal/shims.js.map +1 -1
- package/internal/shims.mjs.map +1 -1
- package/internal/to-file.d.mts +1 -2
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts +1 -2
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.js +5 -5
- package/internal/to-file.js.map +1 -1
- package/internal/to-file.mjs +4 -3
- package/internal/to-file.mjs.map +1 -1
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +12 -11
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +12 -11
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts +1 -3
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts +1 -3
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.js +17 -7
- package/internal/uploads.js.map +1 -1
- package/internal/uploads.mjs +13 -4
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.d.mts.map +1 -1
- package/internal/utils/base64.d.ts.map +1 -1
- package/internal/utils/base64.js +12 -7
- package/internal/utils/base64.js.map +1 -1
- package/internal/utils/base64.mjs +12 -7
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts.map +1 -1
- package/internal/utils/env.d.ts.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/internal/utils/log.d.mts +0 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts +0 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +6 -5
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +4 -3
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.d.mts.map +1 -1
- package/internal/utils/path.d.ts.map +1 -1
- package/internal/utils/path.js +28 -7
- package/internal/utils/path.js.map +1 -1
- package/internal/utils/path.mjs +27 -6
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.d.mts +2 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +10 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils/sleep.d.mts.map +1 -1
- package/internal/utils/sleep.d.ts.map +1 -1
- package/internal/utils/uuid.d.mts +1 -1
- package/internal/utils/uuid.d.mts.map +1 -1
- package/internal/utils/uuid.d.ts +1 -1
- package/internal/utils/uuid.d.ts.map +1 -1
- package/internal/utils/uuid.js +1 -2
- package/internal/utils/uuid.js.map +1 -1
- package/internal/utils/uuid.mjs +1 -2
- package/internal/utils/uuid.mjs.map +1 -1
- package/internal/utils/values.d.mts +2 -0
- package/internal/utils/values.d.mts.map +1 -1
- package/internal/utils/values.d.ts +2 -0
- package/internal/utils/values.d.ts.map +1 -1
- package/internal/utils/values.js +11 -8
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs +5 -3
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts +1 -0
- package/internal/utils.d.ts +1 -0
- package/internal/utils.js +8 -20
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +1 -0
- package/package.json +14 -11
- package/resource.js +2 -15
- package/resource.js.map +1 -1
- package/resources/auth-configs.d.mts +511 -54
- package/resources/auth-configs.d.mts.map +1 -1
- package/resources/auth-configs.d.ts +511 -54
- package/resources/auth-configs.d.ts.map +1 -1
- package/resources/auth-configs.js +79 -6
- package/resources/auth-configs.js.map +1 -1
- package/resources/auth-configs.mjs +79 -6
- package/resources/auth-configs.mjs.map +1 -1
- package/resources/cli/cli.d.mts +120 -0
- package/resources/cli/cli.d.mts.map +1 -0
- package/resources/cli/cli.d.ts +120 -0
- package/resources/cli/cli.d.ts.map +1 -0
- package/resources/cli/cli.js +36 -0
- package/resources/cli/cli.js.map +1 -0
- package/resources/cli/cli.mjs +31 -0
- package/resources/cli/cli.mjs.map +1 -0
- package/resources/cli/index.d.mts +3 -0
- package/resources/cli/index.d.mts.map +1 -0
- package/resources/cli/index.d.ts +3 -0
- package/resources/cli/index.d.ts.map +1 -0
- package/resources/cli/index.js +9 -0
- package/resources/cli/index.js.map +1 -0
- package/resources/cli/index.mjs +4 -0
- package/resources/cli/index.mjs.map +1 -0
- package/resources/cli/realtime.d.mts +56 -0
- package/resources/cli/realtime.d.mts.map +1 -0
- package/resources/cli/realtime.d.ts +56 -0
- package/resources/cli/realtime.d.ts.map +1 -0
- package/resources/cli/realtime.js +25 -0
- package/resources/cli/realtime.js.map +1 -0
- package/resources/cli/realtime.mjs +21 -0
- package/resources/cli/realtime.mjs.map +1 -0
- package/resources/cli.d.mts +1 -123
- package/resources/cli.d.mts.map +1 -1
- package/resources/cli.d.ts +1 -123
- package/resources/cli.d.ts.map +1 -1
- package/resources/cli.js +2 -14
- package/resources/cli.js.map +1 -1
- package/resources/cli.mjs +1 -12
- package/resources/cli.mjs.map +1 -1
- package/resources/connected-accounts.d.mts +9882 -231
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +9882 -231
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/connected-accounts.js +124 -7
- package/resources/connected-accounts.js.map +1 -1
- package/resources/connected-accounts.mjs +124 -7
- package/resources/connected-accounts.mjs.map +1 -1
- package/resources/files.d.mts +152 -0
- package/resources/files.d.mts.map +1 -0
- package/resources/files.d.ts +152 -0
- package/resources/files.d.ts.map +1 -0
- package/resources/files.js +42 -0
- package/resources/files.js.map +1 -0
- package/resources/files.mjs +38 -0
- package/resources/files.mjs.map +1 -0
- package/resources/index.d.mts +13 -12
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +13 -12
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +14 -12
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +7 -6
- package/resources/index.mjs.map +1 -1
- package/resources/link.d.mts +2273 -0
- package/resources/link.d.mts.map +1 -0
- package/resources/link.d.ts +2273 -0
- package/resources/link.d.ts.map +1 -0
- package/resources/link.js +19 -0
- package/resources/link.js.map +1 -0
- package/resources/link.mjs +15 -0
- package/resources/link.mjs.map +1 -0
- package/resources/logs/index.d.mts +4 -0
- package/resources/logs/index.d.mts.map +1 -0
- package/resources/logs/index.d.ts +4 -0
- package/resources/logs/index.d.ts.map +1 -0
- package/resources/logs/index.js +11 -0
- package/resources/logs/index.js.map +1 -0
- package/resources/logs/index.mjs +5 -0
- package/resources/logs/index.mjs.map +1 -0
- package/resources/logs/logs.d.mts +14 -0
- package/resources/logs/logs.d.mts.map +1 -0
- package/resources/logs/logs.d.ts +14 -0
- package/resources/logs/logs.d.ts.map +1 -0
- package/resources/logs/logs.js +21 -0
- package/resources/logs/logs.js.map +1 -0
- package/resources/logs/logs.mjs +16 -0
- package/resources/logs/logs.mjs.map +1 -0
- package/resources/logs/tools.d.mts +173 -0
- package/resources/logs/tools.d.mts.map +1 -0
- package/resources/logs/tools.d.ts +173 -0
- package/resources/logs/tools.d.ts.map +1 -0
- package/resources/logs/tools.js +35 -0
- package/resources/logs/tools.js.map +1 -0
- package/resources/logs/tools.mjs +31 -0
- package/resources/logs/tools.mjs.map +1 -0
- package/resources/logs/triggers.d.mts +161 -0
- package/resources/logs/triggers.d.mts.map +1 -0
- package/resources/logs/triggers.d.ts +161 -0
- package/resources/logs/triggers.d.ts.map +1 -0
- package/resources/logs/triggers.js +36 -0
- package/resources/logs/triggers.js.map +1 -0
- package/resources/logs/triggers.mjs +32 -0
- package/resources/logs/triggers.mjs.map +1 -0
- package/resources/logs.d.mts +2 -0
- package/resources/logs.d.mts.map +1 -0
- package/resources/logs.d.ts +2 -0
- package/resources/logs.d.ts.map +1 -0
- package/resources/logs.js +6 -0
- package/resources/logs.js.map +1 -0
- package/resources/{auth.mjs → logs.mjs} +2 -2
- package/resources/logs.mjs.map +1 -0
- package/resources/mcp/custom.d.mts +105 -0
- package/resources/mcp/custom.d.mts.map +1 -0
- package/resources/mcp/custom.d.ts +105 -0
- package/resources/mcp/custom.d.ts.map +1 -0
- package/resources/mcp/custom.js +29 -0
- package/resources/mcp/custom.js.map +1 -0
- package/resources/mcp/custom.mjs +25 -0
- package/resources/mcp/custom.mjs.map +1 -0
- package/resources/mcp/generate.d.mts +65 -0
- package/resources/mcp/generate.d.mts.map +1 -0
- package/resources/mcp/generate.d.ts +65 -0
- package/resources/mcp/generate.d.ts.map +1 -0
- package/resources/mcp/generate.js +32 -0
- package/resources/mcp/generate.js.map +1 -0
- package/resources/mcp/generate.mjs +28 -0
- package/resources/mcp/generate.mjs.map +1 -0
- package/resources/mcp/index.d.mts +3 -2
- package/resources/mcp/index.d.mts.map +1 -1
- package/resources/mcp/index.d.ts +3 -2
- package/resources/mcp/index.d.ts.map +1 -1
- package/resources/mcp/index.js +5 -3
- package/resources/mcp/index.js.map +1 -1
- package/resources/mcp/index.mjs +2 -1
- package/resources/mcp/index.mjs.map +1 -1
- package/resources/mcp/mcp.d.mts +450 -175
- package/resources/mcp/mcp.d.mts.map +1 -1
- package/resources/mcp/mcp.d.ts +450 -175
- package/resources/mcp/mcp.d.ts.map +1 -1
- package/resources/mcp/mcp.js +95 -42
- package/resources/mcp/mcp.js.map +1 -1
- package/resources/mcp/mcp.mjs +94 -19
- package/resources/mcp/mcp.mjs.map +1 -1
- package/resources/mcp.js +2 -15
- package/resources/mcp.js.map +1 -1
- package/resources/migration.d.mts +35 -0
- package/resources/migration.d.mts.map +1 -0
- package/resources/migration.d.ts +35 -0
- package/resources/migration.d.ts.map +1 -0
- package/resources/migration.js +20 -0
- package/resources/migration.js.map +1 -0
- package/resources/migration.mjs +16 -0
- package/resources/migration.mjs.map +1 -0
- package/resources/project/config.d.mts +71 -0
- package/resources/project/config.d.mts.map +1 -0
- package/resources/project/config.d.ts +71 -0
- package/resources/project/config.d.ts.map +1 -0
- package/resources/project/config.js +33 -0
- package/resources/project/config.js.map +1 -0
- package/resources/project/config.mjs +29 -0
- package/resources/project/config.mjs.map +1 -0
- package/resources/project/index.d.mts +3 -0
- package/resources/project/index.d.mts.map +1 -0
- package/resources/project/index.d.ts +3 -0
- package/resources/project/index.d.ts.map +1 -0
- package/resources/project/index.js +9 -0
- package/resources/project/index.js.map +1 -0
- package/resources/project/index.mjs +4 -0
- package/resources/project/index.mjs.map +1 -0
- package/resources/project/project.d.mts +10 -0
- package/resources/project/project.d.mts.map +1 -0
- package/resources/project/project.d.ts +10 -0
- package/resources/project/project.d.ts.map +1 -0
- package/resources/project/project.js +17 -0
- package/resources/project/project.js.map +1 -0
- package/resources/project/project.mjs +12 -0
- package/resources/project/project.mjs.map +1 -0
- package/resources/{org/project.d.mts.map → project.d.mts.map} +1 -1
- package/resources/{org/project.d.ts.map → project.d.ts.map} +1 -1
- package/resources/project.js +6 -0
- package/resources/project.js.map +1 -0
- package/resources/project.mjs.map +1 -0
- package/resources/tool-router/index.d.mts +3 -0
- package/resources/tool-router/index.d.mts.map +1 -0
- package/resources/tool-router/index.d.ts +3 -0
- package/resources/tool-router/index.d.ts.map +1 -0
- package/resources/tool-router/index.js +9 -0
- package/resources/tool-router/index.js.map +1 -0
- package/resources/tool-router/index.mjs +4 -0
- package/resources/tool-router/index.mjs.map +1 -0
- package/resources/tool-router/session/files.d.mts +205 -0
- package/resources/tool-router/session/files.d.mts.map +1 -0
- package/resources/tool-router/session/files.d.ts +205 -0
- package/resources/tool-router/session/files.d.ts.map +1 -0
- package/resources/tool-router/session/files.js +98 -0
- package/resources/tool-router/session/files.js.map +1 -0
- package/resources/tool-router/session/files.mjs +94 -0
- package/resources/tool-router/session/files.mjs.map +1 -0
- package/resources/tool-router/session/index.d.mts +3 -0
- package/resources/tool-router/session/index.d.mts.map +1 -0
- package/resources/tool-router/session/index.d.ts +3 -0
- package/resources/tool-router/session/index.d.ts.map +1 -0
- package/resources/{auth → tool-router/session}/index.js +3 -3
- package/resources/tool-router/session/index.js.map +1 -0
- package/resources/tool-router/session/index.mjs +4 -0
- package/resources/tool-router/session/index.mjs.map +1 -0
- package/resources/tool-router/session/session.d.mts +4024 -0
- package/resources/tool-router/session/session.d.mts.map +1 -0
- package/resources/tool-router/session/session.d.ts +4024 -0
- package/resources/tool-router/session/session.d.ts.map +1 -0
- package/resources/tool-router/session/session.js +224 -0
- package/resources/tool-router/session/session.js.map +1 -0
- package/resources/tool-router/session/session.mjs +219 -0
- package/resources/tool-router/session/session.mjs.map +1 -0
- package/resources/tool-router/session.d.mts +2 -0
- package/resources/tool-router/session.d.mts.map +1 -0
- package/resources/tool-router/session.d.ts +2 -0
- package/resources/tool-router/session.d.ts.map +1 -0
- package/resources/tool-router/session.js +6 -0
- package/resources/tool-router/session.js.map +1 -0
- package/resources/tool-router/session.mjs +3 -0
- package/resources/tool-router/session.mjs.map +1 -0
- package/resources/tool-router/tool-router.d.mts +94 -0
- package/resources/tool-router/tool-router.d.mts.map +1 -0
- package/resources/tool-router/tool-router.d.ts +94 -0
- package/resources/tool-router/tool-router.d.ts.map +1 -0
- package/resources/tool-router/tool-router.js +49 -0
- package/resources/tool-router/tool-router.js.map +1 -0
- package/resources/tool-router/tool-router.mjs +44 -0
- package/resources/tool-router/tool-router.mjs.map +1 -0
- package/resources/tool-router.d.mts +2 -0
- package/resources/tool-router.d.mts.map +1 -0
- package/resources/tool-router.d.ts +2 -0
- package/resources/tool-router.d.ts.map +1 -0
- package/resources/tool-router.js +6 -0
- package/resources/tool-router.js.map +1 -0
- package/resources/tool-router.mjs +3 -0
- package/resources/tool-router.mjs.map +1 -0
- package/resources/toolkits.d.mts +322 -6
- package/resources/toolkits.d.mts.map +1 -1
- package/resources/toolkits.d.ts +322 -6
- package/resources/toolkits.d.ts.map +1 -1
- package/resources/toolkits.js +25 -4
- package/resources/toolkits.js.map +1 -1
- package/resources/toolkits.mjs +25 -4
- package/resources/toolkits.mjs.map +1 -1
- package/resources/tools.d.mts +1407 -41
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +1407 -41
- package/resources/tools.d.ts.map +1 -1
- package/resources/tools.js +88 -9
- package/resources/tools.js.map +1 -1
- package/resources/tools.mjs +88 -9
- package/resources/tools.mjs.map +1 -1
- package/resources/trigger-instances/index.d.mts +2 -2
- package/resources/trigger-instances/index.d.mts.map +1 -1
- package/resources/trigger-instances/index.d.ts +2 -2
- package/resources/trigger-instances/index.d.ts.map +1 -1
- package/resources/trigger-instances/index.js +3 -3
- package/resources/trigger-instances/index.js.map +1 -1
- package/resources/trigger-instances/index.mjs +1 -1
- package/resources/trigger-instances/index.mjs.map +1 -1
- package/resources/trigger-instances/manage.d.mts +55 -0
- package/resources/trigger-instances/manage.d.mts.map +1 -0
- package/resources/trigger-instances/manage.d.ts +55 -0
- package/resources/trigger-instances/manage.d.ts.map +1 -0
- package/resources/trigger-instances/manage.js +45 -0
- package/resources/trigger-instances/manage.js.map +1 -0
- package/resources/trigger-instances/manage.mjs +41 -0
- package/resources/trigger-instances/manage.mjs.map +1 -0
- package/resources/trigger-instances/trigger-instances.d.mts +190 -43
- package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.ts +190 -43
- package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.js +36 -37
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs +35 -14
- package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
- package/resources/trigger-instances.js +2 -15
- package/resources/trigger-instances.js.map +1 -1
- package/resources/triggers-types.d.mts +160 -12
- package/resources/triggers-types.d.mts.map +1 -1
- package/resources/triggers-types.d.ts +160 -12
- package/resources/triggers-types.d.ts.map +1 -1
- package/resources/triggers-types.js +19 -4
- package/resources/triggers-types.js.map +1 -1
- package/resources/triggers-types.mjs +19 -4
- package/resources/triggers-types.mjs.map +1 -1
- package/resources.js +2 -15
- package/resources.js.map +1 -1
- package/src/client.ts +239 -131
- package/src/core/resource.ts +1 -1
- package/src/internal/detect-platform.ts +3 -3
- package/src/internal/headers.ts +9 -8
- package/src/internal/parse.ts +6 -0
- package/src/internal/qs/formats.ts +2 -1
- package/src/internal/qs/stringify.ts +17 -20
- package/src/internal/qs/utils.ts +14 -14
- package/src/internal/request-options.ts +54 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +2 -2
- package/src/internal/to-file.ts +5 -3
- package/src/internal/types.ts +13 -12
- package/src/internal/uploads.ts +17 -5
- package/src/internal/utils/base64.ts +13 -10
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/env.ts +2 -2
- package/src/internal/utils/log.ts +3 -2
- package/src/internal/utils/path.ts +33 -8
- package/src/internal/utils/query.ts +7 -0
- package/src/internal/utils/uuid.ts +1 -3
- package/src/internal/utils/values.ts +6 -3
- package/src/internal/utils.ts +1 -0
- package/src/resources/auth-configs.ts +587 -73
- package/src/resources/cli/cli.ts +163 -0
- package/src/resources/cli/index.ts +15 -0
- package/src/resources/cli/realtime.ts +75 -0
- package/src/resources/cli.ts +1 -164
- package/src/resources/connected-accounts.ts +18489 -448
- package/src/resources/files.ts +197 -0
- package/src/resources/index.ts +30 -28
- package/src/resources/link.ts +4266 -0
- package/src/resources/logs/index.ts +10 -0
- package/src/resources/logs/logs.ts +31 -0
- package/src/resources/logs/tools.ts +239 -0
- package/src/resources/logs/triggers.ts +241 -0
- package/src/resources/{auth.ts → logs.ts} +1 -1
- package/src/resources/mcp/custom.ts +125 -0
- package/src/resources/mcp/generate.ts +77 -0
- package/src/resources/mcp/index.ts +3 -3
- package/src/resources/mcp/mcp.ts +490 -203
- package/src/resources/migration.ts +49 -0
- package/src/resources/project/config.ts +110 -0
- package/src/resources/project/index.ts +9 -0
- package/src/resources/project/project.ts +20 -0
- package/src/resources/tool-router/index.ts +33 -0
- package/src/resources/tool-router/session/files.ts +284 -0
- package/src/resources/tool-router/session/index.ts +39 -0
- package/src/resources/tool-router/session/session.ts +5034 -0
- package/src/resources/{org.ts → tool-router/session.ts} +1 -1
- package/src/resources/tool-router/tool-router.ts +168 -0
- package/src/resources/tool-router.ts +3 -0
- package/src/resources/toolkits.ts +377 -10
- package/src/resources/tools.ts +2176 -63
- package/src/resources/trigger-instances/index.ts +5 -9
- package/src/resources/trigger-instances/manage.ts +75 -0
- package/src/resources/trigger-instances/trigger-instances.ts +206 -69
- package/src/resources/triggers-types.ts +168 -16
- package/src/version.ts +1 -1
- package/uploads.js +2 -15
- package/uploads.js.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/internal/shims/crypto.d.mts +0 -13
- package/internal/shims/crypto.d.mts.map +0 -1
- package/internal/shims/crypto.d.ts +0 -13
- package/internal/shims/crypto.d.ts.map +0 -1
- package/internal/shims/crypto.js +0 -13
- package/internal/shims/crypto.js.map +0 -1
- package/internal/shims/crypto.mjs +0 -9
- package/internal/shims/crypto.mjs.map +0 -1
- package/internal/shims/file.d.mts +0 -23
- package/internal/shims/file.d.mts.map +0 -1
- package/internal/shims/file.d.ts +0 -23
- package/internal/shims/file.d.ts.map +0 -1
- package/internal/shims/file.js +0 -16
- package/internal/shims/file.js.map +0 -1
- package/internal/shims/file.mjs +0 -12
- package/internal/shims/file.mjs.map +0 -1
- package/internal/shims/getBuiltinModule.d.mts +0 -11
- package/internal/shims/getBuiltinModule.d.mts.map +0 -1
- package/internal/shims/getBuiltinModule.d.ts +0 -11
- package/internal/shims/getBuiltinModule.d.ts.map +0 -1
- package/internal/shims/getBuiltinModule.js +0 -71
- package/internal/shims/getBuiltinModule.js.map +0 -1
- package/internal/shims/getBuiltinModule.mjs +0 -67
- package/internal/shims/getBuiltinModule.mjs.map +0 -1
- package/internal/shims/nullGetBuiltinModule.d.mts +0 -2
- package/internal/shims/nullGetBuiltinModule.d.mts.map +0 -1
- package/internal/shims/nullGetBuiltinModule.d.ts +0 -2
- package/internal/shims/nullGetBuiltinModule.d.ts.map +0 -1
- package/internal/shims/nullGetBuiltinModule.js +0 -5
- package/internal/shims/nullGetBuiltinModule.js.map +0 -1
- package/internal/shims/nullGetBuiltinModule.mjs +0 -2
- package/internal/shims/nullGetBuiltinModule.mjs.map +0 -1
- package/resources/action-execution.d.mts +0 -155
- package/resources/action-execution.d.mts.map +0 -1
- package/resources/action-execution.d.ts +0 -155
- package/resources/action-execution.d.ts.map +0 -1
- package/resources/action-execution.js +0 -19
- package/resources/action-execution.js.map +0 -1
- package/resources/action-execution.mjs +0 -15
- package/resources/action-execution.mjs.map +0 -1
- package/resources/auth/auth.d.mts +0 -10
- package/resources/auth/auth.d.mts.map +0 -1
- package/resources/auth/auth.d.ts +0 -10
- package/resources/auth/auth.d.ts.map +0 -1
- package/resources/auth/auth.js +0 -39
- package/resources/auth/auth.js.map +0 -1
- package/resources/auth/auth.mjs +0 -12
- package/resources/auth/auth.mjs.map +0 -1
- package/resources/auth/index.d.mts +0 -3
- package/resources/auth/index.d.mts.map +0 -1
- package/resources/auth/index.d.ts +0 -3
- package/resources/auth/index.d.ts.map +0 -1
- package/resources/auth/index.js.map +0 -1
- package/resources/auth/index.mjs +0 -4
- package/resources/auth/index.mjs.map +0 -1
- package/resources/auth/session.d.mts +0 -75
- package/resources/auth/session.d.mts.map +0 -1
- package/resources/auth/session.d.ts +0 -75
- package/resources/auth/session.d.ts.map +0 -1
- package/resources/auth/session.js +0 -12
- package/resources/auth/session.js.map +0 -1
- package/resources/auth/session.mjs +0 -8
- package/resources/auth/session.mjs.map +0 -1
- package/resources/auth.d.mts +0 -2
- package/resources/auth.d.mts.map +0 -1
- package/resources/auth.d.ts +0 -2
- package/resources/auth.d.ts.map +0 -1
- package/resources/auth.js +0 -19
- package/resources/auth.js.map +0 -1
- package/resources/auth.mjs.map +0 -1
- package/resources/mcp/command.d.mts +0 -34
- package/resources/mcp/command.d.mts.map +0 -1
- package/resources/mcp/command.d.ts +0 -34
- package/resources/mcp/command.d.ts.map +0 -1
- package/resources/mcp/command.js +0 -12
- package/resources/mcp/command.js.map +0 -1
- package/resources/mcp/command.mjs +0 -8
- package/resources/mcp/command.mjs.map +0 -1
- package/resources/org/api-key.d.mts +0 -17
- package/resources/org/api-key.d.mts.map +0 -1
- package/resources/org/api-key.d.ts +0 -17
- package/resources/org/api-key.d.ts.map +0 -1
- package/resources/org/api-key.js +0 -15
- package/resources/org/api-key.js.map +0 -1
- package/resources/org/api-key.mjs +0 -11
- package/resources/org/api-key.mjs.map +0 -1
- package/resources/org/index.d.mts +0 -4
- package/resources/org/index.d.mts.map +0 -1
- package/resources/org/index.d.ts +0 -4
- package/resources/org/index.d.ts.map +0 -1
- package/resources/org/index.js +0 -11
- package/resources/org/index.js.map +0 -1
- package/resources/org/index.mjs +0 -5
- package/resources/org/index.mjs.map +0 -1
- package/resources/org/org.d.mts +0 -14
- package/resources/org/org.d.mts.map +0 -1
- package/resources/org/org.d.ts +0 -14
- package/resources/org/org.d.ts.map +0 -1
- package/resources/org/org.js +0 -43
- package/resources/org/org.js.map +0 -1
- package/resources/org/org.mjs +0 -16
- package/resources/org/org.mjs.map +0 -1
- package/resources/org/project/api-keys.d.mts +0 -109
- package/resources/org/project/api-keys.d.mts.map +0 -1
- package/resources/org/project/api-keys.d.ts +0 -109
- package/resources/org/project/api-keys.d.ts.map +0 -1
- package/resources/org/project/api-keys.js +0 -23
- package/resources/org/project/api-keys.js.map +0 -1
- package/resources/org/project/api-keys.mjs +0 -19
- package/resources/org/project/api-keys.mjs.map +0 -1
- package/resources/org/project/index.d.mts +0 -5
- package/resources/org/project/index.d.mts.map +0 -1
- package/resources/org/project/index.d.ts +0 -5
- package/resources/org/project/index.d.ts.map +0 -1
- package/resources/org/project/index.js +0 -13
- package/resources/org/project/index.js.map +0 -1
- package/resources/org/project/index.mjs +0 -6
- package/resources/org/project/index.mjs.map +0 -1
- package/resources/org/project/project.d.mts +0 -90
- package/resources/org/project/project.d.mts.map +0 -1
- package/resources/org/project/project.d.ts +0 -90
- package/resources/org/project/project.d.ts.map +0 -1
- package/resources/org/project/project.js +0 -60
- package/resources/org/project/project.js.map +0 -1
- package/resources/org/project/project.mjs +0 -33
- package/resources/org/project/project.mjs.map +0 -1
- package/resources/org/project/trigger.d.mts +0 -51
- package/resources/org/project/trigger.d.mts.map +0 -1
- package/resources/org/project/trigger.d.ts +0 -51
- package/resources/org/project/trigger.d.ts.map +0 -1
- package/resources/org/project/trigger.js +0 -16
- package/resources/org/project/trigger.js.map +0 -1
- package/resources/org/project/trigger.mjs +0 -12
- package/resources/org/project/trigger.mjs.map +0 -1
- package/resources/org/project/webhook.d.mts +0 -92
- package/resources/org/project/webhook.d.mts.map +0 -1
- package/resources/org/project/webhook.d.ts +0 -92
- package/resources/org/project/webhook.d.ts.map +0 -1
- package/resources/org/project/webhook.js +0 -24
- package/resources/org/project/webhook.js.map +0 -1
- package/resources/org/project/webhook.mjs +0 -20
- package/resources/org/project/webhook.mjs.map +0 -1
- package/resources/org/project.js +0 -19
- package/resources/org/project.js.map +0 -1
- package/resources/org/project.mjs.map +0 -1
- package/resources/org.d.mts +0 -2
- package/resources/org.d.mts.map +0 -1
- package/resources/org.d.ts +0 -2
- package/resources/org.d.ts.map +0 -1
- package/resources/org.js +0 -19
- package/resources/org.js.map +0 -1
- package/resources/org.mjs.map +0 -1
- package/resources/team-members.d.mts +0 -57
- package/resources/team-members.d.mts.map +0 -1
- package/resources/team-members.d.ts +0 -57
- package/resources/team-members.d.ts.map +0 -1
- package/resources/team-members.js +0 -22
- package/resources/team-members.js.map +0 -1
- package/resources/team-members.mjs +0 -18
- package/resources/team-members.mjs.map +0 -1
- package/resources/trigger-instances/handle.d.mts +0 -25
- package/resources/trigger-instances/handle.d.mts.map +0 -1
- package/resources/trigger-instances/handle.d.ts +0 -25
- package/resources/trigger-instances/handle.d.ts.map +0 -1
- package/resources/trigger-instances/handle.js +0 -18
- package/resources/trigger-instances/handle.js.map +0 -1
- package/resources/trigger-instances/handle.mjs +0 -14
- package/resources/trigger-instances/handle.mjs.map +0 -1
- package/resources/trigger.d.mts +0 -73
- package/resources/trigger.d.mts.map +0 -1
- package/resources/trigger.d.ts +0 -73
- package/resources/trigger.d.ts.map +0 -1
- package/resources/trigger.js +0 -12
- package/resources/trigger.js.map +0 -1
- package/resources/trigger.mjs +0 -8
- package/resources/trigger.mjs.map +0 -1
- package/src/internal/shim-types.d.ts +0 -28
- package/src/internal/shims/crypto.ts +0 -18
- package/src/internal/shims/file.ts +0 -32
- package/src/internal/shims/getBuiltinModule.ts +0 -66
- package/src/internal/shims/nullGetBuiltinModule.ts +0 -1
- package/src/resources/action-execution.ts +0 -244
- package/src/resources/auth/auth.ts +0 -15
- package/src/resources/auth/index.ts +0 -4
- package/src/resources/auth/session.ts +0 -127
- package/src/resources/mcp/command.ts +0 -47
- package/src/resources/org/api-key.ts +0 -30
- package/src/resources/org/index.ts +0 -12
- package/src/resources/org/org.ts +0 -39
- package/src/resources/org/project/api-keys.ts +0 -156
- package/src/resources/org/project/index.ts +0 -35
- package/src/resources/org/project/project.ts +0 -206
- package/src/resources/org/project/trigger.ts +0 -95
- package/src/resources/org/project/webhook.ts +0 -131
- package/src/resources/team-members.ts +0 -111
- package/src/resources/trigger-instances/handle.ts +0 -45
- package/src/resources/trigger.ts +0 -108
- /package/resources/{org/project.d.mts → project.d.mts} +0 -0
- /package/resources/{org/project.d.ts → project.d.ts} +0 -0
- /package/resources/{org/project.mjs → project.mjs} +0 -0
- /package/src/resources/{org/project.ts → project.ts} +0 -0
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../core/resource';
|
|
4
|
-
import { APIPromise } from '../core/api-promise';
|
|
5
|
-
import { RequestOptions } from '../internal/request-options';
|
|
6
|
-
import { path } from '../internal/utils/path';
|
|
7
|
-
|
|
8
|
-
export class ActionExecution extends APIResource {
|
|
9
|
-
log(body: ActionExecutionLogParams, options?: RequestOptions): APIPromise<ActionExecutionLogResponse> {
|
|
10
|
-
return this._client.post('/api/v3/internal/action_execution/logs', { body, ...options });
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
retrieveFields(options?: RequestOptions): APIPromise<ActionExecutionRetrieveFieldsResponse> {
|
|
14
|
-
return this._client.get('/api/v3/internal/action_execution/fields', options);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
retrieveLog(id: string, options?: RequestOptions): APIPromise<ActionExecutionRetrieveLogResponse> {
|
|
18
|
-
return this._client.get(path`/api/v3/internal/action_execution/log/${id}`, options);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface ActionExecutionLogResponse {
|
|
23
|
-
data: Array<ActionExecutionLogResponse.Data>;
|
|
24
|
-
|
|
25
|
-
nextCursor: number | null;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export namespace ActionExecutionLogResponse {
|
|
29
|
-
export interface Data {
|
|
30
|
-
id: string;
|
|
31
|
-
|
|
32
|
-
actionKey: string;
|
|
33
|
-
|
|
34
|
-
app: Data.App;
|
|
35
|
-
|
|
36
|
-
appKey: string;
|
|
37
|
-
|
|
38
|
-
connectedAccountId: string;
|
|
39
|
-
|
|
40
|
-
createdAt: number;
|
|
41
|
-
|
|
42
|
-
entityId: string;
|
|
43
|
-
|
|
44
|
-
executionTime: number;
|
|
45
|
-
|
|
46
|
-
minimalResponse: string;
|
|
47
|
-
|
|
48
|
-
status: 'success' | 'failed';
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export namespace Data {
|
|
52
|
-
export interface App {
|
|
53
|
-
icon: string;
|
|
54
|
-
|
|
55
|
-
name: string;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export interface ActionExecutionRetrieveFieldsResponse {
|
|
61
|
-
fields: Record<string, Array<ActionExecutionRetrieveFieldsResponse.Field>>;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export namespace ActionExecutionRetrieveFieldsResponse {
|
|
65
|
-
export interface Field {
|
|
66
|
-
/**
|
|
67
|
-
* The id of the field
|
|
68
|
-
*/
|
|
69
|
-
id: string;
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* The display name of the field
|
|
73
|
-
*/
|
|
74
|
-
displayName: string;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* The type of the field
|
|
78
|
-
*/
|
|
79
|
-
type: string;
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* The regex of the field
|
|
83
|
-
*/
|
|
84
|
-
regex?: string;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export interface ActionExecutionRetrieveLogResponse {
|
|
89
|
-
actionId: string;
|
|
90
|
-
|
|
91
|
-
actionLogId: string;
|
|
92
|
-
|
|
93
|
-
app: ActionExecutionRetrieveLogResponse.App;
|
|
94
|
-
|
|
95
|
-
connection: ActionExecutionRetrieveLogResponse.Connection;
|
|
96
|
-
|
|
97
|
-
endTime: number;
|
|
98
|
-
|
|
99
|
-
error: Record<string, unknown>;
|
|
100
|
-
|
|
101
|
-
executionMetadata: Record<string, unknown>;
|
|
102
|
-
|
|
103
|
-
payloadReceived: Record<string, unknown>;
|
|
104
|
-
|
|
105
|
-
response: Record<string, unknown>;
|
|
106
|
-
|
|
107
|
-
session: Record<string, unknown>;
|
|
108
|
-
|
|
109
|
-
startTime: number;
|
|
110
|
-
|
|
111
|
-
status: 'success' | 'error' | 'warning' | 'info';
|
|
112
|
-
|
|
113
|
-
steps: Array<ActionExecutionRetrieveLogResponse.Step>;
|
|
114
|
-
|
|
115
|
-
totalDuration: string;
|
|
116
|
-
|
|
117
|
-
version: string;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
export namespace ActionExecutionRetrieveLogResponse {
|
|
121
|
-
export interface App {
|
|
122
|
-
icon: string;
|
|
123
|
-
|
|
124
|
-
name: string;
|
|
125
|
-
|
|
126
|
-
uniqueId: string;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
export interface Connection {
|
|
130
|
-
entity: string;
|
|
131
|
-
|
|
132
|
-
id?: string;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
export interface Step {
|
|
136
|
-
endTime: number;
|
|
137
|
-
|
|
138
|
-
message: string;
|
|
139
|
-
|
|
140
|
-
startTime: number;
|
|
141
|
-
|
|
142
|
-
status: 'success' | 'failure' | 'error';
|
|
143
|
-
|
|
144
|
-
totalDuration: number;
|
|
145
|
-
|
|
146
|
-
type: 'tool_execution' | 'fetch_connection_details';
|
|
147
|
-
|
|
148
|
-
logs?: Array<Step.Log>;
|
|
149
|
-
|
|
150
|
-
metadata?: Step.Metadata;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
export namespace Step {
|
|
154
|
-
export interface Log {
|
|
155
|
-
level: string;
|
|
156
|
-
|
|
157
|
-
message: string;
|
|
158
|
-
|
|
159
|
-
request: Log.Request;
|
|
160
|
-
|
|
161
|
-
requestId: string;
|
|
162
|
-
|
|
163
|
-
response: Log.Response;
|
|
164
|
-
|
|
165
|
-
time: number;
|
|
166
|
-
|
|
167
|
-
type: 'network' | 'system';
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
export namespace Log {
|
|
171
|
-
export interface Request {
|
|
172
|
-
method: string;
|
|
173
|
-
|
|
174
|
-
url: string;
|
|
175
|
-
|
|
176
|
-
headers?: Record<string, string>;
|
|
177
|
-
|
|
178
|
-
json?: Record<string, unknown>;
|
|
179
|
-
|
|
180
|
-
params?: Record<string, unknown>;
|
|
181
|
-
|
|
182
|
-
timeout?: number;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
export interface Response {
|
|
186
|
-
status: number;
|
|
187
|
-
|
|
188
|
-
time: string;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
export interface Metadata {
|
|
193
|
-
encryption?: string;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
export interface ActionExecutionLogParams {
|
|
199
|
-
/**
|
|
200
|
-
* cursor_that_can_be_used_to_paginate_through_the_logs
|
|
201
|
-
*/
|
|
202
|
-
cursor: number | null;
|
|
203
|
-
|
|
204
|
-
/**
|
|
205
|
-
* whether_the_search_is_case_sensitive_or_not
|
|
206
|
-
*/
|
|
207
|
-
case_sensitive?: boolean;
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* start_time_of_the_logs_in_epoch_time
|
|
211
|
-
*/
|
|
212
|
-
from?: number;
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* number_of_logs_to_return
|
|
216
|
-
*/
|
|
217
|
-
limit?: number;
|
|
218
|
-
|
|
219
|
-
search_params?: Array<ActionExecutionLogParams.SearchParam>;
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* end_time_of_the_logs_in_epoch_time
|
|
223
|
-
*/
|
|
224
|
-
to?: number;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
export namespace ActionExecutionLogParams {
|
|
228
|
-
export interface SearchParam {
|
|
229
|
-
field?: string;
|
|
230
|
-
|
|
231
|
-
operation?: string;
|
|
232
|
-
|
|
233
|
-
value?: string;
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
export declare namespace ActionExecution {
|
|
238
|
-
export {
|
|
239
|
-
type ActionExecutionLogResponse as ActionExecutionLogResponse,
|
|
240
|
-
type ActionExecutionRetrieveFieldsResponse as ActionExecutionRetrieveFieldsResponse,
|
|
241
|
-
type ActionExecutionRetrieveLogResponse as ActionExecutionRetrieveLogResponse,
|
|
242
|
-
type ActionExecutionLogParams as ActionExecutionLogParams,
|
|
243
|
-
};
|
|
244
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../../core/resource';
|
|
4
|
-
import * as SessionAPI from './session';
|
|
5
|
-
import { Session, SessionGetInfoResponse } from './session';
|
|
6
|
-
|
|
7
|
-
export class Auth extends APIResource {
|
|
8
|
-
session: SessionAPI.Session = new SessionAPI.Session(this._client);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
Auth.Session = Session;
|
|
12
|
-
|
|
13
|
-
export declare namespace Auth {
|
|
14
|
-
export { Session as Session, type SessionGetInfoResponse as SessionGetInfoResponse };
|
|
15
|
-
}
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../../core/resource';
|
|
4
|
-
import { APIPromise } from '../../core/api-promise';
|
|
5
|
-
import { RequestOptions } from '../../internal/request-options';
|
|
6
|
-
|
|
7
|
-
export class Session extends APIResource {
|
|
8
|
-
getInfo(options?: RequestOptions): APIPromise<SessionGetInfoResponse> {
|
|
9
|
-
return this._client.get('/api/v3/auth/session/info', options);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface SessionGetInfoResponse {
|
|
14
|
-
apiKey: SessionGetInfoResponse.APIKey | null;
|
|
15
|
-
|
|
16
|
-
org_member: SessionGetInfoResponse.OrgMember;
|
|
17
|
-
|
|
18
|
-
project: SessionGetInfoResponse.Project | null;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export namespace SessionGetInfoResponse {
|
|
22
|
-
export interface APIKey {
|
|
23
|
-
id: string;
|
|
24
|
-
|
|
25
|
-
autoId: number;
|
|
26
|
-
|
|
27
|
-
createdAt: string;
|
|
28
|
-
|
|
29
|
-
deleted: boolean;
|
|
30
|
-
|
|
31
|
-
deletedAt: string | null;
|
|
32
|
-
|
|
33
|
-
key: string;
|
|
34
|
-
|
|
35
|
-
name: string;
|
|
36
|
-
|
|
37
|
-
orgMemberId: string;
|
|
38
|
-
|
|
39
|
-
projectId: string;
|
|
40
|
-
|
|
41
|
-
updatedAt: string;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export interface OrgMember {
|
|
45
|
-
id: string;
|
|
46
|
-
|
|
47
|
-
email: string;
|
|
48
|
-
|
|
49
|
-
name: string;
|
|
50
|
-
|
|
51
|
-
role: string;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export interface Project {
|
|
55
|
-
id: string;
|
|
56
|
-
|
|
57
|
-
autoId: number;
|
|
58
|
-
|
|
59
|
-
createdAt: string;
|
|
60
|
-
|
|
61
|
-
deleted: boolean;
|
|
62
|
-
|
|
63
|
-
email: string;
|
|
64
|
-
|
|
65
|
-
eventWebhookURL: string | null;
|
|
66
|
-
|
|
67
|
-
isNewWebhook: boolean;
|
|
68
|
-
|
|
69
|
-
lastSubscribedAt: string | null;
|
|
70
|
-
|
|
71
|
-
name: string;
|
|
72
|
-
|
|
73
|
-
nanoId: string;
|
|
74
|
-
|
|
75
|
-
org: Project.Org;
|
|
76
|
-
|
|
77
|
-
orgId: string;
|
|
78
|
-
|
|
79
|
-
triggersEnabled: boolean;
|
|
80
|
-
|
|
81
|
-
updatedAt: string;
|
|
82
|
-
|
|
83
|
-
webhookSecret: string | null;
|
|
84
|
-
|
|
85
|
-
webhookURL: string | null;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export namespace Project {
|
|
89
|
-
export interface Org {
|
|
90
|
-
id: string;
|
|
91
|
-
|
|
92
|
-
name: string;
|
|
93
|
-
|
|
94
|
-
orgMembers: Array<Org.OrgMember>;
|
|
95
|
-
|
|
96
|
-
plan: string;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export namespace Org {
|
|
100
|
-
export interface OrgMember {
|
|
101
|
-
id: string;
|
|
102
|
-
|
|
103
|
-
autoId: number;
|
|
104
|
-
|
|
105
|
-
createdAt: string;
|
|
106
|
-
|
|
107
|
-
deletedAt: string | null;
|
|
108
|
-
|
|
109
|
-
email: string;
|
|
110
|
-
|
|
111
|
-
name: string;
|
|
112
|
-
|
|
113
|
-
orgId: string;
|
|
114
|
-
|
|
115
|
-
role: string;
|
|
116
|
-
|
|
117
|
-
updatedAt: string;
|
|
118
|
-
|
|
119
|
-
metadata?: unknown;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
export declare namespace Session {
|
|
126
|
-
export { type SessionGetInfoResponse as SessionGetInfoResponse };
|
|
127
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../../core/resource';
|
|
4
|
-
import { APIPromise } from '../../core/api-promise';
|
|
5
|
-
import { RequestOptions } from '../../internal/request-options';
|
|
6
|
-
|
|
7
|
-
export class Command extends APIResource {
|
|
8
|
-
generate(body: CommandGenerateParams, options?: RequestOptions): APIPromise<CommandGenerateResponse> {
|
|
9
|
-
return this._client.post('/api/v3/mcp/command/generate', { body, ...options });
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface CommandGenerateResponse {
|
|
14
|
-
/**
|
|
15
|
-
* The generated command to run
|
|
16
|
-
*/
|
|
17
|
-
command?: string;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* The URL for the MCP server
|
|
21
|
-
*/
|
|
22
|
-
url?: string;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface CommandGenerateParams {
|
|
26
|
-
/**
|
|
27
|
-
* The ID of the MCP server
|
|
28
|
-
*/
|
|
29
|
-
id: string;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* MCP client to generate command for
|
|
33
|
-
*/
|
|
34
|
-
mcp_client: 'cursor' | 'claude' | 'windsurf';
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Time to live for the command
|
|
38
|
-
*/
|
|
39
|
-
ttl?: '1d' | '3d' | '1 month' | 'no expiration';
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export declare namespace Command {
|
|
43
|
-
export {
|
|
44
|
-
type CommandGenerateResponse as CommandGenerateResponse,
|
|
45
|
-
type CommandGenerateParams as CommandGenerateParams,
|
|
46
|
-
};
|
|
47
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../../core/resource';
|
|
4
|
-
import { APIPromise } from '../../core/api-promise';
|
|
5
|
-
import { RequestOptions } from '../../internal/request-options';
|
|
6
|
-
|
|
7
|
-
export class APIKey extends APIResource {
|
|
8
|
-
retrieve(options?: RequestOptions): APIPromise<APIKeyRetrieveResponse> {
|
|
9
|
-
return this._client.get('/api/v3/org/api_key', options);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
regenerate(options?: RequestOptions): APIPromise<APIKeyRegenerateResponse> {
|
|
13
|
-
return this._client.post('/api/v3/org/api_key/regenerate', options);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface APIKeyRetrieveResponse {
|
|
18
|
-
org_api_key: string;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export interface APIKeyRegenerateResponse {
|
|
22
|
-
org_api_key: string;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export declare namespace APIKey {
|
|
26
|
-
export {
|
|
27
|
-
type APIKeyRetrieveResponse as APIKeyRetrieveResponse,
|
|
28
|
-
type APIKeyRegenerateResponse as APIKeyRegenerateResponse,
|
|
29
|
-
};
|
|
30
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
export { APIKey, type APIKeyRetrieveResponse, type APIKeyRegenerateResponse } from './api-key';
|
|
4
|
-
export { Org } from './org';
|
|
5
|
-
export {
|
|
6
|
-
Project,
|
|
7
|
-
type ProjectCreateResponse,
|
|
8
|
-
type ProjectRetrieveResponse,
|
|
9
|
-
type ProjectListResponse,
|
|
10
|
-
type ProjectDeleteResponse,
|
|
11
|
-
type ProjectCreateParams,
|
|
12
|
-
} from './project/index';
|
package/src/resources/org/org.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../../core/resource';
|
|
4
|
-
import * as APIKeyAPI from './api-key';
|
|
5
|
-
import { APIKey, APIKeyRegenerateResponse, APIKeyRetrieveResponse } from './api-key';
|
|
6
|
-
import * as ProjectAPI from './project/project';
|
|
7
|
-
import {
|
|
8
|
-
Project,
|
|
9
|
-
ProjectCreateParams,
|
|
10
|
-
ProjectCreateResponse,
|
|
11
|
-
ProjectDeleteResponse,
|
|
12
|
-
ProjectListResponse,
|
|
13
|
-
ProjectRetrieveResponse,
|
|
14
|
-
} from './project/project';
|
|
15
|
-
|
|
16
|
-
export class Org extends APIResource {
|
|
17
|
-
apiKey: APIKeyAPI.APIKey = new APIKeyAPI.APIKey(this._client);
|
|
18
|
-
project: ProjectAPI.Project = new ProjectAPI.Project(this._client);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
Org.APIKey = APIKey;
|
|
22
|
-
Org.Project = Project;
|
|
23
|
-
|
|
24
|
-
export declare namespace Org {
|
|
25
|
-
export {
|
|
26
|
-
APIKey as APIKey,
|
|
27
|
-
type APIKeyRetrieveResponse as APIKeyRetrieveResponse,
|
|
28
|
-
type APIKeyRegenerateResponse as APIKeyRegenerateResponse,
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export {
|
|
32
|
-
Project as Project,
|
|
33
|
-
type ProjectCreateResponse as ProjectCreateResponse,
|
|
34
|
-
type ProjectRetrieveResponse as ProjectRetrieveResponse,
|
|
35
|
-
type ProjectListResponse as ProjectListResponse,
|
|
36
|
-
type ProjectDeleteResponse as ProjectDeleteResponse,
|
|
37
|
-
type ProjectCreateParams as ProjectCreateParams,
|
|
38
|
-
};
|
|
39
|
-
}
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../../../core/resource';
|
|
4
|
-
import { APIPromise } from '../../../core/api-promise';
|
|
5
|
-
import { RequestOptions } from '../../../internal/request-options';
|
|
6
|
-
import { path } from '../../../internal/utils/path';
|
|
7
|
-
|
|
8
|
-
export class APIKeys extends APIResource {
|
|
9
|
-
create(
|
|
10
|
-
projectID: string,
|
|
11
|
-
body: APIKeyCreateParams,
|
|
12
|
-
options?: RequestOptions,
|
|
13
|
-
): APIPromise<APIKeyCreateResponse> {
|
|
14
|
-
return this._client.post(path`/api/v3/org/project/${projectID}/api_keys/create`, { body, ...options });
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
list(projectID: string, options?: RequestOptions): APIPromise<APIKeyListResponse> {
|
|
18
|
-
return this._client.get(path`/api/v3/org/project/${projectID}/api_keys/list`, options);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
delete(id: string, params: APIKeyDeleteParams, options?: RequestOptions): APIPromise<APIKeyDeleteResponse> {
|
|
22
|
-
const { projectId } = params;
|
|
23
|
-
return this._client.delete(path`/api/v3/org/project/${projectId}/api_keys/remove/${id}`, options);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
createAPIKey(projectID: string, options?: RequestOptions): APIPromise<APIKeyCreateAPIKeyResponse> {
|
|
27
|
-
return this._client.post(path`/api/v3/org/project/${projectID}/api_keys/create-api-key`, options);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export interface APIKeyCreateResponse {
|
|
32
|
-
/**
|
|
33
|
-
* API key ID
|
|
34
|
-
*/
|
|
35
|
-
id: string;
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Creation timestamp
|
|
39
|
-
*/
|
|
40
|
-
createdAt: string;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* API key value
|
|
44
|
-
*/
|
|
45
|
-
key: string;
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* API key name
|
|
49
|
-
*/
|
|
50
|
-
name: string;
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Last used timestamp
|
|
54
|
-
*/
|
|
55
|
-
lastUsed?: string;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export interface APIKeyListResponse {
|
|
59
|
-
/**
|
|
60
|
-
* List of API keys
|
|
61
|
-
*/
|
|
62
|
-
items: Array<APIKeyListResponse.Item>;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export namespace APIKeyListResponse {
|
|
66
|
-
export interface Item {
|
|
67
|
-
/**
|
|
68
|
-
* API key ID
|
|
69
|
-
*/
|
|
70
|
-
id: string;
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Creation timestamp
|
|
74
|
-
*/
|
|
75
|
-
created_at: string;
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* API key value
|
|
79
|
-
*/
|
|
80
|
-
key: string;
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* API key name
|
|
84
|
-
*/
|
|
85
|
-
name: string;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Last used timestamp
|
|
89
|
-
*/
|
|
90
|
-
last_used?: string;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export interface APIKeyDeleteResponse {
|
|
95
|
-
/**
|
|
96
|
-
* Status message
|
|
97
|
-
*/
|
|
98
|
-
message: string;
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Whether the operation was successful
|
|
102
|
-
*/
|
|
103
|
-
success: boolean;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export interface APIKeyCreateAPIKeyResponse {
|
|
107
|
-
/**
|
|
108
|
-
* API key ID
|
|
109
|
-
*/
|
|
110
|
-
id: string;
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Creation timestamp
|
|
114
|
-
*/
|
|
115
|
-
createdAt: string;
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* API key value
|
|
119
|
-
*/
|
|
120
|
-
key: string;
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* API key name
|
|
124
|
-
*/
|
|
125
|
-
name: string;
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* Last used timestamp
|
|
129
|
-
*/
|
|
130
|
-
lastUsed?: string;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export interface APIKeyCreateParams {
|
|
134
|
-
/**
|
|
135
|
-
* API key name
|
|
136
|
-
*/
|
|
137
|
-
name: string;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
export interface APIKeyDeleteParams {
|
|
141
|
-
/**
|
|
142
|
-
* Project ID
|
|
143
|
-
*/
|
|
144
|
-
projectId: string;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
export declare namespace APIKeys {
|
|
148
|
-
export {
|
|
149
|
-
type APIKeyCreateResponse as APIKeyCreateResponse,
|
|
150
|
-
type APIKeyListResponse as APIKeyListResponse,
|
|
151
|
-
type APIKeyDeleteResponse as APIKeyDeleteResponse,
|
|
152
|
-
type APIKeyCreateAPIKeyResponse as APIKeyCreateAPIKeyResponse,
|
|
153
|
-
type APIKeyCreateParams as APIKeyCreateParams,
|
|
154
|
-
type APIKeyDeleteParams as APIKeyDeleteParams,
|
|
155
|
-
};
|
|
156
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
APIKeys,
|
|
5
|
-
type APIKeyCreateResponse,
|
|
6
|
-
type APIKeyListResponse,
|
|
7
|
-
type APIKeyDeleteResponse,
|
|
8
|
-
type APIKeyCreateAPIKeyResponse,
|
|
9
|
-
type APIKeyCreateParams,
|
|
10
|
-
type APIKeyDeleteParams,
|
|
11
|
-
} from './api-keys';
|
|
12
|
-
export {
|
|
13
|
-
Project,
|
|
14
|
-
type ProjectCreateResponse,
|
|
15
|
-
type ProjectRetrieveResponse,
|
|
16
|
-
type ProjectListResponse,
|
|
17
|
-
type ProjectDeleteResponse,
|
|
18
|
-
type ProjectCreateParams,
|
|
19
|
-
} from './project';
|
|
20
|
-
export {
|
|
21
|
-
Trigger,
|
|
22
|
-
type TriggerUpdateResponse,
|
|
23
|
-
type TriggerListResponse,
|
|
24
|
-
type TriggerUpdateParams,
|
|
25
|
-
} from './trigger';
|
|
26
|
-
export {
|
|
27
|
-
Webhook,
|
|
28
|
-
type WebhookRetrieveResponse,
|
|
29
|
-
type WebhookUpdateResponse,
|
|
30
|
-
type WebhookDeleteResponse,
|
|
31
|
-
type WebhookRefreshResponse,
|
|
32
|
-
type WebhookRetrieveParams,
|
|
33
|
-
type WebhookUpdateParams,
|
|
34
|
-
type WebhookDeleteParams,
|
|
35
|
-
} from './webhook';
|