@composio/client 0.1.0-alpha.1
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 +15 -0
- package/LICENSE +201 -0
- package/README.md +373 -0
- package/api-promise.d.mts +2 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +2 -0
- package/api-promise.d.ts.map +1 -0
- package/api-promise.js +19 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +2 -0
- package/api-promise.mjs.map +1 -0
- package/client.d.mts +218 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +218 -0
- package/client.d.ts.map +1 -0
- package/client.js +506 -0
- package/client.js.map +1 -0
- package/client.mjs +479 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +47 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +47 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +84 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +80 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +47 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +47 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +113 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +97 -0
- package/core/error.mjs.map +1 -0
- package/core/resource.d.mts +6 -0
- package/core/resource.d.mts.map +1 -0
- package/core/resource.d.ts +6 -0
- package/core/resource.d.ts.map +1 -0
- package/core/resource.js +11 -0
- package/core/resource.js.map +1 -0
- package/core/resource.mjs +7 -0
- package/core/resource.mjs.map +1 -0
- package/core/uploads.d.mts +3 -0
- package/core/uploads.d.mts.map +1 -0
- package/core/uploads.d.ts +3 -0
- package/core/uploads.d.ts.map +1 -0
- package/core/uploads.js +6 -0
- package/core/uploads.js.map +1 -0
- package/core/uploads.mjs +2 -0
- package/core/uploads.mjs.map +1 -0
- package/error.d.mts +2 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +2 -0
- package/error.d.ts.map +1 -0
- package/error.js +19 -0
- package/error.js.map +1 -0
- package/error.mjs +2 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +6 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -0
- package/index.js +30 -0
- package/index.js.map +1 -0
- package/index.mjs +7 -0
- package/index.mjs.map +1 -0
- package/internal/builtin-types.d.mts +75 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +75 -0
- package/internal/builtin-types.d.ts.map +1 -0
- package/internal/builtin-types.js +4 -0
- package/internal/builtin-types.js.map +1 -0
- package/internal/builtin-types.mjs +3 -0
- package/internal/builtin-types.mjs.map +1 -0
- package/internal/detect-platform.d.mts +15 -0
- package/internal/detect-platform.d.mts.map +1 -0
- package/internal/detect-platform.d.ts +15 -0
- package/internal/detect-platform.d.ts.map +1 -0
- package/internal/detect-platform.js +162 -0
- package/internal/detect-platform.js.map +1 -0
- package/internal/detect-platform.mjs +157 -0
- package/internal/detect-platform.mjs.map +1 -0
- package/internal/errors.d.mts +3 -0
- package/internal/errors.d.mts.map +1 -0
- package/internal/errors.d.ts +3 -0
- package/internal/errors.d.ts.map +1 -0
- package/internal/errors.js +41 -0
- package/internal/errors.js.map +1 -0
- package/internal/errors.mjs +36 -0
- package/internal/errors.mjs.map +1 -0
- package/internal/headers.d.mts +21 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +21 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +77 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +72 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +13 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +13 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +36 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +32 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/request-options.d.mts +33 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +33 -0
- package/internal/request-options.d.ts.map +1 -0
- package/internal/request-options.js +14 -0
- package/internal/request-options.js.map +1 -0
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -0
- package/internal/shim-types.d.mts +28 -0
- package/internal/shim-types.d.ts +28 -0
- package/internal/shims/crypto.d.mts +13 -0
- package/internal/shims/crypto.d.mts.map +1 -0
- package/internal/shims/crypto.d.ts +13 -0
- package/internal/shims/crypto.d.ts.map +1 -0
- package/internal/shims/crypto.js +13 -0
- package/internal/shims/crypto.js.map +1 -0
- package/internal/shims/crypto.mjs +9 -0
- package/internal/shims/crypto.mjs.map +1 -0
- package/internal/shims/file.d.mts +23 -0
- package/internal/shims/file.d.mts.map +1 -0
- package/internal/shims/file.d.ts +23 -0
- package/internal/shims/file.d.ts.map +1 -0
- package/internal/shims/file.js +16 -0
- package/internal/shims/file.js.map +1 -0
- package/internal/shims/file.mjs +12 -0
- package/internal/shims/file.mjs.map +1 -0
- package/internal/shims/getBuiltinModule.d.mts +11 -0
- package/internal/shims/getBuiltinModule.d.mts.map +1 -0
- package/internal/shims/getBuiltinModule.d.ts +11 -0
- package/internal/shims/getBuiltinModule.d.ts.map +1 -0
- package/internal/shims/getBuiltinModule.js +68 -0
- package/internal/shims/getBuiltinModule.js.map +1 -0
- package/internal/shims/getBuiltinModule.mjs +64 -0
- package/internal/shims/getBuiltinModule.mjs.map +1 -0
- package/internal/shims/nullGetBuiltinModule.d.mts +2 -0
- package/internal/shims/nullGetBuiltinModule.d.mts.map +1 -0
- package/internal/shims/nullGetBuiltinModule.d.ts +2 -0
- package/internal/shims/nullGetBuiltinModule.d.ts.map +1 -0
- package/internal/shims/nullGetBuiltinModule.js +5 -0
- package/internal/shims/nullGetBuiltinModule.js.map +1 -0
- package/internal/shims/nullGetBuiltinModule.mjs +2 -0
- package/internal/shims/nullGetBuiltinModule.mjs.map +1 -0
- package/internal/shims.d.mts +20 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +20 -0
- package/internal/shims.d.ts.map +1 -0
- package/internal/shims.js +93 -0
- package/internal/shims.js.map +1 -0
- package/internal/shims.mjs +85 -0
- package/internal/shims.mjs.map +1 -0
- package/internal/to-file.d.mts +46 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +46 -0
- package/internal/to-file.d.ts.map +1 -0
- package/internal/to-file.js +91 -0
- package/internal/to-file.js.map +1 -0
- package/internal/to-file.mjs +87 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/types.d.mts +68 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +68 -0
- package/internal/types.d.ts.map +1 -0
- package/internal/types.js +4 -0
- package/internal/types.js.map +1 -0
- package/internal/types.mjs +3 -0
- package/internal/types.mjs.map +1 -0
- package/internal/uploads.d.mts +44 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +44 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +131 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +122 -0
- package/internal/uploads.mjs.map +1 -0
- package/internal/utils/base64.d.mts +3 -0
- package/internal/utils/base64.d.mts.map +1 -0
- package/internal/utils/base64.d.ts +3 -0
- package/internal/utils/base64.d.ts.map +1 -0
- package/internal/utils/base64.js +33 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +28 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/env.d.mts +9 -0
- package/internal/utils/env.d.mts.map +1 -0
- package/internal/utils/env.d.ts +9 -0
- package/internal/utils/env.d.ts.map +1 -0
- package/internal/utils/env.js +22 -0
- package/internal/utils/env.js.map +1 -0
- package/internal/utils/env.mjs +18 -0
- package/internal/utils/env.mjs.map +1 -0
- package/internal/utils/log.d.mts +38 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +38 -0
- package/internal/utils/log.d.ts.map +1 -0
- package/internal/utils/log.js +86 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +80 -0
- package/internal/utils/log.mjs.map +1 -0
- package/internal/utils/path.d.mts +15 -0
- package/internal/utils/path.d.mts.map +1 -0
- package/internal/utils/path.d.ts +15 -0
- package/internal/utils/path.d.ts.map +1 -0
- package/internal/utils/path.js +58 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +53 -0
- package/internal/utils/path.mjs.map +1 -0
- package/internal/utils/sleep.d.mts +2 -0
- package/internal/utils/sleep.d.mts.map +1 -0
- package/internal/utils/sleep.d.ts +2 -0
- package/internal/utils/sleep.d.ts.map +1 -0
- package/internal/utils/sleep.js +7 -0
- package/internal/utils/sleep.js.map +1 -0
- package/internal/utils/sleep.mjs +3 -0
- package/internal/utils/sleep.mjs.map +1 -0
- package/internal/utils/uuid.d.mts +5 -0
- package/internal/utils/uuid.d.mts.map +1 -0
- package/internal/utils/uuid.d.ts +5 -0
- package/internal/utils/uuid.d.ts.map +1 -0
- package/internal/utils/uuid.js +20 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +16 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +16 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +16 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +109 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +92 -0
- package/internal/utils/values.mjs.map +1 -0
- package/internal/utils.d.mts +7 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +7 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +24 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +8 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +146 -0
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +2 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +19 -0
- package/resource.js.map +1 -0
- package/resource.mjs +2 -0
- package/resource.mjs.map +1 -0
- package/resources/action-execution.d.mts +155 -0
- package/resources/action-execution.d.mts.map +1 -0
- package/resources/action-execution.d.ts +155 -0
- package/resources/action-execution.d.ts.map +1 -0
- package/resources/action-execution.js +19 -0
- package/resources/action-execution.js.map +1 -0
- package/resources/action-execution.mjs +15 -0
- package/resources/action-execution.mjs.map +1 -0
- package/resources/auth-configs.d.mts +217 -0
- package/resources/auth-configs.d.mts.map +1 -0
- package/resources/auth-configs.d.ts +217 -0
- package/resources/auth-configs.d.ts.map +1 -0
- package/resources/auth-configs.js +29 -0
- package/resources/auth-configs.js.map +1 -0
- package/resources/auth-configs.mjs +25 -0
- package/resources/auth-configs.mjs.map +1 -0
- package/resources/connected-accounts.d.mts +449 -0
- package/resources/connected-accounts.d.mts.map +1 -0
- package/resources/connected-accounts.d.ts +449 -0
- package/resources/connected-accounts.d.ts.map +1 -0
- package/resources/connected-accounts.js +28 -0
- package/resources/connected-accounts.js.map +1 -0
- package/resources/connected-accounts.mjs +24 -0
- package/resources/connected-accounts.mjs.map +1 -0
- package/resources/index.d.mts +11 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +11 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +25 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +12 -0
- package/resources/index.mjs.map +1 -0
- package/resources/org/api-key.d.mts +17 -0
- package/resources/org/api-key.d.mts.map +1 -0
- package/resources/org/api-key.d.ts +17 -0
- package/resources/org/api-key.d.ts.map +1 -0
- package/resources/org/api-key.js +15 -0
- package/resources/org/api-key.js.map +1 -0
- package/resources/org/api-key.mjs +11 -0
- package/resources/org/api-key.mjs.map +1 -0
- package/resources/org/index.d.mts +4 -0
- package/resources/org/index.d.mts.map +1 -0
- package/resources/org/index.d.ts +4 -0
- package/resources/org/index.d.ts.map +1 -0
- package/resources/org/index.js +11 -0
- package/resources/org/index.js.map +1 -0
- package/resources/org/index.mjs +5 -0
- package/resources/org/index.mjs.map +1 -0
- package/resources/org/org.d.mts +14 -0
- package/resources/org/org.d.mts.map +1 -0
- package/resources/org/org.d.ts +14 -0
- package/resources/org/org.d.ts.map +1 -0
- package/resources/org/org.js +43 -0
- package/resources/org/org.js.map +1 -0
- package/resources/org/org.mjs +16 -0
- package/resources/org/org.mjs.map +1 -0
- package/resources/org/project/api-keys.d.mts +109 -0
- package/resources/org/project/api-keys.d.mts.map +1 -0
- package/resources/org/project/api-keys.d.ts +109 -0
- package/resources/org/project/api-keys.d.ts.map +1 -0
- package/resources/org/project/api-keys.js +23 -0
- package/resources/org/project/api-keys.js.map +1 -0
- package/resources/org/project/api-keys.mjs +19 -0
- package/resources/org/project/api-keys.mjs.map +1 -0
- package/resources/org/project/index.d.mts +5 -0
- package/resources/org/project/index.d.mts.map +1 -0
- package/resources/org/project/index.d.ts +5 -0
- package/resources/org/project/index.d.ts.map +1 -0
- package/resources/org/project/index.js +13 -0
- package/resources/org/project/index.js.map +1 -0
- package/resources/org/project/index.mjs +6 -0
- package/resources/org/project/index.mjs.map +1 -0
- package/resources/org/project/project.d.mts +90 -0
- package/resources/org/project/project.d.mts.map +1 -0
- package/resources/org/project/project.d.ts +90 -0
- package/resources/org/project/project.d.ts.map +1 -0
- package/resources/org/project/project.js +60 -0
- package/resources/org/project/project.js.map +1 -0
- package/resources/org/project/project.mjs +33 -0
- package/resources/org/project/project.mjs.map +1 -0
- package/resources/org/project/trigger.d.mts +51 -0
- package/resources/org/project/trigger.d.mts.map +1 -0
- package/resources/org/project/trigger.d.ts +51 -0
- package/resources/org/project/trigger.d.ts.map +1 -0
- package/resources/org/project/trigger.js +16 -0
- package/resources/org/project/trigger.js.map +1 -0
- package/resources/org/project/trigger.mjs +12 -0
- package/resources/org/project/trigger.mjs.map +1 -0
- package/resources/org/project/webhook.d.mts +92 -0
- package/resources/org/project/webhook.d.mts.map +1 -0
- package/resources/org/project/webhook.d.ts +92 -0
- package/resources/org/project/webhook.d.ts.map +1 -0
- package/resources/org/project/webhook.js +24 -0
- package/resources/org/project/webhook.js.map +1 -0
- package/resources/org/project/webhook.mjs +20 -0
- package/resources/org/project/webhook.mjs.map +1 -0
- package/resources/org/project.d.mts +2 -0
- package/resources/org/project.d.mts.map +1 -0
- package/resources/org/project.d.ts +2 -0
- package/resources/org/project.d.ts.map +1 -0
- package/resources/org/project.js +19 -0
- package/resources/org/project.js.map +1 -0
- package/resources/org/project.mjs +3 -0
- package/resources/org/project.mjs.map +1 -0
- package/resources/org.d.mts +2 -0
- package/resources/org.d.mts.map +1 -0
- package/resources/org.d.ts +2 -0
- package/resources/org.d.ts.map +1 -0
- package/resources/org.js +19 -0
- package/resources/org.js.map +1 -0
- package/resources/org.mjs +3 -0
- package/resources/org.mjs.map +1 -0
- package/resources/team-members.d.mts +57 -0
- package/resources/team-members.d.mts.map +1 -0
- package/resources/team-members.d.ts +57 -0
- package/resources/team-members.d.ts.map +1 -0
- package/resources/team-members.js +22 -0
- package/resources/team-members.js.map +1 -0
- package/resources/team-members.mjs +18 -0
- package/resources/team-members.mjs.map +1 -0
- package/resources/toolkits.d.mts +141 -0
- package/resources/toolkits.d.mts.map +1 -0
- package/resources/toolkits.d.ts +141 -0
- package/resources/toolkits.d.ts.map +1 -0
- package/resources/toolkits.js +19 -0
- package/resources/toolkits.js.map +1 -0
- package/resources/toolkits.mjs +15 -0
- package/resources/toolkits.mjs.map +1 -0
- package/resources/tools.d.mts +164 -0
- package/resources/tools.d.mts.map +1 -0
- package/resources/tools.d.ts +164 -0
- package/resources/tools.d.ts.map +1 -0
- package/resources/tools.js +28 -0
- package/resources/tools.js.map +1 -0
- package/resources/tools.mjs +24 -0
- package/resources/tools.mjs.map +1 -0
- package/resources/trigger-instances/handle.d.mts +25 -0
- package/resources/trigger-instances/handle.d.mts.map +1 -0
- package/resources/trigger-instances/handle.d.ts +25 -0
- package/resources/trigger-instances/handle.d.ts.map +1 -0
- package/resources/trigger-instances/handle.js +18 -0
- package/resources/trigger-instances/handle.js.map +1 -0
- package/resources/trigger-instances/handle.mjs +14 -0
- package/resources/trigger-instances/handle.mjs.map +1 -0
- package/resources/trigger-instances/index.d.mts +3 -0
- package/resources/trigger-instances/index.d.mts.map +1 -0
- package/resources/trigger-instances/index.d.ts +3 -0
- package/resources/trigger-instances/index.d.ts.map +1 -0
- package/resources/trigger-instances/index.js +9 -0
- package/resources/trigger-instances/index.js.map +1 -0
- package/resources/trigger-instances/index.mjs +4 -0
- package/resources/trigger-instances/index.mjs.map +1 -0
- package/resources/trigger-instances/trigger-instances.d.mts +126 -0
- package/resources/trigger-instances/trigger-instances.d.mts.map +1 -0
- package/resources/trigger-instances/trigger-instances.d.ts +126 -0
- package/resources/trigger-instances/trigger-instances.d.ts.map +1 -0
- package/resources/trigger-instances/trigger-instances.js +53 -0
- package/resources/trigger-instances/trigger-instances.js.map +1 -0
- package/resources/trigger-instances/trigger-instances.mjs +26 -0
- package/resources/trigger-instances/trigger-instances.mjs.map +1 -0
- package/resources/trigger-instances.d.mts +2 -0
- package/resources/trigger-instances.d.mts.map +1 -0
- package/resources/trigger-instances.d.ts +2 -0
- package/resources/trigger-instances.d.ts.map +1 -0
- package/resources/trigger-instances.js +19 -0
- package/resources/trigger-instances.js.map +1 -0
- package/resources/trigger-instances.mjs +3 -0
- package/resources/trigger-instances.mjs.map +1 -0
- package/resources/trigger.d.mts +73 -0
- package/resources/trigger.d.mts.map +1 -0
- package/resources/trigger.d.ts +73 -0
- package/resources/trigger.d.ts.map +1 -0
- package/resources/trigger.js +12 -0
- package/resources/trigger.js.map +1 -0
- package/resources/trigger.mjs +8 -0
- package/resources/trigger.mjs.map +1 -0
- package/resources/triggers-types.d.mts +59 -0
- package/resources/triggers-types.d.mts.map +1 -0
- package/resources/triggers-types.d.ts +59 -0
- package/resources/triggers-types.d.ts.map +1 -0
- package/resources/triggers-types.js +19 -0
- package/resources/triggers-types.js.map +1 -0
- package/resources/triggers-types.mjs +15 -0
- package/resources/triggers-types.mjs.map +1 -0
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +18 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/api-promise.ts +2 -0
- package/src/client.ts +898 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +130 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -0
- package/src/index.ts +22 -0
- package/src/internal/README.md +3 -0
- package/src/internal/builtin-types.ts +93 -0
- package/src/internal/detect-platform.ts +196 -0
- package/src/internal/errors.ts +33 -0
- package/src/internal/headers.ts +96 -0
- package/src/internal/parse.ts +50 -0
- package/src/internal/request-options.ts +37 -0
- package/src/internal/shim-types.d.ts +28 -0
- package/src/internal/shims/crypto.ts +18 -0
- package/src/internal/shims/file.ts +32 -0
- package/src/internal/shims/getBuiltinModule.ts +64 -0
- package/src/internal/shims/nullGetBuiltinModule.ts +1 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +152 -0
- package/src/internal/types.ts +92 -0
- package/src/internal/uploads.ts +175 -0
- package/src/internal/utils/base64.ts +37 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +127 -0
- package/src/internal/utils/path.ts +65 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +19 -0
- package/src/internal/utils/values.ts +102 -0
- package/src/internal/utils.ts +8 -0
- package/src/lib/.keep +4 -0
- package/src/resource.ts +2 -0
- package/src/resources/action-execution.ts +244 -0
- package/src/resources/auth-configs.ts +362 -0
- package/src/resources/connected-accounts.ts +661 -0
- package/src/resources/index.ts +82 -0
- package/src/resources/org/api-key.ts +30 -0
- package/src/resources/org/index.ts +12 -0
- package/src/resources/org/org.ts +39 -0
- package/src/resources/org/project/api-keys.ts +156 -0
- package/src/resources/org/project/index.ts +35 -0
- package/src/resources/org/project/project.ts +206 -0
- package/src/resources/org/project/trigger.ts +95 -0
- package/src/resources/org/project/webhook.ts +131 -0
- package/src/resources/org/project.ts +3 -0
- package/src/resources/org.ts +3 -0
- package/src/resources/team-members.ts +111 -0
- package/src/resources/toolkits.ts +232 -0
- package/src/resources/tools.ts +265 -0
- package/src/resources/trigger-instances/handle.ts +45 -0
- package/src/resources/trigger-instances/index.ts +19 -0
- package/src/resources/trigger-instances/trigger-instances.ts +202 -0
- package/src/resources/trigger-instances.ts +3 -0
- package/src/resources/trigger.ts +108 -0
- package/src/resources/triggers-types.ts +105 -0
- package/src/resources.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +2 -0
- package/src/version.ts +1 -0
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +2 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +19 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +2 -0
- package/uploads.mjs.map +1 -0
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
|
@@ -0,0 +1,449 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
export declare class ConnectedAccounts extends APIResource {
|
|
5
|
+
create(body: ConnectedAccountCreateParams, options?: RequestOptions): APIPromise<ConnectedAccountCreateResponse>;
|
|
6
|
+
retrieve(nanoid: string, options?: RequestOptions): APIPromise<ConnectedAccountRetrieveResponse>;
|
|
7
|
+
list(query?: ConnectedAccountListParams | null | undefined, options?: RequestOptions): APIPromise<ConnectedAccountListResponse>;
|
|
8
|
+
delete(nanoid: string, options?: RequestOptions): APIPromise<ConnectedAccountDeleteResponse>;
|
|
9
|
+
refresh(nanoid: string, options?: RequestOptions): APIPromise<ConnectedAccountRefreshResponse>;
|
|
10
|
+
updateStatus(nanoID: string, body: ConnectedAccountUpdateStatusParams, options?: RequestOptions): APIPromise<ConnectedAccountUpdateStatusResponse>;
|
|
11
|
+
}
|
|
12
|
+
export interface ConnectedAccountCreateResponse {
|
|
13
|
+
/**
|
|
14
|
+
* The id of the connected account
|
|
15
|
+
*/
|
|
16
|
+
id: string;
|
|
17
|
+
/**
|
|
18
|
+
* The redirect uri of the app
|
|
19
|
+
*/
|
|
20
|
+
redirect_uri: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* The status of the connected account
|
|
23
|
+
*/
|
|
24
|
+
status: 'ACTIVE' | 'INACTIVE' | 'DELETED' | 'INITIATED' | 'EXPIRED' | 'FAILED';
|
|
25
|
+
}
|
|
26
|
+
export interface ConnectedAccountRetrieveResponse {
|
|
27
|
+
/**
|
|
28
|
+
* The id of the connection
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
auth_config: ConnectedAccountRetrieveResponse.AuthConfig;
|
|
32
|
+
/**
|
|
33
|
+
* The created at of the connection
|
|
34
|
+
*/
|
|
35
|
+
created_at: string;
|
|
36
|
+
/**
|
|
37
|
+
* The data of the connection
|
|
38
|
+
*/
|
|
39
|
+
data: Record<string, unknown>;
|
|
40
|
+
/**
|
|
41
|
+
* Whether the connected account is disabled
|
|
42
|
+
*/
|
|
43
|
+
is_disabled: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* The init data of the connection
|
|
46
|
+
*/
|
|
47
|
+
params: Record<string, unknown>;
|
|
48
|
+
/**
|
|
49
|
+
* The status of the connection
|
|
50
|
+
*/
|
|
51
|
+
status: 'ACTIVE' | 'INACTIVE' | 'DELETED' | 'INITIATED' | 'EXPIRED' | 'FAILED';
|
|
52
|
+
/**
|
|
53
|
+
* The reason the connected account is disabled
|
|
54
|
+
*/
|
|
55
|
+
status_reason: string | null;
|
|
56
|
+
toolkit: ConnectedAccountRetrieveResponse.Toolkit;
|
|
57
|
+
/**
|
|
58
|
+
* The updated at of the connection
|
|
59
|
+
*/
|
|
60
|
+
updated_at: string;
|
|
61
|
+
/**
|
|
62
|
+
* The user id of the connection
|
|
63
|
+
*/
|
|
64
|
+
user_id: string;
|
|
65
|
+
/**
|
|
66
|
+
* The uuid of the connection
|
|
67
|
+
*/
|
|
68
|
+
uuid: string;
|
|
69
|
+
/**
|
|
70
|
+
* The endpoint to make test request for verification
|
|
71
|
+
*/
|
|
72
|
+
test_request_endpoint?: string;
|
|
73
|
+
}
|
|
74
|
+
export declare namespace ConnectedAccountRetrieveResponse {
|
|
75
|
+
interface AuthConfig {
|
|
76
|
+
/**
|
|
77
|
+
* The id of the auth config
|
|
78
|
+
*/
|
|
79
|
+
id: string;
|
|
80
|
+
/**
|
|
81
|
+
* The auth scheme of the auth config
|
|
82
|
+
*/
|
|
83
|
+
auth_scheme: 'OAUTH2' | 'OAUTH1' | 'OAUTH1A' | 'API_KEY' | 'BASIC' | 'BILLCOM_AUTH' | 'BEARER_TOKEN' | 'GOOGLE_SERVICE_ACCOUNT' | 'NO_AUTH' | 'BASIC_WITH_JWT' | 'COMPOSIO_LINK' | 'CALCOM_AUTH' | 'SNOWFLAKE';
|
|
84
|
+
/**
|
|
85
|
+
* Whether the auth config is managed by Composio
|
|
86
|
+
*/
|
|
87
|
+
is_composio_managed: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Whether the auth config is disabled
|
|
90
|
+
*/
|
|
91
|
+
is_disabled: boolean;
|
|
92
|
+
}
|
|
93
|
+
interface Toolkit {
|
|
94
|
+
/**
|
|
95
|
+
* The slug of the toolkit
|
|
96
|
+
*/
|
|
97
|
+
slug: string;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
export interface ConnectedAccountListResponse {
|
|
101
|
+
items: Array<ConnectedAccountListResponse.Item>;
|
|
102
|
+
next_cursor: string | null;
|
|
103
|
+
total_pages: number;
|
|
104
|
+
}
|
|
105
|
+
export declare namespace ConnectedAccountListResponse {
|
|
106
|
+
interface Item {
|
|
107
|
+
/**
|
|
108
|
+
* The id of the connection
|
|
109
|
+
*/
|
|
110
|
+
id: string;
|
|
111
|
+
auth_config: Item.AuthConfig;
|
|
112
|
+
/**
|
|
113
|
+
* The created at of the connection
|
|
114
|
+
*/
|
|
115
|
+
created_at: string;
|
|
116
|
+
/**
|
|
117
|
+
* The data of the connection
|
|
118
|
+
*/
|
|
119
|
+
data: Record<string, unknown>;
|
|
120
|
+
/**
|
|
121
|
+
* Whether the connection is disabled
|
|
122
|
+
*/
|
|
123
|
+
is_disabled: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* The status of the connection
|
|
126
|
+
*/
|
|
127
|
+
status: 'ACTIVE' | 'INACTIVE' | 'DELETED' | 'INITIATED' | 'EXPIRED' | 'FAILED';
|
|
128
|
+
/**
|
|
129
|
+
* The reason the connection is disabled
|
|
130
|
+
*/
|
|
131
|
+
status_reason: string | null;
|
|
132
|
+
toolkit: Item.Toolkit;
|
|
133
|
+
/**
|
|
134
|
+
* The updated at of the connection
|
|
135
|
+
*/
|
|
136
|
+
updated_at: string;
|
|
137
|
+
/**
|
|
138
|
+
* The user id of the connection
|
|
139
|
+
*/
|
|
140
|
+
user_id: string;
|
|
141
|
+
/**
|
|
142
|
+
* The endpoint to make test request for verification
|
|
143
|
+
*/
|
|
144
|
+
test_request_endpoint?: string;
|
|
145
|
+
/**
|
|
146
|
+
* The uuid of the connected account
|
|
147
|
+
*/
|
|
148
|
+
uuid?: string;
|
|
149
|
+
}
|
|
150
|
+
namespace Item {
|
|
151
|
+
interface AuthConfig {
|
|
152
|
+
/**
|
|
153
|
+
* The id of the auth config
|
|
154
|
+
*/
|
|
155
|
+
id: string;
|
|
156
|
+
/**
|
|
157
|
+
* The auth scheme of the auth config
|
|
158
|
+
*/
|
|
159
|
+
auth_scheme: 'OAUTH2' | 'OAUTH1' | 'OAUTH1A' | 'API_KEY' | 'BASIC' | 'BILLCOM_AUTH' | 'BEARER_TOKEN' | 'GOOGLE_SERVICE_ACCOUNT' | 'NO_AUTH' | 'BASIC_WITH_JWT' | 'COMPOSIO_LINK' | 'CALCOM_AUTH' | 'SNOWFLAKE';
|
|
160
|
+
/**
|
|
161
|
+
* Whether the auth config is managed by Composio
|
|
162
|
+
*/
|
|
163
|
+
is_composio_managed: boolean;
|
|
164
|
+
/**
|
|
165
|
+
* Whether the auth config is disabled
|
|
166
|
+
*/
|
|
167
|
+
is_disabled: boolean;
|
|
168
|
+
}
|
|
169
|
+
interface Toolkit {
|
|
170
|
+
/**
|
|
171
|
+
* The slug of the toolkit
|
|
172
|
+
*/
|
|
173
|
+
slug: string;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
export interface ConnectedAccountDeleteResponse {
|
|
178
|
+
/**
|
|
179
|
+
* The id of the connection
|
|
180
|
+
*/
|
|
181
|
+
id: string;
|
|
182
|
+
auth_config: ConnectedAccountDeleteResponse.AuthConfig;
|
|
183
|
+
/**
|
|
184
|
+
* The created at of the connection
|
|
185
|
+
*/
|
|
186
|
+
created_at: string;
|
|
187
|
+
/**
|
|
188
|
+
* The data of the connection
|
|
189
|
+
*/
|
|
190
|
+
data: Record<string, unknown>;
|
|
191
|
+
/**
|
|
192
|
+
* Whether the connection is disabled
|
|
193
|
+
*/
|
|
194
|
+
is_disabled: boolean;
|
|
195
|
+
/**
|
|
196
|
+
* The status of the connection
|
|
197
|
+
*/
|
|
198
|
+
status: 'ACTIVE' | 'INACTIVE' | 'DELETED' | 'INITIATED' | 'EXPIRED' | 'FAILED';
|
|
199
|
+
/**
|
|
200
|
+
* The reason the connection is disabled
|
|
201
|
+
*/
|
|
202
|
+
status_reason: string | null;
|
|
203
|
+
toolkit: ConnectedAccountDeleteResponse.Toolkit;
|
|
204
|
+
/**
|
|
205
|
+
* The updated at of the connection
|
|
206
|
+
*/
|
|
207
|
+
updated_at: string;
|
|
208
|
+
/**
|
|
209
|
+
* The user id of the connection
|
|
210
|
+
*/
|
|
211
|
+
user_id: string;
|
|
212
|
+
/**
|
|
213
|
+
* The uuid of the connection
|
|
214
|
+
*/
|
|
215
|
+
uuid: string;
|
|
216
|
+
/**
|
|
217
|
+
* The endpoint to make test request for verification
|
|
218
|
+
*/
|
|
219
|
+
test_request_endpoint?: string;
|
|
220
|
+
}
|
|
221
|
+
export declare namespace ConnectedAccountDeleteResponse {
|
|
222
|
+
interface AuthConfig {
|
|
223
|
+
/**
|
|
224
|
+
* The id of the auth config
|
|
225
|
+
*/
|
|
226
|
+
id: string;
|
|
227
|
+
/**
|
|
228
|
+
* The auth scheme of the auth config
|
|
229
|
+
*/
|
|
230
|
+
auth_scheme: 'OAUTH2' | 'OAUTH1' | 'OAUTH1A' | 'API_KEY' | 'BASIC' | 'BILLCOM_AUTH' | 'BEARER_TOKEN' | 'GOOGLE_SERVICE_ACCOUNT' | 'NO_AUTH' | 'BASIC_WITH_JWT' | 'COMPOSIO_LINK' | 'CALCOM_AUTH' | 'SNOWFLAKE';
|
|
231
|
+
/**
|
|
232
|
+
* Whether the auth config is managed by Composio
|
|
233
|
+
*/
|
|
234
|
+
is_composio_managed: boolean;
|
|
235
|
+
/**
|
|
236
|
+
* Whether the auth config is disabled
|
|
237
|
+
*/
|
|
238
|
+
is_disabled: boolean;
|
|
239
|
+
}
|
|
240
|
+
interface Toolkit {
|
|
241
|
+
/**
|
|
242
|
+
* The slug of the toolkit
|
|
243
|
+
*/
|
|
244
|
+
slug: string;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
export interface ConnectedAccountRefreshResponse {
|
|
248
|
+
/**
|
|
249
|
+
* The id of the connection
|
|
250
|
+
*/
|
|
251
|
+
id: string;
|
|
252
|
+
auth_config: ConnectedAccountRefreshResponse.AuthConfig;
|
|
253
|
+
/**
|
|
254
|
+
* The created at of the connection
|
|
255
|
+
*/
|
|
256
|
+
created_at: string;
|
|
257
|
+
/**
|
|
258
|
+
* The data of the connection
|
|
259
|
+
*/
|
|
260
|
+
data: Record<string, unknown>;
|
|
261
|
+
/**
|
|
262
|
+
* Whether the connection is disabled
|
|
263
|
+
*/
|
|
264
|
+
is_disabled: boolean;
|
|
265
|
+
/**
|
|
266
|
+
* The status of the connection
|
|
267
|
+
*/
|
|
268
|
+
status: 'ACTIVE' | 'INACTIVE' | 'DELETED' | 'INITIATED' | 'EXPIRED' | 'FAILED';
|
|
269
|
+
/**
|
|
270
|
+
* The reason the connection is disabled
|
|
271
|
+
*/
|
|
272
|
+
status_reason: string | null;
|
|
273
|
+
toolkit: ConnectedAccountRefreshResponse.Toolkit;
|
|
274
|
+
/**
|
|
275
|
+
* The updated at of the connection
|
|
276
|
+
*/
|
|
277
|
+
updated_at: string;
|
|
278
|
+
/**
|
|
279
|
+
* The user id of the connection
|
|
280
|
+
*/
|
|
281
|
+
user_id: string;
|
|
282
|
+
/**
|
|
283
|
+
* The uuid of the connection
|
|
284
|
+
*/
|
|
285
|
+
uuid: string;
|
|
286
|
+
/**
|
|
287
|
+
* The endpoint to make test request for verification
|
|
288
|
+
*/
|
|
289
|
+
test_request_endpoint?: string;
|
|
290
|
+
}
|
|
291
|
+
export declare namespace ConnectedAccountRefreshResponse {
|
|
292
|
+
interface AuthConfig {
|
|
293
|
+
/**
|
|
294
|
+
* The id of the auth config
|
|
295
|
+
*/
|
|
296
|
+
id: string;
|
|
297
|
+
/**
|
|
298
|
+
* The auth scheme of the auth config
|
|
299
|
+
*/
|
|
300
|
+
auth_scheme: 'OAUTH2' | 'OAUTH1' | 'OAUTH1A' | 'API_KEY' | 'BASIC' | 'BILLCOM_AUTH' | 'BEARER_TOKEN' | 'GOOGLE_SERVICE_ACCOUNT' | 'NO_AUTH' | 'BASIC_WITH_JWT' | 'COMPOSIO_LINK' | 'CALCOM_AUTH' | 'SNOWFLAKE';
|
|
301
|
+
/**
|
|
302
|
+
* Whether the auth config is managed by Composio
|
|
303
|
+
*/
|
|
304
|
+
is_composio_managed: boolean;
|
|
305
|
+
/**
|
|
306
|
+
* Whether the auth config is disabled
|
|
307
|
+
*/
|
|
308
|
+
is_disabled: boolean;
|
|
309
|
+
}
|
|
310
|
+
interface Toolkit {
|
|
311
|
+
/**
|
|
312
|
+
* The slug of the toolkit
|
|
313
|
+
*/
|
|
314
|
+
slug: string;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
export interface ConnectedAccountUpdateStatusResponse {
|
|
318
|
+
/**
|
|
319
|
+
* The id of the connection
|
|
320
|
+
*/
|
|
321
|
+
id: string;
|
|
322
|
+
auth_config: ConnectedAccountUpdateStatusResponse.AuthConfig;
|
|
323
|
+
/**
|
|
324
|
+
* The created at of the connection
|
|
325
|
+
*/
|
|
326
|
+
created_at: string;
|
|
327
|
+
/**
|
|
328
|
+
* The data of the connection
|
|
329
|
+
*/
|
|
330
|
+
data: Record<string, unknown>;
|
|
331
|
+
/**
|
|
332
|
+
* Whether the connection is disabled
|
|
333
|
+
*/
|
|
334
|
+
is_disabled: boolean;
|
|
335
|
+
/**
|
|
336
|
+
* The status of the connection
|
|
337
|
+
*/
|
|
338
|
+
status: 'ACTIVE' | 'INACTIVE' | 'DELETED' | 'INITIATED' | 'EXPIRED' | 'FAILED';
|
|
339
|
+
/**
|
|
340
|
+
* The reason the connection is disabled
|
|
341
|
+
*/
|
|
342
|
+
status_reason: string | null;
|
|
343
|
+
toolkit: ConnectedAccountUpdateStatusResponse.Toolkit;
|
|
344
|
+
/**
|
|
345
|
+
* The updated at of the connection
|
|
346
|
+
*/
|
|
347
|
+
updated_at: string;
|
|
348
|
+
/**
|
|
349
|
+
* The user id of the connection
|
|
350
|
+
*/
|
|
351
|
+
user_id: string;
|
|
352
|
+
/**
|
|
353
|
+
* The uuid of the connection
|
|
354
|
+
*/
|
|
355
|
+
uuid: string;
|
|
356
|
+
/**
|
|
357
|
+
* The endpoint to make test request for verification
|
|
358
|
+
*/
|
|
359
|
+
test_request_endpoint?: string;
|
|
360
|
+
}
|
|
361
|
+
export declare namespace ConnectedAccountUpdateStatusResponse {
|
|
362
|
+
interface AuthConfig {
|
|
363
|
+
/**
|
|
364
|
+
* The id of the auth config
|
|
365
|
+
*/
|
|
366
|
+
id: string;
|
|
367
|
+
/**
|
|
368
|
+
* The auth scheme of the auth config
|
|
369
|
+
*/
|
|
370
|
+
auth_scheme: 'OAUTH2' | 'OAUTH1' | 'OAUTH1A' | 'API_KEY' | 'BASIC' | 'BILLCOM_AUTH' | 'BEARER_TOKEN' | 'GOOGLE_SERVICE_ACCOUNT' | 'NO_AUTH' | 'BASIC_WITH_JWT' | 'COMPOSIO_LINK' | 'CALCOM_AUTH' | 'SNOWFLAKE';
|
|
371
|
+
/**
|
|
372
|
+
* Whether the auth config is managed by Composio
|
|
373
|
+
*/
|
|
374
|
+
is_composio_managed: boolean;
|
|
375
|
+
/**
|
|
376
|
+
* Whether the auth config is disabled
|
|
377
|
+
*/
|
|
378
|
+
is_disabled: boolean;
|
|
379
|
+
}
|
|
380
|
+
interface Toolkit {
|
|
381
|
+
/**
|
|
382
|
+
* The slug of the toolkit
|
|
383
|
+
*/
|
|
384
|
+
slug: string;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
export interface ConnectedAccountCreateParams {
|
|
388
|
+
auth_config: ConnectedAccountCreateParams.AuthConfig;
|
|
389
|
+
connection: ConnectedAccountCreateParams.Connection;
|
|
390
|
+
}
|
|
391
|
+
export declare namespace ConnectedAccountCreateParams {
|
|
392
|
+
interface AuthConfig {
|
|
393
|
+
/**
|
|
394
|
+
* The auth config id of the app (must be a valid auth config id)
|
|
395
|
+
*/
|
|
396
|
+
id: string;
|
|
397
|
+
}
|
|
398
|
+
interface Connection {
|
|
399
|
+
/**
|
|
400
|
+
* Initial data to pass to the connected account
|
|
401
|
+
*/
|
|
402
|
+
data?: Record<string, unknown>;
|
|
403
|
+
/**
|
|
404
|
+
* The URL to redirect to after connection completion
|
|
405
|
+
*/
|
|
406
|
+
redirect_uri?: string;
|
|
407
|
+
/**
|
|
408
|
+
* The user id of the connected account
|
|
409
|
+
*/
|
|
410
|
+
user_id?: string;
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
export interface ConnectedAccountListParams {
|
|
414
|
+
/**
|
|
415
|
+
* The auth config id of the connected account
|
|
416
|
+
*/
|
|
417
|
+
auth_config_id?: string;
|
|
418
|
+
/**
|
|
419
|
+
* The cursor to paginate through the connected accounts
|
|
420
|
+
*/
|
|
421
|
+
cursor?: number | null;
|
|
422
|
+
/**
|
|
423
|
+
* The limit of the connected accounts to return
|
|
424
|
+
*/
|
|
425
|
+
limit?: number | null;
|
|
426
|
+
/**
|
|
427
|
+
* The order by of the connected accounts
|
|
428
|
+
*/
|
|
429
|
+
order_by?: 'created_at' | 'updated_at';
|
|
430
|
+
/**
|
|
431
|
+
* The status of the connected account
|
|
432
|
+
*/
|
|
433
|
+
status?: 'ACTIVE' | 'INACTIVE' | 'DELETED' | 'INITIATED' | 'EXPIRED' | 'FAILED';
|
|
434
|
+
/**
|
|
435
|
+
* The toolkit slug of the connected account
|
|
436
|
+
*/
|
|
437
|
+
toolkit_slug?: string;
|
|
438
|
+
/**
|
|
439
|
+
* The user id of the connected account
|
|
440
|
+
*/
|
|
441
|
+
user_id?: string;
|
|
442
|
+
}
|
|
443
|
+
export interface ConnectedAccountUpdateStatusParams {
|
|
444
|
+
enabled: boolean;
|
|
445
|
+
}
|
|
446
|
+
export declare namespace ConnectedAccounts {
|
|
447
|
+
export { type ConnectedAccountCreateResponse as ConnectedAccountCreateResponse, type ConnectedAccountRetrieveResponse as ConnectedAccountRetrieveResponse, type ConnectedAccountListResponse as ConnectedAccountListResponse, type ConnectedAccountDeleteResponse as ConnectedAccountDeleteResponse, type ConnectedAccountRefreshResponse as ConnectedAccountRefreshResponse, type ConnectedAccountUpdateStatusResponse as ConnectedAccountUpdateStatusResponse, type ConnectedAccountCreateParams as ConnectedAccountCreateParams, type ConnectedAccountListParams as ConnectedAccountListParams, type ConnectedAccountUpdateStatusParams as ConnectedAccountUpdateStatusParams, };
|
|
448
|
+
}
|
|
449
|
+
//# sourceMappingURL=connected-accounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connected-accounts.d.ts","sourceRoot":"","sources":["../src/resources/connected-accounts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,iBAAkB,SAAQ,WAAW;IAChD,MAAM,CACJ,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;IAI7C,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gCAAgC,CAAC;IAIhG,IAAI,CACF,KAAK,GAAE,0BAA0B,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAI3C,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;IAI5F,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,+BAA+B,CAAC;IAI9F,YAAY,CACV,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,kCAAkC,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oCAAoC,CAAC;CAGpD;AAED,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;OAEG;IACH,MAAM,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAC;CAChF;AAED,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,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0BAA0B;IACzC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,GAAG,YAAY,CAAC;IAEvC;;OAEG;IACH,MAAM,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAC;IAEhF;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,kCAAkC;IACjD,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,iBAAiB,CAAC;IACzC,OAAO,EACL,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,kCAAkC,IAAI,kCAAkC,GAC9E,CAAC;CACH"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ConnectedAccounts = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const path_1 = require("../internal/utils/path.js");
|
|
7
|
+
class ConnectedAccounts extends resource_1.APIResource {
|
|
8
|
+
create(body, options) {
|
|
9
|
+
return this._client.post('/api/v3/connected_accounts', { body, ...options });
|
|
10
|
+
}
|
|
11
|
+
retrieve(nanoid, options) {
|
|
12
|
+
return this._client.get((0, path_1.path) `/api/v3/connected_accounts/${nanoid}`, options);
|
|
13
|
+
}
|
|
14
|
+
list(query = {}, options) {
|
|
15
|
+
return this._client.get('/api/v3/connected_accounts', { query, ...options });
|
|
16
|
+
}
|
|
17
|
+
delete(nanoid, options) {
|
|
18
|
+
return this._client.delete((0, path_1.path) `/api/v3/connected_accounts/${nanoid}`, options);
|
|
19
|
+
}
|
|
20
|
+
refresh(nanoid, options) {
|
|
21
|
+
return this._client.post((0, path_1.path) `/api/v3/connected_accounts/${nanoid}/refresh`, options);
|
|
22
|
+
}
|
|
23
|
+
updateStatus(nanoID, body, options) {
|
|
24
|
+
return this._client.patch((0, path_1.path) `/api/v3/connected_accounts/${nanoID}/status`, { body, ...options });
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.ConnectedAccounts = ConnectedAccounts;
|
|
28
|
+
//# sourceMappingURL=connected-accounts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connected-accounts.js","sourceRoot":"","sources":["../src/resources/connected-accounts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,iBAAkB,SAAQ,sBAAW;IAChD,MAAM,CACJ,IAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,8BAA8B,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED,IAAI,CACF,QAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED,MAAM,CAAC,MAAc,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,8BAA8B,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAED,OAAO,CAAC,MAAc,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,8BAA8B,MAAM,UAAU,EAAE,OAAO,CAAC,CAAC;IACxF,CAAC;IAED,YAAY,CACV,MAAc,EACd,IAAwC,EACxC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,8BAA8B,MAAM,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrG,CAAC;CACF;AAlCD,8CAkCC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { path } from "../internal/utils/path.mjs";
|
|
4
|
+
export class ConnectedAccounts extends APIResource {
|
|
5
|
+
create(body, options) {
|
|
6
|
+
return this._client.post('/api/v3/connected_accounts', { body, ...options });
|
|
7
|
+
}
|
|
8
|
+
retrieve(nanoid, options) {
|
|
9
|
+
return this._client.get(path `/api/v3/connected_accounts/${nanoid}`, options);
|
|
10
|
+
}
|
|
11
|
+
list(query = {}, options) {
|
|
12
|
+
return this._client.get('/api/v3/connected_accounts', { query, ...options });
|
|
13
|
+
}
|
|
14
|
+
delete(nanoid, options) {
|
|
15
|
+
return this._client.delete(path `/api/v3/connected_accounts/${nanoid}`, options);
|
|
16
|
+
}
|
|
17
|
+
refresh(nanoid, options) {
|
|
18
|
+
return this._client.post(path `/api/v3/connected_accounts/${nanoid}/refresh`, options);
|
|
19
|
+
}
|
|
20
|
+
updateStatus(nanoID, body, options) {
|
|
21
|
+
return this._client.patch(path `/api/v3/connected_accounts/${nanoID}/status`, { body, ...options });
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=connected-accounts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connected-accounts.mjs","sourceRoot":"","sources":["../src/resources/connected-accounts.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,iBAAkB,SAAQ,WAAW;IAChD,MAAM,CACJ,IAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED,IAAI,CACF,QAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED,MAAM,CAAC,MAAc,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,8BAA8B,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAED,OAAO,CAAC,MAAc,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,8BAA8B,MAAM,UAAU,EAAE,OAAO,CAAC,CAAC;IACxF,CAAC;IAED,YAAY,CACV,MAAc,EACd,IAAwC,EACxC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,8BAA8B,MAAM,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrG,CAAC;CACF"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { ActionExecution, type ActionExecutionLogResponse, type ActionExecutionRetrieveFieldsResponse, type ActionExecutionRetrieveLogResponse, type ActionExecutionLogParams, } from "./action-execution.mjs";
|
|
2
|
+
export { AuthConfigs, type AuthConfigCreateResponse, type AuthConfigRetrieveResponse, type AuthConfigUpdateResponse, type AuthConfigListResponse, type AuthConfigDeleteResponse, type AuthConfigUpdateStatusResponse, type AuthConfigCreateParams, type AuthConfigUpdateParams, type AuthConfigListParams, type AuthConfigUpdateStatusParams, } from "./auth-configs.mjs";
|
|
3
|
+
export { ConnectedAccounts, type ConnectedAccountCreateResponse, type ConnectedAccountRetrieveResponse, type ConnectedAccountListResponse, type ConnectedAccountDeleteResponse, type ConnectedAccountRefreshResponse, type ConnectedAccountUpdateStatusResponse, type ConnectedAccountCreateParams, type ConnectedAccountListParams, type ConnectedAccountUpdateStatusParams, } from "./connected-accounts.mjs";
|
|
4
|
+
export { Org } from "./org/org.mjs";
|
|
5
|
+
export { TeamMembers, type TeamMemberUpdateResponse, type TeamMemberListResponse, type TeamMemberInviteResponse, type TeamMemberRemoveResponse, type TeamMemberUpdateParams, type TeamMemberInviteParams, } from "./team-members.mjs";
|
|
6
|
+
export { Toolkits, type ToolkitRetrieveResponse, type ToolkitListResponse, type ToolkitRetrieveCategoriesResponse, type ToolkitListParams, } from "./toolkits.mjs";
|
|
7
|
+
export { Tools, type ToolRetrieveResponse, type ToolListResponse, type ToolExecuteResponse, type ToolGetInputResponse, type ToolProxyResponse, type ToolRetrieveEnumResponse, type ToolListParams, type ToolExecuteParams, type ToolGetInputParams, type ToolProxyParams, } from "./tools.mjs";
|
|
8
|
+
export { Trigger, type TriggerLogResponse, type TriggerLogParams } from "./trigger.mjs";
|
|
9
|
+
export { TriggerInstances, type TriggerInstanceListActiveResponse, type TriggerInstanceRemoveUpsertResponse, type TriggerInstanceUpdateStatusResponse, type TriggerInstanceUpsertResponse, type TriggerInstanceListActiveParams, type TriggerInstanceUpdateStatusParams, type TriggerInstanceUpsertParams, } from "./trigger-instances/trigger-instances.mjs";
|
|
10
|
+
export { TriggersTypes, type TriggersTypeRetrieveResponse, type TriggersTypeListResponse, type TriggersTypeRetrieveEnumResponse, type TriggersTypeListParams, } from "./triggers-types.mjs";
|
|
11
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,eAAe,EACf,KAAK,0BAA0B,EAC/B,KAAK,qCAAqC,EAC1C,KAAK,kCAAkC,EACvC,KAAK,wBAAwB,GAC9B;OACM,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,GAClC;OACM,EACL,iBAAiB,EACjB,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,oCAAoC,EACzC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,kCAAkC,GACxC;OACM,EAAE,GAAG,EAAE;OACP,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B;OACM,EACL,QAAQ,EACR,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,iCAAiC,EACtC,KAAK,iBAAiB,GACvB;OACM,EACL,KAAK,EACL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,eAAe,GACrB;OACM,EAAE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OAC3D,EACL,gBAAgB,EAChB,KAAK,iCAAiC,EACtC,KAAK,mCAAmC,EACxC,KAAK,mCAAmC,EACxC,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,GACjC;OACM,EACL,aAAa,EACb,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,GAC5B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { ActionExecution, type ActionExecutionLogResponse, type ActionExecutionRetrieveFieldsResponse, type ActionExecutionRetrieveLogResponse, type ActionExecutionLogParams, } from "./action-execution.js";
|
|
2
|
+
export { AuthConfigs, type AuthConfigCreateResponse, type AuthConfigRetrieveResponse, type AuthConfigUpdateResponse, type AuthConfigListResponse, type AuthConfigDeleteResponse, type AuthConfigUpdateStatusResponse, type AuthConfigCreateParams, type AuthConfigUpdateParams, type AuthConfigListParams, type AuthConfigUpdateStatusParams, } from "./auth-configs.js";
|
|
3
|
+
export { ConnectedAccounts, type ConnectedAccountCreateResponse, type ConnectedAccountRetrieveResponse, type ConnectedAccountListResponse, type ConnectedAccountDeleteResponse, type ConnectedAccountRefreshResponse, type ConnectedAccountUpdateStatusResponse, type ConnectedAccountCreateParams, type ConnectedAccountListParams, type ConnectedAccountUpdateStatusParams, } from "./connected-accounts.js";
|
|
4
|
+
export { Org } from "./org/org.js";
|
|
5
|
+
export { TeamMembers, type TeamMemberUpdateResponse, type TeamMemberListResponse, type TeamMemberInviteResponse, type TeamMemberRemoveResponse, type TeamMemberUpdateParams, type TeamMemberInviteParams, } from "./team-members.js";
|
|
6
|
+
export { Toolkits, type ToolkitRetrieveResponse, type ToolkitListResponse, type ToolkitRetrieveCategoriesResponse, type ToolkitListParams, } from "./toolkits.js";
|
|
7
|
+
export { Tools, type ToolRetrieveResponse, type ToolListResponse, type ToolExecuteResponse, type ToolGetInputResponse, type ToolProxyResponse, type ToolRetrieveEnumResponse, type ToolListParams, type ToolExecuteParams, type ToolGetInputParams, type ToolProxyParams, } from "./tools.js";
|
|
8
|
+
export { Trigger, type TriggerLogResponse, type TriggerLogParams } from "./trigger.js";
|
|
9
|
+
export { TriggerInstances, type TriggerInstanceListActiveResponse, type TriggerInstanceRemoveUpsertResponse, type TriggerInstanceUpdateStatusResponse, type TriggerInstanceUpsertResponse, type TriggerInstanceListActiveParams, type TriggerInstanceUpdateStatusParams, type TriggerInstanceUpsertParams, } from "./trigger-instances/trigger-instances.js";
|
|
10
|
+
export { TriggersTypes, type TriggersTypeRetrieveResponse, type TriggersTypeListResponse, type TriggersTypeRetrieveEnumResponse, type TriggersTypeListParams, } from "./triggers-types.js";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,eAAe,EACf,KAAK,0BAA0B,EAC/B,KAAK,qCAAqC,EAC1C,KAAK,kCAAkC,EACvC,KAAK,wBAAwB,GAC9B;OACM,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,GAClC;OACM,EACL,iBAAiB,EACjB,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACpC,KAAK,oCAAoC,EACzC,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,kCAAkC,GACxC;OACM,EAAE,GAAG,EAAE;OACP,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC5B;OACM,EACL,QAAQ,EACR,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,iCAAiC,EACtC,KAAK,iBAAiB,GACvB;OACM,EACL,KAAK,EACL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,eAAe,GACrB;OACM,EAAE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OAC3D,EACL,gBAAgB,EAChB,KAAK,iCAAiC,EACtC,KAAK,mCAAmC,EACxC,KAAK,mCAAmC,EACxC,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,GACjC;OACM,EACL,aAAa,EACb,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,sBAAsB,GAC5B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.TriggersTypes = exports.TriggerInstances = exports.Trigger = exports.Tools = exports.Toolkits = exports.TeamMembers = exports.Org = exports.ConnectedAccounts = exports.AuthConfigs = exports.ActionExecution = void 0;
|
|
5
|
+
var action_execution_1 = require("./action-execution.js");
|
|
6
|
+
Object.defineProperty(exports, "ActionExecution", { enumerable: true, get: function () { return action_execution_1.ActionExecution; } });
|
|
7
|
+
var auth_configs_1 = require("./auth-configs.js");
|
|
8
|
+
Object.defineProperty(exports, "AuthConfigs", { enumerable: true, get: function () { return auth_configs_1.AuthConfigs; } });
|
|
9
|
+
var connected_accounts_1 = require("./connected-accounts.js");
|
|
10
|
+
Object.defineProperty(exports, "ConnectedAccounts", { enumerable: true, get: function () { return connected_accounts_1.ConnectedAccounts; } });
|
|
11
|
+
var org_1 = require("./org/org.js");
|
|
12
|
+
Object.defineProperty(exports, "Org", { enumerable: true, get: function () { return org_1.Org; } });
|
|
13
|
+
var team_members_1 = require("./team-members.js");
|
|
14
|
+
Object.defineProperty(exports, "TeamMembers", { enumerable: true, get: function () { return team_members_1.TeamMembers; } });
|
|
15
|
+
var toolkits_1 = require("./toolkits.js");
|
|
16
|
+
Object.defineProperty(exports, "Toolkits", { enumerable: true, get: function () { return toolkits_1.Toolkits; } });
|
|
17
|
+
var tools_1 = require("./tools.js");
|
|
18
|
+
Object.defineProperty(exports, "Tools", { enumerable: true, get: function () { return tools_1.Tools; } });
|
|
19
|
+
var trigger_1 = require("./trigger.js");
|
|
20
|
+
Object.defineProperty(exports, "Trigger", { enumerable: true, get: function () { return trigger_1.Trigger; } });
|
|
21
|
+
var trigger_instances_1 = require("./trigger-instances/trigger-instances.js");
|
|
22
|
+
Object.defineProperty(exports, "TriggerInstances", { enumerable: true, get: function () { return trigger_instances_1.TriggerInstances; } });
|
|
23
|
+
var triggers_types_1 = require("./triggers-types.js");
|
|
24
|
+
Object.defineProperty(exports, "TriggersTypes", { enumerable: true, get: function () { return triggers_types_1.TriggersTypes; } });
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0DAM4B;AAL1B,mHAAA,eAAe,OAAA;AAMjB,kDAYwB;AAXtB,2GAAA,WAAW,OAAA;AAYb,8DAW8B;AAV5B,uHAAA,iBAAiB,OAAA;AAWnB,oCAAgC;AAAvB,0FAAA,GAAG,OAAA;AACZ,kDAQwB;AAPtB,2GAAA,WAAW,OAAA;AAQb,0CAMoB;AALlB,oGAAA,QAAQ,OAAA;AAMV,oCAYiB;AAXf,8FAAA,KAAK,OAAA;AAYP,wCAAoF;AAA3E,kGAAA,OAAO,OAAA;AAChB,8EAS+C;AAR7C,qHAAA,gBAAgB,OAAA;AASlB,sDAM0B;AALxB,+GAAA,aAAa,OAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export { ActionExecution, } from "./action-execution.mjs";
|
|
3
|
+
export { AuthConfigs, } from "./auth-configs.mjs";
|
|
4
|
+
export { ConnectedAccounts, } from "./connected-accounts.mjs";
|
|
5
|
+
export { Org } from "./org/org.mjs";
|
|
6
|
+
export { TeamMembers, } from "./team-members.mjs";
|
|
7
|
+
export { Toolkits, } from "./toolkits.mjs";
|
|
8
|
+
export { Tools, } from "./tools.mjs";
|
|
9
|
+
export { Trigger } from "./trigger.mjs";
|
|
10
|
+
export { TriggerInstances, } from "./trigger-instances/trigger-instances.mjs";
|
|
11
|
+
export { TriggersTypes, } from "./triggers-types.mjs";
|
|
12
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,eAAe,GAKhB;OACM,EACL,WAAW,GAWZ;OACM,EACL,iBAAiB,GAUlB;OACM,EAAE,GAAG,EAAE;OACP,EACL,WAAW,GAOZ;OACM,EACL,QAAQ,GAKT;OACM,EACL,KAAK,GAWN;OACM,EAAE,OAAO,EAAkD;OAC3D,EACL,gBAAgB,GAQjB;OACM,EACL,aAAa,GAKd"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
|
+
export declare class APIKey extends APIResource {
|
|
5
|
+
retrieve(options?: RequestOptions): APIPromise<APIKeyRetrieveResponse>;
|
|
6
|
+
regenerate(options?: RequestOptions): APIPromise<APIKeyRegenerateResponse>;
|
|
7
|
+
}
|
|
8
|
+
export interface APIKeyRetrieveResponse {
|
|
9
|
+
org_api_key: string;
|
|
10
|
+
}
|
|
11
|
+
export interface APIKeyRegenerateResponse {
|
|
12
|
+
org_api_key: string;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace APIKey {
|
|
15
|
+
export { type APIKeyRetrieveResponse as APIKeyRetrieveResponse, type APIKeyRegenerateResponse as APIKeyRegenerateResponse, };
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=api-key.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-key.d.mts","sourceRoot":"","sources":["../../src/resources/org/api-key.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAItE,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;CAG3E;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
|
+
export declare class APIKey extends APIResource {
|
|
5
|
+
retrieve(options?: RequestOptions): APIPromise<APIKeyRetrieveResponse>;
|
|
6
|
+
regenerate(options?: RequestOptions): APIPromise<APIKeyRegenerateResponse>;
|
|
7
|
+
}
|
|
8
|
+
export interface APIKeyRetrieveResponse {
|
|
9
|
+
org_api_key: string;
|
|
10
|
+
}
|
|
11
|
+
export interface APIKeyRegenerateResponse {
|
|
12
|
+
org_api_key: string;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace APIKey {
|
|
15
|
+
export { type APIKeyRetrieveResponse as APIKeyRetrieveResponse, type APIKeyRegenerateResponse as APIKeyRegenerateResponse, };
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=api-key.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-key.d.ts","sourceRoot":"","sources":["../../src/resources/org/api-key.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAItE,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;CAG3E;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|