@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,1794 @@
1
+ import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
2
+
3
+ /* eslint-disable */
4
+ /* Auto-copied from journey-client */
5
+ /* eslint-disable */
6
+
7
+
8
+
9
+ declare namespace Components {
10
+ namespace Schemas {
11
+ /**
12
+ * A single button option data
13
+ */
14
+ export interface ButtonOption {
15
+ /**
16
+ * The value of the button
17
+ * example:
18
+ * Button Hidden Value
19
+ */
20
+ value?: string;
21
+ /**
22
+ * The label of the button
23
+ * example:
24
+ * Button Label
25
+ */
26
+ label?: string;
27
+ }
28
+ export interface GenerateDocumentRequest {
29
+ /**
30
+ * Entity id for the template being used
31
+ * example:
32
+ * 1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p
33
+ */
34
+ file_id: string;
35
+ /**
36
+ * Custom values for variables in the template. Takes the higher precedence than others.
37
+ */
38
+ context_data: {
39
+ additionalProperties?: string;
40
+ };
41
+ /**
42
+ * Language code for the document
43
+ * example:
44
+ * de
45
+ */
46
+ language?: string;
47
+ }
48
+ export interface GenerateDocumentResponse {
49
+ job_id?: string; // uuid
50
+ /**
51
+ * Status of the job
52
+ */
53
+ job_status?: "STARTED" | "PROCESSING" | "SUCCESS" | "FAILED";
54
+ /**
55
+ * A message explaining the progress
56
+ */
57
+ message?: string;
58
+ pdf_output?: {
59
+ /**
60
+ * Pre-signed S3 GET URL for PDF preview
61
+ * example:
62
+ * https://document-api-prod.s3.eu-central-1.amazonaws.com/preview/my-template-OR-001.pdf
63
+ */
64
+ preview_url?: string;
65
+ /**
66
+ * example:
67
+ * {
68
+ * "s3ref": {
69
+ * "bucket": "document-api-preview-prod",
70
+ * "key": "preview/my-template.pdf"
71
+ * }
72
+ * }
73
+ */
74
+ output_document?: {
75
+ /**
76
+ * Generated document filename for PDF
77
+ * example:
78
+ * my-template-OR-001.pdf
79
+ */
80
+ filename?: string;
81
+ s3ref?: S3Reference;
82
+ };
83
+ };
84
+ docx_output?: {
85
+ /**
86
+ * Pre-signed S3 GET URL for DOCX preview
87
+ * example:
88
+ * https://document-api-prod.s3.eu-central-1.amazonaws.com/preview/my-template-OR-001.docx
89
+ */
90
+ preview_url?: string;
91
+ /**
92
+ * example:
93
+ * {
94
+ * "s3ref": {
95
+ * "bucket": "document-api-preview-prod",
96
+ * "key": "preview/my-template.docx"
97
+ * }
98
+ * }
99
+ */
100
+ output_document?: {
101
+ /**
102
+ * Generated document filename for DOCX
103
+ * example:
104
+ * my-template-OR-001.docx
105
+ */
106
+ filename?: string;
107
+ s3ref?: S3Reference;
108
+ };
109
+ };
110
+ /**
111
+ * List of variables and its corresponding replaced values from the document template
112
+ */
113
+ variable_payload?: {
114
+ additionalProperties?: string;
115
+ };
116
+ template_settings?: /* Template Settings for document generation */ TemplateSettings;
117
+ }
118
+ export interface GetJourneysResponse {
119
+ }
120
+ export interface GetSettingsForJourney {
121
+ /**
122
+ * ID of an organization in epilot platform
123
+ * example:
124
+ * 739224
125
+ */
126
+ organizationId?: string;
127
+ /**
128
+ * 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.
129
+ * example:
130
+ * true
131
+ */
132
+ canary?: boolean;
133
+ /**
134
+ * When set to false, third-party cookies and resources should be completely disabled to comply with GDPR regulations.
135
+ * example:
136
+ * true
137
+ */
138
+ thirdPartyCookies?: boolean;
139
+ }
140
+ export interface Journey {
141
+ [name: string]: any;
142
+ journeyId?: string;
143
+ organizationId: string;
144
+ brandId?: string;
145
+ name: string;
146
+ steps: {
147
+ showStepName?: boolean | null;
148
+ title?: string | null;
149
+ subTitle?: string | null;
150
+ showStepSubtitle?: boolean | null;
151
+ showStepper?: boolean | null;
152
+ showStepperLabels?: boolean | null;
153
+ hideNextButton?: boolean | null;
154
+ name: string;
155
+ stepId?: string;
156
+ schema: any;
157
+ uischema: any;
158
+ maxWidth?: "small" | "medium" | "large" | "extra large";
159
+ }[];
160
+ design?: {
161
+ logoUrl?: string | null;
162
+ theme?: {
163
+ [name: string]: any;
164
+ };
165
+ designTokens?: {
166
+ [key: string]: any;
167
+ };
168
+ };
169
+ rules?: {
170
+ type: "inject" | "injectWithKey";
171
+ sourceType: "journey" | "step" | "block";
172
+ source: string;
173
+ target: string;
174
+ }[];
175
+ logics?: {
176
+ autoGeneratedId?: string;
177
+ conditions: string[];
178
+ actions: string[];
179
+ }[];
180
+ logicsV4?: {
181
+ [name: string]: {
182
+ /**
183
+ * Unique identifier for logic. Use uuidv7
184
+ */
185
+ id?: string; // uuid
186
+ /**
187
+ * If true, logic can't be manipulated by the configuring user
188
+ */
189
+ protected?: boolean;
190
+ /**
191
+ * Indicates which action to take in case logic evaluates to true
192
+ */
193
+ action?: string;
194
+ /**
195
+ * Indicates when the logic should be evaluated
196
+ */
197
+ triggeredOn?: string;
198
+ conditions?: {
199
+ /**
200
+ * Operator to be applied between the fact value and the value
201
+ */
202
+ operator?: string;
203
+ /**
204
+ * If operator is a custom function, this needs to be provided
205
+ */
206
+ functionName?: string;
207
+ fact?: {
208
+ /**
209
+ * Unique identifier for a fact
210
+ */
211
+ id?: string; // uuid
212
+ /**
213
+ * Indicates reference type (block or context parameter)
214
+ */
215
+ referenceType?: string;
216
+ /**
217
+ * Id of the reference
218
+ */
219
+ referenceId?: string;
220
+ /**
221
+ * Path to a property. Used if only part of the value is needed
222
+ */
223
+ path?: string;
224
+ /**
225
+ * If path is a reference, indicates the intention of it
226
+ */
227
+ meaning?: string;
228
+ };
229
+ value?: string | number | boolean | {
230
+ [key: string]: any;
231
+ } | any[];
232
+ args?: {
233
+ [key: string]: any;
234
+ };
235
+ }[][];
236
+ /**
237
+ * Logic specific settings. Will vary by type of logic
238
+ */
239
+ settings?: {
240
+ [key: string]: any;
241
+ };
242
+ };
243
+ };
244
+ contextSchema?: {
245
+ /**
246
+ * Unique identifier for the context schema item
247
+ */
248
+ id?: string; // uuid
249
+ /**
250
+ * Type of the parameter. It could be either an entity slug, or a text
251
+ */
252
+ type: string;
253
+ /**
254
+ * Expected key to be received in the context
255
+ */
256
+ paramKey: string;
257
+ /**
258
+ * Indicates if a value is expected to be provided
259
+ */
260
+ isRequired?: boolean;
261
+ /**
262
+ * If type is not text, we can instruct the journey to fetch the entity id we receive as value
263
+ */
264
+ shouldLoadEntity?: boolean;
265
+ }[];
266
+ /**
267
+ * Journey Template
268
+ * example:
269
+ * Sales template (Premium)
270
+ */
271
+ journey_type?: string;
272
+ settings?: {
273
+ embedOptions?: {
274
+ mode?: "full-screen" | "inline";
275
+ lang?: "de" | "en" | "fr";
276
+ width?: string;
277
+ topBar?: boolean;
278
+ scrollToTop?: boolean;
279
+ button?: {
280
+ text?: string | null;
281
+ align?: "left" | "center" | "right";
282
+ };
283
+ };
284
+ safeModeAutomation?: boolean;
285
+ /**
286
+ * 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.
287
+ */
288
+ canary?: boolean;
289
+ designId: string;
290
+ templateId?: string;
291
+ entityId?: string | null;
292
+ mappingsAutomationId?: string;
293
+ targetedCustomer?: string;
294
+ description?: string | null;
295
+ organizationSettings?: {
296
+ [name: string]: boolean;
297
+ } | null;
298
+ publicToken?: string | null;
299
+ runtimeEntities?: ("ORDER" | "OPPORTUNITY")[];
300
+ filePurposes?: string[];
301
+ entityTags?: string[];
302
+ /**
303
+ * @deprecated Use addressSuggestionsFileId instead
304
+ */
305
+ addressSuggestionsFileUrl?: string | null;
306
+ addressSuggestionsFileId?: string | null;
307
+ /**
308
+ * This property is deprecated and will be removed in a future version
309
+ */
310
+ useNewDesign?: boolean;
311
+ /**
312
+ * If true, some journey input labels are in Austrian format
313
+ */
314
+ useAustrianLabels?: boolean;
315
+ /**
316
+ * If true, the journey shows an icon to toggle dark mode
317
+ */
318
+ enableDarkMode?: boolean;
319
+ accessMode?: "PUBLIC" | "PRIVATE";
320
+ isPublished?: boolean;
321
+ status?: string;
322
+ isActive?: boolean;
323
+ savingProgress?: {
324
+ savingMode?: "auto" | "local" | "remote" | "none";
325
+ supportedVersion?: number;
326
+ };
327
+ /**
328
+ * If false, third-party cookies are disabled to comply with GDPR regulations without asking for consent.
329
+ */
330
+ thirdPartyCookies?: boolean;
331
+ };
332
+ validationRules?: /**
333
+ * References to validation rules organized by blocks and fields.
334
+ * Maps block IDs to either rule IDs (for block-level rules) or rule references (for field-level rules).
335
+ *
336
+ * example:
337
+ * {
338
+ * "block1": "rule123",
339
+ * "block2": {
340
+ * "field1": "rule456",
341
+ * "field2": "rule789"
342
+ * }
343
+ * }
344
+ */
345
+ ValidationRuleRef;
346
+ createdBy?: string;
347
+ updatedBy?: string | null;
348
+ /**
349
+ * If passed with value of null, the API won't modify the lastModifiedAt field on updating the journey
350
+ */
351
+ __lastModifiedAt?: string | null;
352
+ createdAt: string;
353
+ lastModifiedAt: string;
354
+ deletedAt?: string;
355
+ version: number;
356
+ revisions: number;
357
+ featureFlags?: {
358
+ [name: string]: any;
359
+ };
360
+ }
361
+ export interface JourneyAuditInfo {
362
+ createdAt: string;
363
+ lastModifiedAt: string;
364
+ deletedAt?: string;
365
+ version: number;
366
+ revisions: number;
367
+ }
368
+ export interface JourneyCreationRequest {
369
+ [name: string]: any;
370
+ journeyId?: string;
371
+ organizationId: string;
372
+ brandId?: string;
373
+ name: string;
374
+ steps: {
375
+ showStepName?: boolean | null;
376
+ title?: string | null;
377
+ subTitle?: string | null;
378
+ showStepSubtitle?: boolean | null;
379
+ showStepper?: boolean | null;
380
+ showStepperLabels?: boolean | null;
381
+ hideNextButton?: boolean | null;
382
+ name: string;
383
+ stepId?: string;
384
+ schema: any;
385
+ uischema: any;
386
+ maxWidth?: "small" | "medium" | "large" | "extra large";
387
+ }[];
388
+ design?: {
389
+ logoUrl?: string | null;
390
+ theme?: {
391
+ [name: string]: any;
392
+ };
393
+ designTokens?: {
394
+ [key: string]: any;
395
+ };
396
+ };
397
+ rules?: {
398
+ type: "inject" | "injectWithKey";
399
+ sourceType: "journey" | "step" | "block";
400
+ source: string;
401
+ target: string;
402
+ }[];
403
+ logics?: {
404
+ autoGeneratedId?: string;
405
+ conditions: string[];
406
+ actions: string[];
407
+ }[];
408
+ logicsV4?: {
409
+ [name: string]: {
410
+ /**
411
+ * Unique identifier for logic. Use uuidv7
412
+ */
413
+ id?: string; // uuid
414
+ /**
415
+ * If true, logic can't be manipulated by the configuring user
416
+ */
417
+ protected?: boolean;
418
+ /**
419
+ * Indicates which action to take in case logic evaluates to true
420
+ */
421
+ action?: string;
422
+ /**
423
+ * Indicates when the logic should be evaluated
424
+ */
425
+ triggeredOn?: string;
426
+ conditions?: {
427
+ /**
428
+ * Operator to be applied between the fact value and the value
429
+ */
430
+ operator?: string;
431
+ /**
432
+ * If operator is a custom function, this needs to be provided
433
+ */
434
+ functionName?: string;
435
+ fact?: {
436
+ /**
437
+ * Unique identifier for a fact
438
+ */
439
+ id?: string; // uuid
440
+ /**
441
+ * Indicates reference type (block or context parameter)
442
+ */
443
+ referenceType?: string;
444
+ /**
445
+ * Id of the reference
446
+ */
447
+ referenceId?: string;
448
+ /**
449
+ * Path to a property. Used if only part of the value is needed
450
+ */
451
+ path?: string;
452
+ /**
453
+ * If path is a reference, indicates the intention of it
454
+ */
455
+ meaning?: string;
456
+ };
457
+ value?: string | number | boolean | {
458
+ [key: string]: any;
459
+ } | any[];
460
+ args?: {
461
+ [key: string]: any;
462
+ };
463
+ }[][];
464
+ /**
465
+ * Logic specific settings. Will vary by type of logic
466
+ */
467
+ settings?: {
468
+ [key: string]: any;
469
+ };
470
+ };
471
+ };
472
+ contextSchema?: {
473
+ /**
474
+ * Unique identifier for the context schema item
475
+ */
476
+ id?: string; // uuid
477
+ /**
478
+ * Type of the parameter. It could be either an entity slug, or a text
479
+ */
480
+ type: string;
481
+ /**
482
+ * Expected key to be received in the context
483
+ */
484
+ paramKey: string;
485
+ /**
486
+ * Indicates if a value is expected to be provided
487
+ */
488
+ isRequired?: boolean;
489
+ /**
490
+ * If type is not text, we can instruct the journey to fetch the entity id we receive as value
491
+ */
492
+ shouldLoadEntity?: boolean;
493
+ }[];
494
+ /**
495
+ * Journey Template
496
+ * example:
497
+ * Sales template (Premium)
498
+ */
499
+ journey_type?: string;
500
+ settings?: {
501
+ embedOptions?: {
502
+ mode?: "full-screen" | "inline";
503
+ lang?: "de" | "en" | "fr";
504
+ width?: string;
505
+ topBar?: boolean;
506
+ scrollToTop?: boolean;
507
+ button?: {
508
+ text?: string | null;
509
+ align?: "left" | "center" | "right";
510
+ };
511
+ };
512
+ safeModeAutomation?: boolean;
513
+ /**
514
+ * 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.
515
+ */
516
+ canary?: boolean;
517
+ designId: string;
518
+ templateId?: string;
519
+ entityId?: string | null;
520
+ mappingsAutomationId?: string;
521
+ targetedCustomer?: string;
522
+ description?: string | null;
523
+ organizationSettings?: {
524
+ [name: string]: boolean;
525
+ } | null;
526
+ publicToken?: string | null;
527
+ runtimeEntities?: ("ORDER" | "OPPORTUNITY")[];
528
+ filePurposes?: string[];
529
+ entityTags?: string[];
530
+ /**
531
+ * @deprecated Use addressSuggestionsFileId instead
532
+ */
533
+ addressSuggestionsFileUrl?: string | null;
534
+ addressSuggestionsFileId?: string | null;
535
+ /**
536
+ * This property is deprecated and will be removed in a future version
537
+ */
538
+ useNewDesign?: boolean;
539
+ /**
540
+ * If true, some journey input labels are in Austrian format
541
+ */
542
+ useAustrianLabels?: boolean;
543
+ /**
544
+ * If true, the journey shows an icon to toggle dark mode
545
+ */
546
+ enableDarkMode?: boolean;
547
+ accessMode?: "PUBLIC" | "PRIVATE";
548
+ isPublished?: boolean;
549
+ status?: string;
550
+ isActive?: boolean;
551
+ savingProgress?: {
552
+ savingMode?: "auto" | "local" | "remote" | "none";
553
+ supportedVersion?: number;
554
+ };
555
+ /**
556
+ * If false, third-party cookies are disabled to comply with GDPR regulations without asking for consent.
557
+ */
558
+ thirdPartyCookies?: boolean;
559
+ };
560
+ validationRules?: /**
561
+ * References to validation rules organized by blocks and fields.
562
+ * Maps block IDs to either rule IDs (for block-level rules) or rule references (for field-level rules).
563
+ *
564
+ * example:
565
+ * {
566
+ * "block1": "rule123",
567
+ * "block2": {
568
+ * "field1": "rule456",
569
+ * "field2": "rule789"
570
+ * }
571
+ * }
572
+ */
573
+ ValidationRuleRef;
574
+ createdBy?: string;
575
+ updatedBy?: string | null;
576
+ /**
577
+ * If passed with value of null, the API won't modify the lastModifiedAt field on updating the journey
578
+ */
579
+ __lastModifiedAt?: string | null;
580
+ }
581
+ export interface JourneyCreationRequestV2 {
582
+ journeyId?: string;
583
+ brandId?: string;
584
+ name: string;
585
+ steps: {
586
+ showStepName?: boolean | null;
587
+ title?: string | null;
588
+ subTitle?: string | null;
589
+ showStepSubtitle?: boolean | null;
590
+ showStepper?: boolean | null;
591
+ showStepperLabels?: boolean | null;
592
+ hideNextButton?: boolean | null;
593
+ name: string;
594
+ stepId?: string;
595
+ schema: any;
596
+ uischema: any;
597
+ maxWidth?: "small" | "medium" | "large" | "extra large";
598
+ }[];
599
+ design?: {
600
+ logoUrl?: string | null;
601
+ theme?: {
602
+ [name: string]: any;
603
+ };
604
+ designTokens?: {
605
+ [key: string]: any;
606
+ };
607
+ };
608
+ rules?: {
609
+ type: "inject" | "injectWithKey";
610
+ sourceType: "journey" | "step" | "block";
611
+ source: string;
612
+ target: string;
613
+ }[];
614
+ logics?: {
615
+ autoGeneratedId?: string;
616
+ conditions: string[];
617
+ actions: string[];
618
+ }[];
619
+ logicsV4?: {
620
+ [name: string]: {
621
+ /**
622
+ * Unique identifier for logic. Use uuidv7
623
+ */
624
+ id?: string; // uuid
625
+ /**
626
+ * If true, logic can't be manipulated by the configuring user
627
+ */
628
+ protected?: boolean;
629
+ /**
630
+ * Indicates which action to take in case logic evaluates to true
631
+ */
632
+ action?: string;
633
+ /**
634
+ * Indicates when the logic should be evaluated
635
+ */
636
+ triggeredOn?: string;
637
+ conditions?: {
638
+ /**
639
+ * Operator to be applied between the fact value and the value
640
+ */
641
+ operator?: string;
642
+ /**
643
+ * If operator is a custom function, this needs to be provided
644
+ */
645
+ functionName?: string;
646
+ fact?: {
647
+ /**
648
+ * Unique identifier for a fact
649
+ */
650
+ id?: string; // uuid
651
+ /**
652
+ * Indicates reference type (block or context parameter)
653
+ */
654
+ referenceType?: string;
655
+ /**
656
+ * Id of the reference
657
+ */
658
+ referenceId?: string;
659
+ /**
660
+ * Path to a property. Used if only part of the value is needed
661
+ */
662
+ path?: string;
663
+ /**
664
+ * If path is a reference, indicates the intention of it
665
+ */
666
+ meaning?: string;
667
+ };
668
+ value?: string | number | boolean | {
669
+ [key: string]: any;
670
+ } | any[];
671
+ args?: {
672
+ [key: string]: any;
673
+ };
674
+ }[][];
675
+ /**
676
+ * Logic specific settings. Will vary by type of logic
677
+ */
678
+ settings?: {
679
+ [key: string]: any;
680
+ };
681
+ };
682
+ };
683
+ contextSchema?: {
684
+ /**
685
+ * Unique identifier for the context schema item
686
+ */
687
+ id?: string; // uuid
688
+ /**
689
+ * Type of the parameter. It could be either an entity slug, or a text
690
+ */
691
+ type: string;
692
+ /**
693
+ * Expected key to be received in the context
694
+ */
695
+ paramKey: string;
696
+ /**
697
+ * Indicates if a value is expected to be provided
698
+ */
699
+ isRequired?: boolean;
700
+ /**
701
+ * If type is not text, we can instruct the journey to fetch the entity id we receive as value
702
+ */
703
+ shouldLoadEntity?: boolean;
704
+ }[];
705
+ /**
706
+ * Journey Template
707
+ * example:
708
+ * Sales template (Premium)
709
+ */
710
+ journey_type?: string;
711
+ settings?: {
712
+ embedOptions?: {
713
+ mode?: "full-screen" | "inline";
714
+ lang?: "de" | "en" | "fr";
715
+ width?: string;
716
+ topBar?: boolean;
717
+ scrollToTop?: boolean;
718
+ button?: {
719
+ text?: string | null;
720
+ align?: "left" | "center" | "right";
721
+ };
722
+ };
723
+ safeModeAutomation?: boolean;
724
+ designId?: string;
725
+ entityId?: string | null;
726
+ mappingsAutomationId?: string;
727
+ templateId?: string;
728
+ targetedCustomer?: string;
729
+ description?: string | null;
730
+ publicToken?: string | null;
731
+ runtimeEntities?: ("ORDER" | "OPPORTUNITY")[];
732
+ filePurposes?: string[];
733
+ entityTags?: string[];
734
+ /**
735
+ * @deprecated Use addressSuggestionsFileId instead
736
+ */
737
+ addressSuggestionsFileUrl?: string | null;
738
+ addressSuggestionsFileId?: string | null;
739
+ /**
740
+ * This property is deprecated and will be removed in a future version
741
+ */
742
+ useNewDesign?: boolean;
743
+ /**
744
+ * If false, third-party cookies are disabled to comply with GDPR regulations without asking for consent.
745
+ */
746
+ thirdPartyCookies?: boolean;
747
+ accessMode?: "PUBLIC" | "PRIVATE";
748
+ /**
749
+ * If true, the journey shows an icon to toggle dark mode
750
+ */
751
+ enableDarkMode?: boolean;
752
+ };
753
+ validationRules?: /**
754
+ * References to validation rules organized by blocks and fields.
755
+ * Maps block IDs to either rule IDs (for block-level rules) or rule references (for field-level rules).
756
+ *
757
+ * example:
758
+ * {
759
+ * "block1": "rule123",
760
+ * "block2": {
761
+ * "field1": "rule456",
762
+ * "field2": "rule789"
763
+ * }
764
+ * }
765
+ */
766
+ ValidationRuleRef;
767
+ /**
768
+ * Manifest/Blueprint ID used to create/update the entity
769
+ */
770
+ _manifest?: string /* uuid */[];
771
+ }
772
+ export interface JourneyFeatureFlags {
773
+ featureFlags?: {
774
+ [name: string]: any;
775
+ };
776
+ }
777
+ export type JourneyProductsResponse = {
778
+ type?: string;
779
+ _schema?: string;
780
+ _title?: string;
781
+ name?: string;
782
+ _id?: string;
783
+ _org?: string;
784
+ code?: string;
785
+ description?: string;
786
+ feature?: any[];
787
+ product_images?: any[];
788
+ legal_footnote?: string;
789
+ product_downloads?: any[];
790
+ price?: {
791
+ [key: string]: any;
792
+ };
793
+ }[];
794
+ export interface JourneyResponse {
795
+ createdJourney?: Journey;
796
+ }
797
+ /**
798
+ * Patch request to update a journey (journey id is required) Support for nested properties (e.g. steps[0].uischema.elements[0].products) is supported.
799
+ *
800
+ */
801
+ export interface PatchUpdateJourneyRequest {
802
+ [name: string]: any;
803
+ /**
804
+ * example:
805
+ * 509cdffe-424f-457a-95c2-9708c304ce77
806
+ */
807
+ journeyId: string; // uuid
808
+ /**
809
+ * If passed with value of null, the API won't modify the lastModifiedAt field on updating the journey
810
+ */
811
+ __lastModifiedAt?: string | null;
812
+ }
813
+ /**
814
+ * Field-level rule references within a block.
815
+ * Maps field names to rule IDs.
816
+ *
817
+ * example:
818
+ * {
819
+ * "firstName": "rule123",
820
+ * "lastName": "rule456",
821
+ * "email": "rule789"
822
+ * }
823
+ */
824
+ export interface RuleRef {
825
+ [name: string]: string;
826
+ }
827
+ export interface S3Reference {
828
+ /**
829
+ * example:
830
+ * document-api-prod
831
+ */
832
+ bucket: string;
833
+ /**
834
+ * example:
835
+ * uploads/my-template.pdf
836
+ */
837
+ key: string;
838
+ }
839
+ export interface SearchJourneysQueryRequest {
840
+ /**
841
+ * Lucene query syntax
842
+ * See https://lucene.apache.org/core/2_9_4/queryparsersyntax.html ; https://www.elastic.co/guide/en/kibana/current/lucene-query.html
843
+ *
844
+ * example:
845
+ * _tags:*Flex*
846
+ */
847
+ q?: string;
848
+ /**
849
+ * The offset of the first result to return.
850
+ * See https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-from-size.html
851
+ *
852
+ * example:
853
+ * 0
854
+ */
855
+ from?: number;
856
+ /**
857
+ * The maximum number of results to return.
858
+ * See https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-from-size.html
859
+ *
860
+ * example:
861
+ * 25
862
+ */
863
+ size?: number;
864
+ /**
865
+ * The sort order. Follows Lucene syntax.
866
+ *
867
+ * example:
868
+ * _created_at:desc
869
+ */
870
+ sort?: string;
871
+ }
872
+ export interface SearchJourneysResponse {
873
+ /**
874
+ * The total number of hits.
875
+ *
876
+ * example:
877
+ * 1
878
+ */
879
+ hits?: number;
880
+ /**
881
+ * The results.
882
+ *
883
+ */
884
+ results?: {
885
+ /**
886
+ * Journey Entity ID
887
+ * example:
888
+ * e0f8f8f8-f8f8-f8f8-f8f8-f8f8f8f8f8f8
889
+ */
890
+ _id?: string; // uuid
891
+ /**
892
+ * Entity Schema (journey always in this case)
893
+ * example:
894
+ * journey
895
+ */
896
+ _schema?: string;
897
+ /**
898
+ * Journey Entity Title
899
+ * example:
900
+ * Journey Entity Title
901
+ */
902
+ _title?: string;
903
+ /**
904
+ * Organization ID
905
+ * example:
906
+ * 739224
907
+ */
908
+ _org?: string;
909
+ /**
910
+ * example:
911
+ * 2020-01-01T00:00:00.000Z
912
+ */
913
+ _created_at?: string; // date-time
914
+ /**
915
+ * example:
916
+ * 2020-01-01T00:00:00.000Z
917
+ */
918
+ _updated_at?: string; // date-time
919
+ _tags?: string[];
920
+ /**
921
+ * Manifest ID used to create/update the entity
922
+ */
923
+ _manifest?: string /* uuid */[];
924
+ /**
925
+ * Journey Name
926
+ * example:
927
+ * Journey Name
928
+ */
929
+ journey_name?: string;
930
+ /**
931
+ * Journey config ID
932
+ * example:
933
+ * de7df470-253e-11ed-9174-116b8a718c0a
934
+ */
935
+ journey_id?: string; // uuid
936
+ /**
937
+ * Journey Template
938
+ * example:
939
+ * Sales template
940
+ */
941
+ journey_type?: string;
942
+ /**
943
+ * Journey Design Name
944
+ * example:
945
+ * Design EPILOT
946
+ */
947
+ design?: string;
948
+ created_by?: {
949
+ /**
950
+ * User ID
951
+ * example:
952
+ * 12345
953
+ */
954
+ id?: string;
955
+ }[];
956
+ /**
957
+ * Journey Version
958
+ */
959
+ journey_version?: "Flex";
960
+ }[];
961
+ }
962
+ /**
963
+ * Template Settings for document generation
964
+ */
965
+ export interface TemplateSettings {
966
+ /**
967
+ * Custom margins for the document
968
+ */
969
+ custom_margins?: {
970
+ /**
971
+ * Top margin in cm
972
+ * example:
973
+ * 2.54
974
+ */
975
+ top?: number;
976
+ /**
977
+ * Bottom margin in cm
978
+ * example:
979
+ * 2.54
980
+ */
981
+ bottom?: number;
982
+ };
983
+ /**
984
+ * Suggested margins for the document
985
+ */
986
+ suggested_margins?: {
987
+ /**
988
+ * Top margin in cm
989
+ * example:
990
+ * 2.54
991
+ */
992
+ top?: number;
993
+ /**
994
+ * Bottom margin in cm
995
+ * example:
996
+ * 2.54
997
+ */
998
+ bottom?: number;
999
+ };
1000
+ /**
1001
+ * Display margin guidelines (applicable to partial generation only)
1002
+ * example:
1003
+ * true
1004
+ */
1005
+ display_margin_guidelines?: boolean;
1006
+ /**
1007
+ * Enable data table margin autofix
1008
+ * example:
1009
+ * false
1010
+ */
1011
+ enable_data_table_margin_autofix?: boolean;
1012
+ /**
1013
+ * A flag that indicates whether the template has 1 or more data tables in it
1014
+ * example:
1015
+ * false
1016
+ */
1017
+ template_with_datatable?: boolean;
1018
+ /**
1019
+ * Enables the persistance of template settings
1020
+ * example:
1021
+ * false
1022
+ */
1023
+ enabled_template_settings_persistence?: boolean;
1024
+ /**
1025
+ * An indication that the page margins are misconfigured
1026
+ * example:
1027
+ * false
1028
+ */
1029
+ misconfigured_margins?: boolean;
1030
+ /**
1031
+ * The file entity id, used when persisting a new template version with updated settings
1032
+ * example:
1033
+ * 1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p
1034
+ */
1035
+ file_entity_id?: string; // uuid
1036
+ }
1037
+ /**
1038
+ * References to validation rules organized by blocks and fields.
1039
+ * Maps block IDs to either rule IDs (for block-level rules) or rule references (for field-level rules).
1040
+ *
1041
+ * example:
1042
+ * {
1043
+ * "block1": "rule123",
1044
+ * "block2": {
1045
+ * "field1": "rule456",
1046
+ * "field2": "rule789"
1047
+ * }
1048
+ * }
1049
+ */
1050
+ export interface ValidationRuleRef {
1051
+ [name: string]: string | /**
1052
+ * Field-level rule references within a block.
1053
+ * Maps field names to rule IDs.
1054
+ *
1055
+ * example:
1056
+ * {
1057
+ * "firstName": "rule123",
1058
+ * "lastName": "rule456",
1059
+ * "email": "rule789"
1060
+ * }
1061
+ */
1062
+ RuleRef;
1063
+ }
1064
+ }
1065
+ }
1066
+ declare namespace Paths {
1067
+ namespace CreateJourney {
1068
+ namespace Parameters {
1069
+ /**
1070
+ * example:
1071
+ * true
1072
+ */
1073
+ export type SkipAutomation = string; // Yn
1074
+ }
1075
+ export interface QueryParameters {
1076
+ skipAutomation?: /**
1077
+ * example:
1078
+ * true
1079
+ */
1080
+ Parameters.SkipAutomation /* Yn */;
1081
+ }
1082
+ export type RequestBody = Components.Schemas.JourneyCreationRequest;
1083
+ namespace Responses {
1084
+ export type $201 = Components.Schemas.Journey;
1085
+ }
1086
+ }
1087
+ namespace CreateJourneyV2 {
1088
+ namespace Parameters {
1089
+ /**
1090
+ * example:
1091
+ * true
1092
+ */
1093
+ export type SkipAutomation = string; // Yn
1094
+ }
1095
+ export interface QueryParameters {
1096
+ skipAutomation?: /**
1097
+ * example:
1098
+ * true
1099
+ */
1100
+ Parameters.SkipAutomation /* Yn */;
1101
+ }
1102
+ export type RequestBody = Components.Schemas.JourneyCreationRequestV2;
1103
+ namespace Responses {
1104
+ export type $201 = Components.Schemas.JourneyCreationRequestV2;
1105
+ }
1106
+ }
1107
+ namespace GenerateDocument {
1108
+ export type RequestBody = Components.Schemas.GenerateDocumentRequest;
1109
+ namespace Responses {
1110
+ export type $200 = Components.Schemas.GenerateDocumentResponse;
1111
+ }
1112
+ }
1113
+ namespace GetButtonOptions {
1114
+ namespace Parameters {
1115
+ /**
1116
+ * example:
1117
+ * 535ef74a-dd66-4d01-94a9-725016e70d1c
1118
+ */
1119
+ export type FileId = string;
1120
+ }
1121
+ export interface QueryParameters {
1122
+ fileId: /**
1123
+ * example:
1124
+ * 535ef74a-dd66-4d01-94a9-725016e70d1c
1125
+ */
1126
+ Parameters.FileId;
1127
+ }
1128
+ namespace Responses {
1129
+ export type $200 = /* A single button option data */ Components.Schemas.ButtonOption[];
1130
+ export interface $400 {
1131
+ /**
1132
+ * example:
1133
+ * UTF-8 encoding error while processing CSV content
1134
+ */
1135
+ message?: string;
1136
+ /**
1137
+ * example:
1138
+ * Please ensure your CSV file is properly encoded in UTF-8 format
1139
+ */
1140
+ details?: string;
1141
+ }
1142
+ export interface $404 {
1143
+ /**
1144
+ * example:
1145
+ * File with ID 535ef74a-dd66-4d01-94a9-725016e70d1c not found.
1146
+ */
1147
+ message?: string;
1148
+ }
1149
+ export interface $500 {
1150
+ /**
1151
+ * example:
1152
+ * Unknown API Error
1153
+ */
1154
+ message?: string;
1155
+ }
1156
+ }
1157
+ }
1158
+ namespace GetJourney {
1159
+ namespace Parameters {
1160
+ /**
1161
+ * example:
1162
+ * 509cdffe-424f-457a-95c2-9708c304ce77
1163
+ */
1164
+ export type Id = string; // uuid
1165
+ export type OrgId = string;
1166
+ export type Source = string;
1167
+ }
1168
+ export interface PathParameters {
1169
+ id: /**
1170
+ * example:
1171
+ * 509cdffe-424f-457a-95c2-9708c304ce77
1172
+ */
1173
+ Parameters.Id /* uuid */;
1174
+ }
1175
+ export interface QueryParameters {
1176
+ source?: Parameters.Source;
1177
+ orgId?: Parameters.OrgId;
1178
+ }
1179
+ namespace Responses {
1180
+ export type $200 = Components.Schemas.Journey;
1181
+ }
1182
+ }
1183
+ namespace GetJourneyProducts {
1184
+ namespace Parameters {
1185
+ export type City = string;
1186
+ /**
1187
+ * example:
1188
+ * 509cdffe-424f-457a-95c2-9708c304ce77
1189
+ */
1190
+ export type Id = string; // uuid
1191
+ export type PostalCode = string;
1192
+ export type Source = string;
1193
+ export type Street = string;
1194
+ export type StreetNumber = string;
1195
+ }
1196
+ export interface PathParameters {
1197
+ id: /**
1198
+ * example:
1199
+ * 509cdffe-424f-457a-95c2-9708c304ce77
1200
+ */
1201
+ Parameters.Id /* uuid */;
1202
+ }
1203
+ export interface QueryParameters {
1204
+ source?: Parameters.Source;
1205
+ postal_code?: Parameters.PostalCode;
1206
+ city?: Parameters.City;
1207
+ street?: Parameters.Street;
1208
+ street_number?: Parameters.StreetNumber;
1209
+ }
1210
+ namespace Responses {
1211
+ export type $200 = Components.Schemas.JourneyProductsResponse;
1212
+ }
1213
+ }
1214
+ namespace GetJourneyV2 {
1215
+ namespace Parameters {
1216
+ /**
1217
+ * example:
1218
+ * 509cdffe-424f-457a-95c2-9708c304ce77
1219
+ */
1220
+ export type Id = string; // uuid
1221
+ }
1222
+ export interface PathParameters {
1223
+ id: /**
1224
+ * example:
1225
+ * 509cdffe-424f-457a-95c2-9708c304ce77
1226
+ */
1227
+ Parameters.Id /* uuid */;
1228
+ }
1229
+ namespace Responses {
1230
+ export type $200 = Components.Schemas.JourneyCreationRequestV2;
1231
+ }
1232
+ }
1233
+ namespace GetJourneysByOrgId {
1234
+ namespace Parameters {
1235
+ /**
1236
+ * example:
1237
+ * true
1238
+ */
1239
+ export type Hydrate = string;
1240
+ /**
1241
+ * example:
1242
+ * 123
1243
+ */
1244
+ export type Id = string;
1245
+ }
1246
+ export interface PathParameters {
1247
+ id: /**
1248
+ * example:
1249
+ * 123
1250
+ */
1251
+ Parameters.Id;
1252
+ }
1253
+ export interface QueryParameters {
1254
+ hydrate?: /**
1255
+ * example:
1256
+ * true
1257
+ */
1258
+ Parameters.Hydrate;
1259
+ }
1260
+ namespace Responses {
1261
+ export type $200 = Components.Schemas.GetJourneysResponse;
1262
+ }
1263
+ }
1264
+ namespace GetSettingsForJourney {
1265
+ namespace Parameters {
1266
+ /**
1267
+ * example:
1268
+ * 509cdffe-424f-457a-95c2-9708c304ce77
1269
+ */
1270
+ export type Id = string; // uuid
1271
+ }
1272
+ export interface PathParameters {
1273
+ id: /**
1274
+ * example:
1275
+ * 509cdffe-424f-457a-95c2-9708c304ce77
1276
+ */
1277
+ Parameters.Id /* uuid */;
1278
+ }
1279
+ namespace Responses {
1280
+ export type $200 = Components.Schemas.GetSettingsForJourney;
1281
+ export interface $404 {
1282
+ /**
1283
+ * example:
1284
+ * journey not found
1285
+ */
1286
+ message?: string;
1287
+ }
1288
+ export interface $500 {
1289
+ /**
1290
+ * example:
1291
+ * Unknown API Error
1292
+ */
1293
+ message?: string;
1294
+ }
1295
+ }
1296
+ }
1297
+ namespace PatchUpdateJourney {
1298
+ export type RequestBody = /**
1299
+ * Patch request to update a journey (journey id is required) Support for nested properties (e.g. steps[0].uischema.elements[0].products) is supported.
1300
+ *
1301
+ */
1302
+ Components.Schemas.PatchUpdateJourneyRequest;
1303
+ namespace Responses {
1304
+ export type $200 = Components.Schemas.JourneyResponse;
1305
+ export interface $404 {
1306
+ /**
1307
+ * example:
1308
+ * journey not found
1309
+ */
1310
+ message?: string;
1311
+ }
1312
+ }
1313
+ }
1314
+ namespace PatchUpdateJourneyV2 {
1315
+ export type RequestBody = /**
1316
+ * Patch request to update a journey (journey id is required) Support for nested properties (e.g. steps[0].uischema.elements[0].products) is supported.
1317
+ *
1318
+ */
1319
+ Components.Schemas.PatchUpdateJourneyRequest;
1320
+ namespace Responses {
1321
+ export type $200 = Components.Schemas.JourneyCreationRequestV2;
1322
+ export interface $404 {
1323
+ /**
1324
+ * example:
1325
+ * journey not found
1326
+ */
1327
+ message?: string;
1328
+ }
1329
+ }
1330
+ }
1331
+ namespace RemoveJourney {
1332
+ namespace Parameters {
1333
+ /**
1334
+ * example:
1335
+ * 509cdffe-424f-457a-95c2-9708c304ce77
1336
+ */
1337
+ export type Id = string; // uuid
1338
+ }
1339
+ export interface PathParameters {
1340
+ id: /**
1341
+ * example:
1342
+ * 509cdffe-424f-457a-95c2-9708c304ce77
1343
+ */
1344
+ Parameters.Id /* uuid */;
1345
+ }
1346
+ namespace Responses {
1347
+ export interface $404 {
1348
+ /**
1349
+ * example:
1350
+ * journey not found
1351
+ */
1352
+ message?: string;
1353
+ }
1354
+ }
1355
+ }
1356
+ namespace RemoveJourneyV2 {
1357
+ namespace Parameters {
1358
+ /**
1359
+ * example:
1360
+ * 509cdffe-424f-457a-95c2-9708c304ce77
1361
+ */
1362
+ export type Id = string; // uuid
1363
+ }
1364
+ export interface PathParameters {
1365
+ id: /**
1366
+ * example:
1367
+ * 509cdffe-424f-457a-95c2-9708c304ce77
1368
+ */
1369
+ Parameters.Id /* uuid */;
1370
+ }
1371
+ }
1372
+ namespace SearchJourneys {
1373
+ export type RequestBody = Components.Schemas.SearchJourneysQueryRequest;
1374
+ namespace Responses {
1375
+ export type $200 = Components.Schemas.SearchJourneysResponse;
1376
+ }
1377
+ }
1378
+ namespace UpdateJourney {
1379
+ export type RequestBody = Components.Schemas.JourneyCreationRequest;
1380
+ namespace Responses {
1381
+ export interface $204 {
1382
+ }
1383
+ export interface $409 {
1384
+ }
1385
+ }
1386
+ }
1387
+ namespace UpdateJourneyV2 {
1388
+ export type RequestBody = Components.Schemas.JourneyCreationRequestV2;
1389
+ namespace Responses {
1390
+ export type $200 = Components.Schemas.JourneyCreationRequestV2;
1391
+ export interface $404 {
1392
+ /**
1393
+ * example:
1394
+ * journey not found
1395
+ */
1396
+ message?: string;
1397
+ }
1398
+ }
1399
+ }
1400
+ }
1401
+
1402
+
1403
+ interface OperationMethods {
1404
+ /**
1405
+ * getJourneysByOrgId - getJourneysByOrgId
1406
+ *
1407
+ * Get all journeys by organization id
1408
+ */
1409
+ 'getJourneysByOrgId'(
1410
+ parameters?: Parameters<Paths.GetJourneysByOrgId.QueryParameters & Paths.GetJourneysByOrgId.PathParameters> | null,
1411
+ data?: any,
1412
+ config?: AxiosRequestConfig
1413
+ ): OperationResponse<Paths.GetJourneysByOrgId.Responses.$200>
1414
+ /**
1415
+ * getJourney - getJourney
1416
+ *
1417
+ * Get journey by id. Private journeys requires valid private token to be passed
1418
+ */
1419
+ 'getJourney'(
1420
+ parameters?: Parameters<Paths.GetJourney.QueryParameters & Paths.GetJourney.PathParameters> | null,
1421
+ data?: any,
1422
+ config?: AxiosRequestConfig
1423
+ ): OperationResponse<Paths.GetJourney.Responses.$200>
1424
+ /**
1425
+ * removeJourney - removeJourney
1426
+ *
1427
+ * Remove journey by id
1428
+ */
1429
+ 'removeJourney'(
1430
+ parameters?: Parameters<Paths.RemoveJourney.PathParameters> | null,
1431
+ data?: any,
1432
+ config?: AxiosRequestConfig
1433
+ ): OperationResponse<any>
1434
+ /**
1435
+ * getJourneyProducts - getJourneyProducts
1436
+ *
1437
+ * Get products available in the journey by id. requires public journey token to be passed.
1438
+ */
1439
+ 'getJourneyProducts'(
1440
+ parameters?: Parameters<Paths.GetJourneyProducts.QueryParameters & Paths.GetJourneyProducts.PathParameters> | null,
1441
+ data?: any,
1442
+ config?: AxiosRequestConfig
1443
+ ): OperationResponse<Paths.GetJourneyProducts.Responses.$200>
1444
+ /**
1445
+ * updateJourney - updateJourney
1446
+ *
1447
+ * Update a Journey
1448
+ */
1449
+ 'updateJourney'(
1450
+ parameters?: Parameters<UnknownParamsObject> | null,
1451
+ data?: Paths.UpdateJourney.RequestBody,
1452
+ config?: AxiosRequestConfig
1453
+ ): OperationResponse<Paths.UpdateJourney.Responses.$204>
1454
+ /**
1455
+ * createJourney - createJourney
1456
+ *
1457
+ * Create a Journey
1458
+ */
1459
+ 'createJourney'(
1460
+ parameters?: Parameters<Paths.CreateJourney.QueryParameters> | null,
1461
+ data?: Paths.CreateJourney.RequestBody,
1462
+ config?: AxiosRequestConfig
1463
+ ): OperationResponse<Paths.CreateJourney.Responses.$201>
1464
+ /**
1465
+ * patchUpdateJourney - patchUpdateJourney
1466
+ *
1467
+ * Update a Journey (partially / patch). Support for nested properties updates (e.g. "property[0].name").
1468
+ */
1469
+ 'patchUpdateJourney'(
1470
+ parameters?: Parameters<UnknownParamsObject> | null,
1471
+ data?: Paths.PatchUpdateJourney.RequestBody,
1472
+ config?: AxiosRequestConfig
1473
+ ): OperationResponse<Paths.PatchUpdateJourney.Responses.$200>
1474
+ /**
1475
+ * searchJourneys - searchJourneys
1476
+ *
1477
+ * Search Journeys
1478
+ */
1479
+ 'searchJourneys'(
1480
+ parameters?: Parameters<UnknownParamsObject> | null,
1481
+ data?: Paths.SearchJourneys.RequestBody,
1482
+ config?: AxiosRequestConfig
1483
+ ): OperationResponse<Paths.SearchJourneys.Responses.$200>
1484
+ /**
1485
+ * generateDocument - generateDocument
1486
+ *
1487
+ * Builds document generated from a template with journey values."
1488
+ *
1489
+ * Supported input document types:
1490
+ * - .docx
1491
+ *
1492
+ * Supported output document types:
1493
+ * - .pdf
1494
+ * - .docx but limited to only text based variables
1495
+ *
1496
+ * Uses [Document API](https://gitlab.com/e-pilot/product/file-management/document-api) to generate the document.
1497
+ * Uses [Template Variables API](https://docs.epilot.io/api/template-variables) to replace variables in the document.
1498
+ *
1499
+ */
1500
+ 'generateDocument'(
1501
+ parameters?: Parameters<UnknownParamsObject> | null,
1502
+ data?: Paths.GenerateDocument.RequestBody,
1503
+ config?: AxiosRequestConfig
1504
+ ): OperationResponse<Paths.GenerateDocument.Responses.$200>
1505
+ /**
1506
+ * updateJourneyV2 - updateJourneyV2
1507
+ *
1508
+ * Update a Journey
1509
+ */
1510
+ 'updateJourneyV2'(
1511
+ parameters?: Parameters<UnknownParamsObject> | null,
1512
+ data?: Paths.UpdateJourneyV2.RequestBody,
1513
+ config?: AxiosRequestConfig
1514
+ ): OperationResponse<Paths.UpdateJourneyV2.Responses.$200>
1515
+ /**
1516
+ * createJourneyV2 - createJourneyV2
1517
+ *
1518
+ * Create a Journey
1519
+ */
1520
+ 'createJourneyV2'(
1521
+ parameters?: Parameters<Paths.CreateJourneyV2.QueryParameters> | null,
1522
+ data?: Paths.CreateJourneyV2.RequestBody,
1523
+ config?: AxiosRequestConfig
1524
+ ): OperationResponse<Paths.CreateJourneyV2.Responses.$201>
1525
+ /**
1526
+ * patchUpdateJourneyV2 - patchUpdateJourneyV2
1527
+ *
1528
+ * Update a Journey (partially / patch). Support for nested properties updates (e.g. "property[0].name").
1529
+ */
1530
+ 'patchUpdateJourneyV2'(
1531
+ parameters?: Parameters<UnknownParamsObject> | null,
1532
+ data?: Paths.PatchUpdateJourneyV2.RequestBody,
1533
+ config?: AxiosRequestConfig
1534
+ ): OperationResponse<Paths.PatchUpdateJourneyV2.Responses.$200>
1535
+ /**
1536
+ * getJourneyV2 - getJourneyV2
1537
+ *
1538
+ * Get journey by id
1539
+ */
1540
+ 'getJourneyV2'(
1541
+ parameters?: Parameters<Paths.GetJourneyV2.PathParameters> | null,
1542
+ data?: any,
1543
+ config?: AxiosRequestConfig
1544
+ ): OperationResponse<Paths.GetJourneyV2.Responses.$200>
1545
+ /**
1546
+ * removeJourneyV2 - removeJourneyV2
1547
+ *
1548
+ * Remove journey by id
1549
+ */
1550
+ 'removeJourneyV2'(
1551
+ parameters?: Parameters<Paths.RemoveJourneyV2.PathParameters> | null,
1552
+ data?: any,
1553
+ config?: AxiosRequestConfig
1554
+ ): OperationResponse<any>
1555
+ /**
1556
+ * getSettingsForJourney - getSettingsForJourney
1557
+ *
1558
+ * Get settings related to the journey using journey ID.
1559
+ */
1560
+ 'getSettingsForJourney'(
1561
+ parameters?: Parameters<Paths.GetSettingsForJourney.PathParameters> | null,
1562
+ data?: any,
1563
+ config?: AxiosRequestConfig
1564
+ ): OperationResponse<Paths.GetSettingsForJourney.Responses.$200>
1565
+ /**
1566
+ * getButtonOptions - getButtonOptions
1567
+ *
1568
+ * Get button options from a csv file.
1569
+ */
1570
+ 'getButtonOptions'(
1571
+ parameters?: Parameters<Paths.GetButtonOptions.QueryParameters> | null,
1572
+ data?: any,
1573
+ config?: AxiosRequestConfig
1574
+ ): OperationResponse<Paths.GetButtonOptions.Responses.$200>
1575
+ }
1576
+
1577
+ interface PathsDictionary {
1578
+ ['/v1/journey/organization/{id}']: {
1579
+ /**
1580
+ * getJourneysByOrgId - getJourneysByOrgId
1581
+ *
1582
+ * Get all journeys by organization id
1583
+ */
1584
+ 'get'(
1585
+ parameters?: Parameters<Paths.GetJourneysByOrgId.QueryParameters & Paths.GetJourneysByOrgId.PathParameters> | null,
1586
+ data?: any,
1587
+ config?: AxiosRequestConfig
1588
+ ): OperationResponse<Paths.GetJourneysByOrgId.Responses.$200>
1589
+ }
1590
+ ['/v1/journey/configuration/{id}']: {
1591
+ /**
1592
+ * getJourney - getJourney
1593
+ *
1594
+ * Get journey by id. Private journeys requires valid private token to be passed
1595
+ */
1596
+ 'get'(
1597
+ parameters?: Parameters<Paths.GetJourney.QueryParameters & Paths.GetJourney.PathParameters> | null,
1598
+ data?: any,
1599
+ config?: AxiosRequestConfig
1600
+ ): OperationResponse<Paths.GetJourney.Responses.$200>
1601
+ /**
1602
+ * removeJourney - removeJourney
1603
+ *
1604
+ * Remove journey by id
1605
+ */
1606
+ 'delete'(
1607
+ parameters?: Parameters<Paths.RemoveJourney.PathParameters> | null,
1608
+ data?: any,
1609
+ config?: AxiosRequestConfig
1610
+ ): OperationResponse<any>
1611
+ }
1612
+ ['/v1/journey/products/{id}']: {
1613
+ /**
1614
+ * getJourneyProducts - getJourneyProducts
1615
+ *
1616
+ * Get products available in the journey by id. requires public journey token to be passed.
1617
+ */
1618
+ 'get'(
1619
+ parameters?: Parameters<Paths.GetJourneyProducts.QueryParameters & Paths.GetJourneyProducts.PathParameters> | null,
1620
+ data?: any,
1621
+ config?: AxiosRequestConfig
1622
+ ): OperationResponse<Paths.GetJourneyProducts.Responses.$200>
1623
+ }
1624
+ ['/v1/journey/configuration']: {
1625
+ /**
1626
+ * createJourney - createJourney
1627
+ *
1628
+ * Create a Journey
1629
+ */
1630
+ 'post'(
1631
+ parameters?: Parameters<Paths.CreateJourney.QueryParameters> | null,
1632
+ data?: Paths.CreateJourney.RequestBody,
1633
+ config?: AxiosRequestConfig
1634
+ ): OperationResponse<Paths.CreateJourney.Responses.$201>
1635
+ /**
1636
+ * updateJourney - updateJourney
1637
+ *
1638
+ * Update a Journey
1639
+ */
1640
+ 'put'(
1641
+ parameters?: Parameters<UnknownParamsObject> | null,
1642
+ data?: Paths.UpdateJourney.RequestBody,
1643
+ config?: AxiosRequestConfig
1644
+ ): OperationResponse<Paths.UpdateJourney.Responses.$204>
1645
+ /**
1646
+ * patchUpdateJourney - patchUpdateJourney
1647
+ *
1648
+ * Update a Journey (partially / patch). Support for nested properties updates (e.g. "property[0].name").
1649
+ */
1650
+ 'patch'(
1651
+ parameters?: Parameters<UnknownParamsObject> | null,
1652
+ data?: Paths.PatchUpdateJourney.RequestBody,
1653
+ config?: AxiosRequestConfig
1654
+ ): OperationResponse<Paths.PatchUpdateJourney.Responses.$200>
1655
+ }
1656
+ ['/v1/journey/configuration/search']: {
1657
+ /**
1658
+ * searchJourneys - searchJourneys
1659
+ *
1660
+ * Search Journeys
1661
+ */
1662
+ 'post'(
1663
+ parameters?: Parameters<UnknownParamsObject> | null,
1664
+ data?: Paths.SearchJourneys.RequestBody,
1665
+ config?: AxiosRequestConfig
1666
+ ): OperationResponse<Paths.SearchJourneys.Responses.$200>
1667
+ }
1668
+ ['/v1/journey/document:generate']: {
1669
+ /**
1670
+ * generateDocument - generateDocument
1671
+ *
1672
+ * Builds document generated from a template with journey values."
1673
+ *
1674
+ * Supported input document types:
1675
+ * - .docx
1676
+ *
1677
+ * Supported output document types:
1678
+ * - .pdf
1679
+ * - .docx but limited to only text based variables
1680
+ *
1681
+ * Uses [Document API](https://gitlab.com/e-pilot/product/file-management/document-api) to generate the document.
1682
+ * Uses [Template Variables API](https://docs.epilot.io/api/template-variables) to replace variables in the document.
1683
+ *
1684
+ */
1685
+ 'post'(
1686
+ parameters?: Parameters<UnknownParamsObject> | null,
1687
+ data?: Paths.GenerateDocument.RequestBody,
1688
+ config?: AxiosRequestConfig
1689
+ ): OperationResponse<Paths.GenerateDocument.Responses.$200>
1690
+ }
1691
+ ['/v2/journey/configuration']: {
1692
+ /**
1693
+ * createJourneyV2 - createJourneyV2
1694
+ *
1695
+ * Create a Journey
1696
+ */
1697
+ 'post'(
1698
+ parameters?: Parameters<Paths.CreateJourneyV2.QueryParameters> | null,
1699
+ data?: Paths.CreateJourneyV2.RequestBody,
1700
+ config?: AxiosRequestConfig
1701
+ ): OperationResponse<Paths.CreateJourneyV2.Responses.$201>
1702
+ /**
1703
+ * updateJourneyV2 - updateJourneyV2
1704
+ *
1705
+ * Update a Journey
1706
+ */
1707
+ 'put'(
1708
+ parameters?: Parameters<UnknownParamsObject> | null,
1709
+ data?: Paths.UpdateJourneyV2.RequestBody,
1710
+ config?: AxiosRequestConfig
1711
+ ): OperationResponse<Paths.UpdateJourneyV2.Responses.$200>
1712
+ /**
1713
+ * patchUpdateJourneyV2 - patchUpdateJourneyV2
1714
+ *
1715
+ * Update a Journey (partially / patch). Support for nested properties updates (e.g. "property[0].name").
1716
+ */
1717
+ 'patch'(
1718
+ parameters?: Parameters<UnknownParamsObject> | null,
1719
+ data?: Paths.PatchUpdateJourneyV2.RequestBody,
1720
+ config?: AxiosRequestConfig
1721
+ ): OperationResponse<Paths.PatchUpdateJourneyV2.Responses.$200>
1722
+ }
1723
+ ['/v2/journey/configuration/{id}']: {
1724
+ /**
1725
+ * getJourneyV2 - getJourneyV2
1726
+ *
1727
+ * Get journey by id
1728
+ */
1729
+ 'get'(
1730
+ parameters?: Parameters<Paths.GetJourneyV2.PathParameters> | null,
1731
+ data?: any,
1732
+ config?: AxiosRequestConfig
1733
+ ): OperationResponse<Paths.GetJourneyV2.Responses.$200>
1734
+ /**
1735
+ * removeJourneyV2 - removeJourneyV2
1736
+ *
1737
+ * Remove journey by id
1738
+ */
1739
+ 'delete'(
1740
+ parameters?: Parameters<Paths.RemoveJourneyV2.PathParameters> | null,
1741
+ data?: any,
1742
+ config?: AxiosRequestConfig
1743
+ ): OperationResponse<any>
1744
+ }
1745
+ ['/v1/journey/{id}/settings']: {
1746
+ /**
1747
+ * getSettingsForJourney - getSettingsForJourney
1748
+ *
1749
+ * Get settings related to the journey using journey ID.
1750
+ */
1751
+ 'get'(
1752
+ parameters?: Parameters<Paths.GetSettingsForJourney.PathParameters> | null,
1753
+ data?: any,
1754
+ config?: AxiosRequestConfig
1755
+ ): OperationResponse<Paths.GetSettingsForJourney.Responses.$200>
1756
+ }
1757
+ ['/v1/journey/button-options']: {
1758
+ /**
1759
+ * getButtonOptions - getButtonOptions
1760
+ *
1761
+ * Get button options from a csv file.
1762
+ */
1763
+ 'get'(
1764
+ parameters?: Parameters<Paths.GetButtonOptions.QueryParameters> | null,
1765
+ data?: any,
1766
+ config?: AxiosRequestConfig
1767
+ ): OperationResponse<Paths.GetButtonOptions.Responses.$200>
1768
+ }
1769
+ }
1770
+
1771
+ type Client = OpenAPIClient<OperationMethods, PathsDictionary>
1772
+
1773
+
1774
+ type ButtonOption = Components.Schemas.ButtonOption;
1775
+ type GenerateDocumentRequest = Components.Schemas.GenerateDocumentRequest;
1776
+ type GenerateDocumentResponse = Components.Schemas.GenerateDocumentResponse;
1777
+ type GetJourneysResponse = Components.Schemas.GetJourneysResponse;
1778
+ type GetSettingsForJourney = Components.Schemas.GetSettingsForJourney;
1779
+ type Journey = Components.Schemas.Journey;
1780
+ type JourneyAuditInfo = Components.Schemas.JourneyAuditInfo;
1781
+ type JourneyCreationRequest = Components.Schemas.JourneyCreationRequest;
1782
+ type JourneyCreationRequestV2 = Components.Schemas.JourneyCreationRequestV2;
1783
+ type JourneyFeatureFlags = Components.Schemas.JourneyFeatureFlags;
1784
+ type JourneyProductsResponse = Components.Schemas.JourneyProductsResponse;
1785
+ type JourneyResponse = Components.Schemas.JourneyResponse;
1786
+ type PatchUpdateJourneyRequest = Components.Schemas.PatchUpdateJourneyRequest;
1787
+ type RuleRef = Components.Schemas.RuleRef;
1788
+ type S3Reference = Components.Schemas.S3Reference;
1789
+ type SearchJourneysQueryRequest = Components.Schemas.SearchJourneysQueryRequest;
1790
+ type SearchJourneysResponse = Components.Schemas.SearchJourneysResponse;
1791
+ type TemplateSettings = Components.Schemas.TemplateSettings;
1792
+ type ValidationRuleRef = Components.Schemas.ValidationRuleRef;
1793
+
1794
+ export { type ButtonOption as B, type Client as C, type GenerateDocumentRequest as G, type Journey as J, type OperationMethods as O, type PathsDictionary as P, type RuleRef as R, type S3Reference as S, type TemplateSettings as T, type ValidationRuleRef as V, type GenerateDocumentResponse as a, type GetJourneysResponse as b, GetSettingsForJourney as c, type JourneyAuditInfo as d, type JourneyCreationRequest as e, type JourneyCreationRequestV2 as f, type JourneyFeatureFlags as g, type JourneyProductsResponse as h, type JourneyResponse as i, type PatchUpdateJourneyRequest as j, type SearchJourneysQueryRequest as k, type SearchJourneysResponse as l };