@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
|
@@ -2,104 +2,181 @@ import { APIResource } from "../../../core/resource.js";
|
|
|
2
2
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
3
3
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
4
4
|
export declare class APIKeys extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Creates a new API key for the specified project. API keys are used for
|
|
7
|
+
* authenticating requests to the API. This endpoint generates a new key with the
|
|
8
|
+
* provided name and returns the complete key details including the actual key
|
|
9
|
+
* value. Note that the full API key value is only returned once at creation time
|
|
10
|
+
* and cannot be retrieved later, so it should be securely stored immediately.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const apiKey = await client.org.project.apiKeys.create(
|
|
15
|
+
* 'proj_abc123xyz456',
|
|
16
|
+
* { name: 'Production API Key' },
|
|
17
|
+
* );
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
5
20
|
create(projectID: string, body: APIKeyCreateParams, options?: RequestOptions): APIPromise<APIKeyCreateResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Retrieves all API keys associated with the specified project. This endpoint
|
|
23
|
+
* returns details about each API key including its name, creation date, and last
|
|
24
|
+
* used information. Use this endpoint to audit which keys exist for a project or
|
|
25
|
+
* to manage key rotation policies.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```ts
|
|
29
|
+
* const apiKeys = await client.org.project.apiKeys.list(
|
|
30
|
+
* 'proj_abc123xyz456',
|
|
31
|
+
* );
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
6
34
|
list(projectID: string, options?: RequestOptions): APIPromise<APIKeyListResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* Permanently deletes an API key from the specified project. Once deleted, the API
|
|
37
|
+
* key can no longer be used for authentication and any services using it will need
|
|
38
|
+
* to be updated with a new key. This operation cannot be undone, so it should be
|
|
39
|
+
* used with caution.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* const apiKey = await client.org.project.apiKeys.delete(
|
|
44
|
+
* '01H4DKRF5SMP7NQCA3BWT0JYB6',
|
|
45
|
+
* { projectId: 'proj_abc123xyz456' },
|
|
46
|
+
* );
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
7
49
|
delete(id: string, params: APIKeyDeleteParams, options?: RequestOptions): APIPromise<APIKeyDeleteResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* Retrieves an existing API key for the project or creates a new one if none
|
|
52
|
+
* exists. This endpoint is useful for ensuring a project always has at least one
|
|
53
|
+
* API key without the risk of creating duplicates. If an API key already exists,
|
|
54
|
+
* it returns the existing key. If no API keys exist for the project, it creates a
|
|
55
|
+
* new one with an automatically generated name.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* ```ts
|
|
59
|
+
* const response =
|
|
60
|
+
* await client.org.project.apiKeys.createAPIKey(
|
|
61
|
+
* 'proj_abc123xyz456',
|
|
62
|
+
* );
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
8
65
|
createAPIKey(projectID: string, options?: RequestOptions): APIPromise<APIKeyCreateAPIKeyResponse>;
|
|
9
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* API key object containing the key details
|
|
69
|
+
*/
|
|
10
70
|
export interface APIKeyCreateResponse {
|
|
11
71
|
/**
|
|
12
|
-
* API key
|
|
72
|
+
* Database record identifier for the API key
|
|
13
73
|
*/
|
|
14
74
|
id: string;
|
|
15
75
|
/**
|
|
16
|
-
*
|
|
76
|
+
* UTC timestamp indicating when the API key was created
|
|
17
77
|
*/
|
|
18
78
|
createdAt: string;
|
|
19
79
|
/**
|
|
20
|
-
* API key value
|
|
80
|
+
* The API key string value that should be included in API requests. This value is
|
|
81
|
+
* only shown once at creation time.
|
|
21
82
|
*/
|
|
22
83
|
key: string;
|
|
23
84
|
/**
|
|
24
|
-
*
|
|
85
|
+
* Descriptive name assigned to help identify the key's purpose
|
|
25
86
|
*/
|
|
26
87
|
name: string;
|
|
27
88
|
/**
|
|
28
|
-
*
|
|
89
|
+
* UTC timestamp indicating when the API key was last used for authentication. Will
|
|
90
|
+
* be null for newly created keys.
|
|
29
91
|
*/
|
|
30
92
|
lastUsed?: string;
|
|
31
93
|
}
|
|
94
|
+
/**
|
|
95
|
+
* Response containing the list of API keys for a project
|
|
96
|
+
*/
|
|
32
97
|
export interface APIKeyListResponse {
|
|
33
98
|
/**
|
|
34
|
-
* List of API keys
|
|
99
|
+
* List of all API keys for the specified project, including their properties and
|
|
100
|
+
* usage information
|
|
35
101
|
*/
|
|
36
102
|
items: Array<APIKeyListResponse.Item>;
|
|
37
103
|
}
|
|
38
104
|
export declare namespace APIKeyListResponse {
|
|
39
105
|
interface Item {
|
|
40
106
|
/**
|
|
41
|
-
* API key
|
|
107
|
+
* Unique identifier for the API key record
|
|
42
108
|
*/
|
|
43
109
|
id: string;
|
|
44
110
|
/**
|
|
45
|
-
*
|
|
111
|
+
* UTC timestamp indicating when the API key was created
|
|
46
112
|
*/
|
|
47
113
|
created_at: string;
|
|
48
114
|
/**
|
|
49
|
-
* API key
|
|
115
|
+
* The API key string that should be included in API requests for authentication
|
|
50
116
|
*/
|
|
51
117
|
key: string;
|
|
52
118
|
/**
|
|
53
|
-
* API key
|
|
119
|
+
* Descriptive name assigned to the API key for identification purposes
|
|
54
120
|
*/
|
|
55
121
|
name: string;
|
|
56
122
|
/**
|
|
57
|
-
*
|
|
123
|
+
* UTC timestamp indicating when the API key was last used for authentication. Will
|
|
124
|
+
* be null if the key has never been used.
|
|
58
125
|
*/
|
|
59
126
|
last_used?: string;
|
|
60
127
|
}
|
|
61
128
|
}
|
|
129
|
+
/**
|
|
130
|
+
* Response indicating the status of the API key deletion operation
|
|
131
|
+
*/
|
|
62
132
|
export interface APIKeyDeleteResponse {
|
|
63
133
|
/**
|
|
64
|
-
* Status message
|
|
134
|
+
* Status message providing details about the deletion operation
|
|
65
135
|
*/
|
|
66
136
|
message: string;
|
|
67
137
|
/**
|
|
68
|
-
*
|
|
138
|
+
* Boolean flag indicating if the deletion operation was successful
|
|
69
139
|
*/
|
|
70
140
|
success: boolean;
|
|
71
141
|
}
|
|
142
|
+
/**
|
|
143
|
+
* API key object containing the key details
|
|
144
|
+
*/
|
|
72
145
|
export interface APIKeyCreateAPIKeyResponse {
|
|
73
146
|
/**
|
|
74
|
-
* API key
|
|
147
|
+
* Database record identifier for the API key
|
|
75
148
|
*/
|
|
76
149
|
id: string;
|
|
77
150
|
/**
|
|
78
|
-
*
|
|
151
|
+
* UTC timestamp indicating when the API key was created
|
|
79
152
|
*/
|
|
80
153
|
createdAt: string;
|
|
81
154
|
/**
|
|
82
|
-
* API key value
|
|
155
|
+
* The API key string value that should be included in API requests. This value is
|
|
156
|
+
* only shown once.
|
|
83
157
|
*/
|
|
84
158
|
key: string;
|
|
85
159
|
/**
|
|
86
|
-
*
|
|
160
|
+
* Name assigned to help identify the key's purpose. For auto-generated keys, this
|
|
161
|
+
* will be a random name.
|
|
87
162
|
*/
|
|
88
163
|
name: string;
|
|
89
164
|
/**
|
|
90
|
-
*
|
|
165
|
+
* UTC timestamp indicating when the API key was last used for authentication. Will
|
|
166
|
+
* be null for newly created keys.
|
|
91
167
|
*/
|
|
92
168
|
lastUsed?: string;
|
|
93
169
|
}
|
|
94
170
|
export interface APIKeyCreateParams {
|
|
95
171
|
/**
|
|
96
|
-
* API key
|
|
172
|
+
* A user-friendly name to identify the API key's purpose (e.g., "Production
|
|
173
|
+
* Server", "Test Environment")
|
|
97
174
|
*/
|
|
98
175
|
name: string;
|
|
99
176
|
}
|
|
100
177
|
export interface APIKeyDeleteParams {
|
|
101
178
|
/**
|
|
102
|
-
*
|
|
179
|
+
* The project Nano ID that owns the API key to be deleted
|
|
103
180
|
*/
|
|
104
181
|
projectId: string;
|
|
105
182
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-keys.d.ts","sourceRoot":"","sources":["../../../src/resources/org/project/api-keys.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ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;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -5,16 +5,73 @@ exports.APIKeys = void 0;
|
|
|
5
5
|
const resource_1 = require("../../../core/resource.js");
|
|
6
6
|
const path_1 = require("../../../internal/utils/path.js");
|
|
7
7
|
class APIKeys extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new API key for the specified project. API keys are used for
|
|
10
|
+
* authenticating requests to the API. This endpoint generates a new key with the
|
|
11
|
+
* provided name and returns the complete key details including the actual key
|
|
12
|
+
* value. Note that the full API key value is only returned once at creation time
|
|
13
|
+
* and cannot be retrieved later, so it should be securely stored immediately.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* const apiKey = await client.org.project.apiKeys.create(
|
|
18
|
+
* 'proj_abc123xyz456',
|
|
19
|
+
* { name: 'Production API Key' },
|
|
20
|
+
* );
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
8
23
|
create(projectID, body, options) {
|
|
9
24
|
return this._client.post((0, path_1.path) `/api/v3/org/project/${projectID}/api_keys/create`, { body, ...options });
|
|
10
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves all API keys associated with the specified project. This endpoint
|
|
28
|
+
* returns details about each API key including its name, creation date, and last
|
|
29
|
+
* used information. Use this endpoint to audit which keys exist for a project or
|
|
30
|
+
* to manage key rotation policies.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const apiKeys = await client.org.project.apiKeys.list(
|
|
35
|
+
* 'proj_abc123xyz456',
|
|
36
|
+
* );
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
11
39
|
list(projectID, options) {
|
|
12
40
|
return this._client.get((0, path_1.path) `/api/v3/org/project/${projectID}/api_keys/list`, options);
|
|
13
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* Permanently deletes an API key from the specified project. Once deleted, the API
|
|
44
|
+
* key can no longer be used for authentication and any services using it will need
|
|
45
|
+
* to be updated with a new key. This operation cannot be undone, so it should be
|
|
46
|
+
* used with caution.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```ts
|
|
50
|
+
* const apiKey = await client.org.project.apiKeys.delete(
|
|
51
|
+
* '01H4DKRF5SMP7NQCA3BWT0JYB6',
|
|
52
|
+
* { projectId: 'proj_abc123xyz456' },
|
|
53
|
+
* );
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
14
56
|
delete(id, params, options) {
|
|
15
57
|
const { projectId } = params;
|
|
16
58
|
return this._client.delete((0, path_1.path) `/api/v3/org/project/${projectId}/api_keys/remove/${id}`, options);
|
|
17
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* Retrieves an existing API key for the project or creates a new one if none
|
|
62
|
+
* exists. This endpoint is useful for ensuring a project always has at least one
|
|
63
|
+
* API key without the risk of creating duplicates. If an API key already exists,
|
|
64
|
+
* it returns the existing key. If no API keys exist for the project, it creates a
|
|
65
|
+
* new one with an automatically generated name.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```ts
|
|
69
|
+
* const response =
|
|
70
|
+
* await client.org.project.apiKeys.createAPIKey(
|
|
71
|
+
* 'proj_abc123xyz456',
|
|
72
|
+
* );
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
18
75
|
createAPIKey(projectID, options) {
|
|
19
76
|
return this._client.post((0, path_1.path) `/api/v3/org/project/${projectID}/api_keys/create-api-key`, options);
|
|
20
77
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-keys.js","sourceRoot":"","sources":["../../../src/resources/org/project/api-keys.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AAEpD,MAAa,OAAQ,SAAQ,sBAAW;IACtC,MAAM,CACJ,SAAiB,EACjB,IAAwB,EACxB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,uBAAuB,SAAS,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;IAED,IAAI,CAAC,SAAiB,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,uBAAuB,SAAS,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACzF,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,MAA0B,EAAE,OAAwB;QACrE,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,uBAAuB,SAAS,oBAAoB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACpG,CAAC;IAED,YAAY,CAAC,SAAiB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,uBAAuB,SAAS,0BAA0B,EAAE,OAAO,CAAC,CAAC;IACpG,CAAC;CACF;
|
|
1
|
+
{"version":3,"file":"api-keys.js","sourceRoot":"","sources":["../../../src/resources/org/project/api-keys.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AAEpD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,SAAiB,EACjB,IAAwB,EACxB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,uBAAuB,SAAS,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,SAAiB,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,uBAAuB,SAAS,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACzF,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAU,EAAE,MAA0B,EAAE,OAAwB;QACrE,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,uBAAuB,SAAS,oBAAoB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACpG,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,YAAY,CAAC,SAAiB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,uBAAuB,SAAS,0BAA0B,EAAE,OAAO,CAAC,CAAC;IACpG,CAAC;CACF;AA9ED,0BA8EC"}
|
|
@@ -2,16 +2,73 @@
|
|
|
2
2
|
import { APIResource } from "../../../core/resource.mjs";
|
|
3
3
|
import { path } from "../../../internal/utils/path.mjs";
|
|
4
4
|
export class APIKeys extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Creates a new API key for the specified project. API keys are used for
|
|
7
|
+
* authenticating requests to the API. This endpoint generates a new key with the
|
|
8
|
+
* provided name and returns the complete key details including the actual key
|
|
9
|
+
* value. Note that the full API key value is only returned once at creation time
|
|
10
|
+
* and cannot be retrieved later, so it should be securely stored immediately.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const apiKey = await client.org.project.apiKeys.create(
|
|
15
|
+
* 'proj_abc123xyz456',
|
|
16
|
+
* { name: 'Production API Key' },
|
|
17
|
+
* );
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
5
20
|
create(projectID, body, options) {
|
|
6
21
|
return this._client.post(path `/api/v3/org/project/${projectID}/api_keys/create`, { body, ...options });
|
|
7
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Retrieves all API keys associated with the specified project. This endpoint
|
|
25
|
+
* returns details about each API key including its name, creation date, and last
|
|
26
|
+
* used information. Use this endpoint to audit which keys exist for a project or
|
|
27
|
+
* to manage key rotation policies.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const apiKeys = await client.org.project.apiKeys.list(
|
|
32
|
+
* 'proj_abc123xyz456',
|
|
33
|
+
* );
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
8
36
|
list(projectID, options) {
|
|
9
37
|
return this._client.get(path `/api/v3/org/project/${projectID}/api_keys/list`, options);
|
|
10
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Permanently deletes an API key from the specified project. Once deleted, the API
|
|
41
|
+
* key can no longer be used for authentication and any services using it will need
|
|
42
|
+
* to be updated with a new key. This operation cannot be undone, so it should be
|
|
43
|
+
* used with caution.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* const apiKey = await client.org.project.apiKeys.delete(
|
|
48
|
+
* '01H4DKRF5SMP7NQCA3BWT0JYB6',
|
|
49
|
+
* { projectId: 'proj_abc123xyz456' },
|
|
50
|
+
* );
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
11
53
|
delete(id, params, options) {
|
|
12
54
|
const { projectId } = params;
|
|
13
55
|
return this._client.delete(path `/api/v3/org/project/${projectId}/api_keys/remove/${id}`, options);
|
|
14
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* Retrieves an existing API key for the project or creates a new one if none
|
|
59
|
+
* exists. This endpoint is useful for ensuring a project always has at least one
|
|
60
|
+
* API key without the risk of creating duplicates. If an API key already exists,
|
|
61
|
+
* it returns the existing key. If no API keys exist for the project, it creates a
|
|
62
|
+
* new one with an automatically generated name.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* ```ts
|
|
66
|
+
* const response =
|
|
67
|
+
* await client.org.project.apiKeys.createAPIKey(
|
|
68
|
+
* 'proj_abc123xyz456',
|
|
69
|
+
* );
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
15
72
|
createAPIKey(projectID, options) {
|
|
16
73
|
return this._client.post(path `/api/v3/org/project/${projectID}/api_keys/create-api-key`, options);
|
|
17
74
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-keys.mjs","sourceRoot":"","sources":["../../../src/resources/org/project/api-keys.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC,MAAM,CACJ,SAAiB,EACjB,IAAwB,EACxB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,uBAAuB,SAAS,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;IAED,IAAI,CAAC,SAAiB,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,uBAAuB,SAAS,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACzF,CAAC;IAED,MAAM,CAAC,EAAU,EAAE,MAA0B,EAAE,OAAwB;QACrE,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,uBAAuB,SAAS,oBAAoB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACpG,CAAC;IAED,YAAY,CAAC,SAAiB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,uBAAuB,SAAS,0BAA0B,EAAE,OAAO,CAAC,CAAC;IACpG,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"api-keys.mjs","sourceRoot":"","sources":["../../../src/resources/org/project/api-keys.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,SAAiB,EACjB,IAAwB,EACxB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,uBAAuB,SAAS,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,SAAiB,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,uBAAuB,SAAS,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACzF,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAU,EAAE,MAA0B,EAAE,OAAwB;QACrE,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;QAC7B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,uBAAuB,SAAS,oBAAoB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACpG,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,YAAY,CAAC,SAAiB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,uBAAuB,SAAS,0BAA0B,EAAE,OAAO,CAAC,CAAC;IACpG,CAAC;CACF"}
|
|
@@ -11,73 +11,248 @@ export declare class Project extends APIResource {
|
|
|
11
11
|
apiKeys: APIKeysAPI.APIKeys;
|
|
12
12
|
webhook: WebhookAPI.Webhook;
|
|
13
13
|
trigger: TriggerAPI.Trigger;
|
|
14
|
+
/**
|
|
15
|
+
* Creates a new project within the authenticated user's organization using the
|
|
16
|
+
* specified name. Projects are isolated environments within your organization,
|
|
17
|
+
* each with their own API keys, webhook configurations, and resources. Use this
|
|
18
|
+
* endpoint to create additional projects for different environments (e.g.,
|
|
19
|
+
* development, staging, production) or for separate applications.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* const project = await client.org.project.create({
|
|
24
|
+
* name: 'my-production-api',
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
14
28
|
create(body: ProjectCreateParams, options?: RequestOptions): APIPromise<ProjectCreateResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves detailed information about a specific project using its unique
|
|
31
|
+
* identifier. This endpoint provides complete project configuration including
|
|
32
|
+
* webhook URLs, creation and update timestamps, and webhook secrets. Use this
|
|
33
|
+
* endpoint to inspect project settings or verify project configuration.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```ts
|
|
37
|
+
* const project = await client.org.project.retrieve(
|
|
38
|
+
* 'proj_abc123xyz456',
|
|
39
|
+
* );
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
15
42
|
retrieve(projectID: string, options?: RequestOptions): APIPromise<ProjectRetrieveResponse>;
|
|
43
|
+
/**
|
|
44
|
+
* Retrieves all projects belonging to the authenticated user's organization.
|
|
45
|
+
* Projects are returned in descending order of creation date (newest first). This
|
|
46
|
+
* endpoint is useful for displaying project selection in dashboards or for
|
|
47
|
+
* integrations that need to list all available projects.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```ts
|
|
51
|
+
* const projects = await client.org.project.list();
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
16
54
|
list(options?: RequestOptions): APIPromise<ProjectListResponse>;
|
|
55
|
+
/**
|
|
56
|
+
* Soft-deletes a project within the organization by its unique identifier. When a
|
|
57
|
+
* project is deleted, it is marked as deleted but not immediately removed from the
|
|
58
|
+
* database. This operation affects all resources associated with the project
|
|
59
|
+
* including API keys, webhook configurations, and connected services. This action
|
|
60
|
+
* cannot be undone through the API.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```ts
|
|
64
|
+
* const project = await client.org.project.delete(
|
|
65
|
+
* 'proj_abc123xyz456',
|
|
66
|
+
* );
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
17
69
|
delete(projectID: string, options?: RequestOptions): APIPromise<ProjectDeleteResponse>;
|
|
18
70
|
}
|
|
19
71
|
export interface ProjectCreateResponse {
|
|
72
|
+
/**
|
|
73
|
+
* Unique identifier for the project
|
|
74
|
+
*/
|
|
20
75
|
id: string;
|
|
21
|
-
|
|
76
|
+
/**
|
|
77
|
+
* ISO timestamp when the project was created
|
|
78
|
+
*/
|
|
22
79
|
created_at: string;
|
|
80
|
+
/**
|
|
81
|
+
* Whether this project has been soft-deleted
|
|
82
|
+
*/
|
|
23
83
|
deleted: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Email address associated with the project
|
|
86
|
+
*/
|
|
24
87
|
email: string;
|
|
88
|
+
/**
|
|
89
|
+
* URL where event webhook notifications will be sent (can be null)
|
|
90
|
+
*/
|
|
25
91
|
event_webhook_url: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Name of the project
|
|
94
|
+
*/
|
|
26
95
|
name: string;
|
|
27
|
-
|
|
96
|
+
/**
|
|
97
|
+
* Identifier of the organization that owns this project
|
|
98
|
+
*/
|
|
28
99
|
org_id: string;
|
|
100
|
+
/**
|
|
101
|
+
* ISO timestamp when the project was last updated
|
|
102
|
+
*/
|
|
29
103
|
updated_at: string;
|
|
104
|
+
/**
|
|
105
|
+
* Secret key used to sign webhook payloads for verification
|
|
106
|
+
*/
|
|
30
107
|
webhook_secret: string | null;
|
|
108
|
+
/**
|
|
109
|
+
* URL where webhook events will be sent (can be null)
|
|
110
|
+
*/
|
|
31
111
|
webhook_url: string | null;
|
|
112
|
+
/**
|
|
113
|
+
* Indicates if the webhook configuration is using the new format
|
|
114
|
+
*/
|
|
32
115
|
is_new_webhook?: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* ISO timestamp when the project last subscribed to updates
|
|
118
|
+
*/
|
|
33
119
|
last_subscribed_at?: string | null;
|
|
120
|
+
/**
|
|
121
|
+
* Whether triggers are enabled for this project
|
|
122
|
+
*/
|
|
34
123
|
triggers_enabled?: boolean;
|
|
35
124
|
}
|
|
36
125
|
export interface ProjectRetrieveResponse {
|
|
126
|
+
/**
|
|
127
|
+
* Unique identifier for the project
|
|
128
|
+
*/
|
|
37
129
|
id: string;
|
|
38
|
-
|
|
130
|
+
/**
|
|
131
|
+
* ISO timestamp when the project was created
|
|
132
|
+
*/
|
|
39
133
|
created_at: string;
|
|
134
|
+
/**
|
|
135
|
+
* Whether this project has been soft-deleted
|
|
136
|
+
*/
|
|
40
137
|
deleted: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Email address associated with the project
|
|
140
|
+
*/
|
|
41
141
|
email: string;
|
|
142
|
+
/**
|
|
143
|
+
* URL where event webhook notifications will be sent (can be null)
|
|
144
|
+
*/
|
|
42
145
|
event_webhook_url: string | null;
|
|
146
|
+
/**
|
|
147
|
+
* Name of the project
|
|
148
|
+
*/
|
|
43
149
|
name: string;
|
|
44
|
-
|
|
150
|
+
/**
|
|
151
|
+
* Identifier of the organization that owns this project
|
|
152
|
+
*/
|
|
45
153
|
org_id: string;
|
|
154
|
+
/**
|
|
155
|
+
* ISO timestamp when the project was last updated
|
|
156
|
+
*/
|
|
46
157
|
updated_at: string;
|
|
158
|
+
/**
|
|
159
|
+
* Secret key used to sign webhook payloads for verification
|
|
160
|
+
*/
|
|
47
161
|
webhook_secret: string | null;
|
|
162
|
+
/**
|
|
163
|
+
* URL where webhook events will be sent (can be null)
|
|
164
|
+
*/
|
|
48
165
|
webhook_url: string | null;
|
|
166
|
+
/**
|
|
167
|
+
* Indicates if the webhook configuration is using the new format
|
|
168
|
+
*/
|
|
49
169
|
is_new_webhook?: boolean;
|
|
170
|
+
/**
|
|
171
|
+
* ISO timestamp when the project last subscribed to updates
|
|
172
|
+
*/
|
|
50
173
|
last_subscribed_at?: string | null;
|
|
174
|
+
/**
|
|
175
|
+
* Whether triggers are enabled for this project
|
|
176
|
+
*/
|
|
51
177
|
triggers_enabled?: boolean;
|
|
52
178
|
}
|
|
179
|
+
/**
|
|
180
|
+
* Response containing a list of projects
|
|
181
|
+
*/
|
|
53
182
|
export interface ProjectListResponse {
|
|
183
|
+
/**
|
|
184
|
+
* Array of projects belonging to the organization
|
|
185
|
+
*/
|
|
54
186
|
data: Array<ProjectListResponse.Data>;
|
|
55
187
|
}
|
|
56
188
|
export declare namespace ProjectListResponse {
|
|
57
189
|
interface Data {
|
|
190
|
+
/**
|
|
191
|
+
* Unique identifier for the project
|
|
192
|
+
*/
|
|
58
193
|
id: string;
|
|
59
|
-
|
|
194
|
+
/**
|
|
195
|
+
* ISO timestamp when the project was created
|
|
196
|
+
*/
|
|
60
197
|
created_at: string;
|
|
198
|
+
/**
|
|
199
|
+
* Whether this project has been soft-deleted
|
|
200
|
+
*/
|
|
61
201
|
deleted: boolean;
|
|
202
|
+
/**
|
|
203
|
+
* Email address associated with the project
|
|
204
|
+
*/
|
|
62
205
|
email: string;
|
|
206
|
+
/**
|
|
207
|
+
* URL where event webhook notifications will be sent (can be null)
|
|
208
|
+
*/
|
|
63
209
|
event_webhook_url: string | null;
|
|
210
|
+
/**
|
|
211
|
+
* Name of the project
|
|
212
|
+
*/
|
|
64
213
|
name: string;
|
|
65
|
-
|
|
214
|
+
/**
|
|
215
|
+
* Identifier of the organization that owns this project
|
|
216
|
+
*/
|
|
66
217
|
org_id: string;
|
|
218
|
+
/**
|
|
219
|
+
* ISO timestamp when the project was last updated
|
|
220
|
+
*/
|
|
67
221
|
updated_at: string;
|
|
222
|
+
/**
|
|
223
|
+
* Secret key used to sign webhook payloads for verification
|
|
224
|
+
*/
|
|
68
225
|
webhook_secret: string | null;
|
|
226
|
+
/**
|
|
227
|
+
* URL where webhook events will be sent (can be null)
|
|
228
|
+
*/
|
|
69
229
|
webhook_url: string | null;
|
|
230
|
+
/**
|
|
231
|
+
* Indicates if the webhook configuration is using the new format
|
|
232
|
+
*/
|
|
70
233
|
is_new_webhook?: boolean;
|
|
234
|
+
/**
|
|
235
|
+
* ISO timestamp when the project last subscribed to updates
|
|
236
|
+
*/
|
|
71
237
|
last_subscribed_at?: string | null;
|
|
238
|
+
/**
|
|
239
|
+
* Whether triggers are enabled for this project
|
|
240
|
+
*/
|
|
72
241
|
triggers_enabled?: boolean;
|
|
73
242
|
}
|
|
74
243
|
}
|
|
244
|
+
/**
|
|
245
|
+
* Response indicating the result of a project deletion operation
|
|
246
|
+
*/
|
|
75
247
|
export interface ProjectDeleteResponse {
|
|
248
|
+
/**
|
|
249
|
+
* Status of the delete operation
|
|
250
|
+
*/
|
|
76
251
|
status: string;
|
|
77
252
|
}
|
|
78
253
|
export interface ProjectCreateParams {
|
|
79
254
|
/**
|
|
80
|
-
*
|
|
255
|
+
* A unique name for your project that follows the required format rules
|
|
81
256
|
*/
|
|
82
257
|
name: string;
|
|
83
258
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.d.mts","sourceRoot":"","sources":["../../../src/resources/org/project/project.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EACL,0BAA0B,EAC1B,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,OAAO,EACR;OACM,KAAK,UAAU;OACf,EAAE,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE;OAC5E,KAAK,UAAU;OACf,EACL,OAAO,EACP,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACtB;OACM,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAI1F,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAI/D,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;CAGvF;AAED,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IAEX
|
|
1
|
+
{"version":3,"file":"project.d.mts","sourceRoot":"","sources":["../../../src/resources/org/project/project.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EACL,0BAA0B,EAC1B,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,OAAO,EACR;OACM,KAAK,UAAU;OACf,EAAE,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE;OAC5E,KAAK,UAAU;OACf,EACL,OAAO,EACP,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACtB;OACM,EAAE,UAAU,EAAE;OACd,EA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