@epilot/sdk 2.1.0-rc.0 → 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 (357) 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 -13
  30. package/dist/apis/access-token.js +7 -10
  31. package/dist/apis/address-suggestions.cjs +10 -13
  32. package/dist/apis/address-suggestions.js +7 -10
  33. package/dist/apis/address.cjs +10 -13
  34. package/dist/apis/address.js +7 -10
  35. package/dist/apis/ai-agents.cjs +10 -13
  36. package/dist/apis/ai-agents.js +7 -10
  37. package/dist/apis/app.cjs +10 -13
  38. package/dist/apis/app.js +7 -10
  39. package/dist/apis/audit-logs.cjs +10 -13
  40. package/dist/apis/audit-logs.js +7 -10
  41. package/dist/apis/automation.cjs +10 -13
  42. package/dist/apis/automation.js +7 -10
  43. package/dist/apis/billing.cjs +10 -13
  44. package/dist/apis/billing.js +7 -10
  45. package/dist/apis/blueprint-manifest.cjs +10 -13
  46. package/dist/apis/blueprint-manifest.js +7 -10
  47. package/dist/apis/consent.cjs +10 -13
  48. package/dist/apis/consent.js +7 -10
  49. package/dist/apis/customer-portal.cjs +10 -13
  50. package/dist/apis/customer-portal.js +7 -10
  51. package/dist/apis/dashboard.cjs +10 -13
  52. package/dist/apis/dashboard.js +7 -10
  53. package/dist/apis/data-management.cjs +10 -13
  54. package/dist/apis/data-management.js +7 -10
  55. package/dist/apis/deduplication.cjs +10 -13
  56. package/dist/apis/deduplication.js +7 -10
  57. package/dist/apis/design.cjs +10 -13
  58. package/dist/apis/design.js +7 -10
  59. package/dist/apis/document.cjs +10 -13
  60. package/dist/apis/document.js +7 -10
  61. package/dist/apis/email-settings.cjs +10 -13
  62. package/dist/apis/email-settings.js +7 -10
  63. package/dist/apis/email-template.cjs +10 -13
  64. package/dist/apis/email-template.js +7 -10
  65. package/dist/apis/entity-mapping.cjs +10 -13
  66. package/dist/apis/entity-mapping.js +7 -10
  67. package/dist/apis/entity.cjs +10 -13
  68. package/dist/apis/entity.js +7 -10
  69. package/dist/apis/environments.cjs +10 -13
  70. package/dist/apis/environments.js +7 -10
  71. package/dist/apis/erp-integration.cjs +10 -13
  72. package/dist/apis/erp-integration.js +7 -10
  73. package/dist/apis/event-catalog.cjs +10 -13
  74. package/dist/apis/event-catalog.js +7 -10
  75. package/dist/apis/file.cjs +10 -13
  76. package/dist/apis/file.js +7 -10
  77. package/dist/apis/iban.cjs +10 -13
  78. package/dist/apis/iban.js +7 -10
  79. package/dist/apis/journey.cjs +10 -13
  80. package/dist/apis/journey.js +7 -10
  81. package/dist/apis/kanban.cjs +10 -13
  82. package/dist/apis/kanban.js +7 -10
  83. package/dist/apis/message.cjs +10 -13
  84. package/dist/apis/message.js +7 -10
  85. package/dist/apis/metering.cjs +10 -13
  86. package/dist/apis/metering.js +7 -10
  87. package/dist/apis/notes.cjs +10 -13
  88. package/dist/apis/notes.js +7 -10
  89. package/dist/apis/notification.cjs +10 -13
  90. package/dist/apis/notification.js +7 -10
  91. package/dist/apis/organization.cjs +10 -13
  92. package/dist/apis/organization.d.cts +2 -2
  93. package/dist/apis/organization.d.ts +2 -2
  94. package/dist/apis/organization.js +7 -10
  95. package/dist/apis/partner-directory.cjs +10 -13
  96. package/dist/apis/partner-directory.js +7 -10
  97. package/dist/apis/permissions.cjs +10 -13
  98. package/dist/apis/permissions.js +7 -10
  99. package/dist/apis/pricing-tier.cjs +10 -13
  100. package/dist/apis/pricing-tier.js +7 -10
  101. package/dist/apis/pricing.cjs +10 -13
  102. package/dist/apis/pricing.js +7 -10
  103. package/dist/apis/purpose.cjs +10 -13
  104. package/dist/apis/purpose.js +7 -10
  105. package/dist/apis/sandbox.cjs +10 -13
  106. package/dist/apis/sandbox.js +7 -10
  107. package/dist/apis/submission.cjs +10 -13
  108. package/dist/apis/submission.js +7 -10
  109. package/dist/apis/targeting.cjs +10 -13
  110. package/dist/apis/targeting.js +7 -10
  111. package/dist/apis/template-variables.cjs +10 -13
  112. package/dist/apis/template-variables.js +7 -10
  113. package/dist/apis/user.cjs +10 -13
  114. package/dist/apis/user.js +7 -10
  115. package/dist/apis/validation-rules.cjs +10 -13
  116. package/dist/apis/validation-rules.js +7 -10
  117. package/dist/apis/webhooks.cjs +10 -13
  118. package/dist/apis/webhooks.js +7 -10
  119. package/dist/apis/workflow-definition.cjs +10 -13
  120. package/dist/apis/workflow-definition.js +7 -10
  121. package/dist/apis/workflow.cjs +10 -13
  122. package/dist/apis/workflow.js +7 -10
  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-2HOJWFQ4.js +14 -0
  134. package/dist/chunk-372VUPHN.js +14 -0
  135. package/dist/chunk-3HJEWWPS.cjs +14 -0
  136. package/dist/chunk-3N67SSL3.js +14 -0
  137. package/dist/chunk-3XEP56SV.cjs +204 -0
  138. package/dist/chunk-3ZZ57K3S.cjs +14 -0
  139. package/dist/chunk-4SWC43JO.cjs +14 -0
  140. package/dist/chunk-4VFQTSJQ.js +14 -0
  141. package/dist/chunk-57QIBYDN.js +14 -0
  142. package/dist/chunk-5SNJAD6F.cjs +14 -0
  143. package/dist/chunk-73H6TVKN.js +14 -0
  144. package/dist/chunk-A6JOROUC.cjs +14 -0
  145. package/dist/chunk-AJKH25H2.cjs +14 -0
  146. package/dist/chunk-ARWMTXJV.cjs +14 -0
  147. package/dist/chunk-B3ZGAG7B.js +14 -0
  148. package/dist/chunk-BH5ZXK4J.cjs +14 -0
  149. package/dist/chunk-BWFXLUK5.cjs +14 -0
  150. package/dist/chunk-C6UTZEHH.js +14 -0
  151. package/dist/chunk-CPKBR34V.js +14 -0
  152. package/dist/chunk-CWSHYFVZ.js +14 -0
  153. package/dist/chunk-DJKSULPK.js +14 -0
  154. package/dist/chunk-DNJ54L2G.js +14 -0
  155. package/dist/chunk-DY2D2IW5.cjs +14 -0
  156. package/dist/chunk-E26ZO7QM.cjs +14 -0
  157. package/dist/chunk-EBCHCYUO.js +14 -0
  158. package/dist/chunk-EPAIOB5U.cjs +14 -0
  159. package/dist/chunk-EQZMT2HF.cjs +14 -0
  160. package/dist/chunk-F376L6PP.cjs +14 -0
  161. package/dist/chunk-F472YLJG.cjs +14 -0
  162. package/dist/chunk-FXOX3X7E.cjs +14 -0
  163. package/dist/chunk-G2REP2VZ.cjs +14 -0
  164. package/dist/chunk-GLO477NZ.js +14 -0
  165. package/dist/chunk-H4VSK4KF.js +14 -0
  166. package/dist/chunk-HPSGM6QP.js +14 -0
  167. package/dist/chunk-HPYHWTTA.cjs +14 -0
  168. package/dist/chunk-IH4CMOML.js +14 -0
  169. package/dist/chunk-IMT3IE5M.cjs +14 -0
  170. package/dist/chunk-IP2WWEOU.js +14 -0
  171. package/dist/chunk-IS2VB342.js +14 -0
  172. package/dist/chunk-ITX53XAZ.js +14 -0
  173. package/dist/chunk-JXBXDTFG.cjs +14 -0
  174. package/dist/chunk-K62XK7KU.js +14 -0
  175. package/dist/chunk-KA3TGFJP.js +14 -0
  176. package/dist/chunk-KBOVBUBM.js +14 -0
  177. package/dist/chunk-KPGC2D6E.js +14 -0
  178. package/dist/chunk-KSXTBGIV.js +14 -0
  179. package/dist/chunk-LCIJ4TJ4.cjs +14 -0
  180. package/dist/chunk-LQOLYXGQ.cjs +14 -0
  181. package/dist/chunk-LSIWCIQV.js +14 -0
  182. package/dist/chunk-MHNSZ4HE.js +14 -0
  183. package/dist/chunk-MKX4CKAB.cjs +14 -0
  184. package/dist/chunk-MRTAFRO7.js +14 -0
  185. package/dist/chunk-MRZ7LGKZ.js +14 -0
  186. package/dist/chunk-MSASBR2Y.js +14 -0
  187. package/dist/chunk-NAWLLC3T.cjs +14 -0
  188. package/dist/chunk-NJK5F5TF.cjs +21 -0
  189. package/dist/chunk-NLSZVGHK.cjs +14 -0
  190. package/dist/chunk-O4LRVGOY.js +14 -0
  191. package/dist/chunk-OG2DMGU6.cjs +14 -0
  192. package/dist/chunk-OGQKJTXF.js +14 -0
  193. package/dist/chunk-PETLAONH.js +14 -0
  194. package/dist/chunk-PVSS2WPM.cjs +14 -0
  195. package/dist/chunk-PXITFTJA.cjs +14 -0
  196. package/dist/chunk-QDVPPRWI.cjs +14 -0
  197. package/dist/chunk-QKERXNJJ.cjs +14 -0
  198. package/dist/chunk-QLML3IP5.cjs +14 -0
  199. package/dist/chunk-QVAJ5JP4.js +14 -0
  200. package/dist/chunk-RD7E4OSJ.cjs +14 -0
  201. package/dist/chunk-RWSA3LXE.cjs +14 -0
  202. package/dist/chunk-RXSS67VI.cjs +14 -0
  203. package/dist/chunk-S3ZNESMC.cjs +14 -0
  204. package/dist/chunk-S7NDMDRX.js +14 -0
  205. package/dist/chunk-SK3VYIZ6.cjs +14 -0
  206. package/dist/chunk-SMGHAG5C.cjs +14 -0
  207. package/dist/chunk-T46LODOF.js +14 -0
  208. package/dist/chunk-TIJWJVKZ.js +14 -0
  209. package/dist/chunk-TLWCYLNA.js +14 -0
  210. package/dist/chunk-TRJLYZHD.js +14 -0
  211. package/dist/chunk-UKKJMCNH.js +14 -0
  212. package/dist/chunk-ULBEEHG4.js +204 -0
  213. package/dist/chunk-VGTUK3QD.cjs +14 -0
  214. package/dist/chunk-VQ7R36AC.js +14 -0
  215. package/dist/chunk-VVQB5W7U.cjs +14 -0
  216. package/dist/chunk-VVVATFGK.cjs +14 -0
  217. package/dist/chunk-WMTYO5OX.cjs +14 -0
  218. package/dist/chunk-WOSSSFXB.js +14 -0
  219. package/dist/chunk-WOXXNKTE.js +14 -0
  220. package/dist/chunk-XKI2OAYV.cjs +14 -0
  221. package/dist/chunk-XR4QF6KQ.cjs +14 -0
  222. package/dist/chunk-XYHTQ523.cjs +14 -0
  223. package/dist/chunk-XZYZLSUO.cjs +14 -0
  224. package/dist/chunk-YPSWSI3M.js +21 -0
  225. package/dist/chunk-YYBIU5BQ.js +14 -0
  226. package/dist/chunk-YZA5WZUS.js +14 -0
  227. package/dist/chunk-Z4LUE424.cjs +14 -0
  228. package/dist/chunk-ZV6XYUXS.js +14 -0
  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 +199 -58
  262. package/dist/index.d.cts +17 -2
  263. package/dist/index.d.ts +17 -2
  264. package/dist/index.js +197 -56
  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-XE25WERA.js +0 -125
  357. package/dist/chunk-XEQMAKGA.cjs +0 -125
package/docs/kanban.md ADDED
@@ -0,0 +1,882 @@
1
+ # Kanban API
2
+
3
+ - **Base URL:** `https://kanban.sls.epilot.io`
4
+ - **Full API Docs:** [https://docs.epilot.io/api/kanban](https://docs.epilot.io/api/kanban)
5
+
6
+ ## Usage
7
+
8
+ ```ts
9
+ import { epilot } from '@epilot/sdk'
10
+
11
+ epilot.authorize(() => '<token>')
12
+ const { data } = await epilot.kanban.createKanbanBoard(...)
13
+ ```
14
+
15
+ ### Tree-shakeable import
16
+
17
+ ```ts
18
+ import { getClient, authorize } from '@epilot/sdk/kanban'
19
+
20
+ const kanbanClient = getClient()
21
+ authorize(kanbanClient, () => '<token>')
22
+ const { data } = await kanbanClient.createKanbanBoard(...)
23
+ ```
24
+
25
+ ## Operations
26
+
27
+ **Kanban**
28
+ - [`createKanbanBoard`](#createkanbanboard)
29
+ - [`getKanbanBoards`](#getkanbanboards)
30
+ - [`getKanbanBoard`](#getkanbanboard)
31
+ - [`updateKanbanBoard`](#updatekanbanboard)
32
+ - [`patchKanbanBoard`](#patchkanbanboard)
33
+ - [`deleteKanbanBoard`](#deletekanbanboard)
34
+ - [`setDefaultKanbanBoard`](#setdefaultkanbanboard)
35
+ - [`clearDefaultKanbanBoard`](#cleardefaultkanbanboard)
36
+
37
+ **Query**
38
+ - [`flowsAutocomplete`](#flowsautocomplete)
39
+ - [`executeFlowsQuery`](#executeflowsquery)
40
+
41
+ **Schemas**
42
+ - [`Error`](#error)
43
+ - [`BoardSummary`](#boardsummary)
44
+ - [`Board`](#board)
45
+ - [`Swimlane`](#swimlane)
46
+ - [`Sorting`](#sorting)
47
+ - [`BoardFilter`](#boardfilter)
48
+ - [`FilterGroup`](#filtergroup)
49
+ - [`FilterOperator`](#filteroperator)
50
+ - [`DynamicDateValue`](#dynamicdatevalue)
51
+ - [`ValueType`](#valuetype)
52
+ - [`FlowsQueryRequest`](#flowsqueryrequest)
53
+ - [`FlowsQueryResult`](#flowsqueryresult)
54
+ - [`FilterItem`](#filteritem)
55
+
56
+ ### `createKanbanBoard`
57
+
58
+ Creates a new Kanban board with the provided configuration.
59
+
60
+ `POST /v1/kanban/board`
61
+
62
+ ```ts
63
+ const { data } = await client.createKanbanBoard(
64
+ null,
65
+ {
66
+ id: 'string',
67
+ title: 'Board 1',
68
+ description: 'Board description',
69
+ created_at: '1970-01-01T00:00:00.000Z',
70
+ updated_at: '1970-01-01T00:00:00.000Z',
71
+ created_by: 'string',
72
+ org_id: 'string',
73
+ updated_by: 'string',
74
+ shared_with: ['string'],
75
+ shared_with_org: true,
76
+ owners: ['string'],
77
+ config: {
78
+ dataset: 'workflow_tasks_overview',
79
+ swimlanes: [
80
+ {
81
+ id: 'string',
82
+ title: 'Swimlane 1',
83
+ position: 1,
84
+ filter: {
85
+ items: [
86
+ {
87
+ key: 'assignee',
88
+ operator: 'EQUALS',
89
+ value: '100020',
90
+ data_type: 'string'
91
+ }
92
+ ],
93
+ combination: 'OR'
94
+ },
95
+ title_chip_variant: 'success'
96
+ }
97
+ ],
98
+ card_config: {
99
+ fields: ['assignee']
100
+ },
101
+ board_filter: {
102
+ items: [
103
+ {
104
+ key: 'assignee',
105
+ operator: 'EQUALS',
106
+ value: '100020',
107
+ data_type: 'string'
108
+ }
109
+ ],
110
+ combination: 'OR'
111
+ },
112
+ sorting: {
113
+ field: 'created_at',
114
+ direction: 'asc'
115
+ },
116
+ search_query: 'task 1'
117
+ }
118
+ },
119
+ )
120
+ ```
121
+
122
+ <details>
123
+ <summary>Response</summary>
124
+
125
+ ```json
126
+ {
127
+ "id": "string",
128
+ "title": "Board 1",
129
+ "description": "Board description",
130
+ "created_at": "1970-01-01T00:00:00.000Z",
131
+ "updated_at": "1970-01-01T00:00:00.000Z",
132
+ "created_by": "string",
133
+ "org_id": "string",
134
+ "updated_by": "string",
135
+ "shared_with": ["string"],
136
+ "shared_with_org": true,
137
+ "owners": ["string"],
138
+ "config": {
139
+ "dataset": "workflow_tasks_overview",
140
+ "swimlanes": [
141
+ {
142
+ "id": "string",
143
+ "title": "Swimlane 1",
144
+ "position": 1,
145
+ "filter": {
146
+ "items": [
147
+ {
148
+ "key": "assignee",
149
+ "operator": "EQUALS",
150
+ "value": "100020",
151
+ "data_type": "string"
152
+ }
153
+ ],
154
+ "combination": "OR"
155
+ },
156
+ "title_chip_variant": "success"
157
+ }
158
+ ],
159
+ "card_config": {
160
+ "fields": ["assignee"]
161
+ },
162
+ "board_filter": {
163
+ "items": [
164
+ {
165
+ "key": "assignee",
166
+ "operator": "EQUALS",
167
+ "value": "100020",
168
+ "data_type": "string"
169
+ }
170
+ ],
171
+ "combination": "OR"
172
+ },
173
+ "sorting": {
174
+ "field": "created_at",
175
+ "direction": "asc"
176
+ },
177
+ "search_query": "task 1"
178
+ }
179
+ }
180
+ ```
181
+
182
+ </details>
183
+
184
+ ---
185
+
186
+ ### `getKanbanBoards`
187
+
188
+ Returns a list of all Kanban boards accessible to the authenticated user.
189
+
190
+ `GET /v1/kanban/boards`
191
+
192
+ ```ts
193
+ const { data } = await client.getKanbanBoards({
194
+ filter: 'example',
195
+ })
196
+ ```
197
+
198
+ <details>
199
+ <summary>Response</summary>
200
+
201
+ ```json
202
+ [
203
+ {
204
+ "id": "string",
205
+ "title": "Board 1",
206
+ "description": "Board description",
207
+ "created_at": "1970-01-01T00:00:00.000Z",
208
+ "updated_at": "1970-01-01T00:00:00.000Z",
209
+ "created_by": "string",
210
+ "org_id": "string",
211
+ "updated_by": "string",
212
+ "shared_with": ["string"],
213
+ "shared_with_org": true,
214
+ "owners": ["string"]
215
+ }
216
+ ]
217
+ ```
218
+
219
+ </details>
220
+
221
+ ---
222
+
223
+ ### `getKanbanBoard`
224
+
225
+ Retrieves a Kanban board by ID, including its full configuration (swimlanes, filters, sorting, card fields).
226
+
227
+ `GET /v1/kanban/board/{boardId}`
228
+
229
+ ```ts
230
+ const { data } = await client.getKanbanBoard({
231
+ boardId: 'example',
232
+ })
233
+ ```
234
+
235
+ <details>
236
+ <summary>Response</summary>
237
+
238
+ ```json
239
+ {
240
+ "id": "string",
241
+ "title": "Board 1",
242
+ "description": "Board description",
243
+ "created_at": "1970-01-01T00:00:00.000Z",
244
+ "updated_at": "1970-01-01T00:00:00.000Z",
245
+ "created_by": "string",
246
+ "org_id": "string",
247
+ "updated_by": "string",
248
+ "shared_with": ["string"],
249
+ "shared_with_org": true,
250
+ "owners": ["string"],
251
+ "config": {
252
+ "dataset": "workflow_tasks_overview",
253
+ "swimlanes": [
254
+ {
255
+ "id": "string",
256
+ "title": "Swimlane 1",
257
+ "position": 1,
258
+ "filter": {
259
+ "items": [
260
+ {
261
+ "key": "assignee",
262
+ "operator": "EQUALS",
263
+ "value": "100020",
264
+ "data_type": "string"
265
+ }
266
+ ],
267
+ "combination": "OR"
268
+ },
269
+ "title_chip_variant": "success"
270
+ }
271
+ ],
272
+ "card_config": {
273
+ "fields": ["assignee"]
274
+ },
275
+ "board_filter": {
276
+ "items": [
277
+ {
278
+ "key": "assignee",
279
+ "operator": "EQUALS",
280
+ "value": "100020",
281
+ "data_type": "string"
282
+ }
283
+ ],
284
+ "combination": "OR"
285
+ },
286
+ "sorting": {
287
+ "field": "created_at",
288
+ "direction": "asc"
289
+ },
290
+ "search_query": "task 1"
291
+ }
292
+ }
293
+ ```
294
+
295
+ </details>
296
+
297
+ ---
298
+
299
+ ### `updateKanbanBoard`
300
+
301
+ Fully replaces the configuration of an existing Kanban board by ID.
302
+
303
+ `PUT /v1/kanban/board/{boardId}`
304
+
305
+ ```ts
306
+ const { data } = await client.updateKanbanBoard(
307
+ {
308
+ boardId: 'example',
309
+ },
310
+ {
311
+ id: 'string',
312
+ title: 'Board 1',
313
+ description: 'Board description',
314
+ created_at: '1970-01-01T00:00:00.000Z',
315
+ updated_at: '1970-01-01T00:00:00.000Z',
316
+ created_by: 'string',
317
+ org_id: 'string',
318
+ updated_by: 'string',
319
+ shared_with: ['string'],
320
+ shared_with_org: true,
321
+ owners: ['string'],
322
+ config: {
323
+ dataset: 'workflow_tasks_overview',
324
+ swimlanes: [
325
+ {
326
+ id: 'string',
327
+ title: 'Swimlane 1',
328
+ position: 1,
329
+ filter: {
330
+ items: [
331
+ {
332
+ key: 'assignee',
333
+ operator: 'EQUALS',
334
+ value: '100020',
335
+ data_type: 'string'
336
+ }
337
+ ],
338
+ combination: 'OR'
339
+ },
340
+ title_chip_variant: 'success'
341
+ }
342
+ ],
343
+ card_config: {
344
+ fields: ['assignee']
345
+ },
346
+ board_filter: {
347
+ items: [
348
+ {
349
+ key: 'assignee',
350
+ operator: 'EQUALS',
351
+ value: '100020',
352
+ data_type: 'string'
353
+ }
354
+ ],
355
+ combination: 'OR'
356
+ },
357
+ sorting: {
358
+ field: 'created_at',
359
+ direction: 'asc'
360
+ },
361
+ search_query: 'task 1'
362
+ }
363
+ },
364
+ )
365
+ ```
366
+
367
+ <details>
368
+ <summary>Response</summary>
369
+
370
+ ```json
371
+ {
372
+ "id": "string",
373
+ "title": "Board 1",
374
+ "description": "Board description",
375
+ "created_at": "1970-01-01T00:00:00.000Z",
376
+ "updated_at": "1970-01-01T00:00:00.000Z",
377
+ "created_by": "string",
378
+ "org_id": "string",
379
+ "updated_by": "string",
380
+ "shared_with": ["string"],
381
+ "shared_with_org": true,
382
+ "owners": ["string"],
383
+ "config": {
384
+ "dataset": "workflow_tasks_overview",
385
+ "swimlanes": [
386
+ {
387
+ "id": "string",
388
+ "title": "Swimlane 1",
389
+ "position": 1,
390
+ "filter": {
391
+ "items": [
392
+ {
393
+ "key": "assignee",
394
+ "operator": "EQUALS",
395
+ "value": "100020",
396
+ "data_type": "string"
397
+ }
398
+ ],
399
+ "combination": "OR"
400
+ },
401
+ "title_chip_variant": "success"
402
+ }
403
+ ],
404
+ "card_config": {
405
+ "fields": ["assignee"]
406
+ },
407
+ "board_filter": {
408
+ "items": [
409
+ {
410
+ "key": "assignee",
411
+ "operator": "EQUALS",
412
+ "value": "100020",
413
+ "data_type": "string"
414
+ }
415
+ ],
416
+ "combination": "OR"
417
+ },
418
+ "sorting": {
419
+ "field": "created_at",
420
+ "direction": "asc"
421
+ },
422
+ "search_query": "task 1"
423
+ }
424
+ }
425
+ ```
426
+
427
+ </details>
428
+
429
+ ---
430
+
431
+ ### `patchKanbanBoard`
432
+
433
+ Partially updates fields of an existing Kanban board by ID.
434
+
435
+ `PATCH /v1/kanban/board/{boardId}`
436
+
437
+ ```ts
438
+ const { data } = await client.patchKanbanBoard(
439
+ {
440
+ boardId: 'example',
441
+ },
442
+ {
443
+ title: 'Board 1',
444
+ description: 'Board description',
445
+ shared_with: ['string'],
446
+ shared_with_org: true,
447
+ owners: ['string']
448
+ },
449
+ )
450
+ ```
451
+
452
+ <details>
453
+ <summary>Response</summary>
454
+
455
+ ```json
456
+ {
457
+ "id": "string",
458
+ "title": "Board 1",
459
+ "description": "Board description",
460
+ "created_at": "1970-01-01T00:00:00.000Z",
461
+ "updated_at": "1970-01-01T00:00:00.000Z",
462
+ "created_by": "string",
463
+ "org_id": "string",
464
+ "updated_by": "string",
465
+ "shared_with": ["string"],
466
+ "shared_with_org": true,
467
+ "owners": ["string"],
468
+ "config": {
469
+ "dataset": "workflow_tasks_overview",
470
+ "swimlanes": [
471
+ {
472
+ "id": "string",
473
+ "title": "Swimlane 1",
474
+ "position": 1,
475
+ "filter": {
476
+ "items": [
477
+ {
478
+ "key": "assignee",
479
+ "operator": "EQUALS",
480
+ "value": "100020",
481
+ "data_type": "string"
482
+ }
483
+ ],
484
+ "combination": "OR"
485
+ },
486
+ "title_chip_variant": "success"
487
+ }
488
+ ],
489
+ "card_config": {
490
+ "fields": ["assignee"]
491
+ },
492
+ "board_filter": {
493
+ "items": [
494
+ {
495
+ "key": "assignee",
496
+ "operator": "EQUALS",
497
+ "value": "100020",
498
+ "data_type": "string"
499
+ }
500
+ ],
501
+ "combination": "OR"
502
+ },
503
+ "sorting": {
504
+ "field": "created_at",
505
+ "direction": "asc"
506
+ },
507
+ "search_query": "task 1"
508
+ }
509
+ }
510
+ ```
511
+
512
+ </details>
513
+
514
+ ---
515
+
516
+ ### `deleteKanbanBoard`
517
+
518
+ Permanently deletes a Kanban board by ID. This action is irreversible.
519
+
520
+ `DELETE /v1/kanban/board/{boardId}`
521
+
522
+ ```ts
523
+ const { data } = await client.deleteKanbanBoard({
524
+ boardId: 'example',
525
+ })
526
+ ```
527
+
528
+ ---
529
+
530
+ ### `setDefaultKanbanBoard`
531
+
532
+ Sets a Kanban board as the default board for the organization.
533
+
534
+ `PUT /v1/kanban/org/default-board`
535
+
536
+ ```ts
537
+ const { data } = await client.setDefaultKanbanBoard({
538
+ boardId: 'example',
539
+ })
540
+ ```
541
+
542
+ <details>
543
+ <summary>Response</summary>
544
+
545
+ ```json
546
+ {
547
+ "message": "string",
548
+ "default_board_id": "string"
549
+ }
550
+ ```
551
+
552
+ </details>
553
+
554
+ ---
555
+
556
+ ### `clearDefaultKanbanBoard`
557
+
558
+ Removes the default board configuration for the organization.
559
+
560
+ `DELETE /v1/kanban/org/default-board`
561
+
562
+ ```ts
563
+ const { data } = await client.clearDefaultKanbanBoard()
564
+ ```
565
+
566
+ <details>
567
+ <summary>Response</summary>
568
+
569
+ ```json
570
+ {
571
+ "message": "string",
572
+ "default_board_id": "string"
573
+ }
574
+ ```
575
+
576
+ </details>
577
+
578
+ ---
579
+
580
+ ### `flowsAutocomplete`
581
+
582
+ Returns autocomplete suggestions for a given attribute in the Flows dataset.
583
+
584
+ `GET /v1/kanban/query/flows:autocomplete`
585
+
586
+ ```ts
587
+ const { data } = await client.flowsAutocomplete({
588
+ input: 'example',
589
+ attribute: 'example',
590
+ size: 1,
591
+ from: 1,
592
+ })
593
+ ```
594
+
595
+ <details>
596
+ <summary>Response</summary>
597
+
598
+ ```json
599
+ {
600
+ "results": ["value"],
601
+ "hits": 42
602
+ }
603
+ ```
604
+
605
+ </details>
606
+
607
+ ---
608
+
609
+ ### `executeFlowsQuery`
610
+
611
+ Executes a query against the Flows dataset and returns paginated results for use in Kanban card rendering.
612
+
613
+ `POST /v1/kanban/query/flows:execute`
614
+
615
+ ```ts
616
+ const { data } = await client.executeFlowsQuery(
617
+ null,
618
+ {
619
+ filters: {
620
+ items: [
621
+ {
622
+ key: 'assignee',
623
+ operator: 'EQUALS',
624
+ value: '100020',
625
+ data_type: 'string'
626
+ }
627
+ ],
628
+ combination: 'OR'
629
+ },
630
+ sorting: {
631
+ field: 'created_at',
632
+ direction: 'asc'
633
+ },
634
+ from: 0,
635
+ size: 10
636
+ },
637
+ )
638
+ ```
639
+
640
+ <details>
641
+ <summary>Response</summary>
642
+
643
+ ```json
644
+ {
645
+ "results": [
646
+ {}
647
+ ],
648
+ "hits": 42,
649
+ "page_number": 1,
650
+ "page_size": 10,
651
+ "total_pages": 5
652
+ }
653
+ ```
654
+
655
+ </details>
656
+
657
+ ---
658
+
659
+ ## Schemas
660
+
661
+ ### `Error`
662
+
663
+ Standard error response
664
+
665
+ ```ts
666
+ type Error = {
667
+ message?: string
668
+ status?: number
669
+ }
670
+ ```
671
+
672
+ ### `BoardSummary`
673
+
674
+ Summary representation of a Kanban board, returned in list responses. Does not include swimlane and filter configuration details.
675
+
676
+ ```ts
677
+ type BoardSummary = {
678
+ id?: string
679
+ title?: string
680
+ description?: string
681
+ created_at?: string // date-time
682
+ updated_at?: string // date-time
683
+ created_by?: string
684
+ org_id?: string
685
+ updated_by?: string
686
+ shared_with?: string[]
687
+ shared_with_org?: boolean
688
+ owners?: string[]
689
+ }
690
+ ```
691
+
692
+ ### `Board`
693
+
694
+ Full representation of a Kanban board, including swimlane layout, filter configuration, card display fields, and sorting options.
695
+
696
+ ```ts
697
+ type Board = {
698
+ id?: string
699
+ title: string
700
+ description?: string
701
+ created_at?: string // date-time
702
+ updated_at?: string // date-time
703
+ created_by?: string
704
+ org_id?: string
705
+ updated_by?: string
706
+ shared_with?: string[]
707
+ shared_with_org?: boolean
708
+ owners?: string[]
709
+ config: {
710
+ dataset?: string
711
+ swimlanes?: Array<{
712
+ id?: { ... }
713
+ title?: { ... }
714
+ position?: { ... }
715
+ filter?: { ... }
716
+ title_chip_variant?: { ... }
717
+ }>
718
+ card_config?: {
719
+ fields?: { ... }
720
+ }
721
+ board_filter?: {
722
+ items: { ... }
723
+ combination: { ... }
724
+ }
725
+ sorting?: {
726
+ field: { ... }
727
+ direction?: { ... }
728
+ }
729
+ search_query?: string
730
+ }
731
+ }
732
+ ```
733
+
734
+ ### `Swimlane`
735
+
736
+ A vertical column in a Kanban board that groups workflow tasks or entities matching its filter criteria. Each swimlane has an independent filter and a display position.
737
+
738
+ ```ts
739
+ type Swimlane = {
740
+ id?: string
741
+ title?: string
742
+ position?: number
743
+ filter?: {
744
+ items: Array<{
745
+ key: { ... }
746
+ operator: { ... }
747
+ value?: { ... }
748
+ data_type?: { ... }
749
+ } | {
750
+ items: { ... }
751
+ combination: { ... }
752
+ }>
753
+ combination: "AND" | "OR"
754
+ }
755
+ title_chip_variant?: string
756
+ }
757
+ ```
758
+
759
+ ### `Sorting`
760
+
761
+ Defines how query results should be sorted. Specify a field name and sort direction.
762
+
763
+ ```ts
764
+ type Sorting = {
765
+ field: string
766
+ direction?: "asc" | "desc"
767
+ }
768
+ ```
769
+
770
+ ### `BoardFilter`
771
+
772
+ A filter group containing one or more filter items or nested filter groups. Items are combined using the specified logical operator (AND/OR).
773
+
774
+ ```ts
775
+ type BoardFilter = {
776
+ items: Array<{
777
+ key: string
778
+ operator: "EQUALS" | "NOT_EQUALS" | "EMPTY" | "NOT_EMPTY" | "CONTAINS" | "NOT_CONTAINS" | "IS_ONE_OF" | "IS_NONE_OF" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL"
779
+ value?: string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean | string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean[]
780
+ data_type?: "string" | "number" | "boolean" | "date"
781
+ } | {
782
+ items: Array<{
783
+ key: { ... }
784
+ operator: { ... }
785
+ value?: { ... }
786
+ data_type?: { ... }
787
+ }>
788
+ combination: "AND" | "OR"
789
+ }>
790
+ combination: "AND" | "OR"
791
+ }
792
+ ```
793
+
794
+ ### `FilterGroup`
795
+
796
+ ```ts
797
+ type FilterGroup = {
798
+ items: Array<{
799
+ key: string
800
+ operator: "EQUALS" | "NOT_EQUALS" | "EMPTY" | "NOT_EMPTY" | "CONTAINS" | "NOT_CONTAINS" | "IS_ONE_OF" | "IS_NONE_OF" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL"
801
+ value?: string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean | string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean[]
802
+ data_type?: "string" | "number" | "boolean" | "date"
803
+ }>
804
+ combination: "AND" | "OR"
805
+ }
806
+ ```
807
+
808
+ ### `FilterOperator`
809
+
810
+ The comparison operator for filtering
811
+
812
+ ```ts
813
+ type FilterOperator = "EQUALS" | "NOT_EQUALS" | "EMPTY" | "NOT_EMPTY" | "CONTAINS" | "NOT_CONTAINS" | "IS_ONE_OF" | "IS_NONE_OF" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL"
814
+ ```
815
+
816
+ ### `DynamicDateValue`
817
+
818
+ Dynamic date keywords that resolve to actual dates at runtime
819
+
820
+ ```ts
821
+ type DynamicDateValue = "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER"
822
+ ```
823
+
824
+ ### `ValueType`
825
+
826
+ The value to compare against - can be a single value (string, number, boolean, or dynamic date) or an array of values
827
+
828
+ ```ts
829
+ type ValueType = string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean | string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean[]
830
+ ```
831
+
832
+ ### `FlowsQueryRequest`
833
+
834
+ Request payload for executing a query against the Flows dataset. Supports filter conditions, sorting, and offset-based pagination.
835
+
836
+ ```ts
837
+ type FlowsQueryRequest = {
838
+ filters?: {
839
+ items: Array<{
840
+ key: { ... }
841
+ operator: { ... }
842
+ value?: { ... }
843
+ data_type?: { ... }
844
+ } | {
845
+ items: { ... }
846
+ combination: { ... }
847
+ }>
848
+ combination: "AND" | "OR"
849
+ }
850
+ sorting?: {
851
+ field: string
852
+ direction?: "asc" | "desc"
853
+ }
854
+ from?: number
855
+ size?: number
856
+ }
857
+ ```
858
+
859
+ ### `FlowsQueryResult`
860
+
861
+ Paginated result set returned from a Flows query. Each item in `results` is a workflow task record with dynamic fields depending on the dataset configuration.
862
+
863
+ ```ts
864
+ type FlowsQueryResult = {
865
+ results?: Record<string, unknown>[]
866
+ hits?: number
867
+ page_number?: number
868
+ page_size?: number
869
+ total_pages?: number
870
+ }
871
+ ```
872
+
873
+ ### `FilterItem`
874
+
875
+ ```ts
876
+ type FilterItem = {
877
+ key: string
878
+ operator: "EQUALS" | "NOT_EQUALS" | "EMPTY" | "NOT_EMPTY" | "CONTAINS" | "NOT_CONTAINS" | "IS_ONE_OF" | "IS_NONE_OF" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL"
879
+ value?: string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean | string | "TODAY" | "TOMORROW" | "YESTERDAY" | "IN_THE_FUTURE" | "IN_THE_PAST" | "THIS_WEEK" | "NEXT_WEEK" | "LAST_WEEK" | "THIS_MONTH" | "NEXT_MONTH" | "LAST_MONTH" | "TODAY_OR_EARLIER" | number | boolean[]
880
+ data_type?: "string" | "number" | "boolean" | "date"
881
+ }
882
+ ```