@composio/core 0.30.0 → 0.31.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-Dzk3iqfP.d.mts → CustomTool-Ds5aLDth.d.mts} +1 -1
- package/dist/{composio-DaokW5sV.d.mts → composio-Ba89XGHL.d.mts} +241 -98
- package/dist/{customTool.types-CpJbzxT6.d.mts → customTool.types-DHxXBU6E.d.mts} +23 -23
- package/dist/docs/reference/sdk-reference/typescript/auth-configs.mdx +9 -0
- package/dist/docs/reference/sdk-reference/typescript/mcp.mdx +2 -2
- package/dist/docs/reference/sdk-reference/typescript/tools.mdx +2 -2
- package/dist/experimental/index.d.mts +2 -2
- package/dist/index.d.mts +8 -8
- package/dist/index.mjs +60 -13
- package/dist/{types-DQdUb7OG.d.mts → types-DcdZy5Nc.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.workerd.d.mts +1 -1
- package/package.json +3 -3
- package/src/models/AuthConfigs.ts +9 -0
- package/src/models/MCP.ts +2 -2
- package/src/models/Tools.ts +2 -2
- package/src/types/authConfigs.types.ts +14 -0
- package/src/types/tool.types.ts +1 -1
- package/src/types/toolkit.types.ts +21 -0
- package/src/utils/transformers/authConfigs.ts +6 -2
- package/src/utils/transformers/toolkits.ts +7 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Aa as ExecuteToolModifiers, Ai as McpUrlResponse, Er as UpdateConnectedAccountAclParams, J as ToolRouterCreateSessionConfig, Ja as ToolExecuteMetaParams, Ka as SchemaModifierOptions, Ma as ProviderOptions, Mr as BaseNonAgenticProvider, Na as SessionExecuteMetaModifiers, Nn as ConnectionRequest, Or as UpdateConnectedAccountParams, P as Session, Pi as ExecuteToolFnOptions, Qa as ToolExecuteResponse, Ri as ToolCallSession, S as LocalTool, St as ToolRouterSessionDeleteResponse, Ti as McpServerGetResponse, Un as ConnectedAccountCompleteAuthResponse, Vn as ConnectedAccountCompleteAuthParams, Xa as ToolExecuteParams, Yn as ConnectedAccountListParams, Zn as ConnectedAccountListResponse, ao as ToolProxyParams, eo as ToolList, er as ConnectedAccountRefreshOptions, hr as CreateConnectedAccountLinkOptions, ir as ConnectedAccountRevokeResponse, jr as BaseComposioProvider, mo as ToolkitVersionParam, nr as ConnectedAccountRetrieveResponse, qa as Tool, so as ToolRetrievalOptions, to as ToolListParams, w as LocalToolkit, yr as CreateConnectedAccountOptions, z as SessionWithoutMcp } from "./customTool.types-
|
|
1
|
+
import { Aa as ExecuteToolModifiers, Ai as McpUrlResponse, Er as UpdateConnectedAccountAclParams, J as ToolRouterCreateSessionConfig, Ja as ToolExecuteMetaParams, Ka as SchemaModifierOptions, Ma as ProviderOptions, Mr as BaseNonAgenticProvider, Na as SessionExecuteMetaModifiers, Nn as ConnectionRequest, Or as UpdateConnectedAccountParams, P as Session, Pi as ExecuteToolFnOptions, Qa as ToolExecuteResponse, Ri as ToolCallSession, S as LocalTool, St as ToolRouterSessionDeleteResponse, Ti as McpServerGetResponse, Un as ConnectedAccountCompleteAuthResponse, Vn as ConnectedAccountCompleteAuthParams, Xa as ToolExecuteParams, Yn as ConnectedAccountListParams, Zn as ConnectedAccountListResponse, ao as ToolProxyParams, eo as ToolList, er as ConnectedAccountRefreshOptions, hr as CreateConnectedAccountLinkOptions, ir as ConnectedAccountRevokeResponse, jr as BaseComposioProvider, mo as ToolkitVersionParam, nr as ConnectedAccountRetrieveResponse, qa as Tool, so as ToolRetrievalOptions, to as ToolListParams, w as LocalToolkit, yr as CreateConnectedAccountOptions, z as SessionWithoutMcp } from "./customTool.types-DHxXBU6E.mjs";
|
|
2
2
|
import { t as ComposioRequestOptions } from "./requestOptions.types-DWrTcbss.mjs";
|
|
3
3
|
import ComposioClient, { Composio as Composio$1 } from "@composio/client";
|
|
4
4
|
import z, { z as z$1 } from "zod/v3";
|
|
@@ -228,7 +228,7 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
228
228
|
* );
|
|
229
229
|
*
|
|
230
230
|
* // Access tool properties
|
|
231
|
-
* const githubTool = await composio.tools.getRawComposioToolBySlug('
|
|
231
|
+
* const githubTool = await composio.tools.getRawComposioToolBySlug('GITHUB_CREATE_AN_ISSUE');
|
|
232
232
|
* console.log({
|
|
233
233
|
* slug: githubTool.slug,
|
|
234
234
|
* name: githubTool.name,
|
|
@@ -484,7 +484,7 @@ declare class Tools<TToolCollection, TTool, TProvider extends BaseComposioProvid
|
|
|
484
484
|
*
|
|
485
485
|
* @example
|
|
486
486
|
* ```typescript
|
|
487
|
-
* const { arguments: args, error } = await composio.tools.getInput('
|
|
487
|
+
* const { arguments: args, error } = await composio.tools.getInput('GITHUB_CREATE_AN_ISSUE', {
|
|
488
488
|
* text: 'Open an issue in composiohq/composio titled "Docs typo" describing the broken link',
|
|
489
489
|
* version: '20250909_00',
|
|
490
490
|
* });
|
|
@@ -606,28 +606,28 @@ declare const ToolKitMetaSchema: z$1.ZodObject<{
|
|
|
606
606
|
logo?: string | undefined;
|
|
607
607
|
description?: string | undefined;
|
|
608
608
|
availableVersions?: string[] | undefined;
|
|
609
|
+
createdAt?: string | undefined;
|
|
610
|
+
updatedAt?: string | undefined;
|
|
609
611
|
categories?: {
|
|
610
612
|
slug: string;
|
|
611
613
|
name: string;
|
|
612
614
|
}[] | undefined;
|
|
613
615
|
appUrl?: string | undefined;
|
|
614
|
-
createdAt?: string | undefined;
|
|
615
616
|
toolsCount?: number | undefined;
|
|
616
617
|
triggersCount?: number | undefined;
|
|
617
|
-
updatedAt?: string | undefined;
|
|
618
618
|
}, {
|
|
619
619
|
logo?: string | undefined;
|
|
620
620
|
description?: string | undefined;
|
|
621
621
|
availableVersions?: string[] | undefined;
|
|
622
|
+
createdAt?: string | undefined;
|
|
623
|
+
updatedAt?: string | undefined;
|
|
622
624
|
categories?: {
|
|
623
625
|
slug: string;
|
|
624
626
|
name: string;
|
|
625
627
|
}[] | undefined;
|
|
626
628
|
appUrl?: string | undefined;
|
|
627
|
-
createdAt?: string | undefined;
|
|
628
629
|
toolsCount?: number | undefined;
|
|
629
630
|
triggersCount?: number | undefined;
|
|
630
|
-
updatedAt?: string | undefined;
|
|
631
631
|
}>;
|
|
632
632
|
declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
633
633
|
name: z$1.ZodString;
|
|
@@ -655,28 +655,28 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
655
655
|
logo?: string | undefined;
|
|
656
656
|
description?: string | undefined;
|
|
657
657
|
availableVersions?: string[] | undefined;
|
|
658
|
+
createdAt?: string | undefined;
|
|
659
|
+
updatedAt?: string | undefined;
|
|
658
660
|
categories?: {
|
|
659
661
|
slug: string;
|
|
660
662
|
name: string;
|
|
661
663
|
}[] | undefined;
|
|
662
664
|
appUrl?: string | undefined;
|
|
663
|
-
createdAt?: string | undefined;
|
|
664
665
|
toolsCount?: number | undefined;
|
|
665
666
|
triggersCount?: number | undefined;
|
|
666
|
-
updatedAt?: string | undefined;
|
|
667
667
|
}, {
|
|
668
668
|
logo?: string | undefined;
|
|
669
669
|
description?: string | undefined;
|
|
670
670
|
availableVersions?: string[] | undefined;
|
|
671
|
+
createdAt?: string | undefined;
|
|
672
|
+
updatedAt?: string | undefined;
|
|
671
673
|
categories?: {
|
|
672
674
|
slug: string;
|
|
673
675
|
name: string;
|
|
674
676
|
}[] | undefined;
|
|
675
677
|
appUrl?: string | undefined;
|
|
676
|
-
createdAt?: string | undefined;
|
|
677
678
|
toolsCount?: number | undefined;
|
|
678
679
|
triggersCount?: number | undefined;
|
|
679
|
-
updatedAt?: string | undefined;
|
|
680
680
|
}>;
|
|
681
681
|
isLocalToolkit: z$1.ZodBoolean;
|
|
682
682
|
authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
@@ -689,15 +689,15 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
689
689
|
logo?: string | undefined;
|
|
690
690
|
description?: string | undefined;
|
|
691
691
|
availableVersions?: string[] | undefined;
|
|
692
|
+
createdAt?: string | undefined;
|
|
693
|
+
updatedAt?: string | undefined;
|
|
692
694
|
categories?: {
|
|
693
695
|
slug: string;
|
|
694
696
|
name: string;
|
|
695
697
|
}[] | undefined;
|
|
696
698
|
appUrl?: string | undefined;
|
|
697
|
-
createdAt?: string | undefined;
|
|
698
699
|
toolsCount?: number | undefined;
|
|
699
700
|
triggersCount?: number | undefined;
|
|
700
|
-
updatedAt?: string | undefined;
|
|
701
701
|
};
|
|
702
702
|
isLocalToolkit: boolean;
|
|
703
703
|
authSchemes?: string[] | undefined;
|
|
@@ -710,15 +710,15 @@ declare const ToolKitItemSchema: z$1.ZodObject<{
|
|
|
710
710
|
logo?: string | undefined;
|
|
711
711
|
description?: string | undefined;
|
|
712
712
|
availableVersions?: string[] | undefined;
|
|
713
|
+
createdAt?: string | undefined;
|
|
714
|
+
updatedAt?: string | undefined;
|
|
713
715
|
categories?: {
|
|
714
716
|
slug: string;
|
|
715
717
|
name: string;
|
|
716
718
|
}[] | undefined;
|
|
717
719
|
appUrl?: string | undefined;
|
|
718
|
-
createdAt?: string | undefined;
|
|
719
720
|
toolsCount?: number | undefined;
|
|
720
721
|
triggersCount?: number | undefined;
|
|
721
|
-
updatedAt?: string | undefined;
|
|
722
722
|
};
|
|
723
723
|
isLocalToolkit: boolean;
|
|
724
724
|
authSchemes?: string[] | undefined;
|
|
@@ -751,28 +751,28 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
751
751
|
logo?: string | undefined;
|
|
752
752
|
description?: string | undefined;
|
|
753
753
|
availableVersions?: string[] | undefined;
|
|
754
|
+
createdAt?: string | undefined;
|
|
755
|
+
updatedAt?: string | undefined;
|
|
754
756
|
categories?: {
|
|
755
757
|
slug: string;
|
|
756
758
|
name: string;
|
|
757
759
|
}[] | undefined;
|
|
758
760
|
appUrl?: string | undefined;
|
|
759
|
-
createdAt?: string | undefined;
|
|
760
761
|
toolsCount?: number | undefined;
|
|
761
762
|
triggersCount?: number | undefined;
|
|
762
|
-
updatedAt?: string | undefined;
|
|
763
763
|
}, {
|
|
764
764
|
logo?: string | undefined;
|
|
765
765
|
description?: string | undefined;
|
|
766
766
|
availableVersions?: string[] | undefined;
|
|
767
|
+
createdAt?: string | undefined;
|
|
768
|
+
updatedAt?: string | undefined;
|
|
767
769
|
categories?: {
|
|
768
770
|
slug: string;
|
|
769
771
|
name: string;
|
|
770
772
|
}[] | undefined;
|
|
771
773
|
appUrl?: string | undefined;
|
|
772
|
-
createdAt?: string | undefined;
|
|
773
774
|
toolsCount?: number | undefined;
|
|
774
775
|
triggersCount?: number | undefined;
|
|
775
|
-
updatedAt?: string | undefined;
|
|
776
776
|
}>;
|
|
777
777
|
isLocalToolkit: z$1.ZodBoolean;
|
|
778
778
|
authSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
@@ -785,15 +785,15 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
785
785
|
logo?: string | undefined;
|
|
786
786
|
description?: string | undefined;
|
|
787
787
|
availableVersions?: string[] | undefined;
|
|
788
|
+
createdAt?: string | undefined;
|
|
789
|
+
updatedAt?: string | undefined;
|
|
788
790
|
categories?: {
|
|
789
791
|
slug: string;
|
|
790
792
|
name: string;
|
|
791
793
|
}[] | undefined;
|
|
792
794
|
appUrl?: string | undefined;
|
|
793
|
-
createdAt?: string | undefined;
|
|
794
795
|
toolsCount?: number | undefined;
|
|
795
796
|
triggersCount?: number | undefined;
|
|
796
|
-
updatedAt?: string | undefined;
|
|
797
797
|
};
|
|
798
798
|
isLocalToolkit: boolean;
|
|
799
799
|
authSchemes?: string[] | undefined;
|
|
@@ -806,15 +806,15 @@ declare const ToolKitListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
806
806
|
logo?: string | undefined;
|
|
807
807
|
description?: string | undefined;
|
|
808
808
|
availableVersions?: string[] | undefined;
|
|
809
|
+
createdAt?: string | undefined;
|
|
810
|
+
updatedAt?: string | undefined;
|
|
809
811
|
categories?: {
|
|
810
812
|
slug: string;
|
|
811
813
|
name: string;
|
|
812
814
|
}[] | undefined;
|
|
813
815
|
appUrl?: string | undefined;
|
|
814
|
-
createdAt?: string | undefined;
|
|
815
816
|
toolsCount?: number | undefined;
|
|
816
817
|
triggersCount?: number | undefined;
|
|
817
|
-
updatedAt?: string | undefined;
|
|
818
818
|
};
|
|
819
819
|
isLocalToolkit: boolean;
|
|
820
820
|
authSchemes?: string[] | undefined;
|
|
@@ -1396,6 +1396,51 @@ declare const ToolkitAuthConfigDetailsSchema: z$1.ZodObject<{
|
|
|
1396
1396
|
baseUrl?: string | undefined;
|
|
1397
1397
|
} | undefined;
|
|
1398
1398
|
}>;
|
|
1399
|
+
/**
|
|
1400
|
+
* A Composio-managed app for a toolkit. Pass `managedAppId` to
|
|
1401
|
+
* `composio.authConfigs.create` to create an auth config on this app.
|
|
1402
|
+
*/
|
|
1403
|
+
declare const ToolkitComposioManagedAuthSchema: z$1.ZodObject<{
|
|
1404
|
+
managedAppId: z$1.ZodString;
|
|
1405
|
+
/** Whether this is the app used when `managedAppId` is omitted. */
|
|
1406
|
+
isDefault: z$1.ZodBoolean;
|
|
1407
|
+
mode: z$1.ZodString;
|
|
1408
|
+
scopes: z$1.ZodObject<{
|
|
1409
|
+
available: z$1.ZodArray<z$1.ZodString, "many">;
|
|
1410
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1411
|
+
available: string[];
|
|
1412
|
+
}, {
|
|
1413
|
+
available: string[];
|
|
1414
|
+
}>;
|
|
1415
|
+
/** Present only for Slack. */
|
|
1416
|
+
userScopes: z$1.ZodOptional<z$1.ZodObject<{
|
|
1417
|
+
available: z$1.ZodArray<z$1.ZodString, "many">;
|
|
1418
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1419
|
+
available: string[];
|
|
1420
|
+
}, {
|
|
1421
|
+
available: string[];
|
|
1422
|
+
}>>;
|
|
1423
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1424
|
+
scopes: {
|
|
1425
|
+
available: string[];
|
|
1426
|
+
};
|
|
1427
|
+
mode: string;
|
|
1428
|
+
managedAppId: string;
|
|
1429
|
+
isDefault: boolean;
|
|
1430
|
+
userScopes?: {
|
|
1431
|
+
available: string[];
|
|
1432
|
+
} | undefined;
|
|
1433
|
+
}, {
|
|
1434
|
+
scopes: {
|
|
1435
|
+
available: string[];
|
|
1436
|
+
};
|
|
1437
|
+
mode: string;
|
|
1438
|
+
managedAppId: string;
|
|
1439
|
+
isDefault: boolean;
|
|
1440
|
+
userScopes?: {
|
|
1441
|
+
available: string[];
|
|
1442
|
+
} | undefined;
|
|
1443
|
+
}>;
|
|
1399
1444
|
declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
1400
1445
|
name: z$1.ZodString;
|
|
1401
1446
|
slug: z$1.ZodString;
|
|
@@ -1422,31 +1467,73 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1422
1467
|
logo?: string | undefined;
|
|
1423
1468
|
description?: string | undefined;
|
|
1424
1469
|
availableVersions?: string[] | undefined;
|
|
1470
|
+
createdAt?: string | undefined;
|
|
1471
|
+
updatedAt?: string | undefined;
|
|
1425
1472
|
categories?: {
|
|
1426
1473
|
slug: string;
|
|
1427
1474
|
name: string;
|
|
1428
1475
|
}[] | undefined;
|
|
1429
1476
|
appUrl?: string | undefined;
|
|
1430
|
-
createdAt?: string | undefined;
|
|
1431
1477
|
toolsCount?: number | undefined;
|
|
1432
1478
|
triggersCount?: number | undefined;
|
|
1433
|
-
updatedAt?: string | undefined;
|
|
1434
1479
|
}, {
|
|
1435
1480
|
logo?: string | undefined;
|
|
1436
1481
|
description?: string | undefined;
|
|
1437
1482
|
availableVersions?: string[] | undefined;
|
|
1483
|
+
createdAt?: string | undefined;
|
|
1484
|
+
updatedAt?: string | undefined;
|
|
1438
1485
|
categories?: {
|
|
1439
1486
|
slug: string;
|
|
1440
1487
|
name: string;
|
|
1441
1488
|
}[] | undefined;
|
|
1442
1489
|
appUrl?: string | undefined;
|
|
1443
|
-
createdAt?: string | undefined;
|
|
1444
1490
|
toolsCount?: number | undefined;
|
|
1445
1491
|
triggersCount?: number | undefined;
|
|
1446
|
-
updatedAt?: string | undefined;
|
|
1447
1492
|
}>;
|
|
1448
1493
|
isLocalToolkit: z$1.ZodBoolean;
|
|
1449
1494
|
composioManagedAuthSchemes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
1495
|
+
/** One entry per Composio-managed app, the default first. */
|
|
1496
|
+
composioManagedAuth: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
1497
|
+
managedAppId: z$1.ZodString;
|
|
1498
|
+
/** Whether this is the app used when `managedAppId` is omitted. */
|
|
1499
|
+
isDefault: z$1.ZodBoolean;
|
|
1500
|
+
mode: z$1.ZodString;
|
|
1501
|
+
scopes: z$1.ZodObject<{
|
|
1502
|
+
available: z$1.ZodArray<z$1.ZodString, "many">;
|
|
1503
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1504
|
+
available: string[];
|
|
1505
|
+
}, {
|
|
1506
|
+
available: string[];
|
|
1507
|
+
}>;
|
|
1508
|
+
/** Present only for Slack. */
|
|
1509
|
+
userScopes: z$1.ZodOptional<z$1.ZodObject<{
|
|
1510
|
+
available: z$1.ZodArray<z$1.ZodString, "many">;
|
|
1511
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1512
|
+
available: string[];
|
|
1513
|
+
}, {
|
|
1514
|
+
available: string[];
|
|
1515
|
+
}>>;
|
|
1516
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
1517
|
+
scopes: {
|
|
1518
|
+
available: string[];
|
|
1519
|
+
};
|
|
1520
|
+
mode: string;
|
|
1521
|
+
managedAppId: string;
|
|
1522
|
+
isDefault: boolean;
|
|
1523
|
+
userScopes?: {
|
|
1524
|
+
available: string[];
|
|
1525
|
+
} | undefined;
|
|
1526
|
+
}, {
|
|
1527
|
+
scopes: {
|
|
1528
|
+
available: string[];
|
|
1529
|
+
};
|
|
1530
|
+
mode: string;
|
|
1531
|
+
managedAppId: string;
|
|
1532
|
+
isDefault: boolean;
|
|
1533
|
+
userScopes?: {
|
|
1534
|
+
available: string[];
|
|
1535
|
+
} | undefined;
|
|
1536
|
+
}>, "many">>;
|
|
1450
1537
|
authConfigDetails: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
1451
1538
|
name: z$1.ZodString;
|
|
1452
1539
|
mode: z$1.ZodString;
|
|
@@ -1979,19 +2066,30 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
1979
2066
|
logo?: string | undefined;
|
|
1980
2067
|
description?: string | undefined;
|
|
1981
2068
|
availableVersions?: string[] | undefined;
|
|
2069
|
+
createdAt?: string | undefined;
|
|
2070
|
+
updatedAt?: string | undefined;
|
|
1982
2071
|
categories?: {
|
|
1983
2072
|
slug: string;
|
|
1984
2073
|
name: string;
|
|
1985
2074
|
}[] | undefined;
|
|
1986
2075
|
appUrl?: string | undefined;
|
|
1987
|
-
createdAt?: string | undefined;
|
|
1988
2076
|
toolsCount?: number | undefined;
|
|
1989
2077
|
triggersCount?: number | undefined;
|
|
1990
|
-
updatedAt?: string | undefined;
|
|
1991
2078
|
};
|
|
1992
2079
|
isLocalToolkit: boolean;
|
|
1993
2080
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
1994
2081
|
baseUrl?: string | undefined;
|
|
2082
|
+
composioManagedAuth?: {
|
|
2083
|
+
scopes: {
|
|
2084
|
+
available: string[];
|
|
2085
|
+
};
|
|
2086
|
+
mode: string;
|
|
2087
|
+
managedAppId: string;
|
|
2088
|
+
isDefault: boolean;
|
|
2089
|
+
userScopes?: {
|
|
2090
|
+
available: string[];
|
|
2091
|
+
} | undefined;
|
|
2092
|
+
}[] | undefined;
|
|
1995
2093
|
authConfigDetails?: {
|
|
1996
2094
|
name: string;
|
|
1997
2095
|
mode: string;
|
|
@@ -2060,19 +2158,30 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2060
2158
|
logo?: string | undefined;
|
|
2061
2159
|
description?: string | undefined;
|
|
2062
2160
|
availableVersions?: string[] | undefined;
|
|
2161
|
+
createdAt?: string | undefined;
|
|
2162
|
+
updatedAt?: string | undefined;
|
|
2063
2163
|
categories?: {
|
|
2064
2164
|
slug: string;
|
|
2065
2165
|
name: string;
|
|
2066
2166
|
}[] | undefined;
|
|
2067
2167
|
appUrl?: string | undefined;
|
|
2068
|
-
createdAt?: string | undefined;
|
|
2069
2168
|
toolsCount?: number | undefined;
|
|
2070
2169
|
triggersCount?: number | undefined;
|
|
2071
|
-
updatedAt?: string | undefined;
|
|
2072
2170
|
};
|
|
2073
2171
|
isLocalToolkit: boolean;
|
|
2074
2172
|
composioManagedAuthSchemes?: string[] | undefined;
|
|
2075
2173
|
baseUrl?: string | undefined;
|
|
2174
|
+
composioManagedAuth?: {
|
|
2175
|
+
scopes: {
|
|
2176
|
+
available: string[];
|
|
2177
|
+
};
|
|
2178
|
+
mode: string;
|
|
2179
|
+
managedAppId: string;
|
|
2180
|
+
isDefault: boolean;
|
|
2181
|
+
userScopes?: {
|
|
2182
|
+
available: string[];
|
|
2183
|
+
} | undefined;
|
|
2184
|
+
}[] | undefined;
|
|
2076
2185
|
authConfigDetails?: {
|
|
2077
2186
|
name: string;
|
|
2078
2187
|
mode: string;
|
|
@@ -2137,6 +2246,7 @@ declare const ToolkitRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2137
2246
|
}>;
|
|
2138
2247
|
type ToolkitAuthField = z$1.infer<typeof ToolkitAuthFieldSchema>;
|
|
2139
2248
|
type ToolkitAuthConfigDetails = z$1.infer<typeof ToolkitAuthConfigDetailsSchema>;
|
|
2249
|
+
type ToolkitComposioManagedAuth = z$1.infer<typeof ToolkitComposioManagedAuthSchema>;
|
|
2140
2250
|
type ToolkitRetrieveResponse = z$1.infer<typeof ToolkitRetrieveResponseSchema>;
|
|
2141
2251
|
/**
|
|
2142
2252
|
* Toolkit categories response
|
|
@@ -2649,9 +2759,15 @@ declare const CreateComposioManagedAuthConfigParamsSchema: z$1.ZodObject<{
|
|
|
2649
2759
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2650
2760
|
}>>;
|
|
2651
2761
|
isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
2762
|
+
/**
|
|
2763
|
+
* The Composio-managed app to use, as `composioManagedAuth[].managedAppId`
|
|
2764
|
+
* from `composio.toolkits.get(slug)`. Omit to use the toolkit's default app.
|
|
2765
|
+
*/
|
|
2766
|
+
managedAppId: z$1.ZodOptional<z$1.ZodString>;
|
|
2652
2767
|
}, "strip", z$1.ZodTypeAny, {
|
|
2653
2768
|
type: "use_composio_managed_auth";
|
|
2654
2769
|
name?: string | undefined;
|
|
2770
|
+
managedAppId?: string | undefined;
|
|
2655
2771
|
credentials?: z$1.objectOutputType<{
|
|
2656
2772
|
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
2657
2773
|
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
@@ -2663,6 +2779,7 @@ declare const CreateComposioManagedAuthConfigParamsSchema: z$1.ZodObject<{
|
|
|
2663
2779
|
}, {
|
|
2664
2780
|
type: "use_composio_managed_auth";
|
|
2665
2781
|
name?: string | undefined;
|
|
2782
|
+
managedAppId?: string | undefined;
|
|
2666
2783
|
credentials?: z$1.objectInputType<{
|
|
2667
2784
|
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
2668
2785
|
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
@@ -2745,9 +2862,15 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
|
|
|
2745
2862
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2746
2863
|
}>>;
|
|
2747
2864
|
isEnabledForToolRouter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
2865
|
+
/**
|
|
2866
|
+
* The Composio-managed app to use, as `composioManagedAuth[].managedAppId`
|
|
2867
|
+
* from `composio.toolkits.get(slug)`. Omit to use the toolkit's default app.
|
|
2868
|
+
*/
|
|
2869
|
+
managedAppId: z$1.ZodOptional<z$1.ZodString>;
|
|
2748
2870
|
}, "strip", z$1.ZodTypeAny, {
|
|
2749
2871
|
type: "use_composio_managed_auth";
|
|
2750
2872
|
name?: string | undefined;
|
|
2873
|
+
managedAppId?: string | undefined;
|
|
2751
2874
|
credentials?: z$1.objectOutputType<{
|
|
2752
2875
|
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
2753
2876
|
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
@@ -2759,6 +2882,7 @@ declare const CreateAuthConfigParamsSchema: z$1.ZodDiscriminatedUnion<"type", [z
|
|
|
2759
2882
|
}, {
|
|
2760
2883
|
type: "use_composio_managed_auth";
|
|
2761
2884
|
name?: string | undefined;
|
|
2885
|
+
managedAppId?: string | undefined;
|
|
2762
2886
|
credentials?: z$1.objectInputType<{
|
|
2763
2887
|
scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
2764
2888
|
user_scopes: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodArray<z$1.ZodString, "many">]>>;
|
|
@@ -2774,16 +2898,19 @@ declare const CreateAuthConfigResponseSchema: z$1.ZodObject<{
|
|
|
2774
2898
|
authScheme: z$1.ZodString;
|
|
2775
2899
|
isComposioManaged: z$1.ZodBoolean;
|
|
2776
2900
|
toolkit: z$1.ZodString;
|
|
2901
|
+
managedAppId: z$1.ZodNullable<z$1.ZodString>;
|
|
2777
2902
|
}, "strip", z$1.ZodTypeAny, {
|
|
2778
2903
|
toolkit: string;
|
|
2779
2904
|
authScheme: string;
|
|
2780
2905
|
id: string;
|
|
2781
2906
|
isComposioManaged: boolean;
|
|
2907
|
+
managedAppId: string | null;
|
|
2782
2908
|
}, {
|
|
2783
2909
|
toolkit: string;
|
|
2784
2910
|
authScheme: string;
|
|
2785
2911
|
id: string;
|
|
2786
2912
|
isComposioManaged: boolean;
|
|
2913
|
+
managedAppId: string | null;
|
|
2787
2914
|
}>;
|
|
2788
2915
|
type CreateAuthConfigResponse = z$1.infer<typeof CreateAuthConfigResponseSchema>;
|
|
2789
2916
|
declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
@@ -2823,6 +2950,7 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2823
2950
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2824
2951
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2825
2952
|
}>>;
|
|
2953
|
+
managedAppId: z$1.ZodNullable<z$1.ZodString>;
|
|
2826
2954
|
}, "strip", z$1.ZodTypeAny, {
|
|
2827
2955
|
name: string;
|
|
2828
2956
|
status: "ENABLED" | "DISABLED";
|
|
@@ -2831,6 +2959,7 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2831
2959
|
logo: string;
|
|
2832
2960
|
};
|
|
2833
2961
|
id: string;
|
|
2962
|
+
managedAppId: string | null;
|
|
2834
2963
|
noOfConnections: number;
|
|
2835
2964
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2836
2965
|
isComposioManaged?: boolean | undefined;
|
|
@@ -2853,6 +2982,7 @@ declare const AuthConfigRetrieveResponseSchema: z$1.ZodObject<{
|
|
|
2853
2982
|
logo: string;
|
|
2854
2983
|
};
|
|
2855
2984
|
id: string;
|
|
2985
|
+
managedAppId: string | null;
|
|
2856
2986
|
noOfConnections: number;
|
|
2857
2987
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2858
2988
|
isComposioManaged?: boolean | undefined;
|
|
@@ -2930,6 +3060,7 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2930
3060
|
toolsForConnectedAccountCreation?: string[] | undefined;
|
|
2931
3061
|
toolsAvailableForExecution?: string[] | undefined;
|
|
2932
3062
|
}>>;
|
|
3063
|
+
managedAppId: z$1.ZodNullable<z$1.ZodString>;
|
|
2933
3064
|
}, "strip", z$1.ZodTypeAny, {
|
|
2934
3065
|
name: string;
|
|
2935
3066
|
status: "ENABLED" | "DISABLED";
|
|
@@ -2938,6 +3069,7 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2938
3069
|
logo: string;
|
|
2939
3070
|
};
|
|
2940
3071
|
id: string;
|
|
3072
|
+
managedAppId: string | null;
|
|
2941
3073
|
noOfConnections: number;
|
|
2942
3074
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2943
3075
|
isComposioManaged?: boolean | undefined;
|
|
@@ -2960,6 +3092,7 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2960
3092
|
logo: string;
|
|
2961
3093
|
};
|
|
2962
3094
|
id: string;
|
|
3095
|
+
managedAppId: string | null;
|
|
2963
3096
|
noOfConnections: number;
|
|
2964
3097
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2965
3098
|
isComposioManaged?: boolean | undefined;
|
|
@@ -2986,6 +3119,7 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
2986
3119
|
logo: string;
|
|
2987
3120
|
};
|
|
2988
3121
|
id: string;
|
|
3122
|
+
managedAppId: string | null;
|
|
2989
3123
|
noOfConnections: number;
|
|
2990
3124
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
2991
3125
|
isComposioManaged?: boolean | undefined;
|
|
@@ -3012,6 +3146,7 @@ declare const AuthConfigListResponseSchema: z$1.ZodObject<{
|
|
|
3012
3146
|
logo: string;
|
|
3013
3147
|
};
|
|
3014
3148
|
id: string;
|
|
3149
|
+
managedAppId: string | null;
|
|
3015
3150
|
noOfConnections: number;
|
|
3016
3151
|
authScheme?: "OAUTH1" | "OAUTH2" | "API_KEY" | "BASIC" | "BEARER_TOKEN" | "BILLCOM_AUTH" | "GOOGLE_SERVICE_ACCOUNT" | "NO_AUTH" | "BASIC_WITH_JWT" | "CALCOM_AUTH" | "SERVICE_ACCOUNT" | "SAML" | "DCR_OAUTH" | "CIMD_OAUTH" | "S2S_OAUTH2" | undefined;
|
|
3017
3152
|
isComposioManaged?: boolean | undefined;
|
|
@@ -3727,6 +3862,7 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3727
3862
|
userId: string;
|
|
3728
3863
|
id: string;
|
|
3729
3864
|
uuid: string;
|
|
3865
|
+
triggerSlug: string;
|
|
3730
3866
|
metadata: {
|
|
3731
3867
|
toolkitSlug: string;
|
|
3732
3868
|
id: string;
|
|
@@ -3743,7 +3879,6 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3743
3879
|
triggerConfig: Record<string, unknown>;
|
|
3744
3880
|
triggerData?: string | undefined;
|
|
3745
3881
|
};
|
|
3746
|
-
triggerSlug: string;
|
|
3747
3882
|
payload?: Record<string, unknown> | undefined;
|
|
3748
3883
|
originalPayload?: Record<string, unknown> | undefined;
|
|
3749
3884
|
}, {
|
|
@@ -3751,6 +3886,7 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3751
3886
|
userId: string;
|
|
3752
3887
|
id: string;
|
|
3753
3888
|
uuid: string;
|
|
3889
|
+
triggerSlug: string;
|
|
3754
3890
|
metadata: {
|
|
3755
3891
|
toolkitSlug: string;
|
|
3756
3892
|
id: string;
|
|
@@ -3767,7 +3903,6 @@ declare const IncomingTriggerPayloadSchema: z$1.ZodObject<{
|
|
|
3767
3903
|
triggerConfig: Record<string, unknown>;
|
|
3768
3904
|
triggerData?: string | undefined;
|
|
3769
3905
|
};
|
|
3770
|
-
triggerSlug: string;
|
|
3771
3906
|
payload?: Record<string, unknown> | undefined;
|
|
3772
3907
|
originalPayload?: Record<string, unknown> | undefined;
|
|
3773
3908
|
}>;
|
|
@@ -3998,17 +4133,17 @@ declare const WebhookPayloadV1Schema: z$1.ZodObject<{
|
|
|
3998
4133
|
payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
3999
4134
|
log_id: z$1.ZodString;
|
|
4000
4135
|
}, "strip", z$1.ZodTypeAny, {
|
|
4001
|
-
log_id: string;
|
|
4002
4136
|
payload: Record<string, unknown>;
|
|
4003
4137
|
trigger_name: string;
|
|
4004
4138
|
connection_id: string;
|
|
4005
4139
|
trigger_id: string;
|
|
4006
|
-
}, {
|
|
4007
4140
|
log_id: string;
|
|
4141
|
+
}, {
|
|
4008
4142
|
payload: Record<string, unknown>;
|
|
4009
4143
|
trigger_name: string;
|
|
4010
4144
|
connection_id: string;
|
|
4011
4145
|
trigger_id: string;
|
|
4146
|
+
log_id: string;
|
|
4012
4147
|
}>;
|
|
4013
4148
|
type WebhookPayloadV1 = z$1.infer<typeof WebhookPayloadV1Schema>;
|
|
4014
4149
|
/** V2 webhook payload - includes timestamp and nested data */
|
|
@@ -4038,11 +4173,11 @@ declare const WebhookPayloadV2Schema: z$1.ZodObject<{
|
|
|
4038
4173
|
}, "strip", z$1.ZodTypeAny, {
|
|
4039
4174
|
type: string;
|
|
4040
4175
|
data: {
|
|
4041
|
-
user_id: string;
|
|
4042
4176
|
connection_id: string;
|
|
4043
4177
|
trigger_id: string;
|
|
4044
4178
|
connection_nano_id: string;
|
|
4045
4179
|
trigger_nano_id: string;
|
|
4180
|
+
user_id: string;
|
|
4046
4181
|
} & {
|
|
4047
4182
|
[k: string]: unknown;
|
|
4048
4183
|
};
|
|
@@ -4051,11 +4186,11 @@ declare const WebhookPayloadV2Schema: z$1.ZodObject<{
|
|
|
4051
4186
|
}, {
|
|
4052
4187
|
type: string;
|
|
4053
4188
|
data: {
|
|
4054
|
-
user_id: string;
|
|
4055
4189
|
connection_id: string;
|
|
4056
4190
|
trigger_id: string;
|
|
4057
4191
|
connection_nano_id: string;
|
|
4058
4192
|
trigger_nano_id: string;
|
|
4193
|
+
user_id: string;
|
|
4059
4194
|
} & {
|
|
4060
4195
|
[k: string]: unknown;
|
|
4061
4196
|
};
|
|
@@ -4074,14 +4209,14 @@ declare const WebhookPayloadV3Schema: z$1.ZodObject<{
|
|
|
4074
4209
|
type: string;
|
|
4075
4210
|
data: Record<string, unknown>;
|
|
4076
4211
|
id: string;
|
|
4077
|
-
timestamp: string;
|
|
4078
4212
|
metadata: Record<string, unknown>;
|
|
4213
|
+
timestamp: string;
|
|
4079
4214
|
}, {
|
|
4080
4215
|
type: string;
|
|
4081
4216
|
data: Record<string, unknown>;
|
|
4082
4217
|
id: string;
|
|
4083
|
-
timestamp: string;
|
|
4084
4218
|
metadata: Record<string, unknown>;
|
|
4219
|
+
timestamp: string;
|
|
4085
4220
|
}>;
|
|
4086
4221
|
type WebhookPayloadV3 = z$1.infer<typeof WebhookPayloadV3Schema>;
|
|
4087
4222
|
/** V3 trigger-specific payload - has trigger metadata fields */
|
|
@@ -4116,32 +4251,32 @@ declare const WebhookTriggerPayloadV3Schema: z$1.ZodObject<{
|
|
|
4116
4251
|
type: string;
|
|
4117
4252
|
data: Record<string, unknown>;
|
|
4118
4253
|
id: string;
|
|
4119
|
-
timestamp: string;
|
|
4120
4254
|
metadata: {
|
|
4121
|
-
connected_account_id: string;
|
|
4122
|
-
auth_config_id: string;
|
|
4123
|
-
user_id: string;
|
|
4124
|
-
log_id: string;
|
|
4125
4255
|
trigger_id: string;
|
|
4256
|
+
log_id: string;
|
|
4257
|
+
user_id: string;
|
|
4126
4258
|
trigger_slug: string;
|
|
4259
|
+
connected_account_id: string;
|
|
4260
|
+
auth_config_id: string;
|
|
4127
4261
|
} & {
|
|
4128
4262
|
[k: string]: unknown;
|
|
4129
4263
|
};
|
|
4264
|
+
timestamp: string;
|
|
4130
4265
|
}, {
|
|
4131
4266
|
type: string;
|
|
4132
4267
|
data: Record<string, unknown>;
|
|
4133
4268
|
id: string;
|
|
4134
|
-
timestamp: string;
|
|
4135
4269
|
metadata: {
|
|
4136
|
-
connected_account_id: string;
|
|
4137
|
-
auth_config_id: string;
|
|
4138
|
-
user_id: string;
|
|
4139
|
-
log_id: string;
|
|
4140
4270
|
trigger_id: string;
|
|
4271
|
+
log_id: string;
|
|
4272
|
+
user_id: string;
|
|
4141
4273
|
trigger_slug: string;
|
|
4274
|
+
connected_account_id: string;
|
|
4275
|
+
auth_config_id: string;
|
|
4142
4276
|
} & {
|
|
4143
4277
|
[k: string]: unknown;
|
|
4144
4278
|
};
|
|
4279
|
+
timestamp: string;
|
|
4145
4280
|
}>;
|
|
4146
4281
|
type WebhookTriggerPayloadV3 = z$1.infer<typeof WebhookTriggerPayloadV3Schema>;
|
|
4147
4282
|
/** Union of all webhook payload versions */
|
|
@@ -4155,14 +4290,14 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
4155
4290
|
type: string;
|
|
4156
4291
|
data: Record<string, unknown>;
|
|
4157
4292
|
id: string;
|
|
4158
|
-
timestamp: string;
|
|
4159
4293
|
metadata: Record<string, unknown>;
|
|
4294
|
+
timestamp: string;
|
|
4160
4295
|
}, {
|
|
4161
4296
|
type: string;
|
|
4162
4297
|
data: Record<string, unknown>;
|
|
4163
4298
|
id: string;
|
|
4164
|
-
timestamp: string;
|
|
4165
4299
|
metadata: Record<string, unknown>;
|
|
4300
|
+
timestamp: string;
|
|
4166
4301
|
}>, z$1.ZodObject<{
|
|
4167
4302
|
type: z$1.ZodString;
|
|
4168
4303
|
timestamp: z$1.ZodString;
|
|
@@ -4189,11 +4324,11 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
4189
4324
|
}, "strip", z$1.ZodTypeAny, {
|
|
4190
4325
|
type: string;
|
|
4191
4326
|
data: {
|
|
4192
|
-
user_id: string;
|
|
4193
4327
|
connection_id: string;
|
|
4194
4328
|
trigger_id: string;
|
|
4195
4329
|
connection_nano_id: string;
|
|
4196
4330
|
trigger_nano_id: string;
|
|
4331
|
+
user_id: string;
|
|
4197
4332
|
} & {
|
|
4198
4333
|
[k: string]: unknown;
|
|
4199
4334
|
};
|
|
@@ -4202,11 +4337,11 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
4202
4337
|
}, {
|
|
4203
4338
|
type: string;
|
|
4204
4339
|
data: {
|
|
4205
|
-
user_id: string;
|
|
4206
4340
|
connection_id: string;
|
|
4207
4341
|
trigger_id: string;
|
|
4208
4342
|
connection_nano_id: string;
|
|
4209
4343
|
trigger_nano_id: string;
|
|
4344
|
+
user_id: string;
|
|
4210
4345
|
} & {
|
|
4211
4346
|
[k: string]: unknown;
|
|
4212
4347
|
};
|
|
@@ -4219,17 +4354,17 @@ declare const WebhookPayloadSchema: z$1.ZodUnion<[z$1.ZodObject<{
|
|
|
4219
4354
|
payload: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
|
|
4220
4355
|
log_id: z$1.ZodString;
|
|
4221
4356
|
}, "strip", z$1.ZodTypeAny, {
|
|
4222
|
-
log_id: string;
|
|
4223
4357
|
payload: Record<string, unknown>;
|
|
4224
4358
|
trigger_name: string;
|
|
4225
4359
|
connection_id: string;
|
|
4226
4360
|
trigger_id: string;
|
|
4227
|
-
}, {
|
|
4228
4361
|
log_id: string;
|
|
4362
|
+
}, {
|
|
4229
4363
|
payload: Record<string, unknown>;
|
|
4230
4364
|
trigger_name: string;
|
|
4231
4365
|
connection_id: string;
|
|
4232
4366
|
trigger_id: string;
|
|
4367
|
+
log_id: string;
|
|
4233
4368
|
}>]>;
|
|
4234
4369
|
type WebhookPayload = z$1.infer<typeof WebhookPayloadSchema>;
|
|
4235
4370
|
/** Webhook version enum */
|
|
@@ -4298,16 +4433,16 @@ declare const VerifyWebhookParamsSchema: z$1.ZodObject<{
|
|
|
4298
4433
|
tolerance: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
|
|
4299
4434
|
}, "strip", z$1.ZodTypeAny, {
|
|
4300
4435
|
id: string;
|
|
4301
|
-
timestamp: string;
|
|
4302
|
-
payload: string;
|
|
4303
4436
|
secret: string;
|
|
4437
|
+
payload: string;
|
|
4438
|
+
timestamp: string;
|
|
4304
4439
|
signature: string;
|
|
4305
4440
|
tolerance: number;
|
|
4306
4441
|
}, {
|
|
4307
4442
|
id: string;
|
|
4308
|
-
timestamp: string;
|
|
4309
|
-
payload: string;
|
|
4310
4443
|
secret: string;
|
|
4444
|
+
payload: string;
|
|
4445
|
+
timestamp: string;
|
|
4311
4446
|
signature: string;
|
|
4312
4447
|
tolerance?: number | undefined;
|
|
4313
4448
|
}>;
|
|
@@ -4725,6 +4860,14 @@ declare class AuthConfigs {
|
|
|
4725
4860
|
* @returns {Promise<CreateAuthConfigResponse>} Created auth config
|
|
4726
4861
|
*
|
|
4727
4862
|
* @example
|
|
4863
|
+
* // Use a specific Composio-managed app; omit managedAppId for the toolkit's default
|
|
4864
|
+
* const { composioManagedAuth } = await composio.toolkits.get('slack');
|
|
4865
|
+
* const slackAuthConfig = await authConfigs.create('slack', {
|
|
4866
|
+
* type: AuthConfigTypes.COMPOSIO_MANAGED,
|
|
4867
|
+
* managedAppId: composioManagedAuth?.find(app => !app.isDefault)?.managedAppId,
|
|
4868
|
+
* });
|
|
4869
|
+
*
|
|
4870
|
+
* @example
|
|
4728
4871
|
* const authConfig = await authConfigs.create('my-toolkit', {
|
|
4729
4872
|
* type: AuthConfigTypes.CUSTOM,
|
|
4730
4873
|
* name: 'My Custom Auth Config',
|
|
@@ -5325,24 +5468,24 @@ declare const UsageBreakdownParamsSchema: z$1.ZodObject<{
|
|
|
5325
5468
|
}>>;
|
|
5326
5469
|
}, "strip", z$1.ZodTypeAny, {
|
|
5327
5470
|
limit?: number | undefined;
|
|
5471
|
+
orderBy?: "key" | "total_quantity" | "event_count" | undefined;
|
|
5328
5472
|
from?: number | undefined;
|
|
5329
5473
|
to?: number | undefined;
|
|
5330
5474
|
filters?: {
|
|
5331
5475
|
userId?: string[] | null | undefined;
|
|
5332
5476
|
sessionId?: string[] | null | undefined;
|
|
5333
5477
|
} | undefined;
|
|
5334
|
-
orderBy?: "key" | "total_quantity" | "event_count" | undefined;
|
|
5335
5478
|
groupBy?: string | undefined;
|
|
5336
5479
|
orderDirection?: "asc" | "desc" | undefined;
|
|
5337
5480
|
}, {
|
|
5338
5481
|
limit?: number | undefined;
|
|
5482
|
+
orderBy?: "key" | "total_quantity" | "event_count" | undefined;
|
|
5339
5483
|
from?: number | undefined;
|
|
5340
5484
|
to?: number | undefined;
|
|
5341
5485
|
filters?: {
|
|
5342
5486
|
userId?: string[] | null | undefined;
|
|
5343
5487
|
sessionId?: string[] | null | undefined;
|
|
5344
5488
|
} | undefined;
|
|
5345
|
-
orderBy?: "key" | "total_quantity" | "event_count" | undefined;
|
|
5346
5489
|
groupBy?: string | undefined;
|
|
5347
5490
|
orderDirection?: "asc" | "desc" | undefined;
|
|
5348
5491
|
}>;
|
|
@@ -6430,16 +6573,16 @@ declare const MCPServerInstanceSchema: z.ZodObject<{
|
|
|
6430
6573
|
userId: string;
|
|
6431
6574
|
id: string;
|
|
6432
6575
|
url: string;
|
|
6433
|
-
authConfigs: string[];
|
|
6434
6576
|
allowedTools: string[];
|
|
6577
|
+
authConfigs: string[];
|
|
6435
6578
|
}, {
|
|
6436
6579
|
name: string;
|
|
6437
6580
|
type: "streamable_http";
|
|
6438
6581
|
userId: string;
|
|
6439
6582
|
id: string;
|
|
6440
6583
|
url: string;
|
|
6441
|
-
authConfigs: string[];
|
|
6442
6584
|
allowedTools: string[];
|
|
6585
|
+
authConfigs: string[];
|
|
6443
6586
|
}>;
|
|
6444
6587
|
type MCPServerInstance = z.infer<typeof MCPServerInstanceSchema>;
|
|
6445
6588
|
declare const MCPConfigCreationParamsSchema: z.ZodObject<{
|
|
@@ -6566,15 +6709,15 @@ declare const MCPListParamsSchema: z.ZodObject<{
|
|
|
6566
6709
|
}, "strip", z.ZodTypeAny, {
|
|
6567
6710
|
toolkits: string[];
|
|
6568
6711
|
limit: number;
|
|
6569
|
-
authConfigs: string[];
|
|
6570
6712
|
page: number;
|
|
6713
|
+
authConfigs: string[];
|
|
6571
6714
|
name?: string | undefined;
|
|
6572
6715
|
}, {
|
|
6573
6716
|
name?: string | undefined;
|
|
6574
6717
|
toolkits?: string[] | undefined;
|
|
6575
6718
|
limit?: number | undefined;
|
|
6576
|
-
authConfigs?: string[] | undefined;
|
|
6577
6719
|
page?: number | undefined;
|
|
6720
|
+
authConfigs?: string[] | undefined;
|
|
6578
6721
|
}>;
|
|
6579
6722
|
type MCPListParams = z.infer<typeof MCPListParamsSchema>;
|
|
6580
6723
|
declare const MCPItemSchema: z.ZodObject<{
|
|
@@ -6894,7 +7037,7 @@ declare class MCP {
|
|
|
6894
7037
|
* const server = await composio.experimental.mcp.get("mcp_12345");
|
|
6895
7038
|
*
|
|
6896
7039
|
* console.log(server.name); // "My Personal MCP Server"
|
|
6897
|
-
* console.log(server.allowedTools); // ["
|
|
7040
|
+
* console.log(server.allowedTools); // ["GITHUB_CREATE_AN_ISSUE", "SLACK_SEND_MESSAGE"]
|
|
6898
7041
|
* console.log(server.toolkits); // ["github", "slack"]
|
|
6899
7042
|
* console.log(server.serverInstanceCount); // 3
|
|
6900
7043
|
*
|
|
@@ -6975,7 +7118,7 @@ declare class MCP {
|
|
|
6975
7118
|
* {
|
|
6976
7119
|
* toolkit: "github",
|
|
6977
7120
|
* authConfigId: "auth_abc123",
|
|
6978
|
-
* allowedTools: ["
|
|
7121
|
+
* allowedTools: ["GITHUB_CREATE_AN_ISSUE", "GITHUB_LIST_REPOS"]
|
|
6979
7122
|
* },
|
|
6980
7123
|
* {
|
|
6981
7124
|
* toolkit: "slack",
|
|
@@ -7055,17 +7198,17 @@ declare const WebhookSubscriptionSchema: z$1.ZodObject<{
|
|
|
7055
7198
|
id: string;
|
|
7056
7199
|
webhookUrl: string;
|
|
7057
7200
|
enabledEvents: string[];
|
|
7201
|
+
secret?: string | undefined;
|
|
7058
7202
|
createdAt?: string | undefined;
|
|
7059
7203
|
updatedAt?: string | undefined;
|
|
7060
|
-
secret?: string | undefined;
|
|
7061
7204
|
}, {
|
|
7062
7205
|
version: "V1" | "V2" | "V3";
|
|
7063
7206
|
id: string;
|
|
7064
7207
|
webhookUrl: string;
|
|
7065
7208
|
enabledEvents: string[];
|
|
7209
|
+
secret?: string | undefined;
|
|
7066
7210
|
createdAt?: string | undefined;
|
|
7067
7211
|
updatedAt?: string | undefined;
|
|
7068
|
-
secret?: string | undefined;
|
|
7069
7212
|
}>;
|
|
7070
7213
|
declare const WebhookSubscriptionListParamsSchema: z$1.ZodObject<{
|
|
7071
7214
|
/** Number of items per page, max allowed is 50. */
|
|
@@ -7094,17 +7237,17 @@ declare const WebhookSubscriptionListResponseSchema: z$1.ZodObject<{
|
|
|
7094
7237
|
id: string;
|
|
7095
7238
|
webhookUrl: string;
|
|
7096
7239
|
enabledEvents: string[];
|
|
7240
|
+
secret?: string | undefined;
|
|
7097
7241
|
createdAt?: string | undefined;
|
|
7098
7242
|
updatedAt?: string | undefined;
|
|
7099
|
-
secret?: string | undefined;
|
|
7100
7243
|
}, {
|
|
7101
7244
|
version: "V1" | "V2" | "V3";
|
|
7102
7245
|
id: string;
|
|
7103
7246
|
webhookUrl: string;
|
|
7104
7247
|
enabledEvents: string[];
|
|
7248
|
+
secret?: string | undefined;
|
|
7105
7249
|
createdAt?: string | undefined;
|
|
7106
7250
|
updatedAt?: string | undefined;
|
|
7107
|
-
secret?: string | undefined;
|
|
7108
7251
|
}>, "many">;
|
|
7109
7252
|
nextCursor: z$1.ZodNullable<z$1.ZodString>;
|
|
7110
7253
|
totalPages: z$1.ZodNumber;
|
|
@@ -7116,9 +7259,9 @@ declare const WebhookSubscriptionListResponseSchema: z$1.ZodObject<{
|
|
|
7116
7259
|
id: string;
|
|
7117
7260
|
webhookUrl: string;
|
|
7118
7261
|
enabledEvents: string[];
|
|
7262
|
+
secret?: string | undefined;
|
|
7119
7263
|
createdAt?: string | undefined;
|
|
7120
7264
|
updatedAt?: string | undefined;
|
|
7121
|
-
secret?: string | undefined;
|
|
7122
7265
|
}[];
|
|
7123
7266
|
nextCursor: string | null;
|
|
7124
7267
|
totalPages: number;
|
|
@@ -7130,9 +7273,9 @@ declare const WebhookSubscriptionListResponseSchema: z$1.ZodObject<{
|
|
|
7130
7273
|
id: string;
|
|
7131
7274
|
webhookUrl: string;
|
|
7132
7275
|
enabledEvents: string[];
|
|
7276
|
+
secret?: string | undefined;
|
|
7133
7277
|
createdAt?: string | undefined;
|
|
7134
7278
|
updatedAt?: string | undefined;
|
|
7135
|
-
secret?: string | undefined;
|
|
7136
7279
|
}[];
|
|
7137
7280
|
nextCursor: string | null;
|
|
7138
7281
|
totalPages: number;
|
|
@@ -7301,15 +7444,15 @@ declare const WebhookEndpointSchema: z$1.ZodObject<{
|
|
|
7301
7444
|
toolkitSlug: string;
|
|
7302
7445
|
data: Record<string, string> | null;
|
|
7303
7446
|
id: string;
|
|
7304
|
-
createdAt: string;
|
|
7305
7447
|
webhookUrl: string;
|
|
7448
|
+
createdAt: string;
|
|
7306
7449
|
clientId: string | null;
|
|
7307
7450
|
}, {
|
|
7308
7451
|
toolkitSlug: string;
|
|
7309
7452
|
data: Record<string, string> | null;
|
|
7310
7453
|
id: string;
|
|
7311
|
-
createdAt: string;
|
|
7312
7454
|
webhookUrl: string;
|
|
7455
|
+
createdAt: string;
|
|
7313
7456
|
clientId: string | null;
|
|
7314
7457
|
}>;
|
|
7315
7458
|
type WebhookEndpoint = z$1.infer<typeof WebhookEndpointSchema>;
|
|
@@ -7574,11 +7717,11 @@ declare const LogSearchFilterSchema: z$1.ZodObject<{
|
|
|
7574
7717
|
value: z$1.ZodString;
|
|
7575
7718
|
}, "strip", z$1.ZodTypeAny, {
|
|
7576
7719
|
value: string;
|
|
7577
|
-
field: "status" | "
|
|
7720
|
+
field: "status" | "log_id" | "user_id" | "connected_account_id" | "auth_config_id" | "tool_slug" | "toolkit_slug" | "session_id" | "sandbox_id" | "request_id";
|
|
7578
7721
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7579
7722
|
}, {
|
|
7580
7723
|
value: string;
|
|
7581
|
-
field: "status" | "
|
|
7724
|
+
field: "status" | "log_id" | "user_id" | "connected_account_id" | "auth_config_id" | "tool_slug" | "toolkit_slug" | "session_id" | "sandbox_id" | "request_id";
|
|
7582
7725
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7583
7726
|
}>;
|
|
7584
7727
|
type LogSearchFilter = z$1.infer<typeof LogSearchFilterSchema>;
|
|
@@ -7607,11 +7750,11 @@ declare const LogSearchParamsSchema: z$1.ZodObject<{
|
|
|
7607
7750
|
value: z$1.ZodString;
|
|
7608
7751
|
}, "strip", z$1.ZodTypeAny, {
|
|
7609
7752
|
value: string;
|
|
7610
|
-
field: "status" | "
|
|
7753
|
+
field: "status" | "log_id" | "user_id" | "connected_account_id" | "auth_config_id" | "tool_slug" | "toolkit_slug" | "session_id" | "sandbox_id" | "request_id";
|
|
7611
7754
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7612
7755
|
}, {
|
|
7613
7756
|
value: string;
|
|
7614
|
-
field: "status" | "
|
|
7757
|
+
field: "status" | "log_id" | "user_id" | "connected_account_id" | "auth_config_id" | "tool_slug" | "toolkit_slug" | "session_id" | "sandbox_id" | "request_id";
|
|
7615
7758
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7616
7759
|
}>, "many">>;
|
|
7617
7760
|
timeRange: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -7631,7 +7774,7 @@ declare const LogSearchParamsSchema: z$1.ZodObject<{
|
|
|
7631
7774
|
cursor?: string | null | undefined;
|
|
7632
7775
|
filters?: {
|
|
7633
7776
|
value: string;
|
|
7634
|
-
field: "status" | "
|
|
7777
|
+
field: "status" | "log_id" | "user_id" | "connected_account_id" | "auth_config_id" | "tool_slug" | "toolkit_slug" | "session_id" | "sandbox_id" | "request_id";
|
|
7635
7778
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7636
7779
|
}[] | undefined;
|
|
7637
7780
|
timeRange?: {
|
|
@@ -7643,7 +7786,7 @@ declare const LogSearchParamsSchema: z$1.ZodObject<{
|
|
|
7643
7786
|
cursor?: string | null | undefined;
|
|
7644
7787
|
filters?: {
|
|
7645
7788
|
value: string;
|
|
7646
|
-
field: "status" | "
|
|
7789
|
+
field: "status" | "log_id" | "user_id" | "connected_account_id" | "auth_config_id" | "tool_slug" | "toolkit_slug" | "session_id" | "sandbox_id" | "request_id";
|
|
7647
7790
|
operator: "==" | "!=" | "contains" | "not_contains";
|
|
7648
7791
|
}[] | undefined;
|
|
7649
7792
|
timeRange?: {
|
|
@@ -7707,13 +7850,13 @@ declare const ToolExecutionLogSchema: z$1.ZodObject<{
|
|
|
7707
7850
|
type: string;
|
|
7708
7851
|
status: "success" | "failed";
|
|
7709
7852
|
id: string;
|
|
7710
|
-
timestamp: string;
|
|
7711
|
-
level: "error" | "info" | "warn";
|
|
7712
7853
|
metadata: {
|
|
7713
7854
|
instant_charge?: string | undefined;
|
|
7714
7855
|
} & {
|
|
7715
7856
|
[k: string]: unknown;
|
|
7716
7857
|
};
|
|
7858
|
+
timestamp: string;
|
|
7859
|
+
level: "error" | "info" | "warn";
|
|
7717
7860
|
metrics: Record<string, unknown>;
|
|
7718
7861
|
parent: {
|
|
7719
7862
|
logId: string;
|
|
@@ -7724,13 +7867,13 @@ declare const ToolExecutionLogSchema: z$1.ZodObject<{
|
|
|
7724
7867
|
type: string;
|
|
7725
7868
|
status: "success" | "failed";
|
|
7726
7869
|
id: string;
|
|
7727
|
-
timestamp: string;
|
|
7728
|
-
level: "error" | "info" | "warn";
|
|
7729
7870
|
metadata: {
|
|
7730
7871
|
instant_charge?: string | undefined;
|
|
7731
7872
|
} & {
|
|
7732
7873
|
[k: string]: unknown;
|
|
7733
7874
|
};
|
|
7875
|
+
timestamp: string;
|
|
7876
|
+
level: "error" | "info" | "warn";
|
|
7734
7877
|
metrics: Record<string, unknown>;
|
|
7735
7878
|
parent: {
|
|
7736
7879
|
logId: string;
|
|
@@ -7771,13 +7914,13 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7771
7914
|
type: string;
|
|
7772
7915
|
status: "success" | "failed";
|
|
7773
7916
|
id: string;
|
|
7774
|
-
timestamp: string;
|
|
7775
|
-
level: "error" | "info" | "warn";
|
|
7776
7917
|
metadata: {
|
|
7777
7918
|
instant_charge?: string | undefined;
|
|
7778
7919
|
} & {
|
|
7779
7920
|
[k: string]: unknown;
|
|
7780
7921
|
};
|
|
7922
|
+
timestamp: string;
|
|
7923
|
+
level: "error" | "info" | "warn";
|
|
7781
7924
|
metrics: Record<string, unknown>;
|
|
7782
7925
|
parent: {
|
|
7783
7926
|
logId: string;
|
|
@@ -7788,13 +7931,13 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7788
7931
|
type: string;
|
|
7789
7932
|
status: "success" | "failed";
|
|
7790
7933
|
id: string;
|
|
7791
|
-
timestamp: string;
|
|
7792
|
-
level: "error" | "info" | "warn";
|
|
7793
7934
|
metadata: {
|
|
7794
7935
|
instant_charge?: string | undefined;
|
|
7795
7936
|
} & {
|
|
7796
7937
|
[k: string]: unknown;
|
|
7797
7938
|
};
|
|
7939
|
+
timestamp: string;
|
|
7940
|
+
level: "error" | "info" | "warn";
|
|
7798
7941
|
metrics: Record<string, unknown>;
|
|
7799
7942
|
parent: {
|
|
7800
7943
|
logId: string;
|
|
@@ -7809,13 +7952,13 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7809
7952
|
type: string;
|
|
7810
7953
|
status: "success" | "failed";
|
|
7811
7954
|
id: string;
|
|
7812
|
-
timestamp: string;
|
|
7813
|
-
level: "error" | "info" | "warn";
|
|
7814
7955
|
metadata: {
|
|
7815
7956
|
instant_charge?: string | undefined;
|
|
7816
7957
|
} & {
|
|
7817
7958
|
[k: string]: unknown;
|
|
7818
7959
|
};
|
|
7960
|
+
timestamp: string;
|
|
7961
|
+
level: "error" | "info" | "warn";
|
|
7819
7962
|
metrics: Record<string, unknown>;
|
|
7820
7963
|
parent: {
|
|
7821
7964
|
logId: string;
|
|
@@ -7829,13 +7972,13 @@ declare const LogSearchResponseSchema: z$1.ZodObject<{
|
|
|
7829
7972
|
type: string;
|
|
7830
7973
|
status: "success" | "failed";
|
|
7831
7974
|
id: string;
|
|
7832
|
-
timestamp: string;
|
|
7833
|
-
level: "error" | "info" | "warn";
|
|
7834
7975
|
metadata: {
|
|
7835
7976
|
instant_charge?: string | undefined;
|
|
7836
7977
|
} & {
|
|
7837
7978
|
[k: string]: unknown;
|
|
7838
7979
|
};
|
|
7980
|
+
timestamp: string;
|
|
7981
|
+
level: "error" | "info" | "warn";
|
|
7839
7982
|
metrics: Record<string, unknown>;
|
|
7840
7983
|
parent: {
|
|
7841
7984
|
logId: string;
|
|
@@ -7921,13 +8064,13 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
|
|
|
7921
8064
|
status: "success" | "failed";
|
|
7922
8065
|
data: Record<string, unknown>;
|
|
7923
8066
|
id: string;
|
|
7924
|
-
timestamp: string;
|
|
7925
|
-
level: "error" | "info" | "warn";
|
|
7926
8067
|
metadata: {
|
|
7927
8068
|
instant_charge?: string | undefined;
|
|
7928
8069
|
} & {
|
|
7929
8070
|
[k: string]: unknown;
|
|
7930
8071
|
};
|
|
8072
|
+
timestamp: string;
|
|
8073
|
+
level: "error" | "info" | "warn";
|
|
7931
8074
|
metrics: Record<string, unknown>;
|
|
7932
8075
|
parent: {
|
|
7933
8076
|
logId: string;
|
|
@@ -7953,13 +8096,13 @@ declare const ToolExecutionLogDetailSchema: z$1.ZodObject<{
|
|
|
7953
8096
|
status: "success" | "failed";
|
|
7954
8097
|
data: Record<string, unknown>;
|
|
7955
8098
|
id: string;
|
|
7956
|
-
timestamp: string;
|
|
7957
|
-
level: "error" | "info" | "warn";
|
|
7958
8099
|
metadata: {
|
|
7959
8100
|
instant_charge?: string | undefined;
|
|
7960
8101
|
} & {
|
|
7961
8102
|
[k: string]: unknown;
|
|
7962
8103
|
};
|
|
8104
|
+
timestamp: string;
|
|
8105
|
+
level: "error" | "info" | "warn";
|
|
7963
8106
|
metrics: Record<string, unknown>;
|
|
7964
8107
|
parent: {
|
|
7965
8108
|
logId: string;
|
|
@@ -9590,4 +9733,4 @@ declare class Composio<TProvider extends BaseComposioProvider<unknown, unknown,
|
|
|
9590
9733
|
*/
|
|
9591
9734
|
flush(): Promise<void>;
|
|
9592
9735
|
}
|
|
9593
|
-
export { WebhookEndpointListItemSchema as $, TriggersTypeRetrieveResponse as $n, ToolkitCategorySchema as $r, UsageBreakdownGroup as $t, LogSearchFilterSchema as A,
|
|
9736
|
+
export { WebhookEndpointListItemSchema as $, TriggersTypeRetrieveResponse as $n, ToolkitCategorySchema as $r, UsageBreakdownGroup as $t, LogSearchFilterSchema as A, ToolkitVersionChangelogSchema as Ai, TriggerInstanceManageDeleteResponse as An, AuthDefaultConfigUpdateParamsSchema as Ar, CustomToolkitApiKeyField as At, ToolExecutionLogLevelSchema as B, TriggerInstanceUpsertResponse as Bn, ToolKitItem as Br, CustomToolkitSyncParams as Bt, SessionConfigSummarySchema as C, ToolkitRetrieveCategoriesResponse as Ci, TriggerEventData as Cn, AuthConfigRetrieveResponseSchema as Cr, WebhookSubscriptionSetParamsSchema as Ct, LogSearchFilterFieldSchema as D, ToolkitSortByEnum as Di, TriggerInstanceListActiveResponseItem as Dn, AuthConfigUpdateParams as Dr, MCP as Dt, LogSearchFilterField as E, ToolkitRetrieveResponseSchema as Ei, TriggerInstanceListActiveResponse as En, AuthConfigTypes as Er, WebhookVersionSchema as Et, LogSearchTimeRange as F, TriggerInstanceManageUpdateResponseSchema as Fn, CreateAuthConfigParamsSchema as Fr, CustomToolkitCreateResponse as Ft, ToolExecutionLogStatusSchema as G, TriggerSubscribeParamSchema as Gn, ToolKitMetaSchema as Gr, CustomToolkitUpdateParamsSchema as Gt, ToolExecutionLogMetadataSchema as H, TriggerStatusEnum as Hn, ToolKitListResponse as Hr, CustomToolkitSyncResponse as Ht, LogSearchTimeRangeSchema as I, TriggerInstanceType as In, CreateAuthConfigResponse as Ir, CustomToolkitCreateResponseSchema as It, Webhooks as J, TriggerTypeSchema as Jn, ToolkitAuthField as Jr, CustomToolkitUpsertParams as Jt, WebhookEndpoints as K, TriggerSubscribeParams as Kn, ToolkitAuthConfigDetails as Kr, CustomToolkitUpdateResponse as Kt, ToolExecutionLog as L, TriggerInstanceTypeSchema as Ln, CreateAuthConfigResponseSchema as Lr, CustomToolkitDeleteResponse as Lt, LogSearchParamsSchema as M, ToolkitsListParamsSchema as Mi, TriggerInstanceManageUpdateParams as Mn, AuthSchemeType as Mr, CustomToolkitAuthSchemeSchema as Mt, LogSearchResponse as N, TriggerInstanceManageUpdateParamsSchema as Nn, AuthSchemeTypes as Nr, CustomToolkitCreateParams as Nt, LogSearchFilterOperator as O, ToolkitSortByEnumSchema as Oi, TriggerInstanceListActiveResponseItemSchema as On, AuthConfigUpdateParamsSchema as Or, Experimental as Ot, LogSearchResponseSchema as P, TriggerInstanceManageUpdateResponse as Pn, CreateAuthConfigParams as Pr, CustomToolkitCreateParamsSchema as Pt, WebhookEndpointListItem as Q, TriggersTypeListResponseSchema as Qn, ToolkitCategory as Qr, Usage as Qt, ToolExecutionLogDetail as R, TriggerInstanceUpsertParams as Rn, CreateComposioManagedAuthConfigParamsSchema as Rr, CustomToolkitDeleteResponseSchema as Rt, SessionConfigSummary as S, ToolkitRecommendScopesResponseSchema as Si, TriggerEvent as Sn, AuthConfigRetrieveResponse as Sr, WebhookSubscriptionSetParams as St, LogSearchFilter as T, ToolkitRetrieveResponse as Ti, TriggerInstanceListActiveParamsSchema as Tn, AuthConfigType as Tr, WebhookSubscriptionUpdateParamsSchema as Tt, ToolExecutionLogParentSchema as U, TriggerStatusType as Un, ToolKitListResponseSchema as Ur, CustomToolkitSyncResponseSchema as Ut, ToolExecutionLogMetadata as V, TriggerInstanceUpsertResponseSchema as Vn, ToolKitItemSchema as Vr, CustomToolkitSyncParamsSchema as Vt, ToolExecutionLogSchema as W, TriggerStatuses as Wn, ToolKitMeta as Wr, CustomToolkitUpdateParams as Wt, WebhookEndpointCreateParams as X, TriggersTypeListParamsSchema as Xn, ToolkitAuthFieldsResponse as Xr, CustomToolkitUpsertResponse as Xt, WebhookEndpoint as Y, TriggersTypeListParams as Yn, ToolkitAuthFieldSchema as Yr, CustomToolkitUpsertParamsSchema as Yt, WebhookEndpointCreateParamsSchema as Z, TriggersTypeListResponse as Zn, ToolkitAuthFieldsResponseSchema as Zr, CustomToolkitUpsertResponseSchema as Zt, SessionConfigListResponse as _, ToolkitMangedByEnum as _i, IncomingTriggerPayloadSchema as _n, AuthConfigCreationToolAccessConfigSchema as _r, WebhookSubscriptionListResponse as _t, ComposioLogger as a, ToolkitComposioManagedAuthSchema as ai, UsageEntitySummary as an, WebhookPayloadV1 as ar, WebhookEndpointReplaceParamsSchema as at, SessionConfigPolicySchema as b, ToolkitRecommendScopesParamsSchema as bi, SetWebhookSubscriptionParamsSchema as bn, AuthConfigListResponse as br, WebhookSubscriptionRotateSecretResponseSchema as bt, Keyring as c, ToolkitGetManyParams as ci, UsageFiltersSchema as cn, WebhookPayloadV2Schema as cr, WebhookEndpointUpdateParamsSchema as ct, KeyringTransferKeysResponse as d, ToolkitGrantContextDimensionSchema as di, UsageSummaryParams as dn, WebhookRequestLike as dr, WebhookSubscriptionEventType as dt, ToolkitChangelogItem as ei, UsageBreakdownGroupSchema as en, VerifyWebhookParams as er, WebhookEndpointListParams as et, KeyringTransferKeysResponseSchema as f, ToolkitListGrantContextsParams as fi, UsageSummaryParamsSchema as fn, WebhookSubscription as fr, WebhookSubscriptionEventTypeSchema as ft, SessionConfigListParamsSchema as g, ToolkitListParams as gi, IncomingTriggerPayload as gn, WebhookVersions as gr, WebhookSubscriptionListParamsSchema as gt, SessionConfigListParams as h, ToolkitListGrantContextsResponseSchema as hi, DefaultWebhookSubscriptionEvents as hn, WebhookVersion as hr, WebhookSubscriptionListParams as ht, OpenAIProvider as i, ToolkitComposioManagedAuth as ii, UsageBreakdownResponseSchema as in, WebhookPayloadSchema as ir, WebhookEndpointReplaceParams as it, LogSearchParams as j, ToolkitsGetManyParamsSchema as ji, TriggerInstanceManageDeleteResponseSchema as jn, AuthSchemeEnum as jr, CustomToolkitAuthScheme as jt, LogSearchFilterOperatorSchema as k, ToolkitVersionChangelog as ki, TriggerInstanceListActiveResponseSchema as kn, AuthCustomConfigUpdateParamsSchema as kr, CustomToolkits as kt, KeyringTransferKey as l, ToolkitGetManySlugsSchema as li, UsageOrderBySchema as ln, WebhookPayloadV3 as lr, WebhookSubscriptionDeleteResponse as lt, SessionConfig as m, ToolkitListGrantContextsResponse as mi, UsageSummaryResponseSchema as mn, WebhookTriggerPayloadV3Schema as mr, WebhookSubscriptionEventTypesResponseSchema as mt, ComposioConfig as n, ToolkitChangelogResponse as ni, UsageBreakdownParamsSchema as nn, VerifyWebhookResult as nr, WebhookEndpointListResponse as nt, LogLevel as o, ToolkitConditionalScope as oi, UsageEntitySummarySchema as on, WebhookPayloadV1Schema as or, WebhookEndpointSchema as ot, SessionConfigs as p, ToolkitListGrantContextsParamsSchema as pi, UsageSummaryResponse as pn, WebhookTriggerPayloadV3 as pr, WebhookSubscriptionEventTypesResponse as pt, WebhookSubscriptions as q, TriggerType as qn, ToolkitAuthConfigDetailsSchema as qr, CustomToolkitUpdateResponseSchema as qt, Sessions as r, ToolkitChangelogResponseSchema as ri, UsageBreakdownResponse as rn, WebhookPayload as rr, WebhookEndpointListResponseSchema as rt, logger as s, ToolkitConditionalScopeSchema as si, UsageFilters as sn, WebhookPayloadV2 as sr, WebhookEndpointUpdateParams as st, Composio as t, ToolkitChangelogItemSchema as ti, UsageBreakdownParams as tn, VerifyWebhookParamsSchema as tr, WebhookEndpointListParamsSchema as tt, KeyringTransferKeySchema as u, ToolkitGrantContextDimension as ui, UsageOrderDirectionSchema as un, WebhookPayloadV3Schema as ur, WebhookSubscriptionDeleteResponseSchema as ut, SessionConfigListResponseSchema as v, ToolkitMangedByEnumSchema as vi, ParseWebhookOptions as vn, AuthConfigListParams as vr, WebhookSubscriptionListResponseSchema as vt, Logs as w, ToolkitRetrieveCategoriesResponseSchema as wi, TriggerInstanceListActiveParams as wn, AuthConfigToolAccessConfigSchema as wr, WebhookSubscriptionUpdateParams as wt, SessionConfigSchema as x, ToolkitRecommendScopesResponse as xi, TriggerData as xn, AuthConfigListResponseSchema as xr, WebhookSubscriptionSchema as xt, SessionConfigPolicy as y, ToolkitRecommendScopesParams as yi, SetWebhookSubscriptionParams as yn, AuthConfigListParamsSchema as yr, WebhookSubscriptionRotateSecretResponse as yt, ToolExecutionLogDetailSchema as z, TriggerInstanceUpsertParamsSchema as zn, CreateCustomAuthConfigParamsSchema as zr, CustomToolkitLogoFile as zt };
|