@composio/client 0.1.0-alpha.9 → 2.0.0-rc.2

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 (815) hide show
  1. package/README.md +32 -354
  2. package/dist/api-key-revocation-BqiqlJh6.mjs +24 -0
  3. package/dist/auth-ClFXmN5T.mjs +17 -0
  4. package/dist/auth-configs-COkEdwlP.mjs +48 -0
  5. package/dist/clanker-1ptspWLR.mjs +23 -0
  6. package/dist/cli-BWTXVRT4.mjs +42 -0
  7. package/dist/client-D5v0_f-k.d.mts +22790 -0
  8. package/dist/config-BLBbhLe1.mjs +10 -0
  9. package/dist/config-DnyMhILW.d.mts +9 -0
  10. package/dist/connected-accounts-DK24qYIM.mjs +67 -0
  11. package/dist/consumer-Do3lg_vI.mjs +33 -0
  12. package/dist/custom-CH7n4Dyd.mjs +22 -0
  13. package/dist/files-DoNtYu2Q.mjs +29 -0
  14. package/dist/files-lfGzAnJ_.mjs +45 -0
  15. package/dist/generate-B7ClqhN0.mjs +22 -0
  16. package/dist/index.d.mts +5 -0
  17. package/dist/index.mjs +1219 -0
  18. package/dist/link-NsFv9L3R.mjs +22 -0
  19. package/dist/logs-BhCTVSZE.mjs +36 -0
  20. package/dist/manage-7vQYn-gu.mjs +26 -0
  21. package/dist/mcp-r-SWyCDh.mjs +73 -0
  22. package/dist/migration-CBhnoN-Y.mjs +10 -0
  23. package/dist/migration-CKGKuRO3.d.mts +9 -0
  24. package/dist/org-C12wx9QM.mjs +44 -0
  25. package/dist/owner-D4ghEkrK.mjs +17 -0
  26. package/dist/project-By-OBe-4.mjs +28 -0
  27. package/dist/project-Cnr9eceg.mjs +24 -0
  28. package/dist/project-DgdqyoZJ.mjs +22 -0
  29. package/dist/project-DzrdSIis.mjs +42 -0
  30. package/dist/realtime-DHJnO2Ye.mjs +26 -0
  31. package/dist/request-zLX87M09.mjs +1423 -0
  32. package/dist/resources/api-key-revocation.d.mts +2 -0
  33. package/dist/resources/api-key-revocation.mjs +3 -0
  34. package/dist/resources/auth/auth.d.mts +2 -0
  35. package/dist/resources/auth/auth.mjs +3 -0
  36. package/dist/resources/auth/index.d.mts +2 -0
  37. package/dist/resources/auth/index.mjs +4 -0
  38. package/dist/resources/auth/session.d.mts +2 -0
  39. package/dist/resources/auth/session.mjs +3 -0
  40. package/dist/resources/auth-configs.d.mts +2 -0
  41. package/dist/resources/auth-configs.mjs +3 -0
  42. package/dist/resources/auth.d.mts +2 -0
  43. package/dist/resources/auth.mjs +5 -0
  44. package/dist/resources/cli/cli.d.mts +2 -0
  45. package/dist/resources/cli/cli.mjs +3 -0
  46. package/dist/resources/cli/index.d.mts +2 -0
  47. package/dist/resources/cli/index.mjs +4 -0
  48. package/dist/resources/cli/realtime.d.mts +2 -0
  49. package/dist/resources/cli/realtime.mjs +3 -0
  50. package/dist/resources/cli.d.mts +2 -0
  51. package/dist/resources/cli.mjs +5 -0
  52. package/dist/resources/connected-accounts.d.mts +2 -0
  53. package/dist/resources/connected-accounts.mjs +3 -0
  54. package/dist/resources/files.d.mts +2 -0
  55. package/dist/resources/files.mjs +3 -0
  56. package/dist/resources/index.d.mts +3 -0
  57. package/dist/resources/index.mjs +16 -0
  58. package/dist/resources/link.d.mts +2 -0
  59. package/dist/resources/link.mjs +3 -0
  60. package/dist/resources/logs/index.d.mts +2 -0
  61. package/dist/resources/logs/index.mjs +5 -0
  62. package/dist/resources/logs/logs.d.mts +2 -0
  63. package/dist/resources/logs/logs.mjs +3 -0
  64. package/dist/resources/logs/tools.d.mts +2 -0
  65. package/dist/resources/logs/tools.mjs +3 -0
  66. package/dist/resources/logs/triggers.d.mts +2 -0
  67. package/dist/resources/logs/triggers.mjs +3 -0
  68. package/dist/resources/logs.d.mts +2 -0
  69. package/dist/resources/logs.mjs +6 -0
  70. package/dist/resources/mcp/custom.d.mts +2 -0
  71. package/dist/resources/mcp/custom.mjs +3 -0
  72. package/dist/resources/mcp/generate.d.mts +2 -0
  73. package/dist/resources/mcp/generate.mjs +3 -0
  74. package/dist/resources/mcp/index.d.mts +2 -0
  75. package/dist/resources/mcp/index.mjs +5 -0
  76. package/dist/resources/mcp/mcp.d.mts +2 -0
  77. package/dist/resources/mcp/mcp.mjs +3 -0
  78. package/dist/resources/mcp.d.mts +2 -0
  79. package/dist/resources/mcp.mjs +6 -0
  80. package/dist/resources/migration.d.mts +2 -0
  81. package/dist/resources/migration.mjs +3 -0
  82. package/dist/resources/org/clanker.d.mts +2 -0
  83. package/dist/resources/org/clanker.mjs +3 -0
  84. package/dist/resources/org/consumer/consumer.d.mts +2 -0
  85. package/dist/resources/org/consumer/consumer.mjs +3 -0
  86. package/dist/resources/org/consumer/index.d.mts +2 -0
  87. package/dist/resources/org/consumer/index.mjs +4 -0
  88. package/dist/resources/org/consumer/project.d.mts +2 -0
  89. package/dist/resources/org/consumer/project.mjs +3 -0
  90. package/dist/resources/org/consumer.d.mts +2 -0
  91. package/dist/resources/org/consumer.mjs +5 -0
  92. package/dist/resources/org/index.d.mts +2 -0
  93. package/dist/resources/org/index.mjs +8 -0
  94. package/dist/resources/org/org.d.mts +2 -0
  95. package/dist/resources/org/org.mjs +3 -0
  96. package/dist/resources/org/owner/index.d.mts +2 -0
  97. package/dist/resources/org/owner/index.mjs +4 -0
  98. package/dist/resources/org/owner/owner.d.mts +2 -0
  99. package/dist/resources/org/owner/owner.mjs +3 -0
  100. package/dist/resources/org/owner/project.d.mts +2 -0
  101. package/dist/resources/org/owner/project.mjs +3 -0
  102. package/dist/resources/org/owner.d.mts +2 -0
  103. package/dist/resources/org/owner.mjs +5 -0
  104. package/dist/resources/org/project.d.mts +2 -0
  105. package/dist/resources/org/project.mjs +3 -0
  106. package/dist/resources/org/usage.d.mts +2 -0
  107. package/dist/resources/org/usage.mjs +3 -0
  108. package/dist/resources/org.d.mts +2 -0
  109. package/dist/resources/org.mjs +9 -0
  110. package/dist/resources/project/config.d.mts +2 -0
  111. package/dist/resources/project/config.mjs +3 -0
  112. package/dist/resources/project/index.d.mts +3 -0
  113. package/dist/resources/project/index.mjs +4 -0
  114. package/dist/resources/project/project.d.mts +2 -0
  115. package/dist/resources/project/project.mjs +3 -0
  116. package/dist/resources/project/usage.d.mts +2 -0
  117. package/dist/resources/project/usage.mjs +3 -0
  118. package/dist/resources/project.d.mts +3 -0
  119. package/dist/resources/project.mjs +5 -0
  120. package/dist/resources/tool-router/index.d.mts +2 -0
  121. package/dist/resources/tool-router/index.mjs +4 -0
  122. package/dist/resources/tool-router/session/files.d.mts +2 -0
  123. package/dist/resources/tool-router/session/files.mjs +3 -0
  124. package/dist/resources/tool-router/session/index.d.mts +2 -0
  125. package/dist/resources/tool-router/session/index.mjs +4 -0
  126. package/dist/resources/tool-router/session/session.d.mts +2 -0
  127. package/dist/resources/tool-router/session/session.mjs +3 -0
  128. package/dist/resources/tool-router/session.d.mts +2 -0
  129. package/dist/resources/tool-router/session.mjs +5 -0
  130. package/dist/resources/tool-router/tool-router.d.mts +2 -0
  131. package/dist/resources/tool-router/tool-router.mjs +3 -0
  132. package/dist/resources/tool-router.d.mts +2 -0
  133. package/dist/resources/tool-router.mjs +5 -0
  134. package/dist/resources/toolkits.d.mts +2 -0
  135. package/dist/resources/toolkits.mjs +3 -0
  136. package/dist/resources/tools.d.mts +2 -0
  137. package/dist/resources/tools.mjs +3 -0
  138. package/dist/resources/trigger-instances/index.d.mts +2 -0
  139. package/dist/resources/trigger-instances/index.mjs +4 -0
  140. package/dist/resources/trigger-instances/manage.d.mts +2 -0
  141. package/dist/resources/trigger-instances/manage.mjs +3 -0
  142. package/dist/resources/trigger-instances/trigger-instances.d.mts +2 -0
  143. package/dist/resources/trigger-instances/trigger-instances.mjs +3 -0
  144. package/dist/resources/trigger-instances.d.mts +2 -0
  145. package/dist/resources/trigger-instances.mjs +5 -0
  146. package/dist/resources/triggers-types.d.mts +2 -0
  147. package/dist/resources/triggers-types.mjs +3 -0
  148. package/dist/resources/webhook-endpoints.d.mts +2 -0
  149. package/dist/resources/webhook-endpoints.mjs +3 -0
  150. package/dist/resources/webhook-subscriptions.d.mts +2 -0
  151. package/dist/resources/webhook-subscriptions.mjs +3 -0
  152. package/dist/session-Ci0MoTTn.mjs +21 -0
  153. package/dist/session-CmqSfXtq.mjs +97 -0
  154. package/dist/tool-router-DbmIxiU5.mjs +14 -0
  155. package/dist/toolkits-BUWB3p_C.mjs +43 -0
  156. package/dist/tools-B4kHPHbe.mjs +30 -0
  157. package/dist/tools-BO1wTIiE.mjs +60 -0
  158. package/dist/trigger-instances-CoEohjcv.mjs +33 -0
  159. package/dist/triggers-BwsETpsM.mjs +26 -0
  160. package/dist/triggers-types-DmOurxxx.mjs +31 -0
  161. package/dist/usage-BJsJ4nsd.mjs +29 -0
  162. package/dist/usage-D6ahTV_Y.mjs +29 -0
  163. package/dist/webhook-endpoints-CyWYVPMe.mjs +46 -0
  164. package/dist/webhook-subscriptions-BgnCTUGn.mjs +48 -0
  165. package/package.json +74 -129
  166. package/CHANGELOG.md +0 -96
  167. package/LICENSE +0 -201
  168. package/api-promise.d.mts +0 -2
  169. package/api-promise.d.mts.map +0 -1
  170. package/api-promise.d.ts +0 -2
  171. package/api-promise.d.ts.map +0 -1
  172. package/api-promise.js +0 -19
  173. package/api-promise.js.map +0 -1
  174. package/api-promise.mjs +0 -2
  175. package/api-promise.mjs.map +0 -1
  176. package/client.d.mts +0 -224
  177. package/client.d.mts.map +0 -1
  178. package/client.d.ts +0 -224
  179. package/client.d.ts.map +0 -1
  180. package/client.js +0 -502
  181. package/client.js.map +0 -1
  182. package/client.mjs +0 -475
  183. package/client.mjs.map +0 -1
  184. package/core/api-promise.d.mts +0 -47
  185. package/core/api-promise.d.mts.map +0 -1
  186. package/core/api-promise.d.ts +0 -47
  187. package/core/api-promise.d.ts.map +0 -1
  188. package/core/api-promise.js +0 -84
  189. package/core/api-promise.js.map +0 -1
  190. package/core/api-promise.mjs +0 -80
  191. package/core/api-promise.mjs.map +0 -1
  192. package/core/error.d.mts +0 -47
  193. package/core/error.d.mts.map +0 -1
  194. package/core/error.d.ts +0 -47
  195. package/core/error.d.ts.map +0 -1
  196. package/core/error.js +0 -113
  197. package/core/error.js.map +0 -1
  198. package/core/error.mjs +0 -97
  199. package/core/error.mjs.map +0 -1
  200. package/core/resource.d.mts +0 -6
  201. package/core/resource.d.mts.map +0 -1
  202. package/core/resource.d.ts +0 -6
  203. package/core/resource.d.ts.map +0 -1
  204. package/core/resource.js +0 -11
  205. package/core/resource.js.map +0 -1
  206. package/core/resource.mjs +0 -7
  207. package/core/resource.mjs.map +0 -1
  208. package/core/uploads.d.mts +0 -3
  209. package/core/uploads.d.mts.map +0 -1
  210. package/core/uploads.d.ts +0 -3
  211. package/core/uploads.d.ts.map +0 -1
  212. package/core/uploads.js +0 -6
  213. package/core/uploads.js.map +0 -1
  214. package/core/uploads.mjs +0 -2
  215. package/core/uploads.mjs.map +0 -1
  216. package/error.d.mts +0 -2
  217. package/error.d.mts.map +0 -1
  218. package/error.d.ts +0 -2
  219. package/error.d.ts.map +0 -1
  220. package/error.js +0 -19
  221. package/error.js.map +0 -1
  222. package/error.mjs +0 -2
  223. package/error.mjs.map +0 -1
  224. package/index.d.mts +0 -6
  225. package/index.d.mts.map +0 -1
  226. package/index.d.ts +0 -6
  227. package/index.d.ts.map +0 -1
  228. package/index.js +0 -30
  229. package/index.js.map +0 -1
  230. package/index.mjs +0 -7
  231. package/index.mjs.map +0 -1
  232. package/internal/builtin-types.d.mts +0 -75
  233. package/internal/builtin-types.d.mts.map +0 -1
  234. package/internal/builtin-types.d.ts +0 -75
  235. package/internal/builtin-types.d.ts.map +0 -1
  236. package/internal/builtin-types.js +0 -4
  237. package/internal/builtin-types.js.map +0 -1
  238. package/internal/builtin-types.mjs +0 -3
  239. package/internal/builtin-types.mjs.map +0 -1
  240. package/internal/detect-platform.d.mts +0 -15
  241. package/internal/detect-platform.d.mts.map +0 -1
  242. package/internal/detect-platform.d.ts +0 -15
  243. package/internal/detect-platform.d.ts.map +0 -1
  244. package/internal/detect-platform.js +0 -162
  245. package/internal/detect-platform.js.map +0 -1
  246. package/internal/detect-platform.mjs +0 -157
  247. package/internal/detect-platform.mjs.map +0 -1
  248. package/internal/errors.d.mts +0 -3
  249. package/internal/errors.d.mts.map +0 -1
  250. package/internal/errors.d.ts +0 -3
  251. package/internal/errors.d.ts.map +0 -1
  252. package/internal/errors.js +0 -41
  253. package/internal/errors.js.map +0 -1
  254. package/internal/errors.mjs +0 -36
  255. package/internal/errors.mjs.map +0 -1
  256. package/internal/headers.d.mts +0 -21
  257. package/internal/headers.d.mts.map +0 -1
  258. package/internal/headers.d.ts +0 -21
  259. package/internal/headers.d.ts.map +0 -1
  260. package/internal/headers.js +0 -77
  261. package/internal/headers.js.map +0 -1
  262. package/internal/headers.mjs +0 -72
  263. package/internal/headers.mjs.map +0 -1
  264. package/internal/parse.d.mts +0 -13
  265. package/internal/parse.d.mts.map +0 -1
  266. package/internal/parse.d.ts +0 -13
  267. package/internal/parse.d.ts.map +0 -1
  268. package/internal/parse.js +0 -36
  269. package/internal/parse.js.map +0 -1
  270. package/internal/parse.mjs +0 -32
  271. package/internal/parse.mjs.map +0 -1
  272. package/internal/qs/formats.d.mts +0 -6
  273. package/internal/qs/formats.d.mts.map +0 -1
  274. package/internal/qs/formats.d.ts +0 -6
  275. package/internal/qs/formats.d.ts.map +0 -1
  276. package/internal/qs/formats.js +0 -11
  277. package/internal/qs/formats.js.map +0 -1
  278. package/internal/qs/formats.mjs +0 -8
  279. package/internal/qs/formats.mjs.map +0 -1
  280. package/internal/qs/index.d.mts +0 -10
  281. package/internal/qs/index.d.mts.map +0 -1
  282. package/internal/qs/index.d.ts +0 -10
  283. package/internal/qs/index.d.ts.map +0 -1
  284. package/internal/qs/index.js +0 -14
  285. package/internal/qs/index.js.map +0 -1
  286. package/internal/qs/index.mjs +0 -10
  287. package/internal/qs/index.mjs.map +0 -1
  288. package/internal/qs/stringify.d.mts +0 -3
  289. package/internal/qs/stringify.d.mts.map +0 -1
  290. package/internal/qs/stringify.d.ts +0 -3
  291. package/internal/qs/stringify.d.ts.map +0 -1
  292. package/internal/qs/stringify.js +0 -280
  293. package/internal/qs/stringify.js.map +0 -1
  294. package/internal/qs/stringify.mjs +0 -276
  295. package/internal/qs/stringify.mjs.map +0 -1
  296. package/internal/qs/types.d.mts +0 -57
  297. package/internal/qs/types.d.mts.map +0 -1
  298. package/internal/qs/types.d.ts +0 -57
  299. package/internal/qs/types.d.ts.map +0 -1
  300. package/internal/qs/types.js +0 -3
  301. package/internal/qs/types.js.map +0 -1
  302. package/internal/qs/types.mjs +0 -2
  303. package/internal/qs/types.mjs.map +0 -1
  304. package/internal/qs/utils.d.mts +0 -14
  305. package/internal/qs/utils.d.mts.map +0 -1
  306. package/internal/qs/utils.d.ts +0 -14
  307. package/internal/qs/utils.d.ts.map +0 -1
  308. package/internal/qs/utils.js +0 -229
  309. package/internal/qs/utils.js.map +0 -1
  310. package/internal/qs/utils.mjs +0 -217
  311. package/internal/qs/utils.mjs.map +0 -1
  312. package/internal/request-options.d.mts +0 -33
  313. package/internal/request-options.d.mts.map +0 -1
  314. package/internal/request-options.d.ts +0 -33
  315. package/internal/request-options.d.ts.map +0 -1
  316. package/internal/request-options.js +0 -14
  317. package/internal/request-options.js.map +0 -1
  318. package/internal/request-options.mjs +0 -10
  319. package/internal/request-options.mjs.map +0 -1
  320. package/internal/shim-types.d.mts +0 -28
  321. package/internal/shim-types.d.ts +0 -28
  322. package/internal/shims/crypto.d.mts +0 -13
  323. package/internal/shims/crypto.d.mts.map +0 -1
  324. package/internal/shims/crypto.d.ts +0 -13
  325. package/internal/shims/crypto.d.ts.map +0 -1
  326. package/internal/shims/crypto.js +0 -13
  327. package/internal/shims/crypto.js.map +0 -1
  328. package/internal/shims/crypto.mjs +0 -9
  329. package/internal/shims/crypto.mjs.map +0 -1
  330. package/internal/shims/file.d.mts +0 -23
  331. package/internal/shims/file.d.mts.map +0 -1
  332. package/internal/shims/file.d.ts +0 -23
  333. package/internal/shims/file.d.ts.map +0 -1
  334. package/internal/shims/file.js +0 -16
  335. package/internal/shims/file.js.map +0 -1
  336. package/internal/shims/file.mjs +0 -12
  337. package/internal/shims/file.mjs.map +0 -1
  338. package/internal/shims/getBuiltinModule.d.mts +0 -11
  339. package/internal/shims/getBuiltinModule.d.mts.map +0 -1
  340. package/internal/shims/getBuiltinModule.d.ts +0 -11
  341. package/internal/shims/getBuiltinModule.d.ts.map +0 -1
  342. package/internal/shims/getBuiltinModule.js +0 -71
  343. package/internal/shims/getBuiltinModule.js.map +0 -1
  344. package/internal/shims/getBuiltinModule.mjs +0 -67
  345. package/internal/shims/getBuiltinModule.mjs.map +0 -1
  346. package/internal/shims/nullGetBuiltinModule.d.mts +0 -2
  347. package/internal/shims/nullGetBuiltinModule.d.mts.map +0 -1
  348. package/internal/shims/nullGetBuiltinModule.d.ts +0 -2
  349. package/internal/shims/nullGetBuiltinModule.d.ts.map +0 -1
  350. package/internal/shims/nullGetBuiltinModule.js +0 -5
  351. package/internal/shims/nullGetBuiltinModule.js.map +0 -1
  352. package/internal/shims/nullGetBuiltinModule.mjs +0 -2
  353. package/internal/shims/nullGetBuiltinModule.mjs.map +0 -1
  354. package/internal/shims.d.mts +0 -20
  355. package/internal/shims.d.mts.map +0 -1
  356. package/internal/shims.d.ts +0 -20
  357. package/internal/shims.d.ts.map +0 -1
  358. package/internal/shims.js +0 -93
  359. package/internal/shims.js.map +0 -1
  360. package/internal/shims.mjs +0 -85
  361. package/internal/shims.mjs.map +0 -1
  362. package/internal/to-file.d.mts +0 -46
  363. package/internal/to-file.d.mts.map +0 -1
  364. package/internal/to-file.d.ts +0 -46
  365. package/internal/to-file.d.ts.map +0 -1
  366. package/internal/to-file.js +0 -91
  367. package/internal/to-file.js.map +0 -1
  368. package/internal/to-file.mjs +0 -87
  369. package/internal/to-file.mjs.map +0 -1
  370. package/internal/types.d.mts +0 -68
  371. package/internal/types.d.mts.map +0 -1
  372. package/internal/types.d.ts +0 -68
  373. package/internal/types.d.ts.map +0 -1
  374. package/internal/types.js +0 -4
  375. package/internal/types.js.map +0 -1
  376. package/internal/types.mjs +0 -3
  377. package/internal/types.mjs.map +0 -1
  378. package/internal/uploads.d.mts +0 -44
  379. package/internal/uploads.d.mts.map +0 -1
  380. package/internal/uploads.d.ts +0 -44
  381. package/internal/uploads.d.ts.map +0 -1
  382. package/internal/uploads.js +0 -131
  383. package/internal/uploads.js.map +0 -1
  384. package/internal/uploads.mjs +0 -122
  385. package/internal/uploads.mjs.map +0 -1
  386. package/internal/utils/base64.d.mts +0 -3
  387. package/internal/utils/base64.d.mts.map +0 -1
  388. package/internal/utils/base64.d.ts +0 -3
  389. package/internal/utils/base64.d.ts.map +0 -1
  390. package/internal/utils/base64.js +0 -37
  391. package/internal/utils/base64.js.map +0 -1
  392. package/internal/utils/base64.mjs +0 -32
  393. package/internal/utils/base64.mjs.map +0 -1
  394. package/internal/utils/env.d.mts +0 -9
  395. package/internal/utils/env.d.mts.map +0 -1
  396. package/internal/utils/env.d.ts +0 -9
  397. package/internal/utils/env.d.ts.map +0 -1
  398. package/internal/utils/env.js +0 -22
  399. package/internal/utils/env.js.map +0 -1
  400. package/internal/utils/env.mjs +0 -18
  401. package/internal/utils/env.mjs.map +0 -1
  402. package/internal/utils/log.d.mts +0 -38
  403. package/internal/utils/log.d.mts.map +0 -1
  404. package/internal/utils/log.d.ts +0 -38
  405. package/internal/utils/log.d.ts.map +0 -1
  406. package/internal/utils/log.js +0 -86
  407. package/internal/utils/log.js.map +0 -1
  408. package/internal/utils/log.mjs +0 -80
  409. package/internal/utils/log.mjs.map +0 -1
  410. package/internal/utils/path.d.mts +0 -15
  411. package/internal/utils/path.d.mts.map +0 -1
  412. package/internal/utils/path.d.ts +0 -15
  413. package/internal/utils/path.d.ts.map +0 -1
  414. package/internal/utils/path.js +0 -58
  415. package/internal/utils/path.js.map +0 -1
  416. package/internal/utils/path.mjs +0 -53
  417. package/internal/utils/path.mjs.map +0 -1
  418. package/internal/utils/sleep.d.mts +0 -2
  419. package/internal/utils/sleep.d.mts.map +0 -1
  420. package/internal/utils/sleep.d.ts +0 -2
  421. package/internal/utils/sleep.d.ts.map +0 -1
  422. package/internal/utils/sleep.js +0 -7
  423. package/internal/utils/sleep.js.map +0 -1
  424. package/internal/utils/sleep.mjs +0 -3
  425. package/internal/utils/sleep.mjs.map +0 -1
  426. package/internal/utils/uuid.d.mts +0 -5
  427. package/internal/utils/uuid.d.mts.map +0 -1
  428. package/internal/utils/uuid.d.ts +0 -5
  429. package/internal/utils/uuid.d.ts.map +0 -1
  430. package/internal/utils/uuid.js +0 -20
  431. package/internal/utils/uuid.js.map +0 -1
  432. package/internal/utils/uuid.mjs +0 -16
  433. package/internal/utils/uuid.mjs.map +0 -1
  434. package/internal/utils/values.d.mts +0 -16
  435. package/internal/utils/values.d.mts.map +0 -1
  436. package/internal/utils/values.d.ts +0 -16
  437. package/internal/utils/values.d.ts.map +0 -1
  438. package/internal/utils/values.js +0 -109
  439. package/internal/utils/values.js.map +0 -1
  440. package/internal/utils/values.mjs +0 -92
  441. package/internal/utils/values.mjs.map +0 -1
  442. package/internal/utils.d.mts +0 -7
  443. package/internal/utils.d.mts.map +0 -1
  444. package/internal/utils.d.ts +0 -7
  445. package/internal/utils.d.ts.map +0 -1
  446. package/internal/utils.js +0 -24
  447. package/internal/utils.js.map +0 -1
  448. package/internal/utils.mjs +0 -8
  449. package/internal/utils.mjs.map +0 -1
  450. package/resource.d.mts +0 -2
  451. package/resource.d.mts.map +0 -1
  452. package/resource.d.ts +0 -2
  453. package/resource.d.ts.map +0 -1
  454. package/resource.js +0 -19
  455. package/resource.js.map +0 -1
  456. package/resource.mjs +0 -2
  457. package/resource.mjs.map +0 -1
  458. package/resources/action-execution.d.mts +0 -155
  459. package/resources/action-execution.d.mts.map +0 -1
  460. package/resources/action-execution.d.ts +0 -155
  461. package/resources/action-execution.d.ts.map +0 -1
  462. package/resources/action-execution.js +0 -19
  463. package/resources/action-execution.js.map +0 -1
  464. package/resources/action-execution.mjs +0 -15
  465. package/resources/action-execution.mjs.map +0 -1
  466. package/resources/auth/auth.d.mts +0 -10
  467. package/resources/auth/auth.d.mts.map +0 -1
  468. package/resources/auth/auth.d.ts +0 -10
  469. package/resources/auth/auth.d.ts.map +0 -1
  470. package/resources/auth/auth.js +0 -39
  471. package/resources/auth/auth.js.map +0 -1
  472. package/resources/auth/auth.mjs +0 -12
  473. package/resources/auth/auth.mjs.map +0 -1
  474. package/resources/auth/index.d.mts +0 -3
  475. package/resources/auth/index.d.mts.map +0 -1
  476. package/resources/auth/index.d.ts +0 -3
  477. package/resources/auth/index.d.ts.map +0 -1
  478. package/resources/auth/index.js +0 -9
  479. package/resources/auth/index.js.map +0 -1
  480. package/resources/auth/index.mjs +0 -4
  481. package/resources/auth/index.mjs.map +0 -1
  482. package/resources/auth/session.d.mts +0 -75
  483. package/resources/auth/session.d.mts.map +0 -1
  484. package/resources/auth/session.d.ts +0 -75
  485. package/resources/auth/session.d.ts.map +0 -1
  486. package/resources/auth/session.js +0 -12
  487. package/resources/auth/session.js.map +0 -1
  488. package/resources/auth/session.mjs +0 -8
  489. package/resources/auth/session.mjs.map +0 -1
  490. package/resources/auth-configs.d.mts +0 -217
  491. package/resources/auth-configs.d.mts.map +0 -1
  492. package/resources/auth-configs.d.ts +0 -217
  493. package/resources/auth-configs.d.ts.map +0 -1
  494. package/resources/auth-configs.js +0 -29
  495. package/resources/auth-configs.js.map +0 -1
  496. package/resources/auth-configs.mjs +0 -25
  497. package/resources/auth-configs.mjs.map +0 -1
  498. package/resources/auth.d.mts +0 -2
  499. package/resources/auth.d.mts.map +0 -1
  500. package/resources/auth.d.ts +0 -2
  501. package/resources/auth.d.ts.map +0 -1
  502. package/resources/auth.js +0 -19
  503. package/resources/auth.js.map +0 -1
  504. package/resources/auth.mjs +0 -3
  505. package/resources/auth.mjs.map +0 -1
  506. package/resources/cli.d.mts +0 -124
  507. package/resources/cli.d.mts.map +0 -1
  508. package/resources/cli.d.ts +0 -124
  509. package/resources/cli.d.ts.map +0 -1
  510. package/resources/cli.js +0 -18
  511. package/resources/cli.js.map +0 -1
  512. package/resources/cli.mjs +0 -14
  513. package/resources/cli.mjs.map +0 -1
  514. package/resources/connected-accounts.d.mts +0 -449
  515. package/resources/connected-accounts.d.mts.map +0 -1
  516. package/resources/connected-accounts.d.ts +0 -449
  517. package/resources/connected-accounts.d.ts.map +0 -1
  518. package/resources/connected-accounts.js +0 -28
  519. package/resources/connected-accounts.js.map +0 -1
  520. package/resources/connected-accounts.mjs +0 -24
  521. package/resources/connected-accounts.mjs.map +0 -1
  522. package/resources/index.d.mts +0 -14
  523. package/resources/index.d.mts.map +0 -1
  524. package/resources/index.d.ts +0 -14
  525. package/resources/index.d.ts.map +0 -1
  526. package/resources/index.js +0 -31
  527. package/resources/index.js.map +0 -1
  528. package/resources/index.mjs +0 -15
  529. package/resources/index.mjs.map +0 -1
  530. package/resources/mcp/command.d.mts +0 -34
  531. package/resources/mcp/command.d.mts.map +0 -1
  532. package/resources/mcp/command.d.ts +0 -34
  533. package/resources/mcp/command.d.ts.map +0 -1
  534. package/resources/mcp/command.js +0 -12
  535. package/resources/mcp/command.js.map +0 -1
  536. package/resources/mcp/command.mjs +0 -8
  537. package/resources/mcp/command.mjs.map +0 -1
  538. package/resources/mcp/index.d.mts +0 -3
  539. package/resources/mcp/index.d.mts.map +0 -1
  540. package/resources/mcp/index.d.ts +0 -3
  541. package/resources/mcp/index.d.ts.map +0 -1
  542. package/resources/mcp/index.js +0 -9
  543. package/resources/mcp/index.js.map +0 -1
  544. package/resources/mcp/index.mjs +0 -4
  545. package/resources/mcp/index.mjs.map +0 -1
  546. package/resources/mcp/mcp.d.mts +0 -378
  547. package/resources/mcp/mcp.d.mts.map +0 -1
  548. package/resources/mcp/mcp.d.ts +0 -378
  549. package/resources/mcp/mcp.d.ts.map +0 -1
  550. package/resources/mcp/mcp.js +0 -66
  551. package/resources/mcp/mcp.js.map +0 -1
  552. package/resources/mcp/mcp.mjs +0 -39
  553. package/resources/mcp/mcp.mjs.map +0 -1
  554. package/resources/mcp.d.mts +0 -2
  555. package/resources/mcp.d.mts.map +0 -1
  556. package/resources/mcp.d.ts +0 -2
  557. package/resources/mcp.d.ts.map +0 -1
  558. package/resources/mcp.js +0 -19
  559. package/resources/mcp.js.map +0 -1
  560. package/resources/mcp.mjs +0 -3
  561. package/resources/mcp.mjs.map +0 -1
  562. package/resources/org/api-key.d.mts +0 -17
  563. package/resources/org/api-key.d.mts.map +0 -1
  564. package/resources/org/api-key.d.ts +0 -17
  565. package/resources/org/api-key.d.ts.map +0 -1
  566. package/resources/org/api-key.js +0 -15
  567. package/resources/org/api-key.js.map +0 -1
  568. package/resources/org/api-key.mjs +0 -11
  569. package/resources/org/api-key.mjs.map +0 -1
  570. package/resources/org/index.d.mts +0 -4
  571. package/resources/org/index.d.mts.map +0 -1
  572. package/resources/org/index.d.ts +0 -4
  573. package/resources/org/index.d.ts.map +0 -1
  574. package/resources/org/index.js +0 -11
  575. package/resources/org/index.js.map +0 -1
  576. package/resources/org/index.mjs +0 -5
  577. package/resources/org/index.mjs.map +0 -1
  578. package/resources/org/org.d.mts +0 -14
  579. package/resources/org/org.d.mts.map +0 -1
  580. package/resources/org/org.d.ts +0 -14
  581. package/resources/org/org.d.ts.map +0 -1
  582. package/resources/org/org.js +0 -43
  583. package/resources/org/org.js.map +0 -1
  584. package/resources/org/org.mjs +0 -16
  585. package/resources/org/org.mjs.map +0 -1
  586. package/resources/org/project/api-keys.d.mts +0 -109
  587. package/resources/org/project/api-keys.d.mts.map +0 -1
  588. package/resources/org/project/api-keys.d.ts +0 -109
  589. package/resources/org/project/api-keys.d.ts.map +0 -1
  590. package/resources/org/project/api-keys.js +0 -23
  591. package/resources/org/project/api-keys.js.map +0 -1
  592. package/resources/org/project/api-keys.mjs +0 -19
  593. package/resources/org/project/api-keys.mjs.map +0 -1
  594. package/resources/org/project/index.d.mts +0 -5
  595. package/resources/org/project/index.d.mts.map +0 -1
  596. package/resources/org/project/index.d.ts +0 -5
  597. package/resources/org/project/index.d.ts.map +0 -1
  598. package/resources/org/project/index.js +0 -13
  599. package/resources/org/project/index.js.map +0 -1
  600. package/resources/org/project/index.mjs +0 -6
  601. package/resources/org/project/index.mjs.map +0 -1
  602. package/resources/org/project/project.d.mts +0 -90
  603. package/resources/org/project/project.d.mts.map +0 -1
  604. package/resources/org/project/project.d.ts +0 -90
  605. package/resources/org/project/project.d.ts.map +0 -1
  606. package/resources/org/project/project.js +0 -60
  607. package/resources/org/project/project.js.map +0 -1
  608. package/resources/org/project/project.mjs +0 -33
  609. package/resources/org/project/project.mjs.map +0 -1
  610. package/resources/org/project/trigger.d.mts +0 -51
  611. package/resources/org/project/trigger.d.mts.map +0 -1
  612. package/resources/org/project/trigger.d.ts +0 -51
  613. package/resources/org/project/trigger.d.ts.map +0 -1
  614. package/resources/org/project/trigger.js +0 -16
  615. package/resources/org/project/trigger.js.map +0 -1
  616. package/resources/org/project/trigger.mjs +0 -12
  617. package/resources/org/project/trigger.mjs.map +0 -1
  618. package/resources/org/project/webhook.d.mts +0 -92
  619. package/resources/org/project/webhook.d.mts.map +0 -1
  620. package/resources/org/project/webhook.d.ts +0 -92
  621. package/resources/org/project/webhook.d.ts.map +0 -1
  622. package/resources/org/project/webhook.js +0 -24
  623. package/resources/org/project/webhook.js.map +0 -1
  624. package/resources/org/project/webhook.mjs +0 -20
  625. package/resources/org/project/webhook.mjs.map +0 -1
  626. package/resources/org/project.d.mts +0 -2
  627. package/resources/org/project.d.mts.map +0 -1
  628. package/resources/org/project.d.ts +0 -2
  629. package/resources/org/project.d.ts.map +0 -1
  630. package/resources/org/project.js +0 -19
  631. package/resources/org/project.js.map +0 -1
  632. package/resources/org/project.mjs +0 -3
  633. package/resources/org/project.mjs.map +0 -1
  634. package/resources/org.d.mts +0 -2
  635. package/resources/org.d.mts.map +0 -1
  636. package/resources/org.d.ts +0 -2
  637. package/resources/org.d.ts.map +0 -1
  638. package/resources/org.js +0 -19
  639. package/resources/org.js.map +0 -1
  640. package/resources/org.mjs +0 -3
  641. package/resources/org.mjs.map +0 -1
  642. package/resources/team-members.d.mts +0 -57
  643. package/resources/team-members.d.mts.map +0 -1
  644. package/resources/team-members.d.ts +0 -57
  645. package/resources/team-members.d.ts.map +0 -1
  646. package/resources/team-members.js +0 -22
  647. package/resources/team-members.js.map +0 -1
  648. package/resources/team-members.mjs +0 -18
  649. package/resources/team-members.mjs.map +0 -1
  650. package/resources/toolkits.d.mts +0 -141
  651. package/resources/toolkits.d.mts.map +0 -1
  652. package/resources/toolkits.d.ts +0 -141
  653. package/resources/toolkits.d.ts.map +0 -1
  654. package/resources/toolkits.js +0 -19
  655. package/resources/toolkits.js.map +0 -1
  656. package/resources/toolkits.mjs +0 -15
  657. package/resources/toolkits.mjs.map +0 -1
  658. package/resources/tools.d.mts +0 -210
  659. package/resources/tools.d.mts.map +0 -1
  660. package/resources/tools.d.ts +0 -210
  661. package/resources/tools.d.ts.map +0 -1
  662. package/resources/tools.js +0 -28
  663. package/resources/tools.js.map +0 -1
  664. package/resources/tools.mjs +0 -24
  665. package/resources/tools.mjs.map +0 -1
  666. package/resources/trigger-instances/handle.d.mts +0 -25
  667. package/resources/trigger-instances/handle.d.mts.map +0 -1
  668. package/resources/trigger-instances/handle.d.ts +0 -25
  669. package/resources/trigger-instances/handle.d.ts.map +0 -1
  670. package/resources/trigger-instances/handle.js +0 -18
  671. package/resources/trigger-instances/handle.js.map +0 -1
  672. package/resources/trigger-instances/handle.mjs +0 -14
  673. package/resources/trigger-instances/handle.mjs.map +0 -1
  674. package/resources/trigger-instances/index.d.mts +0 -3
  675. package/resources/trigger-instances/index.d.mts.map +0 -1
  676. package/resources/trigger-instances/index.d.ts +0 -3
  677. package/resources/trigger-instances/index.d.ts.map +0 -1
  678. package/resources/trigger-instances/index.js +0 -9
  679. package/resources/trigger-instances/index.js.map +0 -1
  680. package/resources/trigger-instances/index.mjs +0 -4
  681. package/resources/trigger-instances/index.mjs.map +0 -1
  682. package/resources/trigger-instances/trigger-instances.d.mts +0 -126
  683. package/resources/trigger-instances/trigger-instances.d.mts.map +0 -1
  684. package/resources/trigger-instances/trigger-instances.d.ts +0 -126
  685. package/resources/trigger-instances/trigger-instances.d.ts.map +0 -1
  686. package/resources/trigger-instances/trigger-instances.js +0 -53
  687. package/resources/trigger-instances/trigger-instances.js.map +0 -1
  688. package/resources/trigger-instances/trigger-instances.mjs +0 -26
  689. package/resources/trigger-instances/trigger-instances.mjs.map +0 -1
  690. package/resources/trigger-instances.d.mts +0 -2
  691. package/resources/trigger-instances.d.mts.map +0 -1
  692. package/resources/trigger-instances.d.ts +0 -2
  693. package/resources/trigger-instances.d.ts.map +0 -1
  694. package/resources/trigger-instances.js +0 -19
  695. package/resources/trigger-instances.js.map +0 -1
  696. package/resources/trigger-instances.mjs +0 -3
  697. package/resources/trigger-instances.mjs.map +0 -1
  698. package/resources/trigger.d.mts +0 -73
  699. package/resources/trigger.d.mts.map +0 -1
  700. package/resources/trigger.d.ts +0 -73
  701. package/resources/trigger.d.ts.map +0 -1
  702. package/resources/trigger.js +0 -12
  703. package/resources/trigger.js.map +0 -1
  704. package/resources/trigger.mjs +0 -8
  705. package/resources/trigger.mjs.map +0 -1
  706. package/resources/triggers-types.d.mts +0 -59
  707. package/resources/triggers-types.d.mts.map +0 -1
  708. package/resources/triggers-types.d.ts +0 -59
  709. package/resources/triggers-types.d.ts.map +0 -1
  710. package/resources/triggers-types.js +0 -19
  711. package/resources/triggers-types.js.map +0 -1
  712. package/resources/triggers-types.mjs +0 -15
  713. package/resources/triggers-types.mjs.map +0 -1
  714. package/resources.d.mts +0 -2
  715. package/resources.d.mts.map +0 -1
  716. package/resources.d.ts +0 -2
  717. package/resources.d.ts.map +0 -1
  718. package/resources.js +0 -18
  719. package/resources.js.map +0 -1
  720. package/resources.mjs +0 -2
  721. package/resources.mjs.map +0 -1
  722. package/src/api-promise.ts +0 -2
  723. package/src/client.ts +0 -938
  724. package/src/core/README.md +0 -3
  725. package/src/core/api-promise.ts +0 -92
  726. package/src/core/error.ts +0 -130
  727. package/src/core/resource.ts +0 -11
  728. package/src/core/uploads.ts +0 -2
  729. package/src/error.ts +0 -2
  730. package/src/index.ts +0 -22
  731. package/src/internal/README.md +0 -3
  732. package/src/internal/builtin-types.ts +0 -93
  733. package/src/internal/detect-platform.ts +0 -196
  734. package/src/internal/errors.ts +0 -33
  735. package/src/internal/headers.ts +0 -96
  736. package/src/internal/parse.ts +0 -50
  737. package/src/internal/qs/LICENSE.md +0 -13
  738. package/src/internal/qs/README.md +0 -3
  739. package/src/internal/qs/formats.ts +0 -9
  740. package/src/internal/qs/index.ts +0 -13
  741. package/src/internal/qs/stringify.ts +0 -388
  742. package/src/internal/qs/types.ts +0 -71
  743. package/src/internal/qs/utils.ts +0 -265
  744. package/src/internal/request-options.ts +0 -37
  745. package/src/internal/shim-types.d.ts +0 -28
  746. package/src/internal/shims/crypto.ts +0 -18
  747. package/src/internal/shims/file.ts +0 -32
  748. package/src/internal/shims/getBuiltinModule.ts +0 -66
  749. package/src/internal/shims/nullGetBuiltinModule.ts +0 -1
  750. package/src/internal/shims.ts +0 -107
  751. package/src/internal/to-file.ts +0 -152
  752. package/src/internal/types.ts +0 -92
  753. package/src/internal/uploads.ts +0 -175
  754. package/src/internal/utils/base64.ts +0 -39
  755. package/src/internal/utils/env.ts +0 -18
  756. package/src/internal/utils/log.ts +0 -127
  757. package/src/internal/utils/path.ts +0 -63
  758. package/src/internal/utils/sleep.ts +0 -3
  759. package/src/internal/utils/uuid.ts +0 -19
  760. package/src/internal/utils/values.ts +0 -102
  761. package/src/internal/utils.ts +0 -8
  762. package/src/lib/.keep +0 -4
  763. package/src/resource.ts +0 -2
  764. package/src/resources/action-execution.ts +0 -244
  765. package/src/resources/auth/auth.ts +0 -15
  766. package/src/resources/auth/index.ts +0 -4
  767. package/src/resources/auth/session.ts +0 -127
  768. package/src/resources/auth-configs.ts +0 -362
  769. package/src/resources/auth.ts +0 -3
  770. package/src/resources/cli.ts +0 -166
  771. package/src/resources/connected-accounts.ts +0 -661
  772. package/src/resources/index.ts +0 -105
  773. package/src/resources/mcp/command.ts +0 -47
  774. package/src/resources/mcp/index.ts +0 -17
  775. package/src/resources/mcp/mcp.ts +0 -519
  776. package/src/resources/mcp.ts +0 -3
  777. package/src/resources/org/api-key.ts +0 -30
  778. package/src/resources/org/index.ts +0 -12
  779. package/src/resources/org/org.ts +0 -39
  780. package/src/resources/org/project/api-keys.ts +0 -156
  781. package/src/resources/org/project/index.ts +0 -35
  782. package/src/resources/org/project/project.ts +0 -206
  783. package/src/resources/org/project/trigger.ts +0 -95
  784. package/src/resources/org/project/webhook.ts +0 -131
  785. package/src/resources/org/project.ts +0 -3
  786. package/src/resources/org.ts +0 -3
  787. package/src/resources/team-members.ts +0 -111
  788. package/src/resources/toolkits.ts +0 -232
  789. package/src/resources/tools.ts +0 -319
  790. package/src/resources/trigger-instances/handle.ts +0 -45
  791. package/src/resources/trigger-instances/index.ts +0 -19
  792. package/src/resources/trigger-instances/trigger-instances.ts +0 -202
  793. package/src/resources/trigger-instances.ts +0 -3
  794. package/src/resources/trigger.ts +0 -108
  795. package/src/resources/triggers-types.ts +0 -105
  796. package/src/resources.ts +0 -1
  797. package/src/tsconfig.json +0 -11
  798. package/src/uploads.ts +0 -2
  799. package/src/version.ts +0 -1
  800. package/uploads.d.mts +0 -2
  801. package/uploads.d.mts.map +0 -1
  802. package/uploads.d.ts +0 -2
  803. package/uploads.d.ts.map +0 -1
  804. package/uploads.js +0 -19
  805. package/uploads.js.map +0 -1
  806. package/uploads.mjs +0 -2
  807. package/uploads.mjs.map +0 -1
  808. package/version.d.mts +0 -2
  809. package/version.d.mts.map +0 -1
  810. package/version.d.ts +0 -2
  811. package/version.d.ts.map +0 -1
  812. package/version.js +0 -5
  813. package/version.js.map +0 -1
  814. package/version.mjs +0 -2
  815. package/version.mjs.map +0 -1
@@ -1,109 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.safeJSON = exports.maybeCoerceBoolean = exports.maybeCoerceFloat = exports.maybeCoerceInteger = exports.coerceBoolean = exports.coerceFloat = exports.coerceInteger = exports.validatePositiveInteger = exports.ensurePresent = exports.isObj = exports.hasOwn = exports.isEmptyObj = exports.maybeObj = exports.isAbsoluteURL = void 0;
5
- const error_1 = require("../../core/error.js");
6
- // https://url.spec.whatwg.org/#url-scheme-string
7
- const startsWithSchemeRegexp = /^[a-z][a-z0-9+.-]*:/i;
8
- const isAbsoluteURL = (url) => {
9
- return startsWithSchemeRegexp.test(url);
10
- };
11
- exports.isAbsoluteURL = isAbsoluteURL;
12
- /** Returns an object if the given value isn't an object, otherwise returns as-is */
13
- function maybeObj(x) {
14
- if (typeof x !== 'object') {
15
- return {};
16
- }
17
- return x ?? {};
18
- }
19
- exports.maybeObj = maybeObj;
20
- // https://stackoverflow.com/a/34491287
21
- function isEmptyObj(obj) {
22
- if (!obj)
23
- return true;
24
- for (const _k in obj)
25
- return false;
26
- return true;
27
- }
28
- exports.isEmptyObj = isEmptyObj;
29
- // https://eslint.org/docs/latest/rules/no-prototype-builtins
30
- function hasOwn(obj, key) {
31
- return Object.prototype.hasOwnProperty.call(obj, key);
32
- }
33
- exports.hasOwn = hasOwn;
34
- function isObj(obj) {
35
- return obj != null && typeof obj === 'object' && !Array.isArray(obj);
36
- }
37
- exports.isObj = isObj;
38
- const ensurePresent = (value) => {
39
- if (value == null) {
40
- throw new error_1.ComposioError(`Expected a value to be given but received ${value} instead.`);
41
- }
42
- return value;
43
- };
44
- exports.ensurePresent = ensurePresent;
45
- const validatePositiveInteger = (name, n) => {
46
- if (typeof n !== 'number' || !Number.isInteger(n)) {
47
- throw new error_1.ComposioError(`${name} must be an integer`);
48
- }
49
- if (n < 0) {
50
- throw new error_1.ComposioError(`${name} must be a positive integer`);
51
- }
52
- return n;
53
- };
54
- exports.validatePositiveInteger = validatePositiveInteger;
55
- const coerceInteger = (value) => {
56
- if (typeof value === 'number')
57
- return Math.round(value);
58
- if (typeof value === 'string')
59
- return parseInt(value, 10);
60
- throw new error_1.ComposioError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
61
- };
62
- exports.coerceInteger = coerceInteger;
63
- const coerceFloat = (value) => {
64
- if (typeof value === 'number')
65
- return value;
66
- if (typeof value === 'string')
67
- return parseFloat(value);
68
- throw new error_1.ComposioError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
69
- };
70
- exports.coerceFloat = coerceFloat;
71
- const coerceBoolean = (value) => {
72
- if (typeof value === 'boolean')
73
- return value;
74
- if (typeof value === 'string')
75
- return value === 'true';
76
- return Boolean(value);
77
- };
78
- exports.coerceBoolean = coerceBoolean;
79
- const maybeCoerceInteger = (value) => {
80
- if (value === undefined) {
81
- return undefined;
82
- }
83
- return (0, exports.coerceInteger)(value);
84
- };
85
- exports.maybeCoerceInteger = maybeCoerceInteger;
86
- const maybeCoerceFloat = (value) => {
87
- if (value === undefined) {
88
- return undefined;
89
- }
90
- return (0, exports.coerceFloat)(value);
91
- };
92
- exports.maybeCoerceFloat = maybeCoerceFloat;
93
- const maybeCoerceBoolean = (value) => {
94
- if (value === undefined) {
95
- return undefined;
96
- }
97
- return (0, exports.coerceBoolean)(value);
98
- };
99
- exports.maybeCoerceBoolean = maybeCoerceBoolean;
100
- const safeJSON = (text) => {
101
- try {
102
- return JSON.parse(text);
103
- }
104
- catch (err) {
105
- return undefined;
106
- }
107
- };
108
- exports.safeJSON = safeJSON;
109
- //# sourceMappingURL=values.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"values.js","sourceRoot":"","sources":["../../src/internal/utils/values.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,+CAAiD;AAEjD,iDAAiD;AACjD,MAAM,sBAAsB,GAAG,sBAAsB,CAAC;AAE/C,MAAM,aAAa,GAAG,CAAC,GAAW,EAAW,EAAE;IACpD,OAAO,sBAAsB,CAAC,IAAI,CAAC,GAA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KAClB;IACD,OAAO,IAAA,qBAAa,EAAC,KAAK,CAAC,CAAC;AAC9B,CAAC,CAAC;AALW,QAAA,kBAAkB,sBAK7B;AAEK,MAAM,gBAAgB,GAAG,CAAC,KAAc,EAAsB,EAAE;IACrE,IAAI,KAAK,KAAK,SAAS,EAAE;QACvB,OAAO,SAAS,CAAC;KAClB;IACD,OAAO,IAAA,mBAAW,EAAC,KAAK,CAAC,CAAC;AAC5B,CAAC,CAAC;AALW,QAAA,gBAAgB,oBAK3B;AAEK,MAAM,kBAAkB,GAAG,CAAC,KAAc,EAAuB,EAAE;IACxE,IAAI,KAAK,KAAK,SAAS,EAAE;QACvB,OAAO,SAAS,CAAC;KAClB;IACD,OAAO,IAAA,qBAAa,EAAC,KAAK,CAAC,CAAC;AAC9B,CAAC,CAAC;AALW,QAAA,kBAAkB,sBAK7B;AAEK,MAAM,QAAQ,GAAG,CAAC,IAAY,EAAE,EAAE;IACvC,IAAI;QACF,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;KACzB;IAAC,OAAO,GAAG,EAAE;QACZ,OAAO,SAAS,CAAC;KAClB;AACH,CAAC,CAAC;AANW,QAAA,QAAQ,YAMnB"}
@@ -1,92 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { ComposioError } from "../../core/error.mjs";
3
- // https://url.spec.whatwg.org/#url-scheme-string
4
- const startsWithSchemeRegexp = /^[a-z][a-z0-9+.-]*:/i;
5
- export const isAbsoluteURL = (url) => {
6
- return startsWithSchemeRegexp.test(url);
7
- };
8
- /** Returns an object if the given value isn't an object, otherwise returns as-is */
9
- export function maybeObj(x) {
10
- if (typeof x !== 'object') {
11
- return {};
12
- }
13
- return x ?? {};
14
- }
15
- // https://stackoverflow.com/a/34491287
16
- export function isEmptyObj(obj) {
17
- if (!obj)
18
- return true;
19
- for (const _k in obj)
20
- return false;
21
- return true;
22
- }
23
- // https://eslint.org/docs/latest/rules/no-prototype-builtins
24
- export function hasOwn(obj, key) {
25
- return Object.prototype.hasOwnProperty.call(obj, key);
26
- }
27
- export function isObj(obj) {
28
- return obj != null && typeof obj === 'object' && !Array.isArray(obj);
29
- }
30
- export const ensurePresent = (value) => {
31
- if (value == null) {
32
- throw new ComposioError(`Expected a value to be given but received ${value} instead.`);
33
- }
34
- return value;
35
- };
36
- export const validatePositiveInteger = (name, n) => {
37
- if (typeof n !== 'number' || !Number.isInteger(n)) {
38
- throw new ComposioError(`${name} must be an integer`);
39
- }
40
- if (n < 0) {
41
- throw new ComposioError(`${name} must be a positive integer`);
42
- }
43
- return n;
44
- };
45
- export const coerceInteger = (value) => {
46
- if (typeof value === 'number')
47
- return Math.round(value);
48
- if (typeof value === 'string')
49
- return parseInt(value, 10);
50
- throw new ComposioError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
51
- };
52
- export const coerceFloat = (value) => {
53
- if (typeof value === 'number')
54
- return value;
55
- if (typeof value === 'string')
56
- return parseFloat(value);
57
- throw new ComposioError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
58
- };
59
- export const coerceBoolean = (value) => {
60
- if (typeof value === 'boolean')
61
- return value;
62
- if (typeof value === 'string')
63
- return value === 'true';
64
- return Boolean(value);
65
- };
66
- export const maybeCoerceInteger = (value) => {
67
- if (value === undefined) {
68
- return undefined;
69
- }
70
- return coerceInteger(value);
71
- };
72
- export const maybeCoerceFloat = (value) => {
73
- if (value === undefined) {
74
- return undefined;
75
- }
76
- return coerceFloat(value);
77
- };
78
- export const maybeCoerceBoolean = (value) => {
79
- if (value === undefined) {
80
- return undefined;
81
- }
82
- return coerceBoolean(value);
83
- };
84
- export const safeJSON = (text) => {
85
- try {
86
- return JSON.parse(text);
87
- }
88
- catch (err) {
89
- return undefined;
90
- }
91
- };
92
- //# sourceMappingURL=values.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"values.mjs","sourceRoot":"","sources":["../../src/internal/utils/values.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE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ACvE,IAAI,KAAK,KAAK,SAAS,EAAE;QACvB,OAAO,SAAS,CAAC;KAClB;IACD,OAAO,aAAa,CAAC,KAAK,CAAC,CAAC;AAC9B,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,KAAc,EAAsB,EAAE;IACrE,IAAI,KAAK,KAAK,SAAS,EAAE;QACvB,OAAO,SAAS,CAAC;KAClB;IACD,OAAO,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5B,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,KAAc,EAAuB,EAAE;IACxE,IAAI,KAAK,KAAK,SAAS,EAAE;QACvB,OAAO,SAAS,CAAC;KAClB;IACD,OAAO,aAAa,CAAC,KAAK,CAAC,CAAC;AAC9B,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,IAAY,EAAE,EAAE;IACvC,IAAI;QACF,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;KACzB;IAAC,OAAO,GAAG,EAAE;QACZ,OAAO,SAAS,CAAC;KAClB;AACH,CAAC,CAAC"}
@@ -1,7 +0,0 @@
1
- export * from "./utils/values.mjs";
2
- export * from "./utils/base64.mjs";
3
- export * from "./utils/env.mjs";
4
- export * from "./utils/log.mjs";
5
- export * from "./utils/uuid.mjs";
6
- export * from "./utils/sleep.mjs";
7
- //# sourceMappingURL=utils.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.mts","sourceRoot":"","sources":["../src/internal/utils.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- export * from "./utils/values.js";
2
- export * from "./utils/base64.js";
3
- export * from "./utils/env.js";
4
- export * from "./utils/log.js";
5
- export * from "./utils/uuid.js";
6
- export * from "./utils/sleep.js";
7
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/internal/utils.ts"],"names":[],"mappings":""}
package/internal/utils.js DELETED
@@ -1,24 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
- };
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- __exportStar(require("./utils/values.js"), exports);
19
- __exportStar(require("./utils/base64.js"), exports);
20
- __exportStar(require("./utils/env.js"), exports);
21
- __exportStar(require("./utils/log.js"), exports);
22
- __exportStar(require("./utils/uuid.js"), exports);
23
- __exportStar(require("./utils/sleep.js"), exports);
24
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/internal/utils.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;AAEtF,oDAA+B;AAC/B,oDAA+B;AAC/B,iDAA4B;AAC5B,iDAA4B;AAC5B,kDAA6B;AAC7B,mDAA8B"}
@@ -1,8 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- export * from "./utils/values.mjs";
3
- export * from "./utils/base64.mjs";
4
- export * from "./utils/env.mjs";
5
- export * from "./utils/log.mjs";
6
- export * from "./utils/uuid.mjs";
7
- export * from "./utils/sleep.mjs";
8
- //# sourceMappingURL=utils.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.mjs","sourceRoot":"","sources":["../src/internal/utils.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
package/resource.d.mts DELETED
@@ -1,2 +0,0 @@
1
- export * from "./core/resource.mjs";
2
- //# sourceMappingURL=resource.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resource.d.mts","sourceRoot":"","sources":["src/resource.ts"],"names":[],"mappings":""}
package/resource.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from "./core/resource.js";
2
- //# sourceMappingURL=resource.d.ts.map
package/resource.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["src/resource.ts"],"names":[],"mappings":""}
package/resource.js DELETED
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- /** @deprecated Import from ./core/resource instead */
18
- __exportStar(require("./core/resource.js"), exports);
19
- //# sourceMappingURL=resource.js.map
package/resource.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"resource.js","sourceRoot":"","sources":["src/resource.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAsD;AACtD,qDAAgC"}
package/resource.mjs DELETED
@@ -1,2 +0,0 @@
1
- export * from "./core/resource.mjs";
2
- //# sourceMappingURL=resource.mjs.map
package/resource.mjs.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"resource.mjs","sourceRoot":"","sources":["src/resource.ts"],"names":[],"mappings":""}
@@ -1,155 +0,0 @@
1
- import { APIResource } from "../core/resource.mjs";
2
- import { APIPromise } from "../core/api-promise.mjs";
3
- import { RequestOptions } from "../internal/request-options.mjs";
4
- export declare class ActionExecution extends APIResource {
5
- log(body: ActionExecutionLogParams, options?: RequestOptions): APIPromise<ActionExecutionLogResponse>;
6
- retrieveFields(options?: RequestOptions): APIPromise<ActionExecutionRetrieveFieldsResponse>;
7
- retrieveLog(id: string, options?: RequestOptions): APIPromise<ActionExecutionRetrieveLogResponse>;
8
- }
9
- export interface ActionExecutionLogResponse {
10
- data: Array<ActionExecutionLogResponse.Data>;
11
- nextCursor: number | null;
12
- }
13
- export declare namespace ActionExecutionLogResponse {
14
- interface Data {
15
- id: string;
16
- actionKey: string;
17
- app: Data.App;
18
- appKey: string;
19
- connectedAccountId: string;
20
- createdAt: number;
21
- entityId: string;
22
- executionTime: number;
23
- minimalResponse: string;
24
- status: 'success' | 'failed';
25
- }
26
- namespace Data {
27
- interface App {
28
- icon: string;
29
- name: string;
30
- }
31
- }
32
- }
33
- export interface ActionExecutionRetrieveFieldsResponse {
34
- fields: Record<string, Array<ActionExecutionRetrieveFieldsResponse.Field>>;
35
- }
36
- export declare namespace ActionExecutionRetrieveFieldsResponse {
37
- interface Field {
38
- /**
39
- * The id of the field
40
- */
41
- id: string;
42
- /**
43
- * The display name of the field
44
- */
45
- displayName: string;
46
- /**
47
- * The type of the field
48
- */
49
- type: string;
50
- /**
51
- * The regex of the field
52
- */
53
- regex?: string;
54
- }
55
- }
56
- export interface ActionExecutionRetrieveLogResponse {
57
- actionId: string;
58
- actionLogId: string;
59
- app: ActionExecutionRetrieveLogResponse.App;
60
- connection: ActionExecutionRetrieveLogResponse.Connection;
61
- endTime: number;
62
- error: Record<string, unknown>;
63
- executionMetadata: Record<string, unknown>;
64
- payloadReceived: Record<string, unknown>;
65
- response: Record<string, unknown>;
66
- session: Record<string, unknown>;
67
- startTime: number;
68
- status: 'success' | 'error' | 'warning' | 'info';
69
- steps: Array<ActionExecutionRetrieveLogResponse.Step>;
70
- totalDuration: string;
71
- version: string;
72
- }
73
- export declare namespace ActionExecutionRetrieveLogResponse {
74
- interface App {
75
- icon: string;
76
- name: string;
77
- uniqueId: string;
78
- }
79
- interface Connection {
80
- entity: string;
81
- id?: string;
82
- }
83
- interface Step {
84
- endTime: number;
85
- message: string;
86
- startTime: number;
87
- status: 'success' | 'failure' | 'error';
88
- totalDuration: number;
89
- type: 'tool_execution' | 'fetch_connection_details';
90
- logs?: Array<Step.Log>;
91
- metadata?: Step.Metadata;
92
- }
93
- namespace Step {
94
- interface Log {
95
- level: string;
96
- message: string;
97
- request: Log.Request;
98
- requestId: string;
99
- response: Log.Response;
100
- time: number;
101
- type: 'network' | 'system';
102
- }
103
- namespace Log {
104
- interface Request {
105
- method: string;
106
- url: string;
107
- headers?: Record<string, string>;
108
- json?: Record<string, unknown>;
109
- params?: Record<string, unknown>;
110
- timeout?: number;
111
- }
112
- interface Response {
113
- status: number;
114
- time: string;
115
- }
116
- }
117
- interface Metadata {
118
- encryption?: string;
119
- }
120
- }
121
- }
122
- export interface ActionExecutionLogParams {
123
- /**
124
- * cursor_that_can_be_used_to_paginate_through_the_logs
125
- */
126
- cursor: number | null;
127
- /**
128
- * whether_the_search_is_case_sensitive_or_not
129
- */
130
- case_sensitive?: boolean;
131
- /**
132
- * start_time_of_the_logs_in_epoch_time
133
- */
134
- from?: number;
135
- /**
136
- * number_of_logs_to_return
137
- */
138
- limit?: number;
139
- search_params?: Array<ActionExecutionLogParams.SearchParam>;
140
- /**
141
- * end_time_of_the_logs_in_epoch_time
142
- */
143
- to?: number;
144
- }
145
- export declare namespace ActionExecutionLogParams {
146
- interface SearchParam {
147
- field?: string;
148
- operation?: string;
149
- value?: string;
150
- }
151
- }
152
- export declare namespace ActionExecution {
153
- export { type ActionExecutionLogResponse as ActionExecutionLogResponse, type ActionExecutionRetrieveFieldsResponse as ActionExecutionRetrieveFieldsResponse, type ActionExecutionRetrieveLogResponse as ActionExecutionRetrieveLogResponse, type ActionExecutionLogParams as ActionExecutionLogParams, };
154
- }
155
- //# sourceMappingURL=action-execution.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"action-execution.d.mts","sourceRoot":"","sources":["../src/resources/action-execution.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,eAAgB,SAAQ,WAAW;IAC9C,GAAG,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAIrG,cAAc,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qCAAqC,CAAC;IAI3F,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kCAAkC,CAAC;CAGlG;AAED,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,KAAK,CAAC,0BAA0B,CAAC,IAAI,CAAC,CAAC;IAE7C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,IAAI;QACnB,EAAE,EAAE,MAAM,CAAC;QAEX,SAAS,EAAE,MAAM,CAAC;QAElB,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC;QAEd,MAAM,EAAE,MAAM,CAAC;QAEf,kBAAkB,EAAE,MAAM,CAAC;QAE3B,SAAS,EAAE,MAAM,CAAC;QAElB,QAAQ,EAAE,MAAM,CAAC;QAEjB,aAAa,EAAE,MAAM,CAAC;QAEtB,eAAe,EAAE,MAAM,CAAC;QAExB,MAAM,EAAE,SAAS,GAAG,QAAQ,CAAC;KAC9B;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,GAAG;YAClB,IA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AAM,EAAE,MAAM,CAAC;gBAEf,IAAI,EAAE,MAAM,CAAC;aACd;SACF;QAED,UAAiB,QAAQ;YACvB,UAAU,CAAC,EAAE,MAAM,CAAC;SACrB;KACF;CACF;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,aAAa,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,WAAW,CAAC,CAAC;IAE5D;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,yBAAiB,wBAAwB,CAAC;IACxC,UAAiB,WAAW;QAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
@@ -1,155 +0,0 @@
1
- import { APIResource } from "../core/resource.js";
2
- import { APIPromise } from "../core/api-promise.js";
3
- import { RequestOptions } from "../internal/request-options.js";
4
- export declare class ActionExecution extends APIResource {
5
- log(body: ActionExecutionLogParams, options?: RequestOptions): APIPromise<ActionExecutionLogResponse>;
6
- retrieveFields(options?: RequestOptions): APIPromise<ActionExecutionRetrieveFieldsResponse>;
7
- retrieveLog(id: string, options?: RequestOptions): APIPromise<ActionExecutionRetrieveLogResponse>;
8
- }
9
- export interface ActionExecutionLogResponse {
10
- data: Array<ActionExecutionLogResponse.Data>;
11
- nextCursor: number | null;
12
- }
13
- export declare namespace ActionExecutionLogResponse {
14
- interface Data {
15
- id: string;
16
- actionKey: string;
17
- app: Data.App;
18
- appKey: string;
19
- connectedAccountId: string;
20
- createdAt: number;
21
- entityId: string;
22
- executionTime: number;
23
- minimalResponse: string;
24
- status: 'success' | 'failed';
25
- }
26
- namespace Data {
27
- interface App {
28
- icon: string;
29
- name: string;
30
- }
31
- }
32
- }
33
- export interface ActionExecutionRetrieveFieldsResponse {
34
- fields: Record<string, Array<ActionExecutionRetrieveFieldsResponse.Field>>;
35
- }
36
- export declare namespace ActionExecutionRetrieveFieldsResponse {
37
- interface Field {
38
- /**
39
- * The id of the field
40
- */
41
- id: string;
42
- /**
43
- * The display name of the field
44
- */
45
- displayName: string;
46
- /**
47
- * The type of the field
48
- */
49
- type: string;
50
- /**
51
- * The regex of the field
52
- */
53
- regex?: string;
54
- }
55
- }
56
- export interface ActionExecutionRetrieveLogResponse {
57
- actionId: string;
58
- actionLogId: string;
59
- app: ActionExecutionRetrieveLogResponse.App;
60
- connection: ActionExecutionRetrieveLogResponse.Connection;
61
- endTime: number;
62
- error: Record<string, unknown>;
63
- executionMetadata: Record<string, unknown>;
64
- payloadReceived: Record<string, unknown>;
65
- response: Record<string, unknown>;
66
- session: Record<string, unknown>;
67
- startTime: number;
68
- status: 'success' | 'error' | 'warning' | 'info';
69
- steps: Array<ActionExecutionRetrieveLogResponse.Step>;
70
- totalDuration: string;
71
- version: string;
72
- }
73
- export declare namespace ActionExecutionRetrieveLogResponse {
74
- interface App {
75
- icon: string;
76
- name: string;
77
- uniqueId: string;
78
- }
79
- interface Connection {
80
- entity: string;
81
- id?: string;
82
- }
83
- interface Step {
84
- endTime: number;
85
- message: string;
86
- startTime: number;
87
- status: 'success' | 'failure' | 'error';
88
- totalDuration: number;
89
- type: 'tool_execution' | 'fetch_connection_details';
90
- logs?: Array<Step.Log>;
91
- metadata?: Step.Metadata;
92
- }
93
- namespace Step {
94
- interface Log {
95
- level: string;
96
- message: string;
97
- request: Log.Request;
98
- requestId: string;
99
- response: Log.Response;
100
- time: number;
101
- type: 'network' | 'system';
102
- }
103
- namespace Log {
104
- interface Request {
105
- method: string;
106
- url: string;
107
- headers?: Record<string, string>;
108
- json?: Record<string, unknown>;
109
- params?: Record<string, unknown>;
110
- timeout?: number;
111
- }
112
- interface Response {
113
- status: number;
114
- time: string;
115
- }
116
- }
117
- interface Metadata {
118
- encryption?: string;
119
- }
120
- }
121
- }
122
- export interface ActionExecutionLogParams {
123
- /**
124
- * cursor_that_can_be_used_to_paginate_through_the_logs
125
- */
126
- cursor: number | null;
127
- /**
128
- * whether_the_search_is_case_sensitive_or_not
129
- */
130
- case_sensitive?: boolean;
131
- /**
132
- * start_time_of_the_logs_in_epoch_time
133
- */
134
- from?: number;
135
- /**
136
- * number_of_logs_to_return
137
- */
138
- limit?: number;
139
- search_params?: Array<ActionExecutionLogParams.SearchParam>;
140
- /**
141
- * end_time_of_the_logs_in_epoch_time
142
- */
143
- to?: number;
144
- }
145
- export declare namespace ActionExecutionLogParams {
146
- interface SearchParam {
147
- field?: string;
148
- operation?: string;
149
- value?: string;
150
- }
151
- }
152
- export declare namespace ActionExecution {
153
- export { type ActionExecutionLogResponse as ActionExecutionLogResponse, type ActionExecutionRetrieveFieldsResponse as ActionExecutionRetrieveFieldsResponse, type ActionExecutionRetrieveLogResponse as ActionExecutionRetrieveLogResponse, type ActionExecutionLogParams as ActionExecutionLogParams, };
154
- }
155
- //# sourceMappingURL=action-execution.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"action-execution.d.ts","sourceRoot":"","sources":["../src/resources/action-execution.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,eAAgB,SAAQ,WAAW;IAC9C,GAAG,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0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