@composio/client 0.1.0-alpha.1 → 0.1.0-alpha.11

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 (476) hide show
  1. package/CHANGELOG.md +157 -0
  2. package/LICENSE +1 -1
  3. package/README.md +31 -31
  4. package/api-promise.js +2 -15
  5. package/api-promise.js.map +1 -1
  6. package/client.d.mts +32 -29
  7. package/client.d.mts.map +1 -1
  8. package/client.d.ts +32 -29
  9. package/client.d.ts.map +1 -1
  10. package/client.js +95 -113
  11. package/client.js.map +1 -1
  12. package/client.mjs +88 -83
  13. package/client.mjs.map +1 -1
  14. package/core/api-promise.d.mts +2 -3
  15. package/core/api-promise.d.mts.map +1 -1
  16. package/core/api-promise.d.ts +2 -3
  17. package/core/api-promise.d.ts.map +1 -1
  18. package/core/api-promise.js +4 -14
  19. package/core/api-promise.js.map +1 -1
  20. package/core/api-promise.mjs +1 -11
  21. package/core/api-promise.mjs.map +1 -1
  22. package/core/error.d.mts +2 -3
  23. package/core/error.d.mts.map +1 -1
  24. package/core/error.d.ts +2 -3
  25. package/core/error.d.ts.map +1 -1
  26. package/core/error.js +4 -4
  27. package/core/error.js.map +1 -1
  28. package/core/error.mjs +2 -2
  29. package/core/error.mjs.map +1 -1
  30. package/core/resource.d.mts +3 -3
  31. package/core/resource.d.mts.map +1 -1
  32. package/core/resource.d.ts +3 -3
  33. package/core/resource.d.ts.map +1 -1
  34. package/core/resource.js.map +1 -1
  35. package/core/resource.mjs.map +1 -1
  36. package/error.js +2 -15
  37. package/error.js.map +1 -1
  38. package/index.d.mts +3 -3
  39. package/index.d.mts.map +1 -1
  40. package/index.d.ts +3 -3
  41. package/index.d.ts.map +1 -1
  42. package/index.js +4 -4
  43. package/index.js.map +1 -1
  44. package/index.mjs +3 -3
  45. package/index.mjs.map +1 -1
  46. package/internal/builtin-types.d.mts +0 -2
  47. package/internal/builtin-types.d.mts.map +1 -1
  48. package/internal/builtin-types.d.ts +0 -2
  49. package/internal/builtin-types.d.ts.map +1 -1
  50. package/internal/detect-platform.js.map +1 -1
  51. package/internal/detect-platform.mjs.map +1 -1
  52. package/internal/errors.d.mts.map +1 -1
  53. package/internal/errors.d.ts.map +1 -1
  54. package/internal/errors.js +2 -2
  55. package/internal/errors.js.map +1 -1
  56. package/internal/errors.mjs.map +1 -1
  57. package/internal/headers.d.mts +1 -2
  58. package/internal/headers.d.mts.map +1 -1
  59. package/internal/headers.d.ts +1 -2
  60. package/internal/headers.d.ts.map +1 -1
  61. package/internal/headers.js +3 -1
  62. package/internal/headers.js.map +1 -1
  63. package/internal/headers.mjs +3 -1
  64. package/internal/headers.mjs.map +1 -1
  65. package/internal/parse.d.mts +2 -3
  66. package/internal/parse.d.mts.map +1 -1
  67. package/internal/parse.d.ts +2 -3
  68. package/internal/parse.d.ts.map +1 -1
  69. package/internal/parse.js +1 -2
  70. package/internal/parse.js.map +1 -1
  71. package/internal/parse.mjs.map +1 -1
  72. package/internal/qs/formats.d.mts +6 -0
  73. package/internal/qs/formats.d.mts.map +1 -0
  74. package/internal/qs/formats.d.ts +6 -0
  75. package/internal/qs/formats.d.ts.map +1 -0
  76. package/internal/qs/formats.js +11 -0
  77. package/internal/qs/formats.js.map +1 -0
  78. package/internal/qs/formats.mjs +8 -0
  79. package/internal/qs/formats.mjs.map +1 -0
  80. package/internal/qs/index.d.mts +10 -0
  81. package/internal/qs/index.d.mts.map +1 -0
  82. package/internal/qs/index.d.ts +10 -0
  83. package/internal/qs/index.d.ts.map +1 -0
  84. package/internal/qs/index.js +14 -0
  85. package/internal/qs/index.js.map +1 -0
  86. package/internal/qs/index.mjs +10 -0
  87. package/internal/qs/index.mjs.map +1 -0
  88. package/internal/qs/stringify.d.mts +3 -0
  89. package/internal/qs/stringify.d.mts.map +1 -0
  90. package/internal/qs/stringify.d.ts +3 -0
  91. package/internal/qs/stringify.d.ts.map +1 -0
  92. package/internal/qs/stringify.js +279 -0
  93. package/internal/qs/stringify.js.map +1 -0
  94. package/internal/qs/stringify.mjs +276 -0
  95. package/internal/qs/stringify.mjs.map +1 -0
  96. package/internal/qs/types.d.mts +57 -0
  97. package/internal/qs/types.d.mts.map +1 -0
  98. package/internal/qs/types.d.ts +57 -0
  99. package/internal/qs/types.d.ts.map +1 -0
  100. package/internal/qs/types.js +3 -0
  101. package/internal/qs/types.js.map +1 -0
  102. package/internal/qs/types.mjs +2 -0
  103. package/internal/qs/types.mjs.map +1 -0
  104. package/internal/qs/utils.d.mts +14 -0
  105. package/internal/qs/utils.d.mts.map +1 -0
  106. package/internal/qs/utils.d.ts +14 -0
  107. package/internal/qs/utils.d.ts.map +1 -0
  108. package/internal/qs/utils.js +229 -0
  109. package/internal/qs/utils.js.map +1 -0
  110. package/internal/qs/utils.mjs +217 -0
  111. package/internal/qs/utils.mjs.map +1 -0
  112. package/internal/request-options.d.mts +0 -1
  113. package/internal/request-options.d.mts.map +1 -1
  114. package/internal/request-options.d.ts +0 -1
  115. package/internal/request-options.d.ts.map +1 -1
  116. package/internal/shims.js +6 -7
  117. package/internal/shims.js.map +1 -1
  118. package/internal/shims.mjs +1 -1
  119. package/internal/shims.mjs.map +1 -1
  120. package/internal/to-file.d.mts +0 -1
  121. package/internal/to-file.d.mts.map +1 -1
  122. package/internal/to-file.d.ts +0 -1
  123. package/internal/to-file.d.ts.map +1 -1
  124. package/internal/to-file.js +4 -4
  125. package/internal/to-file.js.map +1 -1
  126. package/internal/to-file.mjs +3 -2
  127. package/internal/to-file.mjs.map +1 -1
  128. package/internal/tslib.js +81 -0
  129. package/internal/tslib.mjs +17 -0
  130. package/internal/types.d.mts +0 -1
  131. package/internal/types.d.mts.map +1 -1
  132. package/internal/types.d.ts +0 -1
  133. package/internal/types.d.ts.map +1 -1
  134. package/internal/uploads.d.mts +5 -7
  135. package/internal/uploads.d.mts.map +1 -1
  136. package/internal/uploads.d.ts +5 -7
  137. package/internal/uploads.d.ts.map +1 -1
  138. package/internal/uploads.js +16 -6
  139. package/internal/uploads.js.map +1 -1
  140. package/internal/uploads.mjs +12 -3
  141. package/internal/uploads.mjs.map +1 -1
  142. package/internal/utils/base64.d.mts.map +1 -1
  143. package/internal/utils/base64.d.ts.map +1 -1
  144. package/internal/utils/base64.js +14 -9
  145. package/internal/utils/base64.js.map +1 -1
  146. package/internal/utils/base64.mjs +15 -10
  147. package/internal/utils/base64.mjs.map +1 -1
  148. package/internal/utils/bytes.d.mts +4 -0
  149. package/internal/utils/bytes.d.mts.map +1 -0
  150. package/internal/utils/bytes.d.ts +4 -0
  151. package/internal/utils/bytes.d.ts.map +1 -0
  152. package/internal/utils/bytes.js +31 -0
  153. package/internal/utils/bytes.js.map +1 -0
  154. package/internal/utils/bytes.mjs +26 -0
  155. package/internal/utils/bytes.mjs.map +1 -0
  156. package/internal/utils/env.d.mts.map +1 -1
  157. package/internal/utils/env.d.ts.map +1 -1
  158. package/internal/utils/env.js.map +1 -1
  159. package/internal/utils/env.mjs.map +1 -1
  160. package/internal/utils/log.d.mts +3 -4
  161. package/internal/utils/log.d.mts.map +1 -1
  162. package/internal/utils/log.d.ts +3 -4
  163. package/internal/utils/log.d.ts.map +1 -1
  164. package/internal/utils/log.js +2 -2
  165. package/internal/utils/log.js.map +1 -1
  166. package/internal/utils/log.mjs.map +1 -1
  167. package/internal/utils/path.d.mts.map +1 -1
  168. package/internal/utils/path.d.ts.map +1 -1
  169. package/internal/utils/path.js +3 -3
  170. package/internal/utils/path.js.map +1 -1
  171. package/internal/utils/path.mjs +2 -2
  172. package/internal/utils/path.mjs.map +1 -1
  173. package/internal/utils/sleep.d.mts.map +1 -1
  174. package/internal/utils/sleep.d.ts.map +1 -1
  175. package/internal/utils/uuid.d.mts +1 -1
  176. package/internal/utils/uuid.d.mts.map +1 -1
  177. package/internal/utils/uuid.d.ts +1 -1
  178. package/internal/utils/uuid.d.ts.map +1 -1
  179. package/internal/utils/uuid.js +1 -2
  180. package/internal/utils/uuid.js.map +1 -1
  181. package/internal/utils/uuid.mjs +1 -2
  182. package/internal/utils/uuid.mjs.map +1 -1
  183. package/internal/utils/values.d.mts.map +1 -1
  184. package/internal/utils/values.d.ts.map +1 -1
  185. package/internal/utils/values.js +10 -10
  186. package/internal/utils/values.js.map +1 -1
  187. package/internal/utils/values.mjs +6 -6
  188. package/internal/utils/values.mjs.map +1 -1
  189. package/internal/utils.js +7 -20
  190. package/internal/utils.js.map +1 -1
  191. package/package.json +5 -9
  192. package/resource.js +2 -15
  193. package/resource.js.map +1 -1
  194. package/resources/auth-configs.d.mts +232 -41
  195. package/resources/auth-configs.d.mts.map +1 -1
  196. package/resources/auth-configs.d.ts +232 -41
  197. package/resources/auth-configs.d.ts.map +1 -1
  198. package/resources/auth-configs.js +64 -0
  199. package/resources/auth-configs.js.map +1 -1
  200. package/resources/auth-configs.mjs +64 -0
  201. package/resources/auth-configs.mjs.map +1 -1
  202. package/resources/connected-accounts.d.mts +176 -216
  203. package/resources/connected-accounts.d.mts.map +1 -1
  204. package/resources/connected-accounts.d.ts +176 -216
  205. package/resources/connected-accounts.d.ts.map +1 -1
  206. package/resources/connected-accounts.js +70 -0
  207. package/resources/connected-accounts.js.map +1 -1
  208. package/resources/connected-accounts.mjs +70 -0
  209. package/resources/connected-accounts.mjs.map +1 -1
  210. package/resources/files.d.mts +159 -0
  211. package/resources/files.d.mts.map +1 -0
  212. package/resources/files.d.ts +159 -0
  213. package/resources/files.d.ts.map +1 -0
  214. package/resources/files.js +39 -0
  215. package/resources/files.js.map +1 -0
  216. package/resources/files.mjs +35 -0
  217. package/resources/files.mjs.map +1 -0
  218. package/resources/index.d.mts +5 -4
  219. package/resources/index.d.mts.map +1 -1
  220. package/resources/index.d.ts +5 -4
  221. package/resources/index.d.ts.map +1 -1
  222. package/resources/index.js +7 -5
  223. package/resources/index.js.map +1 -1
  224. package/resources/index.mjs +3 -2
  225. package/resources/index.mjs.map +1 -1
  226. package/resources/mcp/command.d.mts +4 -0
  227. package/resources/mcp/command.d.mts.map +1 -0
  228. package/resources/mcp/command.d.ts +4 -0
  229. package/resources/mcp/command.d.ts.map +1 -0
  230. package/resources/mcp/command.js +9 -0
  231. package/resources/mcp/command.js.map +1 -0
  232. package/resources/mcp/command.mjs +5 -0
  233. package/resources/mcp/command.mjs.map +1 -0
  234. package/resources/mcp/index.d.mts +3 -0
  235. package/resources/mcp/index.d.mts.map +1 -0
  236. package/resources/mcp/index.d.ts +3 -0
  237. package/resources/mcp/index.d.ts.map +1 -0
  238. package/resources/mcp/index.js +9 -0
  239. package/resources/mcp/index.js.map +1 -0
  240. package/resources/mcp/index.mjs +4 -0
  241. package/resources/mcp/index.mjs.map +1 -0
  242. package/resources/mcp/mcp.d.mts +411 -0
  243. package/resources/mcp/mcp.d.mts.map +1 -0
  244. package/resources/mcp/mcp.d.ts +411 -0
  245. package/resources/mcp/mcp.d.ts.map +1 -0
  246. package/resources/mcp/mcp.js +101 -0
  247. package/resources/mcp/mcp.js.map +1 -0
  248. package/resources/mcp/mcp.mjs +96 -0
  249. package/resources/mcp/mcp.mjs.map +1 -0
  250. package/resources/mcp.d.mts +2 -0
  251. package/resources/mcp.d.mts.map +1 -0
  252. package/resources/mcp.d.ts +2 -0
  253. package/resources/mcp.d.ts.map +1 -0
  254. package/resources/mcp.js +6 -0
  255. package/resources/mcp.js.map +1 -0
  256. package/resources/mcp.mjs +3 -0
  257. package/resources/mcp.mjs.map +1 -0
  258. package/resources/migration.d.mts +32 -0
  259. package/resources/migration.d.mts.map +1 -0
  260. package/resources/migration.d.ts +32 -0
  261. package/resources/migration.d.ts.map +1 -0
  262. package/resources/migration.js +17 -0
  263. package/resources/migration.js.map +1 -0
  264. package/resources/migration.mjs +13 -0
  265. package/resources/migration.mjs.map +1 -0
  266. package/resources/org/api-key.d.mts +28 -0
  267. package/resources/org/api-key.d.mts.map +1 -1
  268. package/resources/org/api-key.d.ts +28 -0
  269. package/resources/org/api-key.d.ts.map +1 -1
  270. package/resources/org/api-key.js +20 -0
  271. package/resources/org/api-key.js.map +1 -1
  272. package/resources/org/api-key.mjs +20 -0
  273. package/resources/org/api-key.mjs.map +1 -1
  274. package/resources/org/org.js +3 -25
  275. package/resources/org/org.js.map +1 -1
  276. package/resources/org/project/api-keys.d.mts +97 -20
  277. package/resources/org/project/api-keys.d.mts.map +1 -1
  278. package/resources/org/project/api-keys.d.ts +97 -20
  279. package/resources/org/project/api-keys.d.ts.map +1 -1
  280. package/resources/org/project/api-keys.js +57 -0
  281. package/resources/org/project/api-keys.js.map +1 -1
  282. package/resources/org/project/api-keys.mjs +57 -0
  283. package/resources/org/project/api-keys.mjs.map +1 -1
  284. package/resources/org/project/project.d.mts +182 -7
  285. package/resources/org/project/project.d.mts.map +1 -1
  286. package/resources/org/project/project.d.ts +182 -7
  287. package/resources/org/project/project.d.ts.map +1 -1
  288. package/resources/org/project/project.js +56 -26
  289. package/resources/org/project/project.js.map +1 -1
  290. package/resources/org/project/project.mjs +52 -0
  291. package/resources/org/project/project.mjs.map +1 -1
  292. package/resources/org/project/trigger.d.mts +101 -5
  293. package/resources/org/project/trigger.d.mts.map +1 -1
  294. package/resources/org/project/trigger.d.ts +101 -5
  295. package/resources/org/project/trigger.d.ts.map +1 -1
  296. package/resources/org/project/trigger.js +21 -0
  297. package/resources/org/project/trigger.js.map +1 -1
  298. package/resources/org/project/trigger.mjs +21 -0
  299. package/resources/org/project/trigger.mjs.map +1 -1
  300. package/resources/org/project/webhook.d.mts +88 -14
  301. package/resources/org/project/webhook.d.mts.map +1 -1
  302. package/resources/org/project/webhook.d.ts +88 -14
  303. package/resources/org/project/webhook.d.ts.map +1 -1
  304. package/resources/org/project/webhook.js +51 -1
  305. package/resources/org/project/webhook.js.map +1 -1
  306. package/resources/org/project/webhook.mjs +51 -1
  307. package/resources/org/project/webhook.mjs.map +1 -1
  308. package/resources/org/project.js +2 -15
  309. package/resources/org/project.js.map +1 -1
  310. package/resources/org.js +2 -15
  311. package/resources/org.js.map +1 -1
  312. package/resources/team-members.d.mts +12 -0
  313. package/resources/team-members.d.mts.map +1 -1
  314. package/resources/team-members.d.ts +12 -0
  315. package/resources/team-members.d.ts.map +1 -1
  316. package/resources/team-members.js +12 -0
  317. package/resources/team-members.js.map +1 -1
  318. package/resources/team-members.mjs +12 -0
  319. package/resources/team-members.mjs.map +1 -1
  320. package/resources/toolkits.d.mts +215 -4
  321. package/resources/toolkits.d.mts.map +1 -1
  322. package/resources/toolkits.d.ts +215 -4
  323. package/resources/toolkits.d.ts.map +1 -1
  324. package/resources/toolkits.js +20 -2
  325. package/resources/toolkits.js.map +1 -1
  326. package/resources/toolkits.mjs +20 -2
  327. package/resources/toolkits.mjs.map +1 -1
  328. package/resources/tools.d.mts +295 -21
  329. package/resources/tools.d.mts.map +1 -1
  330. package/resources/tools.d.ts +295 -21
  331. package/resources/tools.d.ts.map +1 -1
  332. package/resources/tools.js +67 -0
  333. package/resources/tools.js.map +1 -1
  334. package/resources/tools.mjs +67 -0
  335. package/resources/tools.mjs.map +1 -1
  336. package/resources/trigger-instances/handle.d.mts +2 -2
  337. package/resources/trigger-instances/handle.d.mts.map +1 -1
  338. package/resources/trigger-instances/handle.d.ts +2 -2
  339. package/resources/trigger-instances/handle.d.ts.map +1 -1
  340. package/resources/trigger-instances/handle.js.map +1 -1
  341. package/resources/trigger-instances/handle.mjs.map +1 -1
  342. package/resources/trigger-instances/index.d.mts +1 -1
  343. package/resources/trigger-instances/index.d.mts.map +1 -1
  344. package/resources/trigger-instances/index.d.ts +1 -1
  345. package/resources/trigger-instances/index.d.ts.map +1 -1
  346. package/resources/trigger-instances/index.js.map +1 -1
  347. package/resources/trigger-instances/index.mjs.map +1 -1
  348. package/resources/trigger-instances/trigger-instances.d.mts +51 -31
  349. package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
  350. package/resources/trigger-instances/trigger-instances.d.ts +51 -31
  351. package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
  352. package/resources/trigger-instances/trigger-instances.js +3 -32
  353. package/resources/trigger-instances/trigger-instances.js.map +1 -1
  354. package/resources/trigger-instances/trigger-instances.mjs +1 -8
  355. package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
  356. package/resources/trigger-instances.js +2 -15
  357. package/resources/trigger-instances.js.map +1 -1
  358. package/resources/triggers-types.d.mts +105 -4
  359. package/resources/triggers-types.d.mts.map +1 -1
  360. package/resources/triggers-types.d.ts +105 -4
  361. package/resources/triggers-types.d.ts.map +1 -1
  362. package/resources/triggers-types.js +29 -0
  363. package/resources/triggers-types.js.map +1 -1
  364. package/resources/triggers-types.mjs +29 -0
  365. package/resources/triggers-types.mjs.map +1 -1
  366. package/resources.js +2 -15
  367. package/resources.js.map +1 -1
  368. package/src/client.ts +128 -94
  369. package/src/core/api-promise.ts +4 -4
  370. package/src/core/error.ts +2 -2
  371. package/src/core/resource.ts +3 -3
  372. package/src/index.ts +3 -3
  373. package/src/internal/headers.ts +4 -3
  374. package/src/internal/parse.ts +2 -2
  375. package/src/internal/qs/LICENSE.md +13 -0
  376. package/src/internal/qs/README.md +3 -0
  377. package/src/internal/qs/formats.ts +9 -0
  378. package/src/internal/qs/index.ts +13 -0
  379. package/src/internal/qs/stringify.ts +388 -0
  380. package/src/internal/qs/types.ts +71 -0
  381. package/src/internal/qs/utils.ts +265 -0
  382. package/src/internal/shims.ts +1 -1
  383. package/src/internal/to-file.ts +4 -2
  384. package/src/internal/uploads.ts +21 -9
  385. package/src/internal/utils/base64.ts +16 -13
  386. package/src/internal/utils/bytes.ts +32 -0
  387. package/src/internal/utils/log.ts +3 -3
  388. package/src/internal/utils/path.ts +2 -4
  389. package/src/internal/utils/uuid.ts +1 -3
  390. package/src/internal/utils/values.ts +6 -6
  391. package/src/resources/auth-configs.ts +258 -49
  392. package/src/resources/connected-accounts.ts +192 -302
  393. package/src/resources/files.ts +209 -0
  394. package/src/resources/index.ts +24 -11
  395. package/src/resources/mcp/command.ts +5 -0
  396. package/src/resources/mcp/index.ts +14 -0
  397. package/src/resources/mcp/mcp.ts +522 -0
  398. package/src/resources/mcp.ts +3 -0
  399. package/src/resources/migration.ts +46 -0
  400. package/src/resources/org/api-key.ts +28 -0
  401. package/src/resources/org/project/api-keys.ts +97 -20
  402. package/src/resources/org/project/project.ts +182 -13
  403. package/src/resources/org/project/trigger.ts +101 -9
  404. package/src/resources/org/project/webhook.ts +88 -14
  405. package/src/resources/team-members.ts +12 -0
  406. package/src/resources/toolkits.ts +230 -4
  407. package/src/resources/tools.ts +316 -21
  408. package/src/resources/trigger-instances/handle.ts +10 -2
  409. package/src/resources/trigger-instances/index.ts +0 -3
  410. package/src/resources/trigger-instances/trigger-instances.ts +55 -44
  411. package/src/resources/triggers-types.ts +107 -6
  412. package/src/version.ts +1 -1
  413. package/uploads.js +2 -15
  414. package/uploads.js.map +1 -1
  415. package/version.d.mts +1 -1
  416. package/version.d.mts.map +1 -1
  417. package/version.d.ts +1 -1
  418. package/version.d.ts.map +1 -1
  419. package/version.js +1 -1
  420. package/version.js.map +1 -1
  421. package/version.mjs +1 -1
  422. package/version.mjs.map +1 -1
  423. package/internal/shims/crypto.d.mts +0 -13
  424. package/internal/shims/crypto.d.mts.map +0 -1
  425. package/internal/shims/crypto.d.ts +0 -13
  426. package/internal/shims/crypto.d.ts.map +0 -1
  427. package/internal/shims/crypto.js +0 -13
  428. package/internal/shims/crypto.js.map +0 -1
  429. package/internal/shims/crypto.mjs +0 -9
  430. package/internal/shims/crypto.mjs.map +0 -1
  431. package/internal/shims/file.d.mts +0 -23
  432. package/internal/shims/file.d.mts.map +0 -1
  433. package/internal/shims/file.d.ts +0 -23
  434. package/internal/shims/file.d.ts.map +0 -1
  435. package/internal/shims/file.js +0 -16
  436. package/internal/shims/file.js.map +0 -1
  437. package/internal/shims/file.mjs +0 -12
  438. package/internal/shims/file.mjs.map +0 -1
  439. package/internal/shims/getBuiltinModule.d.mts +0 -11
  440. package/internal/shims/getBuiltinModule.d.mts.map +0 -1
  441. package/internal/shims/getBuiltinModule.d.ts +0 -11
  442. package/internal/shims/getBuiltinModule.d.ts.map +0 -1
  443. package/internal/shims/getBuiltinModule.js +0 -68
  444. package/internal/shims/getBuiltinModule.js.map +0 -1
  445. package/internal/shims/getBuiltinModule.mjs +0 -64
  446. package/internal/shims/getBuiltinModule.mjs.map +0 -1
  447. package/internal/shims/nullGetBuiltinModule.d.mts +0 -2
  448. package/internal/shims/nullGetBuiltinModule.d.mts.map +0 -1
  449. package/internal/shims/nullGetBuiltinModule.d.ts +0 -2
  450. package/internal/shims/nullGetBuiltinModule.d.ts.map +0 -1
  451. package/internal/shims/nullGetBuiltinModule.js +0 -5
  452. package/internal/shims/nullGetBuiltinModule.js.map +0 -1
  453. package/internal/shims/nullGetBuiltinModule.mjs +0 -2
  454. package/internal/shims/nullGetBuiltinModule.mjs.map +0 -1
  455. package/resources/action-execution.d.mts +0 -155
  456. package/resources/action-execution.d.mts.map +0 -1
  457. package/resources/action-execution.d.ts +0 -155
  458. package/resources/action-execution.d.ts.map +0 -1
  459. package/resources/action-execution.js +0 -19
  460. package/resources/action-execution.js.map +0 -1
  461. package/resources/action-execution.mjs +0 -15
  462. package/resources/action-execution.mjs.map +0 -1
  463. package/resources/trigger.d.mts +0 -73
  464. package/resources/trigger.d.mts.map +0 -1
  465. package/resources/trigger.d.ts +0 -73
  466. package/resources/trigger.d.ts.map +0 -1
  467. package/resources/trigger.js +0 -12
  468. package/resources/trigger.js.map +0 -1
  469. package/resources/trigger.mjs +0 -8
  470. package/resources/trigger.mjs.map +0 -1
  471. package/src/internal/shims/crypto.ts +0 -18
  472. package/src/internal/shims/file.ts +0 -32
  473. package/src/internal/shims/getBuiltinModule.ts +0 -64
  474. package/src/internal/shims/nullGetBuiltinModule.ts +0 -1
  475. package/src/resources/action-execution.ts +0 -244
  476. package/src/resources/trigger.ts +0 -108
@@ -2,85 +2,210 @@ import { APIResource } from "../core/resource.js";
2
2
  import { APIPromise } from "../core/api-promise.js";
3
3
  import { RequestOptions } from "../internal/request-options.js";
4
4
  export declare class Toolkits extends APIResource {
5
+ /**
6
+ * Retrieves comprehensive information about a specific toolkit using its unique
7
+ * slug identifier. This endpoint provides detailed metadata, authentication
8
+ * configuration options, and feature counts for the requested toolkit.
9
+ */
5
10
  retrieve(slug: string, options?: RequestOptions): APIPromise<ToolkitRetrieveResponse>;
11
+ /**
12
+ * Retrieves a comprehensive list of toolkits that are available to the
13
+ * authenticated project. Toolkits represent integration points with external
14
+ * services and applications, each containing a collection of tools and triggers.
15
+ * This endpoint supports filtering by category, management type, and local
16
+ * availability, as well as different sorting options.
17
+ */
6
18
  list(query?: ToolkitListParams | null | undefined, options?: RequestOptions): APIPromise<ToolkitListResponse>;
7
- retrieveCategories(options?: RequestOptions): APIPromise<ToolkitRetrieveCategoriesResponse>;
19
+ /**
20
+ * Retrieves a comprehensive list of all available toolkit categories. These
21
+ * categories can be used to filter toolkits by type or purpose when using the
22
+ * toolkit listing endpoint. Categories help organize toolkits into logical groups
23
+ * based on their functionality or industry focus.
24
+ */
25
+ retrieveCategories(query?: ToolkitRetrieveCategoriesParams | null | undefined, options?: RequestOptions): APIPromise<ToolkitRetrieveCategoriesResponse>;
8
26
  }
27
+ /**
28
+ * Detailed information about a single toolkit
29
+ */
9
30
  export interface ToolkitRetrieveResponse {
31
+ /**
32
+ * Indicates if this toolkit is currently enabled and available for use
33
+ */
10
34
  enabled: boolean;
35
+ /**
36
+ * Indicates if this toolkit is specific to the current project or globally
37
+ * available
38
+ */
11
39
  is_local_toolkit: boolean;
40
+ /**
41
+ * Comprehensive metadata for the toolkit including dates, descriptions, and
42
+ * statistics
43
+ */
12
44
  meta: ToolkitRetrieveResponse.Meta;
45
+ /**
46
+ * Human-readable name of the toolkit
47
+ */
13
48
  name: string;
49
+ /**
50
+ * URL-friendly unique identifier for the toolkit
51
+ */
14
52
  slug: string;
53
+ /**
54
+ * Complete authentication configuration details for each supported auth method
55
+ */
15
56
  auth_config_details?: Array<ToolkitRetrieveResponse.AuthConfigDetail>;
57
+ /**
58
+ * List of authentication methods that Composio manages for this toolkit
59
+ */
16
60
  composio_managed_auth_schemes?: Array<string>;
17
61
  }
18
62
  export declare namespace ToolkitRetrieveResponse {
63
+ /**
64
+ * Comprehensive metadata for the toolkit including dates, descriptions, and
65
+ * statistics
66
+ */
19
67
  interface Meta {
68
+ /**
69
+ * List of categories associated with this toolkit
70
+ */
20
71
  categories: Array<Meta.Category>;
72
+ /**
73
+ * Creation date and time of the toolkit
74
+ */
21
75
  created_at: string;
76
+ /**
77
+ * Human-readable description explaining the toolkit's purpose and functionality
78
+ */
22
79
  description: string;
80
+ /**
81
+ * Image URL for the toolkit's branding
82
+ */
23
83
  logo: string;
84
+ /**
85
+ * Count of available tools in this toolkit
86
+ */
24
87
  tools_count: number;
88
+ /**
89
+ * Count of available triggers in this toolkit
90
+ */
25
91
  triggers_count: number;
92
+ /**
93
+ * Last modification date and time of the toolkit
94
+ */
26
95
  updated_at: string;
96
+ /**
97
+ * Link to the toolkit's main application or service website
98
+ */
99
+ app_url?: string | null;
27
100
  }
28
101
  namespace Meta {
29
102
  interface Category {
103
+ /**
104
+ * Human-readable category name
105
+ */
30
106
  name: string;
107
+ /**
108
+ * URL-friendly identifier for the category
109
+ */
31
110
  slug: string;
32
111
  }
33
112
  }
113
+ /**
114
+ * Detailed configuration for an authentication method
115
+ */
34
116
  interface AuthConfigDetail {
117
+ /**
118
+ * Field groups required for different authentication stages
119
+ */
35
120
  fields: AuthConfigDetail.Fields;
121
+ /**
122
+ * The type of authentication mode (e.g., oauth2, basic_auth, api_key)
123
+ */
36
124
  mode: string;
125
+ /**
126
+ * Display name for this authentication method
127
+ */
37
128
  name: string;
129
+ /**
130
+ * Configuration for proxying authentication requests to external services
131
+ */
38
132
  proxy?: AuthConfigDetail.Proxy;
39
133
  }
40
134
  namespace AuthConfigDetail {
135
+ /**
136
+ * Field groups required for different authentication stages
137
+ */
41
138
  interface Fields {
139
+ /**
140
+ * Form fields needed when creating an authentication configuration
141
+ */
42
142
  auth_config_creation: Fields.AuthConfigCreation;
143
+ /**
144
+ * Form fields needed when connecting a user account with this authentication
145
+ * method
146
+ */
43
147
  connected_account_initiation: Fields.ConnectedAccountInitiation;
44
148
  }
45
149
  namespace Fields {
150
+ /**
151
+ * Form fields needed when creating an authentication configuration
152
+ */
46
153
  interface AuthConfigCreation {
47
154
  optional: Array<AuthConfigCreation.Optional>;
48
155
  required: Array<AuthConfigCreation.Required>;
49
156
  }
50
157
  namespace AuthConfigCreation {
51
158
  interface Optional {
159
+ description: string;
52
160
  displayName: string;
53
161
  name: string;
162
+ required: boolean;
54
163
  type: string;
55
164
  default?: string | null;
56
165
  }
57
166
  interface Required {
167
+ description: string;
58
168
  displayName: string;
59
169
  name: string;
170
+ required: boolean;
60
171
  type: string;
61
172
  default?: string | null;
62
173
  }
63
174
  }
175
+ /**
176
+ * Form fields needed when connecting a user account with this authentication
177
+ * method
178
+ */
64
179
  interface ConnectedAccountInitiation {
65
180
  optional: Array<ConnectedAccountInitiation.Optional>;
66
181
  required: Array<ConnectedAccountInitiation.Required>;
67
182
  }
68
183
  namespace ConnectedAccountInitiation {
69
184
  interface Optional {
185
+ description: string;
70
186
  displayName: string;
71
187
  name: string;
188
+ required: boolean;
72
189
  type: string;
73
190
  default?: string | null;
74
191
  }
75
192
  interface Required {
193
+ description: string;
76
194
  displayName: string;
77
195
  name: string;
196
+ required: boolean;
78
197
  type: string;
79
198
  default?: string | null;
80
199
  }
81
200
  }
82
201
  }
202
+ /**
203
+ * Configuration for proxying authentication requests to external services
204
+ */
83
205
  interface Proxy {
206
+ /**
207
+ * URL to which authentication requests will be proxied
208
+ */
84
209
  base_url: string;
85
210
  }
86
211
  }
@@ -91,28 +216,87 @@ export interface ToolkitListResponse {
91
216
  total_pages: number;
92
217
  }
93
218
  export declare namespace ToolkitListResponse {
219
+ /**
220
+ * Detailed information about a toolkit
221
+ */
94
222
  interface Item {
223
+ /**
224
+ * Indicates if this toolkit is specific to the current project or globally
225
+ * available
226
+ */
95
227
  is_local_toolkit: boolean;
228
+ /**
229
+ * Additional metadata about the toolkit
230
+ */
96
231
  meta: Item.Meta;
232
+ /**
233
+ * Human-readable name of the toolkit
234
+ */
97
235
  name: string;
236
+ /**
237
+ * URL-friendly unique identifier for the toolkit
238
+ */
98
239
  slug: string;
240
+ /**
241
+ * List of authentication methods supported by this toolkit
242
+ */
99
243
  auth_schemes?: Array<string>;
244
+ /**
245
+ * List of authentication methods that Composio manages for this toolkit
246
+ */
100
247
  composio_managed_auth_schemes?: Array<string>;
248
+ /**
249
+ * When true, this toolkit can be used without authentication
250
+ */
101
251
  no_auth?: boolean;
102
252
  }
103
253
  namespace Item {
254
+ /**
255
+ * Additional metadata about the toolkit
256
+ */
104
257
  interface Meta {
258
+ /**
259
+ * List of categories associated with this toolkit
260
+ */
105
261
  categories: Array<Meta.Category>;
262
+ /**
263
+ * Creation date and time of the toolkit
264
+ */
106
265
  created_at: string;
266
+ /**
267
+ * Human-readable description explaining the toolkit's purpose and functionality
268
+ */
107
269
  description: string;
270
+ /**
271
+ * Image URL for the toolkit's branding
272
+ */
108
273
  logo: string;
274
+ /**
275
+ * Count of available tools in this toolkit
276
+ */
109
277
  tools_count: number;
278
+ /**
279
+ * Count of available triggers in this toolkit
280
+ */
110
281
  triggers_count: number;
282
+ /**
283
+ * Last modification date and time of the toolkit
284
+ */
111
285
  updated_at: string;
286
+ /**
287
+ * Link to the toolkit's main application or service website
288
+ */
289
+ app_url?: string | null;
112
290
  }
113
291
  namespace Meta {
114
292
  interface Category {
293
+ /**
294
+ * Category identifier
295
+ */
115
296
  id: string;
297
+ /**
298
+ * Human-readable category name
299
+ */
116
300
  name: string;
117
301
  }
118
302
  }
@@ -124,18 +308,45 @@ export interface ToolkitRetrieveCategoriesResponse {
124
308
  total_pages: number;
125
309
  }
126
310
  export declare namespace ToolkitRetrieveCategoriesResponse {
311
+ /**
312
+ * Information about a single toolkit category
313
+ */
127
314
  interface Item {
315
+ /**
316
+ * URL-friendly unique identifier for the category, used for filtering toolkits
317
+ */
128
318
  id: string;
319
+ /**
320
+ * Display name of the toolkit category
321
+ */
129
322
  name: string;
130
323
  }
131
324
  }
132
325
  export interface ToolkitListParams {
326
+ /**
327
+ * Filter toolkits by category
328
+ */
133
329
  category?: string;
134
- is_local?: boolean;
135
- managed_by?: 'all' | 'composio_managed' | 'project_managed';
330
+ /**
331
+ * Whether to include local toolkits in the results
332
+ */
333
+ is_local?: boolean | null;
334
+ /**
335
+ * Filter toolkits by who manages them
336
+ */
337
+ managed_by?: 'composio' | 'all' | 'project';
338
+ /**
339
+ * Sort order for returned toolkits
340
+ */
136
341
  sort_by?: 'usage' | 'alphabetically';
137
342
  }
343
+ export interface ToolkitRetrieveCategoriesParams {
344
+ /**
345
+ * Cache control parameter
346
+ */
347
+ cache?: string;
348
+ }
138
349
  export declare namespace Toolkits {
139
- export { type ToolkitRetrieveResponse as ToolkitRetrieveResponse, type ToolkitListResponse as ToolkitListResponse, type ToolkitRetrieveCategoriesResponse as ToolkitRetrieveCategoriesResponse, type ToolkitListParams as ToolkitListParams, };
350
+ export { type ToolkitRetrieveResponse as ToolkitRetrieveResponse, type ToolkitListResponse as ToolkitListResponse, type ToolkitRetrieveCategoriesResponse as ToolkitRetrieveCategoriesResponse, type ToolkitListParams as ToolkitListParams, type ToolkitRetrieveCategoriesParams as ToolkitRetrieveCategoriesParams, };
140
351
  }
141
352
  //# sourceMappingURL=toolkits.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolkits.d.ts","sourceRoot":"","sources":["../src/resources/toolkits.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIrF,IAAI,CACF,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CA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gBACvB;;mBAEG;gBACH,EAAE,EAAE,MAAM,CAAC;gBAEX;;mBAEG;gBACH,IAAI,EAAE,MAAM,CAAC;aACd;SACF;KACF;CACF;AAED,MAAM,WAAW,iCAAiC;IAChD,KAAK,EAAE,KAAK,CAAC,iCAAiC,CAAC,IAAI,CAAC,CAAC;IAErD,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,yBAAiB,iCAAiC,CAAC;IACjD;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAE1B;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,GAAG,KAAK,GAAG,SAAS,CAAC;IAE5C;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAAC;CACtC;AAED,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;CACH"}
@@ -5,14 +5,32 @@ exports.Toolkits = void 0;
5
5
  const resource_1 = require("../core/resource.js");
6
6
  const path_1 = require("../internal/utils/path.js");
7
7
  class Toolkits extends resource_1.APIResource {
8
+ /**
9
+ * Retrieves comprehensive information about a specific toolkit using its unique
10
+ * slug identifier. This endpoint provides detailed metadata, authentication
11
+ * configuration options, and feature counts for the requested toolkit.
12
+ */
8
13
  retrieve(slug, options) {
9
14
  return this._client.get((0, path_1.path) `/api/v3/toolkits/${slug}`, options);
10
15
  }
16
+ /**
17
+ * Retrieves a comprehensive list of toolkits that are available to the
18
+ * authenticated project. Toolkits represent integration points with external
19
+ * services and applications, each containing a collection of tools and triggers.
20
+ * This endpoint supports filtering by category, management type, and local
21
+ * availability, as well as different sorting options.
22
+ */
11
23
  list(query = {}, options) {
12
24
  return this._client.get('/api/v3/toolkits', { query, ...options });
13
25
  }
14
- retrieveCategories(options) {
15
- return this._client.get('/api/v3/toolkits/categories', options);
26
+ /**
27
+ * Retrieves a comprehensive list of all available toolkit categories. These
28
+ * categories can be used to filter toolkits by type or purpose when using the
29
+ * toolkit listing endpoint. Categories help organize toolkits into logical groups
30
+ * based on their functionality or industry focus.
31
+ */
32
+ retrieveCategories(query = {}, options) {
33
+ return this._client.get('/api/v3/toolkits/categories', { query, ...options });
16
34
  }
17
35
  }
18
36
  exports.Toolkits = Toolkits;
@@ -1 +1 @@
1
- {"version":3,"file":"toolkits.js","sourceRoot":"","sources":["../src/resources/toolkits.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,QAAS,SAAQ,sBAAW;IACvC,QAAQ,CAAC,IAAY,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,oBAAoB,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED,kBAAkB,CAAC,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF;AAfD,4BAeC"}
1
+ {"version":3,"file":"toolkits.js","sourceRoot":"","sources":["../src/resources/toolkits.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;OAIG;IACH,QAAQ,CAAC,IAAY,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,oBAAoB,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;OAMG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;;;;OAKG;IACH,kBAAkB,CAChB,QAA4D,EAAE,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF;AApCD,4BAoCC"}
@@ -2,14 +2,32 @@
2
2
  import { APIResource } from "../core/resource.mjs";
3
3
  import { path } from "../internal/utils/path.mjs";
4
4
  export class Toolkits extends APIResource {
5
+ /**
6
+ * Retrieves comprehensive information about a specific toolkit using its unique
7
+ * slug identifier. This endpoint provides detailed metadata, authentication
8
+ * configuration options, and feature counts for the requested toolkit.
9
+ */
5
10
  retrieve(slug, options) {
6
11
  return this._client.get(path `/api/v3/toolkits/${slug}`, options);
7
12
  }
13
+ /**
14
+ * Retrieves a comprehensive list of toolkits that are available to the
15
+ * authenticated project. Toolkits represent integration points with external
16
+ * services and applications, each containing a collection of tools and triggers.
17
+ * This endpoint supports filtering by category, management type, and local
18
+ * availability, as well as different sorting options.
19
+ */
8
20
  list(query = {}, options) {
9
21
  return this._client.get('/api/v3/toolkits', { query, ...options });
10
22
  }
11
- retrieveCategories(options) {
12
- return this._client.get('/api/v3/toolkits/categories', options);
23
+ /**
24
+ * Retrieves a comprehensive list of all available toolkit categories. These
25
+ * categories can be used to filter toolkits by type or purpose when using the
26
+ * toolkit listing endpoint. Categories help organize toolkits into logical groups
27
+ * based on their functionality or industry focus.
28
+ */
29
+ retrieveCategories(query = {}, options) {
30
+ return this._client.get('/api/v3/toolkits/categories', { query, ...options });
13
31
  }
14
32
  }
15
33
  //# sourceMappingURL=toolkits.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolkits.mjs","sourceRoot":"","sources":["../src/resources/toolkits.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC,QAAQ,CAAC,IAAY,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED,kBAAkB,CAAC,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF"}
1
+ {"version":3,"file":"toolkits.mjs","sourceRoot":"","sources":["../src/resources/toolkits.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;OAIG;IACH,QAAQ,CAAC,IAAY,EAAE,OAAwB;QAC7C,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