@composio/client 2.0.0-rc.7 → 2.0.0-rc.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{api-key-revocation-BPURmRJx.mjs → api-key-revocation-C9gI3mxD.mjs} +1 -1
- package/dist/{auth-configs-DYkxc_It.mjs → auth-configs-AfPOIrp_.mjs} +1 -1
- package/dist/{auth-iqhTmHa9.mjs → auth-mNBmShhc.mjs} +1 -1
- package/dist/{clanker-CzfQDpuy.mjs → clanker-DuDWRKms.mjs} +1 -1
- package/dist/{cli-Er9a9rGs.mjs → cli-BL3iy1cn.mjs} +2 -2
- package/dist/{connected-accounts-DDgErVLd.mjs → connected-accounts-CDAYy93Y.mjs} +1 -1
- package/dist/{consumer-BPCfagDO.mjs → consumer-xMnRU0C0.mjs} +2 -2
- package/dist/{custom-VZyKhTTG.mjs → custom-CG287eyS.mjs} +1 -1
- package/dist/{custom-Cs019zcM.mjs → custom-D5-KtFkx.mjs} +1 -1
- package/dist/{error-DPPtjCl1.mjs → error-DLB1uKM3.mjs} +41 -7
- package/dist/{files-hhfQpMSx.mjs → files-7nQzcAPu.mjs} +1 -1
- package/dist/{files-C1QA5PTw.mjs → files-DfXyjBsv.mjs} +1 -1
- package/dist/{generate-iwm8bHWW.mjs → generate-Deely-Rs.mjs} +1 -1
- package/dist/{generated-operations-CJ7bbwvC.mjs → generated-operations-BDdFa2UY.mjs} +73 -4
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +32 -29
- package/dist/{keyring-Dkcbmstv.mjs → keyring-BU1WNke6.mjs} +1 -1
- package/dist/{link-Dk-yWRgc.mjs → link-BgM_kX73.mjs} +1 -1
- package/dist/{logs-DnZUgpLM.mjs → logs-CvGKikGY.mjs} +3 -3
- package/dist/{manage-DfB0PrkM.mjs → manage-D3woWCHa.mjs} +2 -2
- package/dist/{mcp-BfStaFrR.mjs → mcp-C9lPgg0I.mjs} +3 -3
- package/dist/{org-bXBx5whI.mjs → org-D490cmfQ.mjs} +6 -6
- package/dist/{owner-BlJ0zURX.mjs → owner-DUnkjEA9.mjs} +1 -1
- package/dist/pagination.mjs +1 -1
- package/dist/{project-CGi2urmA.mjs → project-61Vi9ABS.mjs} +1 -1
- package/dist/{project-B0ax2ZoD.mjs → project-BmLu0B1A.mjs} +1 -1
- package/dist/{project-BnMfaNjl.mjs → project-BoZ_FkAd.mjs} +1 -1
- package/dist/{project-BeWloPLZ.mjs → project-DJCRMUWP.mjs} +1 -1
- package/dist/{realtime-BNfA3u3B.mjs → realtime-D92CAeH1.mjs} +1 -1
- package/dist/resources/api-key-revocation.d.mts +1 -1
- package/dist/resources/api-key-revocation.mjs +1 -1
- package/dist/resources/auth/auth.d.mts +1 -1
- package/dist/resources/auth/auth.mjs +1 -1
- package/dist/resources/auth/index.d.mts +1 -1
- package/dist/resources/auth/index.mjs +2 -2
- package/dist/resources/auth/session.d.mts +1 -1
- package/dist/resources/auth/session.mjs +1 -1
- package/dist/resources/auth-configs.d.mts +1 -1
- package/dist/resources/auth-configs.mjs +1 -1
- package/dist/resources/auth.d.mts +1 -1
- package/dist/resources/auth.mjs +2 -2
- package/dist/resources/cli/cli.d.mts +1 -1
- package/dist/resources/cli/cli.mjs +1 -1
- package/dist/resources/cli/index.d.mts +1 -1
- package/dist/resources/cli/index.mjs +2 -2
- package/dist/resources/cli/realtime.d.mts +1 -1
- package/dist/resources/cli/realtime.mjs +1 -1
- package/dist/resources/cli.d.mts +1 -1
- package/dist/resources/cli.mjs +2 -2
- package/dist/resources/connected-accounts.d.mts +1 -1
- package/dist/resources/connected-accounts.mjs +1 -1
- package/dist/resources/custom.d.mts +1 -1
- package/dist/resources/custom.mjs +1 -1
- package/dist/resources/files.d.mts +1 -1
- package/dist/resources/files.mjs +1 -1
- package/dist/resources/index.d.mts +1 -1
- package/dist/resources/index.mjs +13 -13
- package/dist/resources/keyring.d.mts +1 -1
- package/dist/resources/keyring.mjs +1 -1
- package/dist/resources/link.d.mts +1 -1
- package/dist/resources/link.mjs +1 -1
- package/dist/resources/logs/index.d.mts +1 -1
- package/dist/resources/logs/index.mjs +3 -3
- package/dist/resources/logs/logs.d.mts +1 -1
- package/dist/resources/logs/logs.mjs +1 -1
- package/dist/resources/logs/tools.d.mts +1 -1
- package/dist/resources/logs/tools.mjs +1 -1
- package/dist/resources/logs/triggers.d.mts +1 -1
- package/dist/resources/logs/triggers.mjs +1 -1
- package/dist/resources/logs.d.mts +1 -1
- package/dist/resources/logs.mjs +3 -3
- package/dist/resources/mcp/custom.d.mts +1 -1
- package/dist/resources/mcp/custom.mjs +1 -1
- package/dist/resources/mcp/generate.d.mts +1 -1
- package/dist/resources/mcp/generate.mjs +1 -1
- package/dist/resources/mcp/index.d.mts +1 -1
- package/dist/resources/mcp/index.mjs +3 -3
- package/dist/resources/mcp/mcp.d.mts +1 -1
- package/dist/resources/mcp/mcp.mjs +1 -1
- package/dist/resources/mcp.d.mts +1 -1
- package/dist/resources/mcp.mjs +3 -3
- package/dist/resources/org/clanker.d.mts +1 -1
- package/dist/resources/org/clanker.mjs +1 -1
- package/dist/resources/org/consumer/consumer.d.mts +1 -1
- package/dist/resources/org/consumer/consumer.mjs +1 -1
- package/dist/resources/org/consumer/index.d.mts +1 -1
- package/dist/resources/org/consumer/index.mjs +2 -2
- package/dist/resources/org/consumer/project.d.mts +1 -1
- package/dist/resources/org/consumer/project.mjs +1 -1
- package/dist/resources/org/consumer.d.mts +1 -1
- package/dist/resources/org/consumer.mjs +2 -2
- package/dist/resources/org/index.d.mts +1 -1
- package/dist/resources/org/index.mjs +6 -6
- package/dist/resources/org/org.d.mts +1 -1
- package/dist/resources/org/org.mjs +1 -1
- package/dist/resources/org/owner/index.d.mts +1 -1
- package/dist/resources/org/owner/index.mjs +2 -2
- package/dist/resources/org/owner/owner.d.mts +1 -1
- package/dist/resources/org/owner/owner.mjs +1 -1
- package/dist/resources/org/owner/project.d.mts +1 -1
- package/dist/resources/org/owner/project.mjs +1 -1
- package/dist/resources/org/owner.d.mts +1 -1
- package/dist/resources/org/owner.mjs +2 -2
- package/dist/resources/org/project.d.mts +1 -1
- package/dist/resources/org/project.mjs +1 -1
- package/dist/resources/org/usage.d.mts +1 -1
- package/dist/resources/org/usage.mjs +1 -1
- package/dist/resources/org.d.mts +1 -1
- package/dist/resources/org.mjs +6 -6
- package/dist/resources/project/index.d.mts +1 -1
- package/dist/resources/project/index.mjs +1 -1
- package/dist/resources/project/project.d.mts +1 -1
- package/dist/resources/project/project.mjs +1 -1
- package/dist/resources/project/usage.d.mts +1 -1
- package/dist/resources/project/usage.mjs +1 -1
- package/dist/resources/project.d.mts +1 -1
- package/dist/resources/project.mjs +1 -1
- package/dist/resources/session-configs.d.mts +2 -0
- package/dist/resources/session-configs.mjs +24 -0
- package/dist/resources/tool-router/index.d.mts +1 -1
- package/dist/resources/tool-router/index.mjs +2 -2
- package/dist/resources/tool-router/session/files.d.mts +1 -1
- package/dist/resources/tool-router/session/files.mjs +1 -1
- package/dist/resources/tool-router/session/index.d.mts +1 -1
- package/dist/resources/tool-router/session/index.mjs +2 -2
- package/dist/resources/tool-router/session/session.d.mts +1 -1
- package/dist/resources/tool-router/session/session.mjs +1 -1
- package/dist/resources/tool-router/session.d.mts +1 -1
- package/dist/resources/tool-router/session.mjs +2 -2
- package/dist/resources/tool-router/tool-router.d.mts +1 -1
- package/dist/resources/tool-router/tool-router.mjs +1 -1
- package/dist/resources/tool-router.d.mts +1 -1
- package/dist/resources/tool-router.mjs +2 -2
- package/dist/resources/toolkits.d.mts +1 -1
- package/dist/resources/toolkits.mjs +1 -1
- package/dist/resources/tools.d.mts +1 -1
- package/dist/resources/tools.mjs +1 -1
- package/dist/resources/trigger-instances/index.d.mts +1 -1
- package/dist/resources/trigger-instances/index.mjs +2 -2
- package/dist/resources/trigger-instances/manage.d.mts +1 -1
- package/dist/resources/trigger-instances/manage.mjs +1 -1
- package/dist/resources/trigger-instances/trigger-instances.d.mts +1 -1
- package/dist/resources/trigger-instances/trigger-instances.mjs +1 -1
- package/dist/resources/trigger-instances.d.mts +1 -1
- package/dist/resources/trigger-instances.mjs +2 -2
- package/dist/resources/triggers-types.d.mts +1 -1
- package/dist/resources/triggers-types.mjs +1 -1
- package/dist/resources/webhook-endpoints.d.mts +1 -1
- package/dist/resources/webhook-endpoints.mjs +1 -1
- package/dist/resources/webhook-subscriptions.d.mts +1 -1
- package/dist/resources/webhook-subscriptions.mjs +1 -1
- package/dist/{session-B78Twedd.mjs → session-CuxeTn6B.mjs} +1 -1
- package/dist/{session-D3Azxyck.mjs → session-Ko7BIjgq.mjs} +2 -2
- package/dist/{client-CcYk8XXt.d.mts → session-configs-DC9dblKH.d.mts} +569 -105
- package/dist/{tool-router-Bx1tQfx-.mjs → tool-router-CBKKosNd.mjs} +1 -1
- package/dist/{toolkits-DFC0JDvT.mjs → toolkits-3DF2HJzj.mjs} +1 -1
- package/dist/{tools-Bv2Txlel.mjs → tools-CHZz5vhP.mjs} +1 -1
- package/dist/{tools-EL1x4SBb.mjs → tools-CZ866I6_.mjs} +1 -1
- package/dist/{trigger-instances-BI-STHc4.mjs → trigger-instances-Db9jhHWY.mjs} +2 -2
- package/dist/{triggers-vTkWuT5B.mjs → triggers-CDhM0b24.mjs} +1 -1
- package/dist/{triggers-types-CJWi--Kk.mjs → triggers-types-C6SEunIK.mjs} +1 -1
- package/dist/{usage-DspCrBUv.mjs → usage-7j_ne9rG.mjs} +1 -1
- package/dist/{usage-cffJ-ds7.mjs → usage-CE6S407C.mjs} +1 -1
- package/dist/{webhook-endpoints-DSN8i5KN.mjs → webhook-endpoints-DWS1Ycp6.mjs} +1 -1
- package/dist/{webhook-subscriptions-Bgsnr29T.mjs → webhook-subscriptions-DgL5Qp1f.mjs} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/api-key-revocation.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("apiKeyRevocation.create");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/auth-configs.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("authConfigs.create");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/org/clanker.ts
|
|
4
4
|
const OP_CREATE_CLAIM = generatedOperation("org.clanker.createClaim");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as withOperation,
|
|
2
|
-
import { t as Realtime } from "./realtime-
|
|
1
|
+
import { c as withOperation, m as mergeHeaders, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
|
+
import { t as Realtime } from "./realtime-D92CAeH1.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/compat/resources/cli/cli.ts
|
|
5
5
|
const OP_CREATE_CODACT_FAILURE = generatedOperation("cli.createCodactFailure");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/connected-accounts.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("connectedAccounts.create");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as withOperation,
|
|
2
|
-
import { t as Project } from "./project-
|
|
1
|
+
import { c as withOperation, m as mergeHeaders, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
|
+
import { t as Project } from "./project-DJCRMUWP.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/compat/resources/org/consumer/consumer.ts
|
|
5
5
|
const OP_LIST_CONNECTED_TOOLKITS = generatedOperation("org.consumer.listConnectedToolkits");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/mcp/custom.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("mcp.custom.create");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/custom.ts
|
|
4
4
|
const OP_DELETE_TOOLKIT = generatedOperation("custom.deleteToolkit");
|
|
@@ -1,13 +1,30 @@
|
|
|
1
1
|
//#region src/compat/error.ts
|
|
2
|
+
var ComposioError = class extends Error {};
|
|
3
|
+
const isRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
4
|
+
const isStringArray = (value) => Array.isArray(value) && value.every((item) => typeof item === "string");
|
|
2
5
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* `headers` on these classes (see docs/research/drop-in-contract.md §4), so
|
|
7
|
-
* both the class names and the inheritance chain are part of the drop-in
|
|
8
|
-
* contract: `BadRequestError extends APIError extends ComposioError extends Error`.
|
|
6
|
+
* Narrow a parsed error body to the envelope's inner object. Checks exactly
|
|
7
|
+
* the fields the schema requires plus the optional ones' types; anything
|
|
8
|
+
* else (text bodies, foreign JSON, a 502 from a proxy) is `undefined`.
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
const errorDetails = (body) => {
|
|
11
|
+
if (!isRecord(body) || !isRecord(body.error)) return void 0;
|
|
12
|
+
const { message, code, slug, status, request_id, suggested_fix, errors } = body.error;
|
|
13
|
+
if (typeof message !== "string" || typeof slug !== "string") return void 0;
|
|
14
|
+
if (typeof code !== "number" || typeof status !== "number") return void 0;
|
|
15
|
+
if (request_id !== void 0 && typeof request_id !== "string") return void 0;
|
|
16
|
+
if (suggested_fix !== void 0 && typeof suggested_fix !== "string") return void 0;
|
|
17
|
+
if (errors !== void 0 && !isStringArray(errors)) return void 0;
|
|
18
|
+
return {
|
|
19
|
+
message,
|
|
20
|
+
code,
|
|
21
|
+
slug,
|
|
22
|
+
status,
|
|
23
|
+
...request_id !== void 0 ? { request_id } : void 0,
|
|
24
|
+
...suggested_fix !== void 0 ? { suggested_fix } : void 0,
|
|
25
|
+
...errors !== void 0 ? { errors } : void 0
|
|
26
|
+
};
|
|
27
|
+
};
|
|
11
28
|
var APIError = class APIError extends ComposioError {
|
|
12
29
|
/** HTTP status for the response that caused the error. */
|
|
13
30
|
status;
|
|
@@ -15,11 +32,28 @@ var APIError = class APIError extends ComposioError {
|
|
|
15
32
|
headers;
|
|
16
33
|
/** JSON body of the response that caused the error. */
|
|
17
34
|
error;
|
|
35
|
+
/**
|
|
36
|
+
* The body narrowed to the Composio error envelope (`APIErrorBody['error']`),
|
|
37
|
+
* or `undefined` when the body is not one — so a validation failure's
|
|
38
|
+
* `errors[]` and `suggested_fix` are reachable without casting `error`.
|
|
39
|
+
*
|
|
40
|
+
* Not part of the Stainless surface: a sanctioned superset, like
|
|
41
|
+
* `ClientOptions.userApiKey`.
|
|
42
|
+
*/
|
|
43
|
+
details;
|
|
44
|
+
/**
|
|
45
|
+
* The request id the API assigned, from the `x-request-id` response header
|
|
46
|
+
* first and the envelope's `request_id` otherwise; `undefined` when neither
|
|
47
|
+
* is present (connection errors, aborts). Same superset status as `details`.
|
|
48
|
+
*/
|
|
49
|
+
requestId;
|
|
18
50
|
constructor(status, error, message, headers) {
|
|
19
51
|
super(APIError.makeMessage(status, error, message));
|
|
20
52
|
this.status = status;
|
|
21
53
|
this.headers = headers;
|
|
22
54
|
this.error = error;
|
|
55
|
+
this.details = errorDetails(error);
|
|
56
|
+
this.requestId = headers?.get?.("x-request-id") || this.details?.request_id;
|
|
23
57
|
}
|
|
24
58
|
static makeMessage(status, error, message) {
|
|
25
59
|
const errorMessage = error?.message;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/tool-router/session/files.ts
|
|
4
4
|
const OP_LIST = generatedOperation("toolRouter.session.files.list");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/files.ts
|
|
4
4
|
const OP_LIST = generatedOperation("files.list");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/mcp/generate.ts
|
|
4
4
|
const OP_URL = generatedOperation("mcp.generate.url");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as APIUserAbortError, n as APIConnectionTimeoutError, s as ComposioError, t as APIConnectionError } from "./error-
|
|
1
|
+
import { i as APIUserAbortError, n as APIConnectionTimeoutError, s as ComposioError, t as APIConnectionError } from "./error-DLB1uKM3.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/headers.ts
|
|
4
4
|
const hasEntries = (value) => typeof value === "object" && value !== null && "append" in value && typeof value.append === "function" && "delete" in value && typeof value.delete === "function" && "entries" in value && typeof value.entries === "function" && "get" in value && typeof value.get === "function";
|
|
@@ -324,6 +324,15 @@ const credentialForRequest = (baseURL, scheme, credentials, requestURL, allowedH
|
|
|
324
324
|
};
|
|
325
325
|
};
|
|
326
326
|
/**
|
|
327
|
+
* Whether two absolute http(s) URLs share an origin, by the same test
|
|
328
|
+
* {@link credentialForRequest} applies. An unparseable side is never the same
|
|
329
|
+
* origin as anything. Python's `same_origin` is the twin.
|
|
330
|
+
*/
|
|
331
|
+
const sameOrigin = (a, b) => {
|
|
332
|
+
const origin = parseHTTPURL(a)?.origin;
|
|
333
|
+
return origin !== void 0 && origin === parseHTTPURL(b)?.origin;
|
|
334
|
+
};
|
|
335
|
+
/**
|
|
327
336
|
* The credential headers a *caller* can place that are not the one this client
|
|
328
337
|
* attaches — `x-api-key` is excluded because a caller setting it is overriding
|
|
329
338
|
* the client's own value in the same slot, which is pinned Stainless behaviour,
|
|
@@ -894,6 +903,47 @@ const inspectDeprecatedInputs = ({ operation, query, body, headers, table, seen,
|
|
|
894
903
|
}
|
|
895
904
|
};
|
|
896
905
|
|
|
906
|
+
//#endregion
|
|
907
|
+
//#region src/version.ts
|
|
908
|
+
const VERSION = "2.0.0-rc.9";
|
|
909
|
+
|
|
910
|
+
//#endregion
|
|
911
|
+
//#region src/compat/telemetry.ts
|
|
912
|
+
/**
|
|
913
|
+
* The runtime label and version, first match wins. Workers and Vercel Edge are
|
|
914
|
+
* checked before Node because `nodejs_compat` and edge polyfills can expose
|
|
915
|
+
* `process.versions.node`; neither reports a version, so a polyfilled Node
|
|
916
|
+
* version is never sent as theirs.
|
|
917
|
+
*/
|
|
918
|
+
const detectRuntime = () => {
|
|
919
|
+
const g = globalThis;
|
|
920
|
+
if (g.Bun !== void 0) return ["bun", g.Bun.version];
|
|
921
|
+
if (g.Deno !== void 0) return ["deno", g.Deno.version?.deno];
|
|
922
|
+
if (g.navigator?.userAgent === "Cloudflare-Workers" || g.caches !== void 0 && g.WebSocketPair !== void 0) return ["cloudflare", void 0];
|
|
923
|
+
if (g.EdgeRuntime !== void 0) return ["vercel_edge", void 0];
|
|
924
|
+
if (typeof process !== "undefined" && process.versions?.node) return ["nodejs", process.versions.node];
|
|
925
|
+
if (typeof g.ServiceWorkerGlobalScope === "function" && globalThis instanceof g.ServiceWorkerGlobalScope) return ["service_worker", void 0];
|
|
926
|
+
if (g.WorkerGlobalScope !== void 0 && typeof g.importScripts === "function") return ["web_worker", void 0];
|
|
927
|
+
if (g.navigator?.product === "ReactNative") return ["react_native", void 0];
|
|
928
|
+
if (g.window !== void 0 && g.document !== void 0) return ["browser", void 0];
|
|
929
|
+
return ["unknown", void 0];
|
|
930
|
+
};
|
|
931
|
+
/** Caller headers override these defaults, including the calling SDK's identity. */
|
|
932
|
+
const clientTelemetryHeaders = () => {
|
|
933
|
+
const [runtime, version] = detectRuntime();
|
|
934
|
+
const headers = {
|
|
935
|
+
"x-client-provenance": "@composio/client",
|
|
936
|
+
"x-client-version": VERSION,
|
|
937
|
+
"x-client-library": "@composio/client",
|
|
938
|
+
"x-client-library-version": VERSION,
|
|
939
|
+
"x-client-language": "typescript",
|
|
940
|
+
"x-client-runtime": runtime,
|
|
941
|
+
"x-runtime": runtime
|
|
942
|
+
};
|
|
943
|
+
if (version) headers["x-runtime-version"] = version;
|
|
944
|
+
return headers;
|
|
945
|
+
};
|
|
946
|
+
|
|
897
947
|
//#endregion
|
|
898
948
|
//#region src/compat/request.ts
|
|
899
949
|
/**
|
|
@@ -1204,11 +1254,17 @@ const kernelInternals = { sleep };
|
|
|
1204
1254
|
* simply does not get a key. `withdrawn` covers what that cannot — the
|
|
1205
1255
|
* caller's own credential headers, which are legitimate on the URL the caller
|
|
1206
1256
|
* chose and are dropped once the *server* has chosen one.
|
|
1257
|
+
*
|
|
1258
|
+
* The client's identity headers follow the same per-hop rule: they describe
|
|
1259
|
+
* this client to its own API, so a hop off the configured origin (a presigned
|
|
1260
|
+
* storage URL, a redirect target) goes without them.
|
|
1207
1261
|
*/
|
|
1208
1262
|
const buildRequestHeaders = (config, options, requestURL, bodyHeaders, withdrawn, scheme, callerPlaced) => {
|
|
1209
1263
|
const credential = withdrawn || callerPlaced ? null : credentialForRequest(config.baseURL, scheme, config.credentials, requestURL, config.allowedHTTPOrigin);
|
|
1210
|
-
|
|
1264
|
+
const identity = sameOrigin(config.baseURL, requestURL) ? clientTelemetryHeaders() : void 0;
|
|
1265
|
+
if (!withdrawn && bodyHeaders === void 0 && !config.defaultHeaders && !options.headers && options.idempotencyKey === void 0) {
|
|
1211
1266
|
const direct = new Headers({
|
|
1267
|
+
...identity,
|
|
1212
1268
|
accept: "application/json",
|
|
1213
1269
|
"user-agent": config.userAgent
|
|
1214
1270
|
});
|
|
@@ -1216,7 +1272,9 @@ const buildRequestHeaders = (config, options, requestURL, bodyHeaders, withdrawn
|
|
|
1216
1272
|
return direct;
|
|
1217
1273
|
}
|
|
1218
1274
|
const headers = buildHeaders([
|
|
1275
|
+
{ "idempotency-key": options.idempotencyKey },
|
|
1219
1276
|
{
|
|
1277
|
+
...identity,
|
|
1220
1278
|
accept: "application/json",
|
|
1221
1279
|
"user-agent": config.userAgent
|
|
1222
1280
|
},
|
|
@@ -1655,6 +1713,16 @@ const GENERATED_OPERATIONS = [
|
|
|
1655
1713
|
],
|
|
1656
1714
|
schemes: ["UserApiKeyAuth"]
|
|
1657
1715
|
},
|
|
1716
|
+
{
|
|
1717
|
+
method: "get",
|
|
1718
|
+
path: "/api/v3.1/session_configs",
|
|
1719
|
+
chain: ["sessionConfigs", "list"]
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
method: "get",
|
|
1723
|
+
path: "/api/v3.1/session_configs/{session_config_id}",
|
|
1724
|
+
chain: ["sessionConfigs", "retrieve"]
|
|
1725
|
+
},
|
|
1658
1726
|
{
|
|
1659
1727
|
method: "get",
|
|
1660
1728
|
path: "/api/v3.1/tool_router/session/{session_id}",
|
|
@@ -2146,7 +2214,8 @@ const GENERATED_OPERATIONS = [
|
|
|
2146
2214
|
"session",
|
|
2147
2215
|
"proxyExecute"
|
|
2148
2216
|
],
|
|
2149
|
-
schemes: ["ApiKeyAuth", "UserApiKeyAuth"]
|
|
2217
|
+
schemes: ["ApiKeyAuth", "UserApiKeyAuth"],
|
|
2218
|
+
hasDeprecatedInputs: true
|
|
2150
2219
|
},
|
|
2151
2220
|
{
|
|
2152
2221
|
method: "post",
|
|
@@ -2239,4 +2308,4 @@ const generatedOperation = (chainKey) => {
|
|
|
2239
2308
|
};
|
|
2240
2309
|
|
|
2241
2310
|
//#endregion
|
|
2242
|
-
export { path as a, withOperation as c,
|
|
2311
|
+
export { path as a, withOperation as c, inspectDeprecation as d, assertCredentialTransport as f, makeRequest as i, VERSION as l, mergeHeaders as m, generatedOperation as n, readOperation as o, parseHTTPURL as p, castToError as r, safeJSON as s, GENERATED_OPERATIONS as t, inspectDeprecatedInputs as u };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $r as
|
|
1
|
+
import { $r as SessionSearchParams, Ai as RateLimitError, Br as SessionCreateResponse, Ci as AuthenticationError, Di as InternalServerError, Ei as ConflictError, Fr as SessionAttachParams, Gr as SessionExecuteResponse, Hr as SessionExecuteMetaParams, Ir as SessionAttachResponse, Jr as SessionPatchParams, Kr as SessionLinkParams, Lr as SessionConfigHistoryParams, Mi as APIPromise, Nr as ToolRouter, Oi as NotFoundError, Pr as Session, Qr as SessionRetrieveResponse, Rr as SessionConfigHistoryResponse, Si as APIUserAbortError, Ti as ComposioError, Ur as SessionExecuteMetaResponse, Vr as SessionDeleteResponse, Wr as SessionExecuteParams, Xr as SessionProxyExecuteParams, Yr as SessionPatchResponse, Zr as SessionProxyExecuteResponse, _i as createFetchTransport, a as ClientOptions, ai as FileCreateDownloadURLParams, bi as APIError, c as LogLevel, ci as FileCreateUploadURLResponse, di as FileListParams, ei as SessionSearchResponse, fi as FileListResponse, gi as Transport, hi as FetchTransportDefaults, ii as SessionToolsResponse, ji as UnprocessableEntityError, ki as PermissionDeniedError, l as Logger, li as FileDeleteParams, mi as RequestOptions, ni as SessionToolkitsResponse, o as Composio, oi as FileCreateDownloadURLResponse, pi as Files, qr as SessionLinkResponse, ri as SessionToolsParams, s as EnvironmentMap, si as FileCreateUploadURLParams, ti as SessionToolkitsParams, ui as FileDeleteResponse, vi as APIConnectionError, wi as BadRequestError, xi as APIErrorBody, yi as APIConnectionTimeoutError, zr as SessionCreateParams } from "./session-configs-DC9dblKH.mjs";
|
|
2
2
|
//#region src/version.d.ts
|
|
3
|
-
declare const VERSION = "2.0.0-rc.
|
|
3
|
+
declare const VERSION = "2.0.0-rc.9";
|
|
4
4
|
//#endregion
|
|
5
|
-
export { APIConnectionError, APIConnectionTimeoutError, APIError, APIPromise, APIUserAbortError, AuthenticationError, BadRequestError, type ClientOptions, Composio, Composio as default, ComposioError, ConflictError, type EnvironmentMap, type FetchTransportDefaults, type FileCreateDownloadURLParams, type FileCreateDownloadURLResponse, type FileCreateUploadURLParams, type FileCreateUploadURLResponse, type FileDeleteParams, type FileDeleteResponse, type FileListParams, type FileListResponse, Files, InternalServerError, type LogLevel, type Logger, NotFoundError, PermissionDeniedError, RateLimitError, type RequestOptions, Session, type SessionAttachParams, type SessionAttachResponse, type SessionConfigHistoryParams, type SessionConfigHistoryResponse, type SessionCreateParams, type SessionCreateResponse, type SessionDeleteResponse, type SessionExecuteMetaParams, type SessionExecuteMetaResponse, type SessionExecuteParams, type SessionExecuteResponse, type SessionLinkParams, type SessionLinkResponse, type SessionPatchParams, type SessionPatchResponse, type SessionProxyExecuteParams, type SessionProxyExecuteResponse, type SessionRetrieveResponse, type SessionSearchParams, type SessionSearchResponse, type SessionToolkitsParams, type SessionToolkitsResponse, type SessionToolsParams, type SessionToolsResponse, ToolRouter, type Transport, UnprocessableEntityError, VERSION, createFetchTransport };
|
|
5
|
+
export { APIConnectionError, APIConnectionTimeoutError, APIError, type APIErrorBody, APIPromise, APIUserAbortError, AuthenticationError, BadRequestError, type ClientOptions, Composio, Composio as default, ComposioError, ConflictError, type EnvironmentMap, type FetchTransportDefaults, type FileCreateDownloadURLParams, type FileCreateDownloadURLResponse, type FileCreateUploadURLParams, type FileCreateUploadURLResponse, type FileDeleteParams, type FileDeleteResponse, type FileListParams, type FileListResponse, Files, InternalServerError, type LogLevel, type Logger, NotFoundError, PermissionDeniedError, RateLimitError, type RequestOptions, Session, type SessionAttachParams, type SessionAttachResponse, type SessionConfigHistoryParams, type SessionConfigHistoryResponse, type SessionCreateParams, type SessionCreateResponse, type SessionDeleteResponse, type SessionExecuteMetaParams, type SessionExecuteMetaResponse, type SessionExecuteParams, type SessionExecuteResponse, type SessionLinkParams, type SessionLinkResponse, type SessionPatchParams, type SessionPatchResponse, type SessionProxyExecuteParams, type SessionProxyExecuteResponse, type SessionRetrieveResponse, type SessionSearchParams, type SessionSearchResponse, type SessionToolkitsParams, type SessionToolkitsResponse, type SessionToolsParams, type SessionToolsResponse, ToolRouter, type Transport, UnprocessableEntityError, VERSION, createFetchTransport };
|
package/dist/index.mjs
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import { a as AuthenticationError, c as ConflictError, d as PermissionDeniedError, f as RateLimitError, i as APIUserAbortError, l as InternalServerError, n as APIConnectionTimeoutError, o as BadRequestError, p as UnprocessableEntityError, r as APIError, s as ComposioError, t as APIConnectionError, u as NotFoundError } from "./error-
|
|
2
|
-
import { d as
|
|
3
|
-
import { t as ApiKeyRevocation } from "./api-key-revocation-
|
|
4
|
-
import { t as AuthConfigs } from "./auth-configs-
|
|
5
|
-
import { t as Auth } from "./auth-
|
|
6
|
-
import { t as Cli } from "./cli-
|
|
7
|
-
import { t as ConnectedAccounts } from "./connected-accounts-
|
|
8
|
-
import { t as Custom } from "./custom-
|
|
9
|
-
import { t as Files$1 } from "./files-
|
|
10
|
-
import { t as Keyring } from "./keyring-
|
|
11
|
-
import { t as Link } from "./link-
|
|
12
|
-
import { t as Logs } from "./logs-
|
|
13
|
-
import { t as Mcp } from "./mcp-
|
|
1
|
+
import { a as AuthenticationError, c as ConflictError, d as PermissionDeniedError, f as RateLimitError, i as APIUserAbortError, l as InternalServerError, n as APIConnectionTimeoutError, o as BadRequestError, p as UnprocessableEntityError, r as APIError, s as ComposioError, t as APIConnectionError, u as NotFoundError } from "./error-DLB1uKM3.mjs";
|
|
2
|
+
import { d as inspectDeprecation, f as assertCredentialTransport, i as makeRequest, l as VERSION, m as mergeHeaders, o as readOperation, p as parseHTTPURL, r as castToError, s as safeJSON, t as GENERATED_OPERATIONS, u as inspectDeprecatedInputs } from "./generated-operations-BDdFa2UY.mjs";
|
|
3
|
+
import { t as ApiKeyRevocation } from "./api-key-revocation-C9gI3mxD.mjs";
|
|
4
|
+
import { t as AuthConfigs } from "./auth-configs-AfPOIrp_.mjs";
|
|
5
|
+
import { t as Auth } from "./auth-mNBmShhc.mjs";
|
|
6
|
+
import { t as Cli } from "./cli-BL3iy1cn.mjs";
|
|
7
|
+
import { t as ConnectedAccounts } from "./connected-accounts-CDAYy93Y.mjs";
|
|
8
|
+
import { t as Custom } from "./custom-D5-KtFkx.mjs";
|
|
9
|
+
import { t as Files$1 } from "./files-DfXyjBsv.mjs";
|
|
10
|
+
import { t as Keyring } from "./keyring-BU1WNke6.mjs";
|
|
11
|
+
import { t as Link } from "./link-BgM_kX73.mjs";
|
|
12
|
+
import { t as Logs } from "./logs-CvGKikGY.mjs";
|
|
13
|
+
import { t as Mcp } from "./mcp-C9lPgg0I.mjs";
|
|
14
14
|
import { t as Migration } from "./migration-CBhnoN-Y.mjs";
|
|
15
|
-
import { t as Org } from "./org-
|
|
16
|
-
import { t as Project } from "./project-
|
|
17
|
-
import {
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
15
|
+
import { t as Org } from "./org-D490cmfQ.mjs";
|
|
16
|
+
import { t as Project } from "./project-BmLu0B1A.mjs";
|
|
17
|
+
import { SessionConfigs } from "./resources/session-configs.mjs";
|
|
18
|
+
import { t as Files } from "./files-7nQzcAPu.mjs";
|
|
19
|
+
import { t as Session } from "./session-Ko7BIjgq.mjs";
|
|
20
|
+
import { t as ToolRouter } from "./tool-router-CBKKosNd.mjs";
|
|
21
|
+
import { t as Toolkits } from "./toolkits-3DF2HJzj.mjs";
|
|
22
|
+
import { t as Tools } from "./tools-CZ866I6_.mjs";
|
|
23
|
+
import { t as TriggerInstances } from "./trigger-instances-Db9jhHWY.mjs";
|
|
24
|
+
import { t as TriggersTypes } from "./triggers-types-C6SEunIK.mjs";
|
|
25
|
+
import { t as WebhookEndpoints } from "./webhook-endpoints-DWS1Ycp6.mjs";
|
|
26
|
+
import { t as WebhookSubscriptions } from "./webhook-subscriptions-DgL5Qp1f.mjs";
|
|
26
27
|
|
|
27
28
|
//#region src/compat/api-promise.ts
|
|
28
29
|
/**
|
|
@@ -122,6 +123,11 @@ const GENERATED_DEPRECATED_INPUTS = /* @__PURE__ */ new Map([
|
|
|
122
123
|
in: "body",
|
|
123
124
|
replacementWire: null
|
|
124
125
|
}]],
|
|
126
|
+
["toolRouter.session.proxyExecute", [{
|
|
127
|
+
wire: "custom_connection_data",
|
|
128
|
+
in: "body",
|
|
129
|
+
replacementWire: null
|
|
130
|
+
}]],
|
|
125
131
|
["tools.execute", [{
|
|
126
132
|
wire: "entity_id",
|
|
127
133
|
in: "body",
|
|
@@ -224,13 +230,10 @@ const createClientResources = (client) => ({
|
|
|
224
230
|
auth: new Auth(client),
|
|
225
231
|
apiKeyRevocation: new ApiKeyRevocation(client),
|
|
226
232
|
custom: new Custom(client),
|
|
227
|
-
keyring: new Keyring(client)
|
|
233
|
+
keyring: new Keyring(client),
|
|
234
|
+
sessionConfigs: new SessionConfigs(client)
|
|
228
235
|
});
|
|
229
236
|
|
|
230
|
-
//#endregion
|
|
231
|
-
//#region src/version.ts
|
|
232
|
-
const VERSION = "2.0.0-rc.7";
|
|
233
|
-
|
|
234
237
|
//#endregion
|
|
235
238
|
//#region src/compat/client.ts
|
|
236
239
|
const environments = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/keyring.ts
|
|
4
4
|
const OP_LIST_TRANSFER_KEYS = generatedOperation("keyring.listTransferKeys");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/link.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("link.create");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
2
|
-
import { t as Triggers } from "./triggers-
|
|
3
|
-
import { t as Tools } from "./tools-
|
|
1
|
+
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
|
+
import { t as Triggers } from "./triggers-CDhM0b24.mjs";
|
|
3
|
+
import { t as Tools } from "./tools-CHZz5vhP.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/compat/resources/logs/logs.ts
|
|
6
6
|
const OP_CREATE_TOOL_EXECUTION = generatedOperation("logs.createToolExecution");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/trigger-instances/manage.ts
|
|
4
4
|
const OP_UPDATE = generatedOperation("triggerInstances.manage.update");
|
|
@@ -13,7 +13,7 @@ var Manage = class {
|
|
|
13
13
|
constructor(client) {
|
|
14
14
|
this.#client = client;
|
|
15
15
|
}
|
|
16
|
-
update(triggerID, body, options) {
|
|
16
|
+
update(triggerID, body = {}, options) {
|
|
17
17
|
return this.#client.patch(path`/api/v3.1/trigger_instances/manage/${triggerID}`, withOperation(OP_UPDATE, {
|
|
18
18
|
body,
|
|
19
19
|
...options
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
2
|
-
import { t as Custom } from "./custom-
|
|
3
|
-
import { t as Generate } from "./generate-
|
|
1
|
+
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
|
+
import { t as Custom } from "./custom-CG287eyS.mjs";
|
|
3
|
+
import { t as Generate } from "./generate-Deely-Rs.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/compat/resources/mcp/mcp.ts
|
|
6
6
|
const OP_CREATE = generatedOperation("mcp.create");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
2
|
-
import { t as Clanker } from "./clanker-
|
|
3
|
-
import { t as Consumer } from "./consumer-
|
|
4
|
-
import { t as Owner } from "./owner-
|
|
5
|
-
import { t as Project } from "./project-
|
|
6
|
-
import { t as Usage } from "./usage-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
|
+
import { t as Clanker } from "./clanker-DuDWRKms.mjs";
|
|
3
|
+
import { t as Consumer } from "./consumer-xMnRU0C0.mjs";
|
|
4
|
+
import { t as Owner } from "./owner-DUnkjEA9.mjs";
|
|
5
|
+
import { t as Project } from "./project-BoZ_FkAd.mjs";
|
|
6
|
+
import { t as Usage } from "./usage-7j_ne9rG.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/compat/resources/org/org.ts
|
|
9
9
|
const OP_LIST = generatedOperation("org.list");
|
package/dist/pagination.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { a as path, c as withOperation, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/org/owner/project.ts
|
|
4
4
|
const OP_CREATE = generatedOperation("org.owner.project.create");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/org/project.ts
|
|
4
4
|
const OP_LIST = generatedOperation("org.project.list");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation,
|
|
1
|
+
import { c as withOperation, m as mergeHeaders, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/org/consumer/project.ts
|
|
4
4
|
const OP_RESOLVE = generatedOperation("org.consumer.project.resolve");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as withOperation, n as generatedOperation } from "./generated-operations-
|
|
1
|
+
import { c as withOperation, n as generatedOperation } from "./generated-operations-BDdFa2UY.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/compat/resources/cli/realtime.ts
|
|
4
4
|
const OP_AUTH = generatedOperation("cli.realtime.auth");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as ApiKeyRevocationCreateResponse, v as ApiKeyRevocation, y as ApiKeyRevocationCreateParams } from "../session-configs-DC9dblKH.mjs";
|
|
2
2
|
export { ApiKeyRevocation, type ApiKeyRevocationCreateParams, type ApiKeyRevocationCreateResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { x as Auth } from "../../session-configs-DC9dblKH.mjs";
|
|
2
2
|
export { Auth };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as SessionRetrieveInfoResponse, S as Session, x as Auth } from "../../session-configs-DC9dblKH.mjs";
|
|
2
2
|
export { Auth, Session, type SessionRetrieveInfoResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as SessionRetrieveInfoResponse, S as Session } from "../../session-configs-DC9dblKH.mjs";
|
|
2
2
|
export { Session, type SessionRetrieveInfoResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Bn as
|
|
1
|
+
import { Bn as AuthConfigListResponse, Fn as AuthConfigCreateParams, Gn as AuthConfigUpdateStatusResponse, Hn as AuthConfigUpdateParams, In as AuthConfigCreateResponse, Kn as AuthConfigs, Ln as AuthConfigDeleteParams, Rn as AuthConfigDeleteResponse, Un as AuthConfigUpdateResponse, Vn as AuthConfigRetrieveResponse, Wn as AuthConfigUpdateStatusParams, zn as AuthConfigListParams } from "../session-configs-DC9dblKH.mjs";
|
|
2
2
|
export { type AuthConfigCreateParams, type AuthConfigCreateResponse, type AuthConfigDeleteParams, type AuthConfigDeleteResponse, type AuthConfigListParams, type AuthConfigListResponse, type AuthConfigRetrieveResponse, type AuthConfigUpdateParams, type AuthConfigUpdateResponse, type AuthConfigUpdateStatusParams, type AuthConfigUpdateStatusResponse, AuthConfigs };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as SessionRetrieveInfoResponse, S as Session, x as Auth } from "../session-configs-DC9dblKH.mjs";
|
|
2
2
|
export { Auth, Session, type SessionRetrieveInfoResponse };
|
package/dist/resources/auth.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Session } from "../session-
|
|
2
|
-
import { t as Auth } from "../auth-
|
|
1
|
+
import { t as Session } from "../session-CuxeTn6B.mjs";
|
|
2
|
+
import { t as Auth } from "../auth-mNBmShhc.mjs";
|
|
3
3
|
import "./auth/index.mjs";
|
|
4
4
|
|
|
5
5
|
export { Auth, Session };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as Cli, Gt as CliGetSessionParams, Ht as CliCreateCodactFailureResponse, Kt as CliGetSessionResponse, Ut as CliCreateSessionParams, Vt as CliCreateCodactFailureParams, Wt as CliCreateSessionResponse } from "../../session-configs-DC9dblKH.mjs";
|
|
2
2
|
export { Cli, CliCreateCodactFailureParams, CliCreateCodactFailureResponse, CliCreateSessionParams, CliCreateSessionResponse, CliGetSessionParams, CliGetSessionResponse };
|