@composio/client 2.0.0-rc.17 → 2.0.0-rc.18
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 +107 -33
- package/dist/{api-key-revocation-lc3308Ao.mjs → api-key-revocation-JkA4sOGH.mjs} +1 -1
- package/dist/{auth-DkGiEaxg.mjs → auth-B_K-wdMm.mjs} +1 -1
- package/dist/{auth-configs-DbxqGahP.mjs → auth-configs-RAgN782Z.mjs} +1 -1
- package/dist/{clanker-fK9cAkTz.mjs → clanker-Pgyyh95r.mjs} +1 -1
- package/dist/{cli-K1MskpaR.mjs → cli-Ca5bRiEN.mjs} +4 -5
- package/dist/{connected-accounts-Bfl7_SY_.mjs → connected-accounts-D6NTwvbi.mjs} +1 -1
- package/dist/{consumer-5o2zMQwr.mjs → consumer-BP4OyJS0.mjs} +6 -7
- package/dist/{custom-wEkSiPHn.mjs → custom-BBr7KbCv.mjs} +1 -1
- package/dist/{custom-8rs-sHnb.mjs → custom-DA3ABHnI.mjs} +1 -1
- package/dist/effect.d.mts +54 -23
- package/dist/effect.mjs +204 -143
- package/dist/{error-D9cG225M.mjs → error-Bw7_G2NZ.mjs} +1 -1
- package/dist/{files-BPKJXlpc.mjs → files-CeBs4ZE1.mjs} +1 -1
- package/dist/{files-BjPFzRnM.mjs → files-DLRmNLRD.mjs} +1 -1
- package/dist/{generate-DDHNgbPS.mjs → generate-16uLPwUU.mjs} +1 -1
- package/dist/{generated-deprecated-inputs--L5LHDO_.mjs → generated-deprecated-inputs-zx6ml908.mjs} +2 -2
- package/dist/{generated-operations-D1e__yar.mjs → generated-operations-DKgGT6Dg.mjs} +426 -198
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +131 -101
- package/dist/{keyring-Dkm6DQIp.mjs → keyring-Q8GSieAv.mjs} +1 -1
- package/dist/{link-BBU-J5L_.mjs → link-D4dY_eaN.mjs} +1 -1
- package/dist/{logs-CuuysWk1.mjs → logs-Dc63Ju74.mjs} +3 -3
- package/dist/{manage-B1R7I3ZM.mjs → manage-ByF6b3OD.mjs} +1 -1
- package/dist/{mcp-C3beSy48.mjs → mcp-Cw7-Mtkm.mjs} +3 -3
- package/dist/{org-B13XOuKh.mjs → org-RRUxKfRw.mjs} +6 -6
- package/dist/{owner-BAr5uwk3.mjs → owner-GZX-sp-h.mjs} +1 -1
- package/dist/{pagination-rules-uMUdPq_7.mjs → pagination-rules-CMnBwktJ.mjs} +1 -1
- package/dist/pagination.mjs +1 -1
- package/dist/{project-BbCgXD83.mjs → project-BsKmk9T7.mjs} +1 -1
- package/dist/{project-C30H_5b6.mjs → project-C1uq7bV_.mjs} +1 -1
- package/dist/{project-DF5KclHm.mjs → project-C_YZ-eLI.mjs} +4 -7
- package/dist/{project-CDm8tjUw.mjs → project-Cj9ULE0a.mjs} +1 -1
- package/dist/{realtime-6LigMh83.mjs → realtime-W-lJ0Vcs.mjs} +1 -1
- package/dist/resources/api-key-revocation.d.mts +1 -1
- package/dist/resources/api-key-revocation.mjs +1 -1
- package/dist/resources/auth/auth.d.mts +1 -1
- package/dist/resources/auth/auth.mjs +1 -1
- package/dist/resources/auth/index.d.mts +1 -1
- package/dist/resources/auth/index.mjs +2 -2
- package/dist/resources/auth/session.d.mts +1 -1
- package/dist/resources/auth/session.mjs +1 -1
- package/dist/resources/auth-configs.d.mts +1 -1
- package/dist/resources/auth-configs.mjs +1 -1
- package/dist/resources/auth.d.mts +1 -1
- package/dist/resources/auth.mjs +2 -2
- package/dist/resources/cli/cli.d.mts +1 -1
- package/dist/resources/cli/cli.mjs +1 -1
- package/dist/resources/cli/index.d.mts +1 -1
- package/dist/resources/cli/index.mjs +2 -2
- package/dist/resources/cli/realtime.d.mts +1 -1
- package/dist/resources/cli/realtime.mjs +1 -1
- package/dist/resources/cli.d.mts +1 -1
- package/dist/resources/cli.mjs +2 -2
- package/dist/resources/connected-accounts.d.mts +1 -1
- package/dist/resources/connected-accounts.mjs +1 -1
- package/dist/resources/custom.d.mts +1 -1
- package/dist/resources/custom.mjs +1 -1
- package/dist/resources/files.d.mts +1 -1
- package/dist/resources/files.mjs +1 -1
- package/dist/resources/index.d.mts +1 -1
- package/dist/resources/index.mjs +13 -13
- package/dist/resources/keyring.d.mts +1 -1
- package/dist/resources/keyring.mjs +1 -1
- package/dist/resources/link.d.mts +1 -1
- package/dist/resources/link.mjs +1 -1
- package/dist/resources/logs/index.d.mts +1 -1
- package/dist/resources/logs/index.mjs +3 -3
- package/dist/resources/logs/logs.d.mts +1 -1
- package/dist/resources/logs/logs.mjs +1 -1
- package/dist/resources/logs/tools.d.mts +1 -1
- package/dist/resources/logs/tools.mjs +1 -1
- package/dist/resources/logs/triggers.d.mts +1 -1
- package/dist/resources/logs/triggers.mjs +1 -1
- package/dist/resources/logs.d.mts +1 -1
- package/dist/resources/logs.mjs +3 -3
- package/dist/resources/mcp/custom.d.mts +1 -1
- package/dist/resources/mcp/custom.mjs +1 -1
- package/dist/resources/mcp/generate.d.mts +1 -1
- package/dist/resources/mcp/generate.mjs +1 -1
- package/dist/resources/mcp/index.d.mts +1 -1
- package/dist/resources/mcp/index.mjs +3 -3
- package/dist/resources/mcp/mcp.d.mts +1 -1
- package/dist/resources/mcp/mcp.mjs +1 -1
- package/dist/resources/mcp.d.mts +1 -1
- package/dist/resources/mcp.mjs +3 -3
- package/dist/resources/org/clanker.d.mts +1 -1
- package/dist/resources/org/clanker.mjs +1 -1
- package/dist/resources/org/consumer/consumer.d.mts +1 -1
- package/dist/resources/org/consumer/consumer.mjs +1 -1
- package/dist/resources/org/consumer/index.d.mts +1 -1
- package/dist/resources/org/consumer/index.mjs +2 -2
- package/dist/resources/org/consumer/project.d.mts +1 -1
- package/dist/resources/org/consumer/project.mjs +1 -1
- package/dist/resources/org/consumer.d.mts +1 -1
- package/dist/resources/org/consumer.mjs +2 -2
- package/dist/resources/org/index.d.mts +1 -1
- package/dist/resources/org/index.mjs +6 -6
- package/dist/resources/org/org.d.mts +1 -1
- package/dist/resources/org/org.mjs +1 -1
- package/dist/resources/org/owner/index.d.mts +1 -1
- package/dist/resources/org/owner/index.mjs +2 -2
- package/dist/resources/org/owner/owner.d.mts +1 -1
- package/dist/resources/org/owner/owner.mjs +1 -1
- package/dist/resources/org/owner/project.d.mts +1 -1
- package/dist/resources/org/owner/project.mjs +1 -1
- package/dist/resources/org/owner.d.mts +1 -1
- package/dist/resources/org/owner.mjs +2 -2
- package/dist/resources/org/project.d.mts +1 -1
- package/dist/resources/org/project.mjs +1 -1
- package/dist/resources/org/usage.d.mts +1 -1
- package/dist/resources/org/usage.mjs +1 -1
- package/dist/resources/org.d.mts +1 -1
- package/dist/resources/org.mjs +6 -6
- package/dist/resources/project/index.d.mts +1 -1
- package/dist/resources/project/index.mjs +1 -1
- package/dist/resources/project/project.d.mts +1 -1
- package/dist/resources/project/project.mjs +1 -1
- package/dist/resources/project/usage.d.mts +1 -1
- package/dist/resources/project/usage.mjs +1 -1
- package/dist/resources/project.d.mts +1 -1
- package/dist/resources/project.mjs +1 -1
- package/dist/resources/session-configs.d.mts +1 -1
- package/dist/resources/session-configs.mjs +1 -1
- package/dist/resources/tool-router/index.d.mts +1 -1
- package/dist/resources/tool-router/index.mjs +2 -2
- package/dist/resources/tool-router/session/files.d.mts +1 -1
- package/dist/resources/tool-router/session/files.mjs +1 -1
- package/dist/resources/tool-router/session/index.d.mts +1 -1
- package/dist/resources/tool-router/session/index.mjs +2 -2
- package/dist/resources/tool-router/session/session.d.mts +1 -1
- package/dist/resources/tool-router/session/session.mjs +1 -1
- package/dist/resources/tool-router/session.d.mts +1 -1
- package/dist/resources/tool-router/session.mjs +2 -2
- package/dist/resources/tool-router/tool-router.d.mts +1 -1
- package/dist/resources/tool-router/tool-router.mjs +1 -1
- package/dist/resources/tool-router.d.mts +1 -1
- package/dist/resources/tool-router.mjs +2 -2
- package/dist/resources/toolkits.d.mts +1 -1
- package/dist/resources/toolkits.mjs +1 -1
- package/dist/resources/tools.d.mts +1 -1
- package/dist/resources/tools.mjs +1 -1
- package/dist/resources/trigger-instances/index.d.mts +1 -1
- package/dist/resources/trigger-instances/index.mjs +2 -2
- package/dist/resources/trigger-instances/manage.d.mts +1 -1
- package/dist/resources/trigger-instances/manage.mjs +1 -1
- package/dist/resources/trigger-instances/trigger-instances.d.mts +1 -1
- package/dist/resources/trigger-instances/trigger-instances.mjs +1 -1
- package/dist/resources/trigger-instances.d.mts +1 -1
- package/dist/resources/trigger-instances.mjs +2 -2
- package/dist/resources/triggers-types.d.mts +1 -1
- package/dist/resources/triggers-types.mjs +1 -1
- package/dist/resources/webhook-endpoints.d.mts +1 -1
- package/dist/resources/webhook-endpoints.mjs +1 -1
- package/dist/resources/webhook-subscriptions.d.mts +1 -1
- package/dist/resources/webhook-subscriptions.mjs +1 -1
- package/dist/{session-Dm8WtF4I.mjs → session-BT5NJfbm.mjs} +1 -1
- package/dist/{session-DEfDnHZZ.mjs → session-BmXeclWC.mjs} +2 -2
- package/dist/{session-configs-nA6TL_i4.d.mts → session-configs-x3OA4CSe.d.mts} +179 -102
- package/dist/{tool-router-6l_dREjC.mjs → tool-router-DYPUf-fN.mjs} +1 -1
- package/dist/{toolkits-Mn_uLV98.mjs → toolkits-DZOZDm-4.mjs} +1 -1
- package/dist/{tools-btk0mzFP.mjs → tools-BDCRk80t.mjs} +1 -1
- package/dist/{tools-z-PjBsf7.mjs → tools-C0GjPEpP.mjs} +1 -1
- package/dist/{trigger-instances-PQaObQQy.mjs → trigger-instances-J5frdgzO.mjs} +2 -2
- package/dist/{triggers-y0mi0XzT.mjs → triggers-CnvE7y0L.mjs} +1 -1
- package/dist/{triggers-types-KoRbT0k5.mjs → triggers-types-DLVCtuwC.mjs} +1 -1
- package/dist/{usage-B2Z947BK.mjs → usage-DPxuivP6.mjs} +1 -1
- package/dist/{usage-DvjkSmpI.mjs → usage-DjQg9WIV.mjs} +1 -1
- package/dist/version-DEAhxVwC.d.mts +4 -0
- package/dist/{webhook-endpoints-kf4Jj2Mz.mjs → webhook-endpoints-BrSjXOf0.mjs} +1 -1
- package/dist/{webhook-subscriptions-DcYN8qo1.mjs → webhook-subscriptions-HT1acmwH.mjs} +1 -1
- package/package.json +2 -2
- package/dist/version-DUxhnnPj.d.mts +0 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $r as SessionCreateResponse,
|
|
2
|
-
import { t as VERSION } from "./version-
|
|
3
|
-
export { APIConnectionError, APIConnectionTimeoutError, APIError, type APIErrorBody, APIPromise, APIUserAbortError, AuthenticationError, BadRequestError, type ClientIdentity, type ClientOptions, Composio, Composio as default, ComposioError, ConflictError, type EnvironmentMap, type FetchTransportDefaults, type FileCreateDownloadURLParams, type FileCreateDownloadURLResponse, type FileCreateUploadURLParams, type FileCreateUploadURLResponse, type FileDeleteParams, type FileDeleteResponse, type FileListParams, type FileListResponse, Files, InternalServerError, type LogLevel, type Logger, NotFoundError, PermissionDeniedError, RateLimitError, type RequestOptions, Session, type SessionAttachParams, type SessionAttachResponse, type SessionConfigHistoryParams, type SessionConfigHistoryResponse, type SessionCreateParams, type SessionCreateResponse, type SessionDeleteResponse, type SessionExecuteMetaParams, type SessionExecuteMetaResponse, type SessionExecuteParams, type SessionExecuteResponse, type SessionLinkParams, type SessionLinkResponse, type SessionPatchParams, type SessionPatchResponse, type SessionProxyExecuteParams, type SessionProxyExecuteResponse, type SessionRetrieveResponse, type SessionSearchParams, type SessionSearchResponse, type SessionToolkitsParams, type SessionToolkitsResponse, type SessionToolsParams, type SessionToolsResponse, ToolRouter, type Transport, UnprocessableEntityError, VERSION, createFetchTransport };
|
|
1
|
+
import { $r as SessionCreateResponse, Bi as BadRequestError, Ci as FileDeleteResponse, Di as Auth, Ei as Files, Fi as APIConnectionTimeoutError, Gi as PermissionDeniedError, Hi as ConflictError, Ii as APIError, Ji as RequestOptions, Jr as SessionAttachParams, Ki as RateLimitError, Kr as ToolRouter, Li as APIErrorBody, Mi as Credential, Ni as Scope, Pi as APIConnectionError, Qi as ClientIdentity, Qr as SessionCreateParams, Ri as APIUserAbortError, Si as FileDeleteParams, Ti as FileListResponse, Ui as InternalServerError, Vi as ComposioError, Wi as NotFoundError, Xi as Transport, Xr as SessionConfigHistoryParams, Yi as FetchTransportDefaults, Yr as SessionAttachResponse, Zi as createFetchTransport, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, a as ClientOptions, ai as SessionLinkParams, bi as FileCreateUploadURLParams, c as LogLevel, ci as SessionPatchResponse, di as SessionRetrieveResponse, ea as APIPromise, ei as SessionDeleteResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, ji as AutoCredentials, ki as AuthMode, l as Logger, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, o as Composio, oi as SessionLinkResponse, pi as SessionSearchResponse, qi as UnprocessableEntityError, qr as Session, ri as SessionExecuteParams, s as EnvironmentMap, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse, vi as FileCreateDownloadURLParams, wi as FileListParams, xi as FileCreateUploadURLResponse, yi as FileCreateDownloadURLResponse, zi as AuthenticationError } from "./session-configs-x3OA4CSe.mjs";
|
|
2
|
+
import { t as VERSION } from "./version-DEAhxVwC.mjs";
|
|
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, type EnvironmentMap, type FetchTransportDefaults, type FileCreateDownloadURLParams, type FileCreateDownloadURLResponse, type FileCreateUploadURLParams, type FileCreateUploadURLResponse, type FileDeleteParams, type FileDeleteResponse, type FileListParams, type FileListResponse, Files, InternalServerError, type LogLevel, type Logger, NotFoundError, PermissionDeniedError, RateLimitError, type RequestOptions, type Scope, Session, type SessionAttachParams, type SessionAttachResponse, type SessionConfigHistoryParams, type SessionConfigHistoryResponse, type SessionCreateParams, type SessionCreateResponse, type SessionDeleteResponse, type SessionExecuteMetaParams, type SessionExecuteMetaResponse, type SessionExecuteParams, type SessionExecuteResponse, type SessionLinkParams, type SessionLinkResponse, type SessionPatchParams, type SessionPatchResponse, type SessionProxyExecuteParams, type SessionProxyExecuteResponse, type SessionRetrieveResponse, type SessionSearchParams, type SessionSearchResponse, type SessionToolkitsParams, type SessionToolkitsResponse, type SessionToolsParams, type SessionToolsResponse, ToolRouter, type Transport, UnprocessableEntityError, VERSION, createFetchTransport };
|
package/dist/index.mjs
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { a as AuthenticationError, c as ConflictError, d as PermissionDeniedError, f as RateLimitError, i as APIUserAbortError, l as InternalServerError, n as APIConnectionTimeoutError, o as BadRequestError, p as UnprocessableEntityError, r as APIError, s as ComposioError, t as APIConnectionError, u as NotFoundError } from "./error-
|
|
2
|
-
import { C as resolveIdentity, E as inspectDeprecation,
|
|
3
|
-
import { t as ApiKeyRevocation } from "./api-key-revocation-
|
|
4
|
-
import { t as AuthConfigs } from "./auth-configs-
|
|
5
|
-
import { t as Auth } from "./auth-
|
|
6
|
-
import { t as Cli } from "./cli-
|
|
7
|
-
import { t as ConnectedAccounts } from "./connected-accounts-
|
|
8
|
-
import { t as Custom } from "./custom-
|
|
9
|
-
import { t as Files$1 } from "./files-
|
|
10
|
-
import { t as Keyring } from "./keyring-
|
|
11
|
-
import { t as Link } from "./link-
|
|
12
|
-
import { t as Logs } from "./logs-
|
|
13
|
-
import { t as Mcp } from "./mcp-
|
|
1
|
+
import { a as AuthenticationError, c as ConflictError, d as PermissionDeniedError, f as RateLimitError, i as APIUserAbortError, l as InternalServerError, n as APIConnectionTimeoutError, o as BadRequestError, p as UnprocessableEntityError, r as APIError, s as ComposioError, t as APIConnectionError, u as NotFoundError } from "./error-Bw7_G2NZ.mjs";
|
|
2
|
+
import { A as Auth, B as unusableKeyError, C as resolveIdentity, D as inspectDeprecatedInputs, E as mergeHeaders, H as assertCredentialTransport, I as isUsableKey, L as resolveAuth, O as inspectDeprecation, P as authFromCredentials, R as resolveScope, S as reservedHeaders, W as parseHTTPURL, b as createFetchTransport, j as assertNoRemovedCredentialOptions, p as readOperation, t as GENERATED_OPERATIONS, u as makeRequest, w as VERSION, x as assertNoReservedHeaders } from "./generated-operations-DKgGT6Dg.mjs";
|
|
3
|
+
import { t as ApiKeyRevocation } from "./api-key-revocation-JkA4sOGH.mjs";
|
|
4
|
+
import { t as AuthConfigs } from "./auth-configs-RAgN782Z.mjs";
|
|
5
|
+
import { t as Auth$1 } from "./auth-B_K-wdMm.mjs";
|
|
6
|
+
import { t as Cli } from "./cli-Ca5bRiEN.mjs";
|
|
7
|
+
import { t as ConnectedAccounts } from "./connected-accounts-D6NTwvbi.mjs";
|
|
8
|
+
import { t as Custom } from "./custom-DA3ABHnI.mjs";
|
|
9
|
+
import { t as Files$1 } from "./files-DLRmNLRD.mjs";
|
|
10
|
+
import { t as Keyring } from "./keyring-Q8GSieAv.mjs";
|
|
11
|
+
import { t as Link } from "./link-D4dY_eaN.mjs";
|
|
12
|
+
import { t as Logs } from "./logs-Dc63Ju74.mjs";
|
|
13
|
+
import { t as Mcp } from "./mcp-Cw7-Mtkm.mjs";
|
|
14
14
|
import { t as Migration } from "./migration-CBhnoN-Y.mjs";
|
|
15
|
-
import { t as Org } from "./org-
|
|
16
|
-
import { t as Project } from "./project-
|
|
15
|
+
import { t as Org } from "./org-RRUxKfRw.mjs";
|
|
16
|
+
import { t as Project } from "./project-Cj9ULE0a.mjs";
|
|
17
17
|
import { SessionConfigs } from "./resources/session-configs.mjs";
|
|
18
|
-
import { t as Files } from "./files-
|
|
19
|
-
import { t as Session } from "./session-
|
|
20
|
-
import { t as ToolRouter } from "./tool-router-
|
|
21
|
-
import { t as Toolkits } from "./toolkits-
|
|
22
|
-
import { t as Tools } from "./tools-
|
|
23
|
-
import { t as TriggerInstances } from "./trigger-instances-
|
|
24
|
-
import { t as TriggersTypes } from "./triggers-types-
|
|
25
|
-
import { t as WebhookEndpoints } from "./webhook-endpoints-
|
|
26
|
-
import { t as WebhookSubscriptions } from "./webhook-subscriptions-
|
|
27
|
-
import { n as APIPromise, t as GENERATED_DEPRECATED_INPUTS } from "./generated-deprecated-inputs
|
|
18
|
+
import { t as Files } from "./files-CeBs4ZE1.mjs";
|
|
19
|
+
import { t as Session } from "./session-BmXeclWC.mjs";
|
|
20
|
+
import { t as ToolRouter } from "./tool-router-DYPUf-fN.mjs";
|
|
21
|
+
import { t as Toolkits } from "./toolkits-DZOZDm-4.mjs";
|
|
22
|
+
import { t as Tools } from "./tools-BDCRk80t.mjs";
|
|
23
|
+
import { t as TriggerInstances } from "./trigger-instances-J5frdgzO.mjs";
|
|
24
|
+
import { t as TriggersTypes } from "./triggers-types-DLVCtuwC.mjs";
|
|
25
|
+
import { t as WebhookEndpoints } from "./webhook-endpoints-BrSjXOf0.mjs";
|
|
26
|
+
import { t as WebhookSubscriptions } from "./webhook-subscriptions-HT1acmwH.mjs";
|
|
27
|
+
import { n as APIPromise, t as GENERATED_DEPRECATED_INPUTS } from "./generated-deprecated-inputs-zx6ml908.mjs";
|
|
28
28
|
|
|
29
29
|
//#region src/compat/generated-resource-wiring.ts
|
|
30
30
|
const createClientResources = (client) => ({
|
|
@@ -45,7 +45,7 @@ const createClientResources = (client) => ({
|
|
|
45
45
|
webhookSubscriptions: new WebhookSubscriptions(client),
|
|
46
46
|
webhookEndpoints: new WebhookEndpoints(client),
|
|
47
47
|
org: new Org(client),
|
|
48
|
-
auth: new Auth(client),
|
|
48
|
+
auth: new Auth$1(client),
|
|
49
49
|
apiKeyRevocation: new ApiKeyRevocation(client),
|
|
50
50
|
custom: new Custom(client),
|
|
51
51
|
keyring: new Keyring(client),
|
|
@@ -59,29 +59,16 @@ const environments = {
|
|
|
59
59
|
staging: "https://staging-backend.composio.dev",
|
|
60
60
|
local: "http://localhost:9900"
|
|
61
61
|
};
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
const
|
|
65
|
-
const globals = globalThis;
|
|
66
|
-
try {
|
|
67
|
-
const fromProcess = globals.process?.env?.[name]?.trim();
|
|
68
|
-
if (fromProcess) return fromProcess;
|
|
69
|
-
} catch {}
|
|
70
|
-
try {
|
|
71
|
-
return globals.Deno?.env?.get?.(name)?.trim() || void 0;
|
|
72
|
-
} catch {}
|
|
73
|
-
};
|
|
74
|
-
const createEnvironmentReader = (environment) => (name) => environment[name]?.trim() || void 0;
|
|
75
|
-
const emptyEnvironmentReader = () => void 0;
|
|
76
|
-
const mergeEnvironmentHeaders = (raw, defaults) => {
|
|
77
|
-
if (!raw) return defaults;
|
|
62
|
+
/** A setting as `fromEnv` reads one: trimmed, and absent when empty. */
|
|
63
|
+
const setting = (environment, name) => environment[name]?.trim() || void 0;
|
|
64
|
+
const parseCustomHeaders = (raw) => {
|
|
78
65
|
const parsed = {};
|
|
79
66
|
for (const line of raw.split("\n")) {
|
|
80
67
|
const colon = line.indexOf(":");
|
|
81
68
|
if (colon >= 0) parsed[line.substring(0, colon).trim()] = line.substring(colon + 1).trim();
|
|
82
69
|
}
|
|
83
70
|
try {
|
|
84
|
-
return mergeHeaders([parsed
|
|
71
|
+
return mergeHeaders([parsed]);
|
|
85
72
|
} catch (cause) {
|
|
86
73
|
throw new ComposioError(`COMPOSIO_CUSTOM_HEADERS contains an invalid header: ${cause instanceof Error ? cause.message : String(cause)}`);
|
|
87
74
|
}
|
|
@@ -100,42 +87,23 @@ const LOG_LEVELS = {
|
|
|
100
87
|
* the default rather than silencing the client or making it shout.
|
|
101
88
|
*/
|
|
102
89
|
const isLogLevel = (value) => value !== void 0 && Object.hasOwn(LOG_LEVELS, value);
|
|
103
|
-
const
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
};
|
|
107
|
-
const resolveBaseURL = (options, readEnvironment, hasExplicitEnvironment) => {
|
|
108
|
-
if (options.baseURL !== void 0) return options.baseURL;
|
|
109
|
-
if (hasExplicitEnvironment && options.environment !== void 0) return null;
|
|
110
|
-
return readEnvironment("COMPOSIO_BASE_URL") ?? null;
|
|
90
|
+
const isCompatCredential = (value) => typeof value === "string" || typeof value === "function";
|
|
91
|
+
const checkCompatKey = (credential, option) => {
|
|
92
|
+
if (typeof credential === "string" && !isUsableKey("ApiKeyAuth", credential)) throw unusableKeyError(`\`${option}\``);
|
|
111
93
|
};
|
|
112
94
|
const resolveClientOptions = (input) => {
|
|
113
|
-
const
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
const apiKey = resolveCredential(input.apiKey, readEnvironment, "COMPOSIO_API_KEY");
|
|
117
|
-
const userApiKey = resolveCredential(input.userApiKey, readEnvironment, "COMPOSIO_USER_API_KEY");
|
|
118
|
-
const orgApiKey = resolveCredential(input.orgApiKey, readEnvironment, "COMPOSIO_ORG_API_KEY");
|
|
119
|
-
if (baseURL && input.environment) throw new ComposioError("Ambiguous URL; The `baseURL` option (or COMPOSIO_BASE_URL env var) and the `environment` option are given. If you want to use the environment you must pass baseURL: null");
|
|
120
|
-
const options = {
|
|
95
|
+
const baseURL = input.baseURL ?? null;
|
|
96
|
+
if (baseURL && input.environment) throw new ComposioError("Ambiguous URL; The `baseURL` option and the `environment` option are given. If you want to use the environment you must pass baseURL: null");
|
|
97
|
+
return {
|
|
121
98
|
...input,
|
|
122
|
-
|
|
123
|
-
userApiKey,
|
|
124
|
-
orgApiKey,
|
|
125
|
-
allowInsecureHTTP: input.allowInsecureHTTP ?? readEnvironment("COMPOSIO_ALLOW_INSECURE_HTTP") === "1",
|
|
99
|
+
allowInsecureHTTP: input.allowInsecureHTTP ?? false,
|
|
126
100
|
allowedHTTPOrigin: input.allowedHTTPOrigin ?? null,
|
|
127
101
|
baseURL,
|
|
128
102
|
environment: input.environment ?? "production",
|
|
129
|
-
logLevel: input.logLevel ??
|
|
103
|
+
logLevel: input.logLevel ?? "warn"
|
|
130
104
|
};
|
|
131
|
-
options.defaultHeaders = mergeEnvironmentHeaders(readEnvironment("COMPOSIO_CUSTOM_HEADERS"), input.defaultHeaders);
|
|
132
|
-
if (hasExplicitEnvironment) options[environmentReader] = emptyEnvironmentReader;
|
|
133
|
-
return options;
|
|
134
105
|
};
|
|
135
106
|
var Composio = class Composio {
|
|
136
|
-
apiKey;
|
|
137
|
-
userApiKey;
|
|
138
|
-
orgApiKey;
|
|
139
107
|
baseURL;
|
|
140
108
|
maxRetries;
|
|
141
109
|
timeout;
|
|
@@ -144,6 +112,10 @@ var Composio = class Composio {
|
|
|
144
112
|
#transport;
|
|
145
113
|
#options;
|
|
146
114
|
#identity;
|
|
115
|
+
#auth;
|
|
116
|
+
#scope;
|
|
117
|
+
#scopeHeaders;
|
|
118
|
+
#reserved;
|
|
147
119
|
/**
|
|
148
120
|
* The (operation, notice) pairs, and separately the (operation, deprecated
|
|
149
121
|
* input set) pairs, this instance has already warned about — one Set shared
|
|
@@ -159,10 +131,19 @@ var Composio = class Composio {
|
|
|
159
131
|
* only so a derived client can join its parent's record.
|
|
160
132
|
*/
|
|
161
133
|
#deprecationSeen = /* @__PURE__ */ new Set();
|
|
162
|
-
constructor(input
|
|
134
|
+
constructor(input) {
|
|
135
|
+
if (typeof input !== "object" || input === null) throw new ComposioError("`new Composio(options)` needs an options object with `auth`.");
|
|
136
|
+
assertNoRemovedCredentialOptions(input);
|
|
163
137
|
const options = resolveClientOptions(input);
|
|
138
|
+
this.#auth = resolveAuth(options.auth, isCompatCredential, checkCompatKey);
|
|
139
|
+
this.#scopeHeaders = resolveScope(options.scope);
|
|
140
|
+
this.#scope = options.scope === void 0 ? void 0 : Object.freeze({ ...options.scope });
|
|
164
141
|
this.#identity = resolveIdentity(options.identity);
|
|
165
|
-
|
|
142
|
+
this.#reserved = reservedHeaders(this.#identity, {
|
|
143
|
+
auth: this.#auth.mode !== "none",
|
|
144
|
+
scope: this.#scopeHeaders !== void 0
|
|
145
|
+
});
|
|
146
|
+
assertNoReservedHeaders(options.defaultHeaders, this.#reserved, "defaultHeaders");
|
|
166
147
|
this.baseURL = options.baseURL || environments[options.environment];
|
|
167
148
|
this.timeout = options.timeout ?? Composio.DEFAULT_TIMEOUT;
|
|
168
149
|
this.logger = options.logger ?? console;
|
|
@@ -171,28 +152,85 @@ var Composio = class Composio {
|
|
|
171
152
|
this.#transport = options.transport ?? createFetchTransport();
|
|
172
153
|
options.allowedHTTPOrigin = options.allowInsecureHTTP ? options.allowedHTTPOrigin ?? parseHTTPURL(this.baseURL)?.origin ?? null : null;
|
|
173
154
|
this.#options = options;
|
|
174
|
-
this.
|
|
175
|
-
this.userApiKey = options.userApiKey;
|
|
176
|
-
this.orgApiKey = options.orgApiKey;
|
|
177
|
-
assertCredentialTransport(this.baseURL, this.#credentials(), options.allowedHTTPOrigin);
|
|
155
|
+
assertCredentialTransport(this.baseURL, this.#auth.mode !== "none", options.allowedHTTPOrigin);
|
|
178
156
|
Object.assign(this, createClientResources(this));
|
|
179
157
|
}
|
|
180
158
|
/**
|
|
181
|
-
* Constructs a client from
|
|
159
|
+
* Constructs a client from an environment mapping the caller passes in, such
|
|
160
|
+
* as `process.env`. It reads these and nothing else:
|
|
161
|
+
*
|
|
162
|
+
* - `COMPOSIO_API_KEY`, `COMPOSIO_USER_API_KEY`, `COMPOSIO_ORG_API_KEY`: one
|
|
163
|
+
* set is that fixed mode, several is `Auth.auto`, none is `Auth.none()`;
|
|
164
|
+
* - `COMPOSIO_BASE_URL`, `COMPOSIO_ALLOW_INSECURE_HTTP=1`,
|
|
165
|
+
* `COMPOSIO_LOG_LEVEL`, and `COMPOSIO_CUSTOM_HEADERS` (as `defaultHeaders`).
|
|
182
166
|
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
* `COMPOSIO_BASE_URL`, and `apiKey: null` disables a mapped API key.
|
|
167
|
+
* `COMPOSIO_ORG_ID` and `COMPOSIO_PROJECT_ID` are not read: `scope` is always
|
|
168
|
+
* an argument. An override replaces the whole field it names, so
|
|
169
|
+
* `{ auth: Auth.none() }` means none whatever the mapping holds.
|
|
187
170
|
*/
|
|
188
|
-
static fromEnv(environment,
|
|
189
|
-
const
|
|
190
|
-
|
|
191
|
-
|
|
171
|
+
static fromEnv(environment, overrides = {}) {
|
|
172
|
+
const read = (name) => setting(environment, name);
|
|
173
|
+
const customHeaders = read("COMPOSIO_CUSTOM_HEADERS");
|
|
174
|
+
const baseURL = read("COMPOSIO_BASE_URL");
|
|
175
|
+
const allowInsecureHTTP = read("COMPOSIO_ALLOW_INSECURE_HTTP") === "1";
|
|
176
|
+
const logLevel = read("COMPOSIO_LOG_LEVEL");
|
|
177
|
+
const mapped = {
|
|
178
|
+
auth: authFromCredentials({
|
|
179
|
+
project: read("COMPOSIO_API_KEY"),
|
|
180
|
+
user: read("COMPOSIO_USER_API_KEY"),
|
|
181
|
+
organization: read("COMPOSIO_ORG_API_KEY")
|
|
182
|
+
}),
|
|
183
|
+
...baseURL !== void 0 && overrides.environment === void 0 ? { baseURL } : {},
|
|
184
|
+
...allowInsecureHTTP ? { allowInsecureHTTP } : {},
|
|
185
|
+
...logLevel !== void 0 ? { logLevel } : {},
|
|
186
|
+
...customHeaders !== void 0 ? { defaultHeaders: parseCustomHeaders(customHeaders) } : {}
|
|
192
187
|
};
|
|
193
|
-
return new this(
|
|
188
|
+
return new this({
|
|
189
|
+
...mapped,
|
|
190
|
+
...overrides
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
/** How this client authenticates: `'none'`, `'project'`, `'user'`, `'organization'` or `'auto'`. */
|
|
194
|
+
get authMode() {
|
|
195
|
+
return this.#auth.mode;
|
|
196
|
+
}
|
|
197
|
+
/** The organization and project this client addresses, or `undefined`. */
|
|
198
|
+
get scope() {
|
|
199
|
+
return this.#scope;
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* The project key `auth` holds, when it is a string; `null` otherwise.
|
|
203
|
+
* @deprecated Read-only since 2.0.0-rc.18 and removed in rc.19; keep your own copy of the key.
|
|
204
|
+
*/
|
|
205
|
+
get apiKey() {
|
|
206
|
+
return this.#heldKey("ApiKeyAuth");
|
|
194
207
|
}
|
|
195
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* The user key `auth` holds, when it is a string; `null` otherwise.
|
|
210
|
+
* @deprecated Read-only since 2.0.0-rc.18 and removed in rc.19; keep your own copy of the key.
|
|
211
|
+
*/
|
|
212
|
+
get userApiKey() {
|
|
213
|
+
return this.#heldKey("UserApiKeyAuth");
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* The organization key `auth` holds, when it is a string; `null` otherwise.
|
|
217
|
+
* @deprecated Read-only since 2.0.0-rc.18 and removed in rc.19; keep your own copy of the key.
|
|
218
|
+
*/
|
|
219
|
+
get orgApiKey() {
|
|
220
|
+
return this.#heldKey("OrgApiKeyAuth");
|
|
221
|
+
}
|
|
222
|
+
#heldKey(scheme) {
|
|
223
|
+
const credential = this.#auth.credentials[scheme];
|
|
224
|
+
return typeof credential === "string" ? credential : null;
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Returns a new client from this one's options with `options` merged over
|
|
228
|
+
* them, key by key. Every construction check runs again on the result:
|
|
229
|
+
* `auth` against the origin, the reserved headers against `auth`, `scope`
|
|
230
|
+
* and `identity`, and `allowInsecureHTTP` against a changed `baseURL`.
|
|
231
|
+
* `defaultHeaders` replaces the map rather than merging into it, and
|
|
232
|
+
* `{ scope: undefined }` removes the scope.
|
|
233
|
+
*/
|
|
196
234
|
withOptions(options) {
|
|
197
235
|
const transport = Object.hasOwn(options, "transport") ? options.transport : this.#transport;
|
|
198
236
|
const allowedHTTPOrigin = options.allowInsecureHTTP === true ? void 0 : this.#options.allowedHTTPOrigin;
|
|
@@ -204,9 +242,7 @@ var Composio = class Composio {
|
|
|
204
242
|
timeout: this.timeout,
|
|
205
243
|
logger: this.logger,
|
|
206
244
|
logLevel: this.logLevel,
|
|
207
|
-
|
|
208
|
-
userApiKey: this.userApiKey,
|
|
209
|
-
orgApiKey: this.orgApiKey,
|
|
245
|
+
scope: this.#scope,
|
|
210
246
|
...options,
|
|
211
247
|
allowedHTTPOrigin,
|
|
212
248
|
transport
|
|
@@ -240,14 +276,6 @@ var Composio = class Composio {
|
|
|
240
276
|
request(options) {
|
|
241
277
|
return new APIPromise(makeRequest(this.#kernelConfig(), options));
|
|
242
278
|
}
|
|
243
|
-
/** Read at dispatch, never cached: all three fields are public and mutable. */
|
|
244
|
-
#credentials() {
|
|
245
|
-
return {
|
|
246
|
-
apiKey: this.apiKey,
|
|
247
|
-
userApiKey: this.userApiKey,
|
|
248
|
-
orgApiKey: this.orgApiKey
|
|
249
|
-
};
|
|
250
|
-
}
|
|
251
279
|
#onKernelLog = (level, message, metadata) => {
|
|
252
280
|
this.#emitLog(level, message, metadata);
|
|
253
281
|
};
|
|
@@ -283,7 +311,9 @@ var Composio = class Composio {
|
|
|
283
311
|
const lifecycleLoggingEnabled = LOG_LEVELS[configuredLogLevel] >= LOG_LEVELS.info;
|
|
284
312
|
return {
|
|
285
313
|
baseURL: this.baseURL,
|
|
286
|
-
|
|
314
|
+
auth: this.#auth,
|
|
315
|
+
scope: this.#scopeHeaders,
|
|
316
|
+
reserved: this.#reserved,
|
|
287
317
|
allowedHTTPOrigin: this.#options.allowedHTTPOrigin,
|
|
288
318
|
operations: GENERATED_OPERATIONS,
|
|
289
319
|
maxRetries: this.maxRetries,
|
|
@@ -348,10 +378,10 @@ Composio.Migration = Migration;
|
|
|
348
378
|
Composio.WebhookSubscriptions = WebhookSubscriptions;
|
|
349
379
|
Composio.WebhookEndpoints = WebhookEndpoints;
|
|
350
380
|
Composio.Org = Org;
|
|
351
|
-
Composio.Auth = Auth;
|
|
381
|
+
Composio.Auth = Auth$1;
|
|
352
382
|
Composio.ApiKeyRevocation = ApiKeyRevocation;
|
|
353
383
|
Composio.Custom = Custom;
|
|
354
384
|
Composio.Keyring = Keyring;
|
|
355
385
|
|
|
356
386
|
//#endregion
|
|
357
|
-
export { APIConnectionError, APIConnectionTimeoutError, APIError, APIPromise, APIUserAbortError, AuthenticationError, BadRequestError, Composio, Composio as default, ComposioError, ConflictError, Files, InternalServerError, NotFoundError, PermissionDeniedError, RateLimitError, Session, ToolRouter, UnprocessableEntityError, VERSION, createFetchTransport };
|
|
387
|
+
export { APIConnectionError, APIConnectionTimeoutError, APIError, APIPromise, APIUserAbortError, Auth, AuthenticationError, BadRequestError, Composio, Composio as default, ComposioError, ConflictError, Files, InternalServerError, NotFoundError, PermissionDeniedError, RateLimitError, Session, ToolRouter, UnprocessableEntityError, VERSION, createFetchTransport };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as generatedOperation, y as withOperation } from "./generated-operations-DKgGT6Dg.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/keyring.ts
|
|
4
4
|
const OP_LIST_TRANSFER_KEYS = generatedOperation("keyring.listTransferKeys");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as generatedOperation, y as withOperation } from "./generated-operations-DKgGT6Dg.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/link.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("link.create");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as Triggers } from "./triggers-
|
|
3
|
-
import { t as Tools } from "./tools-
|
|
1
|
+
import { d as path, n as generatedOperation, y as withOperation } from "./generated-operations-DKgGT6Dg.mjs";
|
|
2
|
+
import { t as Triggers } from "./triggers-CnvE7y0L.mjs";
|
|
3
|
+
import { t as Tools } from "./tools-C0GjPEpP.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/compat/resources/logs/logs.ts
|
|
6
6
|
const OP_CREATE_TOOL_EXECUTION = generatedOperation("logs.createToolExecution");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as path, n as generatedOperation, y as withOperation } from "./generated-operations-DKgGT6Dg.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/trigger-instances/manage.ts
|
|
4
4
|
const OP_UPDATE = generatedOperation("triggerInstances.manage.update");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as Custom } from "./custom-
|
|
3
|
-
import { t as Generate } from "./generate-
|
|
1
|
+
import { d as path, n as generatedOperation, y as withOperation } from "./generated-operations-DKgGT6Dg.mjs";
|
|
2
|
+
import { t as Custom } from "./custom-BBr7KbCv.mjs";
|
|
3
|
+
import { t as Generate } from "./generate-16uLPwUU.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/compat/resources/mcp/mcp.ts
|
|
6
6
|
const OP_CREATE = generatedOperation("mcp.create");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as Clanker } from "./clanker-
|
|
3
|
-
import { t as Consumer } from "./consumer-
|
|
4
|
-
import { t as Owner } from "./owner-
|
|
5
|
-
import { t as Project } from "./project-
|
|
6
|
-
import { t as Usage } from "./usage-
|
|
1
|
+
import { n as generatedOperation, y as withOperation } from "./generated-operations-DKgGT6Dg.mjs";
|
|
2
|
+
import { t as Clanker } from "./clanker-Pgyyh95r.mjs";
|
|
3
|
+
import { t as Consumer } from "./consumer-BP4OyJS0.mjs";
|
|
4
|
+
import { t as Owner } from "./owner-GZX-sp-h.mjs";
|
|
5
|
+
import { t as Project } from "./project-C1uq7bV_.mjs";
|
|
6
|
+
import { t as Usage } from "./usage-DPxuivP6.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/compat/resources/org/org.ts
|
|
9
9
|
const OP_LIST = generatedOperation("org.list");
|
package/dist/pagination.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as standardNextCursor, n as assertPageItems, r as isFinalCursor, t as assertCursorAdvanced } from "./pagination-rules-
|
|
1
|
+
import { i as standardNextCursor, n as assertPageItems, r as isFinalCursor, t as assertCursorAdvanced } from "./pagination-rules-CMnBwktJ.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/pagination.ts
|
|
4
4
|
var PaginationTraversal = class {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as path, n as generatedOperation, y as withOperation } from "./generated-operations-DKgGT6Dg.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/org/owner/project.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("org.owner.project.create");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as generatedOperation, y as withOperation } from "./generated-operations-DKgGT6Dg.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/org/project.ts
|
|
4
4
|
const OP_LIST = generatedOperation("org.project.list");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as generatedOperation, y as withOperation } from "./generated-operations-DKgGT6Dg.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/org/consumer/project.ts
|
|
4
4
|
const OP_RESOLVE = generatedOperation("org.consumer.project.resolve");
|
|
@@ -14,12 +14,9 @@ var Project = class {
|
|
|
14
14
|
}
|
|
15
15
|
resolve(params, options) {
|
|
16
16
|
const { "x-user-api-key": xUserApiKey, "x-org-id": xOrgId } = params;
|
|
17
|
-
return this.#client.post("/api/v3.1/org/consumer/project/resolve", withOperation(OP_RESOLVE, {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
...xUserApiKey != null ? { "x-user-api-key": xUserApiKey } : void 0,
|
|
21
|
-
...xOrgId != null ? { "x-org-id": xOrgId } : void 0
|
|
22
|
-
}, options?.headers])
|
|
17
|
+
return this.#client.post("/api/v3.1/org/consumer/project/resolve", withOperation(OP_RESOLVE, { ...options }, {
|
|
18
|
+
"x-user-api-key": xUserApiKey,
|
|
19
|
+
"x-org-id": xOrgId
|
|
23
20
|
}));
|
|
24
21
|
}
|
|
25
22
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as generatedOperation, y as withOperation } from "./generated-operations-DKgGT6Dg.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/cli/realtime.ts
|
|
4
4
|
const OP_AUTH = generatedOperation("cli.realtime.auth");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { b as ApiKeyRevocationCreateParams, x as ApiKeyRevocationCreateResponse, y as ApiKeyRevocation } from "../session-configs-
|
|
1
|
+
import { b as ApiKeyRevocationCreateParams, x as ApiKeyRevocationCreateResponse, y as ApiKeyRevocation } from "../session-configs-x3OA4CSe.mjs";
|
|
2
2
|
export { ApiKeyRevocation, type ApiKeyRevocationCreateParams, type ApiKeyRevocationCreateResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as Auth } from "../../session-configs-
|
|
1
|
+
import { S as Auth } from "../../session-configs-x3OA4CSe.mjs";
|
|
2
2
|
export { Auth };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as Session, S as Auth, w as SessionRetrieveInfoResponse } from "../../session-configs-
|
|
1
|
+
import { C as Session, S as Auth, w as SessionRetrieveInfoResponse } from "../../session-configs-x3OA4CSe.mjs";
|
|
2
2
|
export { Auth, Session, type SessionRetrieveInfoResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as Session, w as SessionRetrieveInfoResponse } from "../../session-configs-
|
|
1
|
+
import { C as Session, w as SessionRetrieveInfoResponse } from "../../session-configs-x3OA4CSe.mjs";
|
|
2
2
|
export { Session, type SessionRetrieveInfoResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Bn as AuthConfigListParams, Gn as AuthConfigUpdateStatusParams, Hn as AuthConfigRetrieveResponse, In as AuthConfigCreateParams, Kn as AuthConfigUpdateStatusResponse, Ln as AuthConfigCreateResponse, Rn as AuthConfigDeleteParams, Un as AuthConfigUpdateParams, Vn as AuthConfigListResponse, Wn as AuthConfigUpdateResponse, qn as AuthConfigs, zn as AuthConfigDeleteResponse } from "../session-configs-
|
|
1
|
+
import { Bn as AuthConfigListParams, Gn as AuthConfigUpdateStatusParams, Hn as AuthConfigRetrieveResponse, In as AuthConfigCreateParams, Kn as AuthConfigUpdateStatusResponse, Ln as AuthConfigCreateResponse, Rn as AuthConfigDeleteParams, Un as AuthConfigUpdateParams, Vn as AuthConfigListResponse, Wn as AuthConfigUpdateResponse, qn as AuthConfigs, zn as AuthConfigDeleteResponse } from "../session-configs-x3OA4CSe.mjs";
|
|
2
2
|
export { type AuthConfigCreateParams, type AuthConfigCreateResponse, type AuthConfigDeleteParams, type AuthConfigDeleteResponse, type AuthConfigListParams, type AuthConfigListResponse, type AuthConfigRetrieveResponse, type AuthConfigUpdateParams, type AuthConfigUpdateResponse, type AuthConfigUpdateStatusParams, type AuthConfigUpdateStatusResponse, AuthConfigs };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as Session, S as Auth, w as SessionRetrieveInfoResponse } from "../session-configs-
|
|
1
|
+
import { C as Session, S as Auth, w as SessionRetrieveInfoResponse } from "../session-configs-x3OA4CSe.mjs";
|
|
2
2
|
export { Auth, Session, type SessionRetrieveInfoResponse };
|
package/dist/resources/auth.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Session } from "../session-
|
|
2
|
-
import { t as Auth } from "../auth-
|
|
1
|
+
import { t as Session } from "../session-BT5NJfbm.mjs";
|
|
2
|
+
import { t as Auth } from "../auth-B_K-wdMm.mjs";
|
|
3
3
|
import "./auth/index.mjs";
|
|
4
4
|
|
|
5
5
|
export { Auth, Session };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gt as CliCreateSessionResponse, Ht as CliCreateCodactFailureParams, Kt as CliGetSessionParams, Ut as CliCreateCodactFailureResponse, Vt as Cli, Wt as CliCreateSessionParams, qt as CliGetSessionResponse } from "../../session-configs-
|
|
1
|
+
import { Gt as CliCreateSessionResponse, Ht as CliCreateCodactFailureParams, Kt as CliGetSessionParams, Ut as CliCreateCodactFailureResponse, Vt as Cli, Wt as CliCreateSessionParams, qt as CliGetSessionResponse } from "../../session-configs-x3OA4CSe.mjs";
|
|
2
2
|
export { Cli, CliCreateCodactFailureParams, CliCreateCodactFailureResponse, CliCreateSessionParams, CliCreateSessionResponse, CliGetSessionParams, CliGetSessionResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gt as CliCreateSessionResponse, Ht as CliCreateCodactFailureParams, Jt as Realtime, Kt as CliGetSessionParams, Ut as CliCreateCodactFailureResponse, Vt as Cli, Wt as CliCreateSessionParams, Xt as RealtimeAuthResponse, Yt as RealtimeAuthParams, Zt as RealtimeCredentialsResponse, qt as CliGetSessionResponse } from "../../session-configs-
|
|
1
|
+
import { Gt as CliCreateSessionResponse, Ht as CliCreateCodactFailureParams, Jt as Realtime, Kt as CliGetSessionParams, Ut as CliCreateCodactFailureResponse, Vt as Cli, Wt as CliCreateSessionParams, Xt as RealtimeAuthResponse, Yt as RealtimeAuthParams, Zt as RealtimeCredentialsResponse, qt as CliGetSessionResponse } from "../../session-configs-x3OA4CSe.mjs";
|
|
2
2
|
export { Cli, type CliCreateCodactFailureParams, type CliCreateCodactFailureResponse, type CliCreateSessionParams, type CliCreateSessionResponse, type CliGetSessionParams, type CliGetSessionResponse, Realtime, type RealtimeAuthParams, type RealtimeAuthResponse, type RealtimeCredentialsResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Jt as Realtime, Xt as RealtimeAuthResponse, Yt as RealtimeAuthParams, Zt as RealtimeCredentialsResponse } from "../../session-configs-
|
|
1
|
+
import { Jt as Realtime, Xt as RealtimeAuthResponse, Yt as RealtimeAuthParams, Zt as RealtimeCredentialsResponse } from "../../session-configs-x3OA4CSe.mjs";
|
|
2
2
|
export { Realtime, RealtimeAuthParams, RealtimeAuthResponse, RealtimeCredentialsResponse };
|
package/dist/resources/cli.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gt as CliCreateSessionResponse, Ht as CliCreateCodactFailureParams, Jt as Realtime, Kt as CliGetSessionParams, Ut as CliCreateCodactFailureResponse, Vt as Cli, Wt as CliCreateSessionParams, Xt as RealtimeAuthResponse, Yt as RealtimeAuthParams, Zt as RealtimeCredentialsResponse, qt as CliGetSessionResponse } from "../session-configs-
|
|
1
|
+
import { Gt as CliCreateSessionResponse, Ht as CliCreateCodactFailureParams, Jt as Realtime, Kt as CliGetSessionParams, Ut as CliCreateCodactFailureResponse, Vt as Cli, Wt as CliCreateSessionParams, Xt as RealtimeAuthResponse, Yt as RealtimeAuthParams, Zt as RealtimeCredentialsResponse, qt as CliGetSessionResponse } from "../session-configs-x3OA4CSe.mjs";
|
|
2
2
|
export { Cli, type CliCreateCodactFailureParams, type CliCreateCodactFailureResponse, type CliCreateSessionParams, type CliCreateSessionResponse, type CliGetSessionParams, type CliGetSessionResponse, Realtime, type RealtimeAuthParams, type RealtimeAuthResponse, type RealtimeCredentialsResponse };
|