@koda-sl/baker-cli 0.514.0 → 0.515.0-dev.957976bb7

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 (854) hide show
  1. package/README.md +18 -0
  2. package/dist/account-QX4G4BJ7.js +82 -0
  3. package/dist/account-UFYZS3K6.js +82 -0
  4. package/dist/account-reads-FOEVPWDP.js +219 -0
  5. package/dist/account-users-UTIF7MIT.js +64 -0
  6. package/dist/account-writes-QAQXRIEY.js +68 -0
  7. package/dist/accounts-JK3OAS5U.js +701 -0
  8. package/dist/accounts-OE33CKWD.js +80 -0
  9. package/dist/actions-QZDSLFFK.js +55 -0
  10. package/dist/activecampaign-U6TKRR45.js +938 -0
  11. package/dist/ad-group-writes-XY5JYTKT.js +172 -0
  12. package/dist/ad-groups-YEO5ZS5U.js +70 -0
  13. package/dist/ad-writes-XRCPK4SP.js +176 -0
  14. package/dist/add-2EF7S4NK.js +305 -0
  15. package/dist/add-YCJ6RXPG.js +107 -0
  16. package/dist/ads-AYJAYLFR.js +48 -0
  17. package/dist/ads-H7H7H2CM.js +79 -0
  18. package/dist/advertisers-JLSU3G35.js +123 -0
  19. package/dist/analytics-ADIWEM6G.js +2437 -0
  20. package/dist/analytics-XB6FRNVJ.js +447 -0
  21. package/dist/animate-HRWFVE2N.js +480 -0
  22. package/dist/assign-IWZ2OPFL.js +80 -0
  23. package/dist/audience-size-P5L6MZ4C.js +76 -0
  24. package/dist/audiences-XKERWKKE.js +280 -0
  25. package/dist/audit-SEADLC6F.js +154 -0
  26. package/dist/autocomplete-AJQBJS5R.js +114 -0
  27. package/dist/avatars-4HCGWBOL.js +38 -0
  28. package/dist/bid-pricing-NWSUO3VM.js +103 -0
  29. package/dist/brand-C6OB6Q4U.js +22 -0
  30. package/dist/brief-LCWWQ4OC.js +543 -0
  31. package/dist/campaign-groups-PH64UXZJ.js +99 -0
  32. package/dist/campaign-writes-BN3EGDK5.js +168 -0
  33. package/dist/campaign-writes-CLV5ZSUK.js +176 -0
  34. package/dist/campaigns-5XRY27JZ.js +78 -0
  35. package/dist/campaigns-JF4TYYUP.js +113 -0
  36. package/dist/campaigns-ZYU4BXDP.js +111 -0
  37. package/dist/canvas-AI34UBGU.js +46 -0
  38. package/dist/capabilities-TRHAPTUU.js +147 -0
  39. package/dist/catalog-ZY3MFT55.js +65 -0
  40. package/dist/catalogs-6XLBWAUS.js +130 -0
  41. package/dist/changes-OOUVQDBY.js +135 -0
  42. package/dist/chatgpt-NAXIFWXV.js +47 -0
  43. package/dist/chats-I5RHBRS5.js +279 -0
  44. package/dist/check-3E64VBUE.js +107 -0
  45. package/dist/chunk-3CHYJYSS.js +319 -0
  46. package/dist/chunk-3G3GC5N4.js +429 -0
  47. package/dist/chunk-3M45PYU7.js +274 -0
  48. package/dist/chunk-3QHXF3QI.js +23 -0
  49. package/dist/chunk-3XPHUMLJ.js +3868 -0
  50. package/dist/chunk-45EERHDB.js +783 -0
  51. package/dist/chunk-4FGTANFK.js +387 -0
  52. package/dist/chunk-4IHWT7PH.js +167 -0
  53. package/dist/chunk-4LF4AYPT.js +846 -0
  54. package/dist/chunk-5JJD33Y2.js +455 -0
  55. package/dist/chunk-5K4QYYOJ.js +831 -0
  56. package/dist/chunk-5LJ6E4YU.js +163 -0
  57. package/dist/chunk-5T73MMBL.js +275 -0
  58. package/dist/chunk-64MAHLTK.js +363 -0
  59. package/dist/chunk-6OIKNJ7G.js +26 -0
  60. package/dist/chunk-6ZFSDYWV.js +131 -0
  61. package/dist/chunk-7I6ZVBLM.js +358 -0
  62. package/dist/chunk-AN4OEQXE.js +122 -0
  63. package/dist/chunk-AULSX5ZA.js +5368 -0
  64. package/dist/chunk-AVYUFJQQ.js +46 -0
  65. package/dist/chunk-B4YF7VQF.js +97 -0
  66. package/dist/chunk-BDOYNGUL.js +98 -0
  67. package/dist/chunk-BJOK7QD4.js +207 -0
  68. package/dist/chunk-CMCGFSUS.js +197 -0
  69. package/dist/chunk-DMJUIUAL.js +676 -0
  70. package/dist/chunk-DUCUOZLS.js +225 -0
  71. package/dist/chunk-EW7JSTRZ.js +24026 -0
  72. package/dist/chunk-EW7JSTRZ.js.map +1 -0
  73. package/dist/chunk-F3CZFUXZ.js +3187 -0
  74. package/dist/chunk-F3CZFUXZ.js.map +1 -0
  75. package/dist/chunk-FJZYOVSW.js +843 -0
  76. package/dist/chunk-FKP4ECJY.js +19 -0
  77. package/dist/chunk-GAYRBIEF.js +712 -0
  78. package/dist/chunk-GAYRBIEF.js.map +1 -0
  79. package/dist/chunk-GNMEOU46.js +8954 -0
  80. package/dist/chunk-GYKYXWUQ.js +156 -0
  81. package/dist/chunk-GYPLRU4Y.js +297 -0
  82. package/dist/chunk-I43ZEWJQ.js +285 -0
  83. package/dist/chunk-IZABTTW5.js +228 -0
  84. package/dist/chunk-K7IE6UYV.js +1646 -0
  85. package/dist/chunk-KH5YHHJV.js +604 -0
  86. package/dist/chunk-KMY7AD3N.js +51 -0
  87. package/dist/chunk-KPCHWDJM.js +8914 -0
  88. package/dist/chunk-KTZCLJ2D.js +148 -0
  89. package/dist/chunk-MKUA54QE.js +638 -0
  90. package/dist/chunk-MTV2RSGY.js +63 -0
  91. package/dist/chunk-MUS2UTWU.js +4254 -0
  92. package/dist/chunk-MUS2UTWU.js.map +1 -0
  93. package/dist/chunk-N2QX57K3.js +392 -0
  94. package/dist/chunk-NEYWS2DQ.js +479 -0
  95. package/dist/chunk-NZ34KM46.js +7211 -0
  96. package/dist/chunk-OTC6UMJ2.js +191 -0
  97. package/dist/chunk-OUY2IAWL.js +224 -0
  98. package/dist/chunk-PJXNCRMR.js +344 -0
  99. package/dist/chunk-PYQ3GF7R.js +91 -0
  100. package/dist/chunk-Q3EIVZAR.js +170 -0
  101. package/dist/chunk-QHZE62GP.js +1919 -0
  102. package/dist/chunk-RGR6TSTJ.js +103 -0
  103. package/dist/chunk-SAAXU7QR.js +203 -0
  104. package/dist/chunk-SHTKLRI6.js +66 -0
  105. package/dist/chunk-SIKCVWM3.js +76 -0
  106. package/dist/chunk-SSXG53CZ.js +89 -0
  107. package/dist/chunk-TBWAM577.js +547 -0
  108. package/dist/chunk-TGPGQTZA.js +169 -0
  109. package/dist/chunk-UMIX2BMM.js +1518 -0
  110. package/dist/chunk-URMAEVZO.js +150 -0
  111. package/dist/chunk-VBO3ZVUU.js +61 -0
  112. package/dist/chunk-VFLYMHTO.js +592 -0
  113. package/dist/chunk-VGYIVXIZ.js +249 -0
  114. package/dist/chunk-VIB7R533.js +57 -0
  115. package/dist/chunk-WVWLPXBO.js +910 -0
  116. package/dist/chunk-XEH5XAP6.js +494 -0
  117. package/dist/chunk-XEOKVL4E.js +142 -0
  118. package/dist/chunk-XOGQJYXH.js +64 -0
  119. package/dist/chunk-XUXRA7IB.js +942 -0
  120. package/dist/claim-FIK2YTLM.js +200 -0
  121. package/dist/cli.js +34 -33
  122. package/dist/cli.js.map +1 -1
  123. package/dist/companies-KMMV6EJW.js +198 -0
  124. package/dist/company-B54URPJG.js +308 -0
  125. package/dist/complete-PPCWEXS3.js +84 -0
  126. package/dist/connect-IAXSZPGA.js +45 -0
  127. package/dist/conversation-KHTZBGX2.js +96 -0
  128. package/dist/conversion-report-U66HW6JM.js +127 -0
  129. package/dist/conversion-upload-command-IHFKVX2M.js +439 -0
  130. package/dist/conversion-writes-RSGDOAET.js +122 -0
  131. package/dist/conversions-BVOL43W4.js +78 -0
  132. package/dist/conversions-SUMZAV2T.js +140 -0
  133. package/dist/create-732HQL3C.js +210 -0
  134. package/dist/create-TFR6R2KF.js +239 -0
  135. package/dist/create-UC57ULRL.js +62 -0
  136. package/dist/create-UL2OYXOA.js +135 -0
  137. package/dist/creatives-BZEVJ6ER.js +58 -0
  138. package/dist/creatives-FU3YELGU.js +223 -0
  139. package/dist/credentials-AYV5YQE4.js +290 -0
  140. package/dist/critique-FKIJB72I.js +1451 -0
  141. package/dist/critique-IQYNDXCN.js +232 -0
  142. package/dist/crm-ILQMNJPX.js +323 -0
  143. package/dist/crm-MQQRBITZ.js +227 -0
  144. package/dist/currency-CGKO5GKH.js +88 -0
  145. package/dist/customers-NKKU6S7G.js +59 -0
  146. package/dist/delete-2TCCNRMH.js +57 -0
  147. package/dist/delete-HCZTISBT.js +69 -0
  148. package/dist/delete-UIKB5ZXS.js +67 -0
  149. package/dist/demographics-ABZODD45.js +141 -0
  150. package/dist/discard-V3K5PZ4W.js +69 -0
  151. package/dist/discover-VM3O7CQM.js +172 -0
  152. package/dist/domain-A66DHOTQ.js +101 -0
  153. package/dist/download-LSAZD5JO.js +172 -0
  154. package/dist/draft-5UUJC675.js +335 -0
  155. package/dist/draft-BATA5CVI.js +283 -0
  156. package/dist/draft-CRDBU6LF.js +308 -0
  157. package/dist/draft-P7IDMXWR.js +310 -0
  158. package/dist/draft-YBNL4ZZA.js +220 -0
  159. package/dist/engine/index.js +7 -7
  160. package/dist/experiments-MLLTHMMS.js +236 -0
  161. package/dist/facets-KSHR3MBE.js +117 -0
  162. package/dist/feedback-4GCPXZSI.js +111 -0
  163. package/dist/feedback-record-VEFHUIUJ.js +265 -0
  164. package/dist/fetch-42QL56JC.js +179 -0
  165. package/dist/fit-Q5GRVF2O.js +65 -0
  166. package/dist/flows-M3WBZQET.js +250 -0
  167. package/dist/fonts-GD4YRXQU.js +39 -0
  168. package/dist/forecast-HT46MFL4.js +121 -0
  169. package/dist/forecast-ONVS2QAI.js +169 -0
  170. package/dist/funnel-76BAD64Q.js +397 -0
  171. package/dist/generate-VBEY3N3L.js +263 -0
  172. package/dist/get-4KFAO475.js +82 -0
  173. package/dist/get-QV5NIADE.js +59 -0
  174. package/dist/google-7EZP7I6J.js +3267 -0
  175. package/dist/google-ads-J7WHTJO4.js +198 -0
  176. package/dist/history-EULKWQUS.js +136 -0
  177. package/dist/history-FEBJHFHJ.js +69 -0
  178. package/dist/history-RDVV7KBN.js +102 -0
  179. package/dist/hubspot-A3RQNMYN.js +782 -0
  180. package/dist/ideas-WX7EBPSF.js +45 -0
  181. package/dist/images-4AXF4LAC.js +92 -0
  182. package/dist/ingest-AM5YDTRH.js +110 -0
  183. package/dist/ingest-C3M4GUO6.js +26 -0
  184. package/dist/insights-UTCMSWSC.js +132 -0
  185. package/dist/inspect-DWCLRZGR.js +192 -0
  186. package/dist/intent-ZMYMFGB4.js +95 -0
  187. package/dist/keyword-gap-XSJO2R77.js +130 -0
  188. package/dist/keyword-metrics-M46FCTAS.js +200 -0
  189. package/dist/keywords-for-site-XNSLX7EA.js +131 -0
  190. package/dist/landing-MUNYZQNA.js +28 -0
  191. package/dist/languages-DIQ3OG3E.js +40 -0
  192. package/dist/lead-routes-B4FBXNEC.js +639 -0
  193. package/dist/lead-routes-B4FBXNEC.js.map +1 -0
  194. package/dist/leads-LAATTW5G.js +115 -0
  195. package/dist/learn-3GLY4G3H.js +207 -0
  196. package/dist/line-item-writes-XJTTA3X5.js +211 -0
  197. package/dist/line-items-JR25T2C5.js +107 -0
  198. package/dist/link-7DSLIF3I.js +67 -0
  199. package/dist/linkedin-W5BJ6HEH.js +1316 -0
  200. package/dist/linkedin-person-2ZYSOHYR.js +139 -0
  201. package/dist/list-3653DIYB.js +67 -0
  202. package/dist/list-G66HVYCR.js +306 -0
  203. package/dist/list-Z4M53MS5.js +154 -0
  204. package/dist/locations-HTVYJSDJ.js +40 -0
  205. package/dist/locations-M2B5XDU4.js +69 -0
  206. package/dist/log-2RJU5BOW.js +95 -0
  207. package/dist/make-MJ6JMU5T.js +1370 -0
  208. package/dist/map-27IPOBY6.js +436 -0
  209. package/dist/mcp-TFQTME4P.js +717 -0
  210. package/dist/media-sources-P246GM7W.js +35 -0
  211. package/dist/members-KOKBTUC2.js +47 -0
  212. package/dist/metrics-WYWUX6Y5.js +152 -0
  213. package/dist/models-HJ7Y55AH.js +155 -0
  214. package/dist/normalize-GXBUNTYJ.js +144 -0
  215. package/dist/options-MA25RNXF.js +125 -0
  216. package/dist/organization-NLEVNGKQ.js +949 -0
  217. package/dist/performance-34EUP5KL.js +5541 -0
  218. package/dist/performance-J3DLNI2W.js +27 -0
  219. package/dist/pixels-THEGYRXT.js +62 -0
  220. package/dist/promoted-tweet-writes-SBXWKO23.js +183 -0
  221. package/dist/promoted-tweets-W42FNWS7.js +119 -0
  222. package/dist/publish-YG76GOA7.js +344 -0
  223. package/dist/query-IQICLABN.js +62 -0
  224. package/dist/reddit-X4CERXYF.js +29 -0
  225. package/dist/refresh-A36GA7JN.js +97 -0
  226. package/dist/release-3NCMZIDI.js +63 -0
  227. package/dist/relevant-pages-UDDQOYLD.js +99 -0
  228. package/dist/remove-6LE3XNRG.js +53 -0
  229. package/dist/reopen-XLADJ2UU.js +66 -0
  230. package/dist/rerun-QVMFJZA2.js +95 -0
  231. package/dist/research-D5UUJF74.js +72 -0
  232. package/dist/research-QCI5ISUE.js +265 -0
  233. package/dist/reset-DD37KDXQ.js +57 -0
  234. package/dist/reset-FLZPKY2N.js +57 -0
  235. package/dist/resolve-KRKIJKT7.js +124 -0
  236. package/dist/retry-ALXYEKFV.js +65 -0
  237. package/dist/retry-MIXKW4EW.js +63 -0
  238. package/dist/revenue-UBZUTSXN.js +91 -0
  239. package/dist/rules-SO6P44B6.js +99 -0
  240. package/dist/rules-add-XN3BZKFO.js +465 -0
  241. package/dist/run-K2DOMOAN.js +69 -0
  242. package/dist/run-T7XAH2W5.js +70 -0
  243. package/dist/scaffold-ad-TWIT7R4U.js +1516 -0
  244. package/dist/scaffold-static-ad-GPJKOGOI.js +1015 -0
  245. package/dist/scaffold-video-7BQNOJ4S.js +888 -0
  246. package/dist/schedule-UTRVEWPE.js +64 -0
  247. package/dist/scheduled-agents-ZGCUZ6SB.js +55 -0
  248. package/dist/schema-D6BMZAPB.js +69 -0
  249. package/dist/schema-DSMF6ELE.js +135 -0
  250. package/dist/search-2P72GSKY.js +177 -0
  251. package/dist/select-N7VWQ2ZQ.js +106 -0
  252. package/dist/set-prompt-3N3HMHT6.js +198 -0
  253. package/dist/setup-links-I5RFZTS4.js +144 -0
  254. package/dist/shopify-LXSR37XI.js +3958 -0
  255. package/dist/site-AI3BFWRK.js +180 -0
  256. package/dist/sources-AOF2YDYX.js +457 -0
  257. package/dist/sources-DVMJEXEX.js +30 -0
  258. package/dist/stale-P4GGOLIB.js +76 -0
  259. package/dist/status-O25MXHU4.js +65 -0
  260. package/dist/studio-5Z4NMA4K.js +49 -0
  261. package/dist/sync-2AI7LKKN.js +57 -0
  262. package/dist/sync-definition-F3CXG6KG.js +69 -0
  263. package/dist/tags-SEZ2CQJM.js +26 -0
  264. package/dist/tags-TJDZXOXS.js +227 -0
  265. package/dist/tags-YSC7ZILI.js +23 -0
  266. package/dist/tags-Z6EALYOS.js +23 -0
  267. package/dist/tags-ZXSVW6XO.js +23 -0
  268. package/dist/targeting-criteria-AU5CSMAU.js +113 -0
  269. package/dist/targets-IOIH5JYS.js +106 -0
  270. package/dist/testimonials-Y6PUV6AL.js +32 -0
  271. package/dist/themes-PGPIAKAO.js +95 -0
  272. package/dist/top-companies-FSITN3ZR.js +111 -0
  273. package/dist/transcript-CGPX7Y37.js +165 -0
  274. package/dist/translate-QCBMGOKR.js +609 -0
  275. package/dist/triggers-MONMZSKT.js +144 -0
  276. package/dist/unlink-I7QFQQKO.js +70 -0
  277. package/dist/unstage-JXG5AU5Q.js +88 -0
  278. package/dist/update-BVZGM54I.js +66 -0
  279. package/dist/update-EI2BHUM2.js +101 -0
  280. package/dist/update-RZSV4NYP.js +155 -0
  281. package/dist/update-WLDNOZ5U.js +192 -0
  282. package/dist/upload-BP3YEQSF.js +129 -0
  283. package/dist/url-options-63DED6CR.js +131 -0
  284. package/dist/url-params-TRFI2PMD.js +101 -0
  285. package/dist/validate-SNCR25A7.js +122 -0
  286. package/dist/videos-SVZV5YYC.js +41 -0
  287. package/dist/viewer-check-LUAEGV6H.js +83 -0
  288. package/dist/web-MJQEK7BB.js +143 -0
  289. package/dist/winning-ads-KNLJHHCO.js +86 -0
  290. package/dist/write-commands-NVCX7IAU.js +1502 -0
  291. package/dist/x-ZQNHYIDU.js +47 -0
  292. package/package.json +1 -1
  293. package/dist/account-D6LEVVWT.js +0 -82
  294. package/dist/account-SGK3IJ6N.js +0 -82
  295. package/dist/account-reads-2MSUVG46.js +0 -219
  296. package/dist/account-users-MHC7AD6K.js +0 -64
  297. package/dist/account-writes-QQQC54WC.js +0 -68
  298. package/dist/accounts-2O6I7YBN.js +0 -80
  299. package/dist/accounts-QNE5QWBG.js +0 -701
  300. package/dist/actions-D7OWCP36.js +0 -55
  301. package/dist/activecampaign-LBS4M4C4.js +0 -938
  302. package/dist/ad-group-writes-CJTTUUIT.js +0 -172
  303. package/dist/ad-groups-HLGSVH74.js +0 -70
  304. package/dist/ad-writes-3UE3U7VE.js +0 -176
  305. package/dist/add-HFQB2NTU.js +0 -107
  306. package/dist/add-IUYE5H6A.js +0 -305
  307. package/dist/ads-HLUJB5SQ.js +0 -48
  308. package/dist/ads-PYNDMHUD.js +0 -79
  309. package/dist/advertisers-XXM6POO5.js +0 -123
  310. package/dist/analytics-AULKYNNT.js +0 -447
  311. package/dist/analytics-DNDTC643.js +0 -2437
  312. package/dist/animate-2BMHZ4FM.js +0 -480
  313. package/dist/assign-2GQVQKKO.js +0 -80
  314. package/dist/audience-size-C3YHQPZB.js +0 -76
  315. package/dist/audiences-M3A3QK52.js +0 -280
  316. package/dist/audit-FLPJ7GTE.js +0 -154
  317. package/dist/autocomplete-ZYMHHV7E.js +0 -114
  318. package/dist/avatars-WZ2JDMHH.js +0 -38
  319. package/dist/bid-pricing-H3M63PTW.js +0 -103
  320. package/dist/brand-IZTTBZII.js +0 -22
  321. package/dist/brief-OPQ7ICOY.js +0 -543
  322. package/dist/campaign-groups-IQSDKOVI.js +0 -99
  323. package/dist/campaign-writes-APAAV4ZU.js +0 -168
  324. package/dist/campaign-writes-BN4PZP4Z.js +0 -176
  325. package/dist/campaigns-4Y3JQC2U.js +0 -111
  326. package/dist/campaigns-GA34MEN2.js +0 -78
  327. package/dist/campaigns-K2FVD3XW.js +0 -113
  328. package/dist/canvas-IQ753Q2O.js +0 -46
  329. package/dist/capabilities-ZITW4RF7.js +0 -147
  330. package/dist/catalog-TZLU5NWI.js +0 -65
  331. package/dist/catalogs-ZR7DECMG.js +0 -130
  332. package/dist/changes-VWKTM27U.js +0 -135
  333. package/dist/chatgpt-OPOD2WHB.js +0 -47
  334. package/dist/chats-AL2SYBJO.js +0 -279
  335. package/dist/check-U2YLRD6H.js +0 -107
  336. package/dist/chunk-2GYCWRF3.js +0 -170
  337. package/dist/chunk-2L7F7KR4.js +0 -61
  338. package/dist/chunk-3YJNSUNF.js +0 -131
  339. package/dist/chunk-44ZRCSR7.js +0 -228
  340. package/dist/chunk-46YLDIQG.js +0 -4254
  341. package/dist/chunk-46YLDIQG.js.map +0 -1
  342. package/dist/chunk-4EDWXZ3I.js +0 -363
  343. package/dist/chunk-4FFBGR5L.js +0 -66
  344. package/dist/chunk-4UZUUSVL.js +0 -592
  345. package/dist/chunk-4XHCEYHI.js +0 -831
  346. package/dist/chunk-4Z6PVR3M.js +0 -479
  347. package/dist/chunk-5Y5FZV2W.js +0 -122
  348. package/dist/chunk-6HJXLGDV.js +0 -392
  349. package/dist/chunk-6KWEF6HF.js +0 -8914
  350. package/dist/chunk-6S5CWGDA.js +0 -429
  351. package/dist/chunk-6VYROVWO.js +0 -494
  352. package/dist/chunk-7HZSORAB.js +0 -843
  353. package/dist/chunk-A3IQAONL.js +0 -638
  354. package/dist/chunk-AQRXXC6E.js +0 -319
  355. package/dist/chunk-ARBXT73X.js +0 -387
  356. package/dist/chunk-ASRS37QE.js +0 -710
  357. package/dist/chunk-ASRS37QE.js.map +0 -1
  358. package/dist/chunk-BEZHQIEI.js +0 -97
  359. package/dist/chunk-BFURWHVR.js +0 -547
  360. package/dist/chunk-BX6B25KK.js +0 -358
  361. package/dist/chunk-DSCEXBDR.js +0 -676
  362. package/dist/chunk-F4YQ5PVR.js +0 -1518
  363. package/dist/chunk-FFG2OYVV.js +0 -64
  364. package/dist/chunk-FLWDFPXE.js +0 -23
  365. package/dist/chunk-FRNBRN2C.js +0 -1646
  366. package/dist/chunk-GE3VT3CA.js +0 -51
  367. package/dist/chunk-GW2WRZZA.js +0 -24026
  368. package/dist/chunk-GW2WRZZA.js.map +0 -1
  369. package/dist/chunk-HGBJQGO5.js +0 -142
  370. package/dist/chunk-HML3VQIW.js +0 -225
  371. package/dist/chunk-I7AYMJZA.js +0 -783
  372. package/dist/chunk-IRM273C7.js +0 -207
  373. package/dist/chunk-IWKD56AY.js +0 -156
  374. package/dist/chunk-JAC6JVCI.js +0 -26
  375. package/dist/chunk-JLAQWMVF.js +0 -3868
  376. package/dist/chunk-K6NULQN7.js +0 -57
  377. package/dist/chunk-L2BRAC2J.js +0 -19
  378. package/dist/chunk-LGMI4LSY.js +0 -455
  379. package/dist/chunk-LRV6M2WB.js +0 -1919
  380. package/dist/chunk-MCJ5I5LR.js +0 -3187
  381. package/dist/chunk-MCJ5I5LR.js.map +0 -1
  382. package/dist/chunk-MVD7QIXI.js +0 -46
  383. package/dist/chunk-MZPS46OR.js +0 -76
  384. package/dist/chunk-OG47L5GG.js +0 -275
  385. package/dist/chunk-OR6KVLI5.js +0 -169
  386. package/dist/chunk-PC3FJEZH.js +0 -7211
  387. package/dist/chunk-PX3PUDK7.js +0 -167
  388. package/dist/chunk-QIOFOD4K.js +0 -344
  389. package/dist/chunk-R2SYF5FC.js +0 -249
  390. package/dist/chunk-RTH2I55B.js +0 -942
  391. package/dist/chunk-S6VFDNSQ.js +0 -63
  392. package/dist/chunk-SG2TDQEE.js +0 -150
  393. package/dist/chunk-SWN6OHXG.js +0 -148
  394. package/dist/chunk-T3P6O2VU.js +0 -89
  395. package/dist/chunk-TX7CQTD4.js +0 -5368
  396. package/dist/chunk-TXDE2QJ3.js +0 -604
  397. package/dist/chunk-UDIEKCIR.js +0 -203
  398. package/dist/chunk-UKSSNYLU.js +0 -98
  399. package/dist/chunk-USCADMM3.js +0 -163
  400. package/dist/chunk-UUGISMNE.js +0 -910
  401. package/dist/chunk-VDPOCAQ2.js +0 -197
  402. package/dist/chunk-VEJ3QX6M.js +0 -103
  403. package/dist/chunk-VFJB7OG6.js +0 -91
  404. package/dist/chunk-VRIPVLE7.js +0 -8954
  405. package/dist/chunk-WFY7KSHB.js +0 -274
  406. package/dist/chunk-XHQYFNNK.js +0 -846
  407. package/dist/chunk-YILZR3XI.js +0 -224
  408. package/dist/chunk-YJFLXOH4.js +0 -191
  409. package/dist/chunk-YNYAT2TZ.js +0 -285
  410. package/dist/chunk-YWHZYR6S.js +0 -297
  411. package/dist/claim-GOLUTAJ3.js +0 -200
  412. package/dist/companies-4AJJGTMC.js +0 -198
  413. package/dist/company-MOSPLRZJ.js +0 -308
  414. package/dist/complete-777BDV45.js +0 -84
  415. package/dist/connect-3YY7MF3I.js +0 -45
  416. package/dist/conversation-KROMHDHK.js +0 -96
  417. package/dist/conversion-report-JZHI2IHY.js +0 -127
  418. package/dist/conversion-upload-command-7RSZ5ZQU.js +0 -439
  419. package/dist/conversion-writes-SNCLQDXQ.js +0 -122
  420. package/dist/conversions-43EYP2W2.js +0 -140
  421. package/dist/conversions-EUOWILCQ.js +0 -78
  422. package/dist/create-3WOZO2XT.js +0 -239
  423. package/dist/create-7IFYLX7P.js +0 -210
  424. package/dist/create-FOHIQC3E.js +0 -62
  425. package/dist/create-UWQSQTK6.js +0 -135
  426. package/dist/creatives-2DR3QHJW.js +0 -58
  427. package/dist/creatives-KUO67WYA.js +0 -223
  428. package/dist/credentials-IP4L37XP.js +0 -290
  429. package/dist/critique-LGDNMLBL.js +0 -232
  430. package/dist/critique-LJMFAURK.js +0 -1451
  431. package/dist/crm-BNYW7PF7.js +0 -323
  432. package/dist/crm-J53V2QTN.js +0 -227
  433. package/dist/currency-X7Y6TSLF.js +0 -88
  434. package/dist/customers-663K2OCP.js +0 -59
  435. package/dist/delete-5W3YVA4L.js +0 -67
  436. package/dist/delete-6U7E6YUW.js +0 -57
  437. package/dist/delete-G4NY6ZG6.js +0 -69
  438. package/dist/demographics-4Y5LTCU4.js +0 -141
  439. package/dist/discard-RKCZNKMN.js +0 -69
  440. package/dist/discover-6DORQWXY.js +0 -172
  441. package/dist/domain-PLA2O4FW.js +0 -101
  442. package/dist/download-4EFLVSA4.js +0 -172
  443. package/dist/draft-4V7W5DV2.js +0 -310
  444. package/dist/draft-HY3U2GHU.js +0 -283
  445. package/dist/draft-JMNAGW7C.js +0 -220
  446. package/dist/draft-R6EKORNS.js +0 -308
  447. package/dist/draft-TRPQCJ4B.js +0 -335
  448. package/dist/experiments-4V242DG2.js +0 -236
  449. package/dist/facets-WXJ2MCU6.js +0 -117
  450. package/dist/feedback-IRSRPXV6.js +0 -111
  451. package/dist/feedback-record-DT3R4NA3.js +0 -265
  452. package/dist/fetch-YLQP5VQL.js +0 -179
  453. package/dist/fit-BEFCY2B4.js +0 -65
  454. package/dist/flows-FDMF3F3P.js +0 -250
  455. package/dist/fonts-C6XN5667.js +0 -39
  456. package/dist/forecast-BTPIXEQ5.js +0 -169
  457. package/dist/forecast-ZTXZD3HD.js +0 -121
  458. package/dist/funnel-7KOEX7YM.js +0 -397
  459. package/dist/generate-NWHPM2GQ.js +0 -263
  460. package/dist/get-KBSKPTAV.js +0 -59
  461. package/dist/get-OSVQVMP6.js +0 -82
  462. package/dist/google-M6BJ22UL.js +0 -3267
  463. package/dist/google-ads-XCJVAXWF.js +0 -198
  464. package/dist/history-3NTM5SFN.js +0 -69
  465. package/dist/history-4TN2A6BL.js +0 -136
  466. package/dist/history-5IWW2X33.js +0 -102
  467. package/dist/hubspot-HMVSRJQZ.js +0 -782
  468. package/dist/ideas-M66FU45H.js +0 -45
  469. package/dist/images-MM5OPUKV.js +0 -92
  470. package/dist/ingest-GU3WEBN3.js +0 -110
  471. package/dist/ingest-KMLYCFF4.js +0 -26
  472. package/dist/insights-CQCWOCIT.js +0 -132
  473. package/dist/inspect-4JO2J3D6.js +0 -192
  474. package/dist/intent-YCQCUCV3.js +0 -95
  475. package/dist/keyword-gap-PUSF7EKY.js +0 -130
  476. package/dist/keyword-metrics-JXBM22ZD.js +0 -200
  477. package/dist/keywords-for-site-OAYA7KP7.js +0 -131
  478. package/dist/landing-OZU5RRFV.js +0 -28
  479. package/dist/languages-SLFV73GE.js +0 -40
  480. package/dist/leads-Q7APIJRQ.js +0 -115
  481. package/dist/learn-NBBJRMVZ.js +0 -207
  482. package/dist/line-item-writes-X3L5NQEH.js +0 -211
  483. package/dist/line-items-NJMEPEF5.js +0 -107
  484. package/dist/link-WZSNUQQ2.js +0 -67
  485. package/dist/linkedin-55PAID62.js +0 -1316
  486. package/dist/linkedin-person-MVRI7LLC.js +0 -139
  487. package/dist/list-6S54IAUX.js +0 -67
  488. package/dist/list-QRJ4E3SC.js +0 -154
  489. package/dist/list-RZUDFLJN.js +0 -306
  490. package/dist/locations-T2OMP6QN.js +0 -40
  491. package/dist/locations-W3VOYBWL.js +0 -69
  492. package/dist/log-53SAPZZ3.js +0 -95
  493. package/dist/make-ZF3YIMKW.js +0 -1370
  494. package/dist/map-J37QFJSV.js +0 -436
  495. package/dist/mcp-YRIFPYNU.js +0 -717
  496. package/dist/media-sources-EQI3U4TC.js +0 -35
  497. package/dist/members-GYVMSCKL.js +0 -47
  498. package/dist/metrics-4YVJHYRI.js +0 -152
  499. package/dist/models-JQEPSPNQ.js +0 -155
  500. package/dist/normalize-MFN3WCH5.js +0 -144
  501. package/dist/options-DLHDHO7H.js +0 -125
  502. package/dist/organization-C2VOA2SD.js +0 -949
  503. package/dist/performance-NIF3CESZ.js +0 -27
  504. package/dist/performance-T6TBVHVU.js +0 -5541
  505. package/dist/pixels-LQAJOZIM.js +0 -62
  506. package/dist/promoted-tweet-writes-Y6BBOWDL.js +0 -183
  507. package/dist/promoted-tweets-RJT53DRM.js +0 -119
  508. package/dist/publish-IOTMJCCY.js +0 -344
  509. package/dist/query-XZMDGRO5.js +0 -62
  510. package/dist/reddit-JIHMAKAQ.js +0 -29
  511. package/dist/refresh-OQZ263CS.js +0 -97
  512. package/dist/release-4CHFURO3.js +0 -63
  513. package/dist/relevant-pages-FS7GBVXK.js +0 -99
  514. package/dist/remove-IJQPHPDI.js +0 -53
  515. package/dist/reopen-YTLPVKUR.js +0 -66
  516. package/dist/rerun-C7NB7B35.js +0 -95
  517. package/dist/research-PNBACCCP.js +0 -72
  518. package/dist/research-TLHNPK3O.js +0 -265
  519. package/dist/reset-JVLW7HA2.js +0 -57
  520. package/dist/reset-Y6FXLAQE.js +0 -57
  521. package/dist/resolve-YLRESES5.js +0 -124
  522. package/dist/retry-3V3IGDRR.js +0 -65
  523. package/dist/retry-AEKQLQMP.js +0 -63
  524. package/dist/revenue-E4GQIOUY.js +0 -91
  525. package/dist/rules-34BQAWU3.js +0 -99
  526. package/dist/rules-add-CM5XUYNS.js +0 -465
  527. package/dist/run-MD64RDHZ.js +0 -69
  528. package/dist/run-QCNRR3CA.js +0 -70
  529. package/dist/scaffold-ad-NADPY3CB.js +0 -1516
  530. package/dist/scaffold-static-ad-5YEYYVYH.js +0 -1015
  531. package/dist/scaffold-video-W7DF2CBJ.js +0 -888
  532. package/dist/schedule-CTRRF6TS.js +0 -64
  533. package/dist/scheduled-agents-OXYAVSIE.js +0 -55
  534. package/dist/schema-6Y3IXFDC.js +0 -69
  535. package/dist/schema-BEUYOGSW.js +0 -135
  536. package/dist/search-GFJKWPKN.js +0 -177
  537. package/dist/select-S72CCL57.js +0 -106
  538. package/dist/set-prompt-YYFDRXRI.js +0 -198
  539. package/dist/setup-links-D4JJLESN.js +0 -144
  540. package/dist/shopify-T4UWFIQC.js +0 -3958
  541. package/dist/site-BBZAUZA3.js +0 -180
  542. package/dist/sources-BUPV7H7F.js +0 -457
  543. package/dist/sources-FLUGHSVP.js +0 -30
  544. package/dist/stale-HP54JS5X.js +0 -76
  545. package/dist/status-CLSWQFCQ.js +0 -65
  546. package/dist/studio-T5L7UEX6.js +0 -49
  547. package/dist/sync-4YTVVEVC.js +0 -57
  548. package/dist/sync-definition-OGQ5XTQE.js +0 -69
  549. package/dist/tags-CZTRQNXV.js +0 -26
  550. package/dist/tags-FDQXWTCQ.js +0 -23
  551. package/dist/tags-R67DKRZ6.js +0 -23
  552. package/dist/tags-SA2LU6AW.js +0 -227
  553. package/dist/tags-ZOXX6VRE.js +0 -23
  554. package/dist/targeting-criteria-AQYXVSGN.js +0 -113
  555. package/dist/targets-UUVCEG3F.js +0 -106
  556. package/dist/testimonials-G3OCNPBY.js +0 -32
  557. package/dist/themes-FEVYZZCW.js +0 -95
  558. package/dist/top-companies-BQGWKYUK.js +0 -111
  559. package/dist/transcript-U46AEOEI.js +0 -165
  560. package/dist/translate-AS7JVKYM.js +0 -609
  561. package/dist/triggers-ECRBPYYF.js +0 -144
  562. package/dist/unlink-VDNCSRJV.js +0 -70
  563. package/dist/unstage-ATDXUYP2.js +0 -88
  564. package/dist/update-FJ6TBV3E.js +0 -101
  565. package/dist/update-HDBJCSTI.js +0 -66
  566. package/dist/update-U43DJRGV.js +0 -155
  567. package/dist/update-Z7TIUBMJ.js +0 -192
  568. package/dist/upload-LXCFSRIU.js +0 -129
  569. package/dist/url-options-Z4BQBEMI.js +0 -131
  570. package/dist/url-params-J7RKP5RB.js +0 -101
  571. package/dist/validate-VR3HEOMJ.js +0 -122
  572. package/dist/videos-36AXDUGZ.js +0 -41
  573. package/dist/viewer-check-6HL4OUQY.js +0 -83
  574. package/dist/web-7BRJRQX7.js +0 -143
  575. package/dist/winning-ads-GMM5W2O4.js +0 -86
  576. package/dist/write-commands-IM5DPG3R.js +0 -1502
  577. package/dist/x-HGFAL3NY.js +0 -47
  578. /package/dist/{account-SGK3IJ6N.js.map → account-QX4G4BJ7.js.map} +0 -0
  579. /package/dist/{account-D6LEVVWT.js.map → account-UFYZS3K6.js.map} +0 -0
  580. /package/dist/{account-reads-2MSUVG46.js.map → account-reads-FOEVPWDP.js.map} +0 -0
  581. /package/dist/{account-users-MHC7AD6K.js.map → account-users-UTIF7MIT.js.map} +0 -0
  582. /package/dist/{account-writes-QQQC54WC.js.map → account-writes-QAQXRIEY.js.map} +0 -0
  583. /package/dist/{accounts-QNE5QWBG.js.map → accounts-JK3OAS5U.js.map} +0 -0
  584. /package/dist/{accounts-2O6I7YBN.js.map → accounts-OE33CKWD.js.map} +0 -0
  585. /package/dist/{actions-D7OWCP36.js.map → actions-QZDSLFFK.js.map} +0 -0
  586. /package/dist/{activecampaign-LBS4M4C4.js.map → activecampaign-U6TKRR45.js.map} +0 -0
  587. /package/dist/{ad-group-writes-CJTTUUIT.js.map → ad-group-writes-XY5JYTKT.js.map} +0 -0
  588. /package/dist/{ad-groups-HLGSVH74.js.map → ad-groups-YEO5ZS5U.js.map} +0 -0
  589. /package/dist/{ad-writes-3UE3U7VE.js.map → ad-writes-XRCPK4SP.js.map} +0 -0
  590. /package/dist/{add-IUYE5H6A.js.map → add-2EF7S4NK.js.map} +0 -0
  591. /package/dist/{add-HFQB2NTU.js.map → add-YCJ6RXPG.js.map} +0 -0
  592. /package/dist/{ads-HLUJB5SQ.js.map → ads-AYJAYLFR.js.map} +0 -0
  593. /package/dist/{ads-PYNDMHUD.js.map → ads-H7H7H2CM.js.map} +0 -0
  594. /package/dist/{advertisers-XXM6POO5.js.map → advertisers-JLSU3G35.js.map} +0 -0
  595. /package/dist/{analytics-DNDTC643.js.map → analytics-ADIWEM6G.js.map} +0 -0
  596. /package/dist/{analytics-AULKYNNT.js.map → analytics-XB6FRNVJ.js.map} +0 -0
  597. /package/dist/{animate-2BMHZ4FM.js.map → animate-HRWFVE2N.js.map} +0 -0
  598. /package/dist/{assign-2GQVQKKO.js.map → assign-IWZ2OPFL.js.map} +0 -0
  599. /package/dist/{audience-size-C3YHQPZB.js.map → audience-size-P5L6MZ4C.js.map} +0 -0
  600. /package/dist/{audiences-M3A3QK52.js.map → audiences-XKERWKKE.js.map} +0 -0
  601. /package/dist/{audit-FLPJ7GTE.js.map → audit-SEADLC6F.js.map} +0 -0
  602. /package/dist/{autocomplete-ZYMHHV7E.js.map → autocomplete-AJQBJS5R.js.map} +0 -0
  603. /package/dist/{avatars-WZ2JDMHH.js.map → avatars-4HCGWBOL.js.map} +0 -0
  604. /package/dist/{bid-pricing-H3M63PTW.js.map → bid-pricing-NWSUO3VM.js.map} +0 -0
  605. /package/dist/{brand-IZTTBZII.js.map → brand-C6OB6Q4U.js.map} +0 -0
  606. /package/dist/{brief-OPQ7ICOY.js.map → brief-LCWWQ4OC.js.map} +0 -0
  607. /package/dist/{campaign-groups-IQSDKOVI.js.map → campaign-groups-PH64UXZJ.js.map} +0 -0
  608. /package/dist/{campaign-writes-APAAV4ZU.js.map → campaign-writes-BN3EGDK5.js.map} +0 -0
  609. /package/dist/{campaign-writes-BN4PZP4Z.js.map → campaign-writes-CLV5ZSUK.js.map} +0 -0
  610. /package/dist/{campaigns-GA34MEN2.js.map → campaigns-5XRY27JZ.js.map} +0 -0
  611. /package/dist/{campaigns-K2FVD3XW.js.map → campaigns-JF4TYYUP.js.map} +0 -0
  612. /package/dist/{campaigns-4Y3JQC2U.js.map → campaigns-ZYU4BXDP.js.map} +0 -0
  613. /package/dist/{canvas-IQ753Q2O.js.map → canvas-AI34UBGU.js.map} +0 -0
  614. /package/dist/{capabilities-ZITW4RF7.js.map → capabilities-TRHAPTUU.js.map} +0 -0
  615. /package/dist/{catalog-TZLU5NWI.js.map → catalog-ZY3MFT55.js.map} +0 -0
  616. /package/dist/{catalogs-ZR7DECMG.js.map → catalogs-6XLBWAUS.js.map} +0 -0
  617. /package/dist/{changes-VWKTM27U.js.map → changes-OOUVQDBY.js.map} +0 -0
  618. /package/dist/{chatgpt-OPOD2WHB.js.map → chatgpt-NAXIFWXV.js.map} +0 -0
  619. /package/dist/{chats-AL2SYBJO.js.map → chats-I5RHBRS5.js.map} +0 -0
  620. /package/dist/{check-U2YLRD6H.js.map → check-3E64VBUE.js.map} +0 -0
  621. /package/dist/{chunk-AQRXXC6E.js.map → chunk-3CHYJYSS.js.map} +0 -0
  622. /package/dist/{chunk-6S5CWGDA.js.map → chunk-3G3GC5N4.js.map} +0 -0
  623. /package/dist/{chunk-WFY7KSHB.js.map → chunk-3M45PYU7.js.map} +0 -0
  624. /package/dist/{chunk-FLWDFPXE.js.map → chunk-3QHXF3QI.js.map} +0 -0
  625. /package/dist/{chunk-JLAQWMVF.js.map → chunk-3XPHUMLJ.js.map} +0 -0
  626. /package/dist/{chunk-I7AYMJZA.js.map → chunk-45EERHDB.js.map} +0 -0
  627. /package/dist/{chunk-ARBXT73X.js.map → chunk-4FGTANFK.js.map} +0 -0
  628. /package/dist/{chunk-PX3PUDK7.js.map → chunk-4IHWT7PH.js.map} +0 -0
  629. /package/dist/{chunk-XHQYFNNK.js.map → chunk-4LF4AYPT.js.map} +0 -0
  630. /package/dist/{chunk-LGMI4LSY.js.map → chunk-5JJD33Y2.js.map} +0 -0
  631. /package/dist/{chunk-4XHCEYHI.js.map → chunk-5K4QYYOJ.js.map} +0 -0
  632. /package/dist/{chunk-USCADMM3.js.map → chunk-5LJ6E4YU.js.map} +0 -0
  633. /package/dist/{chunk-OG47L5GG.js.map → chunk-5T73MMBL.js.map} +0 -0
  634. /package/dist/{chunk-4EDWXZ3I.js.map → chunk-64MAHLTK.js.map} +0 -0
  635. /package/dist/{chunk-JAC6JVCI.js.map → chunk-6OIKNJ7G.js.map} +0 -0
  636. /package/dist/{chunk-3YJNSUNF.js.map → chunk-6ZFSDYWV.js.map} +0 -0
  637. /package/dist/{chunk-BX6B25KK.js.map → chunk-7I6ZVBLM.js.map} +0 -0
  638. /package/dist/{chunk-5Y5FZV2W.js.map → chunk-AN4OEQXE.js.map} +0 -0
  639. /package/dist/{chunk-TX7CQTD4.js.map → chunk-AULSX5ZA.js.map} +0 -0
  640. /package/dist/{chunk-MVD7QIXI.js.map → chunk-AVYUFJQQ.js.map} +0 -0
  641. /package/dist/{chunk-BEZHQIEI.js.map → chunk-B4YF7VQF.js.map} +0 -0
  642. /package/dist/{chunk-UKSSNYLU.js.map → chunk-BDOYNGUL.js.map} +0 -0
  643. /package/dist/{chunk-IRM273C7.js.map → chunk-BJOK7QD4.js.map} +0 -0
  644. /package/dist/{chunk-VDPOCAQ2.js.map → chunk-CMCGFSUS.js.map} +0 -0
  645. /package/dist/{chunk-DSCEXBDR.js.map → chunk-DMJUIUAL.js.map} +0 -0
  646. /package/dist/{chunk-HML3VQIW.js.map → chunk-DUCUOZLS.js.map} +0 -0
  647. /package/dist/{chunk-7HZSORAB.js.map → chunk-FJZYOVSW.js.map} +0 -0
  648. /package/dist/{chunk-L2BRAC2J.js.map → chunk-FKP4ECJY.js.map} +0 -0
  649. /package/dist/{chunk-VRIPVLE7.js.map → chunk-GNMEOU46.js.map} +0 -0
  650. /package/dist/{chunk-IWKD56AY.js.map → chunk-GYKYXWUQ.js.map} +0 -0
  651. /package/dist/{chunk-YWHZYR6S.js.map → chunk-GYPLRU4Y.js.map} +0 -0
  652. /package/dist/{chunk-YNYAT2TZ.js.map → chunk-I43ZEWJQ.js.map} +0 -0
  653. /package/dist/{chunk-44ZRCSR7.js.map → chunk-IZABTTW5.js.map} +0 -0
  654. /package/dist/{chunk-FRNBRN2C.js.map → chunk-K7IE6UYV.js.map} +0 -0
  655. /package/dist/{chunk-TXDE2QJ3.js.map → chunk-KH5YHHJV.js.map} +0 -0
  656. /package/dist/{chunk-GE3VT3CA.js.map → chunk-KMY7AD3N.js.map} +0 -0
  657. /package/dist/{chunk-6KWEF6HF.js.map → chunk-KPCHWDJM.js.map} +0 -0
  658. /package/dist/{chunk-SWN6OHXG.js.map → chunk-KTZCLJ2D.js.map} +0 -0
  659. /package/dist/{chunk-A3IQAONL.js.map → chunk-MKUA54QE.js.map} +0 -0
  660. /package/dist/{chunk-S6VFDNSQ.js.map → chunk-MTV2RSGY.js.map} +0 -0
  661. /package/dist/{chunk-6HJXLGDV.js.map → chunk-N2QX57K3.js.map} +0 -0
  662. /package/dist/{chunk-4Z6PVR3M.js.map → chunk-NEYWS2DQ.js.map} +0 -0
  663. /package/dist/{chunk-PC3FJEZH.js.map → chunk-NZ34KM46.js.map} +0 -0
  664. /package/dist/{chunk-YJFLXOH4.js.map → chunk-OTC6UMJ2.js.map} +0 -0
  665. /package/dist/{chunk-YILZR3XI.js.map → chunk-OUY2IAWL.js.map} +0 -0
  666. /package/dist/{chunk-QIOFOD4K.js.map → chunk-PJXNCRMR.js.map} +0 -0
  667. /package/dist/{chunk-VFJB7OG6.js.map → chunk-PYQ3GF7R.js.map} +0 -0
  668. /package/dist/{chunk-2GYCWRF3.js.map → chunk-Q3EIVZAR.js.map} +0 -0
  669. /package/dist/{chunk-LRV6M2WB.js.map → chunk-QHZE62GP.js.map} +0 -0
  670. /package/dist/{chunk-VEJ3QX6M.js.map → chunk-RGR6TSTJ.js.map} +0 -0
  671. /package/dist/{chunk-UDIEKCIR.js.map → chunk-SAAXU7QR.js.map} +0 -0
  672. /package/dist/{chunk-4FFBGR5L.js.map → chunk-SHTKLRI6.js.map} +0 -0
  673. /package/dist/{chunk-MZPS46OR.js.map → chunk-SIKCVWM3.js.map} +0 -0
  674. /package/dist/{chunk-T3P6O2VU.js.map → chunk-SSXG53CZ.js.map} +0 -0
  675. /package/dist/{chunk-BFURWHVR.js.map → chunk-TBWAM577.js.map} +0 -0
  676. /package/dist/{chunk-OR6KVLI5.js.map → chunk-TGPGQTZA.js.map} +0 -0
  677. /package/dist/{chunk-F4YQ5PVR.js.map → chunk-UMIX2BMM.js.map} +0 -0
  678. /package/dist/{chunk-SG2TDQEE.js.map → chunk-URMAEVZO.js.map} +0 -0
  679. /package/dist/{chunk-2L7F7KR4.js.map → chunk-VBO3ZVUU.js.map} +0 -0
  680. /package/dist/{chunk-4UZUUSVL.js.map → chunk-VFLYMHTO.js.map} +0 -0
  681. /package/dist/{chunk-R2SYF5FC.js.map → chunk-VGYIVXIZ.js.map} +0 -0
  682. /package/dist/{chunk-K6NULQN7.js.map → chunk-VIB7R533.js.map} +0 -0
  683. /package/dist/{chunk-UUGISMNE.js.map → chunk-WVWLPXBO.js.map} +0 -0
  684. /package/dist/{chunk-6VYROVWO.js.map → chunk-XEH5XAP6.js.map} +0 -0
  685. /package/dist/{chunk-HGBJQGO5.js.map → chunk-XEOKVL4E.js.map} +0 -0
  686. /package/dist/{chunk-FFG2OYVV.js.map → chunk-XOGQJYXH.js.map} +0 -0
  687. /package/dist/{chunk-RTH2I55B.js.map → chunk-XUXRA7IB.js.map} +0 -0
  688. /package/dist/{claim-GOLUTAJ3.js.map → claim-FIK2YTLM.js.map} +0 -0
  689. /package/dist/{companies-4AJJGTMC.js.map → companies-KMMV6EJW.js.map} +0 -0
  690. /package/dist/{company-MOSPLRZJ.js.map → company-B54URPJG.js.map} +0 -0
  691. /package/dist/{complete-777BDV45.js.map → complete-PPCWEXS3.js.map} +0 -0
  692. /package/dist/{connect-3YY7MF3I.js.map → connect-IAXSZPGA.js.map} +0 -0
  693. /package/dist/{conversation-KROMHDHK.js.map → conversation-KHTZBGX2.js.map} +0 -0
  694. /package/dist/{conversion-report-JZHI2IHY.js.map → conversion-report-U66HW6JM.js.map} +0 -0
  695. /package/dist/{conversion-upload-command-7RSZ5ZQU.js.map → conversion-upload-command-IHFKVX2M.js.map} +0 -0
  696. /package/dist/{conversion-writes-SNCLQDXQ.js.map → conversion-writes-RSGDOAET.js.map} +0 -0
  697. /package/dist/{conversions-EUOWILCQ.js.map → conversions-BVOL43W4.js.map} +0 -0
  698. /package/dist/{conversions-43EYP2W2.js.map → conversions-SUMZAV2T.js.map} +0 -0
  699. /package/dist/{create-7IFYLX7P.js.map → create-732HQL3C.js.map} +0 -0
  700. /package/dist/{create-3WOZO2XT.js.map → create-TFR6R2KF.js.map} +0 -0
  701. /package/dist/{create-FOHIQC3E.js.map → create-UC57ULRL.js.map} +0 -0
  702. /package/dist/{create-UWQSQTK6.js.map → create-UL2OYXOA.js.map} +0 -0
  703. /package/dist/{creatives-2DR3QHJW.js.map → creatives-BZEVJ6ER.js.map} +0 -0
  704. /package/dist/{creatives-KUO67WYA.js.map → creatives-FU3YELGU.js.map} +0 -0
  705. /package/dist/{credentials-IP4L37XP.js.map → credentials-AYV5YQE4.js.map} +0 -0
  706. /package/dist/{critique-LJMFAURK.js.map → critique-FKIJB72I.js.map} +0 -0
  707. /package/dist/{critique-LGDNMLBL.js.map → critique-IQYNDXCN.js.map} +0 -0
  708. /package/dist/{crm-BNYW7PF7.js.map → crm-ILQMNJPX.js.map} +0 -0
  709. /package/dist/{crm-J53V2QTN.js.map → crm-MQQRBITZ.js.map} +0 -0
  710. /package/dist/{currency-X7Y6TSLF.js.map → currency-CGKO5GKH.js.map} +0 -0
  711. /package/dist/{customers-663K2OCP.js.map → customers-NKKU6S7G.js.map} +0 -0
  712. /package/dist/{delete-6U7E6YUW.js.map → delete-2TCCNRMH.js.map} +0 -0
  713. /package/dist/{delete-G4NY6ZG6.js.map → delete-HCZTISBT.js.map} +0 -0
  714. /package/dist/{delete-5W3YVA4L.js.map → delete-UIKB5ZXS.js.map} +0 -0
  715. /package/dist/{demographics-4Y5LTCU4.js.map → demographics-ABZODD45.js.map} +0 -0
  716. /package/dist/{discard-RKCZNKMN.js.map → discard-V3K5PZ4W.js.map} +0 -0
  717. /package/dist/{discover-6DORQWXY.js.map → discover-VM3O7CQM.js.map} +0 -0
  718. /package/dist/{domain-PLA2O4FW.js.map → domain-A66DHOTQ.js.map} +0 -0
  719. /package/dist/{download-4EFLVSA4.js.map → download-LSAZD5JO.js.map} +0 -0
  720. /package/dist/{draft-TRPQCJ4B.js.map → draft-5UUJC675.js.map} +0 -0
  721. /package/dist/{draft-HY3U2GHU.js.map → draft-BATA5CVI.js.map} +0 -0
  722. /package/dist/{draft-R6EKORNS.js.map → draft-CRDBU6LF.js.map} +0 -0
  723. /package/dist/{draft-4V7W5DV2.js.map → draft-P7IDMXWR.js.map} +0 -0
  724. /package/dist/{draft-JMNAGW7C.js.map → draft-YBNL4ZZA.js.map} +0 -0
  725. /package/dist/{experiments-4V242DG2.js.map → experiments-MLLTHMMS.js.map} +0 -0
  726. /package/dist/{facets-WXJ2MCU6.js.map → facets-KSHR3MBE.js.map} +0 -0
  727. /package/dist/{feedback-IRSRPXV6.js.map → feedback-4GCPXZSI.js.map} +0 -0
  728. /package/dist/{feedback-record-DT3R4NA3.js.map → feedback-record-VEFHUIUJ.js.map} +0 -0
  729. /package/dist/{fetch-YLQP5VQL.js.map → fetch-42QL56JC.js.map} +0 -0
  730. /package/dist/{fit-BEFCY2B4.js.map → fit-Q5GRVF2O.js.map} +0 -0
  731. /package/dist/{flows-FDMF3F3P.js.map → flows-M3WBZQET.js.map} +0 -0
  732. /package/dist/{fonts-C6XN5667.js.map → fonts-GD4YRXQU.js.map} +0 -0
  733. /package/dist/{forecast-ZTXZD3HD.js.map → forecast-HT46MFL4.js.map} +0 -0
  734. /package/dist/{forecast-BTPIXEQ5.js.map → forecast-ONVS2QAI.js.map} +0 -0
  735. /package/dist/{funnel-7KOEX7YM.js.map → funnel-76BAD64Q.js.map} +0 -0
  736. /package/dist/{generate-NWHPM2GQ.js.map → generate-VBEY3N3L.js.map} +0 -0
  737. /package/dist/{get-OSVQVMP6.js.map → get-4KFAO475.js.map} +0 -0
  738. /package/dist/{get-KBSKPTAV.js.map → get-QV5NIADE.js.map} +0 -0
  739. /package/dist/{google-M6BJ22UL.js.map → google-7EZP7I6J.js.map} +0 -0
  740. /package/dist/{google-ads-XCJVAXWF.js.map → google-ads-J7WHTJO4.js.map} +0 -0
  741. /package/dist/{history-4TN2A6BL.js.map → history-EULKWQUS.js.map} +0 -0
  742. /package/dist/{history-3NTM5SFN.js.map → history-FEBJHFHJ.js.map} +0 -0
  743. /package/dist/{history-5IWW2X33.js.map → history-RDVV7KBN.js.map} +0 -0
  744. /package/dist/{hubspot-HMVSRJQZ.js.map → hubspot-A3RQNMYN.js.map} +0 -0
  745. /package/dist/{ideas-M66FU45H.js.map → ideas-WX7EBPSF.js.map} +0 -0
  746. /package/dist/{images-MM5OPUKV.js.map → images-4AXF4LAC.js.map} +0 -0
  747. /package/dist/{ingest-GU3WEBN3.js.map → ingest-AM5YDTRH.js.map} +0 -0
  748. /package/dist/{ingest-KMLYCFF4.js.map → ingest-C3M4GUO6.js.map} +0 -0
  749. /package/dist/{insights-CQCWOCIT.js.map → insights-UTCMSWSC.js.map} +0 -0
  750. /package/dist/{inspect-4JO2J3D6.js.map → inspect-DWCLRZGR.js.map} +0 -0
  751. /package/dist/{intent-YCQCUCV3.js.map → intent-ZMYMFGB4.js.map} +0 -0
  752. /package/dist/{keyword-gap-PUSF7EKY.js.map → keyword-gap-XSJO2R77.js.map} +0 -0
  753. /package/dist/{keyword-metrics-JXBM22ZD.js.map → keyword-metrics-M46FCTAS.js.map} +0 -0
  754. /package/dist/{keywords-for-site-OAYA7KP7.js.map → keywords-for-site-XNSLX7EA.js.map} +0 -0
  755. /package/dist/{landing-OZU5RRFV.js.map → landing-MUNYZQNA.js.map} +0 -0
  756. /package/dist/{languages-SLFV73GE.js.map → languages-DIQ3OG3E.js.map} +0 -0
  757. /package/dist/{leads-Q7APIJRQ.js.map → leads-LAATTW5G.js.map} +0 -0
  758. /package/dist/{learn-NBBJRMVZ.js.map → learn-3GLY4G3H.js.map} +0 -0
  759. /package/dist/{line-item-writes-X3L5NQEH.js.map → line-item-writes-XJTTA3X5.js.map} +0 -0
  760. /package/dist/{line-items-NJMEPEF5.js.map → line-items-JR25T2C5.js.map} +0 -0
  761. /package/dist/{link-WZSNUQQ2.js.map → link-7DSLIF3I.js.map} +0 -0
  762. /package/dist/{linkedin-55PAID62.js.map → linkedin-W5BJ6HEH.js.map} +0 -0
  763. /package/dist/{linkedin-person-MVRI7LLC.js.map → linkedin-person-2ZYSOHYR.js.map} +0 -0
  764. /package/dist/{list-6S54IAUX.js.map → list-3653DIYB.js.map} +0 -0
  765. /package/dist/{list-RZUDFLJN.js.map → list-G66HVYCR.js.map} +0 -0
  766. /package/dist/{list-QRJ4E3SC.js.map → list-Z4M53MS5.js.map} +0 -0
  767. /package/dist/{locations-T2OMP6QN.js.map → locations-HTVYJSDJ.js.map} +0 -0
  768. /package/dist/{locations-W3VOYBWL.js.map → locations-M2B5XDU4.js.map} +0 -0
  769. /package/dist/{log-53SAPZZ3.js.map → log-2RJU5BOW.js.map} +0 -0
  770. /package/dist/{make-ZF3YIMKW.js.map → make-MJ6JMU5T.js.map} +0 -0
  771. /package/dist/{map-J37QFJSV.js.map → map-27IPOBY6.js.map} +0 -0
  772. /package/dist/{mcp-YRIFPYNU.js.map → mcp-TFQTME4P.js.map} +0 -0
  773. /package/dist/{media-sources-EQI3U4TC.js.map → media-sources-P246GM7W.js.map} +0 -0
  774. /package/dist/{members-GYVMSCKL.js.map → members-KOKBTUC2.js.map} +0 -0
  775. /package/dist/{metrics-4YVJHYRI.js.map → metrics-WYWUX6Y5.js.map} +0 -0
  776. /package/dist/{models-JQEPSPNQ.js.map → models-HJ7Y55AH.js.map} +0 -0
  777. /package/dist/{normalize-MFN3WCH5.js.map → normalize-GXBUNTYJ.js.map} +0 -0
  778. /package/dist/{options-DLHDHO7H.js.map → options-MA25RNXF.js.map} +0 -0
  779. /package/dist/{organization-C2VOA2SD.js.map → organization-NLEVNGKQ.js.map} +0 -0
  780. /package/dist/{performance-T6TBVHVU.js.map → performance-34EUP5KL.js.map} +0 -0
  781. /package/dist/{performance-NIF3CESZ.js.map → performance-J3DLNI2W.js.map} +0 -0
  782. /package/dist/{pixels-LQAJOZIM.js.map → pixels-THEGYRXT.js.map} +0 -0
  783. /package/dist/{promoted-tweet-writes-Y6BBOWDL.js.map → promoted-tweet-writes-SBXWKO23.js.map} +0 -0
  784. /package/dist/{promoted-tweets-RJT53DRM.js.map → promoted-tweets-W42FNWS7.js.map} +0 -0
  785. /package/dist/{publish-IOTMJCCY.js.map → publish-YG76GOA7.js.map} +0 -0
  786. /package/dist/{query-XZMDGRO5.js.map → query-IQICLABN.js.map} +0 -0
  787. /package/dist/{reddit-JIHMAKAQ.js.map → reddit-X4CERXYF.js.map} +0 -0
  788. /package/dist/{refresh-OQZ263CS.js.map → refresh-A36GA7JN.js.map} +0 -0
  789. /package/dist/{release-4CHFURO3.js.map → release-3NCMZIDI.js.map} +0 -0
  790. /package/dist/{relevant-pages-FS7GBVXK.js.map → relevant-pages-UDDQOYLD.js.map} +0 -0
  791. /package/dist/{remove-IJQPHPDI.js.map → remove-6LE3XNRG.js.map} +0 -0
  792. /package/dist/{reopen-YTLPVKUR.js.map → reopen-XLADJ2UU.js.map} +0 -0
  793. /package/dist/{rerun-C7NB7B35.js.map → rerun-QVMFJZA2.js.map} +0 -0
  794. /package/dist/{research-PNBACCCP.js.map → research-D5UUJF74.js.map} +0 -0
  795. /package/dist/{research-TLHNPK3O.js.map → research-QCI5ISUE.js.map} +0 -0
  796. /package/dist/{reset-Y6FXLAQE.js.map → reset-DD37KDXQ.js.map} +0 -0
  797. /package/dist/{reset-JVLW7HA2.js.map → reset-FLZPKY2N.js.map} +0 -0
  798. /package/dist/{resolve-YLRESES5.js.map → resolve-KRKIJKT7.js.map} +0 -0
  799. /package/dist/{retry-3V3IGDRR.js.map → retry-ALXYEKFV.js.map} +0 -0
  800. /package/dist/{retry-AEKQLQMP.js.map → retry-MIXKW4EW.js.map} +0 -0
  801. /package/dist/{revenue-E4GQIOUY.js.map → revenue-UBZUTSXN.js.map} +0 -0
  802. /package/dist/{rules-34BQAWU3.js.map → rules-SO6P44B6.js.map} +0 -0
  803. /package/dist/{rules-add-CM5XUYNS.js.map → rules-add-XN3BZKFO.js.map} +0 -0
  804. /package/dist/{run-MD64RDHZ.js.map → run-K2DOMOAN.js.map} +0 -0
  805. /package/dist/{run-QCNRR3CA.js.map → run-T7XAH2W5.js.map} +0 -0
  806. /package/dist/{scaffold-ad-NADPY3CB.js.map → scaffold-ad-TWIT7R4U.js.map} +0 -0
  807. /package/dist/{scaffold-static-ad-5YEYYVYH.js.map → scaffold-static-ad-GPJKOGOI.js.map} +0 -0
  808. /package/dist/{scaffold-video-W7DF2CBJ.js.map → scaffold-video-7BQNOJ4S.js.map} +0 -0
  809. /package/dist/{schedule-CTRRF6TS.js.map → schedule-UTRVEWPE.js.map} +0 -0
  810. /package/dist/{scheduled-agents-OXYAVSIE.js.map → scheduled-agents-ZGCUZ6SB.js.map} +0 -0
  811. /package/dist/{schema-6Y3IXFDC.js.map → schema-D6BMZAPB.js.map} +0 -0
  812. /package/dist/{schema-BEUYOGSW.js.map → schema-DSMF6ELE.js.map} +0 -0
  813. /package/dist/{search-GFJKWPKN.js.map → search-2P72GSKY.js.map} +0 -0
  814. /package/dist/{select-S72CCL57.js.map → select-N7VWQ2ZQ.js.map} +0 -0
  815. /package/dist/{set-prompt-YYFDRXRI.js.map → set-prompt-3N3HMHT6.js.map} +0 -0
  816. /package/dist/{setup-links-D4JJLESN.js.map → setup-links-I5RFZTS4.js.map} +0 -0
  817. /package/dist/{shopify-T4UWFIQC.js.map → shopify-LXSR37XI.js.map} +0 -0
  818. /package/dist/{site-BBZAUZA3.js.map → site-AI3BFWRK.js.map} +0 -0
  819. /package/dist/{sources-BUPV7H7F.js.map → sources-AOF2YDYX.js.map} +0 -0
  820. /package/dist/{sources-FLUGHSVP.js.map → sources-DVMJEXEX.js.map} +0 -0
  821. /package/dist/{stale-HP54JS5X.js.map → stale-P4GGOLIB.js.map} +0 -0
  822. /package/dist/{status-CLSWQFCQ.js.map → status-O25MXHU4.js.map} +0 -0
  823. /package/dist/{studio-T5L7UEX6.js.map → studio-5Z4NMA4K.js.map} +0 -0
  824. /package/dist/{sync-4YTVVEVC.js.map → sync-2AI7LKKN.js.map} +0 -0
  825. /package/dist/{sync-definition-OGQ5XTQE.js.map → sync-definition-F3CXG6KG.js.map} +0 -0
  826. /package/dist/{tags-CZTRQNXV.js.map → tags-SEZ2CQJM.js.map} +0 -0
  827. /package/dist/{tags-SA2LU6AW.js.map → tags-TJDZXOXS.js.map} +0 -0
  828. /package/dist/{tags-R67DKRZ6.js.map → tags-YSC7ZILI.js.map} +0 -0
  829. /package/dist/{tags-ZOXX6VRE.js.map → tags-Z6EALYOS.js.map} +0 -0
  830. /package/dist/{tags-FDQXWTCQ.js.map → tags-ZXSVW6XO.js.map} +0 -0
  831. /package/dist/{targeting-criteria-AQYXVSGN.js.map → targeting-criteria-AU5CSMAU.js.map} +0 -0
  832. /package/dist/{targets-UUVCEG3F.js.map → targets-IOIH5JYS.js.map} +0 -0
  833. /package/dist/{testimonials-G3OCNPBY.js.map → testimonials-Y6PUV6AL.js.map} +0 -0
  834. /package/dist/{themes-FEVYZZCW.js.map → themes-PGPIAKAO.js.map} +0 -0
  835. /package/dist/{top-companies-BQGWKYUK.js.map → top-companies-FSITN3ZR.js.map} +0 -0
  836. /package/dist/{transcript-U46AEOEI.js.map → transcript-CGPX7Y37.js.map} +0 -0
  837. /package/dist/{translate-AS7JVKYM.js.map → translate-QCBMGOKR.js.map} +0 -0
  838. /package/dist/{triggers-ECRBPYYF.js.map → triggers-MONMZSKT.js.map} +0 -0
  839. /package/dist/{unlink-VDNCSRJV.js.map → unlink-I7QFQQKO.js.map} +0 -0
  840. /package/dist/{unstage-ATDXUYP2.js.map → unstage-JXG5AU5Q.js.map} +0 -0
  841. /package/dist/{update-HDBJCSTI.js.map → update-BVZGM54I.js.map} +0 -0
  842. /package/dist/{update-FJ6TBV3E.js.map → update-EI2BHUM2.js.map} +0 -0
  843. /package/dist/{update-U43DJRGV.js.map → update-RZSV4NYP.js.map} +0 -0
  844. /package/dist/{update-Z7TIUBMJ.js.map → update-WLDNOZ5U.js.map} +0 -0
  845. /package/dist/{upload-LXCFSRIU.js.map → upload-BP3YEQSF.js.map} +0 -0
  846. /package/dist/{url-options-Z4BQBEMI.js.map → url-options-63DED6CR.js.map} +0 -0
  847. /package/dist/{url-params-J7RKP5RB.js.map → url-params-TRFI2PMD.js.map} +0 -0
  848. /package/dist/{validate-VR3HEOMJ.js.map → validate-SNCR25A7.js.map} +0 -0
  849. /package/dist/{videos-36AXDUGZ.js.map → videos-SVZV5YYC.js.map} +0 -0
  850. /package/dist/{viewer-check-6HL4OUQY.js.map → viewer-check-LUAEGV6H.js.map} +0 -0
  851. /package/dist/{web-7BRJRQX7.js.map → web-MJQEK7BB.js.map} +0 -0
  852. /package/dist/{winning-ads-GMM5W2O4.js.map → winning-ads-KNLJHHCO.js.map} +0 -0
  853. /package/dist/{write-commands-IM5DPG3R.js.map → write-commands-NVCX7IAU.js.map} +0 -0
  854. /package/dist/{x-HGFAL3NY.js.map → x-ZQNHYIDU.js.map} +0 -0
@@ -1,910 +0,0 @@
1
- import {
2
- flowsDir,
3
- walkNodes
4
- } from "./chunk-OG47L5GG.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-UUGISMNE.js.map