@koda-sl/baker-cli 0.549.0 → 0.551.0-dev.ad2740332

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 (858) hide show
  1. package/README.md +18 -1
  2. package/dist/account-IG3U6UXZ.js +82 -0
  3. package/dist/account-JCQYOGJD.js +82 -0
  4. package/dist/account-reads-LOCJMS35.js +219 -0
  5. package/dist/account-users-AZPQPHD3.js +64 -0
  6. package/dist/account-writes-BSSKSTZ2.js +68 -0
  7. package/dist/accounts-2PZV6VRS.js +80 -0
  8. package/dist/accounts-5I6USVT7.js +701 -0
  9. package/dist/actions-TSNXITQM.js +55 -0
  10. package/dist/activecampaign-2RKR6P74.js +938 -0
  11. package/dist/ad-group-writes-KMB3OMJG.js +172 -0
  12. package/dist/ad-groups-E67CNQS4.js +70 -0
  13. package/dist/ad-writes-FNMKNFUN.js +176 -0
  14. package/dist/add-ENUFKN5V.js +305 -0
  15. package/dist/add-SRHNKSJT.js +107 -0
  16. package/dist/ads-4LASBP4G.js +79 -0
  17. package/dist/ads-X33452HM.js +48 -0
  18. package/dist/advertisers-XO5EJXR5.js +123 -0
  19. package/dist/analytics-AZTZVHVA.js +447 -0
  20. package/dist/analytics-ED3NBGJJ.js +2437 -0
  21. package/dist/animate-OWXAT2RK.js +480 -0
  22. package/dist/assign-SIXEBHRW.js +80 -0
  23. package/dist/audience-size-ACNA4JIX.js +76 -0
  24. package/dist/audiences-3R574STZ.js +280 -0
  25. package/dist/audit-K5BEYW7G.js +154 -0
  26. package/dist/autocomplete-XIYI56SU.js +114 -0
  27. package/dist/avatars-C5CUPLIV.js +38 -0
  28. package/dist/bid-pricing-2UF6O2K6.js +103 -0
  29. package/dist/brand-ATWMTJFS.js +22 -0
  30. package/dist/brief-A65JXAER.js +543 -0
  31. package/dist/campaign-groups-F5C7C7NG.js +99 -0
  32. package/dist/campaign-writes-TNW7KKQQ.js +168 -0
  33. package/dist/campaign-writes-Z2J24SUZ.js +176 -0
  34. package/dist/campaigns-43OS6EUG.js +78 -0
  35. package/dist/campaigns-TQZXAMWE.js +111 -0
  36. package/dist/campaigns-XTNWM3VV.js +113 -0
  37. package/dist/canvas-UGO5IHCA.js +46 -0
  38. package/dist/capabilities-XHPLFYH2.js +147 -0
  39. package/dist/catalog-7LINLVVY.js +66 -0
  40. package/dist/catalogs-IR22RGZD.js +130 -0
  41. package/dist/changes-JAGWBHQC.js +143 -0
  42. package/dist/chatgpt-NE2RBMFK.js +47 -0
  43. package/dist/chats-QFZ4DGI7.js +449 -0
  44. package/dist/check-AEMZGF5G.js +107 -0
  45. package/dist/chunk-34JTMTPJ.js +224 -0
  46. package/dist/chunk-3C42N42Q.js +297 -0
  47. package/dist/chunk-3EUITH4J.js +638 -0
  48. package/dist/chunk-4IRJ5JXA.js +46 -0
  49. package/dist/chunk-4QGNRCSE.js +930 -0
  50. package/dist/chunk-4XFP43NH.js +142 -0
  51. package/dist/chunk-5EHSDRMJ.js +377 -0
  52. package/dist/chunk-5IFFPSEN.js +225 -0
  53. package/dist/chunk-64ALJ6TJ.js +274 -0
  54. package/dist/chunk-6KGMWAUL.js +494 -0
  55. package/dist/chunk-6OIKNJ7G.js +26 -0
  56. package/dist/chunk-6ZUGN27V.js +103 -0
  57. package/dist/chunk-7MWELLCN.js +51 -0
  58. package/dist/chunk-7UFV6H7J.js +167 -0
  59. package/dist/chunk-B3CDNANO.js +843 -0
  60. package/dist/chunk-B3LSWNUR.js +392 -0
  61. package/dist/chunk-BIHU5GCE.js +19 -0
  62. package/dist/chunk-BNI5DAB7.js +783 -0
  63. package/dist/chunk-CISE4DOX.js +89 -0
  64. package/dist/chunk-CVWYS7SE.js +191 -0
  65. package/dist/chunk-CXRS5YLB.js +150 -0
  66. package/dist/chunk-E5H7JIWB.js +3510 -0
  67. package/dist/chunk-EI6R7GKQ.js +275 -0
  68. package/dist/chunk-F3CZFUXZ.js +3187 -0
  69. package/dist/chunk-F3CZFUXZ.js.map +1 -0
  70. package/dist/chunk-F743MUNY.js +344 -0
  71. package/dist/chunk-FEVA2MNA.js +438 -0
  72. package/dist/chunk-FJXSVDWW.js +203 -0
  73. package/dist/chunk-G6J6AWTE.js +5471 -0
  74. package/dist/chunk-GCZK4BMB.js +5368 -0
  75. package/dist/chunk-GKIYKOJW.js +156 -0
  76. package/dist/chunk-GKMDBLTQ.js +7852 -0
  77. package/dist/chunk-GKMDBLTQ.js.map +1 -0
  78. package/dist/chunk-H4CLWLYF.js +4269 -0
  79. package/dist/chunk-H4CLWLYF.js.map +1 -0
  80. package/dist/chunk-H4OVNGUK.js +91 -0
  81. package/dist/chunk-HWOOMK5A.js +66 -0
  82. package/dist/chunk-IABSARSS.js +334 -0
  83. package/dist/chunk-IAOKMWUF.js +910 -0
  84. package/dist/chunk-ICEYCLRU.js +679 -0
  85. package/dist/chunk-JBNT444M.js +285 -0
  86. package/dist/chunk-K3HZVRBJ.js +8954 -0
  87. package/dist/chunk-KCZY5Y4E.js +61 -0
  88. package/dist/chunk-KTO2Y3DI.js +1646 -0
  89. package/dist/chunk-L7AJMZ6Z.js +24026 -0
  90. package/dist/chunk-L7AJMZ6Z.js.map +1 -0
  91. package/dist/chunk-LDFM37DM.js +148 -0
  92. package/dist/chunk-LHC6OHQ6.js +857 -0
  93. package/dist/chunk-LMSV7NQY.js +455 -0
  94. package/dist/chunk-LPDHNMOY.js +57 -0
  95. package/dist/chunk-METHLFNZ.js +63 -0
  96. package/dist/chunk-MI3HAKXY.js +170 -0
  97. package/dist/chunk-P6FMQHJJ.js +131 -0
  98. package/dist/chunk-PT73IEI6.js +479 -0
  99. package/dist/chunk-Q6LCL67T.js +1518 -0
  100. package/dist/chunk-RFGO4DHJ.js +2209 -0
  101. package/dist/chunk-RMTM22JO.js +685 -0
  102. package/dist/chunk-RQOSSYVH.js +718 -0
  103. package/dist/chunk-RQOSSYVH.js.map +1 -0
  104. package/dist/chunk-S2L2A2ZN.js +430 -0
  105. package/dist/chunk-SA3P64PQ.js +169 -0
  106. package/dist/chunk-SIKCVWM3.js +76 -0
  107. package/dist/chunk-SIOLRCLE.js +831 -0
  108. package/dist/chunk-TK6BXI5A.js +392 -0
  109. package/dist/chunk-V4UJERGL.js +64 -0
  110. package/dist/chunk-V6NFLQKX.js +207 -0
  111. package/dist/chunk-VISKG4IA.js +547 -0
  112. package/dist/chunk-WJ6KKTIU.js +23 -0
  113. package/dist/chunk-WPZTFSED.js +163 -0
  114. package/dist/chunk-X5UMVG4S.js +249 -0
  115. package/dist/chunk-X7ROPKZT.js +197 -0
  116. package/dist/chunk-XDJZH2JV.js +604 -0
  117. package/dist/chunk-XU6XQPNM.js +1919 -0
  118. package/dist/chunk-YKFGXS26.js +228 -0
  119. package/dist/chunk-YQB66YKJ.js +98 -0
  120. package/dist/chunk-YSTAPNQP.js +1902 -0
  121. package/dist/chunk-ZSLZOUGC.js +91 -0
  122. package/dist/claim-R6OG5IHM.js +200 -0
  123. package/dist/cli.js +34 -33
  124. package/dist/cli.js.map +1 -1
  125. package/dist/companies-M36P2XXN.js +198 -0
  126. package/dist/company-NQAS3QF6.js +308 -0
  127. package/dist/complete-FJHCHRYO.js +84 -0
  128. package/dist/connect-TEWDGN6C.js +45 -0
  129. package/dist/conversation-UC7PXJQ3.js +96 -0
  130. package/dist/conversion-report-R4KJI4VA.js +127 -0
  131. package/dist/conversion-upload-command-WCLWA27O.js +439 -0
  132. package/dist/conversion-writes-XIQEIDPS.js +122 -0
  133. package/dist/conversions-D7P3KVQK.js +140 -0
  134. package/dist/conversions-RMBQNW3T.js +78 -0
  135. package/dist/create-GMZHI4BK.js +62 -0
  136. package/dist/create-J2AICQFF.js +135 -0
  137. package/dist/create-RVR33UQM.js +239 -0
  138. package/dist/create-VXHOWOVI.js +210 -0
  139. package/dist/creatives-SLKM5XNE.js +223 -0
  140. package/dist/creatives-YMFRT6SE.js +58 -0
  141. package/dist/credentials-T3IID6QG.js +290 -0
  142. package/dist/critique-2Y53EQ3S.js +1451 -0
  143. package/dist/critique-SMLSUHY2.js +232 -0
  144. package/dist/crm-E35C36E3.js +323 -0
  145. package/dist/crm-TPV4H4KN.js +227 -0
  146. package/dist/currency-BY647ZB7.js +88 -0
  147. package/dist/customers-PH376T52.js +65 -0
  148. package/dist/delete-4MNN3QXP.js +67 -0
  149. package/dist/delete-7PEW3V6J.js +69 -0
  150. package/dist/delete-TRONZNM2.js +57 -0
  151. package/dist/demographics-EZXWOSZE.js +141 -0
  152. package/dist/discard-PHO5BKEZ.js +69 -0
  153. package/dist/discover-TAJUFO5R.js +172 -0
  154. package/dist/domain-7GNF7QHV.js +101 -0
  155. package/dist/download-A4EYH6VD.js +172 -0
  156. package/dist/draft-NQG5RBSF.js +220 -0
  157. package/dist/draft-PA3L7VG6.js +342 -0
  158. package/dist/draft-QQWTEXVT.js +313 -0
  159. package/dist/draft-RGSDXFFT.js +408 -0
  160. package/dist/draft-SKEGKHIK.js +288 -0
  161. package/dist/engine/index.js +8 -8
  162. package/dist/experiments-DEUWFSDQ.js +236 -0
  163. package/dist/facets-KWT2NAGR.js +117 -0
  164. package/dist/feedback-A56L3VWN.js +115 -0
  165. package/dist/feedback-O3BVHXJA.js +136 -0
  166. package/dist/feedback-O3BVHXJA.js.map +1 -0
  167. package/dist/feedback-record-FE4P5MKS.js +269 -0
  168. package/dist/fetch-M5U4E5IE.js +204 -0
  169. package/dist/fit-AYFRRDAN.js +65 -0
  170. package/dist/flows-QKR7JW6H.js +250 -0
  171. package/dist/fonts-RUHNGL7R.js +39 -0
  172. package/dist/forecast-V7IPL6EC.js +121 -0
  173. package/dist/forecast-VOND3WVO.js +169 -0
  174. package/dist/funnel-WNVS53CO.js +397 -0
  175. package/dist/generate-SW5KLHXG.js +263 -0
  176. package/dist/get-AJNPJIX6.js +59 -0
  177. package/dist/get-ZLRSDJM6.js +82 -0
  178. package/dist/google-VYARAUQH.js +3270 -0
  179. package/dist/google-ads-3PIHLIIF.js +198 -0
  180. package/dist/history-34E26WGP.js +153 -0
  181. package/dist/history-7DF5HFJT.js +69 -0
  182. package/dist/history-LWAKFSHW.js +102 -0
  183. package/dist/hubspot-HH7KVQU5.js +782 -0
  184. package/dist/ideas-VFZXVUFZ.js +45 -0
  185. package/dist/images-LB4E2F5I.js +92 -0
  186. package/dist/ingest-LRUKF3EK.js +27 -0
  187. package/dist/ingest-VZ77AODJ.js +123 -0
  188. package/dist/insights-YVV5MHPQ.js +132 -0
  189. package/dist/inspect-X6XU4CXL.js +192 -0
  190. package/dist/intent-GIAQDMHF.js +95 -0
  191. package/dist/keyword-gap-NZF75XGF.js +130 -0
  192. package/dist/keyword-metrics-P546E6KW.js +200 -0
  193. package/dist/keywords-for-site-AEFJ5BTU.js +131 -0
  194. package/dist/landing-RKO3LUST.js +28 -0
  195. package/dist/languages-GGNN7FEK.js +40 -0
  196. package/dist/leads-OVYF2EKX.js +115 -0
  197. package/dist/learn-UWJ24ZD5.js +207 -0
  198. package/dist/line-item-writes-46K4NKPJ.js +211 -0
  199. package/dist/line-items-YRSGOQFS.js +107 -0
  200. package/dist/link-XXRDZQFM.js +67 -0
  201. package/dist/linkedin-W4OWO6QA.js +1330 -0
  202. package/dist/linkedin-person-SQTWLIN5.js +139 -0
  203. package/dist/list-E6WPSAQK.js +154 -0
  204. package/dist/list-S34STWB3.js +306 -0
  205. package/dist/list-XERZMEWU.js +67 -0
  206. package/dist/locations-7RYEWKJO.js +69 -0
  207. package/dist/locations-BU4ZGWAS.js +40 -0
  208. package/dist/log-CDN4H2JY.js +95 -0
  209. package/dist/make-JE7V2RWR.js +1367 -0
  210. package/dist/map-SPSJ532D.js +436 -0
  211. package/dist/mcp-PBPHIS4Q.js +729 -0
  212. package/dist/media-sources-MZL4XML4.js +35 -0
  213. package/dist/members-RDNSONMW.js +47 -0
  214. package/dist/metrics-Z75Q2FHP.js +152 -0
  215. package/dist/models-X2IXXAD6.js +155 -0
  216. package/dist/normalize-4KL73UBE.js +144 -0
  217. package/dist/options-7MN5WH3J.js +125 -0
  218. package/dist/organization-NJT4G355.js +949 -0
  219. package/dist/performance-PG5T4D7M.js +27 -0
  220. package/dist/performance-SB2KLMTO.js +5565 -0
  221. package/dist/pixels-DBSPNHIE.js +62 -0
  222. package/dist/promoted-tweet-writes-PCWFF2EG.js +183 -0
  223. package/dist/promoted-tweets-ZSXREC4V.js +119 -0
  224. package/dist/publish-FIYZNQYO.js +344 -0
  225. package/dist/query-NMQKS4MY.js +62 -0
  226. package/dist/reddit-7WRZ5B3I.js +29 -0
  227. package/dist/refresh-IKHSUY3E.js +97 -0
  228. package/dist/release-JCKOGRTY.js +63 -0
  229. package/dist/relevant-pages-JRIDJL4L.js +99 -0
  230. package/dist/remove-KE63VJ3M.js +53 -0
  231. package/dist/reopen-4YSAVTOS.js +66 -0
  232. package/dist/rerun-K5SQ6GAQ.js +96 -0
  233. package/dist/research-OFHOHRFD.js +75 -0
  234. package/dist/research-ORXD6AV4.js +265 -0
  235. package/dist/reset-4CLSOD77.js +57 -0
  236. package/dist/reset-BN4FDUZB.js +57 -0
  237. package/dist/resolve-F6QVMQGX.js +124 -0
  238. package/dist/retry-JGAJF6CN.js +65 -0
  239. package/dist/retry-NJUIX2QT.js +63 -0
  240. package/dist/revenue-BYGHXTYJ.js +91 -0
  241. package/dist/rules-MWTPVJTK.js +99 -0
  242. package/dist/rules-add-3MJRAYXB.js +465 -0
  243. package/dist/run-CXD7RKYN.js +71 -0
  244. package/dist/run-NDJSLZNE.js +69 -0
  245. package/dist/scaffold-ad-2N7H7ACP.js +1513 -0
  246. package/dist/scaffold-static-ad-R7T766AD.js +1011 -0
  247. package/dist/scaffold-video-22HVSFRR.js +885 -0
  248. package/dist/schedule-ZEREUVXT.js +64 -0
  249. package/dist/scheduled-agents-5URJWW2E.js +55 -0
  250. package/dist/schema-NQ7DXUHX.js +135 -0
  251. package/dist/schema-U6GAKTQZ.js +121 -0
  252. package/dist/search-T5JFYDCZ.js +177 -0
  253. package/dist/select-SDFGLXMV.js +110 -0
  254. package/dist/set-prompt-JI5W6VPR.js +199 -0
  255. package/dist/setup-links-TOL7BFBE.js +144 -0
  256. package/dist/shopify-QXOGNIVU.js +3980 -0
  257. package/dist/site-NJDIUQY6.js +180 -0
  258. package/dist/sources-EMUT5MV7.js +457 -0
  259. package/dist/sources-M4IJL4H7.js +30 -0
  260. package/dist/stale-YYJNWLIE.js +90 -0
  261. package/dist/status-UZJGIDRI.js +65 -0
  262. package/dist/studio-OV2ZY5W3.js +49 -0
  263. package/dist/sync-T3E7SP7B.js +57 -0
  264. package/dist/sync-definition-TLY4FQKC.js +70 -0
  265. package/dist/tags-DPI3CAPB.js +23 -0
  266. package/dist/tags-DS3W4EDB.js +26 -0
  267. package/dist/tags-HSUBVXPJ.js +227 -0
  268. package/dist/tags-WP7W57FY.js +23 -0
  269. package/dist/tags-WWZFKW3Y.js +23 -0
  270. package/dist/targeting-criteria-PICDCHEV.js +113 -0
  271. package/dist/targets-WOMHJXY7.js +106 -0
  272. package/dist/testimonials-LDL66SSG.js +32 -0
  273. package/dist/themes-RRLYZ46U.js +95 -0
  274. package/dist/top-companies-RBRWAW27.js +111 -0
  275. package/dist/transcript-V6LZKOKQ.js +165 -0
  276. package/dist/translate-53TPL46A.js +603 -0
  277. package/dist/triggers-DDV73LZ4.js +144 -0
  278. package/dist/unlink-PLS3GA5V.js +70 -0
  279. package/dist/unstage-GSWMVEVP.js +88 -0
  280. package/dist/update-CIMCN33A.js +155 -0
  281. package/dist/update-KK7QO2KE.js +101 -0
  282. package/dist/update-X2H3GZ4I.js +192 -0
  283. package/dist/update-XNV6KHYK.js +66 -0
  284. package/dist/upload-OL2S2OSA.js +130 -0
  285. package/dist/url-options-2TQCGD2W.js +131 -0
  286. package/dist/url-params-QNSGNQ6N.js +101 -0
  287. package/dist/validate-KC3UA552.js +125 -0
  288. package/dist/videos-GBD36TD2.js +41 -0
  289. package/dist/viewer-check-LQUD2OYO.js +83 -0
  290. package/dist/web-K3L2BKAH.js +173 -0
  291. package/dist/winning-ads-X3VYALHK.js +86 -0
  292. package/dist/write-commands-XUOCRBME.js +1525 -0
  293. package/dist/x-65WPQWOP.js +47 -0
  294. package/package.json +1 -1
  295. package/dist/account-2HJ4GKHN.js +0 -82
  296. package/dist/account-MTMCQQYH.js +0 -82
  297. package/dist/account-reads-X36NPCX5.js +0 -219
  298. package/dist/account-users-FJ63HUJT.js +0 -64
  299. package/dist/account-writes-FZ3KCJZY.js +0 -68
  300. package/dist/accounts-PLZTPM52.js +0 -701
  301. package/dist/accounts-VYQINKID.js +0 -80
  302. package/dist/actions-NKCYYR7Q.js +0 -55
  303. package/dist/activecampaign-LQHDIHN5.js +0 -938
  304. package/dist/ad-group-writes-XGG3WQEO.js +0 -172
  305. package/dist/ad-groups-GZIPUN64.js +0 -70
  306. package/dist/ad-writes-2VTRWQLW.js +0 -176
  307. package/dist/add-6EHN5G6X.js +0 -107
  308. package/dist/add-HLBKTI3H.js +0 -305
  309. package/dist/ads-CWXQLZCC.js +0 -48
  310. package/dist/ads-LNWALF6G.js +0 -79
  311. package/dist/advertisers-YMIPR2QG.js +0 -123
  312. package/dist/analytics-37M6Z37U.js +0 -2437
  313. package/dist/analytics-6VAB2VYM.js +0 -447
  314. package/dist/animate-DM4OUJMR.js +0 -480
  315. package/dist/assign-V25HMGMU.js +0 -80
  316. package/dist/audience-size-FKNAK4QD.js +0 -76
  317. package/dist/audiences-7D5VPOWF.js +0 -280
  318. package/dist/audit-6VVUMMYL.js +0 -154
  319. package/dist/autocomplete-NETVGJRC.js +0 -114
  320. package/dist/avatars-HH4LOUA3.js +0 -38
  321. package/dist/bid-pricing-SCTUSHFI.js +0 -103
  322. package/dist/brand-FTPQYYDU.js +0 -22
  323. package/dist/brief-MCKNRSWM.js +0 -543
  324. package/dist/campaign-groups-ZNKBTXPV.js +0 -99
  325. package/dist/campaign-writes-5TWXZ44R.js +0 -168
  326. package/dist/campaign-writes-H22P6YPW.js +0 -176
  327. package/dist/campaigns-265JXD2Z.js +0 -78
  328. package/dist/campaigns-E64SHT67.js +0 -111
  329. package/dist/campaigns-GYNO5P22.js +0 -113
  330. package/dist/canvas-E4ZT2K7I.js +0 -46
  331. package/dist/capabilities-RVNBW4OL.js +0 -147
  332. package/dist/catalog-DPUQBZZ7.js +0 -66
  333. package/dist/catalogs-SBXFAD3X.js +0 -130
  334. package/dist/changes-HXVZUJMH.js +0 -143
  335. package/dist/chatgpt-UXJPCGZU.js +0 -47
  336. package/dist/chats-4SQSGOFC.js +0 -449
  337. package/dist/check-4WC2RLDR.js +0 -107
  338. package/dist/chunk-3I66ZQTI.js +0 -203
  339. package/dist/chunk-3SEXQVMX.js +0 -91
  340. package/dist/chunk-4D73PLXU.js +0 -843
  341. package/dist/chunk-4EGXO63N.js +0 -479
  342. package/dist/chunk-4S5ZAG4S.js +0 -63
  343. package/dist/chunk-5UEBOBLO.js +0 -170
  344. package/dist/chunk-6FLUNQHT.js +0 -91
  345. package/dist/chunk-6I7N2WYU.js +0 -19
  346. package/dist/chunk-6KWT3Z35.js +0 -103
  347. package/dist/chunk-AI2SKWZE.js +0 -197
  348. package/dist/chunk-ANV42DGJ.js +0 -455
  349. package/dist/chunk-AYEWXTSF.js +0 -392
  350. package/dist/chunk-CKIDKN6H.js +0 -191
  351. package/dist/chunk-D4NK7SPT.js +0 -930
  352. package/dist/chunk-DNZVBP2W.js +0 -61
  353. package/dist/chunk-DYTBVVQX.js +0 -679
  354. package/dist/chunk-EBWOLUII.js +0 -24026
  355. package/dist/chunk-EBWOLUII.js.map +0 -1
  356. package/dist/chunk-EH34RWKR.js +0 -604
  357. package/dist/chunk-EOMY5SUJ.js +0 -783
  358. package/dist/chunk-EQAEWL6A.js +0 -547
  359. package/dist/chunk-F5UU5PAE.js +0 -494
  360. package/dist/chunk-FVDC6AKZ.js +0 -150
  361. package/dist/chunk-G4VG6ZV3.js +0 -430
  362. package/dist/chunk-GEQUWPAX.js +0 -715
  363. package/dist/chunk-GEQUWPAX.js.map +0 -1
  364. package/dist/chunk-GN7K3NPI.js +0 -148
  365. package/dist/chunk-H6CS7VSO.js +0 -1902
  366. package/dist/chunk-HBDWE7WK.js +0 -98
  367. package/dist/chunk-I6JPTDKR.js +0 -377
  368. package/dist/chunk-IGIACW2B.js +0 -207
  369. package/dist/chunk-IRINY4B2.js +0 -2209
  370. package/dist/chunk-J4JY435Z.js +0 -438
  371. package/dist/chunk-JAC6JVCI.js +0 -26
  372. package/dist/chunk-JLLGXYOZ.js +0 -857
  373. package/dist/chunk-JY3OJBKZ.js +0 -3510
  374. package/dist/chunk-KIXVHP2C.js +0 -1919
  375. package/dist/chunk-LODEDXCD.js +0 -156
  376. package/dist/chunk-MCJ5I5LR.js +0 -3187
  377. package/dist/chunk-MCJ5I5LR.js.map +0 -1
  378. package/dist/chunk-MEK7SMWO.js +0 -685
  379. package/dist/chunk-MELSTI6W.js +0 -66
  380. package/dist/chunk-MSMTG6OC.js +0 -4269
  381. package/dist/chunk-MSMTG6OC.js.map +0 -1
  382. package/dist/chunk-MZPS46OR.js +0 -76
  383. package/dist/chunk-NBWZVBDG.js +0 -131
  384. package/dist/chunk-P3VY5JEM.js +0 -274
  385. package/dist/chunk-PXGR3VGW.js +0 -1646
  386. package/dist/chunk-QK3HMAVU.js +0 -5471
  387. package/dist/chunk-QYKZ3FVE.js +0 -51
  388. package/dist/chunk-RHEWQB5O.js +0 -638
  389. package/dist/chunk-RP36XHWT.js +0 -46
  390. package/dist/chunk-SNWFM2DB.js +0 -228
  391. package/dist/chunk-SWPJZJTY.js +0 -8954
  392. package/dist/chunk-SXYEIZND.js +0 -275
  393. package/dist/chunk-T62SKL4T.js +0 -831
  394. package/dist/chunk-T7SOINEA.js +0 -169
  395. package/dist/chunk-TARINRA4.js +0 -1518
  396. package/dist/chunk-TBIDT7FG.js +0 -392
  397. package/dist/chunk-TNHIYELA.js +0 -249
  398. package/dist/chunk-TNZUMU55.js +0 -167
  399. package/dist/chunk-UT77RVVU.js +0 -142
  400. package/dist/chunk-VOUCQ2YW.js +0 -64
  401. package/dist/chunk-VR2AF7I7.js +0 -7823
  402. package/dist/chunk-VR2AF7I7.js.map +0 -1
  403. package/dist/chunk-VVMRSEW6.js +0 -23
  404. package/dist/chunk-WFJ7KR5K.js +0 -163
  405. package/dist/chunk-WLA7CA4G.js +0 -297
  406. package/dist/chunk-WOE4TZHJ.js +0 -285
  407. package/dist/chunk-XJ2GXHU4.js +0 -57
  408. package/dist/chunk-XLG3SJ3K.js +0 -334
  409. package/dist/chunk-XYNQMRNX.js +0 -5368
  410. package/dist/chunk-YDGBWP3I.js +0 -89
  411. package/dist/chunk-Z4TWYYM3.js +0 -910
  412. package/dist/chunk-ZEUAJAKN.js +0 -225
  413. package/dist/chunk-ZKYJYBDR.js +0 -344
  414. package/dist/chunk-ZL43WZBX.js +0 -224
  415. package/dist/claim-G4MRH7Q7.js +0 -200
  416. package/dist/companies-TV5SX7IW.js +0 -198
  417. package/dist/company-W2N3H7AG.js +0 -308
  418. package/dist/complete-CTS2VDY5.js +0 -84
  419. package/dist/connect-64CFSYYE.js +0 -45
  420. package/dist/conversation-T57OY4L4.js +0 -96
  421. package/dist/conversion-report-RB2MU7UD.js +0 -127
  422. package/dist/conversion-upload-command-HFZYKVXA.js +0 -439
  423. package/dist/conversion-writes-56AIPXPK.js +0 -122
  424. package/dist/conversions-NRX76ZIT.js +0 -78
  425. package/dist/conversions-P75BZDDN.js +0 -140
  426. package/dist/create-2IFLWXCE.js +0 -135
  427. package/dist/create-2ZM3SAMX.js +0 -239
  428. package/dist/create-I6AVOYOS.js +0 -210
  429. package/dist/create-YKV66SQ6.js +0 -62
  430. package/dist/creatives-4HMWWE4O.js +0 -58
  431. package/dist/creatives-CSXTXOTD.js +0 -223
  432. package/dist/credentials-YQND7EIL.js +0 -290
  433. package/dist/critique-ABUU725C.js +0 -232
  434. package/dist/critique-EBQKUWBV.js +0 -1451
  435. package/dist/crm-4GXVHO4R.js +0 -323
  436. package/dist/crm-G2QOW4WY.js +0 -227
  437. package/dist/currency-CHBV6WIO.js +0 -88
  438. package/dist/customers-SNDSWS2C.js +0 -65
  439. package/dist/delete-AXECUWUU.js +0 -57
  440. package/dist/delete-WSWCPQ4R.js +0 -67
  441. package/dist/delete-YE3ZJKGK.js +0 -69
  442. package/dist/demographics-UPLQV4VW.js +0 -141
  443. package/dist/discard-D3SPLQP2.js +0 -69
  444. package/dist/discover-ZU2DAV23.js +0 -172
  445. package/dist/domain-OXNE56NK.js +0 -101
  446. package/dist/download-DGVEUXKX.js +0 -172
  447. package/dist/draft-2SMIRPNZ.js +0 -220
  448. package/dist/draft-2YTMB4YM.js +0 -313
  449. package/dist/draft-EWGNZUU4.js +0 -288
  450. package/dist/draft-L7EN5TZD.js +0 -342
  451. package/dist/draft-R7BNWMBR.js +0 -408
  452. package/dist/experiments-C3M65LMP.js +0 -236
  453. package/dist/facets-SGS4HDCM.js +0 -117
  454. package/dist/feedback-256D3HOY.js +0 -115
  455. package/dist/feedback-record-FDOIZ3HV.js +0 -269
  456. package/dist/fetch-EODKEOLX.js +0 -204
  457. package/dist/fit-VEUYZEG6.js +0 -65
  458. package/dist/flows-RCOWB5BY.js +0 -250
  459. package/dist/fonts-33UOE4X3.js +0 -39
  460. package/dist/forecast-372Q6KQZ.js +0 -169
  461. package/dist/forecast-I3WRFKQL.js +0 -121
  462. package/dist/funnel-MLPPNJQK.js +0 -397
  463. package/dist/generate-JQIK3UYS.js +0 -263
  464. package/dist/get-AOHHMPZC.js +0 -59
  465. package/dist/get-SORMH25W.js +0 -82
  466. package/dist/google-JHTOX6WM.js +0 -3270
  467. package/dist/google-ads-CNREZMRN.js +0 -198
  468. package/dist/history-D5UQTJ4H.js +0 -102
  469. package/dist/history-VNLS2TKB.js +0 -69
  470. package/dist/history-ZE7OQGDR.js +0 -153
  471. package/dist/hubspot-WGP36QI3.js +0 -782
  472. package/dist/ideas-4F5JG4UV.js +0 -45
  473. package/dist/images-Q5MZ75SL.js +0 -92
  474. package/dist/ingest-52X3B37O.js +0 -123
  475. package/dist/ingest-NXISET6E.js +0 -27
  476. package/dist/insights-XY6II7TX.js +0 -132
  477. package/dist/inspect-JD4WLZ57.js +0 -192
  478. package/dist/intent-5QUPPZNI.js +0 -95
  479. package/dist/keyword-gap-IG3EFLDH.js +0 -130
  480. package/dist/keyword-metrics-DDW4MSLX.js +0 -200
  481. package/dist/keywords-for-site-3UM6THUN.js +0 -131
  482. package/dist/landing-EAEMVCED.js +0 -28
  483. package/dist/languages-LNHWSCMT.js +0 -40
  484. package/dist/leads-MITJNZWB.js +0 -115
  485. package/dist/learn-VLUC2TXW.js +0 -207
  486. package/dist/line-item-writes-HLQYQ4KG.js +0 -211
  487. package/dist/line-items-64KIKPCB.js +0 -107
  488. package/dist/link-NNSG5YQ4.js +0 -67
  489. package/dist/linkedin-JYN5LGP2.js +0 -1330
  490. package/dist/linkedin-person-OPCUWPLI.js +0 -139
  491. package/dist/list-5U4Z3PWU.js +0 -306
  492. package/dist/list-7S4KTZNU.js +0 -154
  493. package/dist/list-VQQICPK3.js +0 -67
  494. package/dist/locations-64JNCQID.js +0 -69
  495. package/dist/locations-KVAAO7LD.js +0 -40
  496. package/dist/log-63ZVYC6L.js +0 -95
  497. package/dist/make-7ITIZUJI.js +0 -1367
  498. package/dist/map-MTR4V7KE.js +0 -436
  499. package/dist/mcp-HKMQLXBC.js +0 -729
  500. package/dist/media-sources-ZBSBTB4C.js +0 -35
  501. package/dist/members-MTRJ3ZRS.js +0 -47
  502. package/dist/metrics-MXGA3EFS.js +0 -152
  503. package/dist/models-Z6SUHWKI.js +0 -155
  504. package/dist/normalize-SAKXSFEX.js +0 -144
  505. package/dist/options-L7B3SDIX.js +0 -125
  506. package/dist/organization-FFRNHVC5.js +0 -949
  507. package/dist/performance-AJA7YGOO.js +0 -5565
  508. package/dist/performance-F72KFQU5.js +0 -27
  509. package/dist/pixels-H642RPK4.js +0 -62
  510. package/dist/promoted-tweet-writes-32RAOXQR.js +0 -183
  511. package/dist/promoted-tweets-KMLFRWDN.js +0 -119
  512. package/dist/publish-FOSPQ2BE.js +0 -344
  513. package/dist/query-FT2BA3WH.js +0 -62
  514. package/dist/reddit-5PYYZNBJ.js +0 -29
  515. package/dist/refresh-AOHTPXU4.js +0 -97
  516. package/dist/release-G2UKFAQY.js +0 -63
  517. package/dist/relevant-pages-OCHLUV5K.js +0 -99
  518. package/dist/remove-K5C2URJE.js +0 -53
  519. package/dist/reopen-PWROABUC.js +0 -66
  520. package/dist/rerun-CVJYCCNK.js +0 -96
  521. package/dist/research-KLWC3JBI.js +0 -75
  522. package/dist/research-Z3OJXOS4.js +0 -265
  523. package/dist/reset-3QL7IOHF.js +0 -57
  524. package/dist/reset-GPO4MCSM.js +0 -57
  525. package/dist/resolve-7SW7FZ7Q.js +0 -124
  526. package/dist/retry-HNCUDQ7S.js +0 -63
  527. package/dist/retry-NVMOGTZD.js +0 -65
  528. package/dist/revenue-HDJFYUEB.js +0 -91
  529. package/dist/rules-RYHWD4HA.js +0 -99
  530. package/dist/rules-add-EMDFBYDA.js +0 -465
  531. package/dist/run-2XRDPVHX.js +0 -71
  532. package/dist/run-PXHQKRY5.js +0 -69
  533. package/dist/scaffold-ad-RJAXMKOX.js +0 -1513
  534. package/dist/scaffold-static-ad-4HLSHPJI.js +0 -1011
  535. package/dist/scaffold-video-UH6OOIQW.js +0 -885
  536. package/dist/schedule-WT22OEBF.js +0 -64
  537. package/dist/scheduled-agents-BLIDNRFX.js +0 -55
  538. package/dist/schema-FUCZHUNV.js +0 -135
  539. package/dist/schema-NSXMRNWM.js +0 -121
  540. package/dist/search-S5O3L4KX.js +0 -177
  541. package/dist/select-ISIQXRPF.js +0 -110
  542. package/dist/set-prompt-MAQN5CYY.js +0 -199
  543. package/dist/setup-links-HANLAGD2.js +0 -144
  544. package/dist/shopify-PKWH7WXV.js +0 -3980
  545. package/dist/site-GADKB2RP.js +0 -180
  546. package/dist/sources-CA7JLF4P.js +0 -30
  547. package/dist/sources-HUXVRGDH.js +0 -457
  548. package/dist/stale-2A33KEE7.js +0 -90
  549. package/dist/status-5JTRE3OM.js +0 -65
  550. package/dist/studio-6ZXUKA4G.js +0 -49
  551. package/dist/sync-RJFMKM6D.js +0 -57
  552. package/dist/sync-definition-AKZUCLEV.js +0 -70
  553. package/dist/tags-B2EXVMNS.js +0 -23
  554. package/dist/tags-JUIKSERD.js +0 -227
  555. package/dist/tags-LP6I7GY4.js +0 -26
  556. package/dist/tags-UHD43CAG.js +0 -23
  557. package/dist/tags-WJFCPOP7.js +0 -23
  558. package/dist/targeting-criteria-2LKBD5IH.js +0 -113
  559. package/dist/targets-O5JYFOCY.js +0 -106
  560. package/dist/testimonials-P63TKNJ2.js +0 -32
  561. package/dist/themes-R3A6IVQN.js +0 -95
  562. package/dist/top-companies-F7DUMWXA.js +0 -111
  563. package/dist/transcript-4RFSQA5U.js +0 -165
  564. package/dist/translate-WOJFJRAC.js +0 -603
  565. package/dist/triggers-4MHFN3VV.js +0 -144
  566. package/dist/unlink-5AXBQOIL.js +0 -70
  567. package/dist/unstage-SIBXT25Y.js +0 -88
  568. package/dist/update-4BDOO53L.js +0 -101
  569. package/dist/update-NNEMJQ4D.js +0 -155
  570. package/dist/update-O76YSKXB.js +0 -192
  571. package/dist/update-YS4QI2KP.js +0 -66
  572. package/dist/upload-XVV3HQ5W.js +0 -130
  573. package/dist/url-options-YZ6UG3NY.js +0 -131
  574. package/dist/url-params-XL5URMTG.js +0 -101
  575. package/dist/validate-42Q7X2KK.js +0 -125
  576. package/dist/videos-HMKEY5WY.js +0 -41
  577. package/dist/viewer-check-4XFEWEH3.js +0 -83
  578. package/dist/web-PYG3AOYS.js +0 -173
  579. package/dist/winning-ads-74BKOBVN.js +0 -86
  580. package/dist/write-commands-43GTQIR6.js +0 -1525
  581. package/dist/x-6WSV55RN.js +0 -47
  582. /package/dist/{account-2HJ4GKHN.js.map → account-IG3U6UXZ.js.map} +0 -0
  583. /package/dist/{account-MTMCQQYH.js.map → account-JCQYOGJD.js.map} +0 -0
  584. /package/dist/{account-reads-X36NPCX5.js.map → account-reads-LOCJMS35.js.map} +0 -0
  585. /package/dist/{account-users-FJ63HUJT.js.map → account-users-AZPQPHD3.js.map} +0 -0
  586. /package/dist/{account-writes-FZ3KCJZY.js.map → account-writes-BSSKSTZ2.js.map} +0 -0
  587. /package/dist/{accounts-VYQINKID.js.map → accounts-2PZV6VRS.js.map} +0 -0
  588. /package/dist/{accounts-PLZTPM52.js.map → accounts-5I6USVT7.js.map} +0 -0
  589. /package/dist/{actions-NKCYYR7Q.js.map → actions-TSNXITQM.js.map} +0 -0
  590. /package/dist/{activecampaign-LQHDIHN5.js.map → activecampaign-2RKR6P74.js.map} +0 -0
  591. /package/dist/{ad-group-writes-XGG3WQEO.js.map → ad-group-writes-KMB3OMJG.js.map} +0 -0
  592. /package/dist/{ad-groups-GZIPUN64.js.map → ad-groups-E67CNQS4.js.map} +0 -0
  593. /package/dist/{ad-writes-2VTRWQLW.js.map → ad-writes-FNMKNFUN.js.map} +0 -0
  594. /package/dist/{add-HLBKTI3H.js.map → add-ENUFKN5V.js.map} +0 -0
  595. /package/dist/{add-6EHN5G6X.js.map → add-SRHNKSJT.js.map} +0 -0
  596. /package/dist/{ads-LNWALF6G.js.map → ads-4LASBP4G.js.map} +0 -0
  597. /package/dist/{ads-CWXQLZCC.js.map → ads-X33452HM.js.map} +0 -0
  598. /package/dist/{advertisers-YMIPR2QG.js.map → advertisers-XO5EJXR5.js.map} +0 -0
  599. /package/dist/{analytics-6VAB2VYM.js.map → analytics-AZTZVHVA.js.map} +0 -0
  600. /package/dist/{analytics-37M6Z37U.js.map → analytics-ED3NBGJJ.js.map} +0 -0
  601. /package/dist/{animate-DM4OUJMR.js.map → animate-OWXAT2RK.js.map} +0 -0
  602. /package/dist/{assign-V25HMGMU.js.map → assign-SIXEBHRW.js.map} +0 -0
  603. /package/dist/{audience-size-FKNAK4QD.js.map → audience-size-ACNA4JIX.js.map} +0 -0
  604. /package/dist/{audiences-7D5VPOWF.js.map → audiences-3R574STZ.js.map} +0 -0
  605. /package/dist/{audit-6VVUMMYL.js.map → audit-K5BEYW7G.js.map} +0 -0
  606. /package/dist/{autocomplete-NETVGJRC.js.map → autocomplete-XIYI56SU.js.map} +0 -0
  607. /package/dist/{avatars-HH4LOUA3.js.map → avatars-C5CUPLIV.js.map} +0 -0
  608. /package/dist/{bid-pricing-SCTUSHFI.js.map → bid-pricing-2UF6O2K6.js.map} +0 -0
  609. /package/dist/{brand-FTPQYYDU.js.map → brand-ATWMTJFS.js.map} +0 -0
  610. /package/dist/{brief-MCKNRSWM.js.map → brief-A65JXAER.js.map} +0 -0
  611. /package/dist/{campaign-groups-ZNKBTXPV.js.map → campaign-groups-F5C7C7NG.js.map} +0 -0
  612. /package/dist/{campaign-writes-5TWXZ44R.js.map → campaign-writes-TNW7KKQQ.js.map} +0 -0
  613. /package/dist/{campaign-writes-H22P6YPW.js.map → campaign-writes-Z2J24SUZ.js.map} +0 -0
  614. /package/dist/{campaigns-265JXD2Z.js.map → campaigns-43OS6EUG.js.map} +0 -0
  615. /package/dist/{campaigns-E64SHT67.js.map → campaigns-TQZXAMWE.js.map} +0 -0
  616. /package/dist/{campaigns-GYNO5P22.js.map → campaigns-XTNWM3VV.js.map} +0 -0
  617. /package/dist/{canvas-E4ZT2K7I.js.map → canvas-UGO5IHCA.js.map} +0 -0
  618. /package/dist/{capabilities-RVNBW4OL.js.map → capabilities-XHPLFYH2.js.map} +0 -0
  619. /package/dist/{catalog-DPUQBZZ7.js.map → catalog-7LINLVVY.js.map} +0 -0
  620. /package/dist/{catalogs-SBXFAD3X.js.map → catalogs-IR22RGZD.js.map} +0 -0
  621. /package/dist/{changes-HXVZUJMH.js.map → changes-JAGWBHQC.js.map} +0 -0
  622. /package/dist/{chatgpt-UXJPCGZU.js.map → chatgpt-NE2RBMFK.js.map} +0 -0
  623. /package/dist/{chats-4SQSGOFC.js.map → chats-QFZ4DGI7.js.map} +0 -0
  624. /package/dist/{check-4WC2RLDR.js.map → check-AEMZGF5G.js.map} +0 -0
  625. /package/dist/{chunk-ZL43WZBX.js.map → chunk-34JTMTPJ.js.map} +0 -0
  626. /package/dist/{chunk-WLA7CA4G.js.map → chunk-3C42N42Q.js.map} +0 -0
  627. /package/dist/{chunk-RHEWQB5O.js.map → chunk-3EUITH4J.js.map} +0 -0
  628. /package/dist/{chunk-RP36XHWT.js.map → chunk-4IRJ5JXA.js.map} +0 -0
  629. /package/dist/{chunk-D4NK7SPT.js.map → chunk-4QGNRCSE.js.map} +0 -0
  630. /package/dist/{chunk-UT77RVVU.js.map → chunk-4XFP43NH.js.map} +0 -0
  631. /package/dist/{chunk-I6JPTDKR.js.map → chunk-5EHSDRMJ.js.map} +0 -0
  632. /package/dist/{chunk-ZEUAJAKN.js.map → chunk-5IFFPSEN.js.map} +0 -0
  633. /package/dist/{chunk-P3VY5JEM.js.map → chunk-64ALJ6TJ.js.map} +0 -0
  634. /package/dist/{chunk-F5UU5PAE.js.map → chunk-6KGMWAUL.js.map} +0 -0
  635. /package/dist/{chunk-JAC6JVCI.js.map → chunk-6OIKNJ7G.js.map} +0 -0
  636. /package/dist/{chunk-6KWT3Z35.js.map → chunk-6ZUGN27V.js.map} +0 -0
  637. /package/dist/{chunk-QYKZ3FVE.js.map → chunk-7MWELLCN.js.map} +0 -0
  638. /package/dist/{chunk-TNZUMU55.js.map → chunk-7UFV6H7J.js.map} +0 -0
  639. /package/dist/{chunk-4D73PLXU.js.map → chunk-B3CDNANO.js.map} +0 -0
  640. /package/dist/{chunk-AYEWXTSF.js.map → chunk-B3LSWNUR.js.map} +0 -0
  641. /package/dist/{chunk-6I7N2WYU.js.map → chunk-BIHU5GCE.js.map} +0 -0
  642. /package/dist/{chunk-EOMY5SUJ.js.map → chunk-BNI5DAB7.js.map} +0 -0
  643. /package/dist/{chunk-YDGBWP3I.js.map → chunk-CISE4DOX.js.map} +0 -0
  644. /package/dist/{chunk-CKIDKN6H.js.map → chunk-CVWYS7SE.js.map} +0 -0
  645. /package/dist/{chunk-FVDC6AKZ.js.map → chunk-CXRS5YLB.js.map} +0 -0
  646. /package/dist/{chunk-JY3OJBKZ.js.map → chunk-E5H7JIWB.js.map} +0 -0
  647. /package/dist/{chunk-SXYEIZND.js.map → chunk-EI6R7GKQ.js.map} +0 -0
  648. /package/dist/{chunk-ZKYJYBDR.js.map → chunk-F743MUNY.js.map} +0 -0
  649. /package/dist/{chunk-J4JY435Z.js.map → chunk-FEVA2MNA.js.map} +0 -0
  650. /package/dist/{chunk-3I66ZQTI.js.map → chunk-FJXSVDWW.js.map} +0 -0
  651. /package/dist/{chunk-QK3HMAVU.js.map → chunk-G6J6AWTE.js.map} +0 -0
  652. /package/dist/{chunk-XYNQMRNX.js.map → chunk-GCZK4BMB.js.map} +0 -0
  653. /package/dist/{chunk-LODEDXCD.js.map → chunk-GKIYKOJW.js.map} +0 -0
  654. /package/dist/{chunk-3SEXQVMX.js.map → chunk-H4OVNGUK.js.map} +0 -0
  655. /package/dist/{chunk-MELSTI6W.js.map → chunk-HWOOMK5A.js.map} +0 -0
  656. /package/dist/{chunk-XLG3SJ3K.js.map → chunk-IABSARSS.js.map} +0 -0
  657. /package/dist/{chunk-Z4TWYYM3.js.map → chunk-IAOKMWUF.js.map} +0 -0
  658. /package/dist/{chunk-DYTBVVQX.js.map → chunk-ICEYCLRU.js.map} +0 -0
  659. /package/dist/{chunk-WOE4TZHJ.js.map → chunk-JBNT444M.js.map} +0 -0
  660. /package/dist/{chunk-SWPJZJTY.js.map → chunk-K3HZVRBJ.js.map} +0 -0
  661. /package/dist/{chunk-DNZVBP2W.js.map → chunk-KCZY5Y4E.js.map} +0 -0
  662. /package/dist/{chunk-PXGR3VGW.js.map → chunk-KTO2Y3DI.js.map} +0 -0
  663. /package/dist/{chunk-GN7K3NPI.js.map → chunk-LDFM37DM.js.map} +0 -0
  664. /package/dist/{chunk-JLLGXYOZ.js.map → chunk-LHC6OHQ6.js.map} +0 -0
  665. /package/dist/{chunk-ANV42DGJ.js.map → chunk-LMSV7NQY.js.map} +0 -0
  666. /package/dist/{chunk-XJ2GXHU4.js.map → chunk-LPDHNMOY.js.map} +0 -0
  667. /package/dist/{chunk-4S5ZAG4S.js.map → chunk-METHLFNZ.js.map} +0 -0
  668. /package/dist/{chunk-5UEBOBLO.js.map → chunk-MI3HAKXY.js.map} +0 -0
  669. /package/dist/{chunk-NBWZVBDG.js.map → chunk-P6FMQHJJ.js.map} +0 -0
  670. /package/dist/{chunk-4EGXO63N.js.map → chunk-PT73IEI6.js.map} +0 -0
  671. /package/dist/{chunk-TARINRA4.js.map → chunk-Q6LCL67T.js.map} +0 -0
  672. /package/dist/{chunk-IRINY4B2.js.map → chunk-RFGO4DHJ.js.map} +0 -0
  673. /package/dist/{chunk-MEK7SMWO.js.map → chunk-RMTM22JO.js.map} +0 -0
  674. /package/dist/{chunk-G4VG6ZV3.js.map → chunk-S2L2A2ZN.js.map} +0 -0
  675. /package/dist/{chunk-T7SOINEA.js.map → chunk-SA3P64PQ.js.map} +0 -0
  676. /package/dist/{chunk-MZPS46OR.js.map → chunk-SIKCVWM3.js.map} +0 -0
  677. /package/dist/{chunk-T62SKL4T.js.map → chunk-SIOLRCLE.js.map} +0 -0
  678. /package/dist/{chunk-TBIDT7FG.js.map → chunk-TK6BXI5A.js.map} +0 -0
  679. /package/dist/{chunk-VOUCQ2YW.js.map → chunk-V4UJERGL.js.map} +0 -0
  680. /package/dist/{chunk-IGIACW2B.js.map → chunk-V6NFLQKX.js.map} +0 -0
  681. /package/dist/{chunk-EQAEWL6A.js.map → chunk-VISKG4IA.js.map} +0 -0
  682. /package/dist/{chunk-VVMRSEW6.js.map → chunk-WJ6KKTIU.js.map} +0 -0
  683. /package/dist/{chunk-WFJ7KR5K.js.map → chunk-WPZTFSED.js.map} +0 -0
  684. /package/dist/{chunk-TNHIYELA.js.map → chunk-X5UMVG4S.js.map} +0 -0
  685. /package/dist/{chunk-AI2SKWZE.js.map → chunk-X7ROPKZT.js.map} +0 -0
  686. /package/dist/{chunk-EH34RWKR.js.map → chunk-XDJZH2JV.js.map} +0 -0
  687. /package/dist/{chunk-KIXVHP2C.js.map → chunk-XU6XQPNM.js.map} +0 -0
  688. /package/dist/{chunk-SNWFM2DB.js.map → chunk-YKFGXS26.js.map} +0 -0
  689. /package/dist/{chunk-HBDWE7WK.js.map → chunk-YQB66YKJ.js.map} +0 -0
  690. /package/dist/{chunk-H6CS7VSO.js.map → chunk-YSTAPNQP.js.map} +0 -0
  691. /package/dist/{chunk-6FLUNQHT.js.map → chunk-ZSLZOUGC.js.map} +0 -0
  692. /package/dist/{claim-G4MRH7Q7.js.map → claim-R6OG5IHM.js.map} +0 -0
  693. /package/dist/{companies-TV5SX7IW.js.map → companies-M36P2XXN.js.map} +0 -0
  694. /package/dist/{company-W2N3H7AG.js.map → company-NQAS3QF6.js.map} +0 -0
  695. /package/dist/{complete-CTS2VDY5.js.map → complete-FJHCHRYO.js.map} +0 -0
  696. /package/dist/{connect-64CFSYYE.js.map → connect-TEWDGN6C.js.map} +0 -0
  697. /package/dist/{conversation-T57OY4L4.js.map → conversation-UC7PXJQ3.js.map} +0 -0
  698. /package/dist/{conversion-report-RB2MU7UD.js.map → conversion-report-R4KJI4VA.js.map} +0 -0
  699. /package/dist/{conversion-upload-command-HFZYKVXA.js.map → conversion-upload-command-WCLWA27O.js.map} +0 -0
  700. /package/dist/{conversion-writes-56AIPXPK.js.map → conversion-writes-XIQEIDPS.js.map} +0 -0
  701. /package/dist/{conversions-P75BZDDN.js.map → conversions-D7P3KVQK.js.map} +0 -0
  702. /package/dist/{conversions-NRX76ZIT.js.map → conversions-RMBQNW3T.js.map} +0 -0
  703. /package/dist/{create-YKV66SQ6.js.map → create-GMZHI4BK.js.map} +0 -0
  704. /package/dist/{create-2IFLWXCE.js.map → create-J2AICQFF.js.map} +0 -0
  705. /package/dist/{create-2ZM3SAMX.js.map → create-RVR33UQM.js.map} +0 -0
  706. /package/dist/{create-I6AVOYOS.js.map → create-VXHOWOVI.js.map} +0 -0
  707. /package/dist/{creatives-CSXTXOTD.js.map → creatives-SLKM5XNE.js.map} +0 -0
  708. /package/dist/{creatives-4HMWWE4O.js.map → creatives-YMFRT6SE.js.map} +0 -0
  709. /package/dist/{credentials-YQND7EIL.js.map → credentials-T3IID6QG.js.map} +0 -0
  710. /package/dist/{critique-EBQKUWBV.js.map → critique-2Y53EQ3S.js.map} +0 -0
  711. /package/dist/{critique-ABUU725C.js.map → critique-SMLSUHY2.js.map} +0 -0
  712. /package/dist/{crm-4GXVHO4R.js.map → crm-E35C36E3.js.map} +0 -0
  713. /package/dist/{crm-G2QOW4WY.js.map → crm-TPV4H4KN.js.map} +0 -0
  714. /package/dist/{currency-CHBV6WIO.js.map → currency-BY647ZB7.js.map} +0 -0
  715. /package/dist/{customers-SNDSWS2C.js.map → customers-PH376T52.js.map} +0 -0
  716. /package/dist/{delete-WSWCPQ4R.js.map → delete-4MNN3QXP.js.map} +0 -0
  717. /package/dist/{delete-YE3ZJKGK.js.map → delete-7PEW3V6J.js.map} +0 -0
  718. /package/dist/{delete-AXECUWUU.js.map → delete-TRONZNM2.js.map} +0 -0
  719. /package/dist/{demographics-UPLQV4VW.js.map → demographics-EZXWOSZE.js.map} +0 -0
  720. /package/dist/{discard-D3SPLQP2.js.map → discard-PHO5BKEZ.js.map} +0 -0
  721. /package/dist/{discover-ZU2DAV23.js.map → discover-TAJUFO5R.js.map} +0 -0
  722. /package/dist/{domain-OXNE56NK.js.map → domain-7GNF7QHV.js.map} +0 -0
  723. /package/dist/{download-DGVEUXKX.js.map → download-A4EYH6VD.js.map} +0 -0
  724. /package/dist/{draft-2SMIRPNZ.js.map → draft-NQG5RBSF.js.map} +0 -0
  725. /package/dist/{draft-L7EN5TZD.js.map → draft-PA3L7VG6.js.map} +0 -0
  726. /package/dist/{draft-2YTMB4YM.js.map → draft-QQWTEXVT.js.map} +0 -0
  727. /package/dist/{draft-R7BNWMBR.js.map → draft-RGSDXFFT.js.map} +0 -0
  728. /package/dist/{draft-EWGNZUU4.js.map → draft-SKEGKHIK.js.map} +0 -0
  729. /package/dist/{experiments-C3M65LMP.js.map → experiments-DEUWFSDQ.js.map} +0 -0
  730. /package/dist/{facets-SGS4HDCM.js.map → facets-KWT2NAGR.js.map} +0 -0
  731. /package/dist/{feedback-256D3HOY.js.map → feedback-A56L3VWN.js.map} +0 -0
  732. /package/dist/{feedback-record-FDOIZ3HV.js.map → feedback-record-FE4P5MKS.js.map} +0 -0
  733. /package/dist/{fetch-EODKEOLX.js.map → fetch-M5U4E5IE.js.map} +0 -0
  734. /package/dist/{fit-VEUYZEG6.js.map → fit-AYFRRDAN.js.map} +0 -0
  735. /package/dist/{flows-RCOWB5BY.js.map → flows-QKR7JW6H.js.map} +0 -0
  736. /package/dist/{fonts-33UOE4X3.js.map → fonts-RUHNGL7R.js.map} +0 -0
  737. /package/dist/{forecast-I3WRFKQL.js.map → forecast-V7IPL6EC.js.map} +0 -0
  738. /package/dist/{forecast-372Q6KQZ.js.map → forecast-VOND3WVO.js.map} +0 -0
  739. /package/dist/{funnel-MLPPNJQK.js.map → funnel-WNVS53CO.js.map} +0 -0
  740. /package/dist/{generate-JQIK3UYS.js.map → generate-SW5KLHXG.js.map} +0 -0
  741. /package/dist/{get-AOHHMPZC.js.map → get-AJNPJIX6.js.map} +0 -0
  742. /package/dist/{get-SORMH25W.js.map → get-ZLRSDJM6.js.map} +0 -0
  743. /package/dist/{google-JHTOX6WM.js.map → google-VYARAUQH.js.map} +0 -0
  744. /package/dist/{google-ads-CNREZMRN.js.map → google-ads-3PIHLIIF.js.map} +0 -0
  745. /package/dist/{history-ZE7OQGDR.js.map → history-34E26WGP.js.map} +0 -0
  746. /package/dist/{history-VNLS2TKB.js.map → history-7DF5HFJT.js.map} +0 -0
  747. /package/dist/{history-D5UQTJ4H.js.map → history-LWAKFSHW.js.map} +0 -0
  748. /package/dist/{hubspot-WGP36QI3.js.map → hubspot-HH7KVQU5.js.map} +0 -0
  749. /package/dist/{ideas-4F5JG4UV.js.map → ideas-VFZXVUFZ.js.map} +0 -0
  750. /package/dist/{images-Q5MZ75SL.js.map → images-LB4E2F5I.js.map} +0 -0
  751. /package/dist/{ingest-NXISET6E.js.map → ingest-LRUKF3EK.js.map} +0 -0
  752. /package/dist/{ingest-52X3B37O.js.map → ingest-VZ77AODJ.js.map} +0 -0
  753. /package/dist/{insights-XY6II7TX.js.map → insights-YVV5MHPQ.js.map} +0 -0
  754. /package/dist/{inspect-JD4WLZ57.js.map → inspect-X6XU4CXL.js.map} +0 -0
  755. /package/dist/{intent-5QUPPZNI.js.map → intent-GIAQDMHF.js.map} +0 -0
  756. /package/dist/{keyword-gap-IG3EFLDH.js.map → keyword-gap-NZF75XGF.js.map} +0 -0
  757. /package/dist/{keyword-metrics-DDW4MSLX.js.map → keyword-metrics-P546E6KW.js.map} +0 -0
  758. /package/dist/{keywords-for-site-3UM6THUN.js.map → keywords-for-site-AEFJ5BTU.js.map} +0 -0
  759. /package/dist/{landing-EAEMVCED.js.map → landing-RKO3LUST.js.map} +0 -0
  760. /package/dist/{languages-LNHWSCMT.js.map → languages-GGNN7FEK.js.map} +0 -0
  761. /package/dist/{leads-MITJNZWB.js.map → leads-OVYF2EKX.js.map} +0 -0
  762. /package/dist/{learn-VLUC2TXW.js.map → learn-UWJ24ZD5.js.map} +0 -0
  763. /package/dist/{line-item-writes-HLQYQ4KG.js.map → line-item-writes-46K4NKPJ.js.map} +0 -0
  764. /package/dist/{line-items-64KIKPCB.js.map → line-items-YRSGOQFS.js.map} +0 -0
  765. /package/dist/{link-NNSG5YQ4.js.map → link-XXRDZQFM.js.map} +0 -0
  766. /package/dist/{linkedin-JYN5LGP2.js.map → linkedin-W4OWO6QA.js.map} +0 -0
  767. /package/dist/{linkedin-person-OPCUWPLI.js.map → linkedin-person-SQTWLIN5.js.map} +0 -0
  768. /package/dist/{list-7S4KTZNU.js.map → list-E6WPSAQK.js.map} +0 -0
  769. /package/dist/{list-5U4Z3PWU.js.map → list-S34STWB3.js.map} +0 -0
  770. /package/dist/{list-VQQICPK3.js.map → list-XERZMEWU.js.map} +0 -0
  771. /package/dist/{locations-64JNCQID.js.map → locations-7RYEWKJO.js.map} +0 -0
  772. /package/dist/{locations-KVAAO7LD.js.map → locations-BU4ZGWAS.js.map} +0 -0
  773. /package/dist/{log-63ZVYC6L.js.map → log-CDN4H2JY.js.map} +0 -0
  774. /package/dist/{make-7ITIZUJI.js.map → make-JE7V2RWR.js.map} +0 -0
  775. /package/dist/{map-MTR4V7KE.js.map → map-SPSJ532D.js.map} +0 -0
  776. /package/dist/{mcp-HKMQLXBC.js.map → mcp-PBPHIS4Q.js.map} +0 -0
  777. /package/dist/{media-sources-ZBSBTB4C.js.map → media-sources-MZL4XML4.js.map} +0 -0
  778. /package/dist/{members-MTRJ3ZRS.js.map → members-RDNSONMW.js.map} +0 -0
  779. /package/dist/{metrics-MXGA3EFS.js.map → metrics-Z75Q2FHP.js.map} +0 -0
  780. /package/dist/{models-Z6SUHWKI.js.map → models-X2IXXAD6.js.map} +0 -0
  781. /package/dist/{normalize-SAKXSFEX.js.map → normalize-4KL73UBE.js.map} +0 -0
  782. /package/dist/{options-L7B3SDIX.js.map → options-7MN5WH3J.js.map} +0 -0
  783. /package/dist/{organization-FFRNHVC5.js.map → organization-NJT4G355.js.map} +0 -0
  784. /package/dist/{performance-F72KFQU5.js.map → performance-PG5T4D7M.js.map} +0 -0
  785. /package/dist/{performance-AJA7YGOO.js.map → performance-SB2KLMTO.js.map} +0 -0
  786. /package/dist/{pixels-H642RPK4.js.map → pixels-DBSPNHIE.js.map} +0 -0
  787. /package/dist/{promoted-tweet-writes-32RAOXQR.js.map → promoted-tweet-writes-PCWFF2EG.js.map} +0 -0
  788. /package/dist/{promoted-tweets-KMLFRWDN.js.map → promoted-tweets-ZSXREC4V.js.map} +0 -0
  789. /package/dist/{publish-FOSPQ2BE.js.map → publish-FIYZNQYO.js.map} +0 -0
  790. /package/dist/{query-FT2BA3WH.js.map → query-NMQKS4MY.js.map} +0 -0
  791. /package/dist/{reddit-5PYYZNBJ.js.map → reddit-7WRZ5B3I.js.map} +0 -0
  792. /package/dist/{refresh-AOHTPXU4.js.map → refresh-IKHSUY3E.js.map} +0 -0
  793. /package/dist/{release-G2UKFAQY.js.map → release-JCKOGRTY.js.map} +0 -0
  794. /package/dist/{relevant-pages-OCHLUV5K.js.map → relevant-pages-JRIDJL4L.js.map} +0 -0
  795. /package/dist/{remove-K5C2URJE.js.map → remove-KE63VJ3M.js.map} +0 -0
  796. /package/dist/{reopen-PWROABUC.js.map → reopen-4YSAVTOS.js.map} +0 -0
  797. /package/dist/{rerun-CVJYCCNK.js.map → rerun-K5SQ6GAQ.js.map} +0 -0
  798. /package/dist/{research-KLWC3JBI.js.map → research-OFHOHRFD.js.map} +0 -0
  799. /package/dist/{research-Z3OJXOS4.js.map → research-ORXD6AV4.js.map} +0 -0
  800. /package/dist/{reset-GPO4MCSM.js.map → reset-4CLSOD77.js.map} +0 -0
  801. /package/dist/{reset-3QL7IOHF.js.map → reset-BN4FDUZB.js.map} +0 -0
  802. /package/dist/{resolve-7SW7FZ7Q.js.map → resolve-F6QVMQGX.js.map} +0 -0
  803. /package/dist/{retry-NVMOGTZD.js.map → retry-JGAJF6CN.js.map} +0 -0
  804. /package/dist/{retry-HNCUDQ7S.js.map → retry-NJUIX2QT.js.map} +0 -0
  805. /package/dist/{revenue-HDJFYUEB.js.map → revenue-BYGHXTYJ.js.map} +0 -0
  806. /package/dist/{rules-RYHWD4HA.js.map → rules-MWTPVJTK.js.map} +0 -0
  807. /package/dist/{rules-add-EMDFBYDA.js.map → rules-add-3MJRAYXB.js.map} +0 -0
  808. /package/dist/{run-2XRDPVHX.js.map → run-CXD7RKYN.js.map} +0 -0
  809. /package/dist/{run-PXHQKRY5.js.map → run-NDJSLZNE.js.map} +0 -0
  810. /package/dist/{scaffold-ad-RJAXMKOX.js.map → scaffold-ad-2N7H7ACP.js.map} +0 -0
  811. /package/dist/{scaffold-static-ad-4HLSHPJI.js.map → scaffold-static-ad-R7T766AD.js.map} +0 -0
  812. /package/dist/{scaffold-video-UH6OOIQW.js.map → scaffold-video-22HVSFRR.js.map} +0 -0
  813. /package/dist/{schedule-WT22OEBF.js.map → schedule-ZEREUVXT.js.map} +0 -0
  814. /package/dist/{scheduled-agents-BLIDNRFX.js.map → scheduled-agents-5URJWW2E.js.map} +0 -0
  815. /package/dist/{schema-FUCZHUNV.js.map → schema-NQ7DXUHX.js.map} +0 -0
  816. /package/dist/{schema-NSXMRNWM.js.map → schema-U6GAKTQZ.js.map} +0 -0
  817. /package/dist/{search-S5O3L4KX.js.map → search-T5JFYDCZ.js.map} +0 -0
  818. /package/dist/{select-ISIQXRPF.js.map → select-SDFGLXMV.js.map} +0 -0
  819. /package/dist/{set-prompt-MAQN5CYY.js.map → set-prompt-JI5W6VPR.js.map} +0 -0
  820. /package/dist/{setup-links-HANLAGD2.js.map → setup-links-TOL7BFBE.js.map} +0 -0
  821. /package/dist/{shopify-PKWH7WXV.js.map → shopify-QXOGNIVU.js.map} +0 -0
  822. /package/dist/{site-GADKB2RP.js.map → site-NJDIUQY6.js.map} +0 -0
  823. /package/dist/{sources-HUXVRGDH.js.map → sources-EMUT5MV7.js.map} +0 -0
  824. /package/dist/{sources-CA7JLF4P.js.map → sources-M4IJL4H7.js.map} +0 -0
  825. /package/dist/{stale-2A33KEE7.js.map → stale-YYJNWLIE.js.map} +0 -0
  826. /package/dist/{status-5JTRE3OM.js.map → status-UZJGIDRI.js.map} +0 -0
  827. /package/dist/{studio-6ZXUKA4G.js.map → studio-OV2ZY5W3.js.map} +0 -0
  828. /package/dist/{sync-RJFMKM6D.js.map → sync-T3E7SP7B.js.map} +0 -0
  829. /package/dist/{sync-definition-AKZUCLEV.js.map → sync-definition-TLY4FQKC.js.map} +0 -0
  830. /package/dist/{tags-WJFCPOP7.js.map → tags-DPI3CAPB.js.map} +0 -0
  831. /package/dist/{tags-LP6I7GY4.js.map → tags-DS3W4EDB.js.map} +0 -0
  832. /package/dist/{tags-JUIKSERD.js.map → tags-HSUBVXPJ.js.map} +0 -0
  833. /package/dist/{tags-UHD43CAG.js.map → tags-WP7W57FY.js.map} +0 -0
  834. /package/dist/{tags-B2EXVMNS.js.map → tags-WWZFKW3Y.js.map} +0 -0
  835. /package/dist/{targeting-criteria-2LKBD5IH.js.map → targeting-criteria-PICDCHEV.js.map} +0 -0
  836. /package/dist/{targets-O5JYFOCY.js.map → targets-WOMHJXY7.js.map} +0 -0
  837. /package/dist/{testimonials-P63TKNJ2.js.map → testimonials-LDL66SSG.js.map} +0 -0
  838. /package/dist/{themes-R3A6IVQN.js.map → themes-RRLYZ46U.js.map} +0 -0
  839. /package/dist/{top-companies-F7DUMWXA.js.map → top-companies-RBRWAW27.js.map} +0 -0
  840. /package/dist/{transcript-4RFSQA5U.js.map → transcript-V6LZKOKQ.js.map} +0 -0
  841. /package/dist/{translate-WOJFJRAC.js.map → translate-53TPL46A.js.map} +0 -0
  842. /package/dist/{triggers-4MHFN3VV.js.map → triggers-DDV73LZ4.js.map} +0 -0
  843. /package/dist/{unlink-5AXBQOIL.js.map → unlink-PLS3GA5V.js.map} +0 -0
  844. /package/dist/{unstage-SIBXT25Y.js.map → unstage-GSWMVEVP.js.map} +0 -0
  845. /package/dist/{update-NNEMJQ4D.js.map → update-CIMCN33A.js.map} +0 -0
  846. /package/dist/{update-4BDOO53L.js.map → update-KK7QO2KE.js.map} +0 -0
  847. /package/dist/{update-O76YSKXB.js.map → update-X2H3GZ4I.js.map} +0 -0
  848. /package/dist/{update-YS4QI2KP.js.map → update-XNV6KHYK.js.map} +0 -0
  849. /package/dist/{upload-XVV3HQ5W.js.map → upload-OL2S2OSA.js.map} +0 -0
  850. /package/dist/{url-options-YZ6UG3NY.js.map → url-options-2TQCGD2W.js.map} +0 -0
  851. /package/dist/{url-params-XL5URMTG.js.map → url-params-QNSGNQ6N.js.map} +0 -0
  852. /package/dist/{validate-42Q7X2KK.js.map → validate-KC3UA552.js.map} +0 -0
  853. /package/dist/{videos-HMKEY5WY.js.map → videos-GBD36TD2.js.map} +0 -0
  854. /package/dist/{viewer-check-4XFEWEH3.js.map → viewer-check-LQUD2OYO.js.map} +0 -0
  855. /package/dist/{web-PYG3AOYS.js.map → web-K3L2BKAH.js.map} +0 -0
  856. /package/dist/{winning-ads-74BKOBVN.js.map → winning-ads-X3VYALHK.js.map} +0 -0
  857. /package/dist/{write-commands-43GTQIR6.js.map → write-commands-XUOCRBME.js.map} +0 -0
  858. /package/dist/{x-6WSV55RN.js.map → x-65WPQWOP.js.map} +0 -0
@@ -0,0 +1,910 @@
1
+ import {
2
+ flowsDir,
3
+ walkNodes
4
+ } from "./chunk-EI6R7GKQ.js";
5
+
6
+ // ../api/src/activecampaign.ts
7
+ import { z } from "zod";
8
+ var ACTIVECAMPAIGN_FIELD_TYPES = [
9
+ "standard",
10
+ "custom",
11
+ "tags",
12
+ "lists",
13
+ "automations",
14
+ "deal",
15
+ "account",
16
+ "note",
17
+ "event"
18
+ ];
19
+ var ACTIVECAMPAIGN_TAGS_KEY = "tags";
20
+ var ACTIVECAMPAIGN_DEAL_FIELDS = [
21
+ { key: "title", label: "Deal title" },
22
+ { key: "value", label: "Deal value" },
23
+ { key: "currency", label: "Deal currency" },
24
+ { key: "pipeline", label: "Pipeline" },
25
+ { key: "stage", label: "Stage" },
26
+ { key: "owner", label: "Deal owner" },
27
+ { key: "description", label: "Deal description" }
28
+ ];
29
+ var ACTIVECAMPAIGN_ACCOUNT_FIELDS = [
30
+ { key: "name", label: "Account name" },
31
+ { key: "url", label: "Account website" }
32
+ ];
33
+ var ACTIVECAMPAIGN_EVENT_FIELDS = [
34
+ { key: "name", label: "Event name" },
35
+ { key: "data", label: "Event details" }
36
+ ];
37
+ function splitActiveCampaignNames(value) {
38
+ const seen = /* @__PURE__ */ new Set();
39
+ for (const raw of value.split(",")) {
40
+ const name = raw.trim().slice(0, 255);
41
+ if (name) seen.add(name);
42
+ }
43
+ return [...seen];
44
+ }
45
+ function findActiveCampaignOption(options, named) {
46
+ const wanted = named.trim();
47
+ if (!wanted) return void 0;
48
+ return options.find((option) => option.id === wanted) ?? options.find((option) => option.name.trim().toLowerCase() === wanted.toLowerCase());
49
+ }
50
+ var activeCampaignFieldSchema = z.object({
51
+ fieldType: z.enum(ACTIVECAMPAIGN_FIELD_TYPES),
52
+ /** What the mapping stores: the standard field's name, a custom field's id, `tags`, a deal part, …. */
53
+ fieldKey: z.string(),
54
+ label: z.string(),
55
+ /** ActiveCampaign's own type for a custom field (`text`, `date`, `dropdown`, …); null otherwise. */
56
+ dataType: z.string().nullable(),
57
+ /** A custom field's personalization tag (`%SECTOR%`), which people recognise it by. */
58
+ perstag: z.string().nullable()
59
+ });
60
+ function fixedField(fieldType, fieldKey, label, dataType = null) {
61
+ return { fieldType, fieldKey, label, dataType, perstag: null };
62
+ }
63
+ var ACTIVECAMPAIGN_FIXED_FIELDS = [
64
+ fixedField("tags", ACTIVECAMPAIGN_TAGS_KEY, "Tags"),
65
+ fixedField("lists", "lists", "Lists"),
66
+ fixedField("automations", "automations", "Automations"),
67
+ ...ACTIVECAMPAIGN_DEAL_FIELDS.map(
68
+ (field) => fixedField("deal", field.key, field.label, field.key === "value" ? "currency" : null)
69
+ ),
70
+ ...ACTIVECAMPAIGN_ACCOUNT_FIELDS.map((field) => fixedField("account", field.key, field.label)),
71
+ fixedField("note", "note", "Note"),
72
+ ...ACTIVECAMPAIGN_EVENT_FIELDS.map((field) => fixedField("event", field.key, field.label))
73
+ ];
74
+ var activeCampaignOptionSchema = z.object({ id: z.string(), name: z.string() });
75
+ var activeCampaignPipelineSchema = activeCampaignOptionSchema.extend({
76
+ stages: z.array(activeCampaignOptionSchema)
77
+ });
78
+ var activeCampaignAutomationSchema = activeCampaignOptionSchema.extend({
79
+ startTags: z.array(z.string()).default([])
80
+ });
81
+ var activeCampaignCatalogSchema = z.object({
82
+ fields: z.array(activeCampaignFieldSchema),
83
+ lists: z.array(activeCampaignOptionSchema).default([]),
84
+ automations: z.array(activeCampaignAutomationSchema).default([]),
85
+ pipelines: z.array(activeCampaignPipelineSchema).default([]),
86
+ users: z.array(activeCampaignOptionSchema).default([]),
87
+ /** Whether events can be sent: an event key is pasted on the connection, or ActiveCampaign reports one (event tracking is on). */
88
+ eventKeySaved: z.boolean().default(false)
89
+ });
90
+ var activeCampaignFieldsRequestSchema = z.object({
91
+ /** Connection id; optional when the company has exactly one ActiveCampaign account. */
92
+ account: z.string().optional()
93
+ });
94
+ var activeCampaignFieldsResponseSchema = z.object({
95
+ ok: z.literal(true),
96
+ data: activeCampaignCatalogSchema.extend({ account: z.string() })
97
+ });
98
+
99
+ // src/commands/flows/value-expression.ts
100
+ import { existsSync, readFileSync } from "fs";
101
+ import { join } from "path";
102
+ var PREFIXES = ["field", "tracking", "global", "code"];
103
+ function splitParts(raw) {
104
+ const parts = [];
105
+ let current = "";
106
+ let inQuotes = false;
107
+ for (let i = 0; i < raw.length; i++) {
108
+ const char = raw[i];
109
+ if (char === '"') {
110
+ inQuotes = !inQuotes;
111
+ current += char;
112
+ } else if (char === "+" && !inQuotes) {
113
+ parts.push(current);
114
+ current = "";
115
+ } else {
116
+ current += char;
117
+ }
118
+ }
119
+ parts.push(current);
120
+ if (inQuotes) {
121
+ throw new MappingError(`Unclosed quote in value \`${raw}\`.`, 'A literal is written "like this".');
122
+ }
123
+ return parts.map((part) => part.trim()).filter((part) => part.length > 0);
124
+ }
125
+ var TRANSFORM_REFUSAL = "A value cannot run code. Map the field as it is (firstname=full_name), or split it in the step with a codeExecution that exposes first_name and last_name and map code:first_name.";
126
+ var METHOD_CALL = /\.\s*[A-Za-z_$][\w$]*\s*\(/;
127
+ var TRAILING_INDEX = /\[[^\]]*\]$/;
128
+ function mentionPart(inner) {
129
+ if (inner.startsWith("tracking.")) return { kind: "tracking", name: inner.slice("tracking.".length) };
130
+ if (inner.startsWith("global.")) return { kind: "global", name: inner.slice("global.".length) };
131
+ return referencePart(inner);
132
+ }
133
+ function referencePart(ref) {
134
+ return /\.codeExecution\.[^.]+$/.test(ref) ? { kind: "code", ref } : { kind: "field", ref };
135
+ }
136
+ function parsePart(part) {
137
+ if (part.startsWith('"') && part.endsWith('"') && part.length >= 2) {
138
+ return { kind: "text", text: part.slice(1, -1) };
139
+ }
140
+ if (METHOD_CALL.test(part) || TRAILING_INDEX.test(part)) {
141
+ throw new MappingError(TRANSFORM_REFUSAL);
142
+ }
143
+ if (part.startsWith("{{")) {
144
+ const close = part.indexOf("}}");
145
+ if (close < 0) {
146
+ throw new MappingError(
147
+ `Unclosed \`{{\` in value \`${part}\`.`,
148
+ "A mention is written {{<stepId>.customForm.<field>}}."
149
+ );
150
+ }
151
+ if (part.slice(close + 2).trim()) throw new MappingError(TRANSFORM_REFUSAL);
152
+ return mentionPart(part.slice(2, close).trim());
153
+ }
154
+ const colon = part.indexOf(":");
155
+ if (colon <= 0) return referencePart(part);
156
+ const prefix = part.slice(0, colon);
157
+ const rest = part.slice(colon + 1).trim();
158
+ if (!PREFIXES.includes(prefix)) {
159
+ throw new MappingError(
160
+ `\`${prefix}:\` is not a value kind.`,
161
+ `Use one of ${PREFIXES.map((candidate) => `${candidate}:`).join(" ")}, a bare form field name, or a "quoted literal".`
162
+ );
163
+ }
164
+ if (!rest) throw new MappingError(`\`${part}\` names no ${prefix}.`);
165
+ switch (prefix) {
166
+ case "tracking":
167
+ return { kind: "tracking", name: rest.replace(/^tracking\./, "") };
168
+ case "global":
169
+ return { kind: "global", name: rest };
170
+ case "code":
171
+ return { kind: "code", ref: rest };
172
+ default:
173
+ return { kind: "field", ref: rest };
174
+ }
175
+ }
176
+ function parseValueExpression(raw) {
177
+ const parts = splitParts(raw);
178
+ if (parts.length === 0) {
179
+ throw new MappingError("A --map needs a value on the right of the `=`.");
180
+ }
181
+ return parts.map(parsePart);
182
+ }
183
+ function trackingFieldIds() {
184
+ const path = join(flowsDir(), "..", "tracking.ts");
185
+ if (!existsSync(path)) return null;
186
+ try {
187
+ const source = readFileSync(path, "utf-8");
188
+ const block = source.match(/TRACKING_FIELD_IDS\s*=\s*\[([\s\S]*?)\]\s*as const/)?.[1];
189
+ if (!block) return null;
190
+ const ids = [...block.matchAll(/"(tracking\.[a-z0-9_]+)"/g)].map((match) => match[1]);
191
+ return ids.length > 0 ? new Set(ids) : null;
192
+ } catch {
193
+ return null;
194
+ }
195
+ }
196
+ function externalOf(node) {
197
+ const nodeData = node.nodeData ?? {};
198
+ return nodeData.form?.external ?? {};
199
+ }
200
+ function fieldOwners(tree) {
201
+ return walkNodes(tree).flatMap((node) => {
202
+ const external = externalOf(node);
203
+ if (!Array.isArray(external.fields)) return [];
204
+ return [
205
+ {
206
+ id: String(node.id ?? ""),
207
+ name: typeof node.name === "string" && node.name ? node.name : "Form",
208
+ fields: external.fields.map((field) => field?.fieldName).filter((name) => typeof name === "string")
209
+ }
210
+ ];
211
+ });
212
+ }
213
+ function splitRef(ref, segment) {
214
+ const marker = `.${segment}.`;
215
+ const at = ref.lastIndexOf(marker);
216
+ if (at > 0 && !ref.slice(at + marker.length).includes(".")) {
217
+ return { step: ref.slice(0, at), name: ref.slice(at + marker.length) };
218
+ }
219
+ const dot = ref.lastIndexOf(".");
220
+ if (dot <= 0) return { name: ref };
221
+ return { step: ref.slice(0, dot), name: ref.slice(dot + 1) };
222
+ }
223
+ function mention(id, label) {
224
+ return { type: "VariablesMention", attrs: { id, label, mentionSuggestionChar: "{{" } };
225
+ }
226
+ function titleize(value) {
227
+ return value.split(/[_-]+/).filter(Boolean).map((word) => word.charAt(0).toUpperCase() + word.slice(1)).join(" ");
228
+ }
229
+ function resolveField(tree, ref) {
230
+ const { step, name } = splitRef(ref, "customForm");
231
+ const owners = fieldOwners(tree);
232
+ const inventory = owners.map((owner2) => ` ${owner2.name} (${owner2.id}): ${owner2.fields.join(", ") || "(no fields)"}`).join("\n");
233
+ const candidates = owners.filter(
234
+ (owner2) => owner2.fields.includes(name) && (!step || owner2.name === step || owner2.id === step)
235
+ );
236
+ if (candidates.length === 0) {
237
+ throw new MappingError(`Form field "${ref}" does not exist in this form.`, inventory);
238
+ }
239
+ if (candidates.length > 1) {
240
+ throw new MappingError(
241
+ `Form field "${name}" exists on ${candidates.length} steps \u2014 say which: field:<step>.${name}`,
242
+ candidates.map((owner2) => ` field:${owner2.name}.${name}`).join("\n")
243
+ );
244
+ }
245
+ const owner = candidates[0];
246
+ return mention(`${owner.id}.customForm.${name}`, `${owner.name} => ${titleize(name)}`);
247
+ }
248
+ function resolveTracking(name) {
249
+ const id = `tracking.${name}`;
250
+ const known = trackingFieldIds();
251
+ if (known && !known.has(id)) {
252
+ const near = [...known].filter((candidate) => candidate.includes(name.split("_")[0] ?? name)).slice(0, 8);
253
+ throw new MappingError(
254
+ `\`${id}\` is not a tracking variable.`,
255
+ near.length > 0 ? `Close matches: ${near.join(", ")}` : "See references/autofill-and-variables.md \xA7 Built-in Tracking Variables."
256
+ );
257
+ }
258
+ return mention(id, id);
259
+ }
260
+ function resolveGlobal(tree, name) {
261
+ const globals = tree.globalVariables ?? [];
262
+ const match = globals.find((variable) => variable?.name === name || variable?.id === name);
263
+ if (!match) {
264
+ throw new MappingError(
265
+ `No global variable named "${name}" on this form.`,
266
+ globals.length > 0 ? `Defined: ${globals.map((variable) => String(variable.name)).join(", ")}` : "This form defines none. Globals live on the first node only \u2014 see references/autofill-and-variables.md \xA7 Global Variables."
267
+ );
268
+ }
269
+ const id = `global.${String(match.id)}`;
270
+ return mention(id, id);
271
+ }
272
+ function resolveCode(tree, ref) {
273
+ const { step, name } = splitRef(ref, "codeExecution");
274
+ const owners = walkNodes(tree).flatMap((node) => {
275
+ const exposed = externalOf(node).codeExecution?.exposedValues ?? [];
276
+ const names = exposed.map((value) => value?.name).filter((value) => typeof value === "string");
277
+ return names.length > 0 ? [{ id: String(node.id ?? ""), name: String(node.name ?? "step"), names }] : [];
278
+ });
279
+ const candidates = owners.filter(
280
+ (owner2) => owner2.names.includes(name) && (!step || owner2.name === step || owner2.id === step)
281
+ );
282
+ if (candidates.length !== 1) {
283
+ throw new MappingError(
284
+ candidates.length === 0 ? `No codeExecution exposes "${ref}" on this form.` : `"${name}" is exposed by ${candidates.length} steps \u2014 say which: code:<step>.${name}`,
285
+ owners.length > 0 ? owners.map((owner2) => ` ${owner2.name} (${owner2.id}): ${owner2.names.join(", ")}`).join("\n") : "No step on this form exposes any codeExecution value."
286
+ );
287
+ }
288
+ const owner = candidates[0];
289
+ return mention(`${owner.id}.codeExecution.${name}`, `${owner.name} => ${titleize(name)}`);
290
+ }
291
+ function buildValueDoc(tree, expression) {
292
+ const parts = parseValueExpression(expression);
293
+ const content = parts.map((part) => {
294
+ switch (part.kind) {
295
+ case "text":
296
+ return { type: "text", text: part.text };
297
+ case "tracking":
298
+ return resolveTracking(part.name);
299
+ case "global":
300
+ return resolveGlobal(tree, part.name);
301
+ case "code":
302
+ return resolveCode(tree, part.ref);
303
+ default:
304
+ return resolveField(tree, part.ref);
305
+ }
306
+ });
307
+ const single = content.length === 1 && parts[0]?.kind !== "text";
308
+ return {
309
+ type: "doc",
310
+ content: [{ type: "paragraph", content: single ? [...content, { type: "text", text: " " }] : content }]
311
+ };
312
+ }
313
+
314
+ // src/commands/flows/mapping.ts
315
+ var MappingError = class extends Error {
316
+ fix;
317
+ constructor(message, fix) {
318
+ super(message);
319
+ this.name = "MappingError";
320
+ this.fix = fix;
321
+ }
322
+ };
323
+ var PAYLOAD = (key) => ({ kind: "list", key, addressedBy: "key" });
324
+ var META_MATCHING = ["em", "fn", "ln", "ph", "external_id", "ge", "db", "ct", "st", "zp", "country"];
325
+ var ADS_MATCHING = [
326
+ "email",
327
+ "phone_number",
328
+ "first_name",
329
+ "last_name",
330
+ "street",
331
+ "city",
332
+ "region",
333
+ "postal_code",
334
+ "country"
335
+ ];
336
+ var MAPPING_SLOTS = {
337
+ shopifyCustomer: [
338
+ {
339
+ kind: "record",
340
+ key: "customer",
341
+ allowed: ["email", "phone", "firstName", "lastName", "acceptsEmailMarketing", "acceptsSmsMarketing"]
342
+ }
343
+ ],
344
+ googleSpreadsheet: [{ kind: "list", key: "columnMapping", addressedBy: "column" }],
345
+ hubspotForm: [
346
+ {
347
+ kind: "list",
348
+ key: "fieldMapping",
349
+ addressedBy: "fieldName",
350
+ needsFieldType: true,
351
+ fieldTypeSource: "Pass --hubspot-form <formGuid> and this command reads every property's type off the form itself \u2014 the guid is the `formGuid` in the `destination` request_flow_input returned. `baker hubspot forms view <formGuid>` prints the same list if you want to see it."
352
+ }
353
+ ],
354
+ pipedrive: [
355
+ {
356
+ kind: "list",
357
+ key: "fieldMapping",
358
+ addressedBy: "fieldKey",
359
+ entities: ["person", "organization", "lead"],
360
+ needsFieldType: true,
361
+ needsIsCustom: true
362
+ }
363
+ ],
364
+ goHighlevelContact: [
365
+ {
366
+ kind: "list",
367
+ key: "fieldMapping",
368
+ addressedBy: "fieldKey",
369
+ entities: ["business", "contact", "opportunity"],
370
+ needsFieldType: true,
371
+ needsIsCustom: true
372
+ }
373
+ ],
374
+ crmble: [
375
+ { kind: "list", key: "fieldMapping", addressedBy: "fieldId", entities: ["contact", "lead"], needsFieldType: true }
376
+ ],
377
+ activeCampaignContact: [
378
+ {
379
+ kind: "list",
380
+ key: "fieldMapping",
381
+ addressedBy: "fieldKey",
382
+ needsFieldType: true,
383
+ fieldTypes: ACTIVECAMPAIGN_FIELD_TYPES,
384
+ qualifiedByFieldType: true,
385
+ fieldTypeSource: 'None to write: this command reads the connected ActiveCampaign account\'s field list itself. Write `email=email`, `firstName=nombre`, a custom field by its id, personalization tag or label (`SECTOR=sector`; `custom.UTM_SOURCE=\u2026` for one only staged so far), `tags="withbaker-"+tracking:page_path`, `lists="Newsletter"`, `automations="Welcome"`, `deal.title=\u2026` / `deal.pipeline="Sales"` / `deal.value=budget`, `account.name=company`, `note=\u2026`, `event.name="demo_requested"`.'
386
+ }
387
+ ],
388
+ email: [{ ...PAYLOAD("fields"), under: "body" }],
389
+ zapier: [PAYLOAD("payloadKeys")],
390
+ httpWebhook: [PAYLOAD("payloadKeys")],
391
+ googleTagManager: [PAYLOAD("dataLayerParams")],
392
+ googleAnalytics: [PAYLOAD("eventParams")],
393
+ posthog: [PAYLOAD("eventParams")],
394
+ amplitude: [PAYLOAD("eventProperties")],
395
+ hubspot: [PAYLOAD("eventProperties")],
396
+ vwo: [PAYLOAD("eventProperties")],
397
+ code: [PAYLOAD("eventProperties")],
398
+ datafast: [PAYLOAD("goalParams")],
399
+ meta: [PAYLOAD("eventParams"), { kind: "record", key: "advancedMatching", allowed: META_MATCHING }],
400
+ chatgptAds: [
401
+ PAYLOAD("eventParams"),
402
+ {
403
+ kind: "record",
404
+ key: "advancedMatching",
405
+ allowed: ["em", "ph", "fn", "ln", "external_id", "ct", "st", "zp", "country"]
406
+ }
407
+ ],
408
+ tiktok: [
409
+ PAYLOAD("eventParams"),
410
+ { kind: "record", key: "identify", allowed: ["email", "phone_number", "external_id"] }
411
+ ],
412
+ pinterest: [PAYLOAD("eventParams"), { kind: "record", key: "enhancedMatching", allowed: ["em", "hashed_maids"] }],
413
+ googleAds: [
414
+ { kind: "record", key: "enhancedConversions", allowed: ADS_MATCHING },
415
+ { kind: "scalar", keys: ["value", "currency", "transactionId"] }
416
+ ],
417
+ linkedinInsightTag: [
418
+ { kind: "record", key: "userMatching", allowed: ["em", "fn", "ln", "title", "companyName", "country"] },
419
+ { kind: "scalar", keys: ["value", "currency"] }
420
+ ],
421
+ twitterAds: [
422
+ { kind: "record", key: "userMatching", allowed: ["em", "ph"] },
423
+ { kind: "scalar", keys: ["value", "currency"] }
424
+ ]
425
+ };
426
+ var UNMAPPABLE = {
427
+ hotjar: "A Hotjar event carries only its name.",
428
+ clarity: "A Clarity custom tag carries only its name."
429
+ };
430
+ function slotName(shape) {
431
+ if (shape.kind === "scalar") return shape.keys.join("/");
432
+ if (shape.kind === "list" && shape.under) return `${shape.under}.${shape.key}`;
433
+ return shape.key;
434
+ }
435
+ function shapeFor(type, into) {
436
+ const slots = MAPPING_SLOTS[type];
437
+ if (!slots) {
438
+ const why = UNMAPPABLE[type];
439
+ throw new MappingError(
440
+ `Side effect "${type}" has no mappable field.`,
441
+ why ?? `"${type}" is not a side-effect type this workspace's flow engine defines.`
442
+ );
443
+ }
444
+ if (!into) return slots[0];
445
+ const chosen = slots.find(
446
+ (slot) => slot.kind === "scalar" ? slot.keys.includes(into) || into === "scalar" : slot.key === into || slotName(slot) === into
447
+ );
448
+ if (!chosen) {
449
+ throw new MappingError(
450
+ `"${into}" is not a mappable slot on a ${type} side effect.`,
451
+ `Slots on ${type}: ${slots.map(slotName).join(", ")}`
452
+ );
453
+ }
454
+ return chosen;
455
+ }
456
+ function namesComeFromAccount(shape) {
457
+ return shape.kind === "list" && shape.addressedBy !== "key";
458
+ }
459
+ function describeSlots(type) {
460
+ return (MAPPING_SLOTS[type] ?? []).map((shape) => {
461
+ if (shape.kind === "record") {
462
+ return {
463
+ slot: shape.key,
464
+ addressedBy: "one of a closed set",
465
+ keysFrom: "closed",
466
+ keys: shape.allowed,
467
+ note: `${type} defines these names; any other is refused.`
468
+ };
469
+ }
470
+ if (shape.kind === "scalar") {
471
+ return {
472
+ slot: shape.keys.join("/"),
473
+ addressedBy: "the field's own name",
474
+ keysFrom: "closed",
475
+ keys: shape.keys,
476
+ note: "Each is a single value on the side effect, mapped like any other."
477
+ };
478
+ }
479
+ if (shape.addressedBy === "key") {
480
+ return {
481
+ slot: slotName(shape),
482
+ addressedBy: "key",
483
+ keysFrom: "yours",
484
+ note: "You name these \u2014 they are what the receiving system expects. Ask the user if you do not know them."
485
+ };
486
+ }
487
+ return {
488
+ slot: slotName(shape),
489
+ addressedBy: shape.addressedBy,
490
+ keysFrom: "account",
491
+ note: "These live in the connected account. Read them off the request_flow_input result; they cannot be guessed.",
492
+ ...shape.needsFieldType ? { fieldTypes: shape.fieldTypeSource ?? FIELD_TYPE_FROM_INPUT } : {}
493
+ };
494
+ });
495
+ }
496
+ var FIELD_TYPE_FROM_INPUT = "Each mapping stores a field type. They come back from request_flow_input with the field list \u2014 write one on the LEFT: <field>:<fieldType>=<value>.";
497
+ function otherSlots(type, used) {
498
+ return (MAPPING_SLOTS[type] ?? []).filter((slot) => slot !== used).map(slotName);
499
+ }
500
+ var ACTIVECAMPAIGN_BARE_KINDS = /* @__PURE__ */ new Set(["standard", "custom", "tags", "lists", "automations", "note"]);
501
+ function addCustomAliases(catalog, field) {
502
+ const entry = catalog.get(`custom.${field.fieldKey}`);
503
+ if (!entry) return;
504
+ const tag = field.perstag?.replaceAll("%", "");
505
+ if (tag) catalog.set(`custom.${tag.toUpperCase()}`, entry);
506
+ const aliases = [field.perstag, tag, field.label].filter((alias) => !!alias);
507
+ for (const alias of aliases) {
508
+ const key = alias.trim().toLowerCase();
509
+ if (key && !catalog.has(key)) catalog.set(key, entry);
510
+ }
511
+ }
512
+ function activeCampaignDestinationFields(fields) {
513
+ const catalog = /* @__PURE__ */ new Map();
514
+ for (const field of fields) {
515
+ const qualified = `${field.fieldType}.${field.fieldKey}`;
516
+ const bare = ACTIVECAMPAIGN_BARE_KINDS.has(field.fieldType);
517
+ const entry = {
518
+ fieldType: field.fieldType,
519
+ fieldKey: field.fieldKey,
520
+ label: field.label,
521
+ ...bare ? {} : { listedAs: qualified }
522
+ };
523
+ catalog.set(qualified, entry);
524
+ if (bare && !catalog.has(field.fieldKey)) {
525
+ catalog.set(field.fieldKey, entry);
526
+ }
527
+ }
528
+ for (const field of fields) {
529
+ if (field.fieldType === "custom") addCustomAliases(catalog, field);
530
+ }
531
+ return catalog;
532
+ }
533
+ function activeCampaignUnlistedField(destField) {
534
+ const match = /^custom\.%?([A-Za-z][A-Za-z0-9_]*)%?$/.exec(destField.trim());
535
+ if (!match?.[1]) return void 0;
536
+ const tag = match[1].toUpperCase();
537
+ return { fieldType: "custom", fieldKey: tag, label: `%${tag}%` };
538
+ }
539
+ function literalText(value) {
540
+ const paragraphs = (value ?? {}).content;
541
+ if (!Array.isArray(paragraphs)) return null;
542
+ const inline = paragraphs.flatMap((paragraph) => paragraph.content ?? []);
543
+ if (inline.length === 0 || inline.some((node) => node.type !== "text")) return null;
544
+ return inline.map((node) => node.text ?? "").join("");
545
+ }
546
+ function optionListing(options) {
547
+ return options.length > 0 ? options.map((option) => `${option.name} (${option.id})`).join(", ") : "none";
548
+ }
549
+ function unknownNames(value, options) {
550
+ const text = literalText(value);
551
+ if (text === null) return [];
552
+ return splitActiveCampaignNames(text).filter((name) => !findActiveCampaignOption(options, name));
553
+ }
554
+ function namedOptionHints(mapped, catalog) {
555
+ const hints = [];
556
+ const unknown = (type, key, options, noun) => {
557
+ for (const name of unknownNames(mapped(type, key)?.value, options)) {
558
+ hints.push(
559
+ `ActiveCampaign has no ${noun} called "${name}", so that part will be skipped. It has: ${optionListing(options)}.`
560
+ );
561
+ }
562
+ };
563
+ unknown("lists", "lists", catalog.lists, "list");
564
+ unknown("automations", "automations", catalog.automations, "automation");
565
+ if (mapped("automations", "automations") && catalog.automations.length === 0) {
566
+ hints.push(
567
+ "This ActiveCampaign account has no automations. They can only be built in ActiveCampaign \u2014 ask the user to create one."
568
+ );
569
+ }
570
+ unknown("deal", "pipeline", catalog.pipelines, "pipeline");
571
+ unknown("deal", "owner", catalog.users, "user");
572
+ return hints;
573
+ }
574
+ function literalTags(value) {
575
+ const paragraphs = (value ?? {}).content;
576
+ if (!Array.isArray(paragraphs)) return [];
577
+ const inline = paragraphs.flatMap((paragraph) => paragraph.content ?? []);
578
+ return inline.flatMap((node, index) => {
579
+ if (node.type !== "text") return [];
580
+ const pieces = (node.text ?? "").split(",");
581
+ const touchesBefore = index > 0 && inline[index - 1]?.type !== "text";
582
+ const touchesAfter = index < inline.length - 1 && inline[index + 1]?.type !== "text";
583
+ return pieces.filter((_, piece) => !(piece === 0 && touchesBefore) && !(piece === pieces.length - 1 && touchesAfter)).map((piece) => piece.trim()).filter((piece) => piece !== "");
584
+ });
585
+ }
586
+ function doubleEnrollmentHints(mapped, catalog) {
587
+ const enrolled = literalText(mapped("automations", "automations")?.value);
588
+ if (enrolled === null) return [];
589
+ const tags = new Set(literalTags(mapped("tags", "tags")?.value).map((tag) => tag.toLowerCase()));
590
+ return splitActiveCampaignNames(enrolled).flatMap((name) => {
591
+ const automation = catalog.automations.find((option) => findActiveCampaignOption([option], name));
592
+ const tag = automation?.startTags.find((start) => tags.has(start.toLowerCase()));
593
+ return automation && tag ? [
594
+ `"${automation.name}" starts when the tag "${tag}" is added, and this Form adds that tag AND enrolls the lead in it \u2014 every lead would run it twice (ActiveCampaign's "runs once" does not stop a direct enrollment). Keep one: drop "${automation.name}" from automations, or drop the tag.`
595
+ ] : [];
596
+ });
597
+ }
598
+ function dealHints(fieldMapping, mapped, catalog) {
599
+ if (!fieldMapping.some((entry) => entry.fieldType === "deal")) return [];
600
+ const hints = [];
601
+ if (!mapped("deal", "title") && !mapped("deal", "pipeline")) {
602
+ hints.push("No deal is created without deal.title or deal.pipeline \u2014 map one of them too.");
603
+ }
604
+ if (catalog.pipelines.length === 0) {
605
+ hints.push("This ActiveCampaign account has no deal pipeline, so no deal can be created until one exists.");
606
+ }
607
+ const pipelineText = literalText(mapped("deal", "pipeline")?.value);
608
+ const pipeline = pipelineText ? findActiveCampaignOption(catalog.pipelines, pipelineText) : catalog.pipelines[0];
609
+ if (!pipeline) return hints;
610
+ for (const name of unknownNames(mapped("deal", "stage")?.value, pipeline.stages)) {
611
+ hints.push(
612
+ `The pipeline "${pipeline.name}" has no stage called "${name}", so deals land in its first stage. Its stages: ${optionListing(pipeline.stages)}.`
613
+ );
614
+ }
615
+ return hints;
616
+ }
617
+ function attachmentHints(mapped, catalog) {
618
+ const hints = [];
619
+ if (mapped("account", "url") && !mapped("account", "name")) {
620
+ hints.push("account.url is only sent with account.name \u2014 map the company name too.");
621
+ }
622
+ if (mapped("event", "data") && !mapped("event", "name")) hints.push("event.data is only sent with event.name.");
623
+ if (mapped("event", "name") && !catalog.eventKeySaved) {
624
+ hints.push(
625
+ "Event tracking is off on this ActiveCampaign account, so the event will be skipped: ask the user to switch event tracking on in ActiveCampaign (Settings \u2192 Tracking \u2192 Event Tracking). There is nothing to paste \u2014 Baker reads the account's event key itself once it is on. Until then only the event is skipped; the contact and the rest still arrive."
626
+ );
627
+ }
628
+ return hints;
629
+ }
630
+ function unlistedCustomHints(fieldMapping, catalog) {
631
+ const listedIds = new Set(catalog.fields.flatMap((field) => field.fieldType === "custom" ? [field.fieldKey] : []));
632
+ return fieldMapping.flatMap((entry) => {
633
+ const key = typeof entry.fieldKey === "string" ? entry.fieldKey : "";
634
+ if (entry.fieldType !== "custom" || /^\d+$/.test(key) || listedIds.has(key)) return [];
635
+ return [
636
+ `custom.${key} is not on the ActiveCampaign account yet. Stage the field (\`baker activecampaign stage field\`) so it exists at Publish; until it does, that value is left empty on each contact.`
637
+ ];
638
+ });
639
+ }
640
+ function activeCampaignMappingHints(fieldMapping, catalog) {
641
+ const mapped = (type, key) => fieldMapping.find((entry) => entry.fieldType === type && entry.fieldKey === key);
642
+ return [
643
+ ...namedOptionHints(mapped, catalog),
644
+ ...doubleEnrollmentHints(mapped, catalog),
645
+ ...dealHints(fieldMapping, mapped, catalog),
646
+ ...attachmentHints(mapped, catalog),
647
+ ...unlistedCustomHints(fieldMapping, catalog)
648
+ ];
649
+ }
650
+ function parseMapSpec(raw) {
651
+ const eq = raw.indexOf("=");
652
+ if (eq <= 0 || eq === raw.length - 1) {
653
+ throw new MappingError(
654
+ `--map "${raw}" must be <destField>[:<fieldType>]=<value>`,
655
+ 'Value: a form field (`nombre`), `tracking:utm_source`, `global:Name`, `code:name`, a "literal", or those joined with `+`.'
656
+ );
657
+ }
658
+ const left = raw.slice(0, eq).trim();
659
+ const expression = raw.slice(eq + 1).trim();
660
+ const colon = left.indexOf(":");
661
+ const destField = (colon > 0 ? left.slice(0, colon) : left).trim();
662
+ const fieldType = colon > 0 ? left.slice(colon + 1).trim() : "";
663
+ if (!destField) throw new MappingError(`--map "${raw}" names no destination field.`);
664
+ return { raw, destField, fieldType: fieldType || void 0, expression };
665
+ }
666
+ function sheetEntry(spec, value) {
667
+ if (!/^[A-Z]{1,3}$/.test(spec.destField)) {
668
+ throw new MappingError(
669
+ `--map "${spec.raw}": a Google Sheet is addressed by COLUMN, so the left side must be a column letter (A, B, \u2026 AA), got "${spec.destField}".`,
670
+ "Read the real destination back from the configured side effect first \u2014 a column letter is a guess until a spreadsheet is picked."
671
+ );
672
+ }
673
+ return { column: spec.destField, value };
674
+ }
675
+ function destinationField(spec, options) {
676
+ const catalog = options.destinationFields;
677
+ if (!catalog) return void 0;
678
+ const match = catalog.get(spec.destField);
679
+ if (match) return match;
680
+ const alias = catalog.get(spec.destField.trim().toLowerCase());
681
+ if (alias?.fieldKey) return alias;
682
+ const unlisted = options.unlistedField?.(spec.destField);
683
+ if (unlisted) return unlisted;
684
+ throw new MappingError(
685
+ `--map "${spec.raw}": the destination has no field called "${spec.destField}".`,
686
+ `Fields on it: ${catalogListing(catalog) || "(none)"}`
687
+ );
688
+ }
689
+ function catalogListing(catalog) {
690
+ const seen = /* @__PURE__ */ new Set();
691
+ const names = [];
692
+ for (const [name, field] of catalog) {
693
+ if (seen.has(field)) continue;
694
+ seen.add(field);
695
+ const key = field.listedAs ?? field.fieldKey ?? name;
696
+ names.push(field.label && field.label.toLowerCase() !== key.toLowerCase() ? `${key} (${field.label})` : key);
697
+ }
698
+ return names.join(", ");
699
+ }
700
+ function fieldTypeFor(type, shape, spec, known) {
701
+ const resolved = spec.fieldType ?? known?.fieldType;
702
+ if (resolved && shape.fieldTypes && !shape.fieldTypes.includes(resolved)) {
703
+ throw new MappingError(
704
+ `--map "${spec.raw}": "${resolved}" is not a ${type} field type \u2014 expected one of: ${shape.fieldTypes.join(", ")}.`,
705
+ shape.fieldTypeSource
706
+ );
707
+ }
708
+ if (resolved) return resolved;
709
+ throw new MappingError(
710
+ `--map "${spec.raw}": ${type} stores a field type per mapping, and "${spec.destField}" has none \u2014 write it on the left: <field>:<fieldType>=<value>.`,
711
+ shape.fieldTypeSource ?? FIELD_TYPE_FROM_INPUT
712
+ );
713
+ }
714
+ function assertCrmOptions(type, shape, options) {
715
+ const entities = shape.entities;
716
+ if (entities) {
717
+ if (!options.entity) {
718
+ throw new MappingError(
719
+ `${type} addresses a specific object, so --entity is required (one of: ${entities.join(", ")}).`,
720
+ "Which object a value lands on is a destination-side fact \u2014 read it back from the configured side effect, do not assume."
721
+ );
722
+ }
723
+ if (!entities.includes(options.entity)) {
724
+ throw new MappingError(
725
+ `--entity "${options.entity}" is not valid for ${type} \u2014 expected one of: ${entities.join(", ")}.`
726
+ );
727
+ }
728
+ }
729
+ if (shape.needsIsCustom && options.isCustomField === void 0) {
730
+ throw new MappingError(
731
+ `${type} looks a key up differently for custom and standard fields, so pass --custom or --standard.`,
732
+ "Mapping a custom field as standard (or the reverse) is accepted and then dropped. The field list from request_flow_input says which each one is."
733
+ );
734
+ }
735
+ }
736
+ function buildEntry(type, shape, spec, value, options) {
737
+ if (shape.key === "columnMapping") {
738
+ return sheetEntry(spec, value);
739
+ }
740
+ if (shape.addressedBy === "key") {
741
+ if (spec.fieldType) {
742
+ throw new MappingError(
743
+ `--map "${spec.raw}": a ${type} ${shape.key} entry is just a name and a value \u2014 it takes no field type.`,
744
+ `Write it as ${spec.destField}=${spec.expression}`
745
+ );
746
+ }
747
+ return { key: spec.destField, value };
748
+ }
749
+ const known = destinationField(spec, options);
750
+ if (type === "hubspotForm") {
751
+ return {
752
+ objectTypeId: options.objectType ?? known?.objectTypeId ?? "0-1",
753
+ fieldType: fieldTypeFor(type, shape, spec, known),
754
+ fieldName: spec.destField,
755
+ value
756
+ };
757
+ }
758
+ assertCrmOptions(type, shape, options);
759
+ return {
760
+ ...shape.entities ? { entityType: options.entity } : {},
761
+ fieldType: fieldTypeFor(type, shape, spec, known),
762
+ ...shape.needsIsCustom ? { isCustomField: options.isCustomField } : {},
763
+ [shape.addressedBy]: known?.fieldKey ?? spec.destField,
764
+ value
765
+ };
766
+ }
767
+ function listPatch(shape, sideEffect, entries) {
768
+ if (!shape.under) return { [shape.key]: entries };
769
+ const owner = sideEffect[shape.under] ?? {};
770
+ return { [shape.under]: { ...owner, [shape.key]: entries } };
771
+ }
772
+ function existingEntries(shape, sideEffect) {
773
+ const owner = shape.under ? sideEffect[shape.under] : sideEffect;
774
+ if (!owner || typeof owner !== "object") return [];
775
+ const list = owner[shape.key];
776
+ if (!Array.isArray(list)) return [];
777
+ return list.filter((entry) => Boolean(entry) && typeof entry === "object");
778
+ }
779
+ function entryAddress(shape, entry) {
780
+ const value = entry[shape.addressedBy];
781
+ if (typeof value !== "string") return null;
782
+ return shape.qualifiedByFieldType && typeof entry.fieldType === "string" ? `${entry.fieldType}.${value}` : value;
783
+ }
784
+ function mergeEntries(shape, existing, incoming) {
785
+ const address = (entry) => entryAddress(shape, entry);
786
+ const entries = [...existing];
787
+ const overwritten = /* @__PURE__ */ new Set();
788
+ for (const entry of incoming) {
789
+ const name = address(entry);
790
+ const at = name === null ? -1 : entries.findIndex((candidate) => address(candidate) === name);
791
+ if (at === -1) {
792
+ entries.push(entry);
793
+ continue;
794
+ }
795
+ entries[at] = entry;
796
+ if (at < existing.length) overwritten.add(at);
797
+ }
798
+ const kept = existing.length - overwritten.size;
799
+ return { entries, written: entries.length - kept, kept };
800
+ }
801
+ function assertMappableOwner(type, shape, sideEffect) {
802
+ if (shape.under !== "body") return;
803
+ const format = (sideEffect.body ?? {}).format;
804
+ if (format !== void 0 && format !== "json") {
805
+ throw new MappingError(
806
+ `This ${type} side effect sends \`body.format: "${String(format)}"\`, which is one written message rather than named keys.`,
807
+ 'Set `body` to `{ "format": "json", "fields": [] }` first if you want mapped keys, or write the message in `body.content` and map nothing.'
808
+ );
809
+ }
810
+ }
811
+ function buildList(tree, type, shape, sideEffect, specs, options) {
812
+ assertMappableOwner(type, shape, sideEffect);
813
+ const incoming = specs.map((raw) => {
814
+ const spec = parseMapSpec(raw);
815
+ return buildEntry(type, shape, spec, buildValueDoc(tree, spec.expression), options);
816
+ });
817
+ const present = options.replace === true ? [] : existingEntries(shape, sideEffect);
818
+ const { kept: existing, dropped } = pruneAbsent(shape, present, options);
819
+ const { entries, written, kept } = mergeEntries(shape, existing, incoming);
820
+ return { key: slotName(shape), count: written, kept, dropped, patch: listPatch(shape, sideEffect, entries) };
821
+ }
822
+ function pruneAbsent(shape, existing, options) {
823
+ if (options.pruneMissing !== true) return { kept: existing, dropped: [] };
824
+ const catalog = options.destinationFields;
825
+ if (!catalog) {
826
+ throw new MappingError(
827
+ "--prune-missing needs the destination's own field list, and it could not be read.",
828
+ "Name the destination so its fields can be read \u2014 --hubspot-form <formGuid> for HubSpot (an ActiveCampaign side effect is read automatically). `baker flows show <slug>` names the side effect and returns the request_flow_input call that carries the guid."
829
+ );
830
+ }
831
+ const kept = [];
832
+ const dropped = [];
833
+ for (const entry of existing) {
834
+ const name = entryAddress(shape, entry);
835
+ if (name === null || catalog.has(name)) {
836
+ kept.push(entry);
837
+ continue;
838
+ }
839
+ dropped.push(name);
840
+ }
841
+ return { kept, dropped };
842
+ }
843
+ function buildRecord(tree, type, shape, sideEffect, specs, options) {
844
+ const existing = options.replace === true ? {} : sideEffect[shape.key] ?? {};
845
+ const record = Object.fromEntries(shape.allowed.map((slot) => [slot, existing[slot] ?? null]));
846
+ const filledBefore = shape.allowed.filter((slot) => record[slot] != null);
847
+ const written = /* @__PURE__ */ new Set();
848
+ for (const raw of specs) {
849
+ const spec = parseMapSpec(raw);
850
+ if (!shape.allowed.includes(spec.destField)) {
851
+ throw new MappingError(
852
+ `"${spec.destField}" is not a slot in ${shape.key} on a ${type} side effect.`,
853
+ `${shape.key} slots: ${shape.allowed.join(", ")}`
854
+ );
855
+ }
856
+ if (spec.fieldType) {
857
+ throw new MappingError(`--map "${spec.raw}": a ${shape.key} slot takes no field type.`);
858
+ }
859
+ record[spec.destField] = buildValueDoc(tree, spec.expression);
860
+ written.add(spec.destField);
861
+ }
862
+ return {
863
+ key: shape.key,
864
+ count: written.size,
865
+ kept: filledBefore.filter((slot) => !written.has(slot)).length,
866
+ dropped: [],
867
+ patch: { [shape.key]: record }
868
+ };
869
+ }
870
+ function buildScalar(tree, type, shape, sideEffect, specs, options) {
871
+ const patch = options.replace === true ? Object.fromEntries(shape.keys.map((key) => [key, null])) : {};
872
+ const written = /* @__PURE__ */ new Set();
873
+ for (const raw of specs) {
874
+ const spec = parseMapSpec(raw);
875
+ if (!shape.keys.includes(spec.destField)) {
876
+ throw new MappingError(
877
+ `"${spec.destField}" is not a mappable field on a ${type} side effect.`,
878
+ `Mappable directly: ${shape.keys.join(", ")}`
879
+ );
880
+ }
881
+ if (spec.fieldType) {
882
+ throw new MappingError(`--map "${spec.raw}": ${spec.destField} takes no field type.`);
883
+ }
884
+ patch[spec.destField] = buildValueDoc(tree, spec.expression);
885
+ written.add(spec.destField);
886
+ }
887
+ const kept = options.replace === true ? 0 : shape.keys.filter((key) => !written.has(key) && sideEffect[key] != null).length;
888
+ return { key: shape.keys.join("/"), count: written.size, kept, dropped: [], patch };
889
+ }
890
+ function buildFieldMapping(tree, sideEffect, specs, options = {}) {
891
+ const type = String(sideEffect.type ?? "");
892
+ const shape = shapeFor(type, options.into);
893
+ if (shape.kind === "record") return buildRecord(tree, type, shape, sideEffect, specs, options);
894
+ if (shape.kind === "scalar") return buildScalar(tree, type, shape, sideEffect, specs, options);
895
+ return buildList(tree, type, shape, sideEffect, specs, options);
896
+ }
897
+
898
+ export {
899
+ activeCampaignFieldsResponseSchema,
900
+ MappingError,
901
+ shapeFor,
902
+ namesComeFromAccount,
903
+ describeSlots,
904
+ otherSlots,
905
+ activeCampaignDestinationFields,
906
+ activeCampaignUnlistedField,
907
+ activeCampaignMappingHints,
908
+ buildFieldMapping
909
+ };
910
+ //# sourceMappingURL=chunk-IAOKMWUF.js.map