@composio/client 0.1.0-alpha.72 → 0.1.0-alpha.74
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 +41 -0
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts +8 -14
- package/client.d.mts.map +1 -1
- package/client.d.ts +8 -14
- package/client.d.ts.map +1 -1
- package/client.js +9 -7
- package/client.js.map +1 -1
- package/client.mjs +11 -9
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +4 -4
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +4 -4
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/auth-configs.d.mts +27 -6
- package/resources/auth-configs.d.mts.map +1 -1
- package/resources/auth-configs.d.ts +27 -6
- package/resources/auth-configs.d.ts.map +1 -1
- package/resources/auth-configs.js +9 -3
- package/resources/auth-configs.js.map +1 -1
- package/resources/auth-configs.mjs +9 -3
- package/resources/auth-configs.mjs.map +1 -1
- package/resources/cli/cli.d.mts.map +1 -1
- package/resources/cli/cli.d.ts.map +1 -1
- package/resources/cli/cli.mjs.map +1 -1
- package/resources/cli/index.d.mts.map +1 -1
- package/resources/cli/index.d.ts.map +1 -1
- package/resources/cli/index.mjs.map +1 -1
- package/resources/cli/realtime.d.mts.map +1 -1
- package/resources/cli/realtime.d.ts.map +1 -1
- package/resources/cli/realtime.mjs.map +1 -1
- package/resources/cli.d.mts.map +1 -1
- package/resources/cli.d.ts.map +1 -1
- package/resources/cli.mjs.map +1 -1
- package/resources/connected-accounts.d.mts +41 -31
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +41 -31
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/connected-accounts.js +8 -3
- package/resources/connected-accounts.js.map +1 -1
- package/resources/connected-accounts.mjs +8 -3
- package/resources/connected-accounts.mjs.map +1 -1
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts.map +1 -1
- package/resources/files.mjs.map +1 -1
- package/resources/index.d.mts +4 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -2
- package/resources/index.mjs.map +1 -1
- package/resources/link.d.mts.map +1 -1
- package/resources/link.d.ts.map +1 -1
- package/resources/link.mjs.map +1 -1
- package/resources/logs/index.d.mts.map +1 -1
- package/resources/logs/index.d.ts.map +1 -1
- package/resources/logs/index.mjs.map +1 -1
- package/resources/logs/logs.d.mts.map +1 -1
- package/resources/logs/logs.d.ts.map +1 -1
- package/resources/logs/logs.mjs.map +1 -1
- package/resources/logs/tools.d.mts.map +1 -1
- package/resources/logs/tools.d.ts.map +1 -1
- package/resources/logs/tools.mjs.map +1 -1
- package/resources/logs/triggers.d.mts.map +1 -1
- package/resources/logs/triggers.d.ts.map +1 -1
- package/resources/logs/triggers.mjs.map +1 -1
- package/resources/logs.d.mts.map +1 -1
- package/resources/logs.d.ts.map +1 -1
- package/resources/logs.mjs.map +1 -1
- package/resources/mcp/custom.d.mts.map +1 -1
- package/resources/mcp/custom.d.ts.map +1 -1
- package/resources/mcp/custom.mjs.map +1 -1
- package/resources/mcp/generate.d.mts.map +1 -1
- package/resources/mcp/generate.d.ts.map +1 -1
- package/resources/mcp/generate.mjs.map +1 -1
- package/resources/mcp/index.d.mts.map +1 -1
- package/resources/mcp/index.d.ts.map +1 -1
- package/resources/mcp/index.mjs.map +1 -1
- package/resources/mcp/mcp.d.mts.map +1 -1
- package/resources/mcp/mcp.d.ts.map +1 -1
- package/resources/mcp/mcp.mjs.map +1 -1
- package/resources/mcp.d.mts.map +1 -1
- package/resources/mcp.d.ts.map +1 -1
- package/resources/mcp.mjs.map +1 -1
- package/resources/migration.d.mts +0 -31
- package/resources/migration.d.mts.map +1 -1
- package/resources/migration.d.ts +0 -31
- package/resources/migration.d.ts.map +1 -1
- package/resources/migration.js +0 -11
- package/resources/migration.js.map +1 -1
- package/resources/migration.mjs +0 -11
- package/resources/migration.mjs.map +1 -1
- package/resources/project/config.d.mts +0 -67
- package/resources/project/config.d.mts.map +1 -1
- package/resources/project/config.d.ts +0 -67
- package/resources/project/config.d.ts.map +1 -1
- package/resources/project/config.js +0 -24
- package/resources/project/config.js.map +1 -1
- package/resources/project/config.mjs +0 -24
- package/resources/project/config.mjs.map +1 -1
- package/resources/project/index.d.mts +1 -1
- package/resources/project/index.d.mts.map +1 -1
- package/resources/project/index.d.ts +1 -1
- package/resources/project/index.d.ts.map +1 -1
- package/resources/project/index.js.map +1 -1
- package/resources/project/index.mjs +1 -1
- package/resources/project/index.mjs.map +1 -1
- package/resources/project/project.d.mts +2 -2
- package/resources/project/project.d.mts.map +1 -1
- package/resources/project/project.d.ts +2 -2
- package/resources/project/project.d.ts.map +1 -1
- package/resources/project/project.js.map +1 -1
- package/resources/project/project.mjs.map +1 -1
- package/resources/project.d.mts.map +1 -1
- package/resources/project.d.ts.map +1 -1
- package/resources/project.mjs.map +1 -1
- package/resources/tool-router/index.d.mts +1 -1
- package/resources/tool-router/index.d.mts.map +1 -1
- package/resources/tool-router/index.d.ts +1 -1
- package/resources/tool-router/index.d.ts.map +1 -1
- package/resources/tool-router/index.js.map +1 -1
- package/resources/tool-router/index.mjs +1 -1
- package/resources/tool-router/index.mjs.map +1 -1
- package/resources/tool-router/session/files.d.mts.map +1 -1
- package/resources/tool-router/session/files.d.ts.map +1 -1
- package/resources/tool-router/session/files.mjs.map +1 -1
- package/resources/tool-router/session/index.d.mts.map +1 -1
- package/resources/tool-router/session/index.d.ts.map +1 -1
- package/resources/tool-router/session/index.mjs.map +1 -1
- package/resources/tool-router/session/session.d.mts +12 -1
- package/resources/tool-router/session/session.d.mts.map +1 -1
- package/resources/tool-router/session/session.d.ts +12 -1
- package/resources/tool-router/session/session.d.ts.map +1 -1
- package/resources/tool-router/session/session.js.map +1 -1
- package/resources/tool-router/session/session.mjs.map +1 -1
- package/resources/tool-router/session.d.mts.map +1 -1
- package/resources/tool-router/session.d.ts.map +1 -1
- package/resources/tool-router/session.mjs.map +1 -1
- package/resources/tool-router/tool-router.d.mts +0 -84
- package/resources/tool-router/tool-router.d.mts.map +1 -1
- package/resources/tool-router/tool-router.d.ts +0 -84
- package/resources/tool-router/tool-router.d.ts.map +1 -1
- package/resources/tool-router/tool-router.js +0 -32
- package/resources/tool-router/tool-router.js.map +1 -1
- package/resources/tool-router/tool-router.mjs +0 -32
- package/resources/tool-router/tool-router.mjs.map +1 -1
- package/resources/tool-router.d.mts.map +1 -1
- package/resources/tool-router.d.ts.map +1 -1
- package/resources/tool-router.mjs.map +1 -1
- package/resources/toolkits.d.mts.map +1 -1
- package/resources/toolkits.d.ts.map +1 -1
- package/resources/toolkits.mjs.map +1 -1
- package/resources/tools.d.mts +2 -1
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +2 -1
- package/resources/tools.d.ts.map +1 -1
- package/resources/tools.js +2 -1
- package/resources/tools.js.map +1 -1
- package/resources/tools.mjs +2 -1
- package/resources/tools.mjs.map +1 -1
- package/resources/trigger-instances/index.d.mts.map +1 -1
- package/resources/trigger-instances/index.d.ts.map +1 -1
- package/resources/trigger-instances/index.mjs.map +1 -1
- package/resources/trigger-instances/manage.d.mts.map +1 -1
- package/resources/trigger-instances/manage.d.ts.map +1 -1
- package/resources/trigger-instances/manage.mjs.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.mts +6 -1
- package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.ts +6 -1
- package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
- package/resources/trigger-instances.d.mts.map +1 -1
- package/resources/trigger-instances.d.ts.map +1 -1
- package/resources/trigger-instances.mjs.map +1 -1
- package/resources/triggers-types.d.mts.map +1 -1
- package/resources/triggers-types.d.ts.map +1 -1
- package/resources/triggers-types.mjs.map +1 -1
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/client.ts +17 -27
- package/src/resources/auth-configs.ts +37 -6
- package/src/resources/connected-accounts.ts +56 -51
- package/src/resources/index.ts +4 -10
- package/src/resources/migration.ts +1 -45
- package/src/resources/project/config.ts +1 -106
- package/src/resources/project/index.ts +1 -6
- package/src/resources/project/project.ts +2 -7
- package/src/resources/tool-router/index.ts +1 -5
- package/src/resources/tool-router/session/session.ts +14 -3
- package/src/resources/tool-router/tool-router.ts +0 -103
- package/src/resources/tools.ts +2 -1
- package/src/resources/trigger-instances/trigger-instances.ts +8 -2
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger-instances.d.ts","sourceRoot":"","sources":["../../src/resources/trigger-instances/trigger-instances.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"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,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAE7D;;OAEG;IACH,cAAc,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAE5C;;;OAGG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAE3C;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAID,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger-instances.js","sourceRoot":"","sources":["../../src/resources/trigger-instances/trigger-instances.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+DAAsC;AACtC,wCAAkG;AAGlG,uDAAiD;AAEjD;;GAEG;AACH,MAAa,gBAAiB,SAAQ,sBAAW;IAAjD;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAyChE,CAAC;IAvCC;;;;;;;;;;OAUG;IACH,UAAU,CACR,QAA4D,EAAE,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAoC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,IAAY,EACZ,OAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,+BAA+B,IAAI,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;CACF;AA1CD,4CA0CC;
|
|
1
|
+
{"version":3,"file":"trigger-instances.js","sourceRoot":"","sources":["../../src/resources/trigger-instances/trigger-instances.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+DAAsC;AACtC,wCAAkG;AAGlG,uDAAiD;AAEjD;;GAEG;AACH,MAAa,gBAAiB,SAAQ,sBAAW;IAAjD;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAyChE,CAAC;IAvCC;;;;;;;;;;OAUG;IACH,UAAU,CACR,QAA4D,EAAE,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAoC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,IAAY,EACZ,OAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,+BAA+B,IAAI,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;CACF;AA1CD,4CA0CC;AAkRD,gBAAgB,CAAC,MAAM,GAAG,eAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger-instances.mjs","sourceRoot":"","sources":["../../src/resources/trigger-instances/trigger-instances.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"trigger-instances.mjs","sourceRoot":"","sources":["../../src/resources/trigger-instances/trigger-instances.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAE,MAAM,EAAkE,qBAAiB;AAGlG,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAAjD;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAyChE,CAAC;IAvCC;;;;;;;;;;OAUG;IACH,UAAU,CACR,QAA4D,EAAE,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAoC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CACJ,IAAY,EACZ,OAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,+BAA+B,IAAI,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;CACF;AAkRD,gBAAgB,CAAC,MAAM,GAAG,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger-instances.d.mts","sourceRoot":"","sources":["../src/resources/trigger-instances.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"trigger-instances.d.mts","sourceRoot":"","sources":["../src/resources/trigger-instances.ts"],"names":[],"mappings":"AAEA,8CAA0C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger-instances.d.ts","sourceRoot":"","sources":["../src/resources/trigger-instances.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"trigger-instances.d.ts","sourceRoot":"","sources":["../src/resources/trigger-instances.ts"],"names":[],"mappings":"AAEA,6CAA0C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger-instances.mjs","sourceRoot":"","sources":["../src/resources/trigger-instances.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
1
|
+
{"version":3,"file":"trigger-instances.mjs","sourceRoot":"","sources":["../src/resources/trigger-instances.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,8CAA0C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggers-types.d.mts","sourceRoot":"","sources":["../src/resources/triggers-types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"triggers-types.d.mts","sourceRoot":"","sources":["../src/resources/triggers-types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D;;GAEG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;OAGG;IACH,QAAQ,CACN,IAAI,EAAE,MAAM,EACZ,KAAK,GAAE,0BAA0B,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAI3C;;;OAGG;IACH,IAAI,CACF,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAIvC;;;OAGG;IACH,YAAY,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gCAAgC,CAAC;CAGrF;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAEnC;;OAEG;IACH,WAAW,EAAE,MAAM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sB,GACtD,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggers-types.d.ts","sourceRoot":"","sources":["../src/resources/triggers-types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"triggers-types.d.ts","sourceRoot":"","sources":["../src/resources/triggers-types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;GAEG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;OAGG;IACH,QAAQ,CACN,IAAI,EAAE,MAAM,EACZ,KAAK,GAAE,0BAA0B,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,CAAC;IAI3C;;;OAGG;IACH,IAAI,CACF,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAIvC;;;OAGG;IACH,YAAY,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gCAAgC,CAAC;CAGrF;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAEnC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAEpC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,4BAA4B,CAAC,OAAO,CAAC;IAE9C;;OAEG;IACH,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AiB,OAAO;YACtB;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;YAEb;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;YAEb;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;SACd;KACF;CACF;AAED;;GAEG;AACH,MAAM,MAAM,gCAAgC,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAE7D,MAAM,WAAW,0BAA0B;IACzC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACvD;AAED,MAAM,WAAW,sBAAsB;IACrC;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAErC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACvD;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"triggers-types.mjs","sourceRoot":"","sources":["../src/resources/triggers-types.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"triggers-types.mjs","sourceRoot":"","sources":["../src/resources/triggers-types.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;OAGG;IACH,QAAQ,CACN,IAAY,EACZ,QAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,4BAA4B,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,OAAwB;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oCAAoC,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;CACF"}
|
package/resources.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources.d.mts","sourceRoot":"","sources":["src/resources.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"resources.d.mts","sourceRoot":"","sources":["src/resources.ts"],"names":[],"mappings":"AAAA,sCAAkC"}
|
package/resources.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["src/resources.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["src/resources.ts"],"names":[],"mappings":"AAAA,qCAAkC"}
|
package/resources.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources.mjs","sourceRoot":"","sources":["src/resources.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"resources.mjs","sourceRoot":"","sources":["src/resources.ts"],"names":[],"mappings":"AAAA,sCAAkC"}
|
package/src/client.ts
CHANGED
|
@@ -23,6 +23,7 @@ import { FinalRequestOptions, RequestOptions } from './internal/request-options'
|
|
|
23
23
|
import {
|
|
24
24
|
AuthConfigCreateParams,
|
|
25
25
|
AuthConfigCreateResponse,
|
|
26
|
+
AuthConfigDeleteParams,
|
|
26
27
|
AuthConfigDeleteResponse,
|
|
27
28
|
AuthConfigListParams,
|
|
28
29
|
AuthConfigListResponse,
|
|
@@ -36,6 +37,7 @@ import {
|
|
|
36
37
|
import {
|
|
37
38
|
ConnectedAccountCreateParams,
|
|
38
39
|
ConnectedAccountCreateResponse,
|
|
40
|
+
ConnectedAccountDeleteParams,
|
|
39
41
|
ConnectedAccountDeleteResponse,
|
|
40
42
|
ConnectedAccountListParams,
|
|
41
43
|
ConnectedAccountListResponse,
|
|
@@ -56,11 +58,7 @@ import {
|
|
|
56
58
|
Files,
|
|
57
59
|
} from './resources/files';
|
|
58
60
|
import { Link, LinkCreateParams, LinkCreateResponse } from './resources/link';
|
|
59
|
-
import {
|
|
60
|
-
Migration,
|
|
61
|
-
MigrationRetrieveNanoidParams,
|
|
62
|
-
MigrationRetrieveNanoidResponse,
|
|
63
|
-
} from './resources/migration';
|
|
61
|
+
import { Migration } from './resources/migration';
|
|
64
62
|
import {
|
|
65
63
|
ToolkitListParams,
|
|
66
64
|
ToolkitListResponse,
|
|
@@ -122,11 +120,7 @@ import {
|
|
|
122
120
|
McpUpdateResponse,
|
|
123
121
|
} from './resources/mcp/mcp';
|
|
124
122
|
import { Project } from './resources/project/project';
|
|
125
|
-
import {
|
|
126
|
-
ToolRouter,
|
|
127
|
-
ToolRouterCreateSessionParams,
|
|
128
|
-
ToolRouterCreateSessionResponse,
|
|
129
|
-
} from './resources/tool-router/tool-router';
|
|
123
|
+
import { ToolRouter } from './resources/tool-router/tool-router';
|
|
130
124
|
import {
|
|
131
125
|
TriggerInstanceListActiveParams,
|
|
132
126
|
TriggerInstanceListActiveResponse,
|
|
@@ -790,11 +784,19 @@ export class Composio {
|
|
|
790
784
|
return () => controller.abort();
|
|
791
785
|
}
|
|
792
786
|
|
|
793
|
-
private buildBody({ options
|
|
787
|
+
private buildBody({ options }: { options: FinalRequestOptions }): {
|
|
794
788
|
bodyHeaders: HeadersLike;
|
|
795
789
|
body: BodyInit | undefined;
|
|
796
790
|
} {
|
|
791
|
+
const { body, headers: rawHeaders } = options;
|
|
797
792
|
if (!body) {
|
|
793
|
+
// A resource method always passes a `body` key when its operation defines a
|
|
794
|
+
// request body, even if the caller omitted an optional body param. Keep the
|
|
795
|
+
// content-type for those, and only elide it for operations with no body at
|
|
796
|
+
// all (e.g. GET/DELETE).
|
|
797
|
+
if (body == null && 'body' in options) {
|
|
798
|
+
return this.#encoder({ body, headers: buildHeaders([rawHeaders]) });
|
|
799
|
+
}
|
|
798
800
|
return { bodyHeaders: undefined, body: undefined };
|
|
799
801
|
}
|
|
800
802
|
const headers = buildHeaders([rawHeaders]);
|
|
@@ -890,16 +892,10 @@ export class Composio {
|
|
|
890
892
|
* File management
|
|
891
893
|
*/
|
|
892
894
|
files: API.Files = new API.Files(this);
|
|
893
|
-
/**
|
|
894
|
-
* Endpoints to help with migration from v1 to v3
|
|
895
|
-
*/
|
|
896
895
|
migration: API.Migration = new API.Migration(this);
|
|
897
896
|
cli: API.Cli = new API.Cli(this);
|
|
898
897
|
project: API.Project = new API.Project(this);
|
|
899
898
|
logs: API.Logs = new API.Logs(this);
|
|
900
|
-
/**
|
|
901
|
-
* (Labs) Tool router endpoints
|
|
902
|
-
*/
|
|
903
899
|
toolRouter: API.ToolRouter = new API.ToolRouter(this);
|
|
904
900
|
}
|
|
905
901
|
|
|
@@ -932,6 +928,7 @@ export declare namespace Composio {
|
|
|
932
928
|
type AuthConfigCreateParams as AuthConfigCreateParams,
|
|
933
929
|
type AuthConfigUpdateParams as AuthConfigUpdateParams,
|
|
934
930
|
type AuthConfigListParams as AuthConfigListParams,
|
|
931
|
+
type AuthConfigDeleteParams as AuthConfigDeleteParams,
|
|
935
932
|
type AuthConfigUpdateStatusParams as AuthConfigUpdateStatusParams,
|
|
936
933
|
};
|
|
937
934
|
|
|
@@ -946,6 +943,7 @@ export declare namespace Composio {
|
|
|
946
943
|
type ConnectedAccountUpdateStatusResponse as ConnectedAccountUpdateStatusResponse,
|
|
947
944
|
type ConnectedAccountCreateParams as ConnectedAccountCreateParams,
|
|
948
945
|
type ConnectedAccountListParams as ConnectedAccountListParams,
|
|
946
|
+
type ConnectedAccountDeleteParams as ConnectedAccountDeleteParams,
|
|
949
947
|
type ConnectedAccountPatchParams as ConnectedAccountPatchParams,
|
|
950
948
|
type ConnectedAccountRefreshParams as ConnectedAccountRefreshParams,
|
|
951
949
|
type ConnectedAccountUpdateStatusParams as ConnectedAccountUpdateStatusParams,
|
|
@@ -1020,11 +1018,7 @@ export declare namespace Composio {
|
|
|
1020
1018
|
type FileCreatePresignedURLParams as FileCreatePresignedURLParams,
|
|
1021
1019
|
};
|
|
1022
1020
|
|
|
1023
|
-
export {
|
|
1024
|
-
Migration as Migration,
|
|
1025
|
-
type MigrationRetrieveNanoidResponse as MigrationRetrieveNanoidResponse,
|
|
1026
|
-
type MigrationRetrieveNanoidParams as MigrationRetrieveNanoidParams,
|
|
1027
|
-
};
|
|
1021
|
+
export { Migration as Migration };
|
|
1028
1022
|
|
|
1029
1023
|
export {
|
|
1030
1024
|
Cli as Cli,
|
|
@@ -1038,9 +1032,5 @@ export declare namespace Composio {
|
|
|
1038
1032
|
|
|
1039
1033
|
export { Logs as Logs };
|
|
1040
1034
|
|
|
1041
|
-
export {
|
|
1042
|
-
ToolRouter as ToolRouter,
|
|
1043
|
-
type ToolRouterCreateSessionResponse as ToolRouterCreateSessionResponse,
|
|
1044
|
-
type ToolRouterCreateSessionParams as ToolRouterCreateSessionParams,
|
|
1045
|
-
};
|
|
1035
|
+
export { ToolRouter as ToolRouter };
|
|
1046
1036
|
}
|
|
@@ -77,7 +77,9 @@ export class AuthConfigs extends APIResource {
|
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
79
|
* Soft-deletes an authentication configuration by marking it as deleted in the
|
|
80
|
-
* database. This operation cannot be undone.
|
|
80
|
+
* database. This operation cannot be undone. Pass `?revoke_on_delete=true` to also
|
|
81
|
+
* revoke the upstream credentials of every connection using this auth config via a
|
|
82
|
+
* background job.
|
|
81
83
|
*
|
|
82
84
|
* @example
|
|
83
85
|
* ```ts
|
|
@@ -86,8 +88,16 @@ export class AuthConfigs extends APIResource {
|
|
|
86
88
|
* );
|
|
87
89
|
* ```
|
|
88
90
|
*/
|
|
89
|
-
delete(
|
|
90
|
-
|
|
91
|
+
delete(
|
|
92
|
+
nanoid: string,
|
|
93
|
+
params: AuthConfigDeleteParams | null | undefined = {},
|
|
94
|
+
options?: RequestOptions,
|
|
95
|
+
): APIPromise<AuthConfigDeleteResponse> {
|
|
96
|
+
const { revoke_on_delete } = params ?? {};
|
|
97
|
+
return this._client.delete(path`/api/v3.1/auth_configs/${nanoid}`, {
|
|
98
|
+
query: { revoke_on_delete },
|
|
99
|
+
...options,
|
|
100
|
+
});
|
|
91
101
|
}
|
|
92
102
|
|
|
93
103
|
/**
|
|
@@ -183,7 +193,8 @@ export interface AuthConfigRetrieveResponse {
|
|
|
183
193
|
type: 'default' | 'custom';
|
|
184
194
|
|
|
185
195
|
/**
|
|
186
|
-
* The UUID of the authentication configuration (for backward
|
|
196
|
+
* @deprecated The UUID of the authentication configuration (for backward
|
|
197
|
+
* compatibility)
|
|
187
198
|
*/
|
|
188
199
|
uuid: string;
|
|
189
200
|
|
|
@@ -389,7 +400,8 @@ export namespace AuthConfigListResponse {
|
|
|
389
400
|
type: 'default' | 'custom';
|
|
390
401
|
|
|
391
402
|
/**
|
|
392
|
-
* The UUID of the authentication configuration (for backward
|
|
403
|
+
* @deprecated The UUID of the authentication configuration (for backward
|
|
404
|
+
* compatibility)
|
|
393
405
|
*/
|
|
394
406
|
uuid: string;
|
|
395
407
|
|
|
@@ -547,7 +559,15 @@ export namespace AuthConfigListResponse {
|
|
|
547
559
|
}
|
|
548
560
|
}
|
|
549
561
|
|
|
550
|
-
export
|
|
562
|
+
export interface AuthConfigDeleteResponse {
|
|
563
|
+
/**
|
|
564
|
+
* Identifier of the background revoke job started for this delete. Present only
|
|
565
|
+
* when `revoke_on_delete=true`. Track the job and its per-connection results from
|
|
566
|
+
* the Composio dashboard — a programmatic endpoint to poll this job is not yet
|
|
567
|
+
* generally available.
|
|
568
|
+
*/
|
|
569
|
+
revoke_job_id?: string;
|
|
570
|
+
}
|
|
551
571
|
|
|
552
572
|
export type AuthConfigUpdateStatusResponse = unknown;
|
|
553
573
|
|
|
@@ -853,6 +873,16 @@ export interface AuthConfigListParams {
|
|
|
853
873
|
toolkit_slug?: string;
|
|
854
874
|
}
|
|
855
875
|
|
|
876
|
+
export interface AuthConfigDeleteParams {
|
|
877
|
+
/**
|
|
878
|
+
* When `true`, the delete also starts a background job that revokes the upstream
|
|
879
|
+
* credentials of every connected account in scope, and the response carries a
|
|
880
|
+
* `revoke_job_id`. Defaults to `false`. Revocation is irreversible — recovering a
|
|
881
|
+
* deleted entity does not restore working credentials.
|
|
882
|
+
*/
|
|
883
|
+
revoke_on_delete?: boolean | null;
|
|
884
|
+
}
|
|
885
|
+
|
|
856
886
|
export interface AuthConfigUpdateStatusParams {
|
|
857
887
|
/**
|
|
858
888
|
* The unique identifier of the authentication configuration to update
|
|
@@ -871,6 +901,7 @@ export declare namespace AuthConfigs {
|
|
|
871
901
|
type AuthConfigCreateParams as AuthConfigCreateParams,
|
|
872
902
|
type AuthConfigUpdateParams as AuthConfigUpdateParams,
|
|
873
903
|
type AuthConfigListParams as AuthConfigListParams,
|
|
904
|
+
type AuthConfigDeleteParams as AuthConfigDeleteParams,
|
|
874
905
|
type AuthConfigUpdateStatusParams as AuthConfigUpdateStatusParams,
|
|
875
906
|
};
|
|
876
907
|
}
|
|
@@ -79,7 +79,8 @@ export class ConnectedAccounts extends APIResource {
|
|
|
79
79
|
/**
|
|
80
80
|
* Soft-deletes a connected account by marking it as deleted in the database. This
|
|
81
81
|
* prevents the account from being used for API calls but preserves the record for
|
|
82
|
-
* audit purposes.
|
|
82
|
+
* audit purposes. Pass `?revoke_on_delete=true` to also revoke the account's
|
|
83
|
+
* upstream credentials via a background job.
|
|
83
84
|
*
|
|
84
85
|
* @example
|
|
85
86
|
* ```ts
|
|
@@ -87,8 +88,16 @@ export class ConnectedAccounts extends APIResource {
|
|
|
87
88
|
* await client.connectedAccounts.delete('ca_1a2b3c4d5e6f');
|
|
88
89
|
* ```
|
|
89
90
|
*/
|
|
90
|
-
delete(
|
|
91
|
-
|
|
91
|
+
delete(
|
|
92
|
+
nanoid: string,
|
|
93
|
+
params: ConnectedAccountDeleteParams | null | undefined = {},
|
|
94
|
+
options?: RequestOptions,
|
|
95
|
+
): APIPromise<ConnectedAccountDeleteResponse> {
|
|
96
|
+
const { revoke_on_delete } = params ?? {};
|
|
97
|
+
return this._client.delete(path`/api/v3.1/connected_accounts/${nanoid}`, {
|
|
98
|
+
query: { revoke_on_delete },
|
|
99
|
+
...options,
|
|
100
|
+
});
|
|
92
101
|
}
|
|
93
102
|
|
|
94
103
|
/**
|
|
@@ -192,12 +201,6 @@ export interface ConnectedAccountCreateResponse {
|
|
|
192
201
|
| ConnectedAccountCreateResponse.UnionMember12
|
|
193
202
|
| ConnectedAccountCreateResponse.UnionMember13;
|
|
194
203
|
|
|
195
|
-
/**
|
|
196
|
-
* @deprecated DEPRECATED: This field will be removed in a future version. Please
|
|
197
|
-
* use id and auth_config.id instead.
|
|
198
|
-
*/
|
|
199
|
-
deprecated: ConnectedAccountCreateResponse.Deprecated;
|
|
200
|
-
|
|
201
204
|
/**
|
|
202
205
|
* @deprecated DEPRECATED: This field will be removed in a future version
|
|
203
206
|
*/
|
|
@@ -213,6 +216,12 @@ export interface ConnectedAccountCreateResponse {
|
|
|
213
216
|
*/
|
|
214
217
|
status: 'INITIALIZING' | 'INITIATED' | 'ACTIVE' | 'FAILED' | 'EXPIRED' | 'INACTIVE' | 'REVOKED';
|
|
215
218
|
|
|
219
|
+
/**
|
|
220
|
+
* @deprecated DEPRECATED: This field will be removed in a future version. Please
|
|
221
|
+
* use id and auth_config.id instead.
|
|
222
|
+
*/
|
|
223
|
+
deprecated?: ConnectedAccountCreateResponse.Deprecated;
|
|
224
|
+
|
|
216
225
|
/**
|
|
217
226
|
* Experimental features - not stable, may be modified or removed in future
|
|
218
227
|
* versions.
|
|
@@ -4778,6 +4787,19 @@ export interface ConnectedAccountRetrieveResponse {
|
|
|
4778
4787
|
*/
|
|
4779
4788
|
experimental?: ConnectedAccountRetrieveResponse.Experimental;
|
|
4780
4789
|
|
|
4790
|
+
/**
|
|
4791
|
+
* OAuth scopes requested when this connection was most recently initiated (create
|
|
4792
|
+
* or refresh). Absent for connections created before scope snapshots were captured
|
|
4793
|
+
* and for non-OAuth auth schemes.
|
|
4794
|
+
*/
|
|
4795
|
+
requested_scopes?: Array<string>;
|
|
4796
|
+
|
|
4797
|
+
/**
|
|
4798
|
+
* OAuth user-token scopes requested at the most recent initiation. Only meaningful
|
|
4799
|
+
* for Slackbot auth configs (user-token scopes); absent otherwise.
|
|
4800
|
+
*/
|
|
4801
|
+
requested_user_scopes?: Array<string>;
|
|
4802
|
+
|
|
4781
4803
|
/**
|
|
4782
4804
|
* The endpoint to make test request for verification
|
|
4783
4805
|
*/
|
|
@@ -13942,6 +13964,14 @@ export interface ConnectedAccountDeleteResponse {
|
|
|
13942
13964
|
* Indicates whether the connected account was successfully deleted
|
|
13943
13965
|
*/
|
|
13944
13966
|
success: boolean;
|
|
13967
|
+
|
|
13968
|
+
/**
|
|
13969
|
+
* Identifier of the background revoke job started for this delete. Present only
|
|
13970
|
+
* when `revoke_on_delete=true`. Track the job and its per-connection results from
|
|
13971
|
+
* the Composio dashboard — a programmatic endpoint to poll this job is not yet
|
|
13972
|
+
* generally available.
|
|
13973
|
+
*/
|
|
13974
|
+
revoke_job_id?: string;
|
|
13945
13975
|
}
|
|
13946
13976
|
|
|
13947
13977
|
export interface ConnectedAccountPatchResponse {
|
|
@@ -18587,6 +18617,16 @@ export interface ConnectedAccountListParams {
|
|
|
18587
18617
|
user_ids?: Array<string> | null;
|
|
18588
18618
|
}
|
|
18589
18619
|
|
|
18620
|
+
export interface ConnectedAccountDeleteParams {
|
|
18621
|
+
/**
|
|
18622
|
+
* When `true`, the delete also starts a background job that revokes the upstream
|
|
18623
|
+
* credentials of every connected account in scope, and the response carries a
|
|
18624
|
+
* `revoke_job_id`. Defaults to `false`. Revocation is irreversible — recovering a
|
|
18625
|
+
* deleted entity does not restore working credentials.
|
|
18626
|
+
*/
|
|
18627
|
+
revoke_on_delete?: boolean | null;
|
|
18628
|
+
}
|
|
18629
|
+
|
|
18590
18630
|
export interface ConnectedAccountPatchParams {
|
|
18591
18631
|
/**
|
|
18592
18632
|
* A human-readable alias for this connected account. Pass an empty string to clear
|
|
@@ -18637,71 +18677,35 @@ export namespace ConnectedAccountPatchParams {
|
|
|
18637
18677
|
export interface Val {
|
|
18638
18678
|
token?: string | null;
|
|
18639
18679
|
|
|
18640
|
-
account_id?: string | null;
|
|
18641
|
-
|
|
18642
|
-
account_url?: string | null;
|
|
18643
|
-
|
|
18644
18680
|
api_key?: string | null;
|
|
18645
18681
|
|
|
18646
|
-
|
|
18682
|
+
api_key_prefix?: string | null;
|
|
18647
18683
|
|
|
18648
18684
|
application_id?: string | null;
|
|
18649
18685
|
|
|
18650
|
-
base_url?: string | null;
|
|
18651
|
-
|
|
18652
18686
|
basic_encoded?: string | null;
|
|
18653
18687
|
|
|
18654
18688
|
bearer_token?: string | null;
|
|
18655
18689
|
|
|
18656
|
-
borneo_dashboard_url?: string | null;
|
|
18657
|
-
|
|
18658
|
-
COMPANYDOMAIN?: string | null;
|
|
18659
|
-
|
|
18660
18690
|
credentials_json?: string | null;
|
|
18661
18691
|
|
|
18662
|
-
|
|
18663
|
-
|
|
18664
|
-
domain?: string | null;
|
|
18692
|
+
generic_api_key?: string | null;
|
|
18665
18693
|
|
|
18666
|
-
|
|
18694
|
+
generic_id?: string | null;
|
|
18667
18695
|
|
|
18668
|
-
|
|
18696
|
+
generic_secret?: string | null;
|
|
18669
18697
|
|
|
18670
|
-
|
|
18698
|
+
generic_token?: string | null;
|
|
18671
18699
|
|
|
18672
18700
|
installation_id?: string | null;
|
|
18673
18701
|
|
|
18674
|
-
instanceEndpoint?: string | null;
|
|
18675
|
-
|
|
18676
|
-
instanceName?: string | null;
|
|
18677
|
-
|
|
18678
18702
|
password?: string | null;
|
|
18679
18703
|
|
|
18680
18704
|
private_key?: string | null;
|
|
18681
18705
|
|
|
18682
|
-
|
|
18683
|
-
|
|
18684
|
-
proxy_username?: string | null;
|
|
18685
|
-
|
|
18686
|
-
region?: string | null;
|
|
18687
|
-
|
|
18688
|
-
server_location?: string | null;
|
|
18689
|
-
|
|
18690
|
-
shop?: string | null;
|
|
18691
|
-
|
|
18692
|
-
site_name?: string | null;
|
|
18693
|
-
|
|
18694
|
-
subdomain?: string | null;
|
|
18706
|
+
user_agent?: string | null;
|
|
18695
18707
|
|
|
18696
18708
|
username?: string | null;
|
|
18697
|
-
|
|
18698
|
-
version?: string | null;
|
|
18699
|
-
|
|
18700
|
-
your_server?: string | null;
|
|
18701
|
-
|
|
18702
|
-
'your-domain'?: string | null;
|
|
18703
|
-
|
|
18704
|
-
[k: string]: unknown;
|
|
18705
18709
|
}
|
|
18706
18710
|
}
|
|
18707
18711
|
}
|
|
@@ -18783,6 +18787,7 @@ export declare namespace ConnectedAccounts {
|
|
|
18783
18787
|
type ConnectedAccountUpdateStatusResponse as ConnectedAccountUpdateStatusResponse,
|
|
18784
18788
|
type ConnectedAccountCreateParams as ConnectedAccountCreateParams,
|
|
18785
18789
|
type ConnectedAccountListParams as ConnectedAccountListParams,
|
|
18790
|
+
type ConnectedAccountDeleteParams as ConnectedAccountDeleteParams,
|
|
18786
18791
|
type ConnectedAccountPatchParams as ConnectedAccountPatchParams,
|
|
18787
18792
|
type ConnectedAccountRefreshParams as ConnectedAccountRefreshParams,
|
|
18788
18793
|
type ConnectedAccountUpdateStatusParams as ConnectedAccountUpdateStatusParams,
|
package/src/resources/index.ts
CHANGED
|
@@ -11,6 +11,7 @@ export {
|
|
|
11
11
|
type AuthConfigCreateParams,
|
|
12
12
|
type AuthConfigUpdateParams,
|
|
13
13
|
type AuthConfigListParams,
|
|
14
|
+
type AuthConfigDeleteParams,
|
|
14
15
|
type AuthConfigUpdateStatusParams,
|
|
15
16
|
} from './auth-configs';
|
|
16
17
|
export {
|
|
@@ -31,6 +32,7 @@ export {
|
|
|
31
32
|
type ConnectedAccountUpdateStatusResponse,
|
|
32
33
|
type ConnectedAccountCreateParams,
|
|
33
34
|
type ConnectedAccountListParams,
|
|
35
|
+
type ConnectedAccountDeleteParams,
|
|
34
36
|
type ConnectedAccountPatchParams,
|
|
35
37
|
type ConnectedAccountRefreshParams,
|
|
36
38
|
type ConnectedAccountUpdateStatusParams,
|
|
@@ -57,17 +59,9 @@ export {
|
|
|
57
59
|
type McpListParams,
|
|
58
60
|
type McpRetrieveAppParams,
|
|
59
61
|
} from './mcp/mcp';
|
|
60
|
-
export {
|
|
61
|
-
Migration,
|
|
62
|
-
type MigrationRetrieveNanoidResponse,
|
|
63
|
-
type MigrationRetrieveNanoidParams,
|
|
64
|
-
} from './migration';
|
|
62
|
+
export { Migration } from './migration';
|
|
65
63
|
export { Project } from './project/project';
|
|
66
|
-
export {
|
|
67
|
-
ToolRouter,
|
|
68
|
-
type ToolRouterCreateSessionResponse,
|
|
69
|
-
type ToolRouterCreateSessionParams,
|
|
70
|
-
} from './tool-router/tool-router';
|
|
64
|
+
export { ToolRouter } from './tool-router/tool-router';
|
|
71
65
|
export {
|
|
72
66
|
Toolkits,
|
|
73
67
|
type ToolkitRetrieveResponse,
|
|
@@ -1,49 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
|
-
import { APIPromise } from '../core/api-promise';
|
|
5
|
-
import { RequestOptions } from '../internal/request-options';
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
* Endpoints to help with migration from v1 to v3
|
|
9
|
-
*/
|
|
10
|
-
export class Migration extends APIResource {
|
|
11
|
-
/**
|
|
12
|
-
* Convert a legacy UUID to its corresponding NanoId for migration purposes. This
|
|
13
|
-
* endpoint facilitates the transition from UUID-based identifiers to the more
|
|
14
|
-
* compact NanoId format used in the v3 API.
|
|
15
|
-
*/
|
|
16
|
-
retrieveNanoid(
|
|
17
|
-
query: MigrationRetrieveNanoidParams,
|
|
18
|
-
options?: RequestOptions,
|
|
19
|
-
): APIPromise<MigrationRetrieveNanoidResponse> {
|
|
20
|
-
return this._client.get('/api/v3.1/migration/get-nanoid', { query, ...options });
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export interface MigrationRetrieveNanoidResponse {
|
|
25
|
-
/**
|
|
26
|
-
* The NanoId corresponding to the provided UUID. This is the new identifier that
|
|
27
|
-
* should be used in place of the legacy UUID.
|
|
28
|
-
*/
|
|
29
|
-
nanoid: string;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export interface MigrationRetrieveNanoidParams {
|
|
33
|
-
/**
|
|
34
|
-
* The type of resource that the UUID belongs to
|
|
35
|
-
*/
|
|
36
|
-
type: 'CONNECTED_ACCOUNT' | 'AUTH_CONFIG' | 'TRIGGER_INSTANCE';
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* The legacy UUID that needs to be converted to a NanoId
|
|
40
|
-
*/
|
|
41
|
-
uuid: string;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export declare namespace Migration {
|
|
45
|
-
export {
|
|
46
|
-
type MigrationRetrieveNanoidResponse as MigrationRetrieveNanoidResponse,
|
|
47
|
-
type MigrationRetrieveNanoidParams as MigrationRetrieveNanoidParams,
|
|
48
|
-
};
|
|
49
|
-
}
|
|
5
|
+
export class Migration extends APIResource {}
|