@composio/client 2.0.0 → 2.1.0
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/MIGRATION.md +15 -1
- package/README.md +17 -3
- package/dist/{_internal-BBZ8gsxI.d.mts → _internal-NSeZ9Kgw.d.mts} +212 -4
- package/dist/{_internal-C4YQE9nG.d.mts → _internal-nTeziat-.d.mts} +1 -1
- package/dist/effect/internal.d.mts +1 -1
- package/dist/effect/schemas/custom/create-toolkit.d.mts +13 -0
- package/dist/effect/schemas/custom/create-toolkit.mjs +21 -0
- package/dist/effect/schemas/custom/update-toolkits.d.mts +8 -0
- package/dist/effect/schemas/custom/update-toolkits.mjs +8 -0
- package/dist/effect/schemas/tools/retrieve-enum.mjs +1 -1
- package/dist/effect/schemas.d.mts +11 -0
- package/dist/effect/schemas.mjs +2 -0
- package/dist/effect.d.mts +8 -4
- package/dist/effect.mjs +13 -3
- package/dist/{environments-BFGXNbF0.mjs → environments-DsaIgVcq.mjs} +1 -1
- package/dist/{environments-cVbMu7FC.d.mts → environments-X99VPIhY.d.mts} +1 -1
- package/dist/{generated-operations-DXMQK5w5.mjs → generated-operations-BPwJuY-V.mjs} +13 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/internal.d.mts +1 -1
- package/dist/resources/_internal/_internal.d.mts +1 -1
- package/dist/resources/_internal/cli/cli.d.mts +1 -1
- package/dist/resources/_internal/cli/cli.mjs +1 -1
- package/dist/resources/_internal/cli/realtime.d.mts +1 -1
- package/dist/resources/_internal/cli/realtime.mjs +1 -1
- package/dist/resources/_internal/cli.d.mts +1 -1
- package/dist/resources/_internal/consumer/consumer.d.mts +1 -1
- package/dist/resources/_internal/consumer/permissions.d.mts +1 -1
- package/dist/resources/_internal/consumer/permissions.mjs +1 -1
- package/dist/resources/_internal/consumer.d.mts +1 -1
- package/dist/resources/_internal/logs/logs.d.mts +1 -1
- package/dist/resources/_internal/logs/tools.d.mts +1 -1
- package/dist/resources/_internal/logs/tools.mjs +1 -1
- package/dist/resources/_internal/logs/triggers.d.mts +1 -1
- package/dist/resources/_internal/logs/triggers.mjs +1 -1
- package/dist/resources/_internal/logs.d.mts +1 -1
- package/dist/resources/_internal/org/consumer/consumer.d.mts +1 -1
- package/dist/resources/_internal/org/consumer/consumer.mjs +1 -1
- package/dist/resources/_internal/org/consumer/project.d.mts +1 -1
- package/dist/resources/_internal/org/consumer/project.mjs +1 -1
- package/dist/resources/_internal/org/consumer.d.mts +1 -1
- package/dist/resources/_internal/org/org.d.mts +1 -1
- package/dist/resources/_internal/org.d.mts +1 -1
- package/dist/resources/_internal.d.mts +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/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 +2 -2
- package/dist/resources/custom.mjs +15 -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 -1
- package/dist/resources/logs.d.mts +1 -1
- 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 -1
- 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 +1 -1
- 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 +2 -2
- package/dist/resources/toolkits.mjs +6 -2
- 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 +7 -6
package/dist/effect.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as makeAPIErrorMessage, m as errorDetails, s as ComposioError } from "./error-Bw7_G2NZ.mjs";
|
|
2
|
-
import { A as matchOperation, B as scopeForCall, C as reservedHeaders, D as mergeHeaders, E as buildHeaders, F as authFromCredentials, G as resolveHTTPURL, H as assertCredentialTransport, I as chooseCredential, L as credentialHeader, M as assertNoRemovedCredentialOptions, N as assertRequiredOperationHeaders, O as inspectDeprecatedInputs, P as authConstructors, R as resolveAuth, S as assertNoReservedHeaders, T as VERSION, U as carriesCredentials, V as SCHEME_HEADERS, W as parseHTTPURL, _ as safeJSON, a as TOO_MANY_REDIRECTS, c as buildURL, d as path, f as printableURL, g as rewriteForRedirect, h as retryDelayMillis, i as REDIRECT_STATUSES, k as inspectDeprecation, m as resolveMaxRetries, n as generatedOperation, o as buildBody, r as OPAQUE_REDIRECT, s as buildRequestHeaders, t as GENERATED_OPERATIONS, v as shouldRetryResponse, w as resolveIdentity, y as validatePositiveInteger, z as resolveScope } from "./generated-operations-
|
|
3
|
-
import { i as classifySuccessBody, n as GENERATED_DEPRECATED_INPUTS, t as ENVIRONMENTS } from "./environments-
|
|
2
|
+
import { A as matchOperation, B as scopeForCall, C as reservedHeaders, D as mergeHeaders, E as buildHeaders, F as authFromCredentials, G as resolveHTTPURL, H as assertCredentialTransport, I as chooseCredential, L as credentialHeader, M as assertNoRemovedCredentialOptions, N as assertRequiredOperationHeaders, O as inspectDeprecatedInputs, P as authConstructors, R as resolveAuth, S as assertNoReservedHeaders, T as VERSION, U as carriesCredentials, V as SCHEME_HEADERS, W as parseHTTPURL, _ as safeJSON, a as TOO_MANY_REDIRECTS, c as buildURL, d as path, f as printableURL, g as rewriteForRedirect, h as retryDelayMillis, i as REDIRECT_STATUSES, k as inspectDeprecation, m as resolveMaxRetries, n as generatedOperation, o as buildBody, r as OPAQUE_REDIRECT, s as buildRequestHeaders, t as GENERATED_OPERATIONS, v as shouldRetryResponse, w as resolveIdentity, y as validatePositiveInteger, z as resolveScope } from "./generated-operations-BPwJuY-V.mjs";
|
|
3
|
+
import { i as classifySuccessBody, n as GENERATED_DEPRECATED_INPUTS, t as ENVIRONMENTS } from "./environments-DsaIgVcq.mjs";
|
|
4
4
|
import { i as standardNextCursor, n as assertPageItems, r as isFinalCursor, t as assertCursorAdvanced } from "./pagination-rules-CMnBwktJ.mjs";
|
|
5
5
|
import { Config, Context, Data, Effect, Exit, Layer, Match, Option, Predicate, Redacted, References, Result, Stream, Tracer } from "effect";
|
|
6
6
|
import * as HttpClient from "effect/http/HttpClient";
|
|
@@ -1043,7 +1043,10 @@ const makeToolkits = (kernel) => {
|
|
|
1043
1043
|
body
|
|
1044
1044
|
}, options),
|
|
1045
1045
|
retrieveCategories: (options) => executeOperation(kernel, OP_RETRIEVE_CATEGORIES, {}, options),
|
|
1046
|
-
retrieveChangelog: (options) =>
|
|
1046
|
+
retrieveChangelog: (options) => {
|
|
1047
|
+
const query = options?.query;
|
|
1048
|
+
return executeOperation(kernel, OP_RETRIEVE_CHANGELOG, { query }, options);
|
|
1049
|
+
},
|
|
1047
1050
|
retrieveMulti: (body = {}, options) => executeOperation(kernel, OP_RETRIEVE_MULTI, { body }, options),
|
|
1048
1051
|
retrieveMultiStream: (body, options) => cursorStream((cursor) => resource.retrieveMulti(cursor === void 0 ? body : {
|
|
1049
1052
|
...body,
|
|
@@ -1439,15 +1442,22 @@ const makeInternal = (kernel) => ({
|
|
|
1439
1442
|
|
|
1440
1443
|
//#endregion
|
|
1441
1444
|
//#region src/effect/generated/resources/custom.ts
|
|
1445
|
+
const OP_CREATE_TOOLKIT = generatedOperation("custom.createToolkit");
|
|
1442
1446
|
const OP_DELETE_TOOLKIT = generatedOperation("custom.deleteToolkit");
|
|
1443
1447
|
const OP_SYNC = generatedOperation("custom.sync");
|
|
1448
|
+
const OP_UPDATE_TOOLKITS = generatedOperation("custom.updateToolkits");
|
|
1444
1449
|
const OP_UPSERT = generatedOperation("custom.upsert");
|
|
1445
1450
|
const makeCustom = (kernel) => ({
|
|
1451
|
+
createToolkit: (body, options) => executeOperation(kernel, OP_CREATE_TOOLKIT, { body }, options),
|
|
1446
1452
|
deleteToolkit: (slug, query = {}, options) => executeOperation(kernel, OP_DELETE_TOOLKIT, {
|
|
1447
1453
|
path: [slug],
|
|
1448
1454
|
query
|
|
1449
1455
|
}, options),
|
|
1450
1456
|
sync: (body, options) => executeOperation(kernel, OP_SYNC, { body }, options),
|
|
1457
|
+
updateToolkits: (slug, body = {}, options) => executeOperation(kernel, OP_UPDATE_TOOLKITS, {
|
|
1458
|
+
path: [slug],
|
|
1459
|
+
body
|
|
1460
|
+
}, options),
|
|
1451
1461
|
upsert: (body, options) => executeOperation(kernel, OP_UPSERT, { body }, options)
|
|
1452
1462
|
});
|
|
1453
1463
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as APIError } from "./error-Bw7_G2NZ.mjs";
|
|
2
|
-
import { _ as safeJSON, l as castToError } from "./generated-operations-
|
|
2
|
+
import { _ as safeJSON, l as castToError } from "./generated-operations-BPwJuY-V.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/compat/api-promise.ts
|
|
5
5
|
/**
|
|
@@ -1008,7 +1008,7 @@ function* headerNames(headers) {
|
|
|
1008
1008
|
|
|
1009
1009
|
//#endregion
|
|
1010
1010
|
//#region src/version.ts
|
|
1011
|
-
const VERSION = "2.
|
|
1011
|
+
const VERSION = "2.1.0";
|
|
1012
1012
|
|
|
1013
1013
|
//#endregion
|
|
1014
1014
|
//#region src/compat/identity.ts
|
|
@@ -2214,6 +2214,12 @@ const GENERATED_OPERATIONS = [
|
|
|
2214
2214
|
path: "/api/v3.1/connected_accounts/{nanoid}",
|
|
2215
2215
|
chain: ["connectedAccounts", "patch"]
|
|
2216
2216
|
},
|
|
2217
|
+
{
|
|
2218
|
+
method: "patch",
|
|
2219
|
+
path: "/api/v3.1/custom/toolkits/{slug}",
|
|
2220
|
+
chain: ["custom", "updateToolkits"],
|
|
2221
|
+
schemes: ["ApiKeyAuth", "UserApiKeyAuth"]
|
|
2222
|
+
},
|
|
2217
2223
|
{
|
|
2218
2224
|
method: "patch",
|
|
2219
2225
|
path: "/api/v3.1/mcp/{id}",
|
|
@@ -2329,6 +2335,12 @@ const GENERATED_OPERATIONS = [
|
|
|
2329
2335
|
],
|
|
2330
2336
|
schemes: ["UserApiKeyAuth", "ApiKeyAuth"]
|
|
2331
2337
|
},
|
|
2338
|
+
{
|
|
2339
|
+
method: "post",
|
|
2340
|
+
path: "/api/v3.1/custom/toolkits",
|
|
2341
|
+
chain: ["custom", "createToolkit"],
|
|
2342
|
+
schemes: ["ApiKeyAuth", "UserApiKeyAuth"]
|
|
2343
|
+
},
|
|
2332
2344
|
{
|
|
2333
2345
|
method: "post",
|
|
2334
2346
|
path: "/api/v3.1/custom/toolkits/sync",
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $i as
|
|
2
|
-
import { n as VERSION, t as ENVIRONMENTS } from "./environments-
|
|
1
|
+
import { $i as SessionExecuteResponse, Aa as Scope, Ba as InternalServerError, Bi as ToolRouter, Ea as AuthMode, Fa as APIUserAbortError, Ga as RequestOptions, Gi as SessionConfigHistoryParams, Ha as PermissionDeniedError, Hi as Session, Ia as AuthenticationError, J as EnvironmentMap, Ja as createFetchTransport, Ji as SessionCreateResponse, K as ClientOptions, Ka as FetchTransportDefaults, Ki as SessionConfigHistoryResponse, La as BadRequestError, Ma as APIConnectionTimeoutError, Na as APIError, Oa as AutoCredentials, Pa as APIErrorBody, Qi as SessionExecuteParams, Ra as ComposioError, Sa as Files, Ua as RateLimitError, Ui as SessionAttachParams, Va as NotFoundError, Wa as UnprocessableEntityError, Wi as SessionAttachResponse, Xi as SessionExecuteMetaParams, Y as LogLevel, Ya as ClientIdentity, Yi as SessionDeleteResponse, Za as APIPromise, Zi as SessionExecuteMetaResponse, _a as FileCreateUploadURLResponse, aa as SessionProxyExecuteResponse, ba as FileListParams, ca as SessionSearchResponse, da as SessionToolsParams, ea as SessionLinkParams, fa as SessionToolsResponse, ga as FileCreateUploadURLParams, ha as FileCreateDownloadURLResponse, ia as SessionProxyExecuteParams, ja as APIConnectionError, ka as Credential, la as SessionToolkitsParams, ma as FileCreateDownloadURLParams, na as SessionPatchParams, oa as SessionRetrieveResponse, q as Composio, qa as Transport, qi as SessionCreateParams, ra as SessionPatchResponse, sa as SessionSearchParams, ta as SessionLinkResponse, ua as SessionToolkitsResponse, va as FileDeleteParams, wa as Auth, xa as FileListResponse, ya as FileDeleteResponse, za as ConflictError } from "./_internal-NSeZ9Kgw.mjs";
|
|
2
|
+
import { n as VERSION, t as ENVIRONMENTS } from "./environments-X99VPIhY.mjs";
|
|
3
3
|
export { APIConnectionError, APIConnectionTimeoutError, APIError, type APIErrorBody, APIPromise, APIUserAbortError, Auth, type AuthMode, AuthenticationError, type AutoCredentials, BadRequestError, type ClientIdentity, type ClientOptions, Composio, Composio as default, ComposioError, ConflictError, type Credential, ENVIRONMENTS, type EnvironmentMap, type FetchTransportDefaults, type FileCreateDownloadURLParams, type FileCreateDownloadURLResponse, type FileCreateUploadURLParams, type FileCreateUploadURLResponse, type FileDeleteParams, type FileDeleteResponse, type FileListParams, type FileListResponse, type Files, InternalServerError, type LogLevel, NotFoundError, PermissionDeniedError, RateLimitError, type RequestOptions, type Scope, type 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, type ToolRouter, type Transport, UnprocessableEntityError, VERSION, createFetchTransport };
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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 { C as reservedHeaders, D as mergeHeaders, F as authFromCredentials, H as assertCredentialTransport, M as assertNoRemovedCredentialOptions, O as inspectDeprecatedInputs, R as resolveAuth, S as assertNoReservedHeaders, T as VERSION, W as parseHTTPURL, j as Auth, k as inspectDeprecation, p as readOperation, t as GENERATED_OPERATIONS, u as makeRequest, w as resolveIdentity, x as createFetchTransport, z as resolveScope } from "./generated-operations-
|
|
2
|
+
import { C as reservedHeaders, D as mergeHeaders, F as authFromCredentials, H as assertCredentialTransport, M as assertNoRemovedCredentialOptions, O as inspectDeprecatedInputs, R as resolveAuth, S as assertNoReservedHeaders, T as VERSION, W as parseHTTPURL, j as Auth, k as inspectDeprecation, p as readOperation, t as GENERATED_OPERATIONS, u as makeRequest, w as resolveIdentity, x as createFetchTransport, z as resolveScope } from "./generated-operations-BPwJuY-V.mjs";
|
|
3
3
|
import { makeInternal } from "./resources/_internal/_internal.mjs";
|
|
4
4
|
import { makeApiKeyRevocation } from "./resources/api-key-revocation.mjs";
|
|
5
5
|
import { makeAuthConfigs } from "./resources/auth-configs.mjs";
|
|
@@ -21,7 +21,7 @@ import { makeTriggerInstances } from "./resources/trigger-instances/trigger-inst
|
|
|
21
21
|
import { makeTriggersTypes } from "./resources/triggers-types.mjs";
|
|
22
22
|
import { makeWebhookEndpoints } from "./resources/webhook-endpoints.mjs";
|
|
23
23
|
import { makeWebhookSubscriptions } from "./resources/webhook-subscriptions.mjs";
|
|
24
|
-
import { n as GENERATED_DEPRECATED_INPUTS, r as APIPromise, t as ENVIRONMENTS } from "./environments-
|
|
24
|
+
import { n as GENERATED_DEPRECATED_INPUTS, r as APIPromise, t as ENVIRONMENTS } from "./environments-DsaIgVcq.mjs";
|
|
25
25
|
|
|
26
26
|
//#region src/compat/generated-resource-wiring.ts
|
|
27
27
|
const createClientResources = (client) => ({
|
package/dist/internal.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as makeInternal, t as Internal } from "../../_internal-
|
|
1
|
+
import { n as makeInternal, t as Internal } from "../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Internal, makeInternal };
|
|
@@ -1,2 +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-
|
|
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-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Cli, CliCreateCodactFailureParams, CliCreateCodactFailureResponse, CliCreateSessionParams, CliCreateSessionResponse, CliGetSessionParams, CliGetSessionResponse, makeCli };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../../../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../../../generated-operations-BPwJuY-V.mjs";
|
|
2
2
|
import { makeRealtime } from "./realtime.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/compat/resources/_internal/cli/cli.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { G as makeRealtime, H as RealtimeAuthParams, U as RealtimeAuthResponse, V as Realtime, W as RealtimeCredentialsResponse } from "../../../_internal-
|
|
1
|
+
import { G as makeRealtime, H as RealtimeAuthParams, U as RealtimeAuthResponse, V as Realtime, W as RealtimeCredentialsResponse } from "../../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Realtime, RealtimeAuthParams, RealtimeAuthResponse, RealtimeCredentialsResponse, makeRealtime };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../../../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../../../generated-operations-BPwJuY-V.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/_internal/cli/realtime.ts
|
|
4
4
|
const OP_AUTH = generatedOperation("_internal.cli.realtime.auth");
|
|
@@ -1,2 +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-
|
|
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-NSeZ9Kgw.mjs";
|
|
2
2
|
export type { Cli, CliCreateCodactFailureParams, CliCreateCodactFailureResponse, CliCreateSessionParams, CliCreateSessionResponse, CliGetSessionParams, CliGetSessionResponse, Realtime, RealtimeAuthParams, RealtimeAuthResponse, RealtimeCredentialsResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { D as Consumer, O as makeConsumer } from "../../../_internal-
|
|
1
|
+
import { D as Consumer, O as makeConsumer } from "../../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Consumer, makeConsumer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as PermissionsResolveParams, M as makePermissions, j as PermissionsResolveResponse, k as Permissions } from "../../../_internal-
|
|
1
|
+
import { A as PermissionsResolveParams, M as makePermissions, j as PermissionsResolveResponse, k as Permissions } from "../../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Permissions, PermissionsResolveParams, PermissionsResolveResponse, makePermissions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../../../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../../../generated-operations-BPwJuY-V.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/_internal/consumer/permissions.ts
|
|
4
4
|
const OP_RESOLVE = generatedOperation("_internal.consumer.permissions.resolve");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as PermissionsResolveParams, D as Consumer, j as PermissionsResolveResponse, k as Permissions } from "../../_internal-
|
|
1
|
+
import { A as PermissionsResolveParams, D as Consumer, j as PermissionsResolveResponse, k as Permissions } from "../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export type { Consumer, Permissions, PermissionsResolveParams, PermissionsResolveResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { h as makeLogs, m as Logs } from "../../../_internal-
|
|
1
|
+
import { h as makeLogs, m as Logs } from "../../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Logs, makeLogs };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as ToolListParams, b as Tools, g as ToolListFieldsResponse, v as ToolListResponse, x as makeTools, y as ToolRetrieveResponse } from "../../../_internal-
|
|
1
|
+
import { _ as ToolListParams, b as Tools, g as ToolListFieldsResponse, v as ToolListResponse, x as makeTools, y as ToolRetrieveResponse } from "../../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { ToolListFieldsResponse, ToolListParams, ToolListResponse, ToolRetrieveResponse, Tools, makeTools };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "../../../generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "../../../generated-operations-BPwJuY-V.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/_internal/logs/tools.ts
|
|
4
4
|
const OP_RETRIEVE = generatedOperation("_internal.logs.tools.retrieve");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TriggerListResponse, E as makeTriggers, S as TriggerListParams, T as Triggers, w as TriggerRetrieveResponse } from "../../../_internal-
|
|
1
|
+
import { C as TriggerListResponse, E as makeTriggers, S as TriggerListParams, T as Triggers, w as TriggerRetrieveResponse } from "../../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { TriggerListParams, TriggerListResponse, TriggerRetrieveResponse, Triggers, makeTriggers };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "../../../generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "../../../generated-operations-BPwJuY-V.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/_internal/logs/triggers.ts
|
|
4
4
|
const OP_RETRIEVE = generatedOperation("_internal.logs.triggers.retrieve");
|
|
@@ -1,2 +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-
|
|
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-NSeZ9Kgw.mjs";
|
|
2
2
|
export type { Logs, ToolListFieldsResponse, ToolListParams, ToolListResponse, ToolRetrieveResponse, Tools, TriggerListParams, TriggerListResponse, TriggerRetrieveResponse, Triggers };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Consumer, c as ConsumerRetrieveConfigResponse, l as makeConsumer, o as ConsumerListConnectedToolkitsParams, s as ConsumerListConnectedToolkitsResponse } from "../../../../_internal-
|
|
1
|
+
import { a as Consumer, c as ConsumerRetrieveConfigResponse, l as makeConsumer, o as ConsumerListConnectedToolkitsParams, s as ConsumerListConnectedToolkitsResponse } from "../../../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Consumer, ConsumerListConnectedToolkitsParams, ConsumerListConnectedToolkitsResponse, ConsumerRetrieveConfigResponse, makeConsumer };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../../../../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../../../../generated-operations-BPwJuY-V.mjs";
|
|
2
2
|
import { makeProject } from "./project.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/compat/resources/_internal/org/consumer/consumer.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { d as ProjectResolveParams, f as ProjectResolveResponse, p as makeProject, u as Project } from "../../../../_internal-
|
|
1
|
+
import { d as ProjectResolveParams, f as ProjectResolveResponse, p as makeProject, u as Project } from "../../../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Project, ProjectResolveParams, ProjectResolveResponse, makeProject };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../../../../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../../../../generated-operations-BPwJuY-V.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/_internal/org/consumer/project.ts
|
|
4
4
|
const OP_RESOLVE = generatedOperation("_internal.org.consumer.project.resolve");
|
|
@@ -1,2 +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-
|
|
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-NSeZ9Kgw.mjs";
|
|
2
2
|
export type { Consumer, ConsumerListConnectedToolkitsParams, ConsumerListConnectedToolkitsResponse, ConsumerRetrieveConfigResponse, Project, ProjectResolveParams, ProjectResolveResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as makeOrg, r as Org } from "../../../_internal-
|
|
1
|
+
import { i as makeOrg, r as Org } from "../../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Org, makeOrg };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Consumer, c as ConsumerRetrieveConfigResponse, o as ConsumerListConnectedToolkitsParams, r as Org, s as ConsumerListConnectedToolkitsResponse } from "../../_internal-
|
|
1
|
+
import { a as Consumer, c as ConsumerRetrieveConfigResponse, o as ConsumerListConnectedToolkitsParams, r as Org, s as ConsumerListConnectedToolkitsResponse } from "../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export type { Consumer, ConsumerListConnectedToolkitsParams, ConsumerListConnectedToolkitsResponse, ConsumerRetrieveConfigResponse, Org };
|
|
@@ -1,2 +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-
|
|
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-NSeZ9Kgw.mjs";
|
|
2
2
|
export type { Cli, CliCreateCodactFailureParams, CliCreateCodactFailureResponse, CliCreateSessionParams, CliCreateSessionResponse, CliGetSessionParams, CliGetSessionResponse, Consumer, Internal, Logs, Org };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _t as ApiKeyRevocationCreateParams, gt as ApiKeyRevocation, vt as ApiKeyRevocationCreateResponse, yt as makeApiKeyRevocation } from "../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { ApiKeyRevocation, ApiKeyRevocationCreateParams, ApiKeyRevocationCreateResponse, makeApiKeyRevocation };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../generated-operations-BPwJuY-V.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 { bt as Auth, xt as makeAuth } from "../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Auth, makeAuth };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ct as SessionRetrieveInfoResponse, St as Session, wt as makeSession } from "../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Session, SessionRetrieveInfoResponse, makeSession };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../../generated-operations-BPwJuY-V.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 { Ar as
|
|
1
|
+
import { Ar as AuthConfigUpdateParams, Cr as AuthConfigCreateParams, Dr as AuthConfigListParams, Er as AuthConfigDeleteResponse, Fr as makeAuthConfigs, Mr as AuthConfigUpdateStatusParams, Nr as AuthConfigUpdateStatusResponse, Or as AuthConfigListResponse, Pr as AuthConfigs, Tr as AuthConfigDeleteParams, jr as AuthConfigUpdateResponse, kr as AuthConfigRetrieveResponse, wr as AuthConfigCreateResponse } from "../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { AuthConfigCreateParams, AuthConfigCreateResponse, AuthConfigDeleteParams, AuthConfigDeleteResponse, AuthConfigListParams, AuthConfigListResponse, AuthConfigRetrieveResponse, AuthConfigUpdateParams, AuthConfigUpdateResponse, AuthConfigUpdateStatusParams, AuthConfigUpdateStatusResponse, AuthConfigs, makeAuthConfigs };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "../generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "../generated-operations-BPwJuY-V.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 { Ct as SessionRetrieveInfoResponse, St as Session, bt as Auth } from "../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export type { Auth, Session, SessionRetrieveInfoResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _i as ConnectedAccounts, ai as ConnectedAccountDeleteParams, ci as ConnectedAccountListResponse, di as ConnectedAccountRefreshParams, fi as ConnectedAccountRefreshResponse, gi as ConnectedAccountUpdateStatusResponse, hi as ConnectedAccountUpdateStatusParams, ii as ConnectedAccountCreateResponse, li as ConnectedAccountPatchParams, mi as ConnectedAccountRevokeResponse, ni as ConnectedAccountCompleteAuthResponse, oi as ConnectedAccountDeleteResponse, pi as ConnectedAccountRetrieveResponse, ri as ConnectedAccountCreateParams, si as ConnectedAccountListParams, ti as ConnectedAccountCompleteAuthParams, ui as ConnectedAccountPatchResponse, vi as makeConnectedAccounts } from "../_internal-NSeZ9Kgw.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 { b as withOperation, d as path, n as generatedOperation } from "../generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "../generated-operations-BPwJuY-V.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 { at as
|
|
2
|
-
export { Custom, CustomDeleteToolkitParams, CustomDeleteToolkitResponse, CustomSyncParams, CustomSyncResponse, CustomUpsertParams, CustomUpsertResponse, makeCustom };
|
|
1
|
+
import { at as CustomCreateToolkitParams, ct as CustomDeleteToolkitResponse, dt as CustomUpdateToolkitsParams, ft as CustomUpdateToolkitsResponse, ht as makeCustom, it as Custom, lt as CustomSyncParams, mt as CustomUpsertResponse, ot as CustomCreateToolkitResponse, pt as CustomUpsertParams, st as CustomDeleteToolkitParams, ut as CustomSyncResponse } from "../_internal-NSeZ9Kgw.mjs";
|
|
2
|
+
export { Custom, CustomCreateToolkitParams, CustomCreateToolkitResponse, CustomDeleteToolkitParams, CustomDeleteToolkitResponse, CustomSyncParams, CustomSyncResponse, CustomUpdateToolkitsParams, CustomUpdateToolkitsResponse, CustomUpsertParams, CustomUpsertResponse, makeCustom };
|
|
@@ -1,11 +1,19 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "../generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "../generated-operations-BPwJuY-V.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/custom.ts
|
|
4
|
+
const OP_CREATE_TOOLKIT = generatedOperation("custom.createToolkit");
|
|
4
5
|
const OP_DELETE_TOOLKIT = generatedOperation("custom.deleteToolkit");
|
|
5
6
|
const OP_SYNC = generatedOperation("custom.sync");
|
|
7
|
+
const OP_UPDATE_TOOLKITS = generatedOperation("custom.updateToolkits");
|
|
6
8
|
const OP_UPSERT = generatedOperation("custom.upsert");
|
|
7
9
|
/** @internal Builds the resource over a client; `new Composio(...)` calls it. */
|
|
8
10
|
const makeCustom = (client) => ({
|
|
11
|
+
createToolkit(body, options) {
|
|
12
|
+
return client.post("/api/v3.1/custom/toolkits", withOperation(OP_CREATE_TOOLKIT, {
|
|
13
|
+
body,
|
|
14
|
+
...options
|
|
15
|
+
}));
|
|
16
|
+
},
|
|
9
17
|
deleteToolkit(slug, query = {}, options) {
|
|
10
18
|
return client.delete(path`/api/v3.1/custom/toolkits/${slug}`, withOperation(OP_DELETE_TOOLKIT, {
|
|
11
19
|
query,
|
|
@@ -18,6 +26,12 @@ const makeCustom = (client) => ({
|
|
|
18
26
|
...options
|
|
19
27
|
}));
|
|
20
28
|
},
|
|
29
|
+
updateToolkits(slug, body = {}, options) {
|
|
30
|
+
return client.patch(path`/api/v3.1/custom/toolkits/${slug}`, withOperation(OP_UPDATE_TOOLKITS, {
|
|
31
|
+
body,
|
|
32
|
+
...options
|
|
33
|
+
}));
|
|
34
|
+
},
|
|
21
35
|
upsert(body, options) {
|
|
22
36
|
return client.post("/api/v3.1/custom/toolkits/upsert", withOperation(OP_UPSERT, {
|
|
23
37
|
body,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ci as Files, Si as FileListResponse, bi as FileCreatePresignedURLResponse, wi as makeFiles, xi as FileListParams, yi as FileCreatePresignedURLParams } from "../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { FileCreatePresignedURLParams, FileCreatePresignedURLResponse, FileListParams, FileListResponse, Files, makeFiles };
|
package/dist/resources/files.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../generated-operations-BPwJuY-V.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 { nt as KeyringListTransferKeysResponse, rt as makeKeyring, tt as Keyring } from "../_internal-
|
|
1
|
+
import { nt as KeyringListTransferKeysResponse, rt as makeKeyring, tt as Keyring } from "../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Keyring, KeyringListTransferKeysResponse, makeKeyring };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../generated-operations-BPwJuY-V.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 { $r as LinkCreateResponse, Qr as LinkCreateParams, Zr as Link, ei as makeLink } from "../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Link, LinkCreateParams, LinkCreateResponse, makeLink };
|
package/dist/resources/link.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../generated-operations-BPwJuY-V.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 { An as LogRetrieveToolExecutionResponse, Mn as makeLogs, On as LogCreateToolExecutionParams, jn as Logs, kn as LogCreateToolExecutionResponse } from "../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { LogCreateToolExecutionParams, LogCreateToolExecutionResponse, LogRetrieveToolExecutionResponse, Logs, makeLogs };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "../../generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "../../generated-operations-BPwJuY-V.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/logs/logs.ts
|
|
4
4
|
const OP_CREATE_TOOL_EXECUTION = generatedOperation("logs.createToolExecution");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { An as LogRetrieveToolExecutionResponse, On as LogCreateToolExecutionParams, jn as Logs, kn as LogCreateToolExecutionResponse } from "../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export type { LogCreateToolExecutionParams, LogCreateToolExecutionResponse, LogRetrieveToolExecutionResponse, Logs };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ir as makeCustom, nr as CustomCreateParams, rr as CustomCreateResponse, tr as Custom } from "../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Custom, CustomCreateParams, CustomCreateResponse, makeCustom };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../../generated-operations-BPwJuY-V.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 { $n as GenerateURLResponse, Qn as GenerateURLParams, Zn as Generate, er as makeGenerate } from "../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Generate, GenerateURLParams, GenerateURLResponse, makeGenerate };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../../generated-operations-BPwJuY-V.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 {
|
|
1
|
+
import { Bn as McpDeleteResponse, Fn as McpCreateInstanceResponse, Gn as McpRetrieveAppParams, Hn as McpListInstancesResponse, In as McpCreateParams, Jn as McpUpdateParams, Kn as McpRetrieveAppResponse, Ln as McpCreateResponse, Nn as Mcp, Pn as McpCreateInstanceParams, Rn as McpDeleteInstanceParams, Un as McpListParams, Vn as McpListInstancesParams, Wn as McpListResponse, Xn as makeMcp, Yn as McpUpdateResponse, qn as McpRetrieveResponse, zn as McpDeleteInstanceResponse } from "../../_internal-NSeZ9Kgw.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 { b as withOperation, d as path, n as generatedOperation } from "../../generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "../../generated-operations-BPwJuY-V.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 { $n as
|
|
1
|
+
import { $n as GenerateURLResponse, Bn as McpDeleteResponse, Fn as McpCreateInstanceResponse, Gn as McpRetrieveAppParams, Hn as McpListInstancesResponse, In as McpCreateParams, Jn as McpUpdateParams, Kn as McpRetrieveAppResponse, Ln as McpCreateResponse, Nn as Mcp, Pn as McpCreateInstanceParams, Qn as GenerateURLParams, Rn as McpDeleteInstanceParams, Un as McpListParams, Vn as McpListInstancesParams, Wn as McpListResponse, Yn as McpUpdateResponse, Zn as Generate, nr as CustomCreateParams, qn as McpRetrieveResponse, rr as CustomCreateResponse, tr as Custom, zn as McpDeleteInstanceResponse } from "../_internal-NSeZ9Kgw.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 { Dt as OrgListResponse, Et as OrgListParams, Ot as makeOrg, Tt as Org } from "../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Org, OrgListParams, OrgListResponse, makeOrg };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../../generated-operations-BPwJuY-V.mjs";
|
|
2
2
|
import { makeOwner } from "./owner/owner.mjs";
|
|
3
3
|
import { makeProject } from "./project.mjs";
|
|
4
4
|
import { makeUsage } from "./usage.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bt as makeOwner, zt as Owner } from "../../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Owner, makeOwner };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gt as ProjectDeleteResponse, Ht as ProjectCreateParams, Jt as ProjectRegenerateAPIKeyResponse, Kt as ProjectListParams, Ut as ProjectCreateResponse, Vt as Project, Wt as ProjectDeleteParams, Xt as makeProject, Yt as ProjectRetrieveResponse, qt as ProjectListResponse } from "../../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Project, ProjectCreateParams, ProjectCreateResponse, ProjectDeleteParams, ProjectDeleteResponse, ProjectListParams, ProjectListResponse, ProjectRegenerateAPIKeyResponse, ProjectRetrieveResponse, makeProject };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "../../../generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "../../../generated-operations-BPwJuY-V.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 { Gt as ProjectDeleteResponse, Ht as ProjectCreateParams, Jt as ProjectRegenerateAPIKeyResponse, Kt as ProjectListParams, Ut as ProjectCreateResponse, Vt as Project, Wt as ProjectDeleteParams, Yt as ProjectRetrieveResponse, qt as ProjectListResponse, zt as Owner } from "../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export type { Owner, Project, ProjectCreateParams, ProjectCreateResponse, ProjectDeleteParams, ProjectDeleteResponse, ProjectListParams, ProjectListResponse, ProjectRegenerateAPIKeyResponse, ProjectRetrieveResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ft as Project, It as ProjectListParams, Lt as ProjectListResponse, Rt as makeProject } from "../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Project, ProjectListParams, ProjectListResponse, makeProject };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../../generated-operations-BPwJuY-V.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 { At as
|
|
1
|
+
import { At as UsageRetrieveParams, Mt as UsageRetrieveSummaryParams, Nt as UsageRetrieveSummaryResponse, Pt as makeUsage, jt as UsageRetrieveResponse, kt as Usage } from "../../_internal-NSeZ9Kgw.mjs";
|
|
2
2
|
export { Usage, UsageRetrieveParams, UsageRetrieveResponse, UsageRetrieveSummaryParams, UsageRetrieveSummaryResponse, makeUsage };
|