@composio/core 0.20.0 → 0.22.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/dist/{CustomTool-fYEFjSLM.mjs → CustomTool-B-_VjWpy.mjs} +1 -1
- package/dist/{CustomTool-B3m-188G.d.mts → CustomTool-CKBCElpT.d.mts} +1 -1
- package/dist/{Telemetry-JRJJYS4I.mjs → Telemetry-41JkqpZ7.mjs} +3 -2
- package/dist/{cancellation-Dwa9lGHA.mjs → cancellation-DV8CIi52.mjs} +1 -1
- package/dist/{composio-B36OXii1.d.mts → composio-C-418N1P.d.mts} +542 -168
- package/dist/{customTool.types-C436M_D0.d.mts → customTool.types-CK408sI-.d.mts} +522 -66
- package/dist/docs/reference/sdk-reference/typescript/composio.mdx +2 -1
- package/dist/docs/reference/sdk-reference/typescript/index.mdx +1 -0
- package/dist/docs/reference/sdk-reference/typescript/meta.json +1 -0
- package/dist/docs/reference/sdk-reference/typescript/session-configs.mdx +83 -0
- package/dist/docs/reference/sdk-reference/typescript/session.mdx +29 -20
- package/dist/docs/reference/sdk-reference/typescript/sessions.mdx +10 -4
- package/dist/{errors-D_A4b2c2.mjs → errors-Dyiu3ifQ.mjs} +10 -6
- package/dist/experimental/index.d.mts +2 -2
- package/dist/experimental/index.mjs +1 -1
- package/dist/index.d.mts +40 -28
- package/dist/index.mjs +6815 -6571
- package/dist/models/Files.node.mjs +1 -1
- package/dist/{types-Br3GBya5.d.mts → types-RpMRVn4D.d.mts} +2 -2
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.mjs +2 -2
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
- package/package.json +5 -3
- package/src/composio.ts +8 -0
- package/src/errors/ToolRouterErrors.ts +10 -6
- package/src/index.ts +2 -0
- package/src/lib/sessionConfigConflict.ts +43 -0
- package/src/lib/toolRouterParams.ts +43 -10
- package/src/lib/toolRouterSourceSessionConfig.ts +12 -0
- package/src/models/AuthConfigs.ts +0 -9
- package/src/models/ConnectionRequest.ts +21 -18
- package/src/models/Logs.ts +2 -2
- package/src/models/RemoteFile.ts +25 -8
- package/src/models/SessionConfigs.ts +117 -0
- package/src/models/ToolRouter.ts +23 -5
- package/src/models/ToolRouterSession.ts +49 -24
- package/src/models/Tools.ts +7 -5
- package/src/models/Usage.ts +2 -1
- package/src/provider/OpenAIProvider.ts +0 -283
- package/src/telemetry/Telemetry.ts +4 -2
- package/src/types/logs.types.ts +9 -1
- package/src/types/sessionConfigs.types.ts +81 -0
- package/src/types/tool.types.ts +3 -1
- package/src/types/toolRouter.types.ts +177 -13
- package/src/types/usage.types.ts +2 -0
- package/src/utils/safePath.ts +172 -0
- package/src/utils/transformers/logs.ts +3 -2
- package/src/utils/transformers/sessionConfigs.ts +54 -0
- package/src/utils/transformers/toolRouterResponseTransform.ts +24 -0
- package/src/utils/transformers/usage.ts +4 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $r as McpServerGetResponse, An as ConnectedAccountRetrieveResponse, Cn as ConnectedAccountListParams, D as Session, Ea as ToolExecuteResponse, Fa as ToolRetrievalOptions, Ha as ToolkitVersionParam, M as SessionWithoutMcp, Mn as ConnectedAccountRevokeResponse, Na as ToolProxyParams, Oa as ToolList, On as ConnectedAccountRefreshOptions, Sa as ToolExecuteMetaParams, Tn as ConnectedAccountListResponse, Un as CreateConnectedAccountLinkOptions, _n as ConnectedAccountCompleteAuthResponse, ar as BaseComposioProvider, ba as SchemaModifierOptions, ci as ExecuteToolFnOptions, er as UpdateConnectedAccountAclParams, et as ToolRouterSessionDeleteResponse, f as CustomToolkit, fi as ToolCallSession, hn as ConnectedAccountCompleteAuthParams, ia as ExecuteToolModifiers, ii as McpUrlResponse, ka as ToolListParams, nr as UpdateConnectedAccountParams, o as CustomTool, oa as ProviderOptions, on as ComposioRequestOptions, or as BaseNonAgenticProvider, qn as CreateConnectedAccountOptions, sa as SessionExecuteMetaModifiers, sn as ConnectionRequest, wa as ToolExecuteParams, xa as Tool, z as ToolRouterCreateSessionConfig } from "./customTool.types-CK408sI-.mjs";
|
|
2
2
|
import ComposioClient, { Composio } from "@composio/client";
|
|
3
3
|
import z, { z as z$1 } from "zod/v3";
|
|
4
4
|
import { Files } from "#files";
|
|
@@ -8,7 +8,6 @@ import { ToolGetInputParams, ToolGetInputResponse, ToolProxyResponse, ToolRetrie
|
|
|
8
8
|
import { TriggersTypeRetrieveEnumResponse } from "@composio/client/resources/index";
|
|
9
9
|
import { AuthConfigDeleteResponse, AuthConfigUpdateResponse, AuthConfigUpdateStatusResponse } from "@composio/client/resources/auth-configs";
|
|
10
10
|
import { OpenAI } from "openai";
|
|
11
|
-
import { Stream } from "openai/streaming";
|
|
12
11
|
//#region src/models/Tools.d.ts
|
|
13
12
|
type ToolRouterSessionExecuteOptions = {
|
|
14
13
|
experimental?: SessionExecuteParams.Experimental;
|
|
@@ -3601,9 +3600,9 @@ type TriggerInstanceUpsertResponse = z$1.infer<typeof TriggerInstanceUpsertRespo
|
|
|
3601
3600
|
declare const TriggerInstanceManageUpdateParamsSchema: z$1.ZodObject<{
|
|
3602
3601
|
status: z$1.ZodEnum<["enable", "disable"]>;
|
|
3603
3602
|
}, "strip", z$1.ZodTypeAny, {
|
|
3604
|
-
status: "
|
|
3603
|
+
status: "disable" | "enable";
|
|
3605
3604
|
}, {
|
|
3606
|
-
status: "
|
|
3605
|
+
status: "disable" | "enable";
|
|
3607
3606
|
}>;
|
|
3608
3607
|
type TriggerInstanceManageUpdateParams = z$1.infer<typeof TriggerInstanceManageUpdateParamsSchema>;
|
|
3609
3608
|
declare const TriggerInstanceManageUpdateResponseSchema: z$1.ZodObject<{
|
|
@@ -4624,12 +4623,6 @@ declare class Triggers<TProvider extends BaseComposioProvider<unknown, unknown,
|
|
|
4624
4623
|
declare class AuthConfigs {
|
|
4625
4624
|
private client;
|
|
4626
4625
|
constructor(client: ComposioClient);
|
|
4627
|
-
/**
|
|
4628
|
-
* Protected getter for the client instance.
|
|
4629
|
-
* This is primarily used for testing purposes.
|
|
4630
|
-
* @protected
|
|
4631
|
-
*/
|
|
4632
|
-
protected getClient(): ComposioClient;
|
|
4633
4626
|
/**
|
|
4634
4627
|
* Lists authentication configurations based on provided filter criteria.
|
|
4635
4628
|
*
|
|
@@ -5325,13 +5318,17 @@ declare const UsageSummaryResponseSchema: z$1.ZodObject<{
|
|
|
5325
5318
|
totalQuantity: string;
|
|
5326
5319
|
eventCount: number;
|
|
5327
5320
|
}>>;
|
|
5321
|
+
/** Total Instant charge for the window, in USD as an exact decimal string. */
|
|
5322
|
+
instantCharge: z$1.ZodString;
|
|
5328
5323
|
}, "strip", z$1.ZodTypeAny, {
|
|
5324
|
+
instantCharge: string;
|
|
5329
5325
|
entities: Record<string, {
|
|
5330
5326
|
unit: string;
|
|
5331
5327
|
totalQuantity: string;
|
|
5332
5328
|
eventCount: number;
|
|
5333
5329
|
}>;
|
|
5334
5330
|
}, {
|
|
5331
|
+
instantCharge: string;
|
|
5335
5332
|
entities: Record<string, {
|
|
5336
5333
|
unit: string;
|
|
5337
5334
|
totalQuantity: string;
|
|
@@ -5403,6 +5400,7 @@ type UsageBreakdownResponse = z$1.infer<typeof UsageBreakdownResponseSchema>;
|
|
|
5403
5400
|
* ```typescript
|
|
5404
5401
|
* const summary = await composio.experimental.usage.summary();
|
|
5405
5402
|
* console.log(summary.entities.tool_calls?.totalQuantity);
|
|
5403
|
+
* console.log(summary.instantCharge); // exact USD string
|
|
5406
5404
|
*
|
|
5407
5405
|
* const byTool = await composio.experimental.usage.breakdown('tool_calls', {
|
|
5408
5406
|
* groupBy: 'tool_slug',
|
|
@@ -5418,7 +5416,7 @@ declare class Usage {
|
|
|
5418
5416
|
* **Experimental — shape may change in future releases.**
|
|
5419
5417
|
*
|
|
5420
5418
|
* @param {UsageSummaryParams} [params] - Optional range, `entityTypes` and filters
|
|
5421
|
-
* @returns {Promise<UsageSummaryResponse>} Totals keyed by entity type
|
|
5419
|
+
* @returns {Promise<UsageSummaryResponse>} Totals keyed by entity type and the exact USD Instant charge
|
|
5422
5420
|
* @throws {ValidationError} If the params fail validation
|
|
5423
5421
|
*
|
|
5424
5422
|
* @example
|
|
@@ -7176,6 +7174,15 @@ declare const ToolExecutionLogParentSchema: z$1.ZodNullable<z$1.ZodObject<{
|
|
|
7176
7174
|
logId: string;
|
|
7177
7175
|
toolSlug: string;
|
|
7178
7176
|
}>>;
|
|
7177
|
+
/** Tool log metadata, including the optional exact USD Instant charge. */
|
|
7178
|
+
declare const ToolExecutionLogMetadataSchema: z$1.ZodObject<{
|
|
7179
|
+
instant_charge: z$1.ZodOptional<z$1.ZodString>;
|
|
7180
|
+
}, "strip", z$1.ZodUnknown, z$1.objectOutputType<{
|
|
7181
|
+
instant_charge: z$1.ZodOptional<z$1.ZodString>;
|
|
7182
|
+
}, z$1.ZodUnknown, "strip">, z$1.objectInputType<{
|
|
7183
|
+
instant_charge: z$1.ZodOptional<z$1.ZodString>;
|
|
7184
|
+
}, z$1.ZodUnknown, "strip">>;
|
|
7185
|
+
type ToolExecutionLogMetadata = z$1.infer<typeof ToolExecutionLogMetadataSchema>;
|
|
7179
7186
|
/**
|
|
7180
7187
|
* A tool-execution log entry as returned by `composio.logs.search()`.
|
|
7181
7188
|
*/
|
|
@@ -7188,7 +7195,13 @@ declare const ToolExecutionLogSchema: z$1.ZodObject<{
|
|
|
7188
7195
|
status: z$1.ZodEnum<["success", "failed"]>;
|
|
7189
7196
|
level: z$1.ZodEnum<["info", "error", "warn"]>;
|
|
7190
7197
|
message: z$1.ZodOptional<z$1.ZodString>;
|
|
7191
|
-
metadata: z$1.
|
|
7198
|
+
metadata: z$1.ZodObject<{
|
|
7199
|
+
instant_charge: z$1.ZodOptional<z$1.ZodString>;
|
|
7200
|
+
}, "strip", z$1.ZodUnknown, z$1.objectOutputType<{
|
|
7201
|
+
instant_charge: z$1.ZodOptional<z$1.ZodString>;
|
|
7202
|
+
}, z$1.ZodUnknown, "strip">, z$1.objectInputType<{
|
|
7203
|
+
instant_charge: z$1.ZodOptional<z$1.ZodString>;
|
|
7204
|
+
}, z$1.ZodUnknown, "strip">>;
|
|
7192
7205
|
metrics: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
7193
7206
|
parent: z$1.ZodNullable<z$1.ZodObject<{
|
|
7194
7207
|
logId: z$1.ZodString;
|
|
@@ -7204,7 +7217,11 @@ declare const ToolExecutionLogSchema: z$1.ZodObject<{
|
|
|
7204
7217
|
type: string;
|
|
7205
7218
|
status: "success" | "failed";
|
|
7206
7219
|
id: string;
|
|
7207
|
-
metadata:
|
|
7220
|
+
metadata: {
|
|
7221
|
+
instant_charge?: string | undefined;
|
|
7222
|
+
} & {
|
|
7223
|
+
[k: string]: unknown;
|
|
7224
|
+
};
|
|
7208
7225
|
timestamp: string;
|
|
7209
7226
|
level: "error" | "warn" | "info";
|
|
7210
7227
|
metrics: Record<string, unknown>;
|
|
@@ -7217,7 +7234,11 @@ declare const ToolExecutionLogSchema: z$1.ZodObject<{
|
|
|
7217
7234
|
type: string;
|
|
7218
7235
|
status: "success" | "failed";
|
|
7219
7236
|
id: string;
|
|
7220
|
-
metadata:
|
|
7237
|
+
metadata: {
|
|
7238
|
+
instant_charge?: string | undefined;
|
|
7239
|
+
} & {
|
|
7240
|
+
[k: string]: unknown;
|
|
7241
|
+
};
|
|
7221
7242
|
timestamp: string;
|
|
7222
7243
|
level: "error" | "warn" | "info";
|
|
7223
7244
|
metrics: Record<string, unknown>;
|
|
@@ -7238,7 +7259,13 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7238
7259
|
status: z$1.ZodEnum<["success", "failed"]>;
|
|
7239
7260
|
level: z$1.ZodEnum<["info", "error", "warn"]>;
|
|
7240
7261
|
message: z$1.ZodOptional<z$1.ZodString>;
|
|
7241
|
-
metadata: z$1.
|
|
7262
|
+
metadata: z$1.ZodObject<{
|
|
7263
|
+
instant_charge: z$1.ZodOptional<z$1.ZodString>;
|
|
7264
|
+
}, "strip", z$1.ZodUnknown, z$1.objectOutputType<{
|
|
7265
|
+
instant_charge: z$1.ZodOptional<z$1.ZodString>;
|
|
7266
|
+
}, z$1.ZodUnknown, "strip">, z$1.objectInputType<{
|
|
7267
|
+
instant_charge: z$1.ZodOptional<z$1.ZodString>;
|
|
7268
|
+
}, z$1.ZodUnknown, "strip">>;
|
|
7242
7269
|
metrics: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
7243
7270
|
parent: z$1.ZodNullable<z$1.ZodObject<{
|
|
7244
7271
|
logId: z$1.ZodString;
|
|
@@ -7254,7 +7281,11 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7254
7281
|
type: string;
|
|
7255
7282
|
status: "success" | "failed";
|
|
7256
7283
|
id: string;
|
|
7257
|
-
metadata:
|
|
7284
|
+
metadata: {
|
|
7285
|
+
instant_charge?: string | undefined;
|
|
7286
|
+
} & {
|
|
7287
|
+
[k: string]: unknown;
|
|
7288
|
+
};
|
|
7258
7289
|
timestamp: string;
|
|
7259
7290
|
level: "error" | "warn" | "info";
|
|
7260
7291
|
metrics: Record<string, unknown>;
|
|
@@ -7267,7 +7298,11 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7267
7298
|
type: string;
|
|
7268
7299
|
status: "success" | "failed";
|
|
7269
7300
|
id: string;
|
|
7270
|
-
metadata:
|
|
7301
|
+
metadata: {
|
|
7302
|
+
instant_charge?: string | undefined;
|
|
7303
|
+
} & {
|
|
7304
|
+
[k: string]: unknown;
|
|
7305
|
+
};
|
|
7271
7306
|
timestamp: string;
|
|
7272
7307
|
level: "error" | "warn" | "info";
|
|
7273
7308
|
metrics: Record<string, unknown>;
|
|
@@ -7284,7 +7319,11 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7284
7319
|
type: string;
|
|
7285
7320
|
status: "success" | "failed";
|
|
7286
7321
|
id: string;
|
|
7287
|
-
metadata:
|
|
7322
|
+
metadata: {
|
|
7323
|
+
instant_charge?: string | undefined;
|
|
7324
|
+
} & {
|
|
7325
|
+
[k: string]: unknown;
|
|
7326
|
+
};
|
|
7288
7327
|
timestamp: string;
|
|
7289
7328
|
level: "error" | "warn" | "info";
|
|
7290
7329
|
metrics: Record<string, unknown>;
|
|
@@ -7300,7 +7339,11 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7300
7339
|
type: string;
|
|
7301
7340
|
status: "success" | "failed";
|
|
7302
7341
|
id: string;
|
|
7303
|
-
metadata:
|
|
7342
|
+
metadata: {
|
|
7343
|
+
instant_charge?: string | undefined;
|
|
7344
|
+
} & {
|
|
7345
|
+
[k: string]: unknown;
|
|
7346
|
+
};
|
|
7304
7347
|
timestamp: string;
|
|
7305
7348
|
level: "error" | "warn" | "info";
|
|
7306
7349
|
metrics: Record<string, unknown>;
|
|
@@ -7325,7 +7368,13 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
|
|
|
7325
7368
|
status: z$1.ZodEnum<["success", "failed"]>;
|
|
7326
7369
|
level: z$1.ZodEnum<["info", "error", "warn"]>;
|
|
7327
7370
|
message: z$1.ZodOptional<z$1.ZodString>;
|
|
7328
|
-
metadata: z$1.
|
|
7371
|
+
metadata: z$1.ZodObject<{
|
|
7372
|
+
instant_charge: z$1.ZodOptional<z$1.ZodString>;
|
|
7373
|
+
}, "strip", z$1.ZodUnknown, z$1.objectOutputType<{
|
|
7374
|
+
instant_charge: z$1.ZodOptional<z$1.ZodString>;
|
|
7375
|
+
}, z$1.ZodUnknown, "strip">, z$1.objectInputType<{
|
|
7376
|
+
instant_charge: z$1.ZodOptional<z$1.ZodString>;
|
|
7377
|
+
}, z$1.ZodUnknown, "strip">>;
|
|
7329
7378
|
metrics: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
7330
7379
|
parent: z$1.ZodNullable<z$1.ZodObject<{
|
|
7331
7380
|
logId: z$1.ZodString;
|
|
@@ -7382,7 +7431,11 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
|
|
|
7382
7431
|
status: "success" | "failed";
|
|
7383
7432
|
data: Record<string, unknown>;
|
|
7384
7433
|
id: string;
|
|
7385
|
-
metadata:
|
|
7434
|
+
metadata: {
|
|
7435
|
+
instant_charge?: string | undefined;
|
|
7436
|
+
} & {
|
|
7437
|
+
[k: string]: unknown;
|
|
7438
|
+
};
|
|
7386
7439
|
timestamp: string;
|
|
7387
7440
|
level: "error" | "warn" | "info";
|
|
7388
7441
|
metrics: Record<string, unknown>;
|
|
@@ -7410,7 +7463,11 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
|
|
|
7410
7463
|
status: "success" | "failed";
|
|
7411
7464
|
data: Record<string, unknown>;
|
|
7412
7465
|
id: string;
|
|
7413
|
-
metadata:
|
|
7466
|
+
metadata: {
|
|
7467
|
+
instant_charge?: string | undefined;
|
|
7468
|
+
} & {
|
|
7469
|
+
[k: string]: unknown;
|
|
7470
|
+
};
|
|
7414
7471
|
timestamp: string;
|
|
7415
7472
|
level: "error" | "warn" | "info";
|
|
7416
7473
|
metrics: Record<string, unknown>;
|
|
@@ -7457,7 +7514,7 @@ declare class Logs {
|
|
|
7457
7514
|
* pagination.
|
|
7458
7515
|
*
|
|
7459
7516
|
* @param {LogSearchParams} [params] - Filters, `timeRange`, `limit` and `cursor`
|
|
7460
|
-
* @returns {Promise<LogSearchResponse>} Matching logs and the next cursor
|
|
7517
|
+
* @returns {Promise<LogSearchResponse>} Matching logs and the next cursor. Charged calls include `metadata.instant_charge` as an exact USD string.
|
|
7461
7518
|
* @throws {ValidationError} If the params fail validation
|
|
7462
7519
|
*
|
|
7463
7520
|
* @example
|
|
@@ -7477,7 +7534,7 @@ declare class Logs {
|
|
|
7477
7534
|
* source and raw `data`).
|
|
7478
7535
|
*
|
|
7479
7536
|
* @param {string} id - The log id
|
|
7480
|
-
* @returns {Promise<ToolExecutionLogDetail>} The log detail
|
|
7537
|
+
* @returns {Promise<ToolExecutionLogDetail>} The log detail, with an optional exact USD charge in `metadata.instant_charge`
|
|
7481
7538
|
*
|
|
7482
7539
|
* @example
|
|
7483
7540
|
* ```typescript
|
|
@@ -7488,6 +7545,454 @@ declare class Logs {
|
|
|
7488
7545
|
get(id: string, requestOptions?: ComposioRequestOptions): Promise<ToolExecutionLogDetail>;
|
|
7489
7546
|
}
|
|
7490
7547
|
//#endregion
|
|
7548
|
+
//#region src/types/sessionConfigs.types.d.ts
|
|
7549
|
+
/**
|
|
7550
|
+
* Params for `composio.sessionConfigs.list()`. The backend owns the defaults:
|
|
7551
|
+
* active configs only, 20 per page, at most 100.
|
|
7552
|
+
*/
|
|
7553
|
+
declare const SessionConfigListParamsSchema: z$1.ZodObject<{
|
|
7554
|
+
/** Case-insensitive substring match against the config name. */
|
|
7555
|
+
search: z$1.ZodOptional<z$1.ZodString>;
|
|
7556
|
+
/** `true` returns only archived configs. Omitted returns active configs. */
|
|
7557
|
+
archived: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
7558
|
+
/** Page size. The backend defaults to 20 and caps it at 100. */
|
|
7559
|
+
limit: z$1.ZodOptional<z$1.ZodNumber>;
|
|
7560
|
+
/** `nextCursor` from a previous page. */
|
|
7561
|
+
cursor: z$1.ZodOptional<z$1.ZodString>;
|
|
7562
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7563
|
+
limit?: number | undefined;
|
|
7564
|
+
search?: string | undefined;
|
|
7565
|
+
cursor?: string | undefined;
|
|
7566
|
+
archived?: boolean | undefined;
|
|
7567
|
+
}, {
|
|
7568
|
+
limit?: number | undefined;
|
|
7569
|
+
search?: string | undefined;
|
|
7570
|
+
cursor?: string | undefined;
|
|
7571
|
+
archived?: boolean | undefined;
|
|
7572
|
+
}>;
|
|
7573
|
+
type SessionConfigListParams = z$1.infer<typeof SessionConfigListParamsSchema>;
|
|
7574
|
+
/**
|
|
7575
|
+
* A saved Session config as listed by `composio.sessionConfigs.list()`.
|
|
7576
|
+
*/
|
|
7577
|
+
declare const SessionConfigSummarySchema: z$1.ZodObject<{
|
|
7578
|
+
/** Stable `sc_…` identifier. */
|
|
7579
|
+
id: z$1.ZodString;
|
|
7580
|
+
/** Project-unique display name. */
|
|
7581
|
+
name: z$1.ZodString;
|
|
7582
|
+
archived: z$1.ZodBoolean;
|
|
7583
|
+
/** ISO 8601 timestamp. */
|
|
7584
|
+
createdAt: z$1.ZodString;
|
|
7585
|
+
/** ISO 8601 timestamp. */
|
|
7586
|
+
updatedAt: z$1.ZodString;
|
|
7587
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7588
|
+
name: string;
|
|
7589
|
+
id: string;
|
|
7590
|
+
createdAt: string;
|
|
7591
|
+
updatedAt: string;
|
|
7592
|
+
archived: boolean;
|
|
7593
|
+
}, {
|
|
7594
|
+
name: string;
|
|
7595
|
+
id: string;
|
|
7596
|
+
createdAt: string;
|
|
7597
|
+
updatedAt: string;
|
|
7598
|
+
archived: boolean;
|
|
7599
|
+
}>;
|
|
7600
|
+
type SessionConfigSummary = z$1.infer<typeof SessionConfigSummarySchema>;
|
|
7601
|
+
declare const SessionConfigListResponseSchema: z$1.ZodObject<{
|
|
7602
|
+
items: z$1.ZodArray<z$1.ZodObject<{
|
|
7603
|
+
/** Stable `sc_…` identifier. */
|
|
7604
|
+
id: z$1.ZodString;
|
|
7605
|
+
/** Project-unique display name. */
|
|
7606
|
+
name: z$1.ZodString;
|
|
7607
|
+
archived: z$1.ZodBoolean;
|
|
7608
|
+
/** ISO 8601 timestamp. */
|
|
7609
|
+
createdAt: z$1.ZodString;
|
|
7610
|
+
/** ISO 8601 timestamp. */
|
|
7611
|
+
updatedAt: z$1.ZodString;
|
|
7612
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7613
|
+
name: string;
|
|
7614
|
+
id: string;
|
|
7615
|
+
createdAt: string;
|
|
7616
|
+
updatedAt: string;
|
|
7617
|
+
archived: boolean;
|
|
7618
|
+
}, {
|
|
7619
|
+
name: string;
|
|
7620
|
+
id: string;
|
|
7621
|
+
createdAt: string;
|
|
7622
|
+
updatedAt: string;
|
|
7623
|
+
archived: boolean;
|
|
7624
|
+
}>, "many">;
|
|
7625
|
+
/** Cursor for the next page, or `null` on the last page. */
|
|
7626
|
+
nextCursor: z$1.ZodNullable<z$1.ZodString>;
|
|
7627
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7628
|
+
items: {
|
|
7629
|
+
name: string;
|
|
7630
|
+
id: string;
|
|
7631
|
+
createdAt: string;
|
|
7632
|
+
updatedAt: string;
|
|
7633
|
+
archived: boolean;
|
|
7634
|
+
}[];
|
|
7635
|
+
nextCursor: string | null;
|
|
7636
|
+
}, {
|
|
7637
|
+
items: {
|
|
7638
|
+
name: string;
|
|
7639
|
+
id: string;
|
|
7640
|
+
createdAt: string;
|
|
7641
|
+
updatedAt: string;
|
|
7642
|
+
archived: boolean;
|
|
7643
|
+
}[];
|
|
7644
|
+
nextCursor: string | null;
|
|
7645
|
+
}>;
|
|
7646
|
+
type SessionConfigListResponse = z$1.infer<typeof SessionConfigListResponseSchema>;
|
|
7647
|
+
/**
|
|
7648
|
+
* The access policy stored in a saved Session config, in the backend's
|
|
7649
|
+
* `enable`/`disable` shape. Toolkit slug keys and tag names are kept exactly
|
|
7650
|
+
* as the backend sends them.
|
|
7651
|
+
*/
|
|
7652
|
+
declare const SessionConfigPolicySchema: z$1.ZodObject<{
|
|
7653
|
+
toolkits: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodObject<{
|
|
7654
|
+
enable: z$1.ZodArray<z$1.ZodString, "many">;
|
|
7655
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7656
|
+
enable: string[];
|
|
7657
|
+
}, {
|
|
7658
|
+
enable: string[];
|
|
7659
|
+
}>, z$1.ZodObject<{
|
|
7660
|
+
disable: z$1.ZodArray<z$1.ZodString, "many">;
|
|
7661
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7662
|
+
disable: string[];
|
|
7663
|
+
}, {
|
|
7664
|
+
disable: string[];
|
|
7665
|
+
}>]>>;
|
|
7666
|
+
/** Per-toolkit tool policy, keyed by toolkit slug. */
|
|
7667
|
+
tools: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodObject<{
|
|
7668
|
+
enable: z$1.ZodArray<z$1.ZodString, "many">;
|
|
7669
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7670
|
+
enable: string[];
|
|
7671
|
+
}, {
|
|
7672
|
+
enable: string[];
|
|
7673
|
+
}>, z$1.ZodObject<{
|
|
7674
|
+
disable: z$1.ZodArray<z$1.ZodString, "many">;
|
|
7675
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7676
|
+
disable: string[];
|
|
7677
|
+
}, {
|
|
7678
|
+
disable: string[];
|
|
7679
|
+
}>, z$1.ZodObject<{
|
|
7680
|
+
tags: z$1.ZodObject<{
|
|
7681
|
+
enable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
7682
|
+
disable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
7683
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7684
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7685
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7686
|
+
}, {
|
|
7687
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7688
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7689
|
+
}>;
|
|
7690
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7691
|
+
tags: {
|
|
7692
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7693
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7694
|
+
};
|
|
7695
|
+
}, {
|
|
7696
|
+
tags: {
|
|
7697
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7698
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7699
|
+
};
|
|
7700
|
+
}>]>>>;
|
|
7701
|
+
/** Global tag policy. */
|
|
7702
|
+
tags: z$1.ZodOptional<z$1.ZodObject<{
|
|
7703
|
+
enable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
7704
|
+
disable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
7705
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7706
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7707
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7708
|
+
}, {
|
|
7709
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7710
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7711
|
+
}>>;
|
|
7712
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7713
|
+
tags?: {
|
|
7714
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7715
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7716
|
+
} | undefined;
|
|
7717
|
+
tools?: Record<string, {
|
|
7718
|
+
enable: string[];
|
|
7719
|
+
} | {
|
|
7720
|
+
disable: string[];
|
|
7721
|
+
} | {
|
|
7722
|
+
tags: {
|
|
7723
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7724
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7725
|
+
};
|
|
7726
|
+
}> | undefined;
|
|
7727
|
+
toolkits?: {
|
|
7728
|
+
enable: string[];
|
|
7729
|
+
} | {
|
|
7730
|
+
disable: string[];
|
|
7731
|
+
} | undefined;
|
|
7732
|
+
}, {
|
|
7733
|
+
tags?: {
|
|
7734
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7735
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7736
|
+
} | undefined;
|
|
7737
|
+
tools?: Record<string, {
|
|
7738
|
+
enable: string[];
|
|
7739
|
+
} | {
|
|
7740
|
+
disable: string[];
|
|
7741
|
+
} | {
|
|
7742
|
+
tags: {
|
|
7743
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7744
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7745
|
+
};
|
|
7746
|
+
}> | undefined;
|
|
7747
|
+
toolkits?: {
|
|
7748
|
+
enable: string[];
|
|
7749
|
+
} | {
|
|
7750
|
+
disable: string[];
|
|
7751
|
+
} | undefined;
|
|
7752
|
+
}>;
|
|
7753
|
+
type SessionConfigPolicy = z$1.infer<typeof SessionConfigPolicySchema>;
|
|
7754
|
+
/**
|
|
7755
|
+
* A saved Session config with its description and access policy, as returned
|
|
7756
|
+
* by `composio.sessionConfigs.get()`.
|
|
7757
|
+
*/
|
|
7758
|
+
declare const SessionConfigSchema: z$1.ZodObject<{
|
|
7759
|
+
/** Stable `sc_…` identifier. */
|
|
7760
|
+
id: z$1.ZodString;
|
|
7761
|
+
/** Project-unique display name. */
|
|
7762
|
+
name: z$1.ZodString;
|
|
7763
|
+
archived: z$1.ZodBoolean;
|
|
7764
|
+
/** ISO 8601 timestamp. */
|
|
7765
|
+
createdAt: z$1.ZodString;
|
|
7766
|
+
/** ISO 8601 timestamp. */
|
|
7767
|
+
updatedAt: z$1.ZodString;
|
|
7768
|
+
} & {
|
|
7769
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
7770
|
+
config: z$1.ZodObject<{
|
|
7771
|
+
toolkits: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodObject<{
|
|
7772
|
+
enable: z$1.ZodArray<z$1.ZodString, "many">;
|
|
7773
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7774
|
+
enable: string[];
|
|
7775
|
+
}, {
|
|
7776
|
+
enable: string[];
|
|
7777
|
+
}>, z$1.ZodObject<{
|
|
7778
|
+
disable: z$1.ZodArray<z$1.ZodString, "many">;
|
|
7779
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7780
|
+
disable: string[];
|
|
7781
|
+
}, {
|
|
7782
|
+
disable: string[];
|
|
7783
|
+
}>]>>;
|
|
7784
|
+
/** Per-toolkit tool policy, keyed by toolkit slug. */
|
|
7785
|
+
tools: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<[z$1.ZodObject<{
|
|
7786
|
+
enable: z$1.ZodArray<z$1.ZodString, "many">;
|
|
7787
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7788
|
+
enable: string[];
|
|
7789
|
+
}, {
|
|
7790
|
+
enable: string[];
|
|
7791
|
+
}>, z$1.ZodObject<{
|
|
7792
|
+
disable: z$1.ZodArray<z$1.ZodString, "many">;
|
|
7793
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7794
|
+
disable: string[];
|
|
7795
|
+
}, {
|
|
7796
|
+
disable: string[];
|
|
7797
|
+
}>, z$1.ZodObject<{
|
|
7798
|
+
tags: z$1.ZodObject<{
|
|
7799
|
+
enable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
7800
|
+
disable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
7801
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7802
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7803
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7804
|
+
}, {
|
|
7805
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7806
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7807
|
+
}>;
|
|
7808
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7809
|
+
tags: {
|
|
7810
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7811
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7812
|
+
};
|
|
7813
|
+
}, {
|
|
7814
|
+
tags: {
|
|
7815
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7816
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7817
|
+
};
|
|
7818
|
+
}>]>>>;
|
|
7819
|
+
/** Global tag policy. */
|
|
7820
|
+
tags: z$1.ZodOptional<z$1.ZodObject<{
|
|
7821
|
+
enable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
7822
|
+
disable: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<["readOnlyHint", "destructiveHint", "idempotentHint", "openWorldHint"]>, "many">>;
|
|
7823
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7824
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7825
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7826
|
+
}, {
|
|
7827
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7828
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7829
|
+
}>>;
|
|
7830
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7831
|
+
tags?: {
|
|
7832
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7833
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7834
|
+
} | undefined;
|
|
7835
|
+
tools?: Record<string, {
|
|
7836
|
+
enable: string[];
|
|
7837
|
+
} | {
|
|
7838
|
+
disable: string[];
|
|
7839
|
+
} | {
|
|
7840
|
+
tags: {
|
|
7841
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7842
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7843
|
+
};
|
|
7844
|
+
}> | undefined;
|
|
7845
|
+
toolkits?: {
|
|
7846
|
+
enable: string[];
|
|
7847
|
+
} | {
|
|
7848
|
+
disable: string[];
|
|
7849
|
+
} | undefined;
|
|
7850
|
+
}, {
|
|
7851
|
+
tags?: {
|
|
7852
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7853
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7854
|
+
} | undefined;
|
|
7855
|
+
tools?: Record<string, {
|
|
7856
|
+
enable: string[];
|
|
7857
|
+
} | {
|
|
7858
|
+
disable: string[];
|
|
7859
|
+
} | {
|
|
7860
|
+
tags: {
|
|
7861
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7862
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7863
|
+
};
|
|
7864
|
+
}> | undefined;
|
|
7865
|
+
toolkits?: {
|
|
7866
|
+
enable: string[];
|
|
7867
|
+
} | {
|
|
7868
|
+
disable: string[];
|
|
7869
|
+
} | undefined;
|
|
7870
|
+
}>;
|
|
7871
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
7872
|
+
name: string;
|
|
7873
|
+
description: string | null;
|
|
7874
|
+
id: string;
|
|
7875
|
+
createdAt: string;
|
|
7876
|
+
updatedAt: string;
|
|
7877
|
+
config: {
|
|
7878
|
+
tags?: {
|
|
7879
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7880
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7881
|
+
} | undefined;
|
|
7882
|
+
tools?: Record<string, {
|
|
7883
|
+
enable: string[];
|
|
7884
|
+
} | {
|
|
7885
|
+
disable: string[];
|
|
7886
|
+
} | {
|
|
7887
|
+
tags: {
|
|
7888
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7889
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7890
|
+
};
|
|
7891
|
+
}> | undefined;
|
|
7892
|
+
toolkits?: {
|
|
7893
|
+
enable: string[];
|
|
7894
|
+
} | {
|
|
7895
|
+
disable: string[];
|
|
7896
|
+
} | undefined;
|
|
7897
|
+
};
|
|
7898
|
+
archived: boolean;
|
|
7899
|
+
}, {
|
|
7900
|
+
name: string;
|
|
7901
|
+
description: string | null;
|
|
7902
|
+
id: string;
|
|
7903
|
+
createdAt: string;
|
|
7904
|
+
updatedAt: string;
|
|
7905
|
+
config: {
|
|
7906
|
+
tags?: {
|
|
7907
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7908
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7909
|
+
} | undefined;
|
|
7910
|
+
tools?: Record<string, {
|
|
7911
|
+
enable: string[];
|
|
7912
|
+
} | {
|
|
7913
|
+
disable: string[];
|
|
7914
|
+
} | {
|
|
7915
|
+
tags: {
|
|
7916
|
+
disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7917
|
+
enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
|
|
7918
|
+
};
|
|
7919
|
+
}> | undefined;
|
|
7920
|
+
toolkits?: {
|
|
7921
|
+
enable: string[];
|
|
7922
|
+
} | {
|
|
7923
|
+
disable: string[];
|
|
7924
|
+
} | undefined;
|
|
7925
|
+
};
|
|
7926
|
+
archived: boolean;
|
|
7927
|
+
}>;
|
|
7928
|
+
type SessionConfig = z$1.infer<typeof SessionConfigSchema>;
|
|
7929
|
+
//#endregion
|
|
7930
|
+
//#region src/models/SessionConfigs.d.ts
|
|
7931
|
+
/**
|
|
7932
|
+
* `composio.sessionConfigs` — saved, reusable Session configs.
|
|
7933
|
+
*
|
|
7934
|
+
* A Session config is a named access policy (`sc_…`) built in the Composio
|
|
7935
|
+
* Dashboard under Sessions → Configs. Pass its id as
|
|
7936
|
+
* `experimental.sessionConfigId` to `composio.sessions.create()` or
|
|
7937
|
+
* `session.update()` to apply it.
|
|
7938
|
+
*
|
|
7939
|
+
* These endpoints require Session configs to be enabled for the project;
|
|
7940
|
+
* otherwise the backend returns 403.
|
|
7941
|
+
*
|
|
7942
|
+
* @example
|
|
7943
|
+
* ```typescript
|
|
7944
|
+
* const { items } = await composio.sessionConfigs.list({ search: 'support' });
|
|
7945
|
+
* const sessionConfig = await composio.sessionConfigs.get(items[0].id);
|
|
7946
|
+
* const session = await composio.sessions.create('user_123', {
|
|
7947
|
+
* experimental: { sessionConfigId: sessionConfig.id },
|
|
7948
|
+
* });
|
|
7949
|
+
* ```
|
|
7950
|
+
*/
|
|
7951
|
+
declare class SessionConfigs {
|
|
7952
|
+
private client;
|
|
7953
|
+
constructor(client: ComposioClient);
|
|
7954
|
+
/**
|
|
7955
|
+
* List the project's saved Session configs with cursor pagination.
|
|
7956
|
+
*
|
|
7957
|
+
* Omitting `archived` returns active configs; `archived: true` returns only
|
|
7958
|
+
* archived ones. The backend defaults `limit` to 20 and caps it at 100.
|
|
7959
|
+
*
|
|
7960
|
+
* Requires Session configs to be enabled for the project.
|
|
7961
|
+
*
|
|
7962
|
+
* @param {SessionConfigListParams} [params] - `search`, `archived`, `limit` and `cursor`
|
|
7963
|
+
* @returns {Promise<SessionConfigListResponse>} Config summaries and the next cursor
|
|
7964
|
+
* @throws {ValidationError} If the params fail validation
|
|
7965
|
+
*
|
|
7966
|
+
* @example
|
|
7967
|
+
* ```typescript
|
|
7968
|
+
* let cursor: string | undefined;
|
|
7969
|
+
* do {
|
|
7970
|
+
* const page = await composio.sessionConfigs.list({ cursor });
|
|
7971
|
+
* for (const item of page.items) console.log(item.id, item.name);
|
|
7972
|
+
* cursor = page.nextCursor ?? undefined;
|
|
7973
|
+
* } while (cursor);
|
|
7974
|
+
* ```
|
|
7975
|
+
*/
|
|
7976
|
+
list(params?: SessionConfigListParams, requestOptions?: ComposioRequestOptions): Promise<SessionConfigListResponse>;
|
|
7977
|
+
/**
|
|
7978
|
+
* Retrieve one saved Session config with its description and access
|
|
7979
|
+
* policy. A missing or cross-project id surfaces as the backend's 404.
|
|
7980
|
+
*
|
|
7981
|
+
* Requires Session configs to be enabled for the project.
|
|
7982
|
+
*
|
|
7983
|
+
* @param {string} id - The `sc_…` id of the Session config
|
|
7984
|
+
* @returns {Promise<SessionConfig>} The config and its policy
|
|
7985
|
+
* @throws {ValidationError} If `id` is empty
|
|
7986
|
+
*
|
|
7987
|
+
* @example
|
|
7988
|
+
* ```typescript
|
|
7989
|
+
* const sessionConfig = await composio.sessionConfigs.get('sc_abc123');
|
|
7990
|
+
* console.log(sessionConfig.config.toolkits);
|
|
7991
|
+
* ```
|
|
7992
|
+
*/
|
|
7993
|
+
get(id: string, requestOptions?: ComposioRequestOptions): Promise<SessionConfig>;
|
|
7994
|
+
}
|
|
7995
|
+
//#endregion
|
|
7491
7996
|
//#region src/types/keyring.types.d.ts
|
|
7492
7997
|
/**
|
|
7493
7998
|
* A public JWK a secret can be sealed to. Fields keep their JWK names so a
|
|
@@ -7850,149 +8355,6 @@ declare class OpenAIProvider extends BaseNonAgenticProvider<OpenAiToolCollection
|
|
|
7850
8355
|
*/
|
|
7851
8356
|
handleToolCalls(session: ToolCallSession, chatCompletion: OpenAI.ChatCompletion): Promise<OpenAI.ChatCompletionToolMessageParam[]>;
|
|
7852
8357
|
handleToolCalls(userId: string, chatCompletion: OpenAI.ChatCompletion, options?: ExecuteToolFnOptions, modifiers?: ExecuteToolModifiers): Promise<OpenAI.ChatCompletionToolMessageParam[]>;
|
|
7853
|
-
/**
|
|
7854
|
-
* Handles all the tool calls from the OpenAI Assistant API.
|
|
7855
|
-
*
|
|
7856
|
-
* This method processes tool calls from an OpenAI Assistant run,
|
|
7857
|
-
* executes each tool call, and returns the tool outputs for submission.
|
|
7858
|
-
*
|
|
7859
|
-
* @deprecated Assistant API is deprecated, please use responses or chat completions instead. This method will be removed in the next major version.
|
|
7860
|
-
*
|
|
7861
|
-
* @param {string} userId - The user ID for authentication and tracking
|
|
7862
|
-
* @param {OpenAI.Beta.Threads.Run} run - The Assistant run object containing tool calls
|
|
7863
|
-
* @param {ExecuteToolFnOptions} [options] - Optional execution options
|
|
7864
|
-
* @param {ExecuteToolModifiers} [modifiers] - Optional execution modifiers
|
|
7865
|
-
* @returns {Promise<OpenAI.Beta.Threads.Runs.RunSubmitToolOutputsParams.ToolOutput[]>} Array of tool outputs for submission
|
|
7866
|
-
*
|
|
7867
|
-
*
|
|
7868
|
-
* @example
|
|
7869
|
-
* ```typescript
|
|
7870
|
-
* // Handle tool calls from an OpenAI Assistant run
|
|
7871
|
-
* const run = {
|
|
7872
|
-
* id: 'run_abc123',
|
|
7873
|
-
* required_action: {
|
|
7874
|
-
* submit_tool_outputs: {
|
|
7875
|
-
* tool_calls: [
|
|
7876
|
-
* {
|
|
7877
|
-
* id: 'call_xyz789',
|
|
7878
|
-
* type: 'function',
|
|
7879
|
-
* function: {
|
|
7880
|
-
* name: 'SEARCH_TOOL',
|
|
7881
|
-
* arguments: '{"query":"composio documentation"}'
|
|
7882
|
-
* }
|
|
7883
|
-
* }
|
|
7884
|
-
* ]
|
|
7885
|
-
* }
|
|
7886
|
-
* }
|
|
7887
|
-
* };
|
|
7888
|
-
*
|
|
7889
|
-
* const toolOutputs = await provider.handleAssistantMessage(
|
|
7890
|
-
* 'user123',
|
|
7891
|
-
* run,
|
|
7892
|
-
* { connectedAccountId: 'conn_xyz456' }
|
|
7893
|
-
* );
|
|
7894
|
-
*
|
|
7895
|
-
* // Submit tool outputs back to OpenAI
|
|
7896
|
-
* await openai.beta.threads.runs.submitToolOutputs(
|
|
7897
|
-
* thread.id,
|
|
7898
|
-
* run.id,
|
|
7899
|
-
* { tool_outputs: toolOutputs }
|
|
7900
|
-
* );
|
|
7901
|
-
* ```
|
|
7902
|
-
*/
|
|
7903
|
-
handleAssistantMessage(userId: string, run: OpenAI.Beta.Threads.Run, options?: ExecuteToolFnOptions, modifiers?: ExecuteToolModifiers): Promise<OpenAI.Beta.Threads.Runs.RunSubmitToolOutputsParams.ToolOutput[]>;
|
|
7904
|
-
/**
|
|
7905
|
-
* Waits for the assistant stream and handles the tool calls.
|
|
7906
|
-
*
|
|
7907
|
-
* This method processes an OpenAI Assistant stream, handles any tool calls
|
|
7908
|
-
* that require action, and yields each event from the stream. It's designed
|
|
7909
|
-
* for streaming Assistant responses while handling tool calls in real-time.
|
|
7910
|
-
*
|
|
7911
|
-
* @deprecated Assistant API is deprecated, please use responses or chat completions instead. It will be removed in the next major version.
|
|
7912
|
-
*
|
|
7913
|
-
* @param {string} userId - The user ID for authentication and tracking
|
|
7914
|
-
* @param {OpenAI} client - The OpenAI client instance
|
|
7915
|
-
* @param {Stream<OpenAI.Beta.Assistants.AssistantStreamEvent>} runStream - The Assistant run stream
|
|
7916
|
-
* @param {OpenAI.Beta.Threads.Thread} thread - The thread object
|
|
7917
|
-
* @param {ExecuteToolFnOptions} [options] - Optional execution options
|
|
7918
|
-
* @param {ExecuteToolModifiers} [modifiers] - Optional execution modifiers
|
|
7919
|
-
* @returns {AsyncGenerator<OpenAI.Beta.Assistants.AssistantStreamEvent, void, unknown>} Generator yielding stream events
|
|
7920
|
-
*
|
|
7921
|
-
*
|
|
7922
|
-
*
|
|
7923
|
-
* @example
|
|
7924
|
-
* ```typescript
|
|
7925
|
-
* // Process an OpenAI Assistant stream with tool calls
|
|
7926
|
-
* const thread = await openai.beta.threads.create();
|
|
7927
|
-
* const runStream = openai.beta.threads.runs.stream(thread.id, {
|
|
7928
|
-
* assistant_id: 'asst_abc123',
|
|
7929
|
-
* tools: provider.wrapTools(composioTools)
|
|
7930
|
-
* });
|
|
7931
|
-
*
|
|
7932
|
-
* // Process the stream and handle tool calls
|
|
7933
|
-
* const streamProcessor = provider.waitAndHandleAssistantStreamToolCalls(
|
|
7934
|
-
* 'user123',
|
|
7935
|
-
* openai,
|
|
7936
|
-
* runStream,
|
|
7937
|
-
* thread,
|
|
7938
|
-
* { connectedAccountId: 'conn_xyz456' }
|
|
7939
|
-
* );
|
|
7940
|
-
*
|
|
7941
|
-
* // Consume the stream events
|
|
7942
|
-
* for await (const event of streamProcessor) {
|
|
7943
|
-
* if (event.event === 'thread.message.delta') {
|
|
7944
|
-
* console.log(event.data.delta.content);
|
|
7945
|
-
* }
|
|
7946
|
-
* }
|
|
7947
|
-
* ```
|
|
7948
|
-
*/
|
|
7949
|
-
waitAndHandleAssistantStreamToolCalls(userId: string, client: OpenAI, runStream: Stream<OpenAI.Beta.Assistants.AssistantStreamEvent>, thread: OpenAI.Beta.Threads.Thread, options?: ExecuteToolFnOptions, modifiers?: ExecuteToolModifiers): AsyncGenerator<OpenAI.Beta.Assistants.AssistantStreamEvent, void, unknown>;
|
|
7950
|
-
/**
|
|
7951
|
-
* Waits for the assistant tool calls and handles them.
|
|
7952
|
-
*
|
|
7953
|
-
* This method polls an OpenAI Assistant run until it completes or requires action,
|
|
7954
|
-
* handles any tool calls, and returns the final run object. It's designed for
|
|
7955
|
-
* non-streaming Assistant interactions.
|
|
7956
|
-
*
|
|
7957
|
-
* @deprecated Assistant API is deprecated, please use responses or chat completions instead. It will be removed in the next major version.
|
|
7958
|
-
*
|
|
7959
|
-
* @param {string} userId - The user ID for authentication and tracking
|
|
7960
|
-
* @param {OpenAI} client - The OpenAI client instance
|
|
7961
|
-
* @param {OpenAI.Beta.Threads.Run} run - The initial run object
|
|
7962
|
-
* @param {OpenAI.Beta.Threads.Thread} thread - The thread object
|
|
7963
|
-
* @param {ExecuteToolFnOptions} [options] - Optional execution options
|
|
7964
|
-
* @param {ExecuteToolModifiers} [modifiers] - Optional execution modifiers
|
|
7965
|
-
* @returns {Promise<OpenAI.Beta.Threads.Run>} The final run object after completion
|
|
7966
|
-
*
|
|
7967
|
-
* @example
|
|
7968
|
-
* ```typescript
|
|
7969
|
-
* // Process an OpenAI Assistant run with tool calls
|
|
7970
|
-
* const thread = await openai.beta.threads.create();
|
|
7971
|
-
* await openai.beta.threads.messages.create(thread.id, {
|
|
7972
|
-
* role: 'user',
|
|
7973
|
-
* content: 'Find information about Composio'
|
|
7974
|
-
* });
|
|
7975
|
-
*
|
|
7976
|
-
* let run = await openai.beta.threads.runs.create(thread.id, {
|
|
7977
|
-
* assistant_id: 'asst_abc123',
|
|
7978
|
-
* tools: provider.wrapTools(composioTools)
|
|
7979
|
-
* });
|
|
7980
|
-
*
|
|
7981
|
-
* // Wait for the run to complete, handling any tool calls
|
|
7982
|
-
* run = await provider.waitAndHandleAssistantToolCalls(
|
|
7983
|
-
* 'user123',
|
|
7984
|
-
* openai,
|
|
7985
|
-
* run,
|
|
7986
|
-
* thread,
|
|
7987
|
-
* { connectedAccountId: 'conn_xyz456' }
|
|
7988
|
-
* );
|
|
7989
|
-
*
|
|
7990
|
-
* // Get the final messages after run completion
|
|
7991
|
-
* const messages = await openai.beta.threads.messages.list(thread.id);
|
|
7992
|
-
* console.log(messages.data[0].content);
|
|
7993
|
-
* ```
|
|
7994
|
-
*/
|
|
7995
|
-
waitAndHandleAssistantToolCalls(userId: string, client: OpenAI, run: OpenAI.Beta.Threads.Run, thread: OpenAI.Beta.Threads.Thread, options?: ExecuteToolFnOptions, modifiers?: ExecuteToolModifiers): Promise<OpenAI.Beta.Threads.Runs.Run>;
|
|
7996
8358
|
}
|
|
7997
8359
|
//#endregion
|
|
7998
8360
|
//#region src/types/composio.types.d.ts
|
|
@@ -8044,6 +8406,12 @@ declare class ToolRouter<TToolCollection, TTool, TProvider extends BaseComposioP
|
|
|
8044
8406
|
* customToolkits: [myToolkit],
|
|
8045
8407
|
* },
|
|
8046
8408
|
* });
|
|
8409
|
+
*
|
|
8410
|
+
* // Start from a saved Session config instead of inline access fields
|
|
8411
|
+
* const configured = await composio.sessions.create('user_123', {
|
|
8412
|
+
* authConfigs: { github: 'ac_123' },
|
|
8413
|
+
* experimental: { sessionConfigId: 'sc_123' },
|
|
8414
|
+
* });
|
|
8047
8415
|
* ```
|
|
8048
8416
|
*/
|
|
8049
8417
|
create(userId: string, config: ToolRouterCreateSessionConfig & {
|
|
@@ -8401,6 +8769,12 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
8401
8769
|
* `composio.create(...)` method is kept as an alias.
|
|
8402
8770
|
*/
|
|
8403
8771
|
sessions: Sessions<unknown, unknown, TProvider>;
|
|
8772
|
+
/**
|
|
8773
|
+
* Read the project's saved Session configs. Apply one with
|
|
8774
|
+
* `experimental.sessionConfigId` on `sessions.create()` or `session.update()`.
|
|
8775
|
+
* Requires Session configs to be enabled for the project.
|
|
8776
|
+
*/
|
|
8777
|
+
sessionConfigs: SessionConfigs;
|
|
8404
8778
|
/**
|
|
8405
8779
|
* Legacy alias for `composio.sessions`.
|
|
8406
8780
|
* @deprecated Use `composio.sessions` instead — `toolRouter` was renamed to `sessions` and is kept only for backwards compatibility. Prefer `composio.sessions`; do not generate new code against `composio.toolRouter`.
|
|
@@ -8570,4 +8944,4 @@ declare class Composio$1<TProvider extends BaseComposioProvider<unknown, unknown
|
|
|
8570
8944
|
flush(): Promise<void>;
|
|
8571
8945
|
}
|
|
8572
8946
|
//#endregion
|
|
8573
|
-
export {
|
|
8947
|
+
export { WebhookEndpointListItemSchema as $, WebhookRequestLike as $n, ToolkitListGrantContextsParamsSchema as $r, UsageOrderBySchema as $t, LogSearchFilterSchema as A, TriggerStatusEnum as An, ToolKitListResponse as Ar, CustomToolkitAuthScheme as At, ToolExecutionLogLevelSchema as B, TriggersTypeListResponseSchema as Bn, ToolkitCategory as Br, CustomToolkitUpsertResponse as Bt, SessionConfigSummarySchema as C, TriggerInstanceManageUpdateParamsSchema as Cn, CreateAuthConfigParamsSchema as Cr, WebhookSubscriptionSetParamsSchema as Ct, LogSearchFilterFieldSchema as D, TriggerInstanceUpsertParamsSchema as Dn, CreateCustomAuthConfigParamsSchema as Dr, MCP as Dt, LogSearchFilterField as E, TriggerInstanceUpsertParams as En, CreateComposioManagedAuthConfigParamsSchema as Er, WebhookVersionSchema as Et, LogSearchTimeRange as F, TriggerType as Fn, ToolkitAuthConfigDetailsSchema as Fr, CustomToolkitSyncParamsSchema as Ft, ToolExecutionLogStatusSchema as G, WebhookPayload as Gn, ToolkitChangelogResponseSchema as Gr, UsageBreakdownParams as Gt, ToolExecutionLogMetadataSchema as H, VerifyWebhookParams as Hn, ToolkitChangelogItem as Hr, Usage as Ht, LogSearchTimeRangeSchema as I, TriggerTypeSchema as In, ToolkitAuthField as Ir, CustomToolkitSyncResponse as It, Webhooks as J, WebhookPayloadV1Schema as Jn, ToolkitGetManyParams as Jr, UsageBreakdownResponseSchema as Jt, WebhookEndpoints as K, WebhookPayloadSchema as Kn, ToolkitConditionalScope as Kr, UsageBreakdownParamsSchema as Kt, ToolExecutionLog as L, TriggersTypeListParams as Ln, ToolkitAuthFieldSchema as Lr, CustomToolkitSyncResponseSchema as Lt, LogSearchParamsSchema as M, TriggerStatuses as Mn, ToolKitMeta as Mr, CustomToolkitDeleteResponse as Mt, LogSearchResponse as N, TriggerSubscribeParamSchema as Nn, ToolKitMetaSchema as Nr, CustomToolkitDeleteResponseSchema as Nt, LogSearchFilterOperator as O, TriggerInstanceUpsertResponse as On, ToolKitItem as Or, Experimental as Ot, LogSearchResponseSchema as P, TriggerSubscribeParams as Pn, ToolkitAuthConfigDetails as Pr, CustomToolkitSyncParams as Pt, WebhookEndpointListItem as Q, WebhookPayloadV3Schema as Qn, ToolkitListGrantContextsParams as Qr, UsageFiltersSchema as Qt, ToolExecutionLogDetail as R, TriggersTypeListParamsSchema as Rn, ToolkitAuthFieldsResponse as Rr, CustomToolkitUpsertParams as Rt, SessionConfigSummary as S, TriggerInstanceManageUpdateParams as Sn, CreateAuthConfigParams as Sr, WebhookSubscriptionSetParams as St, LogSearchFilter as T, TriggerInstanceManageUpdateResponseSchema as Tn, CreateAuthConfigResponseSchema as Tr, WebhookSubscriptionUpdateParamsSchema as Tt, ToolExecutionLogParentSchema as U, VerifyWebhookParamsSchema as Un, ToolkitChangelogItemSchema as Ur, UsageBreakdownGroup as Ut, ToolExecutionLogMetadata as V, TriggersTypeRetrieveResponse as Vn, ToolkitCategorySchema as Vr, CustomToolkitUpsertResponseSchema as Vt, ToolExecutionLogSchema as W, VerifyWebhookResult as Wn, ToolkitChangelogResponse as Wr, UsageBreakdownGroupSchema as Wt, WebhookEndpointCreateParams as X, WebhookPayloadV2Schema as Xn, ToolkitGrantContextDimension as Xr, UsageEntitySummarySchema as Xt, WebhookEndpoint as Y, WebhookPayloadV2 as Yn, ToolkitGetManySlugsSchema as Yr, UsageEntitySummary as Yt, WebhookEndpointCreateParamsSchema as Z, WebhookPayloadV3 as Zn, ToolkitGrantContextDimensionSchema as Zr, UsageFilters as Zt, SessionConfigListResponse as _, ToolkitsGetManyParamsSchema as _i, TriggerInstanceListActiveResponseItem as _n, AuthCustomConfigUpdateParamsSchema as _r, WebhookSubscriptionListResponse as _t, ComposioLogger as a, ToolkitRecommendScopesParams as ai, DefaultWebhookSubscriptionEvents as an, AuthConfigCreationToolAccessConfigSchema as ar, WebhookEndpointReplaceParamsSchema as at, SessionConfigPolicySchema as b, TriggerInstanceManageDeleteResponse as bn, AuthSchemeType as br, WebhookSubscriptionRotateSecretResponseSchema as bt, Keyring as c, ToolkitRecommendScopesResponseSchema as ci, ParseWebhookOptions as cn, AuthConfigListResponse as cr, WebhookEndpointUpdateParamsSchema as ct, KeyringTransferKeysResponse as d, ToolkitRetrieveResponse as di, TriggerData as dn, AuthConfigRetrieveResponseSchema as dr, WebhookSubscriptionEventType as dt, ToolkitListGrantContextsResponse as ei, UsageOrderDirectionSchema as en, WebhookSubscription as er, WebhookEndpointListParams as et, KeyringTransferKeysResponseSchema as f, ToolkitRetrieveResponseSchema as fi, TriggerEvent as fn, AuthConfigToolAccessConfigSchema as fr, WebhookSubscriptionEventTypeSchema as ft, SessionConfigListParamsSchema as g, ToolkitVersionChangelogSchema as gi, TriggerInstanceListActiveResponse as gn, AuthConfigUpdateParamsSchema as gr, WebhookSubscriptionListParamsSchema as gt, SessionConfigListParams as h, ToolkitVersionChangelog as hi, TriggerInstanceListActiveParamsSchema as hn, AuthConfigUpdateParams as hr, WebhookSubscriptionListParams as ht, OpenAIProvider as i, ToolkitMangedByEnumSchema as ii, UsageSummaryResponseSchema as in, WebhookVersions as ir, WebhookEndpointReplaceParams as it, LogSearchParams as j, TriggerStatusType as jn, ToolKitListResponseSchema as jr, CustomToolkitAuthSchemeSchema as jt, LogSearchFilterOperatorSchema as k, TriggerInstanceUpsertResponseSchema as kn, ToolKitItemSchema as kr, CustomToolkits as kt, KeyringTransferKey as l, ToolkitRetrieveCategoriesResponse as li, SetWebhookSubscriptionParams as ln, AuthConfigListResponseSchema as lr, WebhookSubscriptionDeleteResponse as lt, SessionConfig as m, ToolkitSortByEnumSchema as mi, TriggerInstanceListActiveParams as mn, AuthConfigTypes as mr, WebhookSubscriptionEventTypesResponseSchema as mt, ComposioConfig as n, ToolkitListParams as ni, UsageSummaryParamsSchema as nn, WebhookTriggerPayloadV3Schema as nr, WebhookEndpointListResponse as nt, LogLevel as o, ToolkitRecommendScopesParamsSchema as oi, IncomingTriggerPayload as on, AuthConfigListParams as or, WebhookEndpointSchema as ot, SessionConfigs as p, ToolkitSortByEnum as pi, TriggerEventData as pn, AuthConfigType as pr, WebhookSubscriptionEventTypesResponse as pt, WebhookSubscriptions as q, WebhookPayloadV1 as qn, ToolkitConditionalScopeSchema as qr, UsageBreakdownResponse as qt, Sessions as r, ToolkitMangedByEnum as ri, UsageSummaryResponse as rn, WebhookVersion as rr, WebhookEndpointListResponseSchema as rt, logger as s, ToolkitRecommendScopesResponse as si, IncomingTriggerPayloadSchema as sn, AuthConfigListParamsSchema as sr, WebhookEndpointUpdateParams as st, Composio$1 as t, ToolkitListGrantContextsResponseSchema as ti, UsageSummaryParams as tn, WebhookTriggerPayloadV3 as tr, WebhookEndpointListParamsSchema as tt, KeyringTransferKeySchema as u, ToolkitRetrieveCategoriesResponseSchema as ui, SetWebhookSubscriptionParamsSchema as un, AuthConfigRetrieveResponse as ur, WebhookSubscriptionDeleteResponseSchema as ut, SessionConfigListResponseSchema as v, ToolkitsListParamsSchema as vi, TriggerInstanceListActiveResponseItemSchema as vn, AuthDefaultConfigUpdateParamsSchema as vr, WebhookSubscriptionListResponseSchema as vt, Logs as w, TriggerInstanceManageUpdateResponse as wn, CreateAuthConfigResponse as wr, WebhookSubscriptionUpdateParams as wt, SessionConfigSchema as x, TriggerInstanceManageDeleteResponseSchema as xn, AuthSchemeTypes as xr, WebhookSubscriptionSchema as xt, SessionConfigPolicy as y, TriggerInstanceListActiveResponseSchema as yn, AuthSchemeEnum as yr, WebhookSubscriptionRotateSecretResponse as yt, ToolExecutionLogDetailSchema as z, TriggersTypeListResponse as zn, ToolkitAuthFieldsResponseSchema as zr, CustomToolkitUpsertParamsSchema as zt };
|