@epilot/sdk 2.0.0-alpha.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/README.md +294 -0
  2. package/dist/access-token-MYDOBCIY.cjs +89 -0
  3. package/dist/access-token-Y5JR7PRG.js +89 -0
  4. package/dist/access-token.d-C2qnueDV.d.cts +553 -0
  5. package/dist/access-token.d-C2qnueDV.d.ts +553 -0
  6. package/dist/address-3RQRG3MK.js +84 -0
  7. package/dist/address-LQUTDOUA.cjs +84 -0
  8. package/dist/address-suggestions-PEKSA7B2.cjs +132 -0
  9. package/dist/address-suggestions-QNK5JWNH.js +132 -0
  10. package/dist/address-suggestions.d-CewXYNYH.d.cts +340 -0
  11. package/dist/address-suggestions.d-CewXYNYH.d.ts +340 -0
  12. package/dist/address.d-DP_aE2ex.d.cts +438 -0
  13. package/dist/address.d-DP_aE2ex.d.ts +438 -0
  14. package/dist/ai-agents-MO4PK2RJ.cjs +215 -0
  15. package/dist/ai-agents-OHP2F243.js +215 -0
  16. package/dist/ai-agents.d-vG-1utqk.d.cts +1340 -0
  17. package/dist/ai-agents.d-vG-1utqk.d.ts +1340 -0
  18. package/dist/apis/access-token.cjs +33 -0
  19. package/dist/apis/access-token.d.cts +18 -0
  20. package/dist/apis/access-token.d.ts +18 -0
  21. package/dist/apis/access-token.js +33 -0
  22. package/dist/apis/address-suggestions.cjs +33 -0
  23. package/dist/apis/address-suggestions.d.cts +18 -0
  24. package/dist/apis/address-suggestions.d.ts +18 -0
  25. package/dist/apis/address-suggestions.js +33 -0
  26. package/dist/apis/address.cjs +33 -0
  27. package/dist/apis/address.d.cts +18 -0
  28. package/dist/apis/address.d.ts +18 -0
  29. package/dist/apis/address.js +33 -0
  30. package/dist/apis/ai-agents.cjs +33 -0
  31. package/dist/apis/ai-agents.d.cts +18 -0
  32. package/dist/apis/ai-agents.d.ts +18 -0
  33. package/dist/apis/ai-agents.js +33 -0
  34. package/dist/apis/app.cjs +33 -0
  35. package/dist/apis/app.d.cts +18 -0
  36. package/dist/apis/app.d.ts +18 -0
  37. package/dist/apis/app.js +33 -0
  38. package/dist/apis/audit-logs.cjs +33 -0
  39. package/dist/apis/audit-logs.d.cts +18 -0
  40. package/dist/apis/audit-logs.d.ts +18 -0
  41. package/dist/apis/audit-logs.js +33 -0
  42. package/dist/apis/automation.cjs +33 -0
  43. package/dist/apis/automation.d.cts +18 -0
  44. package/dist/apis/automation.d.ts +18 -0
  45. package/dist/apis/automation.js +33 -0
  46. package/dist/apis/billing.cjs +33 -0
  47. package/dist/apis/billing.d.cts +18 -0
  48. package/dist/apis/billing.d.ts +18 -0
  49. package/dist/apis/billing.js +33 -0
  50. package/dist/apis/blueprint-manifest.cjs +33 -0
  51. package/dist/apis/blueprint-manifest.d.cts +18 -0
  52. package/dist/apis/blueprint-manifest.d.ts +18 -0
  53. package/dist/apis/blueprint-manifest.js +33 -0
  54. package/dist/apis/consent.cjs +33 -0
  55. package/dist/apis/consent.d.cts +18 -0
  56. package/dist/apis/consent.d.ts +18 -0
  57. package/dist/apis/consent.js +33 -0
  58. package/dist/apis/customer-portal.cjs +33 -0
  59. package/dist/apis/customer-portal.d.cts +18 -0
  60. package/dist/apis/customer-portal.d.ts +18 -0
  61. package/dist/apis/customer-portal.js +33 -0
  62. package/dist/apis/data-management.cjs +33 -0
  63. package/dist/apis/data-management.d.cts +18 -0
  64. package/dist/apis/data-management.d.ts +18 -0
  65. package/dist/apis/data-management.js +33 -0
  66. package/dist/apis/deduplication.cjs +33 -0
  67. package/dist/apis/deduplication.d.cts +18 -0
  68. package/dist/apis/deduplication.d.ts +18 -0
  69. package/dist/apis/deduplication.js +33 -0
  70. package/dist/apis/design.cjs +33 -0
  71. package/dist/apis/design.d.cts +18 -0
  72. package/dist/apis/design.d.ts +18 -0
  73. package/dist/apis/design.js +33 -0
  74. package/dist/apis/discussion.cjs +33 -0
  75. package/dist/apis/discussion.d.cts +18 -0
  76. package/dist/apis/discussion.d.ts +18 -0
  77. package/dist/apis/discussion.js +33 -0
  78. package/dist/apis/document.cjs +33 -0
  79. package/dist/apis/document.d.cts +18 -0
  80. package/dist/apis/document.d.ts +18 -0
  81. package/dist/apis/document.js +33 -0
  82. package/dist/apis/email-settings.cjs +33 -0
  83. package/dist/apis/email-settings.d.cts +18 -0
  84. package/dist/apis/email-settings.d.ts +18 -0
  85. package/dist/apis/email-settings.js +33 -0
  86. package/dist/apis/email-template.cjs +33 -0
  87. package/dist/apis/email-template.d.cts +18 -0
  88. package/dist/apis/email-template.d.ts +18 -0
  89. package/dist/apis/email-template.js +33 -0
  90. package/dist/apis/entity-mapping.cjs +33 -0
  91. package/dist/apis/entity-mapping.d.cts +18 -0
  92. package/dist/apis/entity-mapping.d.ts +18 -0
  93. package/dist/apis/entity-mapping.js +33 -0
  94. package/dist/apis/entity.cjs +33 -0
  95. package/dist/apis/entity.d.cts +18 -0
  96. package/dist/apis/entity.d.ts +18 -0
  97. package/dist/apis/entity.js +33 -0
  98. package/dist/apis/environments.cjs +33 -0
  99. package/dist/apis/environments.d.cts +18 -0
  100. package/dist/apis/environments.d.ts +18 -0
  101. package/dist/apis/environments.js +33 -0
  102. package/dist/apis/erp-integration.cjs +33 -0
  103. package/dist/apis/erp-integration.d.cts +18 -0
  104. package/dist/apis/erp-integration.d.ts +18 -0
  105. package/dist/apis/erp-integration.js +33 -0
  106. package/dist/apis/event-catalog.cjs +33 -0
  107. package/dist/apis/event-catalog.d.cts +18 -0
  108. package/dist/apis/event-catalog.d.ts +18 -0
  109. package/dist/apis/event-catalog.js +33 -0
  110. package/dist/apis/file.cjs +33 -0
  111. package/dist/apis/file.d.cts +18 -0
  112. package/dist/apis/file.d.ts +18 -0
  113. package/dist/apis/file.js +33 -0
  114. package/dist/apis/iban.cjs +33 -0
  115. package/dist/apis/iban.d.cts +18 -0
  116. package/dist/apis/iban.d.ts +18 -0
  117. package/dist/apis/iban.js +33 -0
  118. package/dist/apis/journey.cjs +33 -0
  119. package/dist/apis/journey.d.cts +18 -0
  120. package/dist/apis/journey.d.ts +18 -0
  121. package/dist/apis/journey.js +33 -0
  122. package/dist/apis/kanban.cjs +33 -0
  123. package/dist/apis/kanban.d.cts +18 -0
  124. package/dist/apis/kanban.d.ts +18 -0
  125. package/dist/apis/kanban.js +33 -0
  126. package/dist/apis/message.cjs +33 -0
  127. package/dist/apis/message.d.cts +18 -0
  128. package/dist/apis/message.d.ts +18 -0
  129. package/dist/apis/message.js +33 -0
  130. package/dist/apis/metering.cjs +33 -0
  131. package/dist/apis/metering.d.cts +18 -0
  132. package/dist/apis/metering.d.ts +18 -0
  133. package/dist/apis/metering.js +33 -0
  134. package/dist/apis/notes.cjs +33 -0
  135. package/dist/apis/notes.d.cts +18 -0
  136. package/dist/apis/notes.d.ts +18 -0
  137. package/dist/apis/notes.js +33 -0
  138. package/dist/apis/notification.cjs +33 -0
  139. package/dist/apis/notification.d.cts +18 -0
  140. package/dist/apis/notification.d.ts +18 -0
  141. package/dist/apis/notification.js +33 -0
  142. package/dist/apis/organization.cjs +33 -0
  143. package/dist/apis/organization.d.cts +18 -0
  144. package/dist/apis/organization.d.ts +18 -0
  145. package/dist/apis/organization.js +33 -0
  146. package/dist/apis/partner-directory.cjs +33 -0
  147. package/dist/apis/partner-directory.d.cts +18 -0
  148. package/dist/apis/partner-directory.d.ts +18 -0
  149. package/dist/apis/partner-directory.js +33 -0
  150. package/dist/apis/permissions.cjs +33 -0
  151. package/dist/apis/permissions.d.cts +18 -0
  152. package/dist/apis/permissions.d.ts +18 -0
  153. package/dist/apis/permissions.js +33 -0
  154. package/dist/apis/pricing-tier.cjs +33 -0
  155. package/dist/apis/pricing-tier.d.cts +18 -0
  156. package/dist/apis/pricing-tier.d.ts +18 -0
  157. package/dist/apis/pricing-tier.js +33 -0
  158. package/dist/apis/pricing.cjs +33 -0
  159. package/dist/apis/pricing.d.cts +18 -0
  160. package/dist/apis/pricing.d.ts +18 -0
  161. package/dist/apis/pricing.js +33 -0
  162. package/dist/apis/purpose.cjs +33 -0
  163. package/dist/apis/purpose.d.cts +18 -0
  164. package/dist/apis/purpose.d.ts +18 -0
  165. package/dist/apis/purpose.js +33 -0
  166. package/dist/apis/sandbox.cjs +33 -0
  167. package/dist/apis/sandbox.d.cts +18 -0
  168. package/dist/apis/sandbox.d.ts +18 -0
  169. package/dist/apis/sandbox.js +33 -0
  170. package/dist/apis/submission.cjs +33 -0
  171. package/dist/apis/submission.d.cts +18 -0
  172. package/dist/apis/submission.d.ts +18 -0
  173. package/dist/apis/submission.js +33 -0
  174. package/dist/apis/targeting.cjs +33 -0
  175. package/dist/apis/targeting.d.cts +18 -0
  176. package/dist/apis/targeting.d.ts +18 -0
  177. package/dist/apis/targeting.js +33 -0
  178. package/dist/apis/template-variables.cjs +33 -0
  179. package/dist/apis/template-variables.d.cts +18 -0
  180. package/dist/apis/template-variables.d.ts +18 -0
  181. package/dist/apis/template-variables.js +33 -0
  182. package/dist/apis/user.cjs +33 -0
  183. package/dist/apis/user.d.cts +18 -0
  184. package/dist/apis/user.d.ts +18 -0
  185. package/dist/apis/user.js +33 -0
  186. package/dist/apis/validation-rules.cjs +33 -0
  187. package/dist/apis/validation-rules.d.cts +18 -0
  188. package/dist/apis/validation-rules.d.ts +18 -0
  189. package/dist/apis/validation-rules.js +33 -0
  190. package/dist/apis/webhooks.cjs +33 -0
  191. package/dist/apis/webhooks.d.cts +18 -0
  192. package/dist/apis/webhooks.d.ts +18 -0
  193. package/dist/apis/webhooks.js +33 -0
  194. package/dist/apis/workflow-definition.cjs +33 -0
  195. package/dist/apis/workflow-definition.d.cts +18 -0
  196. package/dist/apis/workflow-definition.d.ts +18 -0
  197. package/dist/apis/workflow-definition.js +33 -0
  198. package/dist/apis/workflow.cjs +33 -0
  199. package/dist/apis/workflow.d.cts +18 -0
  200. package/dist/apis/workflow.d.ts +18 -0
  201. package/dist/apis/workflow.js +33 -0
  202. package/dist/app-UUTBO3WJ.js +573 -0
  203. package/dist/app-XJGY6SHO.cjs +573 -0
  204. package/dist/app.d-Uncn387s.d.cts +3370 -0
  205. package/dist/app.d-Uncn387s.d.ts +3370 -0
  206. package/dist/audit-logs-4IJYIOXF.js +55 -0
  207. package/dist/audit-logs-UWLCPBB4.cjs +55 -0
  208. package/dist/audit-logs.d-BxZqONu5.d.cts +288 -0
  209. package/dist/audit-logs.d-BxZqONu5.d.ts +288 -0
  210. package/dist/automation-4UQADTDO.cjs +282 -0
  211. package/dist/automation-PVXTQLZX.js +282 -0
  212. package/dist/automation.d-BteCzeFn.d.cts +4921 -0
  213. package/dist/automation.d-BteCzeFn.d.ts +4921 -0
  214. package/dist/billing-FI4V4UX5.cjs +175 -0
  215. package/dist/billing-OMWNJHGW.js +175 -0
  216. package/dist/billing.d-BH4__05Y.d.cts +994 -0
  217. package/dist/billing.d-BH4__05Y.d.ts +994 -0
  218. package/dist/bin/cli.js +135 -0
  219. package/dist/blueprint-manifest-CPQAL76N.cjs +504 -0
  220. package/dist/blueprint-manifest-FIMGDHSH.js +504 -0
  221. package/dist/blueprint-manifest.d-CU4v09fj.d.cts +3327 -0
  222. package/dist/blueprint-manifest.d-CU4v09fj.d.ts +3327 -0
  223. package/dist/chunk-3RG5ZIWI.js +10 -0
  224. package/dist/chunk-OBGZSXTJ.cjs +10 -0
  225. package/dist/chunk-UJTFRZMS.js +65 -0
  226. package/dist/chunk-YLLKMXS3.cjs +65 -0
  227. package/dist/consent-NHDCDJMK.js +84 -0
  228. package/dist/consent-R5GU3WCK.cjs +84 -0
  229. package/dist/consent.d-BETWwU_2.d.cts +266 -0
  230. package/dist/consent.d-BETWwU_2.d.ts +266 -0
  231. package/dist/customer-portal-6AV2W43T.cjs +2252 -0
  232. package/dist/customer-portal-EY57GJYV.js +2252 -0
  233. package/dist/customer-portal.d-Co_I6psR.d.cts +15255 -0
  234. package/dist/customer-portal.d-Co_I6psR.d.ts +15255 -0
  235. package/dist/data-management-ILQUYNTN.cjs +240 -0
  236. package/dist/data-management-QMXOLOEG.js +240 -0
  237. package/dist/data-management.d-CkR2E_Pm.d.cts +548 -0
  238. package/dist/data-management.d-CkR2E_Pm.d.ts +548 -0
  239. package/dist/deduplication-IVXANO7S.cjs +42 -0
  240. package/dist/deduplication-WN45DVK3.js +42 -0
  241. package/dist/deduplication.d-BlHnjhXk.d.cts +114 -0
  242. package/dist/deduplication.d-BlHnjhXk.d.ts +114 -0
  243. package/dist/design-ONRLY6XI.cjs +219 -0
  244. package/dist/design-UHMRO3PG.js +219 -0
  245. package/dist/design.d-JsNY_cGh.d.cts +834 -0
  246. package/dist/design.d-JsNY_cGh.d.ts +834 -0
  247. package/dist/discussion-4CZIG3ZM.cjs +134 -0
  248. package/dist/discussion-VWMWL2AF.js +134 -0
  249. package/dist/discussion.d-CxxaYKTf.d.cts +580 -0
  250. package/dist/discussion.d-CxxaYKTf.d.ts +580 -0
  251. package/dist/document-CN3JNXFF.js +78 -0
  252. package/dist/document-PCKNZA4K.cjs +78 -0
  253. package/dist/document.d-CZ_FGhEn.d.cts +649 -0
  254. package/dist/document.d-CZ_FGhEn.d.ts +649 -0
  255. package/dist/email-settings-ANURQMKZ.js +533 -0
  256. package/dist/email-settings-YE2XB2ZU.cjs +533 -0
  257. package/dist/email-settings.d-3eXYEyRr.d.cts +2278 -0
  258. package/dist/email-settings.d-3eXYEyRr.d.ts +2278 -0
  259. package/dist/email-template-4QI4YS4J.js +122 -0
  260. package/dist/email-template-BUJBC6HH.cjs +122 -0
  261. package/dist/email-template.d-C2L0dKqB.d.cts +1175 -0
  262. package/dist/email-template.d-C2L0dKqB.d.ts +1175 -0
  263. package/dist/entity-BCFE3UJT.cjs +1600 -0
  264. package/dist/entity-VEXNQC4Y.js +1600 -0
  265. package/dist/entity-mapping-PHRLSYP7.cjs +215 -0
  266. package/dist/entity-mapping-QK7MGNAW.js +215 -0
  267. package/dist/entity-mapping.d-B3Vyepok.d.cts +1093 -0
  268. package/dist/entity-mapping.d-B3Vyepok.d.ts +1093 -0
  269. package/dist/entity.d-DmER_7q5.d.cts +16018 -0
  270. package/dist/entity.d-DmER_7q5.d.ts +16018 -0
  271. package/dist/environments-266S44UM.cjs +71 -0
  272. package/dist/environments-AV7W6SLT.js +71 -0
  273. package/dist/environments.d-CpILpSNF.d.cts +254 -0
  274. package/dist/environments.d-CpILpSNF.d.ts +254 -0
  275. package/dist/erp-integration-5WNBCGWS.cjs +586 -0
  276. package/dist/erp-integration-EMI5WIWA.js +586 -0
  277. package/dist/erp-integration.d-DmxUZOUQ.d.cts +4120 -0
  278. package/dist/erp-integration.d-DmxUZOUQ.d.ts +4120 -0
  279. package/dist/event-catalog-DBWYKQ6J.cjs +130 -0
  280. package/dist/event-catalog-KKMXV5LB.js +130 -0
  281. package/dist/event-catalog.d-B2tq20gn.d.cts +1512 -0
  282. package/dist/event-catalog.d-B2tq20gn.d.ts +1512 -0
  283. package/dist/file-3ZLMS6TL.js +573 -0
  284. package/dist/file-Q66N5XMG.cjs +573 -0
  285. package/dist/file.d-Bi0EZkNu.d.cts +2993 -0
  286. package/dist/file.d-Bi0EZkNu.d.ts +2993 -0
  287. package/dist/iban-HSXVSIFW.cjs +43 -0
  288. package/dist/iban-Q27INTOC.js +43 -0
  289. package/dist/iban.d-DP7hl0Qt.d.cts +71 -0
  290. package/dist/iban.d-DP7hl0Qt.d.ts +71 -0
  291. package/dist/index.cjs +563 -0
  292. package/dist/index.d.cts +119 -0
  293. package/dist/index.d.ts +119 -0
  294. package/dist/index.js +563 -0
  295. package/dist/journey-DGKXVWZQ.js +270 -0
  296. package/dist/journey-T2Y72EBS.cjs +270 -0
  297. package/dist/journey.d-DxL16X6N.d.cts +1794 -0
  298. package/dist/journey.d-DxL16X6N.d.ts +1794 -0
  299. package/dist/kanban-A4B6RCJ2.cjs +164 -0
  300. package/dist/kanban-PP6WJVT2.js +164 -0
  301. package/dist/kanban.d-DDrBwr9h.d.cts +631 -0
  302. package/dist/kanban.d-DDrBwr9h.d.ts +631 -0
  303. package/dist/message-D6JY4GJH.cjs +673 -0
  304. package/dist/message-HFX2DDCV.js +673 -0
  305. package/dist/message.d-BeBH6vof.d.cts +3580 -0
  306. package/dist/message.d-BeBH6vof.d.ts +3580 -0
  307. package/dist/metering-63MJFCS2.cjs +399 -0
  308. package/dist/metering-F63PNFCZ.js +399 -0
  309. package/dist/metering.d-D5VR4tVa.d.cts +1842 -0
  310. package/dist/metering.d-D5VR4tVa.d.ts +1842 -0
  311. package/dist/notes-FTL5H4JE.cjs +219 -0
  312. package/dist/notes-GMWTQCMB.js +219 -0
  313. package/dist/notes.d-DZYeVo0I.d.cts +1047 -0
  314. package/dist/notes.d-DZYeVo0I.d.ts +1047 -0
  315. package/dist/notification-WXFSOORN.cjs +237 -0
  316. package/dist/notification-XHG3TIBW.js +237 -0
  317. package/dist/notification.d-BJwdFZnG.d.cts +1148 -0
  318. package/dist/notification.d-BJwdFZnG.d.ts +1148 -0
  319. package/dist/organization-CPXTUDJO.js +118 -0
  320. package/dist/organization-XIFV7MWP.cjs +118 -0
  321. package/dist/organization.d-DfUcuwKM.d.cts +629 -0
  322. package/dist/organization.d-DfUcuwKM.d.ts +629 -0
  323. package/dist/partner-directory-4WCHPJRO.js +282 -0
  324. package/dist/partner-directory-FKWPPO7F.cjs +282 -0
  325. package/dist/partner-directory.d-BRRDHFcz.d.cts +1511 -0
  326. package/dist/partner-directory.d-BRRDHFcz.d.ts +1511 -0
  327. package/dist/permissions-5E36GPG3.js +178 -0
  328. package/dist/permissions-PBTK5CCD.cjs +178 -0
  329. package/dist/permissions.d-CL7SwMFy.d.cts +1253 -0
  330. package/dist/permissions.d-CL7SwMFy.d.ts +1253 -0
  331. package/dist/pricing-FDWEBIQU.js +439 -0
  332. package/dist/pricing-FZQKL4DW.cjs +439 -0
  333. package/dist/pricing-tier-34O624R4.js +36 -0
  334. package/dist/pricing-tier-F4HE6WIM.cjs +36 -0
  335. package/dist/pricing-tier.d-VuH-NtlR.d.cts +82 -0
  336. package/dist/pricing-tier.d-VuH-NtlR.d.ts +82 -0
  337. package/dist/pricing.d-Dd1CaSX_.d.cts +12201 -0
  338. package/dist/pricing.d-Dd1CaSX_.d.ts +12201 -0
  339. package/dist/purpose-47HJIG2Q.cjs +180 -0
  340. package/dist/purpose-MX33NU5H.js +180 -0
  341. package/dist/purpose.d-D8YCSqt9.d.cts +373 -0
  342. package/dist/purpose.d-D8YCSqt9.d.ts +373 -0
  343. package/dist/sandbox-7QNLGFN2.cjs +100 -0
  344. package/dist/sandbox-TZCXHBJN.js +100 -0
  345. package/dist/sandbox.d-D1NgPMEc.d.cts +466 -0
  346. package/dist/sandbox.d-D1NgPMEc.d.ts +466 -0
  347. package/dist/submission-6LSPBI27.js +55 -0
  348. package/dist/submission-DBQNDJ4B.cjs +55 -0
  349. package/dist/submission.d-e9MPrbY1.d.cts +470 -0
  350. package/dist/submission.d-e9MPrbY1.d.ts +470 -0
  351. package/dist/targeting-HZRCLNIF.cjs +275 -0
  352. package/dist/targeting-MTQ6JBCY.js +275 -0
  353. package/dist/targeting.d-1GW3nh-y.d.cts +2058 -0
  354. package/dist/targeting.d-1GW3nh-y.d.ts +2058 -0
  355. package/dist/template-variables-S6IXK7SF.js +159 -0
  356. package/dist/template-variables-VPNIMC7L.cjs +159 -0
  357. package/dist/template-variables.d-CqqGe3sd.d.cts +1315 -0
  358. package/dist/template-variables.d-CqqGe3sd.d.ts +1315 -0
  359. package/dist/types-C5cGIwtq.d.cts +28 -0
  360. package/dist/types-C5cGIwtq.d.ts +28 -0
  361. package/dist/user-BHH4DAA5.cjs +488 -0
  362. package/dist/user-KBXFVRPI.js +488 -0
  363. package/dist/user.d-CWBgUia2.d.cts +2199 -0
  364. package/dist/user.d-CWBgUia2.d.ts +2199 -0
  365. package/dist/validation-rules-4V7KAWGW.cjs +120 -0
  366. package/dist/validation-rules-UGQY4ASY.js +120 -0
  367. package/dist/validation-rules.d-CMSvveua.d.cts +808 -0
  368. package/dist/validation-rules.d-CMSvveua.d.ts +808 -0
  369. package/dist/webhooks-JR475VD4.js +252 -0
  370. package/dist/webhooks-X64U3KCB.cjs +252 -0
  371. package/dist/webhooks.d-Bzl-u_Zs.d.cts +1201 -0
  372. package/dist/webhooks.d-Bzl-u_Zs.d.ts +1201 -0
  373. package/dist/workflow-7ANPQZDP.cjs +402 -0
  374. package/dist/workflow-DWSAHA5Q.js +402 -0
  375. package/dist/workflow-definition-2M3JBCUI.cjs +342 -0
  376. package/dist/workflow-definition-WLPGEU55.js +342 -0
  377. package/dist/workflow-definition.d-BKmIy2Qp.d.cts +2030 -0
  378. package/dist/workflow-definition.d-BKmIy2Qp.d.ts +2030 -0
  379. package/dist/workflow.d-DElz0XoQ.d.cts +3017 -0
  380. package/dist/workflow.d-DElz0XoQ.d.ts +3017 -0
  381. package/package.json +289 -0
@@ -0,0 +1,1047 @@
1
+ import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
2
+
3
+ /* eslint-disable */
4
+ /* Auto-copied from notes-client */
5
+ /* eslint-disable */
6
+
7
+
8
+
9
+ declare namespace Components {
10
+ namespace Schemas {
11
+ export type ContextType = "workflow_execution" | "workflow_task" | "workflow_configuration" | "journey_configuration" | "entity";
12
+ export type CreatedByType = "user" | "group";
13
+ /**
14
+ * Base Entity schema
15
+ */
16
+ export interface Entity {
17
+ /**
18
+ * Entity ID of the Note entry
19
+ */
20
+ _id: string;
21
+ /**
22
+ * ID of the Organization that owns this Note
23
+ */
24
+ _org?: string;
25
+ /**
26
+ * The Entity schema of this Note
27
+ */
28
+ _schema?: string;
29
+ /**
30
+ * The timestamp of when this Note was created
31
+ */
32
+ _created_at?: string; // date-time
33
+ /**
34
+ * The timestamp of when this Note was last updated
35
+ */
36
+ _updated_at?: string; // date-time
37
+ /**
38
+ * The Entity ID of the User that created this Note
39
+ */
40
+ _created_by?: /* The Entity ID of the User that created this Note */ string | number;
41
+ /**
42
+ * Tags associated with this Note
43
+ */
44
+ _tags?: string[];
45
+ /**
46
+ * Access Control List for this Note entry
47
+ */
48
+ _acl?: {
49
+ [name: string]: string[];
50
+ };
51
+ _owners?: {
52
+ org_id: string;
53
+ user_id: string;
54
+ }[];
55
+ /**
56
+ * Entity ID of the Note entry
57
+ */
58
+ type?: string;
59
+ }
60
+ /**
61
+ * A note Entity object cotaining Entity metadata and content. Relational attributes are not hydrated in place.
62
+ */
63
+ export interface NonHydratedNoteEntity {
64
+ /**
65
+ * Entity ID of the Note entry
66
+ */
67
+ _id: string;
68
+ /**
69
+ * ID of the Organization that owns this Note
70
+ */
71
+ _org?: string;
72
+ /**
73
+ * The Entity schema of this Note
74
+ */
75
+ _schema?: string;
76
+ /**
77
+ * The timestamp of when this Note was created
78
+ */
79
+ _created_at?: string; // date-time
80
+ /**
81
+ * The timestamp of when this Note was last updated
82
+ */
83
+ _updated_at?: string; // date-time
84
+ /**
85
+ * The Entity ID of the User that created this Note
86
+ */
87
+ _created_by?: /* The Entity ID of the User that created this Note */ string | number;
88
+ /**
89
+ * Tags associated with this Note
90
+ */
91
+ _tags?: string[];
92
+ /**
93
+ * Access Control List for this Note entry
94
+ */
95
+ _acl?: {
96
+ [name: string]: string[];
97
+ };
98
+ _owners?: {
99
+ org_id: string;
100
+ user_id: string;
101
+ }[];
102
+ /**
103
+ * Entity ID of the Note entry
104
+ */
105
+ type?: string;
106
+ context_entities: {
107
+ $relation: {
108
+ entity_id: string;
109
+ }[];
110
+ };
111
+ parent?: /* The Note's parent Note */ NoteEntityParent;
112
+ /**
113
+ * The Note's parent Note
114
+ */
115
+ attachments?: {
116
+ $relation?: {
117
+ entity_id: string;
118
+ }[];
119
+ };
120
+ comments?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are not hydrated in place. */ NonHydratedNoteEntity[];
121
+ /**
122
+ * The content of the Note
123
+ */
124
+ content?: string;
125
+ contexts?: {
126
+ type: ContextType;
127
+ id: string;
128
+ }[];
129
+ /**
130
+ * The timestamp of when this Note was pinned
131
+ */
132
+ pinned_at?: string; // date-time
133
+ created_by?: {
134
+ type: "user" | "group";
135
+ user_id?: string;
136
+ display_name?: string;
137
+ org_id?: string;
138
+ email?: string;
139
+ phone?: string;
140
+ };
141
+ /**
142
+ * List of user IDs who have read this note
143
+ */
144
+ read_by?: string[];
145
+ /**
146
+ * Reactions to the note, keyed by reaction type, with an array of user IDs for each type
147
+ */
148
+ reactions?: {
149
+ [name: string]: string[];
150
+ };
151
+ }
152
+ /**
153
+ * List of resolved Entity and non-Entity contexts attached to a given Note.
154
+ */
155
+ export interface NoteContexts {
156
+ type: ContextType;
157
+ 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;
158
+ }
159
+ /**
160
+ * A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place.
161
+ */
162
+ export interface NoteEntity {
163
+ /**
164
+ * Entity ID of the Note entry
165
+ */
166
+ _id: string;
167
+ /**
168
+ * ID of the Organization that owns this Note
169
+ */
170
+ _org?: string;
171
+ /**
172
+ * The Entity schema of this Note
173
+ */
174
+ _schema?: string;
175
+ /**
176
+ * The timestamp of when this Note was created
177
+ */
178
+ _created_at?: string; // date-time
179
+ /**
180
+ * The timestamp of when this Note was last updated
181
+ */
182
+ _updated_at?: string; // date-time
183
+ /**
184
+ * The Entity ID of the User that created this Note
185
+ */
186
+ _created_by?: /* The Entity ID of the User that created this Note */ string | number;
187
+ /**
188
+ * Tags associated with this Note
189
+ */
190
+ _tags?: string[];
191
+ /**
192
+ * Access Control List for this Note entry
193
+ */
194
+ _acl?: {
195
+ [name: string]: string[];
196
+ };
197
+ _owners?: {
198
+ org_id: string;
199
+ user_id: string;
200
+ }[];
201
+ /**
202
+ * Entity ID of the Note entry
203
+ */
204
+ type?: string;
205
+ context_entities?: /* Base Entity schema */ Entity[];
206
+ parent?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
207
+ attachments?: /* Base Entity schema */ Entity[];
208
+ comments?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
209
+ /**
210
+ * The content of the Note
211
+ */
212
+ content?: string;
213
+ contexts?: {
214
+ type: ContextType;
215
+ id: string;
216
+ }[];
217
+ /**
218
+ * The timestamp of when this Note was pinned
219
+ */
220
+ pinned_at?: string; // date-time
221
+ /**
222
+ * The timestamp of when this Note was last updated
223
+ */
224
+ edited_at?: string; // date-time
225
+ created_by?: {
226
+ type: CreatedByType;
227
+ user_id?: string;
228
+ display_name?: string;
229
+ org_id?: string;
230
+ email?: string;
231
+ phone?: string;
232
+ };
233
+ /**
234
+ * List of user IDs who have read this note
235
+ */
236
+ read_by?: string[];
237
+ /**
238
+ * Reactions to the note, keyed by reaction type, with an array of user IDs for each type
239
+ */
240
+ reactions?: {
241
+ [name: string]: string[];
242
+ };
243
+ }
244
+ /**
245
+ * The Note's parent Note
246
+ */
247
+ export interface NoteEntityParent {
248
+ $relation?: {
249
+ entity_id: string;
250
+ }[];
251
+ }
252
+ /**
253
+ * Base Entity schema
254
+ */
255
+ export interface NoteGetRequestResponse {
256
+ /**
257
+ * Entity ID of the Note entry
258
+ */
259
+ _id: string;
260
+ /**
261
+ * ID of the Organization that owns this Note
262
+ */
263
+ _org?: string;
264
+ /**
265
+ * The Entity schema of this Note
266
+ */
267
+ _schema?: string;
268
+ /**
269
+ * The timestamp of when this Note was created
270
+ */
271
+ _created_at?: string; // date-time
272
+ /**
273
+ * The timestamp of when this Note was last updated
274
+ */
275
+ _updated_at?: string; // date-time
276
+ /**
277
+ * The Entity ID of the User that created this Note
278
+ */
279
+ _created_by?: /* The Entity ID of the User that created this Note */ string | number;
280
+ /**
281
+ * Tags associated with this Note
282
+ */
283
+ _tags?: string[];
284
+ /**
285
+ * Access Control List for this Note entry
286
+ */
287
+ _acl?: {
288
+ [name: string]: string[];
289
+ };
290
+ _owners?: {
291
+ org_id: string;
292
+ user_id: string;
293
+ }[];
294
+ /**
295
+ * Entity ID of the Note entry
296
+ */
297
+ type?: string;
298
+ context_entities?: /* Base Entity schema */ Entity[];
299
+ parent?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
300
+ attachments?: /* Base Entity schema */ Entity[];
301
+ comments?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
302
+ /**
303
+ * The content of the Note
304
+ */
305
+ content?: string;
306
+ contexts?: {
307
+ type: ContextType;
308
+ id: string;
309
+ }[];
310
+ /**
311
+ * The timestamp of when this Note was pinned
312
+ */
313
+ pinned_at?: string; // date-time
314
+ /**
315
+ * The timestamp of when this Note was last updated
316
+ */
317
+ edited_at?: string; // date-time
318
+ created_by?: {
319
+ type: CreatedByType;
320
+ user_id?: string;
321
+ display_name?: string;
322
+ org_id?: string;
323
+ email?: string;
324
+ phone?: string;
325
+ };
326
+ /**
327
+ * List of user IDs who have read this note
328
+ */
329
+ read_by?: string[];
330
+ /**
331
+ * Reactions to the note, keyed by reaction type, with an array of user IDs for each type
332
+ */
333
+ reactions?: {
334
+ [name: string]: string[];
335
+ };
336
+ }
337
+ export interface NotePatchRequestBody {
338
+ /**
339
+ * Tags associated with this Note
340
+ */
341
+ _tags?: string[];
342
+ /**
343
+ * Entity ID of the Note entry
344
+ */
345
+ type?: string;
346
+ /**
347
+ * The Note's parent Note
348
+ */
349
+ attachments?: {
350
+ $relation?: {
351
+ entity_id: string;
352
+ }[];
353
+ };
354
+ comments?: /* A note Entity object cotaining Entity metadata and content. Relational attributes are not hydrated in place. */ NonHydratedNoteEntity[];
355
+ /**
356
+ * The content of the Note
357
+ */
358
+ content?: string;
359
+ contexts?: {
360
+ type: ContextType;
361
+ id: string;
362
+ }[];
363
+ /**
364
+ * The timestamp of when this Note was pinned
365
+ */
366
+ pinned_at?: string; // date-time
367
+ created_by?: {
368
+ type: "user" | "group";
369
+ user_id?: string;
370
+ display_name?: string;
371
+ org_id?: string;
372
+ email?: string;
373
+ phone?: string;
374
+ };
375
+ /**
376
+ * List of user IDs who have read this note
377
+ */
378
+ read_by?: string[];
379
+ /**
380
+ * Reactions to the note, keyed by reaction type, with an array of user IDs for each type
381
+ */
382
+ reactions?: {
383
+ [name: string]: string[];
384
+ };
385
+ }
386
+ export interface NotePostRequestBody {
387
+ /**
388
+ * Tags associated with this Note
389
+ */
390
+ _tags?: string[];
391
+ /**
392
+ * Entity ID of the Note entry
393
+ */
394
+ type?: string;
395
+ /**
396
+ * 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.
397
+ */
398
+ entity_id?: string;
399
+ /**
400
+ * 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
401
+ */
402
+ parent_id?: string;
403
+ /**
404
+ * The contexts to which this Note will be related to
405
+ */
406
+ contexts?: {
407
+ type: ContextType;
408
+ id: string;
409
+ }[];
410
+ /**
411
+ * 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.
412
+ */
413
+ additional_contexts?: {
414
+ type: ContextType;
415
+ id: string;
416
+ }[];
417
+ /**
418
+ * The content of the Note
419
+ */
420
+ content?: string;
421
+ /**
422
+ * List of File Entity IDs attached to the Note
423
+ */
424
+ attachments?: string[];
425
+ /**
426
+ * List of user IDs who have read this note
427
+ */
428
+ read_by?: string[];
429
+ }
430
+ export interface NotePutRequestBody {
431
+ /**
432
+ * Entity ID of the Note entry
433
+ */
434
+ _id?: string;
435
+ /**
436
+ * ID of the Organization that owns this Note
437
+ */
438
+ _org?: string;
439
+ /**
440
+ * The Entity schema of this Note
441
+ */
442
+ _schema?: string;
443
+ /**
444
+ * The timestamp of when this Note was created
445
+ */
446
+ _created_at?: string; // date-time
447
+ /**
448
+ * The timestamp of when this Note was last updated
449
+ */
450
+ _updated_at?: string; // date-time
451
+ /**
452
+ * The Entity ID of the User that created this Note
453
+ */
454
+ _created_by?: /* The Entity ID of the User that created this Note */ string | number;
455
+ /**
456
+ * Tags associated with this Note
457
+ */
458
+ _tags?: string[];
459
+ /**
460
+ * Access Control List for this Note entry
461
+ */
462
+ _acl?: {
463
+ [name: string]: string[];
464
+ };
465
+ _owners?: {
466
+ org_id: string;
467
+ user_id: string;
468
+ }[];
469
+ /**
470
+ * Entity ID of the Note entry
471
+ */
472
+ type?: string;
473
+ context_entities?: {
474
+ $relation: {
475
+ entity_id: string;
476
+ }[];
477
+ };
478
+ parent?: /* The Note's parent Note */ NoteEntityParent;
479
+ /**
480
+ * The Note's parent Note
481
+ */
482
+ attachments?: {
483
+ $relation?: {
484
+ entity_id: string;
485
+ }[];
486
+ };
487
+ /**
488
+ * The content of the Note
489
+ */
490
+ content?: string;
491
+ contexts?: {
492
+ type: ContextType;
493
+ id: string;
494
+ }[];
495
+ /**
496
+ * The timestamp of when this Note was pinned
497
+ */
498
+ pinned_at?: string; // date-time
499
+ created_by?: {
500
+ type: "user" | "group";
501
+ user_id?: string;
502
+ display_name?: string;
503
+ org_id?: string;
504
+ email?: string;
505
+ phone?: string;
506
+ };
507
+ /**
508
+ * List of user IDs who have read this note
509
+ */
510
+ read_by?: string[];
511
+ /**
512
+ * Reactions to the note, keyed by reaction type, with an array of user IDs for each type
513
+ */
514
+ reactions?: {
515
+ [name: string]: string[];
516
+ };
517
+ }
518
+ export interface NoteSearchByContextRequestBody {
519
+ contexts: {
520
+ type: ContextType;
521
+ id: string;
522
+ }[];
523
+ /**
524
+ * The index of the first Note to return in this query
525
+ */
526
+ from?: number;
527
+ /**
528
+ * The number of Note entries to return in this query
529
+ */
530
+ size?: number;
531
+ }
532
+ export interface NotesSearchRequestResponse {
533
+ /**
534
+ * The number of Note entries returned in this query
535
+ */
536
+ hits?: number;
537
+ /**
538
+ * The Note entries returned in this query
539
+ */
540
+ results: /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ NoteEntity[];
541
+ }
542
+ export interface ReactionRequest {
543
+ /**
544
+ * The emoji identifier (e.g., 'thumbs-up', 'heart', 'thinking-face')
545
+ * example:
546
+ * thumbs-up
547
+ */
548
+ emoji: string;
549
+ }
550
+ export interface ToggleReactionsRequest {
551
+ /**
552
+ * Array of emoji identifiers to toggle (e.g., ['thumbs-up', 'heart', 'thinking-face'])
553
+ * example:
554
+ * [
555
+ * "thumbs-up",
556
+ * "heart"
557
+ * ]
558
+ */
559
+ emojis: string[];
560
+ }
561
+ /**
562
+ * Base metadata for a Workflow Execution. This is a lightweight representation of a Workflow Execution, and does not contain all it's data
563
+ */
564
+ export interface WorkflowExecution {
565
+ id: string;
566
+ definitionId: string;
567
+ orgId: string;
568
+ name: string;
569
+ }
570
+ }
571
+ }
572
+ declare namespace Paths {
573
+ namespace AddNoteReaction {
574
+ namespace Parameters {
575
+ /**
576
+ * The Entity ID of the Note entry to add reaction to
577
+ */
578
+ export type Id = string;
579
+ }
580
+ export interface PathParameters {
581
+ id: /* The Entity ID of the Note entry to add reaction to */ Parameters.Id;
582
+ }
583
+ export type RequestBody = Components.Schemas.ReactionRequest;
584
+ namespace Responses {
585
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
586
+ }
587
+ }
588
+ namespace CreateNote {
589
+ export type RequestBody = Components.Schemas.NotePostRequestBody;
590
+ namespace Responses {
591
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
592
+ }
593
+ }
594
+ namespace DeleteNote {
595
+ namespace Parameters {
596
+ /**
597
+ * The Entity ID of the Note entry to delete
598
+ */
599
+ export type Id = string;
600
+ }
601
+ export interface PathParameters {
602
+ id: /* The Entity ID of the Note entry to delete */ Parameters.Id;
603
+ }
604
+ namespace Responses {
605
+ export interface $200 {
606
+ }
607
+ }
608
+ }
609
+ namespace GetNote {
610
+ namespace Parameters {
611
+ /**
612
+ * Whether to hydrate the Note's relation attributes
613
+ */
614
+ export type Hydrate = boolean;
615
+ /**
616
+ * The Entity ID of the Note entry to retrieve
617
+ */
618
+ export type Id = string;
619
+ }
620
+ export interface PathParameters {
621
+ id: /* The Entity ID of the Note entry to retrieve */ Parameters.Id;
622
+ }
623
+ export interface QueryParameters {
624
+ hydrate?: /* Whether to hydrate the Note's relation attributes */ Parameters.Hydrate;
625
+ }
626
+ namespace Responses {
627
+ export type $200 = /* Base Entity schema */ Components.Schemas.NoteGetRequestResponse;
628
+ }
629
+ }
630
+ namespace GetNoteContexts {
631
+ namespace Parameters {
632
+ /**
633
+ * The Entity ID of the Note entry to get contexts for
634
+ */
635
+ export type Id = string;
636
+ }
637
+ export interface PathParameters {
638
+ id: /* The Entity ID of the Note entry to get contexts for */ Parameters.Id;
639
+ }
640
+ namespace Responses {
641
+ export type $200 = /* List of resolved Entity and non-Entity contexts attached to a given Note. */ Components.Schemas.NoteContexts[];
642
+ }
643
+ }
644
+ namespace GetNotesByContext {
645
+ namespace Parameters {
646
+ export type Contexts = {
647
+ type: Components.Schemas.ContextType;
648
+ id: string;
649
+ }[];
650
+ /**
651
+ * The ID of the Contextual Entity from where to retrieve Notes
652
+ */
653
+ export type EntityId = string;
654
+ /**
655
+ * The index of the first Note to return in this query
656
+ */
657
+ export type From = number;
658
+ /**
659
+ * The number of Note entries to return in this query
660
+ */
661
+ export type Size = number;
662
+ }
663
+ export interface PathParameters {
664
+ entity_id: /* The ID of the Contextual Entity from where to retrieve Notes */ Parameters.EntityId;
665
+ }
666
+ export interface QueryParameters {
667
+ contexts?: Parameters.Contexts;
668
+ from?: /* The index of the first Note to return in this query */ Parameters.From;
669
+ size?: /* The number of Note entries to return in this query */ Parameters.Size;
670
+ }
671
+ namespace Responses {
672
+ export type $200 = Components.Schemas.NotesSearchRequestResponse;
673
+ }
674
+ }
675
+ namespace PatchNote {
676
+ namespace Parameters {
677
+ /**
678
+ * The Entity ID of the Note entry to update
679
+ */
680
+ export type Id = string;
681
+ }
682
+ export interface PathParameters {
683
+ id: /* The Entity ID of the Note entry to update */ Parameters.Id;
684
+ }
685
+ export type RequestBody = Components.Schemas.NotePatchRequestBody;
686
+ namespace Responses {
687
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
688
+ }
689
+ }
690
+ namespace PinNote {
691
+ namespace Parameters {
692
+ /**
693
+ * The Entity ID of the Note entry to pin
694
+ */
695
+ export type Id = string;
696
+ }
697
+ export interface PathParameters {
698
+ id: /* The Entity ID of the Note entry to pin */ Parameters.Id;
699
+ }
700
+ namespace Responses {
701
+ export interface $200 {
702
+ }
703
+ }
704
+ }
705
+ namespace RemoveNoteReaction {
706
+ namespace Parameters {
707
+ /**
708
+ * The emoji to remove from the note
709
+ */
710
+ export type EmojiShortcode = string;
711
+ /**
712
+ * The Entity ID of the Note entry to remove reaction from
713
+ */
714
+ export type Id = string;
715
+ }
716
+ export interface PathParameters {
717
+ id: /* The Entity ID of the Note entry to remove reaction from */ Parameters.Id;
718
+ emoji_shortcode: /* The emoji to remove from the note */ Parameters.EmojiShortcode;
719
+ }
720
+ namespace Responses {
721
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
722
+ }
723
+ }
724
+ namespace SearchNotesByContext {
725
+ export type RequestBody = Components.Schemas.NoteSearchByContextRequestBody;
726
+ namespace Responses {
727
+ export type $200 = Components.Schemas.NotesSearchRequestResponse;
728
+ }
729
+ }
730
+ namespace ToggleNoteReactions {
731
+ namespace Parameters {
732
+ /**
733
+ * The Entity ID of the Note entry to toggle reactions on
734
+ */
735
+ export type Id = string;
736
+ }
737
+ export interface PathParameters {
738
+ id: /* The Entity ID of the Note entry to toggle reactions on */ Parameters.Id;
739
+ }
740
+ export type RequestBody = Components.Schemas.ToggleReactionsRequest;
741
+ namespace Responses {
742
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
743
+ }
744
+ }
745
+ namespace UpdateNote {
746
+ namespace Parameters {
747
+ /**
748
+ * The Entity ID of the Note entry to update
749
+ */
750
+ export type Id = string;
751
+ }
752
+ export interface PathParameters {
753
+ id: /* The Entity ID of the Note entry to update */ Parameters.Id;
754
+ }
755
+ export type RequestBody = Components.Schemas.NotePutRequestBody;
756
+ namespace Responses {
757
+ export type $200 = /* A note Entity object cotaining Entity metadata and content. Relational attributes are hydrated in place. */ Components.Schemas.NoteEntity;
758
+ }
759
+ }
760
+ }
761
+
762
+ interface OperationMethods {
763
+ /**
764
+ * createNote - createNote
765
+ *
766
+ * Creates a new Note entry
767
+ */
768
+ 'createNote'(
769
+ parameters?: Parameters<UnknownParamsObject> | null,
770
+ data?: Paths.CreateNote.RequestBody,
771
+ config?: AxiosRequestConfig
772
+ ): OperationResponse<Paths.CreateNote.Responses.$200>
773
+ /**
774
+ * getNote - getNote
775
+ *
776
+ * Retrieves a single Note entry based on it's Entity ID
777
+ */
778
+ 'getNote'(
779
+ parameters?: Parameters<Paths.GetNote.QueryParameters & Paths.GetNote.PathParameters> | null,
780
+ data?: any,
781
+ config?: AxiosRequestConfig
782
+ ): OperationResponse<Paths.GetNote.Responses.$200>
783
+ /**
784
+ * updateNote - updateNote
785
+ *
786
+ * Updates an existing Note entry
787
+ */
788
+ 'updateNote'(
789
+ parameters?: Parameters<Paths.UpdateNote.PathParameters> | null,
790
+ data?: Paths.UpdateNote.RequestBody,
791
+ config?: AxiosRequestConfig
792
+ ): OperationResponse<Paths.UpdateNote.Responses.$200>
793
+ /**
794
+ * patchNote - patchNote
795
+ *
796
+ * Updates an existing Note entry
797
+ */
798
+ 'patchNote'(
799
+ parameters?: Parameters<Paths.PatchNote.PathParameters> | null,
800
+ data?: Paths.PatchNote.RequestBody,
801
+ config?: AxiosRequestConfig
802
+ ): OperationResponse<Paths.PatchNote.Responses.$200>
803
+ /**
804
+ * deleteNote - deleteNote
805
+ *
806
+ * Deletes a single Note entry based on it's Entity ID
807
+ */
808
+ 'deleteNote'(
809
+ parameters?: Parameters<Paths.DeleteNote.PathParameters> | null,
810
+ data?: any,
811
+ config?: AxiosRequestConfig
812
+ ): OperationResponse<Paths.DeleteNote.Responses.$200>
813
+ /**
814
+ * searchNotesByContext - searchNotesByContext
815
+ *
816
+ * Search for a paginated list of Notes based on one or more contexts
817
+ */
818
+ 'searchNotesByContext'(
819
+ parameters?: Parameters<UnknownParamsObject> | null,
820
+ data?: Paths.SearchNotesByContext.RequestBody,
821
+ config?: AxiosRequestConfig
822
+ ): OperationResponse<Paths.SearchNotesByContext.Responses.$200>
823
+ /**
824
+ * getNotesByContext - getNotesByContext
825
+ *
826
+ * Given a `context_type`, returns a list of Notes that belong to that context within the specified `id`.
827
+ * This endpoint is deprecated but will be kept for backwards compatibility. Please use the `searchNotesByContext` endpoint instead.
828
+ */
829
+ 'getNotesByContext'(
830
+ parameters?: Parameters<Paths.GetNotesByContext.QueryParameters & Paths.GetNotesByContext.PathParameters> | null,
831
+ data?: any,
832
+ config?: AxiosRequestConfig
833
+ ): OperationResponse<Paths.GetNotesByContext.Responses.$200>
834
+ /**
835
+ * pinNote - pinNote
836
+ *
837
+ * Pins a single Note entry based on it's Entity ID
838
+ */
839
+ 'pinNote'(
840
+ parameters?: Parameters<Paths.PinNote.PathParameters> | null,
841
+ data?: any,
842
+ config?: AxiosRequestConfig
843
+ ): OperationResponse<Paths.PinNote.Responses.$200>
844
+ /**
845
+ * getNoteContexts - getNoteContexts
846
+ *
847
+ * Gets all the Entity and non-Entity records the Note is contextually attached to
848
+ */
849
+ 'getNoteContexts'(
850
+ parameters?: Parameters<Paths.GetNoteContexts.PathParameters> | null,
851
+ data?: any,
852
+ config?: AxiosRequestConfig
853
+ ): OperationResponse<Paths.GetNoteContexts.Responses.$200>
854
+ /**
855
+ * addNoteReaction - addNoteReaction
856
+ *
857
+ * Adds an emoji reaction to a note
858
+ */
859
+ 'addNoteReaction'(
860
+ parameters?: Parameters<Paths.AddNoteReaction.PathParameters> | null,
861
+ data?: Paths.AddNoteReaction.RequestBody,
862
+ config?: AxiosRequestConfig
863
+ ): OperationResponse<Paths.AddNoteReaction.Responses.$200>
864
+ /**
865
+ * removeNoteReaction - removeNoteReaction
866
+ *
867
+ * Removes an emoji reaction from a note
868
+ */
869
+ 'removeNoteReaction'(
870
+ parameters?: Parameters<Paths.RemoveNoteReaction.PathParameters> | null,
871
+ data?: any,
872
+ config?: AxiosRequestConfig
873
+ ): OperationResponse<Paths.RemoveNoteReaction.Responses.$200>
874
+ /**
875
+ * toggleNoteReactions - toggleNoteReactions
876
+ *
877
+ * 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.
878
+ */
879
+ 'toggleNoteReactions'(
880
+ parameters?: Parameters<Paths.ToggleNoteReactions.PathParameters> | null,
881
+ data?: Paths.ToggleNoteReactions.RequestBody,
882
+ config?: AxiosRequestConfig
883
+ ): OperationResponse<Paths.ToggleNoteReactions.Responses.$200>
884
+ }
885
+
886
+ interface PathsDictionary {
887
+ ['/v1/note']: {
888
+ /**
889
+ * createNote - createNote
890
+ *
891
+ * Creates a new Note entry
892
+ */
893
+ 'post'(
894
+ parameters?: Parameters<UnknownParamsObject> | null,
895
+ data?: Paths.CreateNote.RequestBody,
896
+ config?: AxiosRequestConfig
897
+ ): OperationResponse<Paths.CreateNote.Responses.$200>
898
+ }
899
+ ['/v1/note/{id}']: {
900
+ /**
901
+ * getNote - getNote
902
+ *
903
+ * Retrieves a single Note entry based on it's Entity ID
904
+ */
905
+ 'get'(
906
+ parameters?: Parameters<Paths.GetNote.QueryParameters & Paths.GetNote.PathParameters> | null,
907
+ data?: any,
908
+ config?: AxiosRequestConfig
909
+ ): OperationResponse<Paths.GetNote.Responses.$200>
910
+ /**
911
+ * patchNote - patchNote
912
+ *
913
+ * Updates an existing Note entry
914
+ */
915
+ 'patch'(
916
+ parameters?: Parameters<Paths.PatchNote.PathParameters> | null,
917
+ data?: Paths.PatchNote.RequestBody,
918
+ config?: AxiosRequestConfig
919
+ ): OperationResponse<Paths.PatchNote.Responses.$200>
920
+ /**
921
+ * updateNote - updateNote
922
+ *
923
+ * Updates an existing Note entry
924
+ */
925
+ 'put'(
926
+ parameters?: Parameters<Paths.UpdateNote.PathParameters> | null,
927
+ data?: Paths.UpdateNote.RequestBody,
928
+ config?: AxiosRequestConfig
929
+ ): OperationResponse<Paths.UpdateNote.Responses.$200>
930
+ /**
931
+ * deleteNote - deleteNote
932
+ *
933
+ * Deletes a single Note entry based on it's Entity ID
934
+ */
935
+ 'delete'(
936
+ parameters?: Parameters<Paths.DeleteNote.PathParameters> | null,
937
+ data?: any,
938
+ config?: AxiosRequestConfig
939
+ ): OperationResponse<Paths.DeleteNote.Responses.$200>
940
+ }
941
+ ['/v1/notes:search']: {
942
+ /**
943
+ * searchNotesByContext - searchNotesByContext
944
+ *
945
+ * Search for a paginated list of Notes based on one or more contexts
946
+ */
947
+ 'post'(
948
+ parameters?: Parameters<UnknownParamsObject> | null,
949
+ data?: Paths.SearchNotesByContext.RequestBody,
950
+ config?: AxiosRequestConfig
951
+ ): OperationResponse<Paths.SearchNotesByContext.Responses.$200>
952
+ }
953
+ ['/v1/notes/{entity_id}']: {
954
+ /**
955
+ * getNotesByContext - getNotesByContext
956
+ *
957
+ * Given a `context_type`, returns a list of Notes that belong to that context within the specified `id`.
958
+ * This endpoint is deprecated but will be kept for backwards compatibility. Please use the `searchNotesByContext` endpoint instead.
959
+ */
960
+ 'get'(
961
+ parameters?: Parameters<Paths.GetNotesByContext.QueryParameters & Paths.GetNotesByContext.PathParameters> | null,
962
+ data?: any,
963
+ config?: AxiosRequestConfig
964
+ ): OperationResponse<Paths.GetNotesByContext.Responses.$200>
965
+ }
966
+ ['/v1/note/{id}/pin']: {
967
+ /**
968
+ * pinNote - pinNote
969
+ *
970
+ * Pins a single Note entry based on it's Entity ID
971
+ */
972
+ 'post'(
973
+ parameters?: Parameters<Paths.PinNote.PathParameters> | null,
974
+ data?: any,
975
+ config?: AxiosRequestConfig
976
+ ): OperationResponse<Paths.PinNote.Responses.$200>
977
+ }
978
+ ['/v1/note/{id}/context']: {
979
+ /**
980
+ * getNoteContexts - getNoteContexts
981
+ *
982
+ * Gets all the Entity and non-Entity records the Note is contextually attached to
983
+ */
984
+ 'get'(
985
+ parameters?: Parameters<Paths.GetNoteContexts.PathParameters> | null,
986
+ data?: any,
987
+ config?: AxiosRequestConfig
988
+ ): OperationResponse<Paths.GetNoteContexts.Responses.$200>
989
+ }
990
+ ['/v1/note/{id}/reaction']: {
991
+ /**
992
+ * addNoteReaction - addNoteReaction
993
+ *
994
+ * Adds an emoji reaction to a note
995
+ */
996
+ 'post'(
997
+ parameters?: Parameters<Paths.AddNoteReaction.PathParameters> | null,
998
+ data?: Paths.AddNoteReaction.RequestBody,
999
+ config?: AxiosRequestConfig
1000
+ ): OperationResponse<Paths.AddNoteReaction.Responses.$200>
1001
+ }
1002
+ ['/v1/note/{id}/reaction/{emoji_shortcode}']: {
1003
+ /**
1004
+ * removeNoteReaction - removeNoteReaction
1005
+ *
1006
+ * Removes an emoji reaction from a note
1007
+ */
1008
+ 'delete'(
1009
+ parameters?: Parameters<Paths.RemoveNoteReaction.PathParameters> | null,
1010
+ data?: any,
1011
+ config?: AxiosRequestConfig
1012
+ ): OperationResponse<Paths.RemoveNoteReaction.Responses.$200>
1013
+ }
1014
+ ['/v1/note/{id}/reactions/toggle']: {
1015
+ /**
1016
+ * toggleNoteReactions - toggleNoteReactions
1017
+ *
1018
+ * 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.
1019
+ */
1020
+ 'post'(
1021
+ parameters?: Parameters<Paths.ToggleNoteReactions.PathParameters> | null,
1022
+ data?: Paths.ToggleNoteReactions.RequestBody,
1023
+ config?: AxiosRequestConfig
1024
+ ): OperationResponse<Paths.ToggleNoteReactions.Responses.$200>
1025
+ }
1026
+ }
1027
+
1028
+ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
1029
+
1030
+ type ContextType = Components.Schemas.ContextType;
1031
+ type CreatedByType = Components.Schemas.CreatedByType;
1032
+ type Entity = Components.Schemas.Entity;
1033
+ type NonHydratedNoteEntity = Components.Schemas.NonHydratedNoteEntity;
1034
+ type NoteContexts = Components.Schemas.NoteContexts;
1035
+ type NoteEntity = Components.Schemas.NoteEntity;
1036
+ type NoteEntityParent = Components.Schemas.NoteEntityParent;
1037
+ type NoteGetRequestResponse = Components.Schemas.NoteGetRequestResponse;
1038
+ type NotePatchRequestBody = Components.Schemas.NotePatchRequestBody;
1039
+ type NotePostRequestBody = Components.Schemas.NotePostRequestBody;
1040
+ type NotePutRequestBody = Components.Schemas.NotePutRequestBody;
1041
+ type NoteSearchByContextRequestBody = Components.Schemas.NoteSearchByContextRequestBody;
1042
+ type NotesSearchRequestResponse = Components.Schemas.NotesSearchRequestResponse;
1043
+ type ReactionRequest = Components.Schemas.ReactionRequest;
1044
+ type ToggleReactionsRequest = Components.Schemas.ToggleReactionsRequest;
1045
+ type WorkflowExecution = Components.Schemas.WorkflowExecution;
1046
+
1047
+ export type { Client as C, Entity as E, NonHydratedNoteEntity as N, OperationMethods as O, PathsDictionary as P, ReactionRequest as R, ToggleReactionsRequest as T, WorkflowExecution as W, ContextType as a, CreatedByType as b, NoteContexts as c, NoteEntity as d, NoteEntityParent as e, NoteGetRequestResponse as f, NotePatchRequestBody as g, NotePostRequestBody as h, NotePutRequestBody as i, NoteSearchByContextRequestBody as j, NotesSearchRequestResponse as k };