@epilot/sdk 2.2.7 → 2.3.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 (386) hide show
  1. package/README.md +3 -2
  2. package/dist/{README-JUWX7KNV.js → README-7R2JR652.js} +1 -1
  3. package/dist/{README-6OOYWQYJ.cjs → README-Z5AKTGJA.cjs} +1 -1
  4. package/dist/{_index-NWNYWBIF.js → _index-CLT2KTVS.js} +9 -6
  5. package/dist/{_index-ONGE545F.cjs → _index-O7JDGRSE.cjs} +8 -5
  6. package/dist/apis/access-token.cjs +6 -6
  7. package/dist/apis/access-token.js +1 -1
  8. package/dist/apis/address-suggestions.cjs +6 -6
  9. package/dist/apis/address-suggestions.js +1 -1
  10. package/dist/apis/address.cjs +6 -6
  11. package/dist/apis/address.js +1 -1
  12. package/dist/apis/ai-agents.cjs +6 -6
  13. package/dist/apis/ai-agents.js +1 -1
  14. package/dist/apis/app.cjs +6 -6
  15. package/dist/apis/app.js +1 -1
  16. package/dist/apis/audit-logs.cjs +6 -6
  17. package/dist/apis/audit-logs.js +1 -1
  18. package/dist/apis/automation.cjs +8 -8
  19. package/dist/apis/automation.d.cts +2 -2
  20. package/dist/apis/automation.d.ts +2 -2
  21. package/dist/apis/automation.js +2 -2
  22. package/dist/apis/billing.cjs +6 -6
  23. package/dist/apis/billing.js +1 -1
  24. package/dist/apis/blueprint-manifest.cjs +8 -8
  25. package/dist/apis/blueprint-manifest.d.cts +2 -2
  26. package/dist/apis/blueprint-manifest.d.ts +2 -2
  27. package/dist/apis/blueprint-manifest.js +2 -2
  28. package/dist/apis/consent.cjs +6 -6
  29. package/dist/apis/consent.js +1 -1
  30. package/dist/apis/customer-portal.cjs +6 -6
  31. package/dist/apis/customer-portal.js +1 -1
  32. package/dist/apis/dashboard.cjs +6 -6
  33. package/dist/apis/dashboard.js +1 -1
  34. package/dist/apis/data-governance.cjs +38 -0
  35. package/dist/apis/{data-management.d.cts → data-governance.d.cts} +5 -5
  36. package/dist/apis/{data-management.d.ts → data-governance.d.ts} +5 -5
  37. package/dist/apis/{data-management.js → data-governance.js} +10 -10
  38. package/dist/apis/deduplication.cjs +8 -8
  39. package/dist/apis/deduplication.d.cts +2 -2
  40. package/dist/apis/deduplication.d.ts +2 -2
  41. package/dist/apis/deduplication.js +2 -2
  42. package/dist/apis/design.cjs +8 -8
  43. package/dist/apis/design.d.cts +2 -2
  44. package/dist/apis/design.d.ts +2 -2
  45. package/dist/apis/design.js +2 -2
  46. package/dist/apis/document.cjs +6 -6
  47. package/dist/apis/document.js +1 -1
  48. package/dist/apis/email-settings.cjs +8 -8
  49. package/dist/apis/email-settings.d.cts +2 -2
  50. package/dist/apis/email-settings.d.ts +2 -2
  51. package/dist/apis/email-settings.js +2 -2
  52. package/dist/apis/email-template.cjs +6 -6
  53. package/dist/apis/email-template.js +1 -1
  54. package/dist/apis/entity-mapping.cjs +6 -6
  55. package/dist/apis/entity-mapping.js +1 -1
  56. package/dist/apis/entity.cjs +6 -6
  57. package/dist/apis/entity.d.cts +2 -2
  58. package/dist/apis/entity.d.ts +2 -2
  59. package/dist/apis/entity.js +1 -1
  60. package/dist/apis/environments.cjs +6 -6
  61. package/dist/apis/environments.js +1 -1
  62. package/dist/apis/erp-integration.cjs +6 -6
  63. package/dist/apis/erp-integration.d.cts +5755 -3
  64. package/dist/apis/erp-integration.d.ts +5755 -3
  65. package/dist/apis/erp-integration.js +1 -1
  66. package/dist/apis/event-catalog.cjs +6 -6
  67. package/dist/apis/event-catalog.js +1 -1
  68. package/dist/apis/file.cjs +6 -6
  69. package/dist/apis/file.js +1 -1
  70. package/dist/apis/iban.cjs +6 -6
  71. package/dist/apis/iban.js +1 -1
  72. package/dist/apis/integration-toolkit.cjs +38 -0
  73. package/dist/apis/integration-toolkit.d.cts +18 -0
  74. package/dist/apis/integration-toolkit.d.ts +18 -0
  75. package/dist/apis/integration-toolkit.js +38 -0
  76. package/dist/apis/journey.cjs +6 -6
  77. package/dist/apis/journey.d.cts +2 -2
  78. package/dist/apis/journey.d.ts +2 -2
  79. package/dist/apis/journey.js +1 -1
  80. package/dist/apis/kanban.cjs +6 -6
  81. package/dist/apis/kanban.js +1 -1
  82. package/dist/apis/message.cjs +8 -8
  83. package/dist/apis/message.d.cts +2 -2
  84. package/dist/apis/message.d.ts +2 -2
  85. package/dist/apis/message.js +2 -2
  86. package/dist/apis/metering.cjs +6 -6
  87. package/dist/apis/metering.js +1 -1
  88. package/dist/apis/notes.cjs +6 -6
  89. package/dist/apis/notes.js +1 -1
  90. package/dist/apis/notification.cjs +6 -6
  91. package/dist/apis/notification.js +1 -1
  92. package/dist/apis/organization.cjs +6 -6
  93. package/dist/apis/organization.js +1 -1
  94. package/dist/apis/partner-directory.cjs +6 -6
  95. package/dist/apis/partner-directory.js +1 -1
  96. package/dist/apis/permissions.cjs +6 -6
  97. package/dist/apis/permissions.js +1 -1
  98. package/dist/apis/pricing-tier.cjs +6 -6
  99. package/dist/apis/pricing-tier.js +1 -1
  100. package/dist/apis/pricing.cjs +6 -6
  101. package/dist/apis/pricing.js +1 -1
  102. package/dist/apis/purpose.cjs +6 -6
  103. package/dist/apis/purpose.js +1 -1
  104. package/dist/apis/sandbox.cjs +6 -6
  105. package/dist/apis/sandbox.js +1 -1
  106. package/dist/apis/sharing.cjs +38 -0
  107. package/dist/apis/sharing.d.cts +18 -0
  108. package/dist/apis/sharing.d.ts +18 -0
  109. package/dist/apis/sharing.js +38 -0
  110. package/dist/apis/submission.cjs +6 -6
  111. package/dist/apis/submission.js +1 -1
  112. package/dist/apis/targeting.cjs +6 -6
  113. package/dist/apis/targeting.js +1 -1
  114. package/dist/apis/template-variables.cjs +6 -6
  115. package/dist/apis/template-variables.d.cts +2 -2
  116. package/dist/apis/template-variables.d.ts +2 -2
  117. package/dist/apis/template-variables.js +1 -1
  118. package/dist/apis/user.cjs +6 -6
  119. package/dist/apis/user.js +1 -1
  120. package/dist/apis/validation-rules.cjs +6 -6
  121. package/dist/apis/validation-rules.js +1 -1
  122. package/dist/apis/webhooks.cjs +6 -6
  123. package/dist/apis/webhooks.js +1 -1
  124. package/dist/apis/workflow-definition.cjs +6 -6
  125. package/dist/apis/workflow-definition.d.cts +2 -2
  126. package/dist/apis/workflow-definition.d.ts +2 -2
  127. package/dist/apis/workflow-definition.js +1 -1
  128. package/dist/apis/workflow.cjs +8 -8
  129. package/dist/apis/workflow.d.cts +2 -2
  130. package/dist/apis/workflow.d.ts +2 -2
  131. package/dist/apis/workflow.js +2 -2
  132. package/dist/automation-GFNNLSIN.js +7 -0
  133. package/dist/automation-IOCVCTKR.cjs +7 -0
  134. package/dist/{automation-runtime-YBGGE5PL.cjs → automation-runtime-DO5QSGJJ.cjs} +2 -2
  135. package/dist/{automation-runtime-L5UKEFLA.js → automation-runtime-VP4M7Z4R.js} +1 -1
  136. package/dist/{automation.d-D7BzN7Gq.d.cts → automation.d-CzhG2m4L.d.cts} +353 -3
  137. package/dist/{automation.d-D7BzN7Gq.d.ts → automation.d-CzhG2m4L.d.ts} +353 -3
  138. package/dist/blueprint-manifest-ELK4SGN7.js +7 -0
  139. package/dist/blueprint-manifest-VBOWPK52.cjs +7 -0
  140. package/dist/{blueprint-manifest-runtime-2RTW5C52.js → blueprint-manifest-runtime-E2FN43TB.js} +1 -1
  141. package/dist/{blueprint-manifest-runtime-AF3FIDVX.cjs → blueprint-manifest-runtime-G4UK5VEX.cjs} +2 -2
  142. package/dist/{blueprint-manifest.d-DECw6HdM.d.ts → blueprint-manifest.d-BGrGU787.d.cts} +712 -22
  143. package/dist/{blueprint-manifest.d-DECw6HdM.d.cts → blueprint-manifest.d-BGrGU787.d.ts} +712 -22
  144. package/dist/chunk-5APJZUIH.cjs +14 -0
  145. package/dist/chunk-5ED7FB3Q.js +14 -0
  146. package/dist/{chunk-BN6EJPDC.js → chunk-6AO46HG5.js} +30 -25
  147. package/dist/{chunk-UNCVJH6J.cjs → chunk-77JS7NDM.cjs} +1 -1
  148. package/dist/{chunk-6UAS2VVG.js → chunk-DLYPVF4U.js} +1 -1
  149. package/dist/chunk-DVM27A7E.cjs +14 -0
  150. package/dist/{chunk-3NLMZLCD.js → chunk-EFWPEVXI.js} +1 -1
  151. package/dist/chunk-EIIIKDOJ.cjs +14 -0
  152. package/dist/{chunk-HAZ3WP7V.cjs → chunk-IAHSYVYB.cjs} +1 -1
  153. package/dist/chunk-JTFWOEZF.cjs +14 -0
  154. package/dist/{chunk-A67W5WAP.cjs → chunk-KEI3GHDY.cjs} +1 -1
  155. package/dist/chunk-KIWRGUKM.js +14 -0
  156. package/dist/{chunk-PSQMDY3B.js → chunk-KQKBSWGI.js} +1 -1
  157. package/dist/{chunk-VUVWHQMP.cjs → chunk-MHXQX7FS.cjs} +30 -25
  158. package/dist/chunk-NPDSA7T2.js +14 -0
  159. package/dist/{chunk-ZI33AJQ5.cjs → chunk-QNZPOA54.cjs} +1 -1
  160. package/dist/chunk-TZQFJ5GX.cjs +14 -0
  161. package/dist/chunk-U4PUHKZC.js +14 -0
  162. package/dist/chunk-VPDA5SAH.js +14 -0
  163. package/dist/chunk-WT26LFC2.js +14 -0
  164. package/dist/{chunk-3YSEO476.js → chunk-X2SC4GW5.js} +1 -1
  165. package/dist/chunk-ZL6KDJFT.cjs +14 -0
  166. package/dist/data-governance-2U5UU4GM.cjs +7 -0
  167. package/dist/data-governance-36Y33JVG.js +7 -0
  168. package/dist/{data-management-W5JQGGGH.js → data-governance-PLS5TJ7Z.js} +3 -3
  169. package/dist/{data-management-XFSRLFYA.cjs → data-governance-ZJ2K4ZWX.cjs} +3 -3
  170. package/dist/data-governance-runtime-LITKCNSG.js +5 -0
  171. package/dist/{data-management-runtime-J5IS7T47.cjs → data-governance-runtime-TDGFG67G.cjs} +2 -2
  172. package/dist/data-governance.d-BbZ466j5.d.cts +1178 -0
  173. package/dist/data-governance.d-BbZ466j5.d.ts +1178 -0
  174. package/dist/deduplication-G2ZY4NMX.js +7 -0
  175. package/dist/deduplication-PKKTZAEA.cjs +7 -0
  176. package/dist/{deduplication-runtime-BBHG7MJW.cjs → deduplication-runtime-5QS6I4S7.cjs} +2 -2
  177. package/dist/{deduplication-runtime-DLGBF4RN.js → deduplication-runtime-VL4R2VIG.js} +1 -1
  178. package/dist/deduplication.d-D5GYddVu.d.cts +218 -0
  179. package/dist/deduplication.d-D5GYddVu.d.ts +218 -0
  180. package/dist/design-NISDHPFD.cjs +7 -0
  181. package/dist/design-WL4AZIGX.js +7 -0
  182. package/dist/design-runtime-OXEXKZVG.cjs +5 -0
  183. package/dist/{design-runtime-3SKJA7QH.js → design-runtime-QMJM4FAF.js} +1 -1
  184. package/dist/{design.d-eA-irKEX.d.cts → design.d-DTo29S0F.d.cts} +142 -15
  185. package/dist/{design.d-eA-irKEX.d.ts → design.d-DTo29S0F.d.ts} +142 -15
  186. package/dist/email-settings-CKFJU4WZ.js +7 -0
  187. package/dist/email-settings-NQJJKS2P.cjs +7 -0
  188. package/dist/{email-settings-runtime-Q2HVKJDS.js → email-settings-runtime-EGIJ2AVQ.js} +1 -1
  189. package/dist/{email-settings-runtime-3NJIAWWI.cjs → email-settings-runtime-WGVLI7N6.cjs} +2 -2
  190. package/dist/{email-settings.d-DUvmLZMN.d.cts → email-settings.d-B7Q_xT25.d.cts} +29 -2
  191. package/dist/{email-settings.d-DUvmLZMN.d.ts → email-settings.d-B7Q_xT25.d.ts} +29 -2
  192. package/dist/entity-CK76MXVN.js +7 -0
  193. package/dist/entity-TFMH5VTZ.cjs +7 -0
  194. package/dist/{entity.d-__Tx1Y0J.d.ts → entity.d-ByufVI16.d.cts} +40 -1
  195. package/dist/{entity.d-__Tx1Y0J.d.cts → entity.d-ByufVI16.d.ts} +40 -1
  196. package/dist/erp-integration-PAVHSUDM.cjs +7 -0
  197. package/dist/erp-integration-SBQJ6HEG.js +7 -0
  198. package/dist/index.cjs +67 -40
  199. package/dist/index.d.cts +36 -34
  200. package/dist/index.d.ts +36 -34
  201. package/dist/index.js +54 -27
  202. package/dist/integration-toolkit-FRPFOYT2.js +7 -0
  203. package/dist/integration-toolkit-VNMDI55O.cjs +7 -0
  204. package/dist/integration-toolkit-runtime-5KG3LGXF.cjs +5 -0
  205. package/dist/integration-toolkit-runtime-LYHFVIRW.js +5 -0
  206. package/dist/{erp-integration.d-B4XPU_j-.d.cts → integration-toolkit.d-Ry-KC9ow.d.cts} +69 -3
  207. package/dist/{erp-integration.d-B4XPU_j-.d.ts → integration-toolkit.d-Ry-KC9ow.d.ts} +69 -3
  208. package/dist/journey-KDR5EU3W.js +7 -0
  209. package/dist/journey-REBN4TGQ.cjs +7 -0
  210. package/dist/{journey.d-BguKXj73.d.cts → journey.d-ClXO0xK8.d.cts} +8 -0
  211. package/dist/{journey.d-BguKXj73.d.ts → journey.d-ClXO0xK8.d.ts} +8 -0
  212. package/dist/message-HCA2KSH6.js +7 -0
  213. package/dist/message-J2SFQJNB.cjs +7 -0
  214. package/dist/{message-runtime-ITR7MPKT.cjs → message-runtime-CGFCT6FU.cjs} +2 -2
  215. package/dist/{message-runtime-YMKW2N3R.js → message-runtime-XDCFFLYK.js} +1 -1
  216. package/dist/{message.d-YEv1kmQd.d.cts → message.d-D3QUkBjg.d.cts} +230 -4
  217. package/dist/{message.d-YEv1kmQd.d.ts → message.d-D3QUkBjg.d.ts} +230 -4
  218. package/dist/sharing-KEWK5LNG.js +976 -0
  219. package/dist/sharing-MNDABPL7.js +7 -0
  220. package/dist/sharing-MR7ANOST.cjs +7 -0
  221. package/dist/sharing-WG4L7LH2.cjs +976 -0
  222. package/dist/sharing-runtime-OZGIZWL3.js +5 -0
  223. package/dist/sharing-runtime-VOFLBIFW.cjs +5 -0
  224. package/dist/sharing.d-sOXq-gtz.d.cts +571 -0
  225. package/dist/sharing.d-sOXq-gtz.d.ts +571 -0
  226. package/dist/{template-variables-VKDJJZUT.js → template-variables-6CLOG67C.js} +13 -0
  227. package/dist/{template-variables-OAYS2E3G.cjs → template-variables-I72B5WS6.cjs} +13 -0
  228. package/dist/{template-variables.d-Ch3H3zYf.d.cts → template-variables.d-Ble9TSBa.d.cts} +8 -2
  229. package/dist/{template-variables.d-Ch3H3zYf.d.ts → template-variables.d-Ble9TSBa.d.ts} +8 -2
  230. package/dist/workflow-CQOBZ25C.cjs +7 -0
  231. package/dist/workflow-G7VFCXY7.js +7 -0
  232. package/dist/workflow-definition-CVBYKAUY.cjs +7 -0
  233. package/dist/workflow-definition-GNAKDNG7.js +7 -0
  234. package/dist/{workflow-definition.d-CtmE-ymB.d.cts → workflow-definition.d-ByCJK9_x.d.cts} +16 -0
  235. package/dist/{workflow-definition.d-CtmE-ymB.d.ts → workflow-definition.d-ByCJK9_x.d.ts} +16 -0
  236. package/dist/{workflow-runtime-RLZO2OQB.js → workflow-runtime-DNTQDYPQ.js} +1 -1
  237. package/dist/{workflow-runtime-WCJ7NRTH.cjs → workflow-runtime-VKFESVFX.cjs} +2 -2
  238. package/dist/{workflow.d-DvhTpEtU.d.cts → workflow.d-pD8ISOg-.d.cts} +73 -1
  239. package/dist/{workflow.d-DvhTpEtU.d.ts → workflow.d-pD8ISOg-.d.ts} +73 -1
  240. package/docs/automation.md +141 -15
  241. package/docs/blueprint-manifest.md +854 -55
  242. package/docs/{data-management.md → data-governance.md} +113 -28
  243. package/docs/deduplication.md +122 -0
  244. package/docs/design.md +140 -82
  245. package/docs/email-settings.md +22 -0
  246. package/docs/entity.md +17 -0
  247. package/docs/erp-integration.md +21 -6
  248. package/docs/integration-toolkit.md +6048 -0
  249. package/docs/journey.md +6 -0
  250. package/docs/message.md +110 -1
  251. package/docs/sharing.md +1181 -0
  252. package/docs/template-variables.md +13 -0
  253. package/docs/workflow-definition.md +28 -14
  254. package/docs/workflow.md +231 -30
  255. package/package.json +29 -17
  256. package/definitions/access-token-runtime.json +0 -1
  257. package/definitions/access-token.json +0 -663
  258. package/definitions/address-runtime.json +0 -1
  259. package/definitions/address-suggestions-runtime.json +0 -1
  260. package/definitions/address-suggestions.json +0 -582
  261. package/definitions/address.json +0 -578
  262. package/definitions/ai-agents-runtime.json +0 -1
  263. package/definitions/ai-agents.json +0 -1711
  264. package/definitions/app-runtime.json +0 -1
  265. package/definitions/app.json +0 -4493
  266. package/definitions/audit-logs-runtime.json +0 -1
  267. package/definitions/audit-logs.json +0 -305
  268. package/definitions/automation-runtime.json +0 -1
  269. package/definitions/automation.json +0 -4819
  270. package/definitions/billing-runtime.json +0 -1
  271. package/definitions/billing.json +0 -837
  272. package/definitions/blueprint-manifest-runtime.json +0 -1
  273. package/definitions/blueprint-manifest.json +0 -3490
  274. package/definitions/consent-runtime.json +0 -1
  275. package/definitions/consent.json +0 -344
  276. package/definitions/customer-portal-runtime.json +0 -1
  277. package/definitions/customer-portal.json +0 -15676
  278. package/definitions/dashboard-runtime.json +0 -1
  279. package/definitions/dashboard.json +0 -484
  280. package/definitions/data-management-runtime.json +0 -1
  281. package/definitions/data-management.json +0 -978
  282. package/definitions/deduplication-runtime.json +0 -1
  283. package/definitions/deduplication.json +0 -183
  284. package/definitions/design-runtime.json +0 -1
  285. package/definitions/design.json +0 -1423
  286. package/definitions/document-runtime.json +0 -1
  287. package/definitions/document.json +0 -758
  288. package/definitions/email-settings-runtime.json +0 -1
  289. package/definitions/email-settings.json +0 -2748
  290. package/definitions/email-template-runtime.json +0 -1
  291. package/definitions/email-template.json +0 -1441
  292. package/definitions/entity-mapping-runtime.json +0 -1
  293. package/definitions/entity-mapping.json +0 -1642
  294. package/definitions/entity-runtime.json +0 -1
  295. package/definitions/entity.json +0 -10432
  296. package/definitions/environments-runtime.json +0 -1
  297. package/definitions/environments.json +0 -363
  298. package/definitions/erp-integration-runtime.json +0 -1
  299. package/definitions/erp-integration.json +0 -7927
  300. package/definitions/event-catalog-runtime.json +0 -1
  301. package/definitions/event-catalog.json +0 -1051
  302. package/definitions/file-runtime.json +0 -1
  303. package/definitions/file.json +0 -2842
  304. package/definitions/iban-runtime.json +0 -1
  305. package/definitions/iban.json +0 -132
  306. package/definitions/journey-runtime.json +0 -1
  307. package/definitions/journey.json +0 -2594
  308. package/definitions/kanban-runtime.json +0 -1
  309. package/definitions/kanban.json +0 -1505
  310. package/definitions/message-runtime.json +0 -1
  311. package/definitions/message.json +0 -2660
  312. package/definitions/metering-runtime.json +0 -1
  313. package/definitions/metering.json +0 -2321
  314. package/definitions/notes-runtime.json +0 -1
  315. package/definitions/notes.json +0 -1531
  316. package/definitions/notification-runtime.json +0 -1
  317. package/definitions/notification.json +0 -1425
  318. package/definitions/organization-runtime.json +0 -1
  319. package/definitions/organization.json +0 -1192
  320. package/definitions/partner-directory-runtime.json +0 -1
  321. package/definitions/partner-directory.json +0 -2284
  322. package/definitions/permissions-runtime.json +0 -1
  323. package/definitions/permissions.json +0 -1515
  324. package/definitions/pricing-runtime.json +0 -1
  325. package/definitions/pricing-tier-runtime.json +0 -1
  326. package/definitions/pricing-tier.json +0 -105
  327. package/definitions/pricing.json +0 -9884
  328. package/definitions/purpose-runtime.json +0 -1
  329. package/definitions/purpose.json +0 -524
  330. package/definitions/sandbox-runtime.json +0 -1
  331. package/definitions/sandbox.json +0 -453
  332. package/definitions/submission-runtime.json +0 -1
  333. package/definitions/submission.json +0 -313
  334. package/definitions/targeting-runtime.json +0 -1
  335. package/definitions/targeting.json +0 -1474
  336. package/definitions/template-variables-runtime.json +0 -1
  337. package/definitions/template-variables.json +0 -1408
  338. package/definitions/user-runtime.json +0 -1
  339. package/definitions/user.json +0 -2408
  340. package/definitions/validation-rules-runtime.json +0 -1
  341. package/definitions/validation-rules.json +0 -1491
  342. package/definitions/webhooks-runtime.json +0 -1
  343. package/definitions/webhooks.json +0 -1634
  344. package/definitions/workflow-definition-runtime.json +0 -1
  345. package/definitions/workflow-definition.json +0 -3288
  346. package/definitions/workflow-runtime.json +0 -1
  347. package/definitions/workflow.json +0 -4146
  348. package/dist/apis/data-management.cjs +0 -38
  349. package/dist/automation-3HGCK725.cjs +0 -7
  350. package/dist/automation-72VGEJCY.js +0 -7
  351. package/dist/blueprint-manifest-CXSCRQ5X.js +0 -7
  352. package/dist/blueprint-manifest-SHNZPK5O.cjs +0 -7
  353. package/dist/chunk-4BCQGZJB.cjs +0 -14
  354. package/dist/chunk-4G6LO3JY.cjs +0 -14
  355. package/dist/chunk-6GC363VV.js +0 -14
  356. package/dist/chunk-75ZWZM3L.js +0 -14
  357. package/dist/chunk-D32L2HMX.cjs +0 -14
  358. package/dist/chunk-O4JDWMYD.js +0 -14
  359. package/dist/chunk-RXMOHUBP.cjs +0 -14
  360. package/dist/chunk-ZKQ573B7.js +0 -14
  361. package/dist/data-management-3N3A3XBM.js +0 -7
  362. package/dist/data-management-YXFLQWLV.cjs +0 -7
  363. package/dist/data-management-runtime-DN7FGK7G.js +0 -5
  364. package/dist/data-management.d-BXS5jbJY.d.cts +0 -547
  365. package/dist/data-management.d-BXS5jbJY.d.ts +0 -547
  366. package/dist/deduplication-ECVAZVVA.cjs +0 -7
  367. package/dist/deduplication-GYIST22B.js +0 -7
  368. package/dist/deduplication.d-w_2aJD5f.d.cts +0 -113
  369. package/dist/deduplication.d-w_2aJD5f.d.ts +0 -113
  370. package/dist/design-KUVXMFFK.cjs +0 -7
  371. package/dist/design-YKBXRW5C.js +0 -7
  372. package/dist/design-runtime-Y3VGTQLP.cjs +0 -5
  373. package/dist/email-settings-EJ3DCPPN.js +0 -7
  374. package/dist/email-settings-TALOPLBC.cjs +0 -7
  375. package/dist/entity-M5F22DSS.cjs +0 -7
  376. package/dist/entity-RT4YRZDG.js +0 -7
  377. package/dist/erp-integration-76K5HOGL.js +0 -7
  378. package/dist/erp-integration-A33WOGPF.cjs +0 -7
  379. package/dist/journey-HKN7QXCZ.cjs +0 -7
  380. package/dist/journey-UBZCOJNW.js +0 -7
  381. package/dist/message-3XZLJR6R.cjs +0 -7
  382. package/dist/message-ZNMCS5YH.js +0 -7
  383. package/dist/workflow-3LLURW3H.js +0 -7
  384. package/dist/workflow-RAGQDYXT.cjs +0 -7
  385. package/dist/workflow-definition-MBOMPMCG.js +0 -7
  386. package/dist/workflow-definition-SPAHD3HS.cjs +0 -7
@@ -1,1531 +0,0 @@
1
- {
2
- "openapi": "3.0.2",
3
- "info": {
4
- "version": "2.3.0",
5
- "title": "Notes API",
6
- "description": "Facade API Backend for Epilot Notes feature"
7
- },
8
- "servers": [
9
- {
10
- "url": "https://notes.sls.epilot.io"
11
- }
12
- ],
13
- "tags": [
14
- {
15
- "name": "Notes"
16
- },
17
- {
18
- "name": "Pinning"
19
- }
20
- ],
21
- "security": [
22
- {
23
- "EpilotAuth": []
24
- }
25
- ],
26
- "paths": {
27
- "/v1/note": {
28
- "post": {
29
- "operationId": "createNote",
30
- "summary": "createNote",
31
- "description": "Creates a new Note entry",
32
- "tags": [
33
- "Notes"
34
- ],
35
- "requestBody": {
36
- "content": {
37
- "application/json": {
38
- "schema": {
39
- "$ref": "#/components/schemas/NotePostRequestBody"
40
- }
41
- }
42
- }
43
- },
44
- "responses": {
45
- "200": {
46
- "description": "Successful response with Note content",
47
- "content": {
48
- "application/json": {
49
- "schema": {
50
- "$ref": "#/components/schemas/NoteEntity"
51
- }
52
- }
53
- }
54
- }
55
- }
56
- }
57
- },
58
- "/v1/note/{id}": {
59
- "get": {
60
- "operationId": "getNote",
61
- "summary": "getNote",
62
- "description": "Retrieves a single Note entry based on it's Entity ID",
63
- "tags": [
64
- "Notes"
65
- ],
66
- "parameters": [
67
- {
68
- "in": "path",
69
- "name": "id",
70
- "description": "The Entity ID of the Note entry to retrieve",
71
- "schema": {
72
- "type": "string",
73
- "description": "The Entity ID of the Note entry to retrieve"
74
- },
75
- "required": true
76
- },
77
- {
78
- "in": "query",
79
- "name": "hydrate",
80
- "description": "Whether to hydrate the Note's relation attributes",
81
- "schema": {
82
- "type": "boolean",
83
- "description": "Whether to hydrate the Note's relation attributes"
84
- }
85
- }
86
- ],
87
- "responses": {
88
- "200": {
89
- "description": "Successful response with Note content",
90
- "content": {
91
- "application/json": {
92
- "schema": {
93
- "$ref": "#/components/schemas/NoteGetRequestResponse"
94
- }
95
- }
96
- }
97
- }
98
- }
99
- },
100
- "patch": {
101
- "operationId": "patchNote",
102
- "summary": "patchNote",
103
- "description": "Updates an existing Note entry",
104
- "tags": [
105
- "Notes"
106
- ],
107
- "parameters": [
108
- {
109
- "in": "path",
110
- "name": "id",
111
- "description": "The Entity ID of the Note entry to update",
112
- "schema": {
113
- "type": "string",
114
- "description": "The Entity ID of the Note entry to update"
115
- },
116
- "required": true
117
- }
118
- ],
119
- "requestBody": {
120
- "content": {
121
- "application/json": {
122
- "schema": {
123
- "$ref": "#/components/schemas/NotePatchRequestBody"
124
- }
125
- }
126
- }
127
- },
128
- "responses": {
129
- "200": {
130
- "description": "Successful response with Note content",
131
- "content": {
132
- "application/json": {
133
- "schema": {
134
- "$ref": "#/components/schemas/NoteEntity"
135
- }
136
- }
137
- }
138
- }
139
- }
140
- },
141
- "put": {
142
- "operationId": "updateNote",
143
- "summary": "updateNote",
144
- "description": "Updates an existing Note entry",
145
- "tags": [
146
- "Notes"
147
- ],
148
- "parameters": [
149
- {
150
- "in": "path",
151
- "name": "id",
152
- "description": "The Entity ID of the Note entry to update",
153
- "schema": {
154
- "type": "string",
155
- "description": "The Entity ID of the Note entry to update"
156
- },
157
- "required": true
158
- }
159
- ],
160
- "requestBody": {
161
- "content": {
162
- "application/json": {
163
- "schema": {
164
- "$ref": "#/components/schemas/NotePutRequestBody"
165
- }
166
- }
167
- }
168
- },
169
- "responses": {
170
- "200": {
171
- "description": "Successful response with Note content",
172
- "content": {
173
- "application/json": {
174
- "schema": {
175
- "$ref": "#/components/schemas/NoteEntity"
176
- }
177
- }
178
- }
179
- }
180
- }
181
- },
182
- "delete": {
183
- "operationId": "deleteNote",
184
- "summary": "deleteNote",
185
- "description": "Deletes a single Note entry based on it's Entity ID",
186
- "tags": [
187
- "Notes"
188
- ],
189
- "parameters": [
190
- {
191
- "in": "path",
192
- "name": "id",
193
- "description": "The Entity ID of the Note entry to delete",
194
- "schema": {
195
- "type": "string",
196
- "description": "The Entity ID of the Note entry to delete"
197
- },
198
- "required": true
199
- }
200
- ],
201
- "responses": {
202
- "200": {
203
- "description": "Successful response with the deleted Note entity"
204
- }
205
- }
206
- }
207
- },
208
- "/v1/notes:search": {
209
- "post": {
210
- "operationId": "searchNotesByContext",
211
- "summary": "searchNotesByContext",
212
- "description": "Search for a paginated list of Notes based on one or more contexts",
213
- "tags": [
214
- "Notes"
215
- ],
216
- "requestBody": {
217
- "content": {
218
- "application/json": {
219
- "schema": {
220
- "$ref": "#/components/schemas/NoteSearchByContextRequestBody"
221
- }
222
- }
223
- }
224
- },
225
- "responses": {
226
- "200": {
227
- "description": "Successful response with Note content",
228
- "content": {
229
- "application/json": {
230
- "schema": {
231
- "$ref": "#/components/schemas/NotesSearchRequestResponse"
232
- }
233
- }
234
- }
235
- }
236
- }
237
- }
238
- },
239
- "/v1/notes/{entity_id}": {
240
- "get": {
241
- "operationId": "getNotesByContext",
242
- "summary": "getNotesByContext",
243
- "deprecated": true,
244
- "description": "Given a `context_type`, returns a list of Notes that belong to that context within the specified `id`. \nThis endpoint is deprecated but will be kept for backwards compatibility. Please use the `searchNotesByContext` endpoint instead.",
245
- "tags": [
246
- "Notes"
247
- ],
248
- "parameters": [
249
- {
250
- "in": "path",
251
- "name": "entity_id",
252
- "description": "The ID of the Contextual Entity from where to retrieve Notes",
253
- "schema": {
254
- "type": "string",
255
- "description": "The ID of the Contextual Entity from where to retrieve Notes"
256
- },
257
- "required": true
258
- },
259
- {
260
- "in": "query",
261
- "name": "contexts",
262
- "schema": {
263
- "type": "array",
264
- "items": {
265
- "type": "object",
266
- "properties": {
267
- "type": {
268
- "$ref": "#/components/schemas/ContextType"
269
- },
270
- "id": {
271
- "type": "string"
272
- }
273
- },
274
- "required": [
275
- "type",
276
- "id"
277
- ]
278
- }
279
- }
280
- },
281
- {
282
- "in": "query",
283
- "name": "from",
284
- "description": "The index of the first Note to return in this query",
285
- "schema": {
286
- "type": "number",
287
- "default": 0,
288
- "description": "The index of the first Note to return in this query"
289
- }
290
- },
291
- {
292
- "in": "query",
293
- "name": "size",
294
- "description": "The number of Note entries to return in this query",
295
- "schema": {
296
- "type": "number",
297
- "default": 10,
298
- "description": "The number of Note entries to return in this query"
299
- }
300
- }
301
- ],
302
- "responses": {
303
- "200": {
304
- "description": "Successful response with Note content",
305
- "content": {
306
- "application/json": {
307
- "schema": {
308
- "$ref": "#/components/schemas/NotesSearchRequestResponse"
309
- }
310
- }
311
- }
312
- }
313
- }
314
- }
315
- },
316
- "/v1/note/{id}/pin": {
317
- "post": {
318
- "operationId": "pinNote",
319
- "summary": "pinNote",
320
- "description": "Pins a single Note entry based on it's Entity ID",
321
- "tags": [
322
- "Pinning"
323
- ],
324
- "parameters": [
325
- {
326
- "in": "path",
327
- "name": "id",
328
- "description": "The Entity ID of the Note entry to pin",
329
- "schema": {
330
- "type": "string",
331
- "description": "The Entity ID of the Note entry to pin"
332
- },
333
- "required": true
334
- }
335
- ],
336
- "responses": {
337
- "200": {
338
- "description": "Successful response with the pinned Note entity"
339
- }
340
- }
341
- }
342
- },
343
- "/v1/note/{id}/context": {
344
- "get": {
345
- "operationId": "getNoteContexts",
346
- "summary": "getNoteContexts",
347
- "description": "Gets all the Entity and non-Entity records the Note is contextually attached to",
348
- "tags": [
349
- "Notes"
350
- ],
351
- "parameters": [
352
- {
353
- "in": "path",
354
- "name": "id",
355
- "description": "The Entity ID of the Note entry to get contexts for",
356
- "schema": {
357
- "type": "string",
358
- "description": "The Entity ID of the Note entry to get contexts for"
359
- },
360
- "required": true
361
- }
362
- ],
363
- "responses": {
364
- "200": {
365
- "description": "Successful response with the contexts for the Note Entity",
366
- "content": {
367
- "application/json": {
368
- "schema": {
369
- "type": "array",
370
- "items": {
371
- "$ref": "#/components/schemas/NoteContexts"
372
- }
373
- }
374
- }
375
- }
376
- }
377
- }
378
- }
379
- },
380
- "/v1/note/{id}/reaction": {
381
- "post": {
382
- "operationId": "addNoteReaction",
383
- "summary": "addNoteReaction",
384
- "description": "Adds an emoji reaction to a note",
385
- "tags": [
386
- "Reactions"
387
- ],
388
- "parameters": [
389
- {
390
- "in": "path",
391
- "name": "id",
392
- "description": "The Entity ID of the Note entry to add reaction to",
393
- "schema": {
394
- "type": "string",
395
- "description": "The Entity ID of the Note entry to add reaction to"
396
- },
397
- "required": true
398
- }
399
- ],
400
- "requestBody": {
401
- "content": {
402
- "application/json": {
403
- "schema": {
404
- "$ref": "#/components/schemas/ReactionRequest"
405
- }
406
- }
407
- }
408
- },
409
- "responses": {
410
- "200": {
411
- "description": "Successful response with the updated note reactions",
412
- "content": {
413
- "application/json": {
414
- "schema": {
415
- "$ref": "#/components/schemas/NoteEntity"
416
- }
417
- }
418
- }
419
- }
420
- }
421
- }
422
- },
423
- "/v1/note/{id}/reaction/{emoji_shortcode}": {
424
- "delete": {
425
- "operationId": "removeNoteReaction",
426
- "summary": "removeNoteReaction",
427
- "description": "Removes an emoji reaction from a note",
428
- "tags": [
429
- "Reactions"
430
- ],
431
- "parameters": [
432
- {
433
- "in": "path",
434
- "name": "id",
435
- "description": "The Entity ID of the Note entry to remove reaction from",
436
- "schema": {
437
- "type": "string",
438
- "description": "The Entity ID of the Note entry to remove reaction from"
439
- },
440
- "required": true
441
- },
442
- {
443
- "in": "path",
444
- "name": "emoji_shortcode",
445
- "description": "The emoji to remove from the note",
446
- "schema": {
447
- "type": "string",
448
- "description": "The emoji to remove from the note"
449
- },
450
- "required": true
451
- }
452
- ],
453
- "responses": {
454
- "200": {
455
- "description": "Successful response with the updated note reactions",
456
- "content": {
457
- "application/json": {
458
- "schema": {
459
- "$ref": "#/components/schemas/NoteEntity"
460
- }
461
- }
462
- }
463
- }
464
- }
465
- }
466
- },
467
- "/v1/note/{id}/reactions/toggle": {
468
- "post": {
469
- "operationId": "toggleNoteReactions",
470
- "summary": "toggleNoteReactions",
471
- "description": "Toggles multiple emoji reactions on a note. If a user has already reacted with an emoji, it removes the reaction. If a user hasn't reacted with an emoji, it adds the reaction.",
472
- "tags": [
473
- "Reactions"
474
- ],
475
- "parameters": [
476
- {
477
- "in": "path",
478
- "name": "id",
479
- "description": "The Entity ID of the Note entry to toggle reactions on",
480
- "schema": {
481
- "type": "string",
482
- "description": "The Entity ID of the Note entry to toggle reactions on"
483
- },
484
- "required": true
485
- }
486
- ],
487
- "requestBody": {
488
- "content": {
489
- "application/json": {
490
- "schema": {
491
- "$ref": "#/components/schemas/ToggleReactionsRequest"
492
- }
493
- }
494
- }
495
- },
496
- "responses": {
497
- "200": {
498
- "description": "Successful response with the updated note reactions",
499
- "content": {
500
- "application/json": {
501
- "schema": {
502
- "$ref": "#/components/schemas/NoteEntity"
503
- }
504
- }
505
- }
506
- }
507
- }
508
- }
509
- }
510
- },
511
- "components": {
512
- "securitySchemes": {
513
- "EpilotAuth": {
514
- "type": "http",
515
- "scheme": "bearer",
516
- "description": "Authorization header with epilot OAuth2 bearer token",
517
- "bearerFormat": "JWT"
518
- }
519
- },
520
- "schemas": {
521
- "NotePostRequestBody": {
522
- "type": "object",
523
- "properties": {
524
- "_tags": {
525
- "type": "array",
526
- "items": {
527
- "type": "string"
528
- },
529
- "description": "Tags associated with this Note"
530
- },
531
- "type": {
532
- "type": "string",
533
- "description": "Entity ID of the Note entry"
534
- },
535
- "entity_id": {
536
- "type": "string",
537
- "description": "The Entity ID of the Entity this Note will be related to. This option has been deprecated since 2.1.0. Please use `contexts` instead.",
538
- "deprecated": true
539
- },
540
- "parent_id": {
541
- "type": "string",
542
- "description": "The Entity ID of the Note's parent Note. If supplied, the Note will be a comment to the parent Note. Be aware that Notes can only have comments one level deep"
543
- },
544
- "contexts": {
545
- "type": "array",
546
- "items": {
547
- "type": "object",
548
- "properties": {
549
- "type": {
550
- "$ref": "#/components/schemas/ContextType"
551
- },
552
- "id": {
553
- "type": "string"
554
- }
555
- },
556
- "required": [
557
- "type",
558
- "id"
559
- ]
560
- },
561
- "description": "The contexts to which this Note will be related to"
562
- },
563
- "additional_contexts": {
564
- "type": "array",
565
- "items": {
566
- "type": "object",
567
- "properties": {
568
- "type": {
569
- "$ref": "#/components/schemas/ContextType"
570
- },
571
- "id": {
572
- "type": "string"
573
- }
574
- },
575
- "required": [
576
- "type",
577
- "id"
578
- ]
579
- },
580
- "description": "Any additional non-entity contexts to which this Note will be related to. This option has been deprecated since 2.1.0. Please use `contexts` instead.",
581
- "deprecated": true
582
- },
583
- "content": {
584
- "type": "string",
585
- "description": "The content of the Note"
586
- },
587
- "attachments": {
588
- "type": "array",
589
- "items": {
590
- "type": "string"
591
- },
592
- "description": "List of File Entity IDs attached to the Note"
593
- },
594
- "read_by": {
595
- "type": "array",
596
- "items": {
597
- "type": "string"
598
- },
599
- "description": "List of user IDs who have read this note"
600
- }
601
- }
602
- },
603
- "ContextType": {
604
- "type": "string",
605
- "enum": [
606
- "workflow_execution",
607
- "workflow_task",
608
- "workflow_configuration",
609
- "journey_configuration",
610
- "entity"
611
- ]
612
- },
613
- "NoteEntity": {
614
- "allOf": [
615
- {
616
- "$ref": "#/components/schemas/Entity"
617
- }
618
- ],
619
- "type": "object",
620
- "properties": {
621
- "context_entities": {
622
- "type": "array",
623
- "items": {
624
- "$ref": "#/components/schemas/Entity"
625
- }
626
- },
627
- "parent": {
628
- "type": "array",
629
- "items": {
630
- "$ref": "#/components/schemas/NoteEntity"
631
- }
632
- },
633
- "attachments": {
634
- "type": "array",
635
- "items": {
636
- "$ref": "#/components/schemas/Entity"
637
- }
638
- },
639
- "comments": {
640
- "type": "array",
641
- "items": {
642
- "$ref": "#/components/schemas/NoteEntity"
643
- }
644
- },
645
- "content": {
646
- "type": "string",
647
- "description": "The content of the Note"
648
- },
649
- "contexts": {
650
- "type": "array",
651
- "items": {
652
- "type": "object",
653
- "properties": {
654
- "type": {
655
- "$ref": "#/components/schemas/ContextType"
656
- },
657
- "id": {
658
- "type": "string"
659
- }
660
- },
661
- "required": [
662
- "type",
663
- "id"
664
- ]
665
- }
666
- },
667
- "pinned_at": {
668
- "type": "string",
669
- "description": "The timestamp of when this Note was pinned",
670
- "format": "date-time"
671
- },
672
- "edited_at": {
673
- "type": "string",
674
- "description": "The timestamp of when this Note was last updated",
675
- "format": "date-time"
676
- },
677
- "created_by": {
678
- "type": "object",
679
- "properties": {
680
- "type": {
681
- "$ref": "#/components/schemas/CreatedByType"
682
- },
683
- "user_id": {
684
- "type": "string"
685
- },
686
- "display_name": {
687
- "type": "string"
688
- },
689
- "org_id": {
690
- "type": "string"
691
- },
692
- "email": {
693
- "type": "string"
694
- },
695
- "phone": {
696
- "type": "string"
697
- }
698
- },
699
- "required": [
700
- "type"
701
- ]
702
- },
703
- "read_by": {
704
- "type": "array",
705
- "items": {
706
- "type": "string"
707
- },
708
- "description": "List of user IDs who have read this note"
709
- },
710
- "reactions": {
711
- "type": "object",
712
- "additionalProperties": {
713
- "type": "array",
714
- "items": {
715
- "type": "string"
716
- }
717
- },
718
- "description": "Reactions to the note, keyed by reaction type, with an array of user IDs for each type"
719
- }
720
- },
721
- "description": "A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place."
722
- },
723
- "Entity": {
724
- "type": "object",
725
- "properties": {
726
- "_id": {
727
- "type": "string",
728
- "description": "Entity ID of the Note entry"
729
- },
730
- "_org": {
731
- "type": "string",
732
- "description": "ID of the Organization that owns this Note"
733
- },
734
- "_schema": {
735
- "type": "string",
736
- "description": "The Entity schema of this Note"
737
- },
738
- "_created_at": {
739
- "type": "string",
740
- "description": "The timestamp of when this Note was created",
741
- "format": "date-time"
742
- },
743
- "_updated_at": {
744
- "type": "string",
745
- "description": "The timestamp of when this Note was last updated",
746
- "format": "date-time"
747
- },
748
- "_created_by": {
749
- "anyOf": [
750
- {
751
- "type": "string"
752
- },
753
- {
754
- "type": "number"
755
- }
756
- ],
757
- "description": "The Entity ID of the User that created this Note"
758
- },
759
- "_tags": {
760
- "type": "array",
761
- "items": {
762
- "type": "string"
763
- },
764
- "description": "Tags associated with this Note"
765
- },
766
- "_acl": {
767
- "type": "object",
768
- "additionalProperties": {
769
- "type": "array",
770
- "items": {
771
- "type": "string"
772
- }
773
- },
774
- "description": "Access Control List for this Note entry"
775
- },
776
- "_owners": {
777
- "type": "array",
778
- "items": {
779
- "type": "object",
780
- "properties": {
781
- "org_id": {
782
- "type": "string"
783
- },
784
- "user_id": {
785
- "type": "string"
786
- }
787
- },
788
- "required": [
789
- "org_id",
790
- "user_id"
791
- ]
792
- }
793
- },
794
- "type": {
795
- "type": "string",
796
- "description": "Entity ID of the Note entry"
797
- }
798
- },
799
- "required": [
800
- "_id"
801
- ],
802
- "description": "Base Entity schema"
803
- },
804
- "CreatedByType": {
805
- "type": "string",
806
- "enum": [
807
- "user",
808
- "group"
809
- ]
810
- },
811
- "NoteGetRequestResponse": {
812
- "allOf": [
813
- {
814
- "$ref": "#/components/schemas/Entity"
815
- }
816
- ],
817
- "type": "object",
818
- "properties": {
819
- "context_entities": {
820
- "type": "array",
821
- "items": {
822
- "$ref": "#/components/schemas/Entity"
823
- }
824
- },
825
- "parent": {
826
- "type": "array",
827
- "items": {
828
- "$ref": "#/components/schemas/NoteEntity"
829
- }
830
- },
831
- "attachments": {
832
- "type": "array",
833
- "items": {
834
- "$ref": "#/components/schemas/Entity"
835
- }
836
- },
837
- "comments": {
838
- "type": "array",
839
- "items": {
840
- "$ref": "#/components/schemas/NoteEntity"
841
- }
842
- },
843
- "content": {
844
- "type": "string",
845
- "description": "The content of the Note"
846
- },
847
- "contexts": {
848
- "type": "array",
849
- "items": {
850
- "type": "object",
851
- "properties": {
852
- "type": {
853
- "$ref": "#/components/schemas/ContextType"
854
- },
855
- "id": {
856
- "type": "string"
857
- }
858
- },
859
- "required": [
860
- "type",
861
- "id"
862
- ]
863
- }
864
- },
865
- "pinned_at": {
866
- "type": "string",
867
- "description": "The timestamp of when this Note was pinned",
868
- "format": "date-time"
869
- },
870
- "edited_at": {
871
- "type": "string",
872
- "description": "The timestamp of when this Note was last updated",
873
- "format": "date-time"
874
- },
875
- "created_by": {
876
- "type": "object",
877
- "properties": {
878
- "type": {
879
- "$ref": "#/components/schemas/CreatedByType"
880
- },
881
- "user_id": {
882
- "type": "string"
883
- },
884
- "display_name": {
885
- "type": "string"
886
- },
887
- "org_id": {
888
- "type": "string"
889
- },
890
- "email": {
891
- "type": "string"
892
- },
893
- "phone": {
894
- "type": "string"
895
- }
896
- },
897
- "required": [
898
- "type"
899
- ]
900
- },
901
- "read_by": {
902
- "type": "array",
903
- "items": {
904
- "type": "string"
905
- },
906
- "description": "List of user IDs who have read this note"
907
- },
908
- "reactions": {
909
- "type": "object",
910
- "additionalProperties": {
911
- "type": "array",
912
- "items": {
913
- "type": "string"
914
- }
915
- },
916
- "description": "Reactions to the note, keyed by reaction type, with an array of user IDs for each type"
917
- }
918
- }
919
- },
920
- "NotePatchRequestBody": {
921
- "type": "object",
922
- "properties": {
923
- "_tags": {
924
- "type": "array",
925
- "items": {
926
- "type": "string"
927
- },
928
- "description": "Tags associated with this Note"
929
- },
930
- "type": {
931
- "type": "string",
932
- "description": "Entity ID of the Note entry"
933
- },
934
- "attachments": {
935
- "type": "object",
936
- "properties": {
937
- "$relation": {
938
- "type": "array",
939
- "items": {
940
- "type": "object",
941
- "properties": {
942
- "entity_id": {
943
- "type": "string"
944
- }
945
- },
946
- "required": [
947
- "entity_id"
948
- ]
949
- }
950
- }
951
- },
952
- "description": "The Note's parent Note"
953
- },
954
- "comments": {
955
- "type": "array",
956
- "items": {
957
- "$ref": "#/components/schemas/NonHydratedNoteEntity"
958
- }
959
- },
960
- "content": {
961
- "type": "string",
962
- "description": "The content of the Note"
963
- },
964
- "contexts": {
965
- "type": "array",
966
- "items": {
967
- "type": "object",
968
- "properties": {
969
- "type": {
970
- "$ref": "#/components/schemas/ContextType"
971
- },
972
- "id": {
973
- "type": "string"
974
- }
975
- },
976
- "required": [
977
- "type",
978
- "id"
979
- ]
980
- }
981
- },
982
- "pinned_at": {
983
- "type": "string",
984
- "description": "The timestamp of when this Note was pinned",
985
- "format": "date-time"
986
- },
987
- "created_by": {
988
- "type": "object",
989
- "properties": {
990
- "type": {
991
- "type": "string",
992
- "enum": [
993
- "user",
994
- "group"
995
- ]
996
- },
997
- "user_id": {
998
- "type": "string"
999
- },
1000
- "display_name": {
1001
- "type": "string"
1002
- },
1003
- "org_id": {
1004
- "type": "string"
1005
- },
1006
- "email": {
1007
- "type": "string"
1008
- },
1009
- "phone": {
1010
- "type": "string"
1011
- }
1012
- },
1013
- "required": [
1014
- "type"
1015
- ]
1016
- },
1017
- "read_by": {
1018
- "type": "array",
1019
- "items": {
1020
- "type": "string"
1021
- },
1022
- "description": "List of user IDs who have read this note"
1023
- },
1024
- "reactions": {
1025
- "type": "object",
1026
- "additionalProperties": {
1027
- "type": "array",
1028
- "items": {
1029
- "type": "string"
1030
- }
1031
- },
1032
- "description": "Reactions to the note, keyed by reaction type, with an array of user IDs for each type"
1033
- }
1034
- }
1035
- },
1036
- "NonHydratedNoteEntity": {
1037
- "allOf": [
1038
- {
1039
- "$ref": "#/components/schemas/Entity"
1040
- }
1041
- ],
1042
- "type": "object",
1043
- "properties": {
1044
- "context_entities": {
1045
- "type": "object",
1046
- "properties": {
1047
- "$relation": {
1048
- "type": "array",
1049
- "items": {
1050
- "type": "object",
1051
- "properties": {
1052
- "entity_id": {
1053
- "type": "string"
1054
- }
1055
- },
1056
- "required": [
1057
- "entity_id"
1058
- ]
1059
- }
1060
- }
1061
- },
1062
- "required": [
1063
- "$relation"
1064
- ]
1065
- },
1066
- "parent": {
1067
- "$ref": "#/components/schemas/NoteEntityParent"
1068
- },
1069
- "attachments": {
1070
- "type": "object",
1071
- "properties": {
1072
- "$relation": {
1073
- "type": "array",
1074
- "items": {
1075
- "type": "object",
1076
- "properties": {
1077
- "entity_id": {
1078
- "type": "string"
1079
- }
1080
- },
1081
- "required": [
1082
- "entity_id"
1083
- ]
1084
- }
1085
- }
1086
- },
1087
- "description": "The Note's parent Note"
1088
- },
1089
- "comments": {
1090
- "type": "array",
1091
- "items": {
1092
- "$ref": "#/components/schemas/NonHydratedNoteEntity"
1093
- }
1094
- },
1095
- "content": {
1096
- "type": "string",
1097
- "description": "The content of the Note"
1098
- },
1099
- "contexts": {
1100
- "type": "array",
1101
- "items": {
1102
- "type": "object",
1103
- "properties": {
1104
- "type": {
1105
- "$ref": "#/components/schemas/ContextType"
1106
- },
1107
- "id": {
1108
- "type": "string"
1109
- }
1110
- },
1111
- "required": [
1112
- "type",
1113
- "id"
1114
- ]
1115
- }
1116
- },
1117
- "pinned_at": {
1118
- "type": "string",
1119
- "description": "The timestamp of when this Note was pinned",
1120
- "format": "date-time"
1121
- },
1122
- "created_by": {
1123
- "type": "object",
1124
- "properties": {
1125
- "type": {
1126
- "type": "string",
1127
- "enum": [
1128
- "user",
1129
- "group"
1130
- ]
1131
- },
1132
- "user_id": {
1133
- "type": "string"
1134
- },
1135
- "display_name": {
1136
- "type": "string"
1137
- },
1138
- "org_id": {
1139
- "type": "string"
1140
- },
1141
- "email": {
1142
- "type": "string"
1143
- },
1144
- "phone": {
1145
- "type": "string"
1146
- }
1147
- },
1148
- "required": [
1149
- "type"
1150
- ]
1151
- },
1152
- "read_by": {
1153
- "type": "array",
1154
- "items": {
1155
- "type": "string"
1156
- },
1157
- "description": "List of user IDs who have read this note"
1158
- },
1159
- "reactions": {
1160
- "type": "object",
1161
- "additionalProperties": {
1162
- "type": "array",
1163
- "items": {
1164
- "type": "string"
1165
- }
1166
- },
1167
- "description": "Reactions to the note, keyed by reaction type, with an array of user IDs for each type"
1168
- }
1169
- },
1170
- "required": [
1171
- "context_entities"
1172
- ],
1173
- "description": "A note Entity object cotaining Entity metadata and content. Relational attributes are not hydrated in place."
1174
- },
1175
- "NoteEntityParent": {
1176
- "type": "object",
1177
- "properties": {
1178
- "$relation": {
1179
- "type": "array",
1180
- "items": {
1181
- "type": "object",
1182
- "properties": {
1183
- "entity_id": {
1184
- "type": "string"
1185
- }
1186
- },
1187
- "required": [
1188
- "entity_id"
1189
- ]
1190
- }
1191
- }
1192
- },
1193
- "description": "The Note's parent Note"
1194
- },
1195
- "NotePutRequestBody": {
1196
- "type": "object",
1197
- "properties": {
1198
- "_id": {
1199
- "type": "string",
1200
- "description": "Entity ID of the Note entry"
1201
- },
1202
- "_org": {
1203
- "type": "string",
1204
- "description": "ID of the Organization that owns this Note"
1205
- },
1206
- "_schema": {
1207
- "type": "string",
1208
- "description": "The Entity schema of this Note"
1209
- },
1210
- "_created_at": {
1211
- "type": "string",
1212
- "description": "The timestamp of when this Note was created",
1213
- "format": "date-time"
1214
- },
1215
- "_updated_at": {
1216
- "type": "string",
1217
- "description": "The timestamp of when this Note was last updated",
1218
- "format": "date-time"
1219
- },
1220
- "_created_by": {
1221
- "anyOf": [
1222
- {
1223
- "type": "string"
1224
- },
1225
- {
1226
- "type": "number"
1227
- }
1228
- ],
1229
- "description": "The Entity ID of the User that created this Note"
1230
- },
1231
- "_tags": {
1232
- "type": "array",
1233
- "items": {
1234
- "type": "string"
1235
- },
1236
- "description": "Tags associated with this Note"
1237
- },
1238
- "_acl": {
1239
- "type": "object",
1240
- "additionalProperties": {
1241
- "type": "array",
1242
- "items": {
1243
- "type": "string"
1244
- }
1245
- },
1246
- "description": "Access Control List for this Note entry"
1247
- },
1248
- "_owners": {
1249
- "type": "array",
1250
- "items": {
1251
- "type": "object",
1252
- "properties": {
1253
- "org_id": {
1254
- "type": "string"
1255
- },
1256
- "user_id": {
1257
- "type": "string"
1258
- }
1259
- },
1260
- "required": [
1261
- "org_id",
1262
- "user_id"
1263
- ]
1264
- }
1265
- },
1266
- "type": {
1267
- "type": "string",
1268
- "description": "Entity ID of the Note entry"
1269
- },
1270
- "context_entities": {
1271
- "type": "object",
1272
- "properties": {
1273
- "$relation": {
1274
- "type": "array",
1275
- "items": {
1276
- "type": "object",
1277
- "properties": {
1278
- "entity_id": {
1279
- "type": "string"
1280
- }
1281
- },
1282
- "required": [
1283
- "entity_id"
1284
- ]
1285
- }
1286
- }
1287
- },
1288
- "required": [
1289
- "$relation"
1290
- ]
1291
- },
1292
- "parent": {
1293
- "$ref": "#/components/schemas/NoteEntityParent"
1294
- },
1295
- "attachments": {
1296
- "type": "object",
1297
- "properties": {
1298
- "$relation": {
1299
- "type": "array",
1300
- "items": {
1301
- "type": "object",
1302
- "properties": {
1303
- "entity_id": {
1304
- "type": "string"
1305
- }
1306
- },
1307
- "required": [
1308
- "entity_id"
1309
- ]
1310
- }
1311
- }
1312
- },
1313
- "description": "The Note's parent Note"
1314
- },
1315
- "content": {
1316
- "type": "string",
1317
- "description": "The content of the Note"
1318
- },
1319
- "contexts": {
1320
- "type": "array",
1321
- "items": {
1322
- "type": "object",
1323
- "properties": {
1324
- "type": {
1325
- "$ref": "#/components/schemas/ContextType"
1326
- },
1327
- "id": {
1328
- "type": "string"
1329
- }
1330
- },
1331
- "required": [
1332
- "type",
1333
- "id"
1334
- ]
1335
- }
1336
- },
1337
- "pinned_at": {
1338
- "type": "string",
1339
- "description": "The timestamp of when this Note was pinned",
1340
- "format": "date-time"
1341
- },
1342
- "created_by": {
1343
- "type": "object",
1344
- "properties": {
1345
- "type": {
1346
- "type": "string",
1347
- "enum": [
1348
- "user",
1349
- "group"
1350
- ]
1351
- },
1352
- "user_id": {
1353
- "type": "string"
1354
- },
1355
- "display_name": {
1356
- "type": "string"
1357
- },
1358
- "org_id": {
1359
- "type": "string"
1360
- },
1361
- "email": {
1362
- "type": "string"
1363
- },
1364
- "phone": {
1365
- "type": "string"
1366
- }
1367
- },
1368
- "required": [
1369
- "type"
1370
- ]
1371
- },
1372
- "read_by": {
1373
- "type": "array",
1374
- "items": {
1375
- "type": "string"
1376
- },
1377
- "description": "List of user IDs who have read this note"
1378
- },
1379
- "reactions": {
1380
- "type": "object",
1381
- "additionalProperties": {
1382
- "type": "array",
1383
- "items": {
1384
- "type": "string"
1385
- }
1386
- },
1387
- "description": "Reactions to the note, keyed by reaction type, with an array of user IDs for each type"
1388
- }
1389
- }
1390
- },
1391
- "NoteSearchByContextRequestBody": {
1392
- "type": "object",
1393
- "properties": {
1394
- "contexts": {
1395
- "type": "array",
1396
- "items": {
1397
- "type": "object",
1398
- "properties": {
1399
- "type": {
1400
- "$ref": "#/components/schemas/ContextType"
1401
- },
1402
- "id": {
1403
- "type": "string"
1404
- }
1405
- },
1406
- "required": [
1407
- "type",
1408
- "id"
1409
- ]
1410
- }
1411
- },
1412
- "from": {
1413
- "type": "number",
1414
- "default": 0,
1415
- "description": "The index of the first Note to return in this query"
1416
- },
1417
- "size": {
1418
- "type": "number",
1419
- "default": 10,
1420
- "description": "The number of Note entries to return in this query"
1421
- }
1422
- },
1423
- "required": [
1424
- "contexts"
1425
- ]
1426
- },
1427
- "NotesSearchRequestResponse": {
1428
- "type": "object",
1429
- "properties": {
1430
- "hits": {
1431
- "type": "number",
1432
- "description": "The number of Note entries returned in this query"
1433
- },
1434
- "results": {
1435
- "type": "array",
1436
- "items": {
1437
- "$ref": "#/components/schemas/NoteEntity"
1438
- },
1439
- "description": "The Note entries returned in this query"
1440
- }
1441
- },
1442
- "required": [
1443
- "results"
1444
- ]
1445
- },
1446
- "NoteContexts": {
1447
- "type": "object",
1448
- "properties": {
1449
- "type": {
1450
- "$ref": "#/components/schemas/ContextType"
1451
- },
1452
- "context": {
1453
- "anyOf": [
1454
- {
1455
- "$ref": "#/components/schemas/Entity"
1456
- },
1457
- {
1458
- "$ref": "#/components/schemas/WorkflowExecution"
1459
- }
1460
- ]
1461
- }
1462
- },
1463
- "required": [
1464
- "type",
1465
- "context"
1466
- ],
1467
- "description": "List of resolved Entity and non-Entity contexts attached to a given Note."
1468
- },
1469
- "WorkflowExecution": {
1470
- "type": "object",
1471
- "properties": {
1472
- "id": {
1473
- "type": "string"
1474
- },
1475
- "definitionId": {
1476
- "type": "string"
1477
- },
1478
- "orgId": {
1479
- "type": "string"
1480
- },
1481
- "name": {
1482
- "type": "string"
1483
- }
1484
- },
1485
- "required": [
1486
- "id",
1487
- "definitionId",
1488
- "orgId",
1489
- "name"
1490
- ],
1491
- "description": "Base metadata for a Workflow Execution. This is a lightweight representation of a Workflow Execution, and does not contain all it's data"
1492
- },
1493
- "ReactionRequest": {
1494
- "type": "object",
1495
- "properties": {
1496
- "emoji": {
1497
- "type": "string",
1498
- "minLength": 1,
1499
- "maxLength": 50,
1500
- "description": "The emoji identifier (e.g., 'thumbs-up', 'heart', 'thinking-face')",
1501
- "example": "thumbs-up"
1502
- }
1503
- },
1504
- "required": [
1505
- "emoji"
1506
- ]
1507
- },
1508
- "ToggleReactionsRequest": {
1509
- "type": "object",
1510
- "properties": {
1511
- "emojis": {
1512
- "type": "array",
1513
- "items": {
1514
- "type": "string",
1515
- "minLength": 1,
1516
- "maxLength": 50
1517
- },
1518
- "description": "Array of emoji identifiers to toggle (e.g., ['thumbs-up', 'heart', 'thinking-face'])",
1519
- "example": [
1520
- "thumbs-up",
1521
- "heart"
1522
- ]
1523
- }
1524
- },
1525
- "required": [
1526
- "emojis"
1527
- ]
1528
- }
1529
- }
1530
- }
1531
- }