@composio/core 0.15.0 → 0.16.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.
@@ -1,4 +1,4 @@
1
- import { dt as ConnectionDataSchema, n as BaseComposioProvider, rn as SessionMetaToolOptions } from "./BaseProvider-BN2-Nktx.mjs";
1
+ import { dt as ConnectionDataSchema, n as BaseComposioProvider, rn as SessionMetaToolOptions } from "./BaseProvider-D7p2OPEx.mjs";
2
2
  import { Composio } from "@composio/client";
3
3
  import z, { z as z$1 } from "zod/v3";
4
4
  import { z as z$2 } from "zod/v4";
@@ -211,12 +211,12 @@ declare const CreateConnectedAccountResponseSchema: z$1.ZodObject<{
211
211
  redirectUrl: z$1.ZodNullable<z$1.ZodString>;
212
212
  }, "strip", z$1.ZodTypeAny, {
213
213
  status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED";
214
- redirectUrl: string | null;
215
214
  id: string;
215
+ redirectUrl: string | null;
216
216
  }, {
217
217
  status: "INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED";
218
- redirectUrl: string | null;
219
218
  id: string;
219
+ redirectUrl: string | null;
220
220
  }>;
221
221
  type CreateConnectedAccountResponse = z$1.infer<typeof CreateConnectedAccountResponseSchema>;
222
222
  declare const ConnectedAccountAuthConfigSchema: z$1.ZodObject<{
@@ -279,19 +279,19 @@ declare const ConnectedAccountListParamsSchema: z$1.ZodObject<{
279
279
  */
280
280
  accountType: z$1.ZodOptional<z$1.ZodEnum<["PRIVATE", "SHARED", "ALL"]>>;
281
281
  }, "strip", z$1.ZodTypeAny, {
282
- limit?: number | null | undefined;
283
- authConfigIds?: string[] | null | undefined;
284
282
  userIds?: string[] | null | undefined;
283
+ authConfigIds?: string[] | null | undefined;
285
284
  cursor?: string | null | undefined;
285
+ limit?: number | null | undefined;
286
286
  accountType?: "PRIVATE" | "SHARED" | "ALL" | undefined;
287
287
  orderBy?: "created_at" | "updated_at" | undefined;
288
288
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED")[] | null | undefined;
289
289
  toolkitSlugs?: string[] | null | undefined;
290
290
  }, {
291
- limit?: number | null | undefined;
292
- authConfigIds?: string[] | null | undefined;
293
291
  userIds?: string[] | null | undefined;
292
+ authConfigIds?: string[] | null | undefined;
294
293
  cursor?: string | null | undefined;
294
+ limit?: number | null | undefined;
295
295
  accountType?: "PRIVATE" | "SHARED" | "ALL" | undefined;
296
296
  orderBy?: "created_at" | "updated_at" | undefined;
297
297
  statuses?: ("INITIALIZING" | "INITIATED" | "ACTIVE" | "FAILED" | "EXPIRED" | "INACTIVE" | "REVOKED")[] | null | undefined;
@@ -608,12 +608,12 @@ declare const ToolRouterSessionFilesMountListOptionsSchema: z.ZodObject<{
608
608
  }, "strip", z.ZodTypeAny, {
609
609
  mountId: string;
610
610
  path?: string | undefined;
611
- limit?: number | undefined;
612
611
  cursor?: string | undefined;
612
+ limit?: number | undefined;
613
613
  }, {
614
614
  path?: string | undefined;
615
- limit?: number | undefined;
616
615
  cursor?: string | undefined;
616
+ limit?: number | undefined;
617
617
  mountId?: string | undefined;
618
618
  }>;
619
619
  type ToolRouterSessionFilesMountListOptions = z.input<typeof ToolRouterSessionFilesMountListOptionsSchema>;
@@ -1295,10 +1295,6 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
1295
1295
  customToolkits?: CustomToolkit[] | undefined;
1296
1296
  }>>>;
1297
1297
  }, "strip", z.ZodTypeAny, {
1298
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1299
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1300
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1301
- } | undefined;
1302
1298
  tools?: Record<string, string[] | {
1303
1299
  enable: string[];
1304
1300
  } | {
@@ -1314,10 +1310,14 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
1314
1310
  } | {
1315
1311
  enable: string[];
1316
1312
  } | undefined;
1317
- authConfigs?: Record<string, string> | undefined;
1313
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1314
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1315
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1316
+ } | undefined;
1318
1317
  preload?: {
1319
1318
  tools?: string[] | "all" | undefined;
1320
1319
  } | undefined;
1320
+ authConfigs?: Record<string, string> | undefined;
1321
1321
  sessionPreset?: "direct_tools" | undefined;
1322
1322
  mcp?: boolean | undefined;
1323
1323
  connectedAccounts?: Record<string, string | string[]> | undefined;
@@ -1351,10 +1351,6 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
1351
1351
  customToolkits?: CustomToolkit[] | undefined;
1352
1352
  } | undefined;
1353
1353
  }, {
1354
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1355
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1356
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1357
- } | undefined;
1358
1354
  tools?: Record<string, string[] | {
1359
1355
  enable: string[];
1360
1356
  } | {
@@ -1370,10 +1366,14 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
1370
1366
  } | {
1371
1367
  enable: string[];
1372
1368
  } | undefined;
1373
- authConfigs?: Record<string, string> | undefined;
1369
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1370
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1371
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1372
+ } | undefined;
1374
1373
  preload?: {
1375
1374
  tools?: string[] | "all" | undefined;
1376
1375
  } | undefined;
1376
+ authConfigs?: Record<string, string> | undefined;
1377
1377
  sessionPreset?: "direct_tools" | undefined;
1378
1378
  mcp?: boolean | undefined;
1379
1379
  connectedAccounts?: Record<string, string | string[]> | undefined;
@@ -1407,10 +1407,6 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
1407
1407
  customToolkits?: CustomToolkit[] | undefined;
1408
1408
  } | undefined;
1409
1409
  }>, {
1410
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1411
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1412
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1413
- } | undefined;
1414
1410
  tools?: Record<string, string[] | {
1415
1411
  enable: string[];
1416
1412
  } | {
@@ -1426,10 +1422,14 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
1426
1422
  } | {
1427
1423
  enable: string[];
1428
1424
  } | undefined;
1429
- authConfigs?: Record<string, string> | undefined;
1425
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1426
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1427
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1428
+ } | undefined;
1430
1429
  preload?: {
1431
1430
  tools?: string[] | "all" | undefined;
1432
1431
  } | undefined;
1432
+ authConfigs?: Record<string, string> | undefined;
1433
1433
  sessionPreset?: "direct_tools" | undefined;
1434
1434
  mcp?: boolean | undefined;
1435
1435
  connectedAccounts?: Record<string, string | string[]> | undefined;
@@ -1463,10 +1463,6 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
1463
1463
  customToolkits?: CustomToolkit[] | undefined;
1464
1464
  } | undefined;
1465
1465
  }, {
1466
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1467
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1468
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1469
- } | undefined;
1470
1466
  tools?: Record<string, string[] | {
1471
1467
  enable: string[];
1472
1468
  } | {
@@ -1482,10 +1478,14 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
1482
1478
  } | {
1483
1479
  enable: string[];
1484
1480
  } | undefined;
1485
- authConfigs?: Record<string, string> | undefined;
1481
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1482
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1483
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1484
+ } | undefined;
1486
1485
  preload?: {
1487
1486
  tools?: string[] | "all" | undefined;
1488
1487
  } | undefined;
1488
+ authConfigs?: Record<string, string> | undefined;
1489
1489
  sessionPreset?: "direct_tools" | undefined;
1490
1490
  mcp?: boolean | undefined;
1491
1491
  connectedAccounts?: Record<string, string | string[]> | undefined;
@@ -1519,10 +1519,6 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
1519
1519
  customToolkits?: CustomToolkit[] | undefined;
1520
1520
  } | undefined;
1521
1521
  }>, {
1522
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1523
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1524
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1525
- } | undefined;
1526
1522
  tools?: Record<string, string[] | {
1527
1523
  enable: string[];
1528
1524
  } | {
@@ -1538,10 +1534,14 @@ declare const ToolRouterCreateSessionConfigSchema: z.ZodEffects<z.ZodEffects<z.Z
1538
1534
  } | {
1539
1535
  enable: string[];
1540
1536
  } | undefined;
1541
- authConfigs?: Record<string, string> | undefined;
1537
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
1538
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1539
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
1540
+ } | undefined;
1542
1541
  preload?: {
1543
1542
  tools?: string[] | "all" | undefined;
1544
1543
  } | undefined;
1544
+ authConfigs?: Record<string, string> | undefined;
1545
1545
  sessionPreset?: "direct_tools" | undefined;
1546
1546
  mcp?: boolean | undefined;
1547
1547
  connectedAccounts?: Record<string, string | string[]> | undefined;
@@ -1614,12 +1614,12 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
1614
1614
  isComposioManaged: z.ZodBoolean;
1615
1615
  }, "strip", z.ZodTypeAny, {
1616
1616
  id: string;
1617
- mode: string;
1618
1617
  isComposioManaged: boolean;
1618
+ mode: string;
1619
1619
  }, {
1620
1620
  id: string;
1621
- mode: string;
1622
1621
  isComposioManaged: boolean;
1622
+ mode: string;
1623
1623
  }>>>;
1624
1624
  connectedAccount: z.ZodOptional<z.ZodObject<{
1625
1625
  id: z.ZodString;
@@ -1635,8 +1635,8 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
1635
1635
  isActive: boolean;
1636
1636
  authConfig?: {
1637
1637
  id: string;
1638
- mode: string;
1639
1638
  isComposioManaged: boolean;
1639
+ mode: string;
1640
1640
  } | null | undefined;
1641
1641
  connectedAccount?: {
1642
1642
  status: string;
@@ -1646,8 +1646,8 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
1646
1646
  isActive: boolean;
1647
1647
  authConfig?: {
1648
1648
  id: string;
1649
- mode: string;
1650
1649
  isComposioManaged: boolean;
1650
+ mode: string;
1651
1651
  } | null | undefined;
1652
1652
  connectedAccount?: {
1653
1653
  status: string;
@@ -1655,16 +1655,16 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
1655
1655
  } | undefined;
1656
1656
  }>>;
1657
1657
  }, "strip", z.ZodTypeAny, {
1658
- slug: string;
1659
1658
  name: string;
1659
+ slug: string;
1660
1660
  isNoAuth: boolean;
1661
1661
  logo?: string | undefined;
1662
1662
  connection?: {
1663
1663
  isActive: boolean;
1664
1664
  authConfig?: {
1665
1665
  id: string;
1666
- mode: string;
1667
1666
  isComposioManaged: boolean;
1667
+ mode: string;
1668
1668
  } | null | undefined;
1669
1669
  connectedAccount?: {
1670
1670
  status: string;
@@ -1672,16 +1672,16 @@ declare const ToolkitConnectionStateSchema: z.ZodObject<{
1672
1672
  } | undefined;
1673
1673
  } | undefined;
1674
1674
  }, {
1675
- slug: string;
1676
1675
  name: string;
1676
+ slug: string;
1677
1677
  logo?: string | undefined;
1678
1678
  isNoAuth?: boolean | undefined;
1679
1679
  connection?: {
1680
1680
  isActive: boolean;
1681
1681
  authConfig?: {
1682
1682
  id: string;
1683
- mode: string;
1684
1683
  isComposioManaged: boolean;
1684
+ mode: string;
1685
1685
  } | null | undefined;
1686
1686
  connectedAccount?: {
1687
1687
  status: string;
@@ -1703,12 +1703,12 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
1703
1703
  isComposioManaged: z.ZodBoolean;
1704
1704
  }, "strip", z.ZodTypeAny, {
1705
1705
  id: string;
1706
- mode: string;
1707
1706
  isComposioManaged: boolean;
1707
+ mode: string;
1708
1708
  }, {
1709
1709
  id: string;
1710
- mode: string;
1711
1710
  isComposioManaged: boolean;
1711
+ mode: string;
1712
1712
  }>>>;
1713
1713
  connectedAccount: z.ZodOptional<z.ZodObject<{
1714
1714
  id: z.ZodString;
@@ -1724,8 +1724,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
1724
1724
  isActive: boolean;
1725
1725
  authConfig?: {
1726
1726
  id: string;
1727
- mode: string;
1728
1727
  isComposioManaged: boolean;
1728
+ mode: string;
1729
1729
  } | null | undefined;
1730
1730
  connectedAccount?: {
1731
1731
  status: string;
@@ -1735,8 +1735,8 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
1735
1735
  isActive: boolean;
1736
1736
  authConfig?: {
1737
1737
  id: string;
1738
- mode: string;
1739
1738
  isComposioManaged: boolean;
1739
+ mode: string;
1740
1740
  } | null | undefined;
1741
1741
  connectedAccount?: {
1742
1742
  status: string;
@@ -1744,16 +1744,16 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
1744
1744
  } | undefined;
1745
1745
  }>>;
1746
1746
  }, "strip", z.ZodTypeAny, {
1747
- slug: string;
1748
1747
  name: string;
1748
+ slug: string;
1749
1749
  isNoAuth: boolean;
1750
1750
  logo?: string | undefined;
1751
1751
  connection?: {
1752
1752
  isActive: boolean;
1753
1753
  authConfig?: {
1754
1754
  id: string;
1755
- mode: string;
1756
1755
  isComposioManaged: boolean;
1756
+ mode: string;
1757
1757
  } | null | undefined;
1758
1758
  connectedAccount?: {
1759
1759
  status: string;
@@ -1761,16 +1761,16 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
1761
1761
  } | undefined;
1762
1762
  } | undefined;
1763
1763
  }, {
1764
- slug: string;
1765
1764
  name: string;
1765
+ slug: string;
1766
1766
  logo?: string | undefined;
1767
1767
  isNoAuth?: boolean | undefined;
1768
1768
  connection?: {
1769
1769
  isActive: boolean;
1770
1770
  authConfig?: {
1771
1771
  id: string;
1772
- mode: string;
1773
1772
  isComposioManaged: boolean;
1773
+ mode: string;
1774
1774
  } | null | undefined;
1775
1775
  connectedAccount?: {
1776
1776
  status: string;
@@ -1782,16 +1782,16 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
1782
1782
  totalPages: z.ZodNumber;
1783
1783
  }, "strip", z.ZodTypeAny, {
1784
1784
  items: {
1785
- slug: string;
1786
1785
  name: string;
1786
+ slug: string;
1787
1787
  isNoAuth: boolean;
1788
1788
  logo?: string | undefined;
1789
1789
  connection?: {
1790
1790
  isActive: boolean;
1791
1791
  authConfig?: {
1792
1792
  id: string;
1793
- mode: string;
1794
1793
  isComposioManaged: boolean;
1794
+ mode: string;
1795
1795
  } | null | undefined;
1796
1796
  connectedAccount?: {
1797
1797
  status: string;
@@ -1803,16 +1803,16 @@ declare const ToolkitConnectionsDetailsSchema: z.ZodObject<{
1803
1803
  cursor?: string | undefined;
1804
1804
  }, {
1805
1805
  items: {
1806
- slug: string;
1807
1806
  name: string;
1807
+ slug: string;
1808
1808
  logo?: string | undefined;
1809
1809
  isNoAuth?: boolean | undefined;
1810
1810
  connection?: {
1811
1811
  isActive: boolean;
1812
1812
  authConfig?: {
1813
1813
  id: string;
1814
- mode: string;
1815
1814
  isComposioManaged: boolean;
1815
+ mode: string;
1816
1816
  } | null | undefined;
1817
1817
  connectedAccount?: {
1818
1818
  status: string;
@@ -1852,15 +1852,15 @@ declare const ToolRouterToolkitsOptionsSchema: z.ZodObject<{
1852
1852
  search: z.ZodOptional<z.ZodString>;
1853
1853
  }, "strip", z.ZodTypeAny, {
1854
1854
  toolkits?: string[] | undefined;
1855
+ cursor?: string | undefined;
1855
1856
  limit?: number | undefined;
1856
1857
  search?: string | undefined;
1857
- cursor?: string | undefined;
1858
1858
  isConnected?: boolean | undefined;
1859
1859
  }, {
1860
1860
  toolkits?: string[] | undefined;
1861
+ cursor?: string | undefined;
1861
1862
  limit?: number | undefined;
1862
1863
  search?: string | undefined;
1863
- cursor?: string | undefined;
1864
1864
  isConnected?: boolean | undefined;
1865
1865
  }>;
1866
1866
  type ToolRouterToolkitsOptions = z.infer<typeof ToolRouterToolkitsOptionsSchema>;
@@ -1993,15 +1993,15 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
1993
1993
  connectionDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1994
1994
  currentUserInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1995
1995
  }, "strip", z.ZodTypeAny, {
1996
- description: string;
1997
1996
  toolkit: string;
1997
+ description: string;
1998
1998
  hasActiveConnection: boolean;
1999
1999
  statusMessage: string;
2000
2000
  connectionDetails?: Record<string, unknown> | undefined;
2001
2001
  currentUserInfo?: Record<string, unknown> | undefined;
2002
2002
  }, {
2003
- description: string;
2004
2003
  toolkit: string;
2004
+ description: string;
2005
2005
  hasActiveConnection: boolean;
2006
2006
  statusMessage: string;
2007
2007
  connectionDetails?: Record<string, unknown> | undefined;
@@ -2071,8 +2071,8 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
2071
2071
  } | undefined;
2072
2072
  }>;
2073
2073
  toolkitConnectionStatuses: {
2074
- description: string;
2075
2074
  toolkit: string;
2075
+ description: string;
2076
2076
  hasActiveConnection: boolean;
2077
2077
  statusMessage: string;
2078
2078
  connectionDetails?: Record<string, unknown> | undefined;
@@ -2126,8 +2126,8 @@ declare const ToolRouterSessionSearchResponseSchema: z.ZodObject<{
2126
2126
  } | undefined;
2127
2127
  }>;
2128
2128
  toolkitConnectionStatuses: {
2129
- description: string;
2130
2129
  toolkit: string;
2130
+ description: string;
2131
2131
  hasActiveConnection: boolean;
2132
2132
  statusMessage: string;
2133
2133
  connectionDetails?: Record<string, unknown> | undefined;
@@ -2151,12 +2151,12 @@ declare const ToolRouterSessionExecuteResponseSchema: z.ZodObject<{
2151
2151
  error: z.ZodNullable<z.ZodString>;
2152
2152
  logId: z.ZodString;
2153
2153
  }, "strip", z.ZodTypeAny, {
2154
- data: Record<string, unknown>;
2155
2154
  error: string | null;
2155
+ data: Record<string, unknown>;
2156
2156
  logId: string;
2157
2157
  }, {
2158
- data: Record<string, unknown>;
2159
2158
  error: string | null;
2159
+ data: Record<string, unknown>;
2160
2160
  logId: string;
2161
2161
  }>;
2162
2162
  type ToolRouterSessionExecuteResponse = z.infer<typeof ToolRouterSessionExecuteResponseSchema>;
@@ -2230,12 +2230,12 @@ declare const SessionProxyExecuteParamsSchema: z.ZodObject<{
2230
2230
  name: z.ZodString;
2231
2231
  value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
2232
2232
  }, "strip", z.ZodTypeAny, {
2233
- name: string;
2234
2233
  value: string | number;
2234
+ name: string;
2235
2235
  in: "query" | "header";
2236
2236
  }, {
2237
- name: string;
2238
2237
  value: string | number;
2238
+ name: string;
2239
2239
  in: "query" | "header";
2240
2240
  }>, "many">>;
2241
2241
  }, "strip", z.ZodTypeAny, {
@@ -2244,8 +2244,8 @@ declare const SessionProxyExecuteParamsSchema: z.ZodObject<{
2244
2244
  method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
2245
2245
  body?: unknown;
2246
2246
  parameters?: {
2247
- name: string;
2248
2247
  value: string | number;
2248
+ name: string;
2249
2249
  in: "query" | "header";
2250
2250
  }[] | undefined;
2251
2251
  }, {
@@ -2254,8 +2254,8 @@ declare const SessionProxyExecuteParamsSchema: z.ZodObject<{
2254
2254
  method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
2255
2255
  body?: unknown;
2256
2256
  parameters?: {
2257
- name: string;
2258
2257
  value: string | number;
2258
+ name: string;
2259
2259
  in: "query" | "header";
2260
2260
  }[] | undefined;
2261
2261
  }>;
@@ -2405,10 +2405,6 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
2405
2405
  tools?: string[] | "all" | undefined;
2406
2406
  }>>>;
2407
2407
  }, "strip", z.ZodTypeAny, {
2408
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
2409
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
2410
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
2411
- } | undefined;
2412
2408
  tools?: Record<string, string[] | {
2413
2409
  enable: string[];
2414
2410
  } | {
@@ -2424,10 +2420,14 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
2424
2420
  } | {
2425
2421
  enable: string[];
2426
2422
  } | undefined;
2427
- authConfigs?: Record<string, string> | undefined;
2423
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
2424
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
2425
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
2426
+ } | undefined;
2428
2427
  preload?: {
2429
2428
  tools?: string[] | "all" | undefined;
2430
2429
  } | undefined;
2430
+ authConfigs?: Record<string, string> | undefined;
2431
2431
  connectedAccounts?: Record<string, string[]> | undefined;
2432
2432
  manageConnections?: boolean | {
2433
2433
  enable?: boolean | undefined;
@@ -2452,10 +2452,6 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
2452
2452
  requireExplicitSelection?: boolean | undefined;
2453
2453
  } | null | undefined;
2454
2454
  }, {
2455
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
2456
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
2457
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
2458
- } | undefined;
2459
2455
  tools?: Record<string, string[] | {
2460
2456
  enable: string[];
2461
2457
  } | {
@@ -2471,10 +2467,14 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
2471
2467
  } | {
2472
2468
  enable: string[];
2473
2469
  } | undefined;
2474
- authConfigs?: Record<string, string> | undefined;
2470
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
2471
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
2472
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
2473
+ } | undefined;
2475
2474
  preload?: {
2476
2475
  tools?: string[] | "all" | undefined;
2477
2476
  } | undefined;
2477
+ authConfigs?: Record<string, string> | undefined;
2478
2478
  connectedAccounts?: Record<string, string | string[]> | undefined;
2479
2479
  manageConnections?: boolean | {
2480
2480
  enable?: boolean | undefined;
@@ -2499,10 +2499,6 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
2499
2499
  requireExplicitSelection?: boolean | undefined;
2500
2500
  } | null | undefined;
2501
2501
  }>, {
2502
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
2503
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
2504
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
2505
- } | undefined;
2506
2502
  tools?: Record<string, string[] | {
2507
2503
  enable: string[];
2508
2504
  } | {
@@ -2518,10 +2514,14 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
2518
2514
  } | {
2519
2515
  enable: string[];
2520
2516
  } | undefined;
2521
- authConfigs?: Record<string, string> | undefined;
2517
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
2518
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
2519
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
2520
+ } | undefined;
2522
2521
  preload?: {
2523
2522
  tools?: string[] | "all" | undefined;
2524
2523
  } | undefined;
2524
+ authConfigs?: Record<string, string> | undefined;
2525
2525
  connectedAccounts?: Record<string, string[]> | undefined;
2526
2526
  manageConnections?: boolean | {
2527
2527
  enable?: boolean | undefined;
@@ -2546,10 +2546,6 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
2546
2546
  requireExplicitSelection?: boolean | undefined;
2547
2547
  } | null | undefined;
2548
2548
  }, {
2549
- tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
2550
- disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
2551
- enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
2552
- } | undefined;
2553
2549
  tools?: Record<string, string[] | {
2554
2550
  enable: string[];
2555
2551
  } | {
@@ -2565,10 +2561,14 @@ declare const ToolRouterUpdateSessionConfigSchema: z.ZodEffects<z.ZodObject<{
2565
2561
  } | {
2566
2562
  enable: string[];
2567
2563
  } | undefined;
2568
- authConfigs?: Record<string, string> | undefined;
2564
+ tags?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | {
2565
+ disable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
2566
+ enable?: ("readOnlyHint" | "destructiveHint" | "idempotentHint" | "openWorldHint")[] | undefined;
2567
+ } | undefined;
2569
2568
  preload?: {
2570
2569
  tools?: string[] | "all" | undefined;
2571
2570
  } | undefined;
2571
+ authConfigs?: Record<string, string> | undefined;
2572
2572
  connectedAccounts?: Record<string, string | string[]> | undefined;
2573
2573
  manageConnections?: boolean | {
2574
2574
  enable?: boolean | undefined;
@@ -2599,11 +2599,11 @@ declare const ToolRouterSessionDeleteResponseSchema: z.ZodObject<{
2599
2599
  sessionId: z.ZodString;
2600
2600
  deleted: z.ZodLiteral<true>;
2601
2601
  }, "strip", z.ZodTypeAny, {
2602
- sessionId: string;
2603
2602
  deleted: true;
2604
- }, {
2605
2603
  sessionId: string;
2604
+ }, {
2606
2605
  deleted: true;
2606
+ sessionId: string;
2607
2607
  }>;
2608
2608
  type ToolRouterSessionDeleteResponse = z.infer<typeof ToolRouterSessionDeleteResponseSchema>;
2609
2609
  type ToolRouterSessionDeleteFn = (requestOptions?: ComposioRequestOptions) => Promise<ToolRouterSessionDeleteResponse>;
@@ -1,3 +1,3 @@
1
- import { S as SessionContext, a as CreateCustomToolkitParams, c as CustomToolExecuteFn, f as CustomToolkit, o as CustomTool, r as CreateCustomToolParams } from "../customTool.types-Bhom9a2R.mjs";
2
- import { n as createCustomToolkit, t as createCustomTool } from "../CustomTool-zjeDpZ91.mjs";
1
+ import { S as SessionContext, a as CreateCustomToolkitParams, c as CustomToolExecuteFn, f as CustomToolkit, o as CustomTool, r as CreateCustomToolParams } from "../customTool.types-cGHcIBX-.mjs";
2
+ import { n as createCustomToolkit, t as createCustomTool } from "../CustomTool-Bk38kFp0.mjs";
3
3
  export { type CreateCustomToolParams, type CreateCustomToolkitParams, type CustomTool, type CustomToolExecuteFn, type CustomToolkit, type SessionContext, createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit };