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

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 +136 -40
  2. package/dist/{api-key-revocation-lc3308Ao.mjs → api-key-revocation-DMCgun-A.mjs} +1 -1
  3. package/dist/{auth-DkGiEaxg.mjs → auth-D-U9Aq8C.mjs} +1 -1
  4. package/dist/{auth-configs-DbxqGahP.mjs → auth-configs-DAG5mMeH.mjs} +1 -1
  5. package/dist/{clanker-fK9cAkTz.mjs → clanker-Yomp86hJ.mjs} +1 -1
  6. package/dist/{cli-K1MskpaR.mjs → cli-zihiw3aI.mjs} +4 -5
  7. package/dist/{connected-accounts-Bfl7_SY_.mjs → connected-accounts-Bd4AbWoH.mjs} +1 -1
  8. package/dist/{consumer-5o2zMQwr.mjs → consumer-Bk0cyIii.mjs} +6 -7
  9. package/dist/{custom-8rs-sHnb.mjs → custom-Ce8G2c11.mjs} +1 -1
  10. package/dist/{custom-wEkSiPHn.mjs → custom-DWT3cCog.mjs} +1 -1
  11. package/dist/effect.d.mts +29 -42
  12. package/dist/effect.mjs +217 -192
  13. package/dist/{error-D9cG225M.mjs → error-Bw7_G2NZ.mjs} +1 -1
  14. package/dist/{files-BPKJXlpc.mjs → files-DRp_J4zH.mjs} +1 -1
  15. package/dist/{files-BjPFzRnM.mjs → files-ZxEVlE_y.mjs} +1 -1
  16. package/dist/{generate-DDHNgbPS.mjs → generate-Du9XUrlx.mjs} +1 -1
  17. package/dist/{generated-deprecated-inputs--L5LHDO_.mjs → generated-deprecated-inputs-Dy_lBver.mjs} +2 -2
  18. package/dist/{generated-operations-D1e__yar.mjs → generated-operations-Dv7pAKDT.mjs} +354 -226
  19. package/dist/index.d.mts +3 -3
  20. package/dist/index.mjs +104 -154
  21. package/dist/{keyring-Dkm6DQIp.mjs → keyring-CgOIS5x7.mjs} +1 -1
  22. package/dist/{link-BBU-J5L_.mjs → link-CW1ts4pm.mjs} +1 -1
  23. package/dist/{logs-CuuysWk1.mjs → logs-DFdH5DoT.mjs} +3 -3
  24. package/dist/{manage-B1R7I3ZM.mjs → manage-CeB03gO8.mjs} +1 -1
  25. package/dist/{mcp-C3beSy48.mjs → mcp-DNRMWWum.mjs} +3 -3
  26. package/dist/{org-B13XOuKh.mjs → org-HuYaKgVf.mjs} +6 -6
  27. package/dist/{owner-BAr5uwk3.mjs → owner-I9fXmIO_.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-CDm8tjUw.mjs → project-CxQ2H8UB.mjs} +1 -1
  31. package/dist/{project-DF5KclHm.mjs → project-DcV01umC.mjs} +4 -7
  32. package/dist/{project-BbCgXD83.mjs → project-Dwblmpw8.mjs} +1 -1
  33. package/dist/{project-C30H_5b6.mjs → project-FuP5k9R1.mjs} +1 -1
  34. package/dist/{realtime-6LigMh83.mjs → realtime-F_sGuTd8.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-B-ifOjVv.mjs} +1 -1
  158. package/dist/{session-DEfDnHZZ.mjs → session-CpwJh7Hn.mjs} +2 -2
  159. package/dist/{session-configs-nA6TL_i4.d.mts → session-configs-BLy_O6bX.d.mts} +131 -134
  160. package/dist/{tool-router-6l_dREjC.mjs → tool-router-jNsaldKV.mjs} +1 -1
  161. package/dist/{toolkits-Mn_uLV98.mjs → toolkits-DK4My9FW.mjs} +1 -1
  162. package/dist/{tools-z-PjBsf7.mjs → tools-DNkimllW.mjs} +1 -1
  163. package/dist/{tools-btk0mzFP.mjs → tools-Gun_2We6.mjs} +1 -1
  164. package/dist/{trigger-instances-PQaObQQy.mjs → trigger-instances-vvKswQSW.mjs} +2 -2
  165. package/dist/{triggers-y0mi0XzT.mjs → triggers-CfrGxKIo.mjs} +1 -1
  166. package/dist/{triggers-types-KoRbT0k5.mjs → triggers-types-DYW2Mr8z.mjs} +1 -1
  167. package/dist/{usage-DvjkSmpI.mjs → usage-YIBYNpVF.mjs} +1 -1
  168. package/dist/{usage-B2Z947BK.mjs → usage-vt9HmnNf.mjs} +1 -1
  169. package/dist/version-DB98yI2B.d.mts +4 -0
  170. package/dist/{webhook-endpoints-kf4Jj2Mz.mjs → webhook-endpoints-HqLteVW6.mjs} +1 -1
  171. package/dist/{webhook-subscriptions-DcYN8qo1.mjs → webhook-subscriptions-CXhNXIOM.mjs} +1 -1
  172. package/package.json +2 -2
  173. package/dist/version-DUxhnnPj.d.mts +0 -4
package/dist/index.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- import { $r as SessionCreateResponse, Ai as createFetchTransport, Bi as ComposioError, Ci as FileDeleteResponse, Di as RequestOptions, Ei as Files, Fi as APIError, Gi as RateLimitError, Hi as InternalServerError, Ii as APIErrorBody, Jr as SessionAttachParams, Ki as UnprocessableEntityError, Kr as ToolRouter, Li as APIUserAbortError, Ni as APIConnectionError, Oi as FetchTransportDefaults, Pi as APIConnectionTimeoutError, Qr as SessionCreateParams, Ri as AuthenticationError, Si as FileDeleteParams, Ti as FileListResponse, Ui as NotFoundError, Vi as ConflictError, Wi as PermissionDeniedError, Xr as SessionConfigHistoryParams, Yr as SessionAttachResponse, Zr as SessionConfigHistoryResponse, _i as SessionToolsResponse, a as ClientOptions, ai as SessionLinkParams, bi as FileCreateUploadURLParams, c as LogLevel, ci as SessionPatchResponse, di as SessionRetrieveResponse, ei as SessionDeleteResponse, fi as SessionSearchParams, gi as SessionToolsParams, hi as SessionToolkitsResponse, ii as SessionExecuteResponse, ji as ClientIdentity, ki as Transport, l as Logger, li as SessionProxyExecuteParams, mi as SessionToolkitsParams, ni as SessionExecuteMetaResponse, o as Composio, oi as SessionLinkResponse, pi as SessionSearchResponse, qi as APIPromise, qr as Session, ri as SessionExecuteParams, s as EnvironmentMap, si as SessionPatchParams, ti as SessionExecuteMetaParams, ui as SessionProxyExecuteResponse, vi as FileCreateDownloadURLParams, wi as FileListParams, xi as FileCreateUploadURLResponse, yi as FileCreateDownloadURLResponse, zi as BadRequestError } from "./session-configs-nA6TL_i4.mjs";
2
- import { t as VERSION } from "./version-DUxhnnPj.mjs";
3
- export { APIConnectionError, APIConnectionTimeoutError, APIError, type APIErrorBody, APIPromise, APIUserAbortError, AuthenticationError, BadRequestError, type ClientIdentity, type ClientOptions, Composio, Composio as default, ComposioError, ConflictError, type EnvironmentMap, type FetchTransportDefaults, type FileCreateDownloadURLParams, type FileCreateDownloadURLResponse, type FileCreateUploadURLParams, type FileCreateUploadURLResponse, type FileDeleteParams, type FileDeleteResponse, type FileListParams, type FileListResponse, Files, InternalServerError, type LogLevel, type Logger, NotFoundError, PermissionDeniedError, RateLimitError, type RequestOptions, Session, type SessionAttachParams, type SessionAttachResponse, type SessionConfigHistoryParams, type SessionConfigHistoryResponse, type SessionCreateParams, type SessionCreateResponse, type SessionDeleteResponse, type SessionExecuteMetaParams, type SessionExecuteMetaResponse, type SessionExecuteParams, type SessionExecuteResponse, type SessionLinkParams, type SessionLinkResponse, type SessionPatchParams, type SessionPatchResponse, type SessionProxyExecuteParams, type SessionProxyExecuteResponse, type SessionRetrieveResponse, type SessionSearchParams, type SessionSearchResponse, type SessionToolkitsParams, type SessionToolkitsResponse, type SessionToolsParams, type SessionToolsResponse, ToolRouter, type Transport, UnprocessableEntityError, VERSION, createFetchTransport };
1
+ import { $i as APIPromise, $r as SessionDeleteResponse, Ai as AutoCredentials, Bi as ComposioError, Ci as FileListParams, Ei as Auth, Fi as APIError, Gi as RateLimitError, Gr as ToolRouter, Hi as InternalServerError, Ii as APIErrorBody, Ji as FetchTransportDefaults, Jr as SessionAttachResponse, Ki as UnprocessableEntityError, Kr as Session, Li as APIUserAbortError, Mi as Scope, Ni as APIConnectionError, Oi as AuthMode, Pi as APIConnectionTimeoutError, Qr as SessionCreateResponse, Ri as AuthenticationError, Si as FileDeleteResponse, Ti as Files, Ui as NotFoundError, Vi as ConflictError, Wi as PermissionDeniedError, Xi as createFetchTransport, Xr as SessionConfigHistoryResponse, Yi as Transport, Yr as SessionConfigHistoryParams, Zi as ClientIdentity, Zr as SessionCreateParams, _i as FileCreateDownloadURLParams, a as ClientOptions, ai as SessionLinkResponse, bi as FileCreateUploadURLResponse, c as LogLevel, ci as SessionProxyExecuteParams, di as SessionSearchParams, ei as SessionExecuteMetaParams, fi as SessionSearchResponse, gi as SessionToolsResponse, hi as SessionToolsParams, ii as SessionLinkParams, ji as Credential, li as SessionProxyExecuteResponse, mi as SessionToolkitsResponse, ni as SessionExecuteParams, o as Composio, oi as SessionPatchParams, pi as SessionToolkitsParams, qi as RequestOptions, qr as SessionAttachParams, ri as SessionExecuteResponse, s as EnvironmentMap, si as SessionPatchResponse, ti as SessionExecuteMetaResponse, ui as SessionRetrieveResponse, vi as FileCreateDownloadURLResponse, wi as FileListResponse, xi as FileDeleteParams, yi as FileCreateUploadURLParams, zi as BadRequestError } from "./session-configs-BLy_O6bX.mjs";
2
+ import { t as VERSION } from "./version-DB98yI2B.mjs";
3
+ export { APIConnectionError, APIConnectionTimeoutError, APIError, type APIErrorBody, APIPromise, APIUserAbortError, Auth, type AuthMode, AuthenticationError, type AutoCredentials, BadRequestError, type ClientIdentity, type ClientOptions, Composio, Composio as default, ComposioError, ConflictError, type Credential, type EnvironmentMap, type FetchTransportDefaults, type FileCreateDownloadURLParams, type FileCreateDownloadURLResponse, type FileCreateUploadURLParams, type FileCreateUploadURLResponse, type FileDeleteParams, type FileDeleteResponse, type FileListParams, type FileListResponse, Files, InternalServerError, type LogLevel, NotFoundError, PermissionDeniedError, RateLimitError, type RequestOptions, type Scope, Session, type SessionAttachParams, type SessionAttachResponse, type SessionConfigHistoryParams, type SessionConfigHistoryResponse, type SessionCreateParams, type SessionCreateResponse, type SessionDeleteResponse, type SessionExecuteMetaParams, type SessionExecuteMetaResponse, type SessionExecuteParams, type SessionExecuteResponse, type SessionLinkParams, type SessionLinkResponse, type SessionPatchParams, type SessionPatchResponse, type SessionProxyExecuteParams, type SessionProxyExecuteResponse, type SessionRetrieveResponse, type SessionSearchParams, type SessionSearchResponse, type SessionToolkitsParams, type SessionToolkitsResponse, type SessionToolsParams, type SessionToolsResponse, ToolRouter, type Transport, UnprocessableEntityError, VERSION, createFetchTransport };
package/dist/index.mjs CHANGED
@@ -1,30 +1,30 @@
1
- import { a as AuthenticationError, c as ConflictError, d as PermissionDeniedError, f as RateLimitError, i as APIUserAbortError, l as InternalServerError, n as APIConnectionTimeoutError, o as BadRequestError, p as UnprocessableEntityError, r as APIError, s as ComposioError, t as APIConnectionError, u as NotFoundError } from "./error-D9cG225M.mjs";
2
- import { C as resolveIdentity, E as inspectDeprecation, F as mergeHeaders, M as parseHTTPURL, S as assertNoReservedHeaders, T as inspectDeprecatedInputs, k as assertCredentialTransport, p as readOperation, t as GENERATED_OPERATIONS, u as makeRequest, w as VERSION, x as createFetchTransport } from "./generated-operations-D1e__yar.mjs";
3
- import { t as ApiKeyRevocation } from "./api-key-revocation-lc3308Ao.mjs";
4
- import { t as AuthConfigs } from "./auth-configs-DbxqGahP.mjs";
5
- import { t as Auth } from "./auth-DkGiEaxg.mjs";
6
- import { t as Cli } from "./cli-K1MskpaR.mjs";
7
- import { t as ConnectedAccounts } from "./connected-accounts-Bfl7_SY_.mjs";
8
- import { t as Custom } from "./custom-8rs-sHnb.mjs";
9
- import { t as Files$1 } from "./files-BjPFzRnM.mjs";
10
- import { t as Keyring } from "./keyring-Dkm6DQIp.mjs";
11
- import { t as Link } from "./link-BBU-J5L_.mjs";
12
- import { t as Logs } from "./logs-CuuysWk1.mjs";
13
- import { t as Mcp } from "./mcp-C3beSy48.mjs";
1
+ import { a as AuthenticationError, c as ConflictError, d as PermissionDeniedError, f as RateLimitError, i as APIUserAbortError, l as InternalServerError, n as APIConnectionTimeoutError, o as BadRequestError, p as UnprocessableEntityError, r as APIError, s as ComposioError, t as APIConnectionError, u as NotFoundError } from "./error-Bw7_G2NZ.mjs";
2
+ import { A as Auth, C as resolveIdentity, D as inspectDeprecatedInputs, E as mergeHeaders, L as resolveAuth, O as inspectDeprecation, P as authFromCredentials, R as resolveScope, S as reservedHeaders, U as parseHTTPURL, V as assertCredentialTransport, b as createFetchTransport, j as assertNoRemovedCredentialOptions, p as readOperation, t as GENERATED_OPERATIONS, u as makeRequest, w as VERSION, x as assertNoReservedHeaders } from "./generated-operations-Dv7pAKDT.mjs";
3
+ import { t as ApiKeyRevocation } from "./api-key-revocation-DMCgun-A.mjs";
4
+ import { t as AuthConfigs } from "./auth-configs-DAG5mMeH.mjs";
5
+ import { t as Auth$1 } from "./auth-D-U9Aq8C.mjs";
6
+ import { t as Cli } from "./cli-zihiw3aI.mjs";
7
+ import { t as ConnectedAccounts } from "./connected-accounts-Bd4AbWoH.mjs";
8
+ import { t as Custom } from "./custom-Ce8G2c11.mjs";
9
+ import { t as Files$1 } from "./files-ZxEVlE_y.mjs";
10
+ import { t as Keyring } from "./keyring-CgOIS5x7.mjs";
11
+ import { t as Link } from "./link-CW1ts4pm.mjs";
12
+ import { t as Logs } from "./logs-DFdH5DoT.mjs";
13
+ import { t as Mcp } from "./mcp-DNRMWWum.mjs";
14
14
  import { t as Migration } from "./migration-CBhnoN-Y.mjs";
15
- import { t as Org } from "./org-B13XOuKh.mjs";
16
- import { t as Project } from "./project-CDm8tjUw.mjs";
15
+ import { t as Org } from "./org-HuYaKgVf.mjs";
16
+ import { t as Project } from "./project-CxQ2H8UB.mjs";
17
17
  import { SessionConfigs } from "./resources/session-configs.mjs";
18
- import { t as Files } from "./files-BPKJXlpc.mjs";
19
- import { t as Session } from "./session-DEfDnHZZ.mjs";
20
- import { t as ToolRouter } from "./tool-router-6l_dREjC.mjs";
21
- import { t as Toolkits } from "./toolkits-Mn_uLV98.mjs";
22
- import { t as Tools } from "./tools-btk0mzFP.mjs";
23
- import { t as TriggerInstances } from "./trigger-instances-PQaObQQy.mjs";
24
- import { t as TriggersTypes } from "./triggers-types-KoRbT0k5.mjs";
25
- import { t as WebhookEndpoints } from "./webhook-endpoints-kf4Jj2Mz.mjs";
26
- import { t as WebhookSubscriptions } from "./webhook-subscriptions-DcYN8qo1.mjs";
27
- import { n as APIPromise, t as GENERATED_DEPRECATED_INPUTS } from "./generated-deprecated-inputs--L5LHDO_.mjs";
18
+ import { t as Files } from "./files-DRp_J4zH.mjs";
19
+ import { t as Session } from "./session-CpwJh7Hn.mjs";
20
+ import { t as ToolRouter } from "./tool-router-jNsaldKV.mjs";
21
+ import { t as Toolkits } from "./toolkits-DK4My9FW.mjs";
22
+ import { t as Tools } from "./tools-Gun_2We6.mjs";
23
+ import { t as TriggerInstances } from "./trigger-instances-vvKswQSW.mjs";
24
+ import { t as TriggersTypes } from "./triggers-types-DYW2Mr8z.mjs";
25
+ import { t as WebhookEndpoints } from "./webhook-endpoints-HqLteVW6.mjs";
26
+ import { t as WebhookSubscriptions } from "./webhook-subscriptions-CXhNXIOM.mjs";
27
+ import { n as APIPromise, t as GENERATED_DEPRECATED_INPUTS } from "./generated-deprecated-inputs-Dy_lBver.mjs";
28
28
 
29
29
  //#region src/compat/generated-resource-wiring.ts
30
30
  const createClientResources = (client) => ({
@@ -45,7 +45,7 @@ const createClientResources = (client) => ({
45
45
  webhookSubscriptions: new WebhookSubscriptions(client),
46
46
  webhookEndpoints: new WebhookEndpoints(client),
47
47
  org: new Org(client),
48
- auth: new Auth(client),
48
+ auth: new Auth$1(client),
49
49
  apiKeyRevocation: new ApiKeyRevocation(client),
50
50
  custom: new Custom(client),
51
51
  keyring: new Keyring(client),
@@ -54,34 +54,17 @@ const createClientResources = (client) => ({
54
54
 
55
55
  //#endregion
56
56
  //#region src/compat/client.ts
57
- const environments = {
58
- production: "https://backend.composio.dev",
59
- staging: "https://staging-backend.composio.dev",
60
- local: "http://localhost:9900"
61
- };
62
- const environmentReader = Symbol("Composio.environmentReader");
63
- /** Read a trimmed environment value in Node or Deno without assuming either runtime exists. */
64
- const readEnv = (name) => {
65
- const globals = globalThis;
66
- try {
67
- const fromProcess = globals.process?.env?.[name]?.trim();
68
- if (fromProcess) return fromProcess;
69
- } catch {}
70
- try {
71
- return globals.Deno?.env?.get?.(name)?.trim() || void 0;
72
- } catch {}
73
- };
74
- const createEnvironmentReader = (environment) => (name) => environment[name]?.trim() || void 0;
75
- const emptyEnvironmentReader = () => void 0;
76
- const mergeEnvironmentHeaders = (raw, defaults) => {
77
- if (!raw) return defaults;
57
+ const DEFAULT_BASE_URL = "https://backend.composio.dev";
58
+ /** A setting as `fromEnv` reads one: trimmed, and absent when empty. */
59
+ const setting = (environment, name) => environment[name]?.trim() || void 0;
60
+ const parseCustomHeaders = (raw) => {
78
61
  const parsed = {};
79
62
  for (const line of raw.split("\n")) {
80
63
  const colon = line.indexOf(":");
81
64
  if (colon >= 0) parsed[line.substring(0, colon).trim()] = line.substring(colon + 1).trim();
82
65
  }
83
66
  try {
84
- return mergeHeaders([parsed, defaults]);
67
+ return mergeHeaders([parsed]);
85
68
  } catch (cause) {
86
69
  throw new ComposioError(`COMPOSIO_CUSTOM_HEADERS contains an invalid header: ${cause instanceof Error ? cause.message : String(cause)}`);
87
70
  }
@@ -100,118 +83,104 @@ const LOG_LEVELS = {
100
83
  * the default rather than silencing the client or making it shout.
101
84
  */
102
85
  const isLogLevel = (value) => value !== void 0 && Object.hasOwn(LOG_LEVELS, value);
103
- const resolveCredential = (explicit, readEnvironment, variable) => {
104
- if (explicit !== void 0) return explicit;
105
- return readEnvironment(variable) ?? null;
106
- };
107
- const resolveBaseURL = (options, readEnvironment, hasExplicitEnvironment) => {
108
- if (options.baseURL !== void 0) return options.baseURL;
109
- if (hasExplicitEnvironment && options.environment !== void 0) return null;
110
- return readEnvironment("COMPOSIO_BASE_URL") ?? null;
111
- };
112
- const resolveClientOptions = (input) => {
113
- const hasExplicitEnvironment = input[environmentReader] !== void 0;
114
- const readEnvironment = input[environmentReader] ?? readEnv;
115
- const baseURL = resolveBaseURL(input, readEnvironment, hasExplicitEnvironment);
116
- const apiKey = resolveCredential(input.apiKey, readEnvironment, "COMPOSIO_API_KEY");
117
- const userApiKey = resolveCredential(input.userApiKey, readEnvironment, "COMPOSIO_USER_API_KEY");
118
- const orgApiKey = resolveCredential(input.orgApiKey, readEnvironment, "COMPOSIO_ORG_API_KEY");
119
- if (baseURL && input.environment) throw new ComposioError("Ambiguous URL; The `baseURL` option (or COMPOSIO_BASE_URL env var) and the `environment` option are given. If you want to use the environment you must pass baseURL: null");
120
- const options = {
121
- ...input,
122
- apiKey,
123
- userApiKey,
124
- orgApiKey,
125
- allowInsecureHTTP: input.allowInsecureHTTP ?? readEnvironment("COMPOSIO_ALLOW_INSECURE_HTTP") === "1",
126
- allowedHTTPOrigin: input.allowedHTTPOrigin ?? null,
127
- baseURL,
128
- environment: input.environment ?? "production",
129
- logLevel: input.logLevel ?? readEnvironment("COMPOSIO_LOG_LEVEL") ?? "warn"
130
- };
131
- options.defaultHeaders = mergeEnvironmentHeaders(readEnvironment("COMPOSIO_CUSTOM_HEADERS"), input.defaultHeaders);
132
- if (hasExplicitEnvironment) options[environmentReader] = emptyEnvironmentReader;
133
- return options;
86
+ const COMPAT_CREDENTIAL = {
87
+ is: (value) => typeof value === "string" || typeof value === "function",
88
+ keyOf: (credential) => typeof credential === "string" ? credential : void 0
134
89
  };
90
+ const resolveClientOptions = (input) => ({
91
+ ...input,
92
+ allowInsecureHTTP: input.allowInsecureHTTP ?? false,
93
+ allowedHTTPOrigin: input.allowedHTTPOrigin ?? null,
94
+ baseURL: input.baseURL || DEFAULT_BASE_URL,
95
+ logLevel: isLogLevel(input.logLevel) ? input.logLevel : "warn"
96
+ });
135
97
  var Composio = class Composio {
136
- apiKey;
137
- userApiKey;
138
- orgApiKey;
139
98
  baseURL;
140
99
  maxRetries;
141
100
  timeout;
142
- logger;
143
101
  logLevel;
102
+ #logger;
144
103
  #transport;
145
104
  #options;
146
105
  #identity;
106
+ #auth;
107
+ #scope;
108
+ #scopeHeaders;
109
+ #reserved;
110
+ #kernel;
147
111
  /**
148
- * The (operation, notice) pairs, and separately the (operation, deprecated
149
- * input set) pairs, this instance has already warned about — one Set shared
150
- * by both triggers under distinct key prefixes (`inspectDeprecation` vs
151
- * `inspectDeprecatedInputs`), so a deprecated endpoint or a deprecated
152
- * parameter called in a loop announces itself once — while a *revised*
153
- * notice from that same endpoint, say once a `Sunset` date is committed,
154
- * still gets through.
155
- *
156
- * Per client *lineage*, not per process: a client built with `new Composio()`
157
- * starts empty, and `withOptions()` shares this exact Set with the client it
158
- * returns (see below). Not reassigned anywhere else — the mutability exists
159
- * only so a derived client can join its parent's record.
112
+ * The (operation, notice) pairs this client lineage has already warned
113
+ * about, under distinct key prefixes for response notices and deprecated
114
+ * inputs. Reassigned only by `withOptions()`, so a derived client joins its
115
+ * parent's record.
160
116
  */
161
117
  #deprecationSeen = /* @__PURE__ */ new Set();
162
- constructor(input = {}) {
118
+ constructor(input) {
119
+ if (typeof input !== "object" || input === null) throw new ComposioError("`new Composio(options)` needs an options object with `auth`.");
120
+ assertNoRemovedCredentialOptions(input);
163
121
  const options = resolveClientOptions(input);
122
+ this.#auth = resolveAuth(options.auth, COMPAT_CREDENTIAL);
123
+ this.#scopeHeaders = resolveScope(options.scope);
124
+ this.#scope = options.scope === void 0 ? void 0 : Object.freeze({ ...options.scope });
164
125
  this.#identity = resolveIdentity(options.identity);
165
- assertNoReservedHeaders(options.defaultHeaders, this.#identity, "defaultHeaders");
166
- this.baseURL = options.baseURL || environments[options.environment];
126
+ this.#reserved = reservedHeaders(this.#identity, {
127
+ auth: this.#auth.mode !== "none",
128
+ scope: this.#scopeHeaders !== void 0
129
+ });
130
+ assertNoReservedHeaders(options.defaultHeaders, this.#reserved, "defaultHeaders");
131
+ this.baseURL = options.baseURL;
167
132
  this.timeout = options.timeout ?? Composio.DEFAULT_TIMEOUT;
168
- this.logger = options.logger ?? console;
133
+ this.#logger = options.logger ?? console;
169
134
  this.logLevel = options.logLevel;
170
135
  this.maxRetries = options.maxRetries ?? 2;
171
136
  this.#transport = options.transport ?? createFetchTransport();
172
137
  options.allowedHTTPOrigin = options.allowInsecureHTTP ? options.allowedHTTPOrigin ?? parseHTTPURL(this.baseURL)?.origin ?? null : null;
173
138
  this.#options = options;
174
- this.apiKey = options.apiKey;
175
- this.userApiKey = options.userApiKey;
176
- this.orgApiKey = options.orgApiKey;
177
- assertCredentialTransport(this.baseURL, this.#credentials(), options.allowedHTTPOrigin);
139
+ assertCredentialTransport(this.baseURL, this.#auth.mode !== "none", options.allowedHTTPOrigin);
140
+ this.#kernel = this.#kernelConfig();
178
141
  Object.assign(this, createClientResources(this));
179
142
  }
180
143
  /**
181
- * Constructs a client from a caller-supplied environment snapshot.
182
- *
183
- * Unlike the compatibility constructor, this method never reads ambient
184
- * process or Deno state. Explicit options replace values from `environment`;
185
- * in particular, an explicit named environment replaces
186
- * `COMPOSIO_BASE_URL`, and `apiKey: null` disables a mapped API key.
144
+ * Constructs a client from `environment` (such as `process.env`), the only
145
+ * place a client reads `COMPOSIO_*`. Each override replaces the field it names.
187
146
  */
188
- static fromEnv(environment, options = {}) {
189
- const input = {
190
- ...options,
191
- [environmentReader]: createEnvironmentReader(environment)
147
+ static fromEnv(environment, overrides = {}) {
148
+ const read = (name) => setting(environment, name);
149
+ const mapped = {
150
+ auth: authFromCredentials({
151
+ project: read("COMPOSIO_API_KEY"),
152
+ user: read("COMPOSIO_USER_API_KEY"),
153
+ organization: read("COMPOSIO_ORG_API_KEY")
154
+ }),
155
+ allowInsecureHTTP: read("COMPOSIO_ALLOW_INSECURE_HTTP") === "1",
156
+ baseURL: read("COMPOSIO_BASE_URL")
192
157
  };
193
- return new this(input);
158
+ const logLevel = read("COMPOSIO_LOG_LEVEL");
159
+ if (logLevel !== void 0) mapped.logLevel = logLevel;
160
+ const customHeaders = read("COMPOSIO_CUSTOM_HEADERS");
161
+ if (customHeaders !== void 0) mapped.defaultHeaders = parseCustomHeaders(customHeaders);
162
+ return new this({
163
+ ...mapped,
164
+ ...overrides
165
+ });
166
+ }
167
+ get authMode() {
168
+ return this.#auth.mode;
169
+ }
170
+ get scope() {
171
+ return this.#scope;
194
172
  }
195
- /** Returns a new client reusing the current options with `options` merged over them. */
173
+ /** A new client with `options` merged over this one's, key by key, validated as a constructor call is. */
196
174
  withOptions(options) {
197
175
  const transport = Object.hasOwn(options, "transport") ? options.transport : this.#transport;
198
176
  const allowedHTTPOrigin = options.allowInsecureHTTP === true ? void 0 : this.#options.allowedHTTPOrigin;
199
- const derivedOptions = {
177
+ const derived = {
200
178
  ...this.#options,
201
- environment: options.environment ? options.environment : void 0,
202
- baseURL: options.environment ? void 0 : this.baseURL,
203
- maxRetries: this.maxRetries,
204
- timeout: this.timeout,
205
- logger: this.logger,
206
- logLevel: this.logLevel,
207
- apiKey: this.apiKey,
208
- userApiKey: this.userApiKey,
209
- orgApiKey: this.orgApiKey,
210
179
  ...options,
211
180
  allowedHTTPOrigin,
212
181
  transport
213
182
  };
214
- const client = new this.constructor(derivedOptions);
183
+ const client = new this.constructor(derived);
215
184
  client.#deprecationSeen = this.#deprecationSeen;
216
185
  return client;
217
186
  }
@@ -238,15 +207,7 @@ var Composio = class Composio {
238
207
  });
239
208
  }
240
209
  request(options) {
241
- return new APIPromise(makeRequest(this.#kernelConfig(), options));
242
- }
243
- /** Read at dispatch, never cached: all three fields are public and mutable. */
244
- #credentials() {
245
- return {
246
- apiKey: this.apiKey,
247
- userApiKey: this.userApiKey,
248
- orgApiKey: this.orgApiKey
249
- };
210
+ return new APIPromise(makeRequest(this.#kernel, options));
250
211
  }
251
212
  #onKernelLog = (level, message, metadata) => {
252
213
  this.#emitLog(level, message, metadata);
@@ -279,11 +240,12 @@ var Composio = class Composio {
279
240
  });
280
241
  };
281
242
  #kernelConfig() {
282
- const configuredLogLevel = isLogLevel(this.logLevel) ? this.logLevel : "warn";
283
- const lifecycleLoggingEnabled = LOG_LEVELS[configuredLogLevel] >= LOG_LEVELS.info;
243
+ const lifecycleLoggingEnabled = LOG_LEVELS[this.logLevel] >= LOG_LEVELS.info;
284
244
  return {
285
245
  baseURL: this.baseURL,
286
- credentials: this.#credentials(),
246
+ auth: this.#auth,
247
+ scope: this.#scopeHeaders,
248
+ reserved: this.#reserved,
287
249
  allowedHTTPOrigin: this.#options.allowedHTTPOrigin,
288
250
  operations: GENERATED_OPERATIONS,
289
251
  maxRetries: this.maxRetries,
@@ -297,22 +259,10 @@ var Composio = class Composio {
297
259
  onRequest: this.#onKernelRequest
298
260
  };
299
261
  }
300
- /**
301
- * Writes one record through the configured `logger`, gated on `logLevel`.
302
- *
303
- * A private method by construction: emitting is the client's own business
304
- * and the public surface is pinned against the Stainless client, which
305
- * exposes no such method. The logger is caller-supplied, so a missing method
306
- * or a throwing one is treated as no logger at all — the same rule the
307
- * kernel applies to its advisory observer callbacks.
308
- */
309
262
  #emitLog(level, message, ...details) {
310
- const configured = isLogLevel(this.logLevel) ? this.logLevel : "warn";
311
- if (LOG_LEVELS[configured] < LOG_LEVELS[level]) return;
263
+ if (LOG_LEVELS[this.logLevel] < LOG_LEVELS[level]) return;
312
264
  try {
313
- const sink = this.logger[level];
314
- if (typeof sink !== "function") return;
315
- sink.call(this.logger, message, ...details);
265
+ this.#logger[level](message, ...details);
316
266
  } catch {}
317
267
  }
318
268
  static Composio = this;
@@ -348,10 +298,10 @@ Composio.Migration = Migration;
348
298
  Composio.WebhookSubscriptions = WebhookSubscriptions;
349
299
  Composio.WebhookEndpoints = WebhookEndpoints;
350
300
  Composio.Org = Org;
351
- Composio.Auth = Auth;
301
+ Composio.Auth = Auth$1;
352
302
  Composio.ApiKeyRevocation = ApiKeyRevocation;
353
303
  Composio.Custom = Custom;
354
304
  Composio.Keyring = Keyring;
355
305
 
356
306
  //#endregion
357
- export { APIConnectionError, APIConnectionTimeoutError, APIError, APIPromise, APIUserAbortError, AuthenticationError, BadRequestError, Composio, Composio as default, ComposioError, ConflictError, Files, InternalServerError, NotFoundError, PermissionDeniedError, RateLimitError, Session, ToolRouter, UnprocessableEntityError, VERSION, createFetchTransport };
307
+ export { APIConnectionError, APIConnectionTimeoutError, APIError, APIPromise, APIUserAbortError, Auth, AuthenticationError, BadRequestError, Composio, Composio as default, ComposioError, ConflictError, Files, InternalServerError, NotFoundError, PermissionDeniedError, RateLimitError, Session, ToolRouter, UnprocessableEntityError, VERSION, createFetchTransport };
@@ -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-Dv7pAKDT.mjs";
2
2
 
3
3
  //#region src/compat/resources/keyring.ts
4
4
  const OP_LIST_TRANSFER_KEYS = generatedOperation("keyring.listTransferKeys");
@@ -1,4 +1,4 @@
1
- import { b as withOperation, n as generatedOperation } from "./generated-operations-D1e__yar.mjs";
1
+ import { n as generatedOperation, y as withOperation } from "./generated-operations-Dv7pAKDT.mjs";
2
2
 
3
3
  //#region src/compat/resources/link.ts
4
4
  const OP_CREATE = generatedOperation("link.create");
@@ -1,6 +1,6 @@
1
- import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-D1e__yar.mjs";
2
- import { t as Triggers } from "./triggers-y0mi0XzT.mjs";
3
- import { t as Tools } from "./tools-z-PjBsf7.mjs";
1
+ import { d as path, n as generatedOperation, y as withOperation } from "./generated-operations-Dv7pAKDT.mjs";
2
+ import { t as Triggers } from "./triggers-CfrGxKIo.mjs";
3
+ import { t as Tools } from "./tools-DNkimllW.mjs";
4
4
 
5
5
  //#region src/compat/resources/logs/logs.ts
6
6
  const OP_CREATE_TOOL_EXECUTION = generatedOperation("logs.createToolExecution");
@@ -1,4 +1,4 @@
1
- import { 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-Dv7pAKDT.mjs";
2
2
 
3
3
  //#region src/compat/resources/trigger-instances/manage.ts
4
4
  const OP_UPDATE = generatedOperation("triggerInstances.manage.update");
@@ -1,6 +1,6 @@
1
- import { b as withOperation, d as path, n as generatedOperation } from "./generated-operations-D1e__yar.mjs";
2
- import { t as Custom } from "./custom-wEkSiPHn.mjs";
3
- import { t as Generate } from "./generate-DDHNgbPS.mjs";
1
+ import { d as path, n as generatedOperation, y as withOperation } from "./generated-operations-Dv7pAKDT.mjs";
2
+ import { t as Custom } from "./custom-DWT3cCog.mjs";
3
+ import { t as Generate } from "./generate-Du9XUrlx.mjs";
4
4
 
5
5
  //#region src/compat/resources/mcp/mcp.ts
6
6
  const OP_CREATE = generatedOperation("mcp.create");
@@ -1,9 +1,9 @@
1
- import { b as withOperation, n as generatedOperation } from "./generated-operations-D1e__yar.mjs";
2
- import { t as Clanker } from "./clanker-fK9cAkTz.mjs";
3
- import { t as Consumer } from "./consumer-5o2zMQwr.mjs";
4
- import { t as Owner } from "./owner-BAr5uwk3.mjs";
5
- import { t as Project } from "./project-C30H_5b6.mjs";
6
- import { t as Usage } from "./usage-B2Z947BK.mjs";
1
+ import { n as generatedOperation, y as withOperation } from "./generated-operations-Dv7pAKDT.mjs";
2
+ import { t as Clanker } from "./clanker-Yomp86hJ.mjs";
3
+ import { t as Consumer } from "./consumer-Bk0cyIii.mjs";
4
+ import { t as Owner } from "./owner-I9fXmIO_.mjs";
5
+ import { t as Project } from "./project-FuP5k9R1.mjs";
6
+ import { t as Usage } from "./usage-vt9HmnNf.mjs";
7
7
 
8
8
  //#region src/compat/resources/org/org.ts
9
9
  const OP_LIST = generatedOperation("org.list");
@@ -1,4 +1,4 @@
1
- import { t as Project } from "./project-BbCgXD83.mjs";
1
+ import { t as Project } from "./project-Dwblmpw8.mjs";
2
2
 
3
3
  //#region src/compat/resources/org/owner/owner.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { s as ComposioError } from "./error-D9cG225M.mjs";
1
+ import { s as ComposioError } from "./error-Bw7_G2NZ.mjs";
2
2
 
3
3
  //#region src/pagination-rules.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { i as standardNextCursor, n as assertPageItems, r as isFinalCursor, t as assertCursorAdvanced } from "./pagination-rules-uMUdPq_7.mjs";
1
+ import { i as standardNextCursor, n as assertPageItems, r as isFinalCursor, t as assertCursorAdvanced } from "./pagination-rules-CMnBwktJ.mjs";
2
2
 
3
3
  //#region src/pagination.ts
4
4
  var PaginationTraversal = class {
@@ -1,5 +1,5 @@
1
1
  import { t as Config } from "./config-BLBbhLe1.mjs";
2
- import { t as Usage } from "./usage-DvjkSmpI.mjs";
2
+ import { t as Usage } from "./usage-YIBYNpVF.mjs";
3
3
 
4
4
  //#region src/compat/resources/project/project.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { F as mergeHeaders, b as withOperation, n as generatedOperation } from "./generated-operations-D1e__yar.mjs";
1
+ import { n as generatedOperation, y as withOperation } from "./generated-operations-Dv7pAKDT.mjs";
2
2
 
3
3
  //#region src/compat/resources/org/consumer/project.ts
4
4
  const OP_RESOLVE = generatedOperation("org.consumer.project.resolve");
@@ -14,12 +14,9 @@ var Project = class {
14
14
  }
15
15
  resolve(params, options) {
16
16
  const { "x-user-api-key": xUserApiKey, "x-org-id": xOrgId } = params;
17
- return this.#client.post("/api/v3.1/org/consumer/project/resolve", withOperation(OP_RESOLVE, {
18
- ...options,
19
- headers: mergeHeaders([{
20
- ...xUserApiKey != null ? { "x-user-api-key": xUserApiKey } : void 0,
21
- ...xOrgId != null ? { "x-org-id": xOrgId } : void 0
22
- }, options?.headers])
17
+ return this.#client.post("/api/v3.1/org/consumer/project/resolve", withOperation(OP_RESOLVE, { ...options }, {
18
+ "x-user-api-key": xUserApiKey,
19
+ "x-org-id": xOrgId
23
20
  }));
24
21
  }
25
22
  };
@@ -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-Dv7pAKDT.mjs";
2
2
 
3
3
  //#region src/compat/resources/org/owner/project.ts
4
4
  const OP_CREATE = generatedOperation("org.owner.project.create");
@@ -1,4 +1,4 @@
1
- import { b as withOperation, n as generatedOperation } from "./generated-operations-D1e__yar.mjs";
1
+ import { n as generatedOperation, y as withOperation } from "./generated-operations-Dv7pAKDT.mjs";
2
2
 
3
3
  //#region src/compat/resources/org/project.ts
4
4
  const OP_LIST = generatedOperation("org.project.list");
@@ -1,4 +1,4 @@
1
- import { b as withOperation, n as generatedOperation } from "./generated-operations-D1e__yar.mjs";
1
+ import { n as generatedOperation, y as withOperation } from "./generated-operations-Dv7pAKDT.mjs";
2
2
 
3
3
  //#region src/compat/resources/cli/realtime.ts
4
4
  const OP_AUTH = generatedOperation("cli.realtime.auth");
@@ -1,2 +1,2 @@
1
- import { b as ApiKeyRevocationCreateParams, x as ApiKeyRevocationCreateResponse, y as ApiKeyRevocation } from "../session-configs-nA6TL_i4.mjs";
1
+ import { b as ApiKeyRevocationCreateResponse, v as ApiKeyRevocation, y as ApiKeyRevocationCreateParams } from "../session-configs-BLy_O6bX.mjs";
2
2
  export { ApiKeyRevocation, type ApiKeyRevocationCreateParams, type ApiKeyRevocationCreateResponse };
@@ -1,3 +1,3 @@
1
- import { t as ApiKeyRevocation } from "../api-key-revocation-lc3308Ao.mjs";
1
+ import { t as ApiKeyRevocation } from "../api-key-revocation-DMCgun-A.mjs";
2
2
 
3
3
  export { ApiKeyRevocation };
@@ -1,2 +1,2 @@
1
- import { S as Auth } from "../../session-configs-nA6TL_i4.mjs";
1
+ import { x as Auth } from "../../session-configs-BLy_O6bX.mjs";
2
2
  export { Auth };
@@ -1,3 +1,3 @@
1
- import { t as Auth } from "../../auth-DkGiEaxg.mjs";
1
+ import { t as Auth } from "../../auth-D-U9Aq8C.mjs";
2
2
 
3
3
  export { Auth };
@@ -1,2 +1,2 @@
1
- import { C as Session, S as Auth, w as SessionRetrieveInfoResponse } from "../../session-configs-nA6TL_i4.mjs";
1
+ import { C as SessionRetrieveInfoResponse, S as Session, x as Auth } from "../../session-configs-BLy_O6bX.mjs";
2
2
  export { Auth, Session, type SessionRetrieveInfoResponse };
@@ -1,4 +1,4 @@
1
- import { t as Session } from "../../session-Dm8WtF4I.mjs";
2
- import { t as Auth } from "../../auth-DkGiEaxg.mjs";
1
+ import { t as Session } from "../../session-B-ifOjVv.mjs";
2
+ import { t as Auth } from "../../auth-D-U9Aq8C.mjs";
3
3
 
4
4
  export { Auth, Session };
@@ -1,2 +1,2 @@
1
- import { C as Session, w as SessionRetrieveInfoResponse } from "../../session-configs-nA6TL_i4.mjs";
1
+ import { C as SessionRetrieveInfoResponse, S as Session } from "../../session-configs-BLy_O6bX.mjs";
2
2
  export { Session, type SessionRetrieveInfoResponse };
@@ -1,3 +1,3 @@
1
- import { t as Session } from "../../session-Dm8WtF4I.mjs";
1
+ import { t as Session } from "../../session-B-ifOjVv.mjs";
2
2
 
3
3
  export { Session };
@@ -1,2 +1,2 @@
1
- import { Bn as AuthConfigListParams, Gn as AuthConfigUpdateStatusParams, Hn as AuthConfigRetrieveResponse, In as AuthConfigCreateParams, Kn as AuthConfigUpdateStatusResponse, Ln as AuthConfigCreateResponse, Rn as AuthConfigDeleteParams, Un as AuthConfigUpdateParams, Vn as AuthConfigListResponse, Wn as AuthConfigUpdateResponse, qn as AuthConfigs, zn as AuthConfigDeleteResponse } from "../session-configs-nA6TL_i4.mjs";
1
+ import { Bn as AuthConfigListResponse, Fn as AuthConfigCreateParams, Gn as AuthConfigUpdateStatusResponse, Hn as AuthConfigUpdateParams, In as AuthConfigCreateResponse, Kn as AuthConfigs, Ln as AuthConfigDeleteParams, Rn as AuthConfigDeleteResponse, Un as AuthConfigUpdateResponse, Vn as AuthConfigRetrieveResponse, Wn as AuthConfigUpdateStatusParams, zn as AuthConfigListParams } from "../session-configs-BLy_O6bX.mjs";
2
2
  export { type AuthConfigCreateParams, type AuthConfigCreateResponse, type AuthConfigDeleteParams, type AuthConfigDeleteResponse, type AuthConfigListParams, type AuthConfigListResponse, type AuthConfigRetrieveResponse, type AuthConfigUpdateParams, type AuthConfigUpdateResponse, type AuthConfigUpdateStatusParams, type AuthConfigUpdateStatusResponse, AuthConfigs };
@@ -1,3 +1,3 @@
1
- import { t as AuthConfigs } from "../auth-configs-DbxqGahP.mjs";
1
+ import { t as AuthConfigs } from "../auth-configs-DAG5mMeH.mjs";
2
2
 
3
3
  export { AuthConfigs };
@@ -1,2 +1,2 @@
1
- import { C as Session, S as Auth, w as SessionRetrieveInfoResponse } from "../session-configs-nA6TL_i4.mjs";
1
+ import { C as SessionRetrieveInfoResponse, S as Session, x as Auth } from "../session-configs-BLy_O6bX.mjs";
2
2
  export { Auth, Session, type SessionRetrieveInfoResponse };
@@ -1,5 +1,5 @@
1
- import { t as Session } from "../session-Dm8WtF4I.mjs";
2
- import { t as Auth } from "../auth-DkGiEaxg.mjs";
1
+ import { t as Session } from "../session-B-ifOjVv.mjs";
2
+ import { t as Auth } from "../auth-D-U9Aq8C.mjs";
3
3
  import "./auth/index.mjs";
4
4
 
5
5
  export { Auth, Session };
@@ -1,2 +1,2 @@
1
- import { Gt as CliCreateSessionResponse, Ht as CliCreateCodactFailureParams, Kt as CliGetSessionParams, Ut as CliCreateCodactFailureResponse, Vt as Cli, Wt as CliCreateSessionParams, qt as CliGetSessionResponse } from "../../session-configs-nA6TL_i4.mjs";
1
+ import { Bt as Cli, Gt as CliGetSessionParams, Ht as CliCreateCodactFailureResponse, Kt as CliGetSessionResponse, Ut as CliCreateSessionParams, Vt as CliCreateCodactFailureParams, Wt as CliCreateSessionResponse } from "../../session-configs-BLy_O6bX.mjs";
2
2
  export { Cli, CliCreateCodactFailureParams, CliCreateCodactFailureResponse, CliCreateSessionParams, CliCreateSessionResponse, CliGetSessionParams, CliGetSessionResponse };
@@ -1,3 +1,3 @@
1
- import { t as Cli } from "../../cli-K1MskpaR.mjs";
1
+ import { t as Cli } from "../../cli-zihiw3aI.mjs";
2
2
 
3
3
  export { Cli };
@@ -1,2 +1,2 @@
1
- import { Gt as CliCreateSessionResponse, Ht as CliCreateCodactFailureParams, Jt as Realtime, Kt as CliGetSessionParams, Ut as CliCreateCodactFailureResponse, Vt as Cli, Wt as CliCreateSessionParams, Xt as RealtimeAuthResponse, Yt as RealtimeAuthParams, Zt as RealtimeCredentialsResponse, qt as CliGetSessionResponse } from "../../session-configs-nA6TL_i4.mjs";
1
+ import { Bt as Cli, Gt as CliGetSessionParams, Ht as CliCreateCodactFailureResponse, Jt as RealtimeAuthParams, Kt as CliGetSessionResponse, Ut as CliCreateSessionParams, Vt as CliCreateCodactFailureParams, Wt as CliCreateSessionResponse, Xt as RealtimeCredentialsResponse, Yt as RealtimeAuthResponse, qt as Realtime } from "../../session-configs-BLy_O6bX.mjs";
2
2
  export { Cli, type CliCreateCodactFailureParams, type CliCreateCodactFailureResponse, type CliCreateSessionParams, type CliCreateSessionResponse, type CliGetSessionParams, type CliGetSessionResponse, Realtime, type RealtimeAuthParams, type RealtimeAuthResponse, type RealtimeCredentialsResponse };
@@ -1,4 +1,4 @@
1
- import { t as Realtime } from "../../realtime-6LigMh83.mjs";
2
- import { t as Cli } from "../../cli-K1MskpaR.mjs";
1
+ import { t as Realtime } from "../../realtime-F_sGuTd8.mjs";
2
+ import { t as Cli } from "../../cli-zihiw3aI.mjs";
3
3
 
4
4
  export { Cli, Realtime };