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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (476) hide show
  1. package/CHANGELOG.md +157 -0
  2. package/LICENSE +1 -1
  3. package/README.md +31 -31
  4. package/api-promise.js +2 -15
  5. package/api-promise.js.map +1 -1
  6. package/client.d.mts +32 -29
  7. package/client.d.mts.map +1 -1
  8. package/client.d.ts +32 -29
  9. package/client.d.ts.map +1 -1
  10. package/client.js +95 -113
  11. package/client.js.map +1 -1
  12. package/client.mjs +88 -83
  13. package/client.mjs.map +1 -1
  14. package/core/api-promise.d.mts +2 -3
  15. package/core/api-promise.d.mts.map +1 -1
  16. package/core/api-promise.d.ts +2 -3
  17. package/core/api-promise.d.ts.map +1 -1
  18. package/core/api-promise.js +4 -14
  19. package/core/api-promise.js.map +1 -1
  20. package/core/api-promise.mjs +1 -11
  21. package/core/api-promise.mjs.map +1 -1
  22. package/core/error.d.mts +2 -3
  23. package/core/error.d.mts.map +1 -1
  24. package/core/error.d.ts +2 -3
  25. package/core/error.d.ts.map +1 -1
  26. package/core/error.js +4 -4
  27. package/core/error.js.map +1 -1
  28. package/core/error.mjs +2 -2
  29. package/core/error.mjs.map +1 -1
  30. package/core/resource.d.mts +3 -3
  31. package/core/resource.d.mts.map +1 -1
  32. package/core/resource.d.ts +3 -3
  33. package/core/resource.d.ts.map +1 -1
  34. package/core/resource.js.map +1 -1
  35. package/core/resource.mjs.map +1 -1
  36. package/error.js +2 -15
  37. package/error.js.map +1 -1
  38. package/index.d.mts +3 -3
  39. package/index.d.mts.map +1 -1
  40. package/index.d.ts +3 -3
  41. package/index.d.ts.map +1 -1
  42. package/index.js +4 -4
  43. package/index.js.map +1 -1
  44. package/index.mjs +3 -3
  45. package/index.mjs.map +1 -1
  46. package/internal/builtin-types.d.mts +0 -2
  47. package/internal/builtin-types.d.mts.map +1 -1
  48. package/internal/builtin-types.d.ts +0 -2
  49. package/internal/builtin-types.d.ts.map +1 -1
  50. package/internal/detect-platform.js.map +1 -1
  51. package/internal/detect-platform.mjs.map +1 -1
  52. package/internal/errors.d.mts.map +1 -1
  53. package/internal/errors.d.ts.map +1 -1
  54. package/internal/errors.js +2 -2
  55. package/internal/errors.js.map +1 -1
  56. package/internal/errors.mjs.map +1 -1
  57. package/internal/headers.d.mts +1 -2
  58. package/internal/headers.d.mts.map +1 -1
  59. package/internal/headers.d.ts +1 -2
  60. package/internal/headers.d.ts.map +1 -1
  61. package/internal/headers.js +3 -1
  62. package/internal/headers.js.map +1 -1
  63. package/internal/headers.mjs +3 -1
  64. package/internal/headers.mjs.map +1 -1
  65. package/internal/parse.d.mts +2 -3
  66. package/internal/parse.d.mts.map +1 -1
  67. package/internal/parse.d.ts +2 -3
  68. package/internal/parse.d.ts.map +1 -1
  69. package/internal/parse.js +1 -2
  70. package/internal/parse.js.map +1 -1
  71. package/internal/parse.mjs.map +1 -1
  72. package/internal/qs/formats.d.mts +6 -0
  73. package/internal/qs/formats.d.mts.map +1 -0
  74. package/internal/qs/formats.d.ts +6 -0
  75. package/internal/qs/formats.d.ts.map +1 -0
  76. package/internal/qs/formats.js +11 -0
  77. package/internal/qs/formats.js.map +1 -0
  78. package/internal/qs/formats.mjs +8 -0
  79. package/internal/qs/formats.mjs.map +1 -0
  80. package/internal/qs/index.d.mts +10 -0
  81. package/internal/qs/index.d.mts.map +1 -0
  82. package/internal/qs/index.d.ts +10 -0
  83. package/internal/qs/index.d.ts.map +1 -0
  84. package/internal/qs/index.js +14 -0
  85. package/internal/qs/index.js.map +1 -0
  86. package/internal/qs/index.mjs +10 -0
  87. package/internal/qs/index.mjs.map +1 -0
  88. package/internal/qs/stringify.d.mts +3 -0
  89. package/internal/qs/stringify.d.mts.map +1 -0
  90. package/internal/qs/stringify.d.ts +3 -0
  91. package/internal/qs/stringify.d.ts.map +1 -0
  92. package/internal/qs/stringify.js +279 -0
  93. package/internal/qs/stringify.js.map +1 -0
  94. package/internal/qs/stringify.mjs +276 -0
  95. package/internal/qs/stringify.mjs.map +1 -0
  96. package/internal/qs/types.d.mts +57 -0
  97. package/internal/qs/types.d.mts.map +1 -0
  98. package/internal/qs/types.d.ts +57 -0
  99. package/internal/qs/types.d.ts.map +1 -0
  100. package/internal/qs/types.js +3 -0
  101. package/internal/qs/types.js.map +1 -0
  102. package/internal/qs/types.mjs +2 -0
  103. package/internal/qs/types.mjs.map +1 -0
  104. package/internal/qs/utils.d.mts +14 -0
  105. package/internal/qs/utils.d.mts.map +1 -0
  106. package/internal/qs/utils.d.ts +14 -0
  107. package/internal/qs/utils.d.ts.map +1 -0
  108. package/internal/qs/utils.js +229 -0
  109. package/internal/qs/utils.js.map +1 -0
  110. package/internal/qs/utils.mjs +217 -0
  111. package/internal/qs/utils.mjs.map +1 -0
  112. package/internal/request-options.d.mts +0 -1
  113. package/internal/request-options.d.mts.map +1 -1
  114. package/internal/request-options.d.ts +0 -1
  115. package/internal/request-options.d.ts.map +1 -1
  116. package/internal/shims.js +6 -7
  117. package/internal/shims.js.map +1 -1
  118. package/internal/shims.mjs +1 -1
  119. package/internal/shims.mjs.map +1 -1
  120. package/internal/to-file.d.mts +0 -1
  121. package/internal/to-file.d.mts.map +1 -1
  122. package/internal/to-file.d.ts +0 -1
  123. package/internal/to-file.d.ts.map +1 -1
  124. package/internal/to-file.js +4 -4
  125. package/internal/to-file.js.map +1 -1
  126. package/internal/to-file.mjs +3 -2
  127. package/internal/to-file.mjs.map +1 -1
  128. package/internal/tslib.js +81 -0
  129. package/internal/tslib.mjs +17 -0
  130. package/internal/types.d.mts +0 -1
  131. package/internal/types.d.mts.map +1 -1
  132. package/internal/types.d.ts +0 -1
  133. package/internal/types.d.ts.map +1 -1
  134. package/internal/uploads.d.mts +5 -7
  135. package/internal/uploads.d.mts.map +1 -1
  136. package/internal/uploads.d.ts +5 -7
  137. package/internal/uploads.d.ts.map +1 -1
  138. package/internal/uploads.js +16 -6
  139. package/internal/uploads.js.map +1 -1
  140. package/internal/uploads.mjs +12 -3
  141. package/internal/uploads.mjs.map +1 -1
  142. package/internal/utils/base64.d.mts.map +1 -1
  143. package/internal/utils/base64.d.ts.map +1 -1
  144. package/internal/utils/base64.js +14 -9
  145. package/internal/utils/base64.js.map +1 -1
  146. package/internal/utils/base64.mjs +15 -10
  147. package/internal/utils/base64.mjs.map +1 -1
  148. package/internal/utils/bytes.d.mts +4 -0
  149. package/internal/utils/bytes.d.mts.map +1 -0
  150. package/internal/utils/bytes.d.ts +4 -0
  151. package/internal/utils/bytes.d.ts.map +1 -0
  152. package/internal/utils/bytes.js +31 -0
  153. package/internal/utils/bytes.js.map +1 -0
  154. package/internal/utils/bytes.mjs +26 -0
  155. package/internal/utils/bytes.mjs.map +1 -0
  156. package/internal/utils/env.d.mts.map +1 -1
  157. package/internal/utils/env.d.ts.map +1 -1
  158. package/internal/utils/env.js.map +1 -1
  159. package/internal/utils/env.mjs.map +1 -1
  160. package/internal/utils/log.d.mts +3 -4
  161. package/internal/utils/log.d.mts.map +1 -1
  162. package/internal/utils/log.d.ts +3 -4
  163. package/internal/utils/log.d.ts.map +1 -1
  164. package/internal/utils/log.js +2 -2
  165. package/internal/utils/log.js.map +1 -1
  166. package/internal/utils/log.mjs.map +1 -1
  167. package/internal/utils/path.d.mts.map +1 -1
  168. package/internal/utils/path.d.ts.map +1 -1
  169. package/internal/utils/path.js +3 -3
  170. package/internal/utils/path.js.map +1 -1
  171. package/internal/utils/path.mjs +2 -2
  172. package/internal/utils/path.mjs.map +1 -1
  173. package/internal/utils/sleep.d.mts.map +1 -1
  174. package/internal/utils/sleep.d.ts.map +1 -1
  175. package/internal/utils/uuid.d.mts +1 -1
  176. package/internal/utils/uuid.d.mts.map +1 -1
  177. package/internal/utils/uuid.d.ts +1 -1
  178. package/internal/utils/uuid.d.ts.map +1 -1
  179. package/internal/utils/uuid.js +1 -2
  180. package/internal/utils/uuid.js.map +1 -1
  181. package/internal/utils/uuid.mjs +1 -2
  182. package/internal/utils/uuid.mjs.map +1 -1
  183. package/internal/utils/values.d.mts.map +1 -1
  184. package/internal/utils/values.d.ts.map +1 -1
  185. package/internal/utils/values.js +10 -10
  186. package/internal/utils/values.js.map +1 -1
  187. package/internal/utils/values.mjs +6 -6
  188. package/internal/utils/values.mjs.map +1 -1
  189. package/internal/utils.js +7 -20
  190. package/internal/utils.js.map +1 -1
  191. package/package.json +5 -9
  192. package/resource.js +2 -15
  193. package/resource.js.map +1 -1
  194. package/resources/auth-configs.d.mts +232 -41
  195. package/resources/auth-configs.d.mts.map +1 -1
  196. package/resources/auth-configs.d.ts +232 -41
  197. package/resources/auth-configs.d.ts.map +1 -1
  198. package/resources/auth-configs.js +64 -0
  199. package/resources/auth-configs.js.map +1 -1
  200. package/resources/auth-configs.mjs +64 -0
  201. package/resources/auth-configs.mjs.map +1 -1
  202. package/resources/connected-accounts.d.mts +176 -216
  203. package/resources/connected-accounts.d.mts.map +1 -1
  204. package/resources/connected-accounts.d.ts +176 -216
  205. package/resources/connected-accounts.d.ts.map +1 -1
  206. package/resources/connected-accounts.js +70 -0
  207. package/resources/connected-accounts.js.map +1 -1
  208. package/resources/connected-accounts.mjs +70 -0
  209. package/resources/connected-accounts.mjs.map +1 -1
  210. package/resources/files.d.mts +159 -0
  211. package/resources/files.d.mts.map +1 -0
  212. package/resources/files.d.ts +159 -0
  213. package/resources/files.d.ts.map +1 -0
  214. package/resources/files.js +39 -0
  215. package/resources/files.js.map +1 -0
  216. package/resources/files.mjs +35 -0
  217. package/resources/files.mjs.map +1 -0
  218. package/resources/index.d.mts +5 -4
  219. package/resources/index.d.mts.map +1 -1
  220. package/resources/index.d.ts +5 -4
  221. package/resources/index.d.ts.map +1 -1
  222. package/resources/index.js +7 -5
  223. package/resources/index.js.map +1 -1
  224. package/resources/index.mjs +3 -2
  225. package/resources/index.mjs.map +1 -1
  226. package/resources/mcp/command.d.mts +4 -0
  227. package/resources/mcp/command.d.mts.map +1 -0
  228. package/resources/mcp/command.d.ts +4 -0
  229. package/resources/mcp/command.d.ts.map +1 -0
  230. package/resources/mcp/command.js +9 -0
  231. package/resources/mcp/command.js.map +1 -0
  232. package/resources/mcp/command.mjs +5 -0
  233. package/resources/mcp/command.mjs.map +1 -0
  234. package/resources/mcp/index.d.mts +3 -0
  235. package/resources/mcp/index.d.mts.map +1 -0
  236. package/resources/mcp/index.d.ts +3 -0
  237. package/resources/mcp/index.d.ts.map +1 -0
  238. package/resources/mcp/index.js +9 -0
  239. package/resources/mcp/index.js.map +1 -0
  240. package/resources/mcp/index.mjs +4 -0
  241. package/resources/mcp/index.mjs.map +1 -0
  242. package/resources/mcp/mcp.d.mts +411 -0
  243. package/resources/mcp/mcp.d.mts.map +1 -0
  244. package/resources/mcp/mcp.d.ts +411 -0
  245. package/resources/mcp/mcp.d.ts.map +1 -0
  246. package/resources/mcp/mcp.js +101 -0
  247. package/resources/mcp/mcp.js.map +1 -0
  248. package/resources/mcp/mcp.mjs +96 -0
  249. package/resources/mcp/mcp.mjs.map +1 -0
  250. package/resources/mcp.d.mts +2 -0
  251. package/resources/mcp.d.mts.map +1 -0
  252. package/resources/mcp.d.ts +2 -0
  253. package/resources/mcp.d.ts.map +1 -0
  254. package/resources/mcp.js +6 -0
  255. package/resources/mcp.js.map +1 -0
  256. package/resources/mcp.mjs +3 -0
  257. package/resources/mcp.mjs.map +1 -0
  258. package/resources/migration.d.mts +32 -0
  259. package/resources/migration.d.mts.map +1 -0
  260. package/resources/migration.d.ts +32 -0
  261. package/resources/migration.d.ts.map +1 -0
  262. package/resources/migration.js +17 -0
  263. package/resources/migration.js.map +1 -0
  264. package/resources/migration.mjs +13 -0
  265. package/resources/migration.mjs.map +1 -0
  266. package/resources/org/api-key.d.mts +28 -0
  267. package/resources/org/api-key.d.mts.map +1 -1
  268. package/resources/org/api-key.d.ts +28 -0
  269. package/resources/org/api-key.d.ts.map +1 -1
  270. package/resources/org/api-key.js +20 -0
  271. package/resources/org/api-key.js.map +1 -1
  272. package/resources/org/api-key.mjs +20 -0
  273. package/resources/org/api-key.mjs.map +1 -1
  274. package/resources/org/org.js +3 -25
  275. package/resources/org/org.js.map +1 -1
  276. package/resources/org/project/api-keys.d.mts +97 -20
  277. package/resources/org/project/api-keys.d.mts.map +1 -1
  278. package/resources/org/project/api-keys.d.ts +97 -20
  279. package/resources/org/project/api-keys.d.ts.map +1 -1
  280. package/resources/org/project/api-keys.js +57 -0
  281. package/resources/org/project/api-keys.js.map +1 -1
  282. package/resources/org/project/api-keys.mjs +57 -0
  283. package/resources/org/project/api-keys.mjs.map +1 -1
  284. package/resources/org/project/project.d.mts +182 -7
  285. package/resources/org/project/project.d.mts.map +1 -1
  286. package/resources/org/project/project.d.ts +182 -7
  287. package/resources/org/project/project.d.ts.map +1 -1
  288. package/resources/org/project/project.js +56 -26
  289. package/resources/org/project/project.js.map +1 -1
  290. package/resources/org/project/project.mjs +52 -0
  291. package/resources/org/project/project.mjs.map +1 -1
  292. package/resources/org/project/trigger.d.mts +101 -5
  293. package/resources/org/project/trigger.d.mts.map +1 -1
  294. package/resources/org/project/trigger.d.ts +101 -5
  295. package/resources/org/project/trigger.d.ts.map +1 -1
  296. package/resources/org/project/trigger.js +21 -0
  297. package/resources/org/project/trigger.js.map +1 -1
  298. package/resources/org/project/trigger.mjs +21 -0
  299. package/resources/org/project/trigger.mjs.map +1 -1
  300. package/resources/org/project/webhook.d.mts +88 -14
  301. package/resources/org/project/webhook.d.mts.map +1 -1
  302. package/resources/org/project/webhook.d.ts +88 -14
  303. package/resources/org/project/webhook.d.ts.map +1 -1
  304. package/resources/org/project/webhook.js +51 -1
  305. package/resources/org/project/webhook.js.map +1 -1
  306. package/resources/org/project/webhook.mjs +51 -1
  307. package/resources/org/project/webhook.mjs.map +1 -1
  308. package/resources/org/project.js +2 -15
  309. package/resources/org/project.js.map +1 -1
  310. package/resources/org.js +2 -15
  311. package/resources/org.js.map +1 -1
  312. package/resources/team-members.d.mts +12 -0
  313. package/resources/team-members.d.mts.map +1 -1
  314. package/resources/team-members.d.ts +12 -0
  315. package/resources/team-members.d.ts.map +1 -1
  316. package/resources/team-members.js +12 -0
  317. package/resources/team-members.js.map +1 -1
  318. package/resources/team-members.mjs +12 -0
  319. package/resources/team-members.mjs.map +1 -1
  320. package/resources/toolkits.d.mts +215 -4
  321. package/resources/toolkits.d.mts.map +1 -1
  322. package/resources/toolkits.d.ts +215 -4
  323. package/resources/toolkits.d.ts.map +1 -1
  324. package/resources/toolkits.js +20 -2
  325. package/resources/toolkits.js.map +1 -1
  326. package/resources/toolkits.mjs +20 -2
  327. package/resources/toolkits.mjs.map +1 -1
  328. package/resources/tools.d.mts +295 -21
  329. package/resources/tools.d.mts.map +1 -1
  330. package/resources/tools.d.ts +295 -21
  331. package/resources/tools.d.ts.map +1 -1
  332. package/resources/tools.js +67 -0
  333. package/resources/tools.js.map +1 -1
  334. package/resources/tools.mjs +67 -0
  335. package/resources/tools.mjs.map +1 -1
  336. package/resources/trigger-instances/handle.d.mts +2 -2
  337. package/resources/trigger-instances/handle.d.mts.map +1 -1
  338. package/resources/trigger-instances/handle.d.ts +2 -2
  339. package/resources/trigger-instances/handle.d.ts.map +1 -1
  340. package/resources/trigger-instances/handle.js.map +1 -1
  341. package/resources/trigger-instances/handle.mjs.map +1 -1
  342. package/resources/trigger-instances/index.d.mts +1 -1
  343. package/resources/trigger-instances/index.d.mts.map +1 -1
  344. package/resources/trigger-instances/index.d.ts +1 -1
  345. package/resources/trigger-instances/index.d.ts.map +1 -1
  346. package/resources/trigger-instances/index.js.map +1 -1
  347. package/resources/trigger-instances/index.mjs.map +1 -1
  348. package/resources/trigger-instances/trigger-instances.d.mts +51 -31
  349. package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
  350. package/resources/trigger-instances/trigger-instances.d.ts +51 -31
  351. package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
  352. package/resources/trigger-instances/trigger-instances.js +3 -32
  353. package/resources/trigger-instances/trigger-instances.js.map +1 -1
  354. package/resources/trigger-instances/trigger-instances.mjs +1 -8
  355. package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
  356. package/resources/trigger-instances.js +2 -15
  357. package/resources/trigger-instances.js.map +1 -1
  358. package/resources/triggers-types.d.mts +105 -4
  359. package/resources/triggers-types.d.mts.map +1 -1
  360. package/resources/triggers-types.d.ts +105 -4
  361. package/resources/triggers-types.d.ts.map +1 -1
  362. package/resources/triggers-types.js +29 -0
  363. package/resources/triggers-types.js.map +1 -1
  364. package/resources/triggers-types.mjs +29 -0
  365. package/resources/triggers-types.mjs.map +1 -1
  366. package/resources.js +2 -15
  367. package/resources.js.map +1 -1
  368. package/src/client.ts +128 -94
  369. package/src/core/api-promise.ts +4 -4
  370. package/src/core/error.ts +2 -2
  371. package/src/core/resource.ts +3 -3
  372. package/src/index.ts +3 -3
  373. package/src/internal/headers.ts +4 -3
  374. package/src/internal/parse.ts +2 -2
  375. package/src/internal/qs/LICENSE.md +13 -0
  376. package/src/internal/qs/README.md +3 -0
  377. package/src/internal/qs/formats.ts +9 -0
  378. package/src/internal/qs/index.ts +13 -0
  379. package/src/internal/qs/stringify.ts +388 -0
  380. package/src/internal/qs/types.ts +71 -0
  381. package/src/internal/qs/utils.ts +265 -0
  382. package/src/internal/shims.ts +1 -1
  383. package/src/internal/to-file.ts +4 -2
  384. package/src/internal/uploads.ts +21 -9
  385. package/src/internal/utils/base64.ts +16 -13
  386. package/src/internal/utils/bytes.ts +32 -0
  387. package/src/internal/utils/log.ts +3 -3
  388. package/src/internal/utils/path.ts +2 -4
  389. package/src/internal/utils/uuid.ts +1 -3
  390. package/src/internal/utils/values.ts +6 -6
  391. package/src/resources/auth-configs.ts +258 -49
  392. package/src/resources/connected-accounts.ts +192 -302
  393. package/src/resources/files.ts +209 -0
  394. package/src/resources/index.ts +24 -11
  395. package/src/resources/mcp/command.ts +5 -0
  396. package/src/resources/mcp/index.ts +14 -0
  397. package/src/resources/mcp/mcp.ts +522 -0
  398. package/src/resources/mcp.ts +3 -0
  399. package/src/resources/migration.ts +46 -0
  400. package/src/resources/org/api-key.ts +28 -0
  401. package/src/resources/org/project/api-keys.ts +97 -20
  402. package/src/resources/org/project/project.ts +182 -13
  403. package/src/resources/org/project/trigger.ts +101 -9
  404. package/src/resources/org/project/webhook.ts +88 -14
  405. package/src/resources/team-members.ts +12 -0
  406. package/src/resources/toolkits.ts +230 -4
  407. package/src/resources/tools.ts +316 -21
  408. package/src/resources/trigger-instances/handle.ts +10 -2
  409. package/src/resources/trigger-instances/index.ts +0 -3
  410. package/src/resources/trigger-instances/trigger-instances.ts +55 -44
  411. package/src/resources/triggers-types.ts +107 -6
  412. package/src/version.ts +1 -1
  413. package/uploads.js +2 -15
  414. package/uploads.js.map +1 -1
  415. package/version.d.mts +1 -1
  416. package/version.d.mts.map +1 -1
  417. package/version.d.ts +1 -1
  418. package/version.d.ts.map +1 -1
  419. package/version.js +1 -1
  420. package/version.js.map +1 -1
  421. package/version.mjs +1 -1
  422. package/version.mjs.map +1 -1
  423. package/internal/shims/crypto.d.mts +0 -13
  424. package/internal/shims/crypto.d.mts.map +0 -1
  425. package/internal/shims/crypto.d.ts +0 -13
  426. package/internal/shims/crypto.d.ts.map +0 -1
  427. package/internal/shims/crypto.js +0 -13
  428. package/internal/shims/crypto.js.map +0 -1
  429. package/internal/shims/crypto.mjs +0 -9
  430. package/internal/shims/crypto.mjs.map +0 -1
  431. package/internal/shims/file.d.mts +0 -23
  432. package/internal/shims/file.d.mts.map +0 -1
  433. package/internal/shims/file.d.ts +0 -23
  434. package/internal/shims/file.d.ts.map +0 -1
  435. package/internal/shims/file.js +0 -16
  436. package/internal/shims/file.js.map +0 -1
  437. package/internal/shims/file.mjs +0 -12
  438. package/internal/shims/file.mjs.map +0 -1
  439. package/internal/shims/getBuiltinModule.d.mts +0 -11
  440. package/internal/shims/getBuiltinModule.d.mts.map +0 -1
  441. package/internal/shims/getBuiltinModule.d.ts +0 -11
  442. package/internal/shims/getBuiltinModule.d.ts.map +0 -1
  443. package/internal/shims/getBuiltinModule.js +0 -68
  444. package/internal/shims/getBuiltinModule.js.map +0 -1
  445. package/internal/shims/getBuiltinModule.mjs +0 -64
  446. package/internal/shims/getBuiltinModule.mjs.map +0 -1
  447. package/internal/shims/nullGetBuiltinModule.d.mts +0 -2
  448. package/internal/shims/nullGetBuiltinModule.d.mts.map +0 -1
  449. package/internal/shims/nullGetBuiltinModule.d.ts +0 -2
  450. package/internal/shims/nullGetBuiltinModule.d.ts.map +0 -1
  451. package/internal/shims/nullGetBuiltinModule.js +0 -5
  452. package/internal/shims/nullGetBuiltinModule.js.map +0 -1
  453. package/internal/shims/nullGetBuiltinModule.mjs +0 -2
  454. package/internal/shims/nullGetBuiltinModule.mjs.map +0 -1
  455. package/resources/action-execution.d.mts +0 -155
  456. package/resources/action-execution.d.mts.map +0 -1
  457. package/resources/action-execution.d.ts +0 -155
  458. package/resources/action-execution.d.ts.map +0 -1
  459. package/resources/action-execution.js +0 -19
  460. package/resources/action-execution.js.map +0 -1
  461. package/resources/action-execution.mjs +0 -15
  462. package/resources/action-execution.mjs.map +0 -1
  463. package/resources/trigger.d.mts +0 -73
  464. package/resources/trigger.d.mts.map +0 -1
  465. package/resources/trigger.d.ts +0 -73
  466. package/resources/trigger.d.ts.map +0 -1
  467. package/resources/trigger.js +0 -12
  468. package/resources/trigger.js.map +0 -1
  469. package/resources/trigger.mjs +0 -8
  470. package/resources/trigger.mjs.map +0 -1
  471. package/src/internal/shims/crypto.ts +0 -18
  472. package/src/internal/shims/file.ts +0 -32
  473. package/src/internal/shims/getBuiltinModule.ts +0 -64
  474. package/src/internal/shims/nullGetBuiltinModule.ts +0 -1
  475. package/src/resources/action-execution.ts +0 -244
  476. package/src/resources/trigger.ts +0 -108
@@ -2,46 +2,142 @@ import { APIResource } from "../../../core/resource.js";
2
2
  import { APIPromise } from "../../../core/api-promise.js";
3
3
  import { RequestOptions } from "../../../internal/request-options.js";
4
4
  export declare class Trigger extends APIResource {
5
+ /**
6
+ * Updates the trigger enablement status for the current project. Use this endpoint
7
+ * to enable or disable triggers for automated workflows within a project.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * const trigger = await client.org.project.trigger.update({
12
+ * enabled: true,
13
+ * });
14
+ * ```
15
+ */
5
16
  update(params: TriggerUpdateParams, options?: RequestOptions): APIPromise<TriggerUpdateResponse>;
17
+ /**
18
+ * Retrieves the current project details including its trigger enablement status.
19
+ * Use this endpoint to check whether triggers are currently enabled or disabled
20
+ * for a project.
21
+ *
22
+ * @example
23
+ * ```ts
24
+ * const triggers = await client.org.project.trigger.list();
25
+ * ```
26
+ */
6
27
  list(options?: RequestOptions): APIPromise<TriggerListResponse>;
7
28
  }
8
29
  export interface TriggerUpdateResponse {
30
+ /**
31
+ * Unique identifier for the project
32
+ */
9
33
  id: string;
10
- auto_id: number;
34
+ /**
35
+ * ISO timestamp when the project was created
36
+ */
11
37
  created_at: string;
38
+ /**
39
+ * Whether this project has been soft-deleted
40
+ */
12
41
  deleted: boolean;
42
+ /**
43
+ * Email address associated with the project
44
+ */
13
45
  email: string;
46
+ /**
47
+ * URL where event webhook notifications will be sent (can be null)
48
+ */
14
49
  event_webhook_url: string | null;
50
+ /**
51
+ * Name of the project
52
+ */
15
53
  name: string;
16
- nano_id: string | null;
54
+ /**
55
+ * Identifier of the organization that owns this project
56
+ */
17
57
  org_id: string;
58
+ /**
59
+ * ISO timestamp when the project was last updated
60
+ */
18
61
  updated_at: string;
62
+ /**
63
+ * Secret key used to sign webhook payloads for verification
64
+ */
19
65
  webhook_secret: string | null;
66
+ /**
67
+ * URL where webhook events will be sent (can be null)
68
+ */
20
69
  webhook_url: string | null;
70
+ /**
71
+ * Indicates if the webhook configuration is using the new format
72
+ */
21
73
  is_new_webhook?: boolean;
74
+ /**
75
+ * ISO timestamp when the project last subscribed to updates
76
+ */
22
77
  last_subscribed_at?: string | null;
78
+ /**
79
+ * Whether triggers are enabled for this project
80
+ */
23
81
  triggers_enabled?: boolean;
24
82
  }
25
83
  export interface TriggerListResponse {
84
+ /**
85
+ * Unique identifier for the project
86
+ */
26
87
  id: string;
27
- auto_id: number;
88
+ /**
89
+ * ISO timestamp when the project was created
90
+ */
28
91
  created_at: string;
92
+ /**
93
+ * Whether this project has been soft-deleted
94
+ */
29
95
  deleted: boolean;
96
+ /**
97
+ * Email address associated with the project
98
+ */
30
99
  email: string;
100
+ /**
101
+ * URL where event webhook notifications will be sent (can be null)
102
+ */
31
103
  event_webhook_url: string | null;
104
+ /**
105
+ * Name of the project
106
+ */
32
107
  name: string;
33
- nano_id: string | null;
108
+ /**
109
+ * Identifier of the organization that owns this project
110
+ */
34
111
  org_id: string;
112
+ /**
113
+ * ISO timestamp when the project was last updated
114
+ */
35
115
  updated_at: string;
116
+ /**
117
+ * Secret key used to sign webhook payloads for verification
118
+ */
36
119
  webhook_secret: string | null;
120
+ /**
121
+ * URL where webhook events will be sent (can be null)
122
+ */
37
123
  webhook_url: string | null;
124
+ /**
125
+ * Indicates if the webhook configuration is using the new format
126
+ */
38
127
  is_new_webhook?: boolean;
128
+ /**
129
+ * ISO timestamp when the project last subscribed to updates
130
+ */
39
131
  last_subscribed_at?: string | null;
132
+ /**
133
+ * Whether triggers are enabled for this project
134
+ */
40
135
  triggers_enabled?: boolean;
41
136
  }
42
137
  export interface TriggerUpdateParams {
43
138
  /**
44
- * Enabled
139
+ * Boolean flag indicating whether triggers should be enabled (true) or disabled
140
+ * (false) for the project
45
141
  */
46
142
  enabled: boolean;
47
143
  }
@@ -1 +1 @@
1
- {"version":3,"file":"trigger.d.ts","sourceRoot":"","sources":["../../../src/resources/org/project/trigger.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,MAAM,CAAC,MAAM,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAKhG,IAAI,CAAC,OAAO,CAAC,E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G,IAAI,CAAC;IAEnC;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IAEjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnC;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -4,10 +4,31 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Trigger = void 0;
5
5
  const resource_1 = require("../../../core/resource.js");
6
6
  class Trigger extends resource_1.APIResource {
7
+ /**
8
+ * Updates the trigger enablement status for the current project. Use this endpoint
9
+ * to enable or disable triggers for automated workflows within a project.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const trigger = await client.org.project.trigger.update({
14
+ * enabled: true,
15
+ * });
16
+ * ```
17
+ */
7
18
  update(params, options) {
8
19
  const { enabled } = params;
9
20
  return this._client.patch('/api/v3/org/project/trigger', { query: { enabled }, ...options });
10
21
  }
22
+ /**
23
+ * Retrieves the current project details including its trigger enablement status.
24
+ * Use this endpoint to check whether triggers are currently enabled or disabled
25
+ * for a project.
26
+ *
27
+ * @example
28
+ * ```ts
29
+ * const triggers = await client.org.project.trigger.list();
30
+ * ```
31
+ */
11
32
  list(options) {
12
33
  return this._client.get('/api/v3/org/project/trigger', options);
13
34
  }
@@ -1 +1 @@
1
- {"version":3,"file":"trigger.js","sourceRoot":"","sources":["../../../src/resources/org/project/trigger.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAIrD,MAAa,OAAQ,SAAQ,sBAAW;IACtC,MAAM,CAAC,MAA2B,EAAE,OAAwB;QAC1D,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;IAED,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF;AATD,0BASC"}
1
+ {"version":3,"file":"trigger.js","sourceRoot":"","sources":["../../../src/resources/org/project/trigger.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAIrD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,MAA2B,EAAE,OAAwB;QAC1D,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;IAED;;;;;;;;;OASG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF;AA9BD,0BA8BC"}
@@ -1,10 +1,31 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  import { APIResource } from "../../../core/resource.mjs";
3
3
  export class Trigger extends APIResource {
4
+ /**
5
+ * Updates the trigger enablement status for the current project. Use this endpoint
6
+ * to enable or disable triggers for automated workflows within a project.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * const trigger = await client.org.project.trigger.update({
11
+ * enabled: true,
12
+ * });
13
+ * ```
14
+ */
4
15
  update(params, options) {
5
16
  const { enabled } = params;
6
17
  return this._client.patch('/api/v3/org/project/trigger', { query: { enabled }, ...options });
7
18
  }
19
+ /**
20
+ * Retrieves the current project details including its trigger enablement status.
21
+ * Use this endpoint to check whether triggers are currently enabled or disabled
22
+ * for a project.
23
+ *
24
+ * @example
25
+ * ```ts
26
+ * const triggers = await client.org.project.trigger.list();
27
+ * ```
28
+ */
8
29
  list(options) {
9
30
  return this._client.get('/api/v3/org/project/trigger', options);
10
31
  }
@@ -1 +1 @@
1
- {"version":3,"file":"trigger.mjs","sourceRoot":"","sources":["../../../src/resources/org/project/trigger.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC,MAAM,CAAC,MAA2B,EAAE,OAAwB;QAC1D,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;IAED,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF"}
1
+ {"version":3,"file":"trigger.mjs","sourceRoot":"","sources":["../../../src/resources/org/project/trigger.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,MAA2B,EAAE,OAAwB;QAC1D,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,6BAA6B,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;IAED;;;;;;;;;OASG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;CACF"}
@@ -3,86 +3,160 @@ import { APIPromise } from "../../../core/api-promise.mjs";
3
3
  import { RequestOptions } from "../../../internal/request-options.mjs";
4
4
  export declare class Webhook extends APIResource {
5
5
  /**
6
- * Get the webhook URL for a project
6
+ * Retrieves the webhook URL and secret for the current project. Webhooks come in
7
+ * two types: "trigger" webhooks are used for integration trigger events, while
8
+ * "event" webhooks receive system notifications about project events. The response
9
+ * includes both the URL and the secret key used to verify webhook signatures.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const webhook = await client.org.project.webhook.retrieve({
14
+ * type: 'trigger',
15
+ * });
16
+ * ```
7
17
  */
8
18
  retrieve(query: WebhookRetrieveParams, options?: RequestOptions): APIPromise<WebhookRetrieveResponse>;
19
+ /**
20
+ * Updates the webhook URL for the current project based on the specified type
21
+ * (trigger or event). Webhook URLs are endpoints that receive notifications about
22
+ * events in your project. "Trigger" webhooks receive integration trigger events,
23
+ * while "event" webhooks receive system notifications. This endpoint allows you to
24
+ * set or change these notification destinations.
25
+ *
26
+ * @example
27
+ * ```ts
28
+ * const webhook = await client.org.project.webhook.update({
29
+ * type: 'trigger',
30
+ * webhook_url: 'https://example.com/api/webhooks/triggers',
31
+ * });
32
+ * ```
33
+ */
9
34
  update(body: WebhookUpdateParams, options?: RequestOptions): APIPromise<WebhookUpdateResponse>;
35
+ /**
36
+ * Removes a webhook URL (trigger or event) from the project configuration. This
37
+ * operation sets the specified webhook URL to null in the database but preserves
38
+ * the webhook secret. After deletion, the project will no longer receive webhook
39
+ * notifications of the specified type until a new URL is configured.
40
+ *
41
+ * @example
42
+ * ```ts
43
+ * const webhook = await client.org.project.webhook.delete({
44
+ * type: 'trigger',
45
+ * });
46
+ * ```
47
+ */
10
48
  delete(body: WebhookDeleteParams, options?: RequestOptions): APIPromise<WebhookDeleteResponse>;
49
+ /**
50
+ * Generates a new webhook secret for the project, invalidating the previous one.
51
+ * Webhook secrets are used to verify the authenticity of incoming webhook payloads
52
+ * through signature verification. This endpoint should be used when you need to
53
+ * rotate your webhook secret for security purposes. After refreshing, you must
54
+ * update your webhook verification logic to use the new secret.
55
+ *
56
+ * @example
57
+ * ```ts
58
+ * const response = await client.org.project.webhook.refresh();
59
+ * ```
60
+ */
11
61
  refresh(options?: RequestOptions): APIPromise<WebhookRefreshResponse>;
12
62
  }
63
+ /**
64
+ * Response containing webhook URL configuration and secret
65
+ */
13
66
  export interface WebhookRetrieveResponse {
14
67
  /**
15
- * Status of the webhook
68
+ * Indicates whether the webhook was found and retrieved successfully
16
69
  */
17
70
  status: 'success' | 'not found';
71
+ /**
72
+ * The webhook configuration containing either trigger or event webhook URL
73
+ */
18
74
  url: WebhookRetrieveResponse.UnionMember0 | WebhookRetrieveResponse.UnionMember1;
19
75
  /**
20
- * Webhook secret
76
+ * The secret key that should be used to verify webhook signatures
21
77
  */
22
78
  webhook_secret: string;
23
79
  }
24
80
  export declare namespace WebhookRetrieveResponse {
25
81
  interface UnionMember0 {
82
+ /**
83
+ * Identifies this as a trigger webhook response
84
+ */
26
85
  type: 'trigger';
27
86
  /**
28
- * Webhook URL
87
+ * The URL endpoint where trigger notifications will be delivered
29
88
  */
30
89
  webhook_url?: string;
31
90
  }
32
91
  interface UnionMember1 {
92
+ /**
93
+ * Identifies this as an event webhook response
94
+ */
33
95
  type: 'event';
34
96
  /**
35
- * Event webhook URL
97
+ * The URL endpoint where event notifications will be delivered
36
98
  */
37
99
  event_webhook_url?: string;
38
100
  }
39
101
  }
102
+ /**
103
+ * Response indicating the status of the webhook URL update operation
104
+ */
40
105
  export interface WebhookUpdateResponse {
41
106
  /**
42
- * Status message
107
+ * Human-readable description of the update operation result
43
108
  */
44
109
  message: string;
45
110
  /**
46
- * Whether the operation was successful
111
+ * Indicates if the webhook URL update was completed successfully
47
112
  */
48
113
  success: boolean;
49
114
  }
115
+ /**
116
+ * Response indicating successful webhook URL deletion
117
+ */
50
118
  export interface WebhookDeleteResponse {
119
+ /**
120
+ * Indicates the webhook URL was successfully removed
121
+ */
51
122
  status: 'success';
52
123
  }
124
+ /**
125
+ * Response containing the newly generated webhook secret
126
+ */
53
127
  export interface WebhookRefreshResponse {
54
128
  /**
55
- * Status message
129
+ * Human-readable description of the refresh operation result
56
130
  */
57
131
  message: string;
58
132
  /**
59
- * Whether the operation was successful
133
+ * Indicates if the webhook secret was successfully refreshed
60
134
  */
61
135
  success: boolean;
62
136
  /**
63
- * Webhook secret
137
+ * The new secret key that should be used to verify incoming webhook payloads
64
138
  */
65
139
  webhook_secret: string;
66
140
  }
67
141
  export interface WebhookRetrieveParams {
68
142
  /**
69
- * Type of the webhook
143
+ * Type of webhook to retrieve (trigger or event)
70
144
  */
71
145
  type: 'trigger' | 'event';
72
146
  }
73
147
  export interface WebhookUpdateParams {
74
148
  /**
75
- * Type of the webhook
149
+ * Specifies which webhook type to update (trigger or event)
76
150
  */
77
151
  type: 'trigger' | 'event';
78
152
  /**
79
- * Webhook URL
153
+ * Valid URL that will receive webhook payloads. Must include https:// protocol.
80
154
  */
81
155
  webhook_url: string;
82
156
  }
83
157
  export interface WebhookDeleteParams {
84
158
  /**
85
- * Type of the webhook
159
+ * Specifies which webhook type to remove from the project configuration
86
160
  */
87
161
  type: 'trigger' | 'event';
88
162
  }
@@ -1 +1 @@
1
- {"version":3,"file":"webhook.d.mts","sourceRoot":"","sources":["../../../src/resources/org/project/webhook.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIrG,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F,OAAO,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGtE;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,MAAM,EAAE,SAAS,GAAG,WAAW,CAAC;IAEhC,GAAG,EAAE,uBAAuB,CAAC,YAAY,GAAG,uBAAuB,CAAC,YAAY,CAAC;IAEjF;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,yBAAiB,uBAAuB,CAAC;IACvC,UAAiB,YAAY;QAC3B,IAAI,EAAE,SAAS,CAAC;QAEhB;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB;IAED,UAAiB,YAAY;QAC3B,IAAI,EAAE,OAAO,CAAC;QAEd;;WAEG;QACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;KAC5B;CACF;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,SAAS,CAAC;CACnB;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;IAE1B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
1
+ {"version":3,"file":"webhook.d.mts","sourceRoot":"","sources":["../../../src/resources/org/project/webhook.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,KAAK,EAAE,qBAAqB,EAAE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EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;IAE1B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
@@ -3,86 +3,160 @@ import { APIPromise } from "../../../core/api-promise.js";
3
3
  import { RequestOptions } from "../../../internal/request-options.js";
4
4
  export declare class Webhook extends APIResource {
5
5
  /**
6
- * Get the webhook URL for a project
6
+ * Retrieves the webhook URL and secret for the current project. Webhooks come in
7
+ * two types: "trigger" webhooks are used for integration trigger events, while
8
+ * "event" webhooks receive system notifications about project events. The response
9
+ * includes both the URL and the secret key used to verify webhook signatures.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const webhook = await client.org.project.webhook.retrieve({
14
+ * type: 'trigger',
15
+ * });
16
+ * ```
7
17
  */
8
18
  retrieve(query: WebhookRetrieveParams, options?: RequestOptions): APIPromise<WebhookRetrieveResponse>;
19
+ /**
20
+ * Updates the webhook URL for the current project based on the specified type
21
+ * (trigger or event). Webhook URLs are endpoints that receive notifications about
22
+ * events in your project. "Trigger" webhooks receive integration trigger events,
23
+ * while "event" webhooks receive system notifications. This endpoint allows you to
24
+ * set or change these notification destinations.
25
+ *
26
+ * @example
27
+ * ```ts
28
+ * const webhook = await client.org.project.webhook.update({
29
+ * type: 'trigger',
30
+ * webhook_url: 'https://example.com/api/webhooks/triggers',
31
+ * });
32
+ * ```
33
+ */
9
34
  update(body: WebhookUpdateParams, options?: RequestOptions): APIPromise<WebhookUpdateResponse>;
35
+ /**
36
+ * Removes a webhook URL (trigger or event) from the project configuration. This
37
+ * operation sets the specified webhook URL to null in the database but preserves
38
+ * the webhook secret. After deletion, the project will no longer receive webhook
39
+ * notifications of the specified type until a new URL is configured.
40
+ *
41
+ * @example
42
+ * ```ts
43
+ * const webhook = await client.org.project.webhook.delete({
44
+ * type: 'trigger',
45
+ * });
46
+ * ```
47
+ */
10
48
  delete(body: WebhookDeleteParams, options?: RequestOptions): APIPromise<WebhookDeleteResponse>;
49
+ /**
50
+ * Generates a new webhook secret for the project, invalidating the previous one.
51
+ * Webhook secrets are used to verify the authenticity of incoming webhook payloads
52
+ * through signature verification. This endpoint should be used when you need to
53
+ * rotate your webhook secret for security purposes. After refreshing, you must
54
+ * update your webhook verification logic to use the new secret.
55
+ *
56
+ * @example
57
+ * ```ts
58
+ * const response = await client.org.project.webhook.refresh();
59
+ * ```
60
+ */
11
61
  refresh(options?: RequestOptions): APIPromise<WebhookRefreshResponse>;
12
62
  }
63
+ /**
64
+ * Response containing webhook URL configuration and secret
65
+ */
13
66
  export interface WebhookRetrieveResponse {
14
67
  /**
15
- * Status of the webhook
68
+ * Indicates whether the webhook was found and retrieved successfully
16
69
  */
17
70
  status: 'success' | 'not found';
71
+ /**
72
+ * The webhook configuration containing either trigger or event webhook URL
73
+ */
18
74
  url: WebhookRetrieveResponse.UnionMember0 | WebhookRetrieveResponse.UnionMember1;
19
75
  /**
20
- * Webhook secret
76
+ * The secret key that should be used to verify webhook signatures
21
77
  */
22
78
  webhook_secret: string;
23
79
  }
24
80
  export declare namespace WebhookRetrieveResponse {
25
81
  interface UnionMember0 {
82
+ /**
83
+ * Identifies this as a trigger webhook response
84
+ */
26
85
  type: 'trigger';
27
86
  /**
28
- * Webhook URL
87
+ * The URL endpoint where trigger notifications will be delivered
29
88
  */
30
89
  webhook_url?: string;
31
90
  }
32
91
  interface UnionMember1 {
92
+ /**
93
+ * Identifies this as an event webhook response
94
+ */
33
95
  type: 'event';
34
96
  /**
35
- * Event webhook URL
97
+ * The URL endpoint where event notifications will be delivered
36
98
  */
37
99
  event_webhook_url?: string;
38
100
  }
39
101
  }
102
+ /**
103
+ * Response indicating the status of the webhook URL update operation
104
+ */
40
105
  export interface WebhookUpdateResponse {
41
106
  /**
42
- * Status message
107
+ * Human-readable description of the update operation result
43
108
  */
44
109
  message: string;
45
110
  /**
46
- * Whether the operation was successful
111
+ * Indicates if the webhook URL update was completed successfully
47
112
  */
48
113
  success: boolean;
49
114
  }
115
+ /**
116
+ * Response indicating successful webhook URL deletion
117
+ */
50
118
  export interface WebhookDeleteResponse {
119
+ /**
120
+ * Indicates the webhook URL was successfully removed
121
+ */
51
122
  status: 'success';
52
123
  }
124
+ /**
125
+ * Response containing the newly generated webhook secret
126
+ */
53
127
  export interface WebhookRefreshResponse {
54
128
  /**
55
- * Status message
129
+ * Human-readable description of the refresh operation result
56
130
  */
57
131
  message: string;
58
132
  /**
59
- * Whether the operation was successful
133
+ * Indicates if the webhook secret was successfully refreshed
60
134
  */
61
135
  success: boolean;
62
136
  /**
63
- * Webhook secret
137
+ * The new secret key that should be used to verify incoming webhook payloads
64
138
  */
65
139
  webhook_secret: string;
66
140
  }
67
141
  export interface WebhookRetrieveParams {
68
142
  /**
69
- * Type of the webhook
143
+ * Type of webhook to retrieve (trigger or event)
70
144
  */
71
145
  type: 'trigger' | 'event';
72
146
  }
73
147
  export interface WebhookUpdateParams {
74
148
  /**
75
- * Type of the webhook
149
+ * Specifies which webhook type to update (trigger or event)
76
150
  */
77
151
  type: 'trigger' | 'event';
78
152
  /**
79
- * Webhook URL
153
+ * Valid URL that will receive webhook payloads. Must include https:// protocol.
80
154
  */
81
155
  webhook_url: string;
82
156
  }
83
157
  export interface WebhookDeleteParams {
84
158
  /**
85
- * Type of the webhook
159
+ * Specifies which webhook type to remove from the project configuration
86
160
  */
87
161
  type: 'trigger' | 'event';
88
162
  }
@@ -1 +1 @@
1
- {"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../../../src/resources/org/project/webhook.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIrG,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F,OAAO,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;CAGtE;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,MAAM,EAAE,SAAS,GAAG,WAAW,CAAC;IAEhC,GAAG,EAAE,uBAAuB,CAAC,YAAY,GAAG,uBAAuB,CAAC,YAAY,CAAC;IAEjF;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,yBAAiB,uBAAuB,CAAC;IACvC,UAAiB,YAAY;QAC3B,IAAI,EAAE,SAAS,CAAC;QAEhB;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB;IAED,UAAiB,YAAY;QAC3B,IAAI,EAAE,OAAO,CAAC;QAEd;;WAEG;QACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;KAC5B;CACF;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,SAAS,CAAC;CACnB;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;IAE1B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
1
+ {"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../../../src/resources/org/project/webhook.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,KAAK,EAAE,qBAAqB,EAAE,OAAO,CA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