@composio/client 0.1.0-alpha.9 → 2.0.0-rc.2
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/README.md +32 -354
- package/dist/api-key-revocation-BqiqlJh6.mjs +24 -0
- package/dist/auth-ClFXmN5T.mjs +17 -0
- package/dist/auth-configs-COkEdwlP.mjs +48 -0
- package/dist/clanker-1ptspWLR.mjs +23 -0
- package/dist/cli-BWTXVRT4.mjs +42 -0
- package/dist/client-D5v0_f-k.d.mts +22790 -0
- package/dist/config-BLBbhLe1.mjs +10 -0
- package/dist/config-DnyMhILW.d.mts +9 -0
- package/dist/connected-accounts-DK24qYIM.mjs +67 -0
- package/dist/consumer-Do3lg_vI.mjs +33 -0
- package/dist/custom-CH7n4Dyd.mjs +22 -0
- package/dist/files-DoNtYu2Q.mjs +29 -0
- package/dist/files-lfGzAnJ_.mjs +45 -0
- package/dist/generate-B7ClqhN0.mjs +22 -0
- package/dist/index.d.mts +5 -0
- package/dist/index.mjs +1219 -0
- package/dist/link-NsFv9L3R.mjs +22 -0
- package/dist/logs-BhCTVSZE.mjs +36 -0
- package/dist/manage-7vQYn-gu.mjs +26 -0
- package/dist/mcp-r-SWyCDh.mjs +73 -0
- package/dist/migration-CBhnoN-Y.mjs +10 -0
- package/dist/migration-CKGKuRO3.d.mts +9 -0
- package/dist/org-C12wx9QM.mjs +44 -0
- package/dist/owner-D4ghEkrK.mjs +17 -0
- package/dist/project-By-OBe-4.mjs +28 -0
- package/dist/project-Cnr9eceg.mjs +24 -0
- package/dist/project-DgdqyoZJ.mjs +22 -0
- package/dist/project-DzrdSIis.mjs +42 -0
- package/dist/realtime-DHJnO2Ye.mjs +26 -0
- package/dist/request-zLX87M09.mjs +1423 -0
- package/dist/resources/api-key-revocation.d.mts +2 -0
- package/dist/resources/api-key-revocation.mjs +3 -0
- package/dist/resources/auth/auth.d.mts +2 -0
- package/dist/resources/auth/auth.mjs +3 -0
- package/dist/resources/auth/index.d.mts +2 -0
- package/dist/resources/auth/index.mjs +4 -0
- package/dist/resources/auth/session.d.mts +2 -0
- package/dist/resources/auth/session.mjs +3 -0
- package/dist/resources/auth-configs.d.mts +2 -0
- package/dist/resources/auth-configs.mjs +3 -0
- package/dist/resources/auth.d.mts +2 -0
- package/dist/resources/auth.mjs +5 -0
- package/dist/resources/cli/cli.d.mts +2 -0
- package/dist/resources/cli/cli.mjs +3 -0
- package/dist/resources/cli/index.d.mts +2 -0
- package/dist/resources/cli/index.mjs +4 -0
- package/dist/resources/cli/realtime.d.mts +2 -0
- package/dist/resources/cli/realtime.mjs +3 -0
- package/dist/resources/cli.d.mts +2 -0
- package/dist/resources/cli.mjs +5 -0
- package/dist/resources/connected-accounts.d.mts +2 -0
- package/dist/resources/connected-accounts.mjs +3 -0
- package/dist/resources/files.d.mts +2 -0
- package/dist/resources/files.mjs +3 -0
- package/dist/resources/index.d.mts +3 -0
- package/dist/resources/index.mjs +16 -0
- package/dist/resources/link.d.mts +2 -0
- package/dist/resources/link.mjs +3 -0
- package/dist/resources/logs/index.d.mts +2 -0
- package/dist/resources/logs/index.mjs +5 -0
- package/dist/resources/logs/logs.d.mts +2 -0
- package/dist/resources/logs/logs.mjs +3 -0
- package/dist/resources/logs/tools.d.mts +2 -0
- package/dist/resources/logs/tools.mjs +3 -0
- package/dist/resources/logs/triggers.d.mts +2 -0
- package/dist/resources/logs/triggers.mjs +3 -0
- package/dist/resources/logs.d.mts +2 -0
- package/dist/resources/logs.mjs +6 -0
- package/dist/resources/mcp/custom.d.mts +2 -0
- package/dist/resources/mcp/custom.mjs +3 -0
- package/dist/resources/mcp/generate.d.mts +2 -0
- package/dist/resources/mcp/generate.mjs +3 -0
- package/dist/resources/mcp/index.d.mts +2 -0
- package/dist/resources/mcp/index.mjs +5 -0
- package/dist/resources/mcp/mcp.d.mts +2 -0
- package/dist/resources/mcp/mcp.mjs +3 -0
- package/dist/resources/mcp.d.mts +2 -0
- package/dist/resources/mcp.mjs +6 -0
- package/dist/resources/migration.d.mts +2 -0
- package/dist/resources/migration.mjs +3 -0
- package/dist/resources/org/clanker.d.mts +2 -0
- package/dist/resources/org/clanker.mjs +3 -0
- package/dist/resources/org/consumer/consumer.d.mts +2 -0
- package/dist/resources/org/consumer/consumer.mjs +3 -0
- package/dist/resources/org/consumer/index.d.mts +2 -0
- package/dist/resources/org/consumer/index.mjs +4 -0
- package/dist/resources/org/consumer/project.d.mts +2 -0
- package/dist/resources/org/consumer/project.mjs +3 -0
- package/dist/resources/org/consumer.d.mts +2 -0
- package/dist/resources/org/consumer.mjs +5 -0
- package/dist/resources/org/index.d.mts +2 -0
- package/dist/resources/org/index.mjs +8 -0
- package/dist/resources/org/org.d.mts +2 -0
- package/dist/resources/org/org.mjs +3 -0
- package/dist/resources/org/owner/index.d.mts +2 -0
- package/dist/resources/org/owner/index.mjs +4 -0
- package/dist/resources/org/owner/owner.d.mts +2 -0
- package/dist/resources/org/owner/owner.mjs +3 -0
- package/dist/resources/org/owner/project.d.mts +2 -0
- package/dist/resources/org/owner/project.mjs +3 -0
- package/dist/resources/org/owner.d.mts +2 -0
- package/dist/resources/org/owner.mjs +5 -0
- package/dist/resources/org/project.d.mts +2 -0
- package/dist/resources/org/project.mjs +3 -0
- package/dist/resources/org/usage.d.mts +2 -0
- package/dist/resources/org/usage.mjs +3 -0
- package/dist/resources/org.d.mts +2 -0
- package/dist/resources/org.mjs +9 -0
- package/dist/resources/project/config.d.mts +2 -0
- package/dist/resources/project/config.mjs +3 -0
- package/dist/resources/project/index.d.mts +3 -0
- package/dist/resources/project/index.mjs +4 -0
- package/dist/resources/project/project.d.mts +2 -0
- package/dist/resources/project/project.mjs +3 -0
- package/dist/resources/project/usage.d.mts +2 -0
- package/dist/resources/project/usage.mjs +3 -0
- package/dist/resources/project.d.mts +3 -0
- package/dist/resources/project.mjs +5 -0
- package/dist/resources/tool-router/index.d.mts +2 -0
- package/dist/resources/tool-router/index.mjs +4 -0
- package/dist/resources/tool-router/session/files.d.mts +2 -0
- package/dist/resources/tool-router/session/files.mjs +3 -0
- package/dist/resources/tool-router/session/index.d.mts +2 -0
- package/dist/resources/tool-router/session/index.mjs +4 -0
- package/dist/resources/tool-router/session/session.d.mts +2 -0
- package/dist/resources/tool-router/session/session.mjs +3 -0
- package/dist/resources/tool-router/session.d.mts +2 -0
- package/dist/resources/tool-router/session.mjs +5 -0
- package/dist/resources/tool-router/tool-router.d.mts +2 -0
- package/dist/resources/tool-router/tool-router.mjs +3 -0
- package/dist/resources/tool-router.d.mts +2 -0
- package/dist/resources/tool-router.mjs +5 -0
- package/dist/resources/toolkits.d.mts +2 -0
- package/dist/resources/toolkits.mjs +3 -0
- package/dist/resources/tools.d.mts +2 -0
- package/dist/resources/tools.mjs +3 -0
- package/dist/resources/trigger-instances/index.d.mts +2 -0
- package/dist/resources/trigger-instances/index.mjs +4 -0
- package/dist/resources/trigger-instances/manage.d.mts +2 -0
- package/dist/resources/trigger-instances/manage.mjs +3 -0
- package/dist/resources/trigger-instances/trigger-instances.d.mts +2 -0
- package/dist/resources/trigger-instances/trigger-instances.mjs +3 -0
- package/dist/resources/trigger-instances.d.mts +2 -0
- package/dist/resources/trigger-instances.mjs +5 -0
- package/dist/resources/triggers-types.d.mts +2 -0
- package/dist/resources/triggers-types.mjs +3 -0
- package/dist/resources/webhook-endpoints.d.mts +2 -0
- package/dist/resources/webhook-endpoints.mjs +3 -0
- package/dist/resources/webhook-subscriptions.d.mts +2 -0
- package/dist/resources/webhook-subscriptions.mjs +3 -0
- package/dist/session-Ci0MoTTn.mjs +21 -0
- package/dist/session-CmqSfXtq.mjs +97 -0
- package/dist/tool-router-DbmIxiU5.mjs +14 -0
- package/dist/toolkits-BUWB3p_C.mjs +43 -0
- package/dist/tools-B4kHPHbe.mjs +30 -0
- package/dist/tools-BO1wTIiE.mjs +60 -0
- package/dist/trigger-instances-CoEohjcv.mjs +33 -0
- package/dist/triggers-BwsETpsM.mjs +26 -0
- package/dist/triggers-types-DmOurxxx.mjs +31 -0
- package/dist/usage-BJsJ4nsd.mjs +29 -0
- package/dist/usage-D6ahTV_Y.mjs +29 -0
- package/dist/webhook-endpoints-CyWYVPMe.mjs +46 -0
- package/dist/webhook-subscriptions-BgnCTUGn.mjs +48 -0
- package/package.json +74 -129
- package/CHANGELOG.md +0 -96
- package/LICENSE +0 -201
- package/api-promise.d.mts +0 -2
- package/api-promise.d.mts.map +0 -1
- package/api-promise.d.ts +0 -2
- package/api-promise.d.ts.map +0 -1
- package/api-promise.js +0 -19
- package/api-promise.js.map +0 -1
- package/api-promise.mjs +0 -2
- package/api-promise.mjs.map +0 -1
- package/client.d.mts +0 -224
- package/client.d.mts.map +0 -1
- package/client.d.ts +0 -224
- package/client.d.ts.map +0 -1
- package/client.js +0 -502
- package/client.js.map +0 -1
- package/client.mjs +0 -475
- package/client.mjs.map +0 -1
- package/core/api-promise.d.mts +0 -47
- package/core/api-promise.d.mts.map +0 -1
- package/core/api-promise.d.ts +0 -47
- package/core/api-promise.d.ts.map +0 -1
- package/core/api-promise.js +0 -84
- package/core/api-promise.js.map +0 -1
- package/core/api-promise.mjs +0 -80
- package/core/api-promise.mjs.map +0 -1
- package/core/error.d.mts +0 -47
- package/core/error.d.mts.map +0 -1
- package/core/error.d.ts +0 -47
- package/core/error.d.ts.map +0 -1
- package/core/error.js +0 -113
- package/core/error.js.map +0 -1
- package/core/error.mjs +0 -97
- package/core/error.mjs.map +0 -1
- package/core/resource.d.mts +0 -6
- package/core/resource.d.mts.map +0 -1
- package/core/resource.d.ts +0 -6
- package/core/resource.d.ts.map +0 -1
- package/core/resource.js +0 -11
- package/core/resource.js.map +0 -1
- package/core/resource.mjs +0 -7
- package/core/resource.mjs.map +0 -1
- package/core/uploads.d.mts +0 -3
- package/core/uploads.d.mts.map +0 -1
- package/core/uploads.d.ts +0 -3
- package/core/uploads.d.ts.map +0 -1
- package/core/uploads.js +0 -6
- package/core/uploads.js.map +0 -1
- package/core/uploads.mjs +0 -2
- package/core/uploads.mjs.map +0 -1
- package/error.d.mts +0 -2
- package/error.d.mts.map +0 -1
- package/error.d.ts +0 -2
- package/error.d.ts.map +0 -1
- package/error.js +0 -19
- package/error.js.map +0 -1
- package/error.mjs +0 -2
- package/error.mjs.map +0 -1
- package/index.d.mts +0 -6
- package/index.d.mts.map +0 -1
- package/index.d.ts +0 -6
- package/index.d.ts.map +0 -1
- package/index.js +0 -30
- package/index.js.map +0 -1
- package/index.mjs +0 -7
- package/index.mjs.map +0 -1
- package/internal/builtin-types.d.mts +0 -75
- package/internal/builtin-types.d.mts.map +0 -1
- package/internal/builtin-types.d.ts +0 -75
- package/internal/builtin-types.d.ts.map +0 -1
- package/internal/builtin-types.js +0 -4
- package/internal/builtin-types.js.map +0 -1
- package/internal/builtin-types.mjs +0 -3
- package/internal/builtin-types.mjs.map +0 -1
- package/internal/detect-platform.d.mts +0 -15
- package/internal/detect-platform.d.mts.map +0 -1
- package/internal/detect-platform.d.ts +0 -15
- package/internal/detect-platform.d.ts.map +0 -1
- package/internal/detect-platform.js +0 -162
- package/internal/detect-platform.js.map +0 -1
- package/internal/detect-platform.mjs +0 -157
- package/internal/detect-platform.mjs.map +0 -1
- package/internal/errors.d.mts +0 -3
- package/internal/errors.d.mts.map +0 -1
- package/internal/errors.d.ts +0 -3
- package/internal/errors.d.ts.map +0 -1
- package/internal/errors.js +0 -41
- package/internal/errors.js.map +0 -1
- package/internal/errors.mjs +0 -36
- package/internal/errors.mjs.map +0 -1
- package/internal/headers.d.mts +0 -21
- package/internal/headers.d.mts.map +0 -1
- package/internal/headers.d.ts +0 -21
- package/internal/headers.d.ts.map +0 -1
- package/internal/headers.js +0 -77
- package/internal/headers.js.map +0 -1
- package/internal/headers.mjs +0 -72
- package/internal/headers.mjs.map +0 -1
- package/internal/parse.d.mts +0 -13
- package/internal/parse.d.mts.map +0 -1
- package/internal/parse.d.ts +0 -13
- package/internal/parse.d.ts.map +0 -1
- package/internal/parse.js +0 -36
- package/internal/parse.js.map +0 -1
- package/internal/parse.mjs +0 -32
- package/internal/parse.mjs.map +0 -1
- package/internal/qs/formats.d.mts +0 -6
- package/internal/qs/formats.d.mts.map +0 -1
- package/internal/qs/formats.d.ts +0 -6
- package/internal/qs/formats.d.ts.map +0 -1
- package/internal/qs/formats.js +0 -11
- package/internal/qs/formats.js.map +0 -1
- package/internal/qs/formats.mjs +0 -8
- package/internal/qs/formats.mjs.map +0 -1
- package/internal/qs/index.d.mts +0 -10
- package/internal/qs/index.d.mts.map +0 -1
- package/internal/qs/index.d.ts +0 -10
- package/internal/qs/index.d.ts.map +0 -1
- package/internal/qs/index.js +0 -14
- package/internal/qs/index.js.map +0 -1
- package/internal/qs/index.mjs +0 -10
- package/internal/qs/index.mjs.map +0 -1
- package/internal/qs/stringify.d.mts +0 -3
- package/internal/qs/stringify.d.mts.map +0 -1
- package/internal/qs/stringify.d.ts +0 -3
- package/internal/qs/stringify.d.ts.map +0 -1
- package/internal/qs/stringify.js +0 -280
- package/internal/qs/stringify.js.map +0 -1
- package/internal/qs/stringify.mjs +0 -276
- package/internal/qs/stringify.mjs.map +0 -1
- package/internal/qs/types.d.mts +0 -57
- package/internal/qs/types.d.mts.map +0 -1
- package/internal/qs/types.d.ts +0 -57
- package/internal/qs/types.d.ts.map +0 -1
- package/internal/qs/types.js +0 -3
- package/internal/qs/types.js.map +0 -1
- package/internal/qs/types.mjs +0 -2
- package/internal/qs/types.mjs.map +0 -1
- package/internal/qs/utils.d.mts +0 -14
- package/internal/qs/utils.d.mts.map +0 -1
- package/internal/qs/utils.d.ts +0 -14
- package/internal/qs/utils.d.ts.map +0 -1
- package/internal/qs/utils.js +0 -229
- package/internal/qs/utils.js.map +0 -1
- package/internal/qs/utils.mjs +0 -217
- package/internal/qs/utils.mjs.map +0 -1
- package/internal/request-options.d.mts +0 -33
- package/internal/request-options.d.mts.map +0 -1
- package/internal/request-options.d.ts +0 -33
- package/internal/request-options.d.ts.map +0 -1
- package/internal/request-options.js +0 -14
- package/internal/request-options.js.map +0 -1
- package/internal/request-options.mjs +0 -10
- package/internal/request-options.mjs.map +0 -1
- package/internal/shim-types.d.mts +0 -28
- package/internal/shim-types.d.ts +0 -28
- package/internal/shims/crypto.d.mts +0 -13
- package/internal/shims/crypto.d.mts.map +0 -1
- package/internal/shims/crypto.d.ts +0 -13
- package/internal/shims/crypto.d.ts.map +0 -1
- package/internal/shims/crypto.js +0 -13
- package/internal/shims/crypto.js.map +0 -1
- package/internal/shims/crypto.mjs +0 -9
- package/internal/shims/crypto.mjs.map +0 -1
- package/internal/shims/file.d.mts +0 -23
- package/internal/shims/file.d.mts.map +0 -1
- package/internal/shims/file.d.ts +0 -23
- package/internal/shims/file.d.ts.map +0 -1
- package/internal/shims/file.js +0 -16
- package/internal/shims/file.js.map +0 -1
- package/internal/shims/file.mjs +0 -12
- package/internal/shims/file.mjs.map +0 -1
- package/internal/shims/getBuiltinModule.d.mts +0 -11
- package/internal/shims/getBuiltinModule.d.mts.map +0 -1
- package/internal/shims/getBuiltinModule.d.ts +0 -11
- package/internal/shims/getBuiltinModule.d.ts.map +0 -1
- package/internal/shims/getBuiltinModule.js +0 -71
- package/internal/shims/getBuiltinModule.js.map +0 -1
- package/internal/shims/getBuiltinModule.mjs +0 -67
- package/internal/shims/getBuiltinModule.mjs.map +0 -1
- package/internal/shims/nullGetBuiltinModule.d.mts +0 -2
- package/internal/shims/nullGetBuiltinModule.d.mts.map +0 -1
- package/internal/shims/nullGetBuiltinModule.d.ts +0 -2
- package/internal/shims/nullGetBuiltinModule.d.ts.map +0 -1
- package/internal/shims/nullGetBuiltinModule.js +0 -5
- package/internal/shims/nullGetBuiltinModule.js.map +0 -1
- package/internal/shims/nullGetBuiltinModule.mjs +0 -2
- package/internal/shims/nullGetBuiltinModule.mjs.map +0 -1
- package/internal/shims.d.mts +0 -20
- package/internal/shims.d.mts.map +0 -1
- package/internal/shims.d.ts +0 -20
- package/internal/shims.d.ts.map +0 -1
- package/internal/shims.js +0 -93
- package/internal/shims.js.map +0 -1
- package/internal/shims.mjs +0 -85
- package/internal/shims.mjs.map +0 -1
- package/internal/to-file.d.mts +0 -46
- package/internal/to-file.d.mts.map +0 -1
- package/internal/to-file.d.ts +0 -46
- package/internal/to-file.d.ts.map +0 -1
- package/internal/to-file.js +0 -91
- package/internal/to-file.js.map +0 -1
- package/internal/to-file.mjs +0 -87
- package/internal/to-file.mjs.map +0 -1
- package/internal/types.d.mts +0 -68
- package/internal/types.d.mts.map +0 -1
- package/internal/types.d.ts +0 -68
- package/internal/types.d.ts.map +0 -1
- package/internal/types.js +0 -4
- package/internal/types.js.map +0 -1
- package/internal/types.mjs +0 -3
- package/internal/types.mjs.map +0 -1
- package/internal/uploads.d.mts +0 -44
- package/internal/uploads.d.mts.map +0 -1
- package/internal/uploads.d.ts +0 -44
- package/internal/uploads.d.ts.map +0 -1
- package/internal/uploads.js +0 -131
- package/internal/uploads.js.map +0 -1
- package/internal/uploads.mjs +0 -122
- package/internal/uploads.mjs.map +0 -1
- package/internal/utils/base64.d.mts +0 -3
- package/internal/utils/base64.d.mts.map +0 -1
- package/internal/utils/base64.d.ts +0 -3
- package/internal/utils/base64.d.ts.map +0 -1
- package/internal/utils/base64.js +0 -37
- package/internal/utils/base64.js.map +0 -1
- package/internal/utils/base64.mjs +0 -32
- package/internal/utils/base64.mjs.map +0 -1
- package/internal/utils/env.d.mts +0 -9
- package/internal/utils/env.d.mts.map +0 -1
- package/internal/utils/env.d.ts +0 -9
- package/internal/utils/env.d.ts.map +0 -1
- package/internal/utils/env.js +0 -22
- package/internal/utils/env.js.map +0 -1
- package/internal/utils/env.mjs +0 -18
- package/internal/utils/env.mjs.map +0 -1
- package/internal/utils/log.d.mts +0 -38
- package/internal/utils/log.d.mts.map +0 -1
- package/internal/utils/log.d.ts +0 -38
- package/internal/utils/log.d.ts.map +0 -1
- package/internal/utils/log.js +0 -86
- package/internal/utils/log.js.map +0 -1
- package/internal/utils/log.mjs +0 -80
- package/internal/utils/log.mjs.map +0 -1
- package/internal/utils/path.d.mts +0 -15
- package/internal/utils/path.d.mts.map +0 -1
- package/internal/utils/path.d.ts +0 -15
- package/internal/utils/path.d.ts.map +0 -1
- package/internal/utils/path.js +0 -58
- package/internal/utils/path.js.map +0 -1
- package/internal/utils/path.mjs +0 -53
- package/internal/utils/path.mjs.map +0 -1
- package/internal/utils/sleep.d.mts +0 -2
- package/internal/utils/sleep.d.mts.map +0 -1
- package/internal/utils/sleep.d.ts +0 -2
- package/internal/utils/sleep.d.ts.map +0 -1
- package/internal/utils/sleep.js +0 -7
- package/internal/utils/sleep.js.map +0 -1
- package/internal/utils/sleep.mjs +0 -3
- package/internal/utils/sleep.mjs.map +0 -1
- package/internal/utils/uuid.d.mts +0 -5
- package/internal/utils/uuid.d.mts.map +0 -1
- package/internal/utils/uuid.d.ts +0 -5
- package/internal/utils/uuid.d.ts.map +0 -1
- package/internal/utils/uuid.js +0 -20
- package/internal/utils/uuid.js.map +0 -1
- package/internal/utils/uuid.mjs +0 -16
- package/internal/utils/uuid.mjs.map +0 -1
- package/internal/utils/values.d.mts +0 -16
- package/internal/utils/values.d.mts.map +0 -1
- package/internal/utils/values.d.ts +0 -16
- package/internal/utils/values.d.ts.map +0 -1
- package/internal/utils/values.js +0 -109
- package/internal/utils/values.js.map +0 -1
- package/internal/utils/values.mjs +0 -92
- package/internal/utils/values.mjs.map +0 -1
- package/internal/utils.d.mts +0 -7
- package/internal/utils.d.mts.map +0 -1
- package/internal/utils.d.ts +0 -7
- package/internal/utils.d.ts.map +0 -1
- package/internal/utils.js +0 -24
- package/internal/utils.js.map +0 -1
- package/internal/utils.mjs +0 -8
- package/internal/utils.mjs.map +0 -1
- package/resource.d.mts +0 -2
- package/resource.d.mts.map +0 -1
- package/resource.d.ts +0 -2
- package/resource.d.ts.map +0 -1
- package/resource.js +0 -19
- package/resource.js.map +0 -1
- package/resource.mjs +0 -2
- package/resource.mjs.map +0 -1
- package/resources/action-execution.d.mts +0 -155
- package/resources/action-execution.d.mts.map +0 -1
- package/resources/action-execution.d.ts +0 -155
- package/resources/action-execution.d.ts.map +0 -1
- package/resources/action-execution.js +0 -19
- package/resources/action-execution.js.map +0 -1
- package/resources/action-execution.mjs +0 -15
- package/resources/action-execution.mjs.map +0 -1
- package/resources/auth/auth.d.mts +0 -10
- package/resources/auth/auth.d.mts.map +0 -1
- package/resources/auth/auth.d.ts +0 -10
- package/resources/auth/auth.d.ts.map +0 -1
- package/resources/auth/auth.js +0 -39
- package/resources/auth/auth.js.map +0 -1
- package/resources/auth/auth.mjs +0 -12
- package/resources/auth/auth.mjs.map +0 -1
- package/resources/auth/index.d.mts +0 -3
- package/resources/auth/index.d.mts.map +0 -1
- package/resources/auth/index.d.ts +0 -3
- package/resources/auth/index.d.ts.map +0 -1
- package/resources/auth/index.js +0 -9
- package/resources/auth/index.js.map +0 -1
- package/resources/auth/index.mjs +0 -4
- package/resources/auth/index.mjs.map +0 -1
- package/resources/auth/session.d.mts +0 -75
- package/resources/auth/session.d.mts.map +0 -1
- package/resources/auth/session.d.ts +0 -75
- package/resources/auth/session.d.ts.map +0 -1
- package/resources/auth/session.js +0 -12
- package/resources/auth/session.js.map +0 -1
- package/resources/auth/session.mjs +0 -8
- package/resources/auth/session.mjs.map +0 -1
- package/resources/auth-configs.d.mts +0 -217
- package/resources/auth-configs.d.mts.map +0 -1
- package/resources/auth-configs.d.ts +0 -217
- package/resources/auth-configs.d.ts.map +0 -1
- package/resources/auth-configs.js +0 -29
- package/resources/auth-configs.js.map +0 -1
- package/resources/auth-configs.mjs +0 -25
- package/resources/auth-configs.mjs.map +0 -1
- package/resources/auth.d.mts +0 -2
- package/resources/auth.d.mts.map +0 -1
- package/resources/auth.d.ts +0 -2
- package/resources/auth.d.ts.map +0 -1
- package/resources/auth.js +0 -19
- package/resources/auth.js.map +0 -1
- package/resources/auth.mjs +0 -3
- package/resources/auth.mjs.map +0 -1
- package/resources/cli.d.mts +0 -124
- package/resources/cli.d.mts.map +0 -1
- package/resources/cli.d.ts +0 -124
- package/resources/cli.d.ts.map +0 -1
- package/resources/cli.js +0 -18
- package/resources/cli.js.map +0 -1
- package/resources/cli.mjs +0 -14
- package/resources/cli.mjs.map +0 -1
- package/resources/connected-accounts.d.mts +0 -449
- package/resources/connected-accounts.d.mts.map +0 -1
- package/resources/connected-accounts.d.ts +0 -449
- package/resources/connected-accounts.d.ts.map +0 -1
- package/resources/connected-accounts.js +0 -28
- package/resources/connected-accounts.js.map +0 -1
- package/resources/connected-accounts.mjs +0 -24
- package/resources/connected-accounts.mjs.map +0 -1
- package/resources/index.d.mts +0 -14
- package/resources/index.d.mts.map +0 -1
- package/resources/index.d.ts +0 -14
- package/resources/index.d.ts.map +0 -1
- package/resources/index.js +0 -31
- package/resources/index.js.map +0 -1
- package/resources/index.mjs +0 -15
- package/resources/index.mjs.map +0 -1
- package/resources/mcp/command.d.mts +0 -34
- package/resources/mcp/command.d.mts.map +0 -1
- package/resources/mcp/command.d.ts +0 -34
- package/resources/mcp/command.d.ts.map +0 -1
- package/resources/mcp/command.js +0 -12
- package/resources/mcp/command.js.map +0 -1
- package/resources/mcp/command.mjs +0 -8
- package/resources/mcp/command.mjs.map +0 -1
- package/resources/mcp/index.d.mts +0 -3
- package/resources/mcp/index.d.mts.map +0 -1
- package/resources/mcp/index.d.ts +0 -3
- package/resources/mcp/index.d.ts.map +0 -1
- package/resources/mcp/index.js +0 -9
- package/resources/mcp/index.js.map +0 -1
- package/resources/mcp/index.mjs +0 -4
- package/resources/mcp/index.mjs.map +0 -1
- package/resources/mcp/mcp.d.mts +0 -378
- package/resources/mcp/mcp.d.mts.map +0 -1
- package/resources/mcp/mcp.d.ts +0 -378
- package/resources/mcp/mcp.d.ts.map +0 -1
- package/resources/mcp/mcp.js +0 -66
- package/resources/mcp/mcp.js.map +0 -1
- package/resources/mcp/mcp.mjs +0 -39
- package/resources/mcp/mcp.mjs.map +0 -1
- package/resources/mcp.d.mts +0 -2
- package/resources/mcp.d.mts.map +0 -1
- package/resources/mcp.d.ts +0 -2
- package/resources/mcp.d.ts.map +0 -1
- package/resources/mcp.js +0 -19
- package/resources/mcp.js.map +0 -1
- package/resources/mcp.mjs +0 -3
- package/resources/mcp.mjs.map +0 -1
- package/resources/org/api-key.d.mts +0 -17
- package/resources/org/api-key.d.mts.map +0 -1
- package/resources/org/api-key.d.ts +0 -17
- package/resources/org/api-key.d.ts.map +0 -1
- package/resources/org/api-key.js +0 -15
- package/resources/org/api-key.js.map +0 -1
- package/resources/org/api-key.mjs +0 -11
- package/resources/org/api-key.mjs.map +0 -1
- package/resources/org/index.d.mts +0 -4
- package/resources/org/index.d.mts.map +0 -1
- package/resources/org/index.d.ts +0 -4
- package/resources/org/index.d.ts.map +0 -1
- package/resources/org/index.js +0 -11
- package/resources/org/index.js.map +0 -1
- package/resources/org/index.mjs +0 -5
- package/resources/org/index.mjs.map +0 -1
- package/resources/org/org.d.mts +0 -14
- package/resources/org/org.d.mts.map +0 -1
- package/resources/org/org.d.ts +0 -14
- package/resources/org/org.d.ts.map +0 -1
- package/resources/org/org.js +0 -43
- package/resources/org/org.js.map +0 -1
- package/resources/org/org.mjs +0 -16
- package/resources/org/org.mjs.map +0 -1
- package/resources/org/project/api-keys.d.mts +0 -109
- package/resources/org/project/api-keys.d.mts.map +0 -1
- package/resources/org/project/api-keys.d.ts +0 -109
- package/resources/org/project/api-keys.d.ts.map +0 -1
- package/resources/org/project/api-keys.js +0 -23
- package/resources/org/project/api-keys.js.map +0 -1
- package/resources/org/project/api-keys.mjs +0 -19
- package/resources/org/project/api-keys.mjs.map +0 -1
- package/resources/org/project/index.d.mts +0 -5
- package/resources/org/project/index.d.mts.map +0 -1
- package/resources/org/project/index.d.ts +0 -5
- package/resources/org/project/index.d.ts.map +0 -1
- package/resources/org/project/index.js +0 -13
- package/resources/org/project/index.js.map +0 -1
- package/resources/org/project/index.mjs +0 -6
- package/resources/org/project/index.mjs.map +0 -1
- package/resources/org/project/project.d.mts +0 -90
- package/resources/org/project/project.d.mts.map +0 -1
- package/resources/org/project/project.d.ts +0 -90
- package/resources/org/project/project.d.ts.map +0 -1
- package/resources/org/project/project.js +0 -60
- package/resources/org/project/project.js.map +0 -1
- package/resources/org/project/project.mjs +0 -33
- package/resources/org/project/project.mjs.map +0 -1
- package/resources/org/project/trigger.d.mts +0 -51
- package/resources/org/project/trigger.d.mts.map +0 -1
- package/resources/org/project/trigger.d.ts +0 -51
- package/resources/org/project/trigger.d.ts.map +0 -1
- package/resources/org/project/trigger.js +0 -16
- package/resources/org/project/trigger.js.map +0 -1
- package/resources/org/project/trigger.mjs +0 -12
- package/resources/org/project/trigger.mjs.map +0 -1
- package/resources/org/project/webhook.d.mts +0 -92
- package/resources/org/project/webhook.d.mts.map +0 -1
- package/resources/org/project/webhook.d.ts +0 -92
- package/resources/org/project/webhook.d.ts.map +0 -1
- package/resources/org/project/webhook.js +0 -24
- package/resources/org/project/webhook.js.map +0 -1
- package/resources/org/project/webhook.mjs +0 -20
- package/resources/org/project/webhook.mjs.map +0 -1
- package/resources/org/project.d.mts +0 -2
- package/resources/org/project.d.mts.map +0 -1
- package/resources/org/project.d.ts +0 -2
- package/resources/org/project.d.ts.map +0 -1
- package/resources/org/project.js +0 -19
- package/resources/org/project.js.map +0 -1
- package/resources/org/project.mjs +0 -3
- package/resources/org/project.mjs.map +0 -1
- package/resources/org.d.mts +0 -2
- package/resources/org.d.mts.map +0 -1
- package/resources/org.d.ts +0 -2
- package/resources/org.d.ts.map +0 -1
- package/resources/org.js +0 -19
- package/resources/org.js.map +0 -1
- package/resources/org.mjs +0 -3
- package/resources/org.mjs.map +0 -1
- package/resources/team-members.d.mts +0 -57
- package/resources/team-members.d.mts.map +0 -1
- package/resources/team-members.d.ts +0 -57
- package/resources/team-members.d.ts.map +0 -1
- package/resources/team-members.js +0 -22
- package/resources/team-members.js.map +0 -1
- package/resources/team-members.mjs +0 -18
- package/resources/team-members.mjs.map +0 -1
- package/resources/toolkits.d.mts +0 -141
- package/resources/toolkits.d.mts.map +0 -1
- package/resources/toolkits.d.ts +0 -141
- package/resources/toolkits.d.ts.map +0 -1
- package/resources/toolkits.js +0 -19
- package/resources/toolkits.js.map +0 -1
- package/resources/toolkits.mjs +0 -15
- package/resources/toolkits.mjs.map +0 -1
- package/resources/tools.d.mts +0 -210
- package/resources/tools.d.mts.map +0 -1
- package/resources/tools.d.ts +0 -210
- package/resources/tools.d.ts.map +0 -1
- package/resources/tools.js +0 -28
- package/resources/tools.js.map +0 -1
- package/resources/tools.mjs +0 -24
- package/resources/tools.mjs.map +0 -1
- package/resources/trigger-instances/handle.d.mts +0 -25
- package/resources/trigger-instances/handle.d.mts.map +0 -1
- package/resources/trigger-instances/handle.d.ts +0 -25
- package/resources/trigger-instances/handle.d.ts.map +0 -1
- package/resources/trigger-instances/handle.js +0 -18
- package/resources/trigger-instances/handle.js.map +0 -1
- package/resources/trigger-instances/handle.mjs +0 -14
- package/resources/trigger-instances/handle.mjs.map +0 -1
- package/resources/trigger-instances/index.d.mts +0 -3
- package/resources/trigger-instances/index.d.mts.map +0 -1
- package/resources/trigger-instances/index.d.ts +0 -3
- package/resources/trigger-instances/index.d.ts.map +0 -1
- package/resources/trigger-instances/index.js +0 -9
- package/resources/trigger-instances/index.js.map +0 -1
- package/resources/trigger-instances/index.mjs +0 -4
- package/resources/trigger-instances/index.mjs.map +0 -1
- package/resources/trigger-instances/trigger-instances.d.mts +0 -126
- package/resources/trigger-instances/trigger-instances.d.mts.map +0 -1
- package/resources/trigger-instances/trigger-instances.d.ts +0 -126
- package/resources/trigger-instances/trigger-instances.d.ts.map +0 -1
- package/resources/trigger-instances/trigger-instances.js +0 -53
- package/resources/trigger-instances/trigger-instances.js.map +0 -1
- package/resources/trigger-instances/trigger-instances.mjs +0 -26
- package/resources/trigger-instances/trigger-instances.mjs.map +0 -1
- package/resources/trigger-instances.d.mts +0 -2
- package/resources/trigger-instances.d.mts.map +0 -1
- package/resources/trigger-instances.d.ts +0 -2
- package/resources/trigger-instances.d.ts.map +0 -1
- package/resources/trigger-instances.js +0 -19
- package/resources/trigger-instances.js.map +0 -1
- package/resources/trigger-instances.mjs +0 -3
- package/resources/trigger-instances.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/resources/triggers-types.d.mts +0 -59
- package/resources/triggers-types.d.mts.map +0 -1
- package/resources/triggers-types.d.ts +0 -59
- package/resources/triggers-types.d.ts.map +0 -1
- package/resources/triggers-types.js +0 -19
- package/resources/triggers-types.js.map +0 -1
- package/resources/triggers-types.mjs +0 -15
- package/resources/triggers-types.mjs.map +0 -1
- package/resources.d.mts +0 -2
- package/resources.d.mts.map +0 -1
- package/resources.d.ts +0 -2
- package/resources.d.ts.map +0 -1
- package/resources.js +0 -18
- package/resources.js.map +0 -1
- package/resources.mjs +0 -2
- package/resources.mjs.map +0 -1
- package/src/api-promise.ts +0 -2
- package/src/client.ts +0 -938
- package/src/core/README.md +0 -3
- package/src/core/api-promise.ts +0 -92
- package/src/core/error.ts +0 -130
- package/src/core/resource.ts +0 -11
- package/src/core/uploads.ts +0 -2
- package/src/error.ts +0 -2
- package/src/index.ts +0 -22
- package/src/internal/README.md +0 -3
- package/src/internal/builtin-types.ts +0 -93
- package/src/internal/detect-platform.ts +0 -196
- package/src/internal/errors.ts +0 -33
- package/src/internal/headers.ts +0 -96
- package/src/internal/parse.ts +0 -50
- package/src/internal/qs/LICENSE.md +0 -13
- package/src/internal/qs/README.md +0 -3
- package/src/internal/qs/formats.ts +0 -9
- package/src/internal/qs/index.ts +0 -13
- package/src/internal/qs/stringify.ts +0 -388
- package/src/internal/qs/types.ts +0 -71
- package/src/internal/qs/utils.ts +0 -265
- package/src/internal/request-options.ts +0 -37
- package/src/internal/shim-types.d.ts +0 -28
- package/src/internal/shims/crypto.ts +0 -18
- package/src/internal/shims/file.ts +0 -32
- package/src/internal/shims/getBuiltinModule.ts +0 -66
- package/src/internal/shims/nullGetBuiltinModule.ts +0 -1
- package/src/internal/shims.ts +0 -107
- package/src/internal/to-file.ts +0 -152
- package/src/internal/types.ts +0 -92
- package/src/internal/uploads.ts +0 -175
- package/src/internal/utils/base64.ts +0 -39
- package/src/internal/utils/env.ts +0 -18
- package/src/internal/utils/log.ts +0 -127
- package/src/internal/utils/path.ts +0 -63
- package/src/internal/utils/sleep.ts +0 -3
- package/src/internal/utils/uuid.ts +0 -19
- package/src/internal/utils/values.ts +0 -102
- package/src/internal/utils.ts +0 -8
- package/src/lib/.keep +0 -4
- package/src/resource.ts +0 -2
- package/src/resources/action-execution.ts +0 -244
- package/src/resources/auth/auth.ts +0 -15
- package/src/resources/auth/index.ts +0 -4
- package/src/resources/auth/session.ts +0 -127
- package/src/resources/auth-configs.ts +0 -362
- package/src/resources/auth.ts +0 -3
- package/src/resources/cli.ts +0 -166
- package/src/resources/connected-accounts.ts +0 -661
- package/src/resources/index.ts +0 -105
- package/src/resources/mcp/command.ts +0 -47
- package/src/resources/mcp/index.ts +0 -17
- package/src/resources/mcp/mcp.ts +0 -519
- package/src/resources/mcp.ts +0 -3
- package/src/resources/org/api-key.ts +0 -30
- package/src/resources/org/index.ts +0 -12
- package/src/resources/org/org.ts +0 -39
- package/src/resources/org/project/api-keys.ts +0 -156
- package/src/resources/org/project/index.ts +0 -35
- package/src/resources/org/project/project.ts +0 -206
- package/src/resources/org/project/trigger.ts +0 -95
- package/src/resources/org/project/webhook.ts +0 -131
- package/src/resources/org/project.ts +0 -3
- package/src/resources/org.ts +0 -3
- package/src/resources/team-members.ts +0 -111
- package/src/resources/toolkits.ts +0 -232
- package/src/resources/tools.ts +0 -319
- package/src/resources/trigger-instances/handle.ts +0 -45
- package/src/resources/trigger-instances/index.ts +0 -19
- package/src/resources/trigger-instances/trigger-instances.ts +0 -202
- package/src/resources/trigger-instances.ts +0 -3
- package/src/resources/trigger.ts +0 -108
- package/src/resources/triggers-types.ts +0 -105
- package/src/resources.ts +0 -1
- package/src/tsconfig.json +0 -11
- package/src/uploads.ts +0 -2
- package/src/version.ts +0 -1
- package/uploads.d.mts +0 -2
- package/uploads.d.mts.map +0 -1
- package/uploads.d.ts +0 -2
- package/uploads.d.ts.map +0 -1
- package/uploads.js +0 -19
- package/uploads.js.map +0 -1
- package/uploads.mjs +0 -2
- package/uploads.mjs.map +0 -1
- package/version.d.mts +0 -2
- package/version.d.mts.map +0 -1
- package/version.d.ts +0 -2
- package/version.d.ts.map +0 -1
- package/version.js +0 -5
- package/version.js.map +0 -1
- package/version.mjs +0 -2
- package/version.mjs.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { Fn as ToolkitListResponse, In as ToolkitRetrieveCategoriesResponse, Ln as ToolkitRetrieveParams, Pn as ToolkitListParams, Rn as ToolkitRetrieveResponse, zn as Toolkits } from "../client-D5v0_f-k.mjs";
|
|
2
|
+
export { type ToolkitListParams, type ToolkitListResponse, type ToolkitRetrieveCategoriesResponse, type ToolkitRetrieveParams, type ToolkitRetrieveResponse, Toolkits };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { _r as ToolRetrieveParams, cr as ToolExecuteParams, dr as ToolGetInputResponse, fr as ToolListParams, gr as ToolRetrieveEnumResponse, hr as ToolProxyResponse, lr as ToolExecuteResponse, mr as ToolProxyParams, pr as ToolListResponse, ur as ToolGetInputParams, vr as ToolRetrieveResponse, yr as Tools } from "../client-D5v0_f-k.mjs";
|
|
2
|
+
export { type ToolExecuteParams, type ToolExecuteResponse, type ToolGetInputParams, type ToolGetInputResponse, type ToolListParams, type ToolListResponse, type ToolProxyParams, type ToolProxyResponse, type ToolRetrieveEnumResponse, type ToolRetrieveParams, type ToolRetrieveResponse, Tools };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { cn as TriggerInstanceListActiveResponse, dn as TriggerInstances, fn as Manage, hn as ManageUpdateResponse, ln as TriggerInstanceUpsertParams, mn as ManageUpdateParams, pn as ManageDeleteResponse, sn as TriggerInstanceListActiveParams, un as TriggerInstanceUpsertResponse } from "../../client-D5v0_f-k.mjs";
|
|
2
|
+
export { Manage, type ManageDeleteResponse, type ManageUpdateParams, type ManageUpdateResponse, type TriggerInstanceListActiveParams, type TriggerInstanceListActiveResponse, type TriggerInstanceUpsertParams, type TriggerInstanceUpsertResponse, TriggerInstances };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { cn as TriggerInstanceListActiveResponse, dn as TriggerInstances, ln as TriggerInstanceUpsertParams, sn as TriggerInstanceListActiveParams, un as TriggerInstanceUpsertResponse } from "../../client-D5v0_f-k.mjs";
|
|
2
|
+
export { TriggerInstanceListActiveParams, TriggerInstanceListActiveResponse, TriggerInstanceUpsertParams, TriggerInstanceUpsertResponse, TriggerInstances };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { cn as TriggerInstanceListActiveResponse, dn as TriggerInstances, fn as Manage, hn as ManageUpdateResponse, ln as TriggerInstanceUpsertParams, mn as ManageUpdateParams, pn as ManageDeleteResponse, sn as TriggerInstanceListActiveParams, un as TriggerInstanceUpsertResponse } from "../client-D5v0_f-k.mjs";
|
|
2
|
+
export { Manage, type ManageDeleteResponse, type ManageUpdateParams, type ManageUpdateResponse, type TriggerInstanceListActiveParams, type TriggerInstanceListActiveResponse, type TriggerInstanceUpsertParams, type TriggerInstanceUpsertResponse, TriggerInstances };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { _n as TriggersTypeListResponse, bn as TriggersTypeRetrieveResponse, gn as TriggersTypeListParams, vn as TriggersTypeRetrieveEnumResponse, xn as TriggersTypes, yn as TriggersTypeRetrieveParams } from "../client-D5v0_f-k.mjs";
|
|
2
|
+
export { type TriggersTypeListParams, type TriggersTypeListResponse, type TriggersTypeRetrieveEnumResponse, type TriggersTypeRetrieveParams, type TriggersTypeRetrieveResponse, TriggersTypes };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { G as WebhookEndpointReplaceParams, H as WebhookEndpointCreateResponse, J as WebhookEndpointUpdateParams, K as WebhookEndpointReplaceResponse, U as WebhookEndpointListParams, V as WebhookEndpointCreateParams, W as WebhookEndpointListResponse, X as WebhookEndpoints, Y as WebhookEndpointUpdateResponse, q as WebhookEndpointRetrieveResponse } from "../client-D5v0_f-k.mjs";
|
|
2
|
+
export { type WebhookEndpointCreateParams, type WebhookEndpointCreateResponse, type WebhookEndpointListParams, type WebhookEndpointListResponse, type WebhookEndpointReplaceParams, type WebhookEndpointReplaceResponse, type WebhookEndpointRetrieveResponse, type WebhookEndpointUpdateParams, type WebhookEndpointUpdateResponse, WebhookEndpoints };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { $ as WebhookSubscriptionDeleteResponse, Q as WebhookSubscriptionCreateResponse, Z as WebhookSubscriptionCreateParams, at as WebhookSubscriptionUpdateParams, et as WebhookSubscriptionListEventTypesResponse, it as WebhookSubscriptionRotateSecretResponse, nt as WebhookSubscriptionListResponse, ot as WebhookSubscriptionUpdateResponse, rt as WebhookSubscriptionRetrieveResponse, st as WebhookSubscriptions, tt as WebhookSubscriptionListParams } from "../client-D5v0_f-k.mjs";
|
|
2
|
+
export { type WebhookSubscriptionCreateParams, type WebhookSubscriptionCreateResponse, type WebhookSubscriptionDeleteResponse, type WebhookSubscriptionListEventTypesResponse, type WebhookSubscriptionListParams, type WebhookSubscriptionListResponse, type WebhookSubscriptionRetrieveResponse, type WebhookSubscriptionRotateSecretResponse, type WebhookSubscriptionUpdateParams, type WebhookSubscriptionUpdateResponse, WebhookSubscriptions };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { r as path } from "./request-zLX87M09.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/compat/resources/auth/session.ts
|
|
4
|
+
/**
|
|
5
|
+
* Spec-surface `client.auth.session` resource: the 1-method user-session
|
|
6
|
+
* introspection surface of the v3.1 spec (`GET /auth/session/info` —
|
|
7
|
+
* authenticated by a user API key), never published by Stainless — wayfinder
|
|
8
|
+
* ticket 32.
|
|
9
|
+
*/
|
|
10
|
+
var Session = class {
|
|
11
|
+
#client;
|
|
12
|
+
constructor(client) {
|
|
13
|
+
this.#client = client;
|
|
14
|
+
}
|
|
15
|
+
retrieveInfo(options) {
|
|
16
|
+
return this.#client.get(path`/api/v3.1/auth/session/info`, { ...options });
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { Session as t };
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { r as path } from "./request-zLX87M09.mjs";
|
|
2
|
+
import { t as Files } from "./files-lfGzAnJ_.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/compat/resources/tool-router/session/session.ts
|
|
5
|
+
/**
|
|
6
|
+
* Stainless-shaped `client.toolRouter.session` resource: the 12-method
|
|
7
|
+
* published surface of `@composio/client` plus the spec-surface `delete`
|
|
8
|
+
* (never published by Stainless — wayfinder ticket 29). Positional
|
|
9
|
+
* `(sessionID, body/query?, options?)` signatures, `= {}` defaults on
|
|
10
|
+
* attach/configHistory/patch/toolkits/tools so the argument is optional and
|
|
11
|
+
* optional-body endpoints still send JSON `{}`, dispatched through the
|
|
12
|
+
* handwritten kernel (`Composio.get/post/patch/delete`).
|
|
13
|
+
*/
|
|
14
|
+
var Session = class {
|
|
15
|
+
files;
|
|
16
|
+
#client;
|
|
17
|
+
constructor(client) {
|
|
18
|
+
this.#client = client;
|
|
19
|
+
this.files = new Files(client);
|
|
20
|
+
}
|
|
21
|
+
create(body, options) {
|
|
22
|
+
return this.#client.post(path`/api/v3.1/tool_router/session`, {
|
|
23
|
+
body,
|
|
24
|
+
...options
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
retrieve(sessionID, options) {
|
|
28
|
+
return this.#client.get(path`/api/v3.1/tool_router/session/${sessionID}`, { ...options });
|
|
29
|
+
}
|
|
30
|
+
delete(sessionID, options) {
|
|
31
|
+
return this.#client.delete(path`/api/v3.1/tool_router/session/${sessionID}`, { ...options });
|
|
32
|
+
}
|
|
33
|
+
attach(sessionID, body = {}, options) {
|
|
34
|
+
return this.#client.post(path`/api/v3.1/tool_router/session/${sessionID}/attach`, {
|
|
35
|
+
body,
|
|
36
|
+
...options
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
configHistory(sessionID, query = {}, options) {
|
|
40
|
+
return this.#client.get(path`/api/v3.1/tool_router/session/${sessionID}/config_history`, {
|
|
41
|
+
query,
|
|
42
|
+
...options
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
execute(sessionID, body, options) {
|
|
46
|
+
return this.#client.post(path`/api/v3.1/tool_router/session/${sessionID}/execute`, {
|
|
47
|
+
body,
|
|
48
|
+
...options
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
executeMeta(sessionID, body, options) {
|
|
52
|
+
return this.#client.post(path`/api/v3.1/tool_router/session/${sessionID}/execute_meta`, {
|
|
53
|
+
body,
|
|
54
|
+
...options
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
link(sessionID, body, options) {
|
|
58
|
+
return this.#client.post(path`/api/v3.1/tool_router/session/${sessionID}/link`, {
|
|
59
|
+
body,
|
|
60
|
+
...options
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
patch(sessionID, body = {}, options) {
|
|
64
|
+
return this.#client.patch(path`/api/v3.1/tool_router/session/${sessionID}`, {
|
|
65
|
+
body,
|
|
66
|
+
...options
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
proxyExecute(sessionID, body, options) {
|
|
70
|
+
return this.#client.post(path`/api/v3.1/tool_router/session/${sessionID}/proxy_execute`, {
|
|
71
|
+
body,
|
|
72
|
+
...options
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
search(sessionID, body, options) {
|
|
76
|
+
return this.#client.post(path`/api/v3.1/tool_router/session/${sessionID}/search`, {
|
|
77
|
+
body,
|
|
78
|
+
...options
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
toolkits(sessionID, query = {}, options) {
|
|
82
|
+
return this.#client.get(path`/api/v3.1/tool_router/session/${sessionID}/toolkits`, {
|
|
83
|
+
query,
|
|
84
|
+
...options
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
tools(sessionID, query = {}, options) {
|
|
88
|
+
return this.#client.get(path`/api/v3.1/tool_router/session/${sessionID}/tools`, {
|
|
89
|
+
query,
|
|
90
|
+
...options
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
Session.Files = Files;
|
|
95
|
+
|
|
96
|
+
//#endregion
|
|
97
|
+
export { Session as t };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { t as Session } from "./session-CmqSfXtq.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/compat/resources/tool-router/tool-router.ts
|
|
4
|
+
/** Stainless-shaped `client.toolRouter` resource. */
|
|
5
|
+
var ToolRouter = class {
|
|
6
|
+
session;
|
|
7
|
+
constructor(client) {
|
|
8
|
+
this.session = new Session(client);
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
ToolRouter.Session = Session;
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { ToolRouter as t };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { r as path } from "./request-zLX87M09.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/compat/resources/toolkits.ts
|
|
4
|
+
/**
|
|
5
|
+
* Stainless-shaped `client.toolkits` resource: the 3-method published surface
|
|
6
|
+
* of `@composio/client` (retrieve/list/retrieveCategories) plus the
|
|
7
|
+
* spec-surface `retrieveMulti` (`POST /toolkits/multi`) and
|
|
8
|
+
* `retrieveChangelog` (`GET /toolkits/changelog`), never published by
|
|
9
|
+
* Stainless — wayfinder ticket 29.
|
|
10
|
+
*/
|
|
11
|
+
var Toolkits = class {
|
|
12
|
+
#client;
|
|
13
|
+
constructor(client) {
|
|
14
|
+
this.#client = client;
|
|
15
|
+
}
|
|
16
|
+
retrieve(slug, query = {}, options) {
|
|
17
|
+
return this.#client.get(path`/api/v3.1/toolkits/${slug}`, {
|
|
18
|
+
query,
|
|
19
|
+
...options
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
list(query = {}, options) {
|
|
23
|
+
return this.#client.get(path`/api/v3.1/toolkits`, {
|
|
24
|
+
query,
|
|
25
|
+
...options
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
retrieveCategories(options) {
|
|
29
|
+
return this.#client.get(path`/api/v3.1/toolkits/categories`, { ...options });
|
|
30
|
+
}
|
|
31
|
+
retrieveChangelog(options) {
|
|
32
|
+
return this.#client.get(path`/api/v3.1/toolkits/changelog`, { ...options });
|
|
33
|
+
}
|
|
34
|
+
retrieveMulti(body = {}, options) {
|
|
35
|
+
return this.#client.post(path`/api/v3.1/toolkits/multi`, {
|
|
36
|
+
body,
|
|
37
|
+
...options
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
//#endregion
|
|
43
|
+
export { Toolkits as t };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { r as path } from "./request-zLX87M09.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/compat/resources/logs/tools.ts
|
|
4
|
+
/**
|
|
5
|
+
* Stainless-shaped `client.logs.tools` resource plus the deprecated
|
|
6
|
+
* spec-surface `listFields` method: tool-execution log retrieval/listing and
|
|
7
|
+
* field metadata over `internal/action_execution/*`.
|
|
8
|
+
*/
|
|
9
|
+
var Tools = class {
|
|
10
|
+
#client;
|
|
11
|
+
constructor(client) {
|
|
12
|
+
this.#client = client;
|
|
13
|
+
}
|
|
14
|
+
retrieve(id, options) {
|
|
15
|
+
return this.#client.get(path`/api/v3.1/internal/action_execution/log/${id}`, { ...options });
|
|
16
|
+
}
|
|
17
|
+
list(body, options) {
|
|
18
|
+
return this.#client.post(path`/api/v3.1/internal/action_execution/logs`, {
|
|
19
|
+
body,
|
|
20
|
+
...options
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
/** @deprecated Deprecated in the input OpenAPI schema. */
|
|
24
|
+
listFields(options) {
|
|
25
|
+
return this.#client.get(path`/api/v3.1/internal/action_execution/fields`, { ...options });
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
export { Tools as t };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { c as mergeHeaders, r as path } from "./request-zLX87M09.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/compat/resources/tools.ts
|
|
4
|
+
/**
|
|
5
|
+
* Stainless-shaped `client.tools` resource: the 6-method published surface of
|
|
6
|
+
* `@composio/client` (retrieve/list/execute/getInput/proxy/retrieveEnum) plus
|
|
7
|
+
* the spec-surface `retrieveRequiredScopes` (`POST /tools/scopes/required`,
|
|
8
|
+
* never published by Stainless — wayfinder ticket 29), dispatched through the
|
|
9
|
+
* handwritten kernel.
|
|
10
|
+
*/
|
|
11
|
+
var Tools = class {
|
|
12
|
+
#client;
|
|
13
|
+
constructor(client) {
|
|
14
|
+
this.#client = client;
|
|
15
|
+
}
|
|
16
|
+
retrieve(toolSlug, query = {}, options) {
|
|
17
|
+
return this.#client.get(path`/api/v3.1/tools/${toolSlug}`, {
|
|
18
|
+
query,
|
|
19
|
+
...options
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
list(query = {}, options) {
|
|
23
|
+
return this.#client.get(path`/api/v3.1/tools`, {
|
|
24
|
+
query,
|
|
25
|
+
...options
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
execute(toolSlug, params = {}, options) {
|
|
29
|
+
const { "x-llm-gateway-headers": xLlmGatewayHeaders, ...body } = params ?? {};
|
|
30
|
+
return this.#client.post(path`/api/v3.1/tools/execute/${toolSlug}`, {
|
|
31
|
+
body,
|
|
32
|
+
...options,
|
|
33
|
+
headers: mergeHeaders([{ ...xLlmGatewayHeaders != null ? { "x-llm-gateway-headers": xLlmGatewayHeaders } : void 0 }, options?.headers])
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
getInput(toolSlug, body, options) {
|
|
37
|
+
return this.#client.post(path`/api/v3.1/tools/execute/${toolSlug}/input`, {
|
|
38
|
+
body,
|
|
39
|
+
...options
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
proxy(body, options) {
|
|
43
|
+
return this.#client.post(path`/api/v3.1/tools/execute/proxy`, {
|
|
44
|
+
body,
|
|
45
|
+
...options
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
retrieveEnum(options) {
|
|
49
|
+
return this.#client.get(path`/api/v3.1/tools/enum`, { ...options });
|
|
50
|
+
}
|
|
51
|
+
retrieveRequiredScopes(body, options) {
|
|
52
|
+
return this.#client.post(path`/api/v3.1/tools/scopes/required`, {
|
|
53
|
+
body,
|
|
54
|
+
...options
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
//#endregion
|
|
60
|
+
export { Tools as t };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { r as path } from "./request-zLX87M09.mjs";
|
|
2
|
+
import { t as Manage } from "./manage-7vQYn-gu.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/compat/resources/trigger-instances/trigger-instances.ts
|
|
5
|
+
/**
|
|
6
|
+
* Stainless-shaped `client.triggerInstances` resource: the exact 2-method
|
|
7
|
+
* surface of `@composio/client` (listActive/upsert), dispatched through the
|
|
8
|
+
* handwritten kernel.
|
|
9
|
+
*/
|
|
10
|
+
var TriggerInstances = class {
|
|
11
|
+
manage;
|
|
12
|
+
#client;
|
|
13
|
+
constructor(client) {
|
|
14
|
+
this.#client = client;
|
|
15
|
+
this.manage = new Manage(client);
|
|
16
|
+
}
|
|
17
|
+
listActive(query = {}, options) {
|
|
18
|
+
return this.#client.get(path`/api/v3.1/trigger_instances/active`, {
|
|
19
|
+
query,
|
|
20
|
+
...options
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
upsert(slug, body = {}, options) {
|
|
24
|
+
return this.#client.post(path`/api/v3.1/trigger_instances/${slug}/upsert`, {
|
|
25
|
+
body,
|
|
26
|
+
...options
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
TriggerInstances.Manage = Manage;
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
export { TriggerInstances as t };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { r as path } from "./request-zLX87M09.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/compat/resources/logs/triggers.ts
|
|
4
|
+
/**
|
|
5
|
+
* Stainless-shaped `client.logs.triggers` resource: the 2-method trigger-log
|
|
6
|
+
* sub-surface of `@composio/client` (retrieve/list over `internal/trigger/*`).
|
|
7
|
+
*/
|
|
8
|
+
var Triggers = class {
|
|
9
|
+
#client;
|
|
10
|
+
constructor(client) {
|
|
11
|
+
this.#client = client;
|
|
12
|
+
}
|
|
13
|
+
/** @deprecated Deprecated in the input OpenAPI schema. */
|
|
14
|
+
retrieve(id, options) {
|
|
15
|
+
return this.#client.get(path`/api/v3.1/internal/trigger/log/${id}`, { ...options });
|
|
16
|
+
}
|
|
17
|
+
list(body = {}, options) {
|
|
18
|
+
return this.#client.post(path`/api/v3.1/internal/trigger/logs`, {
|
|
19
|
+
body,
|
|
20
|
+
...options
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { Triggers as t };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { r as path } from "./request-zLX87M09.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/compat/resources/triggers-types.ts
|
|
4
|
+
/**
|
|
5
|
+
* Stainless-shaped `client.triggersTypes` resource: the exact 3-method surface
|
|
6
|
+
* of `@composio/client` (retrieve/list/retrieveEnum).
|
|
7
|
+
*/
|
|
8
|
+
var TriggersTypes = class {
|
|
9
|
+
#client;
|
|
10
|
+
constructor(client) {
|
|
11
|
+
this.#client = client;
|
|
12
|
+
}
|
|
13
|
+
retrieve(slug, query = {}, options) {
|
|
14
|
+
return this.#client.get(path`/api/v3.1/triggers_types/${slug}`, {
|
|
15
|
+
query,
|
|
16
|
+
...options
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
list(query = {}, options) {
|
|
20
|
+
return this.#client.get(path`/api/v3.1/triggers_types`, {
|
|
21
|
+
query,
|
|
22
|
+
...options
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
retrieveEnum(options) {
|
|
26
|
+
return this.#client.get(path`/api/v3.1/triggers_types/list/enum`, { ...options });
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
//#endregion
|
|
31
|
+
export { TriggersTypes as t };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { r as path } from "./request-zLX87M09.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/compat/resources/project/usage.ts
|
|
4
|
+
/**
|
|
5
|
+
* Spec-surface `client.project.usage` resource: the 2-method project metering
|
|
6
|
+
* surface of the v3.1 spec (retrieveSummary/retrieve over `/project/usage/*`
|
|
7
|
+
* — POST-that-reads), never published by Stainless — wayfinder ticket 32.
|
|
8
|
+
*/
|
|
9
|
+
var Usage = class {
|
|
10
|
+
#client;
|
|
11
|
+
constructor(client) {
|
|
12
|
+
this.#client = client;
|
|
13
|
+
}
|
|
14
|
+
retrieve(entityType, body = {}, options) {
|
|
15
|
+
return this.#client.post(path`/api/v3.1/project/usage/${entityType}`, {
|
|
16
|
+
body,
|
|
17
|
+
...options
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
retrieveSummary(body = {}, options) {
|
|
21
|
+
return this.#client.post(path`/api/v3.1/project/usage/summary`, {
|
|
22
|
+
body,
|
|
23
|
+
...options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
export { Usage as t };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { r as path } from "./request-zLX87M09.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/compat/resources/org/usage.ts
|
|
4
|
+
/**
|
|
5
|
+
* Spec-surface `client.org.usage` resource: the 2-method org metering surface
|
|
6
|
+
* of the v3.1 spec (retrieveSummary/retrieve over `/org/usage/*` —
|
|
7
|
+
* POST-that-reads), never published by Stainless — wayfinder ticket 31.
|
|
8
|
+
*/
|
|
9
|
+
var Usage = class {
|
|
10
|
+
#client;
|
|
11
|
+
constructor(client) {
|
|
12
|
+
this.#client = client;
|
|
13
|
+
}
|
|
14
|
+
retrieve(entityType, body = {}, options) {
|
|
15
|
+
return this.#client.post(path`/api/v3.1/org/usage/${entityType}`, {
|
|
16
|
+
body,
|
|
17
|
+
...options
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
retrieveSummary(body = {}, options) {
|
|
21
|
+
return this.#client.post(path`/api/v3.1/org/usage/summary`, {
|
|
22
|
+
body,
|
|
23
|
+
...options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
export { Usage as t };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { r as path } from "./request-zLX87M09.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/compat/resources/webhook-endpoints.ts
|
|
4
|
+
/**
|
|
5
|
+
* Spec-surface `client.webhookEndpoints` resource: the 5-method
|
|
6
|
+
* `/webhook_endpoints` surface of the v3.1 spec (create/list/retrieve/
|
|
7
|
+
* replace/update — `POST {nano_id}` has put-semantics, so it is `replace`;
|
|
8
|
+
* `PATCH {nano_id}` is `update`), never published by Stainless — wayfinder
|
|
9
|
+
* ticket 30.
|
|
10
|
+
*/
|
|
11
|
+
var WebhookEndpoints = class {
|
|
12
|
+
#client;
|
|
13
|
+
constructor(client) {
|
|
14
|
+
this.#client = client;
|
|
15
|
+
}
|
|
16
|
+
create(body, options) {
|
|
17
|
+
return this.#client.post(path`/api/v3.1/webhook_endpoints`, {
|
|
18
|
+
body,
|
|
19
|
+
...options
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
retrieve(nanoID, options) {
|
|
23
|
+
return this.#client.get(path`/api/v3.1/webhook_endpoints/${nanoID}`, { ...options });
|
|
24
|
+
}
|
|
25
|
+
update(nanoID, body, options) {
|
|
26
|
+
return this.#client.patch(path`/api/v3.1/webhook_endpoints/${nanoID}`, {
|
|
27
|
+
body,
|
|
28
|
+
...options
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
list(query = {}, options) {
|
|
32
|
+
return this.#client.get(path`/api/v3.1/webhook_endpoints`, {
|
|
33
|
+
query,
|
|
34
|
+
...options
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
replace(nanoID, body, options) {
|
|
38
|
+
return this.#client.post(path`/api/v3.1/webhook_endpoints/${nanoID}`, {
|
|
39
|
+
body,
|
|
40
|
+
...options
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
//#endregion
|
|
46
|
+
export { WebhookEndpoints as t };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { r as path } from "./request-zLX87M09.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/compat/resources/webhook-subscriptions.ts
|
|
4
|
+
/**
|
|
5
|
+
* Spec-surface `client.webhookSubscriptions` resource: the 7-method
|
|
6
|
+
* `/webhook_subscriptions` surface of the v3.1 spec
|
|
7
|
+
* (create/list/retrieve/update/delete/rotateSecret/listEventTypes), never
|
|
8
|
+
* published by Stainless — wayfinder ticket 30.
|
|
9
|
+
*/
|
|
10
|
+
var WebhookSubscriptions = class {
|
|
11
|
+
#client;
|
|
12
|
+
constructor(client) {
|
|
13
|
+
this.#client = client;
|
|
14
|
+
}
|
|
15
|
+
create(body, options) {
|
|
16
|
+
return this.#client.post(path`/api/v3.1/webhook_subscriptions`, {
|
|
17
|
+
body,
|
|
18
|
+
...options
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
retrieve(id, options) {
|
|
22
|
+
return this.#client.get(path`/api/v3.1/webhook_subscriptions/${id}`, { ...options });
|
|
23
|
+
}
|
|
24
|
+
update(id, body = {}, options) {
|
|
25
|
+
return this.#client.patch(path`/api/v3.1/webhook_subscriptions/${id}`, {
|
|
26
|
+
body,
|
|
27
|
+
...options
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
list(query = {}, options) {
|
|
31
|
+
return this.#client.get(path`/api/v3.1/webhook_subscriptions`, {
|
|
32
|
+
query,
|
|
33
|
+
...options
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
delete(id, options) {
|
|
37
|
+
return this.#client.delete(path`/api/v3.1/webhook_subscriptions/${id}`, { ...options });
|
|
38
|
+
}
|
|
39
|
+
listEventTypes(options) {
|
|
40
|
+
return this.#client.get(path`/api/v3.1/webhook_subscriptions/event_types`, { ...options });
|
|
41
|
+
}
|
|
42
|
+
rotateSecret(id, options) {
|
|
43
|
+
return this.#client.post(path`/api/v3.1/webhook_subscriptions/${id}/rotate_secret`, { ...options });
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
//#endregion
|
|
48
|
+
export { WebhookSubscriptions as t };
|