@composio/client 0.1.0-alpha.6 → 0.1.0-alpha.60

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 (681) hide show
  1. package/CHANGELOG.md +812 -0
  2. package/LICENSE +1 -1
  3. package/README.md +22 -35
  4. package/api-promise.js +2 -15
  5. package/api-promise.js.map +1 -1
  6. package/client.d.mts +51 -39
  7. package/client.d.mts.map +1 -1
  8. package/client.d.ts +51 -39
  9. package/client.d.ts.map +1 -1
  10. package/client.js +111 -99
  11. package/client.js.map +1 -1
  12. package/client.mjs +92 -57
  13. package/client.mjs.map +1 -1
  14. package/core/api-promise.d.mts +0 -1
  15. package/core/api-promise.d.mts.map +1 -1
  16. package/core/api-promise.d.ts +0 -1
  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 +0 -1
  23. package/core/error.d.mts.map +1 -1
  24. package/core/error.d.ts +0 -1
  25. package/core/error.d.ts.map +1 -1
  26. package/core/error.js.map +1 -1
  27. package/core/error.mjs.map +1 -1
  28. package/core/resource.d.mts +1 -1
  29. package/core/resource.d.mts.map +1 -1
  30. package/core/resource.d.ts +1 -1
  31. package/core/resource.d.ts.map +1 -1
  32. package/core/resource.js.map +1 -1
  33. package/core/resource.mjs.map +1 -1
  34. package/error.js +2 -15
  35. package/error.js.map +1 -1
  36. package/internal/builtin-types.d.mts +0 -2
  37. package/internal/builtin-types.d.mts.map +1 -1
  38. package/internal/builtin-types.d.ts +0 -2
  39. package/internal/builtin-types.d.ts.map +1 -1
  40. package/internal/detect-platform.js +3 -3
  41. package/internal/detect-platform.js.map +1 -1
  42. package/internal/detect-platform.mjs +3 -3
  43. package/internal/detect-platform.mjs.map +1 -1
  44. package/internal/errors.d.mts.map +1 -1
  45. package/internal/errors.d.ts.map +1 -1
  46. package/internal/errors.js +2 -2
  47. package/internal/errors.js.map +1 -1
  48. package/internal/errors.mjs.map +1 -1
  49. package/internal/headers.d.mts +1 -2
  50. package/internal/headers.d.mts.map +1 -1
  51. package/internal/headers.d.ts +1 -2
  52. package/internal/headers.d.ts.map +1 -1
  53. package/internal/headers.js +7 -5
  54. package/internal/headers.js.map +1 -1
  55. package/internal/headers.mjs +7 -5
  56. package/internal/headers.mjs.map +1 -1
  57. package/internal/parse.d.mts +0 -1
  58. package/internal/parse.d.mts.map +1 -1
  59. package/internal/parse.d.ts +0 -1
  60. package/internal/parse.d.ts.map +1 -1
  61. package/internal/parse.js +6 -2
  62. package/internal/parse.js.map +1 -1
  63. package/internal/parse.mjs +5 -0
  64. package/internal/parse.mjs.map +1 -1
  65. package/internal/qs/formats.d.mts +1 -0
  66. package/internal/qs/formats.d.mts.map +1 -1
  67. package/internal/qs/formats.d.ts +1 -0
  68. package/internal/qs/formats.d.ts.map +1 -1
  69. package/internal/qs/formats.js +4 -2
  70. package/internal/qs/formats.js.map +1 -1
  71. package/internal/qs/formats.mjs +2 -1
  72. package/internal/qs/formats.mjs.map +1 -1
  73. package/internal/qs/stringify.d.mts.map +1 -1
  74. package/internal/qs/stringify.d.ts.map +1 -1
  75. package/internal/qs/stringify.js +16 -19
  76. package/internal/qs/stringify.js.map +1 -1
  77. package/internal/qs/stringify.mjs +17 -19
  78. package/internal/qs/stringify.mjs.map +1 -1
  79. package/internal/qs/utils.d.mts +1 -0
  80. package/internal/qs/utils.d.mts.map +1 -1
  81. package/internal/qs/utils.d.ts +1 -0
  82. package/internal/qs/utils.d.ts.map +1 -1
  83. package/internal/qs/utils.js +22 -21
  84. package/internal/qs/utils.js.map +1 -1
  85. package/internal/qs/utils.mjs +12 -12
  86. package/internal/qs/utils.mjs.map +1 -1
  87. package/internal/request-options.d.mts +43 -1
  88. package/internal/request-options.d.mts.map +1 -1
  89. package/internal/request-options.d.ts +43 -1
  90. package/internal/request-options.d.ts.map +1 -1
  91. package/internal/request-options.js.map +1 -1
  92. package/internal/request-options.mjs.map +1 -1
  93. package/internal/shim-types.d.mts +11 -22
  94. package/internal/shim-types.d.mts.map +1 -0
  95. package/internal/shim-types.d.ts +11 -22
  96. package/internal/shim-types.d.ts.map +1 -0
  97. package/internal/shim-types.js +4 -0
  98. package/internal/shim-types.js.map +1 -0
  99. package/{resources/org.mjs → internal/shim-types.mjs} +2 -2
  100. package/internal/shim-types.mjs.map +1 -0
  101. package/internal/shims.d.mts +2 -2
  102. package/internal/shims.d.mts.map +1 -1
  103. package/internal/shims.d.ts +2 -2
  104. package/internal/shims.d.ts.map +1 -1
  105. package/internal/shims.js +5 -6
  106. package/internal/shims.js.map +1 -1
  107. package/internal/shims.mjs.map +1 -1
  108. package/internal/to-file.d.mts +1 -2
  109. package/internal/to-file.d.mts.map +1 -1
  110. package/internal/to-file.d.ts +1 -2
  111. package/internal/to-file.d.ts.map +1 -1
  112. package/internal/to-file.js +5 -5
  113. package/internal/to-file.js.map +1 -1
  114. package/internal/to-file.mjs +4 -3
  115. package/internal/to-file.mjs.map +1 -1
  116. package/internal/tslib.js +81 -0
  117. package/internal/tslib.mjs +17 -0
  118. package/internal/types.d.mts +8 -7
  119. package/internal/types.d.mts.map +1 -1
  120. package/internal/types.d.ts +8 -7
  121. package/internal/types.d.ts.map +1 -1
  122. package/internal/uploads.d.mts +1 -3
  123. package/internal/uploads.d.mts.map +1 -1
  124. package/internal/uploads.d.ts +1 -3
  125. package/internal/uploads.d.ts.map +1 -1
  126. package/internal/uploads.js +17 -7
  127. package/internal/uploads.js.map +1 -1
  128. package/internal/uploads.mjs +13 -4
  129. package/internal/uploads.mjs.map +1 -1
  130. package/internal/utils/base64.d.mts.map +1 -1
  131. package/internal/utils/base64.d.ts.map +1 -1
  132. package/internal/utils/base64.js +12 -7
  133. package/internal/utils/base64.js.map +1 -1
  134. package/internal/utils/base64.mjs +12 -7
  135. package/internal/utils/base64.mjs.map +1 -1
  136. package/internal/utils/bytes.d.mts +4 -0
  137. package/internal/utils/bytes.d.mts.map +1 -0
  138. package/internal/utils/bytes.d.ts +4 -0
  139. package/internal/utils/bytes.d.ts.map +1 -0
  140. package/internal/utils/bytes.js +31 -0
  141. package/internal/utils/bytes.js.map +1 -0
  142. package/internal/utils/bytes.mjs +26 -0
  143. package/internal/utils/bytes.mjs.map +1 -0
  144. package/internal/utils/env.d.mts.map +1 -1
  145. package/internal/utils/env.d.ts.map +1 -1
  146. package/internal/utils/env.js.map +1 -1
  147. package/internal/utils/env.mjs.map +1 -1
  148. package/internal/utils/log.d.mts +0 -1
  149. package/internal/utils/log.d.mts.map +1 -1
  150. package/internal/utils/log.d.ts +0 -1
  151. package/internal/utils/log.d.ts.map +1 -1
  152. package/internal/utils/log.js +3 -3
  153. package/internal/utils/log.js.map +1 -1
  154. package/internal/utils/log.mjs +1 -1
  155. package/internal/utils/log.mjs.map +1 -1
  156. package/internal/utils/path.d.mts.map +1 -1
  157. package/internal/utils/path.d.ts.map +1 -1
  158. package/internal/utils/path.js +28 -7
  159. package/internal/utils/path.js.map +1 -1
  160. package/internal/utils/path.mjs +27 -6
  161. package/internal/utils/path.mjs.map +1 -1
  162. package/internal/utils/sleep.d.mts.map +1 -1
  163. package/internal/utils/sleep.d.ts.map +1 -1
  164. package/internal/utils/uuid.d.mts +1 -1
  165. package/internal/utils/uuid.d.mts.map +1 -1
  166. package/internal/utils/uuid.d.ts +1 -1
  167. package/internal/utils/uuid.d.ts.map +1 -1
  168. package/internal/utils/uuid.js +1 -2
  169. package/internal/utils/uuid.js.map +1 -1
  170. package/internal/utils/uuid.mjs +1 -2
  171. package/internal/utils/uuid.mjs.map +1 -1
  172. package/internal/utils/values.d.mts +2 -0
  173. package/internal/utils/values.d.mts.map +1 -1
  174. package/internal/utils/values.d.ts +2 -0
  175. package/internal/utils/values.d.ts.map +1 -1
  176. package/internal/utils/values.js +11 -8
  177. package/internal/utils/values.js.map +1 -1
  178. package/internal/utils/values.mjs +5 -3
  179. package/internal/utils/values.mjs.map +1 -1
  180. package/internal/utils.js +7 -20
  181. package/internal/utils.js.map +1 -1
  182. package/package.json +6 -14
  183. package/resource.js +2 -15
  184. package/resource.js.map +1 -1
  185. package/resources/auth-configs.d.mts +491 -54
  186. package/resources/auth-configs.d.mts.map +1 -1
  187. package/resources/auth-configs.d.ts +491 -54
  188. package/resources/auth-configs.d.ts.map +1 -1
  189. package/resources/auth-configs.js +70 -0
  190. package/resources/auth-configs.js.map +1 -1
  191. package/resources/auth-configs.mjs +70 -0
  192. package/resources/auth-configs.mjs.map +1 -1
  193. package/resources/cli/cli.d.mts +120 -0
  194. package/resources/cli/cli.d.mts.map +1 -0
  195. package/resources/cli/cli.d.ts +120 -0
  196. package/resources/cli/cli.d.ts.map +1 -0
  197. package/resources/cli/cli.js +36 -0
  198. package/resources/cli/cli.js.map +1 -0
  199. package/resources/cli/cli.mjs +31 -0
  200. package/resources/cli/cli.mjs.map +1 -0
  201. package/resources/cli/index.d.mts +3 -0
  202. package/resources/cli/index.d.mts.map +1 -0
  203. package/resources/cli/index.d.ts +3 -0
  204. package/resources/cli/index.d.ts.map +1 -0
  205. package/resources/cli/index.js +9 -0
  206. package/resources/cli/index.js.map +1 -0
  207. package/resources/cli/index.mjs +4 -0
  208. package/resources/cli/index.mjs.map +1 -0
  209. package/resources/cli/realtime.d.mts +53 -0
  210. package/resources/cli/realtime.d.mts.map +1 -0
  211. package/resources/cli/realtime.d.ts +53 -0
  212. package/resources/cli/realtime.d.ts.map +1 -0
  213. package/resources/cli/realtime.js +22 -0
  214. package/resources/cli/realtime.js.map +1 -0
  215. package/resources/cli/realtime.mjs +18 -0
  216. package/resources/cli/realtime.mjs.map +1 -0
  217. package/resources/cli.d.mts +1 -123
  218. package/resources/cli.d.mts.map +1 -1
  219. package/resources/cli.d.ts +1 -123
  220. package/resources/cli.d.ts.map +1 -1
  221. package/resources/cli.js +2 -14
  222. package/resources/cli.js.map +1 -1
  223. package/resources/cli.mjs +1 -12
  224. package/resources/cli.mjs.map +1 -1
  225. package/resources/connected-accounts.d.mts +8733 -233
  226. package/resources/connected-accounts.d.mts.map +1 -1
  227. package/resources/connected-accounts.d.ts +8733 -233
  228. package/resources/connected-accounts.d.ts.map +1 -1
  229. package/resources/connected-accounts.js +84 -2
  230. package/resources/connected-accounts.js.map +1 -1
  231. package/resources/connected-accounts.mjs +84 -2
  232. package/resources/connected-accounts.mjs.map +1 -1
  233. package/resources/files.d.mts +149 -0
  234. package/resources/files.d.mts.map +1 -0
  235. package/resources/files.d.ts +149 -0
  236. package/resources/files.d.ts.map +1 -0
  237. package/resources/files.js +39 -0
  238. package/resources/files.js.map +1 -0
  239. package/resources/files.mjs +35 -0
  240. package/resources/files.mjs.map +1 -0
  241. package/resources/index.d.mts +13 -11
  242. package/resources/index.d.mts.map +1 -1
  243. package/resources/index.d.ts +13 -11
  244. package/resources/index.d.ts.map +1 -1
  245. package/resources/index.js +14 -10
  246. package/resources/index.js.map +1 -1
  247. package/resources/index.mjs +7 -5
  248. package/resources/index.mjs.map +1 -1
  249. package/resources/link.d.mts +2017 -0
  250. package/resources/link.d.mts.map +1 -0
  251. package/resources/link.d.ts +2017 -0
  252. package/resources/link.d.ts.map +1 -0
  253. package/resources/link.js +16 -0
  254. package/resources/link.js.map +1 -0
  255. package/resources/link.mjs +12 -0
  256. package/resources/link.mjs.map +1 -0
  257. package/resources/logs/index.d.mts +4 -0
  258. package/resources/logs/index.d.mts.map +1 -0
  259. package/resources/logs/index.d.ts +4 -0
  260. package/resources/logs/index.d.ts.map +1 -0
  261. package/resources/logs/index.js +11 -0
  262. package/resources/logs/index.js.map +1 -0
  263. package/resources/logs/index.mjs +5 -0
  264. package/resources/logs/index.mjs.map +1 -0
  265. package/resources/logs/logs.d.mts +14 -0
  266. package/resources/logs/logs.d.mts.map +1 -0
  267. package/resources/logs/logs.d.ts +14 -0
  268. package/resources/logs/logs.d.ts.map +1 -0
  269. package/resources/logs/logs.js +21 -0
  270. package/resources/logs/logs.js.map +1 -0
  271. package/resources/logs/logs.mjs +16 -0
  272. package/resources/logs/logs.mjs.map +1 -0
  273. package/resources/logs/tools.d.mts +170 -0
  274. package/resources/logs/tools.d.mts.map +1 -0
  275. package/resources/logs/tools.d.ts +170 -0
  276. package/resources/logs/tools.d.ts.map +1 -0
  277. package/resources/logs/tools.js +32 -0
  278. package/resources/logs/tools.js.map +1 -0
  279. package/resources/logs/tools.mjs +28 -0
  280. package/resources/logs/tools.mjs.map +1 -0
  281. package/resources/logs/triggers.d.mts +158 -0
  282. package/resources/logs/triggers.d.mts.map +1 -0
  283. package/resources/logs/triggers.d.ts +158 -0
  284. package/resources/logs/triggers.d.ts.map +1 -0
  285. package/resources/logs/triggers.js +33 -0
  286. package/resources/logs/triggers.js.map +1 -0
  287. package/resources/logs/triggers.mjs +29 -0
  288. package/resources/logs/triggers.mjs.map +1 -0
  289. package/resources/logs.d.mts +2 -0
  290. package/resources/logs.d.mts.map +1 -0
  291. package/resources/logs.d.ts +2 -0
  292. package/resources/logs.d.ts.map +1 -0
  293. package/resources/logs.js +6 -0
  294. package/resources/logs.js.map +1 -0
  295. package/resources/logs.mjs +3 -0
  296. package/resources/logs.mjs.map +1 -0
  297. package/resources/mcp/custom.d.mts +102 -0
  298. package/resources/mcp/custom.d.mts.map +1 -0
  299. package/resources/mcp/custom.d.ts +102 -0
  300. package/resources/mcp/custom.d.ts.map +1 -0
  301. package/resources/mcp/custom.js +26 -0
  302. package/resources/mcp/custom.js.map +1 -0
  303. package/resources/mcp/custom.mjs +22 -0
  304. package/resources/mcp/custom.mjs.map +1 -0
  305. package/resources/mcp/generate.d.mts +59 -0
  306. package/resources/mcp/generate.d.mts.map +1 -0
  307. package/resources/mcp/generate.d.ts +59 -0
  308. package/resources/mcp/generate.d.ts.map +1 -0
  309. package/resources/mcp/generate.js +26 -0
  310. package/resources/mcp/generate.js.map +1 -0
  311. package/resources/mcp/generate.mjs +22 -0
  312. package/resources/mcp/generate.mjs.map +1 -0
  313. package/resources/mcp/index.d.mts +3 -2
  314. package/resources/mcp/index.d.mts.map +1 -1
  315. package/resources/mcp/index.d.ts +3 -2
  316. package/resources/mcp/index.d.ts.map +1 -1
  317. package/resources/mcp/index.js +5 -3
  318. package/resources/mcp/index.js.map +1 -1
  319. package/resources/mcp/index.mjs +2 -1
  320. package/resources/mcp/index.mjs.map +1 -1
  321. package/resources/mcp/mcp.d.mts +447 -175
  322. package/resources/mcp/mcp.d.mts.map +1 -1
  323. package/resources/mcp/mcp.d.ts +447 -175
  324. package/resources/mcp/mcp.d.ts.map +1 -1
  325. package/resources/mcp/mcp.js +89 -39
  326. package/resources/mcp/mcp.js.map +1 -1
  327. package/resources/mcp/mcp.mjs +88 -16
  328. package/resources/mcp/mcp.mjs.map +1 -1
  329. package/resources/mcp.js +2 -15
  330. package/resources/mcp.js.map +1 -1
  331. package/resources/migration.d.mts +32 -0
  332. package/resources/migration.d.mts.map +1 -0
  333. package/resources/migration.d.ts +32 -0
  334. package/resources/migration.d.ts.map +1 -0
  335. package/resources/migration.js +17 -0
  336. package/resources/migration.js.map +1 -0
  337. package/resources/migration.mjs +13 -0
  338. package/resources/migration.mjs.map +1 -0
  339. package/resources/project/config.d.mts +71 -0
  340. package/resources/project/config.d.mts.map +1 -0
  341. package/resources/project/config.d.ts +71 -0
  342. package/resources/project/config.d.ts.map +1 -0
  343. package/resources/project/config.js +33 -0
  344. package/resources/project/config.js.map +1 -0
  345. package/resources/project/config.mjs +29 -0
  346. package/resources/project/config.mjs.map +1 -0
  347. package/resources/project/index.d.mts +3 -0
  348. package/resources/project/index.d.mts.map +1 -0
  349. package/resources/project/index.d.ts +3 -0
  350. package/resources/project/index.d.ts.map +1 -0
  351. package/resources/project/index.js +9 -0
  352. package/resources/project/index.js.map +1 -0
  353. package/resources/project/index.mjs +4 -0
  354. package/resources/project/index.mjs.map +1 -0
  355. package/resources/project/project.d.mts +10 -0
  356. package/resources/project/project.d.mts.map +1 -0
  357. package/resources/project/project.d.ts +10 -0
  358. package/resources/project/project.d.ts.map +1 -0
  359. package/resources/project/project.js +17 -0
  360. package/resources/project/project.js.map +1 -0
  361. package/resources/project/project.mjs +12 -0
  362. package/resources/project/project.mjs.map +1 -0
  363. package/resources/{org/project.d.mts.map → project.d.mts.map} +1 -1
  364. package/resources/{org/project.d.ts.map → project.d.ts.map} +1 -1
  365. package/resources/project.js +6 -0
  366. package/resources/project.js.map +1 -0
  367. package/resources/project.mjs.map +1 -0
  368. package/resources/tool-router/index.d.mts +3 -0
  369. package/resources/tool-router/index.d.mts.map +1 -0
  370. package/resources/tool-router/index.d.ts +3 -0
  371. package/resources/tool-router/index.d.ts.map +1 -0
  372. package/resources/tool-router/index.js +9 -0
  373. package/resources/tool-router/index.js.map +1 -0
  374. package/resources/tool-router/index.mjs +4 -0
  375. package/resources/tool-router/index.mjs.map +1 -0
  376. package/resources/tool-router/session.d.mts +1194 -0
  377. package/resources/tool-router/session.d.mts.map +1 -0
  378. package/resources/tool-router/session.d.ts +1194 -0
  379. package/resources/tool-router/session.d.ts.map +1 -0
  380. package/resources/tool-router/session.js +142 -0
  381. package/resources/tool-router/session.js.map +1 -0
  382. package/resources/tool-router/session.mjs +138 -0
  383. package/resources/tool-router/session.mjs.map +1 -0
  384. package/resources/tool-router/tool-router.d.mts +91 -0
  385. package/resources/tool-router/tool-router.d.mts.map +1 -0
  386. package/resources/tool-router/tool-router.d.ts +91 -0
  387. package/resources/tool-router/tool-router.d.ts.map +1 -0
  388. package/resources/tool-router/tool-router.js +46 -0
  389. package/resources/tool-router/tool-router.js.map +1 -0
  390. package/resources/tool-router/tool-router.mjs +41 -0
  391. package/resources/tool-router/tool-router.mjs.map +1 -0
  392. package/resources/tool-router.d.mts +2 -0
  393. package/resources/tool-router.d.mts.map +1 -0
  394. package/resources/tool-router.d.ts +2 -0
  395. package/resources/tool-router.d.ts.map +1 -0
  396. package/resources/tool-router.js +6 -0
  397. package/resources/tool-router.js.map +1 -0
  398. package/resources/tool-router.mjs +3 -0
  399. package/resources/tool-router.mjs.map +1 -0
  400. package/resources/toolkits.d.mts +298 -6
  401. package/resources/toolkits.d.mts.map +1 -1
  402. package/resources/toolkits.d.ts +298 -6
  403. package/resources/toolkits.d.ts.map +1 -1
  404. package/resources/toolkits.js +20 -2
  405. package/resources/toolkits.js.map +1 -1
  406. package/resources/toolkits.mjs +20 -2
  407. package/resources/toolkits.mjs.map +1 -1
  408. package/resources/tools.d.mts +1286 -41
  409. package/resources/tools.d.mts.map +1 -1
  410. package/resources/tools.d.ts +1286 -41
  411. package/resources/tools.d.ts.map +1 -1
  412. package/resources/tools.js +82 -6
  413. package/resources/tools.js.map +1 -1
  414. package/resources/tools.mjs +82 -6
  415. package/resources/tools.mjs.map +1 -1
  416. package/resources/trigger-instances/index.d.mts +2 -2
  417. package/resources/trigger-instances/index.d.mts.map +1 -1
  418. package/resources/trigger-instances/index.d.ts +2 -2
  419. package/resources/trigger-instances/index.d.ts.map +1 -1
  420. package/resources/trigger-instances/index.js +3 -3
  421. package/resources/trigger-instances/index.js.map +1 -1
  422. package/resources/trigger-instances/index.mjs +1 -1
  423. package/resources/trigger-instances/index.mjs.map +1 -1
  424. package/resources/trigger-instances/manage.d.mts +52 -0
  425. package/resources/trigger-instances/manage.d.mts.map +1 -0
  426. package/resources/trigger-instances/manage.d.ts +52 -0
  427. package/resources/trigger-instances/manage.d.ts.map +1 -0
  428. package/resources/trigger-instances/manage.js +42 -0
  429. package/resources/trigger-instances/manage.js.map +1 -0
  430. package/resources/trigger-instances/manage.mjs +38 -0
  431. package/resources/trigger-instances/manage.mjs.map +1 -0
  432. package/resources/trigger-instances/trigger-instances.d.mts +181 -42
  433. package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
  434. package/resources/trigger-instances/trigger-instances.d.ts +181 -42
  435. package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
  436. package/resources/trigger-instances/trigger-instances.js +31 -35
  437. package/resources/trigger-instances/trigger-instances.js.map +1 -1
  438. package/resources/trigger-instances/trigger-instances.mjs +30 -12
  439. package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
  440. package/resources/trigger-instances.js +2 -15
  441. package/resources/trigger-instances.js.map +1 -1
  442. package/resources/triggers-types.d.mts +145 -12
  443. package/resources/triggers-types.d.mts.map +1 -1
  444. package/resources/triggers-types.d.ts +145 -12
  445. package/resources/triggers-types.d.ts.map +1 -1
  446. package/resources/triggers-types.js +14 -2
  447. package/resources/triggers-types.js.map +1 -1
  448. package/resources/triggers-types.mjs +14 -2
  449. package/resources/triggers-types.mjs.map +1 -1
  450. package/resources.js +2 -15
  451. package/resources.js.map +1 -1
  452. package/src/client.ts +180 -117
  453. package/src/core/resource.ts +1 -1
  454. package/src/internal/detect-platform.ts +3 -3
  455. package/src/internal/headers.ts +9 -8
  456. package/src/internal/parse.ts +6 -0
  457. package/src/internal/qs/formats.ts +2 -1
  458. package/src/internal/qs/stringify.ts +17 -20
  459. package/src/internal/qs/utils.ts +14 -14
  460. package/src/internal/request-options.ts +54 -0
  461. package/src/internal/shim-types.ts +26 -0
  462. package/src/internal/shims.ts +2 -2
  463. package/src/internal/to-file.ts +5 -3
  464. package/src/internal/types.ts +9 -6
  465. package/src/internal/uploads.ts +17 -5
  466. package/src/internal/utils/base64.ts +13 -10
  467. package/src/internal/utils/bytes.ts +32 -0
  468. package/src/internal/utils/log.ts +1 -1
  469. package/src/internal/utils/path.ts +33 -8
  470. package/src/internal/utils/uuid.ts +1 -3
  471. package/src/internal/utils/values.ts +6 -3
  472. package/src/resources/auth-configs.ts +556 -67
  473. package/src/resources/cli/cli.ts +163 -0
  474. package/src/resources/cli/index.ts +15 -0
  475. package/src/resources/cli/realtime.ts +72 -0
  476. package/src/resources/cli.ts +1 -164
  477. package/src/resources/connected-accounts.ts +16480 -459
  478. package/src/resources/files.ts +194 -0
  479. package/src/resources/index.ts +28 -27
  480. package/src/resources/link.ts +3817 -0
  481. package/src/resources/logs/index.ts +10 -0
  482. package/src/resources/logs/logs.ts +31 -0
  483. package/src/resources/{action-execution.ts → logs/tools.ts} +94 -102
  484. package/src/resources/logs/triggers.ts +238 -0
  485. package/src/resources/{org.ts → logs.ts} +1 -1
  486. package/src/resources/mcp/custom.ts +122 -0
  487. package/src/resources/mcp/generate.ts +71 -0
  488. package/src/resources/mcp/index.ts +3 -3
  489. package/src/resources/mcp/mcp.ts +484 -200
  490. package/src/resources/migration.ts +46 -0
  491. package/src/resources/project/config.ts +110 -0
  492. package/src/resources/project/index.ts +9 -0
  493. package/src/resources/project/project.ts +20 -0
  494. package/src/resources/tool-router/index.ts +25 -0
  495. package/src/resources/tool-router/session.ts +1434 -0
  496. package/src/resources/tool-router/tool-router.ts +149 -0
  497. package/src/resources/tool-router.ts +3 -0
  498. package/src/resources/toolkits.ts +340 -8
  499. package/src/resources/tools.ts +1980 -60
  500. package/src/resources/trigger-instances/index.ts +5 -9
  501. package/src/resources/trigger-instances/manage.ts +72 -0
  502. package/src/resources/trigger-instances/trigger-instances.ts +194 -66
  503. package/src/resources/triggers-types.ts +149 -14
  504. package/src/version.ts +1 -1
  505. package/uploads.js +2 -15
  506. package/uploads.js.map +1 -1
  507. package/version.d.mts +1 -1
  508. package/version.d.mts.map +1 -1
  509. package/version.d.ts +1 -1
  510. package/version.d.ts.map +1 -1
  511. package/version.js +1 -1
  512. package/version.js.map +1 -1
  513. package/version.mjs +1 -1
  514. package/version.mjs.map +1 -1
  515. package/internal/shims/crypto.d.mts +0 -13
  516. package/internal/shims/crypto.d.mts.map +0 -1
  517. package/internal/shims/crypto.d.ts +0 -13
  518. package/internal/shims/crypto.d.ts.map +0 -1
  519. package/internal/shims/crypto.js +0 -13
  520. package/internal/shims/crypto.js.map +0 -1
  521. package/internal/shims/crypto.mjs +0 -9
  522. package/internal/shims/crypto.mjs.map +0 -1
  523. package/internal/shims/file.d.mts +0 -23
  524. package/internal/shims/file.d.mts.map +0 -1
  525. package/internal/shims/file.d.ts +0 -23
  526. package/internal/shims/file.d.ts.map +0 -1
  527. package/internal/shims/file.js +0 -16
  528. package/internal/shims/file.js.map +0 -1
  529. package/internal/shims/file.mjs +0 -12
  530. package/internal/shims/file.mjs.map +0 -1
  531. package/internal/shims/getBuiltinModule.d.mts +0 -11
  532. package/internal/shims/getBuiltinModule.d.mts.map +0 -1
  533. package/internal/shims/getBuiltinModule.d.ts +0 -11
  534. package/internal/shims/getBuiltinModule.d.ts.map +0 -1
  535. package/internal/shims/getBuiltinModule.js +0 -71
  536. package/internal/shims/getBuiltinModule.js.map +0 -1
  537. package/internal/shims/getBuiltinModule.mjs +0 -67
  538. package/internal/shims/getBuiltinModule.mjs.map +0 -1
  539. package/internal/shims/nullGetBuiltinModule.d.mts +0 -2
  540. package/internal/shims/nullGetBuiltinModule.d.mts.map +0 -1
  541. package/internal/shims/nullGetBuiltinModule.d.ts +0 -2
  542. package/internal/shims/nullGetBuiltinModule.d.ts.map +0 -1
  543. package/internal/shims/nullGetBuiltinModule.js +0 -5
  544. package/internal/shims/nullGetBuiltinModule.js.map +0 -1
  545. package/internal/shims/nullGetBuiltinModule.mjs +0 -2
  546. package/internal/shims/nullGetBuiltinModule.mjs.map +0 -1
  547. package/resources/action-execution.d.mts +0 -155
  548. package/resources/action-execution.d.mts.map +0 -1
  549. package/resources/action-execution.d.ts +0 -155
  550. package/resources/action-execution.d.ts.map +0 -1
  551. package/resources/action-execution.js +0 -19
  552. package/resources/action-execution.js.map +0 -1
  553. package/resources/action-execution.mjs +0 -15
  554. package/resources/action-execution.mjs.map +0 -1
  555. package/resources/mcp/command.d.mts +0 -34
  556. package/resources/mcp/command.d.mts.map +0 -1
  557. package/resources/mcp/command.d.ts +0 -34
  558. package/resources/mcp/command.d.ts.map +0 -1
  559. package/resources/mcp/command.js +0 -12
  560. package/resources/mcp/command.js.map +0 -1
  561. package/resources/mcp/command.mjs +0 -8
  562. package/resources/mcp/command.mjs.map +0 -1
  563. package/resources/org/api-key.d.mts +0 -17
  564. package/resources/org/api-key.d.mts.map +0 -1
  565. package/resources/org/api-key.d.ts +0 -17
  566. package/resources/org/api-key.d.ts.map +0 -1
  567. package/resources/org/api-key.js +0 -15
  568. package/resources/org/api-key.js.map +0 -1
  569. package/resources/org/api-key.mjs +0 -11
  570. package/resources/org/api-key.mjs.map +0 -1
  571. package/resources/org/index.d.mts +0 -4
  572. package/resources/org/index.d.mts.map +0 -1
  573. package/resources/org/index.d.ts +0 -4
  574. package/resources/org/index.d.ts.map +0 -1
  575. package/resources/org/index.js +0 -11
  576. package/resources/org/index.js.map +0 -1
  577. package/resources/org/index.mjs +0 -5
  578. package/resources/org/index.mjs.map +0 -1
  579. package/resources/org/org.d.mts +0 -14
  580. package/resources/org/org.d.mts.map +0 -1
  581. package/resources/org/org.d.ts +0 -14
  582. package/resources/org/org.d.ts.map +0 -1
  583. package/resources/org/org.js +0 -43
  584. package/resources/org/org.js.map +0 -1
  585. package/resources/org/org.mjs +0 -16
  586. package/resources/org/org.mjs.map +0 -1
  587. package/resources/org/project/api-keys.d.mts +0 -109
  588. package/resources/org/project/api-keys.d.mts.map +0 -1
  589. package/resources/org/project/api-keys.d.ts +0 -109
  590. package/resources/org/project/api-keys.d.ts.map +0 -1
  591. package/resources/org/project/api-keys.js +0 -23
  592. package/resources/org/project/api-keys.js.map +0 -1
  593. package/resources/org/project/api-keys.mjs +0 -19
  594. package/resources/org/project/api-keys.mjs.map +0 -1
  595. package/resources/org/project/index.d.mts +0 -5
  596. package/resources/org/project/index.d.mts.map +0 -1
  597. package/resources/org/project/index.d.ts +0 -5
  598. package/resources/org/project/index.d.ts.map +0 -1
  599. package/resources/org/project/index.js +0 -13
  600. package/resources/org/project/index.js.map +0 -1
  601. package/resources/org/project/index.mjs +0 -6
  602. package/resources/org/project/index.mjs.map +0 -1
  603. package/resources/org/project/project.d.mts +0 -90
  604. package/resources/org/project/project.d.mts.map +0 -1
  605. package/resources/org/project/project.d.ts +0 -90
  606. package/resources/org/project/project.d.ts.map +0 -1
  607. package/resources/org/project/project.js +0 -60
  608. package/resources/org/project/project.js.map +0 -1
  609. package/resources/org/project/project.mjs +0 -33
  610. package/resources/org/project/project.mjs.map +0 -1
  611. package/resources/org/project/trigger.d.mts +0 -51
  612. package/resources/org/project/trigger.d.mts.map +0 -1
  613. package/resources/org/project/trigger.d.ts +0 -51
  614. package/resources/org/project/trigger.d.ts.map +0 -1
  615. package/resources/org/project/trigger.js +0 -16
  616. package/resources/org/project/trigger.js.map +0 -1
  617. package/resources/org/project/trigger.mjs +0 -12
  618. package/resources/org/project/trigger.mjs.map +0 -1
  619. package/resources/org/project/webhook.d.mts +0 -92
  620. package/resources/org/project/webhook.d.mts.map +0 -1
  621. package/resources/org/project/webhook.d.ts +0 -92
  622. package/resources/org/project/webhook.d.ts.map +0 -1
  623. package/resources/org/project/webhook.js +0 -24
  624. package/resources/org/project/webhook.js.map +0 -1
  625. package/resources/org/project/webhook.mjs +0 -20
  626. package/resources/org/project/webhook.mjs.map +0 -1
  627. package/resources/org/project.js +0 -19
  628. package/resources/org/project.js.map +0 -1
  629. package/resources/org/project.mjs.map +0 -1
  630. package/resources/org.d.mts +0 -2
  631. package/resources/org.d.mts.map +0 -1
  632. package/resources/org.d.ts +0 -2
  633. package/resources/org.d.ts.map +0 -1
  634. package/resources/org.js +0 -19
  635. package/resources/org.js.map +0 -1
  636. package/resources/org.mjs.map +0 -1
  637. package/resources/team-members.d.mts +0 -57
  638. package/resources/team-members.d.mts.map +0 -1
  639. package/resources/team-members.d.ts +0 -57
  640. package/resources/team-members.d.ts.map +0 -1
  641. package/resources/team-members.js +0 -22
  642. package/resources/team-members.js.map +0 -1
  643. package/resources/team-members.mjs +0 -18
  644. package/resources/team-members.mjs.map +0 -1
  645. package/resources/trigger-instances/handle.d.mts +0 -25
  646. package/resources/trigger-instances/handle.d.mts.map +0 -1
  647. package/resources/trigger-instances/handle.d.ts +0 -25
  648. package/resources/trigger-instances/handle.d.ts.map +0 -1
  649. package/resources/trigger-instances/handle.js +0 -18
  650. package/resources/trigger-instances/handle.js.map +0 -1
  651. package/resources/trigger-instances/handle.mjs +0 -14
  652. package/resources/trigger-instances/handle.mjs.map +0 -1
  653. package/resources/trigger.d.mts +0 -73
  654. package/resources/trigger.d.mts.map +0 -1
  655. package/resources/trigger.d.ts +0 -73
  656. package/resources/trigger.d.ts.map +0 -1
  657. package/resources/trigger.js +0 -12
  658. package/resources/trigger.js.map +0 -1
  659. package/resources/trigger.mjs +0 -8
  660. package/resources/trigger.mjs.map +0 -1
  661. package/src/internal/shim-types.d.ts +0 -28
  662. package/src/internal/shims/crypto.ts +0 -18
  663. package/src/internal/shims/file.ts +0 -32
  664. package/src/internal/shims/getBuiltinModule.ts +0 -66
  665. package/src/internal/shims/nullGetBuiltinModule.ts +0 -1
  666. package/src/resources/mcp/command.ts +0 -47
  667. package/src/resources/org/api-key.ts +0 -30
  668. package/src/resources/org/index.ts +0 -12
  669. package/src/resources/org/org.ts +0 -39
  670. package/src/resources/org/project/api-keys.ts +0 -156
  671. package/src/resources/org/project/index.ts +0 -35
  672. package/src/resources/org/project/project.ts +0 -206
  673. package/src/resources/org/project/trigger.ts +0 -95
  674. package/src/resources/org/project/webhook.ts +0 -131
  675. package/src/resources/team-members.ts +0 -111
  676. package/src/resources/trigger-instances/handle.ts +0 -45
  677. package/src/resources/trigger.ts +0 -108
  678. /package/resources/{org/project.d.mts → project.d.mts} +0 -0
  679. /package/resources/{org/project.d.ts → project.d.ts} +0 -0
  680. /package/resources/{org/project.mjs → project.mjs} +0 -0
  681. /package/src/resources/{org/project.ts → project.ts} +0 -0
@@ -1,67 +0,0 @@
1
- /**
2
- * Load a Node built-in module. ID may or may not be prefixed by `node:` and
3
- * will be normalized. If we used static imports then our bundle size would be bloated by
4
- * injected polyfills, and if we used dynamic require then in addition to bundlers logging warnings,
5
- * our code would not work when bundled to ESM and run in Node 18.
6
- * @param {string} id ID of the built-in to be loaded.
7
- * @returns {object|undefined} exports of the built-in. Undefined if the built-in
8
- * does not exist.
9
- */
10
- export let getBuiltinModule = function getBuiltinModuleLazy(id) {
11
- try {
12
- if (getBuiltinModule !== getBuiltinModuleLazy)
13
- return getBuiltinModule(id);
14
- if (process.getBuiltinModule) {
15
- getBuiltinModule = process.getBuiltinModule;
16
- }
17
- else {
18
- /* Fallback implementation for Node 18 */
19
- function createFallbackGetBuiltinModule(BuiltinModule) {
20
- return function getBuiltinModule(id) {
21
- id = BuiltinModule.normalizeRequirableId(String(id));
22
- if (!BuiltinModule.canBeRequiredByUsers(id)) {
23
- return;
24
- }
25
- const mod = BuiltinModule.map.get(id);
26
- mod.compileForPublicLoader();
27
- return mod.exports;
28
- };
29
- }
30
- const magicKey = Math.random() + '';
31
- let module;
32
- let ObjectPrototype = Blob;
33
- for (let next; (next = Reflect.getPrototypeOf(ObjectPrototype)); ObjectPrototype = next)
34
- ;
35
- try {
36
- const kClone = Object.getOwnPropertySymbols(Blob.prototype).find((e) => e.description?.includes('clone'));
37
- Object.defineProperty(ObjectPrototype, magicKey, {
38
- get() {
39
- module = this;
40
- throw null;
41
- },
42
- configurable: true,
43
- });
44
- structuredClone(new (class extends Blob {
45
- [kClone]() {
46
- return {
47
- deserializeInfo: 'internal/bootstrap/realm:' + magicKey,
48
- };
49
- }
50
- })([]));
51
- }
52
- catch { }
53
- delete ObjectPrototype[magicKey];
54
- if (module) {
55
- getBuiltinModule = createFallbackGetBuiltinModule(module.BuiltinModule);
56
- }
57
- else {
58
- getBuiltinModule = () => undefined;
59
- }
60
- }
61
- return getBuiltinModule(id);
62
- }
63
- catch {
64
- return undefined;
65
- }
66
- };
67
- //# sourceMappingURL=getBuiltinModule.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getBuiltinModule.mjs","sourceRoot":"","sources":["../../src/internal/shims/getBuiltinModule.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,CAAC,IAAI,gBAAgB,GAAgD,SAAS,oBAAoB,CACtG,EAAU;IAEV,IAAI;QACF,IAAI,gBAAgB,KAAK,oBAAoB;YAAE,OAAO,gBAAiB,CAAC,EAAE,CAAC,CAAC;QAC5E,IAA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AC;wBACN,OAAO;4BACL,eAAe,EAAE,2BAA2B,GAAG,QAAQ;yBACxD,CAAC;oBACJ,CAAC;iBACF,CAAC,CAAC,EAAE,CAAC,CACP,CAAC;aACH;YAAC,MAAM,GAAE;YACV,OAAQ,eAAuB,CAAC,QAAQ,CAAC,CAAC;YAC1C,IAAI,MAAM,EAAE;gBACV,gBAAgB,GAAG,8BAA8B,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;aACzE;iBAAM;gBACL,gBAAgB,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC;aACpC;SACF;QACD,OAAO,gBAAiB,CAAC,EAAE,CAAC,CAAC;KAC9B;IAAC,MAAM;QACN,OAAO,SAAS,CAAC;KAClB;AACH,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const getBuiltinModule: null;
2
- //# sourceMappingURL=nullGetBuiltinModule.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nullGetBuiltinModule.d.mts","sourceRoot":"","sources":["../../src/internal/shims/nullGetBuiltinModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,MAAO,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const getBuiltinModule: null;
2
- //# sourceMappingURL=nullGetBuiltinModule.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nullGetBuiltinModule.d.ts","sourceRoot":"","sources":["../../src/internal/shims/nullGetBuiltinModule.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,MAAO,CAAC"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getBuiltinModule = void 0;
4
- exports.getBuiltinModule = null;
5
- //# sourceMappingURL=nullGetBuiltinModule.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nullGetBuiltinModule.js","sourceRoot":"","sources":["../../src/internal/shims/nullGetBuiltinModule.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG,IAAI,CAAC"}
@@ -1,2 +0,0 @@
1
- export const getBuiltinModule = null;
2
- //# sourceMappingURL=nullGetBuiltinModule.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nullGetBuiltinModule.mjs","sourceRoot":"","sources":["../../src/internal/shims/nullGetBuiltinModule.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAAC"}
@@ -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,a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AO,CAAC,CAAC;gBAE/B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;gBAEjC,OAAO,CAAC,EAAE,MAAM,CAAC;aAClB;YAED,UAAiB,QAAQ;gBACvB,MAAM,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,E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,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,19 +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.ActionExecution = void 0;
5
- const resource_1 = require("../core/resource.js");
6
- const path_1 = require("../internal/utils/path.js");
7
- class ActionExecution extends resource_1.APIResource {
8
- log(body, options) {
9
- return this._client.post('/api/v3/internal/action_execution/logs', { body, ...options });
10
- }
11
- retrieveFields(options) {
12
- return this._client.get('/api/v3/internal/action_execution/fields', options);
13
- }
14
- retrieveLog(id, options) {
15
- return this._client.get((0, path_1.path) `/api/v3/internal/action_execution/log/${id}`, options);
16
- }
17
- }
18
- exports.ActionExecution = ActionExecution;
19
- //# sourceMappingURL=action-execution.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"action-execution.js","sourceRoot":"","sources":["../src/resources/action-execution.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,eAAgB,SAAQ,sBAAW;IAC9C,GAAG,CAAC,IAA8B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wCAAwC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED,cAAc,CAAC,OAAwB;QACrC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0CAA0C,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED,WAAW,CAAC,EAAU,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,yCAAyC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;CACF;AAZD,0CAYC"}
@@ -1,15 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../core/resource.mjs";
3
- import { path } from "../internal/utils/path.mjs";
4
- export class ActionExecution extends APIResource {
5
- log(body, options) {
6
- return this._client.post('/api/v3/internal/action_execution/logs', { body, ...options });
7
- }
8
- retrieveFields(options) {
9
- return this._client.get('/api/v3/internal/action_execution/fields', options);
10
- }
11
- retrieveLog(id, options) {
12
- return this._client.get(path `/api/v3/internal/action_execution/log/${id}`, options);
13
- }
14
- }
15
- //# sourceMappingURL=action-execution.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"action-execution.mjs","sourceRoot":"","sources":["../src/resources/action-execution.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C,GAAG,CAAC,IAA8B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,wCAAwC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED,cAAc,CAAC,OAAwB;QACrC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0CAA0C,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED,WAAW,CAAC,EAAU,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,yCAAyC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;CACF"}
@@ -1,34 +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 Command extends APIResource {
5
- generate(body: CommandGenerateParams, options?: RequestOptions): APIPromise<CommandGenerateResponse>;
6
- }
7
- export interface CommandGenerateResponse {
8
- /**
9
- * The generated command to run
10
- */
11
- command?: string;
12
- /**
13
- * The URL for the MCP server
14
- */
15
- url?: string;
16
- }
17
- export interface CommandGenerateParams {
18
- /**
19
- * The ID of the MCP server
20
- */
21
- id: string;
22
- /**
23
- * MCP client to generate command for
24
- */
25
- mcp_client: 'cursor' | 'claude' | 'windsurf';
26
- /**
27
- * Time to live for the command
28
- */
29
- ttl?: '1d' | '3d' | '1 month' | 'no expiration';
30
- }
31
- export declare namespace Command {
32
- export { type CommandGenerateResponse as CommandGenerateResponse, type CommandGenerateParams as CommandGenerateParams, };
33
- }
34
- //# sourceMappingURL=command.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"command.d.mts","sourceRoot":"","sources":["../../src/resources/mcp/command.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,QAAQ,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;CAGrG;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,QAAQ,GAAG,QAAQ,GAAG,UAAU,CAAC;IAE7C;;OAEG;IACH,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,eAAe,CAAC;CACjD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
@@ -1,34 +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 Command extends APIResource {
5
- generate(body: CommandGenerateParams, options?: RequestOptions): APIPromise<CommandGenerateResponse>;
6
- }
7
- export interface CommandGenerateResponse {
8
- /**
9
- * The generated command to run
10
- */
11
- command?: string;
12
- /**
13
- * The URL for the MCP server
14
- */
15
- url?: string;
16
- }
17
- export interface CommandGenerateParams {
18
- /**
19
- * The ID of the MCP server
20
- */
21
- id: string;
22
- /**
23
- * MCP client to generate command for
24
- */
25
- mcp_client: 'cursor' | 'claude' | 'windsurf';
26
- /**
27
- * Time to live for the command
28
- */
29
- ttl?: '1d' | '3d' | '1 month' | 'no expiration';
30
- }
31
- export declare namespace Command {
32
- export { type CommandGenerateResponse as CommandGenerateResponse, type CommandGenerateParams as CommandGenerateParams, };
33
- }
34
- //# sourceMappingURL=command.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../src/resources/mcp/command.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,QAAQ,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;CAGrG;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,QAAQ,GAAG,QAAQ,GAAG,UAAU,CAAC;IAE7C;;OAEG;IACH,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,eAAe,CAAC;CACjD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
@@ -1,12 +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.Command = void 0;
5
- const resource_1 = require("../../core/resource.js");
6
- class Command extends resource_1.APIResource {
7
- generate(body, options) {
8
- return this._client.post('/api/v3/mcp/command/generate', { body, ...options });
9
- }
10
- }
11
- exports.Command = Command;
12
- //# sourceMappingURL=command.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"command.js","sourceRoot":"","sources":["../../src/resources/mcp/command.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,MAAa,OAAQ,SAAQ,sBAAW;IACtC,QAAQ,CAAC,IAA2B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF;AAJD,0BAIC"}
@@ -1,8 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../core/resource.mjs";
3
- export class Command extends APIResource {
4
- generate(body, options) {
5
- return this._client.post('/api/v3/mcp/command/generate', { body, ...options });
6
- }
7
- }
8
- //# sourceMappingURL=command.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"command.mjs","sourceRoot":"","sources":["../../src/resources/mcp/command.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC,QAAQ,CAAC,IAA2B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF"}
@@ -1,17 +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 APIKey extends APIResource {
5
- retrieve(options?: RequestOptions): APIPromise<APIKeyRetrieveResponse>;
6
- regenerate(options?: RequestOptions): APIPromise<APIKeyRegenerateResponse>;
7
- }
8
- export interface APIKeyRetrieveResponse {
9
- org_api_key: string;
10
- }
11
- export interface APIKeyRegenerateResponse {
12
- org_api_key: string;
13
- }
14
- export declare namespace APIKey {
15
- export { type APIKeyRetrieveResponse as APIKeyRetrieveResponse, type APIKeyRegenerateResponse as APIKeyRegenerateResponse, };
16
- }
17
- //# sourceMappingURL=api-key.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api-key.d.mts","sourceRoot":"","sources":["../../src/resources/org/api-key.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAItE,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;CAG3E;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
@@ -1,17 +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 APIKey extends APIResource {
5
- retrieve(options?: RequestOptions): APIPromise<APIKeyRetrieveResponse>;
6
- regenerate(options?: RequestOptions): APIPromise<APIKeyRegenerateResponse>;
7
- }
8
- export interface APIKeyRetrieveResponse {
9
- org_api_key: string;
10
- }
11
- export interface APIKeyRegenerateResponse {
12
- org_api_key: string;
13
- }
14
- export declare namespace APIKey {
15
- export { type APIKeyRetrieveResponse as APIKeyRetrieveResponse, type APIKeyRegenerateResponse as APIKeyRegenerateResponse, };
16
- }
17
- //# sourceMappingURL=api-key.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api-key.d.ts","sourceRoot":"","sources":["../../src/resources/org/api-key.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAItE,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;CAG3E;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
@@ -1,15 +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.APIKey = void 0;
5
- const resource_1 = require("../../core/resource.js");
6
- class APIKey extends resource_1.APIResource {
7
- retrieve(options) {
8
- return this._client.get('/api/v3/org/api_key', options);
9
- }
10
- regenerate(options) {
11
- return this._client.post('/api/v3/org/api_key/regenerate', options);
12
- }
13
- }
14
- exports.APIKey = APIKey;
15
- //# sourceMappingURL=api-key.js.map