@epilot/sdk 2.1.0 → 2.1.2

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 (490) hide show
  1. package/README.md +24 -0
  2. package/definitions/environments-runtime.json +1 -1
  3. package/definitions/partner-directory-runtime.json +1 -1
  4. package/definitions/partner-directory.json +795 -229
  5. package/dist/{README-W4B35MRN.cjs → README-6OOYWQYJ.cjs} +1 -1
  6. package/dist/{README-VG67PX4R.js → README-JUWX7KNV.js} +1 -1
  7. package/dist/{_index-S6LFD3ER.js → _index-NWNYWBIF.js} +48 -1
  8. package/dist/{_index-AMVZBT2K.cjs → _index-ONGE545F.cjs} +48 -1
  9. package/dist/access-token-2O6ULCCN.js +633 -0
  10. package/dist/access-token-RKP2A2F7.cjs +633 -0
  11. package/dist/access-token-runtime-KCKGT4O7.js +5 -0
  12. package/dist/access-token-runtime-NZWZJPWV.cjs +5 -0
  13. package/dist/address-HLBX47SQ.cjs +567 -0
  14. package/dist/address-IJF4N2UV.js +567 -0
  15. package/dist/address-runtime-2MNO2YRD.cjs +5 -0
  16. package/dist/address-runtime-YFCNBJBW.js +5 -0
  17. package/dist/address-suggestions-BYUTV7OU.js +574 -0
  18. package/dist/address-suggestions-ERVGGO6Z.cjs +574 -0
  19. package/dist/address-suggestions-runtime-NIMC2J32.js +5 -0
  20. package/dist/address-suggestions-runtime-ZNGLDADE.cjs +5 -0
  21. package/dist/ai-agents-6VHVYRCC.cjs +1612 -0
  22. package/dist/ai-agents-PKCHKKJS.js +1612 -0
  23. package/dist/ai-agents-runtime-25YRUJHI.js +5 -0
  24. package/dist/ai-agents-runtime-TILIO3UM.cjs +5 -0
  25. package/dist/apis/access-token.cjs +8 -8
  26. package/dist/apis/access-token.d.cts +2 -2
  27. package/dist/apis/access-token.d.ts +2 -2
  28. package/dist/apis/access-token.js +4 -4
  29. package/dist/apis/address-suggestions.cjs +8 -8
  30. package/dist/apis/address-suggestions.d.cts +2 -2
  31. package/dist/apis/address-suggestions.d.ts +2 -2
  32. package/dist/apis/address-suggestions.js +4 -4
  33. package/dist/apis/address.cjs +8 -8
  34. package/dist/apis/address.d.cts +2 -2
  35. package/dist/apis/address.d.ts +2 -2
  36. package/dist/apis/address.js +4 -4
  37. package/dist/apis/ai-agents.cjs +8 -8
  38. package/dist/apis/ai-agents.d.cts +2 -2
  39. package/dist/apis/ai-agents.d.ts +2 -2
  40. package/dist/apis/ai-agents.js +4 -4
  41. package/dist/apis/app.cjs +8 -8
  42. package/dist/apis/app.d.cts +2 -2
  43. package/dist/apis/app.d.ts +2 -2
  44. package/dist/apis/app.js +4 -4
  45. package/dist/apis/audit-logs.cjs +8 -8
  46. package/dist/apis/audit-logs.d.cts +2 -2
  47. package/dist/apis/audit-logs.d.ts +2 -2
  48. package/dist/apis/audit-logs.js +4 -4
  49. package/dist/apis/automation.cjs +8 -8
  50. package/dist/apis/automation.d.cts +2 -2
  51. package/dist/apis/automation.d.ts +2 -2
  52. package/dist/apis/automation.js +4 -4
  53. package/dist/apis/billing.cjs +8 -8
  54. package/dist/apis/billing.d.cts +2 -2
  55. package/dist/apis/billing.d.ts +2 -2
  56. package/dist/apis/billing.js +4 -4
  57. package/dist/apis/blueprint-manifest.cjs +8 -8
  58. package/dist/apis/blueprint-manifest.d.cts +2 -2
  59. package/dist/apis/blueprint-manifest.d.ts +2 -2
  60. package/dist/apis/blueprint-manifest.js +4 -4
  61. package/dist/apis/consent.cjs +8 -8
  62. package/dist/apis/consent.d.cts +2 -2
  63. package/dist/apis/consent.d.ts +2 -2
  64. package/dist/apis/consent.js +4 -4
  65. package/dist/apis/customer-portal.cjs +8 -8
  66. package/dist/apis/customer-portal.d.cts +2 -2
  67. package/dist/apis/customer-portal.d.ts +2 -2
  68. package/dist/apis/customer-portal.js +4 -4
  69. package/dist/apis/dashboard.cjs +8 -8
  70. package/dist/apis/dashboard.d.cts +2 -2
  71. package/dist/apis/dashboard.d.ts +2 -2
  72. package/dist/apis/dashboard.js +4 -4
  73. package/dist/apis/data-management.cjs +8 -8
  74. package/dist/apis/data-management.d.cts +2 -2
  75. package/dist/apis/data-management.d.ts +2 -2
  76. package/dist/apis/data-management.js +4 -4
  77. package/dist/apis/deduplication.cjs +8 -8
  78. package/dist/apis/deduplication.d.cts +2 -2
  79. package/dist/apis/deduplication.d.ts +2 -2
  80. package/dist/apis/deduplication.js +4 -4
  81. package/dist/apis/design.cjs +8 -8
  82. package/dist/apis/design.d.cts +2 -2
  83. package/dist/apis/design.d.ts +2 -2
  84. package/dist/apis/design.js +4 -4
  85. package/dist/apis/document.cjs +8 -8
  86. package/dist/apis/document.d.cts +2 -2
  87. package/dist/apis/document.d.ts +2 -2
  88. package/dist/apis/document.js +4 -4
  89. package/dist/apis/email-settings.cjs +8 -8
  90. package/dist/apis/email-settings.d.cts +2 -2
  91. package/dist/apis/email-settings.d.ts +2 -2
  92. package/dist/apis/email-settings.js +4 -4
  93. package/dist/apis/email-template.cjs +8 -8
  94. package/dist/apis/email-template.d.cts +2 -2
  95. package/dist/apis/email-template.d.ts +2 -2
  96. package/dist/apis/email-template.js +4 -4
  97. package/dist/apis/entity-mapping.cjs +8 -8
  98. package/dist/apis/entity-mapping.d.cts +2 -2
  99. package/dist/apis/entity-mapping.d.ts +2 -2
  100. package/dist/apis/entity-mapping.js +4 -4
  101. package/dist/apis/entity.cjs +8 -8
  102. package/dist/apis/entity.d.cts +2 -2
  103. package/dist/apis/entity.d.ts +2 -2
  104. package/dist/apis/entity.js +4 -4
  105. package/dist/apis/environments.cjs +8 -8
  106. package/dist/apis/environments.d.cts +2 -2
  107. package/dist/apis/environments.d.ts +2 -2
  108. package/dist/apis/environments.js +4 -4
  109. package/dist/apis/erp-integration.cjs +8 -8
  110. package/dist/apis/erp-integration.d.cts +2 -2
  111. package/dist/apis/erp-integration.d.ts +2 -2
  112. package/dist/apis/erp-integration.js +4 -4
  113. package/dist/apis/event-catalog.cjs +8 -8
  114. package/dist/apis/event-catalog.d.cts +2 -2
  115. package/dist/apis/event-catalog.d.ts +2 -2
  116. package/dist/apis/event-catalog.js +4 -4
  117. package/dist/apis/file.cjs +8 -8
  118. package/dist/apis/file.d.cts +2 -2
  119. package/dist/apis/file.d.ts +2 -2
  120. package/dist/apis/file.js +4 -4
  121. package/dist/apis/iban.cjs +8 -8
  122. package/dist/apis/iban.d.cts +2 -2
  123. package/dist/apis/iban.d.ts +2 -2
  124. package/dist/apis/iban.js +4 -4
  125. package/dist/apis/journey.cjs +8 -8
  126. package/dist/apis/journey.d.cts +2 -2
  127. package/dist/apis/journey.d.ts +2 -2
  128. package/dist/apis/journey.js +4 -4
  129. package/dist/apis/kanban.cjs +8 -8
  130. package/dist/apis/kanban.d.cts +2 -2
  131. package/dist/apis/kanban.d.ts +2 -2
  132. package/dist/apis/kanban.js +4 -4
  133. package/dist/apis/message.cjs +8 -8
  134. package/dist/apis/message.d.cts +2 -2
  135. package/dist/apis/message.d.ts +2 -2
  136. package/dist/apis/message.js +4 -4
  137. package/dist/apis/metering.cjs +8 -8
  138. package/dist/apis/metering.d.cts +2 -2
  139. package/dist/apis/metering.d.ts +2 -2
  140. package/dist/apis/metering.js +4 -4
  141. package/dist/apis/notes.cjs +8 -8
  142. package/dist/apis/notes.d.cts +2 -2
  143. package/dist/apis/notes.d.ts +2 -2
  144. package/dist/apis/notes.js +4 -4
  145. package/dist/apis/notification.cjs +8 -8
  146. package/dist/apis/notification.d.cts +2 -2
  147. package/dist/apis/notification.d.ts +2 -2
  148. package/dist/apis/notification.js +4 -4
  149. package/dist/apis/organization.cjs +8 -8
  150. package/dist/apis/organization.d.cts +2 -2
  151. package/dist/apis/organization.d.ts +2 -2
  152. package/dist/apis/organization.js +4 -4
  153. package/dist/apis/partner-directory.cjs +8 -8
  154. package/dist/apis/partner-directory.d.cts +4 -4
  155. package/dist/apis/partner-directory.d.ts +4 -4
  156. package/dist/apis/partner-directory.js +4 -4
  157. package/dist/apis/permissions.cjs +8 -8
  158. package/dist/apis/permissions.d.cts +2 -2
  159. package/dist/apis/permissions.d.ts +2 -2
  160. package/dist/apis/permissions.js +4 -4
  161. package/dist/apis/pricing-tier.cjs +8 -8
  162. package/dist/apis/pricing-tier.d.cts +2 -2
  163. package/dist/apis/pricing-tier.d.ts +2 -2
  164. package/dist/apis/pricing-tier.js +4 -4
  165. package/dist/apis/pricing.cjs +8 -8
  166. package/dist/apis/pricing.d.cts +2 -2
  167. package/dist/apis/pricing.d.ts +2 -2
  168. package/dist/apis/pricing.js +4 -4
  169. package/dist/apis/purpose.cjs +8 -8
  170. package/dist/apis/purpose.d.cts +2 -2
  171. package/dist/apis/purpose.d.ts +2 -2
  172. package/dist/apis/purpose.js +4 -4
  173. package/dist/apis/sandbox.cjs +8 -8
  174. package/dist/apis/sandbox.d.cts +2 -2
  175. package/dist/apis/sandbox.d.ts +2 -2
  176. package/dist/apis/sandbox.js +4 -4
  177. package/dist/apis/submission.cjs +8 -8
  178. package/dist/apis/submission.d.cts +2 -2
  179. package/dist/apis/submission.d.ts +2 -2
  180. package/dist/apis/submission.js +4 -4
  181. package/dist/apis/targeting.cjs +8 -8
  182. package/dist/apis/targeting.d.cts +2 -2
  183. package/dist/apis/targeting.d.ts +2 -2
  184. package/dist/apis/targeting.js +4 -4
  185. package/dist/apis/template-variables.cjs +8 -8
  186. package/dist/apis/template-variables.d.cts +2 -2
  187. package/dist/apis/template-variables.d.ts +2 -2
  188. package/dist/apis/template-variables.js +4 -4
  189. package/dist/apis/user.cjs +8 -8
  190. package/dist/apis/user.d.cts +2 -2
  191. package/dist/apis/user.d.ts +2 -2
  192. package/dist/apis/user.js +4 -4
  193. package/dist/apis/validation-rules.cjs +8 -8
  194. package/dist/apis/validation-rules.d.cts +2 -2
  195. package/dist/apis/validation-rules.d.ts +2 -2
  196. package/dist/apis/validation-rules.js +4 -4
  197. package/dist/apis/webhooks.cjs +8 -8
  198. package/dist/apis/webhooks.d.cts +2 -2
  199. package/dist/apis/webhooks.d.ts +2 -2
  200. package/dist/apis/webhooks.js +4 -4
  201. package/dist/apis/workflow-definition.cjs +8 -8
  202. package/dist/apis/workflow-definition.d.cts +2 -2
  203. package/dist/apis/workflow-definition.d.ts +2 -2
  204. package/dist/apis/workflow-definition.js +4 -4
  205. package/dist/apis/workflow.cjs +8 -8
  206. package/dist/apis/workflow.d.cts +2 -2
  207. package/dist/apis/workflow.d.ts +2 -2
  208. package/dist/apis/workflow.js +4 -4
  209. package/dist/app-5VPBDFW2.cjs +4047 -0
  210. package/dist/app-VJW2KKWE.js +4047 -0
  211. package/dist/app-runtime-SSNHSBR7.cjs +5 -0
  212. package/dist/app-runtime-U7RGV7KT.js +5 -0
  213. package/dist/audit-logs-F2NHDISQ.js +312 -0
  214. package/dist/audit-logs-RFEMBILB.cjs +312 -0
  215. package/dist/audit-logs-runtime-4WMHPWNX.cjs +5 -0
  216. package/dist/audit-logs-runtime-76R6WRAB.js +5 -0
  217. package/dist/automation-HZASSUCS.cjs +4460 -0
  218. package/dist/automation-WEVRW77F.js +4460 -0
  219. package/dist/automation-runtime-L5UKEFLA.js +5 -0
  220. package/dist/automation-runtime-YBGGE5PL.cjs +5 -0
  221. package/dist/billing-3VZPNG6M.cjs +796 -0
  222. package/dist/billing-ASWY7HC3.js +796 -0
  223. package/dist/billing-runtime-C6BMGWCX.js +5 -0
  224. package/dist/billing-runtime-L4Y7MLM3.cjs +5 -0
  225. package/dist/bin/cli.js +1 -1
  226. package/dist/blueprint-manifest-5TNVSDKC.cjs +3169 -0
  227. package/dist/blueprint-manifest-UGGYWGRZ.js +3169 -0
  228. package/dist/blueprint-manifest-runtime-2RTW5C52.js +5 -0
  229. package/dist/blueprint-manifest-runtime-AF3FIDVX.cjs +5 -0
  230. package/dist/{chunk-RXSS67VI.cjs → chunk-BFUNXZRX.cjs} +1 -1
  231. package/dist/{chunk-KPGC2D6E.js → chunk-I2XRA5AM.js} +1 -1
  232. package/dist/chunk-QTU4H6NQ.js +291 -0
  233. package/dist/chunk-T7LQKRUK.cjs +291 -0
  234. package/dist/consent-6SIH4NQS.cjs +342 -0
  235. package/dist/consent-7MNRAINV.js +342 -0
  236. package/dist/consent-runtime-KZ5D4XZU.cjs +5 -0
  237. package/dist/consent-runtime-OAPXBJH2.js +5 -0
  238. package/dist/customer-portal-L5DEQEGC.js +14142 -0
  239. package/dist/customer-portal-MXILX4KH.cjs +14142 -0
  240. package/dist/customer-portal-runtime-MRVZ7JR4.js +5 -0
  241. package/dist/customer-portal-runtime-VGK7RMLC.cjs +5 -0
  242. package/dist/dashboard-RKUQLIME.cjs +483 -0
  243. package/dist/dashboard-UDL26RGG.js +483 -0
  244. package/dist/dashboard-runtime-EXP2AM44.cjs +5 -0
  245. package/dist/dashboard-runtime-PSKSGLCF.js +5 -0
  246. package/dist/data-management-W5JQGGGH.js +925 -0
  247. package/dist/data-management-XFSRLFYA.cjs +925 -0
  248. package/dist/data-management-runtime-PAC7UFGT.cjs +5 -0
  249. package/dist/data-management-runtime-XZ347IUB.js +5 -0
  250. package/dist/deduplication-7RTGTLN5.cjs +193 -0
  251. package/dist/deduplication-RKLRTNZU.js +193 -0
  252. package/dist/deduplication-runtime-BBHG7MJW.cjs +5 -0
  253. package/dist/deduplication-runtime-DLGBF4RN.js +5 -0
  254. package/dist/design-AO6EGLHD.cjs +1352 -0
  255. package/dist/design-VLRA2WGV.js +1352 -0
  256. package/dist/design-runtime-3SKJA7QH.js +5 -0
  257. package/dist/design-runtime-Y3VGTQLP.cjs +5 -0
  258. package/dist/document-OVTR7RVH.cjs +744 -0
  259. package/dist/document-SEZ45XAO.js +744 -0
  260. package/dist/document-runtime-GFEBGNMS.js +5 -0
  261. package/dist/document-runtime-RG3F4R6O.cjs +5 -0
  262. package/dist/email-settings-QGCIUWLC.js +2427 -0
  263. package/dist/email-settings-SEGEKVMF.cjs +2427 -0
  264. package/dist/email-settings-runtime-NS7MU3RB.cjs +5 -0
  265. package/dist/email-settings-runtime-X7F3EPAB.js +5 -0
  266. package/dist/email-template-26SANLRD.cjs +1308 -0
  267. package/dist/email-template-346NDG4D.js +1308 -0
  268. package/dist/email-template-runtime-QBB64BJQ.js +5 -0
  269. package/dist/email-template-runtime-UI2FS4H5.cjs +5 -0
  270. package/dist/entity-HSCBRIOS.js +9411 -0
  271. package/dist/entity-UKAWTND4.cjs +9411 -0
  272. package/dist/entity-mapping-PK2XAARN.cjs +1506 -0
  273. package/dist/entity-mapping-UOGYYCZH.js +1506 -0
  274. package/dist/entity-mapping-runtime-734TTUA2.cjs +5 -0
  275. package/dist/entity-mapping-runtime-HCOJM6DV.js +5 -0
  276. package/dist/entity-runtime-QSFVEFJ6.js +5 -0
  277. package/dist/entity-runtime-XSAICIVR.cjs +5 -0
  278. package/dist/environments-5IS2ZJYQ.cjs +352 -0
  279. package/dist/environments-VCREW73K.js +352 -0
  280. package/dist/environments-runtime-BPR47PW7.js +5 -0
  281. package/dist/environments-runtime-L6TJCVW6.cjs +5 -0
  282. package/dist/erp-integration-735KQ73W.js +5295 -0
  283. package/dist/erp-integration-W7FZDJOB.cjs +5295 -0
  284. package/dist/erp-integration-runtime-FNJXDO75.js +5 -0
  285. package/dist/erp-integration-runtime-WXZIQCLJ.cjs +5 -0
  286. package/dist/event-catalog-MZYFJ23V.cjs +965 -0
  287. package/dist/event-catalog-ZUFXLY7B.js +965 -0
  288. package/dist/event-catalog-runtime-5HQSAJVX.cjs +5 -0
  289. package/dist/event-catalog-runtime-6FA3SCRI.js +5 -0
  290. package/dist/file-637CTR4Y.cjs +2744 -0
  291. package/dist/file-EJJBQEQI.js +2744 -0
  292. package/dist/file-runtime-B6AAGZQF.js +5 -0
  293. package/dist/file-runtime-SFZIKODF.cjs +5 -0
  294. package/dist/iban-ETTCKOHK.cjs +148 -0
  295. package/dist/iban-HXFDAF4I.js +148 -0
  296. package/dist/iban-runtime-EVXLFPPP.js +5 -0
  297. package/dist/iban-runtime-TUM5LVHO.cjs +5 -0
  298. package/dist/index.cjs +105 -100
  299. package/dist/index.d.cts +21 -5
  300. package/dist/index.d.ts +21 -5
  301. package/dist/index.js +56 -51
  302. package/dist/journey-KW3ZFQAL.js +2194 -0
  303. package/dist/journey-XIMSLSZC.cjs +2194 -0
  304. package/dist/journey-runtime-SPBL3F32.cjs +5 -0
  305. package/dist/journey-runtime-YXIAOTMD.js +5 -0
  306. package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
  307. package/dist/kanban-M4P7R5TM.cjs +890 -0
  308. package/dist/kanban-QXQEQIF4.js +890 -0
  309. package/dist/kanban-runtime-NHEUWTCG.cjs +5 -0
  310. package/dist/kanban-runtime-R6EWHBFS.js +5 -0
  311. package/dist/message-2VOVRXBB.cjs +2447 -0
  312. package/dist/message-M62W3KP2.js +2447 -0
  313. package/dist/message-runtime-ITR7MPKT.cjs +5 -0
  314. package/dist/message-runtime-YMKW2N3R.js +5 -0
  315. package/dist/metering-KEMILE75.cjs +2198 -0
  316. package/dist/metering-W3TA6ZUQ.js +2198 -0
  317. package/dist/metering-runtime-HAIWXZXJ.cjs +5 -0
  318. package/dist/metering-runtime-NJ6NEUMB.js +5 -0
  319. package/dist/notes-4LVCGLBE.js +1427 -0
  320. package/dist/notes-OBM5POWI.cjs +1427 -0
  321. package/dist/notes-runtime-CVNAVKPP.js +5 -0
  322. package/dist/notes-runtime-E3YYF74V.cjs +5 -0
  323. package/dist/notification-EEYPLPUV.cjs +1381 -0
  324. package/dist/notification-MJQGIBM7.js +1381 -0
  325. package/dist/notification-runtime-7QLZTPHG.cjs +5 -0
  326. package/dist/notification-runtime-KREP32YP.js +5 -0
  327. package/dist/organization-2UK7QZLQ.cjs +615 -0
  328. package/dist/organization-U5HPX627.js +615 -0
  329. package/dist/organization-runtime-LBCVCZ3W.cjs +5 -0
  330. package/dist/organization-runtime-P3WZ2BBU.js +5 -0
  331. package/dist/partner-directory-CG5CYJGB.cjs +1600 -0
  332. package/dist/partner-directory-THI7JEXK.js +7 -0
  333. package/dist/partner-directory-XJ7KI7EX.js +1600 -0
  334. package/dist/partner-directory-ZQIBKD5Q.cjs +7 -0
  335. package/dist/partner-directory-runtime-AUHVA5Q3.cjs +5 -0
  336. package/dist/partner-directory-runtime-GNVT7U7R.js +5 -0
  337. package/dist/partner-directory.d-BCIjHoGs.d.cts +2337 -0
  338. package/dist/partner-directory.d-BCIjHoGs.d.ts +2337 -0
  339. package/dist/permissions-SGPGANEP.js +1415 -0
  340. package/dist/permissions-WCOABHKQ.cjs +1415 -0
  341. package/dist/permissions-runtime-D74HOCVO.js +5 -0
  342. package/dist/permissions-runtime-O5LH7WOU.cjs +5 -0
  343. package/dist/pricing-3RNPCUR6.js +9362 -0
  344. package/dist/pricing-VYHPSVKM.cjs +9362 -0
  345. package/dist/pricing-runtime-6XNS4EOF.cjs +5 -0
  346. package/dist/pricing-runtime-JRR4FWFI.js +5 -0
  347. package/dist/pricing-tier-36WV4P4X.js +121 -0
  348. package/dist/pricing-tier-FKQPW2ND.cjs +121 -0
  349. package/dist/pricing-tier-runtime-32BCKJ7Y.cjs +5 -0
  350. package/dist/pricing-tier-runtime-LEGBNNLA.js +5 -0
  351. package/dist/purpose-JC2E7W3M.cjs +523 -0
  352. package/dist/purpose-QFQ4W255.js +523 -0
  353. package/dist/purpose-runtime-C6IGTUA6.cjs +5 -0
  354. package/dist/purpose-runtime-V5X5ESZV.js +5 -0
  355. package/dist/sandbox-CLZTN7IW.cjs +445 -0
  356. package/dist/sandbox-O2NWMZGJ.js +445 -0
  357. package/dist/sandbox-runtime-4MLOMFPK.js +5 -0
  358. package/dist/sandbox-runtime-GKEK3GQB.cjs +5 -0
  359. package/dist/submission-6FD67HIE.cjs +308 -0
  360. package/dist/submission-MWJU4L32.js +308 -0
  361. package/dist/submission-runtime-5FD4AQSD.cjs +5 -0
  362. package/dist/submission-runtime-JPHKPQ77.js +5 -0
  363. package/dist/targeting-4CQDSEKL.cjs +1369 -0
  364. package/dist/targeting-RB7LBQMX.js +1369 -0
  365. package/dist/targeting-runtime-6JFMP262.cjs +5 -0
  366. package/dist/targeting-runtime-M2VSTKFT.js +5 -0
  367. package/dist/template-variables-JYHE2VCH.cjs +1447 -0
  368. package/dist/template-variables-XLIW4GY6.js +1447 -0
  369. package/dist/template-variables-runtime-62U3ZY5P.js +5 -0
  370. package/dist/template-variables-runtime-LFOA32UM.cjs +5 -0
  371. package/dist/{types-BwBvJkY_.d.ts → types-ChU9Acbv.d.cts} +3 -0
  372. package/dist/{types-BwBvJkY_.d.cts → types-ChU9Acbv.d.ts} +3 -0
  373. package/dist/user-DKA6DDPX.cjs +2265 -0
  374. package/dist/user-O4JDAIRO.js +2265 -0
  375. package/dist/user-runtime-7O2HLFVQ.cjs +5 -0
  376. package/dist/user-runtime-U4HYUWJU.js +5 -0
  377. package/dist/validation-rules-AYCAOVDZ.cjs +1344 -0
  378. package/dist/validation-rules-GCI64B57.js +1344 -0
  379. package/dist/validation-rules-runtime-6MRCS5X2.js +5 -0
  380. package/dist/validation-rules-runtime-X7M3QE5I.cjs +5 -0
  381. package/dist/webhooks-L3FXPRKT.cjs +1431 -0
  382. package/dist/webhooks-XXLU2KWP.js +1431 -0
  383. package/dist/webhooks-runtime-EBM4M3SU.cjs +5 -0
  384. package/dist/webhooks-runtime-XCQYIGQK.js +5 -0
  385. package/dist/workflow-VLNZNE3S.js +3834 -0
  386. package/dist/workflow-YJHUCGVK.cjs +3834 -0
  387. package/dist/workflow-definition-7BA4H6W3.cjs +3100 -0
  388. package/dist/workflow-definition-VFYWBQQ3.js +3100 -0
  389. package/dist/workflow-definition-runtime-S7AZHOU7.js +5 -0
  390. package/dist/workflow-definition-runtime-VRND6VQR.cjs +5 -0
  391. package/dist/workflow-runtime-RLZO2OQB.js +5 -0
  392. package/dist/workflow-runtime-WCJ7NRTH.cjs +5 -0
  393. package/docs/partner-directory.md +295 -127
  394. package/package.json +3 -2
  395. package/dist/chunk-3XEP56SV.cjs +0 -204
  396. package/dist/chunk-ULBEEHG4.js +0 -204
  397. package/dist/partner-directory-2XMPQWWX.js +0 -7
  398. package/dist/partner-directory-WHNTKQ5E.cjs +0 -7
  399. package/dist/partner-directory.d-CRNkDF8q.d.cts +0 -1510
  400. package/dist/partner-directory.d-CRNkDF8q.d.ts +0 -1510
  401. /package/dist/{chunk-CPKBR34V.js → chunk-24T6CJTG.js} +0 -0
  402. /package/dist/{chunk-VQ7R36AC.js → chunk-265TE2OV.js} +0 -0
  403. /package/dist/{chunk-ZV6XYUXS.js → chunk-2BPBDRRO.js} +0 -0
  404. /package/dist/{chunk-KSXTBGIV.js → chunk-3XKBB5AE.js} +0 -0
  405. /package/dist/{chunk-GLO477NZ.js → chunk-3YSEO476.js} +0 -0
  406. /package/dist/{chunk-MKX4CKAB.cjs → chunk-46HU6232.cjs} +0 -0
  407. /package/dist/{chunk-JXBXDTFG.cjs → chunk-4G6LO3JY.cjs} +0 -0
  408. /package/dist/{chunk-Z4LUE424.cjs → chunk-4QCVVDTA.cjs} +0 -0
  409. /package/dist/{chunk-LQOLYXGQ.cjs → chunk-4W22EIRF.cjs} +0 -0
  410. /package/dist/{chunk-372VUPHN.js → chunk-4ZGZDE6D.js} +0 -0
  411. /package/dist/{chunk-IMT3IE5M.cjs → chunk-4ZMLRFDX.cjs} +0 -0
  412. /package/dist/{chunk-S7NDMDRX.js → chunk-5JPM6YUD.js} +0 -0
  413. /package/dist/{chunk-IS2VB342.js → chunk-5MFHAXBT.js} +0 -0
  414. /package/dist/{chunk-WOXXNKTE.js → chunk-5NKXJA43.js} +0 -0
  415. /package/dist/{chunk-S3ZNESMC.cjs → chunk-5WNEYQII.cjs} +0 -0
  416. /package/dist/{chunk-KA3TGFJP.js → chunk-6OYECNL2.js} +0 -0
  417. /package/dist/{chunk-T46LODOF.js → chunk-6UAS2VVG.js} +0 -0
  418. /package/dist/{chunk-PETLAONH.js → chunk-6VWCUZ5M.js} +0 -0
  419. /package/dist/{chunk-YZA5WZUS.js → chunk-75EI2Q64.js} +0 -0
  420. /package/dist/{chunk-2HOJWFQ4.js → chunk-75ZWZM3L.js} +0 -0
  421. /package/dist/{chunk-57QIBYDN.js → chunk-7IKQIVUS.js} +0 -0
  422. /package/dist/{chunk-DJKSULPK.js → chunk-A7AAVJGM.js} +0 -0
  423. /package/dist/{chunk-QLML3IP5.cjs → chunk-ANN2QTMY.cjs} +0 -0
  424. /package/dist/{chunk-A6JOROUC.cjs → chunk-BLNXQAMX.cjs} +0 -0
  425. /package/dist/{chunk-LCIJ4TJ4.cjs → chunk-BM6NCHPL.cjs} +0 -0
  426. /package/dist/{chunk-XR4QF6KQ.cjs → chunk-BPHOGIQM.cjs} +0 -0
  427. /package/dist/{chunk-K62XK7KU.js → chunk-BTTPWE2P.js} +0 -0
  428. /package/dist/{chunk-E26ZO7QM.cjs → chunk-COQMJFAB.cjs} +0 -0
  429. /package/dist/{chunk-QVAJ5JP4.js → chunk-CSK5ZUTS.js} +0 -0
  430. /package/dist/{chunk-3ZZ57K3S.cjs → chunk-D32L2HMX.cjs} +0 -0
  431. /package/dist/{chunk-TIJWJVKZ.js → chunk-D7Q4JGN7.js} +0 -0
  432. /package/dist/{chunk-CWSHYFVZ.js → chunk-DZ3P537S.js} +0 -0
  433. /package/dist/{chunk-MSASBR2Y.js → chunk-E2WMGOM5.js} +0 -0
  434. /package/dist/{chunk-XKI2OAYV.cjs → chunk-FARDEGPH.cjs} +0 -0
  435. /package/dist/{chunk-RWSA3LXE.cjs → chunk-G3VDRMOH.cjs} +0 -0
  436. /package/dist/{chunk-QDVPPRWI.cjs → chunk-G5FKTWUC.cjs} +0 -0
  437. /package/dist/{chunk-WMTYO5OX.cjs → chunk-GWKHOJGD.cjs} +0 -0
  438. /package/dist/{chunk-DNJ54L2G.js → chunk-H45V55VT.js} +0 -0
  439. /package/dist/{chunk-F472YLJG.cjs → chunk-HAZ3WP7V.cjs} +0 -0
  440. /package/dist/{chunk-NAWLLC3T.cjs → chunk-HHMXS5NC.cjs} +0 -0
  441. /package/dist/{chunk-DY2D2IW5.cjs → chunk-IGVVJMX7.cjs} +0 -0
  442. /package/dist/{chunk-KBOVBUBM.js → chunk-IJR3GZKC.js} +0 -0
  443. /package/dist/{chunk-73H6TVKN.js → chunk-IQOCHPWU.js} +0 -0
  444. /package/dist/{chunk-LSIWCIQV.js → chunk-JENQHXFI.js} +0 -0
  445. /package/dist/{chunk-G2REP2VZ.cjs → chunk-JICWF5VI.cjs} +0 -0
  446. /package/dist/{chunk-3HJEWWPS.cjs → chunk-JIUTCNTB.cjs} +0 -0
  447. /package/dist/{chunk-EBCHCYUO.js → chunk-JJWJLY42.js} +0 -0
  448. /package/dist/{chunk-SMGHAG5C.cjs → chunk-JXJC6WEW.cjs} +0 -0
  449. /package/dist/{chunk-HPYHWTTA.cjs → chunk-K2UZPY6U.cjs} +0 -0
  450. /package/dist/{chunk-VGTUK3QD.cjs → chunk-L66IX6GX.cjs} +0 -0
  451. /package/dist/{chunk-NLSZVGHK.cjs → chunk-LKRBFBFN.cjs} +0 -0
  452. /package/dist/{chunk-TLWCYLNA.js → chunk-LLZYRINH.js} +0 -0
  453. /package/dist/{chunk-4SWC43JO.cjs → chunk-M2SSGV7K.cjs} +0 -0
  454. /package/dist/{chunk-PVSS2WPM.cjs → chunk-M2UDF7PY.cjs} +0 -0
  455. /package/dist/{chunk-5SNJAD6F.cjs → chunk-M56QQHVA.cjs} +0 -0
  456. /package/dist/{chunk-QKERXNJJ.cjs → chunk-MB6NKETA.cjs} +0 -0
  457. /package/dist/{chunk-H4VSK4KF.js → chunk-MEUS7LCE.js} +0 -0
  458. /package/dist/{chunk-RD7E4OSJ.cjs → chunk-N5NFJW7Y.cjs} +0 -0
  459. /package/dist/{chunk-FXOX3X7E.cjs → chunk-NEVFKRDU.cjs} +0 -0
  460. /package/dist/{chunk-O4LRVGOY.js → chunk-O4JDWMYD.js} +0 -0
  461. /package/dist/{chunk-IH4CMOML.js → chunk-OEBV2PMV.js} +0 -0
  462. /package/dist/{chunk-VVVATFGK.cjs → chunk-OXJOO2YF.cjs} +0 -0
  463. /package/dist/{chunk-WOSSSFXB.js → chunk-PSQMDY3B.js} +0 -0
  464. /package/dist/{chunk-AJKH25H2.cjs → chunk-QOAWSFXA.cjs} +0 -0
  465. /package/dist/{chunk-UKKJMCNH.js → chunk-QT44OHHL.js} +0 -0
  466. /package/dist/{chunk-B3ZGAG7B.js → chunk-QTR3RH4N.js} +0 -0
  467. /package/dist/{chunk-3N67SSL3.js → chunk-RELUU5QZ.js} +0 -0
  468. /package/dist/{chunk-YYBIU5BQ.js → chunk-RJ3DWFSK.js} +0 -0
  469. /package/dist/{chunk-ARWMTXJV.cjs → chunk-RUZRPIHW.cjs} +0 -0
  470. /package/dist/{chunk-4VFQTSJQ.js → chunk-RW5JOHG7.js} +0 -0
  471. /package/dist/{chunk-EPAIOB5U.cjs → chunk-RXMOHUBP.cjs} +0 -0
  472. /package/dist/{chunk-MRZ7LGKZ.js → chunk-SBSIGQDU.js} +0 -0
  473. /package/dist/{chunk-TRJLYZHD.js → chunk-SITPUXIR.js} +0 -0
  474. /package/dist/{chunk-OGQKJTXF.js → chunk-SZMCMLOQ.js} +0 -0
  475. /package/dist/{chunk-VVQB5W7U.cjs → chunk-T67ZXTVG.cjs} +0 -0
  476. /package/dist/{chunk-HPSGM6QP.js → chunk-TME4YJNP.js} +0 -0
  477. /package/dist/{chunk-MRTAFRO7.js → chunk-TPA4HEAO.js} +0 -0
  478. /package/dist/{chunk-F376L6PP.cjs → chunk-TTNPMFXL.cjs} +0 -0
  479. /package/dist/{chunk-OG2DMGU6.cjs → chunk-TXDVGTQD.cjs} +0 -0
  480. /package/dist/{chunk-XZYZLSUO.cjs → chunk-UNCVJH6J.cjs} +0 -0
  481. /package/dist/{chunk-MHNSZ4HE.js → chunk-UUVJYJHD.js} +0 -0
  482. /package/dist/{chunk-C6UTZEHH.js → chunk-VSZEOCIE.js} +0 -0
  483. /package/dist/{chunk-EQZMT2HF.cjs → chunk-WQBBB6BN.cjs} +0 -0
  484. /package/dist/{chunk-BH5ZXK4J.cjs → chunk-WTMV77T2.cjs} +0 -0
  485. /package/dist/{chunk-BWFXLUK5.cjs → chunk-WWOAKRNG.cjs} +0 -0
  486. /package/dist/{chunk-ITX53XAZ.js → chunk-XSE4CFSM.js} +0 -0
  487. /package/dist/{chunk-SK3VYIZ6.cjs → chunk-YO4M3BZL.cjs} +0 -0
  488. /package/dist/{chunk-XYHTQ523.cjs → chunk-Z5TVWG3I.cjs} +0 -0
  489. /package/dist/{chunk-PXITFTJA.cjs → chunk-ZI33AJQ5.cjs} +0 -0
  490. /package/dist/{chunk-IP2WWEOU.js → chunk-ZKQ573B7.js} +0 -0
@@ -0,0 +1,2194 @@
1
+ import "./chunk-YPSWSI3M.js";
2
+
3
+ // src/definitions/journey.json
4
+ var openapi = "3.0.0";
5
+ var info = {
6
+ title: "Journey API",
7
+ description: "API to configure journeys",
8
+ version: "1.1.0"
9
+ };
10
+ var security = [
11
+ {
12
+ EpilotAuth: []
13
+ }
14
+ ];
15
+ var tags = [
16
+ {
17
+ name: "Journeys",
18
+ description: "Journey operations"
19
+ },
20
+ {
21
+ name: "Journeys V2",
22
+ description: "Journey V2 operations"
23
+ },
24
+ {
25
+ name: "journey_schema",
26
+ "x-displayName": "Journey",
27
+ description: '<SchemaDefinition schemaRef="#/components/schemas/Journey" />\n'
28
+ }
29
+ ];
30
+ var paths = {
31
+ "/v1/journey/organization/{id}": {
32
+ get: {
33
+ operationId: "getJourneysByOrgId",
34
+ summary: "getJourneysByOrgId",
35
+ description: "Get all journeys by organization id",
36
+ tags: ["Journeys"],
37
+ parameters: [
38
+ {
39
+ name: "id",
40
+ in: "path",
41
+ description: "Organization ID",
42
+ required: true,
43
+ schema: {
44
+ type: "string",
45
+ example: "123"
46
+ }
47
+ },
48
+ {
49
+ name: "hydrate",
50
+ in: "query",
51
+ description: "Hydrate",
52
+ required: false,
53
+ schema: {
54
+ type: "string",
55
+ example: "true"
56
+ }
57
+ }
58
+ ],
59
+ responses: {
60
+ "200": {
61
+ description: "Success",
62
+ content: {
63
+ "application/json": {
64
+ schema: {
65
+ $ref: "#/components/schemas/GetJourneysResponse"
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+ },
73
+ "/v1/journey/configuration/{id}": {
74
+ get: {
75
+ operationId: "getJourney",
76
+ summary: "getJourney",
77
+ description: "Get journey by id. Private journeys requires valid private token to be passed",
78
+ security: [
79
+ {},
80
+ {
81
+ EpilotAuth: []
82
+ }
83
+ ],
84
+ tags: ["Journeys"],
85
+ parameters: [
86
+ {
87
+ name: "id",
88
+ in: "path",
89
+ description: "Journey ID",
90
+ required: true,
91
+ schema: {
92
+ type: "string",
93
+ format: "uuid",
94
+ example: "509cdffe-424f-457a-95c2-9708c304ce77"
95
+ }
96
+ },
97
+ {
98
+ name: "source",
99
+ in: "query",
100
+ description: "What source ID. Journey or Entity ID",
101
+ required: false,
102
+ schema: {
103
+ type: "string"
104
+ }
105
+ },
106
+ {
107
+ name: "orgId",
108
+ in: "query",
109
+ description: "Organization ID",
110
+ required: false,
111
+ schema: {
112
+ type: "string"
113
+ }
114
+ }
115
+ ],
116
+ responses: {
117
+ "200": {
118
+ description: "Success",
119
+ content: {
120
+ "application/json": {
121
+ schema: {
122
+ $ref: "#/components/schemas/Journey"
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+ },
129
+ delete: {
130
+ operationId: "removeJourney",
131
+ summary: "removeJourney",
132
+ description: "Remove journey by id",
133
+ tags: ["Journeys"],
134
+ parameters: [
135
+ {
136
+ name: "id",
137
+ in: "path",
138
+ description: "Journey ID",
139
+ required: true,
140
+ schema: {
141
+ type: "string",
142
+ format: "uuid",
143
+ example: "509cdffe-424f-457a-95c2-9708c304ce77"
144
+ }
145
+ }
146
+ ],
147
+ responses: {
148
+ "200": {
149
+ description: "Success",
150
+ content: {}
151
+ },
152
+ "404": {
153
+ description: "Journey not found",
154
+ content: {
155
+ "application/json": {
156
+ schema: {
157
+ type: "object",
158
+ properties: {
159
+ message: {
160
+ type: "string",
161
+ example: "journey not found"
162
+ }
163
+ }
164
+ }
165
+ }
166
+ }
167
+ }
168
+ }
169
+ }
170
+ },
171
+ "/v1/journey/products/{id}": {
172
+ get: {
173
+ operationId: "getJourneyProducts",
174
+ summary: "getJourneyProducts",
175
+ description: "Get products available in the journey by id. requires public journey token to be passed.",
176
+ security: [
177
+ {
178
+ EpilotAuth: []
179
+ }
180
+ ],
181
+ tags: ["Journeys"],
182
+ parameters: [
183
+ {
184
+ name: "id",
185
+ in: "path",
186
+ description: "Journey ID",
187
+ required: true,
188
+ schema: {
189
+ type: "string",
190
+ format: "uuid",
191
+ example: "509cdffe-424f-457a-95c2-9708c304ce77"
192
+ }
193
+ },
194
+ {
195
+ name: "source",
196
+ in: "query",
197
+ description: "What source ID. Journey or Entity ID",
198
+ required: false,
199
+ schema: {
200
+ type: "string"
201
+ }
202
+ },
203
+ {
204
+ name: "postal_code",
205
+ in: "query",
206
+ description: "Zip Code for availibility",
207
+ required: false,
208
+ schema: {
209
+ type: "string"
210
+ }
211
+ },
212
+ {
213
+ name: "city",
214
+ in: "query",
215
+ description: "city for availibility",
216
+ required: false,
217
+ schema: {
218
+ type: "string"
219
+ }
220
+ },
221
+ {
222
+ name: "street",
223
+ in: "query",
224
+ description: "street name for availibility",
225
+ required: false,
226
+ schema: {
227
+ type: "string"
228
+ }
229
+ },
230
+ {
231
+ name: "street_number",
232
+ in: "query",
233
+ description: "street number for availibility",
234
+ required: false,
235
+ schema: {
236
+ type: "string"
237
+ }
238
+ }
239
+ ],
240
+ responses: {
241
+ "200": {
242
+ description: "Success",
243
+ content: {
244
+ "application/json": {
245
+ schema: {
246
+ $ref: "#/components/schemas/JourneyProductsResponse"
247
+ }
248
+ }
249
+ }
250
+ }
251
+ }
252
+ }
253
+ },
254
+ "/v1/journey/configuration": {
255
+ post: {
256
+ operationId: "createJourney",
257
+ summary: "createJourney",
258
+ description: "Create a Journey",
259
+ tags: ["Journeys"],
260
+ requestBody: {
261
+ content: {
262
+ "application/json": {
263
+ schema: {
264
+ $ref: "#/components/schemas/JourneyCreationRequest"
265
+ }
266
+ }
267
+ },
268
+ description: "Payload"
269
+ },
270
+ parameters: [
271
+ {
272
+ name: "skipAutomation",
273
+ in: "query",
274
+ description: 'skip creating an Automation (it takes Yn format "true, yes, 1, y")',
275
+ required: false,
276
+ schema: {
277
+ type: "string",
278
+ format: "Yn",
279
+ example: true
280
+ }
281
+ }
282
+ ],
283
+ responses: {
284
+ "201": {
285
+ description: "Success",
286
+ content: {
287
+ "application/json": {
288
+ schema: {
289
+ $ref: "#/components/schemas/Journey"
290
+ }
291
+ }
292
+ }
293
+ }
294
+ }
295
+ },
296
+ put: {
297
+ operationId: "updateJourney",
298
+ summary: "updateJourney",
299
+ description: "Update a Journey",
300
+ tags: ["Journeys"],
301
+ requestBody: {
302
+ content: {
303
+ "application/json": {
304
+ schema: {
305
+ $ref: "#/components/schemas/JourneyCreationRequest"
306
+ }
307
+ }
308
+ },
309
+ description: "Payload"
310
+ },
311
+ parameters: [],
312
+ responses: {
313
+ "204": {
314
+ description: "Success",
315
+ headers: {
316
+ "X-Resource-Revisions": {
317
+ schema: {
318
+ type: "integer",
319
+ minimum: 0
320
+ },
321
+ description: "Last revisions number of the updated resource"
322
+ }
323
+ }
324
+ },
325
+ "409": {
326
+ description: "The Journey has been modified since your last read, please refresh it and try again"
327
+ }
328
+ }
329
+ },
330
+ patch: {
331
+ operationId: "patchUpdateJourney",
332
+ summary: "patchUpdateJourney",
333
+ description: 'Update a Journey (partially / patch). Support for nested properties updates (e.g. "property[0].name").',
334
+ tags: ["Journeys"],
335
+ requestBody: {
336
+ content: {
337
+ "application/json": {
338
+ schema: {
339
+ $ref: "#/components/schemas/PatchUpdateJourneyRequest"
340
+ },
341
+ example: {
342
+ journeyId: "509cdffe-424f-457a-95c2-9708c304ce77",
343
+ name: "New Journey Name",
344
+ "steps[0].uischema.elements[0].products": ["123456", "654321"]
345
+ }
346
+ }
347
+ },
348
+ description: "Payload"
349
+ },
350
+ parameters: [],
351
+ responses: {
352
+ "200": {
353
+ description: "Success",
354
+ content: {
355
+ "application/json": {
356
+ schema: {
357
+ $ref: "#/components/schemas/JourneyResponse"
358
+ }
359
+ }
360
+ }
361
+ },
362
+ "404": {
363
+ description: "Journey or associated entity not found",
364
+ content: {
365
+ "application/json": {
366
+ schema: {
367
+ type: "object",
368
+ properties: {
369
+ message: {
370
+ type: "string",
371
+ example: "journey not found"
372
+ }
373
+ }
374
+ }
375
+ }
376
+ }
377
+ }
378
+ }
379
+ }
380
+ },
381
+ "/v1/journey/configuration/search": {
382
+ post: {
383
+ operationId: "searchJourneys",
384
+ summary: "searchJourneys",
385
+ description: "Search Journeys",
386
+ tags: ["Journeys"],
387
+ requestBody: {
388
+ content: {
389
+ "application/json": {
390
+ schema: {
391
+ $ref: "#/components/schemas/SearchJourneysQueryRequest"
392
+ }
393
+ }
394
+ },
395
+ description: "Payload"
396
+ },
397
+ parameters: [],
398
+ responses: {
399
+ "200": {
400
+ description: "Success",
401
+ content: {
402
+ "application/json": {
403
+ schema: {
404
+ $ref: "#/components/schemas/SearchJourneysResponse"
405
+ }
406
+ }
407
+ }
408
+ }
409
+ }
410
+ }
411
+ },
412
+ "/v1/journey/document:generate": {
413
+ post: {
414
+ operationId: "generateDocument",
415
+ summary: "generateDocument",
416
+ description: 'Builds document generated from a template with journey values."\n\nSupported input document types:\n- .docx\n\nSupported output document types:\n- .pdf\n- .docx but limited to only text based variables\n\nUses [Document API](https://gitlab.com/e-pilot/product/file-management/document-api) to generate the document.\nUses [Template Variables API](https://docs.epilot.io/api/template-variables) to replace variables in the document.\n',
417
+ security: [
418
+ {},
419
+ {
420
+ EpilotAuth: []
421
+ }
422
+ ],
423
+ tags: ["Journeys"],
424
+ requestBody: {
425
+ content: {
426
+ "application/json": {
427
+ schema: {
428
+ $ref: "#/components/schemas/GenerateDocumentRequest"
429
+ }
430
+ }
431
+ }
432
+ },
433
+ responses: {
434
+ "200": {
435
+ description: "Generated document output",
436
+ content: {
437
+ "application/json": {
438
+ schema: {
439
+ $ref: "#/components/schemas/GenerateDocumentResponse"
440
+ }
441
+ }
442
+ }
443
+ }
444
+ }
445
+ }
446
+ },
447
+ "/v2/journey/configuration": {
448
+ post: {
449
+ operationId: "createJourneyV2",
450
+ summary: "createJourneyV2",
451
+ description: "Create a Journey",
452
+ tags: ["Journeys V2"],
453
+ requestBody: {
454
+ content: {
455
+ "application/json": {
456
+ schema: {
457
+ $ref: "#/components/schemas/JourneyCreationRequestV2"
458
+ }
459
+ }
460
+ },
461
+ description: "Payload"
462
+ },
463
+ parameters: [
464
+ {
465
+ name: "skipAutomation",
466
+ in: "query",
467
+ description: 'skip creating an Automation (it takes Yn format "true, yes, 1, y")',
468
+ required: false,
469
+ schema: {
470
+ type: "string",
471
+ format: "Yn",
472
+ example: true
473
+ }
474
+ }
475
+ ],
476
+ responses: {
477
+ "201": {
478
+ description: "Success",
479
+ content: {
480
+ "application/json": {
481
+ schema: {
482
+ $ref: "#/components/schemas/JourneyCreationRequestV2"
483
+ }
484
+ }
485
+ }
486
+ }
487
+ }
488
+ },
489
+ put: {
490
+ operationId: "updateJourneyV2",
491
+ summary: "updateJourneyV2",
492
+ description: "Update a Journey",
493
+ tags: ["Journeys V2"],
494
+ requestBody: {
495
+ content: {
496
+ "application/json": {
497
+ schema: {
498
+ $ref: "#/components/schemas/JourneyCreationRequestV2"
499
+ }
500
+ }
501
+ },
502
+ description: "Payload"
503
+ },
504
+ parameters: [],
505
+ responses: {
506
+ "200": {
507
+ description: "Success",
508
+ content: {
509
+ "application/json": {
510
+ schema: {
511
+ $ref: "#/components/schemas/JourneyCreationRequestV2"
512
+ }
513
+ }
514
+ }
515
+ },
516
+ "404": {
517
+ description: "Journey or associated entity not found",
518
+ content: {
519
+ "application/json": {
520
+ schema: {
521
+ type: "object",
522
+ properties: {
523
+ message: {
524
+ type: "string",
525
+ example: "journey not found"
526
+ }
527
+ }
528
+ }
529
+ }
530
+ }
531
+ }
532
+ }
533
+ },
534
+ patch: {
535
+ operationId: "patchUpdateJourneyV2",
536
+ summary: "patchUpdateJourneyV2",
537
+ description: 'Update a Journey (partially / patch). Support for nested properties updates (e.g. "property[0].name").',
538
+ tags: ["Journeys V2"],
539
+ requestBody: {
540
+ content: {
541
+ "application/json": {
542
+ schema: {
543
+ $ref: "#/components/schemas/PatchUpdateJourneyRequest"
544
+ },
545
+ example: {
546
+ journeyId: "509cdffe-424f-457a-95c2-9708c304ce77",
547
+ name: "New Journey Name",
548
+ "steps[0].uischema.elements[0].products": ["123456", "654321"]
549
+ }
550
+ }
551
+ },
552
+ description: "Payload"
553
+ },
554
+ parameters: [],
555
+ responses: {
556
+ "200": {
557
+ description: "Success",
558
+ content: {
559
+ "application/json": {
560
+ schema: {
561
+ $ref: "#/components/schemas/JourneyCreationRequestV2"
562
+ }
563
+ }
564
+ }
565
+ },
566
+ "404": {
567
+ description: "Journey or associated entity not found",
568
+ content: {
569
+ "application/json": {
570
+ schema: {
571
+ type: "object",
572
+ properties: {
573
+ message: {
574
+ type: "string",
575
+ example: "journey not found"
576
+ }
577
+ }
578
+ }
579
+ }
580
+ }
581
+ }
582
+ }
583
+ }
584
+ },
585
+ "/v2/journey/configuration/{id}": {
586
+ get: {
587
+ operationId: "getJourneyV2",
588
+ summary: "getJourneyV2",
589
+ description: "Get journey by id",
590
+ security: [],
591
+ tags: ["Journeys V2"],
592
+ parameters: [
593
+ {
594
+ name: "id",
595
+ in: "path",
596
+ description: "Journey ID",
597
+ required: true,
598
+ schema: {
599
+ type: "string",
600
+ format: "uuid",
601
+ example: "509cdffe-424f-457a-95c2-9708c304ce77"
602
+ }
603
+ }
604
+ ],
605
+ responses: {
606
+ "200": {
607
+ description: "Success",
608
+ content: {
609
+ "application/json": {
610
+ schema: {
611
+ $ref: "#/components/schemas/JourneyCreationRequestV2"
612
+ }
613
+ }
614
+ }
615
+ }
616
+ }
617
+ },
618
+ delete: {
619
+ operationId: "removeJourneyV2",
620
+ summary: "removeJourneyV2",
621
+ description: "Remove journey by id",
622
+ tags: ["Journeys V2"],
623
+ parameters: [
624
+ {
625
+ name: "id",
626
+ in: "path",
627
+ description: "Journey ID",
628
+ required: true,
629
+ schema: {
630
+ type: "string",
631
+ format: "uuid",
632
+ example: "509cdffe-424f-457a-95c2-9708c304ce77"
633
+ }
634
+ }
635
+ ],
636
+ responses: {
637
+ "200": {
638
+ description: "Success",
639
+ content: {}
640
+ }
641
+ }
642
+ }
643
+ },
644
+ "/v1/journey/{id}/settings": {
645
+ get: {
646
+ operationId: "getSettingsForJourney",
647
+ summary: "getSettingsForJourney",
648
+ description: "Get settings related to the journey using journey ID.",
649
+ tags: ["Journeys"],
650
+ security: [{}],
651
+ parameters: [
652
+ {
653
+ name: "id",
654
+ in: "path",
655
+ description: "Journey ID",
656
+ required: true,
657
+ schema: {
658
+ type: "string",
659
+ format: "uuid",
660
+ example: "509cdffe-424f-457a-95c2-9708c304ce77"
661
+ }
662
+ }
663
+ ],
664
+ responses: {
665
+ "200": {
666
+ description: "Success",
667
+ content: {
668
+ "application/json": {
669
+ schema: {
670
+ $ref: "#/components/schemas/GetSettingsForJourney"
671
+ }
672
+ }
673
+ }
674
+ },
675
+ "404": {
676
+ description: "Not found",
677
+ content: {
678
+ "application/json": {
679
+ schema: {
680
+ type: "object",
681
+ properties: {
682
+ message: {
683
+ type: "string",
684
+ example: "journey not found"
685
+ }
686
+ }
687
+ }
688
+ }
689
+ }
690
+ },
691
+ "500": {
692
+ description: "Internal Server Error",
693
+ content: {
694
+ "application/json": {
695
+ schema: {
696
+ type: "object",
697
+ properties: {
698
+ message: {
699
+ type: "string",
700
+ example: "Unknown API Error"
701
+ }
702
+ }
703
+ }
704
+ }
705
+ }
706
+ }
707
+ }
708
+ }
709
+ },
710
+ "/v1/journey/button-options": {
711
+ get: {
712
+ operationId: "getButtonOptions",
713
+ summary: "getButtonOptions",
714
+ description: "Get button options from a csv file.",
715
+ security: [
716
+ {
717
+ EpilotAuth: []
718
+ }
719
+ ],
720
+ tags: ["Journeys"],
721
+ parameters: [
722
+ {
723
+ in: "query",
724
+ name: "fileId",
725
+ required: true,
726
+ description: "file id to get button options from",
727
+ schema: {
728
+ type: "string",
729
+ example: "535ef74a-dd66-4d01-94a9-725016e70d1c"
730
+ }
731
+ }
732
+ ],
733
+ responses: {
734
+ "200": {
735
+ description: "Success",
736
+ content: {
737
+ "application/json": {
738
+ schema: {
739
+ type: "array",
740
+ items: {
741
+ $ref: "#/components/schemas/ButtonOption"
742
+ }
743
+ }
744
+ }
745
+ }
746
+ },
747
+ "400": {
748
+ description: "Bad Request - Invalid file or content",
749
+ content: {
750
+ "application/json": {
751
+ schema: {
752
+ type: "object",
753
+ properties: {
754
+ message: {
755
+ type: "string",
756
+ example: "UTF-8 encoding error while processing CSV content"
757
+ },
758
+ details: {
759
+ type: "string",
760
+ example: "Please ensure your CSV file is properly encoded in UTF-8 format"
761
+ }
762
+ }
763
+ }
764
+ }
765
+ }
766
+ },
767
+ "404": {
768
+ description: "Not found",
769
+ content: {
770
+ "application/json": {
771
+ schema: {
772
+ type: "object",
773
+ properties: {
774
+ message: {
775
+ type: "string",
776
+ example: "File with ID 535ef74a-dd66-4d01-94a9-725016e70d1c not found."
777
+ }
778
+ }
779
+ }
780
+ }
781
+ }
782
+ },
783
+ "500": {
784
+ description: "Internal Server Error",
785
+ content: {
786
+ "application/json": {
787
+ schema: {
788
+ type: "object",
789
+ properties: {
790
+ message: {
791
+ type: "string",
792
+ example: "Unknown API Error"
793
+ }
794
+ }
795
+ }
796
+ }
797
+ }
798
+ }
799
+ }
800
+ }
801
+ }
802
+ };
803
+ var components = {
804
+ schemas: {
805
+ GetJourneysResponse: {
806
+ type: "object"
807
+ },
808
+ JourneyResponse: {
809
+ type: "object",
810
+ properties: {
811
+ createdJourney: {
812
+ $ref: "#/components/schemas/Journey"
813
+ }
814
+ }
815
+ },
816
+ JourneyProductsResponse: {
817
+ type: "array",
818
+ items: {
819
+ type: "object",
820
+ properties: {
821
+ type: {
822
+ type: "string"
823
+ },
824
+ _schema: {
825
+ type: "string"
826
+ },
827
+ _title: {
828
+ type: "string"
829
+ },
830
+ name: {
831
+ type: "string"
832
+ },
833
+ _id: {
834
+ type: "string"
835
+ },
836
+ _org: {
837
+ type: "string"
838
+ },
839
+ code: {
840
+ type: "string"
841
+ },
842
+ description: {
843
+ type: "string"
844
+ },
845
+ feature: {
846
+ type: "array"
847
+ },
848
+ product_images: {
849
+ type: "array"
850
+ },
851
+ legal_footnote: {
852
+ type: "string"
853
+ },
854
+ product_downloads: {
855
+ type: "array"
856
+ },
857
+ price: {
858
+ type: "object"
859
+ }
860
+ }
861
+ }
862
+ },
863
+ PatchUpdateJourneyRequest: {
864
+ type: "object",
865
+ properties: {
866
+ journeyId: {
867
+ type: "string",
868
+ format: "uuid",
869
+ example: "509cdffe-424f-457a-95c2-9708c304ce77"
870
+ },
871
+ __lastModifiedAt: {
872
+ type: "string",
873
+ description: "If passed with value of null, the API won't modify the lastModifiedAt field on updating the journey",
874
+ nullable: true
875
+ }
876
+ },
877
+ additionalProperties: true,
878
+ description: "Patch request to update a journey (journey id is required) Support for nested properties (e.g. steps[0].uischema.elements[0].products) is supported.\n",
879
+ required: ["journeyId"]
880
+ },
881
+ JourneyCreationRequest: {
882
+ type: "object",
883
+ properties: {
884
+ journeyId: {
885
+ type: "string"
886
+ },
887
+ organizationId: {
888
+ type: "string"
889
+ },
890
+ brandId: {
891
+ type: "string"
892
+ },
893
+ name: {
894
+ type: "string"
895
+ },
896
+ steps: {
897
+ type: "array",
898
+ items: {
899
+ type: "object",
900
+ additionalProperties: false,
901
+ properties: {
902
+ showStepName: {
903
+ type: "boolean",
904
+ nullable: true
905
+ },
906
+ title: {
907
+ type: "string",
908
+ nullable: true
909
+ },
910
+ subTitle: {
911
+ type: "string",
912
+ nullable: true
913
+ },
914
+ showStepSubtitle: {
915
+ type: "boolean",
916
+ nullable: true
917
+ },
918
+ showStepper: {
919
+ type: "boolean",
920
+ nullable: true
921
+ },
922
+ showStepperLabels: {
923
+ type: "boolean",
924
+ nullable: true
925
+ },
926
+ hideNextButton: {
927
+ type: "boolean",
928
+ nullable: true
929
+ },
930
+ name: {
931
+ type: "string"
932
+ },
933
+ stepId: {
934
+ type: "string"
935
+ },
936
+ schema: {},
937
+ uischema: {},
938
+ maxWidth: {
939
+ type: "string",
940
+ enum: ["small", "medium", "large", "extra large"]
941
+ }
942
+ },
943
+ required: ["name", "schema", "uischema"]
944
+ }
945
+ },
946
+ design: {
947
+ type: "object",
948
+ properties: {
949
+ logoUrl: {
950
+ type: "string",
951
+ nullable: true
952
+ },
953
+ theme: {
954
+ type: "object",
955
+ additionalProperties: {}
956
+ },
957
+ designTokens: {
958
+ type: "object"
959
+ }
960
+ },
961
+ additionalProperties: false
962
+ },
963
+ rules: {
964
+ type: "array",
965
+ items: {
966
+ type: "object",
967
+ properties: {
968
+ type: {
969
+ type: "string",
970
+ enum: ["inject", "injectWithKey"]
971
+ },
972
+ sourceType: {
973
+ type: "string",
974
+ enum: ["journey", "step", "block"]
975
+ },
976
+ source: {
977
+ type: "string"
978
+ },
979
+ target: {
980
+ type: "string"
981
+ }
982
+ },
983
+ required: ["type", "sourceType", "source", "target"],
984
+ additionalProperties: false
985
+ }
986
+ },
987
+ logics: {
988
+ type: "array",
989
+ items: {
990
+ type: "object",
991
+ properties: {
992
+ autoGeneratedId: {
993
+ type: "string"
994
+ },
995
+ conditions: {
996
+ type: "array",
997
+ items: {
998
+ type: "string"
999
+ }
1000
+ },
1001
+ actions: {
1002
+ type: "array",
1003
+ items: {
1004
+ type: "string"
1005
+ }
1006
+ }
1007
+ },
1008
+ required: ["conditions", "actions"],
1009
+ additionalProperties: false
1010
+ }
1011
+ },
1012
+ logicsV4: {
1013
+ type: "object",
1014
+ additionalProperties: {
1015
+ type: "object",
1016
+ properties: {
1017
+ id: {
1018
+ type: "string",
1019
+ format: "uuid",
1020
+ description: "Unique identifier for logic. Use uuidv7"
1021
+ },
1022
+ protected: {
1023
+ type: "boolean",
1024
+ description: "If true, logic can't be manipulated by the configuring user"
1025
+ },
1026
+ action: {
1027
+ type: "string",
1028
+ description: "Indicates which action to take in case logic evaluates to true"
1029
+ },
1030
+ triggeredOn: {
1031
+ type: "string",
1032
+ description: "Indicates when the logic should be evaluated"
1033
+ },
1034
+ conditions: {
1035
+ type: "array",
1036
+ items: {
1037
+ type: "array",
1038
+ items: {
1039
+ type: "object",
1040
+ properties: {
1041
+ operator: {
1042
+ type: "string",
1043
+ description: "Operator to be applied between the fact value and the value"
1044
+ },
1045
+ functionName: {
1046
+ type: "string",
1047
+ description: "If operator is a custom function, this needs to be provided"
1048
+ },
1049
+ fact: {
1050
+ type: "object",
1051
+ properties: {
1052
+ id: {
1053
+ type: "string",
1054
+ format: "uuid",
1055
+ description: "Unique identifier for a fact"
1056
+ },
1057
+ referenceType: {
1058
+ type: "string",
1059
+ description: "Indicates reference type (block or context parameter)"
1060
+ },
1061
+ referenceId: {
1062
+ type: "string",
1063
+ description: "Id of the reference"
1064
+ },
1065
+ path: {
1066
+ type: "string",
1067
+ description: "Path to a property. Used if only part of the value is needed"
1068
+ },
1069
+ meaning: {
1070
+ type: "string",
1071
+ description: "If path is a reference, indicates the intention of it"
1072
+ }
1073
+ }
1074
+ },
1075
+ value: {
1076
+ oneOf: [
1077
+ {
1078
+ type: "string"
1079
+ },
1080
+ {
1081
+ type: "number"
1082
+ },
1083
+ {
1084
+ type: "boolean"
1085
+ },
1086
+ {
1087
+ type: "object"
1088
+ },
1089
+ {
1090
+ type: "array"
1091
+ }
1092
+ ]
1093
+ },
1094
+ args: {
1095
+ type: "object"
1096
+ }
1097
+ }
1098
+ }
1099
+ }
1100
+ },
1101
+ settings: {
1102
+ type: "object",
1103
+ description: "Logic specific settings. Will vary by type of logic"
1104
+ }
1105
+ }
1106
+ }
1107
+ },
1108
+ contextSchema: {
1109
+ type: "array",
1110
+ items: {
1111
+ type: "object",
1112
+ properties: {
1113
+ id: {
1114
+ type: "string",
1115
+ format: "uuid",
1116
+ description: "Unique identifier for the context schema item"
1117
+ },
1118
+ type: {
1119
+ type: "string",
1120
+ description: "Type of the parameter. It could be either an entity slug, or a text"
1121
+ },
1122
+ paramKey: {
1123
+ type: "string",
1124
+ description: "Expected key to be received in the context"
1125
+ },
1126
+ isRequired: {
1127
+ type: "boolean",
1128
+ description: "Indicates if a value is expected to be provided"
1129
+ },
1130
+ shouldLoadEntity: {
1131
+ type: "boolean",
1132
+ description: "If type is not text, we can instruct the journey to fetch the entity id we receive as value"
1133
+ }
1134
+ },
1135
+ required: ["paramKey", "type"],
1136
+ additionalProperties: false
1137
+ }
1138
+ },
1139
+ journey_type: {
1140
+ type: "string",
1141
+ description: "Journey Template",
1142
+ example: "Sales template (Premium)"
1143
+ },
1144
+ settings: {
1145
+ type: "object",
1146
+ properties: {
1147
+ embedOptions: {
1148
+ type: "object",
1149
+ properties: {
1150
+ mode: {
1151
+ type: "string",
1152
+ enum: ["full-screen", "inline"]
1153
+ },
1154
+ lang: {
1155
+ type: "string",
1156
+ enum: ["de", "en", "fr"]
1157
+ },
1158
+ width: {
1159
+ type: "string"
1160
+ },
1161
+ topBar: {
1162
+ type: "boolean"
1163
+ },
1164
+ scrollToTop: {
1165
+ type: "boolean"
1166
+ },
1167
+ button: {
1168
+ type: "object",
1169
+ properties: {
1170
+ text: {
1171
+ type: "string",
1172
+ nullable: true
1173
+ },
1174
+ align: {
1175
+ type: "string",
1176
+ enum: ["left", "center", "right"]
1177
+ }
1178
+ }
1179
+ }
1180
+ }
1181
+ },
1182
+ safeModeAutomation: {
1183
+ type: "boolean"
1184
+ },
1185
+ canary: {
1186
+ deprecated: true,
1187
+ description: "DEPRECATED - This API will return hardcoded value of false. Please note that this field is internal to epilot and should not be used by external clients. If you wish to get the canary flag, please use the /v1/journey/{id}/settings API.",
1188
+ type: "boolean"
1189
+ },
1190
+ designId: {
1191
+ type: "string"
1192
+ },
1193
+ templateId: {
1194
+ type: "string"
1195
+ },
1196
+ entityId: {
1197
+ type: "string",
1198
+ nullable: true
1199
+ },
1200
+ mappingsAutomationId: {
1201
+ type: "string"
1202
+ },
1203
+ targetedCustomer: {
1204
+ type: "string"
1205
+ },
1206
+ description: {
1207
+ type: "string",
1208
+ nullable: true
1209
+ },
1210
+ organizationSettings: {
1211
+ type: "object",
1212
+ additionalProperties: {
1213
+ type: "boolean"
1214
+ },
1215
+ nullable: true
1216
+ },
1217
+ publicToken: {
1218
+ type: "string",
1219
+ nullable: true
1220
+ },
1221
+ runtimeEntities: {
1222
+ type: "array",
1223
+ items: {
1224
+ type: "string",
1225
+ enum: ["ORDER", "OPPORTUNITY"]
1226
+ }
1227
+ },
1228
+ filePurposes: {
1229
+ type: "array",
1230
+ items: {
1231
+ type: "string"
1232
+ }
1233
+ },
1234
+ entityTags: {
1235
+ type: "array",
1236
+ items: {
1237
+ type: "string"
1238
+ }
1239
+ },
1240
+ addressSuggestionsFileUrl: {
1241
+ type: "string",
1242
+ nullable: true,
1243
+ deprecated: true,
1244
+ description: "@deprecated Use addressSuggestionsFileId instead"
1245
+ },
1246
+ addressSuggestionsFileId: {
1247
+ type: "string",
1248
+ nullable: true
1249
+ },
1250
+ useNewDesign: {
1251
+ type: "boolean",
1252
+ deprecated: true,
1253
+ description: "This property is deprecated and will be removed in a future version"
1254
+ },
1255
+ useAustrianLabels: {
1256
+ type: "boolean",
1257
+ description: "If true, some journey input labels are in Austrian format"
1258
+ },
1259
+ enableDarkMode: {
1260
+ type: "boolean",
1261
+ description: "If true, the journey shows an icon to toggle dark mode"
1262
+ },
1263
+ accessMode: {
1264
+ type: "string",
1265
+ enum: ["PUBLIC", "PRIVATE"]
1266
+ },
1267
+ isPublished: {
1268
+ type: "boolean"
1269
+ },
1270
+ status: {
1271
+ type: "string"
1272
+ },
1273
+ isActive: {
1274
+ type: "boolean"
1275
+ },
1276
+ savingProgress: {
1277
+ type: "object",
1278
+ properties: {
1279
+ savingMode: {
1280
+ type: "string",
1281
+ enum: ["auto", "local", "remote", "none"]
1282
+ },
1283
+ supportedVersion: {
1284
+ type: "number"
1285
+ }
1286
+ }
1287
+ },
1288
+ thirdPartyCookies: {
1289
+ type: "boolean",
1290
+ description: "If false, third-party cookies are disabled to comply with GDPR regulations without asking for consent."
1291
+ }
1292
+ },
1293
+ required: ["designId"],
1294
+ additionalProperties: false
1295
+ },
1296
+ validationRules: {
1297
+ $ref: "#/components/schemas/ValidationRuleRef"
1298
+ },
1299
+ createdBy: {
1300
+ type: "string"
1301
+ },
1302
+ updatedBy: {
1303
+ type: "string",
1304
+ nullable: true
1305
+ },
1306
+ __lastModifiedAt: {
1307
+ type: "string",
1308
+ description: "If passed with value of null, the API won't modify the lastModifiedAt field on updating the journey",
1309
+ nullable: true
1310
+ }
1311
+ },
1312
+ required: ["organizationId", "name", "steps"],
1313
+ additionalProperties: true
1314
+ },
1315
+ JourneyCreationRequestV2: {
1316
+ type: "object",
1317
+ properties: {
1318
+ journeyId: {
1319
+ type: "string"
1320
+ },
1321
+ brandId: {
1322
+ type: "string"
1323
+ },
1324
+ name: {
1325
+ type: "string"
1326
+ },
1327
+ steps: {
1328
+ type: "array",
1329
+ items: {
1330
+ type: "object",
1331
+ additionalProperties: false,
1332
+ properties: {
1333
+ showStepName: {
1334
+ type: "boolean",
1335
+ nullable: true
1336
+ },
1337
+ title: {
1338
+ type: "string",
1339
+ nullable: true
1340
+ },
1341
+ subTitle: {
1342
+ type: "string",
1343
+ nullable: true
1344
+ },
1345
+ showStepSubtitle: {
1346
+ type: "boolean",
1347
+ nullable: true
1348
+ },
1349
+ showStepper: {
1350
+ type: "boolean",
1351
+ nullable: true
1352
+ },
1353
+ showStepperLabels: {
1354
+ type: "boolean",
1355
+ nullable: true
1356
+ },
1357
+ hideNextButton: {
1358
+ type: "boolean",
1359
+ nullable: true
1360
+ },
1361
+ name: {
1362
+ type: "string"
1363
+ },
1364
+ stepId: {
1365
+ type: "string"
1366
+ },
1367
+ schema: {},
1368
+ uischema: {},
1369
+ maxWidth: {
1370
+ type: "string",
1371
+ enum: ["small", "medium", "large", "extra large"]
1372
+ }
1373
+ },
1374
+ required: ["name", "schema", "uischema"]
1375
+ }
1376
+ },
1377
+ design: {
1378
+ type: "object",
1379
+ properties: {
1380
+ logoUrl: {
1381
+ type: "string",
1382
+ nullable: true
1383
+ },
1384
+ theme: {
1385
+ type: "object",
1386
+ additionalProperties: {}
1387
+ },
1388
+ designTokens: {
1389
+ type: "object"
1390
+ }
1391
+ },
1392
+ additionalProperties: false
1393
+ },
1394
+ rules: {
1395
+ type: "array",
1396
+ items: {
1397
+ type: "object",
1398
+ properties: {
1399
+ type: {
1400
+ type: "string",
1401
+ enum: ["inject", "injectWithKey"]
1402
+ },
1403
+ sourceType: {
1404
+ type: "string",
1405
+ enum: ["journey", "step", "block"]
1406
+ },
1407
+ source: {
1408
+ type: "string"
1409
+ },
1410
+ target: {
1411
+ type: "string"
1412
+ }
1413
+ },
1414
+ required: ["type", "sourceType", "source", "target"],
1415
+ additionalProperties: false
1416
+ }
1417
+ },
1418
+ logics: {
1419
+ type: "array",
1420
+ items: {
1421
+ type: "object",
1422
+ properties: {
1423
+ autoGeneratedId: {
1424
+ type: "string"
1425
+ },
1426
+ conditions: {
1427
+ type: "array",
1428
+ items: {
1429
+ type: "string"
1430
+ }
1431
+ },
1432
+ actions: {
1433
+ type: "array",
1434
+ items: {
1435
+ type: "string"
1436
+ }
1437
+ }
1438
+ },
1439
+ required: ["conditions", "actions"],
1440
+ additionalProperties: false
1441
+ }
1442
+ },
1443
+ logicsV4: {
1444
+ type: "object",
1445
+ additionalProperties: {
1446
+ type: "object",
1447
+ properties: {
1448
+ id: {
1449
+ type: "string",
1450
+ format: "uuid",
1451
+ description: "Unique identifier for logic. Use uuidv7"
1452
+ },
1453
+ protected: {
1454
+ type: "boolean",
1455
+ description: "If true, logic can't be manipulated by the configuring user"
1456
+ },
1457
+ action: {
1458
+ type: "string",
1459
+ description: "Indicates which action to take in case logic evaluates to true"
1460
+ },
1461
+ triggeredOn: {
1462
+ type: "string",
1463
+ description: "Indicates when the logic should be evaluated"
1464
+ },
1465
+ conditions: {
1466
+ type: "array",
1467
+ items: {
1468
+ type: "array",
1469
+ items: {
1470
+ type: "object",
1471
+ properties: {
1472
+ operator: {
1473
+ type: "string",
1474
+ description: "Operator to be applied between the fact value and the value"
1475
+ },
1476
+ functionName: {
1477
+ type: "string",
1478
+ description: "If operator is a custom function, this needs to be provided"
1479
+ },
1480
+ fact: {
1481
+ type: "object",
1482
+ properties: {
1483
+ id: {
1484
+ type: "string",
1485
+ format: "uuid",
1486
+ description: "Unique identifier for a fact"
1487
+ },
1488
+ referenceType: {
1489
+ type: "string",
1490
+ description: "Indicates reference type (block or context parameter)"
1491
+ },
1492
+ referenceId: {
1493
+ type: "string",
1494
+ description: "Id of the reference"
1495
+ },
1496
+ path: {
1497
+ type: "string",
1498
+ description: "Path to a property. Used if only part of the value is needed"
1499
+ },
1500
+ meaning: {
1501
+ type: "string",
1502
+ description: "If path is a reference, indicates the intention of it"
1503
+ }
1504
+ }
1505
+ },
1506
+ value: {
1507
+ oneOf: [
1508
+ {
1509
+ type: "string"
1510
+ },
1511
+ {
1512
+ type: "number"
1513
+ },
1514
+ {
1515
+ type: "boolean"
1516
+ },
1517
+ {
1518
+ type: "object"
1519
+ },
1520
+ {
1521
+ type: "array"
1522
+ }
1523
+ ]
1524
+ },
1525
+ args: {
1526
+ type: "object"
1527
+ }
1528
+ }
1529
+ }
1530
+ }
1531
+ },
1532
+ settings: {
1533
+ type: "object",
1534
+ description: "Logic specific settings. Will vary by type of logic"
1535
+ }
1536
+ }
1537
+ }
1538
+ },
1539
+ contextSchema: {
1540
+ type: "array",
1541
+ items: {
1542
+ type: "object",
1543
+ properties: {
1544
+ id: {
1545
+ type: "string",
1546
+ format: "uuid",
1547
+ description: "Unique identifier for the context schema item"
1548
+ },
1549
+ type: {
1550
+ type: "string",
1551
+ description: "Type of the parameter. It could be either an entity slug, or a text"
1552
+ },
1553
+ paramKey: {
1554
+ type: "string",
1555
+ description: "Expected key to be received in the context"
1556
+ },
1557
+ isRequired: {
1558
+ type: "boolean",
1559
+ description: "Indicates if a value is expected to be provided"
1560
+ },
1561
+ shouldLoadEntity: {
1562
+ type: "boolean",
1563
+ description: "If type is not text, we can instruct the journey to fetch the entity id we receive as value"
1564
+ }
1565
+ },
1566
+ required: ["paramKey", "type"],
1567
+ additionalProperties: false
1568
+ }
1569
+ },
1570
+ journey_type: {
1571
+ type: "string",
1572
+ description: "Journey Template",
1573
+ example: "Sales template (Premium)"
1574
+ },
1575
+ settings: {
1576
+ type: "object",
1577
+ properties: {
1578
+ embedOptions: {
1579
+ type: "object",
1580
+ properties: {
1581
+ mode: {
1582
+ type: "string",
1583
+ enum: ["full-screen", "inline"]
1584
+ },
1585
+ lang: {
1586
+ type: "string",
1587
+ enum: ["de", "en", "fr"]
1588
+ },
1589
+ width: {
1590
+ type: "string"
1591
+ },
1592
+ topBar: {
1593
+ type: "boolean"
1594
+ },
1595
+ scrollToTop: {
1596
+ type: "boolean"
1597
+ },
1598
+ button: {
1599
+ type: "object",
1600
+ properties: {
1601
+ text: {
1602
+ type: "string",
1603
+ nullable: true
1604
+ },
1605
+ align: {
1606
+ type: "string",
1607
+ enum: ["left", "center", "right"]
1608
+ }
1609
+ }
1610
+ }
1611
+ }
1612
+ },
1613
+ safeModeAutomation: {
1614
+ type: "boolean"
1615
+ },
1616
+ designId: {
1617
+ type: "string"
1618
+ },
1619
+ entityId: {
1620
+ type: "string",
1621
+ nullable: true
1622
+ },
1623
+ mappingsAutomationId: {
1624
+ type: "string"
1625
+ },
1626
+ templateId: {
1627
+ type: "string"
1628
+ },
1629
+ targetedCustomer: {
1630
+ type: "string"
1631
+ },
1632
+ description: {
1633
+ type: "string",
1634
+ nullable: true
1635
+ },
1636
+ publicToken: {
1637
+ type: "string",
1638
+ nullable: true
1639
+ },
1640
+ runtimeEntities: {
1641
+ type: "array",
1642
+ items: {
1643
+ type: "string",
1644
+ enum: ["ORDER", "OPPORTUNITY"]
1645
+ }
1646
+ },
1647
+ filePurposes: {
1648
+ type: "array",
1649
+ items: {
1650
+ type: "string"
1651
+ }
1652
+ },
1653
+ entityTags: {
1654
+ type: "array",
1655
+ items: {
1656
+ type: "string"
1657
+ }
1658
+ },
1659
+ addressSuggestionsFileUrl: {
1660
+ type: "string",
1661
+ nullable: true,
1662
+ deprecated: true,
1663
+ description: "@deprecated Use addressSuggestionsFileId instead"
1664
+ },
1665
+ addressSuggestionsFileId: {
1666
+ type: "string",
1667
+ nullable: true
1668
+ },
1669
+ useNewDesign: {
1670
+ type: "boolean",
1671
+ deprecated: true,
1672
+ description: "This property is deprecated and will be removed in a future version"
1673
+ },
1674
+ thirdPartyCookies: {
1675
+ type: "boolean",
1676
+ description: "If false, third-party cookies are disabled to comply with GDPR regulations without asking for consent."
1677
+ },
1678
+ accessMode: {
1679
+ type: "string",
1680
+ enum: ["PUBLIC", "PRIVATE"]
1681
+ },
1682
+ enableDarkMode: {
1683
+ type: "boolean",
1684
+ description: "If true, the journey shows an icon to toggle dark mode"
1685
+ }
1686
+ },
1687
+ additionalProperties: false
1688
+ },
1689
+ validationRules: {
1690
+ $ref: "#/components/schemas/ValidationRuleRef"
1691
+ },
1692
+ _manifest: {
1693
+ type: "array",
1694
+ description: "Manifest/Blueprint ID used to create/update the entity",
1695
+ items: {
1696
+ type: "string",
1697
+ format: "uuid",
1698
+ example: "123e4567-e89b-12d3-a456-426614174000"
1699
+ }
1700
+ }
1701
+ },
1702
+ required: ["name", "steps"]
1703
+ },
1704
+ SearchJourneysQueryRequest: {
1705
+ type: "object",
1706
+ properties: {
1707
+ q: {
1708
+ type: "string",
1709
+ description: "Lucene query syntax\nSee https://lucene.apache.org/core/2_9_4/queryparsersyntax.html ; https://www.elastic.co/guide/en/kibana/current/lucene-query.html\n",
1710
+ example: "_tags:*Flex*",
1711
+ default: "*"
1712
+ },
1713
+ from: {
1714
+ type: "integer",
1715
+ description: "The offset of the first result to return.\nSee https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-from-size.html\n",
1716
+ example: 0,
1717
+ default: 0
1718
+ },
1719
+ size: {
1720
+ type: "integer",
1721
+ description: "The maximum number of results to return.\nSee https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-from-size.html\n",
1722
+ example: 25,
1723
+ default: 25
1724
+ },
1725
+ sort: {
1726
+ type: "string",
1727
+ description: "The sort order. Follows Lucene syntax.\n",
1728
+ example: "_created_at:desc",
1729
+ default: "_created_at:desc"
1730
+ }
1731
+ }
1732
+ },
1733
+ SearchJourneysResponse: {
1734
+ type: "object",
1735
+ properties: {
1736
+ hits: {
1737
+ type: "number",
1738
+ description: "The total number of hits.\n",
1739
+ example: 1
1740
+ },
1741
+ results: {
1742
+ type: "array",
1743
+ description: "The results.\n",
1744
+ items: {
1745
+ type: "object",
1746
+ properties: {
1747
+ _id: {
1748
+ type: "string",
1749
+ description: "Journey Entity ID",
1750
+ format: "uuid",
1751
+ example: "e0f8f8f8-f8f8-f8f8-f8f8-f8f8f8f8f8f8"
1752
+ },
1753
+ _schema: {
1754
+ type: "string",
1755
+ description: "Entity Schema (journey always in this case)",
1756
+ example: "journey"
1757
+ },
1758
+ _title: {
1759
+ type: "string",
1760
+ description: "Journey Entity Title",
1761
+ example: "Journey Entity Title"
1762
+ },
1763
+ _org: {
1764
+ type: "string",
1765
+ description: "Organization ID",
1766
+ example: "739224"
1767
+ },
1768
+ _created_at: {
1769
+ type: "string",
1770
+ format: "date-time",
1771
+ example: "2020-01-01T00:00:00.000Z"
1772
+ },
1773
+ _updated_at: {
1774
+ type: "string",
1775
+ format: "date-time",
1776
+ example: "2020-01-01T00:00:00.000Z"
1777
+ },
1778
+ _tags: {
1779
+ type: "array",
1780
+ items: {
1781
+ type: "string",
1782
+ example: "Flex"
1783
+ }
1784
+ },
1785
+ _manifest: {
1786
+ type: "array",
1787
+ description: "Manifest ID used to create/update the entity",
1788
+ items: {
1789
+ type: "string",
1790
+ format: "uuid",
1791
+ example: "123e4567-e89b-12d3-a456-426614174000"
1792
+ }
1793
+ },
1794
+ journey_name: {
1795
+ type: "string",
1796
+ description: "Journey Name",
1797
+ example: "Journey Name"
1798
+ },
1799
+ journey_id: {
1800
+ type: "string",
1801
+ format: "uuid",
1802
+ description: "Journey config ID",
1803
+ example: "de7df470-253e-11ed-9174-116b8a718c0a"
1804
+ },
1805
+ journey_type: {
1806
+ type: "string",
1807
+ description: "Journey Template",
1808
+ example: "Sales template"
1809
+ },
1810
+ design: {
1811
+ type: "string",
1812
+ description: "Journey Design Name",
1813
+ example: "Design EPILOT"
1814
+ },
1815
+ created_by: {
1816
+ type: "array",
1817
+ items: {
1818
+ type: "object",
1819
+ properties: {
1820
+ id: {
1821
+ type: "string",
1822
+ description: "User ID",
1823
+ example: "12345"
1824
+ }
1825
+ }
1826
+ }
1827
+ },
1828
+ journey_version: {
1829
+ type: "string",
1830
+ description: "Journey Version",
1831
+ enum: ["Flex"]
1832
+ }
1833
+ }
1834
+ }
1835
+ }
1836
+ }
1837
+ },
1838
+ Journey: {
1839
+ allOf: [
1840
+ {
1841
+ $ref: "#/components/schemas/JourneyCreationRequest"
1842
+ },
1843
+ {
1844
+ $ref: "#/components/schemas/JourneyAuditInfo"
1845
+ },
1846
+ {
1847
+ $ref: "#/components/schemas/JourneyFeatureFlags"
1848
+ }
1849
+ ]
1850
+ },
1851
+ JourneyFeatureFlags: {
1852
+ type: "object",
1853
+ properties: {
1854
+ featureFlags: {
1855
+ type: "object",
1856
+ additionalProperties: true
1857
+ }
1858
+ }
1859
+ },
1860
+ JourneyAuditInfo: {
1861
+ type: "object",
1862
+ properties: {
1863
+ createdAt: {
1864
+ type: "string"
1865
+ },
1866
+ lastModifiedAt: {
1867
+ type: "string"
1868
+ },
1869
+ deletedAt: {
1870
+ type: "string"
1871
+ },
1872
+ version: {
1873
+ type: "number"
1874
+ },
1875
+ revisions: {
1876
+ type: "number"
1877
+ }
1878
+ },
1879
+ required: ["createdAt", "lastModifiedAt", "version", "revisions"]
1880
+ },
1881
+ S3Reference: {
1882
+ type: "object",
1883
+ properties: {
1884
+ bucket: {
1885
+ type: "string",
1886
+ example: "document-api-prod"
1887
+ },
1888
+ key: {
1889
+ type: "string",
1890
+ example: "uploads/my-template.pdf"
1891
+ }
1892
+ },
1893
+ required: ["bucket", "key"]
1894
+ },
1895
+ TemplateSettings: {
1896
+ type: "object",
1897
+ description: "Template Settings for document generation",
1898
+ properties: {
1899
+ custom_margins: {
1900
+ description: "Custom margins for the document",
1901
+ type: "object",
1902
+ properties: {
1903
+ top: {
1904
+ description: "Top margin in cm",
1905
+ type: "number",
1906
+ example: 2.54
1907
+ },
1908
+ bottom: {
1909
+ description: "Bottom margin in cm",
1910
+ type: "number",
1911
+ example: 2.54
1912
+ }
1913
+ }
1914
+ },
1915
+ suggested_margins: {
1916
+ description: "Suggested margins for the document",
1917
+ type: "object",
1918
+ properties: {
1919
+ top: {
1920
+ description: "Top margin in cm",
1921
+ type: "number",
1922
+ example: 2.54
1923
+ },
1924
+ bottom: {
1925
+ description: "Bottom margin in cm",
1926
+ type: "number",
1927
+ example: 2.54
1928
+ }
1929
+ }
1930
+ },
1931
+ display_margin_guidelines: {
1932
+ description: "Display margin guidelines (applicable to partial generation only)",
1933
+ type: "boolean",
1934
+ example: true
1935
+ },
1936
+ enable_data_table_margin_autofix: {
1937
+ description: "Enable data table margin autofix",
1938
+ type: "boolean",
1939
+ example: false
1940
+ },
1941
+ template_with_datatable: {
1942
+ description: "A flag that indicates whether the template has 1 or more data tables in it",
1943
+ type: "boolean",
1944
+ example: false
1945
+ },
1946
+ enabled_template_settings_persistence: {
1947
+ description: "Enables the persistance of template settings",
1948
+ type: "boolean",
1949
+ example: false
1950
+ },
1951
+ misconfigured_margins: {
1952
+ description: "An indication that the page margins are misconfigured",
1953
+ type: "boolean",
1954
+ example: false
1955
+ },
1956
+ file_entity_id: {
1957
+ description: "The file entity id, used when persisting a new template version with updated settings",
1958
+ type: "string",
1959
+ format: "uuid",
1960
+ example: "1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p"
1961
+ }
1962
+ }
1963
+ },
1964
+ GenerateDocumentResponse: {
1965
+ type: "object",
1966
+ properties: {
1967
+ job_id: {
1968
+ type: "string",
1969
+ format: "uuid"
1970
+ },
1971
+ job_status: {
1972
+ description: "Status of the job",
1973
+ type: "string",
1974
+ enum: ["STARTED", "PROCESSING", "SUCCESS", "FAILED"]
1975
+ },
1976
+ message: {
1977
+ description: "A message explaining the progress",
1978
+ type: "string"
1979
+ },
1980
+ pdf_output: {
1981
+ type: "object",
1982
+ properties: {
1983
+ preview_url: {
1984
+ description: "Pre-signed S3 GET URL for PDF preview",
1985
+ type: "string",
1986
+ example: "https://document-api-prod.s3.eu-central-1.amazonaws.com/preview/my-template-OR-001.pdf"
1987
+ },
1988
+ output_document: {
1989
+ type: "object",
1990
+ properties: {
1991
+ filename: {
1992
+ description: "Generated document filename for PDF",
1993
+ type: "string",
1994
+ example: "my-template-OR-001.pdf"
1995
+ },
1996
+ s3ref: {
1997
+ $ref: "#/components/schemas/S3Reference"
1998
+ }
1999
+ },
2000
+ example: {
2001
+ s3ref: {
2002
+ bucket: "document-api-preview-prod",
2003
+ key: "preview/my-template.pdf"
2004
+ }
2005
+ }
2006
+ }
2007
+ }
2008
+ },
2009
+ docx_output: {
2010
+ type: "object",
2011
+ properties: {
2012
+ preview_url: {
2013
+ description: "Pre-signed S3 GET URL for DOCX preview",
2014
+ type: "string",
2015
+ example: "https://document-api-prod.s3.eu-central-1.amazonaws.com/preview/my-template-OR-001.docx"
2016
+ },
2017
+ output_document: {
2018
+ type: "object",
2019
+ properties: {
2020
+ filename: {
2021
+ description: "Generated document filename for DOCX",
2022
+ type: "string",
2023
+ example: "my-template-OR-001.docx"
2024
+ },
2025
+ s3ref: {
2026
+ $ref: "#/components/schemas/S3Reference"
2027
+ }
2028
+ },
2029
+ example: {
2030
+ s3ref: {
2031
+ bucket: "document-api-preview-prod",
2032
+ key: "preview/my-template.docx"
2033
+ }
2034
+ }
2035
+ }
2036
+ }
2037
+ },
2038
+ variable_payload: {
2039
+ description: "List of variables and its corresponding replaced values from the document template",
2040
+ type: "object",
2041
+ properties: {
2042
+ additionalProperties: {
2043
+ type: "string"
2044
+ }
2045
+ }
2046
+ },
2047
+ template_settings: {
2048
+ $ref: "#/components/schemas/TemplateSettings"
2049
+ }
2050
+ }
2051
+ },
2052
+ GenerateDocumentRequest: {
2053
+ type: "object",
2054
+ properties: {
2055
+ file_id: {
2056
+ description: "Entity id for the template being used",
2057
+ type: "string",
2058
+ example: "1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p"
2059
+ },
2060
+ context_data: {
2061
+ description: "Custom values for variables in the template. Takes the higher precedence than others.",
2062
+ type: "object",
2063
+ properties: {
2064
+ additionalProperties: {
2065
+ type: "string"
2066
+ }
2067
+ }
2068
+ },
2069
+ language: {
2070
+ description: "Language code for the document",
2071
+ type: "string",
2072
+ example: "de"
2073
+ }
2074
+ },
2075
+ required: ["file_id", "context_data"]
2076
+ },
2077
+ GetSettingsForJourney: {
2078
+ type: "object",
2079
+ properties: {
2080
+ organizationId: {
2081
+ type: "string",
2082
+ description: "ID of an organization in epilot platform",
2083
+ example: "739224"
2084
+ },
2085
+ canary: {
2086
+ type: "boolean",
2087
+ description: "The canary flag controls update frequency of epilot application: when true, customers receive continuous updates; when false, they only get updates with new version releases.",
2088
+ example: true
2089
+ },
2090
+ thirdPartyCookies: {
2091
+ type: "boolean",
2092
+ description: "When set to false, third-party cookies and resources should be completely disabled to comply with GDPR regulations.",
2093
+ example: true
2094
+ }
2095
+ }
2096
+ },
2097
+ ButtonOption: {
2098
+ type: "object",
2099
+ description: "A single button option data",
2100
+ properties: {
2101
+ value: {
2102
+ type: "string",
2103
+ example: "Button Hidden Value",
2104
+ description: "The value of the button"
2105
+ },
2106
+ label: {
2107
+ type: "string",
2108
+ example: "Button Label",
2109
+ description: "The label of the button"
2110
+ }
2111
+ }
2112
+ },
2113
+ ValidationRuleRef: {
2114
+ type: "object",
2115
+ description: "References to validation rules organized by blocks and fields.\nMaps block IDs to either rule IDs (for block-level rules) or rule references (for field-level rules).\n",
2116
+ additionalProperties: {
2117
+ oneOf: [
2118
+ {
2119
+ type: "string",
2120
+ description: "Rule ID for block-level validation"
2121
+ },
2122
+ {
2123
+ $ref: "#/components/schemas/RuleRef"
2124
+ }
2125
+ ]
2126
+ },
2127
+ example: {
2128
+ block1: "rule123",
2129
+ block2: {
2130
+ field1: "rule456",
2131
+ field2: "rule789"
2132
+ }
2133
+ }
2134
+ },
2135
+ RuleRef: {
2136
+ type: "object",
2137
+ description: "Field-level rule references within a block.\nMaps field names to rule IDs.\n",
2138
+ additionalProperties: {
2139
+ type: "string",
2140
+ description: "Rule ID for field-level validation"
2141
+ },
2142
+ example: {
2143
+ firstName: "rule123",
2144
+ lastName: "rule456",
2145
+ email: "rule789"
2146
+ }
2147
+ }
2148
+ },
2149
+ securitySchemes: {
2150
+ EpilotAuth: {
2151
+ type: "http",
2152
+ scheme: "bearer",
2153
+ description: "Epilot Authorization Bearer Token - public access token / user token",
2154
+ bearerFormat: "JWT"
2155
+ }
2156
+ }
2157
+ };
2158
+ var servers = [
2159
+ {
2160
+ url: "https://journey-config.sls.epilot.io"
2161
+ },
2162
+ {
2163
+ url: "https://journey-config.sls.epilot.io"
2164
+ }
2165
+ ];
2166
+ var journey_default = {
2167
+ openapi,
2168
+ info,
2169
+ security,
2170
+ tags,
2171
+ "x-tagGroups": [
2172
+ {
2173
+ name: "APIs",
2174
+ tags: ["Journeys", "Journeys V2"]
2175
+ },
2176
+ {
2177
+ name: "Schemas",
2178
+ tags: ["journey_schema"]
2179
+ }
2180
+ ],
2181
+ paths,
2182
+ components,
2183
+ servers
2184
+ };
2185
+ export {
2186
+ components,
2187
+ journey_default as default,
2188
+ info,
2189
+ openapi,
2190
+ paths,
2191
+ security,
2192
+ servers,
2193
+ tags
2194
+ };