@composio/client 2.0.0-rc.18 → 2.0.0-rc.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -14
- package/dist/{api-key-revocation-JkA4sOGH.mjs → api-key-revocation-DMCgun-A.mjs} +1 -1
- package/dist/{auth-B_K-wdMm.mjs → auth-D-U9Aq8C.mjs} +1 -1
- package/dist/{auth-configs-RAgN782Z.mjs → auth-configs-DAG5mMeH.mjs} +1 -1
- package/dist/{clanker-Pgyyh95r.mjs → clanker-Yomp86hJ.mjs} +1 -1
- package/dist/{cli-Ca5bRiEN.mjs → cli-zihiw3aI.mjs} +2 -2
- package/dist/{connected-accounts-D6NTwvbi.mjs → connected-accounts-Bd4AbWoH.mjs} +1 -1
- package/dist/{consumer-BP4OyJS0.mjs → consumer-Bk0cyIii.mjs} +2 -2
- package/dist/{custom-DA3ABHnI.mjs → custom-Ce8G2c11.mjs} +1 -1
- package/dist/{custom-BBr7KbCv.mjs → custom-DWT3cCog.mjs} +1 -1
- package/dist/effect.d.mts +16 -60
- package/dist/effect.mjs +146 -182
- package/dist/{files-CeBs4ZE1.mjs → files-DRp_J4zH.mjs} +1 -1
- package/dist/{files-DLRmNLRD.mjs → files-ZxEVlE_y.mjs} +1 -1
- package/dist/{generate-16uLPwUU.mjs → generate-Du9XUrlx.mjs} +1 -1
- package/dist/{generated-deprecated-inputs-zx6ml908.mjs → generated-deprecated-inputs-Dy_lBver.mjs} +1 -1
- package/dist/{generated-operations-DKgGT6Dg.mjs → generated-operations-Dv7pAKDT.mjs} +150 -250
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +60 -140
- package/dist/{keyring-Q8GSieAv.mjs → keyring-CgOIS5x7.mjs} +1 -1
- package/dist/{link-D4dY_eaN.mjs → link-CW1ts4pm.mjs} +1 -1
- package/dist/{logs-Dc63Ju74.mjs → logs-DFdH5DoT.mjs} +3 -3
- package/dist/{manage-ByF6b3OD.mjs → manage-CeB03gO8.mjs} +1 -1
- package/dist/{mcp-Cw7-Mtkm.mjs → mcp-DNRMWWum.mjs} +3 -3
- package/dist/{org-RRUxKfRw.mjs → org-HuYaKgVf.mjs} +6 -6
- package/dist/{owner-GZX-sp-h.mjs → owner-I9fXmIO_.mjs} +1 -1
- package/dist/{project-Cj9ULE0a.mjs → project-CxQ2H8UB.mjs} +1 -1
- package/dist/{project-C_YZ-eLI.mjs → project-DcV01umC.mjs} +1 -1
- package/dist/{project-BsKmk9T7.mjs → project-Dwblmpw8.mjs} +1 -1
- package/dist/{project-C1uq7bV_.mjs → project-FuP5k9R1.mjs} +1 -1
- package/dist/{realtime-W-lJ0Vcs.mjs → realtime-F_sGuTd8.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 +1 -1
- package/dist/resources/session-configs.mjs +1 -1
- 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-BT5NJfbm.mjs → session-B-ifOjVv.mjs} +1 -1
- package/dist/{session-BmXeclWC.mjs → session-CpwJh7Hn.mjs} +2 -2
- package/dist/{session-configs-x3OA4CSe.d.mts → session-configs-BLy_O6bX.d.mts} +21 -101
- package/dist/{tool-router-DYPUf-fN.mjs → tool-router-jNsaldKV.mjs} +1 -1
- package/dist/{toolkits-DZOZDm-4.mjs → toolkits-DK4My9FW.mjs} +1 -1
- package/dist/{tools-C0GjPEpP.mjs → tools-DNkimllW.mjs} +1 -1
- package/dist/{tools-BDCRk80t.mjs → tools-Gun_2We6.mjs} +1 -1
- package/dist/{trigger-instances-J5frdgzO.mjs → trigger-instances-vvKswQSW.mjs} +2 -2
- package/dist/{triggers-CnvE7y0L.mjs → triggers-CfrGxKIo.mjs} +1 -1
- package/dist/{triggers-types-DLVCtuwC.mjs → triggers-types-DYW2Mr8z.mjs} +1 -1
- package/dist/{usage-DjQg9WIV.mjs → usage-YIBYNpVF.mjs} +1 -1
- package/dist/{usage-DPxuivP6.mjs → usage-vt9HmnNf.mjs} +1 -1
- package/dist/version-DB98yI2B.d.mts +4 -0
- package/dist/{webhook-endpoints-BrSjXOf0.mjs → webhook-endpoints-HqLteVW6.mjs} +1 -1
- package/dist/{webhook-subscriptions-HT1acmwH.mjs → webhook-subscriptions-CXhNXIOM.mjs} +1 -1
- package/package.json +2 -2
- package/dist/version-DEAhxVwC.d.mts +0 -4
package/dist/index.mjs
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
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-Bw7_G2NZ.mjs";
|
|
2
|
-
import { A as Auth,
|
|
3
|
-
import { t as ApiKeyRevocation } from "./api-key-revocation-
|
|
4
|
-
import { t as AuthConfigs } from "./auth-configs-
|
|
5
|
-
import { t as Auth$1 } 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-
|
|
2
|
+
import { A as Auth, C as resolveIdentity, D as inspectDeprecatedInputs, E as mergeHeaders, L as resolveAuth, O as inspectDeprecation, P as authFromCredentials, R as resolveScope, S as reservedHeaders, U as parseHTTPURL, V as assertCredentialTransport, b as createFetchTransport, j as assertNoRemovedCredentialOptions, p as readOperation, t as GENERATED_OPERATIONS, u as makeRequest, w as VERSION, x as assertNoReservedHeaders } from "./generated-operations-Dv7pAKDT.mjs";
|
|
3
|
+
import { t as ApiKeyRevocation } from "./api-key-revocation-DMCgun-A.mjs";
|
|
4
|
+
import { t as AuthConfigs } from "./auth-configs-DAG5mMeH.mjs";
|
|
5
|
+
import { t as Auth$1 } from "./auth-D-U9Aq8C.mjs";
|
|
6
|
+
import { t as Cli } from "./cli-zihiw3aI.mjs";
|
|
7
|
+
import { t as ConnectedAccounts } from "./connected-accounts-Bd4AbWoH.mjs";
|
|
8
|
+
import { t as Custom } from "./custom-Ce8G2c11.mjs";
|
|
9
|
+
import { t as Files$1 } from "./files-ZxEVlE_y.mjs";
|
|
10
|
+
import { t as Keyring } from "./keyring-CgOIS5x7.mjs";
|
|
11
|
+
import { t as Link } from "./link-CW1ts4pm.mjs";
|
|
12
|
+
import { t as Logs } from "./logs-DFdH5DoT.mjs";
|
|
13
|
+
import { t as Mcp } from "./mcp-DNRMWWum.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-
|
|
15
|
+
import { t as Org } from "./org-HuYaKgVf.mjs";
|
|
16
|
+
import { t as Project } from "./project-CxQ2H8UB.mjs";
|
|
17
17
|
import { SessionConfigs } from "./resources/session-configs.mjs";
|
|
18
|
-
import { t as Files } from "./files-
|
|
19
|
-
import { t as Session } from "./session-
|
|
20
|
-
import { t as ToolRouter } from "./tool-router-
|
|
21
|
-
import { t as Toolkits } from "./toolkits-
|
|
22
|
-
import { t as Tools } from "./tools-
|
|
23
|
-
import { t as TriggerInstances } from "./trigger-instances-
|
|
24
|
-
import { t as TriggersTypes } from "./triggers-types-
|
|
25
|
-
import { t as WebhookEndpoints } from "./webhook-endpoints-
|
|
26
|
-
import { t as WebhookSubscriptions } from "./webhook-subscriptions-
|
|
27
|
-
import { n as APIPromise, t as GENERATED_DEPRECATED_INPUTS } from "./generated-deprecated-inputs-
|
|
18
|
+
import { t as Files } from "./files-DRp_J4zH.mjs";
|
|
19
|
+
import { t as Session } from "./session-CpwJh7Hn.mjs";
|
|
20
|
+
import { t as ToolRouter } from "./tool-router-jNsaldKV.mjs";
|
|
21
|
+
import { t as Toolkits } from "./toolkits-DK4My9FW.mjs";
|
|
22
|
+
import { t as Tools } from "./tools-Gun_2We6.mjs";
|
|
23
|
+
import { t as TriggerInstances } from "./trigger-instances-vvKswQSW.mjs";
|
|
24
|
+
import { t as TriggersTypes } from "./triggers-types-DYW2Mr8z.mjs";
|
|
25
|
+
import { t as WebhookEndpoints } from "./webhook-endpoints-HqLteVW6.mjs";
|
|
26
|
+
import { t as WebhookSubscriptions } from "./webhook-subscriptions-CXhNXIOM.mjs";
|
|
27
|
+
import { n as APIPromise, t as GENERATED_DEPRECATED_INPUTS } from "./generated-deprecated-inputs-Dy_lBver.mjs";
|
|
28
28
|
|
|
29
29
|
//#region src/compat/generated-resource-wiring.ts
|
|
30
30
|
const createClientResources = (client) => ({
|
|
@@ -54,11 +54,7 @@ const createClientResources = (client) => ({
|
|
|
54
54
|
|
|
55
55
|
//#endregion
|
|
56
56
|
//#region src/compat/client.ts
|
|
57
|
-
const
|
|
58
|
-
production: "https://backend.composio.dev",
|
|
59
|
-
staging: "https://staging-backend.composio.dev",
|
|
60
|
-
local: "http://localhost:9900"
|
|
61
|
-
};
|
|
57
|
+
const DEFAULT_BASE_URL = "https://backend.composio.dev";
|
|
62
58
|
/** A setting as `fromEnv` reads one: trimmed, and absent when empty. */
|
|
63
59
|
const setting = (environment, name) => environment[name]?.trim() || void 0;
|
|
64
60
|
const parseCustomHeaders = (raw) => {
|
|
@@ -87,28 +83,23 @@ const LOG_LEVELS = {
|
|
|
87
83
|
* the default rather than silencing the client or making it shout.
|
|
88
84
|
*/
|
|
89
85
|
const isLogLevel = (value) => value !== void 0 && Object.hasOwn(LOG_LEVELS, value);
|
|
90
|
-
const
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
};
|
|
94
|
-
const resolveClientOptions = (input) => {
|
|
95
|
-
const baseURL = input.baseURL ?? null;
|
|
96
|
-
if (baseURL && input.environment) throw new ComposioError("Ambiguous URL; The `baseURL` option and the `environment` option are given. If you want to use the environment you must pass baseURL: null");
|
|
97
|
-
return {
|
|
98
|
-
...input,
|
|
99
|
-
allowInsecureHTTP: input.allowInsecureHTTP ?? false,
|
|
100
|
-
allowedHTTPOrigin: input.allowedHTTPOrigin ?? null,
|
|
101
|
-
baseURL,
|
|
102
|
-
environment: input.environment ?? "production",
|
|
103
|
-
logLevel: input.logLevel ?? "warn"
|
|
104
|
-
};
|
|
86
|
+
const COMPAT_CREDENTIAL = {
|
|
87
|
+
is: (value) => typeof value === "string" || typeof value === "function",
|
|
88
|
+
keyOf: (credential) => typeof credential === "string" ? credential : void 0
|
|
105
89
|
};
|
|
90
|
+
const resolveClientOptions = (input) => ({
|
|
91
|
+
...input,
|
|
92
|
+
allowInsecureHTTP: input.allowInsecureHTTP ?? false,
|
|
93
|
+
allowedHTTPOrigin: input.allowedHTTPOrigin ?? null,
|
|
94
|
+
baseURL: input.baseURL || DEFAULT_BASE_URL,
|
|
95
|
+
logLevel: isLogLevel(input.logLevel) ? input.logLevel : "warn"
|
|
96
|
+
});
|
|
106
97
|
var Composio = class Composio {
|
|
107
98
|
baseURL;
|
|
108
99
|
maxRetries;
|
|
109
100
|
timeout;
|
|
110
|
-
logger;
|
|
111
101
|
logLevel;
|
|
102
|
+
#logger;
|
|
112
103
|
#transport;
|
|
113
104
|
#options;
|
|
114
105
|
#identity;
|
|
@@ -116,26 +107,19 @@ var Composio = class Composio {
|
|
|
116
107
|
#scope;
|
|
117
108
|
#scopeHeaders;
|
|
118
109
|
#reserved;
|
|
110
|
+
#kernel;
|
|
119
111
|
/**
|
|
120
|
-
* The (operation, notice) pairs
|
|
121
|
-
*
|
|
122
|
-
* by
|
|
123
|
-
*
|
|
124
|
-
* parameter called in a loop announces itself once — while a *revised*
|
|
125
|
-
* notice from that same endpoint, say once a `Sunset` date is committed,
|
|
126
|
-
* still gets through.
|
|
127
|
-
*
|
|
128
|
-
* Per client *lineage*, not per process: a client built with `new Composio()`
|
|
129
|
-
* starts empty, and `withOptions()` shares this exact Set with the client it
|
|
130
|
-
* returns (see below). Not reassigned anywhere else — the mutability exists
|
|
131
|
-
* only so a derived client can join its parent's record.
|
|
112
|
+
* The (operation, notice) pairs this client lineage has already warned
|
|
113
|
+
* about, under distinct key prefixes for response notices and deprecated
|
|
114
|
+
* inputs. Reassigned only by `withOptions()`, so a derived client joins its
|
|
115
|
+
* parent's record.
|
|
132
116
|
*/
|
|
133
117
|
#deprecationSeen = /* @__PURE__ */ new Set();
|
|
134
118
|
constructor(input) {
|
|
135
119
|
if (typeof input !== "object" || input === null) throw new ComposioError("`new Composio(options)` needs an options object with `auth`.");
|
|
136
120
|
assertNoRemovedCredentialOptions(input);
|
|
137
121
|
const options = resolveClientOptions(input);
|
|
138
|
-
this.#auth = resolveAuth(options.auth,
|
|
122
|
+
this.#auth = resolveAuth(options.auth, COMPAT_CREDENTIAL);
|
|
139
123
|
this.#scopeHeaders = resolveScope(options.scope);
|
|
140
124
|
this.#scope = options.scope === void 0 ? void 0 : Object.freeze({ ...options.scope });
|
|
141
125
|
this.#identity = resolveIdentity(options.identity);
|
|
@@ -144,110 +128,59 @@ var Composio = class Composio {
|
|
|
144
128
|
scope: this.#scopeHeaders !== void 0
|
|
145
129
|
});
|
|
146
130
|
assertNoReservedHeaders(options.defaultHeaders, this.#reserved, "defaultHeaders");
|
|
147
|
-
this.baseURL = options.baseURL
|
|
131
|
+
this.baseURL = options.baseURL;
|
|
148
132
|
this.timeout = options.timeout ?? Composio.DEFAULT_TIMEOUT;
|
|
149
|
-
this
|
|
133
|
+
this.#logger = options.logger ?? console;
|
|
150
134
|
this.logLevel = options.logLevel;
|
|
151
135
|
this.maxRetries = options.maxRetries ?? 2;
|
|
152
136
|
this.#transport = options.transport ?? createFetchTransport();
|
|
153
137
|
options.allowedHTTPOrigin = options.allowInsecureHTTP ? options.allowedHTTPOrigin ?? parseHTTPURL(this.baseURL)?.origin ?? null : null;
|
|
154
138
|
this.#options = options;
|
|
155
139
|
assertCredentialTransport(this.baseURL, this.#auth.mode !== "none", options.allowedHTTPOrigin);
|
|
140
|
+
this.#kernel = this.#kernelConfig();
|
|
156
141
|
Object.assign(this, createClientResources(this));
|
|
157
142
|
}
|
|
158
143
|
/**
|
|
159
|
-
* Constructs a client from
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
* - `COMPOSIO_API_KEY`, `COMPOSIO_USER_API_KEY`, `COMPOSIO_ORG_API_KEY`: one
|
|
163
|
-
* set is that fixed mode, several is `Auth.auto`, none is `Auth.none()`;
|
|
164
|
-
* - `COMPOSIO_BASE_URL`, `COMPOSIO_ALLOW_INSECURE_HTTP=1`,
|
|
165
|
-
* `COMPOSIO_LOG_LEVEL`, and `COMPOSIO_CUSTOM_HEADERS` (as `defaultHeaders`).
|
|
166
|
-
*
|
|
167
|
-
* `COMPOSIO_ORG_ID` and `COMPOSIO_PROJECT_ID` are not read: `scope` is always
|
|
168
|
-
* an argument. An override replaces the whole field it names, so
|
|
169
|
-
* `{ auth: Auth.none() }` means none whatever the mapping holds.
|
|
144
|
+
* Constructs a client from `environment` (such as `process.env`), the only
|
|
145
|
+
* place a client reads `COMPOSIO_*`. Each override replaces the field it names.
|
|
170
146
|
*/
|
|
171
147
|
static fromEnv(environment, overrides = {}) {
|
|
172
148
|
const read = (name) => setting(environment, name);
|
|
173
|
-
const customHeaders = read("COMPOSIO_CUSTOM_HEADERS");
|
|
174
|
-
const baseURL = read("COMPOSIO_BASE_URL");
|
|
175
|
-
const allowInsecureHTTP = read("COMPOSIO_ALLOW_INSECURE_HTTP") === "1";
|
|
176
|
-
const logLevel = read("COMPOSIO_LOG_LEVEL");
|
|
177
149
|
const mapped = {
|
|
178
150
|
auth: authFromCredentials({
|
|
179
151
|
project: read("COMPOSIO_API_KEY"),
|
|
180
152
|
user: read("COMPOSIO_USER_API_KEY"),
|
|
181
153
|
organization: read("COMPOSIO_ORG_API_KEY")
|
|
182
154
|
}),
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
...logLevel !== void 0 ? { logLevel } : {},
|
|
186
|
-
...customHeaders !== void 0 ? { defaultHeaders: parseCustomHeaders(customHeaders) } : {}
|
|
155
|
+
allowInsecureHTTP: read("COMPOSIO_ALLOW_INSECURE_HTTP") === "1",
|
|
156
|
+
baseURL: read("COMPOSIO_BASE_URL")
|
|
187
157
|
};
|
|
158
|
+
const logLevel = read("COMPOSIO_LOG_LEVEL");
|
|
159
|
+
if (logLevel !== void 0) mapped.logLevel = logLevel;
|
|
160
|
+
const customHeaders = read("COMPOSIO_CUSTOM_HEADERS");
|
|
161
|
+
if (customHeaders !== void 0) mapped.defaultHeaders = parseCustomHeaders(customHeaders);
|
|
188
162
|
return new this({
|
|
189
163
|
...mapped,
|
|
190
164
|
...overrides
|
|
191
165
|
});
|
|
192
166
|
}
|
|
193
|
-
/** How this client authenticates: `'none'`, `'project'`, `'user'`, `'organization'` or `'auto'`. */
|
|
194
167
|
get authMode() {
|
|
195
168
|
return this.#auth.mode;
|
|
196
169
|
}
|
|
197
|
-
/** The organization and project this client addresses, or `undefined`. */
|
|
198
170
|
get scope() {
|
|
199
171
|
return this.#scope;
|
|
200
172
|
}
|
|
201
|
-
/**
|
|
202
|
-
* The project key `auth` holds, when it is a string; `null` otherwise.
|
|
203
|
-
* @deprecated Read-only since 2.0.0-rc.18 and removed in rc.19; keep your own copy of the key.
|
|
204
|
-
*/
|
|
205
|
-
get apiKey() {
|
|
206
|
-
return this.#heldKey("ApiKeyAuth");
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* The user key `auth` holds, when it is a string; `null` otherwise.
|
|
210
|
-
* @deprecated Read-only since 2.0.0-rc.18 and removed in rc.19; keep your own copy of the key.
|
|
211
|
-
*/
|
|
212
|
-
get userApiKey() {
|
|
213
|
-
return this.#heldKey("UserApiKeyAuth");
|
|
214
|
-
}
|
|
215
|
-
/**
|
|
216
|
-
* The organization key `auth` holds, when it is a string; `null` otherwise.
|
|
217
|
-
* @deprecated Read-only since 2.0.0-rc.18 and removed in rc.19; keep your own copy of the key.
|
|
218
|
-
*/
|
|
219
|
-
get orgApiKey() {
|
|
220
|
-
return this.#heldKey("OrgApiKeyAuth");
|
|
221
|
-
}
|
|
222
|
-
#heldKey(scheme) {
|
|
223
|
-
const credential = this.#auth.credentials[scheme];
|
|
224
|
-
return typeof credential === "string" ? credential : null;
|
|
225
|
-
}
|
|
226
|
-
/**
|
|
227
|
-
* Returns a new client from this one's options with `options` merged over
|
|
228
|
-
* them, key by key. Every construction check runs again on the result:
|
|
229
|
-
* `auth` against the origin, the reserved headers against `auth`, `scope`
|
|
230
|
-
* and `identity`, and `allowInsecureHTTP` against a changed `baseURL`.
|
|
231
|
-
* `defaultHeaders` replaces the map rather than merging into it, and
|
|
232
|
-
* `{ scope: undefined }` removes the scope.
|
|
233
|
-
*/
|
|
173
|
+
/** A new client with `options` merged over this one's, key by key, validated as a constructor call is. */
|
|
234
174
|
withOptions(options) {
|
|
235
175
|
const transport = Object.hasOwn(options, "transport") ? options.transport : this.#transport;
|
|
236
176
|
const allowedHTTPOrigin = options.allowInsecureHTTP === true ? void 0 : this.#options.allowedHTTPOrigin;
|
|
237
|
-
const
|
|
177
|
+
const derived = {
|
|
238
178
|
...this.#options,
|
|
239
|
-
environment: options.environment ? options.environment : void 0,
|
|
240
|
-
baseURL: options.environment ? void 0 : this.baseURL,
|
|
241
|
-
maxRetries: this.maxRetries,
|
|
242
|
-
timeout: this.timeout,
|
|
243
|
-
logger: this.logger,
|
|
244
|
-
logLevel: this.logLevel,
|
|
245
|
-
scope: this.#scope,
|
|
246
179
|
...options,
|
|
247
180
|
allowedHTTPOrigin,
|
|
248
181
|
transport
|
|
249
182
|
};
|
|
250
|
-
const client = new this.constructor(
|
|
183
|
+
const client = new this.constructor(derived);
|
|
251
184
|
client.#deprecationSeen = this.#deprecationSeen;
|
|
252
185
|
return client;
|
|
253
186
|
}
|
|
@@ -274,7 +207,7 @@ var Composio = class Composio {
|
|
|
274
207
|
});
|
|
275
208
|
}
|
|
276
209
|
request(options) {
|
|
277
|
-
return new APIPromise(makeRequest(this.#
|
|
210
|
+
return new APIPromise(makeRequest(this.#kernel, options));
|
|
278
211
|
}
|
|
279
212
|
#onKernelLog = (level, message, metadata) => {
|
|
280
213
|
this.#emitLog(level, message, metadata);
|
|
@@ -307,8 +240,7 @@ var Composio = class Composio {
|
|
|
307
240
|
});
|
|
308
241
|
};
|
|
309
242
|
#kernelConfig() {
|
|
310
|
-
const
|
|
311
|
-
const lifecycleLoggingEnabled = LOG_LEVELS[configuredLogLevel] >= LOG_LEVELS.info;
|
|
243
|
+
const lifecycleLoggingEnabled = LOG_LEVELS[this.logLevel] >= LOG_LEVELS.info;
|
|
312
244
|
return {
|
|
313
245
|
baseURL: this.baseURL,
|
|
314
246
|
auth: this.#auth,
|
|
@@ -327,22 +259,10 @@ var Composio = class Composio {
|
|
|
327
259
|
onRequest: this.#onKernelRequest
|
|
328
260
|
};
|
|
329
261
|
}
|
|
330
|
-
/**
|
|
331
|
-
* Writes one record through the configured `logger`, gated on `logLevel`.
|
|
332
|
-
*
|
|
333
|
-
* A private method by construction: emitting is the client's own business
|
|
334
|
-
* and the public surface is pinned against the Stainless client, which
|
|
335
|
-
* exposes no such method. The logger is caller-supplied, so a missing method
|
|
336
|
-
* or a throwing one is treated as no logger at all — the same rule the
|
|
337
|
-
* kernel applies to its advisory observer callbacks.
|
|
338
|
-
*/
|
|
339
262
|
#emitLog(level, message, ...details) {
|
|
340
|
-
|
|
341
|
-
if (LOG_LEVELS[configured] < LOG_LEVELS[level]) return;
|
|
263
|
+
if (LOG_LEVELS[this.logLevel] < LOG_LEVELS[level]) return;
|
|
342
264
|
try {
|
|
343
|
-
|
|
344
|
-
if (typeof sink !== "function") return;
|
|
345
|
-
sink.call(this.logger, message, ...details);
|
|
265
|
+
this.#logger[level](message, ...details);
|
|
346
266
|
} catch {}
|
|
347
267
|
}
|
|
348
268
|
static Composio = this;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as generatedOperation, y as withOperation } from "./generated-operations-
|
|
1
|
+
import { n as generatedOperation, y as withOperation } from "./generated-operations-Dv7pAKDT.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 { n as generatedOperation, y as withOperation } from "./generated-operations-
|
|
1
|
+
import { n as generatedOperation, y as withOperation } from "./generated-operations-Dv7pAKDT.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 { d as path, n as generatedOperation, y as withOperation } from "./generated-operations-
|
|
2
|
-
import { t as Triggers } from "./triggers-
|
|
3
|
-
import { t as Tools } from "./tools-
|
|
1
|
+
import { d as path, n as generatedOperation, y as withOperation } from "./generated-operations-Dv7pAKDT.mjs";
|
|
2
|
+
import { t as Triggers } from "./triggers-CfrGxKIo.mjs";
|
|
3
|
+
import { t as Tools } from "./tools-DNkimllW.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 { d as path, n as generatedOperation, y as withOperation } from "./generated-operations-
|
|
1
|
+
import { d as path, n as generatedOperation, y as withOperation } from "./generated-operations-Dv7pAKDT.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/trigger-instances/manage.ts
|
|
4
4
|
const OP_UPDATE = generatedOperation("triggerInstances.manage.update");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as path, n as generatedOperation, y as withOperation } from "./generated-operations-
|
|
2
|
-
import { t as Custom } from "./custom-
|
|
3
|
-
import { t as Generate } from "./generate-
|
|
1
|
+
import { d as path, n as generatedOperation, y as withOperation } from "./generated-operations-Dv7pAKDT.mjs";
|
|
2
|
+
import { t as Custom } from "./custom-DWT3cCog.mjs";
|
|
3
|
+
import { t as Generate } from "./generate-Du9XUrlx.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 { n as generatedOperation, y as withOperation } 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 { n as generatedOperation, y as withOperation } from "./generated-operations-Dv7pAKDT.mjs";
|
|
2
|
+
import { t as Clanker } from "./clanker-Yomp86hJ.mjs";
|
|
3
|
+
import { t as Consumer } from "./consumer-Bk0cyIii.mjs";
|
|
4
|
+
import { t as Owner } from "./owner-I9fXmIO_.mjs";
|
|
5
|
+
import { t as Project } from "./project-FuP5k9R1.mjs";
|
|
6
|
+
import { t as Usage } from "./usage-vt9HmnNf.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/compat/resources/org/org.ts
|
|
9
9
|
const OP_LIST = generatedOperation("org.list");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as generatedOperation, y as withOperation } from "./generated-operations-
|
|
1
|
+
import { n as generatedOperation, y as withOperation } from "./generated-operations-Dv7pAKDT.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 { d as path, n as generatedOperation, y as withOperation } from "./generated-operations-
|
|
1
|
+
import { d as path, n as generatedOperation, y as withOperation } from "./generated-operations-Dv7pAKDT.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 { n as generatedOperation, y as withOperation } from "./generated-operations-
|
|
1
|
+
import { n as generatedOperation, y as withOperation } from "./generated-operations-Dv7pAKDT.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 { n as generatedOperation, y as withOperation } from "./generated-operations-
|
|
1
|
+
import { n as generatedOperation, y as withOperation } from "./generated-operations-Dv7pAKDT.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 { b as
|
|
1
|
+
import { b as ApiKeyRevocationCreateResponse, v as ApiKeyRevocation, y as ApiKeyRevocationCreateParams } from "../session-configs-BLy_O6bX.mjs";
|
|
2
2
|
export { ApiKeyRevocation, type ApiKeyRevocationCreateParams, type ApiKeyRevocationCreateResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { x as Auth } from "../../session-configs-BLy_O6bX.mjs";
|
|
2
2
|
export { Auth };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as
|
|
1
|
+
import { C as SessionRetrieveInfoResponse, S as Session, x as Auth } from "../../session-configs-BLy_O6bX.mjs";
|
|
2
2
|
export { Auth, Session, type SessionRetrieveInfoResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as
|
|
1
|
+
import { C as SessionRetrieveInfoResponse, S as Session } from "../../session-configs-BLy_O6bX.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-BLy_O6bX.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 { C as
|
|
1
|
+
import { C as SessionRetrieveInfoResponse, S as Session, x as Auth } from "../session-configs-BLy_O6bX.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-B-ifOjVv.mjs";
|
|
2
|
+
import { t as Auth } from "../auth-D-U9Aq8C.mjs";
|
|
3
3
|
import "./auth/index.mjs";
|
|
4
4
|
|
|
5
5
|
export { Auth, Session };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gt 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-BLy_O6bX.mjs";
|
|
2
2
|
export { Cli, CliCreateCodactFailureParams, CliCreateCodactFailureResponse, CliCreateSessionParams, CliCreateSessionResponse, CliGetSessionParams, CliGetSessionResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gt 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-BLy_O6bX.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 { Jt as
|
|
1
|
+
import { Jt as RealtimeAuthParams, Xt as RealtimeCredentialsResponse, Yt as RealtimeAuthResponse, qt as Realtime } from "../../session-configs-BLy_O6bX.mjs";
|
|
2
2
|
export { Realtime, RealtimeAuthParams, RealtimeAuthResponse, RealtimeCredentialsResponse };
|
package/dist/resources/cli.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gt 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-BLy_O6bX.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-F_sGuTd8.mjs";
|
|
2
|
+
import { t as Cli } from "../cli-zihiw3aI.mjs";
|
|
3
3
|
import "./cli/index.mjs";
|
|
4
4
|
|
|
5
5
|
export { Cli, Realtime };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cr as ConnectedAccountUpdateStatusParams, Tr as ConnectedAccounts, _r as ConnectedAccountPatchParams, br as ConnectedAccountRefreshResponse, dr as ConnectedAccountCreateParams, fr as ConnectedAccountCreateResponse, gr as ConnectedAccountListResponse, hr as ConnectedAccountListParams, mr as ConnectedAccountDeleteResponse, pr as ConnectedAccountDeleteParams, vr as ConnectedAccountPatchResponse, wr as ConnectedAccountUpdateStatusResponse, xr as ConnectedAccountRetrieveResponse, yr as ConnectedAccountRefreshParams } from "../session-configs-BLy_O6bX.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 { _ as
|
|
1
|
+
import { _ as CustomUpsertResponse, d as Custom, g as CustomUpsertParams, h as CustomSyncResponse, m as CustomSyncParams, p as CustomDeleteToolkitResponse } from "../session-configs-BLy_O6bX.mjs";
|
|
2
2
|
export { Custom, type CustomDeleteToolkitResponse, type CustomSyncParams, type CustomSyncResponse, type CustomUpsertParams, type CustomUpsertResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ar as
|
|
1
|
+
import { Ar as Files, Dr as FileCreatePresignedURLResponse, Er as FileCreatePresignedURLParams, Or as FileListParams, kr as FileListResponse } from "../session-configs-BLy_O6bX.mjs";
|
|
2
2
|
export { type FileCreatePresignedURLParams, type FileCreatePresignedURLResponse, type FileListParams, type FileListResponse, Files };
|
package/dist/resources/files.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { An as
|
|
1
|
+
import { An as TriggersTypeListResponse, Ar as Files, At as Logs, Bn as AuthConfigListResponse, Br as ToolRetrieveParams, Bt as Cli, Cn as TriggerInstanceUpsertResponse, Cr as ConnectedAccountUpdateStatusParams, Dr as FileCreatePresignedURLResponse, Er as FileCreatePresignedURLParams, Fn as AuthConfigCreateParams, Fr as ToolListParams, Gn as AuthConfigUpdateStatusResponse, Gr as ToolRouter, Gt as CliGetSessionParams, Hn as AuthConfigUpdateParams, In as AuthConfigCreateResponse, Ir as ToolListResponse, Jn as ToolkitListResponse, Kn as AuthConfigs, Kt as CliGetSessionResponse, Ln as AuthConfigDeleteParams, Lr as ToolProxyParams, Mn as TriggersTypeRetrieveParams, Mr as ToolExecuteResponse, Nn as TriggersTypeRetrieveResponse, Nr as ToolGetInputParams, Or as FileListParams, Pn as TriggersTypes, Pr as ToolGetInputResponse, Rn as AuthConfigDeleteResponse, Rr as ToolProxyResponse, Sn as TriggerInstanceUpsertParams, Tr as ConnectedAccounts, Un as AuthConfigUpdateResponse, Ur as ToolRetrieveResponse, Ut as CliCreateSessionParams, Vn as AuthConfigRetrieveResponse, Wn as AuthConfigUpdateStatusParams, Wr as Tools, Wt as CliCreateSessionResponse, Zn as ToolkitRetrieveCategoriesResponse, Zt as Mcp, _r as ConnectedAccountPatchParams, ar as Toolkits, bn as TriggerInstanceListActiveParams, br as ConnectedAccountRefreshResponse, cn as McpListResponse, cr as LinkCreateResponse, dn as McpRetrieveResponse, dr as ConnectedAccountCreateParams, en as McpCreateParams, fn as McpUpdateParams, fr as ConnectedAccountCreateResponse, gr as ConnectedAccountListResponse, hr as ConnectedAccountListParams, in as McpDeleteResponse, jn as TriggersTypeRetrieveEnumResponse, jr as ToolExecuteParams, kn as TriggersTypeListParams, kr as FileListResponse, ln as McpRetrieveAppParams, mr as ConnectedAccountDeleteResponse, nr as ToolkitRetrieveResponse, or as Link, pn as McpUpdateResponse, pr as ConnectedAccountDeleteParams, qn as ToolkitListParams, sn as McpListParams, sr as LinkCreateParams, tn as McpCreateResponse, tr as ToolkitRetrieveParams, un as McpRetrieveAppResponse, vr as ConnectedAccountPatchResponse, wn as TriggerInstances, wr as ConnectedAccountUpdateStatusResponse, xn as TriggerInstanceListActiveResponse, xr as ConnectedAccountRetrieveResponse, xt as Project, yr as ConnectedAccountRefreshParams, zn as AuthConfigListParams, zr as ToolRetrieveEnumResponse } from "../session-configs-BLy_O6bX.mjs";
|
|
2
2
|
import { t as Migration } from "../migration-CKGKuRO3.mjs";
|
|
3
3
|
export { type AuthConfigCreateParams, type AuthConfigCreateResponse, type AuthConfigDeleteParams, type AuthConfigDeleteResponse, type AuthConfigListParams, type AuthConfigListResponse, type AuthConfigRetrieveResponse, type AuthConfigUpdateParams, type AuthConfigUpdateResponse, type AuthConfigUpdateStatusParams, type AuthConfigUpdateStatusResponse, AuthConfigs, Cli, type CliCreateSessionParams, type CliCreateSessionResponse, type CliGetSessionParams, type CliGetSessionResponse, 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, type FileCreatePresignedURLParams, type FileCreatePresignedURLResponse, type FileListParams, type FileListResponse, Files, Link, type LinkCreateParams, type LinkCreateResponse, Logs, Mcp, type McpCreateParams, type McpCreateResponse, type McpDeleteResponse, type McpListParams, type McpListResponse, type McpRetrieveAppParams, type McpRetrieveAppResponse, type McpRetrieveResponse, type McpUpdateParams, type McpUpdateResponse, Migration, Project, type ToolExecuteParams, type ToolExecuteResponse, type ToolGetInputParams, type ToolGetInputResponse, type ToolListParams, type ToolListResponse, type ToolProxyParams, type ToolProxyResponse, type ToolRetrieveEnumResponse, type ToolRetrieveParams, type ToolRetrieveResponse, ToolRouter, type ToolkitListParams, type ToolkitListResponse, type ToolkitRetrieveCategoriesResponse, type ToolkitRetrieveParams, type ToolkitRetrieveResponse, Toolkits, Tools, type TriggerInstanceListActiveParams, type TriggerInstanceListActiveResponse, type TriggerInstanceUpsertParams, type TriggerInstanceUpsertResponse, TriggerInstances, type TriggersTypeListParams, type TriggersTypeListResponse, type TriggersTypeRetrieveEnumResponse, type TriggersTypeRetrieveParams, type TriggersTypeRetrieveResponse, TriggersTypes };
|