@composio/client 2.0.0-rc.17 → 2.0.0-rc.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/README.md +107 -33
  2. package/dist/{api-key-revocation-lc3308Ao.mjs → api-key-revocation-JkA4sOGH.mjs} +1 -1
  3. package/dist/{auth-DkGiEaxg.mjs → auth-B_K-wdMm.mjs} +1 -1
  4. package/dist/{auth-configs-DbxqGahP.mjs → auth-configs-RAgN782Z.mjs} +1 -1
  5. package/dist/{clanker-fK9cAkTz.mjs → clanker-Pgyyh95r.mjs} +1 -1
  6. package/dist/{cli-K1MskpaR.mjs → cli-Ca5bRiEN.mjs} +4 -5
  7. package/dist/{connected-accounts-Bfl7_SY_.mjs → connected-accounts-D6NTwvbi.mjs} +1 -1
  8. package/dist/{consumer-5o2zMQwr.mjs → consumer-BP4OyJS0.mjs} +6 -7
  9. package/dist/{custom-wEkSiPHn.mjs → custom-BBr7KbCv.mjs} +1 -1
  10. package/dist/{custom-8rs-sHnb.mjs → custom-DA3ABHnI.mjs} +1 -1
  11. package/dist/effect.d.mts +54 -23
  12. package/dist/effect.mjs +204 -143
  13. package/dist/{error-D9cG225M.mjs → error-Bw7_G2NZ.mjs} +1 -1
  14. package/dist/{files-BPKJXlpc.mjs → files-CeBs4ZE1.mjs} +1 -1
  15. package/dist/{files-BjPFzRnM.mjs → files-DLRmNLRD.mjs} +1 -1
  16. package/dist/{generate-DDHNgbPS.mjs → generate-16uLPwUU.mjs} +1 -1
  17. package/dist/{generated-deprecated-inputs--L5LHDO_.mjs → generated-deprecated-inputs-zx6ml908.mjs} +2 -2
  18. package/dist/{generated-operations-D1e__yar.mjs → generated-operations-DKgGT6Dg.mjs} +426 -198
  19. package/dist/index.d.mts +3 -3
  20. package/dist/index.mjs +131 -101
  21. package/dist/{keyring-Dkm6DQIp.mjs → keyring-Q8GSieAv.mjs} +1 -1
  22. package/dist/{link-BBU-J5L_.mjs → link-D4dY_eaN.mjs} +1 -1
  23. package/dist/{logs-CuuysWk1.mjs → logs-Dc63Ju74.mjs} +3 -3
  24. package/dist/{manage-B1R7I3ZM.mjs → manage-ByF6b3OD.mjs} +1 -1
  25. package/dist/{mcp-C3beSy48.mjs → mcp-Cw7-Mtkm.mjs} +3 -3
  26. package/dist/{org-B13XOuKh.mjs → org-RRUxKfRw.mjs} +6 -6
  27. package/dist/{owner-BAr5uwk3.mjs → owner-GZX-sp-h.mjs} +1 -1
  28. package/dist/{pagination-rules-uMUdPq_7.mjs → pagination-rules-CMnBwktJ.mjs} +1 -1
  29. package/dist/pagination.mjs +1 -1
  30. package/dist/{project-BbCgXD83.mjs → project-BsKmk9T7.mjs} +1 -1
  31. package/dist/{project-C30H_5b6.mjs → project-C1uq7bV_.mjs} +1 -1
  32. package/dist/{project-DF5KclHm.mjs → project-C_YZ-eLI.mjs} +4 -7
  33. package/dist/{project-CDm8tjUw.mjs → project-Cj9ULE0a.mjs} +1 -1
  34. package/dist/{realtime-6LigMh83.mjs → realtime-W-lJ0Vcs.mjs} +1 -1
  35. package/dist/resources/api-key-revocation.d.mts +1 -1
  36. package/dist/resources/api-key-revocation.mjs +1 -1
  37. package/dist/resources/auth/auth.d.mts +1 -1
  38. package/dist/resources/auth/auth.mjs +1 -1
  39. package/dist/resources/auth/index.d.mts +1 -1
  40. package/dist/resources/auth/index.mjs +2 -2
  41. package/dist/resources/auth/session.d.mts +1 -1
  42. package/dist/resources/auth/session.mjs +1 -1
  43. package/dist/resources/auth-configs.d.mts +1 -1
  44. package/dist/resources/auth-configs.mjs +1 -1
  45. package/dist/resources/auth.d.mts +1 -1
  46. package/dist/resources/auth.mjs +2 -2
  47. package/dist/resources/cli/cli.d.mts +1 -1
  48. package/dist/resources/cli/cli.mjs +1 -1
  49. package/dist/resources/cli/index.d.mts +1 -1
  50. package/dist/resources/cli/index.mjs +2 -2
  51. package/dist/resources/cli/realtime.d.mts +1 -1
  52. package/dist/resources/cli/realtime.mjs +1 -1
  53. package/dist/resources/cli.d.mts +1 -1
  54. package/dist/resources/cli.mjs +2 -2
  55. package/dist/resources/connected-accounts.d.mts +1 -1
  56. package/dist/resources/connected-accounts.mjs +1 -1
  57. package/dist/resources/custom.d.mts +1 -1
  58. package/dist/resources/custom.mjs +1 -1
  59. package/dist/resources/files.d.mts +1 -1
  60. package/dist/resources/files.mjs +1 -1
  61. package/dist/resources/index.d.mts +1 -1
  62. package/dist/resources/index.mjs +13 -13
  63. package/dist/resources/keyring.d.mts +1 -1
  64. package/dist/resources/keyring.mjs +1 -1
  65. package/dist/resources/link.d.mts +1 -1
  66. package/dist/resources/link.mjs +1 -1
  67. package/dist/resources/logs/index.d.mts +1 -1
  68. package/dist/resources/logs/index.mjs +3 -3
  69. package/dist/resources/logs/logs.d.mts +1 -1
  70. package/dist/resources/logs/logs.mjs +1 -1
  71. package/dist/resources/logs/tools.d.mts +1 -1
  72. package/dist/resources/logs/tools.mjs +1 -1
  73. package/dist/resources/logs/triggers.d.mts +1 -1
  74. package/dist/resources/logs/triggers.mjs +1 -1
  75. package/dist/resources/logs.d.mts +1 -1
  76. package/dist/resources/logs.mjs +3 -3
  77. package/dist/resources/mcp/custom.d.mts +1 -1
  78. package/dist/resources/mcp/custom.mjs +1 -1
  79. package/dist/resources/mcp/generate.d.mts +1 -1
  80. package/dist/resources/mcp/generate.mjs +1 -1
  81. package/dist/resources/mcp/index.d.mts +1 -1
  82. package/dist/resources/mcp/index.mjs +3 -3
  83. package/dist/resources/mcp/mcp.d.mts +1 -1
  84. package/dist/resources/mcp/mcp.mjs +1 -1
  85. package/dist/resources/mcp.d.mts +1 -1
  86. package/dist/resources/mcp.mjs +3 -3
  87. package/dist/resources/org/clanker.d.mts +1 -1
  88. package/dist/resources/org/clanker.mjs +1 -1
  89. package/dist/resources/org/consumer/consumer.d.mts +1 -1
  90. package/dist/resources/org/consumer/consumer.mjs +1 -1
  91. package/dist/resources/org/consumer/index.d.mts +1 -1
  92. package/dist/resources/org/consumer/index.mjs +2 -2
  93. package/dist/resources/org/consumer/project.d.mts +1 -1
  94. package/dist/resources/org/consumer/project.mjs +1 -1
  95. package/dist/resources/org/consumer.d.mts +1 -1
  96. package/dist/resources/org/consumer.mjs +2 -2
  97. package/dist/resources/org/index.d.mts +1 -1
  98. package/dist/resources/org/index.mjs +6 -6
  99. package/dist/resources/org/org.d.mts +1 -1
  100. package/dist/resources/org/org.mjs +1 -1
  101. package/dist/resources/org/owner/index.d.mts +1 -1
  102. package/dist/resources/org/owner/index.mjs +2 -2
  103. package/dist/resources/org/owner/owner.d.mts +1 -1
  104. package/dist/resources/org/owner/owner.mjs +1 -1
  105. package/dist/resources/org/owner/project.d.mts +1 -1
  106. package/dist/resources/org/owner/project.mjs +1 -1
  107. package/dist/resources/org/owner.d.mts +1 -1
  108. package/dist/resources/org/owner.mjs +2 -2
  109. package/dist/resources/org/project.d.mts +1 -1
  110. package/dist/resources/org/project.mjs +1 -1
  111. package/dist/resources/org/usage.d.mts +1 -1
  112. package/dist/resources/org/usage.mjs +1 -1
  113. package/dist/resources/org.d.mts +1 -1
  114. package/dist/resources/org.mjs +6 -6
  115. package/dist/resources/project/index.d.mts +1 -1
  116. package/dist/resources/project/index.mjs +1 -1
  117. package/dist/resources/project/project.d.mts +1 -1
  118. package/dist/resources/project/project.mjs +1 -1
  119. package/dist/resources/project/usage.d.mts +1 -1
  120. package/dist/resources/project/usage.mjs +1 -1
  121. package/dist/resources/project.d.mts +1 -1
  122. package/dist/resources/project.mjs +1 -1
  123. package/dist/resources/session-configs.d.mts +1 -1
  124. package/dist/resources/session-configs.mjs +1 -1
  125. package/dist/resources/tool-router/index.d.mts +1 -1
  126. package/dist/resources/tool-router/index.mjs +2 -2
  127. package/dist/resources/tool-router/session/files.d.mts +1 -1
  128. package/dist/resources/tool-router/session/files.mjs +1 -1
  129. package/dist/resources/tool-router/session/index.d.mts +1 -1
  130. package/dist/resources/tool-router/session/index.mjs +2 -2
  131. package/dist/resources/tool-router/session/session.d.mts +1 -1
  132. package/dist/resources/tool-router/session/session.mjs +1 -1
  133. package/dist/resources/tool-router/session.d.mts +1 -1
  134. package/dist/resources/tool-router/session.mjs +2 -2
  135. package/dist/resources/tool-router/tool-router.d.mts +1 -1
  136. package/dist/resources/tool-router/tool-router.mjs +1 -1
  137. package/dist/resources/tool-router.d.mts +1 -1
  138. package/dist/resources/tool-router.mjs +2 -2
  139. package/dist/resources/toolkits.d.mts +1 -1
  140. package/dist/resources/toolkits.mjs +1 -1
  141. package/dist/resources/tools.d.mts +1 -1
  142. package/dist/resources/tools.mjs +1 -1
  143. package/dist/resources/trigger-instances/index.d.mts +1 -1
  144. package/dist/resources/trigger-instances/index.mjs +2 -2
  145. package/dist/resources/trigger-instances/manage.d.mts +1 -1
  146. package/dist/resources/trigger-instances/manage.mjs +1 -1
  147. package/dist/resources/trigger-instances/trigger-instances.d.mts +1 -1
  148. package/dist/resources/trigger-instances/trigger-instances.mjs +1 -1
  149. package/dist/resources/trigger-instances.d.mts +1 -1
  150. package/dist/resources/trigger-instances.mjs +2 -2
  151. package/dist/resources/triggers-types.d.mts +1 -1
  152. package/dist/resources/triggers-types.mjs +1 -1
  153. package/dist/resources/webhook-endpoints.d.mts +1 -1
  154. package/dist/resources/webhook-endpoints.mjs +1 -1
  155. package/dist/resources/webhook-subscriptions.d.mts +1 -1
  156. package/dist/resources/webhook-subscriptions.mjs +1 -1
  157. package/dist/{session-Dm8WtF4I.mjs → session-BT5NJfbm.mjs} +1 -1
  158. package/dist/{session-DEfDnHZZ.mjs → session-BmXeclWC.mjs} +2 -2
  159. package/dist/{session-configs-nA6TL_i4.d.mts → session-configs-x3OA4CSe.d.mts} +179 -102
  160. package/dist/{tool-router-6l_dREjC.mjs → tool-router-DYPUf-fN.mjs} +1 -1
  161. package/dist/{toolkits-Mn_uLV98.mjs → toolkits-DZOZDm-4.mjs} +1 -1
  162. package/dist/{tools-btk0mzFP.mjs → tools-BDCRk80t.mjs} +1 -1
  163. package/dist/{tools-z-PjBsf7.mjs → tools-C0GjPEpP.mjs} +1 -1
  164. package/dist/{trigger-instances-PQaObQQy.mjs → trigger-instances-J5frdgzO.mjs} +2 -2
  165. package/dist/{triggers-y0mi0XzT.mjs → triggers-CnvE7y0L.mjs} +1 -1
  166. package/dist/{triggers-types-KoRbT0k5.mjs → triggers-types-DLVCtuwC.mjs} +1 -1
  167. package/dist/{usage-B2Z947BK.mjs → usage-DPxuivP6.mjs} +1 -1
  168. package/dist/{usage-DvjkSmpI.mjs → usage-DjQg9WIV.mjs} +1 -1
  169. package/dist/version-DEAhxVwC.d.mts +4 -0
  170. package/dist/{webhook-endpoints-kf4Jj2Mz.mjs → webhook-endpoints-BrSjXOf0.mjs} +1 -1
  171. package/dist/{webhook-subscriptions-DcYN8qo1.mjs → webhook-subscriptions-HT1acmwH.mjs} +1 -1
  172. package/package.json +2 -2
  173. package/dist/version-DUxhnnPj.d.mts +0 -4
@@ -1,4 +1,4 @@
1
- import { t as Files } from "../../../files-BPKJXlpc.mjs";
2
- import { t as Session } from "../../../session-DEfDnHZZ.mjs";
1
+ import { t as Files } from "../../../files-CeBs4ZE1.mjs";
2
+ import { t as Session } from "../../../session-BmXeclWC.mjs";
3
3
 
4
4
  export { Files, Session };
@@ -1,2 +1,2 @@
1
- import { $r as SessionCreateResponse, Jr as SessionAttachParams, Qr as SessionCreateParams, Xr as SessionConfigHistoryParams, Yr as SessionAttachResponse, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, ai as SessionLinkParams, ci as SessionPatchResponse, di as SessionRetrieveResponse, ei as SessionDeleteResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, oi as SessionLinkResponse, pi as SessionSearchResponse, qr as Session, ri as SessionExecuteParams, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse } from "../../../session-configs-nA6TL_i4.mjs";
1
+ import { $r as SessionCreateResponse, Jr as SessionAttachParams, Qr as SessionCreateParams, Xr as SessionConfigHistoryParams, Yr as SessionAttachResponse, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, ai as SessionLinkParams, ci as SessionPatchResponse, di as SessionRetrieveResponse, ei as SessionDeleteResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, oi as SessionLinkResponse, pi as SessionSearchResponse, qr as Session, ri as SessionExecuteParams, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse } from "../../../session-configs-x3OA4CSe.mjs";
2
2
  export { Session, SessionAttachParams, SessionAttachResponse, SessionConfigHistoryParams, SessionConfigHistoryResponse, SessionCreateParams, SessionCreateResponse, SessionDeleteResponse, SessionExecuteMetaParams, SessionExecuteMetaResponse, SessionExecuteParams, SessionExecuteResponse, SessionLinkParams, SessionLinkResponse, SessionPatchParams, SessionPatchResponse, SessionProxyExecuteParams, SessionProxyExecuteResponse, SessionRetrieveResponse, SessionSearchParams, SessionSearchResponse, SessionToolkitsParams, SessionToolkitsResponse, SessionToolsParams, SessionToolsResponse };
@@ -1,3 +1,3 @@
1
- import { t as Session } from "../../../session-DEfDnHZZ.mjs";
1
+ import { t as Session } from "../../../session-BmXeclWC.mjs";
2
2
 
3
3
  export { Session };
@@ -1,2 +1,2 @@
1
- import { $r as SessionCreateResponse, Ci as FileDeleteResponse, Ei as Files, Jr as SessionAttachParams, Qr as SessionCreateParams, Si as FileDeleteParams, Ti as FileListResponse, Xr as SessionConfigHistoryParams, Yr as SessionAttachResponse, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, ai as SessionLinkParams, bi as FileCreateUploadURLParams, ci as SessionPatchResponse, di as SessionRetrieveResponse, ei as SessionDeleteResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, oi as SessionLinkResponse, pi as SessionSearchResponse, qr as Session, ri as SessionExecuteParams, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse, vi as FileCreateDownloadURLParams, wi as FileListParams, xi as FileCreateUploadURLResponse, yi as FileCreateDownloadURLResponse } from "../../session-configs-nA6TL_i4.mjs";
1
+ import { $r as SessionCreateResponse, Ci as FileDeleteResponse, Ei as Files, Jr as SessionAttachParams, Qr as SessionCreateParams, Si as FileDeleteParams, Ti as FileListResponse, Xr as SessionConfigHistoryParams, Yr as SessionAttachResponse, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, ai as SessionLinkParams, bi as FileCreateUploadURLParams, ci as SessionPatchResponse, di as SessionRetrieveResponse, ei as SessionDeleteResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, oi as SessionLinkResponse, pi as SessionSearchResponse, qr as Session, ri as SessionExecuteParams, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse, vi as FileCreateDownloadURLParams, wi as FileListParams, xi as FileCreateUploadURLResponse, yi as FileCreateDownloadURLResponse } from "../../session-configs-x3OA4CSe.mjs";
2
2
  export { type FileCreateDownloadURLParams, type FileCreateDownloadURLResponse, type FileCreateUploadURLParams, type FileCreateUploadURLResponse, type FileDeleteParams, type FileDeleteResponse, type FileListParams, type FileListResponse, Files, Session, type SessionAttachParams, type SessionAttachResponse, type SessionConfigHistoryParams, type SessionConfigHistoryResponse, type SessionCreateParams, type SessionCreateResponse, type SessionDeleteResponse, type SessionExecuteMetaParams, type SessionExecuteMetaResponse, type SessionExecuteParams, type SessionExecuteResponse, type SessionLinkParams, type SessionLinkResponse, type SessionPatchParams, type SessionPatchResponse, type SessionProxyExecuteParams, type SessionProxyExecuteResponse, type SessionRetrieveResponse, type SessionSearchParams, type SessionSearchResponse, type SessionToolkitsParams, type SessionToolkitsResponse, type SessionToolsParams, type SessionToolsResponse };
@@ -1,5 +1,5 @@
1
- import { t as Files } from "../../files-BPKJXlpc.mjs";
2
- import { t as Session } from "../../session-DEfDnHZZ.mjs";
1
+ import { t as Files } from "../../files-CeBs4ZE1.mjs";
2
+ import { t as Session } from "../../session-BmXeclWC.mjs";
3
3
  import "./session/index.mjs";
4
4
 
5
5
  export { Files, Session };
@@ -1,2 +1,2 @@
1
- import { Kr as ToolRouter } from "../../session-configs-nA6TL_i4.mjs";
1
+ import { Kr as ToolRouter } from "../../session-configs-x3OA4CSe.mjs";
2
2
  export { ToolRouter };
@@ -1,3 +1,3 @@
1
- import { t as ToolRouter } from "../../tool-router-6l_dREjC.mjs";
1
+ import { t as ToolRouter } from "../../tool-router-DYPUf-fN.mjs";
2
2
 
3
3
  export { ToolRouter };
@@ -1,2 +1,2 @@
1
- import { $r as SessionCreateResponse, Jr as SessionAttachParams, Kr as ToolRouter, Qr as SessionCreateParams, Xr as SessionConfigHistoryParams, Yr as SessionAttachResponse, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, ai as SessionLinkParams, ci as SessionPatchResponse, di as SessionRetrieveResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, oi as SessionLinkResponse, pi as SessionSearchResponse, qr as Session, ri as SessionExecuteParams, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse } from "../session-configs-nA6TL_i4.mjs";
1
+ import { $r as SessionCreateResponse, Jr as SessionAttachParams, Kr as ToolRouter, Qr as SessionCreateParams, Xr as SessionConfigHistoryParams, Yr as SessionAttachResponse, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, ai as SessionLinkParams, ci as SessionPatchResponse, di as SessionRetrieveResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, oi as SessionLinkResponse, pi as SessionSearchResponse, qr as Session, ri as SessionExecuteParams, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse } from "../session-configs-x3OA4CSe.mjs";
2
2
  export { Session, type SessionAttachParams, type SessionAttachResponse, type SessionConfigHistoryParams, type SessionConfigHistoryResponse, type SessionCreateParams, type SessionCreateResponse, type SessionExecuteMetaParams, type SessionExecuteMetaResponse, type SessionExecuteParams, type SessionExecuteResponse, type SessionLinkParams, type SessionLinkResponse, type SessionPatchParams, type SessionPatchResponse, type SessionProxyExecuteParams, type SessionProxyExecuteResponse, type SessionRetrieveResponse, type SessionSearchParams, type SessionSearchResponse, type SessionToolkitsParams, type SessionToolkitsResponse, type SessionToolsParams, type SessionToolsResponse, ToolRouter };
@@ -1,5 +1,5 @@
1
- import { t as Session } from "../session-DEfDnHZZ.mjs";
2
- import { t as ToolRouter } from "../tool-router-6l_dREjC.mjs";
1
+ import { t as Session } from "../session-BmXeclWC.mjs";
2
+ import { t as ToolRouter } from "../tool-router-DYPUf-fN.mjs";
3
3
  import "./tool-router/index.mjs";
4
4
 
5
5
  export { Session, ToolRouter };
@@ -1,2 +1,2 @@
1
- import { Jn as ToolkitListParams, Qn as ToolkitRetrieveCategoriesResponse, Yn as ToolkitListResponse, nr as ToolkitRetrieveParams, or as Toolkits, rr as ToolkitRetrieveResponse } from "../session-configs-nA6TL_i4.mjs";
1
+ import { Jn as ToolkitListParams, Qn as ToolkitRetrieveCategoriesResponse, Yn as ToolkitListResponse, nr as ToolkitRetrieveParams, or as Toolkits, rr as ToolkitRetrieveResponse } from "../session-configs-x3OA4CSe.mjs";
2
2
  export { type ToolkitListParams, type ToolkitListResponse, type ToolkitRetrieveCategoriesResponse, type ToolkitRetrieveParams, type ToolkitRetrieveResponse, Toolkits };
@@ -1,3 +1,3 @@
1
- import { t as Toolkits } from "../toolkits-Mn_uLV98.mjs";
1
+ import { t as Toolkits } from "../toolkits-DZOZDm-4.mjs";
2
2
 
3
3
  export { Toolkits };
@@ -1,2 +1,2 @@
1
- import { Br as ToolRetrieveEnumResponse, Fr as ToolGetInputResponse, Gr as Tools, Ir as ToolListParams, Lr as ToolListResponse, Mr as ToolExecuteParams, Nr as ToolExecuteResponse, Pr as ToolGetInputParams, Rr as ToolProxyParams, Vr as ToolRetrieveParams, Wr as ToolRetrieveResponse, zr as ToolProxyResponse } from "../session-configs-nA6TL_i4.mjs";
1
+ import { Br as ToolRetrieveEnumResponse, Fr as ToolGetInputResponse, Gr as Tools, Ir as ToolListParams, Lr as ToolListResponse, Mr as ToolExecuteParams, Nr as ToolExecuteResponse, Pr as ToolGetInputParams, Rr as ToolProxyParams, Vr as ToolRetrieveParams, Wr as ToolRetrieveResponse, zr as ToolProxyResponse } from "../session-configs-x3OA4CSe.mjs";
2
2
  export { type ToolExecuteParams, type ToolExecuteResponse, type ToolGetInputParams, type ToolGetInputResponse, type ToolListParams, type ToolListResponse, type ToolProxyParams, type ToolProxyResponse, type ToolRetrieveEnumResponse, type ToolRetrieveParams, type ToolRetrieveResponse, Tools };
@@ -1,3 +1,3 @@
1
- import { t as Tools } from "../tools-btk0mzFP.mjs";
1
+ import { t as Tools } from "../tools-BDCRk80t.mjs";
2
2
 
3
3
  export { Tools };
@@ -1,2 +1,2 @@
1
- import { Cn as TriggerInstanceUpsertParams, Dn as ManageDeleteResponse, En as Manage, On as ManageUpdateParams, Sn as TriggerInstanceListActiveResponse, Tn as TriggerInstances, kn as ManageUpdateResponse, wn as TriggerInstanceUpsertResponse, xn as TriggerInstanceListActiveParams } from "../../session-configs-nA6TL_i4.mjs";
1
+ import { Cn as TriggerInstanceUpsertParams, Dn as ManageDeleteResponse, En as Manage, On as ManageUpdateParams, Sn as TriggerInstanceListActiveResponse, Tn as TriggerInstances, kn as ManageUpdateResponse, wn as TriggerInstanceUpsertResponse, xn as TriggerInstanceListActiveParams } from "../../session-configs-x3OA4CSe.mjs";
2
2
  export { Manage, type ManageDeleteResponse, type ManageUpdateParams, type ManageUpdateResponse, type TriggerInstanceListActiveParams, type TriggerInstanceListActiveResponse, type TriggerInstanceUpsertParams, type TriggerInstanceUpsertResponse, TriggerInstances };
@@ -1,4 +1,4 @@
1
- import { t as Manage } from "../../manage-B1R7I3ZM.mjs";
2
- import { t as TriggerInstances } from "../../trigger-instances-PQaObQQy.mjs";
1
+ import { t as Manage } from "../../manage-ByF6b3OD.mjs";
2
+ import { t as TriggerInstances } from "../../trigger-instances-J5frdgzO.mjs";
3
3
 
4
4
  export { Manage, TriggerInstances };
@@ -1,2 +1,2 @@
1
- import { Dn as ManageDeleteResponse, En as Manage, On as ManageUpdateParams, kn as ManageUpdateResponse } from "../../session-configs-nA6TL_i4.mjs";
1
+ import { Dn as ManageDeleteResponse, En as Manage, On as ManageUpdateParams, kn as ManageUpdateResponse } from "../../session-configs-x3OA4CSe.mjs";
2
2
  export { Manage, ManageDeleteResponse, ManageUpdateParams, ManageUpdateResponse };
@@ -1,3 +1,3 @@
1
- import { t as Manage } from "../../manage-B1R7I3ZM.mjs";
1
+ import { t as Manage } from "../../manage-ByF6b3OD.mjs";
2
2
 
3
3
  export { Manage };
@@ -1,2 +1,2 @@
1
- import { Cn as TriggerInstanceUpsertParams, Sn as TriggerInstanceListActiveResponse, Tn as TriggerInstances, wn as TriggerInstanceUpsertResponse, xn as TriggerInstanceListActiveParams } from "../../session-configs-nA6TL_i4.mjs";
1
+ import { Cn as TriggerInstanceUpsertParams, Sn as TriggerInstanceListActiveResponse, Tn as TriggerInstances, wn as TriggerInstanceUpsertResponse, xn as TriggerInstanceListActiveParams } from "../../session-configs-x3OA4CSe.mjs";
2
2
  export { TriggerInstanceListActiveParams, TriggerInstanceListActiveResponse, TriggerInstanceUpsertParams, TriggerInstanceUpsertResponse, TriggerInstances };
@@ -1,3 +1,3 @@
1
- import { t as TriggerInstances } from "../../trigger-instances-PQaObQQy.mjs";
1
+ import { t as TriggerInstances } from "../../trigger-instances-J5frdgzO.mjs";
2
2
 
3
3
  export { TriggerInstances };
@@ -1,2 +1,2 @@
1
- import { Cn as TriggerInstanceUpsertParams, Dn as ManageDeleteResponse, En as Manage, On as ManageUpdateParams, Sn as TriggerInstanceListActiveResponse, Tn as TriggerInstances, kn as ManageUpdateResponse, wn as TriggerInstanceUpsertResponse, xn as TriggerInstanceListActiveParams } from "../session-configs-nA6TL_i4.mjs";
1
+ import { Cn as TriggerInstanceUpsertParams, Dn as ManageDeleteResponse, En as Manage, On as ManageUpdateParams, Sn as TriggerInstanceListActiveResponse, Tn as TriggerInstances, kn as ManageUpdateResponse, wn as TriggerInstanceUpsertResponse, xn as TriggerInstanceListActiveParams } from "../session-configs-x3OA4CSe.mjs";
2
2
  export { Manage, type ManageDeleteResponse, type ManageUpdateParams, type ManageUpdateResponse, type TriggerInstanceListActiveParams, type TriggerInstanceListActiveResponse, type TriggerInstanceUpsertParams, type TriggerInstanceUpsertResponse, TriggerInstances };
@@ -1,5 +1,5 @@
1
- import { t as Manage } from "../manage-B1R7I3ZM.mjs";
2
- import { t as TriggerInstances } from "../trigger-instances-PQaObQQy.mjs";
1
+ import { t as Manage } from "../manage-ByF6b3OD.mjs";
2
+ import { t as TriggerInstances } from "../trigger-instances-J5frdgzO.mjs";
3
3
  import "./trigger-instances/index.mjs";
4
4
 
5
5
  export { Manage, TriggerInstances };
@@ -1,2 +1,2 @@
1
- import { An as TriggersTypeListParams, Fn as TriggersTypes, Mn as TriggersTypeRetrieveEnumResponse, Nn as TriggersTypeRetrieveParams, Pn as TriggersTypeRetrieveResponse, jn as TriggersTypeListResponse } from "../session-configs-nA6TL_i4.mjs";
1
+ import { An as TriggersTypeListParams, Fn as TriggersTypes, Mn as TriggersTypeRetrieveEnumResponse, Nn as TriggersTypeRetrieveParams, Pn as TriggersTypeRetrieveResponse, jn as TriggersTypeListResponse } from "../session-configs-x3OA4CSe.mjs";
2
2
  export { type TriggersTypeListParams, type TriggersTypeListResponse, type TriggersTypeRetrieveEnumResponse, type TriggersTypeRetrieveParams, type TriggersTypeRetrieveResponse, TriggersTypes };
@@ -1,3 +1,3 @@
1
- import { t as TriggersTypes } from "../triggers-types-KoRbT0k5.mjs";
1
+ import { t as TriggersTypes } from "../triggers-types-DLVCtuwC.mjs";
2
2
 
3
3
  export { TriggersTypes };
@@ -1,2 +1,2 @@
1
- import { at as WebhookEndpointReplaceParams, ct as WebhookEndpointUpdateParams, it as WebhookEndpointListResponse, lt as WebhookEndpointUpdateResponse, nt as WebhookEndpointCreateResponse, ot as WebhookEndpointReplaceResponse, rt as WebhookEndpointListParams, st as WebhookEndpointRetrieveResponse, tt as WebhookEndpointCreateParams, ut as WebhookEndpoints } from "../session-configs-nA6TL_i4.mjs";
1
+ import { at as WebhookEndpointReplaceParams, ct as WebhookEndpointUpdateParams, it as WebhookEndpointListResponse, lt as WebhookEndpointUpdateResponse, nt as WebhookEndpointCreateResponse, ot as WebhookEndpointReplaceResponse, rt as WebhookEndpointListParams, st as WebhookEndpointRetrieveResponse, tt as WebhookEndpointCreateParams, ut as WebhookEndpoints } from "../session-configs-x3OA4CSe.mjs";
2
2
  export { type WebhookEndpointCreateParams, type WebhookEndpointCreateResponse, type WebhookEndpointListParams, type WebhookEndpointListResponse, type WebhookEndpointReplaceParams, type WebhookEndpointReplaceResponse, type WebhookEndpointRetrieveResponse, type WebhookEndpointUpdateParams, type WebhookEndpointUpdateResponse, WebhookEndpoints };
@@ -1,3 +1,3 @@
1
- import { t as WebhookEndpoints } from "../webhook-endpoints-kf4Jj2Mz.mjs";
1
+ import { t as WebhookEndpoints } from "../webhook-endpoints-BrSjXOf0.mjs";
2
2
 
3
3
  export { WebhookEndpoints };
@@ -1,2 +1,2 @@
1
- import { _t as WebhookSubscriptionRetrieveResponse, bt as WebhookSubscriptionUpdateResponse, dt as WebhookSubscriptionCreateParams, ft as WebhookSubscriptionCreateResponse, gt as WebhookSubscriptionListResponse, ht as WebhookSubscriptionListParams, mt as WebhookSubscriptionListEventTypesResponse, pt as WebhookSubscriptionDeleteResponse, vt as WebhookSubscriptionRotateSecretResponse, xt as WebhookSubscriptions, yt as WebhookSubscriptionUpdateParams } from "../session-configs-nA6TL_i4.mjs";
1
+ import { _t as WebhookSubscriptionRetrieveResponse, bt as WebhookSubscriptionUpdateResponse, dt as WebhookSubscriptionCreateParams, ft as WebhookSubscriptionCreateResponse, gt as WebhookSubscriptionListResponse, ht as WebhookSubscriptionListParams, mt as WebhookSubscriptionListEventTypesResponse, pt as WebhookSubscriptionDeleteResponse, vt as WebhookSubscriptionRotateSecretResponse, xt as WebhookSubscriptions, yt as WebhookSubscriptionUpdateParams } from "../session-configs-x3OA4CSe.mjs";
2
2
  export { type WebhookSubscriptionCreateParams, type WebhookSubscriptionCreateResponse, type WebhookSubscriptionDeleteResponse, type WebhookSubscriptionListEventTypesResponse, type WebhookSubscriptionListParams, type WebhookSubscriptionListResponse, type WebhookSubscriptionRetrieveResponse, type WebhookSubscriptionRotateSecretResponse, type WebhookSubscriptionUpdateParams, type WebhookSubscriptionUpdateResponse, WebhookSubscriptions };
@@ -1,3 +1,3 @@
1
- import { t as WebhookSubscriptions } from "../webhook-subscriptions-DcYN8qo1.mjs";
1
+ import { t as WebhookSubscriptions } from "../webhook-subscriptions-HT1acmwH.mjs";
2
2
 
3
3
  export { WebhookSubscriptions };
@@ -1,4 +1,4 @@
1
- import { b as withOperation, n as generatedOperation } from "./generated-operations-D1e__yar.mjs";
1
+ import { n as generatedOperation, y as withOperation } from "./generated-operations-DKgGT6Dg.mjs";
2
2
 
3
3
  //#region src/compat/resources/auth/session.ts
4
4
  const OP_RETRIEVE_INFO = generatedOperation("auth.session.retrieveInfo");
@@ -1,5 +1,5 @@
1
- import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-D1e__yar.mjs";
2
- import { t as Files } from "./files-BPKJXlpc.mjs";
1
+ import { d as path, n as generatedOperation, y as withOperation } from "./generated-operations-DKgGT6Dg.mjs";
2
+ import { t as Files } from "./files-CeBs4ZE1.mjs";
3
3
 
4
4
  //#region src/compat/resources/tool-router/session/session.ts
5
5
  const OP_CREATE = generatedOperation("toolRouter.session.create");
@@ -25094,67 +25094,6 @@ declare class APIPromise<T> extends Promise<T> {
25094
25094
  finally(onfinally?: (() => void) | undefined | null): Promise<T>;
25095
25095
  }
25096
25096
  //#endregion
25097
- //#region src/compat/error.d.ts
25098
- declare class ComposioError extends Error {}
25099
- /**
25100
- * The error envelope every Composio API error response carries — the spec's
25101
- * shared `Error` schema, `{ error: { message, code, slug, status, request_id?,
25102
- * suggested_fix?, errors? } }`. `APIError.error` stays the raw parsed body
25103
- * (hard contract: a proxy can answer with anything); {@link APIError.details}
25104
- * is the same body narrowed to this shape when it has it.
25105
- */
25106
- type APIErrorBody = Error$1;
25107
- declare class APIError<TStatus extends number | undefined = number | undefined, THeaders extends Headers | undefined = Headers | undefined, TError extends object | undefined = object | undefined> extends ComposioError {
25108
- /** HTTP status for the response that caused the error. */
25109
- readonly status: TStatus;
25110
- /** HTTP headers of the response that caused the error. */
25111
- readonly headers: THeaders;
25112
- /** JSON body of the response that caused the error. */
25113
- readonly error: TError;
25114
- /**
25115
- * The body narrowed to the Composio error envelope (`APIErrorBody['error']`),
25116
- * or `undefined` when the body is not one — so a validation failure's
25117
- * `errors[]` and `suggested_fix` are reachable without casting `error`.
25118
- *
25119
- * Not part of the Stainless surface: a sanctioned superset, like
25120
- * `ClientOptions.userApiKey`.
25121
- */
25122
- readonly details: APIErrorBody['error'] | undefined;
25123
- /**
25124
- * The request id the API assigned, from the `x-request-id` response header
25125
- * first and the envelope's `request_id` otherwise; `undefined` when neither
25126
- * is present (connection errors, aborts). Same superset status as `details`.
25127
- */
25128
- readonly requestId: string | undefined;
25129
- constructor(status: TStatus, error: TError, message: string | undefined, headers: THeaders);
25130
- private static makeMessage;
25131
- static generate(status: number | undefined, errorResponse: object | undefined, message: string | undefined, headers: Headers | undefined): APIError;
25132
- }
25133
- declare class APIUserAbortError extends APIError<undefined, undefined, undefined> {
25134
- constructor({ message }?: {
25135
- message?: string;
25136
- });
25137
- }
25138
- declare class APIConnectionError extends APIError<undefined, undefined, undefined> {
25139
- constructor({ message, cause }: {
25140
- message?: string | undefined;
25141
- cause?: unknown;
25142
- });
25143
- }
25144
- declare class APIConnectionTimeoutError extends APIConnectionError {
25145
- constructor({ message }?: {
25146
- message?: string;
25147
- });
25148
- }
25149
- declare class BadRequestError extends APIError<400, Headers> {}
25150
- declare class AuthenticationError extends APIError<401, Headers> {}
25151
- declare class PermissionDeniedError extends APIError<403, Headers> {}
25152
- declare class NotFoundError extends APIError<404, Headers> {}
25153
- declare class ConflictError extends APIError<409, Headers> {}
25154
- declare class UnprocessableEntityError extends APIError<422, Headers> {}
25155
- declare class RateLimitError extends APIError<429, Headers> {}
25156
- declare class InternalServerError extends APIError<number, Headers> {}
25157
- //#endregion
25158
25097
  //#region src/compat/headers.d.ts
25159
25098
  type HeaderValue = string | null | undefined;
25160
25099
  /**
@@ -25235,6 +25174,127 @@ interface FinalRequestOptions extends RequestOptions {
25235
25174
  body?: unknown;
25236
25175
  }
25237
25176
  //#endregion
25177
+ //#region src/compat/error.d.ts
25178
+ declare class ComposioError extends Error {}
25179
+ /**
25180
+ * The error envelope every Composio API error response carries — the spec's
25181
+ * shared `Error` schema, `{ error: { message, code, slug, status, request_id?,
25182
+ * suggested_fix?, errors? } }`. `APIError.error` stays the raw parsed body
25183
+ * (hard contract: a proxy can answer with anything); {@link APIError.details}
25184
+ * is the same body narrowed to this shape when it has it.
25185
+ */
25186
+ type APIErrorBody = Error$1;
25187
+ declare class APIError<TStatus extends number | undefined = number | undefined, THeaders extends Headers | undefined = Headers | undefined, TError extends object | undefined = object | undefined> extends ComposioError {
25188
+ /** HTTP status for the response that caused the error. */
25189
+ readonly status: TStatus;
25190
+ /** HTTP headers of the response that caused the error. */
25191
+ readonly headers: THeaders;
25192
+ /** JSON body of the response that caused the error. */
25193
+ readonly error: TError;
25194
+ /**
25195
+ * The body narrowed to the Composio error envelope (`APIErrorBody['error']`),
25196
+ * or `undefined` when the body is not one — so a validation failure's
25197
+ * `errors[]` and `suggested_fix` are reachable without casting `error`.
25198
+ *
25199
+ * Not part of the Stainless surface: a sanctioned superset, like
25200
+ * `ClientOptions.identity`.
25201
+ */
25202
+ readonly details: APIErrorBody['error'] | undefined;
25203
+ /**
25204
+ * The request id the API assigned, from the `x-request-id` response header
25205
+ * first and the envelope's `request_id` otherwise; `undefined` when neither
25206
+ * is present (connection errors, aborts). Same superset status as `details`.
25207
+ */
25208
+ readonly requestId: string | undefined;
25209
+ constructor(status: TStatus, error: TError, message: string | undefined, headers: THeaders);
25210
+ private static makeMessage;
25211
+ static generate(status: number | undefined, errorResponse: object | undefined, message: string | undefined, headers: Headers | undefined): APIError;
25212
+ }
25213
+ declare class APIUserAbortError extends APIError<undefined, undefined, undefined> {
25214
+ constructor({ message }?: {
25215
+ message?: string;
25216
+ });
25217
+ }
25218
+ declare class APIConnectionError extends APIError<undefined, undefined, undefined> {
25219
+ constructor({ message, cause }: {
25220
+ message?: string | undefined;
25221
+ cause?: unknown;
25222
+ });
25223
+ }
25224
+ declare class APIConnectionTimeoutError extends APIConnectionError {
25225
+ constructor({ message }?: {
25226
+ message?: string;
25227
+ });
25228
+ }
25229
+ declare class BadRequestError extends APIError<400, Headers> {}
25230
+ declare class AuthenticationError extends APIError<401, Headers> {}
25231
+ declare class PermissionDeniedError extends APIError<403, Headers> {}
25232
+ declare class NotFoundError extends APIError<404, Headers> {}
25233
+ declare class ConflictError extends APIError<409, Headers> {}
25234
+ declare class UnprocessableEntityError extends APIError<422, Headers> {}
25235
+ declare class RateLimitError extends APIError<429, Headers> {}
25236
+ declare class InternalServerError extends APIError<number, Headers> {}
25237
+ //#endregion
25238
+ //#region src/compat/auth.d.ts
25239
+ /**
25240
+ * A key, or a function that returns one. A function is called once per
25241
+ * logical call, after the call starts, and its key is reused across retries
25242
+ * and same-origin redirects. It returns a key or fails; it never returns
25243
+ * nothing to mean "no auth".
25244
+ */
25245
+ type Credential = string | (() => string | PromiseLike<string>);
25246
+ /** The credentials `Auth.auto` chooses among. At least one is required. */
25247
+ type AutoCredentials<C = Credential> = Readonly<{
25248
+ project?: C | undefined;
25249
+ user?: C | undefined;
25250
+ organization?: C | undefined;
25251
+ }>;
25252
+ /** How a client authenticates, generic over what a credential is. */
25253
+ type AuthOf<C> = Readonly<{
25254
+ mode: 'none';
25255
+ }> | Readonly<{
25256
+ mode: 'project';
25257
+ credential: C;
25258
+ }> | Readonly<{
25259
+ mode: 'user';
25260
+ credential: C;
25261
+ }> | Readonly<{
25262
+ mode: 'organization';
25263
+ credential: C;
25264
+ }> | Readonly<{
25265
+ mode: 'auto';
25266
+ credentials: AutoCredentials<C>;
25267
+ }>;
25268
+ /** How a client authenticates. Build one with `Auth.project(key)` and its siblings. */
25269
+ type Auth$1 = AuthOf<Credential>;
25270
+ /** The organization and project a client addresses: an organization id, a project id, or both. */
25271
+ type Scope = Readonly<{
25272
+ organizationId: string;
25273
+ projectId?: string | undefined;
25274
+ }> | Readonly<{
25275
+ projectId: string;
25276
+ }>;
25277
+ type AuthMode = Auth$1['mode'];
25278
+ /** The constructors of an `Auth` value, for an entry whose credential is `C`. Each returns a frozen value. */
25279
+ interface AuthConstructors<C> {
25280
+ /** No Composio credential. Every header name is the caller's, including the credential ones. */
25281
+ readonly none: () => AuthOf<never>;
25282
+ /** A project API key (`x-api-key`) on every request. */
25283
+ readonly project: (credential: C) => AuthOf<C>;
25284
+ /** A user API key (`x-user-api-key`) on every request. */
25285
+ readonly user: (credential: C) => AuthOf<C>;
25286
+ /** An organization API key (`x-org-api-key`) on every request. */
25287
+ readonly organization: (credential: C) => AuthOf<C>;
25288
+ /**
25289
+ * One of these per request, chosen from the operation's declared schemes:
25290
+ * the project key wherever the operation accepts it, otherwise the first
25291
+ * declared scheme a key is given for, otherwise the project key.
25292
+ */
25293
+ readonly auto: (credentials: AutoCredentials<C>) => AuthOf<C>;
25294
+ }
25295
+ /** The constructors of {@link Auth}: `Auth.project(key)`, `Auth.user(key)`, `Auth.organization(key)`, `Auth.auto({ ... })`, `Auth.none()`. */
25296
+ declare const Auth$1: AuthConstructors<Credential>;
25297
+ //#endregion
25238
25298
  //#region src/compat/resources/tool-router/session/files.d.ts
25239
25299
  type FileListQueryGen = NonNullable<GetApiV31ToolRouterSessionBySessionIdMountsByMountIdItemsData['query']>;
25240
25300
  interface FileListParams$1 extends FileListQueryGen {
@@ -27075,51 +27135,38 @@ interface Logger {
27075
27135
  debug: (...args: unknown[]) => void;
27076
27136
  }
27077
27137
  /**
27078
- * Stainless-compatible constructor options (composio-base-ts `src/client.ts`).
27138
+ * What a client is constructed from. The constructor reads nothing from the
27139
+ * process; {@link Composio.fromEnv} is the one reader of the environment.
27079
27140
  *
27080
27141
  * `logLevel`/`logger` control request lifecycle records and runtime
27081
27142
  * deprecation notices. `logLevel: 'off'` silences both.
27082
27143
  */
27083
27144
  interface ClientOptions {
27084
- /** API key authentication. Defaults to `process.env['COMPOSIO_API_KEY']`. */
27085
- apiKey?: string | null | undefined;
27086
27145
  /**
27087
- * User API key authentication (`UserApiKeyAuth`, `x-user-api-key`). Defaults
27088
- * to `process.env['COMPOSIO_USER_API_KEY']`.
27089
- *
27090
- * Sent only on operations whose spec `security` names `UserApiKeyAuth` and
27091
- * does *not* name `ApiKeyAuth` — eight operations, including
27092
- * `auth.session.retrieveInfo` and the `cli.realtime` pair — because the API
27093
- * rejects a request carrying two credential headers with a 401. Setting this
27094
- * changes no byte on the other 96.
27095
- *
27096
- * Not part of the Stainless surface: a sanctioned superset, like the
27097
- * credential transport boundary before it.
27146
+ * How the client authenticates: `Auth.project(key)`, `Auth.user(key)`,
27147
+ * `Auth.organization(key)`, `Auth.auto({ project, user, organization })` for
27148
+ * per-operation selection, or `Auth.none()`. A key may be a function that
27149
+ * returns one, asked once per call. While `auth` is not `none`, neither
27150
+ * `defaultHeaders` nor a call's `headers` may name a credential header.
27098
27151
  */
27099
- userApiKey?: string | null | undefined;
27152
+ auth: Auth$1;
27100
27153
  /**
27101
- * Organization API key authentication (`OrgApiKeyAuth`, `x-org-api-key`).
27102
- * Defaults to `process.env['COMPOSIO_ORG_API_KEY']`.
27103
- *
27104
- * Same rule and same superset status as `userApiKey`; it reaches the eight
27105
- * `OrgApiKeyAuth`-only operations under `org.owner.*`, `org.usage.*` and
27106
- * `org.clanker.createClaim`.
27154
+ * The organization and project the client addresses, sent as `x-org-id` and
27155
+ * `x-project-id`. While it is set, neither `defaultHeaders` nor a call's
27156
+ * `headers` may name either header.
27107
27157
  */
27108
- orgApiKey?: string | null | undefined;
27158
+ scope?: Scope | undefined;
27109
27159
  /**
27110
27160
  * Named environment base URL: `production` (backend.composio.dev),
27111
27161
  * `staging` (staging-backend.composio.dev), or `local` (localhost:9900).
27112
27162
  * Mutually exclusive with `baseURL`.
27113
27163
  */
27114
27164
  environment?: Environment | undefined;
27115
- /** Override the base URL. Defaults to `process.env['COMPOSIO_BASE_URL']`. */
27165
+ /** Override the base URL. Defaults to `https://backend.composio.dev`. */
27116
27166
  baseURL?: string | null | undefined;
27117
27167
  /**
27118
27168
  * Allows credentials to be sent to this client's configured plain-HTTP
27119
27169
  * origin. The permission is limited to the resolved scheme, host, and port.
27120
- *
27121
- * Not part of the Stainless surface: a sanctioned security superset.
27122
- * Defaults to `process.env['COMPOSIO_ALLOW_INSECURE_HTTP'] === '1'`.
27123
27170
  */
27124
27171
  allowInsecureHTTP?: boolean | undefined;
27125
27172
  /** Per-request time budget in milliseconds (each retry attempt gets its own). */
@@ -27144,41 +27191,71 @@ interface ClientOptions {
27144
27191
  * Headers sent on every request; per-request headers win, `null` deletes.
27145
27192
  * The library headers (`x-client-library`, `x-client-library-version`,
27146
27193
  * `x-client-language`) are the client's own and are refused here, as is
27147
- * every identity header once `identity` is set.
27194
+ * every identity header once `identity` is set, every credential header
27195
+ * while `auth` is not `none`, and `x-org-id`/`x-project-id` while `scope`
27196
+ * is set.
27148
27197
  */
27149
27198
  defaultHeaders?: HeadersLike;
27150
- /** Defaults to `process.env['COMPOSIO_LOG_LEVEL']` or 'warn'. */
27199
+ /** Defaults to `'warn'`. */
27151
27200
  logLevel?: LogLevel | undefined;
27152
27201
  /** Defaults to `globalThis.console`. */
27153
27202
  logger?: Logger | undefined;
27154
27203
  }
27155
27204
  /**
27156
- * Stainless-shaped entry point: `new Composio({ apiKey }).toolRouter.session.*`.
27205
+ * Stainless-shaped entry point: `new Composio({ auth: Auth.project(key) }).toolRouter.session.*`.
27157
27206
  * Owns HTTP dispatch outright (see `request.ts`); the hey-api generated code
27158
27207
  * under `src/generated/` is codegen input only and none of it runs here.
27159
27208
  */
27160
27209
  interface Composio extends ClientResources {}
27161
27210
  declare class Composio {
27162
27211
  #private;
27163
- apiKey: string | null;
27164
- userApiKey: string | null;
27165
- orgApiKey: string | null;
27166
27212
  baseURL: string;
27167
27213
  maxRetries: number;
27168
27214
  timeout: number;
27169
27215
  logger: Logger;
27170
27216
  logLevel: LogLevel | undefined;
27171
- constructor(input?: ClientOptions);
27217
+ constructor(input: ClientOptions);
27172
27218
  /**
27173
- * Constructs a client from a caller-supplied environment snapshot.
27219
+ * Constructs a client from an environment mapping the caller passes in, such
27220
+ * as `process.env`. It reads these and nothing else:
27221
+ *
27222
+ * - `COMPOSIO_API_KEY`, `COMPOSIO_USER_API_KEY`, `COMPOSIO_ORG_API_KEY`: one
27223
+ * set is that fixed mode, several is `Auth.auto`, none is `Auth.none()`;
27224
+ * - `COMPOSIO_BASE_URL`, `COMPOSIO_ALLOW_INSECURE_HTTP=1`,
27225
+ * `COMPOSIO_LOG_LEVEL`, and `COMPOSIO_CUSTOM_HEADERS` (as `defaultHeaders`).
27174
27226
  *
27175
- * Unlike the compatibility constructor, this method never reads ambient
27176
- * process or Deno state. Explicit options replace values from `environment`;
27177
- * in particular, an explicit named environment replaces
27178
- * `COMPOSIO_BASE_URL`, and `apiKey: null` disables a mapped API key.
27227
+ * `COMPOSIO_ORG_ID` and `COMPOSIO_PROJECT_ID` are not read: `scope` is always
27228
+ * an argument. An override replaces the whole field it names, so
27229
+ * `{ auth: Auth.none() }` means none whatever the mapping holds.
27230
+ */
27231
+ static fromEnv<T extends typeof Composio>(this: T, environment: EnvironmentMap, overrides?: Partial<ClientOptions>): InstanceType<T>;
27232
+ /** How this client authenticates: `'none'`, `'project'`, `'user'`, `'organization'` or `'auto'`. */
27233
+ get authMode(): AuthMode;
27234
+ /** The organization and project this client addresses, or `undefined`. */
27235
+ get scope(): Scope | undefined;
27236
+ /**
27237
+ * The project key `auth` holds, when it is a string; `null` otherwise.
27238
+ * @deprecated Read-only since 2.0.0-rc.18 and removed in rc.19; keep your own copy of the key.
27239
+ */
27240
+ get apiKey(): string | null;
27241
+ /**
27242
+ * The user key `auth` holds, when it is a string; `null` otherwise.
27243
+ * @deprecated Read-only since 2.0.0-rc.18 and removed in rc.19; keep your own copy of the key.
27244
+ */
27245
+ get userApiKey(): string | null;
27246
+ /**
27247
+ * The organization key `auth` holds, when it is a string; `null` otherwise.
27248
+ * @deprecated Read-only since 2.0.0-rc.18 and removed in rc.19; keep your own copy of the key.
27249
+ */
27250
+ get orgApiKey(): string | null;
27251
+ /**
27252
+ * Returns a new client from this one's options with `options` merged over
27253
+ * them, key by key. Every construction check runs again on the result:
27254
+ * `auth` against the origin, the reserved headers against `auth`, `scope`
27255
+ * and `identity`, and `allowInsecureHTTP` against a changed `baseURL`.
27256
+ * `defaultHeaders` replaces the map rather than merging into it, and
27257
+ * `{ scope: undefined }` removes the scope.
27179
27258
  */
27180
- static fromEnv<T extends typeof Composio>(this: T, environment: EnvironmentMap, options?: ClientOptions): InstanceType<T>;
27181
- /** Returns a new client reusing the current options with `options` merged over them. */
27182
27259
  withOptions(options: Partial<ClientOptions>): this;
27183
27260
  get<Rsp>(path: string, opts?: RequestOptions & {
27184
27261
  query?: Record<string, unknown> | null;
@@ -27277,4 +27354,4 @@ declare namespace SessionConfigs {
27277
27354
  export { type SessionConfigsRetrieveResponse, type SessionConfigsListResponse, type SessionConfigsListParams };
27278
27355
  }
27279
27356
  //#endregion
27280
- export { ProjectRegenerateAPIKeyResponse as $, ToolkitRetrieveChangelogResponse as $n, SessionCreateResponse as $r, McpCreateInstanceParams as $t, ClankerCreateClaimResponse as A, createFetchTransport as Ai, TriggersTypeListParams as An, FileListResponse as Ar, LogRetrieveToolExecutionResponse as At, ConsumerListConnectedToolkitsParams as B, ComposioError as Bi, AuthConfigListParams as Bn, ToolRetrieveEnumResponse as Br, Triggers as Bt, Session as C, FileDeleteResponse as Ci, TriggerInstanceUpsertParams as Cn, ConnectedAccountRevokeResponse as Cr, Usage$1 as Ct, OrgListResponse as D, RequestOptions as Di, ManageDeleteResponse as Dn, FileCreatePresignedURLParams as Dr, UsageRetrieveSummaryResponse$1 as Dt, OrgListParams as E, Files$1 as Ei, Manage as En, ConnectedAccounts as Er, UsageRetrieveSummaryParams$1 as Et, UsageRetrieveSummaryResponse as F, APIError as Fi, TriggersTypes as Fn, ToolGetInputResponse as Fr, ToolRetrieveResponse as Ft, Owner as G, RateLimitError as Gi, AuthConfigUpdateStatusParams as Gn, Tools$1 as Gr, CliCreateSessionResponse as Gt, Project$2 as H, InternalServerError as Hi, AuthConfigRetrieveResponse as Hn, ToolRetrieveRequiredScopesParams as Hr, CliCreateCodactFailureParams as Ht, Project$1 as I, APIErrorBody as Ii, AuthConfigCreateParams as In, ToolListParams$1 as Ir, Tools as It, ProjectCreateResponse as J, ToolkitListParams as Jn, SessionAttachParams as Jr, Realtime as Jt, Project$3 as K, UnprocessableEntityError as Ki, AuthConfigUpdateStatusResponse as Kn, ToolRouter as Kr, CliGetSessionParams as Kt, ProjectListParams as L, APIUserAbortError as Li, AuthConfigCreateResponse as Ln, ToolListResponse$1 as Lr, TriggerListParams as Lt, UsageRetrieveParams as M, HeadersLike as Mi, TriggersTypeRetrieveEnumResponse as Mn, ToolExecuteParams as Mr, ToolListFieldsResponse as Mt, UsageRetrieveResponse as N, APIConnectionError as Ni, TriggersTypeRetrieveParams as Nn, ToolExecuteResponse as Nr, ToolListParams as Nt, Clanker as O, FetchTransportDefaults as Oi, ManageUpdateParams as On, FileCreatePresignedURLResponse as Or, LogCreateToolExecutionParams as Ot, UsageRetrieveSummaryParams as P, APIConnectionTimeoutError as Pi, TriggersTypeRetrieveResponse as Pn, ToolGetInputParams as Pr, ToolListResponse as Pt, ProjectListResponse$1 as Q, ToolkitRetrieveCategoriesResponse as Qn, SessionCreateParams as Qr, Mcp as Qt, ProjectListResponse as R, AuthenticationError as Ri, AuthConfigDeleteParams as Rn, ToolProxyParams as Rr, TriggerListResponse as Rt, Auth as S, FileDeleteParams as Si, TriggerInstanceListActiveResponse as Sn, ConnectedAccountRetrieveResponse as Sr, Project$4 as St, Org as T, FileListResponse$1 as Ti, TriggerInstances as Tn, ConnectedAccountUpdateStatusResponse as Tr, UsageRetrieveResponse$1 as Tt, ProjectResolveParams as U, NotFoundError as Ui, AuthConfigUpdateParams as Un, ToolRetrieveRequiredScopesResponse as Ur, CliCreateCodactFailureResponse as Ut, ConsumerListConnectedToolkitsResponse as V, ConflictError as Vi, AuthConfigListResponse as Vn, ToolRetrieveParams as Vr, Cli as Vt, ProjectResolveResponse as W, PermissionDeniedError as Wi, AuthConfigUpdateResponse as Wn, ToolRetrieveResponse$1 as Wr, CliCreateSessionParams as Wt, ProjectDeleteResponse as X, ToolkitRecommendScopesParams as Xn, SessionConfigHistoryParams as Xr, RealtimeAuthResponse as Xt, ProjectDeleteParams as Y, ToolkitListResponse as Yn, SessionAttachResponse as Yr, RealtimeAuthParams as Yt, ProjectListParams$1 as Z, ToolkitRecommendScopesResponse as Zn, SessionConfigHistoryResponse as Zr, RealtimeCredentialsResponse as Zt, CustomUpsertParams as _, SessionToolsResponse as _i, GenerateURLResponse as _n, ConnectedAccountListResponse as _r, WebhookSubscriptionRetrieveResponse as _t, ClientOptions as a, SessionLinkParams as ai, McpDeleteResponse as an, ToolkitRetrieveScopesGrantContextResponse as ar, WebhookEndpointReplaceParams as at, ApiKeyRevocationCreateParams as b, FileCreateUploadURLParams as bi, CustomCreateResponse as bn, ConnectedAccountRefreshParams as br, WebhookSubscriptionUpdateResponse as bt, LogLevel as c, SessionPatchResponse as ci, McpListParams as cn, LinkCreateParams as cr, WebhookEndpointUpdateParams as ct, KeyringListTransferKeysResponse as d, SessionRetrieveResponse as di, McpRetrieveAppResponse as dn, ConnectedAccountCompleteAuthResponse as dr, WebhookSubscriptionCreateParams as dt, SessionDeleteResponse as ei, McpCreateInstanceResponse as en, ToolkitRetrieveMultiParams as er, ProjectRetrieveResponse as et, Custom as f, SessionSearchParams as fi, McpRetrieveResponse as fn, ConnectedAccountCreateParams as fr, WebhookSubscriptionCreateResponse as ft, CustomSyncResponse as g, SessionToolsParams as gi, GenerateURLParams as gn, ConnectedAccountListParams as gr, WebhookSubscriptionListResponse as gt, CustomSyncParams as h, SessionToolkitsResponse as hi, Generate as hn, ConnectedAccountDeleteResponse as hr, WebhookSubscriptionListParams as ht, SessionConfigsRetrieveResponse as i, SessionExecuteResponse as ii, McpDeleteInstanceResponse as in, ToolkitRetrieveScopesGrantContextParams as ir, WebhookEndpointListResponse as it, Usage as j, ClientIdentity as ji, TriggersTypeListResponse as jn, Files as jr, Logs as jt, ClankerCreateClaimParams as k, Transport as ki, ManageUpdateResponse as kn, FileListParams as kr, LogCreateToolExecutionResponse as kt, Logger as l, SessionProxyExecuteParams as li, McpListResponse as ln, LinkCreateResponse as lr, WebhookEndpointUpdateResponse as lt, CustomDeleteToolkitResponse as m, SessionToolkitsParams as mi, McpUpdateResponse as mn, ConnectedAccountDeleteParams as mr, WebhookSubscriptionListEventTypesResponse as mt, SessionConfigsListParams as n, SessionExecuteMetaResponse as ni, McpCreateResponse as nn, ToolkitRetrieveParams as nr, WebhookEndpointCreateResponse as nt, Composio as o, SessionLinkResponse as oi, McpListInstancesParams as on, Toolkits as or, WebhookEndpointReplaceResponse as ot, CustomDeleteToolkitParams as p, SessionSearchResponse as pi, McpUpdateParams as pn, ConnectedAccountCreateResponse as pr, WebhookSubscriptionDeleteResponse as pt, ProjectCreateParams as q, APIPromise as qi, AuthConfigs as qn, Session$1 as qr, CliGetSessionResponse as qt, SessionConfigsListResponse as r, SessionExecuteParams as ri, McpDeleteInstanceParams as rn, ToolkitRetrieveResponse as rr, WebhookEndpointListParams as rt, EnvironmentMap as s, SessionPatchParams as si, McpListInstancesResponse as sn, Link as sr, WebhookEndpointRetrieveResponse as st, SessionConfigs as t, SessionExecuteMetaParams as ti, McpCreateParams as tn, ToolkitRetrieveMultiResponse as tr, WebhookEndpointCreateParams as tt, Keyring as u, SessionProxyExecuteResponse as ui, McpRetrieveAppParams as un, ConnectedAccountCompleteAuthParams as ur, WebhookEndpoints as ut, CustomUpsertResponse as v, FileCreateDownloadURLParams as vi, Custom$1 as vn, ConnectedAccountPatchParams as vr, WebhookSubscriptionRotateSecretResponse as vt, SessionRetrieveInfoResponse as w, FileListParams$1 as wi, TriggerInstanceUpsertResponse as wn, ConnectedAccountUpdateStatusParams as wr, UsageRetrieveParams$1 as wt, ApiKeyRevocationCreateResponse as x, FileCreateUploadURLResponse as xi, TriggerInstanceListActiveParams as xn, ConnectedAccountRefreshResponse as xr, WebhookSubscriptions as xt, ApiKeyRevocation as y, FileCreateDownloadURLResponse as yi, CustomCreateParams as yn, ConnectedAccountPatchResponse as yr, WebhookSubscriptionUpdateParams as yt, Consumer as z, BadRequestError as zi, AuthConfigDeleteResponse as zn, ToolProxyResponse as zr, TriggerRetrieveResponse as zt };
27357
+ export { ProjectRegenerateAPIKeyResponse as $, HeadersLike as $i, ToolkitRetrieveChangelogResponse as $n, SessionCreateResponse as $r, McpCreateInstanceParams as $t, ClankerCreateClaimResponse as A, AuthOf as Ai, TriggersTypeListParams as An, FileListResponse as Ar, LogRetrieveToolExecutionResponse as At, ConsumerListConnectedToolkitsParams as B, BadRequestError as Bi, AuthConfigListParams as Bn, ToolRetrieveEnumResponse as Br, Triggers as Bt, Session as C, FileDeleteResponse as Ci, TriggerInstanceUpsertParams as Cn, ConnectedAccountRevokeResponse as Cr, Usage$1 as Ct, OrgListResponse as D, Auth$1 as Di, ManageDeleteResponse as Dn, FileCreatePresignedURLParams as Dr, UsageRetrieveSummaryResponse$1 as Dt, OrgListParams as E, Files$1 as Ei, Manage as En, ConnectedAccounts as Er, UsageRetrieveSummaryParams$1 as Et, UsageRetrieveSummaryResponse as F, APIConnectionTimeoutError as Fi, TriggersTypes as Fn, ToolGetInputResponse as Fr, ToolRetrieveResponse as Ft, Owner as G, PermissionDeniedError as Gi, AuthConfigUpdateStatusParams as Gn, Tools$1 as Gr, CliCreateSessionResponse as Gt, Project$2 as H, ConflictError as Hi, AuthConfigRetrieveResponse as Hn, ToolRetrieveRequiredScopesParams as Hr, CliCreateCodactFailureParams as Ht, Project$1 as I, APIError as Ii, AuthConfigCreateParams as In, ToolListParams$1 as Ir, Tools as It, ProjectCreateResponse as J, RequestOptions as Ji, ToolkitListParams as Jn, SessionAttachParams as Jr, Realtime as Jt, Project$3 as K, RateLimitError as Ki, AuthConfigUpdateStatusResponse as Kn, ToolRouter as Kr, CliGetSessionParams as Kt, ProjectListParams as L, APIErrorBody as Li, AuthConfigCreateResponse as Ln, ToolListResponse$1 as Lr, TriggerListParams as Lt, UsageRetrieveParams as M, Credential as Mi, TriggersTypeRetrieveEnumResponse as Mn, ToolExecuteParams as Mr, ToolListFieldsResponse as Mt, UsageRetrieveResponse as N, Scope as Ni, TriggersTypeRetrieveParams as Nn, ToolExecuteResponse as Nr, ToolListParams as Nt, Clanker as O, AuthConstructors as Oi, ManageUpdateParams as On, FileCreatePresignedURLResponse as Or, LogCreateToolExecutionParams as Ot, UsageRetrieveSummaryParams as P, APIConnectionError as Pi, TriggersTypeRetrieveResponse as Pn, ToolGetInputParams as Pr, ToolListResponse as Pt, ProjectListResponse$1 as Q, ClientIdentity as Qi, ToolkitRetrieveCategoriesResponse as Qn, SessionCreateParams as Qr, Mcp as Qt, ProjectListResponse as R, APIUserAbortError as Ri, AuthConfigDeleteParams as Rn, ToolProxyParams as Rr, TriggerListResponse as Rt, Auth as S, FileDeleteParams as Si, TriggerInstanceListActiveResponse as Sn, ConnectedAccountRetrieveResponse as Sr, Project$4 as St, Org as T, FileListResponse$1 as Ti, TriggerInstances as Tn, ConnectedAccountUpdateStatusResponse as Tr, UsageRetrieveResponse$1 as Tt, ProjectResolveParams as U, InternalServerError as Ui, AuthConfigUpdateParams as Un, ToolRetrieveRequiredScopesResponse as Ur, CliCreateCodactFailureResponse as Ut, ConsumerListConnectedToolkitsResponse as V, ComposioError as Vi, AuthConfigListResponse as Vn, ToolRetrieveParams as Vr, Cli as Vt, ProjectResolveResponse as W, NotFoundError as Wi, AuthConfigUpdateResponse as Wn, ToolRetrieveResponse$1 as Wr, CliCreateSessionParams as Wt, ProjectDeleteResponse as X, Transport as Xi, ToolkitRecommendScopesParams as Xn, SessionConfigHistoryParams as Xr, RealtimeAuthResponse as Xt, ProjectDeleteParams as Y, FetchTransportDefaults as Yi, ToolkitListResponse as Yn, SessionAttachResponse as Yr, RealtimeAuthParams as Yt, ProjectListParams$1 as Z, createFetchTransport as Zi, ToolkitRecommendScopesResponse as Zn, SessionConfigHistoryResponse as Zr, RealtimeCredentialsResponse as Zt, CustomUpsertParams as _, SessionToolsResponse as _i, GenerateURLResponse as _n, ConnectedAccountListResponse as _r, WebhookSubscriptionRetrieveResponse as _t, ClientOptions as a, SessionLinkParams as ai, McpDeleteResponse as an, ToolkitRetrieveScopesGrantContextResponse as ar, WebhookEndpointReplaceParams as at, ApiKeyRevocationCreateParams as b, FileCreateUploadURLParams as bi, CustomCreateResponse as bn, ConnectedAccountRefreshParams as br, WebhookSubscriptionUpdateResponse as bt, LogLevel as c, SessionPatchResponse as ci, McpListParams as cn, LinkCreateParams as cr, WebhookEndpointUpdateParams as ct, KeyringListTransferKeysResponse as d, SessionRetrieveResponse as di, McpRetrieveAppResponse as dn, ConnectedAccountCompleteAuthResponse as dr, WebhookSubscriptionCreateParams as dt, APIPromise as ea, SessionDeleteResponse as ei, McpCreateInstanceResponse as en, ToolkitRetrieveMultiParams as er, ProjectRetrieveResponse as et, Custom as f, SessionSearchParams as fi, McpRetrieveResponse as fn, ConnectedAccountCreateParams as fr, WebhookSubscriptionCreateResponse as ft, CustomSyncResponse as g, SessionToolsParams as gi, GenerateURLParams as gn, ConnectedAccountListParams as gr, WebhookSubscriptionListResponse as gt, CustomSyncParams as h, SessionToolkitsResponse as hi, Generate as hn, ConnectedAccountDeleteResponse as hr, WebhookSubscriptionListParams as ht, SessionConfigsRetrieveResponse as i, SessionExecuteResponse as ii, McpDeleteInstanceResponse as in, ToolkitRetrieveScopesGrantContextParams as ir, WebhookEndpointListResponse as it, Usage as j, AutoCredentials as ji, TriggersTypeListResponse as jn, Files as jr, Logs as jt, ClankerCreateClaimParams as k, AuthMode as ki, ManageUpdateResponse as kn, FileListParams as kr, LogCreateToolExecutionResponse as kt, Logger as l, SessionProxyExecuteParams as li, McpListResponse as ln, LinkCreateResponse as lr, WebhookEndpointUpdateResponse as lt, CustomDeleteToolkitResponse as m, SessionToolkitsParams as mi, McpUpdateResponse as mn, ConnectedAccountDeleteParams as mr, WebhookSubscriptionListEventTypesResponse as mt, SessionConfigsListParams as n, SessionExecuteMetaResponse as ni, McpCreateResponse as nn, ToolkitRetrieveParams as nr, WebhookEndpointCreateResponse as nt, Composio as o, SessionLinkResponse as oi, McpListInstancesParams as on, Toolkits as or, WebhookEndpointReplaceResponse as ot, CustomDeleteToolkitParams as p, SessionSearchResponse as pi, McpUpdateParams as pn, ConnectedAccountCreateResponse as pr, WebhookSubscriptionDeleteResponse as pt, ProjectCreateParams as q, UnprocessableEntityError as qi, AuthConfigs as qn, Session$1 as qr, CliGetSessionResponse as qt, SessionConfigsListResponse as r, SessionExecuteParams as ri, McpDeleteInstanceParams as rn, ToolkitRetrieveResponse as rr, WebhookEndpointListParams as rt, EnvironmentMap as s, SessionPatchParams as si, McpListInstancesResponse as sn, Link as sr, WebhookEndpointRetrieveResponse as st, SessionConfigs as t, SessionExecuteMetaParams as ti, McpCreateParams as tn, ToolkitRetrieveMultiResponse as tr, WebhookEndpointCreateParams as tt, Keyring as u, SessionProxyExecuteResponse as ui, McpRetrieveAppParams as un, ConnectedAccountCompleteAuthParams as ur, WebhookEndpoints as ut, CustomUpsertResponse as v, FileCreateDownloadURLParams as vi, Custom$1 as vn, ConnectedAccountPatchParams as vr, WebhookSubscriptionRotateSecretResponse as vt, SessionRetrieveInfoResponse as w, FileListParams$1 as wi, TriggerInstanceUpsertResponse as wn, ConnectedAccountUpdateStatusParams as wr, UsageRetrieveParams$1 as wt, ApiKeyRevocationCreateResponse as x, FileCreateUploadURLResponse as xi, TriggerInstanceListActiveParams as xn, ConnectedAccountRefreshResponse as xr, WebhookSubscriptions as xt, ApiKeyRevocation as y, FileCreateDownloadURLResponse as yi, CustomCreateParams as yn, ConnectedAccountPatchResponse as yr, WebhookSubscriptionUpdateParams as yt, Consumer as z, AuthenticationError as zi, AuthConfigDeleteResponse as zn, ToolProxyResponse as zr, TriggerRetrieveResponse as zt };
@@ -1,4 +1,4 @@
1
- import { t as Session } from "./session-DEfDnHZZ.mjs";
1
+ import { t as Session } from "./session-BmXeclWC.mjs";
2
2
 
3
3
  //#region src/compat/resources/tool-router/tool-router.ts
4
4
  /** Stainless-shaped `client.toolRouter` resource. */
@@ -1,4 +1,4 @@
1
- import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-D1e__yar.mjs";
1
+ import { d as path, n as generatedOperation, y as withOperation } from "./generated-operations-DKgGT6Dg.mjs";
2
2
 
3
3
  //#region src/compat/resources/toolkits.ts
4
4
  const OP_RETRIEVE = generatedOperation("toolkits.retrieve");
@@ -1,4 +1,4 @@
1
- import { F as mergeHeaders, b as withOperation, d as path, n as generatedOperation } from "./generated-operations-D1e__yar.mjs";
1
+ import { E as mergeHeaders, d as path, n as generatedOperation, y as withOperation } from "./generated-operations-DKgGT6Dg.mjs";
2
2
 
3
3
  //#region src/compat/resources/tools.ts
4
4
  const OP_RETRIEVE = generatedOperation("tools.retrieve");