@composio/client 2.0.0-rc.21 → 2.0.0-rc.23
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 +65 -3
- package/dist/{api-key-revocation-BB3FTdR3.d.mts → _internal-Cw5Ug7qY.d.mts} +1032 -313
- package/dist/_internal-ttfqtnVb.d.mts +281 -0
- package/dist/effect/internal.d.mts +9 -0
- package/dist/effect/schemas/{cli → _internal/cli}/create-codact-failure.d.mts +2 -2
- package/dist/effect/schemas/{cli → _internal/cli}/create-codact-failure.mjs +2 -2
- package/dist/effect/schemas/{cli → _internal/cli}/create-session.d.mts +2 -2
- package/dist/effect/schemas/{cli → _internal/cli}/create-session.mjs +2 -2
- package/dist/effect/schemas/{cli → _internal/cli}/get-session.d.mts +2 -2
- package/dist/effect/schemas/{cli → _internal/cli}/get-session.mjs +3 -3
- package/dist/effect/schemas/{cli → _internal/cli}/realtime/auth.d.mts +2 -2
- package/dist/effect/schemas/{cli → _internal/cli}/realtime/auth.mjs +2 -2
- package/dist/effect/schemas/{cli → _internal/cli}/realtime/credentials.d.mts +2 -2
- package/dist/effect/schemas/{cli → _internal/cli}/realtime/credentials.mjs +2 -2
- package/dist/effect/schemas/_internal/consumer/permissions/resolve.d.mts +13 -0
- package/dist/effect/schemas/_internal/consumer/permissions/resolve.mjs +20 -0
- package/dist/effect/schemas/{logs → _internal/logs}/tools/list-fields.d.mts +2 -2
- package/dist/effect/schemas/{logs → _internal/logs}/tools/list-fields.mjs +2 -2
- package/dist/effect/schemas/{logs → _internal/logs}/tools/list.d.mts +2 -2
- package/dist/effect/schemas/{logs → _internal/logs}/tools/list.mjs +2 -2
- package/dist/effect/schemas/{logs → _internal/logs}/tools/retrieve.d.mts +2 -2
- package/dist/effect/schemas/{logs → _internal/logs}/tools/retrieve.mjs +2 -2
- package/dist/effect/schemas/{logs → _internal/logs}/triggers/list.d.mts +2 -2
- package/dist/effect/schemas/{logs → _internal/logs}/triggers/list.mjs +3 -3
- package/dist/effect/schemas/{logs → _internal/logs}/triggers/retrieve.d.mts +2 -2
- package/dist/effect/schemas/{logs → _internal/logs}/triggers/retrieve.mjs +3 -3
- package/dist/effect/schemas/{org → _internal/org}/consumer/list-connected-toolkits.d.mts +2 -2
- package/dist/effect/schemas/{org → _internal/org}/consumer/list-connected-toolkits.mjs +2 -2
- package/dist/effect/schemas/{org → _internal/org}/consumer/project/resolve.d.mts +3 -2
- package/dist/effect/schemas/{org → _internal/org}/consumer/project/resolve.mjs +4 -3
- package/dist/effect/schemas/_internal/org/consumer/retrieve-config.d.mts +10 -0
- package/dist/effect/schemas/_internal/org/consumer/retrieve-config.mjs +18 -0
- package/dist/effect/schemas/auth-configs/list.d.mts +1 -0
- package/dist/effect/schemas/auth-configs/list.mjs +2 -1
- package/dist/effect/schemas/auth-configs/retrieve.d.mts +1 -0
- package/dist/effect/schemas/auth-configs/retrieve.mjs +2 -1
- package/dist/effect/schemas/components/block-reason.d.mts +12 -0
- package/dist/effect/schemas/components/block-reason.mjs +14 -0
- package/dist/effect/schemas/components/execute-blocked.d.mts +30 -0
- package/dist/effect/schemas/components/execute-blocked.mjs +24 -0
- package/dist/effect/schemas/components/execute-completed.d.mts +8 -0
- package/dist/effect/schemas/components/execute-completed.mjs +3 -1
- package/dist/effect/schemas/components/execute-failed.d.mts +8 -0
- package/dist/effect/schemas/components/execute-failed.mjs +3 -1
- package/dist/effect/schemas/components/hook-result.d.mts +13 -0
- package/dist/effect/schemas/components/hook-result.mjs +15 -0
- package/dist/effect/schemas/components/proxy-execute-blocked.d.mts +24 -0
- package/dist/effect/schemas/components/proxy-execute-blocked.mjs +18 -0
- package/dist/effect/schemas/components/proxy-execute-completed.d.mts +8 -0
- package/dist/effect/schemas/components/proxy-execute-completed.mjs +3 -1
- package/dist/effect/schemas/components/session-create-response-config.d.mts +28 -0
- package/dist/effect/schemas/components/session-create-response-config.mjs +24 -0
- package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.d.mts +28 -0
- package/dist/effect/schemas/components/tool-router-session-v31-config-history-list-response.mjs +24 -0
- package/dist/effect/schemas/session-configs/retrieve.d.mts +11 -0
- package/dist/effect/schemas/session-configs/retrieve.mjs +59 -23
- package/dist/effect/schemas/tool-router/session/attach.d.mts +28 -0
- package/dist/effect/schemas/tool-router/session/config-history.d.mts +28 -0
- package/dist/effect/schemas/tool-router/session/create.d.mts +28 -0
- package/dist/effect/schemas/tool-router/session/execute-meta.d.mts +40 -0
- package/dist/effect/schemas/tool-router/session/execute-meta.mjs +2 -0
- package/dist/effect/schemas/tool-router/session/execute.d.mts +40 -0
- package/dist/effect/schemas/tool-router/session/execute.mjs +2 -0
- package/dist/effect/schemas/tool-router/session/patch.d.mts +28 -0
- package/dist/effect/schemas/tool-router/session/proxy-execute.d.mts +26 -0
- package/dist/effect/schemas/tool-router/session/proxy-execute.mjs +6 -1
- package/dist/effect/schemas/tool-router/session/retrieve.d.mts +28 -0
- package/dist/effect/schemas/triggers-types/list.d.mts +1 -0
- package/dist/effect/schemas/triggers-types/list.mjs +5 -1
- package/dist/effect/schemas/triggers-types/retrieve.d.mts +1 -0
- package/dist/effect/schemas/triggers-types/retrieve.mjs +5 -1
- package/dist/effect/schemas.d.mts +468 -197
- package/dist/effect/schemas.mjs +14 -13
- package/dist/effect.d.mts +9 -260
- package/dist/effect.mjs +134 -112
- package/dist/{environments-BXSnADKo.d.mts → environments-C_HPMP7r.d.mts} +1 -1
- package/dist/{environments-CmxYUUsW.mjs → environments-QSJiwtIM.mjs} +18 -10
- package/dist/{generated-operations-BNRn8az6.mjs → generated-operations-B3PjeXjl.mjs} +48 -16
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +4 -4
- package/dist/internal.d.mts +9 -0
- package/dist/resources/_internal/_internal.d.mts +2 -0
- package/dist/resources/_internal/_internal.mjs +16 -0
- package/dist/resources/_internal/cli/cli.d.mts +2 -0
- package/dist/resources/{cli → _internal/cli}/cli.mjs +5 -5
- package/dist/resources/_internal/cli/realtime.d.mts +2 -0
- package/dist/resources/{cli → _internal/cli}/realtime.mjs +4 -4
- package/dist/resources/_internal/cli.d.mts +2 -0
- package/dist/resources/_internal/cli.mjs +1 -0
- package/dist/resources/_internal/consumer/consumer.d.mts +2 -0
- package/dist/resources/_internal/consumer/consumer.mjs +8 -0
- package/dist/resources/_internal/consumer/permissions.d.mts +2 -0
- package/dist/resources/_internal/consumer/permissions.mjs +14 -0
- package/dist/resources/_internal/consumer.d.mts +2 -0
- package/dist/resources/_internal/consumer.mjs +1 -0
- package/dist/resources/_internal/logs/logs.d.mts +2 -0
- package/dist/resources/_internal/logs/logs.mjs +12 -0
- package/dist/resources/_internal/logs/tools.d.mts +2 -0
- package/dist/resources/{logs → _internal/logs}/tools.mjs +5 -5
- package/dist/resources/_internal/logs/triggers.d.mts +2 -0
- package/dist/resources/{logs → _internal/logs}/triggers.mjs +4 -4
- package/dist/resources/_internal/logs.d.mts +2 -0
- package/dist/resources/_internal/logs.mjs +1 -0
- package/dist/resources/_internal/org/consumer/consumer.d.mts +2 -0
- package/dist/resources/{org → _internal/org}/consumer/consumer.mjs +7 -3
- package/dist/resources/_internal/org/consumer/project.d.mts +2 -0
- package/dist/resources/{org → _internal/org}/consumer/project.mjs +3 -3
- package/dist/resources/_internal/org/consumer.d.mts +2 -0
- package/dist/resources/_internal/org/consumer.mjs +1 -0
- package/dist/resources/_internal/org/org.d.mts +2 -0
- package/dist/resources/_internal/org/org.mjs +8 -0
- package/dist/resources/_internal/org.d.mts +2 -0
- package/dist/resources/_internal/org.mjs +1 -0
- package/dist/resources/_internal.d.mts +2 -0
- package/dist/resources/_internal.mjs +1 -0
- 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/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/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/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/logs.d.mts +1 -1
- package/dist/resources/logs/logs.mjs +1 -5
- package/dist/resources/logs.d.mts +2 -2
- 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/mcp.d.mts +1 -1
- package/dist/resources/mcp/mcp.mjs +1 -1
- package/dist/resources/mcp.d.mts +1 -1
- package/dist/resources/org/org.d.mts +1 -1
- package/dist/resources/org/org.mjs +1 -5
- package/dist/resources/org/owner/owner.d.mts +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/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 +2 -2
- package/dist/resources/project/project.d.mts +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/session-configs.d.mts +1 -1
- package/dist/resources/session-configs.mjs +1 -1
- 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/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/tool-router.d.mts +1 -1
- package/dist/resources/tool-router.d.mts +1 -1
- 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/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/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/package.json +17 -4
- package/dist/effect/schemas/org/clanker/create-claim.d.mts +0 -9
- package/dist/effect/schemas/org/clanker/create-claim.mjs +0 -14
- package/dist/resources/cli/cli.d.mts +0 -2
- package/dist/resources/cli/realtime.d.mts +0 -2
- package/dist/resources/cli.d.mts +0 -2
- package/dist/resources/logs/tools.d.mts +0 -2
- package/dist/resources/logs/triggers.d.mts +0 -2
- package/dist/resources/org/clanker.d.mts +0 -2
- package/dist/resources/org/clanker.mjs +0 -14
- package/dist/resources/org/consumer/consumer.d.mts +0 -2
- package/dist/resources/org/consumer/project.d.mts +0 -2
- package/dist/resources/org/consumer.d.mts +0 -2
- /package/dist/{resources/cli.mjs → effect/internal.mjs} +0 -0
- /package/dist/{resources/org/consumer.mjs → internal.mjs} +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { makeCli } from "./cli/cli.mjs";
|
|
2
|
+
import { makeConsumer } from "./consumer/consumer.mjs";
|
|
3
|
+
import { makeLogs } from "./logs/logs.mjs";
|
|
4
|
+
import { makeOrg } from "./org/org.mjs";
|
|
5
|
+
|
|
6
|
+
//#region src/compat/resources/_internal/_internal.ts
|
|
7
|
+
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
8
|
+
const makeInternal = (client) => ({
|
|
9
|
+
cli: makeCli(client),
|
|
10
|
+
consumer: makeConsumer(client),
|
|
11
|
+
logs: makeLogs(client),
|
|
12
|
+
org: makeOrg(client)
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { makeInternal };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { B as makeCli, F as CliCreateCodactFailureResponse, I as CliCreateSessionParams, L as CliCreateSessionResponse, N as Cli, P as CliCreateCodactFailureParams, R as CliGetSessionParams, z as CliGetSessionResponse } from "../../../_internal-Cw5Ug7qY.mjs";
|
|
2
|
+
export { Cli, CliCreateCodactFailureParams, CliCreateCodactFailureResponse, CliCreateSessionParams, CliCreateSessionResponse, CliGetSessionParams, CliGetSessionResponse, makeCli };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as generatedOperation, y as withOperation } from "
|
|
1
|
+
import { n as generatedOperation, y as withOperation } from "../../../generated-operations-B3PjeXjl.mjs";
|
|
2
2
|
import { makeRealtime } from "./realtime.mjs";
|
|
3
3
|
|
|
4
|
-
//#region src/compat/resources/cli/cli.ts
|
|
5
|
-
const OP_CREATE_CODACT_FAILURE = generatedOperation("cli.createCodactFailure");
|
|
6
|
-
const OP_CREATE_SESSION = generatedOperation("cli.createSession");
|
|
7
|
-
const OP_GET_SESSION = generatedOperation("cli.getSession");
|
|
4
|
+
//#region src/compat/resources/_internal/cli/cli.ts
|
|
5
|
+
const OP_CREATE_CODACT_FAILURE = generatedOperation("_internal.cli.createCodactFailure");
|
|
6
|
+
const OP_CREATE_SESSION = generatedOperation("_internal.cli.createSession");
|
|
7
|
+
const OP_GET_SESSION = generatedOperation("_internal.cli.getSession");
|
|
8
8
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
9
9
|
const makeCli = (client) => ({
|
|
10
10
|
realtime: makeRealtime(client),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as generatedOperation, y as withOperation } from "
|
|
1
|
+
import { n as generatedOperation, y as withOperation } from "../../../generated-operations-B3PjeXjl.mjs";
|
|
2
2
|
|
|
3
|
-
//#region src/compat/resources/cli/realtime.ts
|
|
4
|
-
const OP_AUTH = generatedOperation("cli.realtime.auth");
|
|
5
|
-
const OP_CREDENTIALS = generatedOperation("cli.realtime.credentials");
|
|
3
|
+
//#region src/compat/resources/_internal/cli/realtime.ts
|
|
4
|
+
const OP_AUTH = generatedOperation("_internal.cli.realtime.auth");
|
|
5
|
+
const OP_CREDENTIALS = generatedOperation("_internal.cli.realtime.credentials");
|
|
6
6
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
7
7
|
const makeRealtime = (client) => ({
|
|
8
8
|
auth(body, options) {
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { F as CliCreateCodactFailureResponse, H as RealtimeAuthParams, I as CliCreateSessionParams, L as CliCreateSessionResponse, N as Cli, P as CliCreateCodactFailureParams, R as CliGetSessionParams, U as RealtimeAuthResponse, V as Realtime, W as RealtimeCredentialsResponse, z as CliGetSessionResponse } from "../../_internal-Cw5Ug7qY.mjs";
|
|
2
|
+
export type { Cli, CliCreateCodactFailureParams, CliCreateCodactFailureResponse, CliCreateSessionParams, CliCreateSessionResponse, CliGetSessionParams, CliGetSessionResponse, Realtime, RealtimeAuthParams, RealtimeAuthResponse, RealtimeCredentialsResponse };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { makePermissions } from "./permissions.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/compat/resources/_internal/consumer/consumer.ts
|
|
4
|
+
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
5
|
+
const makeConsumer = (client) => ({ permissions: makePermissions(client) });
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { makeConsumer };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { n as generatedOperation, y as withOperation } from "../../../generated-operations-B3PjeXjl.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/compat/resources/_internal/consumer/permissions.ts
|
|
4
|
+
const OP_RESOLVE = generatedOperation("_internal.consumer.permissions.resolve");
|
|
5
|
+
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
6
|
+
const makePermissions = (client) => ({ resolve(body = {}, options) {
|
|
7
|
+
return client.post("/api/v3.1/consumer/permissions/resolve", withOperation(OP_RESOLVE, {
|
|
8
|
+
body,
|
|
9
|
+
...options
|
|
10
|
+
}));
|
|
11
|
+
} });
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { makePermissions };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { makeTriggers } from "./triggers.mjs";
|
|
2
|
+
import { makeTools } from "./tools.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/compat/resources/_internal/logs/logs.ts
|
|
5
|
+
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
6
|
+
const makeLogs = (client) => ({
|
|
7
|
+
triggers: makeTriggers(client),
|
|
8
|
+
tools: makeTools(client)
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { makeLogs };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { _ as ToolListParams, b as Tools, g as ToolListFieldsResponse, v as ToolListResponse, x as makeTools, y as ToolRetrieveResponse } from "../../../_internal-Cw5Ug7qY.mjs";
|
|
2
|
+
export { ToolListFieldsResponse, ToolListParams, ToolListResponse, ToolRetrieveResponse, Tools, makeTools };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as path, n as generatedOperation, y as withOperation } from "
|
|
1
|
+
import { d as path, n as generatedOperation, y as withOperation } from "../../../generated-operations-B3PjeXjl.mjs";
|
|
2
2
|
|
|
3
|
-
//#region src/compat/resources/logs/tools.ts
|
|
4
|
-
const OP_RETRIEVE = generatedOperation("logs.tools.retrieve");
|
|
5
|
-
const OP_LIST = generatedOperation("logs.tools.list");
|
|
6
|
-
const OP_LIST_FIELDS = generatedOperation("logs.tools.listFields");
|
|
3
|
+
//#region src/compat/resources/_internal/logs/tools.ts
|
|
4
|
+
const OP_RETRIEVE = generatedOperation("_internal.logs.tools.retrieve");
|
|
5
|
+
const OP_LIST = generatedOperation("_internal.logs.tools.list");
|
|
6
|
+
const OP_LIST_FIELDS = generatedOperation("_internal.logs.tools.listFields");
|
|
7
7
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
8
8
|
const makeTools = (client) => ({
|
|
9
9
|
retrieve(id, options) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as path, n as generatedOperation, y as withOperation } from "
|
|
1
|
+
import { d as path, n as generatedOperation, y as withOperation } from "../../../generated-operations-B3PjeXjl.mjs";
|
|
2
2
|
|
|
3
|
-
//#region src/compat/resources/logs/triggers.ts
|
|
4
|
-
const OP_RETRIEVE = generatedOperation("logs.triggers.retrieve");
|
|
5
|
-
const OP_LIST = generatedOperation("logs.triggers.list");
|
|
3
|
+
//#region src/compat/resources/_internal/logs/triggers.ts
|
|
4
|
+
const OP_RETRIEVE = generatedOperation("_internal.logs.triggers.retrieve");
|
|
5
|
+
const OP_LIST = generatedOperation("_internal.logs.triggers.list");
|
|
6
6
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
7
7
|
const makeTriggers = (client) => ({
|
|
8
8
|
retrieve(id, options) {
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { C as TriggerListResponse, S as TriggerListParams, T as Triggers, _ as ToolListParams, b as Tools, g as ToolListFieldsResponse, m as Logs, v as ToolListResponse, w as TriggerRetrieveResponse, y as ToolRetrieveResponse } from "../../_internal-Cw5Ug7qY.mjs";
|
|
2
|
+
export type { Logs, ToolListFieldsResponse, ToolListParams, ToolListResponse, ToolRetrieveResponse, Tools, TriggerListParams, TriggerListResponse, TriggerRetrieveResponse, Triggers };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as Consumer, c as ConsumerRetrieveConfigResponse, l as makeConsumer, o as ConsumerListConnectedToolkitsParams, s as ConsumerListConnectedToolkitsResponse } from "../../../../_internal-Cw5Ug7qY.mjs";
|
|
2
|
+
export { Consumer, ConsumerListConnectedToolkitsParams, ConsumerListConnectedToolkitsResponse, ConsumerRetrieveConfigResponse, makeConsumer };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { n as generatedOperation, y as withOperation } from "
|
|
1
|
+
import { n as generatedOperation, y as withOperation } from "../../../../generated-operations-B3PjeXjl.mjs";
|
|
2
2
|
import { makeProject } from "./project.mjs";
|
|
3
3
|
|
|
4
|
-
//#region src/compat/resources/org/consumer/consumer.ts
|
|
5
|
-
const OP_LIST_CONNECTED_TOOLKITS = generatedOperation("org.consumer.listConnectedToolkits");
|
|
4
|
+
//#region src/compat/resources/_internal/org/consumer/consumer.ts
|
|
5
|
+
const OP_LIST_CONNECTED_TOOLKITS = generatedOperation("_internal.org.consumer.listConnectedToolkits");
|
|
6
|
+
const OP_RETRIEVE_CONFIG = generatedOperation("_internal.org.consumer.retrieveConfig");
|
|
6
7
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
7
8
|
const makeConsumer = (client) => ({
|
|
8
9
|
project: makeProject(client),
|
|
@@ -15,6 +16,9 @@ const makeConsumer = (client) => ({
|
|
|
15
16
|
"x-user-api-key": xUserApiKey,
|
|
16
17
|
"x-org-id": xOrgId
|
|
17
18
|
}));
|
|
19
|
+
},
|
|
20
|
+
retrieveConfig(options) {
|
|
21
|
+
return client.get("/api/v3.1/org/consumer/config", withOperation(OP_RETRIEVE_CONFIG, { ...options }));
|
|
18
22
|
}
|
|
19
23
|
});
|
|
20
24
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as generatedOperation, y as withOperation } from "
|
|
1
|
+
import { n as generatedOperation, y as withOperation } from "../../../../generated-operations-B3PjeXjl.mjs";
|
|
2
2
|
|
|
3
|
-
//#region src/compat/resources/org/consumer/project.ts
|
|
4
|
-
const OP_RESOLVE = generatedOperation("org.consumer.project.resolve");
|
|
3
|
+
//#region src/compat/resources/_internal/org/consumer/project.ts
|
|
4
|
+
const OP_RESOLVE = generatedOperation("_internal.org.consumer.project.resolve");
|
|
5
5
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
6
6
|
const makeProject = (client) => ({ resolve(params, options) {
|
|
7
7
|
const { "x-user-api-key": xUserApiKey, "x-org-id": xOrgId } = params;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as Consumer, c as ConsumerRetrieveConfigResponse, d as ProjectResolveParams, f as ProjectResolveResponse, o as ConsumerListConnectedToolkitsParams, s as ConsumerListConnectedToolkitsResponse, u as Project } from "../../../_internal-Cw5Ug7qY.mjs";
|
|
2
|
+
export type { Consumer, ConsumerListConnectedToolkitsParams, ConsumerListConnectedToolkitsResponse, ConsumerRetrieveConfigResponse, Project, ProjectResolveParams, ProjectResolveResponse };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { makeConsumer } from "./consumer/consumer.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/compat/resources/_internal/org/org.ts
|
|
4
|
+
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
5
|
+
const makeOrg = (client) => ({ consumer: makeConsumer(client) });
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { makeOrg };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as Consumer, c as ConsumerRetrieveConfigResponse, o as ConsumerListConnectedToolkitsParams, r as Org, s as ConsumerListConnectedToolkitsResponse } from "../../_internal-Cw5Ug7qY.mjs";
|
|
2
|
+
export type { Consumer, ConsumerListConnectedToolkitsParams, ConsumerListConnectedToolkitsResponse, ConsumerRetrieveConfigResponse, Org };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { D as Consumer, F as CliCreateCodactFailureResponse, I as CliCreateSessionParams, L as CliCreateSessionResponse, N as Cli, P as CliCreateCodactFailureParams, R as CliGetSessionParams, m as Logs, r as Org, t as Internal, z as CliGetSessionResponse } from "../_internal-Cw5Ug7qY.mjs";
|
|
2
|
+
export type { Cli, CliCreateCodactFailureParams, CliCreateCodactFailureResponse, CliCreateSessionParams, CliCreateSessionResponse, CliGetSessionParams, CliGetSessionResponse, Consumer, Internal, Logs, Org };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ft as ApiKeyRevocation, ht as makeApiKeyRevocation, mt as ApiKeyRevocationCreateResponse, pt as ApiKeyRevocationCreateParams } from "../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { ApiKeyRevocation, ApiKeyRevocationCreateParams, ApiKeyRevocationCreateResponse, makeApiKeyRevocation };
|
|
@@ -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-B3PjeXjl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/api-key-revocation.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("apiKeyRevocation.create");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _t as makeAuth, gt as Auth } from "../../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { Auth, makeAuth };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bt as makeSession, vt as Session, yt as SessionRetrieveInfoResponse } from "../../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { Session, SessionRetrieveInfoResponse, makeSession };
|
|
@@ -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-B3PjeXjl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/auth/session.ts
|
|
4
4
|
const OP_RETRIEVE_INFO = generatedOperation("auth.session.retrieveInfo");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ar as AuthConfigs, Cr as AuthConfigListParams, Dr as AuthConfigUpdateResponse, Er as AuthConfigUpdateParams, Or as AuthConfigUpdateStatusParams, Sr as AuthConfigDeleteResponse, Tr as AuthConfigRetrieveResponse, br as AuthConfigCreateResponse, jr as makeAuthConfigs, kr as AuthConfigUpdateStatusResponse, wr as AuthConfigListResponse, xr as AuthConfigDeleteParams, yr as AuthConfigCreateParams } from "../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { AuthConfigCreateParams, AuthConfigCreateResponse, AuthConfigDeleteParams, AuthConfigDeleteResponse, AuthConfigListParams, AuthConfigListResponse, AuthConfigRetrieveResponse, AuthConfigUpdateParams, AuthConfigUpdateResponse, AuthConfigUpdateStatusParams, AuthConfigUpdateStatusResponse, AuthConfigs, makeAuthConfigs };
|
|
@@ -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-B3PjeXjl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/auth-configs.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("authConfigs.create");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { gt as Auth, vt as Session, yt as SessionRetrieveInfoResponse } from "../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export type { Auth, Session, SessionRetrieveInfoResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as
|
|
1
|
+
import { $r as ConnectedAccountCreateResponse, Qr as ConnectedAccountCreateParams, Xr as ConnectedAccountCompleteAuthParams, Zr as ConnectedAccountCompleteAuthResponse, ai as ConnectedAccountPatchResponse, ci as ConnectedAccountRetrieveResponse, di as ConnectedAccountUpdateStatusResponse, ei as ConnectedAccountDeleteParams, fi as ConnectedAccounts, ii as ConnectedAccountPatchParams, li as ConnectedAccountRevokeResponse, ni as ConnectedAccountListParams, oi as ConnectedAccountRefreshParams, pi as makeConnectedAccounts, ri as ConnectedAccountListResponse, si as ConnectedAccountRefreshResponse, ti as ConnectedAccountDeleteResponse, ui as ConnectedAccountUpdateStatusParams } from "../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { ConnectedAccountCompleteAuthParams, ConnectedAccountCompleteAuthResponse, ConnectedAccountCreateParams, ConnectedAccountCreateResponse, ConnectedAccountDeleteParams, ConnectedAccountDeleteResponse, ConnectedAccountListParams, ConnectedAccountListResponse, ConnectedAccountPatchParams, ConnectedAccountPatchResponse, ConnectedAccountRefreshParams, ConnectedAccountRefreshResponse, ConnectedAccountRetrieveResponse, ConnectedAccountRevokeResponse, ConnectedAccountUpdateStatusParams, ConnectedAccountUpdateStatusResponse, ConnectedAccounts, makeConnectedAccounts };
|
|
@@ -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-B3PjeXjl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/connected-accounts.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("connectedAccounts.create");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { at as CustomDeleteToolkitParams, ct as CustomSyncResponse, dt as makeCustom, it as Custom, lt as CustomUpsertParams, ot as CustomDeleteToolkitResponse, st as CustomSyncParams, ut as CustomUpsertResponse } from "../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { Custom, CustomDeleteToolkitParams, CustomDeleteToolkitResponse, CustomSyncParams, CustomSyncResponse, CustomUpsertParams, CustomUpsertResponse, makeCustom };
|
|
@@ -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-B3PjeXjl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/custom.ts
|
|
4
4
|
const OP_DELETE_TOOLKIT = generatedOperation("custom.deleteToolkit");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _i as FileListResponse, gi as FileListParams, hi as FileCreatePresignedURLResponse, mi as FileCreatePresignedURLParams, vi as Files, yi as makeFiles } from "../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { FileCreatePresignedURLParams, FileCreatePresignedURLResponse, FileListParams, FileListResponse, Files, makeFiles };
|
package/dist/resources/files.mjs
CHANGED
|
@@ -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-B3PjeXjl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/files.ts
|
|
4
4
|
const OP_LIST = generatedOperation("files.list");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { nt as KeyringListTransferKeysResponse, rt as makeKeyring, tt as Keyring } from "../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { Keyring, KeyringListTransferKeysResponse, makeKeyring };
|
|
@@ -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-B3PjeXjl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/keyring.ts
|
|
4
4
|
const OP_LIST_TRANSFER_KEYS = generatedOperation("keyring.listTransferKeys");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Jr as LinkCreateResponse, Kr as Link, Yr as makeLink, qr as LinkCreateParams } from "../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { Link, LinkCreateParams, LinkCreateResponse, makeLink };
|
package/dist/resources/link.mjs
CHANGED
|
@@ -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-B3PjeXjl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/link.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("link.create");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Dn as Logs, En as LogRetrieveToolExecutionResponse, On as makeLogs, Tn as LogCreateToolExecutionResponse, wn as LogCreateToolExecutionParams } from "../../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { LogCreateToolExecutionParams, LogCreateToolExecutionResponse, LogRetrieveToolExecutionResponse, Logs, makeLogs };
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import { d as path, n as generatedOperation, y as withOperation } from "../../generated-operations-
|
|
2
|
-
import { makeTriggers } from "./triggers.mjs";
|
|
3
|
-
import { makeTools } from "./tools.mjs";
|
|
1
|
+
import { d as path, n as generatedOperation, y as withOperation } from "../../generated-operations-B3PjeXjl.mjs";
|
|
4
2
|
|
|
5
3
|
//#region src/compat/resources/logs/logs.ts
|
|
6
4
|
const OP_CREATE_TOOL_EXECUTION = generatedOperation("logs.createToolExecution");
|
|
7
5
|
const OP_RETRIEVE_TOOL_EXECUTION = generatedOperation("logs.retrieveToolExecution");
|
|
8
6
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
9
7
|
const makeLogs = (client) => ({
|
|
10
|
-
triggers: makeTriggers(client),
|
|
11
|
-
tools: makeTools(client),
|
|
12
8
|
createToolExecution(body = {}, options) {
|
|
13
9
|
return client.post("/api/v3.1/logs/tool_execution", withOperation(OP_CREATE_TOOL_EXECUTION, {
|
|
14
10
|
body,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type { LogCreateToolExecutionParams, LogCreateToolExecutionResponse, LogRetrieveToolExecutionResponse, Logs
|
|
1
|
+
import { Dn as Logs, En as LogRetrieveToolExecutionResponse, Tn as LogCreateToolExecutionResponse, wn as LogCreateToolExecutionParams } from "../_internal-Cw5Ug7qY.mjs";
|
|
2
|
+
export type { LogCreateToolExecutionParams, LogCreateToolExecutionResponse, LogRetrieveToolExecutionResponse, Logs };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $n as CustomCreateResponse, Qn as CustomCreateParams, Zn as Custom, er as makeCustom } from "../../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { Custom, CustomCreateParams, CustomCreateResponse, makeCustom };
|
|
@@ -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-B3PjeXjl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/mcp/custom.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("mcp.custom.create");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Jn as GenerateURLParams, Xn as makeGenerate, Yn as GenerateURLResponse, qn as Generate } from "../../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { Generate, GenerateURLParams, GenerateURLResponse, makeGenerate };
|
|
@@ -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-B3PjeXjl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/mcp/generate.ts
|
|
4
4
|
const OP_URL = generatedOperation("mcp.generate.url");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { An as
|
|
1
|
+
import { An as McpCreateInstanceParams, Bn as McpListResponse, Fn as McpDeleteInstanceResponse, Gn as McpUpdateResponse, Hn as McpRetrieveAppResponse, In as McpDeleteResponse, Kn as makeMcp, Ln as McpListInstancesParams, Mn as McpCreateParams, Nn as McpCreateResponse, Pn as McpDeleteInstanceParams, Rn as McpListInstancesResponse, Un as McpRetrieveResponse, Vn as McpRetrieveAppParams, Wn as McpUpdateParams, jn as McpCreateInstanceResponse, kn as Mcp, zn as McpListParams } from "../../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { Mcp, McpCreateInstanceParams, McpCreateInstanceResponse, McpCreateParams, McpCreateResponse, McpDeleteInstanceParams, McpDeleteInstanceResponse, McpDeleteResponse, McpListInstancesParams, McpListInstancesResponse, McpListParams, McpListResponse, McpRetrieveAppParams, McpRetrieveAppResponse, McpRetrieveResponse, McpUpdateParams, McpUpdateResponse, makeMcp };
|
|
@@ -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-B3PjeXjl.mjs";
|
|
2
2
|
import { makeCustom } from "./custom.mjs";
|
|
3
3
|
import { makeGenerate } from "./generate.mjs";
|
|
4
4
|
|
package/dist/resources/mcp.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { An as
|
|
1
|
+
import { $n as CustomCreateResponse, An as McpCreateInstanceParams, Bn as McpListResponse, Fn as McpDeleteInstanceResponse, Gn as McpUpdateResponse, Hn as McpRetrieveAppResponse, In as McpDeleteResponse, Jn as GenerateURLParams, Ln as McpListInstancesParams, Mn as McpCreateParams, Nn as McpCreateResponse, Pn as McpDeleteInstanceParams, Qn as CustomCreateParams, Rn as McpListInstancesResponse, Un as McpRetrieveResponse, Vn as McpRetrieveAppParams, Wn as McpUpdateParams, Yn as GenerateURLResponse, Zn as Custom, jn as McpCreateInstanceResponse, kn as Mcp, qn as Generate, zn as McpListParams } from "../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export type { Custom, CustomCreateParams, CustomCreateResponse, Generate, GenerateURLParams, GenerateURLResponse, Mcp, McpCreateInstanceParams, McpCreateInstanceResponse, McpCreateParams, McpCreateResponse, McpDeleteInstanceParams, McpDeleteInstanceResponse, McpDeleteResponse, McpListInstancesParams, McpListInstancesResponse, McpListParams, McpListResponse, McpRetrieveAppParams, McpRetrieveAppResponse, McpRetrieveResponse, McpUpdateParams, McpUpdateResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ct as OrgListResponse, St as OrgListParams, wt as makeOrg, xt as Org } from "../../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { Org, OrgListParams, OrgListResponse, makeOrg };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { n as generatedOperation, y as withOperation } from "../../generated-operations-
|
|
2
|
-
import { makeClanker } from "./clanker.mjs";
|
|
3
|
-
import { makeConsumer } from "./consumer/consumer.mjs";
|
|
1
|
+
import { n as generatedOperation, y as withOperation } from "../../generated-operations-B3PjeXjl.mjs";
|
|
4
2
|
import { makeOwner } from "./owner/owner.mjs";
|
|
5
3
|
import { makeProject } from "./project.mjs";
|
|
6
4
|
import { makeUsage } from "./usage.mjs";
|
|
@@ -10,10 +8,8 @@ const OP_LIST = generatedOperation("org.list");
|
|
|
10
8
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
11
9
|
const makeOrg = (client) => ({
|
|
12
10
|
owner: makeOwner(client),
|
|
13
|
-
consumer: makeConsumer(client),
|
|
14
11
|
project: makeProject(client),
|
|
15
12
|
usage: makeUsage(client),
|
|
16
|
-
clanker: makeClanker(client),
|
|
17
13
|
list(query = {}, options) {
|
|
18
14
|
return client.get("/api/v3.1/org/list", withOperation(OP_LIST, {
|
|
19
15
|
query,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ft as Owner, It as makeOwner } from "../../../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { Owner, makeOwner };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bt as ProjectDeleteParams, Gt as ProjectRetrieveResponse, Ht as ProjectListParams, Kt as makeProject, Lt as Project, Rt as ProjectCreateParams, Ut as ProjectListResponse, Vt as ProjectDeleteResponse, Wt as ProjectRegenerateAPIKeyResponse, zt as ProjectCreateResponse } from "../../../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { Project, ProjectCreateParams, ProjectCreateResponse, ProjectDeleteParams, ProjectDeleteResponse, ProjectListParams, ProjectListResponse, ProjectRegenerateAPIKeyResponse, ProjectRetrieveResponse, makeProject };
|
|
@@ -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-B3PjeXjl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/org/owner/project.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("org.owner.project.create");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bt as ProjectDeleteParams, Ft as Owner, Gt as ProjectRetrieveResponse, Ht as ProjectListParams, Lt as Project, Rt as ProjectCreateParams, Ut as ProjectListResponse, Vt as ProjectDeleteResponse, Wt as ProjectRegenerateAPIKeyResponse, zt as ProjectCreateResponse } from "../../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export type { Owner, Project, ProjectCreateParams, ProjectCreateResponse, ProjectDeleteParams, ProjectDeleteResponse, ProjectListParams, ProjectListResponse, ProjectRegenerateAPIKeyResponse, ProjectRetrieveResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Mt as ProjectListParams, Nt as ProjectListResponse, Pt as makeProject, jt as Project } from "../../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { Project, ProjectListParams, ProjectListResponse, makeProject };
|
|
@@ -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-B3PjeXjl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/org/project.ts
|
|
4
4
|
const OP_LIST = generatedOperation("org.project.list");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { At as makeUsage, Dt as UsageRetrieveResponse, Et as UsageRetrieveParams, Ot as UsageRetrieveSummaryParams, Tt as Usage, kt as UsageRetrieveSummaryResponse } from "../../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { Usage, UsageRetrieveParams, UsageRetrieveResponse, UsageRetrieveSummaryParams, UsageRetrieveSummaryResponse, makeUsage };
|
|
@@ -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-B3PjeXjl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/org/usage.ts
|
|
4
4
|
const OP_RETRIEVE = generatedOperation("org.usage.retrieve");
|
package/dist/resources/org.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type {
|
|
1
|
+
import { Ct as OrgListResponse, Dt as UsageRetrieveResponse, Et as UsageRetrieveParams, Ft as Owner, Mt as ProjectListParams, Nt as ProjectListResponse, Ot as UsageRetrieveSummaryParams, St as OrgListParams, Tt as Usage, jt as Project, kt as UsageRetrieveSummaryResponse, xt as Org } from "../_internal-Cw5Ug7qY.mjs";
|
|
2
|
+
export type { Org, OrgListParams, OrgListResponse, Owner, Project, ProjectListParams, ProjectListResponse, Usage, UsageRetrieveParams, UsageRetrieveResponse, UsageRetrieveSummaryParams, UsageRetrieveSummaryResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _n as makeProject, gn as Project } from "../../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { Project, makeProject };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cn as makeUsage, Sn as UsageRetrieveSummaryResponse, bn as UsageRetrieveResponse, vn as Usage, xn as UsageRetrieveSummaryParams, yn as UsageRetrieveParams } from "../../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export { Usage, UsageRetrieveParams, UsageRetrieveResponse, UsageRetrieveSummaryParams, UsageRetrieveSummaryResponse, makeUsage };
|
|
@@ -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-B3PjeXjl.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/project/usage.ts
|
|
4
4
|
const OP_RETRIEVE = generatedOperation("project.usage.retrieve");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Sn as UsageRetrieveSummaryResponse, bn as UsageRetrieveResponse, gn as Project, vn as Usage, xn as UsageRetrieveSummaryParams, yn as UsageRetrieveParams } from "../_internal-Cw5Ug7qY.mjs";
|
|
2
2
|
export type { Project, Usage, UsageRetrieveParams, UsageRetrieveResponse, UsageRetrieveSummaryParams, UsageRetrieveSummaryResponse };
|