@composio/client 0.1.0-alpha.40 → 0.1.0-alpha.41
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 +11 -0
- package/client.d.mts +1 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts +1 -1
- package/client.d.ts.map +1 -1
- package/client.js +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/auth-configs.d.mts +3 -3
- package/resources/auth-configs.d.mts.map +1 -1
- package/resources/auth-configs.d.ts +3 -3
- package/resources/auth-configs.d.ts.map +1 -1
- package/resources/connected-accounts.d.mts +2656 -964
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +2656 -964
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/files.d.mts +30 -0
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +30 -0
- package/resources/files.d.ts.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.js +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/link.d.mts +410 -1
- package/resources/link.d.mts.map +1 -1
- package/resources/link.d.ts +410 -1
- package/resources/link.d.ts.map +1 -1
- package/resources/mcp/custom.d.mts +9 -6
- package/resources/mcp/custom.d.mts.map +1 -1
- package/resources/mcp/custom.d.ts +9 -6
- package/resources/mcp/custom.d.ts.map +1 -1
- package/resources/mcp/mcp.d.mts +2 -4
- package/resources/mcp/mcp.d.mts.map +1 -1
- package/resources/mcp/mcp.d.ts +2 -4
- package/resources/mcp/mcp.d.ts.map +1 -1
- package/resources/mcp/mcp.js.map +1 -1
- package/resources/mcp/mcp.mjs.map +1 -1
- package/resources/tool-router/index.d.mts +3 -0
- package/resources/tool-router/index.d.mts.map +1 -0
- package/resources/tool-router/index.d.ts +3 -0
- package/resources/tool-router/index.d.ts.map +1 -0
- package/resources/tool-router/index.js +9 -0
- package/resources/tool-router/index.js.map +1 -0
- package/resources/tool-router/index.mjs +4 -0
- package/resources/tool-router/index.mjs.map +1 -0
- package/resources/tool-router/session.d.mts +708 -0
- package/resources/tool-router/session.d.mts.map +1 -0
- package/resources/tool-router/session.d.ts +708 -0
- package/resources/tool-router/session.d.ts.map +1 -0
- package/resources/tool-router/session.js +98 -0
- package/resources/tool-router/session.js.map +1 -0
- package/resources/tool-router/session.mjs +94 -0
- package/resources/tool-router/session.mjs.map +1 -0
- package/resources/tool-router/tool-router.d.mts +91 -0
- package/resources/tool-router/tool-router.d.mts.map +1 -0
- package/resources/tool-router/tool-router.d.ts +91 -0
- package/resources/tool-router/tool-router.d.ts.map +1 -0
- package/resources/tool-router/tool-router.js +46 -0
- package/resources/tool-router/tool-router.js.map +1 -0
- package/resources/tool-router/tool-router.mjs +41 -0
- package/resources/tool-router/tool-router.mjs.map +1 -0
- package/resources/tool-router.d.mts +1 -86
- package/resources/tool-router.d.mts.map +1 -1
- package/resources/tool-router.d.ts +1 -86
- package/resources/tool-router.d.ts.map +1 -1
- package/resources/tool-router.js +2 -34
- package/resources/tool-router.js.map +1 -1
- package/resources/tool-router.mjs +1 -32
- package/resources/tool-router.mjs.map +1 -1
- package/resources/toolkits.d.mts +9 -9
- package/resources/toolkits.d.ts +9 -9
- package/resources/toolkits.js +9 -9
- package/resources/toolkits.mjs +9 -9
- package/resources/tools.d.mts +161 -45
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +161 -45
- package/resources/tools.d.ts.map +1 -1
- package/resources/tools.js +3 -3
- package/resources/tools.mjs +3 -3
- package/resources/triggers-types.d.mts +0 -4
- package/resources/triggers-types.d.mts.map +1 -1
- package/resources/triggers-types.d.ts +0 -4
- package/resources/triggers-types.d.ts.map +1 -1
- package/src/client.ts +5 -5
- package/src/resources/auth-configs.ts +9 -3
- package/src/resources/connected-accounts.ts +4657 -1579
- package/src/resources/files.ts +36 -0
- package/src/resources/index.ts +1 -1
- package/src/resources/link.ts +741 -1
- package/src/resources/mcp/custom.ts +10 -6
- package/src/resources/mcp/mcp.ts +2 -4
- package/src/resources/tool-router/index.ts +19 -0
- package/src/resources/tool-router/session.ts +858 -0
- package/src/resources/tool-router/tool-router.ts +137 -0
- package/src/resources/tool-router.ts +1 -105
- package/src/resources/toolkits.ts +9 -9
- package/src/resources/tools.ts +237 -45
- package/src/resources/triggers-types.ts +0 -5
- package/src/version.ts +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":"triggers-types.d.ts","sourceRoot":"","sources":["../src/resources/triggers-types.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,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,EAA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;QACH,IAAI,EAAE,SAAS,GAAG,MAAM,CAAC;QAEzB;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;KACjB;IAED,UAAiB,IAAI,CAAC;QACpB;;WAEG;QACH,UAAiB,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"}
|
package/src/client.ts
CHANGED
|
@@ -60,11 +60,6 @@ import {
|
|
|
60
60
|
MigrationRetrieveNanoidParams,
|
|
61
61
|
MigrationRetrieveNanoidResponse,
|
|
62
62
|
} from './resources/migration';
|
|
63
|
-
import {
|
|
64
|
-
ToolRouter,
|
|
65
|
-
ToolRouterCreateSessionParams,
|
|
66
|
-
ToolRouterCreateSessionResponse,
|
|
67
|
-
} from './resources/tool-router';
|
|
68
63
|
import {
|
|
69
64
|
ToolkitListParams,
|
|
70
65
|
ToolkitListResponse,
|
|
@@ -118,6 +113,11 @@ import {
|
|
|
118
113
|
McpUpdateParams,
|
|
119
114
|
McpUpdateResponse,
|
|
120
115
|
} from './resources/mcp/mcp';
|
|
116
|
+
import {
|
|
117
|
+
ToolRouter,
|
|
118
|
+
ToolRouterCreateSessionParams,
|
|
119
|
+
ToolRouterCreateSessionResponse,
|
|
120
|
+
} from './resources/tool-router/tool-router';
|
|
121
121
|
import {
|
|
122
122
|
TriggerInstanceListActiveParams,
|
|
123
123
|
TriggerInstanceListActiveResponse,
|
|
@@ -197,7 +197,9 @@ export interface AuthConfigRetrieveResponse {
|
|
|
197
197
|
| 'NO_AUTH'
|
|
198
198
|
| 'BASIC_WITH_JWT'
|
|
199
199
|
| 'CALCOM_AUTH'
|
|
200
|
-
| 'SERVICE_ACCOUNT'
|
|
200
|
+
| 'SERVICE_ACCOUNT'
|
|
201
|
+
| 'SAML'
|
|
202
|
+
| 'DCR_OAUTH';
|
|
201
203
|
|
|
202
204
|
/**
|
|
203
205
|
* ISO 8601 date-time when the auth config was created
|
|
@@ -379,7 +381,9 @@ export namespace AuthConfigListResponse {
|
|
|
379
381
|
| 'NO_AUTH'
|
|
380
382
|
| 'BASIC_WITH_JWT'
|
|
381
383
|
| 'CALCOM_AUTH'
|
|
382
|
-
| 'SERVICE_ACCOUNT'
|
|
384
|
+
| 'SERVICE_ACCOUNT'
|
|
385
|
+
| 'SAML'
|
|
386
|
+
| 'DCR_OAUTH';
|
|
383
387
|
|
|
384
388
|
/**
|
|
385
389
|
* ISO 8601 date-time when the auth config was created
|
|
@@ -555,7 +559,9 @@ export namespace AuthConfigCreateParams {
|
|
|
555
559
|
| 'NO_AUTH'
|
|
556
560
|
| 'BASIC_WITH_JWT'
|
|
557
561
|
| 'CALCOM_AUTH'
|
|
558
|
-
| 'SERVICE_ACCOUNT'
|
|
562
|
+
| 'SERVICE_ACCOUNT'
|
|
563
|
+
| 'SAML'
|
|
564
|
+
| 'DCR_OAUTH';
|
|
559
565
|
|
|
560
566
|
type: 'use_custom_auth';
|
|
561
567
|
|