@composio/client 2.0.0-rc.7 → 2.0.0-rc.8
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/dist/{api-key-revocation-BPURmRJx.mjs → api-key-revocation--5qqPnDz.mjs} +1 -1
- package/dist/{auth-iqhTmHa9.mjs → auth-_btgyN8t.mjs} +1 -1
- package/dist/{auth-configs-DYkxc_It.mjs → auth-configs-lkRDnT-a.mjs} +1 -1
- package/dist/{clanker-CzfQDpuy.mjs → clanker-DBfYfkSH.mjs} +1 -1
- package/dist/{cli-Er9a9rGs.mjs → cli-Ckmt28-b.mjs} +2 -2
- package/dist/{connected-accounts-DDgErVLd.mjs → connected-accounts-BJ5Ms_qb.mjs} +1 -1
- package/dist/{consumer-BPCfagDO.mjs → consumer--h4l55c3.mjs} +2 -2
- package/dist/{custom-VZyKhTTG.mjs → custom-CA8Amqss.mjs} +1 -1
- package/dist/{custom-Cs019zcM.mjs → custom-CFKQnTel.mjs} +1 -1
- package/dist/{error-DPPtjCl1.mjs → error-DLB1uKM3.mjs} +41 -7
- package/dist/{files-hhfQpMSx.mjs → files-BP4vVrwo.mjs} +1 -1
- package/dist/{files-C1QA5PTw.mjs → files-DG9Gc9CB.mjs} +1 -1
- package/dist/{generate-iwm8bHWW.mjs → generate-CGElZfOL.mjs} +1 -1
- package/dist/{generated-operations-CJ7bbwvC.mjs → generated-operations-DVRtlxnl.mjs} +15 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +33 -26
- package/dist/{keyring-Dkcbmstv.mjs → keyring-DaSYpy6j.mjs} +1 -1
- package/dist/{link-Dk-yWRgc.mjs → link-DUiP6kjL.mjs} +1 -1
- package/dist/{logs-DnZUgpLM.mjs → logs-e4Kf3pcP.mjs} +3 -3
- package/dist/{manage-DfB0PrkM.mjs → manage-DTaRdqWV.mjs} +2 -2
- package/dist/{mcp-BfStaFrR.mjs → mcp-DxX8J9j8.mjs} +3 -3
- package/dist/{org-bXBx5whI.mjs → org-BIGutZCA.mjs} +6 -6
- package/dist/{owner-BlJ0zURX.mjs → owner-YrMH9R90.mjs} +1 -1
- package/dist/pagination.mjs +1 -1
- package/dist/{project-CGi2urmA.mjs → project-B59Fh0L9.mjs} +1 -1
- package/dist/{project-BeWloPLZ.mjs → project-D2NT5pmv.mjs} +1 -1
- package/dist/{project-B0ax2ZoD.mjs → project-DGE_op-j.mjs} +1 -1
- package/dist/{project-BnMfaNjl.mjs → project-DWBDOy0X.mjs} +1 -1
- package/dist/{realtime-BNfA3u3B.mjs → realtime-BFjIp94B.mjs} +1 -1
- package/dist/resources/api-key-revocation.d.mts +1 -1
- package/dist/resources/api-key-revocation.mjs +1 -1
- package/dist/resources/auth/auth.d.mts +1 -1
- package/dist/resources/auth/auth.mjs +1 -1
- package/dist/resources/auth/index.d.mts +1 -1
- package/dist/resources/auth/index.mjs +2 -2
- package/dist/resources/auth/session.d.mts +1 -1
- package/dist/resources/auth/session.mjs +1 -1
- package/dist/resources/auth-configs.d.mts +1 -1
- package/dist/resources/auth-configs.mjs +1 -1
- package/dist/resources/auth.d.mts +1 -1
- package/dist/resources/auth.mjs +2 -2
- package/dist/resources/cli/cli.d.mts +1 -1
- package/dist/resources/cli/cli.mjs +1 -1
- package/dist/resources/cli/index.d.mts +1 -1
- package/dist/resources/cli/index.mjs +2 -2
- package/dist/resources/cli/realtime.d.mts +1 -1
- package/dist/resources/cli/realtime.mjs +1 -1
- package/dist/resources/cli.d.mts +1 -1
- package/dist/resources/cli.mjs +2 -2
- package/dist/resources/connected-accounts.d.mts +1 -1
- package/dist/resources/connected-accounts.mjs +1 -1
- package/dist/resources/custom.d.mts +1 -1
- package/dist/resources/custom.mjs +1 -1
- package/dist/resources/files.d.mts +1 -1
- package/dist/resources/files.mjs +1 -1
- package/dist/resources/index.d.mts +1 -1
- package/dist/resources/index.mjs +13 -13
- package/dist/resources/keyring.d.mts +1 -1
- package/dist/resources/keyring.mjs +1 -1
- package/dist/resources/link.d.mts +1 -1
- package/dist/resources/link.mjs +1 -1
- package/dist/resources/logs/index.d.mts +1 -1
- package/dist/resources/logs/index.mjs +3 -3
- package/dist/resources/logs/logs.d.mts +1 -1
- package/dist/resources/logs/logs.mjs +1 -1
- package/dist/resources/logs/tools.d.mts +1 -1
- package/dist/resources/logs/tools.mjs +1 -1
- package/dist/resources/logs/triggers.d.mts +1 -1
- package/dist/resources/logs/triggers.mjs +1 -1
- package/dist/resources/logs.d.mts +1 -1
- package/dist/resources/logs.mjs +3 -3
- package/dist/resources/mcp/custom.d.mts +1 -1
- package/dist/resources/mcp/custom.mjs +1 -1
- package/dist/resources/mcp/generate.d.mts +1 -1
- package/dist/resources/mcp/generate.mjs +1 -1
- package/dist/resources/mcp/index.d.mts +1 -1
- package/dist/resources/mcp/index.mjs +3 -3
- package/dist/resources/mcp/mcp.d.mts +1 -1
- package/dist/resources/mcp/mcp.mjs +1 -1
- package/dist/resources/mcp.d.mts +1 -1
- package/dist/resources/mcp.mjs +3 -3
- package/dist/resources/org/clanker.d.mts +1 -1
- package/dist/resources/org/clanker.mjs +1 -1
- package/dist/resources/org/consumer/consumer.d.mts +1 -1
- package/dist/resources/org/consumer/consumer.mjs +1 -1
- package/dist/resources/org/consumer/index.d.mts +1 -1
- package/dist/resources/org/consumer/index.mjs +2 -2
- package/dist/resources/org/consumer/project.d.mts +1 -1
- package/dist/resources/org/consumer/project.mjs +1 -1
- package/dist/resources/org/consumer.d.mts +1 -1
- package/dist/resources/org/consumer.mjs +2 -2
- package/dist/resources/org/index.d.mts +1 -1
- package/dist/resources/org/index.mjs +6 -6
- package/dist/resources/org/org.d.mts +1 -1
- package/dist/resources/org/org.mjs +1 -1
- package/dist/resources/org/owner/index.d.mts +1 -1
- package/dist/resources/org/owner/index.mjs +2 -2
- package/dist/resources/org/owner/owner.d.mts +1 -1
- package/dist/resources/org/owner/owner.mjs +1 -1
- package/dist/resources/org/owner/project.d.mts +1 -1
- package/dist/resources/org/owner/project.mjs +1 -1
- package/dist/resources/org/owner.d.mts +1 -1
- package/dist/resources/org/owner.mjs +2 -2
- package/dist/resources/org/project.d.mts +1 -1
- package/dist/resources/org/project.mjs +1 -1
- package/dist/resources/org/usage.d.mts +1 -1
- package/dist/resources/org/usage.mjs +1 -1
- package/dist/resources/org.d.mts +1 -1
- package/dist/resources/org.mjs +6 -6
- package/dist/resources/project/index.d.mts +1 -1
- package/dist/resources/project/index.mjs +1 -1
- package/dist/resources/project/project.d.mts +1 -1
- package/dist/resources/project/project.mjs +1 -1
- package/dist/resources/project/usage.d.mts +1 -1
- package/dist/resources/project/usage.mjs +1 -1
- package/dist/resources/project.d.mts +1 -1
- package/dist/resources/project.mjs +1 -1
- package/dist/resources/session-configs.d.mts +2 -0
- package/dist/resources/session-configs.mjs +24 -0
- package/dist/resources/tool-router/index.d.mts +1 -1
- package/dist/resources/tool-router/index.mjs +2 -2
- package/dist/resources/tool-router/session/files.d.mts +1 -1
- package/dist/resources/tool-router/session/files.mjs +1 -1
- package/dist/resources/tool-router/session/index.d.mts +1 -1
- package/dist/resources/tool-router/session/index.mjs +2 -2
- package/dist/resources/tool-router/session/session.d.mts +1 -1
- package/dist/resources/tool-router/session/session.mjs +1 -1
- package/dist/resources/tool-router/session.d.mts +1 -1
- package/dist/resources/tool-router/session.mjs +2 -2
- package/dist/resources/tool-router/tool-router.d.mts +1 -1
- package/dist/resources/tool-router/tool-router.mjs +1 -1
- package/dist/resources/tool-router.d.mts +1 -1
- package/dist/resources/tool-router.mjs +2 -2
- package/dist/resources/toolkits.d.mts +1 -1
- package/dist/resources/toolkits.mjs +1 -1
- package/dist/resources/tools.d.mts +1 -1
- package/dist/resources/tools.mjs +1 -1
- package/dist/resources/trigger-instances/index.d.mts +1 -1
- package/dist/resources/trigger-instances/index.mjs +2 -2
- package/dist/resources/trigger-instances/manage.d.mts +1 -1
- package/dist/resources/trigger-instances/manage.mjs +1 -1
- package/dist/resources/trigger-instances/trigger-instances.d.mts +1 -1
- package/dist/resources/trigger-instances/trigger-instances.mjs +1 -1
- package/dist/resources/trigger-instances.d.mts +1 -1
- package/dist/resources/trigger-instances.mjs +2 -2
- package/dist/resources/triggers-types.d.mts +1 -1
- package/dist/resources/triggers-types.mjs +1 -1
- package/dist/resources/webhook-endpoints.d.mts +1 -1
- package/dist/resources/webhook-endpoints.mjs +1 -1
- package/dist/resources/webhook-subscriptions.d.mts +1 -1
- package/dist/resources/webhook-subscriptions.mjs +1 -1
- package/dist/{session-B78Twedd.mjs → session-B9FZU6oA.mjs} +1 -1
- package/dist/{session-D3Azxyck.mjs → session-DtXQM3G3.mjs} +2 -2
- package/dist/{client-CcYk8XXt.d.mts → session-configs-DC9dblKH.d.mts} +569 -105
- package/dist/{tool-router-Bx1tQfx-.mjs → tool-router-CTH_fcxP.mjs} +1 -1
- package/dist/{toolkits-DFC0JDvT.mjs → toolkits-CxXj47JG.mjs} +1 -1
- package/dist/{tools-EL1x4SBb.mjs → tools-B9zq-uPU.mjs} +1 -1
- package/dist/{tools-Bv2Txlel.mjs → tools-BpRusMHS.mjs} +1 -1
- package/dist/{trigger-instances-BI-STHc4.mjs → trigger-instances-DSk1vemj.mjs} +2 -2
- package/dist/{triggers-vTkWuT5B.mjs → triggers-DRn4adsh.mjs} +1 -1
- package/dist/{triggers-types-CJWi--Kk.mjs → triggers-types-Cgh-mvOz.mjs} +1 -1
- package/dist/{usage-DspCrBUv.mjs → usage-B6pidrAI.mjs} +1 -1
- package/dist/{usage-cffJ-ds7.mjs → usage-B8p0O_pg.mjs} +1 -1
- package/dist/{webhook-endpoints-DSN8i5KN.mjs → webhook-endpoints-D4uTri1P.mjs} +1 -1
- package/dist/{webhook-subscriptions-Bgsnr29T.mjs → webhook-subscriptions-DYxSYlZP.mjs} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/api-key-revocation.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("apiKeyRevocation.create");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/auth-configs.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("authConfigs.create");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/org/clanker.ts
|
|
4
4
|
const OP_CREATE_CLAIM = generatedOperation("org.clanker.createClaim");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation, p as mergeHeaders } from "./generated-operations-
|
|
2
|
-
import { t as Realtime } from "./realtime-
|
|
1
|
+
import { c as withOperation, n as generatedOperation, p as mergeHeaders } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
|
+
import { t as Realtime } from "./realtime-BFjIp94B.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/compat/resources/cli/cli.ts
|
|
5
5
|
const OP_CREATE_CODACT_FAILURE = generatedOperation("cli.createCodactFailure");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/connected-accounts.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("connectedAccounts.create");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation, p as mergeHeaders } from "./generated-operations-
|
|
2
|
-
import { t as Project } from "./project-
|
|
1
|
+
import { c as withOperation, n as generatedOperation, p as mergeHeaders } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
|
+
import { t as Project } from "./project-D2NT5pmv.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/compat/resources/org/consumer/consumer.ts
|
|
5
5
|
const OP_LIST_CONNECTED_TOOLKITS = generatedOperation("org.consumer.listConnectedToolkits");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/mcp/custom.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("mcp.custom.create");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/custom.ts
|
|
4
4
|
const OP_DELETE_TOOLKIT = generatedOperation("custom.deleteToolkit");
|
|
@@ -1,13 +1,30 @@
|
|
|
1
1
|
//#region src/compat/error.ts
|
|
2
|
+
var ComposioError = class extends Error {};
|
|
3
|
+
const isRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
4
|
+
const isStringArray = (value) => Array.isArray(value) && value.every((item) => typeof item === "string");
|
|
2
5
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* `headers` on these classes (see docs/research/drop-in-contract.md §4), so
|
|
7
|
-
* both the class names and the inheritance chain are part of the drop-in
|
|
8
|
-
* contract: `BadRequestError extends APIError extends ComposioError extends Error`.
|
|
6
|
+
* Narrow a parsed error body to the envelope's inner object. Checks exactly
|
|
7
|
+
* the fields the schema requires plus the optional ones' types; anything
|
|
8
|
+
* else (text bodies, foreign JSON, a 502 from a proxy) is `undefined`.
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
const errorDetails = (body) => {
|
|
11
|
+
if (!isRecord(body) || !isRecord(body.error)) return void 0;
|
|
12
|
+
const { message, code, slug, status, request_id, suggested_fix, errors } = body.error;
|
|
13
|
+
if (typeof message !== "string" || typeof slug !== "string") return void 0;
|
|
14
|
+
if (typeof code !== "number" || typeof status !== "number") return void 0;
|
|
15
|
+
if (request_id !== void 0 && typeof request_id !== "string") return void 0;
|
|
16
|
+
if (suggested_fix !== void 0 && typeof suggested_fix !== "string") return void 0;
|
|
17
|
+
if (errors !== void 0 && !isStringArray(errors)) return void 0;
|
|
18
|
+
return {
|
|
19
|
+
message,
|
|
20
|
+
code,
|
|
21
|
+
slug,
|
|
22
|
+
status,
|
|
23
|
+
...request_id !== void 0 ? { request_id } : void 0,
|
|
24
|
+
...suggested_fix !== void 0 ? { suggested_fix } : void 0,
|
|
25
|
+
...errors !== void 0 ? { errors } : void 0
|
|
26
|
+
};
|
|
27
|
+
};
|
|
11
28
|
var APIError = class APIError extends ComposioError {
|
|
12
29
|
/** HTTP status for the response that caused the error. */
|
|
13
30
|
status;
|
|
@@ -15,11 +32,28 @@ var APIError = class APIError extends ComposioError {
|
|
|
15
32
|
headers;
|
|
16
33
|
/** JSON body of the response that caused the error. */
|
|
17
34
|
error;
|
|
35
|
+
/**
|
|
36
|
+
* The body narrowed to the Composio error envelope (`APIErrorBody['error']`),
|
|
37
|
+
* or `undefined` when the body is not one — so a validation failure's
|
|
38
|
+
* `errors[]` and `suggested_fix` are reachable without casting `error`.
|
|
39
|
+
*
|
|
40
|
+
* Not part of the Stainless surface: a sanctioned superset, like
|
|
41
|
+
* `ClientOptions.userApiKey`.
|
|
42
|
+
*/
|
|
43
|
+
details;
|
|
44
|
+
/**
|
|
45
|
+
* The request id the API assigned, from the `x-request-id` response header
|
|
46
|
+
* first and the envelope's `request_id` otherwise; `undefined` when neither
|
|
47
|
+
* is present (connection errors, aborts). Same superset status as `details`.
|
|
48
|
+
*/
|
|
49
|
+
requestId;
|
|
18
50
|
constructor(status, error, message, headers) {
|
|
19
51
|
super(APIError.makeMessage(status, error, message));
|
|
20
52
|
this.status = status;
|
|
21
53
|
this.headers = headers;
|
|
22
54
|
this.error = error;
|
|
55
|
+
this.details = errorDetails(error);
|
|
56
|
+
this.requestId = headers?.get?.("x-request-id") || this.details?.request_id;
|
|
23
57
|
}
|
|
24
58
|
static makeMessage(status, error, message) {
|
|
25
59
|
const errorMessage = error?.message;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/tool-router/session/files.ts
|
|
4
4
|
const OP_LIST = generatedOperation("toolRouter.session.files.list");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/files.ts
|
|
4
4
|
const OP_LIST = generatedOperation("files.list");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/mcp/generate.ts
|
|
4
4
|
const OP_URL = generatedOperation("mcp.generate.url");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as APIUserAbortError, n as APIConnectionTimeoutError, s as ComposioError, t as APIConnectionError } from "./error-
|
|
1
|
+
import { i as APIUserAbortError, n as APIConnectionTimeoutError, s as ComposioError, t as APIConnectionError } from "./error-DLB1uKM3.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/headers.ts
|
|
4
4
|
const hasEntries = (value) => typeof value === "object" && value !== null && "append" in value && typeof value.append === "function" && "delete" in value && typeof value.delete === "function" && "entries" in value && typeof value.entries === "function" && "get" in value && typeof value.get === "function";
|
|
@@ -1207,7 +1207,7 @@ const kernelInternals = { sleep };
|
|
|
1207
1207
|
*/
|
|
1208
1208
|
const buildRequestHeaders = (config, options, requestURL, bodyHeaders, withdrawn, scheme, callerPlaced) => {
|
|
1209
1209
|
const credential = withdrawn || callerPlaced ? null : credentialForRequest(config.baseURL, scheme, config.credentials, requestURL, config.allowedHTTPOrigin);
|
|
1210
|
-
if (!withdrawn && bodyHeaders === void 0 && !config.defaultHeaders && !options.headers) {
|
|
1210
|
+
if (!withdrawn && bodyHeaders === void 0 && !config.defaultHeaders && !options.headers && options.idempotencyKey === void 0) {
|
|
1211
1211
|
const direct = new Headers({
|
|
1212
1212
|
accept: "application/json",
|
|
1213
1213
|
"user-agent": config.userAgent
|
|
@@ -1216,6 +1216,7 @@ const buildRequestHeaders = (config, options, requestURL, bodyHeaders, withdrawn
|
|
|
1216
1216
|
return direct;
|
|
1217
1217
|
}
|
|
1218
1218
|
const headers = buildHeaders([
|
|
1219
|
+
{ "idempotency-key": options.idempotencyKey },
|
|
1219
1220
|
{
|
|
1220
1221
|
accept: "application/json",
|
|
1221
1222
|
"user-agent": config.userAgent
|
|
@@ -1655,6 +1656,16 @@ const GENERATED_OPERATIONS = [
|
|
|
1655
1656
|
],
|
|
1656
1657
|
schemes: ["UserApiKeyAuth"]
|
|
1657
1658
|
},
|
|
1659
|
+
{
|
|
1660
|
+
method: "get",
|
|
1661
|
+
path: "/api/v3.1/session_configs",
|
|
1662
|
+
chain: ["sessionConfigs", "list"]
|
|
1663
|
+
},
|
|
1664
|
+
{
|
|
1665
|
+
method: "get",
|
|
1666
|
+
path: "/api/v3.1/session_configs/{session_config_id}",
|
|
1667
|
+
chain: ["sessionConfigs", "retrieve"]
|
|
1668
|
+
},
|
|
1658
1669
|
{
|
|
1659
1670
|
method: "get",
|
|
1660
1671
|
path: "/api/v3.1/tool_router/session/{session_id}",
|
|
@@ -2146,7 +2157,8 @@ const GENERATED_OPERATIONS = [
|
|
|
2146
2157
|
"session",
|
|
2147
2158
|
"proxyExecute"
|
|
2148
2159
|
],
|
|
2149
|
-
schemes: ["ApiKeyAuth", "UserApiKeyAuth"]
|
|
2160
|
+
schemes: ["ApiKeyAuth", "UserApiKeyAuth"],
|
|
2161
|
+
hasDeprecatedInputs: true
|
|
2150
2162
|
},
|
|
2151
2163
|
{
|
|
2152
2164
|
method: "post",
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $r as
|
|
1
|
+
import { $r as SessionSearchParams, Ai as RateLimitError, Br as SessionCreateResponse, Ci as AuthenticationError, Di as InternalServerError, Ei as ConflictError, Fr as SessionAttachParams, Gr as SessionExecuteResponse, Hr as SessionExecuteMetaParams, Ir as SessionAttachResponse, Jr as SessionPatchParams, Kr as SessionLinkParams, Lr as SessionConfigHistoryParams, Mi as APIPromise, Nr as ToolRouter, Oi as NotFoundError, Pr as Session, Qr as SessionRetrieveResponse, Rr as SessionConfigHistoryResponse, Si as APIUserAbortError, Ti as ComposioError, Ur as SessionExecuteMetaResponse, Vr as SessionDeleteResponse, Wr as SessionExecuteParams, Xr as SessionProxyExecuteParams, Yr as SessionPatchResponse, Zr as SessionProxyExecuteResponse, _i as createFetchTransport, a as ClientOptions, ai as FileCreateDownloadURLParams, bi as APIError, c as LogLevel, ci as FileCreateUploadURLResponse, di as FileListParams, ei as SessionSearchResponse, fi as FileListResponse, gi as Transport, hi as FetchTransportDefaults, ii as SessionToolsResponse, ji as UnprocessableEntityError, ki as PermissionDeniedError, l as Logger, li as FileDeleteParams, mi as RequestOptions, ni as SessionToolkitsResponse, o as Composio, oi as FileCreateDownloadURLResponse, pi as Files, qr as SessionLinkResponse, ri as SessionToolsParams, s as EnvironmentMap, si as FileCreateUploadURLParams, ti as SessionToolkitsParams, ui as FileDeleteResponse, vi as APIConnectionError, wi as BadRequestError, xi as APIErrorBody, yi as APIConnectionTimeoutError, zr as SessionCreateParams } from "./session-configs-DC9dblKH.mjs";
|
|
2
2
|
//#region src/version.d.ts
|
|
3
|
-
declare const VERSION = "2.0.0-rc.
|
|
3
|
+
declare const VERSION = "2.0.0-rc.8";
|
|
4
4
|
//#endregion
|
|
5
|
-
export { APIConnectionError, APIConnectionTimeoutError, APIError, APIPromise, APIUserAbortError, AuthenticationError, BadRequestError, type ClientOptions, Composio, Composio as default, ComposioError, ConflictError, type EnvironmentMap, type FetchTransportDefaults, type FileCreateDownloadURLParams, type FileCreateDownloadURLResponse, type FileCreateUploadURLParams, type FileCreateUploadURLResponse, type FileDeleteParams, type FileDeleteResponse, type FileListParams, type FileListResponse, Files, InternalServerError, type LogLevel, type Logger, NotFoundError, PermissionDeniedError, RateLimitError, type RequestOptions, Session, type SessionAttachParams, type SessionAttachResponse, type SessionConfigHistoryParams, type SessionConfigHistoryResponse, type SessionCreateParams, type SessionCreateResponse, type SessionDeleteResponse, type SessionExecuteMetaParams, type SessionExecuteMetaResponse, type SessionExecuteParams, type SessionExecuteResponse, type SessionLinkParams, type SessionLinkResponse, type SessionPatchParams, type SessionPatchResponse, type SessionProxyExecuteParams, type SessionProxyExecuteResponse, type SessionRetrieveResponse, type SessionSearchParams, type SessionSearchResponse, type SessionToolkitsParams, type SessionToolkitsResponse, type SessionToolsParams, type SessionToolsResponse, ToolRouter, type Transport, UnprocessableEntityError, VERSION, createFetchTransport };
|
|
5
|
+
export { APIConnectionError, APIConnectionTimeoutError, APIError, type APIErrorBody, APIPromise, APIUserAbortError, AuthenticationError, BadRequestError, type ClientOptions, Composio, Composio as default, ComposioError, ConflictError, type EnvironmentMap, type FetchTransportDefaults, type FileCreateDownloadURLParams, type FileCreateDownloadURLResponse, type FileCreateUploadURLParams, type FileCreateUploadURLResponse, type FileDeleteParams, type FileDeleteResponse, type FileListParams, type FileListResponse, Files, InternalServerError, type LogLevel, type Logger, NotFoundError, PermissionDeniedError, RateLimitError, type RequestOptions, Session, type SessionAttachParams, type SessionAttachResponse, type SessionConfigHistoryParams, type SessionConfigHistoryResponse, type SessionCreateParams, type SessionCreateResponse, type SessionDeleteResponse, type SessionExecuteMetaParams, type SessionExecuteMetaResponse, type SessionExecuteParams, type SessionExecuteResponse, type SessionLinkParams, type SessionLinkResponse, type SessionPatchParams, type SessionPatchResponse, type SessionProxyExecuteParams, type SessionProxyExecuteResponse, type SessionRetrieveResponse, type SessionSearchParams, type SessionSearchResponse, type SessionToolkitsParams, type SessionToolkitsResponse, type SessionToolsParams, type SessionToolsResponse, ToolRouter, type Transport, UnprocessableEntityError, VERSION, createFetchTransport };
|
package/dist/index.mjs
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import { a as AuthenticationError, c as ConflictError, d as PermissionDeniedError, f as RateLimitError, i as APIUserAbortError, l as InternalServerError, n as APIConnectionTimeoutError, o as BadRequestError, p as UnprocessableEntityError, r as APIError, s as ComposioError, t as APIConnectionError, u as NotFoundError } from "./error-
|
|
2
|
-
import { d as assertCredentialTransport, f as parseHTTPURL, i as makeRequest, l as inspectDeprecatedInputs, o as readOperation, p as mergeHeaders, r as castToError, s as safeJSON, t as GENERATED_OPERATIONS, u as inspectDeprecation } from "./generated-operations-
|
|
3
|
-
import { t as ApiKeyRevocation } from "./api-key-revocation
|
|
4
|
-
import { t as AuthConfigs } from "./auth-configs-
|
|
5
|
-
import { t as Auth } from "./auth-
|
|
6
|
-
import { t as Cli } from "./cli-
|
|
7
|
-
import { t as ConnectedAccounts } from "./connected-accounts-
|
|
8
|
-
import { t as Custom } from "./custom-
|
|
9
|
-
import { t as Files$1 } from "./files-
|
|
10
|
-
import { t as Keyring } from "./keyring-
|
|
11
|
-
import { t as Link } from "./link-
|
|
12
|
-
import { t as Logs } from "./logs-
|
|
13
|
-
import { t as Mcp } from "./mcp-
|
|
1
|
+
import { a as AuthenticationError, c as ConflictError, d as PermissionDeniedError, f as RateLimitError, i as APIUserAbortError, l as InternalServerError, n as APIConnectionTimeoutError, o as BadRequestError, p as UnprocessableEntityError, r as APIError, s as ComposioError, t as APIConnectionError, u as NotFoundError } from "./error-DLB1uKM3.mjs";
|
|
2
|
+
import { d as assertCredentialTransport, f as parseHTTPURL, i as makeRequest, l as inspectDeprecatedInputs, o as readOperation, p as mergeHeaders, r as castToError, s as safeJSON, t as GENERATED_OPERATIONS, u as inspectDeprecation } from "./generated-operations-DVRtlxnl.mjs";
|
|
3
|
+
import { t as ApiKeyRevocation } from "./api-key-revocation--5qqPnDz.mjs";
|
|
4
|
+
import { t as AuthConfigs } from "./auth-configs-lkRDnT-a.mjs";
|
|
5
|
+
import { t as Auth } from "./auth-_btgyN8t.mjs";
|
|
6
|
+
import { t as Cli } from "./cli-Ckmt28-b.mjs";
|
|
7
|
+
import { t as ConnectedAccounts } from "./connected-accounts-BJ5Ms_qb.mjs";
|
|
8
|
+
import { t as Custom } from "./custom-CFKQnTel.mjs";
|
|
9
|
+
import { t as Files$1 } from "./files-DG9Gc9CB.mjs";
|
|
10
|
+
import { t as Keyring } from "./keyring-DaSYpy6j.mjs";
|
|
11
|
+
import { t as Link } from "./link-DUiP6kjL.mjs";
|
|
12
|
+
import { t as Logs } from "./logs-e4Kf3pcP.mjs";
|
|
13
|
+
import { t as Mcp } from "./mcp-DxX8J9j8.mjs";
|
|
14
14
|
import { t as Migration } from "./migration-CBhnoN-Y.mjs";
|
|
15
|
-
import { t as Org } from "./org-
|
|
16
|
-
import { t as Project } from "./project-
|
|
17
|
-
import {
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
15
|
+
import { t as Org } from "./org-BIGutZCA.mjs";
|
|
16
|
+
import { t as Project } from "./project-DGE_op-j.mjs";
|
|
17
|
+
import { SessionConfigs } from "./resources/session-configs.mjs";
|
|
18
|
+
import { t as Files } from "./files-BP4vVrwo.mjs";
|
|
19
|
+
import { t as Session } from "./session-DtXQM3G3.mjs";
|
|
20
|
+
import { t as ToolRouter } from "./tool-router-CTH_fcxP.mjs";
|
|
21
|
+
import { t as Toolkits } from "./toolkits-CxXj47JG.mjs";
|
|
22
|
+
import { t as Tools } from "./tools-B9zq-uPU.mjs";
|
|
23
|
+
import { t as TriggerInstances } from "./trigger-instances-DSk1vemj.mjs";
|
|
24
|
+
import { t as TriggersTypes } from "./triggers-types-Cgh-mvOz.mjs";
|
|
25
|
+
import { t as WebhookEndpoints } from "./webhook-endpoints-D4uTri1P.mjs";
|
|
26
|
+
import { t as WebhookSubscriptions } from "./webhook-subscriptions-DYxSYlZP.mjs";
|
|
26
27
|
|
|
27
28
|
//#region src/compat/api-promise.ts
|
|
28
29
|
/**
|
|
@@ -122,6 +123,11 @@ const GENERATED_DEPRECATED_INPUTS = /* @__PURE__ */ new Map([
|
|
|
122
123
|
in: "body",
|
|
123
124
|
replacementWire: null
|
|
124
125
|
}]],
|
|
126
|
+
["toolRouter.session.proxyExecute", [{
|
|
127
|
+
wire: "custom_connection_data",
|
|
128
|
+
in: "body",
|
|
129
|
+
replacementWire: null
|
|
130
|
+
}]],
|
|
125
131
|
["tools.execute", [{
|
|
126
132
|
wire: "entity_id",
|
|
127
133
|
in: "body",
|
|
@@ -224,12 +230,13 @@ const createClientResources = (client) => ({
|
|
|
224
230
|
auth: new Auth(client),
|
|
225
231
|
apiKeyRevocation: new ApiKeyRevocation(client),
|
|
226
232
|
custom: new Custom(client),
|
|
227
|
-
keyring: new Keyring(client)
|
|
233
|
+
keyring: new Keyring(client),
|
|
234
|
+
sessionConfigs: new SessionConfigs(client)
|
|
228
235
|
});
|
|
229
236
|
|
|
230
237
|
//#endregion
|
|
231
238
|
//#region src/version.ts
|
|
232
|
-
const VERSION = "2.0.0-rc.
|
|
239
|
+
const VERSION = "2.0.0-rc.8";
|
|
233
240
|
|
|
234
241
|
//#endregion
|
|
235
242
|
//#region src/compat/client.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/keyring.ts
|
|
4
4
|
const OP_LIST_TRANSFER_KEYS = generatedOperation("keyring.listTransferKeys");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/link.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("link.create");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
2
|
-
import { t as Triggers } from "./triggers-
|
|
3
|
-
import { t as Tools } from "./tools-
|
|
1
|
+
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
|
+
import { t as Triggers } from "./triggers-DRn4adsh.mjs";
|
|
3
|
+
import { t as Tools } from "./tools-BpRusMHS.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/compat/resources/logs/logs.ts
|
|
6
6
|
const OP_CREATE_TOOL_EXECUTION = generatedOperation("logs.createToolExecution");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/trigger-instances/manage.ts
|
|
4
4
|
const OP_UPDATE = generatedOperation("triggerInstances.manage.update");
|
|
@@ -13,7 +13,7 @@ var Manage = class {
|
|
|
13
13
|
constructor(client) {
|
|
14
14
|
this.#client = client;
|
|
15
15
|
}
|
|
16
|
-
update(triggerID, body, options) {
|
|
16
|
+
update(triggerID, body = {}, options) {
|
|
17
17
|
return this.#client.patch(path`/api/v3.1/trigger_instances/manage/${triggerID}`, withOperation(OP_UPDATE, {
|
|
18
18
|
body,
|
|
19
19
|
...options
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
2
|
-
import { t as Custom } from "./custom-
|
|
3
|
-
import { t as Generate } from "./generate-
|
|
1
|
+
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
|
+
import { t as Custom } from "./custom-CA8Amqss.mjs";
|
|
3
|
+
import { t as Generate } from "./generate-CGElZfOL.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/compat/resources/mcp/mcp.ts
|
|
6
6
|
const OP_CREATE = generatedOperation("mcp.create");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
2
|
-
import { t as Clanker } from "./clanker-
|
|
3
|
-
import { t as Consumer } from "./consumer
|
|
4
|
-
import { t as Owner } from "./owner-
|
|
5
|
-
import { t as Project } from "./project-
|
|
6
|
-
import { t as Usage } from "./usage-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
|
+
import { t as Clanker } from "./clanker-DBfYfkSH.mjs";
|
|
3
|
+
import { t as Consumer } from "./consumer--h4l55c3.mjs";
|
|
4
|
+
import { t as Owner } from "./owner-YrMH9R90.mjs";
|
|
5
|
+
import { t as Project } from "./project-DWBDOy0X.mjs";
|
|
6
|
+
import { t as Usage } from "./usage-B6pidrAI.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/compat/resources/org/org.ts
|
|
9
9
|
const OP_LIST = generatedOperation("org.list");
|
package/dist/pagination.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/org/owner/project.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("org.owner.project.create");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation, p as mergeHeaders } from "./generated-operations-
|
|
1
|
+
import { c as withOperation, n as generatedOperation, p as mergeHeaders } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/org/consumer/project.ts
|
|
4
4
|
const OP_RESOLVE = generatedOperation("org.consumer.project.resolve");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/org/project.ts
|
|
4
4
|
const OP_LIST = generatedOperation("org.project.list");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-DVRtlxnl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/cli/realtime.ts
|
|
4
4
|
const OP_AUTH = generatedOperation("cli.realtime.auth");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as ApiKeyRevocationCreateResponse, v as ApiKeyRevocation, y as ApiKeyRevocationCreateParams } from "../session-configs-DC9dblKH.mjs";
|
|
2
2
|
export { ApiKeyRevocation, type ApiKeyRevocationCreateParams, type ApiKeyRevocationCreateResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { x as Auth } from "../../session-configs-DC9dblKH.mjs";
|
|
2
2
|
export { Auth };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as SessionRetrieveInfoResponse, S as Session, x as Auth } from "../../session-configs-DC9dblKH.mjs";
|
|
2
2
|
export { Auth, Session, type SessionRetrieveInfoResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as SessionRetrieveInfoResponse, S as Session } from "../../session-configs-DC9dblKH.mjs";
|
|
2
2
|
export { Session, type SessionRetrieveInfoResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Bn as
|
|
1
|
+
import { Bn as AuthConfigListResponse, Fn as AuthConfigCreateParams, Gn as AuthConfigUpdateStatusResponse, Hn as AuthConfigUpdateParams, In as AuthConfigCreateResponse, Kn as AuthConfigs, Ln as AuthConfigDeleteParams, Rn as AuthConfigDeleteResponse, Un as AuthConfigUpdateResponse, Vn as AuthConfigRetrieveResponse, Wn as AuthConfigUpdateStatusParams, zn as AuthConfigListParams } from "../session-configs-DC9dblKH.mjs";
|
|
2
2
|
export { type AuthConfigCreateParams, type AuthConfigCreateResponse, type AuthConfigDeleteParams, type AuthConfigDeleteResponse, type AuthConfigListParams, type AuthConfigListResponse, type AuthConfigRetrieveResponse, type AuthConfigUpdateParams, type AuthConfigUpdateResponse, type AuthConfigUpdateStatusParams, type AuthConfigUpdateStatusResponse, AuthConfigs };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as SessionRetrieveInfoResponse, S as Session, x as Auth } from "../session-configs-DC9dblKH.mjs";
|
|
2
2
|
export { Auth, Session, type SessionRetrieveInfoResponse };
|
package/dist/resources/auth.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Session } from "../session-
|
|
2
|
-
import { t as Auth } from "../auth-
|
|
1
|
+
import { t as Session } from "../session-B9FZU6oA.mjs";
|
|
2
|
+
import { t as Auth } from "../auth-_btgyN8t.mjs";
|
|
3
3
|
import "./auth/index.mjs";
|
|
4
4
|
|
|
5
5
|
export { Auth, Session };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as Cli, Gt as CliGetSessionParams, Ht as CliCreateCodactFailureResponse, Kt as CliGetSessionResponse, Ut as CliCreateSessionParams, Vt as CliCreateCodactFailureParams, Wt as CliCreateSessionResponse } from "../../session-configs-DC9dblKH.mjs";
|
|
2
2
|
export { Cli, CliCreateCodactFailureParams, CliCreateCodactFailureResponse, CliCreateSessionParams, CliCreateSessionResponse, CliGetSessionParams, CliGetSessionResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as Cli, Gt as CliGetSessionParams, Ht as CliCreateCodactFailureResponse, Jt as RealtimeAuthParams, Kt as CliGetSessionResponse, Ut as CliCreateSessionParams, Vt as CliCreateCodactFailureParams, Wt as CliCreateSessionResponse, Xt as RealtimeCredentialsResponse, Yt as RealtimeAuthResponse, qt as Realtime } from "../../session-configs-DC9dblKH.mjs";
|
|
2
2
|
export { Cli, type CliCreateCodactFailureParams, type CliCreateCodactFailureResponse, type CliCreateSessionParams, type CliCreateSessionResponse, type CliGetSessionParams, type CliGetSessionResponse, Realtime, type RealtimeAuthParams, type RealtimeAuthResponse, type RealtimeCredentialsResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Jt as RealtimeAuthParams, Xt as RealtimeCredentialsResponse, Yt as RealtimeAuthResponse, qt as Realtime } from "../../session-configs-DC9dblKH.mjs";
|
|
2
2
|
export { Realtime, RealtimeAuthParams, RealtimeAuthResponse, RealtimeCredentialsResponse };
|
package/dist/resources/cli.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as Cli, Gt as CliGetSessionParams, Ht as CliCreateCodactFailureResponse, Jt as RealtimeAuthParams, Kt as CliGetSessionResponse, Ut as CliCreateSessionParams, Vt as CliCreateCodactFailureParams, Wt as CliCreateSessionResponse, Xt as RealtimeCredentialsResponse, Yt as RealtimeAuthResponse, qt as Realtime } from "../session-configs-DC9dblKH.mjs";
|
|
2
2
|
export { Cli, type CliCreateCodactFailureParams, type CliCreateCodactFailureResponse, type CliCreateSessionParams, type CliCreateSessionResponse, type CliGetSessionParams, type CliGetSessionResponse, Realtime, type RealtimeAuthParams, type RealtimeAuthResponse, type RealtimeCredentialsResponse };
|
package/dist/resources/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Realtime } from "../realtime-
|
|
2
|
-
import { t as Cli } from "../cli-
|
|
1
|
+
import { t as Realtime } from "../realtime-BFjIp94B.mjs";
|
|
2
|
+
import { t as Cli } from "../cli-Ckmt28-b.mjs";
|
|
3
3
|
import "./cli/index.mjs";
|
|
4
4
|
|
|
5
5
|
export { Cli, Realtime };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ar as ConnectedAccountDeleteResponse, cr as ConnectedAccountPatchParams, dr as ConnectedAccountRefreshResponse, fr as ConnectedAccountRetrieveResponse, hr as ConnectedAccounts, ir as ConnectedAccountDeleteParams, lr as ConnectedAccountPatchResponse, mr as ConnectedAccountUpdateStatusResponse, nr as ConnectedAccountCreateParams, or as ConnectedAccountListParams, pr as ConnectedAccountUpdateStatusParams, rr as ConnectedAccountCreateResponse, sr as ConnectedAccountListResponse, ur as ConnectedAccountRefreshParams } from "../session-configs-DC9dblKH.mjs";
|
|
2
2
|
export { type ConnectedAccountCreateParams, type ConnectedAccountCreateResponse, type ConnectedAccountDeleteParams, type ConnectedAccountDeleteResponse, type ConnectedAccountListParams, type ConnectedAccountListResponse, type ConnectedAccountPatchParams, type ConnectedAccountPatchResponse, type ConnectedAccountRefreshParams, type ConnectedAccountRefreshResponse, type ConnectedAccountRetrieveResponse, type ConnectedAccountUpdateStatusParams, type ConnectedAccountUpdateStatusResponse, ConnectedAccounts };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as CustomUpsertResponse, f as Custom, g as CustomUpsertParams, h as CustomSyncResponse, m as CustomSyncParams, p as CustomDeleteToolkitResponse } from "../session-configs-DC9dblKH.mjs";
|
|
2
2
|
export { Custom, type CustomDeleteToolkitResponse, type CustomSyncParams, type CustomSyncResponse, type CustomUpsertParams, type CustomUpsertResponse };
|