@koda-sl/baker-cli 0.890.0-dev.759c113cf → 0.890.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (876) hide show
  1. package/dist/account-TOEH3E4V.js +84 -0
  2. package/dist/account-YLJRCKJD.js +82 -0
  3. package/dist/account-reads-QUKBCJ4I.js +231 -0
  4. package/dist/account-users-PRK7NXU4.js +70 -0
  5. package/dist/account-writes-WKG326GF.js +68 -0
  6. package/dist/accounts-HM2MOUCS.js +571 -0
  7. package/dist/accounts-HYSK5RVA.js +122 -0
  8. package/dist/accounts-VXJACI73.js +82 -0
  9. package/dist/actions-J4X5CD5U.js +55 -0
  10. package/dist/activecampaign-7E7FKMA2.js +936 -0
  11. package/dist/ad-group-writes-7D72YSZ3.js +172 -0
  12. package/dist/ad-groups-RKWIK443.js +70 -0
  13. package/dist/ad-writes-MVXTFP3G.js +176 -0
  14. package/dist/add-4EEJRILN.js +663 -0
  15. package/dist/add-CHJQ5W2O.js +109 -0
  16. package/dist/add-VKDDINLM.js +662 -0
  17. package/dist/ads-IZVXCAGD.js +48 -0
  18. package/dist/ads-OXSPFP7L.js +79 -0
  19. package/dist/advertisers-ROSLSKNQ.js +155 -0
  20. package/dist/alerts-RC5HDS3D.js +154 -0
  21. package/dist/analytics-G7WXLSAB.js +462 -0
  22. package/dist/analytics-L2HEARYU.js +2805 -0
  23. package/dist/animate-M3NETBDU.js +482 -0
  24. package/dist/assign-NPJZFHPC.js +84 -0
  25. package/dist/audience-size-WKZGMCNU.js +138 -0
  26. package/dist/audiences-GQ3GFJGU.js +280 -0
  27. package/dist/audit-22DQDYDI.js +156 -0
  28. package/dist/autocomplete-PRUZWII7.js +118 -0
  29. package/dist/avatars-NLNOFORD.js +38 -0
  30. package/dist/bid-pricing-VVNXSHXS.js +105 -0
  31. package/dist/brief-LT23HRFK.js +512 -0
  32. package/dist/campaign-groups-TUDQ27PF.js +119 -0
  33. package/dist/campaign-writes-4UXSPUWW.js +170 -0
  34. package/dist/campaign-writes-IYMSDPNS.js +176 -0
  35. package/dist/campaigns-7VPDCXNP.js +111 -0
  36. package/dist/campaigns-FNM4TOFC.js +194 -0
  37. package/dist/campaigns-MRQ6WXG7.js +78 -0
  38. package/dist/canvas-SRHL5ZHR.js +48 -0
  39. package/dist/capabilities-42OXSLHU.js +185 -0
  40. package/dist/catalog-F3HNLFJH.js +90 -0
  41. package/dist/catalogs-HW3VY4KU.js +130 -0
  42. package/dist/changes-6OHBEPGF.js +288 -0
  43. package/dist/chatgpt-2UCND7NY.js +47 -0
  44. package/dist/chats-5UPQ6F34.js +730 -0
  45. package/dist/check-5KREXPY7.js +55 -0
  46. package/dist/chunk-26BRCSWQ.js +155 -0
  47. package/dist/chunk-3HKFU57Z.js +78 -0
  48. package/dist/chunk-3UZA2TVE.js +64 -0
  49. package/dist/chunk-3Z3DQD3S.js +604 -0
  50. package/dist/chunk-4J7GY4V4.js +375 -0
  51. package/dist/chunk-4MNKDXFR.js +405 -0
  52. package/dist/chunk-4SYBNYE2.js +170 -0
  53. package/dist/chunk-4VRVRA3E.js +660 -0
  54. package/dist/chunk-5SCUCAPZ.js +863 -0
  55. package/dist/chunk-5VGV7WYL.js +86 -0
  56. package/dist/chunk-655LRQK3.js +63 -0
  57. package/dist/chunk-6FXEUO2G.js +26 -0
  58. package/dist/chunk-6U5P7U2K.js +3378 -0
  59. package/dist/chunk-7CAYPW4U.js +302 -0
  60. package/dist/chunk-7KVXTJNE.js +7856 -0
  61. package/dist/chunk-7NKF4JLL.js +10430 -0
  62. package/dist/chunk-AK3TLOI2.js +746 -0
  63. package/dist/chunk-B55CVNVK.js +98 -0
  64. package/dist/chunk-BMCISGEJ.js +262 -0
  65. package/dist/chunk-BU5M3VGB.js +103 -0
  66. package/dist/chunk-C6HUH6FG.js +430 -0
  67. package/dist/chunk-CF22TBGU.js +6340 -0
  68. package/dist/chunk-CFZDQED4.js +91 -0
  69. package/dist/chunk-CRJKO2GW.js +260 -0
  70. package/dist/chunk-CXVNM264.js +46 -0
  71. package/dist/chunk-D5VJDPVW.js +915 -0
  72. package/dist/chunk-EJRVEUZW.js +274 -0
  73. package/dist/chunk-F7BTMXJ6.js +685 -0
  74. package/dist/chunk-FRSG3BBL.js +411 -0
  75. package/dist/chunk-GWMIDTCA.js +723 -0
  76. package/dist/chunk-H2FLV4R7.js +24026 -0
  77. package/dist/chunk-H2FLV4R7.js.map +1 -0
  78. package/dist/chunk-HPCP3RIC.js +89 -0
  79. package/dist/chunk-HQGQW37N.js +1124 -0
  80. package/dist/chunk-HRS4W6A7.js +329 -0
  81. package/dist/chunk-ID2ULDOJ.js +91 -0
  82. package/dist/chunk-KOF2WH6V.js +479 -0
  83. package/dist/chunk-LBN6JRAN.js +51 -0
  84. package/dist/chunk-LGY43BST.js +884 -0
  85. package/dist/chunk-LQPWLCPL.js +175 -0
  86. package/dist/chunk-MOOTQZZB.js +398 -0
  87. package/dist/chunk-MV2HPZMW.js +550 -0
  88. package/dist/chunk-MVNXGETW.js +749 -0
  89. package/dist/chunk-NB5OR67T.js +1883 -0
  90. package/dist/chunk-NCS4E4YX.js +3252 -0
  91. package/dist/chunk-NCS4E4YX.js.map +1 -0
  92. package/dist/chunk-NESWSXLV.js +505 -0
  93. package/dist/chunk-NF5D3VYI.js +337 -0
  94. package/dist/chunk-NGYRPA7Y.js +76 -0
  95. package/dist/chunk-OE57TJBJ.js +9127 -0
  96. package/dist/chunk-OGG7DKN5.js +1577 -0
  97. package/dist/chunk-ONHHXBOH.js +252 -0
  98. package/dist/chunk-ORKQSFNI.js +23 -0
  99. package/dist/chunk-OXYSXFF3.js +285 -0
  100. package/dist/chunk-QI6ALVEZ.js +313 -0
  101. package/dist/chunk-QPLB53AQ.js +224 -0
  102. package/dist/chunk-RRSGZYWO.js +202 -0
  103. package/dist/chunk-S4S54FZU.js +547 -0
  104. package/dist/chunk-TGEE6G6J.js +142 -0
  105. package/dist/chunk-U72TSCKL.js +341 -0
  106. package/dist/chunk-UOWPRJIX.js +732 -0
  107. package/dist/chunk-W736BTE7.js +170 -0
  108. package/dist/chunk-WDC5L2T6.js +1862 -0
  109. package/dist/chunk-WSYTRJN7.js +147 -0
  110. package/dist/chunk-WTWO46FT.js +4655 -0
  111. package/dist/chunk-WTWO46FT.js.map +1 -0
  112. package/dist/chunk-XDOF4LGD.js +163 -0
  113. package/dist/chunk-XHTFXA2A.js +197 -0
  114. package/dist/chunk-XKLJPKZA.js +374 -0
  115. package/dist/chunk-XLCLPLMB.js +423 -0
  116. package/dist/chunk-XPHCG2JN.js +509 -0
  117. package/dist/chunk-ZIJFBEFI.js +127 -0
  118. package/dist/chunk-ZRYKGLSY.js +152 -0
  119. package/dist/claim-HB7CBTJH.js +219 -0
  120. package/dist/cli.js +35 -35
  121. package/dist/companies-HKMERSJP.js +37 -0
  122. package/dist/company-AFSD4WZ3.js +312 -0
  123. package/dist/complete-RMJYSYOL.js +88 -0
  124. package/dist/connect-2KDGUVY5.js +47 -0
  125. package/dist/conversation-VDRLFRMI.js +101 -0
  126. package/dist/conversion-report-RJ5Z6JDW.js +130 -0
  127. package/dist/conversion-upload-command-TCMORMHM.js +459 -0
  128. package/dist/conversion-writes-LYZFMH5I.js +194 -0
  129. package/dist/conversions-ANAJMGHI.js +142 -0
  130. package/dist/conversions-ZLBWAXLT.js +78 -0
  131. package/dist/create-7R6W42ZB.js +66 -0
  132. package/dist/create-CPYP5LGS.js +191 -0
  133. package/dist/create-H43T7PXI.js +220 -0
  134. package/dist/create-QCCLMAPL.js +357 -0
  135. package/dist/creatives-KQTBQ6EE.js +48 -0
  136. package/dist/creatives-PDDLZQHU.js +236 -0
  137. package/dist/credentials-CWBYEI5M.js +292 -0
  138. package/dist/critique-5FZ35QNP.js +231 -0
  139. package/dist/crm-NZHLWC3H.js +328 -0
  140. package/dist/crm-STN3YKV5.js +419 -0
  141. package/dist/currency-DMVRKQRJ.js +91 -0
  142. package/dist/customers-WF264D3M.js +70 -0
  143. package/dist/data-CIPG3EOP.js +665 -0
  144. package/dist/delete-DAMPOWQV.js +72 -0
  145. package/dist/delete-VC4XSYJ6.js +71 -0
  146. package/dist/delete-VNITJJCY.js +61 -0
  147. package/dist/demographics-6QTIHC22.js +146 -0
  148. package/dist/discard-6JBN263B.js +73 -0
  149. package/dist/discover-MXXNEDJC.js +191 -0
  150. package/dist/domain-X2CHPUEN.js +105 -0
  151. package/dist/download-EFRVIWUQ.js +175 -0
  152. package/dist/draft-3TU2DOG4.js +390 -0
  153. package/dist/draft-7QREAYBZ.js +340 -0
  154. package/dist/draft-GGCV5MUR.js +643 -0
  155. package/dist/draft-GGQKDNLL.js +584 -0
  156. package/dist/draft-LXNUTJCQ.js +228 -0
  157. package/dist/draft-PDUPYLHU.js +428 -0
  158. package/dist/engine/index.js +9 -9
  159. package/dist/experiments-327DBJOV.js +242 -0
  160. package/dist/extract-RT7UACSI.js +178 -0
  161. package/dist/facets-DOAWYVYW.js +161 -0
  162. package/dist/feedback-VSKQVHQT.js +154 -0
  163. package/dist/fetch-HDHHJKEP.js +488 -0
  164. package/dist/fit-M6X35XGV.js +70 -0
  165. package/dist/flows-ZTK45AAV.js +406 -0
  166. package/dist/forecast-DR3XIMIX.js +123 -0
  167. package/dist/forecast-F4HFL5V2.js +190 -0
  168. package/dist/funnel-UOUUAU3D.js +702 -0
  169. package/dist/generate-DWAKBRQJ.js +265 -0
  170. package/dist/get-H4O2BE3W.js +78 -0
  171. package/dist/get-SNNCIKBO.js +115 -0
  172. package/dist/google-EF34XOH6.js +3809 -0
  173. package/dist/google-EQTWYOMA.js +165 -0
  174. package/dist/google-ads-ZHVOW4TS.js +231 -0
  175. package/dist/history-U2ZXDZBP.js +156 -0
  176. package/dist/history-XRSQD2R7.js +204 -0
  177. package/dist/history-Y5S4LPC7.js +109 -0
  178. package/dist/hubspot-MIKWDLVS.js +1047 -0
  179. package/dist/ideas-QL7DO5FR.js +50 -0
  180. package/dist/images-U3UK3W5X.js +92 -0
  181. package/dist/ingest-E6NA6MLE.js +163 -0
  182. package/dist/ingest-PDCY7GTG.js +32 -0
  183. package/dist/insights-53JGBSF7.js +151 -0
  184. package/dist/inspect-2SC5HQO4.js +39 -0
  185. package/dist/intent-RCDG2YEC.js +97 -0
  186. package/dist/keyword-gap-RS234V7N.js +173 -0
  187. package/dist/keyword-metrics-XVNOUY6H.js +235 -0
  188. package/dist/keywords-for-site-MC4ASKAP.js +135 -0
  189. package/dist/languages-EHVUCBTM.js +41 -0
  190. package/dist/leads-Q7FG7CDN.js +138 -0
  191. package/dist/learn-WN54VXO6.js +214 -0
  192. package/dist/line-item-writes-ISLEC7ZN.js +213 -0
  193. package/dist/line-items-NRZ24KDM.js +107 -0
  194. package/dist/link-RGLL45F5.js +71 -0
  195. package/dist/linkedin-XBQMI42D.js +1517 -0
  196. package/dist/linkedin-person-FKEFVZCY.js +143 -0
  197. package/dist/list-533GIXG7.js +321 -0
  198. package/dist/list-FZ4NFRRR.js +90 -0
  199. package/dist/list-RWQLAWO3.js +227 -0
  200. package/dist/locations-2NEDMFS5.js +41 -0
  201. package/dist/locations-RHTUYWMC.js +69 -0
  202. package/dist/log-IFLF3DZZ.js +99 -0
  203. package/dist/make-DDMTAGUB.js +1392 -0
  204. package/dist/map-O37XED7M.js +520 -0
  205. package/dist/mcp-MZ3HVDYY.js +1028 -0
  206. package/dist/media-sources-52FXNGXC.js +35 -0
  207. package/dist/members-PDYPCF27.js +51 -0
  208. package/dist/meta-HK5PYNRM.js +152 -0
  209. package/dist/metrics-TSRFLNLI.js +193 -0
  210. package/dist/models-DV4G4A2W.js +155 -0
  211. package/dist/normalize-ONUJO2N4.js +146 -0
  212. package/dist/options-K3N7JI4H.js +127 -0
  213. package/dist/organization-RDZ4FOC4.js +950 -0
  214. package/dist/people-RWHZBUJU.js +172 -0
  215. package/dist/people-UOYFEJOA.js +162 -0
  216. package/dist/performance-UABHGDYV.js +6361 -0
  217. package/dist/performance-XIZ43WKC.js +29 -0
  218. package/dist/pipedrive-IDA44I2X.js +534 -0
  219. package/dist/pixels-T73SVZ4G.js +62 -0
  220. package/dist/preview-PM3SAC4G.js +151 -0
  221. package/dist/promoted-tweet-writes-GW7G3WN5.js +185 -0
  222. package/dist/promoted-tweets-A4BD3ZMR.js +119 -0
  223. package/dist/publish-XGJXWQM3.js +431 -0
  224. package/dist/query-SG6ILF5G.js +68 -0
  225. package/dist/reddit-FL2QQ352.js +31 -0
  226. package/dist/refresh-QOA6XQ65.js +101 -0
  227. package/dist/release-5ZIDVDEO.js +67 -0
  228. package/dist/relevant-pages-CFBI4BIH.js +101 -0
  229. package/dist/remove-2YY2CCVU.js +55 -0
  230. package/dist/reopen-LKJUT6M2.js +70 -0
  231. package/dist/rerun-RPS5GK62.js +102 -0
  232. package/dist/research-6WCBKLTG.js +267 -0
  233. package/dist/research-NGCA52UN.js +78 -0
  234. package/dist/reset-J33M64KW.js +59 -0
  235. package/dist/reset-MUH7FKOG.js +59 -0
  236. package/dist/resolve-5HZJEXLJ.js +126 -0
  237. package/dist/retry-32GYJQAF.js +67 -0
  238. package/dist/retry-ZHRDMM4Y.js +67 -0
  239. package/dist/revenue-IRF25ISM.js +100 -0
  240. package/dist/rules-BUPUJ556.js +164 -0
  241. package/dist/run-55JPIRYI.js +74 -0
  242. package/dist/run-Y2RXME5N.js +79 -0
  243. package/dist/scaffold-ad-TK6V3TYJ.js +1604 -0
  244. package/dist/scaffold-static-ad-RQXSGRE2.js +999 -0
  245. package/dist/scaffold-video-KTNSYWMY.js +890 -0
  246. package/dist/schedule-PVUKPBF7.js +66 -0
  247. package/dist/scheduled-agents-J6RTT7HY.js +59 -0
  248. package/dist/schema-7CKXBHF6.js +137 -0
  249. package/dist/schema-RVA6JSZE.js +241 -0
  250. package/dist/search-RC57DNMJ.js +230 -0
  251. package/dist/search-terms-2L6UMZCC.js +413 -0
  252. package/dist/select-YZWK2TON.js +135 -0
  253. package/dist/set-OKT7Q7EC.js +287 -0
  254. package/dist/set-prompt-T6HC54TW.js +205 -0
  255. package/dist/setup-links-EQ6GH6M5.js +146 -0
  256. package/dist/shopify-SC35E5P2.js +4034 -0
  257. package/dist/site-FZOS2U6Q.js +182 -0
  258. package/dist/sources-FTPQFFNW.js +30 -0
  259. package/dist/sources-QNQ6G542.js +491 -0
  260. package/dist/stale-ITQGFBIM.js +93 -0
  261. package/dist/status-XBRPJ4K2.js +69 -0
  262. package/dist/stock-NVJJVJHU.js +214 -0
  263. package/dist/studio-PD4VOHWX.js +49 -0
  264. package/dist/sync-DBNMW75Z.js +59 -0
  265. package/dist/sync-definition-2DVZY5BF.js +75 -0
  266. package/dist/tags-3MY3BEYO.js +25 -0
  267. package/dist/tags-HFUEFAZ3.js +194 -0
  268. package/dist/tags-JZZLDVAL.js +26 -0
  269. package/dist/tags-WT4JEJKW.js +25 -0
  270. package/dist/tags-WYXVFNS6.js +25 -0
  271. package/dist/targeting-criteria-XSHY2DFD.js +113 -0
  272. package/dist/targets-7PEAIBIW.js +111 -0
  273. package/dist/testimonials-FISOPTG7.js +32 -0
  274. package/dist/themes-CUDXWVL5.js +103 -0
  275. package/dist/top-companies-W54NEMWC.js +251 -0
  276. package/dist/transcript-ZSWHKJKN.js +169 -0
  277. package/dist/translate-FLHWVGGX.js +608 -0
  278. package/dist/triggers-IDAX2LC2.js +149 -0
  279. package/dist/unlink-4T4VDJKZ.js +74 -0
  280. package/dist/unstage-LGI45U54.js +93 -0
  281. package/dist/update-IWH7W6AN.js +194 -0
  282. package/dist/update-JGDBBM3K.js +70 -0
  283. package/dist/update-NF65Y4D5.js +238 -0
  284. package/dist/update-NQJ5Z25G.js +176 -0
  285. package/dist/upload-QMRLYKE3.js +186 -0
  286. package/dist/url-options-GJANKQRI.js +137 -0
  287. package/dist/url-params-3E7UZLDC.js +103 -0
  288. package/dist/validate-TX55AW42.js +181 -0
  289. package/dist/videos-UB7JKFSO.js +41 -0
  290. package/dist/viewer-check-AJS7WL2T.js +90 -0
  291. package/dist/visuals-T3KWSWNY.js +130 -0
  292. package/dist/web-6ES4BNGU.js +234 -0
  293. package/dist/winning-ads-YS6R4XOV.js +88 -0
  294. package/dist/write-commands-NC2MDQGP.js +1556 -0
  295. package/dist/x-LXXN47TR.js +47 -0
  296. package/package.json +1 -1
  297. package/dist/account-NHPKIWPX.js +0 -84
  298. package/dist/account-RLE73GWJ.js +0 -82
  299. package/dist/account-reads-NIYUPB4Q.js +0 -231
  300. package/dist/account-users-ADX33PJ2.js +0 -70
  301. package/dist/account-writes-VQG2DIL2.js +0 -68
  302. package/dist/accounts-2HU6ZXXZ.js +0 -82
  303. package/dist/accounts-BSZ42BQK.js +0 -571
  304. package/dist/accounts-FDWK2Z3I.js +0 -122
  305. package/dist/actions-DYM47UFS.js +0 -55
  306. package/dist/activecampaign-V53HTAY3.js +0 -936
  307. package/dist/ad-group-writes-6NSPVPO2.js +0 -172
  308. package/dist/ad-groups-XPFBEDTX.js +0 -70
  309. package/dist/ad-writes-ZFT6N6L4.js +0 -176
  310. package/dist/add-INJ22ZRW.js +0 -662
  311. package/dist/add-V3NKETGT.js +0 -109
  312. package/dist/add-XQADZQ3Z.js +0 -663
  313. package/dist/ads-55VKXBMM.js +0 -48
  314. package/dist/ads-MF3RBGLM.js +0 -79
  315. package/dist/advertisers-X3PJG6Z6.js +0 -155
  316. package/dist/alerts-NK7POTNE.js +0 -154
  317. package/dist/analytics-2GFNGWCD.js +0 -462
  318. package/dist/analytics-LYGTOOOH.js +0 -2805
  319. package/dist/animate-ELVOWQD4.js +0 -482
  320. package/dist/assign-7VAY66CZ.js +0 -84
  321. package/dist/audience-size-7YBPRCX6.js +0 -138
  322. package/dist/audiences-H54RA555.js +0 -280
  323. package/dist/audit-7JCXNOAB.js +0 -156
  324. package/dist/autocomplete-PWMUL7QJ.js +0 -118
  325. package/dist/avatars-6ZZYD332.js +0 -38
  326. package/dist/bid-pricing-PHIYPEDJ.js +0 -105
  327. package/dist/brief-4GIXLWHD.js +0 -512
  328. package/dist/campaign-groups-Q3NDDK34.js +0 -119
  329. package/dist/campaign-writes-5CEFKZV5.js +0 -176
  330. package/dist/campaign-writes-RB6XM6PB.js +0 -170
  331. package/dist/campaigns-444D7YJ7.js +0 -78
  332. package/dist/campaigns-FVDEYG5C.js +0 -194
  333. package/dist/campaigns-TUAAU2HM.js +0 -111
  334. package/dist/canvas-GTPI2CKV.js +0 -48
  335. package/dist/capabilities-L5GGYWBL.js +0 -185
  336. package/dist/catalog-L6FZXS3S.js +0 -90
  337. package/dist/catalogs-F33HX4RG.js +0 -130
  338. package/dist/changes-RQEDNLIX.js +0 -288
  339. package/dist/chatgpt-GEBWPTMO.js +0 -47
  340. package/dist/chats-LNS3ZGN2.js +0 -730
  341. package/dist/check-UO5WGAGM.js +0 -55
  342. package/dist/chunk-26PCRPMS.js +0 -142
  343. package/dist/chunk-3663UWEJ.js +0 -224
  344. package/dist/chunk-36EP3NUV.js +0 -915
  345. package/dist/chunk-37ZFOL3T.js +0 -285
  346. package/dist/chunk-52GWXYQ6.js +0 -405
  347. package/dist/chunk-5GAL274H.js +0 -147
  348. package/dist/chunk-5QR27P5X.js +0 -64
  349. package/dist/chunk-5SY5XHGY.js +0 -260
  350. package/dist/chunk-5ZFH74JL.js +0 -89
  351. package/dist/chunk-65ZHDSPV.js +0 -6340
  352. package/dist/chunk-6RVFUGU2.js +0 -252
  353. package/dist/chunk-7GIRKPCK.js +0 -86
  354. package/dist/chunk-7L2O47FS.js +0 -175
  355. package/dist/chunk-7XFLQX2F.js +0 -863
  356. package/dist/chunk-7YYB62Q6.js +0 -46
  357. package/dist/chunk-ABSCXA3F.js +0 -505
  358. package/dist/chunk-AGRFXGLQ.js +0 -660
  359. package/dist/chunk-AQGK3JDK.js +0 -3252
  360. package/dist/chunk-AQGK3JDK.js.map +0 -1
  361. package/dist/chunk-B7NURSEQ.js +0 -98
  362. package/dist/chunk-BYRXLPBO.js +0 -4655
  363. package/dist/chunk-BYRXLPBO.js.map +0 -1
  364. package/dist/chunk-C4TQ67ON.js +0 -329
  365. package/dist/chunk-CQGA6W4H.js +0 -26
  366. package/dist/chunk-DOAUNVLT.js +0 -746
  367. package/dist/chunk-DUJCU5NO.js +0 -685
  368. package/dist/chunk-FKZSHI75.js +0 -749
  369. package/dist/chunk-G3QEXUKR.js +0 -51
  370. package/dist/chunk-GHCZUHUC.js +0 -509
  371. package/dist/chunk-HO4OU5GT.js +0 -152
  372. package/dist/chunk-IBEYN63R.js +0 -423
  373. package/dist/chunk-IHASMZN7.js +0 -604
  374. package/dist/chunk-IOJFW7IJ.js +0 -9127
  375. package/dist/chunk-J6GPBZ2R.js +0 -479
  376. package/dist/chunk-J7GYBBJA.js +0 -1124
  377. package/dist/chunk-KE63G3C7.js +0 -170
  378. package/dist/chunk-KK6JTXF7.js +0 -723
  379. package/dist/chunk-KRYCOR7O.js +0 -63
  380. package/dist/chunk-LOZ36NDE.js +0 -91
  381. package/dist/chunk-LWV4XL6X.js +0 -155
  382. package/dist/chunk-LYAVJJHA.js +0 -91
  383. package/dist/chunk-MWD6GIL6.js +0 -7856
  384. package/dist/chunk-MXN7AUZG.js +0 -313
  385. package/dist/chunk-O2GGZ2O2.js +0 -78
  386. package/dist/chunk-ODZ6UGC6.js +0 -76
  387. package/dist/chunk-OJNDGXA2.js +0 -411
  388. package/dist/chunk-OXC5TCEK.js +0 -1577
  389. package/dist/chunk-PAGDHHRH.js +0 -1883
  390. package/dist/chunk-PQZBKJI7.js +0 -884
  391. package/dist/chunk-Q3HMAIYV.js +0 -262
  392. package/dist/chunk-Q3V2PZTL.js +0 -375
  393. package/dist/chunk-Q4RLGO4Y.js +0 -547
  394. package/dist/chunk-R2UE6S4P.js +0 -127
  395. package/dist/chunk-RGIDB3OY.js +0 -197
  396. package/dist/chunk-RHA55M7H.js +0 -23
  397. package/dist/chunk-RNGZG273.js +0 -3378
  398. package/dist/chunk-RZD4KCMN.js +0 -202
  399. package/dist/chunk-SDU6QWFA.js +0 -398
  400. package/dist/chunk-TDWIAG56.js +0 -170
  401. package/dist/chunk-TWE44ERO.js +0 -24026
  402. package/dist/chunk-TWE44ERO.js.map +0 -1
  403. package/dist/chunk-UKETWBTK.js +0 -430
  404. package/dist/chunk-UZ32P2MK.js +0 -341
  405. package/dist/chunk-V4LQLLV7.js +0 -1862
  406. package/dist/chunk-V52PW3C3.js +0 -732
  407. package/dist/chunk-WWIXZFNL.js +0 -374
  408. package/dist/chunk-XEENCC34.js +0 -337
  409. package/dist/chunk-XS7RLKVV.js +0 -10430
  410. package/dist/chunk-Y42IKJUR.js +0 -274
  411. package/dist/chunk-YOYVZNJ5.js +0 -103
  412. package/dist/chunk-YRBOVBHQ.js +0 -163
  413. package/dist/chunk-ZAQ2PXVE.js +0 -550
  414. package/dist/chunk-ZJBKANBI.js +0 -302
  415. package/dist/claim-HCVWDY4F.js +0 -219
  416. package/dist/companies-NP3ZPD4N.js +0 -37
  417. package/dist/company-WBA5NN2V.js +0 -312
  418. package/dist/complete-7VT3DQPB.js +0 -88
  419. package/dist/connect-YD6JLPP2.js +0 -47
  420. package/dist/conversation-7X5XU672.js +0 -101
  421. package/dist/conversion-report-6DLSLJC5.js +0 -130
  422. package/dist/conversion-upload-command-HSPAW6UV.js +0 -459
  423. package/dist/conversion-writes-4H2LTWBX.js +0 -194
  424. package/dist/conversions-L37NR2WG.js +0 -78
  425. package/dist/conversions-UPXDYLTW.js +0 -142
  426. package/dist/create-IBDTEHWS.js +0 -220
  427. package/dist/create-MR7VRMRT.js +0 -191
  428. package/dist/create-WBTAQB2Z.js +0 -66
  429. package/dist/create-YDVIUUY2.js +0 -357
  430. package/dist/creatives-TRNKZBE5.js +0 -48
  431. package/dist/creatives-UVDA5Q4F.js +0 -236
  432. package/dist/credentials-GLGKSKIW.js +0 -292
  433. package/dist/critique-RNRN6U4L.js +0 -231
  434. package/dist/crm-GXXU5W7T.js +0 -328
  435. package/dist/crm-YSMYGFV2.js +0 -419
  436. package/dist/currency-H3R26VU4.js +0 -91
  437. package/dist/customers-MKBX6KJ5.js +0 -70
  438. package/dist/data-JRLTQ2ZL.js +0 -665
  439. package/dist/delete-DFXR77UH.js +0 -61
  440. package/dist/delete-NHXWYWFL.js +0 -72
  441. package/dist/delete-SATPEDYL.js +0 -71
  442. package/dist/demographics-VN4ASJ2V.js +0 -146
  443. package/dist/discard-WQJVE6L4.js +0 -73
  444. package/dist/discover-6FNEE7XD.js +0 -191
  445. package/dist/domain-QMGXWKBX.js +0 -105
  446. package/dist/download-G4DJZAGI.js +0 -175
  447. package/dist/draft-2GYY3P7V.js +0 -428
  448. package/dist/draft-F2MRYZ2E.js +0 -584
  449. package/dist/draft-JMMX67IN.js +0 -340
  450. package/dist/draft-PQRO7SXV.js +0 -643
  451. package/dist/draft-UFJ7ALPI.js +0 -390
  452. package/dist/draft-X7G4CMUO.js +0 -228
  453. package/dist/experiments-6TEAXNVD.js +0 -242
  454. package/dist/extract-C5K3ZZ42.js +0 -178
  455. package/dist/facets-E5MFMDR2.js +0 -161
  456. package/dist/feedback-2VZGXOPQ.js +0 -154
  457. package/dist/fetch-JVI3AO3Q.js +0 -488
  458. package/dist/fit-T4AAV2PV.js +0 -70
  459. package/dist/flows-2VSLY57O.js +0 -406
  460. package/dist/forecast-7EEMDWGW.js +0 -190
  461. package/dist/forecast-LPFNFHXJ.js +0 -123
  462. package/dist/funnel-RT5E3EAA.js +0 -702
  463. package/dist/generate-JMB22RBM.js +0 -265
  464. package/dist/get-3OVHBZFM.js +0 -78
  465. package/dist/get-TPFHXTSS.js +0 -115
  466. package/dist/google-EFM636ZH.js +0 -165
  467. package/dist/google-QKCCBY3U.js +0 -3809
  468. package/dist/google-ads-FAAP6HCR.js +0 -231
  469. package/dist/history-7IGBWWON.js +0 -156
  470. package/dist/history-7UERQA6C.js +0 -109
  471. package/dist/history-7VIUDUWI.js +0 -204
  472. package/dist/hubspot-JU6QECUR.js +0 -1047
  473. package/dist/ideas-5V4TFQA4.js +0 -50
  474. package/dist/images-EFG555RC.js +0 -92
  475. package/dist/ingest-3I6RBUAY.js +0 -32
  476. package/dist/ingest-FHT7W74C.js +0 -163
  477. package/dist/insights-E3VPRDIZ.js +0 -151
  478. package/dist/inspect-AIX4H3CD.js +0 -39
  479. package/dist/intent-7AY7ISL3.js +0 -97
  480. package/dist/keyword-gap-4LVY3I2W.js +0 -173
  481. package/dist/keyword-metrics-AIOK6XG2.js +0 -235
  482. package/dist/keywords-for-site-WKUQFYDA.js +0 -135
  483. package/dist/languages-ILBO7WGO.js +0 -41
  484. package/dist/leads-MXYKHRWR.js +0 -138
  485. package/dist/learn-OIJXLZL5.js +0 -214
  486. package/dist/line-item-writes-DOYJD2IK.js +0 -213
  487. package/dist/line-items-KFL5JZ2H.js +0 -107
  488. package/dist/link-XGDKRLHM.js +0 -71
  489. package/dist/linkedin-UEDF45LH.js +0 -1517
  490. package/dist/linkedin-person-UPJBQUXL.js +0 -143
  491. package/dist/list-6H6UFMMY.js +0 -321
  492. package/dist/list-DXCIXAYY.js +0 -227
  493. package/dist/list-UX5PWGOI.js +0 -90
  494. package/dist/locations-HAEZGVNR.js +0 -41
  495. package/dist/locations-ZV6EK2BK.js +0 -69
  496. package/dist/log-KBRWBRLH.js +0 -99
  497. package/dist/make-6FZSKF4C.js +0 -1392
  498. package/dist/map-7SSEVSE4.js +0 -520
  499. package/dist/mcp-LYUWG3BL.js +0 -1028
  500. package/dist/media-sources-YE6IWKXB.js +0 -35
  501. package/dist/members-RIDPBGPP.js +0 -51
  502. package/dist/meta-OTEBUJM5.js +0 -152
  503. package/dist/metrics-D6ECYE4M.js +0 -193
  504. package/dist/models-TVAUSO3P.js +0 -155
  505. package/dist/normalize-YTK5GDBU.js +0 -146
  506. package/dist/options-JEKY7C73.js +0 -127
  507. package/dist/organization-EPYS5C5B.js +0 -950
  508. package/dist/people-2N5TX2GU.js +0 -172
  509. package/dist/people-QFZI2E7P.js +0 -162
  510. package/dist/performance-25L7LKP2.js +0 -6361
  511. package/dist/performance-OJ7OIPLA.js +0 -29
  512. package/dist/pipedrive-ATF7T26W.js +0 -534
  513. package/dist/pixels-NGCNKAV5.js +0 -62
  514. package/dist/preview-RFTLMN3O.js +0 -151
  515. package/dist/promoted-tweet-writes-KXYO4YKC.js +0 -185
  516. package/dist/promoted-tweets-3KNM4CGF.js +0 -119
  517. package/dist/publish-VKSYIMOZ.js +0 -431
  518. package/dist/query-OZ3E7BEL.js +0 -68
  519. package/dist/reddit-6A6426JJ.js +0 -31
  520. package/dist/refresh-YZIJGDG7.js +0 -101
  521. package/dist/release-DJYNQWDN.js +0 -67
  522. package/dist/relevant-pages-UT2RWLPT.js +0 -101
  523. package/dist/remove-UJSWD3QN.js +0 -55
  524. package/dist/reopen-55YN5WVQ.js +0 -70
  525. package/dist/rerun-V4GD7RIZ.js +0 -102
  526. package/dist/research-MXXNHCPT.js +0 -267
  527. package/dist/research-PUNEJ4WW.js +0 -78
  528. package/dist/reset-HDBZXDUS.js +0 -59
  529. package/dist/reset-P4BU73ZJ.js +0 -59
  530. package/dist/resolve-EETBZN2N.js +0 -126
  531. package/dist/retry-KEFXYANH.js +0 -67
  532. package/dist/retry-PV5WMRZK.js +0 -67
  533. package/dist/revenue-ZDC45HPI.js +0 -100
  534. package/dist/rules-IHIQQF5C.js +0 -164
  535. package/dist/run-4KS5GKXA.js +0 -74
  536. package/dist/run-SBGLLSTU.js +0 -79
  537. package/dist/scaffold-ad-LZVQI3H7.js +0 -1604
  538. package/dist/scaffold-static-ad-USLJM4R7.js +0 -999
  539. package/dist/scaffold-video-ELVMOT45.js +0 -890
  540. package/dist/schedule-R22K2MGT.js +0 -66
  541. package/dist/scheduled-agents-7RMFVLN3.js +0 -59
  542. package/dist/schema-3UW3SOQD.js +0 -137
  543. package/dist/schema-ACS6VIN7.js +0 -241
  544. package/dist/search-7Y5EIPEJ.js +0 -230
  545. package/dist/search-terms-OJHLE5K6.js +0 -413
  546. package/dist/select-5YZ6KGO4.js +0 -135
  547. package/dist/set-DJTYRL2B.js +0 -287
  548. package/dist/set-prompt-HLJ6FKH7.js +0 -205
  549. package/dist/setup-links-3YMLESXT.js +0 -146
  550. package/dist/shopify-XVMJVBRL.js +0 -4034
  551. package/dist/site-5XYSUVEO.js +0 -182
  552. package/dist/sources-AEH3WZZL.js +0 -491
  553. package/dist/sources-IMMMS2ZK.js +0 -30
  554. package/dist/stale-STQUFOQS.js +0 -93
  555. package/dist/status-UQERTATZ.js +0 -69
  556. package/dist/stock-4MEA3OAY.js +0 -214
  557. package/dist/studio-EPR755MN.js +0 -49
  558. package/dist/sync-ND3WE42R.js +0 -59
  559. package/dist/sync-definition-4ZOMBZLL.js +0 -75
  560. package/dist/tags-6AH5WJTO.js +0 -25
  561. package/dist/tags-M4SRJULS.js +0 -194
  562. package/dist/tags-N32O6S4Q.js +0 -25
  563. package/dist/tags-WOFDS44M.js +0 -26
  564. package/dist/tags-WZIIZSUK.js +0 -25
  565. package/dist/targeting-criteria-QMWFNZSN.js +0 -113
  566. package/dist/targets-VWTBHD5K.js +0 -111
  567. package/dist/testimonials-YZFIQDJS.js +0 -32
  568. package/dist/themes-FEYSJ7YX.js +0 -103
  569. package/dist/top-companies-BWBG6VDR.js +0 -251
  570. package/dist/transcript-LQD4BQBX.js +0 -169
  571. package/dist/translate-NDEGN7IQ.js +0 -608
  572. package/dist/triggers-QIUVJTQH.js +0 -149
  573. package/dist/unlink-NEWANAJV.js +0 -74
  574. package/dist/unstage-IZ65HQWO.js +0 -93
  575. package/dist/update-37LGNICM.js +0 -70
  576. package/dist/update-6JBXNAYP.js +0 -238
  577. package/dist/update-TZ5S5AEQ.js +0 -176
  578. package/dist/update-VCWV54LD.js +0 -194
  579. package/dist/upload-NXWO2M4K.js +0 -186
  580. package/dist/url-options-VMLLSDWB.js +0 -137
  581. package/dist/url-params-NAPRU6VS.js +0 -103
  582. package/dist/validate-XSO7M2N6.js +0 -181
  583. package/dist/videos-TDGFNXJB.js +0 -41
  584. package/dist/viewer-check-WQAMTCIQ.js +0 -90
  585. package/dist/visuals-JJAWZME4.js +0 -130
  586. package/dist/web-Q6HMBNRS.js +0 -234
  587. package/dist/winning-ads-74CDMGTQ.js +0 -88
  588. package/dist/write-commands-QYRZX65S.js +0 -1556
  589. package/dist/x-2FX42TQK.js +0 -47
  590. /package/dist/{account-NHPKIWPX.js.map → account-TOEH3E4V.js.map} +0 -0
  591. /package/dist/{account-RLE73GWJ.js.map → account-YLJRCKJD.js.map} +0 -0
  592. /package/dist/{account-reads-NIYUPB4Q.js.map → account-reads-QUKBCJ4I.js.map} +0 -0
  593. /package/dist/{account-users-ADX33PJ2.js.map → account-users-PRK7NXU4.js.map} +0 -0
  594. /package/dist/{account-writes-VQG2DIL2.js.map → account-writes-WKG326GF.js.map} +0 -0
  595. /package/dist/{accounts-BSZ42BQK.js.map → accounts-HM2MOUCS.js.map} +0 -0
  596. /package/dist/{accounts-FDWK2Z3I.js.map → accounts-HYSK5RVA.js.map} +0 -0
  597. /package/dist/{accounts-2HU6ZXXZ.js.map → accounts-VXJACI73.js.map} +0 -0
  598. /package/dist/{actions-DYM47UFS.js.map → actions-J4X5CD5U.js.map} +0 -0
  599. /package/dist/{activecampaign-V53HTAY3.js.map → activecampaign-7E7FKMA2.js.map} +0 -0
  600. /package/dist/{ad-group-writes-6NSPVPO2.js.map → ad-group-writes-7D72YSZ3.js.map} +0 -0
  601. /package/dist/{ad-groups-XPFBEDTX.js.map → ad-groups-RKWIK443.js.map} +0 -0
  602. /package/dist/{ad-writes-ZFT6N6L4.js.map → ad-writes-MVXTFP3G.js.map} +0 -0
  603. /package/dist/{add-XQADZQ3Z.js.map → add-4EEJRILN.js.map} +0 -0
  604. /package/dist/{add-V3NKETGT.js.map → add-CHJQ5W2O.js.map} +0 -0
  605. /package/dist/{add-INJ22ZRW.js.map → add-VKDDINLM.js.map} +0 -0
  606. /package/dist/{ads-55VKXBMM.js.map → ads-IZVXCAGD.js.map} +0 -0
  607. /package/dist/{ads-MF3RBGLM.js.map → ads-OXSPFP7L.js.map} +0 -0
  608. /package/dist/{advertisers-X3PJG6Z6.js.map → advertisers-ROSLSKNQ.js.map} +0 -0
  609. /package/dist/{alerts-NK7POTNE.js.map → alerts-RC5HDS3D.js.map} +0 -0
  610. /package/dist/{analytics-2GFNGWCD.js.map → analytics-G7WXLSAB.js.map} +0 -0
  611. /package/dist/{analytics-LYGTOOOH.js.map → analytics-L2HEARYU.js.map} +0 -0
  612. /package/dist/{animate-ELVOWQD4.js.map → animate-M3NETBDU.js.map} +0 -0
  613. /package/dist/{assign-7VAY66CZ.js.map → assign-NPJZFHPC.js.map} +0 -0
  614. /package/dist/{audience-size-7YBPRCX6.js.map → audience-size-WKZGMCNU.js.map} +0 -0
  615. /package/dist/{audiences-H54RA555.js.map → audiences-GQ3GFJGU.js.map} +0 -0
  616. /package/dist/{audit-7JCXNOAB.js.map → audit-22DQDYDI.js.map} +0 -0
  617. /package/dist/{autocomplete-PWMUL7QJ.js.map → autocomplete-PRUZWII7.js.map} +0 -0
  618. /package/dist/{avatars-6ZZYD332.js.map → avatars-NLNOFORD.js.map} +0 -0
  619. /package/dist/{bid-pricing-PHIYPEDJ.js.map → bid-pricing-VVNXSHXS.js.map} +0 -0
  620. /package/dist/{brief-4GIXLWHD.js.map → brief-LT23HRFK.js.map} +0 -0
  621. /package/dist/{campaign-groups-Q3NDDK34.js.map → campaign-groups-TUDQ27PF.js.map} +0 -0
  622. /package/dist/{campaign-writes-RB6XM6PB.js.map → campaign-writes-4UXSPUWW.js.map} +0 -0
  623. /package/dist/{campaign-writes-5CEFKZV5.js.map → campaign-writes-IYMSDPNS.js.map} +0 -0
  624. /package/dist/{campaigns-TUAAU2HM.js.map → campaigns-7VPDCXNP.js.map} +0 -0
  625. /package/dist/{campaigns-FVDEYG5C.js.map → campaigns-FNM4TOFC.js.map} +0 -0
  626. /package/dist/{campaigns-444D7YJ7.js.map → campaigns-MRQ6WXG7.js.map} +0 -0
  627. /package/dist/{canvas-GTPI2CKV.js.map → canvas-SRHL5ZHR.js.map} +0 -0
  628. /package/dist/{capabilities-L5GGYWBL.js.map → capabilities-42OXSLHU.js.map} +0 -0
  629. /package/dist/{catalog-L6FZXS3S.js.map → catalog-F3HNLFJH.js.map} +0 -0
  630. /package/dist/{catalogs-F33HX4RG.js.map → catalogs-HW3VY4KU.js.map} +0 -0
  631. /package/dist/{changes-RQEDNLIX.js.map → changes-6OHBEPGF.js.map} +0 -0
  632. /package/dist/{chatgpt-GEBWPTMO.js.map → chatgpt-2UCND7NY.js.map} +0 -0
  633. /package/dist/{chats-LNS3ZGN2.js.map → chats-5UPQ6F34.js.map} +0 -0
  634. /package/dist/{check-UO5WGAGM.js.map → check-5KREXPY7.js.map} +0 -0
  635. /package/dist/{chunk-LWV4XL6X.js.map → chunk-26BRCSWQ.js.map} +0 -0
  636. /package/dist/{chunk-O2GGZ2O2.js.map → chunk-3HKFU57Z.js.map} +0 -0
  637. /package/dist/{chunk-5QR27P5X.js.map → chunk-3UZA2TVE.js.map} +0 -0
  638. /package/dist/{chunk-IHASMZN7.js.map → chunk-3Z3DQD3S.js.map} +0 -0
  639. /package/dist/{chunk-Q3V2PZTL.js.map → chunk-4J7GY4V4.js.map} +0 -0
  640. /package/dist/{chunk-52GWXYQ6.js.map → chunk-4MNKDXFR.js.map} +0 -0
  641. /package/dist/{chunk-TDWIAG56.js.map → chunk-4SYBNYE2.js.map} +0 -0
  642. /package/dist/{chunk-AGRFXGLQ.js.map → chunk-4VRVRA3E.js.map} +0 -0
  643. /package/dist/{chunk-7XFLQX2F.js.map → chunk-5SCUCAPZ.js.map} +0 -0
  644. /package/dist/{chunk-7GIRKPCK.js.map → chunk-5VGV7WYL.js.map} +0 -0
  645. /package/dist/{chunk-KRYCOR7O.js.map → chunk-655LRQK3.js.map} +0 -0
  646. /package/dist/{chunk-CQGA6W4H.js.map → chunk-6FXEUO2G.js.map} +0 -0
  647. /package/dist/{chunk-RNGZG273.js.map → chunk-6U5P7U2K.js.map} +0 -0
  648. /package/dist/{chunk-ZJBKANBI.js.map → chunk-7CAYPW4U.js.map} +0 -0
  649. /package/dist/{chunk-MWD6GIL6.js.map → chunk-7KVXTJNE.js.map} +0 -0
  650. /package/dist/{chunk-XS7RLKVV.js.map → chunk-7NKF4JLL.js.map} +0 -0
  651. /package/dist/{chunk-DOAUNVLT.js.map → chunk-AK3TLOI2.js.map} +0 -0
  652. /package/dist/{chunk-B7NURSEQ.js.map → chunk-B55CVNVK.js.map} +0 -0
  653. /package/dist/{chunk-Q3HMAIYV.js.map → chunk-BMCISGEJ.js.map} +0 -0
  654. /package/dist/{chunk-YOYVZNJ5.js.map → chunk-BU5M3VGB.js.map} +0 -0
  655. /package/dist/{chunk-UKETWBTK.js.map → chunk-C6HUH6FG.js.map} +0 -0
  656. /package/dist/{chunk-65ZHDSPV.js.map → chunk-CF22TBGU.js.map} +0 -0
  657. /package/dist/{chunk-LYAVJJHA.js.map → chunk-CFZDQED4.js.map} +0 -0
  658. /package/dist/{chunk-5SY5XHGY.js.map → chunk-CRJKO2GW.js.map} +0 -0
  659. /package/dist/{chunk-7YYB62Q6.js.map → chunk-CXVNM264.js.map} +0 -0
  660. /package/dist/{chunk-36EP3NUV.js.map → chunk-D5VJDPVW.js.map} +0 -0
  661. /package/dist/{chunk-Y42IKJUR.js.map → chunk-EJRVEUZW.js.map} +0 -0
  662. /package/dist/{chunk-DUJCU5NO.js.map → chunk-F7BTMXJ6.js.map} +0 -0
  663. /package/dist/{chunk-OJNDGXA2.js.map → chunk-FRSG3BBL.js.map} +0 -0
  664. /package/dist/{chunk-KK6JTXF7.js.map → chunk-GWMIDTCA.js.map} +0 -0
  665. /package/dist/{chunk-5ZFH74JL.js.map → chunk-HPCP3RIC.js.map} +0 -0
  666. /package/dist/{chunk-J7GYBBJA.js.map → chunk-HQGQW37N.js.map} +0 -0
  667. /package/dist/{chunk-C4TQ67ON.js.map → chunk-HRS4W6A7.js.map} +0 -0
  668. /package/dist/{chunk-LOZ36NDE.js.map → chunk-ID2ULDOJ.js.map} +0 -0
  669. /package/dist/{chunk-J6GPBZ2R.js.map → chunk-KOF2WH6V.js.map} +0 -0
  670. /package/dist/{chunk-G3QEXUKR.js.map → chunk-LBN6JRAN.js.map} +0 -0
  671. /package/dist/{chunk-PQZBKJI7.js.map → chunk-LGY43BST.js.map} +0 -0
  672. /package/dist/{chunk-7L2O47FS.js.map → chunk-LQPWLCPL.js.map} +0 -0
  673. /package/dist/{chunk-SDU6QWFA.js.map → chunk-MOOTQZZB.js.map} +0 -0
  674. /package/dist/{chunk-ZAQ2PXVE.js.map → chunk-MV2HPZMW.js.map} +0 -0
  675. /package/dist/{chunk-FKZSHI75.js.map → chunk-MVNXGETW.js.map} +0 -0
  676. /package/dist/{chunk-PAGDHHRH.js.map → chunk-NB5OR67T.js.map} +0 -0
  677. /package/dist/{chunk-ABSCXA3F.js.map → chunk-NESWSXLV.js.map} +0 -0
  678. /package/dist/{chunk-XEENCC34.js.map → chunk-NF5D3VYI.js.map} +0 -0
  679. /package/dist/{chunk-ODZ6UGC6.js.map → chunk-NGYRPA7Y.js.map} +0 -0
  680. /package/dist/{chunk-IOJFW7IJ.js.map → chunk-OE57TJBJ.js.map} +0 -0
  681. /package/dist/{chunk-OXC5TCEK.js.map → chunk-OGG7DKN5.js.map} +0 -0
  682. /package/dist/{chunk-6RVFUGU2.js.map → chunk-ONHHXBOH.js.map} +0 -0
  683. /package/dist/{chunk-RHA55M7H.js.map → chunk-ORKQSFNI.js.map} +0 -0
  684. /package/dist/{chunk-37ZFOL3T.js.map → chunk-OXYSXFF3.js.map} +0 -0
  685. /package/dist/{chunk-MXN7AUZG.js.map → chunk-QI6ALVEZ.js.map} +0 -0
  686. /package/dist/{chunk-3663UWEJ.js.map → chunk-QPLB53AQ.js.map} +0 -0
  687. /package/dist/{chunk-RZD4KCMN.js.map → chunk-RRSGZYWO.js.map} +0 -0
  688. /package/dist/{chunk-Q4RLGO4Y.js.map → chunk-S4S54FZU.js.map} +0 -0
  689. /package/dist/{chunk-26PCRPMS.js.map → chunk-TGEE6G6J.js.map} +0 -0
  690. /package/dist/{chunk-UZ32P2MK.js.map → chunk-U72TSCKL.js.map} +0 -0
  691. /package/dist/{chunk-V52PW3C3.js.map → chunk-UOWPRJIX.js.map} +0 -0
  692. /package/dist/{chunk-KE63G3C7.js.map → chunk-W736BTE7.js.map} +0 -0
  693. /package/dist/{chunk-V4LQLLV7.js.map → chunk-WDC5L2T6.js.map} +0 -0
  694. /package/dist/{chunk-5GAL274H.js.map → chunk-WSYTRJN7.js.map} +0 -0
  695. /package/dist/{chunk-YRBOVBHQ.js.map → chunk-XDOF4LGD.js.map} +0 -0
  696. /package/dist/{chunk-RGIDB3OY.js.map → chunk-XHTFXA2A.js.map} +0 -0
  697. /package/dist/{chunk-WWIXZFNL.js.map → chunk-XKLJPKZA.js.map} +0 -0
  698. /package/dist/{chunk-IBEYN63R.js.map → chunk-XLCLPLMB.js.map} +0 -0
  699. /package/dist/{chunk-GHCZUHUC.js.map → chunk-XPHCG2JN.js.map} +0 -0
  700. /package/dist/{chunk-R2UE6S4P.js.map → chunk-ZIJFBEFI.js.map} +0 -0
  701. /package/dist/{chunk-HO4OU5GT.js.map → chunk-ZRYKGLSY.js.map} +0 -0
  702. /package/dist/{claim-HCVWDY4F.js.map → claim-HB7CBTJH.js.map} +0 -0
  703. /package/dist/{companies-NP3ZPD4N.js.map → companies-HKMERSJP.js.map} +0 -0
  704. /package/dist/{company-WBA5NN2V.js.map → company-AFSD4WZ3.js.map} +0 -0
  705. /package/dist/{complete-7VT3DQPB.js.map → complete-RMJYSYOL.js.map} +0 -0
  706. /package/dist/{connect-YD6JLPP2.js.map → connect-2KDGUVY5.js.map} +0 -0
  707. /package/dist/{conversation-7X5XU672.js.map → conversation-VDRLFRMI.js.map} +0 -0
  708. /package/dist/{conversion-report-6DLSLJC5.js.map → conversion-report-RJ5Z6JDW.js.map} +0 -0
  709. /package/dist/{conversion-upload-command-HSPAW6UV.js.map → conversion-upload-command-TCMORMHM.js.map} +0 -0
  710. /package/dist/{conversion-writes-4H2LTWBX.js.map → conversion-writes-LYZFMH5I.js.map} +0 -0
  711. /package/dist/{conversions-UPXDYLTW.js.map → conversions-ANAJMGHI.js.map} +0 -0
  712. /package/dist/{conversions-L37NR2WG.js.map → conversions-ZLBWAXLT.js.map} +0 -0
  713. /package/dist/{create-WBTAQB2Z.js.map → create-7R6W42ZB.js.map} +0 -0
  714. /package/dist/{create-MR7VRMRT.js.map → create-CPYP5LGS.js.map} +0 -0
  715. /package/dist/{create-IBDTEHWS.js.map → create-H43T7PXI.js.map} +0 -0
  716. /package/dist/{create-YDVIUUY2.js.map → create-QCCLMAPL.js.map} +0 -0
  717. /package/dist/{creatives-TRNKZBE5.js.map → creatives-KQTBQ6EE.js.map} +0 -0
  718. /package/dist/{creatives-UVDA5Q4F.js.map → creatives-PDDLZQHU.js.map} +0 -0
  719. /package/dist/{credentials-GLGKSKIW.js.map → credentials-CWBYEI5M.js.map} +0 -0
  720. /package/dist/{critique-RNRN6U4L.js.map → critique-5FZ35QNP.js.map} +0 -0
  721. /package/dist/{crm-GXXU5W7T.js.map → crm-NZHLWC3H.js.map} +0 -0
  722. /package/dist/{crm-YSMYGFV2.js.map → crm-STN3YKV5.js.map} +0 -0
  723. /package/dist/{currency-H3R26VU4.js.map → currency-DMVRKQRJ.js.map} +0 -0
  724. /package/dist/{customers-MKBX6KJ5.js.map → customers-WF264D3M.js.map} +0 -0
  725. /package/dist/{data-JRLTQ2ZL.js.map → data-CIPG3EOP.js.map} +0 -0
  726. /package/dist/{delete-NHXWYWFL.js.map → delete-DAMPOWQV.js.map} +0 -0
  727. /package/dist/{delete-SATPEDYL.js.map → delete-VC4XSYJ6.js.map} +0 -0
  728. /package/dist/{delete-DFXR77UH.js.map → delete-VNITJJCY.js.map} +0 -0
  729. /package/dist/{demographics-VN4ASJ2V.js.map → demographics-6QTIHC22.js.map} +0 -0
  730. /package/dist/{discard-WQJVE6L4.js.map → discard-6JBN263B.js.map} +0 -0
  731. /package/dist/{discover-6FNEE7XD.js.map → discover-MXXNEDJC.js.map} +0 -0
  732. /package/dist/{domain-QMGXWKBX.js.map → domain-X2CHPUEN.js.map} +0 -0
  733. /package/dist/{download-G4DJZAGI.js.map → download-EFRVIWUQ.js.map} +0 -0
  734. /package/dist/{draft-UFJ7ALPI.js.map → draft-3TU2DOG4.js.map} +0 -0
  735. /package/dist/{draft-JMMX67IN.js.map → draft-7QREAYBZ.js.map} +0 -0
  736. /package/dist/{draft-PQRO7SXV.js.map → draft-GGCV5MUR.js.map} +0 -0
  737. /package/dist/{draft-F2MRYZ2E.js.map → draft-GGQKDNLL.js.map} +0 -0
  738. /package/dist/{draft-X7G4CMUO.js.map → draft-LXNUTJCQ.js.map} +0 -0
  739. /package/dist/{draft-2GYY3P7V.js.map → draft-PDUPYLHU.js.map} +0 -0
  740. /package/dist/{experiments-6TEAXNVD.js.map → experiments-327DBJOV.js.map} +0 -0
  741. /package/dist/{extract-C5K3ZZ42.js.map → extract-RT7UACSI.js.map} +0 -0
  742. /package/dist/{facets-E5MFMDR2.js.map → facets-DOAWYVYW.js.map} +0 -0
  743. /package/dist/{feedback-2VZGXOPQ.js.map → feedback-VSKQVHQT.js.map} +0 -0
  744. /package/dist/{fetch-JVI3AO3Q.js.map → fetch-HDHHJKEP.js.map} +0 -0
  745. /package/dist/{fit-T4AAV2PV.js.map → fit-M6X35XGV.js.map} +0 -0
  746. /package/dist/{flows-2VSLY57O.js.map → flows-ZTK45AAV.js.map} +0 -0
  747. /package/dist/{forecast-LPFNFHXJ.js.map → forecast-DR3XIMIX.js.map} +0 -0
  748. /package/dist/{forecast-7EEMDWGW.js.map → forecast-F4HFL5V2.js.map} +0 -0
  749. /package/dist/{funnel-RT5E3EAA.js.map → funnel-UOUUAU3D.js.map} +0 -0
  750. /package/dist/{generate-JMB22RBM.js.map → generate-DWAKBRQJ.js.map} +0 -0
  751. /package/dist/{get-3OVHBZFM.js.map → get-H4O2BE3W.js.map} +0 -0
  752. /package/dist/{get-TPFHXTSS.js.map → get-SNNCIKBO.js.map} +0 -0
  753. /package/dist/{google-QKCCBY3U.js.map → google-EF34XOH6.js.map} +0 -0
  754. /package/dist/{google-EFM636ZH.js.map → google-EQTWYOMA.js.map} +0 -0
  755. /package/dist/{google-ads-FAAP6HCR.js.map → google-ads-ZHVOW4TS.js.map} +0 -0
  756. /package/dist/{history-7IGBWWON.js.map → history-U2ZXDZBP.js.map} +0 -0
  757. /package/dist/{history-7VIUDUWI.js.map → history-XRSQD2R7.js.map} +0 -0
  758. /package/dist/{history-7UERQA6C.js.map → history-Y5S4LPC7.js.map} +0 -0
  759. /package/dist/{hubspot-JU6QECUR.js.map → hubspot-MIKWDLVS.js.map} +0 -0
  760. /package/dist/{ideas-5V4TFQA4.js.map → ideas-QL7DO5FR.js.map} +0 -0
  761. /package/dist/{images-EFG555RC.js.map → images-U3UK3W5X.js.map} +0 -0
  762. /package/dist/{ingest-FHT7W74C.js.map → ingest-E6NA6MLE.js.map} +0 -0
  763. /package/dist/{ingest-3I6RBUAY.js.map → ingest-PDCY7GTG.js.map} +0 -0
  764. /package/dist/{insights-E3VPRDIZ.js.map → insights-53JGBSF7.js.map} +0 -0
  765. /package/dist/{inspect-AIX4H3CD.js.map → inspect-2SC5HQO4.js.map} +0 -0
  766. /package/dist/{intent-7AY7ISL3.js.map → intent-RCDG2YEC.js.map} +0 -0
  767. /package/dist/{keyword-gap-4LVY3I2W.js.map → keyword-gap-RS234V7N.js.map} +0 -0
  768. /package/dist/{keyword-metrics-AIOK6XG2.js.map → keyword-metrics-XVNOUY6H.js.map} +0 -0
  769. /package/dist/{keywords-for-site-WKUQFYDA.js.map → keywords-for-site-MC4ASKAP.js.map} +0 -0
  770. /package/dist/{languages-ILBO7WGO.js.map → languages-EHVUCBTM.js.map} +0 -0
  771. /package/dist/{leads-MXYKHRWR.js.map → leads-Q7FG7CDN.js.map} +0 -0
  772. /package/dist/{learn-OIJXLZL5.js.map → learn-WN54VXO6.js.map} +0 -0
  773. /package/dist/{line-item-writes-DOYJD2IK.js.map → line-item-writes-ISLEC7ZN.js.map} +0 -0
  774. /package/dist/{line-items-KFL5JZ2H.js.map → line-items-NRZ24KDM.js.map} +0 -0
  775. /package/dist/{link-XGDKRLHM.js.map → link-RGLL45F5.js.map} +0 -0
  776. /package/dist/{linkedin-UEDF45LH.js.map → linkedin-XBQMI42D.js.map} +0 -0
  777. /package/dist/{linkedin-person-UPJBQUXL.js.map → linkedin-person-FKEFVZCY.js.map} +0 -0
  778. /package/dist/{list-6H6UFMMY.js.map → list-533GIXG7.js.map} +0 -0
  779. /package/dist/{list-UX5PWGOI.js.map → list-FZ4NFRRR.js.map} +0 -0
  780. /package/dist/{list-DXCIXAYY.js.map → list-RWQLAWO3.js.map} +0 -0
  781. /package/dist/{locations-HAEZGVNR.js.map → locations-2NEDMFS5.js.map} +0 -0
  782. /package/dist/{locations-ZV6EK2BK.js.map → locations-RHTUYWMC.js.map} +0 -0
  783. /package/dist/{log-KBRWBRLH.js.map → log-IFLF3DZZ.js.map} +0 -0
  784. /package/dist/{make-6FZSKF4C.js.map → make-DDMTAGUB.js.map} +0 -0
  785. /package/dist/{map-7SSEVSE4.js.map → map-O37XED7M.js.map} +0 -0
  786. /package/dist/{mcp-LYUWG3BL.js.map → mcp-MZ3HVDYY.js.map} +0 -0
  787. /package/dist/{media-sources-YE6IWKXB.js.map → media-sources-52FXNGXC.js.map} +0 -0
  788. /package/dist/{members-RIDPBGPP.js.map → members-PDYPCF27.js.map} +0 -0
  789. /package/dist/{meta-OTEBUJM5.js.map → meta-HK5PYNRM.js.map} +0 -0
  790. /package/dist/{metrics-D6ECYE4M.js.map → metrics-TSRFLNLI.js.map} +0 -0
  791. /package/dist/{models-TVAUSO3P.js.map → models-DV4G4A2W.js.map} +0 -0
  792. /package/dist/{normalize-YTK5GDBU.js.map → normalize-ONUJO2N4.js.map} +0 -0
  793. /package/dist/{options-JEKY7C73.js.map → options-K3N7JI4H.js.map} +0 -0
  794. /package/dist/{organization-EPYS5C5B.js.map → organization-RDZ4FOC4.js.map} +0 -0
  795. /package/dist/{people-2N5TX2GU.js.map → people-RWHZBUJU.js.map} +0 -0
  796. /package/dist/{people-QFZI2E7P.js.map → people-UOYFEJOA.js.map} +0 -0
  797. /package/dist/{performance-25L7LKP2.js.map → performance-UABHGDYV.js.map} +0 -0
  798. /package/dist/{performance-OJ7OIPLA.js.map → performance-XIZ43WKC.js.map} +0 -0
  799. /package/dist/{pipedrive-ATF7T26W.js.map → pipedrive-IDA44I2X.js.map} +0 -0
  800. /package/dist/{pixels-NGCNKAV5.js.map → pixels-T73SVZ4G.js.map} +0 -0
  801. /package/dist/{preview-RFTLMN3O.js.map → preview-PM3SAC4G.js.map} +0 -0
  802. /package/dist/{promoted-tweet-writes-KXYO4YKC.js.map → promoted-tweet-writes-GW7G3WN5.js.map} +0 -0
  803. /package/dist/{promoted-tweets-3KNM4CGF.js.map → promoted-tweets-A4BD3ZMR.js.map} +0 -0
  804. /package/dist/{publish-VKSYIMOZ.js.map → publish-XGJXWQM3.js.map} +0 -0
  805. /package/dist/{query-OZ3E7BEL.js.map → query-SG6ILF5G.js.map} +0 -0
  806. /package/dist/{reddit-6A6426JJ.js.map → reddit-FL2QQ352.js.map} +0 -0
  807. /package/dist/{refresh-YZIJGDG7.js.map → refresh-QOA6XQ65.js.map} +0 -0
  808. /package/dist/{release-DJYNQWDN.js.map → release-5ZIDVDEO.js.map} +0 -0
  809. /package/dist/{relevant-pages-UT2RWLPT.js.map → relevant-pages-CFBI4BIH.js.map} +0 -0
  810. /package/dist/{remove-UJSWD3QN.js.map → remove-2YY2CCVU.js.map} +0 -0
  811. /package/dist/{reopen-55YN5WVQ.js.map → reopen-LKJUT6M2.js.map} +0 -0
  812. /package/dist/{rerun-V4GD7RIZ.js.map → rerun-RPS5GK62.js.map} +0 -0
  813. /package/dist/{research-MXXNHCPT.js.map → research-6WCBKLTG.js.map} +0 -0
  814. /package/dist/{research-PUNEJ4WW.js.map → research-NGCA52UN.js.map} +0 -0
  815. /package/dist/{reset-P4BU73ZJ.js.map → reset-J33M64KW.js.map} +0 -0
  816. /package/dist/{reset-HDBZXDUS.js.map → reset-MUH7FKOG.js.map} +0 -0
  817. /package/dist/{resolve-EETBZN2N.js.map → resolve-5HZJEXLJ.js.map} +0 -0
  818. /package/dist/{retry-KEFXYANH.js.map → retry-32GYJQAF.js.map} +0 -0
  819. /package/dist/{retry-PV5WMRZK.js.map → retry-ZHRDMM4Y.js.map} +0 -0
  820. /package/dist/{revenue-ZDC45HPI.js.map → revenue-IRF25ISM.js.map} +0 -0
  821. /package/dist/{rules-IHIQQF5C.js.map → rules-BUPUJ556.js.map} +0 -0
  822. /package/dist/{run-4KS5GKXA.js.map → run-55JPIRYI.js.map} +0 -0
  823. /package/dist/{run-SBGLLSTU.js.map → run-Y2RXME5N.js.map} +0 -0
  824. /package/dist/{scaffold-ad-LZVQI3H7.js.map → scaffold-ad-TK6V3TYJ.js.map} +0 -0
  825. /package/dist/{scaffold-static-ad-USLJM4R7.js.map → scaffold-static-ad-RQXSGRE2.js.map} +0 -0
  826. /package/dist/{scaffold-video-ELVMOT45.js.map → scaffold-video-KTNSYWMY.js.map} +0 -0
  827. /package/dist/{schedule-R22K2MGT.js.map → schedule-PVUKPBF7.js.map} +0 -0
  828. /package/dist/{scheduled-agents-7RMFVLN3.js.map → scheduled-agents-J6RTT7HY.js.map} +0 -0
  829. /package/dist/{schema-3UW3SOQD.js.map → schema-7CKXBHF6.js.map} +0 -0
  830. /package/dist/{schema-ACS6VIN7.js.map → schema-RVA6JSZE.js.map} +0 -0
  831. /package/dist/{search-7Y5EIPEJ.js.map → search-RC57DNMJ.js.map} +0 -0
  832. /package/dist/{search-terms-OJHLE5K6.js.map → search-terms-2L6UMZCC.js.map} +0 -0
  833. /package/dist/{select-5YZ6KGO4.js.map → select-YZWK2TON.js.map} +0 -0
  834. /package/dist/{set-DJTYRL2B.js.map → set-OKT7Q7EC.js.map} +0 -0
  835. /package/dist/{set-prompt-HLJ6FKH7.js.map → set-prompt-T6HC54TW.js.map} +0 -0
  836. /package/dist/{setup-links-3YMLESXT.js.map → setup-links-EQ6GH6M5.js.map} +0 -0
  837. /package/dist/{shopify-XVMJVBRL.js.map → shopify-SC35E5P2.js.map} +0 -0
  838. /package/dist/{site-5XYSUVEO.js.map → site-FZOS2U6Q.js.map} +0 -0
  839. /package/dist/{sources-IMMMS2ZK.js.map → sources-FTPQFFNW.js.map} +0 -0
  840. /package/dist/{sources-AEH3WZZL.js.map → sources-QNQ6G542.js.map} +0 -0
  841. /package/dist/{stale-STQUFOQS.js.map → stale-ITQGFBIM.js.map} +0 -0
  842. /package/dist/{status-UQERTATZ.js.map → status-XBRPJ4K2.js.map} +0 -0
  843. /package/dist/{stock-4MEA3OAY.js.map → stock-NVJJVJHU.js.map} +0 -0
  844. /package/dist/{studio-EPR755MN.js.map → studio-PD4VOHWX.js.map} +0 -0
  845. /package/dist/{sync-ND3WE42R.js.map → sync-DBNMW75Z.js.map} +0 -0
  846. /package/dist/{sync-definition-4ZOMBZLL.js.map → sync-definition-2DVZY5BF.js.map} +0 -0
  847. /package/dist/{tags-6AH5WJTO.js.map → tags-3MY3BEYO.js.map} +0 -0
  848. /package/dist/{tags-M4SRJULS.js.map → tags-HFUEFAZ3.js.map} +0 -0
  849. /package/dist/{tags-WOFDS44M.js.map → tags-JZZLDVAL.js.map} +0 -0
  850. /package/dist/{tags-WZIIZSUK.js.map → tags-WT4JEJKW.js.map} +0 -0
  851. /package/dist/{tags-N32O6S4Q.js.map → tags-WYXVFNS6.js.map} +0 -0
  852. /package/dist/{targeting-criteria-QMWFNZSN.js.map → targeting-criteria-XSHY2DFD.js.map} +0 -0
  853. /package/dist/{targets-VWTBHD5K.js.map → targets-7PEAIBIW.js.map} +0 -0
  854. /package/dist/{testimonials-YZFIQDJS.js.map → testimonials-FISOPTG7.js.map} +0 -0
  855. /package/dist/{themes-FEYSJ7YX.js.map → themes-CUDXWVL5.js.map} +0 -0
  856. /package/dist/{top-companies-BWBG6VDR.js.map → top-companies-W54NEMWC.js.map} +0 -0
  857. /package/dist/{transcript-LQD4BQBX.js.map → transcript-ZSWHKJKN.js.map} +0 -0
  858. /package/dist/{translate-NDEGN7IQ.js.map → translate-FLHWVGGX.js.map} +0 -0
  859. /package/dist/{triggers-QIUVJTQH.js.map → triggers-IDAX2LC2.js.map} +0 -0
  860. /package/dist/{unlink-NEWANAJV.js.map → unlink-4T4VDJKZ.js.map} +0 -0
  861. /package/dist/{unstage-IZ65HQWO.js.map → unstage-LGI45U54.js.map} +0 -0
  862. /package/dist/{update-VCWV54LD.js.map → update-IWH7W6AN.js.map} +0 -0
  863. /package/dist/{update-37LGNICM.js.map → update-JGDBBM3K.js.map} +0 -0
  864. /package/dist/{update-6JBXNAYP.js.map → update-NF65Y4D5.js.map} +0 -0
  865. /package/dist/{update-TZ5S5AEQ.js.map → update-NQJ5Z25G.js.map} +0 -0
  866. /package/dist/{upload-NXWO2M4K.js.map → upload-QMRLYKE3.js.map} +0 -0
  867. /package/dist/{url-options-VMLLSDWB.js.map → url-options-GJANKQRI.js.map} +0 -0
  868. /package/dist/{url-params-NAPRU6VS.js.map → url-params-3E7UZLDC.js.map} +0 -0
  869. /package/dist/{validate-XSO7M2N6.js.map → validate-TX55AW42.js.map} +0 -0
  870. /package/dist/{videos-TDGFNXJB.js.map → videos-UB7JKFSO.js.map} +0 -0
  871. /package/dist/{viewer-check-WQAMTCIQ.js.map → viewer-check-AJS7WL2T.js.map} +0 -0
  872. /package/dist/{visuals-JJAWZME4.js.map → visuals-T3KWSWNY.js.map} +0 -0
  873. /package/dist/{web-Q6HMBNRS.js.map → web-6ES4BNGU.js.map} +0 -0
  874. /package/dist/{winning-ads-74CDMGTQ.js.map → winning-ads-YS6R4XOV.js.map} +0 -0
  875. /package/dist/{write-commands-QYRZX65S.js.map → write-commands-NC2MDQGP.js.map} +0 -0
  876. /package/dist/{x-2FX42TQK.js.map → x-LXXN47TR.js.map} +0 -0
@@ -0,0 +1,1124 @@
1
+ import {
2
+ flowsDir,
3
+ walkNodes
4
+ } from "./chunk-QI6ALVEZ.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
+ import { distance } from "fastest-levenshtein";
103
+
104
+ // src/commands/flows/mapping.ts
105
+ var MappingError = class extends Error {
106
+ fix;
107
+ constructor(message, fix) {
108
+ super(message);
109
+ this.name = "MappingError";
110
+ this.fix = fix;
111
+ }
112
+ };
113
+ var PAYLOAD = (key) => ({ kind: "list", key, addressedBy: "key" });
114
+ var JSON_PAYLOAD_TYPES = ["boolean", "number"];
115
+ var JSON_PAYLOAD = (key) => ({ ...PAYLOAD(key), jsonBody: true });
116
+ var META_MATCHING = ["em", "fn", "ln", "ph", "external_id", "ge", "db", "ct", "st", "zp", "country"];
117
+ var ADS_MATCHING = [
118
+ "email",
119
+ "phone_number",
120
+ "first_name",
121
+ "last_name",
122
+ "street",
123
+ "city",
124
+ "region",
125
+ "postal_code",
126
+ "country"
127
+ ];
128
+ var MAPPING_SLOTS = {
129
+ shopifyCustomer: [
130
+ {
131
+ kind: "record",
132
+ key: "customer",
133
+ allowed: ["email", "phone", "firstName", "lastName", "acceptsEmailMarketing", "acceptsSmsMarketing"]
134
+ }
135
+ ],
136
+ googleSpreadsheet: [{ kind: "list", key: "columnMapping", addressedBy: "column" }],
137
+ hubspotForm: [
138
+ {
139
+ kind: "list",
140
+ key: "fieldMapping",
141
+ addressedBy: "fieldName",
142
+ needsFieldType: true,
143
+ fieldTypeSource: "Connect the form first (`baker flows connect <slug> --side-effect <id> --hubspot-form <formGuid>`) and this command reads every property's type off it with no extra flag; `--hubspot-form <formGuid>` here names the form explicitly. `baker hubspot forms view <formGuid>` prints the same list if you want to see it."
144
+ }
145
+ ],
146
+ pipedrive: [
147
+ {
148
+ kind: "list",
149
+ key: "fieldMapping",
150
+ addressedBy: "fieldKey",
151
+ entities: ["person", "organization", "lead"],
152
+ needsFieldType: true,
153
+ needsIsCustom: true
154
+ }
155
+ ],
156
+ goHighlevelContact: [
157
+ {
158
+ kind: "list",
159
+ key: "fieldMapping",
160
+ addressedBy: "fieldKey",
161
+ entities: ["business", "contact", "opportunity"],
162
+ needsFieldType: true,
163
+ needsIsCustom: true
164
+ }
165
+ ],
166
+ crmble: [
167
+ { kind: "list", key: "fieldMapping", addressedBy: "fieldId", entities: ["contact", "lead"], needsFieldType: true }
168
+ ],
169
+ activeCampaignContact: [
170
+ {
171
+ kind: "list",
172
+ key: "fieldMapping",
173
+ addressedBy: "fieldKey",
174
+ needsFieldType: true,
175
+ fieldTypes: ACTIVECAMPAIGN_FIELD_TYPES,
176
+ qualifiedByFieldType: true,
177
+ 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"`.'
178
+ }
179
+ ],
180
+ email: [{ ...JSON_PAYLOAD("fields"), under: "body" }],
181
+ zapier: [JSON_PAYLOAD("payloadKeys")],
182
+ httpWebhook: [JSON_PAYLOAD("payloadKeys")],
183
+ googleTagManager: [PAYLOAD("dataLayerParams")],
184
+ googleAnalytics: [PAYLOAD("eventParams")],
185
+ posthog: [PAYLOAD("eventParams")],
186
+ amplitude: [PAYLOAD("eventProperties")],
187
+ hubspot: [PAYLOAD("eventProperties")],
188
+ vwo: [PAYLOAD("eventProperties")],
189
+ code: [PAYLOAD("eventProperties")],
190
+ datafast: [PAYLOAD("goalParams")],
191
+ meta: [PAYLOAD("eventParams"), { kind: "record", key: "advancedMatching", allowed: META_MATCHING }],
192
+ chatgptAds: [
193
+ PAYLOAD("eventParams"),
194
+ {
195
+ kind: "record",
196
+ key: "advancedMatching",
197
+ allowed: ["em", "ph", "fn", "ln", "external_id", "ct", "st", "zp", "country"]
198
+ }
199
+ ],
200
+ tiktok: [
201
+ PAYLOAD("eventParams"),
202
+ { kind: "record", key: "identify", allowed: ["email", "phone_number", "external_id"] }
203
+ ],
204
+ pinterest: [PAYLOAD("eventParams"), { kind: "record", key: "enhancedMatching", allowed: ["em", "hashed_maids"] }],
205
+ googleAds: [
206
+ { kind: "record", key: "enhancedConversions", allowed: ADS_MATCHING },
207
+ { kind: "scalar", keys: ["value", "currency", "transactionId"] }
208
+ ],
209
+ linkedinInsightTag: [
210
+ { kind: "record", key: "userMatching", allowed: ["em", "fn", "ln", "title", "companyName", "country"] },
211
+ { kind: "scalar", keys: ["value", "currency"] }
212
+ ],
213
+ twitterAds: [
214
+ { kind: "record", key: "userMatching", allowed: ["em", "ph"] },
215
+ { kind: "scalar", keys: ["value", "currency"] }
216
+ ]
217
+ };
218
+ var UNMAPPABLE = {
219
+ hotjar: "A Hotjar event carries only its name.",
220
+ clarity: "A Clarity custom tag carries only its name."
221
+ };
222
+ function slotName(shape) {
223
+ if (shape.kind === "scalar") return shape.keys.join("/");
224
+ if (shape.kind === "list" && shape.under) return `${shape.under}.${shape.key}`;
225
+ return shape.key;
226
+ }
227
+ function shapeFor(type, into) {
228
+ const slots = MAPPING_SLOTS[type];
229
+ if (!slots) {
230
+ const why = UNMAPPABLE[type];
231
+ throw new MappingError(
232
+ `Side effect "${type}" has no mappable field.`,
233
+ why ?? `"${type}" is not a side-effect type this workspace's flow engine defines.`
234
+ );
235
+ }
236
+ if (!into) return slots[0];
237
+ const chosen = slots.find(
238
+ (slot) => slot.kind === "scalar" ? slot.keys.includes(into) || into === "scalar" : slot.key === into || slotName(slot) === into
239
+ );
240
+ if (!chosen) {
241
+ throw new MappingError(
242
+ `"${into}" is not a mappable slot on a ${type} side effect.`,
243
+ `Slots on ${type}: ${slots.map(slotName).join(", ")}`
244
+ );
245
+ }
246
+ return chosen;
247
+ }
248
+ function namesComeFromAccount(shape) {
249
+ return shape.kind === "list" && shape.addressedBy !== "key";
250
+ }
251
+ function describeSlots(type) {
252
+ return (MAPPING_SLOTS[type] ?? []).map((shape) => {
253
+ if (shape.kind === "record") {
254
+ return {
255
+ slot: shape.key,
256
+ addressedBy: "one of a closed set",
257
+ keysFrom: "closed",
258
+ keys: shape.allowed,
259
+ note: `${type} defines these names; any other is refused.`
260
+ };
261
+ }
262
+ if (shape.kind === "scalar") {
263
+ return {
264
+ slot: shape.keys.join("/"),
265
+ addressedBy: "the field's own name",
266
+ keysFrom: "closed",
267
+ keys: shape.keys,
268
+ note: "Each is a single value on the side effect, mapped like any other."
269
+ };
270
+ }
271
+ if (shape.addressedBy === "key") {
272
+ return {
273
+ slot: slotName(shape),
274
+ addressedBy: "key",
275
+ keysFrom: "yours",
276
+ note: shape.jsonBody ? `You name these \u2014 they are the JSON body the receiving system expects. ${JSON_BODY_GRAMMAR}` : "You name these \u2014 they are what the receiving system expects. Ask the user if you do not know them."
277
+ };
278
+ }
279
+ return {
280
+ slot: slotName(shape),
281
+ addressedBy: shape.addressedBy,
282
+ keysFrom: "account",
283
+ note: "These live in the connected account. Read them off the request_flow_input result; they cannot be guessed.",
284
+ ...shape.needsFieldType ? { fieldTypes: shape.fieldTypeSource ?? FIELD_TYPE_FROM_INPUT } : {}
285
+ };
286
+ });
287
+ }
288
+ var JSON_BODY_GRAMMAR = 'A dot nests: `hidden.utm_source` arrives inside `"hidden": { "utm_source": \u2026 }`, so write the endpoint\'s nested shape with dotted keys. Every value is sent as the text the answer resolved to \u2014 add `:boolean` or `:number` on the LEFT (`gdprTos:boolean=consent`) for an endpoint that validates types. Ask the user for the endpoint\'s shape if you do not know it.';
289
+ 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>.";
290
+ function otherSlots(type, used) {
291
+ return (MAPPING_SLOTS[type] ?? []).filter((slot) => slot !== used).map(slotName);
292
+ }
293
+ function isRecord(value) {
294
+ return Boolean(value) && typeof value === "object" && !Array.isArray(value);
295
+ }
296
+ function valueText(doc) {
297
+ const blocks = isRecord(doc) && Array.isArray(doc.content) ? doc.content : [];
298
+ const parts = blocks.flatMap(
299
+ (block) => isRecord(block) && Array.isArray(block.content) ? block.content.filter(isRecord) : []
300
+ );
301
+ const spacer = parts[1];
302
+ const loneMention = parts.length === 2 && parts[0]?.type !== "text" && spacer?.type === "text" && String(spacer.text ?? "").trim() === "";
303
+ return (loneMention ? parts.slice(0, 1) : parts).map((part) => {
304
+ if (part.type === "text") return JSON.stringify(String(part.text ?? ""));
305
+ const attrs = isRecord(part.attrs) ? part.attrs : {};
306
+ return String(attrs.label ?? attrs.id ?? "?");
307
+ }).join(" + ");
308
+ }
309
+ var READ_ONLY_SLOTS = {
310
+ posthog: { records: ["setProperties", "setOnceProperties", "groups"], scalars: ["distinctIdField"] }
311
+ };
312
+ function readOnlyMapping(sideEffect) {
313
+ const slots = READ_ONLY_SLOTS[String(sideEffect.type ?? "")];
314
+ if (!slots) return [];
315
+ const records = slots.records.flatMap((key) => {
316
+ const record = sideEffect[key];
317
+ if (!isRecord(record)) return [];
318
+ return Object.entries(record).flatMap(
319
+ ([slot, value]) => value != null ? [`${key}.${slot} \u2190 ${valueText(value)}`] : []
320
+ );
321
+ });
322
+ const scalars = slots.scalars.flatMap(
323
+ (key) => sideEffect[key] != null ? [`${key} \u2190 ${valueText(sideEffect[key])}`] : []
324
+ );
325
+ return [...records, ...scalars];
326
+ }
327
+ function currentMapping(sideEffect) {
328
+ const writable = (MAPPING_SLOTS[String(sideEffect.type ?? "")] ?? []).flatMap((shape) => {
329
+ if (shape.kind === "scalar") {
330
+ return shape.keys.flatMap((key) => sideEffect[key] != null ? [`${key} \u2190 ${valueText(sideEffect[key])}`] : []);
331
+ }
332
+ if (shape.kind === "record") {
333
+ const record = isRecord(sideEffect[shape.key]) ? sideEffect[shape.key] : {};
334
+ return shape.allowed.flatMap(
335
+ (slot) => record[slot] != null ? [`${shape.key}.${slot} \u2190 ${valueText(record[slot])}`] : []
336
+ );
337
+ }
338
+ return existingEntries(shape, sideEffect).map(
339
+ (entry) => `${entryAddress(shape, entry) ?? "?"} \u2190 ${valueText(entry.value)}`
340
+ );
341
+ });
342
+ return [...writable, ...readOnlyMapping(sideEffect)];
343
+ }
344
+ var ACTIVECAMPAIGN_BARE_KINDS = /* @__PURE__ */ new Set(["standard", "custom", "tags", "lists", "automations", "note"]);
345
+ function addCustomAliases(catalog, field) {
346
+ const entry = catalog.get(`custom.${field.fieldKey}`);
347
+ if (!entry) return;
348
+ const tag = field.perstag?.replaceAll("%", "");
349
+ if (tag) catalog.set(`custom.${tag.toUpperCase()}`, entry);
350
+ const aliases = [field.perstag, tag, field.label].filter((alias) => !!alias);
351
+ for (const alias of aliases) {
352
+ const key = alias.trim().toLowerCase();
353
+ if (key && !catalog.has(key)) catalog.set(key, entry);
354
+ }
355
+ }
356
+ function activeCampaignDestinationFields(fields) {
357
+ const catalog = /* @__PURE__ */ new Map();
358
+ for (const field of fields) {
359
+ const qualified = `${field.fieldType}.${field.fieldKey}`;
360
+ const bare = ACTIVECAMPAIGN_BARE_KINDS.has(field.fieldType);
361
+ const entry = {
362
+ fieldType: field.fieldType,
363
+ fieldKey: field.fieldKey,
364
+ label: field.label,
365
+ ...bare ? {} : { listedAs: qualified }
366
+ };
367
+ catalog.set(qualified, entry);
368
+ if (bare && !catalog.has(field.fieldKey)) {
369
+ catalog.set(field.fieldKey, entry);
370
+ }
371
+ }
372
+ for (const field of fields) {
373
+ if (field.fieldType === "custom") addCustomAliases(catalog, field);
374
+ }
375
+ return catalog;
376
+ }
377
+ function activeCampaignUnlistedField(destField) {
378
+ const match = /^custom\.%?([A-Za-z][A-Za-z0-9_]*)%?$/.exec(destField.trim());
379
+ if (!match?.[1]) return void 0;
380
+ const tag = match[1].toUpperCase();
381
+ return { fieldType: "custom", fieldKey: tag, label: `%${tag}%` };
382
+ }
383
+ function literalText(value) {
384
+ const paragraphs = (value ?? {}).content;
385
+ if (!Array.isArray(paragraphs)) return null;
386
+ const inline = paragraphs.flatMap((paragraph) => paragraph.content ?? []);
387
+ if (inline.length === 0 || inline.some((node) => node.type !== "text")) return null;
388
+ return inline.map((node) => node.text ?? "").join("");
389
+ }
390
+ function optionListing(options) {
391
+ return options.length > 0 ? options.map((option) => `${option.name} (${option.id})`).join(", ") : "none";
392
+ }
393
+ function unknownNames(value, options) {
394
+ const text = literalText(value);
395
+ if (text === null) return [];
396
+ return splitActiveCampaignNames(text).filter((name) => !findActiveCampaignOption(options, name));
397
+ }
398
+ function namedOptionHints(mapped, catalog) {
399
+ const hints = [];
400
+ const unknown = (type, key, options, noun) => {
401
+ for (const name of unknownNames(mapped(type, key)?.value, options)) {
402
+ hints.push(
403
+ `ActiveCampaign has no ${noun} called "${name}", so that part will be skipped. It has: ${optionListing(options)}.`
404
+ );
405
+ }
406
+ };
407
+ unknown("lists", "lists", catalog.lists, "list");
408
+ unknown("automations", "automations", catalog.automations, "automation");
409
+ if (mapped("automations", "automations") && catalog.automations.length === 0) {
410
+ hints.push(
411
+ "This ActiveCampaign account has no automations. They can only be built in ActiveCampaign \u2014 ask the user to create one."
412
+ );
413
+ }
414
+ unknown("deal", "pipeline", catalog.pipelines, "pipeline");
415
+ unknown("deal", "owner", catalog.users, "user");
416
+ return hints;
417
+ }
418
+ function literalTags(value) {
419
+ const paragraphs = (value ?? {}).content;
420
+ if (!Array.isArray(paragraphs)) return [];
421
+ const inline = paragraphs.flatMap((paragraph) => paragraph.content ?? []);
422
+ return inline.flatMap((node, index) => {
423
+ if (node.type !== "text") return [];
424
+ const pieces = (node.text ?? "").split(",");
425
+ const touchesBefore = index > 0 && inline[index - 1]?.type !== "text";
426
+ const touchesAfter = index < inline.length - 1 && inline[index + 1]?.type !== "text";
427
+ return pieces.filter((_, piece) => !(piece === 0 && touchesBefore) && !(piece === pieces.length - 1 && touchesAfter)).map((piece) => piece.trim()).filter((piece) => piece !== "");
428
+ });
429
+ }
430
+ function doubleEnrollmentHints(mapped, catalog) {
431
+ const enrolled = literalText(mapped("automations", "automations")?.value);
432
+ if (enrolled === null) return [];
433
+ const tags = new Set(literalTags(mapped("tags", "tags")?.value).map((tag) => tag.toLowerCase()));
434
+ return splitActiveCampaignNames(enrolled).flatMap((name) => {
435
+ const automation = catalog.automations.find((option) => findActiveCampaignOption([option], name));
436
+ const tag = automation?.startTags.find((start) => tags.has(start.toLowerCase()));
437
+ return automation && tag ? [
438
+ `"${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.`
439
+ ] : [];
440
+ });
441
+ }
442
+ function dealHints(fieldMapping, mapped, catalog) {
443
+ if (!fieldMapping.some((entry) => entry.fieldType === "deal")) return [];
444
+ const hints = [];
445
+ if (!mapped("deal", "title") && !mapped("deal", "pipeline")) {
446
+ hints.push("No deal is created without deal.title or deal.pipeline \u2014 map one of them too.");
447
+ }
448
+ if (catalog.pipelines.length === 0) {
449
+ hints.push("This ActiveCampaign account has no deal pipeline, so no deal can be created until one exists.");
450
+ }
451
+ const pipelineText = literalText(mapped("deal", "pipeline")?.value);
452
+ const pipeline = pipelineText ? findActiveCampaignOption(catalog.pipelines, pipelineText) : catalog.pipelines[0];
453
+ if (!pipeline) return hints;
454
+ for (const name of unknownNames(mapped("deal", "stage")?.value, pipeline.stages)) {
455
+ hints.push(
456
+ `The pipeline "${pipeline.name}" has no stage called "${name}", so deals land in its first stage. Its stages: ${optionListing(pipeline.stages)}.`
457
+ );
458
+ }
459
+ return hints;
460
+ }
461
+ function attachmentHints(mapped, catalog) {
462
+ const hints = [];
463
+ if (mapped("account", "url") && !mapped("account", "name")) {
464
+ hints.push("account.url is only sent with account.name \u2014 map the company name too.");
465
+ }
466
+ if (mapped("event", "data") && !mapped("event", "name")) hints.push("event.data is only sent with event.name.");
467
+ if (mapped("event", "name") && !catalog.eventKeySaved) {
468
+ hints.push(
469
+ "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."
470
+ );
471
+ }
472
+ return hints;
473
+ }
474
+ function unlistedCustomHints(fieldMapping, catalog) {
475
+ const listedIds = new Set(catalog.fields.flatMap((field) => field.fieldType === "custom" ? [field.fieldKey] : []));
476
+ return fieldMapping.flatMap((entry) => {
477
+ const key = typeof entry.fieldKey === "string" ? entry.fieldKey : "";
478
+ if (entry.fieldType !== "custom" || /^\d+$/.test(key) || listedIds.has(key)) return [];
479
+ return [
480
+ `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.`
481
+ ];
482
+ });
483
+ }
484
+ function activeCampaignMappingHints(fieldMapping, catalog) {
485
+ const mapped = (type, key) => fieldMapping.find((entry) => entry.fieldType === type && entry.fieldKey === key);
486
+ return [
487
+ ...namedOptionHints(mapped, catalog),
488
+ ...doubleEnrollmentHints(mapped, catalog),
489
+ ...dealHints(fieldMapping, mapped, catalog),
490
+ ...attachmentHints(mapped, catalog),
491
+ ...unlistedCustomHints(fieldMapping, catalog)
492
+ ];
493
+ }
494
+ function parseMapSpec(raw) {
495
+ const eq = raw.indexOf("=");
496
+ if (eq <= 0 || eq === raw.length - 1) {
497
+ throw new MappingError(
498
+ `--map "${raw}" must be <destField>[:<fieldType>]=<value>`,
499
+ 'Value: a form field (`nombre`), `tracking:utm_source`, `global:Name`, `code:name`, a "literal", or those joined with `+`.'
500
+ );
501
+ }
502
+ const left = raw.slice(0, eq).trim();
503
+ const expression = raw.slice(eq + 1).trim();
504
+ const colon = left.indexOf(":");
505
+ const destField = (colon > 0 ? left.slice(0, colon) : left).trim();
506
+ const fieldType = colon > 0 ? left.slice(colon + 1).trim() : "";
507
+ if (!destField) throw new MappingError(`--map "${raw}" names no destination field.`);
508
+ return { raw, destField, fieldType: fieldType || void 0, expression };
509
+ }
510
+ function sheetEntry(spec, value) {
511
+ if (!/^[A-Z]{1,3}$/.test(spec.destField)) {
512
+ throw new MappingError(
513
+ `--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}".`,
514
+ "Read the real destination back from the configured side effect first \u2014 a column letter is a guess until a spreadsheet is picked."
515
+ );
516
+ }
517
+ return { column: spec.destField, value };
518
+ }
519
+ function destinationField(spec, options) {
520
+ const catalog = options.destinationFields;
521
+ if (!catalog) return void 0;
522
+ const match = catalog.get(spec.destField);
523
+ if (match) return match;
524
+ const alias = catalog.get(spec.destField.trim().toLowerCase());
525
+ if (alias?.fieldKey) return alias;
526
+ const unlisted = options.unlistedField?.(spec.destField);
527
+ if (unlisted) return unlisted;
528
+ throw new MappingError(
529
+ `--map "${spec.raw}": the destination has no field called "${spec.destField}".`,
530
+ `Fields on it: ${catalogListing(catalog) || "(none)"}`
531
+ );
532
+ }
533
+ function catalogListing(catalog) {
534
+ const seen = /* @__PURE__ */ new Set();
535
+ const names = [];
536
+ for (const [name, field] of catalog) {
537
+ if (seen.has(field)) continue;
538
+ seen.add(field);
539
+ const key = field.listedAs ?? field.fieldKey ?? name;
540
+ names.push(field.label && field.label.toLowerCase() !== key.toLowerCase() ? `${key} (${field.label})` : key);
541
+ }
542
+ return names.join(", ");
543
+ }
544
+ function fieldTypeFor(type, shape, spec, known, options) {
545
+ const resolved = spec.fieldType ?? known?.fieldType;
546
+ if (resolved && shape.fieldTypes && !shape.fieldTypes.includes(resolved)) {
547
+ throw new MappingError(
548
+ `--map "${spec.raw}": "${resolved}" is not a ${type} field type \u2014 expected one of: ${shape.fieldTypes.join(", ")}.`,
549
+ shape.fieldTypeSource
550
+ );
551
+ }
552
+ if (resolved) return resolved;
553
+ throw new MappingError(
554
+ `--map "${spec.raw}": ${type} stores a field type per mapping, and "${spec.destField}" has none \u2014 write it on the left: <field>:<fieldType>=<value>.`,
555
+ options.destinationUnread ? `${options.destinationUnread} Retry in a moment, or write each type on the left yourself: <field>:<fieldType>=<value>.` : shape.fieldTypeSource ?? FIELD_TYPE_FROM_INPUT
556
+ );
557
+ }
558
+ function assertCrmOptions(type, shape, options) {
559
+ const entities = shape.entities;
560
+ if (entities) {
561
+ if (!options.entity) {
562
+ throw new MappingError(
563
+ `${type} addresses a specific object, so --entity is required (one of: ${entities.join(", ")}).`,
564
+ "Which object a value lands on is a destination-side fact \u2014 read it back from the configured side effect, do not assume."
565
+ );
566
+ }
567
+ if (!entities.includes(options.entity)) {
568
+ throw new MappingError(
569
+ `--entity "${options.entity}" is not valid for ${type} \u2014 expected one of: ${entities.join(", ")}.`
570
+ );
571
+ }
572
+ }
573
+ if (shape.needsIsCustom && options.isCustomField === void 0) {
574
+ throw new MappingError(
575
+ `${type} looks a key up differently for custom and standard fields, so pass --custom or --standard.`,
576
+ "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."
577
+ );
578
+ }
579
+ }
580
+ function buildEntry(type, shape, spec, value, options) {
581
+ if (shape.key === "columnMapping") {
582
+ return sheetEntry(spec, value);
583
+ }
584
+ if (shape.addressedBy === "key") {
585
+ if (spec.fieldType && !shape.jsonBody) {
586
+ throw new MappingError(
587
+ `--map "${spec.raw}": a ${type} ${shape.key} entry is just a name and a value \u2014 it takes no field type.`,
588
+ `Write it as ${spec.destField}=${spec.expression}`
589
+ );
590
+ }
591
+ if (spec.fieldType) {
592
+ if (!JSON_PAYLOAD_TYPES.includes(spec.fieldType)) {
593
+ throw new MappingError(
594
+ `--map "${spec.raw}": "${spec.fieldType}" is not a JSON type. A ${shape.key} key is sent as the text the visitor's answer resolved to unless it declares boolean or number.`,
595
+ `Declare one of ${JSON_PAYLOAD_TYPES.join(", ")} \u2014 ${spec.destField}:boolean=${spec.expression} \u2014 or leave it off and the value goes as text.`
596
+ );
597
+ }
598
+ return { key: spec.destField, value, jsonType: spec.fieldType };
599
+ }
600
+ return { key: spec.destField, value };
601
+ }
602
+ const known = destinationField(spec, options);
603
+ if (type === "hubspotForm") {
604
+ return {
605
+ objectTypeId: options.objectType ?? known?.objectTypeId ?? "0-1",
606
+ fieldType: fieldTypeFor(type, shape, spec, known, options),
607
+ fieldName: spec.destField,
608
+ value
609
+ };
610
+ }
611
+ assertCrmOptions(type, shape, options);
612
+ return {
613
+ ...shape.entities ? { entityType: options.entity } : {},
614
+ fieldType: fieldTypeFor(type, shape, spec, known, options),
615
+ ...shape.needsIsCustom ? { isCustomField: options.isCustomField } : {},
616
+ [shape.addressedBy]: known?.fieldKey ?? spec.destField,
617
+ value
618
+ };
619
+ }
620
+ function listPatch(shape, sideEffect, entries) {
621
+ if (!shape.under) return { [shape.key]: entries };
622
+ const owner = sideEffect[shape.under] ?? {};
623
+ return { [shape.under]: { ...owner, [shape.key]: entries } };
624
+ }
625
+ function existingEntries(shape, sideEffect) {
626
+ const owner = shape.under ? sideEffect[shape.under] : sideEffect;
627
+ if (!owner || typeof owner !== "object") return [];
628
+ const list = owner[shape.key];
629
+ if (!Array.isArray(list)) return [];
630
+ return list.filter((entry) => Boolean(entry) && typeof entry === "object");
631
+ }
632
+ function entryAddress(shape, entry) {
633
+ const value = entry[shape.addressedBy];
634
+ if (typeof value !== "string") return null;
635
+ return shape.qualifiedByFieldType && typeof entry.fieldType === "string" ? `${entry.fieldType}.${value}` : value;
636
+ }
637
+ function mergeEntries(shape, existing, incoming) {
638
+ const address = (entry) => entryAddress(shape, entry);
639
+ const entries = [...existing];
640
+ const overwritten = /* @__PURE__ */ new Set();
641
+ for (const entry of incoming) {
642
+ const name = address(entry);
643
+ const at = name === null ? -1 : entries.findIndex((candidate) => address(candidate) === name);
644
+ if (at === -1) {
645
+ entries.push(entry);
646
+ continue;
647
+ }
648
+ entries[at] = entry;
649
+ if (at < existing.length) overwritten.add(at);
650
+ }
651
+ const kept = existing.length - overwritten.size;
652
+ return { entries, written: entries.length - kept, kept };
653
+ }
654
+ function assertMappableOwner(type, shape, sideEffect) {
655
+ if (shape.under !== "body") return;
656
+ const format = (sideEffect.body ?? {}).format;
657
+ if (format !== void 0 && format !== "json") {
658
+ throw new MappingError(
659
+ `This ${type} side effect sends \`body.format: "${String(format)}"\`, which is one written message rather than named keys.`,
660
+ 'Set `body` to `{ "format": "json", "fields": [] }` first if you want mapped keys, or write the message in `body.content` and map nothing.'
661
+ );
662
+ }
663
+ }
664
+ function assertNoNestingClash(type, shape, entries) {
665
+ if (!shape.jsonBody) return;
666
+ const names = entries.flatMap((entry) => {
667
+ const name = entry[shape.addressedBy];
668
+ return typeof name === "string" && name !== "" ? [name] : [];
669
+ });
670
+ const held = new Set(names);
671
+ for (const name of names) {
672
+ const parts = name.split(".");
673
+ for (let cut = 1; cut < parts.length; cut++) {
674
+ const ancestor = parts.slice(0, cut).join(".");
675
+ if (!held.has(ancestor)) continue;
676
+ throw new MappingError(
677
+ `--map: "${ancestor}" is mapped to a value and "${name}" groups a key under it. In a ${type} body a dot means a nested object, so one of the two is lost.`,
678
+ `Keep "${name}" and drop "${ancestor}", or rename "${ancestor}" \u2014 a name can hold a value or hold other keys, not both.`
679
+ );
680
+ }
681
+ }
682
+ }
683
+ function buildList(tree, type, shape, sideEffect, specs, options) {
684
+ assertMappableOwner(type, shape, sideEffect);
685
+ const incoming = specs.map((raw) => {
686
+ const spec = parseMapSpec(raw);
687
+ return buildEntry(type, shape, spec, buildValueDoc(tree, spec.expression), options);
688
+ });
689
+ const present = options.replace === true ? [] : existingEntries(shape, sideEffect);
690
+ const { kept: existing, dropped } = pruneAbsent(shape, present, options);
691
+ const { entries, written, kept } = mergeEntries(shape, existing, incoming);
692
+ assertNoNestingClash(type, shape, entries);
693
+ return { key: slotName(shape), count: written, kept, dropped, patch: listPatch(shape, sideEffect, entries) };
694
+ }
695
+ function pruneAbsent(shape, existing, options) {
696
+ if (options.pruneMissing !== true) return { kept: existing, dropped: [] };
697
+ const catalog = options.destinationFields;
698
+ if (!catalog) {
699
+ throw new MappingError(
700
+ "--prune-missing needs the destination's own field list, and it could not be read.",
701
+ options.destinationUnread ? `${options.destinationUnread} Retry in a moment; nothing was dropped.` : "Name the destination so its fields can be read \u2014 a connected HubSpot or ActiveCampaign side effect is read automatically; otherwise --hubspot-form <formGuid>. `baker flows show <slug>` names the side effect and returns the request_flow_input call that carries the guid."
702
+ );
703
+ }
704
+ const kept = [];
705
+ const dropped = [];
706
+ for (const entry of existing) {
707
+ const name = entryAddress(shape, entry);
708
+ if (name === null || catalog.has(name)) {
709
+ kept.push(entry);
710
+ continue;
711
+ }
712
+ dropped.push(name);
713
+ }
714
+ return { kept, dropped };
715
+ }
716
+ function buildRecord(tree, type, shape, sideEffect, specs, options) {
717
+ const existing = options.replace === true ? {} : sideEffect[shape.key] ?? {};
718
+ const record = Object.fromEntries(shape.allowed.map((slot) => [slot, existing[slot] ?? null]));
719
+ const filledBefore = shape.allowed.filter((slot) => record[slot] != null);
720
+ const written = /* @__PURE__ */ new Set();
721
+ for (const raw of specs) {
722
+ const spec = parseMapSpec(raw);
723
+ if (!shape.allowed.includes(spec.destField)) {
724
+ throw new MappingError(
725
+ `"${spec.destField}" is not a slot in ${shape.key} on a ${type} side effect.`,
726
+ `${shape.key} slots: ${shape.allowed.join(", ")}`
727
+ );
728
+ }
729
+ if (spec.fieldType) {
730
+ throw new MappingError(`--map "${spec.raw}": a ${shape.key} slot takes no field type.`);
731
+ }
732
+ record[spec.destField] = buildValueDoc(tree, spec.expression);
733
+ written.add(spec.destField);
734
+ }
735
+ return {
736
+ key: shape.key,
737
+ count: written.size,
738
+ kept: filledBefore.filter((slot) => !written.has(slot)).length,
739
+ dropped: [],
740
+ patch: { [shape.key]: record }
741
+ };
742
+ }
743
+ function buildScalar(tree, type, shape, sideEffect, specs, options) {
744
+ const patch = options.replace === true ? Object.fromEntries(shape.keys.map((key) => [key, null])) : {};
745
+ const written = /* @__PURE__ */ new Set();
746
+ for (const raw of specs) {
747
+ const spec = parseMapSpec(raw);
748
+ if (!shape.keys.includes(spec.destField)) {
749
+ throw new MappingError(
750
+ `"${spec.destField}" is not a mappable field on a ${type} side effect.`,
751
+ `Mappable directly: ${shape.keys.join(", ")}`
752
+ );
753
+ }
754
+ if (spec.fieldType) {
755
+ throw new MappingError(`--map "${spec.raw}": ${spec.destField} takes no field type.`);
756
+ }
757
+ patch[spec.destField] = buildValueDoc(tree, spec.expression);
758
+ written.add(spec.destField);
759
+ }
760
+ const kept = options.replace === true ? 0 : shape.keys.filter((key) => !written.has(key) && sideEffect[key] != null).length;
761
+ return { key: shape.keys.join("/"), count: written.size, kept, dropped: [], patch };
762
+ }
763
+ function buildFieldMapping(tree, sideEffect, specs, options = {}) {
764
+ const type = String(sideEffect.type ?? "");
765
+ const shape = shapeFor(type, options.into);
766
+ if (shape.kind === "record") return buildRecord(tree, type, shape, sideEffect, specs, options);
767
+ if (shape.kind === "scalar") return buildScalar(tree, type, shape, sideEffect, specs, options);
768
+ return buildList(tree, type, shape, sideEffect, specs, options);
769
+ }
770
+
771
+ // src/commands/flows/value-expression.ts
772
+ var PREFIXES = ["field", "tracking", "global", "code"];
773
+ function splitParts(raw) {
774
+ const parts = [];
775
+ let current = "";
776
+ let inQuotes = false;
777
+ for (let i = 0; i < raw.length; i++) {
778
+ const char = raw[i];
779
+ if (char === '"') {
780
+ inQuotes = !inQuotes;
781
+ current += char;
782
+ } else if (char === "+" && !inQuotes) {
783
+ parts.push(current);
784
+ current = "";
785
+ } else {
786
+ current += char;
787
+ }
788
+ }
789
+ parts.push(current);
790
+ if (inQuotes) {
791
+ throw new MappingError(`Unclosed quote in value \`${raw}\`.`, 'A literal is written "like this".');
792
+ }
793
+ return parts.map((part) => part.trim()).filter((part) => part.length > 0);
794
+ }
795
+ 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.";
796
+ var METHOD_CALL = /\.\s*[A-Za-z_$][\w$]*\s*\(/;
797
+ var TRAILING_INDEX = /\[[^\]]*\]$/;
798
+ function mentionPart(inner) {
799
+ if (inner.startsWith("tracking.")) return { kind: "tracking", name: inner.slice("tracking.".length) };
800
+ if (inner.startsWith("global.")) return { kind: "global", name: inner.slice("global.".length) };
801
+ return referencePart(inner);
802
+ }
803
+ function referencePart(ref) {
804
+ return /\.codeExecution\.[^.]+$/.test(ref) ? { kind: "code", ref } : { kind: "field", ref };
805
+ }
806
+ function parsePart(part) {
807
+ if (part.startsWith('"') && part.endsWith('"') && part.length >= 2) {
808
+ return { kind: "text", text: part.slice(1, -1) };
809
+ }
810
+ if (METHOD_CALL.test(part) || TRAILING_INDEX.test(part)) {
811
+ throw new MappingError(TRANSFORM_REFUSAL);
812
+ }
813
+ if (part.startsWith("{{")) {
814
+ const close = part.indexOf("}}");
815
+ if (close < 0) {
816
+ throw new MappingError(
817
+ `Unclosed \`{{\` in value \`${part}\`.`,
818
+ "A mention is written {{<stepId>.customForm.<field>}}."
819
+ );
820
+ }
821
+ if (part.slice(close + 2).trim()) throw new MappingError(TRANSFORM_REFUSAL);
822
+ return mentionPart(part.slice(2, close).trim());
823
+ }
824
+ const colon = part.indexOf(":");
825
+ if (colon <= 0) return referencePart(part);
826
+ const prefix = part.slice(0, colon);
827
+ const rest = part.slice(colon + 1).trim();
828
+ if (!PREFIXES.includes(prefix)) {
829
+ throw new MappingError(
830
+ `\`${prefix}:\` is not a value kind.`,
831
+ `Use one of ${PREFIXES.map((candidate) => `${candidate}:`).join(" ")}, a bare form field name, or a "quoted literal".`
832
+ );
833
+ }
834
+ if (!rest) throw new MappingError(`\`${part}\` names no ${prefix}.`);
835
+ switch (prefix) {
836
+ case "tracking":
837
+ return { kind: "tracking", name: rest.replace(/^tracking\./, "") };
838
+ case "global":
839
+ return { kind: "global", name: rest };
840
+ case "code":
841
+ return { kind: "code", ref: rest };
842
+ default:
843
+ return { kind: "field", ref: rest };
844
+ }
845
+ }
846
+ function parseValueExpression(raw) {
847
+ const parts = splitParts(raw);
848
+ if (parts.length === 0) {
849
+ throw new MappingError("A --map needs a value on the right of the `=`.");
850
+ }
851
+ return parts.map(parsePart);
852
+ }
853
+ function trackingFieldIds() {
854
+ const path = join(flowsDir(), "..", "tracking.ts");
855
+ if (!existsSync(path)) return null;
856
+ try {
857
+ const source = readFileSync(path, "utf-8");
858
+ const block = source.match(/TRACKING_FIELD_IDS\s*=\s*\[([\s\S]*?)\]\s*as const/)?.[1];
859
+ if (!block) return null;
860
+ const ids = [...block.matchAll(/"(tracking\.[a-z0-9_]+)"/g)].map((match) => match[1]);
861
+ return ids.length > 0 ? new Set(ids) : null;
862
+ } catch {
863
+ return null;
864
+ }
865
+ }
866
+ function externalOf(node) {
867
+ const nodeData = node.nodeData ?? {};
868
+ return nodeData.form?.external ?? {};
869
+ }
870
+ function fieldOwners(tree) {
871
+ return walkNodes(tree).flatMap((node) => {
872
+ const external = externalOf(node);
873
+ if (!Array.isArray(external.fields)) return [];
874
+ return [
875
+ {
876
+ step: typeof node.name === "string" && node.name ? node.name : "Form",
877
+ stepId: String(node.id ?? ""),
878
+ names: external.fields.map((field) => field?.fieldName).filter((name) => typeof name === "string")
879
+ }
880
+ ];
881
+ });
882
+ }
883
+ function codeOwners(tree) {
884
+ return walkNodes(tree).flatMap((node) => {
885
+ const exposed = externalOf(node).codeExecution?.exposedValues ?? [];
886
+ const names = exposed.map((value) => value?.name).filter((value) => typeof value === "string");
887
+ return names.length > 0 ? [{ step: String(node.name ?? "step"), stepId: String(node.id ?? ""), names }] : [];
888
+ });
889
+ }
890
+ function globalsOf(tree) {
891
+ return (tree.globalVariables ?? []).filter(
892
+ (variable) => variable && typeof variable === "object"
893
+ );
894
+ }
895
+ function formValues(tree) {
896
+ return {
897
+ fields: fieldOwners(tree),
898
+ code: codeOwners(tree),
899
+ globals: globalsOf(tree).map((variable) => {
900
+ const config = variable.config ?? {};
901
+ return { name: String(variable.name), source: `${String(config.type ?? "?")} ${String(config.key ?? "?")}` };
902
+ }),
903
+ tracking: [...trackingFieldIds() ?? []].map((id) => id.slice("tracking.".length))
904
+ };
905
+ }
906
+ function spellings(values) {
907
+ return [
908
+ ...values.fields.flatMap((owner) => owner.names),
909
+ ...values.code.flatMap((owner) => owner.names.map((name) => `code:${name}`)),
910
+ ...values.globals.map((variable) => `global:${variable.name}`),
911
+ ...values.tracking.map((name) => `tracking:${name}`)
912
+ ];
913
+ }
914
+ function closestValues(values, rejected) {
915
+ const target = rejected.toLowerCase();
916
+ const budget = Math.max(2, Math.floor(target.length / 3));
917
+ const head = target.split("_")[0] ?? target;
918
+ return [...new Set(spellings(values))].map((spelling) => {
919
+ const name = spelling.slice(spelling.indexOf(":") + 1).toLowerCase();
920
+ const near = distance(target, name) <= budget || name.includes(target) || target.includes(name) || head.length >= 3 && name.split("_")[0] === head;
921
+ return { spelling, near, score: distance(target, name) };
922
+ }).filter((candidate) => candidate.near).sort((a, b) => a.score - b.score).slice(0, 3).map((candidate) => candidate.spelling);
923
+ }
924
+ var ownerLine = (kind, owner) => ` ${kind} \u2014 ${owner.step} (${owner.stepId}): ${owner.names.join(", ") || "(none)"}`;
925
+ function valueRefusalFix(tree, rejected) {
926
+ const values = formValues(tree);
927
+ const near = closestValues(values, rejected);
928
+ const lines = [
929
+ ...near.length > 0 ? [`Did you mean ${near[0]}?${near.length > 1 ? ` Or ${near.slice(1).join(", ")}.` : ""}`] : [],
930
+ "Values this form can supply:",
931
+ ...values.fields.map((owner) => ownerLine("field", owner)),
932
+ ...values.code.map((owner) => ownerLine("code", owner)),
933
+ ...values.globals.length > 0 ? values.globals.map((variable) => ` global \u2014 ${variable.name} (${variable.source})`) : [" global \u2014 none defined (globals live on the first node only)"],
934
+ ...values.tracking.length > 0 ? [
935
+ ` tracking \u2014 ${values.tracking.length} built-in variables; \`baker flows map <slug> --side-effect <id>\` with no --map lists them`
936
+ ] : []
937
+ ];
938
+ return lines.join("\n");
939
+ }
940
+ function splitRef(ref, segment) {
941
+ const marker = `.${segment}.`;
942
+ const at = ref.lastIndexOf(marker);
943
+ if (at > 0 && !ref.slice(at + marker.length).includes(".")) {
944
+ return { step: ref.slice(0, at), name: ref.slice(at + marker.length) };
945
+ }
946
+ const dot = ref.lastIndexOf(".");
947
+ if (dot <= 0) return { name: ref };
948
+ return { step: ref.slice(0, dot), name: ref.slice(dot + 1) };
949
+ }
950
+ function mention(id, label) {
951
+ return { type: "VariablesMention", attrs: { id, label, mentionSuggestionChar: "{{" } };
952
+ }
953
+ function titleize(value) {
954
+ return value.split(/[_-]+/).filter(Boolean).map((word) => word.charAt(0).toUpperCase() + word.slice(1)).join(" ");
955
+ }
956
+ function resolveField(tree, ref) {
957
+ const { step, name } = splitRef(ref, "customForm");
958
+ const candidates = fieldOwners(tree).filter(
959
+ (owner2) => owner2.names.includes(name) && (!step || owner2.step === step || owner2.stepId === step)
960
+ );
961
+ if (candidates.length === 0) {
962
+ throw new MappingError(`Form field "${ref}" does not exist in this form.`, valueRefusalFix(tree, name));
963
+ }
964
+ if (candidates.length > 1) {
965
+ throw new MappingError(
966
+ `Form field "${name}" exists on ${candidates.length} steps \u2014 say which: field:<step>.${name}`,
967
+ candidates.map((owner2) => ` field:${owner2.step}.${name}`).join("\n")
968
+ );
969
+ }
970
+ const owner = candidates[0];
971
+ return mention(`${owner.stepId}.customForm.${name}`, `${owner.step} => ${titleize(name)}`);
972
+ }
973
+ function resolveTracking(tree, name) {
974
+ const id = `tracking.${name}`;
975
+ const known = trackingFieldIds();
976
+ if (known && !known.has(id)) {
977
+ throw new MappingError(`\`${id}\` is not a tracking variable.`, valueRefusalFix(tree, name));
978
+ }
979
+ return mention(id, id);
980
+ }
981
+ function resolveGlobal(tree, name) {
982
+ const match = globalsOf(tree).find((variable) => variable.name === name || variable.id === name);
983
+ if (!match) {
984
+ throw new MappingError(`No global variable named "${name}" on this form.`, valueRefusalFix(tree, name));
985
+ }
986
+ const id = `global.${String(match.id)}`;
987
+ return mention(id, id);
988
+ }
989
+ function resolveCode(tree, ref) {
990
+ const { step, name } = splitRef(ref, "codeExecution");
991
+ const candidates = codeOwners(tree).filter(
992
+ (owner2) => owner2.names.includes(name) && (!step || owner2.step === step || owner2.stepId === step)
993
+ );
994
+ if (candidates.length === 0) {
995
+ throw new MappingError(`No codeExecution exposes "${ref}" on this form.`, valueRefusalFix(tree, name));
996
+ }
997
+ if (candidates.length > 1) {
998
+ throw new MappingError(
999
+ `"${name}" is exposed by ${candidates.length} steps \u2014 say which: code:<step>.${name}`,
1000
+ candidates.map((owner2) => ` code:${owner2.step}.${name}`).join("\n")
1001
+ );
1002
+ }
1003
+ const owner = candidates[0];
1004
+ return mention(`${owner.stepId}.codeExecution.${name}`, `${owner.step} => ${titleize(name)}`);
1005
+ }
1006
+ function dateSubFields(field) {
1007
+ const name = String(field.fieldName ?? "");
1008
+ const withTime = field.includeTime === true;
1009
+ const named = (key, fallback) => typeof field[key] === "string" ? String(field[key]) : fallback;
1010
+ if (field.fieldtype === "date_picker") {
1011
+ return { date: `${name}_date`, time: withTime ? named("timeFieldName", `${name}_time`) : null };
1012
+ }
1013
+ if (field.fieldtype === "date_time_range") {
1014
+ return {
1015
+ startDate: named("startDateFieldName", `${name}_start_date`),
1016
+ startTime: withTime ? named("startTimeFieldName", `${name}_start_time`) : null,
1017
+ endDate: named("endDateFieldName", `${name}_end_date`),
1018
+ endTime: withTime ? named("endTimeFieldName", `${name}_end_time`) : null
1019
+ };
1020
+ }
1021
+ return null;
1022
+ }
1023
+ var fieldsOf = (node) => node && Array.isArray(externalOf(node).fields) ? externalOf(node).fields : [];
1024
+ function widgetAnswers(node) {
1025
+ if (node.nodeData?.type !== "hubspot") return null;
1026
+ const groups = externalOf(node).fieldGroups ?? [];
1027
+ return groups.flatMap(
1028
+ (group) => (group?.fields ?? []).map((field) => field?.name).filter((n) => typeof n === "string")
1029
+ );
1030
+ }
1031
+ function rebindReference(source, target, id) {
1032
+ const attempt = (resolve2) => {
1033
+ try {
1034
+ const attrs = resolve2().attrs;
1035
+ return { id: attrs.id, label: attrs.label };
1036
+ } catch (error) {
1037
+ if (error instanceof MappingError) return null;
1038
+ throw error;
1039
+ }
1040
+ };
1041
+ if (id.startsWith("tracking.")) return { id, label: id };
1042
+ if (id.startsWith("global.")) {
1043
+ const name2 = globalsOf(source).find((variable) => `global.${String(variable.id)}` === id)?.name;
1044
+ return typeof name2 === "string" ? attempt(() => resolveGlobal(target, name2)) : null;
1045
+ }
1046
+ const match = /^(.+)\.([A-Za-z]+)\.([^.]+)$/.exec(id);
1047
+ if (!match) return null;
1048
+ const nodeId = match[1];
1049
+ const namespace = match[2];
1050
+ const name = match[3];
1051
+ const sourceStep = walkNodes(source).find((node) => node.id === nodeId);
1052
+ const step = typeof sourceStep?.name === "string" ? sourceStep.name : void 0;
1053
+ if (namespace !== "customForm" && namespace !== "codeExecution") {
1054
+ return rebindWidgetAnswer(target, namespace, step, name);
1055
+ }
1056
+ const resolve = namespace === "codeExecution" ? resolveCode : resolveField;
1057
+ const byName = (value) => (step ? attempt(() => resolve(target, `${step}.${value}`)) : null) ?? attempt(() => resolve(target, value));
1058
+ return byName(name) ?? (namespace === "customForm" ? rebindDateAnswer(sourceStep, target, name, byName) : null);
1059
+ }
1060
+ function rebindDateAnswer(sourceStep, target, name, byName) {
1061
+ const roleOf = (field) => Object.entries(dateSubFields(field) ?? {}).find(([, value]) => value === name)?.[0];
1062
+ const control = fieldsOf(sourceStep).find((field) => roleOf(field));
1063
+ const role = control ? roleOf(control) : void 0;
1064
+ const owner = control && role ? byName(String(control.fieldName)) : null;
1065
+ if (!control || !role || !owner) return null;
1066
+ const ownerId = owner.id.slice(0, owner.id.lastIndexOf(".customForm."));
1067
+ const ownerStep = walkNodes(target).find((node) => node.id === ownerId);
1068
+ const twin = fieldsOf(ownerStep).find(
1069
+ (field) => field.fieldName === control.fieldName && field.fieldtype === control.fieldtype
1070
+ );
1071
+ const sub = twin ? dateSubFields(twin)?.[role] : null;
1072
+ if (!sub) return null;
1073
+ const label = typeof ownerStep?.name === "string" && ownerStep.name ? ownerStep.name : "Form";
1074
+ return { id: `${ownerId}.customForm.${sub}`, label: `${label} => ${titleize(sub)}` };
1075
+ }
1076
+ function rebindWidgetAnswer(target, type, stepName, name) {
1077
+ const steps = walkNodes(target).filter((node) => node.nodeData?.type === type);
1078
+ const named = steps.filter((node) => node.name === stepName);
1079
+ const step = named.length === 1 ? named[0] : steps.length === 1 ? steps[0] : void 0;
1080
+ if (!step) return null;
1081
+ const answers = widgetAnswers(step);
1082
+ if (answers && !answers.includes(name)) return null;
1083
+ const label = typeof step.name === "string" && step.name ? step.name : "Form";
1084
+ return { id: `${String(step.id)}.${type}.${name}`, label: `${label} => ${titleize(name)}` };
1085
+ }
1086
+ function buildValueDoc(tree, expression) {
1087
+ const parts = parseValueExpression(expression);
1088
+ const content = parts.map((part) => {
1089
+ switch (part.kind) {
1090
+ case "text":
1091
+ return { type: "text", text: part.text };
1092
+ case "tracking":
1093
+ return resolveTracking(tree, part.name);
1094
+ case "global":
1095
+ return resolveGlobal(tree, part.name);
1096
+ case "code":
1097
+ return resolveCode(tree, part.ref);
1098
+ default:
1099
+ return resolveField(tree, part.ref);
1100
+ }
1101
+ });
1102
+ const single = content.length === 1 && parts[0]?.kind !== "text";
1103
+ return {
1104
+ type: "doc",
1105
+ content: [{ type: "paragraph", content: single ? [...content, { type: "text", text: " " }] : content }]
1106
+ };
1107
+ }
1108
+
1109
+ export {
1110
+ activeCampaignFieldsResponseSchema,
1111
+ formValues,
1112
+ rebindReference,
1113
+ MappingError,
1114
+ shapeFor,
1115
+ namesComeFromAccount,
1116
+ describeSlots,
1117
+ otherSlots,
1118
+ currentMapping,
1119
+ activeCampaignDestinationFields,
1120
+ activeCampaignUnlistedField,
1121
+ activeCampaignMappingHints,
1122
+ buildFieldMapping
1123
+ };
1124
+ //# sourceMappingURL=chunk-HQGQW37N.js.map