@epilot/sdk 2.4.4-alpha.0 → 2.5.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 (381) hide show
  1. package/definitions/app.json +137 -58
  2. package/definitions/customer-portal-runtime.json +1 -1
  3. package/definitions/customer-portal.json +496 -24
  4. package/definitions/entity.json +185 -8
  5. package/definitions/webhooks-runtime.json +1 -1
  6. package/definitions/webhooks.json +134 -4
  7. package/dist/access-token.d-CnmUTOlq.d.cts +552 -0
  8. package/dist/access-token.d-CnmUTOlq.d.ts +552 -0
  9. package/dist/address-suggestions.d-_YwTOR-9.d.cts +339 -0
  10. package/dist/address-suggestions.d-_YwTOR-9.d.ts +339 -0
  11. package/dist/address.d-CwAPOVxa.d.cts +437 -0
  12. package/dist/address.d-CwAPOVxa.d.ts +437 -0
  13. package/dist/ai-agents.d-OkXfr2bz.d.cts +1339 -0
  14. package/dist/ai-agents.d-OkXfr2bz.d.ts +1339 -0
  15. package/dist/apis/access-token.cjs +6 -6
  16. package/dist/apis/access-token.d.cts +18 -0
  17. package/dist/apis/access-token.d.ts +12 -9
  18. package/dist/apis/access-token.js +1 -1
  19. package/dist/apis/address-suggestions.cjs +6 -6
  20. package/dist/apis/address-suggestions.d.cts +18 -0
  21. package/dist/apis/address-suggestions.d.ts +12 -9
  22. package/dist/apis/address-suggestions.js +1 -1
  23. package/dist/apis/address.cjs +6 -6
  24. package/dist/apis/address.d.cts +18 -0
  25. package/dist/apis/address.d.ts +12 -9
  26. package/dist/apis/address.js +1 -1
  27. package/dist/apis/ai-agents.cjs +6 -6
  28. package/dist/apis/ai-agents.d.cts +18 -0
  29. package/dist/apis/ai-agents.d.ts +12 -9
  30. package/dist/apis/ai-agents.js +1 -1
  31. package/dist/apis/app.cjs +8 -8
  32. package/dist/apis/app.d.cts +18 -0
  33. package/dist/apis/app.d.ts +12 -9
  34. package/dist/apis/app.js +2 -2
  35. package/dist/apis/audit-logs.cjs +6 -6
  36. package/dist/apis/audit-logs.d.cts +18 -0
  37. package/dist/apis/audit-logs.d.ts +12 -9
  38. package/dist/apis/audit-logs.js +1 -1
  39. package/dist/apis/automation.cjs +6 -6
  40. package/dist/apis/automation.d.cts +18 -0
  41. package/dist/apis/automation.d.ts +12 -9
  42. package/dist/apis/automation.js +1 -1
  43. package/dist/apis/billing.cjs +6 -6
  44. package/dist/apis/billing.d.cts +18 -0
  45. package/dist/apis/billing.d.ts +12 -9
  46. package/dist/apis/billing.js +1 -1
  47. package/dist/apis/blueprint-manifest.cjs +6 -6
  48. package/dist/apis/blueprint-manifest.d.cts +18 -0
  49. package/dist/apis/blueprint-manifest.d.ts +12 -9
  50. package/dist/apis/blueprint-manifest.js +1 -1
  51. package/dist/apis/calendar.cjs +6 -6
  52. package/dist/apis/calendar.d.cts +18 -0
  53. package/dist/apis/calendar.d.ts +12 -9
  54. package/dist/apis/calendar.js +1 -1
  55. package/dist/apis/configuration-hub.cjs +6 -6
  56. package/dist/apis/configuration-hub.d.cts +18 -0
  57. package/dist/apis/configuration-hub.d.ts +12 -9
  58. package/dist/apis/configuration-hub.js +1 -1
  59. package/dist/apis/consent.cjs +6 -6
  60. package/dist/apis/consent.d.cts +18 -0
  61. package/dist/apis/consent.d.ts +12 -9
  62. package/dist/apis/consent.js +1 -1
  63. package/dist/apis/customer-portal.cjs +8 -8
  64. package/dist/apis/customer-portal.d.cts +18 -0
  65. package/dist/apis/customer-portal.d.ts +12 -9
  66. package/dist/apis/customer-portal.js +2 -2
  67. package/dist/apis/dashboard.cjs +6 -6
  68. package/dist/apis/dashboard.d.cts +18 -0
  69. package/dist/apis/dashboard.d.ts +12 -9
  70. package/dist/apis/dashboard.js +1 -1
  71. package/dist/apis/data-governance.cjs +6 -6
  72. package/dist/apis/data-governance.d.cts +18 -0
  73. package/dist/apis/data-governance.d.ts +12 -9
  74. package/dist/apis/data-governance.js +1 -1
  75. package/dist/apis/deduplication.cjs +6 -6
  76. package/dist/apis/deduplication.d.cts +18 -0
  77. package/dist/apis/deduplication.d.ts +12 -9
  78. package/dist/apis/deduplication.js +1 -1
  79. package/dist/apis/design.cjs +6 -6
  80. package/dist/apis/design.d.cts +18 -0
  81. package/dist/apis/design.d.ts +12 -9
  82. package/dist/apis/design.js +1 -1
  83. package/dist/apis/document.cjs +6 -6
  84. package/dist/apis/document.d.cts +18 -0
  85. package/dist/apis/document.d.ts +12 -9
  86. package/dist/apis/document.js +1 -1
  87. package/dist/apis/email-settings.cjs +6 -6
  88. package/dist/apis/email-settings.d.cts +18 -0
  89. package/dist/apis/email-settings.d.ts +12 -9
  90. package/dist/apis/email-settings.js +1 -1
  91. package/dist/apis/email-template.cjs +6 -6
  92. package/dist/apis/email-template.d.cts +18 -0
  93. package/dist/apis/email-template.d.ts +12 -9
  94. package/dist/apis/email-template.js +1 -1
  95. package/dist/apis/entity-mapping.cjs +6 -6
  96. package/dist/apis/entity-mapping.d.cts +18 -0
  97. package/dist/apis/entity-mapping.d.ts +12 -9
  98. package/dist/apis/entity-mapping.js +1 -1
  99. package/dist/apis/entity.cjs +6 -6
  100. package/dist/apis/entity.d.cts +18 -0
  101. package/dist/apis/entity.d.ts +12 -9
  102. package/dist/apis/entity.js +1 -1
  103. package/dist/apis/environments.cjs +6 -6
  104. package/dist/apis/environments.d.cts +18 -0
  105. package/dist/apis/environments.d.ts +12 -9
  106. package/dist/apis/environments.js +1 -1
  107. package/dist/apis/event-catalog.cjs +6 -6
  108. package/dist/apis/event-catalog.d.cts +18 -0
  109. package/dist/apis/event-catalog.d.ts +12 -9
  110. package/dist/apis/event-catalog.js +1 -1
  111. package/dist/apis/file.cjs +6 -6
  112. package/dist/apis/file.d.cts +18 -0
  113. package/dist/apis/file.d.ts +12 -9
  114. package/dist/apis/file.js +1 -1
  115. package/dist/apis/iban.cjs +6 -6
  116. package/dist/apis/iban.d.cts +18 -0
  117. package/dist/apis/iban.d.ts +12 -9
  118. package/dist/apis/iban.js +1 -1
  119. package/dist/apis/integration-toolkit.cjs +6 -6
  120. package/dist/apis/integration-toolkit.d.cts +18 -0
  121. package/dist/apis/integration-toolkit.d.ts +12 -9
  122. package/dist/apis/integration-toolkit.js +1 -1
  123. package/dist/apis/journey.cjs +6 -6
  124. package/dist/apis/journey.d.cts +18 -0
  125. package/dist/apis/journey.d.ts +12 -9
  126. package/dist/apis/journey.js +1 -1
  127. package/dist/apis/kanban.cjs +6 -6
  128. package/dist/apis/kanban.d.cts +18 -0
  129. package/dist/apis/kanban.d.ts +12 -9
  130. package/dist/apis/kanban.js +1 -1
  131. package/dist/apis/message.cjs +6 -6
  132. package/dist/apis/message.d.cts +18 -0
  133. package/dist/apis/message.d.ts +12 -9
  134. package/dist/apis/message.js +1 -1
  135. package/dist/apis/metering.cjs +6 -6
  136. package/dist/apis/metering.d.cts +18 -0
  137. package/dist/apis/metering.d.ts +12 -9
  138. package/dist/apis/metering.js +1 -1
  139. package/dist/apis/notes.cjs +6 -6
  140. package/dist/apis/notes.d.cts +18 -0
  141. package/dist/apis/notes.d.ts +12 -9
  142. package/dist/apis/notes.js +1 -1
  143. package/dist/apis/notification.cjs +6 -6
  144. package/dist/apis/notification.d.cts +18 -0
  145. package/dist/apis/notification.d.ts +12 -9
  146. package/dist/apis/notification.js +1 -1
  147. package/dist/apis/organization.cjs +6 -6
  148. package/dist/apis/organization.d.cts +18 -0
  149. package/dist/apis/organization.d.ts +12 -9
  150. package/dist/apis/organization.js +1 -1
  151. package/dist/apis/partner-directory.cjs +6 -6
  152. package/dist/apis/partner-directory.d.cts +18 -0
  153. package/dist/apis/partner-directory.d.ts +12 -9
  154. package/dist/apis/partner-directory.js +1 -1
  155. package/dist/apis/permissions.cjs +6 -6
  156. package/dist/apis/permissions.d.cts +18 -0
  157. package/dist/apis/permissions.d.ts +12 -9
  158. package/dist/apis/permissions.js +1 -1
  159. package/dist/apis/pricing-tier.cjs +6 -6
  160. package/dist/apis/pricing-tier.d.cts +18 -0
  161. package/dist/apis/pricing-tier.d.ts +12 -9
  162. package/dist/apis/pricing-tier.js +1 -1
  163. package/dist/apis/pricing.cjs +6 -6
  164. package/dist/apis/pricing.d.cts +18 -0
  165. package/dist/apis/pricing.d.ts +12 -9
  166. package/dist/apis/pricing.js +1 -1
  167. package/dist/apis/purpose.cjs +6 -6
  168. package/dist/apis/purpose.d.cts +18 -0
  169. package/dist/apis/purpose.d.ts +12 -9
  170. package/dist/apis/purpose.js +1 -1
  171. package/dist/apis/query.cjs +6 -6
  172. package/dist/apis/query.d.cts +18 -0
  173. package/dist/apis/query.d.ts +12 -9
  174. package/dist/apis/query.js +1 -1
  175. package/dist/apis/sandbox.cjs +6 -6
  176. package/dist/apis/sandbox.d.cts +18 -0
  177. package/dist/apis/sandbox.d.ts +12 -9
  178. package/dist/apis/sandbox.js +1 -1
  179. package/dist/apis/sharing.cjs +6 -6
  180. package/dist/apis/sharing.d.cts +18 -0
  181. package/dist/apis/sharing.d.ts +12 -9
  182. package/dist/apis/sharing.js +1 -1
  183. package/dist/apis/submission.cjs +6 -6
  184. package/dist/apis/submission.d.cts +18 -0
  185. package/dist/apis/submission.d.ts +12 -9
  186. package/dist/apis/submission.js +1 -1
  187. package/dist/apis/target.cjs +6 -6
  188. package/dist/apis/target.d.cts +597 -0
  189. package/dist/apis/target.d.ts +591 -9
  190. package/dist/apis/target.js +1 -1
  191. package/dist/apis/targeting.cjs +6 -6
  192. package/dist/apis/targeting.d.cts +18 -0
  193. package/dist/apis/targeting.d.ts +12 -9
  194. package/dist/apis/targeting.js +1 -1
  195. package/dist/apis/template-variables.cjs +6 -6
  196. package/dist/apis/template-variables.d.cts +18 -0
  197. package/dist/apis/template-variables.d.ts +12 -9
  198. package/dist/apis/template-variables.js +1 -1
  199. package/dist/apis/user.cjs +6 -6
  200. package/dist/apis/user.d.cts +18 -0
  201. package/dist/apis/user.d.ts +12 -9
  202. package/dist/apis/user.js +1 -1
  203. package/dist/apis/validation-rules.cjs +6 -6
  204. package/dist/apis/validation-rules.d.cts +18 -0
  205. package/dist/apis/validation-rules.d.ts +12 -9
  206. package/dist/apis/validation-rules.js +1 -1
  207. package/dist/apis/webhooks.cjs +8 -8
  208. package/dist/apis/webhooks.d.cts +18 -0
  209. package/dist/apis/webhooks.d.ts +12 -9
  210. package/dist/apis/webhooks.js +2 -2
  211. package/dist/apis/workflow-definition.cjs +6 -6
  212. package/dist/apis/workflow-definition.d.cts +18 -0
  213. package/dist/apis/workflow-definition.d.ts +12 -9
  214. package/dist/apis/workflow-definition.js +1 -1
  215. package/dist/apis/workflow.cjs +6 -6
  216. package/dist/apis/workflow.d.cts +18 -0
  217. package/dist/apis/workflow.d.ts +12 -9
  218. package/dist/apis/workflow.js +1 -1
  219. package/dist/app-34OBBTA4.js +7 -0
  220. package/dist/app-SSF545U7.cjs +7 -0
  221. package/dist/app-runtime-AFNM67YN.cjs +5 -0
  222. package/dist/{app-runtime-U7RGV7KT.js → app-runtime-DBUXZL6E.js} +1 -1
  223. package/dist/app.d--5n0FQQ4.d.cts +3757 -0
  224. package/dist/app.d--5n0FQQ4.d.ts +3757 -0
  225. package/dist/audit-logs.d-BRToFqeX.d.cts +287 -0
  226. package/dist/audit-logs.d-BRToFqeX.d.ts +287 -0
  227. package/dist/automation.d-Du6-uiz5.d.cts +5283 -0
  228. package/dist/automation.d-Du6-uiz5.d.ts +5283 -0
  229. package/dist/billing.d-Bs8Ku9qE.d.cts +993 -0
  230. package/dist/billing.d-Bs8Ku9qE.d.ts +993 -0
  231. package/dist/bin/cli.js +1 -1
  232. package/dist/blueprint-manifest.d-BPyzoR0X.d.cts +4343 -0
  233. package/dist/blueprint-manifest.d-BPyzoR0X.d.ts +4343 -0
  234. package/dist/calendar.d-BEjLDagH.d.cts +353 -0
  235. package/dist/calendar.d-BEjLDagH.d.ts +353 -0
  236. package/dist/chunk-5OBMZHRL.cjs +14 -0
  237. package/dist/{chunk-CD4OX2U6.cjs → chunk-C7GDYBXX.cjs} +9 -9
  238. package/dist/{chunk-L66IX6GX.cjs → chunk-KMVJYNLB.cjs} +1 -1
  239. package/dist/chunk-KYCVV2XE.cjs +14 -0
  240. package/dist/chunk-RGO3LTAM.js +14 -0
  241. package/dist/{chunk-TSV242UN.js → chunk-WRD2XFHY.js} +9 -9
  242. package/dist/{chunk-LLZYRINH.js → chunk-Z4H2FZ2K.js} +1 -1
  243. package/dist/chunk-Z6HGUGXK.js +14 -0
  244. package/dist/configuration-hub.d-Cqaq2F-W.d.cts +478 -0
  245. package/dist/configuration-hub.d-Cqaq2F-W.d.ts +478 -0
  246. package/dist/consent.d-C2PROHhX.d.cts +265 -0
  247. package/dist/consent.d-C2PROHhX.d.ts +265 -0
  248. package/dist/customer-portal-5I7ZGQDU.cjs +7 -0
  249. package/dist/customer-portal-YL2YMPZL.js +7 -0
  250. package/dist/{customer-portal-runtime-PSM55KGU.js → customer-portal-runtime-N4NWQ67M.js} +1 -1
  251. package/dist/{customer-portal-runtime-DULJLR7F.cjs → customer-portal-runtime-OEXTSMSE.cjs} +2 -2
  252. package/dist/customer-portal.d-ChSEioI5.d.cts +17113 -0
  253. package/dist/customer-portal.d-ChSEioI5.d.ts +17113 -0
  254. package/dist/dashboard.d-CsGcA74I.d.cts +440 -0
  255. package/dist/dashboard.d-CsGcA74I.d.ts +440 -0
  256. package/dist/data-governance.d-BbZ466j5.d.cts +1178 -0
  257. package/dist/data-governance.d-BbZ466j5.d.ts +1178 -0
  258. package/dist/deduplication.d-D5GYddVu.d.cts +218 -0
  259. package/dist/deduplication.d-D5GYddVu.d.ts +218 -0
  260. package/dist/design.d-BRre8iLg.d.cts +2346 -0
  261. package/dist/design.d-BRre8iLg.d.ts +2346 -0
  262. package/dist/document.d-DN37pjdx.d.cts +648 -0
  263. package/dist/document.d-DN37pjdx.d.ts +648 -0
  264. package/dist/email-settings.d-B7Q_xT25.d.cts +2417 -0
  265. package/dist/email-settings.d-B7Q_xT25.d.ts +2417 -0
  266. package/dist/email-template.d-gtQkdaXM.d.cts +1188 -0
  267. package/dist/email-template.d-gtQkdaXM.d.ts +1188 -0
  268. package/dist/entity-SS36LQO6.cjs +7 -0
  269. package/dist/entity-Z4YWKDVG.js +7 -0
  270. package/dist/entity-mapping.d-DKSW3sfy.d.cts +1092 -0
  271. package/dist/entity-mapping.d-DKSW3sfy.d.ts +1092 -0
  272. package/dist/entity.d-fospShiN.d.cts +18544 -0
  273. package/dist/entity.d-fospShiN.d.ts +18544 -0
  274. package/dist/environments.d-BvqvN-PD.d.cts +382 -0
  275. package/dist/environments.d-BvqvN-PD.d.ts +382 -0
  276. package/dist/event-catalog.d-ENw6HO-w.d.cts +1511 -0
  277. package/dist/event-catalog.d-ENw6HO-w.d.ts +1511 -0
  278. package/dist/file.d-DcTJxjp7.d.cts +2992 -0
  279. package/dist/file.d-DcTJxjp7.d.ts +2992 -0
  280. package/dist/iban.d-BwdiGbxi.d.cts +70 -0
  281. package/dist/iban.d-BwdiGbxi.d.ts +70 -0
  282. package/dist/index.cjs +14 -14
  283. package/dist/index.d.cts +182 -0
  284. package/dist/index.d.ts +182 -12
  285. package/dist/index.js +4 -4
  286. package/dist/integration-toolkit.d-Ry-KC9ow.d.cts +5796 -0
  287. package/dist/integration-toolkit.d-Ry-KC9ow.d.ts +5796 -0
  288. package/dist/journey.d-ClXO0xK8.d.cts +1931 -0
  289. package/dist/journey.d-ClXO0xK8.d.ts +1931 -0
  290. package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
  291. package/dist/kanban.d-BHnSRCYW.d.cts +760 -0
  292. package/dist/kanban.d-BHnSRCYW.d.ts +760 -0
  293. package/dist/message.d-B5UuSqgw.d.cts +3811 -0
  294. package/dist/message.d-B5UuSqgw.d.ts +3811 -0
  295. package/dist/metering.d-DvtPv7wk.d.cts +1841 -0
  296. package/dist/metering.d-DvtPv7wk.d.ts +1841 -0
  297. package/dist/notes-K2IIFCX3.cjs +7 -0
  298. package/dist/notes-Q7JGS7O3.js +7 -0
  299. package/dist/notes.d-BcV_m5fe.d.cts +1068 -0
  300. package/dist/notes.d-BcV_m5fe.d.ts +1068 -0
  301. package/dist/notification.d-BfBL3lga.d.cts +1147 -0
  302. package/dist/notification.d-BfBL3lga.d.ts +1147 -0
  303. package/dist/organization.d-DqwnNxMg.d.cts +1271 -0
  304. package/dist/organization.d-DqwnNxMg.d.ts +1271 -0
  305. package/dist/partner-directory.d-BCIjHoGs.d.cts +2337 -0
  306. package/dist/partner-directory.d-BCIjHoGs.d.ts +2337 -0
  307. package/dist/permissions.d-l6AT8SYP.d.cts +1279 -0
  308. package/dist/permissions.d-l6AT8SYP.d.ts +1279 -0
  309. package/dist/{pricing-XAET4G7T.cjs → pricing-FODHQFCB.cjs} +1 -1
  310. package/dist/{pricing-G67CH3XH.js → pricing-XRIDVZFC.js} +1 -1
  311. package/dist/pricing-tier.d-Cg0jl6n_.d.cts +81 -0
  312. package/dist/pricing-tier.d-Cg0jl6n_.d.ts +81 -0
  313. package/dist/pricing.d-BHpMU4KU.d.cts +12255 -0
  314. package/dist/pricing.d-BHpMU4KU.d.ts +12255 -0
  315. package/dist/purpose.d-CbIYfTua.d.cts +372 -0
  316. package/dist/purpose.d-CbIYfTua.d.ts +372 -0
  317. package/dist/query.d-Cmp78IhZ.d.cts +2375 -0
  318. package/dist/query.d-Cmp78IhZ.d.ts +2375 -0
  319. package/dist/sandbox.d-BdbOFzDu.d.cts +465 -0
  320. package/dist/sandbox.d-BdbOFzDu.d.ts +465 -0
  321. package/dist/sharing.d-sOXq-gtz.d.cts +571 -0
  322. package/dist/sharing.d-sOXq-gtz.d.ts +571 -0
  323. package/dist/submission.d-BamwfhXw.d.cts +469 -0
  324. package/dist/submission.d-BamwfhXw.d.ts +469 -0
  325. package/dist/targeting.d-BNmcVsNS.d.cts +2057 -0
  326. package/dist/targeting.d-BNmcVsNS.d.ts +2057 -0
  327. package/dist/template-variables.d-Ble9TSBa.d.cts +1320 -0
  328. package/dist/template-variables.d-Ble9TSBa.d.ts +1320 -0
  329. package/dist/types-ChU9Acbv.d.cts +37 -0
  330. package/dist/types-ChU9Acbv.d.ts +37 -0
  331. package/dist/user.d-D18fe97W.d.cts +2270 -0
  332. package/dist/user.d-D18fe97W.d.ts +2270 -0
  333. package/dist/validation-rules.d-Db5c5zTf.d.cts +807 -0
  334. package/dist/validation-rules.d-Db5c5zTf.d.ts +807 -0
  335. package/dist/webhooks-NZ3TM3AY.cjs +7 -0
  336. package/dist/webhooks-XLBUXXCS.js +7 -0
  337. package/dist/{webhooks-runtime-EBM4M3SU.cjs → webhooks-runtime-QVAFNBDW.cjs} +2 -2
  338. package/dist/{webhooks-runtime-XCQYIGQK.js → webhooks-runtime-UYTPQQVG.js} +1 -1
  339. package/dist/webhooks.d-D79qib9f.d.cts +1366 -0
  340. package/dist/webhooks.d-D79qib9f.d.ts +1366 -0
  341. package/dist/workflow-definition.d-DOeb0KVV.d.cts +1922 -0
  342. package/dist/workflow-definition.d-DOeb0KVV.d.ts +1922 -0
  343. package/dist/workflow.d-CMSKt8oN.d.cts +3151 -0
  344. package/dist/workflow.d-CMSKt8oN.d.ts +3151 -0
  345. package/docs/app.md +244 -9
  346. package/docs/customer-portal.md +340 -113
  347. package/docs/entity.md +65 -0
  348. package/docs/notes.md +19 -12
  349. package/docs/pricing.md +3 -1
  350. package/docs/webhooks.md +49 -0
  351. package/package.json +1 -1
  352. package/dist/apis/_registry.d.ts +0 -8
  353. package/dist/app-5KSVSKDU.js +0 -7
  354. package/dist/app-PL3IOROO.cjs +0 -7
  355. package/dist/app-runtime-SSNHSBR7.cjs +0 -5
  356. package/dist/authorize.d.ts +0 -3
  357. package/dist/bin/cli.d.ts +0 -1
  358. package/dist/chunk-2MMSXUOL.cjs +0 -14
  359. package/dist/chunk-A7AAVJGM.js +0 -14
  360. package/dist/chunk-GVNT76UU.js +0 -14
  361. package/dist/chunk-HHMXS5NC.cjs +0 -14
  362. package/dist/client-factory.d.ts +0 -9
  363. package/dist/client-map.d.ts +0 -102
  364. package/dist/compact.d.ts +0 -22
  365. package/dist/customer-portal-5LMHNBMD.cjs +0 -7
  366. package/dist/customer-portal-RZACUF4N.js +0 -7
  367. package/dist/entity-H6ESUH3Y.js +0 -7
  368. package/dist/entity-ZVDKWQSF.cjs +0 -7
  369. package/dist/help.d.ts +0 -12
  370. package/dist/large-response.d.ts +0 -9
  371. package/dist/notes-3AO5GXIT.js +0 -7
  372. package/dist/notes-MPWOQC5J.cjs +0 -7
  373. package/dist/openapi.d.ts +0 -12
  374. package/dist/overrides.d.ts +0 -9
  375. package/dist/proxy.d.ts +0 -14
  376. package/dist/registry.d.ts +0 -19
  377. package/dist/retry.d.ts +0 -11
  378. package/dist/sdk.d.ts +0 -29
  379. package/dist/types.d.ts +0 -53
  380. package/dist/webhooks-H3RT33BF.cjs +0 -7
  381. package/dist/webhooks-RTOU3MS5.js +0 -7
@@ -0,0 +1,1068 @@
1
+ import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
2
+
3
+ /* Auto-copied from notes-client */
4
+
5
+
6
+ declare namespace Components {
7
+ namespace Schemas {
8
+ export type ContextType = "workflow_execution" | "workflow_task" | "workflow_configuration" | "journey_configuration" | "entity";
9
+ export type CreatedByType = "user" | "group";
10
+ /**
11
+ * Base Entity schema
12
+ */
13
+ export interface Entity {
14
+ /**
15
+ * Entity ID of the Note entry
16
+ */
17
+ _id: string;
18
+ /**
19
+ * ID of the Organization that owns this Note
20
+ */
21
+ _org?: string;
22
+ /**
23
+ * The Entity schema of this Note
24
+ */
25
+ _schema?: string;
26
+ /**
27
+ * The timestamp of when this Note was created
28
+ */
29
+ _created_at?: string; // date-time
30
+ /**
31
+ * The timestamp of when this Note was last updated
32
+ */
33
+ _updated_at?: string; // date-time
34
+ /**
35
+ * The Entity ID of the User that created this Note
36
+ */
37
+ _created_by?: /* The Entity ID of the User that created this Note */ string | number;
38
+ /**
39
+ * Tags associated with this Note
40
+ */
41
+ _tags?: string[];
42
+ /**
43
+ * Access Control List for this Note entry
44
+ */
45
+ _acl?: {
46
+ [name: string]: string[];
47
+ };
48
+ _owners?: {
49
+ org_id: string;
50
+ user_id: string;
51
+ }[];
52
+ /**
53
+ * Entity ID of the Note entry
54
+ */
55
+ type?: string;
56
+ }
57
+ /**
58
+ * A note Entity object cotaining Entity metadata and content. Relational attributes are not hydrated in place.
59
+ */
60
+ export interface NonHydratedNoteEntity {
61
+ /**
62
+ * Entity ID of the Note entry
63
+ */
64
+ _id: string;
65
+ /**
66
+ * ID of the Organization that owns this Note
67
+ */
68
+ _org?: string;
69
+ /**
70
+ * The Entity schema of this Note
71
+ */
72
+ _schema?: string;
73
+ /**
74
+ * The timestamp of when this Note was created
75
+ */
76
+ _created_at?: string; // date-time
77
+ /**
78
+ * The timestamp of when this Note was last updated
79
+ */
80
+ _updated_at?: string; // date-time
81
+ /**
82
+ * The Entity ID of the User that created this Note
83
+ */
84
+ _created_by?: /* The Entity ID of the User that created this Note */ string | number;
85
+ /**
86
+ * Tags associated with this Note
87
+ */
88
+ _tags?: string[];
89
+ /**
90
+ * Access Control List for this Note entry
91
+ */
92
+ _acl?: {
93
+ [name: string]: string[];
94
+ };
95
+ _owners?: {
96
+ org_id: string;
97
+ user_id: string;
98
+ }[];
99
+ /**
100
+ * Entity ID of the Note entry
101
+ */
102
+ type?: string;
103
+ context_entities: {
104
+ $relation: {
105
+ entity_id: string;
106
+ }[];
107
+ };
108
+ parent?: /* The Note's parent Note */ NoteEntityParent;
109
+ /**
110
+ * The Note's parent Note
111
+ */
112
+ attachments?: {
113
+ $relation?: {
114
+ entity_id: string;
115
+ }[];
116
+ };
117
+ comments?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are not hydrated in place. */ NonHydratedNoteEntity[];
118
+ /**
119
+ * The content of the Note
120
+ */
121
+ content?: string;
122
+ contexts?: {
123
+ type: ContextType;
124
+ id: string;
125
+ }[];
126
+ /**
127
+ * The timestamp of when this Note was pinned
128
+ */
129
+ pinned_at?: string; // date-time
130
+ /**
131
+ * The timestamp of when this Note was last updated
132
+ */
133
+ edited_at?: string; // date-time
134
+ created_by?: {
135
+ type: "user" | "group";
136
+ user_id?: string;
137
+ display_name?: string;
138
+ org_id?: string;
139
+ email?: string;
140
+ phone?: string;
141
+ }[];
142
+ /**
143
+ * List of user IDs who have read this note
144
+ */
145
+ read_by?: string[];
146
+ /**
147
+ * Reactions to the note, keyed by reaction type, with an array of user IDs for each type
148
+ */
149
+ reactions?: {
150
+ [name: string]: string[];
151
+ };
152
+ }
153
+ /**
154
+ * List of resolved Entity and non-Entity contexts attached to a given Note.
155
+ */
156
+ export interface NoteContexts {
157
+ type: ContextType;
158
+ context: /* Base Entity schema */ Entity | /* Base metadata for a Workflow Execution. This is a lightweight representation of a Workflow Execution, and does not contain all it's data */ WorkflowExecution;
159
+ }
160
+ /**
161
+ * A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place.
162
+ */
163
+ export interface NoteEntity {
164
+ /**
165
+ * Entity ID of the Note entry
166
+ */
167
+ _id: string;
168
+ /**
169
+ * ID of the Organization that owns this Note
170
+ */
171
+ _org?: string;
172
+ /**
173
+ * The Entity schema of this Note
174
+ */
175
+ _schema?: string;
176
+ /**
177
+ * The timestamp of when this Note was created
178
+ */
179
+ _created_at?: string; // date-time
180
+ /**
181
+ * The timestamp of when this Note was last updated
182
+ */
183
+ _updated_at?: string; // date-time
184
+ /**
185
+ * The Entity ID of the User that created this Note
186
+ */
187
+ _created_by?: /* The Entity ID of the User that created this Note */ string | number;
188
+ /**
189
+ * Tags associated with this Note
190
+ */
191
+ _tags?: string[];
192
+ /**
193
+ * Access Control List for this Note entry
194
+ */
195
+ _acl?: {
196
+ [name: string]: string[];
197
+ };
198
+ _owners?: {
199
+ org_id: string;
200
+ user_id: string;
201
+ }[];
202
+ /**
203
+ * Entity ID of the Note entry
204
+ */
205
+ type?: string;
206
+ context_entities?: /* Base Entity schema */ Entity[];
207
+ parent?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
208
+ attachments?: /* Base Entity schema */ Entity[];
209
+ comments?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
210
+ /**
211
+ * The content of the Note
212
+ */
213
+ content?: string;
214
+ contexts?: {
215
+ type: ContextType;
216
+ id: string;
217
+ }[];
218
+ /**
219
+ * The timestamp of when this Note was pinned
220
+ */
221
+ pinned_at?: string; // date-time
222
+ /**
223
+ * The timestamp of when this Note was last updated
224
+ */
225
+ edited_at?: string; // date-time
226
+ created_by?: {
227
+ type: CreatedByType;
228
+ user_id?: string;
229
+ display_name?: string;
230
+ org_id?: string;
231
+ email?: string;
232
+ phone?: string;
233
+ }[];
234
+ /**
235
+ * List of user IDs who have read this note
236
+ */
237
+ read_by?: string[];
238
+ /**
239
+ * Reactions to the note, keyed by reaction type, with an array of user IDs for each type
240
+ */
241
+ reactions?: {
242
+ [name: string]: string[];
243
+ };
244
+ }
245
+ /**
246
+ * The Note's parent Note
247
+ */
248
+ export interface NoteEntityParent {
249
+ $relation?: {
250
+ entity_id: string;
251
+ }[];
252
+ }
253
+ /**
254
+ * Base Entity schema
255
+ */
256
+ export interface NoteGetRequestResponse {
257
+ /**
258
+ * Entity ID of the Note entry
259
+ */
260
+ _id: string;
261
+ /**
262
+ * ID of the Organization that owns this Note
263
+ */
264
+ _org?: string;
265
+ /**
266
+ * The Entity schema of this Note
267
+ */
268
+ _schema?: string;
269
+ /**
270
+ * The timestamp of when this Note was created
271
+ */
272
+ _created_at?: string; // date-time
273
+ /**
274
+ * The timestamp of when this Note was last updated
275
+ */
276
+ _updated_at?: string; // date-time
277
+ /**
278
+ * The Entity ID of the User that created this Note
279
+ */
280
+ _created_by?: /* The Entity ID of the User that created this Note */ string | number;
281
+ /**
282
+ * Tags associated with this Note
283
+ */
284
+ _tags?: string[];
285
+ /**
286
+ * Access Control List for this Note entry
287
+ */
288
+ _acl?: {
289
+ [name: string]: string[];
290
+ };
291
+ _owners?: {
292
+ org_id: string;
293
+ user_id: string;
294
+ }[];
295
+ /**
296
+ * Entity ID of the Note entry
297
+ */
298
+ type?: string;
299
+ context_entities?: /* Base Entity schema */ Entity[];
300
+ parent?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
301
+ attachments?: /* Base Entity schema */ Entity[];
302
+ comments?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
303
+ /**
304
+ * The content of the Note
305
+ */
306
+ content?: string;
307
+ contexts?: {
308
+ type: ContextType;
309
+ id: string;
310
+ }[];
311
+ /**
312
+ * The timestamp of when this Note was pinned
313
+ */
314
+ pinned_at?: string; // date-time
315
+ /**
316
+ * The timestamp of when this Note was last updated
317
+ */
318
+ edited_at?: string; // date-time
319
+ created_by?: {
320
+ type: CreatedByType;
321
+ user_id?: string;
322
+ display_name?: string;
323
+ org_id?: string;
324
+ email?: string;
325
+ phone?: string;
326
+ }[];
327
+ /**
328
+ * List of user IDs who have read this note
329
+ */
330
+ read_by?: string[];
331
+ /**
332
+ * Reactions to the note, keyed by reaction type, with an array of user IDs for each type
333
+ */
334
+ reactions?: {
335
+ [name: string]: string[];
336
+ };
337
+ }
338
+ export interface NotePatchRequestBody {
339
+ /**
340
+ * Tags associated with this Note
341
+ */
342
+ _tags?: string[];
343
+ /**
344
+ * Entity ID of the Note entry
345
+ */
346
+ type?: string;
347
+ /**
348
+ * The Note's parent Note
349
+ */
350
+ attachments?: {
351
+ $relation?: {
352
+ entity_id: string;
353
+ }[];
354
+ };
355
+ comments?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are not hydrated in place. */ NonHydratedNoteEntity[];
356
+ /**
357
+ * The content of the Note
358
+ */
359
+ content?: string;
360
+ contexts?: {
361
+ type: ContextType;
362
+ id: string;
363
+ }[];
364
+ /**
365
+ * The timestamp of when this Note was pinned
366
+ */
367
+ pinned_at?: string; // date-time
368
+ /**
369
+ * The timestamp of when this Note was last updated
370
+ */
371
+ edited_at?: string; // date-time
372
+ created_by?: {
373
+ type: "user" | "group";
374
+ user_id?: string;
375
+ display_name?: string;
376
+ org_id?: string;
377
+ email?: string;
378
+ phone?: string;
379
+ }[];
380
+ /**
381
+ * List of user IDs who have read this note
382
+ */
383
+ read_by?: string[];
384
+ /**
385
+ * Reactions to the note, keyed by reaction type, with an array of user IDs for each type
386
+ */
387
+ reactions?: {
388
+ [name: string]: string[];
389
+ };
390
+ }
391
+ export interface NotePostRequestBody {
392
+ /**
393
+ * Tags associated with this Note
394
+ */
395
+ _tags?: string[];
396
+ /**
397
+ * Entity ID of the Note entry
398
+ */
399
+ type?: string;
400
+ /**
401
+ * 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.
402
+ */
403
+ entity_id?: string;
404
+ /**
405
+ * 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
406
+ */
407
+ parent_id?: string;
408
+ /**
409
+ * The contexts to which this Note will be related to
410
+ */
411
+ contexts?: {
412
+ type: ContextType;
413
+ id: string;
414
+ }[];
415
+ /**
416
+ * 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.
417
+ */
418
+ additional_contexts?: {
419
+ type: ContextType;
420
+ id: string;
421
+ }[];
422
+ /**
423
+ * The content of the Note
424
+ */
425
+ content?: string;
426
+ /**
427
+ * List of File Entity IDs attached to the Note
428
+ */
429
+ attachments?: string[];
430
+ /**
431
+ * List of user IDs who have read this note
432
+ */
433
+ read_by?: string[];
434
+ }
435
+ export interface NotePutRequestBody {
436
+ /**
437
+ * Entity ID of the Note entry
438
+ */
439
+ _id?: string;
440
+ /**
441
+ * ID of the Organization that owns this Note
442
+ */
443
+ _org?: string;
444
+ /**
445
+ * The Entity schema of this Note
446
+ */
447
+ _schema?: string;
448
+ /**
449
+ * The timestamp of when this Note was created
450
+ */
451
+ _created_at?: string; // date-time
452
+ /**
453
+ * The timestamp of when this Note was last updated
454
+ */
455
+ _updated_at?: string; // date-time
456
+ /**
457
+ * The Entity ID of the User that created this Note
458
+ */
459
+ _created_by?: /* The Entity ID of the User that created this Note */ string | number;
460
+ /**
461
+ * Tags associated with this Note
462
+ */
463
+ _tags?: string[];
464
+ /**
465
+ * Access Control List for this Note entry
466
+ */
467
+ _acl?: {
468
+ [name: string]: string[];
469
+ };
470
+ _owners?: {
471
+ org_id: string;
472
+ user_id: string;
473
+ }[];
474
+ /**
475
+ * Entity ID of the Note entry
476
+ */
477
+ type?: string;
478
+ context_entities?: {
479
+ $relation: {
480
+ entity_id: string;
481
+ }[];
482
+ };
483
+ parent?: /* The Note's parent Note */ NoteEntityParent;
484
+ /**
485
+ * The Note's parent Note
486
+ */
487
+ attachments?: {
488
+ $relation?: {
489
+ entity_id: string;
490
+ }[];
491
+ };
492
+ /**
493
+ * The content of the Note
494
+ */
495
+ content?: string;
496
+ contexts?: {
497
+ type: ContextType;
498
+ id: string;
499
+ }[];
500
+ /**
501
+ * The timestamp of when this Note was pinned
502
+ */
503
+ pinned_at?: string; // date-time
504
+ /**
505
+ * The timestamp of when this Note was last updated
506
+ */
507
+ edited_at?: string; // date-time
508
+ created_by?: {
509
+ type: "user" | "group";
510
+ user_id?: string;
511
+ display_name?: string;
512
+ org_id?: string;
513
+ email?: string;
514
+ phone?: string;
515
+ }[];
516
+ /**
517
+ * List of user IDs who have read this note
518
+ */
519
+ read_by?: string[];
520
+ /**
521
+ * Reactions to the note, keyed by reaction type, with an array of user IDs for each type
522
+ */
523
+ reactions?: {
524
+ [name: string]: string[];
525
+ };
526
+ }
527
+ export interface NoteSearchByContextRequestBody {
528
+ contexts: [
529
+ {
530
+ type: ContextType;
531
+ id: string;
532
+ },
533
+ ...{
534
+ type: ContextType;
535
+ id: string;
536
+ }[]
537
+ ];
538
+ /**
539
+ * When set, the API resolves related entities of these schemas for the primary entity context and includes their notes in the results.
540
+ */
541
+ include_related_schemas?: string[];
542
+ /**
543
+ * The index of the first Note to return in this query
544
+ */
545
+ from?: number;
546
+ /**
547
+ * The number of Note entries to return in this query
548
+ */
549
+ size?: number;
550
+ }
551
+ export interface NotesSearchRequestResponse {
552
+ /**
553
+ * The number of Note entries returned in this query
554
+ */
555
+ hits?: number;
556
+ /**
557
+ * The Note entries returned in this query
558
+ */
559
+ results: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
560
+ }
561
+ export interface ReactionRequest {
562
+ /**
563
+ * The emoji identifier (e.g., 'thumbs-up', 'heart', 'thinking-face')
564
+ * example:
565
+ * thumbs-up
566
+ */
567
+ emoji: string;
568
+ }
569
+ export interface ToggleReactionsRequest {
570
+ /**
571
+ * Array of emoji identifiers to toggle (e.g., ['thumbs-up', 'heart', 'thinking-face'])
572
+ * example:
573
+ * [
574
+ * "thumbs-up",
575
+ * "heart"
576
+ * ]
577
+ */
578
+ emojis: string[];
579
+ }
580
+ /**
581
+ * Base metadata for a Workflow Execution. This is a lightweight representation of a Workflow Execution, and does not contain all it's data
582
+ */
583
+ export interface WorkflowExecution {
584
+ id: string;
585
+ definitionId: string;
586
+ orgId: string;
587
+ name: string;
588
+ }
589
+ }
590
+ }
591
+ declare namespace Paths {
592
+ namespace AddNoteReaction {
593
+ namespace Parameters {
594
+ /**
595
+ * The Entity ID of the Note entry to add reaction to
596
+ */
597
+ export type Id = string;
598
+ }
599
+ export interface PathParameters {
600
+ id: /* The Entity ID of the Note entry to add reaction to */ Parameters.Id;
601
+ }
602
+ export type RequestBody = Components.Schemas.ReactionRequest;
603
+ namespace Responses {
604
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
605
+ }
606
+ }
607
+ namespace CreateNote {
608
+ export type RequestBody = Components.Schemas.NotePostRequestBody;
609
+ namespace Responses {
610
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
611
+ }
612
+ }
613
+ namespace DeleteNote {
614
+ namespace Parameters {
615
+ /**
616
+ * The Entity ID of the Note entry to delete
617
+ */
618
+ export type Id = string;
619
+ }
620
+ export interface PathParameters {
621
+ id: /* The Entity ID of the Note entry to delete */ Parameters.Id;
622
+ }
623
+ namespace Responses {
624
+ export interface $200 {
625
+ }
626
+ }
627
+ }
628
+ namespace GetNote {
629
+ namespace Parameters {
630
+ /**
631
+ * Whether to hydrate the Note's relation attributes
632
+ */
633
+ export type Hydrate = boolean;
634
+ /**
635
+ * The Entity ID of the Note entry to retrieve
636
+ */
637
+ export type Id = string;
638
+ }
639
+ export interface PathParameters {
640
+ id: /* The Entity ID of the Note entry to retrieve */ Parameters.Id;
641
+ }
642
+ export interface QueryParameters {
643
+ hydrate?: /* Whether to hydrate the Note's relation attributes */ Parameters.Hydrate;
644
+ }
645
+ namespace Responses {
646
+ export type $200 = /* Base Entity schema */ Components.Schemas.NoteGetRequestResponse;
647
+ }
648
+ }
649
+ namespace GetNoteContexts {
650
+ namespace Parameters {
651
+ /**
652
+ * The Entity ID of the Note entry to get contexts for
653
+ */
654
+ export type Id = string;
655
+ }
656
+ export interface PathParameters {
657
+ id: /* The Entity ID of the Note entry to get contexts for */ Parameters.Id;
658
+ }
659
+ namespace Responses {
660
+ export type $200 = /* List of resolved Entity and non-Entity contexts attached to a given Note. */ Components.Schemas.NoteContexts[];
661
+ }
662
+ }
663
+ namespace GetNotesByContext {
664
+ namespace Parameters {
665
+ export type Contexts = {
666
+ type: Components.Schemas.ContextType;
667
+ id: string;
668
+ }[];
669
+ /**
670
+ * The ID of the Contextual Entity from where to retrieve Notes
671
+ */
672
+ export type EntityId = string;
673
+ /**
674
+ * The index of the first Note to return in this query
675
+ */
676
+ export type From = number;
677
+ /**
678
+ * The number of Note entries to return in this query
679
+ */
680
+ export type Size = number;
681
+ }
682
+ export interface PathParameters {
683
+ entity_id: /* The ID of the Contextual Entity from where to retrieve Notes */ Parameters.EntityId;
684
+ }
685
+ export interface QueryParameters {
686
+ contexts?: Parameters.Contexts;
687
+ from?: /* The index of the first Note to return in this query */ Parameters.From;
688
+ size?: /* The number of Note entries to return in this query */ Parameters.Size;
689
+ }
690
+ namespace Responses {
691
+ export type $200 = Components.Schemas.NotesSearchRequestResponse;
692
+ }
693
+ }
694
+ namespace PatchNote {
695
+ namespace Parameters {
696
+ /**
697
+ * The Entity ID of the Note entry to update
698
+ */
699
+ export type Id = string;
700
+ }
701
+ export interface PathParameters {
702
+ id: /* The Entity ID of the Note entry to update */ Parameters.Id;
703
+ }
704
+ export type RequestBody = Components.Schemas.NotePatchRequestBody;
705
+ namespace Responses {
706
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
707
+ }
708
+ }
709
+ namespace PinNote {
710
+ namespace Parameters {
711
+ /**
712
+ * The Entity ID of the Note entry to pin
713
+ */
714
+ export type Id = string;
715
+ }
716
+ export interface PathParameters {
717
+ id: /* The Entity ID of the Note entry to pin */ Parameters.Id;
718
+ }
719
+ namespace Responses {
720
+ export interface $200 {
721
+ }
722
+ }
723
+ }
724
+ namespace RemoveNoteReaction {
725
+ namespace Parameters {
726
+ /**
727
+ * The emoji to remove from the note
728
+ */
729
+ export type EmojiShortcode = string;
730
+ /**
731
+ * The Entity ID of the Note entry to remove reaction from
732
+ */
733
+ export type Id = string;
734
+ }
735
+ export interface PathParameters {
736
+ id: /* The Entity ID of the Note entry to remove reaction from */ Parameters.Id;
737
+ emoji_shortcode: /* The emoji to remove from the note */ Parameters.EmojiShortcode;
738
+ }
739
+ namespace Responses {
740
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
741
+ }
742
+ }
743
+ namespace SearchNotesByContext {
744
+ export type RequestBody = Components.Schemas.NoteSearchByContextRequestBody;
745
+ namespace Responses {
746
+ export type $200 = Components.Schemas.NotesSearchRequestResponse;
747
+ }
748
+ }
749
+ namespace ToggleNoteReactions {
750
+ namespace Parameters {
751
+ /**
752
+ * The Entity ID of the Note entry to toggle reactions on
753
+ */
754
+ export type Id = string;
755
+ }
756
+ export interface PathParameters {
757
+ id: /* The Entity ID of the Note entry to toggle reactions on */ Parameters.Id;
758
+ }
759
+ export type RequestBody = Components.Schemas.ToggleReactionsRequest;
760
+ namespace Responses {
761
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
762
+ }
763
+ }
764
+ namespace UpdateNote {
765
+ namespace Parameters {
766
+ /**
767
+ * The Entity ID of the Note entry to update
768
+ */
769
+ export type Id = string;
770
+ }
771
+ export interface PathParameters {
772
+ id: /* The Entity ID of the Note entry to update */ Parameters.Id;
773
+ }
774
+ export type RequestBody = Components.Schemas.NotePutRequestBody;
775
+ namespace Responses {
776
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
777
+ }
778
+ }
779
+ }
780
+
781
+
782
+ interface OperationMethods {
783
+ /**
784
+ * createNote - createNote
785
+ *
786
+ * Creates a new Note entry
787
+ */
788
+ 'createNote'(
789
+ parameters?: Parameters<UnknownParamsObject> | null,
790
+ data?: Paths.CreateNote.RequestBody,
791
+ config?: AxiosRequestConfig
792
+ ): OperationResponse<Paths.CreateNote.Responses.$200>
793
+ /**
794
+ * getNote - getNote
795
+ *
796
+ * Retrieves a single Note entry based on it's Entity ID
797
+ */
798
+ 'getNote'(
799
+ parameters?: Parameters<Paths.GetNote.QueryParameters & Paths.GetNote.PathParameters> | null,
800
+ data?: any,
801
+ config?: AxiosRequestConfig
802
+ ): OperationResponse<Paths.GetNote.Responses.$200>
803
+ /**
804
+ * updateNote - updateNote
805
+ *
806
+ * Updates an existing Note entry
807
+ */
808
+ 'updateNote'(
809
+ parameters?: Parameters<Paths.UpdateNote.PathParameters> | null,
810
+ data?: Paths.UpdateNote.RequestBody,
811
+ config?: AxiosRequestConfig
812
+ ): OperationResponse<Paths.UpdateNote.Responses.$200>
813
+ /**
814
+ * patchNote - patchNote
815
+ *
816
+ * Updates an existing Note entry
817
+ */
818
+ 'patchNote'(
819
+ parameters?: Parameters<Paths.PatchNote.PathParameters> | null,
820
+ data?: Paths.PatchNote.RequestBody,
821
+ config?: AxiosRequestConfig
822
+ ): OperationResponse<Paths.PatchNote.Responses.$200>
823
+ /**
824
+ * deleteNote - deleteNote
825
+ *
826
+ * Deletes a single Note entry based on it's Entity ID
827
+ */
828
+ 'deleteNote'(
829
+ parameters?: Parameters<Paths.DeleteNote.PathParameters> | null,
830
+ data?: any,
831
+ config?: AxiosRequestConfig
832
+ ): OperationResponse<Paths.DeleteNote.Responses.$200>
833
+ /**
834
+ * searchNotesByContext - searchNotesByContext
835
+ *
836
+ * Search for a paginated list of Notes based on one or more contexts
837
+ */
838
+ 'searchNotesByContext'(
839
+ parameters?: Parameters<UnknownParamsObject> | null,
840
+ data?: Paths.SearchNotesByContext.RequestBody,
841
+ config?: AxiosRequestConfig
842
+ ): OperationResponse<Paths.SearchNotesByContext.Responses.$200>
843
+ /**
844
+ * getNotesByContext - getNotesByContext
845
+ *
846
+ * Given a `context_type`, returns a list of Notes that belong to that context within the specified `id`.
847
+ * This endpoint is deprecated but will be kept for backwards compatibility. Please use the `searchNotesByContext` endpoint instead.
848
+ */
849
+ 'getNotesByContext'(
850
+ parameters?: Parameters<Paths.GetNotesByContext.QueryParameters & Paths.GetNotesByContext.PathParameters> | null,
851
+ data?: any,
852
+ config?: AxiosRequestConfig
853
+ ): OperationResponse<Paths.GetNotesByContext.Responses.$200>
854
+ /**
855
+ * pinNote - pinNote
856
+ *
857
+ * Pins a single Note entry based on it's Entity ID
858
+ */
859
+ 'pinNote'(
860
+ parameters?: Parameters<Paths.PinNote.PathParameters> | null,
861
+ data?: any,
862
+ config?: AxiosRequestConfig
863
+ ): OperationResponse<Paths.PinNote.Responses.$200>
864
+ /**
865
+ * getNoteContexts - getNoteContexts
866
+ *
867
+ * Gets all the Entity and non-Entity records the Note is contextually attached to
868
+ */
869
+ 'getNoteContexts'(
870
+ parameters?: Parameters<Paths.GetNoteContexts.PathParameters> | null,
871
+ data?: any,
872
+ config?: AxiosRequestConfig
873
+ ): OperationResponse<Paths.GetNoteContexts.Responses.$200>
874
+ /**
875
+ * addNoteReaction - addNoteReaction
876
+ *
877
+ * Adds an emoji reaction to a note
878
+ */
879
+ 'addNoteReaction'(
880
+ parameters?: Parameters<Paths.AddNoteReaction.PathParameters> | null,
881
+ data?: Paths.AddNoteReaction.RequestBody,
882
+ config?: AxiosRequestConfig
883
+ ): OperationResponse<Paths.AddNoteReaction.Responses.$200>
884
+ /**
885
+ * removeNoteReaction - removeNoteReaction
886
+ *
887
+ * Removes an emoji reaction from a note
888
+ */
889
+ 'removeNoteReaction'(
890
+ parameters?: Parameters<Paths.RemoveNoteReaction.PathParameters> | null,
891
+ data?: any,
892
+ config?: AxiosRequestConfig
893
+ ): OperationResponse<Paths.RemoveNoteReaction.Responses.$200>
894
+ /**
895
+ * toggleNoteReactions - toggleNoteReactions
896
+ *
897
+ * 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.
898
+ */
899
+ 'toggleNoteReactions'(
900
+ parameters?: Parameters<Paths.ToggleNoteReactions.PathParameters> | null,
901
+ data?: Paths.ToggleNoteReactions.RequestBody,
902
+ config?: AxiosRequestConfig
903
+ ): OperationResponse<Paths.ToggleNoteReactions.Responses.$200>
904
+ }
905
+
906
+ interface PathsDictionary {
907
+ ['/v1/note']: {
908
+ /**
909
+ * createNote - createNote
910
+ *
911
+ * Creates a new Note entry
912
+ */
913
+ 'post'(
914
+ parameters?: Parameters<UnknownParamsObject> | null,
915
+ data?: Paths.CreateNote.RequestBody,
916
+ config?: AxiosRequestConfig
917
+ ): OperationResponse<Paths.CreateNote.Responses.$200>
918
+ }
919
+ ['/v1/note/{id}']: {
920
+ /**
921
+ * getNote - getNote
922
+ *
923
+ * Retrieves a single Note entry based on it's Entity ID
924
+ */
925
+ 'get'(
926
+ parameters?: Parameters<Paths.GetNote.QueryParameters & Paths.GetNote.PathParameters> | null,
927
+ data?: any,
928
+ config?: AxiosRequestConfig
929
+ ): OperationResponse<Paths.GetNote.Responses.$200>
930
+ /**
931
+ * patchNote - patchNote
932
+ *
933
+ * Updates an existing Note entry
934
+ */
935
+ 'patch'(
936
+ parameters?: Parameters<Paths.PatchNote.PathParameters> | null,
937
+ data?: Paths.PatchNote.RequestBody,
938
+ config?: AxiosRequestConfig
939
+ ): OperationResponse<Paths.PatchNote.Responses.$200>
940
+ /**
941
+ * updateNote - updateNote
942
+ *
943
+ * Updates an existing Note entry
944
+ */
945
+ 'put'(
946
+ parameters?: Parameters<Paths.UpdateNote.PathParameters> | null,
947
+ data?: Paths.UpdateNote.RequestBody,
948
+ config?: AxiosRequestConfig
949
+ ): OperationResponse<Paths.UpdateNote.Responses.$200>
950
+ /**
951
+ * deleteNote - deleteNote
952
+ *
953
+ * Deletes a single Note entry based on it's Entity ID
954
+ */
955
+ 'delete'(
956
+ parameters?: Parameters<Paths.DeleteNote.PathParameters> | null,
957
+ data?: any,
958
+ config?: AxiosRequestConfig
959
+ ): OperationResponse<Paths.DeleteNote.Responses.$200>
960
+ }
961
+ ['/v1/notes:search']: {
962
+ /**
963
+ * searchNotesByContext - searchNotesByContext
964
+ *
965
+ * Search for a paginated list of Notes based on one or more contexts
966
+ */
967
+ 'post'(
968
+ parameters?: Parameters<UnknownParamsObject> | null,
969
+ data?: Paths.SearchNotesByContext.RequestBody,
970
+ config?: AxiosRequestConfig
971
+ ): OperationResponse<Paths.SearchNotesByContext.Responses.$200>
972
+ }
973
+ ['/v1/notes/{entity_id}']: {
974
+ /**
975
+ * getNotesByContext - getNotesByContext
976
+ *
977
+ * Given a `context_type`, returns a list of Notes that belong to that context within the specified `id`.
978
+ * This endpoint is deprecated but will be kept for backwards compatibility. Please use the `searchNotesByContext` endpoint instead.
979
+ */
980
+ 'get'(
981
+ parameters?: Parameters<Paths.GetNotesByContext.QueryParameters & Paths.GetNotesByContext.PathParameters> | null,
982
+ data?: any,
983
+ config?: AxiosRequestConfig
984
+ ): OperationResponse<Paths.GetNotesByContext.Responses.$200>
985
+ }
986
+ ['/v1/note/{id}/pin']: {
987
+ /**
988
+ * pinNote - pinNote
989
+ *
990
+ * Pins a single Note entry based on it's Entity ID
991
+ */
992
+ 'post'(
993
+ parameters?: Parameters<Paths.PinNote.PathParameters> | null,
994
+ data?: any,
995
+ config?: AxiosRequestConfig
996
+ ): OperationResponse<Paths.PinNote.Responses.$200>
997
+ }
998
+ ['/v1/note/{id}/context']: {
999
+ /**
1000
+ * getNoteContexts - getNoteContexts
1001
+ *
1002
+ * Gets all the Entity and non-Entity records the Note is contextually attached to
1003
+ */
1004
+ 'get'(
1005
+ parameters?: Parameters<Paths.GetNoteContexts.PathParameters> | null,
1006
+ data?: any,
1007
+ config?: AxiosRequestConfig
1008
+ ): OperationResponse<Paths.GetNoteContexts.Responses.$200>
1009
+ }
1010
+ ['/v1/note/{id}/reaction']: {
1011
+ /**
1012
+ * addNoteReaction - addNoteReaction
1013
+ *
1014
+ * Adds an emoji reaction to a note
1015
+ */
1016
+ 'post'(
1017
+ parameters?: Parameters<Paths.AddNoteReaction.PathParameters> | null,
1018
+ data?: Paths.AddNoteReaction.RequestBody,
1019
+ config?: AxiosRequestConfig
1020
+ ): OperationResponse<Paths.AddNoteReaction.Responses.$200>
1021
+ }
1022
+ ['/v1/note/{id}/reaction/{emoji_shortcode}']: {
1023
+ /**
1024
+ * removeNoteReaction - removeNoteReaction
1025
+ *
1026
+ * Removes an emoji reaction from a note
1027
+ */
1028
+ 'delete'(
1029
+ parameters?: Parameters<Paths.RemoveNoteReaction.PathParameters> | null,
1030
+ data?: any,
1031
+ config?: AxiosRequestConfig
1032
+ ): OperationResponse<Paths.RemoveNoteReaction.Responses.$200>
1033
+ }
1034
+ ['/v1/note/{id}/reactions/toggle']: {
1035
+ /**
1036
+ * toggleNoteReactions - toggleNoteReactions
1037
+ *
1038
+ * 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.
1039
+ */
1040
+ 'post'(
1041
+ parameters?: Parameters<Paths.ToggleNoteReactions.PathParameters> | null,
1042
+ data?: Paths.ToggleNoteReactions.RequestBody,
1043
+ config?: AxiosRequestConfig
1044
+ ): OperationResponse<Paths.ToggleNoteReactions.Responses.$200>
1045
+ }
1046
+ }
1047
+
1048
+ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
1049
+
1050
+
1051
+ type ContextType = Components.Schemas.ContextType;
1052
+ type CreatedByType = Components.Schemas.CreatedByType;
1053
+ type Entity = Components.Schemas.Entity;
1054
+ type NonHydratedNoteEntity = Components.Schemas.NonHydratedNoteEntity;
1055
+ type NoteContexts = Components.Schemas.NoteContexts;
1056
+ type NoteEntity = Components.Schemas.NoteEntity;
1057
+ type NoteEntityParent = Components.Schemas.NoteEntityParent;
1058
+ type NoteGetRequestResponse = Components.Schemas.NoteGetRequestResponse;
1059
+ type NotePatchRequestBody = Components.Schemas.NotePatchRequestBody;
1060
+ type NotePostRequestBody = Components.Schemas.NotePostRequestBody;
1061
+ type NotePutRequestBody = Components.Schemas.NotePutRequestBody;
1062
+ type NoteSearchByContextRequestBody = Components.Schemas.NoteSearchByContextRequestBody;
1063
+ type NotesSearchRequestResponse = Components.Schemas.NotesSearchRequestResponse;
1064
+ type ReactionRequest = Components.Schemas.ReactionRequest;
1065
+ type ToggleReactionsRequest = Components.Schemas.ToggleReactionsRequest;
1066
+ type WorkflowExecution = Components.Schemas.WorkflowExecution;
1067
+
1068
+ export { type Client as C, type Entity as E, type NonHydratedNoteEntity as N, type OperationMethods as O, Paths as P, type ReactionRequest as R, type ToggleReactionsRequest as T, type WorkflowExecution as W, Components as a, type PathsDictionary as b, type ContextType as c, type CreatedByType as d, type NoteContexts as e, type NoteEntity as f, type NoteEntityParent as g, type NoteGetRequestResponse as h, type NotePatchRequestBody as i, type NotePostRequestBody as j, type NotePutRequestBody as k, type NoteSearchByContextRequestBody as l, type NotesSearchRequestResponse as m };