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

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 (178) hide show
  1. package/README.md +19 -6
  2. package/dist/{session-configs-BLy_O6bX.d.mts → api-key-revocation-DUHNHxSZ.d.mts} +177 -1205
  3. package/dist/effect.d.mts +3 -3
  4. package/dist/effect.mjs +4 -4
  5. package/dist/{generated-deprecated-inputs-Dy_lBver.mjs → environments-BGA2C5nZ.mjs} +18 -2
  6. package/dist/environments-xPjIJ-r7.d.mts +19 -0
  7. package/dist/{generated-operations-Dv7pAKDT.mjs → generated-operations-DhZryVXy.mjs} +1 -1
  8. package/dist/index.d.mts +3 -3
  9. package/dist/index.mjs +46 -71
  10. package/dist/resources/api-key-revocation.d.mts +2 -2
  11. package/dist/resources/api-key-revocation.mjs +13 -2
  12. package/dist/resources/auth/auth.d.mts +2 -2
  13. package/dist/resources/auth/auth.mjs +7 -2
  14. package/dist/resources/auth/session.d.mts +2 -2
  15. package/dist/resources/auth/session.mjs +10 -2
  16. package/dist/resources/auth-configs.d.mts +2 -2
  17. package/dist/resources/auth-configs.mjs +45 -2
  18. package/dist/resources/auth.d.mts +2 -2
  19. package/dist/resources/auth.mjs +1 -5
  20. package/dist/resources/cli/cli.d.mts +2 -2
  21. package/dist/resources/cli/cli.mjs +32 -2
  22. package/dist/resources/cli/realtime.d.mts +2 -2
  23. package/dist/resources/cli/realtime.mjs +19 -2
  24. package/dist/resources/cli.d.mts +2 -2
  25. package/dist/resources/cli.mjs +1 -5
  26. package/dist/resources/connected-accounts.d.mts +2 -2
  27. package/dist/resources/connected-accounts.mjs +70 -2
  28. package/dist/resources/custom.d.mts +2 -2
  29. package/dist/resources/custom.mjs +29 -2
  30. package/dist/resources/files.d.mts +2 -2
  31. package/dist/resources/files.mjs +22 -2
  32. package/dist/resources/keyring.d.mts +2 -2
  33. package/dist/resources/keyring.mjs +10 -2
  34. package/dist/resources/link.d.mts +2 -2
  35. package/dist/resources/link.mjs +13 -2
  36. package/dist/resources/logs/logs.d.mts +2 -2
  37. package/dist/resources/logs/logs.mjs +23 -2
  38. package/dist/resources/logs/tools.d.mts +2 -2
  39. package/dist/resources/logs/tools.mjs +23 -2
  40. package/dist/resources/logs/triggers.d.mts +2 -2
  41. package/dist/resources/logs/triggers.mjs +19 -2
  42. package/dist/resources/logs.d.mts +2 -2
  43. package/dist/resources/logs.mjs +1 -6
  44. package/dist/resources/mcp/custom.d.mts +2 -2
  45. package/dist/resources/mcp/custom.mjs +13 -2
  46. package/dist/resources/mcp/generate.d.mts +2 -2
  47. package/dist/resources/mcp/generate.mjs +13 -2
  48. package/dist/resources/mcp/mcp.d.mts +2 -2
  49. package/dist/resources/mcp/mcp.mjs +67 -2
  50. package/dist/resources/mcp.d.mts +2 -2
  51. package/dist/resources/mcp.mjs +1 -6
  52. package/dist/resources/org/clanker.d.mts +2 -2
  53. package/dist/resources/org/clanker.mjs +13 -2
  54. package/dist/resources/org/consumer/consumer.d.mts +2 -2
  55. package/dist/resources/org/consumer/consumer.mjs +21 -2
  56. package/dist/resources/org/consumer/project.d.mts +2 -2
  57. package/dist/resources/org/consumer/project.mjs +14 -2
  58. package/dist/resources/org/consumer.d.mts +2 -2
  59. package/dist/resources/org/consumer.mjs +1 -5
  60. package/dist/resources/org/org.d.mts +2 -2
  61. package/dist/resources/org/org.mjs +25 -2
  62. package/dist/resources/org/owner/owner.d.mts +2 -2
  63. package/dist/resources/org/owner/owner.mjs +7 -2
  64. package/dist/resources/org/owner/project.d.mts +2 -2
  65. package/dist/resources/org/owner/project.mjs +37 -2
  66. package/dist/resources/org/owner.d.mts +2 -2
  67. package/dist/resources/org/owner.mjs +1 -5
  68. package/dist/resources/org/project.d.mts +2 -2
  69. package/dist/resources/org/project.mjs +13 -2
  70. package/dist/resources/org/usage.d.mts +2 -2
  71. package/dist/resources/org/usage.mjs +22 -2
  72. package/dist/resources/org.d.mts +2 -2
  73. package/dist/resources/org.mjs +1 -9
  74. package/dist/resources/project/project.d.mts +2 -2
  75. package/dist/resources/project/project.mjs +7 -2
  76. package/dist/resources/project/usage.d.mts +2 -2
  77. package/dist/resources/project/usage.mjs +22 -2
  78. package/dist/resources/project.d.mts +2 -3
  79. package/dist/resources/project.mjs +1 -5
  80. package/dist/resources/session-configs.d.mts +2 -2
  81. package/dist/resources/session-configs.mjs +8 -12
  82. package/dist/resources/tool-router/session/files.d.mts +2 -2
  83. package/dist/resources/tool-router/session/files.mjs +40 -2
  84. package/dist/resources/tool-router/session/session.d.mts +2 -2
  85. package/dist/resources/tool-router/session/session.mjs +95 -2
  86. package/dist/resources/tool-router/session.d.mts +2 -2
  87. package/dist/resources/tool-router/session.mjs +1 -5
  88. package/dist/resources/tool-router/tool-router.d.mts +2 -2
  89. package/dist/resources/tool-router/tool-router.mjs +7 -2
  90. package/dist/resources/tool-router.d.mts +2 -2
  91. package/dist/resources/tool-router.mjs +1 -5
  92. package/dist/resources/toolkits.d.mts +2 -2
  93. package/dist/resources/toolkits.mjs +51 -2
  94. package/dist/resources/tools.d.mts +2 -2
  95. package/dist/resources/tools.mjs +56 -2
  96. package/dist/resources/trigger-instances/manage.d.mts +2 -2
  97. package/dist/resources/trigger-instances/manage.mjs +19 -2
  98. package/dist/resources/trigger-instances/trigger-instances.d.mts +2 -2
  99. package/dist/resources/trigger-instances/trigger-instances.mjs +24 -2
  100. package/dist/resources/trigger-instances.d.mts +2 -2
  101. package/dist/resources/trigger-instances.mjs +1 -5
  102. package/dist/resources/triggers-types.d.mts +2 -2
  103. package/dist/resources/triggers-types.mjs +26 -2
  104. package/dist/resources/webhook-endpoints.d.mts +2 -2
  105. package/dist/resources/webhook-endpoints.mjs +40 -2
  106. package/dist/resources/webhook-subscriptions.d.mts +2 -2
  107. package/dist/resources/webhook-subscriptions.mjs +45 -2
  108. package/package.json +2 -31
  109. package/dist/api-key-revocation-DMCgun-A.mjs +0 -25
  110. package/dist/auth-D-U9Aq8C.mjs +0 -17
  111. package/dist/auth-configs-DAG5mMeH.mjs +0 -55
  112. package/dist/clanker-Yomp86hJ.mjs +0 -24
  113. package/dist/cli-zihiw3aI.mjs +0 -44
  114. package/dist/config-BLBbhLe1.mjs +0 -10
  115. package/dist/config-DnyMhILW.d.mts +0 -9
  116. package/dist/connected-accounts-Bd4AbWoH.mjs +0 -83
  117. package/dist/consumer-Bk0cyIii.mjs +0 -33
  118. package/dist/custom-Ce8G2c11.mjs +0 -34
  119. package/dist/custom-DWT3cCog.mjs +0 -24
  120. package/dist/files-DRp_J4zH.mjs +0 -49
  121. package/dist/files-ZxEVlE_y.mjs +0 -31
  122. package/dist/generate-Du9XUrlx.mjs +0 -24
  123. package/dist/keyring-CgOIS5x7.mjs +0 -17
  124. package/dist/link-CW1ts4pm.mjs +0 -23
  125. package/dist/logs-DFdH5DoT.mjs +0 -37
  126. package/dist/manage-CeB03gO8.mjs +0 -28
  127. package/dist/mcp-DNRMWWum.mjs +0 -91
  128. package/dist/migration-CBhnoN-Y.mjs +0 -10
  129. package/dist/migration-CKGKuRO3.d.mts +0 -9
  130. package/dist/org-HuYaKgVf.mjs +0 -45
  131. package/dist/owner-I9fXmIO_.mjs +0 -17
  132. package/dist/project-CxQ2H8UB.mjs +0 -22
  133. package/dist/project-DcV01umC.mjs +0 -25
  134. package/dist/project-Dwblmpw8.mjs +0 -47
  135. package/dist/project-FuP5k9R1.mjs +0 -25
  136. package/dist/realtime-F_sGuTd8.mjs +0 -28
  137. package/dist/resources/auth/index.d.mts +0 -2
  138. package/dist/resources/auth/index.mjs +0 -4
  139. package/dist/resources/cli/index.d.mts +0 -2
  140. package/dist/resources/cli/index.mjs +0 -4
  141. package/dist/resources/index.d.mts +0 -3
  142. package/dist/resources/index.mjs +0 -16
  143. package/dist/resources/logs/index.d.mts +0 -2
  144. package/dist/resources/logs/index.mjs +0 -5
  145. package/dist/resources/mcp/index.d.mts +0 -2
  146. package/dist/resources/mcp/index.mjs +0 -5
  147. package/dist/resources/migration.d.mts +0 -2
  148. package/dist/resources/migration.mjs +0 -3
  149. package/dist/resources/org/consumer/index.d.mts +0 -2
  150. package/dist/resources/org/consumer/index.mjs +0 -4
  151. package/dist/resources/org/index.d.mts +0 -2
  152. package/dist/resources/org/index.mjs +0 -8
  153. package/dist/resources/org/owner/index.d.mts +0 -2
  154. package/dist/resources/org/owner/index.mjs +0 -4
  155. package/dist/resources/project/config.d.mts +0 -2
  156. package/dist/resources/project/config.mjs +0 -3
  157. package/dist/resources/project/index.d.mts +0 -3
  158. package/dist/resources/project/index.mjs +0 -4
  159. package/dist/resources/tool-router/index.d.mts +0 -2
  160. package/dist/resources/tool-router/index.mjs +0 -4
  161. package/dist/resources/tool-router/session/index.d.mts +0 -2
  162. package/dist/resources/tool-router/session/index.mjs +0 -4
  163. package/dist/resources/trigger-instances/index.d.mts +0 -2
  164. package/dist/resources/trigger-instances/index.mjs +0 -4
  165. package/dist/session-B-ifOjVv.mjs +0 -21
  166. package/dist/session-CpwJh7Hn.mjs +0 -110
  167. package/dist/tool-router-jNsaldKV.mjs +0 -14
  168. package/dist/toolkits-DK4My9FW.mjs +0 -62
  169. package/dist/tools-DNkimllW.mjs +0 -33
  170. package/dist/tools-Gun_2We6.mjs +0 -69
  171. package/dist/trigger-instances-vvKswQSW.mjs +0 -35
  172. package/dist/triggers-CfrGxKIo.mjs +0 -28
  173. package/dist/triggers-types-DYW2Mr8z.mjs +0 -34
  174. package/dist/usage-YIBYNpVF.mjs +0 -31
  175. package/dist/usage-vt9HmnNf.mjs +0 -31
  176. package/dist/version-DB98yI2B.d.mts +0 -4
  177. package/dist/webhook-endpoints-HqLteVW6.mjs +0 -50
  178. package/dist/webhook-subscriptions-CXhNXIOM.mjs +0 -55
@@ -1,3 +1,71 @@
1
- import { t as ConnectedAccounts } from "../connected-accounts-Bd4AbWoH.mjs";
1
+ import { d as path, n as generatedOperation, y as withOperation } from "../generated-operations-DhZryVXy.mjs";
2
2
 
3
- export { ConnectedAccounts };
3
+ //#region src/compat/resources/connected-accounts.ts
4
+ const OP_CREATE = generatedOperation("connectedAccounts.create");
5
+ const OP_RETRIEVE = generatedOperation("connectedAccounts.retrieve");
6
+ const OP_LIST = generatedOperation("connectedAccounts.list");
7
+ const OP_DELETE = generatedOperation("connectedAccounts.delete");
8
+ const OP_COMPLETE_AUTH = generatedOperation("connectedAccounts.completeAuth");
9
+ const OP_PATCH = generatedOperation("connectedAccounts.patch");
10
+ const OP_REFRESH = generatedOperation("connectedAccounts.refresh");
11
+ const OP_REVOKE = generatedOperation("connectedAccounts.revoke");
12
+ const OP_UPDATE_STATUS = generatedOperation("connectedAccounts.updateStatus");
13
+ /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
14
+ const makeConnectedAccounts = (client) => ({
15
+ create(body, options) {
16
+ return client.post("/api/v3.1/connected_accounts", withOperation(OP_CREATE, {
17
+ body,
18
+ ...options
19
+ }));
20
+ },
21
+ retrieve(nanoid, options) {
22
+ return client.get(path`/api/v3.1/connected_accounts/${nanoid}`, withOperation(OP_RETRIEVE, { ...options }));
23
+ },
24
+ list(query = {}, options) {
25
+ return client.get("/api/v3.1/connected_accounts", withOperation(OP_LIST, {
26
+ query,
27
+ ...options
28
+ }));
29
+ },
30
+ delete(nanoid, query = {}, options) {
31
+ return client.delete(path`/api/v3.1/connected_accounts/${nanoid}`, withOperation(OP_DELETE, {
32
+ query,
33
+ ...options
34
+ }));
35
+ },
36
+ completeAuth(body, options) {
37
+ return client.post("/api/v3.1/connected_accounts/complete_auth", withOperation(OP_COMPLETE_AUTH, {
38
+ body,
39
+ ...options
40
+ }));
41
+ },
42
+ patch(nanoid, body = {}, options) {
43
+ return client.patch(path`/api/v3.1/connected_accounts/${nanoid}`, withOperation(OP_PATCH, {
44
+ body,
45
+ ...options
46
+ }));
47
+ },
48
+ refresh(nanoid, params = {}, options) {
49
+ const { query_redirect_url, body_redirect_url, ...body } = params ?? {};
50
+ return client.post(path`/api/v3.1/connected_accounts/${nanoid}/refresh`, withOperation(OP_REFRESH, {
51
+ query: { redirect_url: query_redirect_url },
52
+ body: {
53
+ ...body,
54
+ redirect_url: body_redirect_url
55
+ },
56
+ ...options
57
+ }));
58
+ },
59
+ revoke(nanoid, options) {
60
+ return client.post(path`/api/v3.1/connected_accounts/${nanoid}/revoke`, withOperation(OP_REVOKE, { ...options }));
61
+ },
62
+ updateStatus(nanoID, body, options) {
63
+ return client.patch(path`/api/v3.1/connected_accounts/${nanoID}/status`, withOperation(OP_UPDATE_STATUS, {
64
+ body,
65
+ ...options
66
+ }));
67
+ }
68
+ });
69
+
70
+ //#endregion
71
+ export { makeConnectedAccounts };
@@ -1,2 +1,2 @@
1
- import { _ as CustomUpsertResponse, d as Custom, g as CustomUpsertParams, h as CustomSyncResponse, m as CustomSyncParams, p as CustomDeleteToolkitResponse } from "../session-configs-BLy_O6bX.mjs";
2
- export { Custom, type CustomDeleteToolkitResponse, type CustomSyncParams, type CustomSyncResponse, type CustomUpsertParams, type CustomUpsertResponse };
1
+ import { C as CustomUpsertResponse, S as CustomUpsertParams, _ as Custom, b as CustomSyncParams, v as CustomDeleteToolkitParams, w as makeCustom, x as CustomSyncResponse, y as CustomDeleteToolkitResponse } from "../api-key-revocation-DUHNHxSZ.mjs";
2
+ export { Custom, CustomDeleteToolkitParams, CustomDeleteToolkitResponse, CustomSyncParams, CustomSyncResponse, CustomUpsertParams, CustomUpsertResponse, makeCustom };
@@ -1,3 +1,30 @@
1
- import { t as Custom } from "../custom-Ce8G2c11.mjs";
1
+ import { d as path, n as generatedOperation, y as withOperation } from "../generated-operations-DhZryVXy.mjs";
2
2
 
3
- export { Custom };
3
+ //#region src/compat/resources/custom.ts
4
+ const OP_DELETE_TOOLKIT = generatedOperation("custom.deleteToolkit");
5
+ const OP_SYNC = generatedOperation("custom.sync");
6
+ const OP_UPSERT = generatedOperation("custom.upsert");
7
+ /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
8
+ const makeCustom = (client) => ({
9
+ deleteToolkit(slug, query = {}, options) {
10
+ return client.delete(path`/api/v3.1/custom/toolkits/${slug}`, withOperation(OP_DELETE_TOOLKIT, {
11
+ query,
12
+ ...options
13
+ }));
14
+ },
15
+ sync(body, options) {
16
+ return client.post("/api/v3.1/custom/toolkits/sync", withOperation(OP_SYNC, {
17
+ body,
18
+ ...options
19
+ }));
20
+ },
21
+ upsert(body, options) {
22
+ return client.post("/api/v3.1/custom/toolkits/upsert", withOperation(OP_UPSERT, {
23
+ body,
24
+ ...options
25
+ }));
26
+ }
27
+ });
28
+
29
+ //#endregion
30
+ export { makeCustom };
@@ -1,2 +1,2 @@
1
- import { Ar as Files, Dr as FileCreatePresignedURLResponse, Er as FileCreatePresignedURLParams, Or as FileListParams, kr as FileListResponse } from "../session-configs-BLy_O6bX.mjs";
2
- export { type FileCreatePresignedURLParams, type FileCreatePresignedURLResponse, type FileListParams, type FileListResponse, Files };
1
+ import { ai as FileCreatePresignedURLParams, ci as FileListResponse, li as Files, oi as FileCreatePresignedURLResponse, si as FileListParams, ui as makeFiles } from "../api-key-revocation-DUHNHxSZ.mjs";
2
+ export { FileCreatePresignedURLParams, FileCreatePresignedURLResponse, FileListParams, FileListResponse, Files, makeFiles };
@@ -1,3 +1,23 @@
1
- import { t as Files } from "../files-ZxEVlE_y.mjs";
1
+ import { n as generatedOperation, y as withOperation } from "../generated-operations-DhZryVXy.mjs";
2
2
 
3
- export { Files };
3
+ //#region src/compat/resources/files.ts
4
+ const OP_LIST = generatedOperation("files.list");
5
+ const OP_CREATE_PRESIGNED_URL = generatedOperation("files.createPresignedURL");
6
+ /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
7
+ const makeFiles = (client) => ({
8
+ list(query = {}, options) {
9
+ return client.get("/api/v3.1/files/list", withOperation(OP_LIST, {
10
+ query,
11
+ ...options
12
+ }));
13
+ },
14
+ createPresignedURL(body, options) {
15
+ return client.post("/api/v3.1/files/upload/request", withOperation(OP_CREATE_PRESIGNED_URL, {
16
+ body,
17
+ ...options
18
+ }));
19
+ }
20
+ });
21
+
22
+ //#endregion
23
+ export { makeFiles };
@@ -1,2 +1,2 @@
1
- import { l as Keyring, u as KeyringListTransferKeysResponse } from "../session-configs-BLy_O6bX.mjs";
2
- export { Keyring, type KeyringListTransferKeysResponse };
1
+ import { g as makeKeyring, h as KeyringListTransferKeysResponse, m as Keyring } from "../api-key-revocation-DUHNHxSZ.mjs";
2
+ export { Keyring, KeyringListTransferKeysResponse, makeKeyring };
@@ -1,3 +1,11 @@
1
- import { t as Keyring } from "../keyring-CgOIS5x7.mjs";
1
+ import { n as generatedOperation, y as withOperation } from "../generated-operations-DhZryVXy.mjs";
2
2
 
3
- export { Keyring };
3
+ //#region src/compat/resources/keyring.ts
4
+ const OP_LIST_TRANSFER_KEYS = generatedOperation("keyring.listTransferKeys");
5
+ /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
6
+ const makeKeyring = (client) => ({ listTransferKeys(options) {
7
+ return client.get("/api/v3.1/keyring/transfer_keys", withOperation(OP_LIST_TRANSFER_KEYS, { ...options }));
8
+ } });
9
+
10
+ //#endregion
11
+ export { makeKeyring };
@@ -1,2 +1,2 @@
1
- import { cr as LinkCreateResponse, or as Link, sr as LinkCreateParams } from "../session-configs-BLy_O6bX.mjs";
2
- export { Link, type LinkCreateParams, type LinkCreateResponse };
1
+ import { Br as makeLink, Lr as Link, Rr as LinkCreateParams, zr as LinkCreateResponse } from "../api-key-revocation-DUHNHxSZ.mjs";
2
+ export { Link, LinkCreateParams, LinkCreateResponse, makeLink };
@@ -1,3 +1,14 @@
1
- import { t as Link } from "../link-CW1ts4pm.mjs";
1
+ import { n as generatedOperation, y as withOperation } from "../generated-operations-DhZryVXy.mjs";
2
2
 
3
- export { Link };
3
+ //#region src/compat/resources/link.ts
4
+ const OP_CREATE = generatedOperation("link.create");
5
+ /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
6
+ const makeLink = (client) => ({ create(body, options) {
7
+ return client.post("/api/v3.1/connected_accounts/link", withOperation(OP_CREATE, {
8
+ body,
9
+ ...options
10
+ }));
11
+ } });
12
+
13
+ //#endregion
14
+ export { makeLink };
@@ -1,2 +1,2 @@
1
- import { At as Logs } from "../../session-configs-BLy_O6bX.mjs";
2
- export { Logs };
1
+ import { Gt as LogCreateToolExecutionParams, Jt as Logs, Kt as LogCreateToolExecutionResponse, Yt as makeLogs, qt as LogRetrieveToolExecutionResponse } from "../../api-key-revocation-DUHNHxSZ.mjs";
2
+ export { LogCreateToolExecutionParams, LogCreateToolExecutionResponse, LogRetrieveToolExecutionResponse, Logs, makeLogs };
@@ -1,3 +1,24 @@
1
- import { t as Logs } from "../../logs-DFdH5DoT.mjs";
1
+ import { d as path, n as generatedOperation, y as withOperation } from "../../generated-operations-DhZryVXy.mjs";
2
+ import { makeTriggers } from "./triggers.mjs";
3
+ import { makeTools } from "./tools.mjs";
2
4
 
3
- export { Logs };
5
+ //#region src/compat/resources/logs/logs.ts
6
+ const OP_CREATE_TOOL_EXECUTION = generatedOperation("logs.createToolExecution");
7
+ const OP_RETRIEVE_TOOL_EXECUTION = generatedOperation("logs.retrieveToolExecution");
8
+ /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
9
+ const makeLogs = (client) => ({
10
+ triggers: makeTriggers(client),
11
+ tools: makeTools(client),
12
+ createToolExecution(body = {}, options) {
13
+ return client.post("/api/v3.1/logs/tool_execution", withOperation(OP_CREATE_TOOL_EXECUTION, {
14
+ body,
15
+ ...options
16
+ }));
17
+ },
18
+ retrieveToolExecution(id, options) {
19
+ return client.get(path`/api/v3.1/logs/tool_execution/${id}`, withOperation(OP_RETRIEVE_TOOL_EXECUTION, { ...options }));
20
+ }
21
+ });
22
+
23
+ //#endregion
24
+ export { makeLogs };
@@ -1,2 +1,2 @@
1
- import { Ft as Tools, Mt as ToolListParams, Nt as ToolListResponse, Pt as ToolRetrieveResponse, jt as ToolListFieldsResponse } from "../../session-configs-BLy_O6bX.mjs";
2
- export { ToolListFieldsResponse, ToolListParams, ToolListResponse, ToolRetrieveResponse, Tools };
1
+ import { $t as ToolRetrieveResponse, Qt as ToolListResponse, Xt as ToolListFieldsResponse, Zt as ToolListParams, en as Tools, tn as makeTools } from "../../api-key-revocation-DUHNHxSZ.mjs";
2
+ export { ToolListFieldsResponse, ToolListParams, ToolListResponse, ToolRetrieveResponse, Tools, makeTools };
@@ -1,3 +1,24 @@
1
- import { t as Tools } from "../../tools-DNkimllW.mjs";
1
+ import { d as path, n as generatedOperation, y as withOperation } from "../../generated-operations-DhZryVXy.mjs";
2
2
 
3
- export { Tools };
3
+ //#region src/compat/resources/logs/tools.ts
4
+ const OP_RETRIEVE = generatedOperation("logs.tools.retrieve");
5
+ const OP_LIST = generatedOperation("logs.tools.list");
6
+ const OP_LIST_FIELDS = generatedOperation("logs.tools.listFields");
7
+ /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
8
+ const makeTools = (client) => ({
9
+ retrieve(id, options) {
10
+ return client.get(path`/api/v3.1/internal/action_execution/log/${id}`, withOperation(OP_RETRIEVE, { ...options }));
11
+ },
12
+ list(body, options) {
13
+ return client.post("/api/v3.1/internal/action_execution/logs", withOperation(OP_LIST, {
14
+ body,
15
+ ...options
16
+ }));
17
+ },
18
+ listFields(options) {
19
+ return client.get("/api/v3.1/internal/action_execution/fields", withOperation(OP_LIST_FIELDS, { ...options }));
20
+ }
21
+ });
22
+
23
+ //#endregion
24
+ export { makeTools };
@@ -1,2 +1,2 @@
1
- import { It as TriggerListParams, Lt as TriggerListResponse, Rt as TriggerRetrieveResponse, zt as Triggers } from "../../session-configs-BLy_O6bX.mjs";
2
- export { TriggerListParams, TriggerListResponse, TriggerRetrieveResponse, Triggers };
1
+ import { an as Triggers, in as TriggerRetrieveResponse, nn as TriggerListParams, on as makeTriggers, rn as TriggerListResponse } from "../../api-key-revocation-DUHNHxSZ.mjs";
2
+ export { TriggerListParams, TriggerListResponse, TriggerRetrieveResponse, Triggers, makeTriggers };
@@ -1,3 +1,20 @@
1
- import { t as Triggers } from "../../triggers-CfrGxKIo.mjs";
1
+ import { d as path, n as generatedOperation, y as withOperation } from "../../generated-operations-DhZryVXy.mjs";
2
2
 
3
- export { Triggers };
3
+ //#region src/compat/resources/logs/triggers.ts
4
+ const OP_RETRIEVE = generatedOperation("logs.triggers.retrieve");
5
+ const OP_LIST = generatedOperation("logs.triggers.list");
6
+ /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
7
+ const makeTriggers = (client) => ({
8
+ retrieve(id, options) {
9
+ return client.get(path`/api/v3.1/internal/trigger/log/${id}`, withOperation(OP_RETRIEVE, { ...options }));
10
+ },
11
+ list(body = {}, options) {
12
+ return client.post("/api/v3.1/internal/trigger/logs", withOperation(OP_LIST, {
13
+ body,
14
+ ...options
15
+ }));
16
+ }
17
+ });
18
+
19
+ //#endregion
20
+ export { makeTriggers };
@@ -1,2 +1,2 @@
1
- import { At as Logs, Dt as LogCreateToolExecutionParams, Ft as Tools, It as TriggerListParams, Lt as TriggerListResponse, Mt as ToolListParams, Nt as ToolListResponse, Ot as LogCreateToolExecutionResponse, Pt as ToolRetrieveResponse, Rt as TriggerRetrieveResponse, jt as ToolListFieldsResponse, kt as LogRetrieveToolExecutionResponse, zt as Triggers } from "../session-configs-BLy_O6bX.mjs";
2
- export { type LogCreateToolExecutionParams, type LogCreateToolExecutionResponse, type LogRetrieveToolExecutionResponse, Logs, type ToolListFieldsResponse, type ToolListParams, type ToolListResponse, type ToolRetrieveResponse, Tools, type TriggerListParams, type TriggerListResponse, type TriggerRetrieveResponse, Triggers };
1
+ import { $t as ToolRetrieveResponse, Gt as LogCreateToolExecutionParams, Jt as Logs, Kt as LogCreateToolExecutionResponse, Qt as ToolListResponse, Xt as ToolListFieldsResponse, Zt as ToolListParams, an as Triggers, en as Tools, in as TriggerRetrieveResponse, nn as TriggerListParams, qt as LogRetrieveToolExecutionResponse, rn as TriggerListResponse } from "../api-key-revocation-DUHNHxSZ.mjs";
2
+ export type { LogCreateToolExecutionParams, LogCreateToolExecutionResponse, LogRetrieveToolExecutionResponse, Logs, ToolListFieldsResponse, ToolListParams, ToolListResponse, ToolRetrieveResponse, Tools, TriggerListParams, TriggerListResponse, TriggerRetrieveResponse, Triggers };
@@ -1,6 +1 @@
1
- import { t as Triggers } from "../triggers-CfrGxKIo.mjs";
2
- import { t as Tools } from "../tools-DNkimllW.mjs";
3
- import { t as Logs } from "../logs-DFdH5DoT.mjs";
4
- import "./logs/index.mjs";
5
-
6
- export { Logs, Tools, Triggers };
1
+ export { };
@@ -1,2 +1,2 @@
1
- import { _n as Custom, vn as CustomCreateParams, yn as CustomCreateResponse } from "../../session-configs-BLy_O6bX.mjs";
2
- export { Custom, CustomCreateParams, CustomCreateResponse };
1
+ import { Gn as makeCustom, Hn as Custom, Un as CustomCreateParams, Wn as CustomCreateResponse } from "../../api-key-revocation-DUHNHxSZ.mjs";
2
+ export { Custom, CustomCreateParams, CustomCreateResponse, makeCustom };
@@ -1,3 +1,14 @@
1
- import { t as Custom } from "../../custom-DWT3cCog.mjs";
1
+ import { n as generatedOperation, y as withOperation } from "../../generated-operations-DhZryVXy.mjs";
2
2
 
3
- export { Custom };
3
+ //#region src/compat/resources/mcp/custom.ts
4
+ const OP_CREATE = generatedOperation("mcp.custom.create");
5
+ /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
6
+ const makeCustom = (client) => ({ create(body, options) {
7
+ return client.post("/api/v3.1/mcp/servers/custom", withOperation(OP_CREATE, {
8
+ body,
9
+ ...options
10
+ }));
11
+ } });
12
+
13
+ //#endregion
14
+ export { makeCustom };
@@ -1,2 +1,2 @@
1
- import { gn as GenerateURLResponse, hn as GenerateURLParams, mn as Generate } from "../../session-configs-BLy_O6bX.mjs";
2
- export { Generate, GenerateURLParams, GenerateURLResponse };
1
+ import { Bn as GenerateURLResponse, Rn as Generate, Vn as makeGenerate, zn as GenerateURLParams } from "../../api-key-revocation-DUHNHxSZ.mjs";
2
+ export { Generate, GenerateURLParams, GenerateURLResponse, makeGenerate };
@@ -1,3 +1,14 @@
1
- import { t as Generate } from "../../generate-Du9XUrlx.mjs";
1
+ import { n as generatedOperation, y as withOperation } from "../../generated-operations-DhZryVXy.mjs";
2
2
 
3
- export { Generate };
3
+ //#region src/compat/resources/mcp/generate.ts
4
+ const OP_URL = generatedOperation("mcp.generate.url");
5
+ /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
6
+ const makeGenerate = (client) => ({ url(body, options) {
7
+ return client.post("/api/v3.1/mcp/servers/generate", withOperation(OP_URL, {
8
+ body,
9
+ ...options
10
+ }));
11
+ } });
12
+
13
+ //#endregion
14
+ export { makeGenerate };
@@ -1,2 +1,2 @@
1
- import { $t as McpCreateInstanceResponse, Qt as McpCreateInstanceParams, Zt as Mcp, an as McpListInstancesParams, cn as McpListResponse, dn as McpRetrieveResponse, en as McpCreateParams, fn as McpUpdateParams, in as McpDeleteResponse, ln as McpRetrieveAppParams, nn as McpDeleteInstanceParams, on as McpListInstancesResponse, pn as McpUpdateResponse, rn as McpDeleteInstanceResponse, sn as McpListParams, tn as McpCreateResponse, un as McpRetrieveAppResponse } from "../../session-configs-BLy_O6bX.mjs";
2
- export { Mcp, McpCreateInstanceParams, McpCreateInstanceResponse, McpCreateParams, McpCreateResponse, McpDeleteInstanceParams, McpDeleteInstanceResponse, McpDeleteResponse, McpListInstancesParams, McpListInstancesResponse, McpListParams, McpListResponse, McpRetrieveAppParams, McpRetrieveAppResponse, McpRetrieveResponse, McpUpdateParams, McpUpdateResponse };
1
+ import { An as McpListParams, Cn as McpCreateParams, Dn as McpDeleteResponse, En as McpDeleteInstanceResponse, Fn as McpUpdateParams, In as McpUpdateResponse, Ln as makeMcp, Mn as McpRetrieveAppParams, Nn as McpRetrieveAppResponse, On as McpListInstancesParams, Pn as McpRetrieveResponse, Sn as McpCreateInstanceResponse, Tn as McpDeleteInstanceParams, bn as Mcp, jn as McpListResponse, kn as McpListInstancesResponse, wn as McpCreateResponse, xn as McpCreateInstanceParams } from "../../api-key-revocation-DUHNHxSZ.mjs";
2
+ export { Mcp, McpCreateInstanceParams, McpCreateInstanceResponse, McpCreateParams, McpCreateResponse, McpDeleteInstanceParams, McpDeleteInstanceResponse, McpDeleteResponse, McpListInstancesParams, McpListInstancesResponse, McpListParams, McpListResponse, McpRetrieveAppParams, McpRetrieveAppResponse, McpRetrieveResponse, McpUpdateParams, McpUpdateResponse, makeMcp };
@@ -1,3 +1,68 @@
1
- import { t as Mcp } from "../../mcp-DNRMWWum.mjs";
1
+ import { d as path, n as generatedOperation, y as withOperation } from "../../generated-operations-DhZryVXy.mjs";
2
+ import { makeCustom } from "./custom.mjs";
3
+ import { makeGenerate } from "./generate.mjs";
2
4
 
3
- export { Mcp };
5
+ //#region src/compat/resources/mcp/mcp.ts
6
+ const OP_CREATE = generatedOperation("mcp.create");
7
+ const OP_RETRIEVE = generatedOperation("mcp.retrieve");
8
+ const OP_UPDATE = generatedOperation("mcp.update");
9
+ const OP_LIST = generatedOperation("mcp.list");
10
+ const OP_DELETE = generatedOperation("mcp.delete");
11
+ const OP_CREATE_INSTANCE = generatedOperation("mcp.createInstance");
12
+ const OP_DELETE_INSTANCE = generatedOperation("mcp.deleteInstance");
13
+ const OP_LIST_INSTANCES = generatedOperation("mcp.listInstances");
14
+ const OP_RETRIEVE_APP = generatedOperation("mcp.retrieveApp");
15
+ /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
16
+ const makeMcp = (client) => ({
17
+ custom: makeCustom(client),
18
+ generate: makeGenerate(client),
19
+ create(body, options) {
20
+ return client.post("/api/v3.1/mcp/servers", withOperation(OP_CREATE, {
21
+ body,
22
+ ...options
23
+ }));
24
+ },
25
+ retrieve(id, options) {
26
+ return client.get(path`/api/v3.1/mcp/${id}`, withOperation(OP_RETRIEVE, { ...options }));
27
+ },
28
+ update(id, body = {}, options) {
29
+ return client.patch(path`/api/v3.1/mcp/${id}`, withOperation(OP_UPDATE, {
30
+ body,
31
+ ...options
32
+ }));
33
+ },
34
+ list(query = {}, options) {
35
+ return client.get("/api/v3.1/mcp/servers", withOperation(OP_LIST, {
36
+ query,
37
+ ...options
38
+ }));
39
+ },
40
+ delete(id, options) {
41
+ return client.delete(path`/api/v3.1/mcp/${id}`, withOperation(OP_DELETE, { ...options }));
42
+ },
43
+ createInstance(serverID, body, options) {
44
+ return client.post(path`/api/v3.1/mcp/servers/${serverID}/instances`, withOperation(OP_CREATE_INSTANCE, {
45
+ body,
46
+ ...options
47
+ }));
48
+ },
49
+ deleteInstance(instanceID, params, options) {
50
+ const { serverId } = params;
51
+ return client.delete(path`/api/v3.1/mcp/servers/${serverId}/instances/${instanceID}`, withOperation(OP_DELETE_INSTANCE, { ...options }));
52
+ },
53
+ listInstances(serverID, query = {}, options) {
54
+ return client.get(path`/api/v3.1/mcp/servers/${serverID}/instances`, withOperation(OP_LIST_INSTANCES, {
55
+ query,
56
+ ...options
57
+ }));
58
+ },
59
+ retrieveApp(appKey, query = {}, options) {
60
+ return client.get(path`/api/v3.1/mcp/app/${appKey}`, withOperation(OP_RETRIEVE_APP, {
61
+ query,
62
+ ...options
63
+ }));
64
+ }
65
+ });
66
+
67
+ //#endregion
68
+ export { makeMcp };
@@ -1,2 +1,2 @@
1
- import { $t as McpCreateInstanceResponse, Qt as McpCreateInstanceParams, Zt as Mcp, _n as Custom, an as McpListInstancesParams, cn as McpListResponse, dn as McpRetrieveResponse, en as McpCreateParams, fn as McpUpdateParams, gn as GenerateURLResponse, hn as GenerateURLParams, in as McpDeleteResponse, ln as McpRetrieveAppParams, mn as Generate, nn as McpDeleteInstanceParams, on as McpListInstancesResponse, pn as McpUpdateResponse, rn as McpDeleteInstanceResponse, sn as McpListParams, tn as McpCreateResponse, un as McpRetrieveAppResponse, vn as CustomCreateParams, yn as CustomCreateResponse } from "../session-configs-BLy_O6bX.mjs";
2
- export { Custom, type CustomCreateParams, type CustomCreateResponse, Generate, type GenerateURLParams, type GenerateURLResponse, Mcp, type McpCreateInstanceParams, type McpCreateInstanceResponse, type McpCreateParams, type McpCreateResponse, type McpDeleteInstanceParams, type McpDeleteInstanceResponse, type McpDeleteResponse, type McpListInstancesParams, type McpListInstancesResponse, type McpListParams, type McpListResponse, type McpRetrieveAppParams, type McpRetrieveAppResponse, type McpRetrieveResponse, type McpUpdateParams, type McpUpdateResponse };
1
+ import { An as McpListParams, Bn as GenerateURLResponse, Cn as McpCreateParams, Dn as McpDeleteResponse, En as McpDeleteInstanceResponse, Fn as McpUpdateParams, Hn as Custom, In as McpUpdateResponse, Mn as McpRetrieveAppParams, Nn as McpRetrieveAppResponse, On as McpListInstancesParams, Pn as McpRetrieveResponse, Rn as Generate, Sn as McpCreateInstanceResponse, Tn as McpDeleteInstanceParams, Un as CustomCreateParams, Wn as CustomCreateResponse, bn as Mcp, jn as McpListResponse, kn as McpListInstancesResponse, wn as McpCreateResponse, xn as McpCreateInstanceParams, zn as GenerateURLParams } from "../api-key-revocation-DUHNHxSZ.mjs";
2
+ export type { Custom, CustomCreateParams, CustomCreateResponse, Generate, GenerateURLParams, GenerateURLResponse, Mcp, McpCreateInstanceParams, McpCreateInstanceResponse, McpCreateParams, McpCreateResponse, McpDeleteInstanceParams, McpDeleteInstanceResponse, McpDeleteResponse, McpListInstancesParams, McpListInstancesResponse, McpListParams, McpListResponse, McpRetrieveAppParams, McpRetrieveAppResponse, McpRetrieveResponse, McpUpdateParams, McpUpdateResponse };
@@ -1,6 +1 @@
1
- import { t as Custom } from "../custom-DWT3cCog.mjs";
2
- import { t as Generate } from "../generate-Du9XUrlx.mjs";
3
- import { t as Mcp } from "../mcp-DNRMWWum.mjs";
4
- import "./mcp/index.mjs";
5
-
6
- export { Custom, Generate, Mcp };
1
+ export { };
@@ -1,2 +1,2 @@
1
- import { D as Clanker, O as ClankerCreateClaimParams, k as ClankerCreateClaimResponse } from "../../session-configs-BLy_O6bX.mjs";
2
- export { Clanker, type ClankerCreateClaimParams, type ClankerCreateClaimResponse };
1
+ import { F as ClankerCreateClaimParams, I as ClankerCreateClaimResponse, L as makeClanker, P as Clanker } from "../../api-key-revocation-DUHNHxSZ.mjs";
2
+ export { Clanker, ClankerCreateClaimParams, ClankerCreateClaimResponse, makeClanker };
@@ -1,3 +1,14 @@
1
- import { t as Clanker } from "../../clanker-Yomp86hJ.mjs";
1
+ import { n as generatedOperation, y as withOperation } from "../../generated-operations-DhZryVXy.mjs";
2
2
 
3
- export { Clanker };
3
+ //#region src/compat/resources/org/clanker.ts
4
+ const OP_CREATE_CLAIM = generatedOperation("org.clanker.createClaim");
5
+ /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
6
+ const makeClanker = (client) => ({ createClaim(body, options) {
7
+ return client.post("/api/v3.1/org/clanker/create_claim", withOperation(OP_CREATE_CLAIM, {
8
+ body,
9
+ ...options
10
+ }));
11
+ } });
12
+
13
+ //#endregion
14
+ export { makeClanker };
@@ -1,2 +1,2 @@
1
- import { B as ConsumerListConnectedToolkitsResponse, R as Consumer, z as ConsumerListConnectedToolkitsParams } from "../../../session-configs-BLy_O6bX.mjs";
2
- export { Consumer, type ConsumerListConnectedToolkitsParams, type ConsumerListConnectedToolkitsResponse };
1
+ import { J as Consumer, X as ConsumerListConnectedToolkitsResponse, Y as ConsumerListConnectedToolkitsParams, Z as makeConsumer } from "../../../api-key-revocation-DUHNHxSZ.mjs";
2
+ export { Consumer, ConsumerListConnectedToolkitsParams, ConsumerListConnectedToolkitsResponse, makeConsumer };
@@ -1,3 +1,22 @@
1
- import { t as Consumer } from "../../../consumer-Bk0cyIii.mjs";
1
+ import { n as generatedOperation, y as withOperation } from "../../../generated-operations-DhZryVXy.mjs";
2
+ import { makeProject } from "./project.mjs";
2
3
 
3
- export { Consumer };
4
+ //#region src/compat/resources/org/consumer/consumer.ts
5
+ const OP_LIST_CONNECTED_TOOLKITS = generatedOperation("org.consumer.listConnectedToolkits");
6
+ /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
7
+ const makeConsumer = (client) => ({
8
+ project: makeProject(client),
9
+ listConnectedToolkits(params, options) {
10
+ const { "x-user-api-key": xUserApiKey, "x-org-id": xOrgId, ...query } = params;
11
+ return client.get("/api/v3.1/org/consumer/connected_toolkits", withOperation(OP_LIST_CONNECTED_TOOLKITS, {
12
+ query,
13
+ ...options
14
+ }, {
15
+ "x-user-api-key": xUserApiKey,
16
+ "x-org-id": xOrgId
17
+ }));
18
+ }
19
+ });
20
+
21
+ //#endregion
22
+ export { makeConsumer };
@@ -1,2 +1,2 @@
1
- import { H as ProjectResolveParams, U as ProjectResolveResponse, V as Project } from "../../../session-configs-BLy_O6bX.mjs";
2
- export { Project, type ProjectResolveParams, type ProjectResolveResponse };
1
+ import { $ as ProjectResolveParams, Q as Project, et as ProjectResolveResponse, tt as makeProject } from "../../../api-key-revocation-DUHNHxSZ.mjs";
2
+ export { Project, ProjectResolveParams, ProjectResolveResponse, makeProject };
@@ -1,3 +1,15 @@
1
- import { t as Project } from "../../../project-DcV01umC.mjs";
1
+ import { n as generatedOperation, y as withOperation } from "../../../generated-operations-DhZryVXy.mjs";
2
2
 
3
- export { Project };
3
+ //#region src/compat/resources/org/consumer/project.ts
4
+ const OP_RESOLVE = generatedOperation("org.consumer.project.resolve");
5
+ /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
6
+ const makeProject = (client) => ({ resolve(params, options) {
7
+ const { "x-user-api-key": xUserApiKey, "x-org-id": xOrgId } = params;
8
+ return client.post("/api/v3.1/org/consumer/project/resolve", withOperation(OP_RESOLVE, { ...options }, {
9
+ "x-user-api-key": xUserApiKey,
10
+ "x-org-id": xOrgId
11
+ }));
12
+ } });
13
+
14
+ //#endregion
15
+ export { makeProject };
@@ -1,2 +1,2 @@
1
- import { B as ConsumerListConnectedToolkitsResponse, H as ProjectResolveParams, R as Consumer, U as ProjectResolveResponse, V as Project, z as ConsumerListConnectedToolkitsParams } from "../../session-configs-BLy_O6bX.mjs";
2
- export { Consumer, type ConsumerListConnectedToolkitsParams, type ConsumerListConnectedToolkitsResponse, Project, type ProjectResolveParams, type ProjectResolveResponse };
1
+ import { $ as ProjectResolveParams, J as Consumer, Q as Project, X as ConsumerListConnectedToolkitsResponse, Y as ConsumerListConnectedToolkitsParams, et as ProjectResolveResponse } from "../../api-key-revocation-DUHNHxSZ.mjs";
2
+ export type { Consumer, ConsumerListConnectedToolkitsParams, ConsumerListConnectedToolkitsResponse, Project, ProjectResolveParams, ProjectResolveResponse };
@@ -1,5 +1 @@
1
- import { t as Project } from "../../project-DcV01umC.mjs";
2
- import { t as Consumer } from "../../consumer-Bk0cyIii.mjs";
3
- import "./consumer/index.mjs";
4
-
5
- export { Consumer, Project };
1
+ export { };
@@ -1,2 +1,2 @@
1
- import { E as OrgListResponse, T as OrgListParams, w as Org } from "../../session-configs-BLy_O6bX.mjs";
2
- export { Org, type OrgListParams, type OrgListResponse };
1
+ import { A as Org, M as OrgListResponse, N as makeOrg, j as OrgListParams } from "../../api-key-revocation-DUHNHxSZ.mjs";
2
+ export { Org, OrgListParams, OrgListResponse, makeOrg };
@@ -1,3 +1,26 @@
1
- import { t as Org } from "../../org-HuYaKgVf.mjs";
1
+ import { n as generatedOperation, y as withOperation } from "../../generated-operations-DhZryVXy.mjs";
2
+ import { makeClanker } from "./clanker.mjs";
3
+ import { makeConsumer } from "./consumer/consumer.mjs";
4
+ import { makeOwner } from "./owner/owner.mjs";
5
+ import { makeProject } from "./project.mjs";
6
+ import { makeUsage } from "./usage.mjs";
2
7
 
3
- export { Org };
8
+ //#region src/compat/resources/org/org.ts
9
+ const OP_LIST = generatedOperation("org.list");
10
+ /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
11
+ const makeOrg = (client) => ({
12
+ owner: makeOwner(client),
13
+ consumer: makeConsumer(client),
14
+ project: makeProject(client),
15
+ usage: makeUsage(client),
16
+ clanker: makeClanker(client),
17
+ list(query = {}, options) {
18
+ return client.get("/api/v3.1/org/list", withOperation(OP_LIST, {
19
+ query,
20
+ ...options
21
+ }));
22
+ }
23
+ });
24
+
25
+ //#endregion
26
+ export { makeOrg };
@@ -1,2 +1,2 @@
1
- import { W as Owner } from "../../../session-configs-BLy_O6bX.mjs";
2
- export { Owner };
1
+ import { nt as Owner, rt as makeOwner } from "../../../api-key-revocation-DUHNHxSZ.mjs";
2
+ export { Owner, makeOwner };
@@ -1,3 +1,8 @@
1
- import { t as Owner } from "../../../owner-I9fXmIO_.mjs";
1
+ import { makeProject } from "./project.mjs";
2
2
 
3
- export { Owner };
3
+ //#region src/compat/resources/org/owner/owner.ts
4
+ /** @internal Builds the resource over a client; `new Composio(...)` calls it. */
5
+ const makeOwner = (client) => ({ project: makeProject(client) });
6
+
7
+ //#endregion
8
+ export { makeOwner };