@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,1369 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-NJK5F5TF.cjs');
2
+
3
+ // src/definitions/targeting.json
4
+ var openapi = "3.0.3";
5
+ var info = {
6
+ title: "Targeting API",
7
+ description: "API for Targeting",
8
+ version: "1.1.0"
9
+ };
10
+ var tags = [
11
+ {
12
+ name: "Campaign",
13
+ description: "Campaign Endpoints"
14
+ },
15
+ {
16
+ name: "Campaign Recipient",
17
+ description: "Campaign Recipient Endpoints"
18
+ },
19
+ {
20
+ name: "Campaign Delivery",
21
+ description: "Campaign Delivery Endpoints"
22
+ },
23
+ {
24
+ name: "Target",
25
+ description: "Target Endpoints"
26
+ }
27
+ ];
28
+ var security = [
29
+ {
30
+ EpilotAuth: []
31
+ }
32
+ ];
33
+ var servers = [
34
+ {
35
+ url: "https://targeting.sls.epilot.io"
36
+ },
37
+ {
38
+ url: "https://targeting.sls.epilot.io"
39
+ },
40
+ {
41
+ url: "https://targeting.sls.epilot.io",
42
+ description: "Production Server"
43
+ }
44
+ ];
45
+ var paths = {
46
+ "/v1/campaign/{campaign_id}/status": {
47
+ post: {
48
+ operationId: "changeCampaignStatus",
49
+ summary: "Change the status of a campaign",
50
+ description: "Change the status of a campaign to a desired status.\n\nThe status can be one of the following: active, inactive.\n\nStatus transition is accompanied by side effects, e.g., automation execution.\n",
51
+ tags: ["Campaign"],
52
+ security: [
53
+ {
54
+ EpilotAuth: []
55
+ }
56
+ ],
57
+ parameters: [
58
+ {
59
+ $ref: "#/components/parameters/CampaignIdPathParam"
60
+ }
61
+ ],
62
+ responses: {
63
+ "200": {
64
+ $ref: "#/components/responses/CampaignResponse"
65
+ },
66
+ "400": {
67
+ $ref: "#/components/responses/ClientErrorResponse"
68
+ },
69
+ "500": {
70
+ $ref: "#/components/responses/ServerErrorResponse"
71
+ }
72
+ }
73
+ }
74
+ },
75
+ "/v1/campaign/{campaign_id}/job": {
76
+ get: {
77
+ operationId: "getCampaignJobStatus",
78
+ description: "Get the status of a campaign's automation job",
79
+ summary: "Get the status of a campaign's automation job",
80
+ tags: ["Campaign"],
81
+ security: [
82
+ {
83
+ EpilotAuth: []
84
+ }
85
+ ],
86
+ parameters: [
87
+ {
88
+ $ref: "#/components/parameters/CampaignIdPathParam"
89
+ }
90
+ ],
91
+ responses: {
92
+ "200": {
93
+ $ref: "#/components/responses/JobStatusResponse"
94
+ },
95
+ "400": {
96
+ $ref: "#/components/responses/ClientErrorResponse"
97
+ },
98
+ "500": {
99
+ $ref: "#/components/responses/ServerErrorResponse"
100
+ }
101
+ }
102
+ }
103
+ },
104
+ "/v1/campaign/{campaign_id}/portals": {
105
+ get: {
106
+ operationId: "getCampaignPortals",
107
+ summary: "Get portals usage info for a campaign",
108
+ description: "Get the list of portals and its widgets where the campaign is used.\n",
109
+ tags: ["Campaign"],
110
+ security: [
111
+ {
112
+ EpilotAuth: []
113
+ }
114
+ ],
115
+ parameters: [
116
+ {
117
+ $ref: "#/components/parameters/CampaignIdPathParam"
118
+ }
119
+ ],
120
+ responses: {
121
+ "200": {
122
+ $ref: "#/components/responses/CampaignPortalsResponse"
123
+ },
124
+ "400": {
125
+ $ref: "#/components/responses/ClientErrorResponse"
126
+ },
127
+ "500": {
128
+ $ref: "#/components/responses/ServerErrorResponse"
129
+ }
130
+ }
131
+ }
132
+ },
133
+ "/v1/campaign/{campaign_id}/automations:retrigger": {
134
+ post: {
135
+ operationId: "retriggerCampaignAutomations",
136
+ summary: "Retrigger automations for campaign recipients",
137
+ description: "Retrigger automation executions for specific campaign recipients that have failed.\n\nThis endpoint starts new automation executions for the specified recipients\nusing the campaign's associated automation flow. Only recipients with\nautomation_status 'failed' will be processed. Recipients with other statuses\n(success, pending, in_progress, cancelled) will be skipped to prevent\naccidentally retriggering successful or ongoing automations.\n",
138
+ tags: ["Campaign Delivery"],
139
+ security: [
140
+ {
141
+ EpilotAuth: []
142
+ }
143
+ ],
144
+ parameters: [
145
+ {
146
+ $ref: "#/components/parameters/CampaignIdPathParam"
147
+ }
148
+ ],
149
+ requestBody: {
150
+ required: true,
151
+ content: {
152
+ "application/json": {
153
+ schema: {
154
+ $ref: "#/components/schemas/RetriggerAutomationsRequest"
155
+ }
156
+ }
157
+ }
158
+ },
159
+ responses: {
160
+ "200": {
161
+ $ref: "#/components/responses/RetriggerAutomationsResponse"
162
+ },
163
+ "400": {
164
+ $ref: "#/components/responses/ClientErrorResponse"
165
+ },
166
+ "404": {
167
+ $ref: "#/components/responses/ServerErrorResponse"
168
+ },
169
+ "500": {
170
+ $ref: "#/components/responses/ServerErrorResponse"
171
+ }
172
+ }
173
+ }
174
+ },
175
+ "/v1/campaign:match": {
176
+ post: {
177
+ operationId: "matchCampaigns",
178
+ summary: "Match campaigns",
179
+ description: "Match campaigns based on target entities.\n\nThis endpoint returns the list of campaigns where the provided entities are part of the target.\n",
180
+ tags: ["Campaign"],
181
+ security: [
182
+ {
183
+ EpilotAuth: []
184
+ }
185
+ ],
186
+ requestBody: {
187
+ required: true,
188
+ content: {
189
+ "application/json": {
190
+ schema: {
191
+ $ref: "#/components/schemas/MatchCampaignParams"
192
+ }
193
+ }
194
+ }
195
+ },
196
+ responses: {
197
+ "200": {
198
+ $ref: "#/components/responses/MatchCampaignsResponse"
199
+ },
200
+ "400": {
201
+ $ref: "#/components/responses/ClientErrorResponse"
202
+ },
203
+ "500": {
204
+ $ref: "#/components/responses/ServerErrorResponse"
205
+ }
206
+ }
207
+ }
208
+ },
209
+ "/v1/target:match": {
210
+ post: {
211
+ operationId: "matchTargets",
212
+ summary: "Match targets",
213
+ description: "Find targets from the provided list that include the provide entities.\n",
214
+ tags: ["Target"],
215
+ security: [
216
+ {
217
+ EpilotAuth: []
218
+ }
219
+ ],
220
+ requestBody: {
221
+ required: true,
222
+ content: {
223
+ "application/json": {
224
+ schema: {
225
+ $ref: "#/components/schemas/MatchTargetParams"
226
+ }
227
+ }
228
+ }
229
+ },
230
+ responses: {
231
+ "200": {
232
+ $ref: "#/components/responses/MatchTargetsResponse"
233
+ },
234
+ "400": {
235
+ $ref: "#/components/responses/ClientErrorResponse"
236
+ },
237
+ "500": {
238
+ $ref: "#/components/responses/ServerErrorResponse"
239
+ }
240
+ }
241
+ }
242
+ },
243
+ "/v1/target/queries": {
244
+ post: {
245
+ operationId: "getTargetQueries",
246
+ summary: "Get target queries",
247
+ description: "Transform target filters into Lucene queries for the provided target IDs.\nReturns the transformed query string for each target along with any errors encountered.\n",
248
+ tags: ["Target"],
249
+ security: [
250
+ {
251
+ EpilotAuth: []
252
+ }
253
+ ],
254
+ requestBody: {
255
+ required: true,
256
+ content: {
257
+ "application/json": {
258
+ schema: {
259
+ $ref: "#/components/schemas/GetTargetQueriesParams"
260
+ }
261
+ }
262
+ }
263
+ },
264
+ responses: {
265
+ "200": {
266
+ $ref: "#/components/responses/GetTargetQueriesResponse"
267
+ },
268
+ "400": {
269
+ $ref: "#/components/responses/ClientErrorResponse"
270
+ },
271
+ "500": {
272
+ $ref: "#/components/responses/ServerErrorResponse"
273
+ }
274
+ }
275
+ }
276
+ },
277
+ "/v1/campaign/{campaign_id}/recipient": {
278
+ post: {
279
+ operationId: "createRecipient",
280
+ summary: "Create a recipient associated with a campaign",
281
+ description: "Creates a new recipient associated with a campaign.",
282
+ tags: ["Campaign Recipient"],
283
+ security: [
284
+ {
285
+ EpilotAuth: []
286
+ }
287
+ ],
288
+ parameters: [
289
+ {
290
+ $ref: "#/components/parameters/CampaignIdPathParam"
291
+ }
292
+ ],
293
+ requestBody: {
294
+ required: true,
295
+ content: {
296
+ "application/json": {
297
+ schema: {
298
+ $ref: "#/components/schemas/CreateRecipientPayload"
299
+ }
300
+ }
301
+ }
302
+ },
303
+ responses: {
304
+ "201": {
305
+ $ref: "#/components/responses/RecipientResponse"
306
+ },
307
+ "400": {
308
+ $ref: "#/components/responses/ClientErrorResponse"
309
+ },
310
+ "500": {
311
+ $ref: "#/components/responses/ServerErrorResponse"
312
+ }
313
+ }
314
+ }
315
+ },
316
+ "/v1/campaign/{campaign_id}/recipient/{recipient_id}": {
317
+ patch: {
318
+ operationId: "updateRecipient",
319
+ summary: "Update a recipient",
320
+ description: "Updates a recipient's attributes.",
321
+ tags: ["Campaign Recipient"],
322
+ security: [
323
+ {
324
+ EpilotAuth: []
325
+ }
326
+ ],
327
+ parameters: [
328
+ {
329
+ $ref: "#/components/parameters/CampaignIdPathParam"
330
+ },
331
+ {
332
+ $ref: "#/components/parameters/RecipientIdPathParam"
333
+ }
334
+ ],
335
+ requestBody: {
336
+ required: true,
337
+ content: {
338
+ "application/json": {
339
+ schema: {
340
+ $ref: "#/components/schemas/UpdateRecipientPayload"
341
+ }
342
+ }
343
+ }
344
+ },
345
+ responses: {
346
+ "200": {
347
+ $ref: "#/components/responses/RecipientResponse"
348
+ },
349
+ "400": {
350
+ $ref: "#/components/responses/ClientErrorResponse"
351
+ },
352
+ "500": {
353
+ $ref: "#/components/responses/ServerErrorResponse"
354
+ }
355
+ }
356
+ }
357
+ },
358
+ "/v1/campaign/{campaign_id}/recipient/{recipient_id}/portal:status": {
359
+ patch: {
360
+ operationId: "updateRecipientPortalStatus",
361
+ summary: "Update portal status for a campaign recipient",
362
+ description: "Updates the portal status for a specific campaign recipient.\nThe portal_status_updated_at timestamp is automatically set when the status changes.\n\nStatus transition rules:\n- From 'sent': can change to 'seen', 'dismissed', or 'clicked'\n- From 'seen': can change to 'dismissed' or 'clicked'\n- From 'dismissed' or 'clicked': cannot be changed (final states)\n",
363
+ tags: ["Campaign Recipient"],
364
+ security: [
365
+ {
366
+ EpilotAuth: []
367
+ }
368
+ ],
369
+ parameters: [
370
+ {
371
+ $ref: "#/components/parameters/CampaignIdPathParam"
372
+ },
373
+ {
374
+ $ref: "#/components/parameters/RecipientIdPathParam"
375
+ }
376
+ ],
377
+ requestBody: {
378
+ required: true,
379
+ content: {
380
+ "application/json": {
381
+ schema: {
382
+ $ref: "#/components/schemas/UpdatePortalStatusRequest"
383
+ }
384
+ }
385
+ }
386
+ },
387
+ responses: {
388
+ "200": {
389
+ $ref: "#/components/responses/RecipientResponse"
390
+ },
391
+ "400": {
392
+ $ref: "#/components/responses/ClientErrorResponse"
393
+ },
394
+ "404": {
395
+ $ref: "#/components/responses/ClientErrorResponse"
396
+ },
397
+ "409": {
398
+ $ref: "#/components/responses/ClientErrorResponse"
399
+ },
400
+ "500": {
401
+ $ref: "#/components/responses/ServerErrorResponse"
402
+ }
403
+ }
404
+ }
405
+ },
406
+ "/v1/campaign/{campaign_id}/recipients": {
407
+ get: {
408
+ operationId: "getRecipients",
409
+ summary: "Get campaign recipients",
410
+ description: "Get a paginated list of recipients for a campaign.",
411
+ tags: ["Campaign Recipient"],
412
+ security: [
413
+ {
414
+ EpilotAuth: []
415
+ }
416
+ ],
417
+ parameters: [
418
+ {
419
+ $ref: "#/components/parameters/CampaignIdPathParam"
420
+ },
421
+ {
422
+ name: "limit",
423
+ in: "query",
424
+ description: "Number of items to return",
425
+ schema: {
426
+ type: "integer",
427
+ default: 25
428
+ }
429
+ },
430
+ {
431
+ name: "next",
432
+ in: "query",
433
+ description: "Cursor for pagination",
434
+ schema: {
435
+ type: "string"
436
+ }
437
+ },
438
+ {
439
+ name: "q",
440
+ in: "query",
441
+ description: "Search by recipient title",
442
+ schema: {
443
+ type: "string"
444
+ }
445
+ },
446
+ {
447
+ name: "automation_status",
448
+ in: "query",
449
+ description: "Filter by automation status",
450
+ schema: {
451
+ $ref: "#/components/schemas/AutomationStatus"
452
+ }
453
+ },
454
+ {
455
+ name: "portal_status",
456
+ in: "query",
457
+ description: "Filter by portal status",
458
+ schema: {
459
+ $ref: "#/components/schemas/PortalStatus"
460
+ }
461
+ }
462
+ ],
463
+ responses: {
464
+ "200": {
465
+ $ref: "#/components/responses/RecipientsResponse"
466
+ },
467
+ "400": {
468
+ $ref: "#/components/responses/ClientErrorResponse"
469
+ },
470
+ "500": {
471
+ $ref: "#/components/responses/ServerErrorResponse"
472
+ }
473
+ }
474
+ }
475
+ }
476
+ };
477
+ var components = {
478
+ schemas: {
479
+ BaseError: {
480
+ type: "object",
481
+ properties: {
482
+ status: {
483
+ type: "integer",
484
+ example: 404
485
+ },
486
+ message: {
487
+ type: "string",
488
+ example: "Entity not found"
489
+ }
490
+ },
491
+ required: ["status", "message"]
492
+ },
493
+ ServerError: {
494
+ $ref: "#/components/schemas/BaseError"
495
+ },
496
+ ClientError: {
497
+ oneOf: [
498
+ {
499
+ type: "object",
500
+ title: "MessageError",
501
+ description: "An error object containing a human-readable message.",
502
+ properties: {
503
+ message: {
504
+ type: "string",
505
+ description: "A descriptive error message.",
506
+ example: "The provided input was invalid."
507
+ }
508
+ },
509
+ required: ["message"],
510
+ additionalProperties: false
511
+ },
512
+ {
513
+ type: "object",
514
+ title: "CodeError",
515
+ description: "An error object containing a specific machine-readable error code.",
516
+ properties: {
517
+ code: {
518
+ type: "string",
519
+ description: "A specific machine-readable error code indicating a known error condition.",
520
+ enum: [
521
+ "CAMPAIGN_NOT_FOUND",
522
+ "CAMPAIGN_HAS_NO_TARGET",
523
+ "CAMPAIGN_HAS_NO_DELIVERY_METHOD",
524
+ "CAMPAIGN_HAS_JOB_IN_PROGRESS",
525
+ "CAMPAIGN_HAS_UNEXPECTED_STATUS",
526
+ "JOB_TOKEN_MISSING",
527
+ "TARGET_WITHOUT_FILTERS"
528
+ ],
529
+ example: "CAMPAIGN_NOT_FOUND"
530
+ }
531
+ },
532
+ required: ["code"],
533
+ additionalProperties: false
534
+ },
535
+ {
536
+ type: "object",
537
+ title: "StatusedError",
538
+ description: "An error object containing a message and an explicit status, typically from a more generic error handler.",
539
+ properties: {
540
+ error: {
541
+ type: "string",
542
+ description: "A descriptive error message.",
543
+ example: "An unexpected error occurred during processing."
544
+ },
545
+ status: {
546
+ type: "integer",
547
+ description: "An explicit status code in the body, often mirroring the HTTP status but provided for programmatic access.",
548
+ example: 400
549
+ }
550
+ },
551
+ required: ["error", "status"],
552
+ additionalProperties: false
553
+ }
554
+ ],
555
+ description: "Describes the structure of a client error response, which can be one of several types:\n1. `MessageError`: Contains a 'message' field for general descriptive errors.\n2. `CodeError`: Contains a 'code' field for specific, machine-readable error codes.\n3. `StatusedError`: Contains 'error' and 'status' fields.\nThe HTTP status code of the response itself (e.g., 400, 404, 409) will always indicate the overall error category.\n"
556
+ },
557
+ BaseUUID: {
558
+ type: "string",
559
+ format: "uuid",
560
+ example: "b8c01433-5556-4e2b-aad4-6f5348d1df84"
561
+ },
562
+ BaseNanoID: {
563
+ type: "string",
564
+ example: "xHcOoJCa07eysJ1GaQeSb"
565
+ },
566
+ BaseTags: {
567
+ type: "array",
568
+ nullable: true,
569
+ items: {
570
+ type: "string"
571
+ }
572
+ },
573
+ BaseRelation: {
574
+ type: "object",
575
+ properties: {
576
+ $relation: {
577
+ type: "array",
578
+ items: {
579
+ type: "object",
580
+ properties: {
581
+ entity_id: {
582
+ $ref: "#/components/schemas/BaseUUID"
583
+ },
584
+ _tags: {
585
+ $ref: "#/components/schemas/BaseTags"
586
+ }
587
+ }
588
+ }
589
+ }
590
+ }
591
+ },
592
+ BaseSystemId: {
593
+ type: "object",
594
+ readOnly: true,
595
+ properties: {
596
+ _id: {
597
+ $ref: "#/components/schemas/BaseUUID"
598
+ }
599
+ },
600
+ required: ["_id"]
601
+ },
602
+ BaseEntityOwner: {
603
+ description: "The user / organization owning this entity.\n\nNote: Owner implicitly has access to the entity regardless of ACLs.\n",
604
+ type: "object",
605
+ properties: {
606
+ org_id: {
607
+ type: "string",
608
+ example: "123"
609
+ },
610
+ user_id: {
611
+ type: "string",
612
+ example: "123"
613
+ }
614
+ },
615
+ required: ["org_id"]
616
+ },
617
+ BaseEntityAcl: {
618
+ type: "object",
619
+ description: "Access control list (ACL) for an entity. Defines sharing access to external orgs or users.",
620
+ additionalProperties: true,
621
+ readOnly: true,
622
+ properties: {
623
+ view: {
624
+ type: "array",
625
+ items: {
626
+ type: "string",
627
+ example: "org:456"
628
+ }
629
+ },
630
+ edit: {
631
+ type: "array",
632
+ items: {
633
+ type: "string",
634
+ example: "org:456"
635
+ }
636
+ },
637
+ delete: {
638
+ type: "array",
639
+ items: {
640
+ type: "string",
641
+ example: "org:456"
642
+ }
643
+ }
644
+ }
645
+ },
646
+ BaseSystemFields: {
647
+ type: "object",
648
+ properties: {
649
+ _id: {
650
+ $ref: "#/components/schemas/BaseUUID"
651
+ },
652
+ _org: {
653
+ type: "string",
654
+ description: "Organization Id the entity belongs to",
655
+ readOnly: true
656
+ },
657
+ _owners: {
658
+ type: "array",
659
+ readOnly: true,
660
+ items: {
661
+ $ref: "#/components/schemas/BaseEntityOwner"
662
+ }
663
+ },
664
+ _schema: {
665
+ readOnly: true,
666
+ type: "string"
667
+ },
668
+ _title: {
669
+ readOnly: true,
670
+ type: "string"
671
+ },
672
+ _tags: {
673
+ $ref: "#/components/schemas/BaseTags"
674
+ },
675
+ _created_at: {
676
+ readOnly: true,
677
+ type: "string",
678
+ format: "date-time"
679
+ },
680
+ _updated_at: {
681
+ readOnly: true,
682
+ type: "string",
683
+ format: "date-time"
684
+ },
685
+ _acl: {
686
+ $ref: "#/components/schemas/BaseEntityAcl"
687
+ }
688
+ }
689
+ },
690
+ BaseSystemFieldsRequired: {
691
+ type: "object",
692
+ required: ["_org", "_owners", "_schema", "_title", "_tags", "_created_at", "_updated_at", "_acl"]
693
+ },
694
+ CampaignStatus: {
695
+ type: "string",
696
+ default: "draft",
697
+ enum: ["draft", "activating", "active", "inactive"]
698
+ },
699
+ ExecutionSummaryItem: {
700
+ type: "object",
701
+ properties: {
702
+ execution_id: {
703
+ type: "string"
704
+ },
705
+ execution_status: {
706
+ type: "string"
707
+ }
708
+ }
709
+ },
710
+ JobStatus: {
711
+ type: "object",
712
+ properties: {
713
+ status: {
714
+ type: "string",
715
+ description: "The status of the automation job",
716
+ enum: ["queued", "processing", "finished", "failed", "cancelled", "send_report"]
717
+ },
718
+ execution_summary: {
719
+ type: "array",
720
+ items: {
721
+ $ref: "#/components/schemas/ExecutionSummaryItem"
722
+ }
723
+ }
724
+ }
725
+ },
726
+ Campaign: {
727
+ allOf: [
728
+ {
729
+ $ref: "#/components/schemas/BaseSystemFields"
730
+ },
731
+ {
732
+ type: "object",
733
+ properties: {
734
+ name: {
735
+ type: "string"
736
+ },
737
+ goal: {
738
+ type: "string"
739
+ },
740
+ status: {
741
+ $ref: "#/components/schemas/CampaignStatus"
742
+ },
743
+ start_date: {
744
+ type: "string",
745
+ format: "date"
746
+ },
747
+ end_date: {
748
+ type: "string",
749
+ format: "date"
750
+ },
751
+ flow_id: {
752
+ type: "string"
753
+ },
754
+ job_id: {
755
+ type: "string"
756
+ },
757
+ target: {
758
+ $ref: "#/components/schemas/BaseRelation"
759
+ }
760
+ }
761
+ }
762
+ ]
763
+ },
764
+ Target: {
765
+ allOf: [
766
+ {
767
+ $ref: "#/components/schemas/BaseSystemFields"
768
+ },
769
+ {
770
+ type: "object",
771
+ properties: {
772
+ name: {
773
+ type: "string"
774
+ },
775
+ description: {
776
+ type: "string"
777
+ },
778
+ entity_schema: {
779
+ type: "string"
780
+ },
781
+ entity_filters: {
782
+ type: "object",
783
+ additionalProperties: true
784
+ }
785
+ }
786
+ }
787
+ ]
788
+ },
789
+ MatchCampaignParams: {
790
+ type: "object",
791
+ properties: {
792
+ entity_refs: {
793
+ type: "array",
794
+ description: "List of entities (e.g. Contacts or Contracts) that should be part of the campaign target.",
795
+ items: {
796
+ type: "object",
797
+ properties: {
798
+ entity_id: {
799
+ $ref: "#/components/schemas/BaseUUID"
800
+ },
801
+ entity_schema: {
802
+ type: "string"
803
+ }
804
+ },
805
+ required: ["entity_id", "entity_schema"],
806
+ additionalProperties: false
807
+ }
808
+ },
809
+ campaign_ids: {
810
+ type: "array",
811
+ description: "List of campaign IDs to check.",
812
+ items: {
813
+ $ref: "#/components/schemas/BaseUUID"
814
+ },
815
+ example: ["b8c01433-5556-4e2b-aad4-6f5348d1df84"],
816
+ minItems: 1,
817
+ maxItems: 100,
818
+ uniqueItems: true
819
+ }
820
+ },
821
+ required: ["entity_refs", "campaign_ids"],
822
+ additionalProperties: false
823
+ },
824
+ MatchTargetParams: {
825
+ type: "object",
826
+ properties: {
827
+ entity_refs: {
828
+ type: "array",
829
+ description: "List of entities (e.g. Contacts or Contracts) that should be part of the targets.",
830
+ items: {
831
+ type: "object",
832
+ properties: {
833
+ entity_id: {
834
+ $ref: "#/components/schemas/BaseUUID"
835
+ },
836
+ entity_schema: {
837
+ type: "string"
838
+ }
839
+ },
840
+ required: ["entity_id", "entity_schema"],
841
+ additionalProperties: false
842
+ }
843
+ },
844
+ target_ids: {
845
+ type: "array",
846
+ description: "List of target IDs to check.",
847
+ items: {
848
+ $ref: "#/components/schemas/BaseUUID"
849
+ },
850
+ example: ["b8c01433-5556-4e2b-aad4-6f5348d1df84"],
851
+ minItems: 1,
852
+ maxItems: 100,
853
+ uniqueItems: true
854
+ }
855
+ },
856
+ required: ["entity_refs", "target_ids"],
857
+ additionalProperties: false
858
+ },
859
+ GetTargetQueriesParams: {
860
+ type: "object",
861
+ properties: {
862
+ target_ids: {
863
+ type: "array",
864
+ description: "List of target IDs to transform into queries.",
865
+ items: {
866
+ $ref: "#/components/schemas/BaseUUID"
867
+ },
868
+ example: ["b8c01433-5556-4e2b-aad4-6f5348d1df84"],
869
+ minItems: 1,
870
+ uniqueItems: true
871
+ }
872
+ },
873
+ required: ["target_ids"],
874
+ additionalProperties: false
875
+ },
876
+ TargetQueryResult: {
877
+ type: "object",
878
+ properties: {
879
+ target_id: {
880
+ $ref: "#/components/schemas/BaseUUID"
881
+ },
882
+ query: {
883
+ type: "string",
884
+ description: "Transformed query string, or null if transformation failed.",
885
+ nullable: true
886
+ },
887
+ error: {
888
+ type: "string",
889
+ description: "Error message if query transformation failed."
890
+ }
891
+ },
892
+ required: ["target_id", "query"]
893
+ },
894
+ AutomationStatus: {
895
+ type: "string",
896
+ enum: ["pending", "in_progress", "success", "failed", "cancelled"]
897
+ },
898
+ PortalStatus: {
899
+ type: "string",
900
+ enum: ["sent", "seen", "dismissed", "clicked"]
901
+ },
902
+ Recipient: {
903
+ type: "object",
904
+ properties: {
905
+ entity_id: {
906
+ $ref: "#/components/schemas/BaseUUID"
907
+ },
908
+ entity_schema: {
909
+ type: "string"
910
+ },
911
+ title: {
912
+ type: "string"
913
+ },
914
+ automation_status: {
915
+ $ref: "#/components/schemas/AutomationStatus"
916
+ },
917
+ automation_execution_id: {
918
+ type: "string"
919
+ },
920
+ portal_status: {
921
+ $ref: "#/components/schemas/PortalStatus"
922
+ },
923
+ portal_status_updated_at: {
924
+ type: "string",
925
+ format: "date-time"
926
+ },
927
+ portal_state: {
928
+ type: "object",
929
+ additionalProperties: true
930
+ },
931
+ updated_at: {
932
+ type: "string",
933
+ format: "date-time"
934
+ }
935
+ }
936
+ },
937
+ BaseRecipientPayload: {
938
+ type: "object",
939
+ properties: {
940
+ entity_id: {
941
+ $ref: "#/components/schemas/BaseUUID"
942
+ },
943
+ entity_schema: {
944
+ type: "string"
945
+ }
946
+ },
947
+ required: ["entity_id", "entity_schema"]
948
+ },
949
+ AutomationRecipientPayload: {
950
+ type: "object",
951
+ properties: {
952
+ automation_status: {
953
+ $ref: "#/components/schemas/AutomationStatus"
954
+ },
955
+ automation_execution_id: {
956
+ type: "string"
957
+ }
958
+ },
959
+ required: ["automation_status", "automation_execution_id"]
960
+ },
961
+ PortalRecipientPayload: {
962
+ type: "object",
963
+ properties: {
964
+ portal_status: {
965
+ $ref: "#/components/schemas/PortalStatus"
966
+ },
967
+ portal_state: {
968
+ type: "object",
969
+ additionalProperties: true
970
+ }
971
+ },
972
+ required: ["portal_status"]
973
+ },
974
+ CreateRecipientPayload: {
975
+ oneOf: [
976
+ {
977
+ allOf: [
978
+ {
979
+ $ref: "#/components/schemas/BaseRecipientPayload"
980
+ },
981
+ {
982
+ $ref: "#/components/schemas/AutomationRecipientPayload"
983
+ }
984
+ ]
985
+ },
986
+ {
987
+ allOf: [
988
+ {
989
+ $ref: "#/components/schemas/BaseRecipientPayload"
990
+ },
991
+ {
992
+ $ref: "#/components/schemas/PortalRecipientPayload"
993
+ }
994
+ ]
995
+ },
996
+ {
997
+ allOf: [
998
+ {
999
+ $ref: "#/components/schemas/BaseRecipientPayload"
1000
+ },
1001
+ {
1002
+ $ref: "#/components/schemas/AutomationRecipientPayload"
1003
+ },
1004
+ {
1005
+ $ref: "#/components/schemas/PortalRecipientPayload"
1006
+ }
1007
+ ]
1008
+ }
1009
+ ]
1010
+ },
1011
+ UpdateRecipientPayload: {
1012
+ type: "object",
1013
+ properties: {
1014
+ automation_status: {
1015
+ $ref: "#/components/schemas/AutomationStatus"
1016
+ },
1017
+ automation_execution_id: {
1018
+ type: "string"
1019
+ },
1020
+ portal_status: {
1021
+ $ref: "#/components/schemas/PortalStatus"
1022
+ },
1023
+ portal_state: {
1024
+ type: "object",
1025
+ additionalProperties: true
1026
+ }
1027
+ }
1028
+ },
1029
+ RetriggerAutomationsRequest: {
1030
+ type: "object",
1031
+ properties: {
1032
+ recipient_ids: {
1033
+ type: "array",
1034
+ description: "List of recipient IDs to retrigger automations for",
1035
+ items: {
1036
+ type: "string",
1037
+ format: "uuid"
1038
+ }
1039
+ }
1040
+ },
1041
+ required: ["recipient_ids"]
1042
+ },
1043
+ RetriggerAutomationsResult: {
1044
+ type: "object",
1045
+ properties: {
1046
+ recipient_id: {
1047
+ type: "string",
1048
+ format: "uuid",
1049
+ description: "The ID of the recipient"
1050
+ },
1051
+ result: {
1052
+ type: "string",
1053
+ description: "The result of the retriggering operation",
1054
+ enum: ["success", "failure", "not_found", "invalid_status"]
1055
+ },
1056
+ execution_id: {
1057
+ type: "string",
1058
+ description: "The ID of the new automation execution (if successful)"
1059
+ },
1060
+ error: {
1061
+ type: "string",
1062
+ description: "The error message if the operation failed"
1063
+ }
1064
+ },
1065
+ required: ["recipient_id", "result"]
1066
+ },
1067
+ UpdatePortalStatusRequest: {
1068
+ type: "object",
1069
+ properties: {
1070
+ status: {
1071
+ $ref: "#/components/schemas/PortalStatus"
1072
+ }
1073
+ },
1074
+ required: ["status"]
1075
+ }
1076
+ },
1077
+ securitySchemes: {
1078
+ EpilotAuth: {
1079
+ type: "http",
1080
+ scheme: "bearer",
1081
+ description: "Authorization header with epilot OAuth2 bearer token",
1082
+ bearerFormat: "JWT"
1083
+ }
1084
+ },
1085
+ parameters: {
1086
+ CampaignIdPathParam: {
1087
+ name: "campaign_id",
1088
+ description: "The campaign ID",
1089
+ in: "path",
1090
+ required: true,
1091
+ schema: {
1092
+ $ref: "#/components/schemas/BaseUUID"
1093
+ }
1094
+ },
1095
+ RecipientIdPathParam: {
1096
+ name: "recipient_id",
1097
+ description: "The entity ID of the recipient",
1098
+ in: "path",
1099
+ required: true,
1100
+ schema: {
1101
+ $ref: "#/components/schemas/BaseUUID"
1102
+ }
1103
+ }
1104
+ },
1105
+ responses: {
1106
+ ClientErrorResponse: {
1107
+ description: "Any error based on client data errors",
1108
+ content: {
1109
+ "application/json": {
1110
+ schema: {
1111
+ $ref: "#/components/schemas/ClientError"
1112
+ }
1113
+ }
1114
+ }
1115
+ },
1116
+ ServerErrorResponse: {
1117
+ description: "Any error based on the server-side",
1118
+ content: {
1119
+ "application/json": {
1120
+ schema: {
1121
+ $ref: "#/components/schemas/ServerError"
1122
+ }
1123
+ }
1124
+ }
1125
+ },
1126
+ CampaignResponse: {
1127
+ description: "Campaign entity response",
1128
+ content: {
1129
+ "application/json": {
1130
+ schema: {
1131
+ type: "object",
1132
+ properties: {
1133
+ campaign: {
1134
+ $ref: "#/components/schemas/Campaign"
1135
+ }
1136
+ }
1137
+ }
1138
+ }
1139
+ }
1140
+ },
1141
+ JobStatusResponse: {
1142
+ description: "Campaign job status response",
1143
+ content: {
1144
+ "application/json": {
1145
+ schema: {
1146
+ $ref: "#/components/schemas/JobStatus"
1147
+ }
1148
+ }
1149
+ }
1150
+ },
1151
+ RecipientResponse: {
1152
+ description: "Recipient response",
1153
+ content: {
1154
+ "application/json": {
1155
+ schema: {
1156
+ $ref: "#/components/schemas/Recipient"
1157
+ }
1158
+ }
1159
+ }
1160
+ },
1161
+ RecipientsResponse: {
1162
+ description: "List of campaign recipients",
1163
+ content: {
1164
+ "application/json": {
1165
+ schema: {
1166
+ type: "object",
1167
+ properties: {
1168
+ results: {
1169
+ type: "array",
1170
+ items: {
1171
+ $ref: "#/components/schemas/Recipient"
1172
+ }
1173
+ },
1174
+ next: {
1175
+ type: "string",
1176
+ nullable: true,
1177
+ description: "Cursor for next page of results"
1178
+ },
1179
+ total: {
1180
+ type: "integer",
1181
+ description: "Total number of recipients"
1182
+ }
1183
+ }
1184
+ }
1185
+ }
1186
+ }
1187
+ },
1188
+ MatchCampaignsResponse: {
1189
+ description: "List of campaigns where the target entities match the given entities.",
1190
+ content: {
1191
+ "application/json": {
1192
+ schema: {
1193
+ type: "object",
1194
+ properties: {
1195
+ hits: {
1196
+ type: "number",
1197
+ description: "Number of matching campaigns."
1198
+ },
1199
+ results: {
1200
+ type: "array",
1201
+ description: "List of matching campaigns.",
1202
+ items: {
1203
+ type: "object",
1204
+ properties: {
1205
+ campaign: {
1206
+ $ref: "#/components/schemas/Campaign"
1207
+ }
1208
+ },
1209
+ required: ["campaign"]
1210
+ }
1211
+ }
1212
+ }
1213
+ }
1214
+ }
1215
+ }
1216
+ },
1217
+ MatchTargetsResponse: {
1218
+ description: "List of targets where the given entities are found.",
1219
+ content: {
1220
+ "application/json": {
1221
+ schema: {
1222
+ type: "object",
1223
+ properties: {
1224
+ hits: {
1225
+ type: "number",
1226
+ description: "Number of matching targets."
1227
+ },
1228
+ results: {
1229
+ type: "array",
1230
+ description: "List of matching targets.",
1231
+ items: {
1232
+ type: "object",
1233
+ properties: {
1234
+ target: {
1235
+ $ref: "#/components/schemas/Target"
1236
+ }
1237
+ },
1238
+ required: ["target"]
1239
+ }
1240
+ }
1241
+ }
1242
+ }
1243
+ }
1244
+ }
1245
+ },
1246
+ GetTargetQueriesResponse: {
1247
+ description: "List of transformed target queries.",
1248
+ content: {
1249
+ "application/json": {
1250
+ schema: {
1251
+ type: "object",
1252
+ properties: {
1253
+ results: {
1254
+ type: "array",
1255
+ description: "List of target query results.",
1256
+ items: {
1257
+ $ref: "#/components/schemas/TargetQueryResult"
1258
+ }
1259
+ }
1260
+ },
1261
+ required: ["results"]
1262
+ }
1263
+ }
1264
+ }
1265
+ },
1266
+ CampaignPortalsResponse: {
1267
+ description: "List of portals and its widgets where the campaign is used",
1268
+ content: {
1269
+ "application/json": {
1270
+ schema: {
1271
+ type: "array",
1272
+ items: {
1273
+ type: "object",
1274
+ properties: {
1275
+ portal: {
1276
+ type: "object",
1277
+ properties: {
1278
+ origin: {
1279
+ type: "string",
1280
+ description: "The origin of the portal"
1281
+ },
1282
+ domain: {
1283
+ type: "string",
1284
+ description: "The domain of the portal"
1285
+ },
1286
+ name: {
1287
+ type: "string",
1288
+ description: "The name of the portal"
1289
+ }
1290
+ }
1291
+ },
1292
+ widgets: {
1293
+ type: "array",
1294
+ items: {
1295
+ type: "object",
1296
+ properties: {
1297
+ id: {
1298
+ type: "string",
1299
+ description: "The ID of the widget"
1300
+ },
1301
+ headline: {
1302
+ type: "object",
1303
+ properties: {
1304
+ en: {
1305
+ type: "string",
1306
+ description: "The headline in English"
1307
+ },
1308
+ de: {
1309
+ type: "string",
1310
+ description: "The headline in German"
1311
+ }
1312
+ }
1313
+ }
1314
+ },
1315
+ required: ["id"]
1316
+ }
1317
+ }
1318
+ },
1319
+ required: ["portal", "widgets"]
1320
+ }
1321
+ }
1322
+ }
1323
+ }
1324
+ },
1325
+ RetriggerAutomationsResponse: {
1326
+ description: "Response to a request to retrigger automations for campaign recipients",
1327
+ content: {
1328
+ "application/json": {
1329
+ schema: {
1330
+ type: "object",
1331
+ properties: {
1332
+ message: {
1333
+ type: "string",
1334
+ description: "A confirmation message indicating the request was received and processed"
1335
+ },
1336
+ results: {
1337
+ type: "array",
1338
+ description: "List of retriggering results",
1339
+ items: {
1340
+ $ref: "#/components/schemas/RetriggerAutomationsResult"
1341
+ }
1342
+ }
1343
+ },
1344
+ required: ["message", "results"]
1345
+ }
1346
+ }
1347
+ }
1348
+ }
1349
+ }
1350
+ };
1351
+ var targeting_default = {
1352
+ openapi,
1353
+ info,
1354
+ tags,
1355
+ security,
1356
+ servers,
1357
+ paths,
1358
+ components
1359
+ };
1360
+
1361
+
1362
+
1363
+
1364
+
1365
+
1366
+
1367
+
1368
+
1369
+ exports.components = components; exports.default = targeting_default; exports.info = info; exports.openapi = openapi; exports.paths = paths; exports.security = security; exports.servers = servers; exports.tags = tags;