@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,1148 @@
1
+ import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
2
+
3
+ /* eslint-disable */
4
+ /* Auto-copied from notification-client */
5
+ /* eslint-disable */
6
+
7
+
8
+
9
+ declare namespace Components {
10
+ namespace Parameters {
11
+ export type TemplateIdPathParam = string; // uuid
12
+ }
13
+ export interface PathParameters {
14
+ TemplateIdPathParam?: Parameters.TemplateIdPathParam /* uuid */;
15
+ }
16
+ namespace Schemas {
17
+ export interface CreateNotificationTemplateInput {
18
+ /**
19
+ * Internal template name (required)
20
+ */
21
+ name: string;
22
+ /**
23
+ * Notification type key (required)
24
+ */
25
+ type: string;
26
+ /**
27
+ * Notification title (Lexical editor JSON, supports variables)
28
+ */
29
+ notification_title?: string;
30
+ /**
31
+ * Notification body (Lexical editor JSON, supports variables)
32
+ */
33
+ message?: string;
34
+ /**
35
+ * CTA button text (supports variables)
36
+ */
37
+ action_label?: string;
38
+ /**
39
+ * CTA button URL (supports variables)
40
+ */
41
+ action_url?: string;
42
+ /**
43
+ * JSON string with style config
44
+ */
45
+ style?: string;
46
+ /**
47
+ * Display title
48
+ */
49
+ _title?: string;
50
+ /**
51
+ * Tags for categorization
52
+ */
53
+ _tags?: string[];
54
+ /**
55
+ * Manifest ID used to create/update the entity
56
+ */
57
+ _manifest?: string /* uuid */[];
58
+ }
59
+ export interface Entity {
60
+ [name: string]: any;
61
+ }
62
+ /**
63
+ * Access control list
64
+ */
65
+ export interface EntityAcl {
66
+ view?: string[];
67
+ edit?: string[];
68
+ delete?: string[];
69
+ }
70
+ export type EntityId = string; // uuid
71
+ export interface EntityOperation {
72
+ entity: EntityId /* uuid */;
73
+ /**
74
+ * example:
75
+ * updateEntity
76
+ */
77
+ operation?: string;
78
+ /**
79
+ * example:
80
+ * {
81
+ * "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
82
+ * "slug": "contact"
83
+ * }
84
+ */
85
+ params?: {
86
+ id?: EntityId /* uuid */;
87
+ slug?: /**
88
+ * URL-friendly identifier for the entity schema
89
+ * example:
90
+ * contact
91
+ */
92
+ EntitySlug;
93
+ };
94
+ /**
95
+ * example:
96
+ * {
97
+ * "_schema": "contact",
98
+ * "_org": "123",
99
+ * "status": "Inactive"
100
+ * }
101
+ */
102
+ payload?: {
103
+ [name: string]: any;
104
+ };
105
+ }
106
+ export interface EntityOwner {
107
+ /**
108
+ * Organization ID
109
+ */
110
+ org_id: string;
111
+ /**
112
+ * User ID
113
+ */
114
+ user_id: string;
115
+ }
116
+ /**
117
+ * URL-friendly identifier for the entity schema
118
+ * example:
119
+ * contact
120
+ */
121
+ export type EntitySlug = string;
122
+ export interface Error {
123
+ /**
124
+ * Error message
125
+ */
126
+ message: string;
127
+ /**
128
+ * Error code
129
+ */
130
+ code?: string;
131
+ }
132
+ /**
133
+ * example:
134
+ * 123456789
135
+ */
136
+ export type Id = number;
137
+ export interface Notification {
138
+ notification_id?: number;
139
+ timestamp?: string; // date-time
140
+ /**
141
+ * Type of notification
142
+ * example:
143
+ * workflow
144
+ */
145
+ type: string;
146
+ /**
147
+ * Redirect url
148
+ * example:
149
+ * https://epilot.cloud
150
+ */
151
+ redirect_url?: string;
152
+ /**
153
+ * Organization Id
154
+ * example:
155
+ * 206801
156
+ */
157
+ organization_id?: string;
158
+ title: {
159
+ /**
160
+ * Title for notification. Supports handlebars syntax.
161
+ * example:
162
+ * My custom notification
163
+ */
164
+ en?: string;
165
+ /**
166
+ * Title for notification. Supports handlebars syntax.
167
+ * example:
168
+ * Meine benutzerdefinierte Aktivität
169
+ */
170
+ de?: string;
171
+ };
172
+ message: {
173
+ /**
174
+ * Message for notification. Supports handlebars syntax.
175
+ * example:
176
+ * {{caller}} did something with {{contact.entity.id}} {{branch.name}}.
177
+ */
178
+ en?: string;
179
+ /**
180
+ * Message for notification. Supports handlebars syntax.
181
+ * example:
182
+ * {{caller}} habe etwas damit gemacht {{contact.entity.id}} {{branch.name}}.
183
+ */
184
+ de?: string;
185
+ };
186
+ /**
187
+ * example:
188
+ * {
189
+ * "entity": {
190
+ * "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
191
+ * "schema": "contact"
192
+ * }
193
+ * }
194
+ */
195
+ payload?: {
196
+ [name: string]: any;
197
+ };
198
+ caller?: NotificationCallerContext;
199
+ operations?: EntityOperation[];
200
+ /**
201
+ * example:
202
+ * {
203
+ * "12345": {
204
+ * "email": false,
205
+ * "in_app": false
206
+ * }
207
+ * }
208
+ */
209
+ force_notify_users?: {
210
+ [name: string]: any;
211
+ };
212
+ /**
213
+ * example:
214
+ * false
215
+ */
216
+ read_state?: boolean;
217
+ /**
218
+ * The person who is the corresponding event recipient.
219
+ * example:
220
+ * [
221
+ * "1",
222
+ * "2",
223
+ * "3",
224
+ * "4",
225
+ * "5"
226
+ * ]
227
+ */
228
+ visibility_user_ids?: string[];
229
+ }
230
+ export interface NotificationBase {
231
+ notification_id?: number;
232
+ timestamp?: string; // date-time
233
+ /**
234
+ * Type of notification
235
+ * example:
236
+ * workflow
237
+ */
238
+ type: string;
239
+ /**
240
+ * Redirect url
241
+ * example:
242
+ * https://epilot.cloud
243
+ */
244
+ redirect_url?: string;
245
+ /**
246
+ * Organization Id
247
+ * example:
248
+ * 206801
249
+ */
250
+ organization_id?: string;
251
+ title: {
252
+ /**
253
+ * Title for notification. Supports handlebars syntax.
254
+ * example:
255
+ * My custom notification
256
+ */
257
+ en?: string;
258
+ /**
259
+ * Title for notification. Supports handlebars syntax.
260
+ * example:
261
+ * Meine benutzerdefinierte Aktivität
262
+ */
263
+ de?: string;
264
+ };
265
+ message: {
266
+ /**
267
+ * Message for notification. Supports handlebars syntax.
268
+ * example:
269
+ * {{caller}} did something with {{contact.entity.id}} {{branch.name}}.
270
+ */
271
+ en?: string;
272
+ /**
273
+ * Message for notification. Supports handlebars syntax.
274
+ * example:
275
+ * {{caller}} habe etwas damit gemacht {{contact.entity.id}} {{branch.name}}.
276
+ */
277
+ de?: string;
278
+ };
279
+ /**
280
+ * example:
281
+ * {
282
+ * "entity": {
283
+ * "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
284
+ * "schema": "contact"
285
+ * }
286
+ * }
287
+ */
288
+ payload?: {
289
+ [name: string]: any;
290
+ };
291
+ caller?: NotificationCallerContext;
292
+ operations?: EntityOperation[];
293
+ /**
294
+ * example:
295
+ * {
296
+ * "12345": {
297
+ * "email": false,
298
+ * "in_app": false
299
+ * }
300
+ * }
301
+ */
302
+ force_notify_users?: {
303
+ [name: string]: any;
304
+ };
305
+ }
306
+ export interface NotificationCallerContext {
307
+ [name: string]: any;
308
+ EpilotAuth?: {
309
+ /**
310
+ * example:
311
+ * {
312
+ * "sub": "476e9b48-42f4-4234-a2b0-4668b34626ce",
313
+ * "cognito:groups": [
314
+ * "Administrator"
315
+ * ],
316
+ * "cognito:preferred_role": "arn:aws:iam::912468240823:role/base-administrator-role",
317
+ * "iss": "https://cognito-idp.eu-central-1.amazonaws.com/eu-central-1_6lZSgmU6D",
318
+ * "custom:ivy_org_id": "739224",
319
+ * "cognito:username": "n.ahmad@epilot.cloud",
320
+ * "custom:ivy_user_id": "10006129",
321
+ * "cognito:roles": [
322
+ * "arn:aws:iam::912468240823:role/base-administrator-role"
323
+ * ],
324
+ * "aud": "6e0jbdnger7nmoktaaflarue1l",
325
+ * "event_id": "cd5f5583-d90c-4db5-8e99-5f5dd29a4d75",
326
+ * "token_use": "id",
327
+ * "auth_time": 1614333023,
328
+ * "exp": 1614336623,
329
+ * "iat": 1614333023,
330
+ * "email": "n.ahmad@epilot.cloud"
331
+ * }
332
+ */
333
+ token?: {
334
+ /**
335
+ * example:
336
+ * 476e9b48-42f4-4234-a2b0-4668b34626ce
337
+ */
338
+ sub?: string;
339
+ /**
340
+ * example:
341
+ * example@epilot.cloud
342
+ */
343
+ email?: string;
344
+ /**
345
+ * example:
346
+ * example@epilot.cloud
347
+ */
348
+ "cognito:username"?: string;
349
+ /**
350
+ * example:
351
+ * 10006129
352
+ */
353
+ "custom:ivy_user_id"?: string;
354
+ };
355
+ };
356
+ }
357
+ /**
358
+ * example:
359
+ * 123456789
360
+ */
361
+ export type NotificationId = number;
362
+ export interface NotificationItem {
363
+ id?: /**
364
+ * example:
365
+ * 123456789
366
+ */
367
+ Id;
368
+ notification_id?: /**
369
+ * example:
370
+ * 123456789
371
+ */
372
+ NotificationId;
373
+ timestamp?: string; // date-time
374
+ /**
375
+ * example:
376
+ * false
377
+ */
378
+ read_state?: boolean;
379
+ /**
380
+ * Type of notification
381
+ * example:
382
+ * workflow
383
+ */
384
+ type: string;
385
+ /**
386
+ * Redirect url
387
+ * example:
388
+ * https://epilot.cloud
389
+ */
390
+ redirect_url?: string;
391
+ /**
392
+ * Organization Id
393
+ * example:
394
+ * 206801
395
+ */
396
+ organization_id?: string;
397
+ title: {
398
+ /**
399
+ * Title for notification. Supports handlebars syntax.
400
+ * example:
401
+ * My custom notification
402
+ */
403
+ en?: string;
404
+ /**
405
+ * Title for notification. Supports handlebars syntax.
406
+ * example:
407
+ * Meine benutzerdefinierte Aktivität
408
+ */
409
+ de?: string;
410
+ };
411
+ message: {
412
+ /**
413
+ * Message for notification. Supports handlebars syntax.
414
+ * example:
415
+ * {{caller}} did something with {{contact.entity.id}} {{branch.name}}.
416
+ */
417
+ en?: string;
418
+ /**
419
+ * Message for notification. Supports handlebars syntax.
420
+ * example:
421
+ * {{caller}} habe etwas damit gemacht {{contact.entity.id}} {{branch.name}}.
422
+ */
423
+ de?: string;
424
+ };
425
+ /**
426
+ * example:
427
+ * {
428
+ * "entity": {
429
+ * "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
430
+ * "schema": "contact"
431
+ * }
432
+ * }
433
+ */
434
+ payload?: {
435
+ [name: string]: any;
436
+ };
437
+ caller?: NotificationCallerContext;
438
+ operations?: EntityOperation[];
439
+ /**
440
+ * example:
441
+ * {
442
+ * "12345": {
443
+ * "email": false,
444
+ * "in_app": false
445
+ * }
446
+ * }
447
+ */
448
+ force_notify_users?: {
449
+ [name: string]: any;
450
+ };
451
+ }
452
+ export interface NotificationTemplate {
453
+ /**
454
+ * Unique identifier
455
+ */
456
+ _id: string; // uuid
457
+ /**
458
+ * Entity schema type
459
+ */
460
+ _schema: string;
461
+ /**
462
+ * Display title
463
+ */
464
+ _title: string | null;
465
+ /**
466
+ * Organization ID
467
+ */
468
+ _org: string;
469
+ /**
470
+ * Tags for categorization
471
+ */
472
+ _tags?: string[] | null;
473
+ /**
474
+ * ISO timestamp of creation
475
+ */
476
+ _created_at: string | null; // date-time
477
+ /**
478
+ * ISO timestamp of last update
479
+ */
480
+ _updated_at: string | null; // date-time
481
+ /**
482
+ * Manifest ID used to create/update the entity
483
+ */
484
+ _manifest?: string /* uuid */[];
485
+ /**
486
+ * Entity owners
487
+ */
488
+ _owners?: EntityOwner[];
489
+ /**
490
+ * Access control list
491
+ */
492
+ _acl?: {
493
+ view?: string[];
494
+ edit?: string[];
495
+ delete?: string[];
496
+ };
497
+ /**
498
+ * Internal template name
499
+ */
500
+ name?: string;
501
+ /**
502
+ * Notification type key
503
+ */
504
+ type?: string;
505
+ /**
506
+ * Notification title (Lexical editor JSON, supports variables)
507
+ */
508
+ notification_title?: string;
509
+ /**
510
+ * Notification body (Lexical editor JSON, supports variables)
511
+ */
512
+ message?: string;
513
+ /**
514
+ * CTA button text (supports variables)
515
+ */
516
+ action_label?: string;
517
+ /**
518
+ * CTA button URL (supports variables)
519
+ */
520
+ action_url?: string;
521
+ /**
522
+ * JSON string with style config
523
+ */
524
+ style?: string;
525
+ /**
526
+ * Whether this is a system template
527
+ */
528
+ system_template?: boolean;
529
+ /**
530
+ * User ID who created the template
531
+ */
532
+ created_by?: string;
533
+ /**
534
+ * User ID who last updated the template
535
+ */
536
+ updated_by?: string;
537
+ }
538
+ export interface NotificationTemplateListResponse {
539
+ results?: NotificationTemplate[];
540
+ /**
541
+ * Total number of matching results
542
+ */
543
+ hits?: number;
544
+ }
545
+ export interface SendPreviewInput {
546
+ template: UpdateNotificationTemplateInput;
547
+ /**
548
+ * Optional context IDs for variable replacement
549
+ */
550
+ context_ids?: {
551
+ [name: string]: string;
552
+ };
553
+ }
554
+ /**
555
+ * Array of results for each notification channel (email, in-app)
556
+ */
557
+ export type SendPreviewResponse = {
558
+ /**
559
+ * Whether this notification was sent successfully
560
+ */
561
+ success: boolean;
562
+ /**
563
+ * Result data
564
+ */
565
+ data?: any;
566
+ }[];
567
+ export interface UpdateNotificationTemplateInput {
568
+ /**
569
+ * Internal template name
570
+ */
571
+ name?: string;
572
+ /**
573
+ * Notification title (Lexical editor JSON, supports variables)
574
+ */
575
+ notification_title?: string;
576
+ /**
577
+ * Notification body (Lexical editor JSON, supports variables)
578
+ */
579
+ message?: string;
580
+ /**
581
+ * CTA button text (supports variables)
582
+ */
583
+ action_label?: string;
584
+ /**
585
+ * CTA button URL (supports variables)
586
+ */
587
+ action_url?: string;
588
+ /**
589
+ * JSON string with style config
590
+ */
591
+ style?: string;
592
+ /**
593
+ * Display title
594
+ */
595
+ _title?: string;
596
+ /**
597
+ * Tags for categorization
598
+ */
599
+ _tags?: string[];
600
+ /**
601
+ * Manifest ID used to create/update the entity
602
+ */
603
+ _manifest?: string /* uuid */[];
604
+ }
605
+ }
606
+ }
607
+ declare namespace Paths {
608
+ namespace CreateNotification {
609
+ export type RequestBody = Components.Schemas.Notification;
610
+ namespace Responses {
611
+ export interface $202 {
612
+ }
613
+ }
614
+ }
615
+ namespace CreateNotificationTemplate {
616
+ export type RequestBody = Components.Schemas.CreateNotificationTemplateInput;
617
+ namespace Responses {
618
+ export type $201 = Components.Schemas.NotificationTemplate;
619
+ export type $400 = Components.Schemas.Error;
620
+ export type $401 = Components.Schemas.Error;
621
+ export type $500 = Components.Schemas.Error;
622
+ }
623
+ }
624
+ namespace DeleteNotificationTemplate {
625
+ namespace Parameters {
626
+ export type Id = string; // uuid
627
+ }
628
+ export interface PathParameters {
629
+ id: Parameters.Id /* uuid */;
630
+ }
631
+ namespace Responses {
632
+ export type $200 = Components.Schemas.NotificationTemplate;
633
+ export type $401 = Components.Schemas.Error;
634
+ export type $404 = Components.Schemas.Error;
635
+ export type $500 = Components.Schemas.Error;
636
+ }
637
+ }
638
+ namespace GetNotification {
639
+ namespace Parameters {
640
+ export type Id = number;
641
+ }
642
+ export interface PathParameters {
643
+ id: Parameters.Id;
644
+ }
645
+ namespace Responses {
646
+ export type $200 = Components.Schemas.NotificationItem;
647
+ }
648
+ }
649
+ namespace GetNotificationTemplate {
650
+ namespace Parameters {
651
+ export type Id = string; // uuid
652
+ }
653
+ export interface PathParameters {
654
+ id: Parameters.Id /* uuid */;
655
+ }
656
+ namespace Responses {
657
+ export type $200 = Components.Schemas.NotificationTemplate;
658
+ export type $401 = Components.Schemas.Error;
659
+ export type $404 = Components.Schemas.Error;
660
+ export type $500 = Components.Schemas.Error;
661
+ }
662
+ }
663
+ namespace GetNotifications {
664
+ namespace Parameters {
665
+ export type AfterId = number;
666
+ export type Limit = number;
667
+ export type NoHydrate = boolean;
668
+ }
669
+ export interface QueryParameters {
670
+ after_id?: Parameters.AfterId;
671
+ limit?: Parameters.Limit;
672
+ no_hydrate?: Parameters.NoHydrate;
673
+ }
674
+ namespace Responses {
675
+ export interface $200 {
676
+ /**
677
+ * example:
678
+ * 1
679
+ */
680
+ total?: number;
681
+ /**
682
+ * example:
683
+ * 1
684
+ */
685
+ total_unread?: number;
686
+ results?: Components.Schemas.NotificationItem[];
687
+ }
688
+ }
689
+ }
690
+ namespace GetNotificationsV2 {
691
+ namespace Parameters {
692
+ export type AfterId = number;
693
+ export type Cursor = string;
694
+ export type Limit = number;
695
+ }
696
+ export interface QueryParameters {
697
+ cursor?: Parameters.Cursor;
698
+ after_id?: Parameters.AfterId;
699
+ limit?: Parameters.Limit;
700
+ }
701
+ namespace Responses {
702
+ export interface $200 {
703
+ /**
704
+ * Base64 encoded cursor to be used for pagination
705
+ * example:
706
+ * eyJjcmVhd
707
+ */
708
+ cursor?: string;
709
+ /**
710
+ * example:
711
+ * 1
712
+ */
713
+ total?: number;
714
+ /**
715
+ * example:
716
+ * 1
717
+ */
718
+ total_unread?: number;
719
+ results?: Components.Schemas.NotificationItem[];
720
+ }
721
+ }
722
+ }
723
+ namespace GetTotalUnread {
724
+ namespace Responses {
725
+ /**
726
+ * example:
727
+ * 999
728
+ */
729
+ export type $200 = number;
730
+ }
731
+ }
732
+ namespace ListNotificationTemplates {
733
+ namespace Parameters {
734
+ export type Fields = string;
735
+ export type From = number;
736
+ export type Hydrate = boolean;
737
+ export type Q = string;
738
+ export type Size = number;
739
+ export type Sort = string;
740
+ }
741
+ export interface QueryParameters {
742
+ q?: Parameters.Q;
743
+ from?: Parameters.From;
744
+ size?: Parameters.Size;
745
+ sort?: Parameters.Sort;
746
+ fields?: Parameters.Fields;
747
+ hydrate?: Parameters.Hydrate;
748
+ }
749
+ namespace Responses {
750
+ export type $200 = Components.Schemas.NotificationTemplateListResponse;
751
+ export type $401 = Components.Schemas.Error;
752
+ export type $500 = Components.Schemas.Error;
753
+ }
754
+ }
755
+ namespace MarkAllAsRead {
756
+ namespace Responses {
757
+ export interface $204 {
758
+ }
759
+ }
760
+ }
761
+ namespace MarkAsRead {
762
+ namespace Parameters {
763
+ export type Id = number;
764
+ }
765
+ export interface PathParameters {
766
+ id: Parameters.Id;
767
+ }
768
+ namespace Responses {
769
+ export interface $204 {
770
+ }
771
+ }
772
+ }
773
+ namespace PatchNotificationTemplate {
774
+ namespace Parameters {
775
+ export type Id = string; // uuid
776
+ }
777
+ export interface PathParameters {
778
+ id: Parameters.Id /* uuid */;
779
+ }
780
+ export type RequestBody = Components.Schemas.UpdateNotificationTemplateInput;
781
+ namespace Responses {
782
+ export type $200 = Components.Schemas.NotificationTemplate;
783
+ export type $400 = Components.Schemas.Error;
784
+ export type $401 = Components.Schemas.Error;
785
+ export type $404 = Components.Schemas.Error;
786
+ export type $500 = Components.Schemas.Error;
787
+ }
788
+ }
789
+ namespace SendPreview {
790
+ export type RequestBody = Components.Schemas.SendPreviewInput;
791
+ namespace Responses {
792
+ export type $200 = /* Array of results for each notification channel (email, in-app) */ Components.Schemas.SendPreviewResponse;
793
+ export type $400 = Components.Schemas.Error;
794
+ export type $401 = Components.Schemas.Error;
795
+ export type $500 = Components.Schemas.Error;
796
+ }
797
+ }
798
+ namespace UpdateNotificationTemplate {
799
+ namespace Parameters {
800
+ export type Id = string; // uuid
801
+ }
802
+ export interface PathParameters {
803
+ id: Parameters.Id /* uuid */;
804
+ }
805
+ export type RequestBody = Components.Schemas.UpdateNotificationTemplateInput;
806
+ namespace Responses {
807
+ export type $200 = Components.Schemas.NotificationTemplate;
808
+ export type $400 = Components.Schemas.Error;
809
+ export type $401 = Components.Schemas.Error;
810
+ export type $404 = Components.Schemas.Error;
811
+ export type $500 = Components.Schemas.Error;
812
+ }
813
+ }
814
+ }
815
+
816
+
817
+ interface OperationMethods {
818
+ /**
819
+ * getNotificationsV2 - getNotificationsV2
820
+ *
821
+ * Get notifications items. These items may eventually contain entities within their payload, which can be hydrated by the client if desired by calling the Entity API directly.
822
+ */
823
+ 'getNotificationsV2'(
824
+ parameters?: Parameters<Paths.GetNotificationsV2.QueryParameters> | null,
825
+ data?: any,
826
+ config?: AxiosRequestConfig
827
+ ): OperationResponse<Paths.GetNotificationsV2.Responses.$200>
828
+ /**
829
+ * getNotifications - getNotifications
830
+ *
831
+ * Get notifications
832
+ */
833
+ 'getNotifications'(
834
+ parameters?: Parameters<Paths.GetNotifications.QueryParameters> | null,
835
+ data?: any,
836
+ config?: AxiosRequestConfig
837
+ ): OperationResponse<Paths.GetNotifications.Responses.$200>
838
+ /**
839
+ * createNotification - createNotification
840
+ *
841
+ * Create a message that can be displayed in the notification panel.
842
+ */
843
+ 'createNotification'(
844
+ parameters?: Parameters<UnknownParamsObject> | null,
845
+ data?: Paths.CreateNotification.RequestBody,
846
+ config?: AxiosRequestConfig
847
+ ): OperationResponse<Paths.CreateNotification.Responses.$202>
848
+ /**
849
+ * getNotification - getNotification
850
+ *
851
+ * Get the details of a single notification.
852
+ */
853
+ 'getNotification'(
854
+ parameters?: Parameters<Paths.GetNotification.PathParameters> | null,
855
+ data?: any,
856
+ config?: AxiosRequestConfig
857
+ ): OperationResponse<Paths.GetNotification.Responses.$200>
858
+ /**
859
+ * markAllAsRead - markAllAsRead
860
+ *
861
+ * Mark all as read
862
+ */
863
+ 'markAllAsRead'(
864
+ parameters?: Parameters<UnknownParamsObject> | null,
865
+ data?: any,
866
+ config?: AxiosRequestConfig
867
+ ): OperationResponse<Paths.MarkAllAsRead.Responses.$204>
868
+ /**
869
+ * markAsRead - markAsRead
870
+ *
871
+ * Mark as read
872
+ */
873
+ 'markAsRead'(
874
+ parameters?: Parameters<Paths.MarkAsRead.PathParameters> | null,
875
+ data?: any,
876
+ config?: AxiosRequestConfig
877
+ ): OperationResponse<Paths.MarkAsRead.Responses.$204>
878
+ /**
879
+ * getTotalUnread - getTotalUnread
880
+ *
881
+ * Get total unread
882
+ */
883
+ 'getTotalUnread'(
884
+ parameters?: Parameters<UnknownParamsObject> | null,
885
+ data?: any,
886
+ config?: AxiosRequestConfig
887
+ ): OperationResponse<Paths.GetTotalUnread.Responses.$200>
888
+ /**
889
+ * listNotificationTemplates - listNotificationTemplates
890
+ *
891
+ * List notification templates with optional filtering and pagination
892
+ */
893
+ 'listNotificationTemplates'(
894
+ parameters?: Parameters<Paths.ListNotificationTemplates.QueryParameters> | null,
895
+ data?: any,
896
+ config?: AxiosRequestConfig
897
+ ): OperationResponse<Paths.ListNotificationTemplates.Responses.$200>
898
+ /**
899
+ * createNotificationTemplate - createNotificationTemplate
900
+ *
901
+ * Create a new notification template
902
+ */
903
+ 'createNotificationTemplate'(
904
+ parameters?: Parameters<UnknownParamsObject> | null,
905
+ data?: Paths.CreateNotificationTemplate.RequestBody,
906
+ config?: AxiosRequestConfig
907
+ ): OperationResponse<Paths.CreateNotificationTemplate.Responses.$201>
908
+ /**
909
+ * getNotificationTemplate - getNotificationTemplate
910
+ *
911
+ * Get a single notification template by ID
912
+ */
913
+ 'getNotificationTemplate'(
914
+ parameters?: Parameters<Paths.GetNotificationTemplate.PathParameters> | null,
915
+ data?: any,
916
+ config?: AxiosRequestConfig
917
+ ): OperationResponse<Paths.GetNotificationTemplate.Responses.$200>
918
+ /**
919
+ * updateNotificationTemplate - updateNotificationTemplate
920
+ *
921
+ * Update a notification template (full replacement)
922
+ */
923
+ 'updateNotificationTemplate'(
924
+ parameters?: Parameters<Paths.UpdateNotificationTemplate.PathParameters> | null,
925
+ data?: Paths.UpdateNotificationTemplate.RequestBody,
926
+ config?: AxiosRequestConfig
927
+ ): OperationResponse<Paths.UpdateNotificationTemplate.Responses.$200>
928
+ /**
929
+ * patchNotificationTemplate - patchNotificationTemplate
930
+ *
931
+ * Partially update a notification template
932
+ */
933
+ 'patchNotificationTemplate'(
934
+ parameters?: Parameters<Paths.PatchNotificationTemplate.PathParameters> | null,
935
+ data?: Paths.PatchNotificationTemplate.RequestBody,
936
+ config?: AxiosRequestConfig
937
+ ): OperationResponse<Paths.PatchNotificationTemplate.Responses.$200>
938
+ /**
939
+ * deleteNotificationTemplate - deleteNotificationTemplate
940
+ *
941
+ * Delete a notification template permanently
942
+ */
943
+ 'deleteNotificationTemplate'(
944
+ parameters?: Parameters<Paths.DeleteNotificationTemplate.PathParameters> | null,
945
+ data?: any,
946
+ config?: AxiosRequestConfig
947
+ ): OperationResponse<Paths.DeleteNotificationTemplate.Responses.$200>
948
+ /**
949
+ * sendPreview - sendPreview
950
+ *
951
+ * Send a preview notification (both email and in-app) to the requesting user.
952
+ * Used to test notification templates before saving.
953
+ *
954
+ */
955
+ 'sendPreview'(
956
+ parameters?: Parameters<UnknownParamsObject> | null,
957
+ data?: Paths.SendPreview.RequestBody,
958
+ config?: AxiosRequestConfig
959
+ ): OperationResponse<Paths.SendPreview.Responses.$200>
960
+ }
961
+
962
+ interface PathsDictionary {
963
+ ['/v2/notification/notifications']: {
964
+ /**
965
+ * getNotificationsV2 - getNotificationsV2
966
+ *
967
+ * Get notifications items. These items may eventually contain entities within their payload, which can be hydrated by the client if desired by calling the Entity API directly.
968
+ */
969
+ 'get'(
970
+ parameters?: Parameters<Paths.GetNotificationsV2.QueryParameters> | null,
971
+ data?: any,
972
+ config?: AxiosRequestConfig
973
+ ): OperationResponse<Paths.GetNotificationsV2.Responses.$200>
974
+ }
975
+ ['/v1/notification/notifications']: {
976
+ /**
977
+ * createNotification - createNotification
978
+ *
979
+ * Create a message that can be displayed in the notification panel.
980
+ */
981
+ 'post'(
982
+ parameters?: Parameters<UnknownParamsObject> | null,
983
+ data?: Paths.CreateNotification.RequestBody,
984
+ config?: AxiosRequestConfig
985
+ ): OperationResponse<Paths.CreateNotification.Responses.$202>
986
+ /**
987
+ * getNotifications - getNotifications
988
+ *
989
+ * Get notifications
990
+ */
991
+ 'get'(
992
+ parameters?: Parameters<Paths.GetNotifications.QueryParameters> | null,
993
+ data?: any,
994
+ config?: AxiosRequestConfig
995
+ ): OperationResponse<Paths.GetNotifications.Responses.$200>
996
+ }
997
+ ['/v1/notification/notifications/{id}']: {
998
+ /**
999
+ * getNotification - getNotification
1000
+ *
1001
+ * Get the details of a single notification.
1002
+ */
1003
+ 'get'(
1004
+ parameters?: Parameters<Paths.GetNotification.PathParameters> | null,
1005
+ data?: any,
1006
+ config?: AxiosRequestConfig
1007
+ ): OperationResponse<Paths.GetNotification.Responses.$200>
1008
+ }
1009
+ ['/v1/notification/notifications/mark']: {
1010
+ /**
1011
+ * markAllAsRead - markAllAsRead
1012
+ *
1013
+ * Mark all as read
1014
+ */
1015
+ 'put'(
1016
+ parameters?: Parameters<UnknownParamsObject> | null,
1017
+ data?: any,
1018
+ config?: AxiosRequestConfig
1019
+ ): OperationResponse<Paths.MarkAllAsRead.Responses.$204>
1020
+ }
1021
+ ['/v1/notification/notifications/{id}/mark']: {
1022
+ /**
1023
+ * markAsRead - markAsRead
1024
+ *
1025
+ * Mark as read
1026
+ */
1027
+ 'put'(
1028
+ parameters?: Parameters<Paths.MarkAsRead.PathParameters> | null,
1029
+ data?: any,
1030
+ config?: AxiosRequestConfig
1031
+ ): OperationResponse<Paths.MarkAsRead.Responses.$204>
1032
+ }
1033
+ ['/v1/notification/unreads']: {
1034
+ /**
1035
+ * getTotalUnread - getTotalUnread
1036
+ *
1037
+ * Get total unread
1038
+ */
1039
+ 'get'(
1040
+ parameters?: Parameters<UnknownParamsObject> | null,
1041
+ data?: any,
1042
+ config?: AxiosRequestConfig
1043
+ ): OperationResponse<Paths.GetTotalUnread.Responses.$200>
1044
+ }
1045
+ ['/v1/notification/templates']: {
1046
+ /**
1047
+ * listNotificationTemplates - listNotificationTemplates
1048
+ *
1049
+ * List notification templates with optional filtering and pagination
1050
+ */
1051
+ 'get'(
1052
+ parameters?: Parameters<Paths.ListNotificationTemplates.QueryParameters> | null,
1053
+ data?: any,
1054
+ config?: AxiosRequestConfig
1055
+ ): OperationResponse<Paths.ListNotificationTemplates.Responses.$200>
1056
+ /**
1057
+ * createNotificationTemplate - createNotificationTemplate
1058
+ *
1059
+ * Create a new notification template
1060
+ */
1061
+ 'post'(
1062
+ parameters?: Parameters<UnknownParamsObject> | null,
1063
+ data?: Paths.CreateNotificationTemplate.RequestBody,
1064
+ config?: AxiosRequestConfig
1065
+ ): OperationResponse<Paths.CreateNotificationTemplate.Responses.$201>
1066
+ }
1067
+ ['/v1/notification/templates/{id}']: {
1068
+ /**
1069
+ * getNotificationTemplate - getNotificationTemplate
1070
+ *
1071
+ * Get a single notification template by ID
1072
+ */
1073
+ 'get'(
1074
+ parameters?: Parameters<Paths.GetNotificationTemplate.PathParameters> | null,
1075
+ data?: any,
1076
+ config?: AxiosRequestConfig
1077
+ ): OperationResponse<Paths.GetNotificationTemplate.Responses.$200>
1078
+ /**
1079
+ * updateNotificationTemplate - updateNotificationTemplate
1080
+ *
1081
+ * Update a notification template (full replacement)
1082
+ */
1083
+ 'put'(
1084
+ parameters?: Parameters<Paths.UpdateNotificationTemplate.PathParameters> | null,
1085
+ data?: Paths.UpdateNotificationTemplate.RequestBody,
1086
+ config?: AxiosRequestConfig
1087
+ ): OperationResponse<Paths.UpdateNotificationTemplate.Responses.$200>
1088
+ /**
1089
+ * patchNotificationTemplate - patchNotificationTemplate
1090
+ *
1091
+ * Partially update a notification template
1092
+ */
1093
+ 'patch'(
1094
+ parameters?: Parameters<Paths.PatchNotificationTemplate.PathParameters> | null,
1095
+ data?: Paths.PatchNotificationTemplate.RequestBody,
1096
+ config?: AxiosRequestConfig
1097
+ ): OperationResponse<Paths.PatchNotificationTemplate.Responses.$200>
1098
+ /**
1099
+ * deleteNotificationTemplate - deleteNotificationTemplate
1100
+ *
1101
+ * Delete a notification template permanently
1102
+ */
1103
+ 'delete'(
1104
+ parameters?: Parameters<Paths.DeleteNotificationTemplate.PathParameters> | null,
1105
+ data?: any,
1106
+ config?: AxiosRequestConfig
1107
+ ): OperationResponse<Paths.DeleteNotificationTemplate.Responses.$200>
1108
+ }
1109
+ ['/v1/notification/templates/send-preview']: {
1110
+ /**
1111
+ * sendPreview - sendPreview
1112
+ *
1113
+ * Send a preview notification (both email and in-app) to the requesting user.
1114
+ * Used to test notification templates before saving.
1115
+ *
1116
+ */
1117
+ 'post'(
1118
+ parameters?: Parameters<UnknownParamsObject> | null,
1119
+ data?: Paths.SendPreview.RequestBody,
1120
+ config?: AxiosRequestConfig
1121
+ ): OperationResponse<Paths.SendPreview.Responses.$200>
1122
+ }
1123
+ }
1124
+
1125
+ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
1126
+
1127
+
1128
+ type CreateNotificationTemplateInput = Components.Schemas.CreateNotificationTemplateInput;
1129
+ type Entity = Components.Schemas.Entity;
1130
+ type EntityAcl = Components.Schemas.EntityAcl;
1131
+ type EntityId = Components.Schemas.EntityId;
1132
+ type EntityOperation = Components.Schemas.EntityOperation;
1133
+ type EntityOwner = Components.Schemas.EntityOwner;
1134
+ type EntitySlug = Components.Schemas.EntitySlug;
1135
+ type Error = Components.Schemas.Error;
1136
+ type Id = Components.Schemas.Id;
1137
+ type Notification = Components.Schemas.Notification;
1138
+ type NotificationBase = Components.Schemas.NotificationBase;
1139
+ type NotificationCallerContext = Components.Schemas.NotificationCallerContext;
1140
+ type NotificationId = Components.Schemas.NotificationId;
1141
+ type NotificationItem = Components.Schemas.NotificationItem;
1142
+ type NotificationTemplate = Components.Schemas.NotificationTemplate;
1143
+ type NotificationTemplateListResponse = Components.Schemas.NotificationTemplateListResponse;
1144
+ type SendPreviewInput = Components.Schemas.SendPreviewInput;
1145
+ type SendPreviewResponse = Components.Schemas.SendPreviewResponse;
1146
+ type UpdateNotificationTemplateInput = Components.Schemas.UpdateNotificationTemplateInput;
1147
+
1148
+ export type { Client as C, Entity as E, Id as I, Notification as N, OperationMethods as O, PathsDictionary as P, SendPreviewInput as S, UpdateNotificationTemplateInput as U, CreateNotificationTemplateInput as a, EntityAcl as b, EntityId as c, EntityOperation as d, EntityOwner as e, EntitySlug as f, Error as g, NotificationBase as h, NotificationCallerContext as i, NotificationId as j, NotificationItem as k, NotificationTemplate as l, NotificationTemplateListResponse as m, SendPreviewResponse as n };