@epilot/sdk 2.1.0-rc.1 → 2.1.0

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 (359) hide show
  1. package/definitions/app.json +38 -0
  2. package/definitions/automation.json +2 -37
  3. package/definitions/blueprint-manifest-runtime.json +1 -1
  4. package/definitions/blueprint-manifest.json +115 -1
  5. package/definitions/customer-portal-runtime.json +1 -1
  6. package/definitions/customer-portal.json +279 -42
  7. package/definitions/data-management.json +10 -0
  8. package/definitions/email-template.json +25 -3
  9. package/definitions/entity.json +205 -3
  10. package/definitions/erp-integration-runtime.json +1 -1
  11. package/definitions/erp-integration.json +472 -13
  12. package/definitions/journey.json +257 -12
  13. package/definitions/kanban.json +630 -78
  14. package/definitions/organization-runtime.json +1 -1
  15. package/definitions/organization.json +614 -51
  16. package/definitions/workflow.json +40 -0
  17. package/dist/README-VG67PX4R.js +7 -0
  18. package/dist/README-W4B35MRN.cjs +7 -0
  19. package/dist/_index-AMVZBT2K.cjs +99 -0
  20. package/dist/_index-S6LFD3ER.js +99 -0
  21. package/dist/access-token-6BJDZSFE.cjs +7 -0
  22. package/dist/access-token-GSQZLDXR.js +7 -0
  23. package/dist/address-HA4RMRNQ.cjs +7 -0
  24. package/dist/address-QVJUGMOG.js +7 -0
  25. package/dist/address-suggestions-74244BAJ.js +7 -0
  26. package/dist/address-suggestions-IUQMYF27.cjs +7 -0
  27. package/dist/ai-agents-IZWFEUSH.js +7 -0
  28. package/dist/ai-agents-PWHKNRCX.cjs +7 -0
  29. package/dist/apis/access-token.cjs +10 -8
  30. package/dist/apis/access-token.js +5 -3
  31. package/dist/apis/address-suggestions.cjs +10 -8
  32. package/dist/apis/address-suggestions.js +5 -3
  33. package/dist/apis/address.cjs +10 -8
  34. package/dist/apis/address.js +5 -3
  35. package/dist/apis/ai-agents.cjs +10 -8
  36. package/dist/apis/ai-agents.js +5 -3
  37. package/dist/apis/app.cjs +10 -8
  38. package/dist/apis/app.js +5 -3
  39. package/dist/apis/audit-logs.cjs +10 -8
  40. package/dist/apis/audit-logs.js +5 -3
  41. package/dist/apis/automation.cjs +10 -8
  42. package/dist/apis/automation.js +5 -3
  43. package/dist/apis/billing.cjs +10 -8
  44. package/dist/apis/billing.js +5 -3
  45. package/dist/apis/blueprint-manifest.cjs +10 -8
  46. package/dist/apis/blueprint-manifest.js +5 -3
  47. package/dist/apis/consent.cjs +10 -8
  48. package/dist/apis/consent.js +5 -3
  49. package/dist/apis/customer-portal.cjs +10 -8
  50. package/dist/apis/customer-portal.js +5 -3
  51. package/dist/apis/dashboard.cjs +10 -8
  52. package/dist/apis/dashboard.js +5 -3
  53. package/dist/apis/data-management.cjs +10 -8
  54. package/dist/apis/data-management.js +5 -3
  55. package/dist/apis/deduplication.cjs +10 -8
  56. package/dist/apis/deduplication.js +5 -3
  57. package/dist/apis/design.cjs +10 -8
  58. package/dist/apis/design.js +5 -3
  59. package/dist/apis/document.cjs +10 -8
  60. package/dist/apis/document.js +5 -3
  61. package/dist/apis/email-settings.cjs +10 -8
  62. package/dist/apis/email-settings.js +5 -3
  63. package/dist/apis/email-template.cjs +10 -8
  64. package/dist/apis/email-template.js +5 -3
  65. package/dist/apis/entity-mapping.cjs +10 -8
  66. package/dist/apis/entity-mapping.js +5 -3
  67. package/dist/apis/entity.cjs +10 -8
  68. package/dist/apis/entity.js +5 -3
  69. package/dist/apis/environments.cjs +10 -8
  70. package/dist/apis/environments.js +5 -3
  71. package/dist/apis/erp-integration.cjs +10 -8
  72. package/dist/apis/erp-integration.js +5 -3
  73. package/dist/apis/event-catalog.cjs +10 -8
  74. package/dist/apis/event-catalog.js +5 -3
  75. package/dist/apis/file.cjs +10 -8
  76. package/dist/apis/file.js +5 -3
  77. package/dist/apis/iban.cjs +10 -8
  78. package/dist/apis/iban.js +5 -3
  79. package/dist/apis/journey.cjs +10 -8
  80. package/dist/apis/journey.js +5 -3
  81. package/dist/apis/kanban.cjs +10 -8
  82. package/dist/apis/kanban.js +5 -3
  83. package/dist/apis/message.cjs +10 -8
  84. package/dist/apis/message.js +5 -3
  85. package/dist/apis/metering.cjs +10 -8
  86. package/dist/apis/metering.js +5 -3
  87. package/dist/apis/notes.cjs +10 -8
  88. package/dist/apis/notes.js +5 -3
  89. package/dist/apis/notification.cjs +10 -8
  90. package/dist/apis/notification.js +5 -3
  91. package/dist/apis/organization.cjs +10 -8
  92. package/dist/apis/organization.d.cts +2 -2
  93. package/dist/apis/organization.d.ts +2 -2
  94. package/dist/apis/organization.js +5 -3
  95. package/dist/apis/partner-directory.cjs +10 -8
  96. package/dist/apis/partner-directory.js +5 -3
  97. package/dist/apis/permissions.cjs +10 -8
  98. package/dist/apis/permissions.js +5 -3
  99. package/dist/apis/pricing-tier.cjs +10 -8
  100. package/dist/apis/pricing-tier.js +5 -3
  101. package/dist/apis/pricing.cjs +10 -8
  102. package/dist/apis/pricing.js +5 -3
  103. package/dist/apis/purpose.cjs +10 -8
  104. package/dist/apis/purpose.js +5 -3
  105. package/dist/apis/sandbox.cjs +10 -8
  106. package/dist/apis/sandbox.js +5 -3
  107. package/dist/apis/submission.cjs +10 -8
  108. package/dist/apis/submission.js +5 -3
  109. package/dist/apis/targeting.cjs +10 -8
  110. package/dist/apis/targeting.js +5 -3
  111. package/dist/apis/template-variables.cjs +10 -8
  112. package/dist/apis/template-variables.js +5 -3
  113. package/dist/apis/user.cjs +10 -8
  114. package/dist/apis/user.js +5 -3
  115. package/dist/apis/validation-rules.cjs +10 -8
  116. package/dist/apis/validation-rules.js +5 -3
  117. package/dist/apis/webhooks.cjs +10 -8
  118. package/dist/apis/webhooks.js +5 -3
  119. package/dist/apis/workflow-definition.cjs +10 -8
  120. package/dist/apis/workflow-definition.js +5 -3
  121. package/dist/apis/workflow.cjs +10 -8
  122. package/dist/apis/workflow.js +5 -3
  123. package/dist/app-IKHWU222.cjs +7 -0
  124. package/dist/app-VLM3SWKA.js +7 -0
  125. package/dist/audit-logs-5VXHOQ7S.js +7 -0
  126. package/dist/audit-logs-D2LFUA2R.cjs +7 -0
  127. package/dist/automation-3HGCK725.cjs +7 -0
  128. package/dist/automation-72VGEJCY.js +7 -0
  129. package/dist/billing-DUWDISHP.cjs +7 -0
  130. package/dist/billing-IPALEAG2.js +7 -0
  131. package/dist/blueprint-manifest-CXSCRQ5X.js +7 -0
  132. package/dist/blueprint-manifest-SHNZPK5O.cjs +7 -0
  133. package/dist/{chunk-6J7CIOKR.js → chunk-2HOJWFQ4.js} +1 -1
  134. package/dist/{chunk-BDIJHJOG.js → chunk-372VUPHN.js} +1 -1
  135. package/dist/{chunk-Q5TESEDZ.cjs → chunk-3HJEWWPS.cjs} +2 -2
  136. package/dist/{chunk-ID6BXIOZ.js → chunk-3N67SSL3.js} +1 -1
  137. package/dist/chunk-3XEP56SV.cjs +204 -0
  138. package/dist/{chunk-7KFKA3AH.cjs → chunk-3ZZ57K3S.cjs} +2 -2
  139. package/dist/{chunk-CVSQT5PV.cjs → chunk-4SWC43JO.cjs} +2 -2
  140. package/dist/{chunk-O3R6C3WW.js → chunk-4VFQTSJQ.js} +1 -1
  141. package/dist/{chunk-LXAJ722U.js → chunk-57QIBYDN.js} +1 -1
  142. package/dist/{chunk-SPZSDRM6.cjs → chunk-5SNJAD6F.cjs} +2 -2
  143. package/dist/{chunk-OI2M6FSB.js → chunk-73H6TVKN.js} +1 -1
  144. package/dist/{chunk-BB7WFIE2.cjs → chunk-A6JOROUC.cjs} +2 -2
  145. package/dist/{chunk-SHPXCOTN.cjs → chunk-AJKH25H2.cjs} +3 -3
  146. package/dist/{chunk-DBNEZWK2.cjs → chunk-ARWMTXJV.cjs} +2 -2
  147. package/dist/{chunk-7BPPP4M2.js → chunk-B3ZGAG7B.js} +1 -1
  148. package/dist/{chunk-5WN2YXNU.cjs → chunk-BH5ZXK4J.cjs} +2 -2
  149. package/dist/{chunk-JM6HKPSC.cjs → chunk-BWFXLUK5.cjs} +2 -2
  150. package/dist/{chunk-V56ZCL54.js → chunk-C6UTZEHH.js} +1 -1
  151. package/dist/{chunk-ZPCMZO2O.js → chunk-CPKBR34V.js} +1 -1
  152. package/dist/{chunk-UTQY2DSM.js → chunk-CWSHYFVZ.js} +1 -1
  153. package/dist/{chunk-5YVVQBA2.js → chunk-DJKSULPK.js} +1 -1
  154. package/dist/{chunk-XLOXC52O.js → chunk-DNJ54L2G.js} +1 -1
  155. package/dist/{chunk-YXPUCBVK.cjs → chunk-DY2D2IW5.cjs} +2 -2
  156. package/dist/{chunk-Z5LLUUFD.cjs → chunk-E26ZO7QM.cjs} +2 -2
  157. package/dist/{chunk-RNKZDJOY.js → chunk-EBCHCYUO.js} +1 -1
  158. package/dist/{chunk-4MO4WLKA.cjs → chunk-EPAIOB5U.cjs} +2 -2
  159. package/dist/{chunk-UX2IZQNM.cjs → chunk-EQZMT2HF.cjs} +2 -2
  160. package/dist/{chunk-U52A2DMK.cjs → chunk-F376L6PP.cjs} +2 -2
  161. package/dist/{chunk-TBBLLEB2.cjs → chunk-F472YLJG.cjs} +2 -2
  162. package/dist/{chunk-W3MM2BSK.cjs → chunk-FXOX3X7E.cjs} +2 -2
  163. package/dist/{chunk-E4IFBCNM.cjs → chunk-G2REP2VZ.cjs} +2 -2
  164. package/dist/{chunk-CFGXI3FX.js → chunk-GLO477NZ.js} +1 -1
  165. package/dist/{chunk-PBNPZ7UX.js → chunk-H4VSK4KF.js} +1 -1
  166. package/dist/{chunk-33TQRYMY.js → chunk-HPSGM6QP.js} +1 -1
  167. package/dist/{chunk-RQKN4WTW.cjs → chunk-HPYHWTTA.cjs} +2 -2
  168. package/dist/{chunk-5RXE7X63.js → chunk-IH4CMOML.js} +2 -2
  169. package/dist/{chunk-VD5TBK2T.cjs → chunk-IMT3IE5M.cjs} +2 -2
  170. package/dist/{chunk-DIP442PL.js → chunk-IP2WWEOU.js} +1 -1
  171. package/dist/{chunk-FCLW3FLF.js → chunk-IS2VB342.js} +1 -1
  172. package/dist/{chunk-UNHWLNE4.js → chunk-ITX53XAZ.js} +1 -1
  173. package/dist/{chunk-KU2XF4TS.cjs → chunk-JXBXDTFG.cjs} +2 -2
  174. package/dist/{chunk-Y4YQEDR3.js → chunk-K62XK7KU.js} +1 -1
  175. package/dist/chunk-KA3TGFJP.js +14 -0
  176. package/dist/{chunk-IXRDP4VP.js → chunk-KBOVBUBM.js} +1 -1
  177. package/dist/{chunk-MKZGM4A6.js → chunk-KPGC2D6E.js} +1 -1
  178. package/dist/{chunk-ZAPA4RPI.js → chunk-KSXTBGIV.js} +1 -1
  179. package/dist/{chunk-PLBIQ2Y7.cjs → chunk-LCIJ4TJ4.cjs} +2 -2
  180. package/dist/{chunk-TUAAE3UC.cjs → chunk-LQOLYXGQ.cjs} +2 -2
  181. package/dist/{chunk-6ADJEPMJ.js → chunk-LSIWCIQV.js} +1 -1
  182. package/dist/{chunk-CBRWUULQ.js → chunk-MHNSZ4HE.js} +1 -1
  183. package/dist/{chunk-WOOKHE7Y.cjs → chunk-MKX4CKAB.cjs} +2 -2
  184. package/dist/{chunk-N2P26AAD.js → chunk-MRTAFRO7.js} +1 -1
  185. package/dist/{chunk-YGULLD73.js → chunk-MRZ7LGKZ.js} +1 -1
  186. package/dist/{chunk-CLMZ2EXW.js → chunk-MSASBR2Y.js} +1 -1
  187. package/dist/{chunk-KEJRWMXR.cjs → chunk-NAWLLC3T.cjs} +2 -2
  188. package/dist/chunk-NJK5F5TF.cjs +21 -0
  189. package/dist/{chunk-HBPCJRZX.cjs → chunk-NLSZVGHK.cjs} +2 -2
  190. package/dist/{chunk-CK36RZXR.js → chunk-O4LRVGOY.js} +1 -1
  191. package/dist/chunk-OG2DMGU6.cjs +14 -0
  192. package/dist/{chunk-TIJGLQKO.js → chunk-OGQKJTXF.js} +1 -1
  193. package/dist/{chunk-UE4XPL43.js → chunk-PETLAONH.js} +1 -1
  194. package/dist/{chunk-MK4ZGXVE.cjs → chunk-PVSS2WPM.cjs} +2 -2
  195. package/dist/{chunk-ONN5COYQ.cjs → chunk-PXITFTJA.cjs} +2 -2
  196. package/dist/{chunk-ZAXYMQ2B.cjs → chunk-QDVPPRWI.cjs} +2 -2
  197. package/dist/{chunk-IPFHV2FV.cjs → chunk-QKERXNJJ.cjs} +2 -2
  198. package/dist/{chunk-ZDJ3J6Z6.cjs → chunk-QLML3IP5.cjs} +2 -2
  199. package/dist/{chunk-YFHQYQII.js → chunk-QVAJ5JP4.js} +1 -1
  200. package/dist/{chunk-S2QF6HG2.cjs → chunk-RD7E4OSJ.cjs} +2 -2
  201. package/dist/{chunk-XIB2G42L.cjs → chunk-RWSA3LXE.cjs} +2 -2
  202. package/dist/{chunk-R6WNZVTA.cjs → chunk-RXSS67VI.cjs} +2 -2
  203. package/dist/{chunk-UXVV3BSC.cjs → chunk-S3ZNESMC.cjs} +2 -2
  204. package/dist/{chunk-YNPRF4BX.js → chunk-S7NDMDRX.js} +1 -1
  205. package/dist/{chunk-HO7KACZZ.cjs → chunk-SK3VYIZ6.cjs} +2 -2
  206. package/dist/{chunk-CX3KG7D2.cjs → chunk-SMGHAG5C.cjs} +2 -2
  207. package/dist/{chunk-D5FJ26GG.js → chunk-T46LODOF.js} +1 -1
  208. package/dist/{chunk-Y4ZMNMYI.js → chunk-TIJWJVKZ.js} +1 -1
  209. package/dist/{chunk-EIILOQ6X.js → chunk-TLWCYLNA.js} +1 -1
  210. package/dist/{chunk-JX45ME2Z.js → chunk-TRJLYZHD.js} +1 -1
  211. package/dist/{chunk-RNBO3DEN.js → chunk-UKKJMCNH.js} +1 -1
  212. package/dist/chunk-ULBEEHG4.js +204 -0
  213. package/dist/{chunk-UDO4JYVU.cjs → chunk-VGTUK3QD.cjs} +2 -2
  214. package/dist/{chunk-4JPVFLVU.js → chunk-VQ7R36AC.js} +1 -1
  215. package/dist/{chunk-IPDIEZBN.cjs → chunk-VVQB5W7U.cjs} +2 -2
  216. package/dist/{chunk-HKZQ56AS.cjs → chunk-VVVATFGK.cjs} +2 -2
  217. package/dist/{chunk-URRL33D5.cjs → chunk-WMTYO5OX.cjs} +2 -2
  218. package/dist/{chunk-U4BMKRG6.js → chunk-WOSSSFXB.js} +1 -1
  219. package/dist/{chunk-OBQIS3KU.js → chunk-WOXXNKTE.js} +1 -1
  220. package/dist/{chunk-WAKSLH7V.cjs → chunk-XKI2OAYV.cjs} +2 -2
  221. package/dist/{chunk-5Y2KLUU6.cjs → chunk-XR4QF6KQ.cjs} +2 -2
  222. package/dist/{chunk-6BERHKDQ.cjs → chunk-XYHTQ523.cjs} +2 -2
  223. package/dist/{chunk-XD6XML3Z.cjs → chunk-XZYZLSUO.cjs} +2 -2
  224. package/dist/chunk-YPSWSI3M.js +21 -0
  225. package/dist/{chunk-4K3MX2J6.js → chunk-YYBIU5BQ.js} +1 -1
  226. package/dist/{chunk-HSGQSTVK.js → chunk-YZA5WZUS.js} +1 -1
  227. package/dist/{chunk-GGBSLAVO.cjs → chunk-Z4LUE424.cjs} +2 -2
  228. package/dist/{chunk-NSOHW3R6.js → chunk-ZV6XYUXS.js} +1 -1
  229. package/dist/consent-CS2ZBZX4.cjs +7 -0
  230. package/dist/consent-NNYHF2N4.js +7 -0
  231. package/dist/customer-portal-D3SLPAHZ.js +7 -0
  232. package/dist/customer-portal-UR3GN4VU.cjs +7 -0
  233. package/dist/dashboard-UHYR5RTY.cjs +7 -0
  234. package/dist/dashboard-UTPGXFW5.js +7 -0
  235. package/dist/data-management-QH2IJ5QV.js +7 -0
  236. package/dist/data-management-TEFRLGSU.cjs +7 -0
  237. package/dist/deduplication-ECVAZVVA.cjs +7 -0
  238. package/dist/deduplication-GYIST22B.js +7 -0
  239. package/dist/design-KUVXMFFK.cjs +7 -0
  240. package/dist/design-YKBXRW5C.js +7 -0
  241. package/dist/document-CY2A2OE7.js +7 -0
  242. package/dist/document-RYQ7MF6U.cjs +7 -0
  243. package/dist/email-settings-TQ5GGDYG.js +7 -0
  244. package/dist/email-settings-TQC34GST.cjs +7 -0
  245. package/dist/email-template-M2VVL4TI.cjs +7 -0
  246. package/dist/email-template-WYROV3UG.js +7 -0
  247. package/dist/entity-FA6PZX6S.js +7 -0
  248. package/dist/entity-IX5NSHPX.cjs +7 -0
  249. package/dist/entity-mapping-7J3IAGKQ.js +7 -0
  250. package/dist/entity-mapping-ZNMFCUKK.cjs +7 -0
  251. package/dist/environments-E3X6NYGX.js +7 -0
  252. package/dist/environments-P2JS4F5N.cjs +7 -0
  253. package/dist/erp-integration-EP2XFEH5.js +7 -0
  254. package/dist/erp-integration-NNV72VFI.cjs +7 -0
  255. package/dist/event-catalog-C45ISVMP.cjs +7 -0
  256. package/dist/event-catalog-D7VJ7WRS.js +7 -0
  257. package/dist/file-UOWBTDIU.cjs +7 -0
  258. package/dist/file-XSN3NAVZ.js +7 -0
  259. package/dist/iban-24GHLFDB.cjs +7 -0
  260. package/dist/iban-LDKYDVQV.js +7 -0
  261. package/dist/index.cjs +107 -100
  262. package/dist/index.d.cts +17 -2
  263. package/dist/index.d.ts +17 -2
  264. package/dist/index.js +58 -51
  265. package/dist/journey-7CKX67M7.js +7 -0
  266. package/dist/journey-EUZ6MVHG.cjs +7 -0
  267. package/dist/kanban-CHTH2ZSY.cjs +7 -0
  268. package/dist/kanban-HI6LL5WY.js +7 -0
  269. package/dist/message-3XZLJR6R.cjs +7 -0
  270. package/dist/message-ZNMCS5YH.js +7 -0
  271. package/dist/metering-DZNZPPY6.cjs +7 -0
  272. package/dist/metering-KOSCPPKB.js +7 -0
  273. package/dist/notes-3AO5GXIT.js +7 -0
  274. package/dist/notes-MPWOQC5J.cjs +7 -0
  275. package/dist/notification-PZOCUYD5.cjs +7 -0
  276. package/dist/notification-VWDZRSFZ.js +7 -0
  277. package/dist/organization-RARYYG2E.cjs +7 -0
  278. package/dist/organization-ZERPH2IH.js +7 -0
  279. package/dist/{organization.d-Bd2Hmk8v.d.cts → organization.d-DqwnNxMg.d.cts} +34 -7
  280. package/dist/{organization.d-Bd2Hmk8v.d.ts → organization.d-DqwnNxMg.d.ts} +34 -7
  281. package/dist/partner-directory-2XMPQWWX.js +7 -0
  282. package/dist/partner-directory-WHNTKQ5E.cjs +7 -0
  283. package/dist/permissions-4T3GFNB4.js +7 -0
  284. package/dist/permissions-FGBIJNN7.cjs +7 -0
  285. package/dist/pricing-4Z4TOETA.cjs +7 -0
  286. package/dist/pricing-C65DTZSX.js +7 -0
  287. package/dist/pricing-tier-NI35WOUP.cjs +7 -0
  288. package/dist/pricing-tier-VUOFK5Q7.js +7 -0
  289. package/dist/purpose-AKOEUHZ4.cjs +7 -0
  290. package/dist/purpose-RBRV3AQZ.js +7 -0
  291. package/dist/sandbox-2KN4X66E.cjs +7 -0
  292. package/dist/sandbox-L2SOOGGR.js +7 -0
  293. package/dist/submission-7BISSPO6.js +7 -0
  294. package/dist/submission-Q24BU4GS.cjs +7 -0
  295. package/dist/targeting-EYGYZD6M.cjs +7 -0
  296. package/dist/targeting-GEJTJN5Z.js +7 -0
  297. package/dist/template-variables-OAYS2E3G.cjs +1148 -0
  298. package/dist/template-variables-VKDJJZUT.js +1148 -0
  299. package/dist/user-EIEOI3OG.js +7 -0
  300. package/dist/user-NJJ7XVKB.cjs +7 -0
  301. package/dist/validation-rules-P6F5P73P.js +7 -0
  302. package/dist/validation-rules-VDU3CIZV.cjs +7 -0
  303. package/dist/webhooks-I7JWU34X.cjs +7 -0
  304. package/dist/webhooks-WPLEHVPX.js +7 -0
  305. package/dist/workflow-3LLURW3H.js +7 -0
  306. package/dist/workflow-RAGQDYXT.cjs +7 -0
  307. package/dist/workflow-definition-B6ELOZUR.cjs +7 -0
  308. package/dist/workflow-definition-D24CRCK2.js +7 -0
  309. package/docs/access-token.md +440 -0
  310. package/docs/address-suggestions.md +256 -0
  311. package/docs/address.md +284 -0
  312. package/docs/ai-agents.md +1891 -0
  313. package/docs/app.md +3388 -0
  314. package/docs/audit-logs.md +242 -0
  315. package/docs/automation.md +4044 -0
  316. package/docs/billing.md +783 -0
  317. package/docs/blueprint-manifest.md +3234 -0
  318. package/docs/consent.md +213 -0
  319. package/docs/customer-portal.md +11399 -0
  320. package/docs/dashboard.md +640 -0
  321. package/docs/data-management.md +883 -0
  322. package/docs/deduplication.md +135 -0
  323. package/docs/design.md +1273 -0
  324. package/docs/document.md +590 -0
  325. package/docs/email-settings.md +1544 -0
  326. package/docs/email-template.md +1197 -0
  327. package/docs/entity-mapping.md +2864 -0
  328. package/docs/entity.md +9595 -0
  329. package/docs/environments.md +259 -0
  330. package/docs/erp-integration.md +4572 -0
  331. package/docs/event-catalog.md +835 -0
  332. package/docs/file.md +1453 -0
  333. package/docs/iban.md +61 -0
  334. package/docs/journey.md +2268 -0
  335. package/docs/kanban.md +882 -0
  336. package/docs/message.md +2122 -0
  337. package/docs/metering.md +1431 -0
  338. package/docs/notes.md +670 -0
  339. package/docs/notification.md +1207 -0
  340. package/docs/organization.md +733 -0
  341. package/docs/partner-directory.md +1197 -0
  342. package/docs/permissions.md +1047 -0
  343. package/docs/pricing-tier.md +81 -0
  344. package/docs/pricing.md +5923 -0
  345. package/docs/purpose.md +283 -0
  346. package/docs/sandbox.md +389 -0
  347. package/docs/submission.md +195 -0
  348. package/docs/targeting.md +959 -0
  349. package/docs/template-variables.md +1141 -0
  350. package/docs/user.md +2555 -0
  351. package/docs/validation-rules.md +1597 -0
  352. package/docs/webhooks.md +996 -0
  353. package/docs/workflow-definition.md +3842 -0
  354. package/docs/workflow.md +4465 -0
  355. package/package.json +3 -2
  356. package/dist/chunk-GMBRXWMD.cjs +0 -14
  357. package/dist/chunk-L43U5IO3.js +0 -14
  358. package/dist/chunk-XE25WERA.js +0 -125
  359. package/dist/chunk-XEQMAKGA.cjs +0 -125
@@ -0,0 +1,996 @@
1
+ # Webhooks
2
+
3
+ - **Base URL:** `https://webhooks.sls.epilot.io`
4
+ - **Full API Docs:** [https://docs.epilot.io/api/webhooks](https://docs.epilot.io/api/webhooks)
5
+
6
+ ## Usage
7
+
8
+ ```ts
9
+ import { epilot } from '@epilot/sdk'
10
+
11
+ epilot.authorize(() => '<token>')
12
+ const { data } = await epilot.webhooks.getPublicKey(...)
13
+ ```
14
+
15
+ ### Tree-shakeable import
16
+
17
+ ```ts
18
+ import { getClient, authorize } from '@epilot/sdk/webhooks'
19
+
20
+ const webhooksClient = getClient()
21
+ authorize(webhooksClient, () => '<token>')
22
+ const { data } = await webhooksClient.getPublicKey(...)
23
+ ```
24
+
25
+ ## Operations
26
+
27
+ **webhooks**
28
+ - [`getPublicKey`](#getpublickey)
29
+ - [`getConfiguredEvents`](#getconfiguredevents)
30
+ - [`getConfigs`](#getconfigs)
31
+ - [`createConfig`](#createconfig)
32
+ - [`getConfig`](#getconfig)
33
+ - [`updateConfig`](#updateconfig)
34
+ - [`deleteConfig`](#deleteconfig)
35
+ - [`triggerWebhook`](#triggerwebhook)
36
+ - [`batchReplayEvents`](#batchreplayevents)
37
+ - [`getEventById`](#geteventbyid)
38
+ - [`replayEvent`](#replayevent)
39
+ - [`getWebhookExample`](#getwebhookexample)
40
+
41
+ **Events**
42
+ - [`getWebhookEventsV2`](#getwebhookeventsv2)
43
+
44
+ **Schemas**
45
+ - [`PublicKeyResponse`](#publickeyresponse)
46
+ - [`SearchOptions`](#searchoptions)
47
+ - [`EventListResponse`](#eventlistresponse)
48
+ - [`HttpMethod`](#httpmethod)
49
+ - [`AuthType`](#authtype)
50
+ - [`Filter`](#filter)
51
+ - [`Auth`](#auth)
52
+ - [`BasicAuthConfig`](#basicauthconfig)
53
+ - [`OAuthConfig`](#oauthconfig)
54
+ - [`ApiKeyConfig`](#apikeyconfig)
55
+ - [`WebhookConfig`](#webhookconfig)
56
+ - [`EventConfigResp`](#eventconfigresp)
57
+ - [`EventConfigEntry`](#eventconfigentry)
58
+ - [`ErrorResp`](#errorresp)
59
+ - [`TriggerWebhookResp`](#triggerwebhookresp)
60
+ - [`PayloadConfiguration`](#payloadconfiguration)
61
+ - [`CustomHeader`](#customheader)
62
+ - [`CustomOAuthParameter`](#customoauthparameter)
63
+ - [`Metadata`](#metadata)
64
+ - [`ExecutionPayload`](#executionpayload)
65
+ - [`WebhookEvent`](#webhookevent)
66
+ - [`ExampleRequest`](#examplerequest)
67
+ - [`ExampleResponse`](#exampleresponse)
68
+ - [`BatchReplayRequest`](#batchreplayrequest)
69
+
70
+ ### `getPublicKey`
71
+
72
+ Returns the platform-level Ed25519 public key used to verify
73
+ asymmetric (v1a) webhook signatures. This endpoint is unauthenticated since the public key is not a secret, but the orgId parameter is requ
74
+
75
+ `GET /v1/webhooks/.well-known/public-key`
76
+
77
+ ```ts
78
+ const { data } = await client.getPublicKey({
79
+ orgId: 'example',
80
+ })
81
+ ```
82
+
83
+ <details>
84
+ <summary>Response</summary>
85
+
86
+ ```json
87
+ {
88
+ "public_key": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA...\n-----END PUBLIC KEY-----\n",
89
+ "algorithm": "ed25519",
90
+ "issuer": "epilot"
91
+ }
92
+ ```
93
+
94
+ </details>
95
+
96
+ ---
97
+
98
+ ### `getConfiguredEvents`
99
+
100
+ Retrieve events that can trigger webhooks
101
+
102
+ `GET /v1/webhooks/configured-events`
103
+
104
+ ```ts
105
+ const { data } = await client.getConfiguredEvents()
106
+ ```
107
+
108
+ <details>
109
+ <summary>Response</summary>
110
+
111
+ ```json
112
+ [
113
+ {
114
+ "eventName": "customer_request_created",
115
+ "eventLabel": "Customer Request Created"
116
+ }
117
+ ]
118
+ ```
119
+
120
+ </details>
121
+
122
+ ---
123
+
124
+ ### `getConfigs`
125
+
126
+ Search Webhook Client Configs
127
+
128
+ `GET /v1/webhooks/configs`
129
+
130
+ ```ts
131
+ const { data } = await client.getConfigs({
132
+ eventName: 'example',
133
+ })
134
+ ```
135
+
136
+ <details>
137
+ <summary>Response</summary>
138
+
139
+ ```json
140
+ [
141
+ {
142
+ "eventName": "CustomerRequest_Created",
143
+ "url": "https://my-partner-service.api.com",
144
+ "httpMethod": "POST",
145
+ "enabled": true,
146
+ "auth": {
147
+ "authType": "BASIC",
148
+ "basicAuthConfig": {
149
+ "username": "secretUsername",
150
+ "password": "secret7825@!"
151
+ }
152
+ },
153
+ "filter": {
154
+ "keyToFilter": "customer_request.productId",
155
+ "supportedValues": ["2324245", "5253642"]
156
+ }
157
+ }
158
+ ]
159
+ ```
160
+
161
+ </details>
162
+
163
+ ---
164
+
165
+ ### `createConfig`
166
+
167
+ Create Webhook Client Config
168
+
169
+ `POST /v1/webhooks/configs`
170
+
171
+ ```ts
172
+ const { data } = await client.createConfig(
173
+ null,
174
+ {
175
+ eventName: 'CustomerRequest_Created',
176
+ url: 'https://my-partner-service.api.com',
177
+ httpMethod: 'POST',
178
+ enabled: true,
179
+ auth: {
180
+ authType: 'BASIC',
181
+ basicAuthConfig: {
182
+ username: 'secretUsername',
183
+ password: 'secret7825@!'
184
+ }
185
+ },
186
+ filter: {
187
+ keyToFilter: 'customer_request.productId',
188
+ supportedValues: ['2324245', '5253642']
189
+ }
190
+ },
191
+ )
192
+ ```
193
+
194
+ <details>
195
+ <summary>Response</summary>
196
+
197
+ ```json
198
+ {
199
+ "eventName": "CustomerRequest_Created",
200
+ "url": "https://my-partner-service.api.com",
201
+ "httpMethod": "POST",
202
+ "enabled": true,
203
+ "auth": {
204
+ "authType": "BASIC",
205
+ "basicAuthConfig": {
206
+ "username": "secretUsername",
207
+ "password": "secret7825@!"
208
+ }
209
+ },
210
+ "filter": {
211
+ "keyToFilter": "customer_request.productId",
212
+ "supportedValues": ["2324245", "5253642"]
213
+ }
214
+ }
215
+ ```
216
+
217
+ </details>
218
+
219
+ ---
220
+
221
+ ### `getConfig`
222
+
223
+ Get webhook config by id
224
+
225
+ `GET /v1/webhooks/configs/{configId}`
226
+
227
+ ```ts
228
+ const { data } = await client.getConfig({
229
+ configId: 'example',
230
+ })
231
+ ```
232
+
233
+ <details>
234
+ <summary>Response</summary>
235
+
236
+ ```json
237
+ {
238
+ "eventName": "CustomerRequest_Created",
239
+ "url": "https://my-partner-service.api.com",
240
+ "httpMethod": "POST",
241
+ "enabled": true,
242
+ "auth": {
243
+ "authType": "BASIC",
244
+ "basicAuthConfig": {
245
+ "username": "secretUsername",
246
+ "password": "secret7825@!"
247
+ }
248
+ },
249
+ "filter": {
250
+ "keyToFilter": "customer_request.productId",
251
+ "supportedValues": ["2324245", "5253642"]
252
+ }
253
+ }
254
+ ```
255
+
256
+ </details>
257
+
258
+ ---
259
+
260
+ ### `updateConfig`
261
+
262
+ Update Webhook Client Config
263
+
264
+ `PUT /v1/webhooks/configs/{configId}`
265
+
266
+ ```ts
267
+ const { data } = await client.updateConfig(
268
+ {
269
+ configId: 'example',
270
+ },
271
+ {
272
+ eventName: 'CustomerRequest_Created',
273
+ url: 'https://my-partner-service.api.com',
274
+ httpMethod: 'POST',
275
+ enabled: true,
276
+ auth: {
277
+ authType: 'BASIC',
278
+ basicAuthConfig: {
279
+ username: 'secretUsername',
280
+ password: 'secret7825@!'
281
+ }
282
+ },
283
+ filter: {
284
+ keyToFilter: 'customer_request.productId',
285
+ supportedValues: ['2324245', '5253642']
286
+ }
287
+ },
288
+ )
289
+ ```
290
+
291
+ <details>
292
+ <summary>Response</summary>
293
+
294
+ ```json
295
+ {
296
+ "eventName": "CustomerRequest_Created",
297
+ "url": "https://my-partner-service.api.com",
298
+ "httpMethod": "POST",
299
+ "enabled": true,
300
+ "auth": {
301
+ "authType": "BASIC",
302
+ "basicAuthConfig": {
303
+ "username": "secretUsername",
304
+ "password": "secret7825@!"
305
+ }
306
+ },
307
+ "filter": {
308
+ "keyToFilter": "customer_request.productId",
309
+ "supportedValues": ["2324245", "5253642"]
310
+ }
311
+ }
312
+ ```
313
+
314
+ </details>
315
+
316
+ ---
317
+
318
+ ### `deleteConfig`
319
+
320
+ Delete Webhook Client Config
321
+
322
+ `DELETE /v1/webhooks/configs/{configId}`
323
+
324
+ ```ts
325
+ const { data } = await client.deleteConfig({
326
+ configId: 'example',
327
+ })
328
+ ```
329
+
330
+ ---
331
+
332
+ ### `triggerWebhook`
333
+
334
+ triggers a webhook event either async or sync
335
+
336
+ `POST /v1/webhooks/configs/{configId}/trigger`
337
+
338
+ ```ts
339
+ const { data } = await client.triggerWebhook(
340
+ {
341
+ sync: true,
342
+ configId: 'example',
343
+ },
344
+ {
345
+ metadata: {
346
+ action: 'Manual triggered by user with id 123456',
347
+ origin: 'string',
348
+ creation_timestamp: 'string',
349
+ webhook_id: 'string',
350
+ webhook_name: 'string',
351
+ automation_name: 'string',
352
+ organization_id: 'string',
353
+ user_id: 'string',
354
+ correlation_id: 'string',
355
+ execution_id: 'string',
356
+ action_id: 'string'
357
+ }
358
+ },
359
+ )
360
+ ```
361
+
362
+ <details>
363
+ <summary>Response</summary>
364
+
365
+ ```json
366
+ {
367
+ "status_code": "string",
368
+ "message": "string",
369
+ "body": {},
370
+ "code": "string",
371
+ "status": "succeeded",
372
+ "start_date": "string",
373
+ "end_date": "string",
374
+ "event_id": "string"
375
+ }
376
+ ```
377
+
378
+ </details>
379
+
380
+ ---
381
+
382
+ ### `batchReplayEvents`
383
+
384
+ Replay a batch of webhook events
385
+
386
+ `POST /v1/webhooks/configs/{configId}/events/replay-batch`
387
+
388
+ ```ts
389
+ const { data } = await client.batchReplayEvents(
390
+ {
391
+ configId: 'example',
392
+ },
393
+ {
394
+ eventIds: ['2f1b7cf8-ff55-4359-966f-e56f39a52c94', '48c984bf-466b-470b-b743-d07cea168243']
395
+ },
396
+ )
397
+ ```
398
+
399
+ ---
400
+
401
+ ### `getEventById`
402
+
403
+ Get a webhook event by its id
404
+
405
+ `GET /v1/webhooks/configs/{configId}/events/{eventId}`
406
+
407
+ ```ts
408
+ const { data } = await client.getEventById({
409
+ configId: 'example',
410
+ eventId: 'example',
411
+ })
412
+ ```
413
+
414
+ <details>
415
+ <summary>Response</summary>
416
+
417
+ ```json
418
+ {
419
+ "event_id": "string",
420
+ "org_id": "string",
421
+ "webhook_config_id": "string",
422
+ "url": "string",
423
+ "created_at": "2021-04-27T12:01:13.000Z",
424
+ "event_name": "string",
425
+ "http_response": {
426
+ "status_code": 0,
427
+ "message": "string",
428
+ "body": {},
429
+ "code": "string"
430
+ },
431
+ "metadata": {
432
+ "action": "Manual triggered by user with id 123456",
433
+ "origin": "string",
434
+ "creation_timestamp": "string",
435
+ "webhook_id": "string",
436
+ "webhook_name": "string",
437
+ "automation_name": "string",
438
+ "organization_id": "string",
439
+ "user_id": "string",
440
+ "correlation_id": "string",
441
+ "execution_id": "string",
442
+ "action_id": "string"
443
+ },
444
+ "status": "succeeded",
445
+ "http_method": "GET",
446
+ "payload": "string"
447
+ }
448
+ ```
449
+
450
+ </details>
451
+
452
+ ---
453
+
454
+ ### `replayEvent`
455
+
456
+ Replay a webhook event
457
+
458
+ `POST /v1/webhooks/configs/{configId}/events/{eventId}/replay`
459
+
460
+ ```ts
461
+ const { data } = await client.replayEvent({
462
+ configId: 'example',
463
+ eventId: 'example',
464
+ })
465
+ ```
466
+
467
+ ---
468
+
469
+ ### `getWebhookExample`
470
+
471
+ Generate an example payload for a webhook configuration based on trigger type
472
+
473
+ `POST /v1/webhooks/configs/{configId}/example`
474
+
475
+ ```ts
476
+ const { data } = await client.getWebhookExample(
477
+ {
478
+ configId: 'example',
479
+ },
480
+ {
481
+ automation_id: 'automation_123'
482
+ },
483
+ )
484
+ ```
485
+
486
+ <details>
487
+ <summary>Response</summary>
488
+
489
+ ```json
490
+ {
491
+ "metadata": {
492
+ "action": "Manual triggered by user with id 123456",
493
+ "origin": "string",
494
+ "creation_timestamp": "string",
495
+ "webhook_id": "string",
496
+ "webhook_name": "string",
497
+ "automation_name": "string",
498
+ "organization_id": "string",
499
+ "user_id": "string",
500
+ "correlation_id": "string",
501
+ "execution_id": "string",
502
+ "action_id": "string"
503
+ },
504
+ "entity": {},
505
+ "relations": [
506
+ {}
507
+ ]
508
+ }
509
+ ```
510
+
511
+ </details>
512
+
513
+ ---
514
+
515
+ ### `getWebhookEventsV2`
516
+
517
+ List webhook events and filter them by status, timestamp, etc.
518
+
519
+ `POST /v2/webhooks/configs/{configId}/events`
520
+
521
+ ```ts
522
+ const { data } = await client.getWebhookEventsV2(
523
+ {
524
+ configId: 'example',
525
+ },
526
+ {
527
+ limit: 25,
528
+ cursor: {
529
+ created_at: '2025-10-31T12:34:56Z',
530
+ event_id: 'evt_1234567890abcdef'
531
+ },
532
+ timestamp: {
533
+ from: '2025-10-01T00:00:00Z',
534
+ to: '2025-10-31T23:59:59Z'
535
+ },
536
+ event_id: 'evt_1234567890abcdef',
537
+ status: 'succeeded'
538
+ },
539
+ )
540
+ ```
541
+
542
+ <details>
543
+ <summary>Response</summary>
544
+
545
+ ```json
546
+ {
547
+ "data": [
548
+ {
549
+ "event_id": "string",
550
+ "org_id": "string",
551
+ "webhook_config_id": "string",
552
+ "url": "string",
553
+ "created_at": "2021-04-27T12:01:13.000Z",
554
+ "event_name": "string",
555
+ "http_response": {
556
+ "status_code": 0,
557
+ "message": "string",
558
+ "body": {},
559
+ "code": "string"
560
+ },
561
+ "metadata": {
562
+ "action": "Manual triggered by user with id 123456",
563
+ "origin": "string",
564
+ "creation_timestamp": "string",
565
+ "webhook_id": "string",
566
+ "webhook_name": "string",
567
+ "automation_name": "string",
568
+ "organization_id": "string",
569
+ "user_id": "string",
570
+ "correlation_id": "string",
571
+ "execution_id": "string",
572
+ "action_id": "string"
573
+ },
574
+ "status": "succeeded",
575
+ "http_method": "GET",
576
+ "payload": "string"
577
+ }
578
+ ],
579
+ "next_cursor": {
580
+ "created_at": "2025-10-31T12:34:56Z",
581
+ "event_id": "evt_1234567890abcdef"
582
+ },
583
+ "has_more": true
584
+ }
585
+ ```
586
+
587
+ </details>
588
+
589
+ ---
590
+
591
+ ## Schemas
592
+
593
+ ### `PublicKeyResponse`
594
+
595
+ ```ts
596
+ type PublicKeyResponse = {
597
+ public_key: string
598
+ algorithm: string
599
+ issuer?: string
600
+ }
601
+ ```
602
+
603
+ ### `SearchOptions`
604
+
605
+ ```ts
606
+ type SearchOptions = {
607
+ limit?: number
608
+ cursor?: {
609
+ created_at?: string // date-time
610
+ event_id?: string
611
+ }
612
+ timestamp?: {
613
+ from?: string // date-time
614
+ to?: string // date-time
615
+ }
616
+ event_id?: string
617
+ status?: "succeeded" | "failed"
618
+ }
619
+ ```
620
+
621
+ ### `EventListResponse`
622
+
623
+ ```ts
624
+ type EventListResponse = {
625
+ data?: Array<{
626
+ event_id: string
627
+ org_id: string
628
+ webhook_config_id: string
629
+ url?: string
630
+ created_at?: string
631
+ event_name?: string
632
+ http_response?: {
633
+ status_code?: { ... }
634
+ message?: { ... }
635
+ body?: { ... }
636
+ code?: { ... }
637
+ }
638
+ metadata?: {
639
+ action?: { ... }
640
+ origin?: { ... }
641
+ creation_timestamp?: { ... }
642
+ webhook_id?: { ... }
643
+ webhook_name?: { ... }
644
+ automation_name?: { ... }
645
+ organization_id: { ... }
646
+ user_id?: { ... }
647
+ correlation_id?: { ... }
648
+ execution_id?: { ... }
649
+ action_id?: { ... }
650
+ }
651
+ status?: "succeeded" | "failed" | "in_progress"
652
+ http_method?: "GET" | "POST" | "PUT"
653
+ payload?: string
654
+ }>
655
+ next_cursor?: {
656
+ created_at?: string // date-time
657
+ event_id?: string
658
+ }
659
+ has_more?: boolean
660
+ }
661
+ ```
662
+
663
+ ### `HttpMethod`
664
+
665
+ ```ts
666
+ type HttpMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD"
667
+ ```
668
+
669
+ ### `AuthType`
670
+
671
+ ```ts
672
+ type AuthType = "BASIC" | "OAUTH_CLIENT_CREDENTIALS" | "API_KEY" | "NONE"
673
+ ```
674
+
675
+ ### `Filter`
676
+
677
+ ```ts
678
+ type Filter = {
679
+ keyToFilter: string
680
+ supportedValues: string[]
681
+ }
682
+ ```
683
+
684
+ ### `Auth`
685
+
686
+ ```ts
687
+ type Auth = {
688
+ authType: "BASIC" | "OAUTH_CLIENT_CREDENTIALS" | "API_KEY" | "NONE"
689
+ basicAuthConfig?: {
690
+ username: string
691
+ password?: string
692
+ passwordIsEnvVar?: boolean
693
+ }
694
+ oauthConfig?: {
695
+ clientId: string
696
+ clientSecret?: string
697
+ clientSecretIsEnvVar?: boolean
698
+ endpoint: string
699
+ httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD"
700
+ customParameterList?: Array<{
701
+ type: { ... }
702
+ key: { ... }
703
+ value: { ... }
704
+ }>
705
+ }
706
+ apiKeyConfig?: {
707
+ keyName: string
708
+ keyValue?: string
709
+ keyValueIsEnvVar?: boolean
710
+ }
711
+ }
712
+ ```
713
+
714
+ ### `BasicAuthConfig`
715
+
716
+ To be sent only if authType is BASIC
717
+
718
+ ```ts
719
+ type BasicAuthConfig = {
720
+ username: string
721
+ password?: string
722
+ passwordIsEnvVar?: boolean
723
+ }
724
+ ```
725
+
726
+ ### `OAuthConfig`
727
+
728
+ To be sent only if authType is OAUTH_CLIENT_CREDENTIALS
729
+
730
+ ```ts
731
+ type OAuthConfig = {
732
+ clientId: string
733
+ clientSecret?: string
734
+ clientSecretIsEnvVar?: boolean
735
+ endpoint: string
736
+ httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD"
737
+ customParameterList?: Array<{
738
+ type: "body" | "query" | "header"
739
+ key: string
740
+ value: string
741
+ }>
742
+ }
743
+ ```
744
+
745
+ ### `ApiKeyConfig`
746
+
747
+ To be sent only if authType is API_KEY
748
+
749
+ ```ts
750
+ type ApiKeyConfig = {
751
+ keyName: string
752
+ keyValue?: string
753
+ keyValueIsEnvVar?: boolean
754
+ }
755
+ ```
756
+
757
+ ### `WebhookConfig`
758
+
759
+ ```ts
760
+ type WebhookConfig = {
761
+ id?: string
762
+ name: string
763
+ eventName: string
764
+ url?: string
765
+ creationTime?: string
766
+ httpMethod?: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD"
767
+ enabled?: boolean
768
+ auth?: {
769
+ authType: "BASIC" | "OAUTH_CLIENT_CREDENTIALS" | "API_KEY" | "NONE"
770
+ basicAuthConfig?: {
771
+ username: { ... }
772
+ password?: { ... }
773
+ passwordIsEnvVar?: { ... }
774
+ }
775
+ oauthConfig?: {
776
+ clientId: { ... }
777
+ clientSecret?: { ... }
778
+ clientSecretIsEnvVar?: { ... }
779
+ endpoint: { ... }
780
+ httpMethod: { ... }
781
+ customParameterList?: { ... }
782
+ }
783
+ apiKeyConfig?: {
784
+ keyName: { ... }
785
+ keyValue?: { ... }
786
+ keyValueIsEnvVar?: { ... }
787
+ }
788
+ }
789
+ filter?: {
790
+ keyToFilter: string
791
+ supportedValues: string[]
792
+ }
793
+ payloadConfiguration?: {
794
+ hydrate_entity?: boolean
795
+ include_relations?: boolean
796
+ include_activity?: boolean
797
+ include_changed_attributes?: boolean
798
+ custom_headers?: Record<string, string>
799
+ }
800
+ enableStaticIP?: boolean
801
+ status?: "active" | "inactive" | "incomplete"
802
+ jsonataExpression?: string
803
+ _manifest?: string // uuid[]
804
+ signingSecret?: string
805
+ }
806
+ ```
807
+
808
+ ### `EventConfigResp`
809
+
810
+ ```ts
811
+ type EventConfigResp = Array<{
812
+ eventName?: string
813
+ eventLabel?: string
814
+ }>
815
+ ```
816
+
817
+ ### `EventConfigEntry`
818
+
819
+ ```ts
820
+ type EventConfigEntry = {
821
+ eventName?: string
822
+ eventLabel?: string
823
+ }
824
+ ```
825
+
826
+ ### `ErrorResp`
827
+
828
+ ```ts
829
+ type ErrorResp = {
830
+ message?: string
831
+ }
832
+ ```
833
+
834
+ ### `TriggerWebhookResp`
835
+
836
+ ```ts
837
+ type TriggerWebhookResp = {
838
+ status_code?: string
839
+ message?: string
840
+ body?: object
841
+ code?: string
842
+ status?: "succeeded" | "failed"
843
+ start_date?: string
844
+ end_date?: string
845
+ event_id: string
846
+ }
847
+ ```
848
+
849
+ ### `PayloadConfiguration`
850
+
851
+ Configuration for the webhook payload
852
+
853
+ ```ts
854
+ type PayloadConfiguration = {
855
+ hydrate_entity?: boolean
856
+ include_relations?: boolean
857
+ include_activity?: boolean
858
+ include_changed_attributes?: boolean
859
+ custom_headers?: Record<string, string>
860
+ }
861
+ ```
862
+
863
+ ### `CustomHeader`
864
+
865
+ Object representing custom headers as key-value pairs.
866
+
867
+ ```ts
868
+ type CustomHeader = Record<string, string>
869
+ ```
870
+
871
+ ### `CustomOAuthParameter`
872
+
873
+ Custom key/value pair of either type body, query or header
874
+
875
+ ```ts
876
+ type CustomOAuthParameter = {
877
+ type: "body" | "query" | "header"
878
+ key: string
879
+ value: string
880
+ }
881
+ ```
882
+
883
+ ### `Metadata`
884
+
885
+ Contains the metadata about the configured event
886
+
887
+ ```ts
888
+ type Metadata = {
889
+ action?: string
890
+ origin?: string
891
+ creation_timestamp?: string
892
+ webhook_id?: string
893
+ webhook_name?: string
894
+ automation_name?: string
895
+ organization_id: string
896
+ user_id?: string
897
+ correlation_id?: string
898
+ execution_id?: string
899
+ action_id?: string
900
+ }
901
+ ```
902
+
903
+ ### `ExecutionPayload`
904
+
905
+ Payload for triggering a webhook
906
+
907
+ ```ts
908
+ type ExecutionPayload = {
909
+ metadata: {
910
+ action?: string
911
+ origin?: string
912
+ creation_timestamp?: string
913
+ webhook_id?: string
914
+ webhook_name?: string
915
+ automation_name?: string
916
+ organization_id: string
917
+ user_id?: string
918
+ correlation_id?: string
919
+ execution_id?: string
920
+ action_id?: string
921
+ }
922
+ }
923
+ ```
924
+
925
+ ### `WebhookEvent`
926
+
927
+ ```ts
928
+ type WebhookEvent = {
929
+ event_id: string
930
+ org_id: string
931
+ webhook_config_id: string
932
+ url?: string
933
+ created_at?: string
934
+ event_name?: string
935
+ http_response?: {
936
+ status_code?: number
937
+ message?: string
938
+ body?: object
939
+ code?: string
940
+ }
941
+ metadata?: {
942
+ action?: string
943
+ origin?: string
944
+ creation_timestamp?: string
945
+ webhook_id?: string
946
+ webhook_name?: string
947
+ automation_name?: string
948
+ organization_id: string
949
+ user_id?: string
950
+ correlation_id?: string
951
+ execution_id?: string
952
+ action_id?: string
953
+ }
954
+ status?: "succeeded" | "failed" | "in_progress"
955
+ http_method?: "GET" | "POST" | "PUT"
956
+ payload?: string
957
+ }
958
+ ```
959
+
960
+ ### `ExampleRequest`
961
+
962
+ ```ts
963
+ type ExampleRequest = {
964
+ automation_id?: string
965
+ }
966
+ ```
967
+
968
+ ### `ExampleResponse`
969
+
970
+ ```ts
971
+ type ExampleResponse = {
972
+ metadata?: {
973
+ action?: string
974
+ origin?: string
975
+ creation_timestamp?: string
976
+ webhook_id?: string
977
+ webhook_name?: string
978
+ automation_name?: string
979
+ organization_id: string
980
+ user_id?: string
981
+ correlation_id?: string
982
+ execution_id?: string
983
+ action_id?: string
984
+ }
985
+ entity?: Record<string, unknown>
986
+ relations?: Record<string, unknown>[]
987
+ }
988
+ ```
989
+
990
+ ### `BatchReplayRequest`
991
+
992
+ ```ts
993
+ type BatchReplayRequest = {
994
+ eventIds: string[]
995
+ }
996
+ ```