@epilot/sdk 2.2.6 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (390) hide show
  1. package/README.md +3 -2
  2. package/dist/{README-JUWX7KNV.js → README-7R2JR652.js} +1 -1
  3. package/dist/{README-6OOYWQYJ.cjs → README-Z5AKTGJA.cjs} +1 -1
  4. package/dist/{_index-NWNYWBIF.js → _index-CLT2KTVS.js} +9 -6
  5. package/dist/{_index-ONGE545F.cjs → _index-O7JDGRSE.cjs} +8 -5
  6. package/dist/apis/access-token.cjs +6 -6
  7. package/dist/apis/access-token.js +1 -1
  8. package/dist/apis/address-suggestions.cjs +6 -6
  9. package/dist/apis/address-suggestions.js +1 -1
  10. package/dist/apis/address.cjs +6 -6
  11. package/dist/apis/address.js +1 -1
  12. package/dist/apis/ai-agents.cjs +6 -6
  13. package/dist/apis/ai-agents.js +1 -1
  14. package/dist/apis/app.cjs +6 -6
  15. package/dist/apis/app.js +1 -1
  16. package/dist/apis/audit-logs.cjs +6 -6
  17. package/dist/apis/audit-logs.js +1 -1
  18. package/dist/apis/automation.cjs +8 -8
  19. package/dist/apis/automation.d.cts +2 -2
  20. package/dist/apis/automation.d.ts +2 -2
  21. package/dist/apis/automation.js +2 -2
  22. package/dist/apis/billing.cjs +6 -6
  23. package/dist/apis/billing.js +1 -1
  24. package/dist/apis/blueprint-manifest.cjs +8 -8
  25. package/dist/apis/blueprint-manifest.d.cts +2 -2
  26. package/dist/apis/blueprint-manifest.d.ts +2 -2
  27. package/dist/apis/blueprint-manifest.js +2 -2
  28. package/dist/apis/consent.cjs +6 -6
  29. package/dist/apis/consent.js +1 -1
  30. package/dist/apis/customer-portal.cjs +6 -6
  31. package/dist/apis/customer-portal.js +1 -1
  32. package/dist/apis/dashboard.cjs +6 -6
  33. package/dist/apis/dashboard.js +1 -1
  34. package/dist/apis/data-governance.cjs +38 -0
  35. package/dist/apis/{data-management.d.cts → data-governance.d.cts} +5 -5
  36. package/dist/apis/{data-management.d.ts → data-governance.d.ts} +5 -5
  37. package/dist/apis/{data-management.js → data-governance.js} +10 -10
  38. package/dist/apis/deduplication.cjs +8 -8
  39. package/dist/apis/deduplication.d.cts +2 -2
  40. package/dist/apis/deduplication.d.ts +2 -2
  41. package/dist/apis/deduplication.js +2 -2
  42. package/dist/apis/design.cjs +8 -8
  43. package/dist/apis/design.d.cts +2 -2
  44. package/dist/apis/design.d.ts +2 -2
  45. package/dist/apis/design.js +2 -2
  46. package/dist/apis/document.cjs +6 -6
  47. package/dist/apis/document.js +1 -1
  48. package/dist/apis/email-settings.cjs +8 -8
  49. package/dist/apis/email-settings.d.cts +2 -2
  50. package/dist/apis/email-settings.d.ts +2 -2
  51. package/dist/apis/email-settings.js +2 -2
  52. package/dist/apis/email-template.cjs +6 -6
  53. package/dist/apis/email-template.js +1 -1
  54. package/dist/apis/entity-mapping.cjs +6 -6
  55. package/dist/apis/entity-mapping.js +1 -1
  56. package/dist/apis/entity.cjs +6 -6
  57. package/dist/apis/entity.d.cts +2 -2
  58. package/dist/apis/entity.d.ts +2 -2
  59. package/dist/apis/entity.js +1 -1
  60. package/dist/apis/environments.cjs +6 -6
  61. package/dist/apis/environments.js +1 -1
  62. package/dist/apis/erp-integration.cjs +8 -8
  63. package/dist/apis/erp-integration.d.cts +5755 -3
  64. package/dist/apis/erp-integration.d.ts +5755 -3
  65. package/dist/apis/erp-integration.js +2 -2
  66. package/dist/apis/event-catalog.cjs +6 -6
  67. package/dist/apis/event-catalog.js +1 -1
  68. package/dist/apis/file.cjs +6 -6
  69. package/dist/apis/file.js +1 -1
  70. package/dist/apis/iban.cjs +6 -6
  71. package/dist/apis/iban.js +1 -1
  72. package/dist/apis/integration-toolkit.cjs +38 -0
  73. package/dist/apis/integration-toolkit.d.cts +18 -0
  74. package/dist/apis/integration-toolkit.d.ts +18 -0
  75. package/dist/apis/integration-toolkit.js +38 -0
  76. package/dist/apis/journey.cjs +6 -6
  77. package/dist/apis/journey.d.cts +2 -2
  78. package/dist/apis/journey.d.ts +2 -2
  79. package/dist/apis/journey.js +1 -1
  80. package/dist/apis/kanban.cjs +6 -6
  81. package/dist/apis/kanban.js +1 -1
  82. package/dist/apis/message.cjs +8 -8
  83. package/dist/apis/message.d.cts +2 -2
  84. package/dist/apis/message.d.ts +2 -2
  85. package/dist/apis/message.js +2 -2
  86. package/dist/apis/metering.cjs +6 -6
  87. package/dist/apis/metering.js +1 -1
  88. package/dist/apis/notes.cjs +6 -6
  89. package/dist/apis/notes.js +1 -1
  90. package/dist/apis/notification.cjs +6 -6
  91. package/dist/apis/notification.js +1 -1
  92. package/dist/apis/organization.cjs +6 -6
  93. package/dist/apis/organization.js +1 -1
  94. package/dist/apis/partner-directory.cjs +6 -6
  95. package/dist/apis/partner-directory.js +1 -1
  96. package/dist/apis/permissions.cjs +6 -6
  97. package/dist/apis/permissions.js +1 -1
  98. package/dist/apis/pricing-tier.cjs +6 -6
  99. package/dist/apis/pricing-tier.js +1 -1
  100. package/dist/apis/pricing.cjs +6 -6
  101. package/dist/apis/pricing.js +1 -1
  102. package/dist/apis/purpose.cjs +6 -6
  103. package/dist/apis/purpose.js +1 -1
  104. package/dist/apis/sandbox.cjs +6 -6
  105. package/dist/apis/sandbox.js +1 -1
  106. package/dist/apis/sharing.cjs +38 -0
  107. package/dist/apis/sharing.d.cts +18 -0
  108. package/dist/apis/sharing.d.ts +18 -0
  109. package/dist/apis/sharing.js +38 -0
  110. package/dist/apis/submission.cjs +6 -6
  111. package/dist/apis/submission.js +1 -1
  112. package/dist/apis/targeting.cjs +6 -6
  113. package/dist/apis/targeting.js +1 -1
  114. package/dist/apis/template-variables.cjs +6 -6
  115. package/dist/apis/template-variables.d.cts +2 -2
  116. package/dist/apis/template-variables.d.ts +2 -2
  117. package/dist/apis/template-variables.js +1 -1
  118. package/dist/apis/user.cjs +6 -6
  119. package/dist/apis/user.js +1 -1
  120. package/dist/apis/validation-rules.cjs +6 -6
  121. package/dist/apis/validation-rules.js +1 -1
  122. package/dist/apis/webhooks.cjs +6 -6
  123. package/dist/apis/webhooks.js +1 -1
  124. package/dist/apis/workflow-definition.cjs +6 -6
  125. package/dist/apis/workflow-definition.d.cts +2 -2
  126. package/dist/apis/workflow-definition.d.ts +2 -2
  127. package/dist/apis/workflow-definition.js +1 -1
  128. package/dist/apis/workflow.cjs +8 -8
  129. package/dist/apis/workflow.d.cts +2 -2
  130. package/dist/apis/workflow.d.ts +2 -2
  131. package/dist/apis/workflow.js +2 -2
  132. package/dist/automation-GFNNLSIN.js +7 -0
  133. package/dist/automation-IOCVCTKR.cjs +7 -0
  134. package/dist/{automation-runtime-YBGGE5PL.cjs → automation-runtime-DO5QSGJJ.cjs} +2 -2
  135. package/dist/{automation-runtime-L5UKEFLA.js → automation-runtime-VP4M7Z4R.js} +1 -1
  136. package/dist/{automation.d-D7BzN7Gq.d.cts → automation.d-CzhG2m4L.d.cts} +353 -3
  137. package/dist/{automation.d-D7BzN7Gq.d.ts → automation.d-CzhG2m4L.d.ts} +353 -3
  138. package/dist/blueprint-manifest-ELK4SGN7.js +7 -0
  139. package/dist/blueprint-manifest-VBOWPK52.cjs +7 -0
  140. package/dist/{blueprint-manifest-runtime-2RTW5C52.js → blueprint-manifest-runtime-E2FN43TB.js} +1 -1
  141. package/dist/{blueprint-manifest-runtime-AF3FIDVX.cjs → blueprint-manifest-runtime-G4UK5VEX.cjs} +2 -2
  142. package/dist/{blueprint-manifest.d-DECw6HdM.d.cts → blueprint-manifest.d-BGrGU787.d.cts} +712 -22
  143. package/dist/{blueprint-manifest.d-DECw6HdM.d.ts → blueprint-manifest.d-BGrGU787.d.ts} +712 -22
  144. package/dist/chunk-5APJZUIH.cjs +14 -0
  145. package/dist/chunk-5ED7FB3Q.js +14 -0
  146. package/dist/{chunk-H2KTLW3Q.js → chunk-6AO46HG5.js} +31 -26
  147. package/dist/{chunk-UNCVJH6J.cjs → chunk-77JS7NDM.cjs} +1 -1
  148. package/dist/{chunk-6UAS2VVG.js → chunk-DLYPVF4U.js} +1 -1
  149. package/dist/chunk-DVM27A7E.cjs +14 -0
  150. package/dist/{chunk-3NLMZLCD.js → chunk-EFWPEVXI.js} +1 -1
  151. package/dist/chunk-EIIIKDOJ.cjs +14 -0
  152. package/dist/{chunk-HAZ3WP7V.cjs → chunk-IAHSYVYB.cjs} +1 -1
  153. package/dist/chunk-JTFWOEZF.cjs +14 -0
  154. package/dist/{chunk-A67W5WAP.cjs → chunk-KEI3GHDY.cjs} +1 -1
  155. package/dist/chunk-KIWRGUKM.js +14 -0
  156. package/dist/{chunk-PSQMDY3B.js → chunk-KQKBSWGI.js} +1 -1
  157. package/dist/{chunk-NF3MQHQS.cjs → chunk-MHXQX7FS.cjs} +31 -26
  158. package/dist/{chunk-LHVRAAFH.js → chunk-MUNMUGB5.js} +1 -1
  159. package/dist/chunk-NPDSA7T2.js +14 -0
  160. package/dist/{chunk-ZI33AJQ5.cjs → chunk-QNZPOA54.cjs} +1 -1
  161. package/dist/{chunk-ODD4JQVS.cjs → chunk-TLH6XOTL.cjs} +1 -1
  162. package/dist/chunk-TZQFJ5GX.cjs +14 -0
  163. package/dist/chunk-U4PUHKZC.js +14 -0
  164. package/dist/chunk-VPDA5SAH.js +14 -0
  165. package/dist/chunk-WT26LFC2.js +14 -0
  166. package/dist/{chunk-3YSEO476.js → chunk-X2SC4GW5.js} +1 -1
  167. package/dist/chunk-ZL6KDJFT.cjs +14 -0
  168. package/dist/data-governance-2U5UU4GM.cjs +7 -0
  169. package/dist/data-governance-36Y33JVG.js +7 -0
  170. package/dist/{data-management-W5JQGGGH.js → data-governance-PLS5TJ7Z.js} +3 -3
  171. package/dist/{data-management-XFSRLFYA.cjs → data-governance-ZJ2K4ZWX.cjs} +3 -3
  172. package/dist/data-governance-runtime-LITKCNSG.js +5 -0
  173. package/dist/{erp-integration-runtime-HZI2P4X7.cjs → data-governance-runtime-TDGFG67G.cjs} +2 -2
  174. package/dist/data-governance.d-BbZ466j5.d.cts +1178 -0
  175. package/dist/data-governance.d-BbZ466j5.d.ts +1178 -0
  176. package/dist/deduplication-G2ZY4NMX.js +7 -0
  177. package/dist/deduplication-PKKTZAEA.cjs +7 -0
  178. package/dist/{deduplication-runtime-BBHG7MJW.cjs → deduplication-runtime-5QS6I4S7.cjs} +2 -2
  179. package/dist/{deduplication-runtime-DLGBF4RN.js → deduplication-runtime-VL4R2VIG.js} +1 -1
  180. package/dist/deduplication.d-D5GYddVu.d.cts +218 -0
  181. package/dist/deduplication.d-D5GYddVu.d.ts +218 -0
  182. package/dist/design-NISDHPFD.cjs +7 -0
  183. package/dist/design-WL4AZIGX.js +7 -0
  184. package/dist/design-runtime-OXEXKZVG.cjs +5 -0
  185. package/dist/{design-runtime-3SKJA7QH.js → design-runtime-QMJM4FAF.js} +1 -1
  186. package/dist/{design.d-eA-irKEX.d.cts → design.d-DTo29S0F.d.cts} +142 -15
  187. package/dist/{design.d-eA-irKEX.d.ts → design.d-DTo29S0F.d.ts} +142 -15
  188. package/dist/email-settings-CKFJU4WZ.js +7 -0
  189. package/dist/email-settings-NQJJKS2P.cjs +7 -0
  190. package/dist/{email-settings-runtime-Q2HVKJDS.js → email-settings-runtime-EGIJ2AVQ.js} +1 -1
  191. package/dist/{email-settings-runtime-3NJIAWWI.cjs → email-settings-runtime-WGVLI7N6.cjs} +2 -2
  192. package/dist/{email-settings.d-DUvmLZMN.d.cts → email-settings.d-B7Q_xT25.d.cts} +29 -2
  193. package/dist/{email-settings.d-DUvmLZMN.d.ts → email-settings.d-B7Q_xT25.d.ts} +29 -2
  194. package/dist/entity-CK76MXVN.js +7 -0
  195. package/dist/entity-TFMH5VTZ.cjs +7 -0
  196. package/dist/{entity.d-__Tx1Y0J.d.ts → entity.d-ByufVI16.d.cts} +40 -1
  197. package/dist/{entity.d-__Tx1Y0J.d.cts → entity.d-ByufVI16.d.ts} +40 -1
  198. package/dist/erp-integration-PAVHSUDM.cjs +7 -0
  199. package/dist/erp-integration-SBQJ6HEG.js +7 -0
  200. package/dist/{erp-integration-runtime-6SBLYZ34.js → erp-integration-runtime-BHHWMG4O.js} +1 -1
  201. package/dist/{data-management-runtime-J5IS7T47.cjs → erp-integration-runtime-Y6VWGQ3L.cjs} +2 -2
  202. package/dist/index.cjs +67 -40
  203. package/dist/index.d.cts +36 -34
  204. package/dist/index.d.ts +36 -34
  205. package/dist/index.js +54 -27
  206. package/dist/integration-toolkit-FRPFOYT2.js +7 -0
  207. package/dist/integration-toolkit-VNMDI55O.cjs +7 -0
  208. package/dist/integration-toolkit-runtime-5KG3LGXF.cjs +5 -0
  209. package/dist/integration-toolkit-runtime-LYHFVIRW.js +5 -0
  210. package/dist/{erp-integration.d-BV3Rv9e6.d.cts → integration-toolkit.d-Ry-KC9ow.d.cts} +820 -2
  211. package/dist/{erp-integration.d-BV3Rv9e6.d.ts → integration-toolkit.d-Ry-KC9ow.d.ts} +820 -2
  212. package/dist/journey-KDR5EU3W.js +7 -0
  213. package/dist/journey-REBN4TGQ.cjs +7 -0
  214. package/dist/{journey.d-BguKXj73.d.cts → journey.d-ClXO0xK8.d.cts} +8 -0
  215. package/dist/{journey.d-BguKXj73.d.ts → journey.d-ClXO0xK8.d.ts} +8 -0
  216. package/dist/message-HCA2KSH6.js +7 -0
  217. package/dist/message-J2SFQJNB.cjs +7 -0
  218. package/dist/{message-runtime-ITR7MPKT.cjs → message-runtime-CGFCT6FU.cjs} +2 -2
  219. package/dist/{message-runtime-YMKW2N3R.js → message-runtime-XDCFFLYK.js} +1 -1
  220. package/dist/{message.d-YEv1kmQd.d.cts → message.d-D3QUkBjg.d.cts} +230 -4
  221. package/dist/{message.d-YEv1kmQd.d.ts → message.d-D3QUkBjg.d.ts} +230 -4
  222. package/dist/sharing-KEWK5LNG.js +976 -0
  223. package/dist/sharing-MNDABPL7.js +7 -0
  224. package/dist/sharing-MR7ANOST.cjs +7 -0
  225. package/dist/sharing-WG4L7LH2.cjs +976 -0
  226. package/dist/sharing-runtime-OZGIZWL3.js +5 -0
  227. package/dist/sharing-runtime-VOFLBIFW.cjs +5 -0
  228. package/dist/sharing.d-sOXq-gtz.d.cts +571 -0
  229. package/dist/sharing.d-sOXq-gtz.d.ts +571 -0
  230. package/dist/{template-variables-VKDJJZUT.js → template-variables-6CLOG67C.js} +13 -0
  231. package/dist/{template-variables-OAYS2E3G.cjs → template-variables-I72B5WS6.cjs} +13 -0
  232. package/dist/{template-variables.d-Ch3H3zYf.d.cts → template-variables.d-Ble9TSBa.d.cts} +8 -2
  233. package/dist/{template-variables.d-Ch3H3zYf.d.ts → template-variables.d-Ble9TSBa.d.ts} +8 -2
  234. package/dist/workflow-CQOBZ25C.cjs +7 -0
  235. package/dist/workflow-G7VFCXY7.js +7 -0
  236. package/dist/workflow-definition-CVBYKAUY.cjs +7 -0
  237. package/dist/workflow-definition-GNAKDNG7.js +7 -0
  238. package/dist/{workflow-definition.d-CtmE-ymB.d.cts → workflow-definition.d-ByCJK9_x.d.cts} +16 -0
  239. package/dist/{workflow-definition.d-CtmE-ymB.d.ts → workflow-definition.d-ByCJK9_x.d.ts} +16 -0
  240. package/dist/{workflow-runtime-RLZO2OQB.js → workflow-runtime-DNTQDYPQ.js} +1 -1
  241. package/dist/{workflow-runtime-WCJ7NRTH.cjs → workflow-runtime-VKFESVFX.cjs} +2 -2
  242. package/dist/{workflow.d-DvhTpEtU.d.cts → workflow.d-pD8ISOg-.d.cts} +73 -1
  243. package/dist/{workflow.d-DvhTpEtU.d.ts → workflow.d-pD8ISOg-.d.ts} +73 -1
  244. package/docs/automation.md +141 -15
  245. package/docs/blueprint-manifest.md +854 -55
  246. package/docs/{data-management.md → data-governance.md} +113 -28
  247. package/docs/deduplication.md +122 -0
  248. package/docs/design.md +140 -82
  249. package/docs/email-settings.md +22 -0
  250. package/docs/entity.md +17 -0
  251. package/docs/erp-integration.md +837 -25
  252. package/docs/integration-toolkit.md +6048 -0
  253. package/docs/journey.md +6 -0
  254. package/docs/message.md +110 -1
  255. package/docs/sharing.md +1181 -0
  256. package/docs/template-variables.md +13 -0
  257. package/docs/workflow-definition.md +28 -14
  258. package/docs/workflow.md +231 -30
  259. package/package.json +29 -17
  260. package/definitions/access-token-runtime.json +0 -1
  261. package/definitions/access-token.json +0 -663
  262. package/definitions/address-runtime.json +0 -1
  263. package/definitions/address-suggestions-runtime.json +0 -1
  264. package/definitions/address-suggestions.json +0 -582
  265. package/definitions/address.json +0 -578
  266. package/definitions/ai-agents-runtime.json +0 -1
  267. package/definitions/ai-agents.json +0 -1711
  268. package/definitions/app-runtime.json +0 -1
  269. package/definitions/app.json +0 -4493
  270. package/definitions/audit-logs-runtime.json +0 -1
  271. package/definitions/audit-logs.json +0 -305
  272. package/definitions/automation-runtime.json +0 -1
  273. package/definitions/automation.json +0 -4819
  274. package/definitions/billing-runtime.json +0 -1
  275. package/definitions/billing.json +0 -837
  276. package/definitions/blueprint-manifest-runtime.json +0 -1
  277. package/definitions/blueprint-manifest.json +0 -3490
  278. package/definitions/consent-runtime.json +0 -1
  279. package/definitions/consent.json +0 -344
  280. package/definitions/customer-portal-runtime.json +0 -1
  281. package/definitions/customer-portal.json +0 -15676
  282. package/definitions/dashboard-runtime.json +0 -1
  283. package/definitions/dashboard.json +0 -484
  284. package/definitions/data-management-runtime.json +0 -1
  285. package/definitions/data-management.json +0 -978
  286. package/definitions/deduplication-runtime.json +0 -1
  287. package/definitions/deduplication.json +0 -183
  288. package/definitions/design-runtime.json +0 -1
  289. package/definitions/design.json +0 -1423
  290. package/definitions/document-runtime.json +0 -1
  291. package/definitions/document.json +0 -758
  292. package/definitions/email-settings-runtime.json +0 -1
  293. package/definitions/email-settings.json +0 -2748
  294. package/definitions/email-template-runtime.json +0 -1
  295. package/definitions/email-template.json +0 -1441
  296. package/definitions/entity-mapping-runtime.json +0 -1
  297. package/definitions/entity-mapping.json +0 -1642
  298. package/definitions/entity-runtime.json +0 -1
  299. package/definitions/entity.json +0 -10432
  300. package/definitions/environments-runtime.json +0 -1
  301. package/definitions/environments.json +0 -363
  302. package/definitions/erp-integration-runtime.json +0 -1
  303. package/definitions/erp-integration.json +0 -6780
  304. package/definitions/event-catalog-runtime.json +0 -1
  305. package/definitions/event-catalog.json +0 -1051
  306. package/definitions/file-runtime.json +0 -1
  307. package/definitions/file.json +0 -2842
  308. package/definitions/iban-runtime.json +0 -1
  309. package/definitions/iban.json +0 -132
  310. package/definitions/journey-runtime.json +0 -1
  311. package/definitions/journey.json +0 -2594
  312. package/definitions/kanban-runtime.json +0 -1
  313. package/definitions/kanban.json +0 -1505
  314. package/definitions/message-runtime.json +0 -1
  315. package/definitions/message.json +0 -2660
  316. package/definitions/metering-runtime.json +0 -1
  317. package/definitions/metering.json +0 -2321
  318. package/definitions/notes-runtime.json +0 -1
  319. package/definitions/notes.json +0 -1531
  320. package/definitions/notification-runtime.json +0 -1
  321. package/definitions/notification.json +0 -1425
  322. package/definitions/organization-runtime.json +0 -1
  323. package/definitions/organization.json +0 -1192
  324. package/definitions/partner-directory-runtime.json +0 -1
  325. package/definitions/partner-directory.json +0 -2284
  326. package/definitions/permissions-runtime.json +0 -1
  327. package/definitions/permissions.json +0 -1515
  328. package/definitions/pricing-runtime.json +0 -1
  329. package/definitions/pricing-tier-runtime.json +0 -1
  330. package/definitions/pricing-tier.json +0 -105
  331. package/definitions/pricing.json +0 -9884
  332. package/definitions/purpose-runtime.json +0 -1
  333. package/definitions/purpose.json +0 -524
  334. package/definitions/sandbox-runtime.json +0 -1
  335. package/definitions/sandbox.json +0 -453
  336. package/definitions/submission-runtime.json +0 -1
  337. package/definitions/submission.json +0 -313
  338. package/definitions/targeting-runtime.json +0 -1
  339. package/definitions/targeting.json +0 -1474
  340. package/definitions/template-variables-runtime.json +0 -1
  341. package/definitions/template-variables.json +0 -1408
  342. package/definitions/user-runtime.json +0 -1
  343. package/definitions/user.json +0 -2408
  344. package/definitions/validation-rules-runtime.json +0 -1
  345. package/definitions/validation-rules.json +0 -1491
  346. package/definitions/webhooks-runtime.json +0 -1
  347. package/definitions/webhooks.json +0 -1634
  348. package/definitions/workflow-definition-runtime.json +0 -1
  349. package/definitions/workflow-definition.json +0 -3288
  350. package/definitions/workflow-runtime.json +0 -1
  351. package/definitions/workflow.json +0 -4146
  352. package/dist/apis/data-management.cjs +0 -38
  353. package/dist/automation-3HGCK725.cjs +0 -7
  354. package/dist/automation-72VGEJCY.js +0 -7
  355. package/dist/blueprint-manifest-CXSCRQ5X.js +0 -7
  356. package/dist/blueprint-manifest-SHNZPK5O.cjs +0 -7
  357. package/dist/chunk-4BCQGZJB.cjs +0 -14
  358. package/dist/chunk-4G6LO3JY.cjs +0 -14
  359. package/dist/chunk-6GC363VV.js +0 -14
  360. package/dist/chunk-75ZWZM3L.js +0 -14
  361. package/dist/chunk-D32L2HMX.cjs +0 -14
  362. package/dist/chunk-O4JDWMYD.js +0 -14
  363. package/dist/chunk-RXMOHUBP.cjs +0 -14
  364. package/dist/chunk-ZKQ573B7.js +0 -14
  365. package/dist/data-management-3N3A3XBM.js +0 -7
  366. package/dist/data-management-YXFLQWLV.cjs +0 -7
  367. package/dist/data-management-runtime-DN7FGK7G.js +0 -5
  368. package/dist/data-management.d-BXS5jbJY.d.cts +0 -547
  369. package/dist/data-management.d-BXS5jbJY.d.ts +0 -547
  370. package/dist/deduplication-ECVAZVVA.cjs +0 -7
  371. package/dist/deduplication-GYIST22B.js +0 -7
  372. package/dist/deduplication.d-w_2aJD5f.d.cts +0 -113
  373. package/dist/deduplication.d-w_2aJD5f.d.ts +0 -113
  374. package/dist/design-KUVXMFFK.cjs +0 -7
  375. package/dist/design-YKBXRW5C.js +0 -7
  376. package/dist/design-runtime-Y3VGTQLP.cjs +0 -5
  377. package/dist/email-settings-EJ3DCPPN.js +0 -7
  378. package/dist/email-settings-TALOPLBC.cjs +0 -7
  379. package/dist/entity-M5F22DSS.cjs +0 -7
  380. package/dist/entity-RT4YRZDG.js +0 -7
  381. package/dist/erp-integration-6I4B4BIU.cjs +0 -7
  382. package/dist/erp-integration-G54BMGGE.js +0 -7
  383. package/dist/journey-HKN7QXCZ.cjs +0 -7
  384. package/dist/journey-UBZCOJNW.js +0 -7
  385. package/dist/message-3XZLJR6R.cjs +0 -7
  386. package/dist/message-ZNMCS5YH.js +0 -7
  387. package/dist/workflow-3LLURW3H.js +0 -7
  388. package/dist/workflow-RAGQDYXT.cjs +0 -7
  389. package/dist/workflow-definition-MBOMPMCG.js +0 -7
  390. package/dist/workflow-definition-SPAHD3HS.cjs +0 -7
@@ -1,1408 +0,0 @@
1
- {
2
- "openapi": "3.0.2",
3
- "info": {
4
- "title": "Template Variables API",
5
- "description": "This API provides dynamic template processing and variable management, seamless Handlebars template compilation, custom variable operations, and context-aware content generation across email, document templates and snippets.\n",
6
- "version": "1.0.0"
7
- },
8
- "servers": [
9
- {
10
- "url": "https://template-variables-api.sls.epilot.io"
11
- },
12
- {
13
- "url": "https://template-variables-api.sls.epilot.io"
14
- },
15
- {
16
- "url": "https://template-variables-api.dev.sls.epilot.io",
17
- "description": "Production server"
18
- }
19
- ],
20
- "tags": [
21
- {
22
- "name": "Templates",
23
- "description": "Template-based Operations"
24
- },
25
- {
26
- "name": "Custom Variables",
27
- "description": "Custom Variables Operations"
28
- }
29
- ],
30
- "security": [
31
- {
32
- "EpilotAuth": []
33
- },
34
- {
35
- "EpilotOrg": []
36
- }
37
- ],
38
- "paths": {
39
- "/v1/template-variables/categories": {
40
- "get": {
41
- "operationId": "getCategories",
42
- "summary": "getCategories",
43
- "description": "Get all template variable categories",
44
- "tags": [
45
- "Templates"
46
- ],
47
- "parameters": [
48
- {
49
- "name": "lang",
50
- "in": "query",
51
- "schema": {
52
- "$ref": "#/components/schemas/Language"
53
- }
54
- }
55
- ],
56
- "responses": {
57
- "200": {
58
- "description": "ok",
59
- "content": {
60
- "application/json": {
61
- "schema": {
62
- "type": "array",
63
- "items": {
64
- "$ref": "#/components/schemas/CategoryResult"
65
- }
66
- },
67
- "example": [
68
- {
69
- "category": "contact",
70
- "description": "Contact"
71
- },
72
- {
73
- "category": "account",
74
- "description": "Account"
75
- },
76
- {
77
- "category": "organization",
78
- "description": "Organization"
79
- }
80
- ]
81
- }
82
- }
83
- }
84
- }
85
- }
86
- },
87
- "/v1/template-variables:search": {
88
- "post": {
89
- "operationId": "searchVariables",
90
- "summary": "searchVariables",
91
- "description": "Search variables",
92
- "tags": [
93
- "Templates"
94
- ],
95
- "requestBody": {
96
- "content": {
97
- "application/json": {
98
- "schema": {
99
- "type": "object",
100
- "properties": {
101
- "template_type": {
102
- "$ref": "#/components/schemas/TemplateType"
103
- },
104
- "query": {
105
- "type": "string",
106
- "description": "Search string",
107
- "example": "logo"
108
- },
109
- "from": {
110
- "type": "integer",
111
- "default": 0
112
- },
113
- "size": {
114
- "type": "integer",
115
- "default": 25
116
- },
117
- "lang": {
118
- "$ref": "#/components/schemas/Language"
119
- },
120
- "entity_schemas": {
121
- "type": "array",
122
- "items": {
123
- "type": "string",
124
- "description": "Schema slug",
125
- "example": "contact"
126
- }
127
- }
128
- },
129
- "required": [
130
- "template_type",
131
- "query"
132
- ]
133
- }
134
- }
135
- }
136
- },
137
- "responses": {
138
- "200": {
139
- "description": "ok",
140
- "content": {
141
- "application/json": {
142
- "schema": {
143
- "type": "array",
144
- "items": {
145
- "$ref": "#/components/schemas/VariableResult"
146
- }
147
- },
148
- "example": [
149
- {
150
- "group": "Personal Details",
151
- "insert": "{{account.name}}",
152
- "description": "Company name",
153
- "type": "simple"
154
- },
155
- {
156
- "group": "Personal Details",
157
- "insert": "{{account.tax_id}}",
158
- "description": "Tax ID",
159
- "type": "simple"
160
- },
161
- {
162
- "group": "Address details",
163
- "qrdata": "{{account.address_details}}",
164
- "description": "Address Details",
165
- "type": "partial"
166
- },
167
- {
168
- "group": "Address Details",
169
- "insert": "{{account.address.street}}",
170
- "description": "Address - Street name",
171
- "type": "simple"
172
- },
173
- {
174
- "group": "Address Details",
175
- "insert": "{{account.address.street_number}}",
176
- "description": "Address - Street number",
177
- "type": "simple"
178
- },
179
- {
180
- "group": "Address Details",
181
- "insert": "{{account.address.postal_code}}",
182
- "description": "Address - Postal code",
183
- "type": "simple"
184
- },
185
- {
186
- "group": "Address Details",
187
- "insert": "{{account.address.city}}",
188
- "description": "Address - City",
189
- "type": "simple"
190
- }
191
- ]
192
- }
193
- }
194
- }
195
- }
196
- }
197
- },
198
- "/v1/template-variables:context": {
199
- "post": {
200
- "operationId": "getVariableContext",
201
- "summary": "getVariableContext",
202
- "description": "Get full variable context\n\nCalls Entity API, User API, Brand API and others to construct full context object used for template variable replace\n",
203
- "tags": [
204
- "Templates"
205
- ],
206
- "requestBody": {
207
- "content": {
208
- "application/json": {
209
- "schema": {
210
- "type": "object",
211
- "properties": {
212
- "parameters": {
213
- "$ref": "#/components/schemas/VariableParameters"
214
- }
215
- }
216
- }
217
- }
218
- }
219
- },
220
- "responses": {
221
- "200": {
222
- "description": "ok",
223
- "content": {
224
- "application/json": {
225
- "schema": {
226
- "$ref": "#/components/schemas/VariableContext"
227
- }
228
- }
229
- }
230
- }
231
- }
232
- }
233
- },
234
- "/v1/template-variables:replace": {
235
- "post": {
236
- "operationId": "replaceTemplates",
237
- "summary": "replaceTemplates",
238
- "description": "Replace variables in handlebars templates\n\nTakes in an array of input templates and outputs the output text with replaced variables\n",
239
- "tags": [
240
- "Templates"
241
- ],
242
- "requestBody": {
243
- "content": {
244
- "application/json": {
245
- "schema": {
246
- "type": "object",
247
- "properties": {
248
- "inputs": {
249
- "type": "array",
250
- "items": {
251
- "type": "string",
252
- "example": "Hello, {{contact.first_name}}!\n\n{{{brand.signature}}}\n"
253
- }
254
- },
255
- "parameters": {
256
- "$ref": "#/components/schemas/VariableParameters"
257
- }
258
- }
259
- }
260
- }
261
- }
262
- },
263
- "responses": {
264
- "200": {
265
- "description": "ok",
266
- "content": {
267
- "application/json": {
268
- "schema": {
269
- "$ref": "#/components/schemas/ReplacementOutput"
270
- }
271
- }
272
- }
273
- }
274
- }
275
- }
276
- },
277
- "/v2/template:replace": {
278
- "post": {
279
- "operationId": "replaceTemplatesV2",
280
- "summary": "Replace variables in templates (V2)",
281
- "description": "Replace variables in handlebars templates with raw value preservation\n\nV2 returns parsed outputs that preserve the original data types (arrays, objects, strings)\ninstead of stringifying always. Variables with strings mixed with other variables will be returned in the stringified format. \nAlongside the parsed outputs for every single variable.\n\nTakes in an array of input templates and outputs an object mapping each input and variable\nto their rendered values with type preservation.\n",
282
- "tags": [
283
- "Templates"
284
- ],
285
- "requestBody": {
286
- "content": {
287
- "application/json": {
288
- "schema": {
289
- "type": "object",
290
- "properties": {
291
- "inputs": {
292
- "type": "array",
293
- "items": {
294
- "type": "string",
295
- "example": "Hello, {{contact.first_name}}!\n"
296
- }
297
- },
298
- "parameters": {
299
- "$ref": "#/components/schemas/VariableParameters"
300
- }
301
- }
302
- }
303
- }
304
- }
305
- },
306
- "responses": {
307
- "200": {
308
- "description": "ok",
309
- "content": {
310
- "application/json": {
311
- "schema": {
312
- "$ref": "#/components/schemas/ReplacementOutputV2"
313
- }
314
- }
315
- }
316
- }
317
- }
318
- }
319
- },
320
- "/v1/custom-variables": {
321
- "get": {
322
- "operationId": "getCustomVariables",
323
- "summary": "Get custom variables",
324
- "description": "Get all custom variables of organization",
325
- "tags": [
326
- "Custom Variables"
327
- ],
328
- "responses": {
329
- "200": {
330
- "description": "Success",
331
- "content": {
332
- "application/json": {
333
- "schema": {
334
- "type": "array",
335
- "items": {
336
- "$ref": "#/components/schemas/CustomVariable"
337
- }
338
- }
339
- }
340
- }
341
- },
342
- "403": {
343
- "description": "Forbidden"
344
- }
345
- }
346
- },
347
- "post": {
348
- "operationId": "createCustomVariable",
349
- "summary": "Create custom variable",
350
- "description": "Create custom variable",
351
- "tags": [
352
- "Custom Variables"
353
- ],
354
- "requestBody": {
355
- "content": {
356
- "application/json": {
357
- "schema": {
358
- "$ref": "#/components/schemas/CustomVariable"
359
- }
360
- }
361
- }
362
- },
363
- "responses": {
364
- "201": {
365
- "description": "Success",
366
- "content": {
367
- "application/json": {
368
- "schema": {
369
- "$ref": "#/components/schemas/CustomVariable"
370
- }
371
- }
372
- }
373
- },
374
- "403": {
375
- "description": "Forbidden"
376
- },
377
- "409": {
378
- "description": "Conflict - Custom variable with the same key already exists"
379
- }
380
- }
381
- }
382
- },
383
- "/v1/custom-variables:search": {
384
- "post": {
385
- "operationId": "searchCustomVariables",
386
- "summary": "searchCustomVariables",
387
- "description": "Search custom variables",
388
- "tags": [
389
- "Custom Variables"
390
- ],
391
- "requestBody": {
392
- "content": {
393
- "application/json": {
394
- "schema": {
395
- "$ref": "#/components/schemas/CustomVariablesSearchParams"
396
- }
397
- }
398
- }
399
- },
400
- "responses": {
401
- "200": {
402
- "description": "Success",
403
- "content": {
404
- "application/json": {
405
- "schema": {
406
- "type": "object",
407
- "properties": {
408
- "results": {
409
- "type": "array",
410
- "items": {
411
- "$ref": "#/components/schemas/CustomVariable"
412
- }
413
- },
414
- "hits": {
415
- "type": "integer",
416
- "description": "Total number of results",
417
- "example": 100
418
- }
419
- }
420
- }
421
- }
422
- }
423
- },
424
- "403": {
425
- "description": "Forbidden"
426
- }
427
- }
428
- }
429
- },
430
- "/v1/custom-variables/{id}": {
431
- "put": {
432
- "operationId": "updateCustomVariable",
433
- "summary": "Update custom variable",
434
- "description": "Update custom variable",
435
- "tags": [
436
- "Custom Variables"
437
- ],
438
- "parameters": [
439
- {
440
- "name": "id",
441
- "description": "Custom variable ID",
442
- "in": "path",
443
- "required": true,
444
- "schema": {
445
- "type": "string"
446
- },
447
- "example": "rbse777b-3cf8-4bff-bb0c-253fd1123250"
448
- }
449
- ],
450
- "requestBody": {
451
- "content": {
452
- "application/json": {
453
- "schema": {
454
- "$ref": "#/components/schemas/CustomVariable"
455
- }
456
- }
457
- }
458
- },
459
- "responses": {
460
- "200": {
461
- "description": "Success",
462
- "content": {
463
- "application/json": {
464
- "schema": {
465
- "$ref": "#/components/schemas/CustomVariable"
466
- }
467
- }
468
- }
469
- },
470
- "403": {
471
- "description": "Forbidden"
472
- },
473
- "409": {
474
- "description": "Conflict - Custom variable with the same key already exists"
475
- }
476
- }
477
- },
478
- "get": {
479
- "operationId": "getCustomVariable",
480
- "summary": "Get custom variable",
481
- "description": "Get custom variable",
482
- "tags": [
483
- "Custom Variables"
484
- ],
485
- "parameters": [
486
- {
487
- "name": "id",
488
- "description": "Custom vairable ID",
489
- "in": "path",
490
- "required": true,
491
- "schema": {
492
- "type": "string"
493
- },
494
- "example": "rbse777b-3cf8-4bff-bb0c-253fd1123250"
495
- }
496
- ],
497
- "responses": {
498
- "200": {
499
- "description": "Success",
500
- "content": {
501
- "application/json": {
502
- "schema": {
503
- "$ref": "#/components/schemas/CustomVariable"
504
- }
505
- }
506
- }
507
- },
508
- "403": {
509
- "description": "Forbidden"
510
- },
511
- "404": {
512
- "description": "Not found"
513
- }
514
- }
515
- },
516
- "delete": {
517
- "operationId": "deleteCustomVariable",
518
- "summary": "Delete custom variable",
519
- "description": "Immediately and permanently deletes a custom variable",
520
- "tags": [
521
- "Custom Variables"
522
- ],
523
- "parameters": [
524
- {
525
- "name": "id",
526
- "description": "Custom vairable ID",
527
- "in": "path",
528
- "required": true,
529
- "schema": {
530
- "type": "string"
531
- },
532
- "example": "rbse777b-3cf8-4bff-bb0c-253fd1123250"
533
- }
534
- ],
535
- "responses": {
536
- "204": {
537
- "description": "Success"
538
- },
539
- "403": {
540
- "description": "Forbidden"
541
- }
542
- }
543
- }
544
- },
545
- "/v1/custom-variables/order-table-blueprint": {
546
- "get": {
547
- "operationId": "getBluePrintTableConfig",
548
- "summary": "Get default table config",
549
- "description": "Get default table config",
550
- "tags": [
551
- "Custom Variables"
552
- ],
553
- "responses": {
554
- "200": {
555
- "description": "Success",
556
- "content": {
557
- "application/json": {
558
- "schema": {
559
- "$ref": "#/components/schemas/CustomVariable"
560
- }
561
- }
562
- }
563
- },
564
- "403": {
565
- "description": "Forbidden"
566
- }
567
- }
568
- }
569
- }
570
- },
571
- "components": {
572
- "securitySchemes": {
573
- "EpilotAuth": {
574
- "type": "http",
575
- "scheme": "bearer",
576
- "description": "Authorization header with epilot OAuth2 bearer token",
577
- "bearerFormat": "JWT"
578
- },
579
- "EpilotOrg": {
580
- "description": "Overrides the target organization",
581
- "name": "x-ivy-org-id",
582
- "in": "header",
583
- "type": "apiKey"
584
- }
585
- },
586
- "schemas": {
587
- "Language": {
588
- "type": "string",
589
- "description": "2-letter language code (ISO 639-1)",
590
- "default": "de"
591
- },
592
- "VariableParameters": {
593
- "type": "object",
594
- "properties": {
595
- "template_type": {
596
- "$ref": "#/components/schemas/TemplateType"
597
- },
598
- "language": {
599
- "$ref": "#/components/schemas/Language"
600
- },
601
- "main_entity_id": {
602
- "type": "string",
603
- "format": "uuid",
604
- "description": "The main entity ID. Use main entity in order to use the variable without schema slug prefix - or just pass directly to other object ID.",
605
- "example": "63753437-c9e2-4e83-82bb-b1c666514561"
606
- },
607
- "brand_id": {
608
- "type": "number",
609
- "nullable": true,
610
- "description": "Brand ID",
611
- "example": 123451
612
- },
613
- "user_id": {
614
- "type": "string",
615
- "nullable": true,
616
- "description": "User ID",
617
- "example": "50001"
618
- },
619
- "user_org_id": {
620
- "type": "string",
621
- "nullable": true,
622
- "description": "Organization ID of the user",
623
- "example": "729224"
624
- },
625
- "custom_variables": {
626
- "type": "array",
627
- "description": "Custom variables with specified values form other services.",
628
- "items": {
629
- "$ref": "#/components/schemas/ExternalCustomVariable"
630
- }
631
- },
632
- "context_data": {
633
- "type": "object",
634
- "description": "If context data is available, this data will be used for variable replace."
635
- },
636
- "template_name": {
637
- "type": "string",
638
- "description": "The name of email template"
639
- },
640
- "template_tags": {
641
- "type": "array",
642
- "description": "The tags of email template",
643
- "items": {
644
- "type": "string"
645
- }
646
- },
647
- "variables_version": {
648
- "type": "string",
649
- "description": "The version of the variables syntax supported. Default is 1.0",
650
- "example": "2"
651
- }
652
- },
653
- "required": [
654
- "template_type"
655
- ]
656
- },
657
- "ReplacementOutput": {
658
- "type": "object",
659
- "properties": {
660
- "outputs": {
661
- "type": "array",
662
- "items": {
663
- "type": "string"
664
- },
665
- "example": [
666
- "[Brand Name GmbH] Order confirmation\nHello Customer Name\n\n<span color=\"#ccc\">Brand Name GmbH</span>\n<img src=\"https://logobucket.s3.amazonaws.com/brandlogo.png\" alt=\"Brand Name\"/>\n<a href=\"https://company.com/imprint\">imprint</a>\n"
667
- ]
668
- }
669
- }
670
- },
671
- "ReplacementOutputV2": {
672
- "type": "object",
673
- "properties": {
674
- "outputs": {
675
- "type": "object",
676
- "description": "Dictionary mapping input templates and variable names to their resolved output values.\nValues preserve their original types (string, array, object) instead of being stringified.\n\nKeys include:\n- Original input templates (e.g., \"Hello {{name}}\")\n- Individual variables found in templates (e.g., \"{{name}}\", \"{{product_images[*].public_url}}\")\n",
677
- "additionalProperties": {
678
- "anyOf": [
679
- {
680
- "type": "string"
681
- },
682
- {
683
- "type": "number"
684
- },
685
- {
686
- "type": "boolean"
687
- },
688
- {
689
- "type": "array",
690
- "items": {}
691
- },
692
- {
693
- "type": "object",
694
- "additionalProperties": {}
695
- }
696
- ]
697
- },
698
- "example": {
699
- "Hello {{first_name}}": "Hello John",
700
- "{{first_name}}": "John",
701
- "{{product_images[*].public_url}}": [
702
- "http://myimage.server.com/img1.png",
703
- "http://myimage.server.com/img2.png"
704
- ]
705
- }
706
- }
707
- }
708
- },
709
- "VariableResult": {
710
- "type": "object",
711
- "properties": {
712
- "type": {
713
- "type": "string",
714
- "enum": [
715
- "simple",
716
- "partial"
717
- ]
718
- },
719
- "qrdata": {
720
- "type": "string",
721
- "description": "Payload for the QR data"
722
- },
723
- "group": {
724
- "type": "string",
725
- "description": "Variable group"
726
- },
727
- "insert": {
728
- "type": "string",
729
- "description": "The value which is used to insert to template"
730
- },
731
- "description": {
732
- "type": "string",
733
- "description": "Variable description"
734
- }
735
- }
736
- },
737
- "CustomVariablesSearchParams": {
738
- "type": "object",
739
- "properties": {
740
- "type": {
741
- "type": "string",
742
- "description": "Variable type",
743
- "enum": [
744
- "order_table",
745
- "custom",
746
- "journey_link",
747
- "snippet"
748
- ]
749
- },
750
- "tags": {
751
- "type": "array",
752
- "description": "The tags of custom variable",
753
- "items": {
754
- "type": "string"
755
- }
756
- },
757
- "query": {
758
- "type": "string",
759
- "description": "Search string",
760
- "example": "logo"
761
- },
762
- "from": {
763
- "type": "integer",
764
- "default": 0
765
- },
766
- "size": {
767
- "type": "integer",
768
- "default": 25
769
- },
770
- "sort_by": {
771
- "type": "string",
772
- "description": "Sort by field",
773
- "example": "created_at, name, key"
774
- },
775
- "fields": {
776
- "type": "array",
777
- "description": "Fields to return",
778
- "items": {
779
- "type": "string"
780
- }
781
- }
782
- }
783
- },
784
- "VariableContext": {
785
- "type": "object",
786
- "properties": {
787
- "unsubscribe_url": {
788
- "type": "string",
789
- "example": "https://consent.sls.epilot.io/v1/unsubscribe?token=abc123"
790
- },
791
- "main": {
792
- "type": "object",
793
- "additionalProperties": true,
794
- "example": {
795
- "_id": "03be777b-3cf8-4bff-bb0c-253fd1128479",
796
- "_title": "Example Customer",
797
- "customer_number": 123,
798
- "first_name": "Example",
799
- "last_name": "Customer",
800
- "title": "Prof.",
801
- "salutation": "Ms. / Mrs.",
802
- "birthdate": "2018-03-03",
803
- "email": [
804
- {
805
- "email": "contact.primary@domain.com",
806
- "_tags": [
807
- "primary"
808
- ]
809
- },
810
- {
811
- "email": "sale@domain.com"
812
- }
813
- ],
814
- "phone": [
815
- {
816
- "phone": "+49123456789",
817
- "_tags": [
818
- "primary",
819
- "support"
820
- ]
821
- },
822
- {
823
- "phone": "+49504305025"
824
- }
825
- ],
826
- "address": [
827
- {
828
- "_tags": [
829
- "primary",
830
- "delivery"
831
- ],
832
- "country": "Germany",
833
- "city": "Köln",
834
- "postal_code": "50825",
835
- "street": "Im Mediapark",
836
- "street_number": "8a",
837
- "additional_info": "11th floor"
838
- },
839
- {
840
- "_tags": [
841
- "billing"
842
- ],
843
- "country": "Finland",
844
- "city": "Köln",
845
- "postal_code": "50670",
846
- "street": "Im Mediapark",
847
- "street_number": "8a",
848
- "additional_info": ""
849
- }
850
- ],
851
- "account": [
852
- {
853
- "status": "Active",
854
- "_id": "c8d20ff6-df7a-465a-a26e-e5d28c2a3f79",
855
- "tax_id": "123abc",
856
- "name": "name",
857
- "email": [
858
- {
859
- "email": "account.primary@domain.com",
860
- "_tags": [
861
- "primary"
862
- ]
863
- },
864
- {
865
- "email": "account.sale@domain.com"
866
- }
867
- ],
868
- "phone": [
869
- {
870
- "phone": "+49123456789",
871
- "_tags": [
872
- "primary",
873
- "support"
874
- ]
875
- },
876
- {
877
- "phone": "+49504305025"
878
- }
879
- ],
880
- "address": [
881
- {
882
- "_tags": [
883
- "primary",
884
- "delivery"
885
- ],
886
- "country": "Germany",
887
- "city": "Köln",
888
- "postal_code": "50825",
889
- "street": "Im Mediapark",
890
- "street_number": "8a",
891
- "additional_info": "11th floor"
892
- }
893
- ]
894
- }
895
- ]
896
- }
897
- },
898
- "contact": {
899
- "type": "object",
900
- "additionalProperties": true,
901
- "example": {
902
- "_id": "03be777b-3cf8-4bff-bb0c-253fd1128479",
903
- "_title": "Example Customer",
904
- "customer_number": 123,
905
- "first_name": "Example",
906
- "last_name": "Customer",
907
- "title": "Prof.",
908
- "salutation": "Ms. / Mrs.",
909
- "birthdate": "2018-03-03",
910
- "email": [
911
- {
912
- "email": "contact.primary@domain.com",
913
- "_tags": [
914
- "primary"
915
- ]
916
- },
917
- {
918
- "email": "sale@domain.com"
919
- }
920
- ],
921
- "phone": [
922
- {
923
- "phone": "+49123456789",
924
- "_tags": [
925
- "primary",
926
- "support"
927
- ]
928
- },
929
- {
930
- "phone": "+49504305025"
931
- }
932
- ],
933
- "address": [
934
- {
935
- "_tags": [
936
- "primary",
937
- "delivery"
938
- ],
939
- "country": "Germany",
940
- "city": "Köln",
941
- "postal_code": "50825",
942
- "street": "Im Mediapark",
943
- "street_number": "8a",
944
- "additional_info": "11th floor"
945
- },
946
- {
947
- "_tags": [
948
- "billing"
949
- ],
950
- "country": "Finland",
951
- "city": "Köln",
952
- "postal_code": "50670",
953
- "street": "Im Mediapark",
954
- "street_number": "8a",
955
- "additional_info": ""
956
- }
957
- ],
958
- "account": [
959
- {
960
- "status": "Active",
961
- "_id": "c8d20ff6-df7a-465a-a26e-e5d28c2a3f79",
962
- "tax_id": "123abc",
963
- "name": "name",
964
- "email": [
965
- {
966
- "email": "account.primary@domain.com",
967
- "_tags": [
968
- "primary"
969
- ]
970
- },
971
- {
972
- "email": "account.sale@domain.com"
973
- }
974
- ],
975
- "phone": [
976
- {
977
- "phone": "+49123456789",
978
- "_tags": [
979
- "primary",
980
- "support"
981
- ]
982
- },
983
- {
984
- "phone": "+49504305025"
985
- }
986
- ],
987
- "address": [
988
- {
989
- "_tags": [
990
- "primary",
991
- "delivery"
992
- ],
993
- "country": "Germany",
994
- "city": "KölnSS",
995
- "postal_code": "50825",
996
- "street": "Im Mediapark",
997
- "street_number": "8a",
998
- "additional_info": "11th floor"
999
- }
1000
- ]
1001
- }
1002
- ]
1003
- }
1004
- },
1005
- "brand": {
1006
- "type": "object",
1007
- "additionalProperties": true,
1008
- "example": {
1009
- "id": 123453,
1010
- "name": "Brand name",
1011
- "signature": "Signature"
1012
- }
1013
- }
1014
- }
1015
- },
1016
- "TemplateType": {
1017
- "type": "string",
1018
- "enum": [
1019
- "email",
1020
- "document"
1021
- ]
1022
- },
1023
- "CategoryResult": {
1024
- "type": "object",
1025
- "properties": {
1026
- "category": {
1027
- "type": "string",
1028
- "example": "contact"
1029
- },
1030
- "description": {
1031
- "type": "string",
1032
- "example": "Contact"
1033
- }
1034
- }
1035
- },
1036
- "ExternalCustomVariable": {
1037
- "type": "object",
1038
- "properties": {
1039
- "variable": {
1040
- "type": "string",
1041
- "example": "{{craftsmen.invitation_link}}"
1042
- },
1043
- "value": {
1044
- "type": "string",
1045
- "example": "https://partner.epilot.cloud/activate-account?user_name=htny.pct%2Btet%40gmail.com&confirmation_code=EdXPRW19"
1046
- }
1047
- }
1048
- },
1049
- "CustomVariable": {
1050
- "type": "object",
1051
- "properties": {
1052
- "id": {
1053
- "type": "string",
1054
- "description": "ID",
1055
- "example": "rbse777b-3cf8-4bff-bb0c-253fd1123250"
1056
- },
1057
- "type": {
1058
- "type": "string",
1059
- "description": "Custom variable type",
1060
- "enum": [
1061
- "order_table",
1062
- "custom",
1063
- "journey_link",
1064
- "snippet"
1065
- ]
1066
- },
1067
- "name": {
1068
- "type": "string",
1069
- "description": "Custom variable name",
1070
- "example": "My Custom table"
1071
- },
1072
- "key": {
1073
- "type": "string",
1074
- "description": "The key which is used for Handlebar variable syntax {{key}}",
1075
- "example": "my_custom_table"
1076
- },
1077
- "_tags": {
1078
- "type": "array",
1079
- "description": "The tags of custom variable",
1080
- "items": {
1081
- "type": "string"
1082
- }
1083
- },
1084
- "helper_params": {
1085
- "type": "array",
1086
- "description": "The helper function parameter's names",
1087
- "items": {
1088
- "type": "string"
1089
- },
1090
- "example": [
1091
- "param1",
1092
- "param2"
1093
- ]
1094
- },
1095
- "helper_logic": {
1096
- "type": "string",
1097
- "description": "The helper function logic",
1098
- "example": "return param1 * param2;"
1099
- },
1100
- "config": {
1101
- "type": "object",
1102
- "description": "Variable configuration",
1103
- "example": {
1104
- "header": null,
1105
- "style": {
1106
- "color": "#222",
1107
- "background": "#fff",
1108
- "font-size": "16px",
1109
- "font-family": "",
1110
- "padding-bottom": "4px",
1111
- "font-weight": "bold",
1112
- "border": "none !important",
1113
- "text-align": "left"
1114
- },
1115
- "columns": [
1116
- {
1117
- "id": "item",
1118
- "index": 0,
1119
- "label": {
1120
- "en": "Item",
1121
- "de": "Produkt"
1122
- },
1123
- "enable": true,
1124
- "draggable": true,
1125
- "style": {
1126
- "padding-left": "10px",
1127
- "max-width": "30%"
1128
- }
1129
- },
1130
- {
1131
- "id": "quantity",
1132
- "index": 1,
1133
- "label": {
1134
- "en": "Quanity",
1135
- "de": "Menge"
1136
- },
1137
- "enable": true,
1138
- "draggable": true,
1139
- "style": {
1140
- "min-width": "60px",
1141
- "width": "30%"
1142
- }
1143
- },
1144
- {
1145
- "id": "tax",
1146
- "index": 2,
1147
- "label": {
1148
- "en": "Tax Rate",
1149
- "de": "Steuerrate"
1150
- },
1151
- "enable": true,
1152
- "draggable": true,
1153
- "style": {
1154
- "min-width": "60px",
1155
- "width": "30%"
1156
- }
1157
- },
1158
- {
1159
- "id": "unit_amount",
1160
- "index": 3,
1161
- "label": {
1162
- "en": "Unit Net Price",
1163
- "de": "Nettopreis"
1164
- },
1165
- "enable": true,
1166
- "draggable": true,
1167
- "style": {
1168
- "min-width": "60px",
1169
- "width": "30%"
1170
- }
1171
- },
1172
- {
1173
- "id": "net_total",
1174
- "index": 4,
1175
- "label": {
1176
- "en": "Net total",
1177
- "de": "Nettosumme"
1178
- },
1179
- "enable": "true,",
1180
- "draggable": true,
1181
- "style": {
1182
- "min-width": "60px",
1183
- "width": "30%"
1184
- }
1185
- },
1186
- {
1187
- "id": "gross_total",
1188
- "index": 5,
1189
- "label": {
1190
- "en": "Total",
1191
- "de": "Gesamt"
1192
- },
1193
- "enable": true,
1194
- "draggable": true,
1195
- "style": {
1196
- "min-width": "60px",
1197
- "width": "30%"
1198
- }
1199
- }
1200
- ],
1201
- "body": {
1202
- "product_name": {
1203
- "parent_column": "item",
1204
- "enable": true,
1205
- "style": {
1206
- "color": "#222",
1207
- "background": "#fff",
1208
- "font-size": "14px",
1209
- "font-family": "",
1210
- "font-weight": "bold",
1211
- "font-style": "normal",
1212
- "padding-top": "16px",
1213
- "padding-bottom": "8px",
1214
- "border": "none !important",
1215
- "vertical-align": "top",
1216
- "text-align": "left",
1217
- "max-width": "30%",
1218
- "padding-left": "10px"
1219
- }
1220
- },
1221
- "price_description": {
1222
- "parent_column": "item",
1223
- "enable": true,
1224
- "style": {
1225
- "color": "#222",
1226
- "background": "#fff",
1227
- "font-size": "12px",
1228
- "font-family": "",
1229
- "font-weight": "normal",
1230
- "font-style": "normal",
1231
- "text-align": "left",
1232
- "max-width": "30%"
1233
- }
1234
- },
1235
- "product_description": {
1236
- "parent_column": "item",
1237
- "enable": true,
1238
- "style": {
1239
- "color": "#222",
1240
- "background": "#fff",
1241
- "font-size": "12px",
1242
- "font-family": "",
1243
- "font-weight": "normal",
1244
- "font-style": "normal",
1245
- "text-align": "left",
1246
- "max-width": "30%"
1247
- }
1248
- },
1249
- "quantity": {
1250
- "enable": true,
1251
- "style": {
1252
- "color": "#222",
1253
- "background": "#fff",
1254
- "font-size": "12px",
1255
- "font-family": "",
1256
- "font-weight": "normal",
1257
- "font-style": "normal",
1258
- "text-align": "left",
1259
- "max-width": "30%"
1260
- }
1261
- },
1262
- "tax": {
1263
- "enable": true,
1264
- "style": {
1265
- "color": "#222",
1266
- "background": "#fff",
1267
- "font-size": "12px",
1268
- "font-family": "",
1269
- "font-weight": "normal",
1270
- "font-style": "normal",
1271
- "text-align": "left",
1272
- "max-width": "30%"
1273
- }
1274
- },
1275
- "unit_amount": {
1276
- "enable": true,
1277
- "style": {
1278
- "color": "#222",
1279
- "background": "#fff",
1280
- "font-size": "12px",
1281
- "font-family": "",
1282
- "font-weight": "normal",
1283
- "font-style": "normal",
1284
- "text-align": "left",
1285
- "max-width": "30%"
1286
- }
1287
- },
1288
- "net_total": {
1289
- "enable": true,
1290
- "style": {
1291
- "color": "#222",
1292
- "background": "#fff",
1293
- "font-size": "12px",
1294
- "font-family": "",
1295
- "font-weight": "normal",
1296
- "font-style": "normal",
1297
- "text-align": "left",
1298
- "max-width": "30%"
1299
- }
1300
- },
1301
- "gross_total": {
1302
- "enable": true,
1303
- "style": {
1304
- "color": "#222",
1305
- "background": "#fff",
1306
- "font-size": "12px",
1307
- "font-family": "",
1308
- "font-weight": "normal",
1309
- "font-style": "normal",
1310
- "text-align": "left",
1311
- "max-width": "30%"
1312
- }
1313
- }
1314
- },
1315
- "footer": {
1316
- "payment_type": {
1317
- "enable": true,
1318
- "style": {
1319
- "color": "#222",
1320
- "background": "#fff",
1321
- "font-size": "12px",
1322
- "font-family": "",
1323
- "font-weight": "normal",
1324
- "font-style": "normal",
1325
- "text-align": "left",
1326
- "max-width": "30%"
1327
- }
1328
- },
1329
- "net_total": {
1330
- "enable": true,
1331
- "style": {
1332
- "color": "#222",
1333
- "background": "#fff",
1334
- "font-size": "12px",
1335
- "font-family": "",
1336
- "font-weight": "normal",
1337
- "font-style": "normal",
1338
- "text-align": "left",
1339
- "max-width": "30%"
1340
- }
1341
- },
1342
- "amount_tax": {
1343
- "enable": true,
1344
- "style": {
1345
- "color": "#222",
1346
- "background": "#fff",
1347
- "font-size": "12px",
1348
- "font-family": "",
1349
- "font-weight": "normal",
1350
- "font-style": "normal",
1351
- "text-align": "left",
1352
- "max-width": "30%"
1353
- }
1354
- },
1355
- "gross_total": {
1356
- "enable": true,
1357
- "style": {
1358
- "color": "#222",
1359
- "background": "#fff",
1360
- "font-size": "12px",
1361
- "font-family": "",
1362
- "font-weight": "normal",
1363
- "font-style": "normal",
1364
- "text-align": "left",
1365
- "max-width": "30%"
1366
- }
1367
- }
1368
- }
1369
- }
1370
- },
1371
- "template": {
1372
- "type": "string",
1373
- "description": "Handlebar template that used to generate the variable content",
1374
- "example": "<table style=\"table-layout: fixed;width: 100%;max-width: 1000px;border-collapse: collapse;\">\n <thead>\n <tr style=\"height: 48px;border-bottom: 1px solid #D5E1ED;\">\n {{#each table_config.header.columns as |column|}}\n {{#if column.enable}}\n <th style=\"{{makeStyle @root.table_config.header.style}};{{makeStyle column.style}};\">{{column._label}}</th>\n {{/if}}\n {{/each}}\n </tr>\n </thead>\n <tbody style=\"vertical-align: baseline !important;font-weight: 400;font-size: 12px;position: relative;\">\n <!-- Start rendering products -->\n {{#each order.products as |product|}}\n {{#if @last}}\n <tr style=\"height: 48px;;font-size:14px;border-bottom: 1px solid #D5E1ED;\">\n {{else}}\n <tr style=\"height: 48px;;font-size:14px;\">\n {{/if}}\n {{#each @root.table_config.header.columns as |column|}}\n {{#if column.enable}}\n {{#if (eq column.id 'item')}}\n <!-- Item -->\n <td style=\"{{makeStyle @root.table_config.body.product_name.style}}\">\n {{#if @root.table_config.body.product_name.enable}}\n {{product.name}}\n {{/if}}\n {{#if @root.table_config.body.price_description.enable}}\n <br>\n <span style=\"{{makeStyle @root.table_config.body.price_description.style}}\">{{product.price.description}}</span>\n {{/if}}\n {{#if @root.table_config.body.product_description.enable}}\n <br>\n <span style=\"{{makeStyle @root.table_config.body.product_description.style}}\">{{product.description}}</span>\n {{/if}}\n </td>\n {{/if}}\n {{#if (eq column.id 'quantity')}}\n <!-- Quantity -->\n <td style=\"{{makeStyle @root.table_config.body.quantity.style}}\">{{product.price.quantity}}\n </td>\n {{/if}}\n {{#if (eq column.id 'tax')}}\n <!-- Tax -->\n <td style=\"{{makeStyle @root.table_config.body.tax.style}}\">\n {{product.price.tax_rate}}\n </td>\n {{/if}}\n {{#if (eq column.id 'unit_amount')}}\n <!-- Unit amount -->\n <td style=\"{{makeStyle @root.table_config.body.unit_amount.style}}\">\n {{product.price.unit_amount_net}}\n </td>\n {{/if}}\n {{#if (eq column.id 'net_total')}}\n <!-- Amount Subtotal -->\n <td style=\"{{makeStyle @root.table_config.body.net_total.style}}\">\n {{product.price.amount_subtotal}}\n </td>\n {{/if}}\n {{#if (eq column.id 'amount_tax')}}\n <!-- Tax amount-->\n <td style=\"{{makeStyle @root.table_config.body.amount_tax.style}}\">\n {{product.price.amount_tax}}\n </td>\n {{/if}}\n {{#if (eq column.id 'gross_total')}}\n <!-- Gross total -->\n <td style=\"{{makeStyle @root.table_config.body.gross_total.style}}\">\n {{product.price.amount_total}}\n {{#if @root.table_config.body.payment_type.enable}}\n {{#if (eq product.price.type 'recurring')}}\n <br>\n <span style=\"{{makeStyle @root.table_config.body.payment_type.style}}\">{{product.price.billing_period}}</span>\n {{/if}}\n {{/if}}\n </td>\n {{/if}}\n {{/if}}\n {{/each}}\n </tr>\n {{/each}}\n <!-- Finish rendering products -->\n {{#if table_config.footer.gross_total.enable}}\n {{#each order.total_details.recurrences as |item|}}\n <tr style=\"height: 48px;font-size: 14px;\">\n <td style=\"padding-top: 16px; padding-bottom: 8px; border: none !important; vertical-align: top;\" colspan=\"{{calculate_colspan @root.table_config}}\"></td>\n {{#if @root.table_config.footer.payment_type.enable}}\n <td style=\"{{makeStyle @root.table_config.footer.payment_type.style}}\" colspan=\"2\">{{item.billing_period}}</td>\n {{/if}}\n {{#if (isColumnEnabled @root.table_config 'net_total')}}\n {{#if @root.table_config.footer.net_total.enable}}\n <td style=\"{{makeStyle @root.table_config.footer.net_total.style}}\">{{item.amount_subtotal}}</td>\n {{/if}}\n {{/if}}\n <td style=\"{{makeStyle @root.table_config.footer.gross_total.style}}\">{{item.amount_total}}\n {{#if @root.table_config.footer.amount_tax.enable}}\n <br>\n <span style=\"{{makeStyle @root.table_config.footer.amount_tax.style}}\">{{item.full_amount_tax}}</span>\n {{/if}}\n </td>\n </tr>\n {{/each}}\n {{/if}}\n <tr style=\"height:16px !important;\"></tr>\n </tbody>\n</table>\n"
1375
- },
1376
- "created_at": {
1377
- "type": "string",
1378
- "description": "Creation time",
1379
- "example": "2022-04-19T12:41:43.662Z",
1380
- "readOnly": true
1381
- },
1382
- "created_by": {
1383
- "type": "string",
1384
- "description": "Created by",
1385
- "example": "100042",
1386
- "readOnly": true
1387
- },
1388
- "updated_at": {
1389
- "type": "string",
1390
- "description": "Last update time",
1391
- "example": "2022-04-20T12:41:43.662Z",
1392
- "readOnly": true
1393
- },
1394
- "updated_by": {
1395
- "type": "string",
1396
- "description": "Updated by",
1397
- "example": "100042",
1398
- "readOnly": true
1399
- }
1400
- },
1401
- "required": [
1402
- "key",
1403
- "template"
1404
- ]
1405
- }
1406
- }
1407
- }
1408
- }