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