@epilot/sdk 2.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (381) hide show
  1. package/README.md +294 -0
  2. package/dist/access-token-MYDOBCIY.cjs +89 -0
  3. package/dist/access-token-Y5JR7PRG.js +89 -0
  4. package/dist/access-token.d-C2qnueDV.d.cts +553 -0
  5. package/dist/access-token.d-C2qnueDV.d.ts +553 -0
  6. package/dist/address-3RQRG3MK.js +84 -0
  7. package/dist/address-LQUTDOUA.cjs +84 -0
  8. package/dist/address-suggestions-PEKSA7B2.cjs +132 -0
  9. package/dist/address-suggestions-QNK5JWNH.js +132 -0
  10. package/dist/address-suggestions.d-CewXYNYH.d.cts +340 -0
  11. package/dist/address-suggestions.d-CewXYNYH.d.ts +340 -0
  12. package/dist/address.d-DP_aE2ex.d.cts +438 -0
  13. package/dist/address.d-DP_aE2ex.d.ts +438 -0
  14. package/dist/ai-agents-MO4PK2RJ.cjs +215 -0
  15. package/dist/ai-agents-OHP2F243.js +215 -0
  16. package/dist/ai-agents.d-vG-1utqk.d.cts +1340 -0
  17. package/dist/ai-agents.d-vG-1utqk.d.ts +1340 -0
  18. package/dist/apis/access-token.cjs +33 -0
  19. package/dist/apis/access-token.d.cts +18 -0
  20. package/dist/apis/access-token.d.ts +18 -0
  21. package/dist/apis/access-token.js +33 -0
  22. package/dist/apis/address-suggestions.cjs +33 -0
  23. package/dist/apis/address-suggestions.d.cts +18 -0
  24. package/dist/apis/address-suggestions.d.ts +18 -0
  25. package/dist/apis/address-suggestions.js +33 -0
  26. package/dist/apis/address.cjs +33 -0
  27. package/dist/apis/address.d.cts +18 -0
  28. package/dist/apis/address.d.ts +18 -0
  29. package/dist/apis/address.js +33 -0
  30. package/dist/apis/ai-agents.cjs +33 -0
  31. package/dist/apis/ai-agents.d.cts +18 -0
  32. package/dist/apis/ai-agents.d.ts +18 -0
  33. package/dist/apis/ai-agents.js +33 -0
  34. package/dist/apis/app.cjs +33 -0
  35. package/dist/apis/app.d.cts +18 -0
  36. package/dist/apis/app.d.ts +18 -0
  37. package/dist/apis/app.js +33 -0
  38. package/dist/apis/audit-logs.cjs +33 -0
  39. package/dist/apis/audit-logs.d.cts +18 -0
  40. package/dist/apis/audit-logs.d.ts +18 -0
  41. package/dist/apis/audit-logs.js +33 -0
  42. package/dist/apis/automation.cjs +33 -0
  43. package/dist/apis/automation.d.cts +18 -0
  44. package/dist/apis/automation.d.ts +18 -0
  45. package/dist/apis/automation.js +33 -0
  46. package/dist/apis/billing.cjs +33 -0
  47. package/dist/apis/billing.d.cts +18 -0
  48. package/dist/apis/billing.d.ts +18 -0
  49. package/dist/apis/billing.js +33 -0
  50. package/dist/apis/blueprint-manifest.cjs +33 -0
  51. package/dist/apis/blueprint-manifest.d.cts +18 -0
  52. package/dist/apis/blueprint-manifest.d.ts +18 -0
  53. package/dist/apis/blueprint-manifest.js +33 -0
  54. package/dist/apis/consent.cjs +33 -0
  55. package/dist/apis/consent.d.cts +18 -0
  56. package/dist/apis/consent.d.ts +18 -0
  57. package/dist/apis/consent.js +33 -0
  58. package/dist/apis/customer-portal.cjs +33 -0
  59. package/dist/apis/customer-portal.d.cts +18 -0
  60. package/dist/apis/customer-portal.d.ts +18 -0
  61. package/dist/apis/customer-portal.js +33 -0
  62. package/dist/apis/data-management.cjs +33 -0
  63. package/dist/apis/data-management.d.cts +18 -0
  64. package/dist/apis/data-management.d.ts +18 -0
  65. package/dist/apis/data-management.js +33 -0
  66. package/dist/apis/deduplication.cjs +33 -0
  67. package/dist/apis/deduplication.d.cts +18 -0
  68. package/dist/apis/deduplication.d.ts +18 -0
  69. package/dist/apis/deduplication.js +33 -0
  70. package/dist/apis/design.cjs +33 -0
  71. package/dist/apis/design.d.cts +18 -0
  72. package/dist/apis/design.d.ts +18 -0
  73. package/dist/apis/design.js +33 -0
  74. package/dist/apis/discussion.cjs +33 -0
  75. package/dist/apis/discussion.d.cts +18 -0
  76. package/dist/apis/discussion.d.ts +18 -0
  77. package/dist/apis/discussion.js +33 -0
  78. package/dist/apis/document.cjs +33 -0
  79. package/dist/apis/document.d.cts +18 -0
  80. package/dist/apis/document.d.ts +18 -0
  81. package/dist/apis/document.js +33 -0
  82. package/dist/apis/email-settings.cjs +33 -0
  83. package/dist/apis/email-settings.d.cts +18 -0
  84. package/dist/apis/email-settings.d.ts +18 -0
  85. package/dist/apis/email-settings.js +33 -0
  86. package/dist/apis/email-template.cjs +33 -0
  87. package/dist/apis/email-template.d.cts +18 -0
  88. package/dist/apis/email-template.d.ts +18 -0
  89. package/dist/apis/email-template.js +33 -0
  90. package/dist/apis/entity-mapping.cjs +33 -0
  91. package/dist/apis/entity-mapping.d.cts +18 -0
  92. package/dist/apis/entity-mapping.d.ts +18 -0
  93. package/dist/apis/entity-mapping.js +33 -0
  94. package/dist/apis/entity.cjs +33 -0
  95. package/dist/apis/entity.d.cts +18 -0
  96. package/dist/apis/entity.d.ts +18 -0
  97. package/dist/apis/entity.js +33 -0
  98. package/dist/apis/environments.cjs +33 -0
  99. package/dist/apis/environments.d.cts +18 -0
  100. package/dist/apis/environments.d.ts +18 -0
  101. package/dist/apis/environments.js +33 -0
  102. package/dist/apis/erp-integration.cjs +33 -0
  103. package/dist/apis/erp-integration.d.cts +18 -0
  104. package/dist/apis/erp-integration.d.ts +18 -0
  105. package/dist/apis/erp-integration.js +33 -0
  106. package/dist/apis/event-catalog.cjs +33 -0
  107. package/dist/apis/event-catalog.d.cts +18 -0
  108. package/dist/apis/event-catalog.d.ts +18 -0
  109. package/dist/apis/event-catalog.js +33 -0
  110. package/dist/apis/file.cjs +33 -0
  111. package/dist/apis/file.d.cts +18 -0
  112. package/dist/apis/file.d.ts +18 -0
  113. package/dist/apis/file.js +33 -0
  114. package/dist/apis/iban.cjs +33 -0
  115. package/dist/apis/iban.d.cts +18 -0
  116. package/dist/apis/iban.d.ts +18 -0
  117. package/dist/apis/iban.js +33 -0
  118. package/dist/apis/journey.cjs +33 -0
  119. package/dist/apis/journey.d.cts +18 -0
  120. package/dist/apis/journey.d.ts +18 -0
  121. package/dist/apis/journey.js +33 -0
  122. package/dist/apis/kanban.cjs +33 -0
  123. package/dist/apis/kanban.d.cts +18 -0
  124. package/dist/apis/kanban.d.ts +18 -0
  125. package/dist/apis/kanban.js +33 -0
  126. package/dist/apis/message.cjs +33 -0
  127. package/dist/apis/message.d.cts +18 -0
  128. package/dist/apis/message.d.ts +18 -0
  129. package/dist/apis/message.js +33 -0
  130. package/dist/apis/metering.cjs +33 -0
  131. package/dist/apis/metering.d.cts +18 -0
  132. package/dist/apis/metering.d.ts +18 -0
  133. package/dist/apis/metering.js +33 -0
  134. package/dist/apis/notes.cjs +33 -0
  135. package/dist/apis/notes.d.cts +18 -0
  136. package/dist/apis/notes.d.ts +18 -0
  137. package/dist/apis/notes.js +33 -0
  138. package/dist/apis/notification.cjs +33 -0
  139. package/dist/apis/notification.d.cts +18 -0
  140. package/dist/apis/notification.d.ts +18 -0
  141. package/dist/apis/notification.js +33 -0
  142. package/dist/apis/organization.cjs +33 -0
  143. package/dist/apis/organization.d.cts +18 -0
  144. package/dist/apis/organization.d.ts +18 -0
  145. package/dist/apis/organization.js +33 -0
  146. package/dist/apis/partner-directory.cjs +33 -0
  147. package/dist/apis/partner-directory.d.cts +18 -0
  148. package/dist/apis/partner-directory.d.ts +18 -0
  149. package/dist/apis/partner-directory.js +33 -0
  150. package/dist/apis/permissions.cjs +33 -0
  151. package/dist/apis/permissions.d.cts +18 -0
  152. package/dist/apis/permissions.d.ts +18 -0
  153. package/dist/apis/permissions.js +33 -0
  154. package/dist/apis/pricing-tier.cjs +33 -0
  155. package/dist/apis/pricing-tier.d.cts +18 -0
  156. package/dist/apis/pricing-tier.d.ts +18 -0
  157. package/dist/apis/pricing-tier.js +33 -0
  158. package/dist/apis/pricing.cjs +33 -0
  159. package/dist/apis/pricing.d.cts +18 -0
  160. package/dist/apis/pricing.d.ts +18 -0
  161. package/dist/apis/pricing.js +33 -0
  162. package/dist/apis/purpose.cjs +33 -0
  163. package/dist/apis/purpose.d.cts +18 -0
  164. package/dist/apis/purpose.d.ts +18 -0
  165. package/dist/apis/purpose.js +33 -0
  166. package/dist/apis/sandbox.cjs +33 -0
  167. package/dist/apis/sandbox.d.cts +18 -0
  168. package/dist/apis/sandbox.d.ts +18 -0
  169. package/dist/apis/sandbox.js +33 -0
  170. package/dist/apis/submission.cjs +33 -0
  171. package/dist/apis/submission.d.cts +18 -0
  172. package/dist/apis/submission.d.ts +18 -0
  173. package/dist/apis/submission.js +33 -0
  174. package/dist/apis/targeting.cjs +33 -0
  175. package/dist/apis/targeting.d.cts +18 -0
  176. package/dist/apis/targeting.d.ts +18 -0
  177. package/dist/apis/targeting.js +33 -0
  178. package/dist/apis/template-variables.cjs +33 -0
  179. package/dist/apis/template-variables.d.cts +18 -0
  180. package/dist/apis/template-variables.d.ts +18 -0
  181. package/dist/apis/template-variables.js +33 -0
  182. package/dist/apis/user.cjs +33 -0
  183. package/dist/apis/user.d.cts +18 -0
  184. package/dist/apis/user.d.ts +18 -0
  185. package/dist/apis/user.js +33 -0
  186. package/dist/apis/validation-rules.cjs +33 -0
  187. package/dist/apis/validation-rules.d.cts +18 -0
  188. package/dist/apis/validation-rules.d.ts +18 -0
  189. package/dist/apis/validation-rules.js +33 -0
  190. package/dist/apis/webhooks.cjs +33 -0
  191. package/dist/apis/webhooks.d.cts +18 -0
  192. package/dist/apis/webhooks.d.ts +18 -0
  193. package/dist/apis/webhooks.js +33 -0
  194. package/dist/apis/workflow-definition.cjs +33 -0
  195. package/dist/apis/workflow-definition.d.cts +18 -0
  196. package/dist/apis/workflow-definition.d.ts +18 -0
  197. package/dist/apis/workflow-definition.js +33 -0
  198. package/dist/apis/workflow.cjs +33 -0
  199. package/dist/apis/workflow.d.cts +18 -0
  200. package/dist/apis/workflow.d.ts +18 -0
  201. package/dist/apis/workflow.js +33 -0
  202. package/dist/app-UUTBO3WJ.js +573 -0
  203. package/dist/app-XJGY6SHO.cjs +573 -0
  204. package/dist/app.d-Uncn387s.d.cts +3370 -0
  205. package/dist/app.d-Uncn387s.d.ts +3370 -0
  206. package/dist/audit-logs-4IJYIOXF.js +55 -0
  207. package/dist/audit-logs-UWLCPBB4.cjs +55 -0
  208. package/dist/audit-logs.d-BxZqONu5.d.cts +288 -0
  209. package/dist/audit-logs.d-BxZqONu5.d.ts +288 -0
  210. package/dist/automation-4UQADTDO.cjs +282 -0
  211. package/dist/automation-PVXTQLZX.js +282 -0
  212. package/dist/automation.d-BteCzeFn.d.cts +4921 -0
  213. package/dist/automation.d-BteCzeFn.d.ts +4921 -0
  214. package/dist/billing-FI4V4UX5.cjs +175 -0
  215. package/dist/billing-OMWNJHGW.js +175 -0
  216. package/dist/billing.d-BH4__05Y.d.cts +994 -0
  217. package/dist/billing.d-BH4__05Y.d.ts +994 -0
  218. package/dist/bin/cli.js +135 -0
  219. package/dist/blueprint-manifest-CPQAL76N.cjs +504 -0
  220. package/dist/blueprint-manifest-FIMGDHSH.js +504 -0
  221. package/dist/blueprint-manifest.d-CU4v09fj.d.cts +3327 -0
  222. package/dist/blueprint-manifest.d-CU4v09fj.d.ts +3327 -0
  223. package/dist/chunk-3RG5ZIWI.js +10 -0
  224. package/dist/chunk-OBGZSXTJ.cjs +10 -0
  225. package/dist/chunk-UJTFRZMS.js +65 -0
  226. package/dist/chunk-YLLKMXS3.cjs +65 -0
  227. package/dist/consent-NHDCDJMK.js +84 -0
  228. package/dist/consent-R5GU3WCK.cjs +84 -0
  229. package/dist/consent.d-BETWwU_2.d.cts +266 -0
  230. package/dist/consent.d-BETWwU_2.d.ts +266 -0
  231. package/dist/customer-portal-6AV2W43T.cjs +2252 -0
  232. package/dist/customer-portal-EY57GJYV.js +2252 -0
  233. package/dist/customer-portal.d-Co_I6psR.d.cts +15255 -0
  234. package/dist/customer-portal.d-Co_I6psR.d.ts +15255 -0
  235. package/dist/data-management-ILQUYNTN.cjs +240 -0
  236. package/dist/data-management-QMXOLOEG.js +240 -0
  237. package/dist/data-management.d-CkR2E_Pm.d.cts +548 -0
  238. package/dist/data-management.d-CkR2E_Pm.d.ts +548 -0
  239. package/dist/deduplication-IVXANO7S.cjs +42 -0
  240. package/dist/deduplication-WN45DVK3.js +42 -0
  241. package/dist/deduplication.d-BlHnjhXk.d.cts +114 -0
  242. package/dist/deduplication.d-BlHnjhXk.d.ts +114 -0
  243. package/dist/design-ONRLY6XI.cjs +219 -0
  244. package/dist/design-UHMRO3PG.js +219 -0
  245. package/dist/design.d-JsNY_cGh.d.cts +834 -0
  246. package/dist/design.d-JsNY_cGh.d.ts +834 -0
  247. package/dist/discussion-4CZIG3ZM.cjs +134 -0
  248. package/dist/discussion-VWMWL2AF.js +134 -0
  249. package/dist/discussion.d-CxxaYKTf.d.cts +580 -0
  250. package/dist/discussion.d-CxxaYKTf.d.ts +580 -0
  251. package/dist/document-CN3JNXFF.js +78 -0
  252. package/dist/document-PCKNZA4K.cjs +78 -0
  253. package/dist/document.d-CZ_FGhEn.d.cts +649 -0
  254. package/dist/document.d-CZ_FGhEn.d.ts +649 -0
  255. package/dist/email-settings-ANURQMKZ.js +533 -0
  256. package/dist/email-settings-YE2XB2ZU.cjs +533 -0
  257. package/dist/email-settings.d-3eXYEyRr.d.cts +2278 -0
  258. package/dist/email-settings.d-3eXYEyRr.d.ts +2278 -0
  259. package/dist/email-template-4QI4YS4J.js +122 -0
  260. package/dist/email-template-BUJBC6HH.cjs +122 -0
  261. package/dist/email-template.d-C2L0dKqB.d.cts +1175 -0
  262. package/dist/email-template.d-C2L0dKqB.d.ts +1175 -0
  263. package/dist/entity-BCFE3UJT.cjs +1600 -0
  264. package/dist/entity-VEXNQC4Y.js +1600 -0
  265. package/dist/entity-mapping-PHRLSYP7.cjs +215 -0
  266. package/dist/entity-mapping-QK7MGNAW.js +215 -0
  267. package/dist/entity-mapping.d-B3Vyepok.d.cts +1093 -0
  268. package/dist/entity-mapping.d-B3Vyepok.d.ts +1093 -0
  269. package/dist/entity.d-DmER_7q5.d.cts +16018 -0
  270. package/dist/entity.d-DmER_7q5.d.ts +16018 -0
  271. package/dist/environments-266S44UM.cjs +71 -0
  272. package/dist/environments-AV7W6SLT.js +71 -0
  273. package/dist/environments.d-CpILpSNF.d.cts +254 -0
  274. package/dist/environments.d-CpILpSNF.d.ts +254 -0
  275. package/dist/erp-integration-5WNBCGWS.cjs +586 -0
  276. package/dist/erp-integration-EMI5WIWA.js +586 -0
  277. package/dist/erp-integration.d-DmxUZOUQ.d.cts +4120 -0
  278. package/dist/erp-integration.d-DmxUZOUQ.d.ts +4120 -0
  279. package/dist/event-catalog-DBWYKQ6J.cjs +130 -0
  280. package/dist/event-catalog-KKMXV5LB.js +130 -0
  281. package/dist/event-catalog.d-B2tq20gn.d.cts +1512 -0
  282. package/dist/event-catalog.d-B2tq20gn.d.ts +1512 -0
  283. package/dist/file-3ZLMS6TL.js +573 -0
  284. package/dist/file-Q66N5XMG.cjs +573 -0
  285. package/dist/file.d-Bi0EZkNu.d.cts +2993 -0
  286. package/dist/file.d-Bi0EZkNu.d.ts +2993 -0
  287. package/dist/iban-HSXVSIFW.cjs +43 -0
  288. package/dist/iban-Q27INTOC.js +43 -0
  289. package/dist/iban.d-DP7hl0Qt.d.cts +71 -0
  290. package/dist/iban.d-DP7hl0Qt.d.ts +71 -0
  291. package/dist/index.cjs +563 -0
  292. package/dist/index.d.cts +119 -0
  293. package/dist/index.d.ts +119 -0
  294. package/dist/index.js +563 -0
  295. package/dist/journey-DGKXVWZQ.js +270 -0
  296. package/dist/journey-T2Y72EBS.cjs +270 -0
  297. package/dist/journey.d-DxL16X6N.d.cts +1794 -0
  298. package/dist/journey.d-DxL16X6N.d.ts +1794 -0
  299. package/dist/kanban-A4B6RCJ2.cjs +164 -0
  300. package/dist/kanban-PP6WJVT2.js +164 -0
  301. package/dist/kanban.d-DDrBwr9h.d.cts +631 -0
  302. package/dist/kanban.d-DDrBwr9h.d.ts +631 -0
  303. package/dist/message-D6JY4GJH.cjs +673 -0
  304. package/dist/message-HFX2DDCV.js +673 -0
  305. package/dist/message.d-BeBH6vof.d.cts +3580 -0
  306. package/dist/message.d-BeBH6vof.d.ts +3580 -0
  307. package/dist/metering-63MJFCS2.cjs +399 -0
  308. package/dist/metering-F63PNFCZ.js +399 -0
  309. package/dist/metering.d-D5VR4tVa.d.cts +1842 -0
  310. package/dist/metering.d-D5VR4tVa.d.ts +1842 -0
  311. package/dist/notes-FTL5H4JE.cjs +219 -0
  312. package/dist/notes-GMWTQCMB.js +219 -0
  313. package/dist/notes.d-DZYeVo0I.d.cts +1047 -0
  314. package/dist/notes.d-DZYeVo0I.d.ts +1047 -0
  315. package/dist/notification-WXFSOORN.cjs +237 -0
  316. package/dist/notification-XHG3TIBW.js +237 -0
  317. package/dist/notification.d-BJwdFZnG.d.cts +1148 -0
  318. package/dist/notification.d-BJwdFZnG.d.ts +1148 -0
  319. package/dist/organization-CPXTUDJO.js +118 -0
  320. package/dist/organization-XIFV7MWP.cjs +118 -0
  321. package/dist/organization.d-DfUcuwKM.d.cts +629 -0
  322. package/dist/organization.d-DfUcuwKM.d.ts +629 -0
  323. package/dist/partner-directory-4WCHPJRO.js +282 -0
  324. package/dist/partner-directory-FKWPPO7F.cjs +282 -0
  325. package/dist/partner-directory.d-BRRDHFcz.d.cts +1511 -0
  326. package/dist/partner-directory.d-BRRDHFcz.d.ts +1511 -0
  327. package/dist/permissions-5E36GPG3.js +178 -0
  328. package/dist/permissions-PBTK5CCD.cjs +178 -0
  329. package/dist/permissions.d-CL7SwMFy.d.cts +1253 -0
  330. package/dist/permissions.d-CL7SwMFy.d.ts +1253 -0
  331. package/dist/pricing-FDWEBIQU.js +439 -0
  332. package/dist/pricing-FZQKL4DW.cjs +439 -0
  333. package/dist/pricing-tier-34O624R4.js +36 -0
  334. package/dist/pricing-tier-F4HE6WIM.cjs +36 -0
  335. package/dist/pricing-tier.d-VuH-NtlR.d.cts +82 -0
  336. package/dist/pricing-tier.d-VuH-NtlR.d.ts +82 -0
  337. package/dist/pricing.d-Dd1CaSX_.d.cts +12201 -0
  338. package/dist/pricing.d-Dd1CaSX_.d.ts +12201 -0
  339. package/dist/purpose-47HJIG2Q.cjs +180 -0
  340. package/dist/purpose-MX33NU5H.js +180 -0
  341. package/dist/purpose.d-D8YCSqt9.d.cts +373 -0
  342. package/dist/purpose.d-D8YCSqt9.d.ts +373 -0
  343. package/dist/sandbox-7QNLGFN2.cjs +100 -0
  344. package/dist/sandbox-TZCXHBJN.js +100 -0
  345. package/dist/sandbox.d-D1NgPMEc.d.cts +466 -0
  346. package/dist/sandbox.d-D1NgPMEc.d.ts +466 -0
  347. package/dist/submission-6LSPBI27.js +55 -0
  348. package/dist/submission-DBQNDJ4B.cjs +55 -0
  349. package/dist/submission.d-e9MPrbY1.d.cts +470 -0
  350. package/dist/submission.d-e9MPrbY1.d.ts +470 -0
  351. package/dist/targeting-HZRCLNIF.cjs +275 -0
  352. package/dist/targeting-MTQ6JBCY.js +275 -0
  353. package/dist/targeting.d-1GW3nh-y.d.cts +2058 -0
  354. package/dist/targeting.d-1GW3nh-y.d.ts +2058 -0
  355. package/dist/template-variables-S6IXK7SF.js +159 -0
  356. package/dist/template-variables-VPNIMC7L.cjs +159 -0
  357. package/dist/template-variables.d-CqqGe3sd.d.cts +1315 -0
  358. package/dist/template-variables.d-CqqGe3sd.d.ts +1315 -0
  359. package/dist/types-C5cGIwtq.d.cts +28 -0
  360. package/dist/types-C5cGIwtq.d.ts +28 -0
  361. package/dist/user-BHH4DAA5.cjs +488 -0
  362. package/dist/user-KBXFVRPI.js +488 -0
  363. package/dist/user.d-CWBgUia2.d.cts +2199 -0
  364. package/dist/user.d-CWBgUia2.d.ts +2199 -0
  365. package/dist/validation-rules-4V7KAWGW.cjs +120 -0
  366. package/dist/validation-rules-UGQY4ASY.js +120 -0
  367. package/dist/validation-rules.d-CMSvveua.d.cts +808 -0
  368. package/dist/validation-rules.d-CMSvveua.d.ts +808 -0
  369. package/dist/webhooks-JR475VD4.js +252 -0
  370. package/dist/webhooks-X64U3KCB.cjs +252 -0
  371. package/dist/webhooks.d-Bzl-u_Zs.d.cts +1201 -0
  372. package/dist/webhooks.d-Bzl-u_Zs.d.ts +1201 -0
  373. package/dist/workflow-7ANPQZDP.cjs +402 -0
  374. package/dist/workflow-DWSAHA5Q.js +402 -0
  375. package/dist/workflow-definition-2M3JBCUI.cjs +342 -0
  376. package/dist/workflow-definition-WLPGEU55.js +342 -0
  377. package/dist/workflow-definition.d-BKmIy2Qp.d.cts +2030 -0
  378. package/dist/workflow-definition.d-BKmIy2Qp.d.ts +2030 -0
  379. package/dist/workflow.d-DElz0XoQ.d.cts +3017 -0
  380. package/dist/workflow.d-DElz0XoQ.d.ts +3017 -0
  381. package/package.json +289 -0
@@ -0,0 +1,1315 @@
1
+ import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
2
+
3
+ /* eslint-disable */
4
+ /* Auto-copied from template-variables-client */
5
+ /* eslint-disable */
6
+
7
+
8
+
9
+ declare namespace Components {
10
+ namespace Schemas {
11
+ export interface CategoryResult {
12
+ /**
13
+ * example:
14
+ * contact
15
+ */
16
+ category?: string;
17
+ /**
18
+ * example:
19
+ * Contact
20
+ */
21
+ description?: string;
22
+ }
23
+ export interface CustomVariable {
24
+ /**
25
+ * ID
26
+ * example:
27
+ * rbse777b-3cf8-4bff-bb0c-253fd1123250
28
+ */
29
+ id?: string;
30
+ /**
31
+ * Custom variable type
32
+ */
33
+ type?: "order_table" | "custom" | "journey_link" | "snippet";
34
+ /**
35
+ * Custom variable name
36
+ * example:
37
+ * My Custom table
38
+ */
39
+ name?: string;
40
+ /**
41
+ * The key which is used for Handlebar variable syntax {{key}}
42
+ * example:
43
+ * my_custom_table
44
+ */
45
+ key: string;
46
+ /**
47
+ * The tags of custom variable
48
+ */
49
+ _tags?: string[];
50
+ /**
51
+ * The helper function parameter's names
52
+ * example:
53
+ * [
54
+ * "param1",
55
+ * "param2"
56
+ * ]
57
+ */
58
+ helper_params?: string[];
59
+ /**
60
+ * The helper function logic
61
+ * example:
62
+ * return param1 * param2;
63
+ */
64
+ helper_logic?: string;
65
+ /**
66
+ * Variable configuration
67
+ * example:
68
+ * {
69
+ * "header": null,
70
+ * "style": {
71
+ * "color": "#222",
72
+ * "background": "#fff",
73
+ * "font-size": "16px",
74
+ * "font-family": "",
75
+ * "padding-bottom": "4px",
76
+ * "font-weight": "bold",
77
+ * "border": "none !important",
78
+ * "text-align": "left"
79
+ * },
80
+ * "columns": [
81
+ * {
82
+ * "id": "item",
83
+ * "index": 0,
84
+ * "label": {
85
+ * "en": "Item",
86
+ * "de": "Produkt"
87
+ * },
88
+ * "enable": true,
89
+ * "draggable": true,
90
+ * "style": {
91
+ * "padding-left": "10px",
92
+ * "max-width": "30%"
93
+ * }
94
+ * },
95
+ * {
96
+ * "id": "quantity",
97
+ * "index": 1,
98
+ * "label": {
99
+ * "en": "Quanity",
100
+ * "de": "Menge"
101
+ * },
102
+ * "enable": true,
103
+ * "draggable": true,
104
+ * "style": {
105
+ * "min-width": "60px",
106
+ * "width": "30%"
107
+ * }
108
+ * },
109
+ * {
110
+ * "id": "tax",
111
+ * "index": 2,
112
+ * "label": {
113
+ * "en": "Tax Rate",
114
+ * "de": "Steuerrate"
115
+ * },
116
+ * "enable": true,
117
+ * "draggable": true,
118
+ * "style": {
119
+ * "min-width": "60px",
120
+ * "width": "30%"
121
+ * }
122
+ * },
123
+ * {
124
+ * "id": "unit_amount",
125
+ * "index": 3,
126
+ * "label": {
127
+ * "en": "Unit Net Price",
128
+ * "de": "Nettopreis"
129
+ * },
130
+ * "enable": true,
131
+ * "draggable": true,
132
+ * "style": {
133
+ * "min-width": "60px",
134
+ * "width": "30%"
135
+ * }
136
+ * },
137
+ * {
138
+ * "id": "net_total",
139
+ * "index": 4,
140
+ * "label": {
141
+ * "en": "Net total",
142
+ * "de": "Nettosumme"
143
+ * },
144
+ * "enable": "true,",
145
+ * "draggable": true,
146
+ * "style": {
147
+ * "min-width": "60px",
148
+ * "width": "30%"
149
+ * }
150
+ * },
151
+ * {
152
+ * "id": "gross_total",
153
+ * "index": 5,
154
+ * "label": {
155
+ * "en": "Total",
156
+ * "de": "Gesamt"
157
+ * },
158
+ * "enable": true,
159
+ * "draggable": true,
160
+ * "style": {
161
+ * "min-width": "60px",
162
+ * "width": "30%"
163
+ * }
164
+ * }
165
+ * ],
166
+ * "body": {
167
+ * "product_name": {
168
+ * "parent_column": "item",
169
+ * "enable": true,
170
+ * "style": {
171
+ * "color": "#222",
172
+ * "background": "#fff",
173
+ * "font-size": "14px",
174
+ * "font-family": "",
175
+ * "font-weight": "bold",
176
+ * "font-style": "normal",
177
+ * "padding-top": "16px",
178
+ * "padding-bottom": "8px",
179
+ * "border": "none !important",
180
+ * "vertical-align": "top",
181
+ * "text-align": "left",
182
+ * "max-width": "30%",
183
+ * "padding-left": "10px"
184
+ * }
185
+ * },
186
+ * "price_description": {
187
+ * "parent_column": "item",
188
+ * "enable": true,
189
+ * "style": {
190
+ * "color": "#222",
191
+ * "background": "#fff",
192
+ * "font-size": "12px",
193
+ * "font-family": "",
194
+ * "font-weight": "normal",
195
+ * "font-style": "normal",
196
+ * "text-align": "left",
197
+ * "max-width": "30%"
198
+ * }
199
+ * },
200
+ * "product_description": {
201
+ * "parent_column": "item",
202
+ * "enable": true,
203
+ * "style": {
204
+ * "color": "#222",
205
+ * "background": "#fff",
206
+ * "font-size": "12px",
207
+ * "font-family": "",
208
+ * "font-weight": "normal",
209
+ * "font-style": "normal",
210
+ * "text-align": "left",
211
+ * "max-width": "30%"
212
+ * }
213
+ * },
214
+ * "quantity": {
215
+ * "enable": true,
216
+ * "style": {
217
+ * "color": "#222",
218
+ * "background": "#fff",
219
+ * "font-size": "12px",
220
+ * "font-family": "",
221
+ * "font-weight": "normal",
222
+ * "font-style": "normal",
223
+ * "text-align": "left",
224
+ * "max-width": "30%"
225
+ * }
226
+ * },
227
+ * "tax": {
228
+ * "enable": true,
229
+ * "style": {
230
+ * "color": "#222",
231
+ * "background": "#fff",
232
+ * "font-size": "12px",
233
+ * "font-family": "",
234
+ * "font-weight": "normal",
235
+ * "font-style": "normal",
236
+ * "text-align": "left",
237
+ * "max-width": "30%"
238
+ * }
239
+ * },
240
+ * "unit_amount": {
241
+ * "enable": true,
242
+ * "style": {
243
+ * "color": "#222",
244
+ * "background": "#fff",
245
+ * "font-size": "12px",
246
+ * "font-family": "",
247
+ * "font-weight": "normal",
248
+ * "font-style": "normal",
249
+ * "text-align": "left",
250
+ * "max-width": "30%"
251
+ * }
252
+ * },
253
+ * "net_total": {
254
+ * "enable": true,
255
+ * "style": {
256
+ * "color": "#222",
257
+ * "background": "#fff",
258
+ * "font-size": "12px",
259
+ * "font-family": "",
260
+ * "font-weight": "normal",
261
+ * "font-style": "normal",
262
+ * "text-align": "left",
263
+ * "max-width": "30%"
264
+ * }
265
+ * },
266
+ * "gross_total": {
267
+ * "enable": true,
268
+ * "style": {
269
+ * "color": "#222",
270
+ * "background": "#fff",
271
+ * "font-size": "12px",
272
+ * "font-family": "",
273
+ * "font-weight": "normal",
274
+ * "font-style": "normal",
275
+ * "text-align": "left",
276
+ * "max-width": "30%"
277
+ * }
278
+ * }
279
+ * },
280
+ * "footer": {
281
+ * "payment_type": {
282
+ * "enable": true,
283
+ * "style": {
284
+ * "color": "#222",
285
+ * "background": "#fff",
286
+ * "font-size": "12px",
287
+ * "font-family": "",
288
+ * "font-weight": "normal",
289
+ * "font-style": "normal",
290
+ * "text-align": "left",
291
+ * "max-width": "30%"
292
+ * }
293
+ * },
294
+ * "net_total": {
295
+ * "enable": true,
296
+ * "style": {
297
+ * "color": "#222",
298
+ * "background": "#fff",
299
+ * "font-size": "12px",
300
+ * "font-family": "",
301
+ * "font-weight": "normal",
302
+ * "font-style": "normal",
303
+ * "text-align": "left",
304
+ * "max-width": "30%"
305
+ * }
306
+ * },
307
+ * "amount_tax": {
308
+ * "enable": true,
309
+ * "style": {
310
+ * "color": "#222",
311
+ * "background": "#fff",
312
+ * "font-size": "12px",
313
+ * "font-family": "",
314
+ * "font-weight": "normal",
315
+ * "font-style": "normal",
316
+ * "text-align": "left",
317
+ * "max-width": "30%"
318
+ * }
319
+ * },
320
+ * "gross_total": {
321
+ * "enable": true,
322
+ * "style": {
323
+ * "color": "#222",
324
+ * "background": "#fff",
325
+ * "font-size": "12px",
326
+ * "font-family": "",
327
+ * "font-weight": "normal",
328
+ * "font-style": "normal",
329
+ * "text-align": "left",
330
+ * "max-width": "30%"
331
+ * }
332
+ * }
333
+ * }
334
+ * }
335
+ */
336
+ config?: {
337
+ [key: string]: any;
338
+ };
339
+ /**
340
+ * Handlebar template that used to generate the variable content
341
+ * example:
342
+ * <table style="table-layout: fixed;width: 100%;max-width: 1000px;border-collapse: collapse;">
343
+ * <thead>
344
+ * <tr style="height: 48px;border-bottom: 1px solid #D5E1ED;">
345
+ * {{#each table_config.header.columns as |column|}}
346
+ * {{#if column.enable}}
347
+ * <th style="{{makeStyle @root.table_config.header.style}};{{makeStyle column.style}};">{{column._label}}</th>
348
+ * {{/if}}
349
+ * {{/each}}
350
+ * </tr>
351
+ * </thead>
352
+ * <tbody style="vertical-align: baseline !important;font-weight: 400;font-size: 12px;position: relative;">
353
+ * <!-- Start rendering products -->
354
+ * {{#each order.products as |product|}}
355
+ * {{#if @last}}
356
+ * <tr style="height: 48px;;font-size:14px;border-bottom: 1px solid #D5E1ED;">
357
+ * {{else}}
358
+ * <tr style="height: 48px;;font-size:14px;">
359
+ * {{/if}}
360
+ * {{#each @root.table_config.header.columns as |column|}}
361
+ * {{#if column.enable}}
362
+ * {{#if (eq column.id 'item')}}
363
+ * <!-- Item -->
364
+ * <td style="{{makeStyle @root.table_config.body.product_name.style}}">
365
+ * {{#if @root.table_config.body.product_name.enable}}
366
+ * {{product.name}}
367
+ * {{/if}}
368
+ * {{#if @root.table_config.body.price_description.enable}}
369
+ * <br>
370
+ * <span style="{{makeStyle @root.table_config.body.price_description.style}}">{{product.price.description}}</span>
371
+ * {{/if}}
372
+ * {{#if @root.table_config.body.product_description.enable}}
373
+ * <br>
374
+ * <span style="{{makeStyle @root.table_config.body.product_description.style}}">{{product.description}}</span>
375
+ * {{/if}}
376
+ * </td>
377
+ * {{/if}}
378
+ * {{#if (eq column.id 'quantity')}}
379
+ * <!-- Quantity -->
380
+ * <td style="{{makeStyle @root.table_config.body.quantity.style}}">{{product.price.quantity}}
381
+ * </td>
382
+ * {{/if}}
383
+ * {{#if (eq column.id 'tax')}}
384
+ * <!-- Tax -->
385
+ * <td style="{{makeStyle @root.table_config.body.tax.style}}">
386
+ * {{product.price.tax_rate}}
387
+ * </td>
388
+ * {{/if}}
389
+ * {{#if (eq column.id 'unit_amount')}}
390
+ * <!-- Unit amount -->
391
+ * <td style="{{makeStyle @root.table_config.body.unit_amount.style}}">
392
+ * {{product.price.unit_amount_net}}
393
+ * </td>
394
+ * {{/if}}
395
+ * {{#if (eq column.id 'net_total')}}
396
+ * <!-- Amount Subtotal -->
397
+ * <td style="{{makeStyle @root.table_config.body.net_total.style}}">
398
+ * {{product.price.amount_subtotal}}
399
+ * </td>
400
+ * {{/if}}
401
+ * {{#if (eq column.id 'amount_tax')}}
402
+ * <!-- Tax amount-->
403
+ * <td style="{{makeStyle @root.table_config.body.amount_tax.style}}">
404
+ * {{product.price.amount_tax}}
405
+ * </td>
406
+ * {{/if}}
407
+ * {{#if (eq column.id 'gross_total')}}
408
+ * <!-- Gross total -->
409
+ * <td style="{{makeStyle @root.table_config.body.gross_total.style}}">
410
+ * {{product.price.amount_total}}
411
+ * {{#if @root.table_config.body.payment_type.enable}}
412
+ * {{#if (eq product.price.type 'recurring')}}
413
+ * <br>
414
+ * <span style="{{makeStyle @root.table_config.body.payment_type.style}}">{{product.price.billing_period}}</span>
415
+ * {{/if}}
416
+ * {{/if}}
417
+ * </td>
418
+ * {{/if}}
419
+ * {{/if}}
420
+ * {{/each}}
421
+ * </tr>
422
+ * {{/each}}
423
+ * <!-- Finish rendering products -->
424
+ * {{#if table_config.footer.gross_total.enable}}
425
+ * {{#each order.total_details.recurrences as |item|}}
426
+ * <tr style="height: 48px;font-size: 14px;">
427
+ * <td style="padding-top: 16px; padding-bottom: 8px; border: none !important; vertical-align: top;" colspan="{{calculate_colspan @root.table_config}}"></td>
428
+ * {{#if @root.table_config.footer.payment_type.enable}}
429
+ * <td style="{{makeStyle @root.table_config.footer.payment_type.style}}" colspan="2">{{item.billing_period}}</td>
430
+ * {{/if}}
431
+ * {{#if (isColumnEnabled @root.table_config 'net_total')}}
432
+ * {{#if @root.table_config.footer.net_total.enable}}
433
+ * <td style="{{makeStyle @root.table_config.footer.net_total.style}}">{{item.amount_subtotal}}</td>
434
+ * {{/if}}
435
+ * {{/if}}
436
+ * <td style="{{makeStyle @root.table_config.footer.gross_total.style}}">{{item.amount_total}}
437
+ * {{#if @root.table_config.footer.amount_tax.enable}}
438
+ * <br>
439
+ * <span style="{{makeStyle @root.table_config.footer.amount_tax.style}}">{{item.full_amount_tax}}</span>
440
+ * {{/if}}
441
+ * </td>
442
+ * </tr>
443
+ * {{/each}}
444
+ * {{/if}}
445
+ * <tr style="height:16px !important;"></tr>
446
+ * </tbody>
447
+ * </table>
448
+ *
449
+ */
450
+ template: string;
451
+ /**
452
+ * Creation time
453
+ * example:
454
+ * 2022-04-19T12:41:43.662Z
455
+ */
456
+ created_at?: string;
457
+ /**
458
+ * Created by
459
+ * example:
460
+ * 100042
461
+ */
462
+ created_by?: string;
463
+ /**
464
+ * Last update time
465
+ * example:
466
+ * 2022-04-20T12:41:43.662Z
467
+ */
468
+ updated_at?: string;
469
+ /**
470
+ * Updated by
471
+ * example:
472
+ * 100042
473
+ */
474
+ updated_by?: string;
475
+ }
476
+ export interface CustomVariablesSearchParams {
477
+ /**
478
+ * Variable type
479
+ */
480
+ type?: "order_table" | "custom" | "journey_link" | "snippet";
481
+ /**
482
+ * The tags of custom variable
483
+ */
484
+ tags?: string[];
485
+ /**
486
+ * Search string
487
+ * example:
488
+ * logo
489
+ */
490
+ query?: string;
491
+ from?: number;
492
+ size?: number;
493
+ /**
494
+ * Sort by field
495
+ * example:
496
+ * created_at, name, key
497
+ */
498
+ sort_by?: string;
499
+ /**
500
+ * Fields to return
501
+ */
502
+ fields?: string[];
503
+ }
504
+ export interface ExternalCustomVariable {
505
+ /**
506
+ * example:
507
+ * {{craftsmen.invitation_link}}
508
+ */
509
+ variable?: string;
510
+ /**
511
+ * example:
512
+ * https://partner.epilot.cloud/activate-account?user_name=htny.pct%2Btet%40gmail.com&confirmation_code=EdXPRW19
513
+ */
514
+ value?: string;
515
+ }
516
+ /**
517
+ * 2-letter language code (ISO 639-1)
518
+ */
519
+ export type Language = string;
520
+ export interface ReplacementOutput {
521
+ /**
522
+ * example:
523
+ * [
524
+ * "[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"
525
+ * ]
526
+ */
527
+ outputs?: string[];
528
+ }
529
+ export interface ReplacementOutputV2 {
530
+ /**
531
+ * Dictionary mapping input templates and variable names to their resolved output values.
532
+ * Values preserve their original types (string, array, object) instead of being stringified.
533
+ *
534
+ * Keys include:
535
+ * - Original input templates (e.g., "Hello {{name}}")
536
+ * - Individual variables found in templates (e.g., "{{name}}", "{{product_images[*].public_url}}")
537
+ *
538
+ * example:
539
+ * {
540
+ * "Hello {{first_name}}": "Hello John",
541
+ * "{{first_name}}": "John",
542
+ * "{{product_images[*].public_url}}": [
543
+ * "http://myimage.server.com/img1.png",
544
+ * "http://myimage.server.com/img2.png"
545
+ * ]
546
+ * }
547
+ */
548
+ outputs?: {
549
+ [name: string]: string | number | boolean | any[] | {
550
+ [name: string]: any;
551
+ };
552
+ };
553
+ }
554
+ export type TemplateType = "email" | "document";
555
+ export interface VariableContext {
556
+ /**
557
+ * example:
558
+ * https://consent.sls.epilot.io/v1/unsubscribe?token=abc123
559
+ */
560
+ unsubscribe_url?: string;
561
+ /**
562
+ * example:
563
+ * {
564
+ * "_id": "03be777b-3cf8-4bff-bb0c-253fd1128479",
565
+ * "_title": "Example Customer",
566
+ * "customer_number": 123,
567
+ * "first_name": "Example",
568
+ * "last_name": "Customer",
569
+ * "title": "Prof.",
570
+ * "salutation": "Ms. / Mrs.",
571
+ * "birthdate": "2018-03-03",
572
+ * "email": [
573
+ * {
574
+ * "email": "contact.primary@domain.com",
575
+ * "_tags": [
576
+ * "primary"
577
+ * ]
578
+ * },
579
+ * {
580
+ * "email": "sale@domain.com"
581
+ * }
582
+ * ],
583
+ * "phone": [
584
+ * {
585
+ * "phone": "+49123456789",
586
+ * "_tags": [
587
+ * "primary",
588
+ * "support"
589
+ * ]
590
+ * },
591
+ * {
592
+ * "phone": "+49504305025"
593
+ * }
594
+ * ],
595
+ * "address": [
596
+ * {
597
+ * "_tags": [
598
+ * "primary",
599
+ * "delivery"
600
+ * ],
601
+ * "country": "Germany",
602
+ * "city": "Köln",
603
+ * "postal_code": "50825",
604
+ * "street": "Im Mediapark",
605
+ * "street_number": "8a",
606
+ * "additional_info": "11th floor"
607
+ * },
608
+ * {
609
+ * "_tags": [
610
+ * "billing"
611
+ * ],
612
+ * "country": "Finland",
613
+ * "city": "Köln",
614
+ * "postal_code": "50670",
615
+ * "street": "Im Mediapark",
616
+ * "street_number": "8a",
617
+ * "additional_info": ""
618
+ * }
619
+ * ],
620
+ * "account": [
621
+ * {
622
+ * "status": "Active",
623
+ * "_id": "c8d20ff6-df7a-465a-a26e-e5d28c2a3f79",
624
+ * "tax_id": "123abc",
625
+ * "name": "name",
626
+ * "email": [
627
+ * {
628
+ * "email": "account.primary@domain.com",
629
+ * "_tags": [
630
+ * "primary"
631
+ * ]
632
+ * },
633
+ * {
634
+ * "email": "account.sale@domain.com"
635
+ * }
636
+ * ],
637
+ * "phone": [
638
+ * {
639
+ * "phone": "+49123456789",
640
+ * "_tags": [
641
+ * "primary",
642
+ * "support"
643
+ * ]
644
+ * },
645
+ * {
646
+ * "phone": "+49504305025"
647
+ * }
648
+ * ],
649
+ * "address": [
650
+ * {
651
+ * "_tags": [
652
+ * "primary",
653
+ * "delivery"
654
+ * ],
655
+ * "country": "Germany",
656
+ * "city": "Köln",
657
+ * "postal_code": "50825",
658
+ * "street": "Im Mediapark",
659
+ * "street_number": "8a",
660
+ * "additional_info": "11th floor"
661
+ * }
662
+ * ]
663
+ * }
664
+ * ]
665
+ * }
666
+ */
667
+ main?: {
668
+ [name: string]: any;
669
+ };
670
+ /**
671
+ * example:
672
+ * {
673
+ * "_id": "03be777b-3cf8-4bff-bb0c-253fd1128479",
674
+ * "_title": "Example Customer",
675
+ * "customer_number": 123,
676
+ * "first_name": "Example",
677
+ * "last_name": "Customer",
678
+ * "title": "Prof.",
679
+ * "salutation": "Ms. / Mrs.",
680
+ * "birthdate": "2018-03-03",
681
+ * "email": [
682
+ * {
683
+ * "email": "contact.primary@domain.com",
684
+ * "_tags": [
685
+ * "primary"
686
+ * ]
687
+ * },
688
+ * {
689
+ * "email": "sale@domain.com"
690
+ * }
691
+ * ],
692
+ * "phone": [
693
+ * {
694
+ * "phone": "+49123456789",
695
+ * "_tags": [
696
+ * "primary",
697
+ * "support"
698
+ * ]
699
+ * },
700
+ * {
701
+ * "phone": "+49504305025"
702
+ * }
703
+ * ],
704
+ * "address": [
705
+ * {
706
+ * "_tags": [
707
+ * "primary",
708
+ * "delivery"
709
+ * ],
710
+ * "country": "Germany",
711
+ * "city": "Köln",
712
+ * "postal_code": "50825",
713
+ * "street": "Im Mediapark",
714
+ * "street_number": "8a",
715
+ * "additional_info": "11th floor"
716
+ * },
717
+ * {
718
+ * "_tags": [
719
+ * "billing"
720
+ * ],
721
+ * "country": "Finland",
722
+ * "city": "Köln",
723
+ * "postal_code": "50670",
724
+ * "street": "Im Mediapark",
725
+ * "street_number": "8a",
726
+ * "additional_info": ""
727
+ * }
728
+ * ],
729
+ * "account": [
730
+ * {
731
+ * "status": "Active",
732
+ * "_id": "c8d20ff6-df7a-465a-a26e-e5d28c2a3f79",
733
+ * "tax_id": "123abc",
734
+ * "name": "name",
735
+ * "email": [
736
+ * {
737
+ * "email": "account.primary@domain.com",
738
+ * "_tags": [
739
+ * "primary"
740
+ * ]
741
+ * },
742
+ * {
743
+ * "email": "account.sale@domain.com"
744
+ * }
745
+ * ],
746
+ * "phone": [
747
+ * {
748
+ * "phone": "+49123456789",
749
+ * "_tags": [
750
+ * "primary",
751
+ * "support"
752
+ * ]
753
+ * },
754
+ * {
755
+ * "phone": "+49504305025"
756
+ * }
757
+ * ],
758
+ * "address": [
759
+ * {
760
+ * "_tags": [
761
+ * "primary",
762
+ * "delivery"
763
+ * ],
764
+ * "country": "Germany",
765
+ * "city": "KölnSS",
766
+ * "postal_code": "50825",
767
+ * "street": "Im Mediapark",
768
+ * "street_number": "8a",
769
+ * "additional_info": "11th floor"
770
+ * }
771
+ * ]
772
+ * }
773
+ * ]
774
+ * }
775
+ */
776
+ contact?: {
777
+ [name: string]: any;
778
+ };
779
+ /**
780
+ * example:
781
+ * {
782
+ * "id": 123453,
783
+ * "name": "Brand name",
784
+ * "signature": "Signature"
785
+ * }
786
+ */
787
+ brand?: {
788
+ [name: string]: any;
789
+ };
790
+ }
791
+ export interface VariableParameters {
792
+ template_type: TemplateType;
793
+ language?: /* 2-letter language code (ISO 639-1) */ Language;
794
+ /**
795
+ * 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.
796
+ * example:
797
+ * 63753437-c9e2-4e83-82bb-b1c666514561
798
+ */
799
+ main_entity_id?: string; // uuid
800
+ /**
801
+ * Brand ID
802
+ * example:
803
+ * 123451
804
+ */
805
+ brand_id?: number | null;
806
+ /**
807
+ * User ID
808
+ * example:
809
+ * 50001
810
+ */
811
+ user_id?: string | null;
812
+ /**
813
+ * Organization ID of the user
814
+ * example:
815
+ * 729224
816
+ */
817
+ user_org_id?: string | null;
818
+ /**
819
+ * Custom variables with specified values form other services.
820
+ */
821
+ custom_variables?: ExternalCustomVariable[];
822
+ /**
823
+ * If context data is available, this data will be used for variable replace.
824
+ */
825
+ context_data?: {
826
+ [key: string]: any;
827
+ };
828
+ /**
829
+ * The name of email template
830
+ */
831
+ template_name?: string;
832
+ /**
833
+ * The tags of email template
834
+ */
835
+ template_tags?: string[];
836
+ /**
837
+ * The version of the variables syntax supported. Default is 1.0
838
+ * example:
839
+ * 2
840
+ */
841
+ variables_version?: string;
842
+ }
843
+ export interface VariableResult {
844
+ type?: "simple" | "partial";
845
+ /**
846
+ * Payload for the QR data
847
+ */
848
+ qrdata?: string;
849
+ /**
850
+ * Variable group
851
+ */
852
+ group?: string;
853
+ /**
854
+ * The value which is used to insert to template
855
+ */
856
+ insert?: string;
857
+ /**
858
+ * Variable description
859
+ */
860
+ description?: string;
861
+ }
862
+ }
863
+ }
864
+ declare namespace Paths {
865
+ namespace CreateCustomVariable {
866
+ export type RequestBody = Components.Schemas.CustomVariable;
867
+ namespace Responses {
868
+ export type $201 = Components.Schemas.CustomVariable;
869
+ export interface $403 {
870
+ }
871
+ export interface $409 {
872
+ }
873
+ }
874
+ }
875
+ namespace DeleteCustomVariable {
876
+ namespace Parameters {
877
+ export type Id = string;
878
+ }
879
+ export interface PathParameters {
880
+ id: Parameters.Id;
881
+ }
882
+ namespace Responses {
883
+ export interface $204 {
884
+ }
885
+ export interface $403 {
886
+ }
887
+ }
888
+ }
889
+ namespace GetBluePrintTableConfig {
890
+ namespace Responses {
891
+ export type $200 = Components.Schemas.CustomVariable;
892
+ export interface $403 {
893
+ }
894
+ }
895
+ }
896
+ namespace GetCategories {
897
+ namespace Parameters {
898
+ export type Lang = /* 2-letter language code (ISO 639-1) */ Components.Schemas.Language;
899
+ }
900
+ export interface QueryParameters {
901
+ lang?: Parameters.Lang;
902
+ }
903
+ namespace Responses {
904
+ export type $200 = Components.Schemas.CategoryResult[];
905
+ }
906
+ }
907
+ namespace GetCustomVariable {
908
+ namespace Parameters {
909
+ export type Id = string;
910
+ }
911
+ export interface PathParameters {
912
+ id: Parameters.Id;
913
+ }
914
+ namespace Responses {
915
+ export type $200 = Components.Schemas.CustomVariable;
916
+ export interface $403 {
917
+ }
918
+ export interface $404 {
919
+ }
920
+ }
921
+ }
922
+ namespace GetCustomVariables {
923
+ namespace Responses {
924
+ export type $200 = Components.Schemas.CustomVariable[];
925
+ export interface $403 {
926
+ }
927
+ }
928
+ }
929
+ namespace GetVariableContext {
930
+ export interface RequestBody {
931
+ parameters?: Components.Schemas.VariableParameters;
932
+ }
933
+ namespace Responses {
934
+ export type $200 = Components.Schemas.VariableContext;
935
+ }
936
+ }
937
+ namespace ReplaceTemplates {
938
+ export interface RequestBody {
939
+ inputs?: string[];
940
+ parameters?: Components.Schemas.VariableParameters;
941
+ }
942
+ namespace Responses {
943
+ export type $200 = Components.Schemas.ReplacementOutput;
944
+ }
945
+ }
946
+ namespace ReplaceTemplatesV2 {
947
+ export interface RequestBody {
948
+ inputs?: string[];
949
+ parameters?: Components.Schemas.VariableParameters;
950
+ }
951
+ namespace Responses {
952
+ export type $200 = Components.Schemas.ReplacementOutputV2;
953
+ }
954
+ }
955
+ namespace SearchCustomVariables {
956
+ export type RequestBody = Components.Schemas.CustomVariablesSearchParams;
957
+ namespace Responses {
958
+ export interface $200 {
959
+ results?: Components.Schemas.CustomVariable[];
960
+ /**
961
+ * Total number of results
962
+ * example:
963
+ * 100
964
+ */
965
+ hits?: number;
966
+ }
967
+ export interface $403 {
968
+ }
969
+ }
970
+ }
971
+ namespace SearchVariables {
972
+ export interface RequestBody {
973
+ template_type: Components.Schemas.TemplateType;
974
+ /**
975
+ * Search string
976
+ * example:
977
+ * logo
978
+ */
979
+ query: string;
980
+ from?: number;
981
+ size?: number;
982
+ lang?: /* 2-letter language code (ISO 639-1) */ Components.Schemas.Language;
983
+ entity_schemas?: string[];
984
+ }
985
+ namespace Responses {
986
+ export type $200 = Components.Schemas.VariableResult[];
987
+ }
988
+ }
989
+ namespace UpdateCustomVariable {
990
+ namespace Parameters {
991
+ export type Id = string;
992
+ }
993
+ export interface PathParameters {
994
+ id: Parameters.Id;
995
+ }
996
+ export type RequestBody = Components.Schemas.CustomVariable;
997
+ namespace Responses {
998
+ export type $200 = Components.Schemas.CustomVariable;
999
+ export interface $403 {
1000
+ }
1001
+ export interface $409 {
1002
+ }
1003
+ }
1004
+ }
1005
+ }
1006
+
1007
+
1008
+ interface OperationMethods {
1009
+ /**
1010
+ * getCategories - getCategories
1011
+ *
1012
+ * Get all template variable categories
1013
+ */
1014
+ 'getCategories'(
1015
+ parameters?: Parameters<Paths.GetCategories.QueryParameters> | null,
1016
+ data?: any,
1017
+ config?: AxiosRequestConfig
1018
+ ): OperationResponse<Paths.GetCategories.Responses.$200>
1019
+ /**
1020
+ * searchVariables - searchVariables
1021
+ *
1022
+ * Search variables
1023
+ */
1024
+ 'searchVariables'(
1025
+ parameters?: Parameters<UnknownParamsObject> | null,
1026
+ data?: Paths.SearchVariables.RequestBody,
1027
+ config?: AxiosRequestConfig
1028
+ ): OperationResponse<Paths.SearchVariables.Responses.$200>
1029
+ /**
1030
+ * getVariableContext - getVariableContext
1031
+ *
1032
+ * Get full variable context
1033
+ *
1034
+ * Calls Entity API, User API, Brand API and others to construct full context object used for template variable replace
1035
+ *
1036
+ */
1037
+ 'getVariableContext'(
1038
+ parameters?: Parameters<UnknownParamsObject> | null,
1039
+ data?: Paths.GetVariableContext.RequestBody,
1040
+ config?: AxiosRequestConfig
1041
+ ): OperationResponse<Paths.GetVariableContext.Responses.$200>
1042
+ /**
1043
+ * replaceTemplates - replaceTemplates
1044
+ *
1045
+ * Replace variables in handlebars templates
1046
+ *
1047
+ * Takes in an array of input templates and outputs the output text with replaced variables
1048
+ *
1049
+ */
1050
+ 'replaceTemplates'(
1051
+ parameters?: Parameters<UnknownParamsObject> | null,
1052
+ data?: Paths.ReplaceTemplates.RequestBody,
1053
+ config?: AxiosRequestConfig
1054
+ ): OperationResponse<Paths.ReplaceTemplates.Responses.$200>
1055
+ /**
1056
+ * replaceTemplatesV2 - Replace variables in templates (V2)
1057
+ *
1058
+ * Replace variables in handlebars templates with raw value preservation
1059
+ *
1060
+ * V2 returns parsed outputs that preserve the original data types (arrays, objects, strings)
1061
+ * instead of stringifying always. Variables with strings mixed with other variables will be returned in the stringified format.
1062
+ * Alongside the parsed outputs for every single variable.
1063
+ *
1064
+ * Takes in an array of input templates and outputs an object mapping each input and variable
1065
+ * to their rendered values with type preservation.
1066
+ *
1067
+ */
1068
+ 'replaceTemplatesV2'(
1069
+ parameters?: Parameters<UnknownParamsObject> | null,
1070
+ data?: Paths.ReplaceTemplatesV2.RequestBody,
1071
+ config?: AxiosRequestConfig
1072
+ ): OperationResponse<Paths.ReplaceTemplatesV2.Responses.$200>
1073
+ /**
1074
+ * getCustomVariables - Get custom variables
1075
+ *
1076
+ * Get all custom variables of organization
1077
+ */
1078
+ 'getCustomVariables'(
1079
+ parameters?: Parameters<UnknownParamsObject> | null,
1080
+ data?: any,
1081
+ config?: AxiosRequestConfig
1082
+ ): OperationResponse<Paths.GetCustomVariables.Responses.$200>
1083
+ /**
1084
+ * createCustomVariable - Create custom variable
1085
+ *
1086
+ * Create custom variable
1087
+ */
1088
+ 'createCustomVariable'(
1089
+ parameters?: Parameters<UnknownParamsObject> | null,
1090
+ data?: Paths.CreateCustomVariable.RequestBody,
1091
+ config?: AxiosRequestConfig
1092
+ ): OperationResponse<Paths.CreateCustomVariable.Responses.$201>
1093
+ /**
1094
+ * searchCustomVariables - searchCustomVariables
1095
+ *
1096
+ * Search custom variables
1097
+ */
1098
+ 'searchCustomVariables'(
1099
+ parameters?: Parameters<UnknownParamsObject> | null,
1100
+ data?: Paths.SearchCustomVariables.RequestBody,
1101
+ config?: AxiosRequestConfig
1102
+ ): OperationResponse<Paths.SearchCustomVariables.Responses.$200>
1103
+ /**
1104
+ * getCustomVariable - Get custom variable
1105
+ *
1106
+ * Get custom variable
1107
+ */
1108
+ 'getCustomVariable'(
1109
+ parameters?: Parameters<Paths.GetCustomVariable.PathParameters> | null,
1110
+ data?: any,
1111
+ config?: AxiosRequestConfig
1112
+ ): OperationResponse<Paths.GetCustomVariable.Responses.$200>
1113
+ /**
1114
+ * updateCustomVariable - Update custom variable
1115
+ *
1116
+ * Update custom variable
1117
+ */
1118
+ 'updateCustomVariable'(
1119
+ parameters?: Parameters<Paths.UpdateCustomVariable.PathParameters> | null,
1120
+ data?: Paths.UpdateCustomVariable.RequestBody,
1121
+ config?: AxiosRequestConfig
1122
+ ): OperationResponse<Paths.UpdateCustomVariable.Responses.$200>
1123
+ /**
1124
+ * deleteCustomVariable - Delete custom variable
1125
+ *
1126
+ * Immediately and permanently deletes a custom variable
1127
+ */
1128
+ 'deleteCustomVariable'(
1129
+ parameters?: Parameters<Paths.DeleteCustomVariable.PathParameters> | null,
1130
+ data?: any,
1131
+ config?: AxiosRequestConfig
1132
+ ): OperationResponse<Paths.DeleteCustomVariable.Responses.$204>
1133
+ /**
1134
+ * getBluePrintTableConfig - Get default table config
1135
+ *
1136
+ * Get default table config
1137
+ */
1138
+ 'getBluePrintTableConfig'(
1139
+ parameters?: Parameters<UnknownParamsObject> | null,
1140
+ data?: any,
1141
+ config?: AxiosRequestConfig
1142
+ ): OperationResponse<Paths.GetBluePrintTableConfig.Responses.$200>
1143
+ }
1144
+
1145
+ interface PathsDictionary {
1146
+ ['/v1/template-variables/categories']: {
1147
+ /**
1148
+ * getCategories - getCategories
1149
+ *
1150
+ * Get all template variable categories
1151
+ */
1152
+ 'get'(
1153
+ parameters?: Parameters<Paths.GetCategories.QueryParameters> | null,
1154
+ data?: any,
1155
+ config?: AxiosRequestConfig
1156
+ ): OperationResponse<Paths.GetCategories.Responses.$200>
1157
+ }
1158
+ ['/v1/template-variables:search']: {
1159
+ /**
1160
+ * searchVariables - searchVariables
1161
+ *
1162
+ * Search variables
1163
+ */
1164
+ 'post'(
1165
+ parameters?: Parameters<UnknownParamsObject> | null,
1166
+ data?: Paths.SearchVariables.RequestBody,
1167
+ config?: AxiosRequestConfig
1168
+ ): OperationResponse<Paths.SearchVariables.Responses.$200>
1169
+ }
1170
+ ['/v1/template-variables:context']: {
1171
+ /**
1172
+ * getVariableContext - getVariableContext
1173
+ *
1174
+ * Get full variable context
1175
+ *
1176
+ * Calls Entity API, User API, Brand API and others to construct full context object used for template variable replace
1177
+ *
1178
+ */
1179
+ 'post'(
1180
+ parameters?: Parameters<UnknownParamsObject> | null,
1181
+ data?: Paths.GetVariableContext.RequestBody,
1182
+ config?: AxiosRequestConfig
1183
+ ): OperationResponse<Paths.GetVariableContext.Responses.$200>
1184
+ }
1185
+ ['/v1/template-variables:replace']: {
1186
+ /**
1187
+ * replaceTemplates - replaceTemplates
1188
+ *
1189
+ * Replace variables in handlebars templates
1190
+ *
1191
+ * Takes in an array of input templates and outputs the output text with replaced variables
1192
+ *
1193
+ */
1194
+ 'post'(
1195
+ parameters?: Parameters<UnknownParamsObject> | null,
1196
+ data?: Paths.ReplaceTemplates.RequestBody,
1197
+ config?: AxiosRequestConfig
1198
+ ): OperationResponse<Paths.ReplaceTemplates.Responses.$200>
1199
+ }
1200
+ ['/v2/template:replace']: {
1201
+ /**
1202
+ * replaceTemplatesV2 - Replace variables in templates (V2)
1203
+ *
1204
+ * Replace variables in handlebars templates with raw value preservation
1205
+ *
1206
+ * V2 returns parsed outputs that preserve the original data types (arrays, objects, strings)
1207
+ * instead of stringifying always. Variables with strings mixed with other variables will be returned in the stringified format.
1208
+ * Alongside the parsed outputs for every single variable.
1209
+ *
1210
+ * Takes in an array of input templates and outputs an object mapping each input and variable
1211
+ * to their rendered values with type preservation.
1212
+ *
1213
+ */
1214
+ 'post'(
1215
+ parameters?: Parameters<UnknownParamsObject> | null,
1216
+ data?: Paths.ReplaceTemplatesV2.RequestBody,
1217
+ config?: AxiosRequestConfig
1218
+ ): OperationResponse<Paths.ReplaceTemplatesV2.Responses.$200>
1219
+ }
1220
+ ['/v1/custom-variables']: {
1221
+ /**
1222
+ * getCustomVariables - Get custom variables
1223
+ *
1224
+ * Get all custom variables of organization
1225
+ */
1226
+ 'get'(
1227
+ parameters?: Parameters<UnknownParamsObject> | null,
1228
+ data?: any,
1229
+ config?: AxiosRequestConfig
1230
+ ): OperationResponse<Paths.GetCustomVariables.Responses.$200>
1231
+ /**
1232
+ * createCustomVariable - Create custom variable
1233
+ *
1234
+ * Create custom variable
1235
+ */
1236
+ 'post'(
1237
+ parameters?: Parameters<UnknownParamsObject> | null,
1238
+ data?: Paths.CreateCustomVariable.RequestBody,
1239
+ config?: AxiosRequestConfig
1240
+ ): OperationResponse<Paths.CreateCustomVariable.Responses.$201>
1241
+ }
1242
+ ['/v1/custom-variables:search']: {
1243
+ /**
1244
+ * searchCustomVariables - searchCustomVariables
1245
+ *
1246
+ * Search custom variables
1247
+ */
1248
+ 'post'(
1249
+ parameters?: Parameters<UnknownParamsObject> | null,
1250
+ data?: Paths.SearchCustomVariables.RequestBody,
1251
+ config?: AxiosRequestConfig
1252
+ ): OperationResponse<Paths.SearchCustomVariables.Responses.$200>
1253
+ }
1254
+ ['/v1/custom-variables/{id}']: {
1255
+ /**
1256
+ * updateCustomVariable - Update custom variable
1257
+ *
1258
+ * Update custom variable
1259
+ */
1260
+ 'put'(
1261
+ parameters?: Parameters<Paths.UpdateCustomVariable.PathParameters> | null,
1262
+ data?: Paths.UpdateCustomVariable.RequestBody,
1263
+ config?: AxiosRequestConfig
1264
+ ): OperationResponse<Paths.UpdateCustomVariable.Responses.$200>
1265
+ /**
1266
+ * getCustomVariable - Get custom variable
1267
+ *
1268
+ * Get custom variable
1269
+ */
1270
+ 'get'(
1271
+ parameters?: Parameters<Paths.GetCustomVariable.PathParameters> | null,
1272
+ data?: any,
1273
+ config?: AxiosRequestConfig
1274
+ ): OperationResponse<Paths.GetCustomVariable.Responses.$200>
1275
+ /**
1276
+ * deleteCustomVariable - Delete custom variable
1277
+ *
1278
+ * Immediately and permanently deletes a custom variable
1279
+ */
1280
+ 'delete'(
1281
+ parameters?: Parameters<Paths.DeleteCustomVariable.PathParameters> | null,
1282
+ data?: any,
1283
+ config?: AxiosRequestConfig
1284
+ ): OperationResponse<Paths.DeleteCustomVariable.Responses.$204>
1285
+ }
1286
+ ['/v1/custom-variables/order-table-blueprint']: {
1287
+ /**
1288
+ * getBluePrintTableConfig - Get default table config
1289
+ *
1290
+ * Get default table config
1291
+ */
1292
+ 'get'(
1293
+ parameters?: Parameters<UnknownParamsObject> | null,
1294
+ data?: any,
1295
+ config?: AxiosRequestConfig
1296
+ ): OperationResponse<Paths.GetBluePrintTableConfig.Responses.$200>
1297
+ }
1298
+ }
1299
+
1300
+ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
1301
+
1302
+
1303
+ type CategoryResult = Components.Schemas.CategoryResult;
1304
+ type CustomVariable = Components.Schemas.CustomVariable;
1305
+ type CustomVariablesSearchParams = Components.Schemas.CustomVariablesSearchParams;
1306
+ type ExternalCustomVariable = Components.Schemas.ExternalCustomVariable;
1307
+ type Language = Components.Schemas.Language;
1308
+ type ReplacementOutput = Components.Schemas.ReplacementOutput;
1309
+ type ReplacementOutputV2 = Components.Schemas.ReplacementOutputV2;
1310
+ type TemplateType = Components.Schemas.TemplateType;
1311
+ type VariableContext = Components.Schemas.VariableContext;
1312
+ type VariableParameters = Components.Schemas.VariableParameters;
1313
+ type VariableResult = Components.Schemas.VariableResult;
1314
+
1315
+ export type { Client as C, ExternalCustomVariable as E, Language as L, OperationMethods as O, PathsDictionary as P, ReplacementOutput as R, TemplateType as T, VariableContext as V, CategoryResult as a, CustomVariable as b, CustomVariablesSearchParams as c, ReplacementOutputV2 as d, VariableParameters as e, VariableResult as f };