@epilot/sdk 2.1.0 → 2.1.1

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 (477) hide show
  1. package/README.md +24 -0
  2. package/definitions/environments-runtime.json +1 -1
  3. package/dist/{README-W4B35MRN.cjs → README-6OOYWQYJ.cjs} +1 -1
  4. package/dist/{README-VG67PX4R.js → README-JUWX7KNV.js} +1 -1
  5. package/dist/{_index-S6LFD3ER.js → _index-NWNYWBIF.js} +48 -1
  6. package/dist/{_index-AMVZBT2K.cjs → _index-ONGE545F.cjs} +48 -1
  7. package/dist/access-token-2O6ULCCN.js +633 -0
  8. package/dist/access-token-RKP2A2F7.cjs +633 -0
  9. package/dist/access-token-runtime-KCKGT4O7.js +5 -0
  10. package/dist/access-token-runtime-NZWZJPWV.cjs +5 -0
  11. package/dist/address-HLBX47SQ.cjs +567 -0
  12. package/dist/address-IJF4N2UV.js +567 -0
  13. package/dist/address-runtime-2MNO2YRD.cjs +5 -0
  14. package/dist/address-runtime-YFCNBJBW.js +5 -0
  15. package/dist/address-suggestions-BYUTV7OU.js +574 -0
  16. package/dist/address-suggestions-ERVGGO6Z.cjs +574 -0
  17. package/dist/address-suggestions-runtime-NIMC2J32.js +5 -0
  18. package/dist/address-suggestions-runtime-ZNGLDADE.cjs +5 -0
  19. package/dist/ai-agents-6VHVYRCC.cjs +1612 -0
  20. package/dist/ai-agents-PKCHKKJS.js +1612 -0
  21. package/dist/ai-agents-runtime-25YRUJHI.js +5 -0
  22. package/dist/ai-agents-runtime-TILIO3UM.cjs +5 -0
  23. package/dist/apis/access-token.cjs +8 -8
  24. package/dist/apis/access-token.d.cts +2 -2
  25. package/dist/apis/access-token.d.ts +2 -2
  26. package/dist/apis/access-token.js +4 -4
  27. package/dist/apis/address-suggestions.cjs +8 -8
  28. package/dist/apis/address-suggestions.d.cts +2 -2
  29. package/dist/apis/address-suggestions.d.ts +2 -2
  30. package/dist/apis/address-suggestions.js +4 -4
  31. package/dist/apis/address.cjs +8 -8
  32. package/dist/apis/address.d.cts +2 -2
  33. package/dist/apis/address.d.ts +2 -2
  34. package/dist/apis/address.js +4 -4
  35. package/dist/apis/ai-agents.cjs +8 -8
  36. package/dist/apis/ai-agents.d.cts +2 -2
  37. package/dist/apis/ai-agents.d.ts +2 -2
  38. package/dist/apis/ai-agents.js +4 -4
  39. package/dist/apis/app.cjs +8 -8
  40. package/dist/apis/app.d.cts +2 -2
  41. package/dist/apis/app.d.ts +2 -2
  42. package/dist/apis/app.js +4 -4
  43. package/dist/apis/audit-logs.cjs +8 -8
  44. package/dist/apis/audit-logs.d.cts +2 -2
  45. package/dist/apis/audit-logs.d.ts +2 -2
  46. package/dist/apis/audit-logs.js +4 -4
  47. package/dist/apis/automation.cjs +8 -8
  48. package/dist/apis/automation.d.cts +2 -2
  49. package/dist/apis/automation.d.ts +2 -2
  50. package/dist/apis/automation.js +4 -4
  51. package/dist/apis/billing.cjs +8 -8
  52. package/dist/apis/billing.d.cts +2 -2
  53. package/dist/apis/billing.d.ts +2 -2
  54. package/dist/apis/billing.js +4 -4
  55. package/dist/apis/blueprint-manifest.cjs +8 -8
  56. package/dist/apis/blueprint-manifest.d.cts +2 -2
  57. package/dist/apis/blueprint-manifest.d.ts +2 -2
  58. package/dist/apis/blueprint-manifest.js +4 -4
  59. package/dist/apis/consent.cjs +8 -8
  60. package/dist/apis/consent.d.cts +2 -2
  61. package/dist/apis/consent.d.ts +2 -2
  62. package/dist/apis/consent.js +4 -4
  63. package/dist/apis/customer-portal.cjs +8 -8
  64. package/dist/apis/customer-portal.d.cts +2 -2
  65. package/dist/apis/customer-portal.d.ts +2 -2
  66. package/dist/apis/customer-portal.js +4 -4
  67. package/dist/apis/dashboard.cjs +8 -8
  68. package/dist/apis/dashboard.d.cts +2 -2
  69. package/dist/apis/dashboard.d.ts +2 -2
  70. package/dist/apis/dashboard.js +4 -4
  71. package/dist/apis/data-management.cjs +8 -8
  72. package/dist/apis/data-management.d.cts +2 -2
  73. package/dist/apis/data-management.d.ts +2 -2
  74. package/dist/apis/data-management.js +4 -4
  75. package/dist/apis/deduplication.cjs +8 -8
  76. package/dist/apis/deduplication.d.cts +2 -2
  77. package/dist/apis/deduplication.d.ts +2 -2
  78. package/dist/apis/deduplication.js +4 -4
  79. package/dist/apis/design.cjs +8 -8
  80. package/dist/apis/design.d.cts +2 -2
  81. package/dist/apis/design.d.ts +2 -2
  82. package/dist/apis/design.js +4 -4
  83. package/dist/apis/document.cjs +8 -8
  84. package/dist/apis/document.d.cts +2 -2
  85. package/dist/apis/document.d.ts +2 -2
  86. package/dist/apis/document.js +4 -4
  87. package/dist/apis/email-settings.cjs +8 -8
  88. package/dist/apis/email-settings.d.cts +2 -2
  89. package/dist/apis/email-settings.d.ts +2 -2
  90. package/dist/apis/email-settings.js +4 -4
  91. package/dist/apis/email-template.cjs +8 -8
  92. package/dist/apis/email-template.d.cts +2 -2
  93. package/dist/apis/email-template.d.ts +2 -2
  94. package/dist/apis/email-template.js +4 -4
  95. package/dist/apis/entity-mapping.cjs +8 -8
  96. package/dist/apis/entity-mapping.d.cts +2 -2
  97. package/dist/apis/entity-mapping.d.ts +2 -2
  98. package/dist/apis/entity-mapping.js +4 -4
  99. package/dist/apis/entity.cjs +8 -8
  100. package/dist/apis/entity.d.cts +2 -2
  101. package/dist/apis/entity.d.ts +2 -2
  102. package/dist/apis/entity.js +4 -4
  103. package/dist/apis/environments.cjs +8 -8
  104. package/dist/apis/environments.d.cts +2 -2
  105. package/dist/apis/environments.d.ts +2 -2
  106. package/dist/apis/environments.js +4 -4
  107. package/dist/apis/erp-integration.cjs +8 -8
  108. package/dist/apis/erp-integration.d.cts +2 -2
  109. package/dist/apis/erp-integration.d.ts +2 -2
  110. package/dist/apis/erp-integration.js +4 -4
  111. package/dist/apis/event-catalog.cjs +8 -8
  112. package/dist/apis/event-catalog.d.cts +2 -2
  113. package/dist/apis/event-catalog.d.ts +2 -2
  114. package/dist/apis/event-catalog.js +4 -4
  115. package/dist/apis/file.cjs +8 -8
  116. package/dist/apis/file.d.cts +2 -2
  117. package/dist/apis/file.d.ts +2 -2
  118. package/dist/apis/file.js +4 -4
  119. package/dist/apis/iban.cjs +8 -8
  120. package/dist/apis/iban.d.cts +2 -2
  121. package/dist/apis/iban.d.ts +2 -2
  122. package/dist/apis/iban.js +4 -4
  123. package/dist/apis/journey.cjs +8 -8
  124. package/dist/apis/journey.d.cts +2 -2
  125. package/dist/apis/journey.d.ts +2 -2
  126. package/dist/apis/journey.js +4 -4
  127. package/dist/apis/kanban.cjs +8 -8
  128. package/dist/apis/kanban.d.cts +2 -2
  129. package/dist/apis/kanban.d.ts +2 -2
  130. package/dist/apis/kanban.js +4 -4
  131. package/dist/apis/message.cjs +8 -8
  132. package/dist/apis/message.d.cts +2 -2
  133. package/dist/apis/message.d.ts +2 -2
  134. package/dist/apis/message.js +4 -4
  135. package/dist/apis/metering.cjs +8 -8
  136. package/dist/apis/metering.d.cts +2 -2
  137. package/dist/apis/metering.d.ts +2 -2
  138. package/dist/apis/metering.js +4 -4
  139. package/dist/apis/notes.cjs +8 -8
  140. package/dist/apis/notes.d.cts +2 -2
  141. package/dist/apis/notes.d.ts +2 -2
  142. package/dist/apis/notes.js +4 -4
  143. package/dist/apis/notification.cjs +8 -8
  144. package/dist/apis/notification.d.cts +2 -2
  145. package/dist/apis/notification.d.ts +2 -2
  146. package/dist/apis/notification.js +4 -4
  147. package/dist/apis/organization.cjs +8 -8
  148. package/dist/apis/organization.d.cts +2 -2
  149. package/dist/apis/organization.d.ts +2 -2
  150. package/dist/apis/organization.js +4 -4
  151. package/dist/apis/partner-directory.cjs +8 -8
  152. package/dist/apis/partner-directory.d.cts +2 -2
  153. package/dist/apis/partner-directory.d.ts +2 -2
  154. package/dist/apis/partner-directory.js +4 -4
  155. package/dist/apis/permissions.cjs +8 -8
  156. package/dist/apis/permissions.d.cts +2 -2
  157. package/dist/apis/permissions.d.ts +2 -2
  158. package/dist/apis/permissions.js +4 -4
  159. package/dist/apis/pricing-tier.cjs +8 -8
  160. package/dist/apis/pricing-tier.d.cts +2 -2
  161. package/dist/apis/pricing-tier.d.ts +2 -2
  162. package/dist/apis/pricing-tier.js +4 -4
  163. package/dist/apis/pricing.cjs +8 -8
  164. package/dist/apis/pricing.d.cts +2 -2
  165. package/dist/apis/pricing.d.ts +2 -2
  166. package/dist/apis/pricing.js +4 -4
  167. package/dist/apis/purpose.cjs +8 -8
  168. package/dist/apis/purpose.d.cts +2 -2
  169. package/dist/apis/purpose.d.ts +2 -2
  170. package/dist/apis/purpose.js +4 -4
  171. package/dist/apis/sandbox.cjs +8 -8
  172. package/dist/apis/sandbox.d.cts +2 -2
  173. package/dist/apis/sandbox.d.ts +2 -2
  174. package/dist/apis/sandbox.js +4 -4
  175. package/dist/apis/submission.cjs +8 -8
  176. package/dist/apis/submission.d.cts +2 -2
  177. package/dist/apis/submission.d.ts +2 -2
  178. package/dist/apis/submission.js +4 -4
  179. package/dist/apis/targeting.cjs +8 -8
  180. package/dist/apis/targeting.d.cts +2 -2
  181. package/dist/apis/targeting.d.ts +2 -2
  182. package/dist/apis/targeting.js +4 -4
  183. package/dist/apis/template-variables.cjs +8 -8
  184. package/dist/apis/template-variables.d.cts +2 -2
  185. package/dist/apis/template-variables.d.ts +2 -2
  186. package/dist/apis/template-variables.js +4 -4
  187. package/dist/apis/user.cjs +8 -8
  188. package/dist/apis/user.d.cts +2 -2
  189. package/dist/apis/user.d.ts +2 -2
  190. package/dist/apis/user.js +4 -4
  191. package/dist/apis/validation-rules.cjs +8 -8
  192. package/dist/apis/validation-rules.d.cts +2 -2
  193. package/dist/apis/validation-rules.d.ts +2 -2
  194. package/dist/apis/validation-rules.js +4 -4
  195. package/dist/apis/webhooks.cjs +8 -8
  196. package/dist/apis/webhooks.d.cts +2 -2
  197. package/dist/apis/webhooks.d.ts +2 -2
  198. package/dist/apis/webhooks.js +4 -4
  199. package/dist/apis/workflow-definition.cjs +8 -8
  200. package/dist/apis/workflow-definition.d.cts +2 -2
  201. package/dist/apis/workflow-definition.d.ts +2 -2
  202. package/dist/apis/workflow-definition.js +4 -4
  203. package/dist/apis/workflow.cjs +8 -8
  204. package/dist/apis/workflow.d.cts +2 -2
  205. package/dist/apis/workflow.d.ts +2 -2
  206. package/dist/apis/workflow.js +4 -4
  207. package/dist/app-5VPBDFW2.cjs +4047 -0
  208. package/dist/app-VJW2KKWE.js +4047 -0
  209. package/dist/app-runtime-SSNHSBR7.cjs +5 -0
  210. package/dist/app-runtime-U7RGV7KT.js +5 -0
  211. package/dist/audit-logs-F2NHDISQ.js +312 -0
  212. package/dist/audit-logs-RFEMBILB.cjs +312 -0
  213. package/dist/audit-logs-runtime-4WMHPWNX.cjs +5 -0
  214. package/dist/audit-logs-runtime-76R6WRAB.js +5 -0
  215. package/dist/automation-HZASSUCS.cjs +4460 -0
  216. package/dist/automation-WEVRW77F.js +4460 -0
  217. package/dist/automation-runtime-L5UKEFLA.js +5 -0
  218. package/dist/automation-runtime-YBGGE5PL.cjs +5 -0
  219. package/dist/billing-3VZPNG6M.cjs +796 -0
  220. package/dist/billing-ASWY7HC3.js +796 -0
  221. package/dist/billing-runtime-C6BMGWCX.js +5 -0
  222. package/dist/billing-runtime-L4Y7MLM3.cjs +5 -0
  223. package/dist/blueprint-manifest-5TNVSDKC.cjs +3169 -0
  224. package/dist/blueprint-manifest-UGGYWGRZ.js +3169 -0
  225. package/dist/blueprint-manifest-runtime-2RTW5C52.js +5 -0
  226. package/dist/blueprint-manifest-runtime-AF3FIDVX.cjs +5 -0
  227. package/dist/chunk-NBYH536J.js +291 -0
  228. package/dist/chunk-WSZWUQDD.cjs +291 -0
  229. package/dist/consent-6SIH4NQS.cjs +342 -0
  230. package/dist/consent-7MNRAINV.js +342 -0
  231. package/dist/consent-runtime-KZ5D4XZU.cjs +5 -0
  232. package/dist/consent-runtime-OAPXBJH2.js +5 -0
  233. package/dist/customer-portal-L5DEQEGC.js +14142 -0
  234. package/dist/customer-portal-MXILX4KH.cjs +14142 -0
  235. package/dist/customer-portal-runtime-MRVZ7JR4.js +5 -0
  236. package/dist/customer-portal-runtime-VGK7RMLC.cjs +5 -0
  237. package/dist/dashboard-RKUQLIME.cjs +483 -0
  238. package/dist/dashboard-UDL26RGG.js +483 -0
  239. package/dist/dashboard-runtime-EXP2AM44.cjs +5 -0
  240. package/dist/dashboard-runtime-PSKSGLCF.js +5 -0
  241. package/dist/data-management-W5JQGGGH.js +925 -0
  242. package/dist/data-management-XFSRLFYA.cjs +925 -0
  243. package/dist/data-management-runtime-PAC7UFGT.cjs +5 -0
  244. package/dist/data-management-runtime-XZ347IUB.js +5 -0
  245. package/dist/deduplication-7RTGTLN5.cjs +193 -0
  246. package/dist/deduplication-RKLRTNZU.js +193 -0
  247. package/dist/deduplication-runtime-BBHG7MJW.cjs +5 -0
  248. package/dist/deduplication-runtime-DLGBF4RN.js +5 -0
  249. package/dist/design-AO6EGLHD.cjs +1352 -0
  250. package/dist/design-VLRA2WGV.js +1352 -0
  251. package/dist/design-runtime-3SKJA7QH.js +5 -0
  252. package/dist/design-runtime-Y3VGTQLP.cjs +5 -0
  253. package/dist/document-OVTR7RVH.cjs +744 -0
  254. package/dist/document-SEZ45XAO.js +744 -0
  255. package/dist/document-runtime-GFEBGNMS.js +5 -0
  256. package/dist/document-runtime-RG3F4R6O.cjs +5 -0
  257. package/dist/email-settings-QGCIUWLC.js +2427 -0
  258. package/dist/email-settings-SEGEKVMF.cjs +2427 -0
  259. package/dist/email-settings-runtime-NS7MU3RB.cjs +5 -0
  260. package/dist/email-settings-runtime-X7F3EPAB.js +5 -0
  261. package/dist/email-template-26SANLRD.cjs +1308 -0
  262. package/dist/email-template-346NDG4D.js +1308 -0
  263. package/dist/email-template-runtime-QBB64BJQ.js +5 -0
  264. package/dist/email-template-runtime-UI2FS4H5.cjs +5 -0
  265. package/dist/entity-HSCBRIOS.js +9411 -0
  266. package/dist/entity-UKAWTND4.cjs +9411 -0
  267. package/dist/entity-mapping-PK2XAARN.cjs +1506 -0
  268. package/dist/entity-mapping-UOGYYCZH.js +1506 -0
  269. package/dist/entity-mapping-runtime-734TTUA2.cjs +5 -0
  270. package/dist/entity-mapping-runtime-HCOJM6DV.js +5 -0
  271. package/dist/entity-runtime-QSFVEFJ6.js +5 -0
  272. package/dist/entity-runtime-XSAICIVR.cjs +5 -0
  273. package/dist/environments-5IS2ZJYQ.cjs +352 -0
  274. package/dist/environments-VCREW73K.js +352 -0
  275. package/dist/environments-runtime-BPR47PW7.js +5 -0
  276. package/dist/environments-runtime-L6TJCVW6.cjs +5 -0
  277. package/dist/erp-integration-735KQ73W.js +5295 -0
  278. package/dist/erp-integration-W7FZDJOB.cjs +5295 -0
  279. package/dist/erp-integration-runtime-FNJXDO75.js +5 -0
  280. package/dist/erp-integration-runtime-WXZIQCLJ.cjs +5 -0
  281. package/dist/event-catalog-MZYFJ23V.cjs +965 -0
  282. package/dist/event-catalog-ZUFXLY7B.js +965 -0
  283. package/dist/event-catalog-runtime-5HQSAJVX.cjs +5 -0
  284. package/dist/event-catalog-runtime-6FA3SCRI.js +5 -0
  285. package/dist/file-637CTR4Y.cjs +2744 -0
  286. package/dist/file-EJJBQEQI.js +2744 -0
  287. package/dist/file-runtime-B6AAGZQF.js +5 -0
  288. package/dist/file-runtime-SFZIKODF.cjs +5 -0
  289. package/dist/iban-ETTCKOHK.cjs +148 -0
  290. package/dist/iban-HXFDAF4I.js +148 -0
  291. package/dist/iban-runtime-EVXLFPPP.js +5 -0
  292. package/dist/iban-runtime-TUM5LVHO.cjs +5 -0
  293. package/dist/index.cjs +105 -100
  294. package/dist/index.d.cts +20 -4
  295. package/dist/index.d.ts +20 -4
  296. package/dist/index.js +56 -51
  297. package/dist/journey-KW3ZFQAL.js +2194 -0
  298. package/dist/journey-XIMSLSZC.cjs +2194 -0
  299. package/dist/journey-runtime-SPBL3F32.cjs +5 -0
  300. package/dist/journey-runtime-YXIAOTMD.js +5 -0
  301. package/dist/kanban-M4P7R5TM.cjs +890 -0
  302. package/dist/kanban-QXQEQIF4.js +890 -0
  303. package/dist/kanban-runtime-NHEUWTCG.cjs +5 -0
  304. package/dist/kanban-runtime-R6EWHBFS.js +5 -0
  305. package/dist/message-2VOVRXBB.cjs +2447 -0
  306. package/dist/message-M62W3KP2.js +2447 -0
  307. package/dist/message-runtime-ITR7MPKT.cjs +5 -0
  308. package/dist/message-runtime-YMKW2N3R.js +5 -0
  309. package/dist/metering-KEMILE75.cjs +2198 -0
  310. package/dist/metering-W3TA6ZUQ.js +2198 -0
  311. package/dist/metering-runtime-HAIWXZXJ.cjs +5 -0
  312. package/dist/metering-runtime-NJ6NEUMB.js +5 -0
  313. package/dist/notes-4LVCGLBE.js +1427 -0
  314. package/dist/notes-OBM5POWI.cjs +1427 -0
  315. package/dist/notes-runtime-CVNAVKPP.js +5 -0
  316. package/dist/notes-runtime-E3YYF74V.cjs +5 -0
  317. package/dist/notification-EEYPLPUV.cjs +1381 -0
  318. package/dist/notification-MJQGIBM7.js +1381 -0
  319. package/dist/notification-runtime-7QLZTPHG.cjs +5 -0
  320. package/dist/notification-runtime-KREP32YP.js +5 -0
  321. package/dist/organization-2UK7QZLQ.cjs +615 -0
  322. package/dist/organization-U5HPX627.js +615 -0
  323. package/dist/organization-runtime-LBCVCZ3W.cjs +5 -0
  324. package/dist/organization-runtime-P3WZ2BBU.js +5 -0
  325. package/dist/partner-directory-CG5CYJGB.cjs +1600 -0
  326. package/dist/partner-directory-XJ7KI7EX.js +1600 -0
  327. package/dist/partner-directory-runtime-QURDOO4Z.js +5 -0
  328. package/dist/partner-directory-runtime-RSONSDNJ.cjs +5 -0
  329. package/dist/permissions-SGPGANEP.js +1415 -0
  330. package/dist/permissions-WCOABHKQ.cjs +1415 -0
  331. package/dist/permissions-runtime-D74HOCVO.js +5 -0
  332. package/dist/permissions-runtime-O5LH7WOU.cjs +5 -0
  333. package/dist/pricing-3RNPCUR6.js +9362 -0
  334. package/dist/pricing-VYHPSVKM.cjs +9362 -0
  335. package/dist/pricing-runtime-6XNS4EOF.cjs +5 -0
  336. package/dist/pricing-runtime-JRR4FWFI.js +5 -0
  337. package/dist/pricing-tier-36WV4P4X.js +121 -0
  338. package/dist/pricing-tier-FKQPW2ND.cjs +121 -0
  339. package/dist/pricing-tier-runtime-32BCKJ7Y.cjs +5 -0
  340. package/dist/pricing-tier-runtime-LEGBNNLA.js +5 -0
  341. package/dist/purpose-JC2E7W3M.cjs +523 -0
  342. package/dist/purpose-QFQ4W255.js +523 -0
  343. package/dist/purpose-runtime-C6IGTUA6.cjs +5 -0
  344. package/dist/purpose-runtime-V5X5ESZV.js +5 -0
  345. package/dist/sandbox-CLZTN7IW.cjs +445 -0
  346. package/dist/sandbox-O2NWMZGJ.js +445 -0
  347. package/dist/sandbox-runtime-4MLOMFPK.js +5 -0
  348. package/dist/sandbox-runtime-GKEK3GQB.cjs +5 -0
  349. package/dist/submission-6FD67HIE.cjs +308 -0
  350. package/dist/submission-MWJU4L32.js +308 -0
  351. package/dist/submission-runtime-5FD4AQSD.cjs +5 -0
  352. package/dist/submission-runtime-JPHKPQ77.js +5 -0
  353. package/dist/targeting-4CQDSEKL.cjs +1369 -0
  354. package/dist/targeting-RB7LBQMX.js +1369 -0
  355. package/dist/targeting-runtime-6JFMP262.cjs +5 -0
  356. package/dist/targeting-runtime-M2VSTKFT.js +5 -0
  357. package/dist/template-variables-JYHE2VCH.cjs +1447 -0
  358. package/dist/template-variables-XLIW4GY6.js +1447 -0
  359. package/dist/template-variables-runtime-62U3ZY5P.js +5 -0
  360. package/dist/template-variables-runtime-LFOA32UM.cjs +5 -0
  361. package/dist/{types-BwBvJkY_.d.ts → types-ChU9Acbv.d.cts} +3 -0
  362. package/dist/{types-BwBvJkY_.d.cts → types-ChU9Acbv.d.ts} +3 -0
  363. package/dist/user-DKA6DDPX.cjs +2265 -0
  364. package/dist/user-O4JDAIRO.js +2265 -0
  365. package/dist/user-runtime-7O2HLFVQ.cjs +5 -0
  366. package/dist/user-runtime-U4HYUWJU.js +5 -0
  367. package/dist/validation-rules-AYCAOVDZ.cjs +1344 -0
  368. package/dist/validation-rules-GCI64B57.js +1344 -0
  369. package/dist/validation-rules-runtime-6MRCS5X2.js +5 -0
  370. package/dist/validation-rules-runtime-X7M3QE5I.cjs +5 -0
  371. package/dist/webhooks-L3FXPRKT.cjs +1431 -0
  372. package/dist/webhooks-XXLU2KWP.js +1431 -0
  373. package/dist/webhooks-runtime-EBM4M3SU.cjs +5 -0
  374. package/dist/webhooks-runtime-XCQYIGQK.js +5 -0
  375. package/dist/workflow-VLNZNE3S.js +3834 -0
  376. package/dist/workflow-YJHUCGVK.cjs +3834 -0
  377. package/dist/workflow-definition-7BA4H6W3.cjs +3100 -0
  378. package/dist/workflow-definition-VFYWBQQ3.js +3100 -0
  379. package/dist/workflow-definition-runtime-S7AZHOU7.js +5 -0
  380. package/dist/workflow-definition-runtime-VRND6VQR.cjs +5 -0
  381. package/dist/workflow-runtime-RLZO2OQB.js +5 -0
  382. package/dist/workflow-runtime-WCJ7NRTH.cjs +5 -0
  383. package/package.json +3 -2
  384. package/dist/chunk-3XEP56SV.cjs +0 -204
  385. package/dist/chunk-ULBEEHG4.js +0 -204
  386. /package/dist/{chunk-CPKBR34V.js → chunk-24T6CJTG.js} +0 -0
  387. /package/dist/{chunk-VQ7R36AC.js → chunk-265TE2OV.js} +0 -0
  388. /package/dist/{chunk-ZV6XYUXS.js → chunk-2BPBDRRO.js} +0 -0
  389. /package/dist/{chunk-KSXTBGIV.js → chunk-3XKBB5AE.js} +0 -0
  390. /package/dist/{chunk-GLO477NZ.js → chunk-3YSEO476.js} +0 -0
  391. /package/dist/{chunk-MKX4CKAB.cjs → chunk-46HU6232.cjs} +0 -0
  392. /package/dist/{chunk-JXBXDTFG.cjs → chunk-4G6LO3JY.cjs} +0 -0
  393. /package/dist/{chunk-Z4LUE424.cjs → chunk-4QCVVDTA.cjs} +0 -0
  394. /package/dist/{chunk-LQOLYXGQ.cjs → chunk-4W22EIRF.cjs} +0 -0
  395. /package/dist/{chunk-372VUPHN.js → chunk-4ZGZDE6D.js} +0 -0
  396. /package/dist/{chunk-IMT3IE5M.cjs → chunk-4ZMLRFDX.cjs} +0 -0
  397. /package/dist/{chunk-S7NDMDRX.js → chunk-5JPM6YUD.js} +0 -0
  398. /package/dist/{chunk-IS2VB342.js → chunk-5MFHAXBT.js} +0 -0
  399. /package/dist/{chunk-WOXXNKTE.js → chunk-5NKXJA43.js} +0 -0
  400. /package/dist/{chunk-S3ZNESMC.cjs → chunk-5WNEYQII.cjs} +0 -0
  401. /package/dist/{chunk-KA3TGFJP.js → chunk-6OYECNL2.js} +0 -0
  402. /package/dist/{chunk-T46LODOF.js → chunk-6UAS2VVG.js} +0 -0
  403. /package/dist/{chunk-PETLAONH.js → chunk-6VWCUZ5M.js} +0 -0
  404. /package/dist/{chunk-YZA5WZUS.js → chunk-75EI2Q64.js} +0 -0
  405. /package/dist/{chunk-2HOJWFQ4.js → chunk-75ZWZM3L.js} +0 -0
  406. /package/dist/{chunk-57QIBYDN.js → chunk-7IKQIVUS.js} +0 -0
  407. /package/dist/{chunk-DJKSULPK.js → chunk-A7AAVJGM.js} +0 -0
  408. /package/dist/{chunk-QLML3IP5.cjs → chunk-ANN2QTMY.cjs} +0 -0
  409. /package/dist/{chunk-KPGC2D6E.js → chunk-AUH6NP6Y.js} +0 -0
  410. /package/dist/{chunk-A6JOROUC.cjs → chunk-BLNXQAMX.cjs} +0 -0
  411. /package/dist/{chunk-LCIJ4TJ4.cjs → chunk-BM6NCHPL.cjs} +0 -0
  412. /package/dist/{chunk-XR4QF6KQ.cjs → chunk-BPHOGIQM.cjs} +0 -0
  413. /package/dist/{chunk-K62XK7KU.js → chunk-BTTPWE2P.js} +0 -0
  414. /package/dist/{chunk-E26ZO7QM.cjs → chunk-COQMJFAB.cjs} +0 -0
  415. /package/dist/{chunk-QVAJ5JP4.js → chunk-CSK5ZUTS.js} +0 -0
  416. /package/dist/{chunk-3ZZ57K3S.cjs → chunk-D32L2HMX.cjs} +0 -0
  417. /package/dist/{chunk-TIJWJVKZ.js → chunk-D7Q4JGN7.js} +0 -0
  418. /package/dist/{chunk-CWSHYFVZ.js → chunk-DZ3P537S.js} +0 -0
  419. /package/dist/{chunk-MSASBR2Y.js → chunk-E2WMGOM5.js} +0 -0
  420. /package/dist/{chunk-RXSS67VI.cjs → chunk-F5JVW2D5.cjs} +0 -0
  421. /package/dist/{chunk-XKI2OAYV.cjs → chunk-FARDEGPH.cjs} +0 -0
  422. /package/dist/{chunk-RWSA3LXE.cjs → chunk-G3VDRMOH.cjs} +0 -0
  423. /package/dist/{chunk-QDVPPRWI.cjs → chunk-G5FKTWUC.cjs} +0 -0
  424. /package/dist/{chunk-WMTYO5OX.cjs → chunk-GWKHOJGD.cjs} +0 -0
  425. /package/dist/{chunk-DNJ54L2G.js → chunk-H45V55VT.js} +0 -0
  426. /package/dist/{chunk-F472YLJG.cjs → chunk-HAZ3WP7V.cjs} +0 -0
  427. /package/dist/{chunk-NAWLLC3T.cjs → chunk-HHMXS5NC.cjs} +0 -0
  428. /package/dist/{chunk-DY2D2IW5.cjs → chunk-IGVVJMX7.cjs} +0 -0
  429. /package/dist/{chunk-KBOVBUBM.js → chunk-IJR3GZKC.js} +0 -0
  430. /package/dist/{chunk-73H6TVKN.js → chunk-IQOCHPWU.js} +0 -0
  431. /package/dist/{chunk-LSIWCIQV.js → chunk-JENQHXFI.js} +0 -0
  432. /package/dist/{chunk-G2REP2VZ.cjs → chunk-JICWF5VI.cjs} +0 -0
  433. /package/dist/{chunk-3HJEWWPS.cjs → chunk-JIUTCNTB.cjs} +0 -0
  434. /package/dist/{chunk-EBCHCYUO.js → chunk-JJWJLY42.js} +0 -0
  435. /package/dist/{chunk-SMGHAG5C.cjs → chunk-JXJC6WEW.cjs} +0 -0
  436. /package/dist/{chunk-HPYHWTTA.cjs → chunk-K2UZPY6U.cjs} +0 -0
  437. /package/dist/{chunk-VGTUK3QD.cjs → chunk-L66IX6GX.cjs} +0 -0
  438. /package/dist/{chunk-NLSZVGHK.cjs → chunk-LKRBFBFN.cjs} +0 -0
  439. /package/dist/{chunk-TLWCYLNA.js → chunk-LLZYRINH.js} +0 -0
  440. /package/dist/{chunk-4SWC43JO.cjs → chunk-M2SSGV7K.cjs} +0 -0
  441. /package/dist/{chunk-PVSS2WPM.cjs → chunk-M2UDF7PY.cjs} +0 -0
  442. /package/dist/{chunk-5SNJAD6F.cjs → chunk-M56QQHVA.cjs} +0 -0
  443. /package/dist/{chunk-QKERXNJJ.cjs → chunk-MB6NKETA.cjs} +0 -0
  444. /package/dist/{chunk-H4VSK4KF.js → chunk-MEUS7LCE.js} +0 -0
  445. /package/dist/{chunk-RD7E4OSJ.cjs → chunk-N5NFJW7Y.cjs} +0 -0
  446. /package/dist/{chunk-FXOX3X7E.cjs → chunk-NEVFKRDU.cjs} +0 -0
  447. /package/dist/{chunk-O4LRVGOY.js → chunk-O4JDWMYD.js} +0 -0
  448. /package/dist/{chunk-IH4CMOML.js → chunk-OEBV2PMV.js} +0 -0
  449. /package/dist/{chunk-VVVATFGK.cjs → chunk-OXJOO2YF.cjs} +0 -0
  450. /package/dist/{chunk-WOSSSFXB.js → chunk-PSQMDY3B.js} +0 -0
  451. /package/dist/{chunk-AJKH25H2.cjs → chunk-QOAWSFXA.cjs} +0 -0
  452. /package/dist/{chunk-UKKJMCNH.js → chunk-QT44OHHL.js} +0 -0
  453. /package/dist/{chunk-B3ZGAG7B.js → chunk-QTR3RH4N.js} +0 -0
  454. /package/dist/{chunk-3N67SSL3.js → chunk-RELUU5QZ.js} +0 -0
  455. /package/dist/{chunk-YYBIU5BQ.js → chunk-RJ3DWFSK.js} +0 -0
  456. /package/dist/{chunk-ARWMTXJV.cjs → chunk-RUZRPIHW.cjs} +0 -0
  457. /package/dist/{chunk-4VFQTSJQ.js → chunk-RW5JOHG7.js} +0 -0
  458. /package/dist/{chunk-EPAIOB5U.cjs → chunk-RXMOHUBP.cjs} +0 -0
  459. /package/dist/{chunk-MRZ7LGKZ.js → chunk-SBSIGQDU.js} +0 -0
  460. /package/dist/{chunk-TRJLYZHD.js → chunk-SITPUXIR.js} +0 -0
  461. /package/dist/{chunk-OGQKJTXF.js → chunk-SZMCMLOQ.js} +0 -0
  462. /package/dist/{chunk-VVQB5W7U.cjs → chunk-T67ZXTVG.cjs} +0 -0
  463. /package/dist/{chunk-HPSGM6QP.js → chunk-TME4YJNP.js} +0 -0
  464. /package/dist/{chunk-MRTAFRO7.js → chunk-TPA4HEAO.js} +0 -0
  465. /package/dist/{chunk-F376L6PP.cjs → chunk-TTNPMFXL.cjs} +0 -0
  466. /package/dist/{chunk-OG2DMGU6.cjs → chunk-TXDVGTQD.cjs} +0 -0
  467. /package/dist/{chunk-XZYZLSUO.cjs → chunk-UNCVJH6J.cjs} +0 -0
  468. /package/dist/{chunk-MHNSZ4HE.js → chunk-UUVJYJHD.js} +0 -0
  469. /package/dist/{chunk-C6UTZEHH.js → chunk-VSZEOCIE.js} +0 -0
  470. /package/dist/{chunk-EQZMT2HF.cjs → chunk-WQBBB6BN.cjs} +0 -0
  471. /package/dist/{chunk-BH5ZXK4J.cjs → chunk-WTMV77T2.cjs} +0 -0
  472. /package/dist/{chunk-BWFXLUK5.cjs → chunk-WWOAKRNG.cjs} +0 -0
  473. /package/dist/{chunk-ITX53XAZ.js → chunk-XSE4CFSM.js} +0 -0
  474. /package/dist/{chunk-SK3VYIZ6.cjs → chunk-YO4M3BZL.cjs} +0 -0
  475. /package/dist/{chunk-XYHTQ523.cjs → chunk-Z5TVWG3I.cjs} +0 -0
  476. /package/dist/{chunk-PXITFTJA.cjs → chunk-ZI33AJQ5.cjs} +0 -0
  477. /package/dist/{chunk-IP2WWEOU.js → chunk-ZKQ573B7.js} +0 -0
@@ -0,0 +1,1431 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-NJK5F5TF.cjs');
2
+
3
+ // src/definitions/webhooks.json
4
+ var openapi = "3.0.0";
5
+ var info = {
6
+ title: "Webhooks",
7
+ version: "1.0.0",
8
+ description: "Service for configuring webhooks on different events\n"
9
+ };
10
+ var tags = [
11
+ {
12
+ name: "webhooks",
13
+ description: "Configure and trigger webhooks"
14
+ },
15
+ {
16
+ name: "example",
17
+ description: "Generate example payloads for webhooks"
18
+ }
19
+ ];
20
+ var paths = {
21
+ "/v1/webhooks/.well-known/public-key": {
22
+ get: {
23
+ operationId: "getPublicKey",
24
+ summary: "getPublicKey",
25
+ parameters: [
26
+ {
27
+ in: "query",
28
+ name: "orgId",
29
+ schema: {
30
+ type: "string"
31
+ },
32
+ required: true,
33
+ description: "Organization ID to retrieve the public key for."
34
+ }
35
+ ],
36
+ description: "Returns the platform-level Ed25519 public key used to verify\nasymmetric (v1a) webhook signatures. This endpoint is unauthenticated since the public key is not a secret, but the orgId parameter is required to ensure clients retrieve the correct key for their organization in case of key rotation.\n",
37
+ tags: ["webhooks"],
38
+ security: [],
39
+ responses: {
40
+ "200": {
41
+ description: "Success - public key returned",
42
+ content: {
43
+ "application/json": {
44
+ schema: {
45
+ $ref: "#/components/schemas/PublicKeyResponse"
46
+ }
47
+ }
48
+ }
49
+ },
50
+ "500": {
51
+ description: "Internal server error",
52
+ content: {
53
+ "application/json": {
54
+ schema: {
55
+ $ref: "#/components/schemas/ErrorResp"
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ },
63
+ "/v1/webhooks/configured-events": {
64
+ get: {
65
+ operationId: "getConfiguredEvents",
66
+ summary: "getConfiguredEvents",
67
+ description: "Retrieve events that can trigger webhooks",
68
+ tags: ["webhooks"],
69
+ responses: {
70
+ "200": {
71
+ description: "Success - configured events loaded with success. Empty array if no events have been configured.",
72
+ content: {
73
+ "application/json": {
74
+ schema: {
75
+ $ref: "#/components/schemas/EventConfigResp"
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
82
+ },
83
+ "/v1/webhooks/configs": {
84
+ get: {
85
+ operationId: "getConfigs",
86
+ summary: "getConfigs",
87
+ description: "Search Webhook Client Configs",
88
+ tags: ["webhooks"],
89
+ parameters: [
90
+ {
91
+ in: "query",
92
+ name: "eventName",
93
+ schema: {
94
+ type: "string"
95
+ },
96
+ required: false,
97
+ description: "Filter configurations by event Name",
98
+ example: "customer_request_created"
99
+ }
100
+ ],
101
+ responses: {
102
+ "200": {
103
+ description: "Success - configs loaded with success. Empty array if org has configs.",
104
+ content: {
105
+ "application/json": {
106
+ schema: {
107
+ type: "array",
108
+ items: {
109
+ $ref: "#/components/schemas/WebhookConfig"
110
+ }
111
+ }
112
+ }
113
+ }
114
+ },
115
+ "500": {
116
+ description: "Other errors",
117
+ content: {
118
+ "application/json": {
119
+ schema: {
120
+ $ref: "#/components/schemas/ErrorResp"
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
126
+ },
127
+ post: {
128
+ operationId: "createConfig",
129
+ summary: "createConfig",
130
+ description: "Create Webhook Client Config",
131
+ tags: ["webhooks"],
132
+ requestBody: {
133
+ description: "Webhook config payload",
134
+ required: true,
135
+ content: {
136
+ "application/json": {
137
+ schema: {
138
+ $ref: "#/components/schemas/WebhookConfig"
139
+ }
140
+ }
141
+ }
142
+ },
143
+ responses: {
144
+ "201": {
145
+ description: "Success - if the config is created successfully",
146
+ content: {
147
+ "application/json": {
148
+ schema: {
149
+ $ref: "#/components/schemas/WebhookConfig"
150
+ }
151
+ }
152
+ }
153
+ },
154
+ "400": {
155
+ description: "Validation Errors",
156
+ content: {
157
+ "application/json": {
158
+ schema: {
159
+ $ref: "#/components/schemas/ErrorResp"
160
+ }
161
+ }
162
+ }
163
+ },
164
+ "401": {
165
+ description: "Authentication Errors",
166
+ content: {
167
+ "application/json": {
168
+ schema: {
169
+ $ref: "#/components/schemas/ErrorResp"
170
+ }
171
+ }
172
+ }
173
+ },
174
+ "500": {
175
+ description: "Other errors",
176
+ content: {
177
+ "application/json": {
178
+ schema: {
179
+ $ref: "#/components/schemas/ErrorResp"
180
+ }
181
+ }
182
+ }
183
+ }
184
+ }
185
+ }
186
+ },
187
+ "/v1/webhooks/configs/{configId}": {
188
+ get: {
189
+ operationId: "getConfig",
190
+ summary: "getConfig",
191
+ description: "Get webhook config by id",
192
+ tags: ["webhooks"],
193
+ parameters: [
194
+ {
195
+ in: "path",
196
+ name: "configId",
197
+ schema: {
198
+ type: "string"
199
+ },
200
+ required: true,
201
+ description: "Short uuid to identify the webhook configuration.",
202
+ example: "7hj28aasgag2gha2"
203
+ }
204
+ ],
205
+ responses: {
206
+ "200": {
207
+ description: "Success - if the config is updated successfully",
208
+ content: {
209
+ "application/json": {
210
+ schema: {
211
+ $ref: "#/components/schemas/WebhookConfig"
212
+ }
213
+ }
214
+ }
215
+ },
216
+ "404": {
217
+ description: "No configuration found for this id",
218
+ content: {
219
+ "application/json": {
220
+ schema: {
221
+ $ref: "#/components/schemas/ErrorResp"
222
+ }
223
+ }
224
+ }
225
+ },
226
+ "500": {
227
+ description: "Other errors",
228
+ content: {
229
+ "application/json": {
230
+ schema: {
231
+ $ref: "#/components/schemas/ErrorResp"
232
+ }
233
+ }
234
+ }
235
+ }
236
+ }
237
+ },
238
+ put: {
239
+ operationId: "updateConfig",
240
+ summary: "updateConfig",
241
+ description: "Update Webhook Client Config",
242
+ tags: ["webhooks"],
243
+ parameters: [
244
+ {
245
+ in: "path",
246
+ name: "configId",
247
+ schema: {
248
+ type: "string"
249
+ },
250
+ required: true,
251
+ description: "Short uuid (length 6) to identify the webhook configuration.",
252
+ example: "7hj28a"
253
+ }
254
+ ],
255
+ requestBody: {
256
+ description: "Webhook config payload",
257
+ required: true,
258
+ content: {
259
+ "application/json": {
260
+ schema: {
261
+ $ref: "#/components/schemas/WebhookConfig"
262
+ }
263
+ }
264
+ }
265
+ },
266
+ responses: {
267
+ "200": {
268
+ description: "Success - if the config is updated successfully",
269
+ content: {
270
+ "application/json": {
271
+ schema: {
272
+ $ref: "#/components/schemas/WebhookConfig"
273
+ }
274
+ }
275
+ }
276
+ },
277
+ "400": {
278
+ description: "Validation Errors",
279
+ content: {
280
+ "application/json": {
281
+ schema: {
282
+ $ref: "#/components/schemas/ErrorResp"
283
+ }
284
+ }
285
+ }
286
+ },
287
+ "401": {
288
+ description: "Authentication Errors",
289
+ content: {
290
+ "application/json": {
291
+ schema: {
292
+ $ref: "#/components/schemas/ErrorResp"
293
+ }
294
+ }
295
+ }
296
+ },
297
+ "500": {
298
+ description: "Other errors",
299
+ content: {
300
+ "application/json": {
301
+ schema: {
302
+ $ref: "#/components/schemas/ErrorResp"
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }
308
+ },
309
+ delete: {
310
+ operationId: "deleteConfig",
311
+ summary: "deleteConfig",
312
+ description: "Delete Webhook Client Config",
313
+ tags: ["webhooks"],
314
+ parameters: [
315
+ {
316
+ in: "path",
317
+ name: "configId",
318
+ schema: {
319
+ type: "string"
320
+ },
321
+ required: true,
322
+ description: "Id of the config to de deleted.",
323
+ example: "CustomerRequest"
324
+ }
325
+ ],
326
+ responses: {
327
+ "204": {
328
+ description: "Success - if the config is deleted successfully"
329
+ },
330
+ "401": {
331
+ description: "Failed to authenticate",
332
+ content: {
333
+ "application/json": {
334
+ schema: {
335
+ $ref: "#/components/schemas/ErrorResp"
336
+ }
337
+ }
338
+ }
339
+ },
340
+ "404": {
341
+ description: "No config found"
342
+ }
343
+ }
344
+ }
345
+ },
346
+ "/v1/webhooks/configs/{configId}/trigger": {
347
+ post: {
348
+ operationId: "triggerWebhook",
349
+ summary: "triggers a webhook event either async or sync",
350
+ description: "Trigger a webhook",
351
+ tags: ["webhooks", "trigger"],
352
+ parameters: [
353
+ {
354
+ in: "query",
355
+ name: "sync",
356
+ description: "If set to true, the webhook will be triggered synchronously. Otherwise, it will be triggered asynchronously.",
357
+ schema: {
358
+ type: "boolean"
359
+ }
360
+ },
361
+ {
362
+ in: "path",
363
+ name: "configId",
364
+ schema: {
365
+ type: "string"
366
+ },
367
+ required: true,
368
+ description: "Short uuid to identify the webhook configuration.",
369
+ example: "7hj28aasgag2gha2"
370
+ }
371
+ ],
372
+ requestBody: {
373
+ description: "Webhook payload",
374
+ required: true,
375
+ content: {
376
+ "application/json": {
377
+ schema: {
378
+ $ref: "#/components/schemas/ExecutionPayload"
379
+ }
380
+ }
381
+ }
382
+ },
383
+ responses: {
384
+ "200": {
385
+ description: "Success - if the webhook is triggered successfully",
386
+ content: {
387
+ "application/json": {
388
+ schema: {
389
+ $ref: "#/components/schemas/TriggerWebhookResp"
390
+ }
391
+ }
392
+ }
393
+ },
394
+ "400": {
395
+ description: "Validation Errors",
396
+ content: {
397
+ "application/json": {
398
+ schema: {
399
+ $ref: "#/components/schemas/ErrorResp"
400
+ }
401
+ }
402
+ }
403
+ },
404
+ "500": {
405
+ description: "Other errors",
406
+ content: {
407
+ "application/json": {
408
+ schema: {
409
+ $ref: "#/components/schemas/ErrorResp"
410
+ }
411
+ }
412
+ }
413
+ }
414
+ }
415
+ }
416
+ },
417
+ "/v1/webhooks/configs/{configId}/events": {
418
+ get: {
419
+ deprecated: true,
420
+ operationId: "getWehookEvents",
421
+ summary: "getWehookEvents",
422
+ description: "This endpoint is deprecated and will be removed on 2025-12-31. Use /v2/webhooks/configs/{configId}/events instead.",
423
+ tags: ["webhooks", "events"],
424
+ parameters: [
425
+ {
426
+ in: "path",
427
+ name: "configId",
428
+ schema: {
429
+ type: "string"
430
+ },
431
+ required: true,
432
+ description: "Short uuid to identify the webhook configuration.",
433
+ example: "7hj28aasgag2gha2"
434
+ },
435
+ {
436
+ in: "query",
437
+ name: "status",
438
+ schema: {
439
+ type: "string",
440
+ enum: ["succeeded", "failed", "in_progress"]
441
+ },
442
+ description: "Get all events for a given webhook config id",
443
+ example: "succeeded"
444
+ },
445
+ {
446
+ in: "query",
447
+ name: "cursor",
448
+ schema: {
449
+ type: "string"
450
+ },
451
+ required: false,
452
+ description: "Base64 encoded cursor to be used for pagination"
453
+ }
454
+ ],
455
+ responses: {
456
+ "200": {
457
+ description: "Success - list events",
458
+ content: {
459
+ "application/json": {
460
+ schema: {
461
+ type: "object",
462
+ properties: {
463
+ data: {
464
+ type: "array",
465
+ items: {
466
+ $ref: "#/components/schemas/WebhookEvent"
467
+ }
468
+ },
469
+ cursor: {
470
+ type: "string",
471
+ description: "Cursor to be used for pagination"
472
+ }
473
+ }
474
+ }
475
+ }
476
+ }
477
+ },
478
+ "404": {
479
+ description: "No events found",
480
+ content: {
481
+ "application/json": {
482
+ schema: {
483
+ $ref: "#/components/schemas/ErrorResp"
484
+ }
485
+ }
486
+ }
487
+ },
488
+ "500": {
489
+ description: "Other errors",
490
+ content: {
491
+ "application/json": {
492
+ schema: {
493
+ $ref: "#/components/schemas/ErrorResp"
494
+ }
495
+ }
496
+ }
497
+ }
498
+ }
499
+ }
500
+ },
501
+ "/v1/webhooks/configs/{configId}/events/replay-batch": {
502
+ post: {
503
+ operationId: "batchReplayEvents",
504
+ summary: "batchReplayEvents",
505
+ description: "Replay a batch of webhook events",
506
+ tags: ["webhooks", "events"],
507
+ parameters: [
508
+ {
509
+ in: "path",
510
+ name: "configId",
511
+ schema: {
512
+ type: "string"
513
+ },
514
+ required: true,
515
+ description: "Short uuid to identify the webhook configuration.",
516
+ example: "7hj28aasgag2gha2"
517
+ }
518
+ ],
519
+ requestBody: {
520
+ description: "Batch replay request payload",
521
+ required: true,
522
+ content: {
523
+ "application/json": {
524
+ schema: {
525
+ $ref: "#/components/schemas/BatchReplayRequest"
526
+ }
527
+ }
528
+ }
529
+ },
530
+ responses: {
531
+ "202": {
532
+ description: "Success - enqueued events for replay",
533
+ content: {
534
+ "application/json": {
535
+ schema: {
536
+ type: "object",
537
+ properties: {
538
+ replayed_event_ids: {
539
+ type: "array",
540
+ items: {
541
+ type: "string"
542
+ },
543
+ description: "List of event ids that were enqueued for replay"
544
+ }
545
+ }
546
+ }
547
+ }
548
+ }
549
+ },
550
+ "400": {
551
+ description: "Validation Errors",
552
+ content: {
553
+ "application/json": {
554
+ schema: {
555
+ $ref: "#/components/schemas/ErrorResp"
556
+ }
557
+ }
558
+ }
559
+ },
560
+ "404": {
561
+ description: "No webhook config found",
562
+ content: {
563
+ "application/json": {
564
+ schema: {
565
+ $ref: "#/components/schemas/ErrorResp"
566
+ }
567
+ }
568
+ }
569
+ },
570
+ "500": {
571
+ description: "Other errors",
572
+ content: {
573
+ "application/json": {
574
+ schema: {
575
+ $ref: "#/components/schemas/ErrorResp"
576
+ }
577
+ }
578
+ }
579
+ }
580
+ }
581
+ }
582
+ },
583
+ "/v1/webhooks/configs/{configId}/events/{eventId}": {
584
+ get: {
585
+ operationId: "getEventById",
586
+ summary: "getEventById",
587
+ description: "Get a webhook event by its id",
588
+ tags: ["webhooks", "event"],
589
+ parameters: [
590
+ {
591
+ in: "path",
592
+ name: "configId",
593
+ schema: {
594
+ type: "string"
595
+ },
596
+ required: true,
597
+ description: "Short uuid to identify the webhook configuration.",
598
+ example: "7hj28aasgag2gha2"
599
+ },
600
+ {
601
+ in: "path",
602
+ name: "eventId",
603
+ schema: {
604
+ type: "string"
605
+ },
606
+ required: true,
607
+ description: "Event id"
608
+ }
609
+ ],
610
+ responses: {
611
+ "200": {
612
+ description: "Success - event",
613
+ content: {
614
+ "application/json": {
615
+ schema: {
616
+ $ref: "#/components/schemas/WebhookEvent"
617
+ }
618
+ }
619
+ }
620
+ },
621
+ "404": {
622
+ description: "No events found",
623
+ content: {
624
+ "application/json": {
625
+ schema: {
626
+ $ref: "#/components/schemas/ErrorResp"
627
+ }
628
+ }
629
+ }
630
+ },
631
+ "500": {
632
+ description: "Other errors",
633
+ content: {
634
+ "application/json": {
635
+ schema: {
636
+ $ref: "#/components/schemas/ErrorResp"
637
+ }
638
+ }
639
+ }
640
+ }
641
+ }
642
+ }
643
+ },
644
+ "/v1/webhooks/configs/{configId}/events/{eventId}/replay": {
645
+ post: {
646
+ operationId: "replayEvent",
647
+ summary: "replayEvent",
648
+ description: "Replay a webhook event",
649
+ tags: ["webhooks", "event"],
650
+ parameters: [
651
+ {
652
+ in: "path",
653
+ name: "configId",
654
+ schema: {
655
+ type: "string"
656
+ },
657
+ required: true,
658
+ description: "Short uuid to identify the webhook configuration.",
659
+ example: "7hj28aasgag2gha2"
660
+ },
661
+ {
662
+ in: "path",
663
+ name: "eventId",
664
+ schema: {
665
+ type: "string"
666
+ },
667
+ required: true,
668
+ description: "Event id"
669
+ }
670
+ ],
671
+ responses: {
672
+ "204": {
673
+ description: "Success - replay event"
674
+ },
675
+ "404": {
676
+ description: "No events found",
677
+ content: {
678
+ "application/json": {
679
+ schema: {
680
+ $ref: "#/components/schemas/ErrorResp"
681
+ }
682
+ }
683
+ }
684
+ },
685
+ "500": {
686
+ description: "Other errors",
687
+ content: {
688
+ "application/json": {
689
+ schema: {
690
+ $ref: "#/components/schemas/ErrorResp"
691
+ }
692
+ }
693
+ }
694
+ }
695
+ }
696
+ }
697
+ },
698
+ "/v1/webhooks/configs/{configId}/example": {
699
+ post: {
700
+ operationId: "getWebhookExample",
701
+ summary: "getWebhookExample",
702
+ description: "Generate an example payload for a webhook configuration based on trigger type",
703
+ tags: ["webhooks", "example"],
704
+ parameters: [
705
+ {
706
+ in: "path",
707
+ name: "configId",
708
+ schema: {
709
+ type: "string"
710
+ },
711
+ required: true,
712
+ description: "Short uuid to identify the webhook configuration.",
713
+ example: "7hj28aasgag2gha2"
714
+ }
715
+ ],
716
+ requestBody: {
717
+ description: "Example generation parameters",
718
+ required: true,
719
+ content: {
720
+ "application/json": {
721
+ schema: {
722
+ $ref: "#/components/schemas/ExampleRequest"
723
+ }
724
+ }
725
+ }
726
+ },
727
+ responses: {
728
+ "200": {
729
+ description: "Success - example payload generated",
730
+ content: {
731
+ "application/json": {
732
+ schema: {
733
+ $ref: "#/components/schemas/ExampleResponse"
734
+ }
735
+ }
736
+ }
737
+ },
738
+ "400": {
739
+ description: "Validation Errors",
740
+ content: {
741
+ "application/json": {
742
+ schema: {
743
+ $ref: "#/components/schemas/ErrorResp"
744
+ }
745
+ }
746
+ }
747
+ },
748
+ "404": {
749
+ description: "No configuration found for this configId",
750
+ content: {
751
+ "application/json": {
752
+ schema: {
753
+ $ref: "#/components/schemas/ErrorResp"
754
+ }
755
+ }
756
+ }
757
+ },
758
+ "500": {
759
+ description: "Other errors",
760
+ content: {
761
+ "application/json": {
762
+ schema: {
763
+ $ref: "#/components/schemas/ErrorResp"
764
+ }
765
+ }
766
+ }
767
+ }
768
+ }
769
+ }
770
+ },
771
+ "/v2/webhooks/configs/{configId}/events": {
772
+ post: {
773
+ operationId: "getWebhookEventsV2",
774
+ summary: "getWebhookEventsV2",
775
+ description: "List webhook events and filter them by status, timestamp, etc.",
776
+ tags: ["Events"],
777
+ parameters: [
778
+ {
779
+ in: "path",
780
+ name: "configId",
781
+ schema: {
782
+ type: "string"
783
+ },
784
+ required: true,
785
+ description: "Short uuid to identify the webhook configuration.",
786
+ example: "7hj28aasgag2gha2"
787
+ }
788
+ ],
789
+ requestBody: {
790
+ content: {
791
+ "application/json": {
792
+ schema: {
793
+ $ref: "#/components/schemas/SearchOptions"
794
+ }
795
+ }
796
+ }
797
+ },
798
+ responses: {
799
+ "200": {
800
+ description: "Success - events where loaded successfully. Empty array if org has no events.",
801
+ content: {
802
+ "application/json": {
803
+ schema: {
804
+ $ref: "#/components/schemas/EventListResponse"
805
+ }
806
+ }
807
+ }
808
+ }
809
+ }
810
+ }
811
+ }
812
+ };
813
+ var components = {
814
+ schemas: {
815
+ PublicKeyResponse: {
816
+ type: "object",
817
+ properties: {
818
+ public_key: {
819
+ type: "string",
820
+ description: "PEM-encoded Ed25519 public key for verifying webhook signatures",
821
+ example: "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA...\n-----END PUBLIC KEY-----\n"
822
+ },
823
+ algorithm: {
824
+ type: "string",
825
+ description: "The signing algorithm used",
826
+ example: "ed25519"
827
+ },
828
+ issuer: {
829
+ type: "string",
830
+ description: "The issuer of the signing key",
831
+ example: "epilot"
832
+ }
833
+ },
834
+ required: ["public_key", "algorithm"]
835
+ },
836
+ SearchOptions: {
837
+ type: "object",
838
+ properties: {
839
+ limit: {
840
+ type: "integer",
841
+ description: "Maximum number of results to return",
842
+ example: 25,
843
+ default: 25,
844
+ minimum: 1,
845
+ maximum: 25
846
+ },
847
+ cursor: {
848
+ type: "object",
849
+ description: "Cursor for pagination. Use the next_cursor from the previous response to get the next page.",
850
+ properties: {
851
+ created_at: {
852
+ type: "string",
853
+ format: "date-time",
854
+ description: "Timestamp from the last event in the previous page",
855
+ example: "2025-10-31T12:34:56Z"
856
+ },
857
+ event_id: {
858
+ type: "string",
859
+ description: "Event ID from the last event in the previous page",
860
+ example: "evt_1234567890abcdef"
861
+ }
862
+ }
863
+ },
864
+ timestamp: {
865
+ type: "object",
866
+ description: "Filter events by timestamp range",
867
+ properties: {
868
+ from: {
869
+ type: "string",
870
+ format: "date-time",
871
+ description: "Start timestamp in ISO 8601 format",
872
+ example: "2025-10-01T00:00:00Z"
873
+ },
874
+ to: {
875
+ type: "string",
876
+ format: "date-time",
877
+ description: "End timestamp in ISO 8601 format",
878
+ example: "2025-10-31T23:59:59Z"
879
+ }
880
+ }
881
+ },
882
+ event_id: {
883
+ type: "string",
884
+ description: "Filter by specific event ID",
885
+ example: "evt_1234567890abcdef"
886
+ },
887
+ status: {
888
+ type: "string",
889
+ description: "Filter by event outcome",
890
+ enum: ["succeeded", "failed"],
891
+ example: "succeeded"
892
+ }
893
+ }
894
+ },
895
+ EventListResponse: {
896
+ type: "object",
897
+ properties: {
898
+ data: {
899
+ type: "array",
900
+ items: {
901
+ $ref: "#/components/schemas/WebhookEvent"
902
+ },
903
+ description: "List of webhook events"
904
+ },
905
+ next_cursor: {
906
+ type: "object",
907
+ nullable: true,
908
+ description: "Cursor to fetch the next page. Null if no more results.",
909
+ properties: {
910
+ created_at: {
911
+ type: "string",
912
+ format: "date-time",
913
+ example: "2025-10-31T12:34:56Z"
914
+ },
915
+ event_id: {
916
+ type: "string",
917
+ example: "evt_1234567890abcdef"
918
+ }
919
+ }
920
+ },
921
+ has_more: {
922
+ type: "boolean",
923
+ description: "Indicates if more results are available",
924
+ example: true
925
+ }
926
+ }
927
+ },
928
+ HttpMethod: {
929
+ type: "string",
930
+ enum: ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "HEAD"]
931
+ },
932
+ AuthType: {
933
+ type: "string",
934
+ enum: ["BASIC", "OAUTH_CLIENT_CREDENTIALS", "API_KEY", "NONE"]
935
+ },
936
+ Filter: {
937
+ type: "object",
938
+ properties: {
939
+ keyToFilter: {
940
+ type: "string"
941
+ },
942
+ supportedValues: {
943
+ type: "array",
944
+ items: {
945
+ type: "string"
946
+ }
947
+ }
948
+ },
949
+ required: ["keyToFilter", "supportedValues"]
950
+ },
951
+ Auth: {
952
+ type: "object",
953
+ properties: {
954
+ authType: {
955
+ $ref: "#/components/schemas/AuthType"
956
+ },
957
+ basicAuthConfig: {
958
+ $ref: "#/components/schemas/BasicAuthConfig"
959
+ },
960
+ oauthConfig: {
961
+ $ref: "#/components/schemas/OAuthConfig"
962
+ },
963
+ apiKeyConfig: {
964
+ $ref: "#/components/schemas/ApiKeyConfig"
965
+ }
966
+ },
967
+ required: ["authType"]
968
+ },
969
+ BasicAuthConfig: {
970
+ type: "object",
971
+ description: "To be sent only if authType is BASIC",
972
+ properties: {
973
+ username: {
974
+ type: "string"
975
+ },
976
+ password: {
977
+ type: "string"
978
+ },
979
+ passwordIsEnvVar: {
980
+ type: "boolean",
981
+ description: "When true, indicates the password value is an environment variable reference (e.g. {{ env.my_secret }})"
982
+ }
983
+ },
984
+ required: ["username"]
985
+ },
986
+ OAuthConfig: {
987
+ type: "object",
988
+ description: "To be sent only if authType is OAUTH_CLIENT_CREDENTIALS",
989
+ properties: {
990
+ clientId: {
991
+ type: "string"
992
+ },
993
+ clientSecret: {
994
+ type: "string"
995
+ },
996
+ clientSecretIsEnvVar: {
997
+ type: "boolean",
998
+ description: "When true, indicates the clientSecret value is an environment variable reference (e.g. {{ env.my_secret }})"
999
+ },
1000
+ endpoint: {
1001
+ type: "string",
1002
+ description: "Https Endpoint for authentication"
1003
+ },
1004
+ httpMethod: {
1005
+ $ref: "#/components/schemas/HttpMethod"
1006
+ },
1007
+ customParameterList: {
1008
+ type: "array",
1009
+ items: {
1010
+ $ref: "#/components/schemas/CustomOAuthParameter"
1011
+ }
1012
+ }
1013
+ },
1014
+ required: ["clientId", "endpoint", "httpMethod"]
1015
+ },
1016
+ ApiKeyConfig: {
1017
+ type: "object",
1018
+ description: "To be sent only if authType is API_KEY",
1019
+ properties: {
1020
+ keyName: {
1021
+ type: "string"
1022
+ },
1023
+ keyValue: {
1024
+ type: "string"
1025
+ },
1026
+ keyValueIsEnvVar: {
1027
+ type: "boolean",
1028
+ description: "When true, indicates the keyValue is an environment variable reference (e.g. {{ env.my_secret }})"
1029
+ }
1030
+ },
1031
+ required: ["keyName"]
1032
+ },
1033
+ WebhookConfig: {
1034
+ type: "object",
1035
+ properties: {
1036
+ id: {
1037
+ type: "string",
1038
+ readOnly: true
1039
+ },
1040
+ name: {
1041
+ type: "string"
1042
+ },
1043
+ eventName: {
1044
+ type: "string"
1045
+ },
1046
+ url: {
1047
+ type: "string"
1048
+ },
1049
+ creationTime: {
1050
+ type: "string",
1051
+ description: "creation timestamp",
1052
+ example: "2021-04-27T12:01:13.000Z"
1053
+ },
1054
+ httpMethod: {
1055
+ $ref: "#/components/schemas/HttpMethod"
1056
+ },
1057
+ enabled: {
1058
+ type: "boolean"
1059
+ },
1060
+ auth: {
1061
+ $ref: "#/components/schemas/Auth"
1062
+ },
1063
+ filter: {
1064
+ $ref: "#/components/schemas/Filter"
1065
+ },
1066
+ payloadConfiguration: {
1067
+ $ref: "#/components/schemas/PayloadConfiguration"
1068
+ },
1069
+ enableStaticIP: {
1070
+ type: "boolean"
1071
+ },
1072
+ status: {
1073
+ type: "string",
1074
+ enum: ["active", "inactive", "incomplete"]
1075
+ },
1076
+ jsonataExpression: {
1077
+ type: "string",
1078
+ description: "JSONata expression to transform the payload"
1079
+ },
1080
+ _manifest: {
1081
+ type: "array",
1082
+ description: "Manifest ID used to create/update the webhook resource",
1083
+ items: {
1084
+ type: "string",
1085
+ format: "uuid",
1086
+ example: "123e4567-e89b-12d3-a456-426614174000"
1087
+ }
1088
+ },
1089
+ signingSecret: {
1090
+ type: "string",
1091
+ readOnly: true,
1092
+ description: "Per-webhook signing secret following the Standard Webhooks specification.\nOnly returned once during webhook creation. Use this secret to verify\nwebhook signatures using the `webhook-id`, `webhook-timestamp`, and\n`webhook-signature` headers.\n",
1093
+ example: "whsec_C2FVsBQIhrscChlQIMV+b5sSYspob7oD"
1094
+ }
1095
+ },
1096
+ required: ["name", "eventName"],
1097
+ example: {
1098
+ eventName: "CustomerRequest_Created",
1099
+ url: "https://my-partner-service.api.com",
1100
+ httpMethod: "POST",
1101
+ enabled: true,
1102
+ auth: {
1103
+ authType: "BASIC",
1104
+ basicAuthConfig: {
1105
+ username: "secretUsername",
1106
+ password: "secret7825@!"
1107
+ }
1108
+ },
1109
+ filter: {
1110
+ keyToFilter: "customer_request.productId",
1111
+ supportedValues: ["2324245", "5253642"]
1112
+ }
1113
+ }
1114
+ },
1115
+ EventConfigResp: {
1116
+ type: "array",
1117
+ items: {
1118
+ $ref: "#/components/schemas/EventConfigEntry"
1119
+ },
1120
+ example: [
1121
+ {
1122
+ eventName: "customer_request_created",
1123
+ eventLabel: "Customer Request Created"
1124
+ }
1125
+ ]
1126
+ },
1127
+ EventConfigEntry: {
1128
+ type: "object",
1129
+ properties: {
1130
+ eventName: {
1131
+ type: "string",
1132
+ description: "Name for identifying the event. Unique."
1133
+ },
1134
+ eventLabel: {
1135
+ type: "string",
1136
+ description: "Either a user friendly label, or the eventName itself."
1137
+ }
1138
+ }
1139
+ },
1140
+ ErrorResp: {
1141
+ type: "object",
1142
+ properties: {
1143
+ message: {
1144
+ type: "string"
1145
+ }
1146
+ }
1147
+ },
1148
+ TriggerWebhookResp: {
1149
+ type: "object",
1150
+ required: ["event_id"],
1151
+ properties: {
1152
+ status_code: {
1153
+ type: "string"
1154
+ },
1155
+ message: {
1156
+ type: "string"
1157
+ },
1158
+ body: {
1159
+ type: "object"
1160
+ },
1161
+ code: {
1162
+ type: "string"
1163
+ },
1164
+ status: {
1165
+ type: "string",
1166
+ enum: ["succeeded", "failed"]
1167
+ },
1168
+ start_date: {
1169
+ type: "string"
1170
+ },
1171
+ end_date: {
1172
+ type: "string"
1173
+ },
1174
+ event_id: {
1175
+ type: "string"
1176
+ }
1177
+ }
1178
+ },
1179
+ PayloadConfiguration: {
1180
+ type: "object",
1181
+ description: "Configuration for the webhook payload",
1182
+ properties: {
1183
+ hydrate_entity: {
1184
+ type: "boolean"
1185
+ },
1186
+ include_relations: {
1187
+ type: "boolean"
1188
+ },
1189
+ include_activity: {
1190
+ type: "boolean"
1191
+ },
1192
+ include_changed_attributes: {
1193
+ type: "boolean"
1194
+ },
1195
+ custom_headers: {
1196
+ $ref: "#/components/schemas/CustomHeader"
1197
+ }
1198
+ }
1199
+ },
1200
+ CustomHeader: {
1201
+ type: "object",
1202
+ description: "Object representing custom headers as key-value pairs.",
1203
+ additionalProperties: {
1204
+ type: "string",
1205
+ description: "Header value"
1206
+ }
1207
+ },
1208
+ CustomOAuthParameter: {
1209
+ type: "object",
1210
+ description: "Custom key/value pair of either type body, query or header",
1211
+ properties: {
1212
+ type: {
1213
+ type: "string",
1214
+ enum: ["body", "query", "header"]
1215
+ },
1216
+ key: {
1217
+ type: "string"
1218
+ },
1219
+ value: {
1220
+ type: "string"
1221
+ }
1222
+ },
1223
+ required: ["type", "key", "value"]
1224
+ },
1225
+ Metadata: {
1226
+ type: "object",
1227
+ description: "Contains the metadata about the configured event",
1228
+ properties: {
1229
+ action: {
1230
+ type: "string",
1231
+ description: "Action that triggered the event",
1232
+ example: "Manual triggered by user with id 123456"
1233
+ },
1234
+ origin: {
1235
+ type: "string",
1236
+ description: "Origin of the event"
1237
+ },
1238
+ creation_timestamp: {
1239
+ type: "string",
1240
+ description: "Time of event creation"
1241
+ },
1242
+ webhook_id: {
1243
+ type: "string",
1244
+ description: "The ID of the webhook configuration"
1245
+ },
1246
+ webhook_name: {
1247
+ type: "string",
1248
+ description: "The name of the webhook configuration"
1249
+ },
1250
+ automation_name: {
1251
+ type: "string",
1252
+ description: "The name of the automation that triggered the event"
1253
+ },
1254
+ organization_id: {
1255
+ type: "string",
1256
+ description: "The ID of the given organization"
1257
+ },
1258
+ user_id: {
1259
+ type: "string",
1260
+ description: "The ID of the user for manual triggered events"
1261
+ },
1262
+ correlation_id: {
1263
+ type: "string",
1264
+ description: "ID used to track the event"
1265
+ },
1266
+ execution_id: {
1267
+ type: "string",
1268
+ description: "When triggered by an automation this is its execution id"
1269
+ },
1270
+ action_id: {
1271
+ type: "string",
1272
+ description: "When triggered by an automation this is the id of the action"
1273
+ }
1274
+ },
1275
+ required: ["organization_id"]
1276
+ },
1277
+ ExecutionPayload: {
1278
+ type: "object",
1279
+ description: "Payload for triggering a webhook",
1280
+ additionalProperties: true,
1281
+ properties: {
1282
+ metadata: {
1283
+ $ref: "#/components/schemas/Metadata"
1284
+ }
1285
+ },
1286
+ required: ["metadata"]
1287
+ },
1288
+ WebhookEvent: {
1289
+ type: "object",
1290
+ properties: {
1291
+ event_id: {
1292
+ type: "string"
1293
+ },
1294
+ org_id: {
1295
+ type: "string"
1296
+ },
1297
+ webhook_config_id: {
1298
+ type: "string"
1299
+ },
1300
+ url: {
1301
+ type: "string"
1302
+ },
1303
+ created_at: {
1304
+ type: "string",
1305
+ example: "2021-04-27T12:01:13.000Z"
1306
+ },
1307
+ event_name: {
1308
+ type: "string"
1309
+ },
1310
+ http_response: {
1311
+ type: "object",
1312
+ properties: {
1313
+ status_code: {
1314
+ type: "integer"
1315
+ },
1316
+ message: {
1317
+ type: "string"
1318
+ },
1319
+ body: {
1320
+ type: "object"
1321
+ },
1322
+ code: {
1323
+ type: "string"
1324
+ }
1325
+ }
1326
+ },
1327
+ metadata: {
1328
+ $ref: "#/components/schemas/Metadata"
1329
+ },
1330
+ status: {
1331
+ type: "string",
1332
+ enum: ["succeeded", "failed", "in_progress"]
1333
+ },
1334
+ http_method: {
1335
+ type: "string",
1336
+ enum: ["GET", "POST", "PUT"]
1337
+ },
1338
+ payload: {
1339
+ type: "string",
1340
+ description: "stringified payload of the webhook request"
1341
+ }
1342
+ },
1343
+ required: ["event_id", "webhook_config_id", "org_id"]
1344
+ },
1345
+ ExampleRequest: {
1346
+ type: "object",
1347
+ properties: {
1348
+ automation_id: {
1349
+ type: "string",
1350
+ description: "ID of the automation, if applicable",
1351
+ example: "automation_123"
1352
+ }
1353
+ }
1354
+ },
1355
+ ExampleResponse: {
1356
+ type: "object",
1357
+ properties: {
1358
+ metadata: {
1359
+ $ref: "#/components/schemas/Metadata"
1360
+ },
1361
+ entity: {
1362
+ type: "object",
1363
+ description: "Example payload for the webhook event",
1364
+ additionalProperties: true
1365
+ },
1366
+ relations: {
1367
+ type: "array",
1368
+ description: "Example relations for the webhook event",
1369
+ items: {
1370
+ type: "object",
1371
+ additionalProperties: true
1372
+ }
1373
+ }
1374
+ },
1375
+ additionalProperties: true
1376
+ },
1377
+ BatchReplayRequest: {
1378
+ type: "object",
1379
+ properties: {
1380
+ eventIds: {
1381
+ type: "array",
1382
+ items: {
1383
+ type: "string"
1384
+ },
1385
+ description: "List of event IDs to replay",
1386
+ minItems: 1,
1387
+ maxItems: 100,
1388
+ example: ["2f1b7cf8-ff55-4359-966f-e56f39a52c94", "48c984bf-466b-470b-b743-d07cea168243"]
1389
+ }
1390
+ },
1391
+ required: ["eventIds"]
1392
+ }
1393
+ },
1394
+ securitySchemes: {
1395
+ EpilotAuth: {
1396
+ type: "http",
1397
+ scheme: "bearer",
1398
+ description: "Authorization header with epilot OAuth2 bearer token",
1399
+ bearerFormat: "JWT"
1400
+ }
1401
+ }
1402
+ };
1403
+ var security = [
1404
+ {
1405
+ EpilotAuth: []
1406
+ }
1407
+ ];
1408
+ var servers = [
1409
+ {
1410
+ url: "https://webhooks.sls.epilot.io"
1411
+ }
1412
+ ];
1413
+ var webhooks_default = {
1414
+ openapi,
1415
+ info,
1416
+ tags,
1417
+ paths,
1418
+ components,
1419
+ security,
1420
+ servers
1421
+ };
1422
+
1423
+
1424
+
1425
+
1426
+
1427
+
1428
+
1429
+
1430
+
1431
+ exports.components = components; exports.default = webhooks_default; exports.info = info; exports.openapi = openapi; exports.paths = paths; exports.security = security; exports.servers = servers; exports.tags = tags;