@koda-sl/baker-cli 0.850.0 → 0.851.0-dev.067cf62dd

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 (1019) hide show
  1. package/dist/account-KRF7EIGP.js +84 -0
  2. package/dist/account-KRF7EIGP.js.map +1 -0
  3. package/dist/account-Y3IDIJ3T.js +82 -0
  4. package/dist/account-reads-XOGHJB3K.js +230 -0
  5. package/dist/account-users-4I2AAEAO.js +70 -0
  6. package/dist/account-users-4I2AAEAO.js.map +1 -0
  7. package/dist/account-writes-EP35RCNO.js +68 -0
  8. package/dist/accounts-7CHGRXBP.js +122 -0
  9. package/dist/accounts-A37M7HW3.js +506 -0
  10. package/dist/accounts-A37M7HW3.js.map +1 -0
  11. package/dist/accounts-DXLJFGM6.js +82 -0
  12. package/dist/accounts-DXLJFGM6.js.map +1 -0
  13. package/dist/actions-KWHMTMLD.js +55 -0
  14. package/dist/activecampaign-AJURU2SD.js +936 -0
  15. package/dist/activecampaign-AJURU2SD.js.map +1 -0
  16. package/dist/ad-group-writes-EVLV4BRD.js +172 -0
  17. package/dist/ad-groups-UQRBWF2N.js +70 -0
  18. package/dist/ad-writes-EBCZ5DCY.js +176 -0
  19. package/dist/add-2CN64JRZ.js +109 -0
  20. package/dist/add-2CN64JRZ.js.map +1 -0
  21. package/dist/add-INCMGBM2.js +662 -0
  22. package/dist/add-INCMGBM2.js.map +1 -0
  23. package/dist/add-M6LS32QO.js +663 -0
  24. package/dist/add-M6LS32QO.js.map +1 -0
  25. package/dist/ads-2TOWF4GX.js +79 -0
  26. package/dist/ads-7Q7PRFJ4.js +48 -0
  27. package/dist/advertisers-A3YGDOLM.js +127 -0
  28. package/dist/advertisers-A3YGDOLM.js.map +1 -0
  29. package/dist/alerts-DEP2DXBN.js +154 -0
  30. package/dist/alerts-DEP2DXBN.js.map +1 -0
  31. package/dist/analytics-7UCEXUVF.js +2792 -0
  32. package/dist/analytics-7UCEXUVF.js.map +1 -0
  33. package/dist/analytics-XHWSVXYX.js +462 -0
  34. package/dist/analytics-XHWSVXYX.js.map +1 -0
  35. package/dist/animate-EN7VTJEI.js +482 -0
  36. package/dist/assign-JUXS2HIS.js +84 -0
  37. package/dist/assign-JUXS2HIS.js.map +1 -0
  38. package/dist/audience-size-ZWHF4BMF.js +78 -0
  39. package/dist/audience-size-ZWHF4BMF.js.map +1 -0
  40. package/dist/audiences-EZK4PDB5.js +280 -0
  41. package/dist/audit-G5SNO6AP.js +156 -0
  42. package/dist/audit-G5SNO6AP.js.map +1 -0
  43. package/dist/autocomplete-RQPSDMYX.js +118 -0
  44. package/dist/autocomplete-RQPSDMYX.js.map +1 -0
  45. package/dist/avatars-PILXCCPG.js +38 -0
  46. package/dist/bid-pricing-7ZNHIIJI.js +105 -0
  47. package/dist/bid-pricing-7ZNHIIJI.js.map +1 -0
  48. package/dist/brief-RBOKX3HZ.js +512 -0
  49. package/dist/brief-RBOKX3HZ.js.map +1 -0
  50. package/dist/campaign-groups-VFVDSZVA.js +119 -0
  51. package/dist/campaign-groups-VFVDSZVA.js.map +1 -0
  52. package/dist/campaign-writes-4T5DSUMT.js +176 -0
  53. package/dist/campaign-writes-NYSYVJC6.js +170 -0
  54. package/dist/campaign-writes-NYSYVJC6.js.map +1 -0
  55. package/dist/campaigns-5BYWFXHO.js +78 -0
  56. package/dist/campaigns-I55PNY55.js +194 -0
  57. package/dist/campaigns-I55PNY55.js.map +1 -0
  58. package/dist/campaigns-XS52PZQL.js +111 -0
  59. package/dist/canvas-3AHETASK.js +48 -0
  60. package/dist/capabilities-KIPCD5SQ.js +185 -0
  61. package/dist/capabilities-KIPCD5SQ.js.map +1 -0
  62. package/dist/catalog-3OIBTMBV.js +90 -0
  63. package/dist/catalog-3OIBTMBV.js.map +1 -0
  64. package/dist/catalogs-YJSOVGDM.js +130 -0
  65. package/dist/changes-YOTRCCNB.js +288 -0
  66. package/dist/chatgpt-DPLD452Q.js +47 -0
  67. package/dist/chats-JWH4BIWL.js +660 -0
  68. package/dist/chats-JWH4BIWL.js.map +1 -0
  69. package/dist/check-3SVCK3V3.js +55 -0
  70. package/dist/chunk-2AW62CH3.js +46 -0
  71. package/dist/chunk-2CV2LEJN.js +685 -0
  72. package/dist/chunk-2N5MQP65.js +127 -0
  73. package/dist/chunk-2PNBK7KZ.js +1124 -0
  74. package/dist/chunk-2Z2AEFVW.js +915 -0
  75. package/dist/chunk-3B7GRVIM.js +392 -0
  76. package/dist/chunk-3MJTL763.js +103 -0
  77. package/dist/chunk-433NCHRS.js +4413 -0
  78. package/dist/chunk-433NCHRS.js.map +1 -0
  79. package/dist/chunk-4A2UZ3Q3.js +24026 -0
  80. package/dist/chunk-4A2UZ3Q3.js.map +1 -0
  81. package/dist/chunk-4GM3TBGL.js +320 -0
  82. package/dist/chunk-5UG7AJB5.js +65 -0
  83. package/dist/chunk-7J5XOR5D.js +98 -0
  84. package/dist/chunk-AOXHDVWS.js +260 -0
  85. package/dist/chunk-AYW4VFTH.js +547 -0
  86. package/dist/chunk-B5RLBFMI.js +26 -0
  87. package/dist/chunk-BMUAE5IR.js +411 -0
  88. package/dist/chunk-BPQY4KIM.js +251 -0
  89. package/dist/chunk-BYYIJMLP.js +197 -0
  90. package/dist/chunk-CDU64GKK.js +61 -0
  91. package/dist/chunk-CE6M4VLG.js +1883 -0
  92. package/dist/chunk-CV74M3H6.js +723 -0
  93. package/dist/chunk-CZWMU2GB.js +142 -0
  94. package/dist/chunk-D7DLBQLS.js +76 -0
  95. package/dist/chunk-DA634ZIV.js +175 -0
  96. package/dist/chunk-DJLTDVRD.js +479 -0
  97. package/dist/chunk-EDDHOHTW.js +285 -0
  98. package/dist/chunk-FCWDXKLI.js +732 -0
  99. package/dist/chunk-G4IFJB4Z.js +863 -0
  100. package/dist/chunk-GHEURTBN.js +224 -0
  101. package/dist/chunk-GJPS6SUI.js +147 -0
  102. package/dist/chunk-H2IG6MOX.js +78 -0
  103. package/dist/chunk-HSPOURUB.js +877 -0
  104. package/dist/chunk-HVVE3GT6.js +91 -0
  105. package/dist/chunk-IAOXI7MJ.js +9127 -0
  106. package/dist/chunk-JHPZATWG.js +152 -0
  107. package/dist/chunk-M6RQJCDW.js +746 -0
  108. package/dist/chunk-N5IR2T2B.js +509 -0
  109. package/dist/chunk-NZ3PQBRV.js +51 -0
  110. package/dist/chunk-NZFVC7RP.js +548 -0
  111. package/dist/chunk-NZZ7ATO5.js +3248 -0
  112. package/dist/chunk-NZZ7ATO5.js.map +1 -0
  113. package/dist/chunk-P7Q7YO4E.js +170 -0
  114. package/dist/chunk-PNGXJPM5.js +604 -0
  115. package/dist/chunk-PNGXJPM5.js.map +1 -0
  116. package/dist/chunk-QLSNKH5D.js +91 -0
  117. package/dist/chunk-RDRWLYFV.js +604 -0
  118. package/dist/chunk-RN3IVT3B.js +3378 -0
  119. package/dist/chunk-RZOHIOPP.js +262 -0
  120. package/dist/chunk-SELCZP76.js +6340 -0
  121. package/dist/chunk-SY7CUZGW.js +89 -0
  122. package/dist/chunk-T55DY36I.js +163 -0
  123. package/dist/chunk-T5FACY43.js +170 -0
  124. package/dist/chunk-TR72BZ4D.js +660 -0
  125. package/dist/chunk-TXLSPOLG.js +505 -0
  126. package/dist/chunk-UTOVP53O.js +313 -0
  127. package/dist/chunk-V7T6HAPO.js +375 -0
  128. package/dist/chunk-VDHPAQUM.js +23 -0
  129. package/dist/chunk-VELT4JFT.js +274 -0
  130. package/dist/chunk-VPWLH6VS.js +202 -0
  131. package/dist/chunk-VXLFFMW6.js +155 -0
  132. package/dist/chunk-VZQHMRYM.js +303 -0
  133. package/dist/chunk-WE2FY3CF.js +1862 -0
  134. package/dist/chunk-X4NF7IMQ.js +423 -0
  135. package/dist/chunk-X6CSCKXX.js +341 -0
  136. package/dist/chunk-XBLVA6BC.js +1577 -0
  137. package/dist/chunk-Y4XW2LW3.js +10361 -0
  138. package/dist/chunk-YAMDF3DT.js +374 -0
  139. package/dist/chunk-YCCTIFI7.js +396 -0
  140. package/dist/chunk-YWHOPJG5.js +64 -0
  141. package/dist/chunk-Z7WMTBGD.js +329 -0
  142. package/dist/chunk-ZBSG24TQ.js +430 -0
  143. package/dist/chunk-ZIZBAKJF.js +749 -0
  144. package/dist/chunk-ZJY3ACX3.js +7782 -0
  145. package/dist/chunk-ZJY3ACX3.js.map +1 -0
  146. package/dist/claim-H5HZFRPG.js +219 -0
  147. package/dist/claim-H5HZFRPG.js.map +1 -0
  148. package/dist/cli.js +36 -36
  149. package/dist/companies-6FM3CALY.js +37 -0
  150. package/dist/company-U67GZ652.js +312 -0
  151. package/dist/company-U67GZ652.js.map +1 -0
  152. package/dist/complete-7PB5RC47.js +88 -0
  153. package/dist/complete-7PB5RC47.js.map +1 -0
  154. package/dist/connect-J6M3W7WW.js +47 -0
  155. package/dist/conversation-6FGVSJQV.js +101 -0
  156. package/dist/conversation-6FGVSJQV.js.map +1 -0
  157. package/dist/conversion-report-ZPENZMJF.js +130 -0
  158. package/dist/conversion-upload-command-6TY2DIBM.js +456 -0
  159. package/dist/conversion-writes-NIDUTQHX.js +194 -0
  160. package/dist/conversions-3Q3PEAAN.js +78 -0
  161. package/dist/conversions-T3WPLUNU.js +142 -0
  162. package/dist/conversions-T3WPLUNU.js.map +1 -0
  163. package/dist/create-3UEEKKBJ.js +66 -0
  164. package/dist/create-3UEEKKBJ.js.map +1 -0
  165. package/dist/create-BQFV23KE.js +220 -0
  166. package/dist/create-BQFV23KE.js.map +1 -0
  167. package/dist/create-PYNZG2I7.js +191 -0
  168. package/dist/create-PYNZG2I7.js.map +1 -0
  169. package/dist/create-WGQKASYJ.js +357 -0
  170. package/dist/create-WGQKASYJ.js.map +1 -0
  171. package/dist/creatives-PW2P7VMU.js +48 -0
  172. package/dist/creatives-X4ZDII4J.js +236 -0
  173. package/dist/creatives-X4ZDII4J.js.map +1 -0
  174. package/dist/credentials-IGLXTK56.js +292 -0
  175. package/dist/credentials-IGLXTK56.js.map +1 -0
  176. package/dist/critique-HF4ZNSFG.js +231 -0
  177. package/dist/critique-HF4ZNSFG.js.map +1 -0
  178. package/dist/crm-EOXLQJTJ.js +419 -0
  179. package/dist/crm-EOXLQJTJ.js.map +1 -0
  180. package/dist/crm-J7YGM36V.js +328 -0
  181. package/dist/crm-J7YGM36V.js.map +1 -0
  182. package/dist/currency-CLB7ROUV.js +91 -0
  183. package/dist/customers-OHB5EY7Z.js +70 -0
  184. package/dist/data-ZDTEJD6A.js +665 -0
  185. package/dist/delete-I24TSU35.js +61 -0
  186. package/dist/delete-I24TSU35.js.map +1 -0
  187. package/dist/delete-O6GJAIDU.js +72 -0
  188. package/dist/delete-O6GJAIDU.js.map +1 -0
  189. package/dist/delete-UM6ENIDW.js +71 -0
  190. package/dist/delete-UM6ENIDW.js.map +1 -0
  191. package/dist/demographics-BGSWNDRQ.js +146 -0
  192. package/dist/demographics-BGSWNDRQ.js.map +1 -0
  193. package/dist/discard-3S5LU3GF.js +73 -0
  194. package/dist/discard-3S5LU3GF.js.map +1 -0
  195. package/dist/discover-EAI4WDSL.js +191 -0
  196. package/dist/domain-DJ4Y72PN.js +105 -0
  197. package/dist/domain-DJ4Y72PN.js.map +1 -0
  198. package/dist/download-FR7XSZWV.js +175 -0
  199. package/dist/download-FR7XSZWV.js.map +1 -0
  200. package/dist/draft-IHEEODST.js +340 -0
  201. package/dist/draft-MUMANPJ7.js +228 -0
  202. package/dist/draft-MUMANPJ7.js.map +1 -0
  203. package/dist/draft-R3GI7JWY.js +640 -0
  204. package/dist/draft-Z6YHU3AR.js +390 -0
  205. package/dist/draft-Z6YHU3AR.js.map +1 -0
  206. package/dist/draft-ZJ4VSYKB.js +428 -0
  207. package/dist/draft-ZJ4VSYKB.js.map +1 -0
  208. package/dist/engine/index.js +10 -9
  209. package/dist/experiment-TLYYA7IF.js +2123 -0
  210. package/dist/experiment-TLYYA7IF.js.map +1 -0
  211. package/dist/experiments-SJ2ODFHA.js +242 -0
  212. package/dist/experiments-SJ2ODFHA.js.map +1 -0
  213. package/dist/extract-X7H37JJT.js +145 -0
  214. package/dist/extract-X7H37JJT.js.map +1 -0
  215. package/dist/facets-BXRB3I6Q.js +119 -0
  216. package/dist/facets-BXRB3I6Q.js.map +1 -0
  217. package/dist/feedback-YWJUV7LV.js +116 -0
  218. package/dist/feedback-YWJUV7LV.js.map +1 -0
  219. package/dist/fetch-SZORBUY6.js +488 -0
  220. package/dist/fetch-SZORBUY6.js.map +1 -0
  221. package/dist/fit-BNMTWIDZ.js +70 -0
  222. package/dist/flows-CXLGJZX3.js +343 -0
  223. package/dist/flows-CXLGJZX3.js.map +1 -0
  224. package/dist/forecast-4GMD2VLH.js +123 -0
  225. package/dist/forecast-4GMD2VLH.js.map +1 -0
  226. package/dist/forecast-YFCLMXAV.js +189 -0
  227. package/dist/funnel-6T744PW5.js +702 -0
  228. package/dist/funnel-6T744PW5.js.map +1 -0
  229. package/dist/generate-7467FZZH.js +265 -0
  230. package/dist/get-AV7SAPWM.js +115 -0
  231. package/dist/get-AV7SAPWM.js.map +1 -0
  232. package/dist/get-XGNDE6U5.js +78 -0
  233. package/dist/get-XGNDE6U5.js.map +1 -0
  234. package/dist/google-5PTZYW6Q.js +165 -0
  235. package/dist/google-5PTZYW6Q.js.map +1 -0
  236. package/dist/google-GBGLPAP5.js +3759 -0
  237. package/dist/google-ads-LL4VNYPD.js +202 -0
  238. package/dist/google-ads-LL4VNYPD.js.map +1 -0
  239. package/dist/history-CFVA6FMG.js +109 -0
  240. package/dist/history-CFVA6FMG.js.map +1 -0
  241. package/dist/history-DSRIBYK6.js +156 -0
  242. package/dist/history-DSRIBYK6.js.map +1 -0
  243. package/dist/history-KBTYILFZ.js +204 -0
  244. package/dist/hubspot-QEDQFEME.js +854 -0
  245. package/dist/hubspot-QEDQFEME.js.map +1 -0
  246. package/dist/ideas-UK74GJGE.js +50 -0
  247. package/dist/images-OH7KDUR5.js +92 -0
  248. package/dist/ingest-2BC3W4WC.js +32 -0
  249. package/dist/ingest-U46BUNPL.js +163 -0
  250. package/dist/ingest-U46BUNPL.js.map +1 -0
  251. package/dist/insights-MZ5DPH5X.js +151 -0
  252. package/dist/inspect-ZMCRHR2P.js +39 -0
  253. package/dist/intent-6NJBN3OR.js +97 -0
  254. package/dist/keyword-gap-Y5J2VZDP.js +132 -0
  255. package/dist/keyword-metrics-RHQHOBBD.js +235 -0
  256. package/dist/keyword-metrics-RHQHOBBD.js.map +1 -0
  257. package/dist/keywords-for-site-SXM5GYNK.js +135 -0
  258. package/dist/keywords-for-site-SXM5GYNK.js.map +1 -0
  259. package/dist/languages-H4VPFO7Y.js +41 -0
  260. package/dist/leads-SXKIKE33.js +138 -0
  261. package/dist/leads-SXKIKE33.js.map +1 -0
  262. package/dist/learn-IUTTKGIM.js +214 -0
  263. package/dist/learn-IUTTKGIM.js.map +1 -0
  264. package/dist/line-item-writes-4UCLAFCM.js +213 -0
  265. package/dist/line-item-writes-4UCLAFCM.js.map +1 -0
  266. package/dist/line-items-RUC54PIV.js +107 -0
  267. package/dist/link-DVOBJDBN.js +71 -0
  268. package/dist/link-DVOBJDBN.js.map +1 -0
  269. package/dist/linkedin-2Y7TU4US.js +1499 -0
  270. package/dist/linkedin-2Y7TU4US.js.map +1 -0
  271. package/dist/linkedin-person-MTXQCPG5.js +143 -0
  272. package/dist/linkedin-person-MTXQCPG5.js.map +1 -0
  273. package/dist/list-KYEFILOK.js +170 -0
  274. package/dist/list-KYEFILOK.js.map +1 -0
  275. package/dist/list-V5XCBLJ7.js +321 -0
  276. package/dist/list-V5XCBLJ7.js.map +1 -0
  277. package/dist/list-VXWXN54Z.js +90 -0
  278. package/dist/list-VXWXN54Z.js.map +1 -0
  279. package/dist/locations-AR4ZTFT4.js +69 -0
  280. package/dist/locations-UPY33JUY.js +41 -0
  281. package/dist/log-STIZ76SH.js +99 -0
  282. package/dist/log-STIZ76SH.js.map +1 -0
  283. package/dist/make-HDEKIJC6.js +1392 -0
  284. package/dist/make-HDEKIJC6.js.map +1 -0
  285. package/dist/map-2SS3BULX.js +520 -0
  286. package/dist/map-2SS3BULX.js.map +1 -0
  287. package/dist/mcp-I5ASSVSH.js +1018 -0
  288. package/dist/mcp-I5ASSVSH.js.map +1 -0
  289. package/dist/media-sources-KUEQ45V5.js +35 -0
  290. package/dist/members-65P2J63J.js +51 -0
  291. package/dist/members-65P2J63J.js.map +1 -0
  292. package/dist/metrics-BNLDV4BU.js +193 -0
  293. package/dist/models-QEB3EOSF.js +155 -0
  294. package/dist/normalize-WNJDY66N.js +146 -0
  295. package/dist/normalize-WNJDY66N.js.map +1 -0
  296. package/dist/options-G4KR2KM7.js +127 -0
  297. package/dist/options-G4KR2KM7.js.map +1 -0
  298. package/dist/organization-FVZ6EIQB.js +950 -0
  299. package/dist/organization-FVZ6EIQB.js.map +1 -0
  300. package/dist/people-654OH5SE.js +162 -0
  301. package/dist/people-654OH5SE.js.map +1 -0
  302. package/dist/people-G3X6XVSH.js +172 -0
  303. package/dist/people-G3X6XVSH.js.map +1 -0
  304. package/dist/performance-BIH653SL.js +29 -0
  305. package/dist/performance-IU4CAW5U.js +6295 -0
  306. package/dist/performance-IU4CAW5U.js.map +1 -0
  307. package/dist/pipedrive-7AHNEUZI.js +534 -0
  308. package/dist/pipedrive-7AHNEUZI.js.map +1 -0
  309. package/dist/pixels-M2UBKUJI.js +62 -0
  310. package/dist/preview-ZOTNLVQF.js +104 -0
  311. package/dist/preview-ZOTNLVQF.js.map +1 -0
  312. package/dist/promoted-tweet-writes-7OXSBCSP.js +185 -0
  313. package/dist/promoted-tweet-writes-7OXSBCSP.js.map +1 -0
  314. package/dist/promoted-tweets-6YCNFVJK.js +119 -0
  315. package/dist/publish-W6YO4KXM.js +431 -0
  316. package/dist/publish-W6YO4KXM.js.map +1 -0
  317. package/dist/query-FZAFUWCX.js +68 -0
  318. package/dist/reddit-Z4REP3DB.js +31 -0
  319. package/dist/refresh-J4EVW5NK.js +101 -0
  320. package/dist/refresh-J4EVW5NK.js.map +1 -0
  321. package/dist/release-J7PM3S26.js +67 -0
  322. package/dist/release-J7PM3S26.js.map +1 -0
  323. package/dist/relevant-pages-OFFMPMKG.js +101 -0
  324. package/dist/remove-47SNXAN4.js +55 -0
  325. package/dist/remove-47SNXAN4.js.map +1 -0
  326. package/dist/reopen-QZ5H7BM4.js +70 -0
  327. package/dist/reopen-QZ5H7BM4.js.map +1 -0
  328. package/dist/rerun-NXCWZO6J.js +102 -0
  329. package/dist/rerun-NXCWZO6J.js.map +1 -0
  330. package/dist/research-FYPPBDZD.js +267 -0
  331. package/dist/research-FYPPBDZD.js.map +1 -0
  332. package/dist/research-M6YZMTCC.js +78 -0
  333. package/dist/reset-HOZN4FOM.js +59 -0
  334. package/dist/reset-HOZN4FOM.js.map +1 -0
  335. package/dist/reset-YSI4KD65.js +59 -0
  336. package/dist/reset-YSI4KD65.js.map +1 -0
  337. package/dist/resolve-4LGAMITK.js +126 -0
  338. package/dist/resolve-4LGAMITK.js.map +1 -0
  339. package/dist/retry-JE7MVPCY.js +67 -0
  340. package/dist/retry-JE7MVPCY.js.map +1 -0
  341. package/dist/retry-NF5WFRK3.js +67 -0
  342. package/dist/retry-NF5WFRK3.js.map +1 -0
  343. package/dist/revenue-UNKQMFEP.js +100 -0
  344. package/dist/revenue-UNKQMFEP.js.map +1 -0
  345. package/dist/rules-ZQVMBEGF.js +164 -0
  346. package/dist/rules-ZQVMBEGF.js.map +1 -0
  347. package/dist/run-3AFY2WEP.js +74 -0
  348. package/dist/run-3AFY2WEP.js.map +1 -0
  349. package/dist/run-MBVV64FY.js +79 -0
  350. package/dist/scaffold-ad-5BDDIBIE.js +1601 -0
  351. package/dist/scaffold-ad-5BDDIBIE.js.map +1 -0
  352. package/dist/scaffold-static-ad-VI4HHQXS.js +999 -0
  353. package/dist/scaffold-static-ad-VI4HHQXS.js.map +1 -0
  354. package/dist/scaffold-video-EPMMQHUN.js +889 -0
  355. package/dist/scaffold-video-EPMMQHUN.js.map +1 -0
  356. package/dist/schedule-MYNSAWBJ.js +66 -0
  357. package/dist/schedule-MYNSAWBJ.js.map +1 -0
  358. package/dist/scheduled-agents-T7CITLJL.js +59 -0
  359. package/dist/schema-4WMUT43Q.js +137 -0
  360. package/dist/schema-4WMUT43Q.js.map +1 -0
  361. package/dist/schema-6WONG4NR.js +241 -0
  362. package/dist/search-AF7G5TRI.js +193 -0
  363. package/dist/search-AF7G5TRI.js.map +1 -0
  364. package/dist/search-terms-OFLKWSEF.js +412 -0
  365. package/dist/select-LUFSBEFK.js +135 -0
  366. package/dist/select-LUFSBEFK.js.map +1 -0
  367. package/dist/set-Z754PYIP.js +275 -0
  368. package/dist/set-Z754PYIP.js.map +1 -0
  369. package/dist/set-prompt-WDCKB4GU.js +205 -0
  370. package/dist/set-prompt-WDCKB4GU.js.map +1 -0
  371. package/dist/setup-links-3FCP4CMO.js +146 -0
  372. package/dist/setup-links-3FCP4CMO.js.map +1 -0
  373. package/dist/shopify-OMTDOM6H.js +4033 -0
  374. package/dist/shopify-OMTDOM6H.js.map +1 -0
  375. package/dist/site-E6VDWABB.js +182 -0
  376. package/dist/site-E6VDWABB.js.map +1 -0
  377. package/dist/sources-3RQZ3AR2.js +30 -0
  378. package/dist/sources-IB2WBJLU.js +464 -0
  379. package/dist/sources-IB2WBJLU.js.map +1 -0
  380. package/dist/stale-V4NS3MDH.js +93 -0
  381. package/dist/stale-V4NS3MDH.js.map +1 -0
  382. package/dist/status-T67ZC4E3.js +69 -0
  383. package/dist/status-T67ZC4E3.js.map +1 -0
  384. package/dist/stock-V2ITAW3L.js +214 -0
  385. package/dist/stock-V2ITAW3L.js.map +1 -0
  386. package/dist/studio-2X6UOCAR.js +49 -0
  387. package/dist/sync-O5OC466B.js +59 -0
  388. package/dist/sync-O5OC466B.js.map +1 -0
  389. package/dist/sync-definition-MR7XESTS.js +75 -0
  390. package/dist/tags-ACDAA5T6.js +25 -0
  391. package/dist/tags-ACDAA5T6.js.map +1 -0
  392. package/dist/tags-I3AJEMKF.js +26 -0
  393. package/dist/tags-IMTMMKH3.js +25 -0
  394. package/dist/tags-IMTMMKH3.js.map +1 -0
  395. package/dist/tags-Q32N3AGN.js +25 -0
  396. package/dist/tags-Q32N3AGN.js.map +1 -0
  397. package/dist/tags-YWZLXCDK.js +183 -0
  398. package/dist/tags-YWZLXCDK.js.map +1 -0
  399. package/dist/targeting-criteria-QFFAYBGE.js +113 -0
  400. package/dist/targets-VJ7FDIRY.js +111 -0
  401. package/dist/targets-VJ7FDIRY.js.map +1 -0
  402. package/dist/testimonials-67Q3OTBU.js +32 -0
  403. package/dist/themes-VAKXKG4M.js +102 -0
  404. package/dist/top-companies-6XTBQ26K.js +251 -0
  405. package/dist/top-companies-6XTBQ26K.js.map +1 -0
  406. package/dist/transcript-VJ3SAEUV.js +169 -0
  407. package/dist/transcript-VJ3SAEUV.js.map +1 -0
  408. package/dist/translate-ET2MK3H2.js +608 -0
  409. package/dist/translate-ET2MK3H2.js.map +1 -0
  410. package/dist/triggers-JP6VF7BW.js +149 -0
  411. package/dist/triggers-JP6VF7BW.js.map +1 -0
  412. package/dist/unlink-KMFC3LDG.js +74 -0
  413. package/dist/unlink-KMFC3LDG.js.map +1 -0
  414. package/dist/unstage-GPI2NIBV.js +93 -0
  415. package/dist/unstage-GPI2NIBV.js.map +1 -0
  416. package/dist/update-2FH5MZVD.js +238 -0
  417. package/dist/update-2FH5MZVD.js.map +1 -0
  418. package/dist/update-ACOQHC7J.js +194 -0
  419. package/dist/update-ACOQHC7J.js.map +1 -0
  420. package/dist/update-CUQLNEAD.js +176 -0
  421. package/dist/update-CUQLNEAD.js.map +1 -0
  422. package/dist/update-RZXG7Z62.js +70 -0
  423. package/dist/update-RZXG7Z62.js.map +1 -0
  424. package/dist/upload-HVE7JHOF.js +186 -0
  425. package/dist/upload-HVE7JHOF.js.map +1 -0
  426. package/dist/url-options-DOOHH2JE.js +137 -0
  427. package/dist/url-params-EHRE7RFC.js +103 -0
  428. package/dist/url-params-EHRE7RFC.js.map +1 -0
  429. package/dist/validate-2SL473DR.js +181 -0
  430. package/dist/validate-2SL473DR.js.map +1 -0
  431. package/dist/videos-URSOTIHU.js +41 -0
  432. package/dist/viewer-check-N3SEOOMX.js +90 -0
  433. package/dist/visuals-2Q643EXW.js +130 -0
  434. package/dist/visuals-2Q643EXW.js.map +1 -0
  435. package/dist/web-SEZ7DJLY.js +181 -0
  436. package/dist/web-SEZ7DJLY.js.map +1 -0
  437. package/dist/winning-ads-TCRRYKCR.js +88 -0
  438. package/dist/write-commands-DSQDZBN7.js +1556 -0
  439. package/dist/write-commands-DSQDZBN7.js.map +1 -0
  440. package/dist/x-K6IWYLK3.js +47 -0
  441. package/package.json +1 -1
  442. package/dist/account-LBCHPKFN.js +0 -83
  443. package/dist/account-LBCHPKFN.js.map +0 -1
  444. package/dist/account-LYIKZSK6.js +0 -82
  445. package/dist/account-reads-R6FLJJQ2.js +0 -230
  446. package/dist/account-users-WKGPT74P.js +0 -69
  447. package/dist/account-users-WKGPT74P.js.map +0 -1
  448. package/dist/account-writes-SQNABDXI.js +0 -68
  449. package/dist/accounts-JURKSHSC.js +0 -505
  450. package/dist/accounts-JURKSHSC.js.map +0 -1
  451. package/dist/accounts-KHRCFMBY.js +0 -81
  452. package/dist/accounts-KHRCFMBY.js.map +0 -1
  453. package/dist/accounts-PVPBCV3W.js +0 -122
  454. package/dist/actions-ACCMIKIB.js +0 -55
  455. package/dist/activecampaign-2ONTYGSN.js +0 -935
  456. package/dist/activecampaign-2ONTYGSN.js.map +0 -1
  457. package/dist/ad-group-writes-KEFM32CI.js +0 -172
  458. package/dist/ad-groups-LQ43ZKNL.js +0 -70
  459. package/dist/ad-writes-XPHRUOPG.js +0 -176
  460. package/dist/add-J6LU4F23.js +0 -662
  461. package/dist/add-J6LU4F23.js.map +0 -1
  462. package/dist/add-MQ7QQKWK.js +0 -661
  463. package/dist/add-MQ7QQKWK.js.map +0 -1
  464. package/dist/add-VMMEGLLH.js +0 -108
  465. package/dist/add-VMMEGLLH.js.map +0 -1
  466. package/dist/ads-IHKW7OPB.js +0 -79
  467. package/dist/ads-J4P334AY.js +0 -48
  468. package/dist/advertisers-R66WQXTX.js +0 -126
  469. package/dist/advertisers-R66WQXTX.js.map +0 -1
  470. package/dist/alerts-5BTW37FP.js +0 -153
  471. package/dist/alerts-5BTW37FP.js.map +0 -1
  472. package/dist/analytics-23IKNJDL.js +0 -2791
  473. package/dist/analytics-23IKNJDL.js.map +0 -1
  474. package/dist/analytics-47PS4JF4.js +0 -461
  475. package/dist/analytics-47PS4JF4.js.map +0 -1
  476. package/dist/animate-FNBWXIGV.js +0 -482
  477. package/dist/assign-ZS2HOH5Y.js +0 -83
  478. package/dist/assign-ZS2HOH5Y.js.map +0 -1
  479. package/dist/audience-size-UD3EZJ73.js +0 -77
  480. package/dist/audience-size-UD3EZJ73.js.map +0 -1
  481. package/dist/audiences-ICDEHT2G.js +0 -280
  482. package/dist/audit-G5RR3ZUU.js +0 -155
  483. package/dist/audit-G5RR3ZUU.js.map +0 -1
  484. package/dist/autocomplete-UZCXR2O7.js +0 -117
  485. package/dist/autocomplete-UZCXR2O7.js.map +0 -1
  486. package/dist/avatars-I77UMBCK.js +0 -38
  487. package/dist/bid-pricing-LOBWANLQ.js +0 -104
  488. package/dist/bid-pricing-LOBWANLQ.js.map +0 -1
  489. package/dist/brief-PGWZLK6O.js +0 -511
  490. package/dist/brief-PGWZLK6O.js.map +0 -1
  491. package/dist/campaign-groups-NLMQ7YDR.js +0 -118
  492. package/dist/campaign-groups-NLMQ7YDR.js.map +0 -1
  493. package/dist/campaign-writes-ATZ44CDG.js +0 -169
  494. package/dist/campaign-writes-ATZ44CDG.js.map +0 -1
  495. package/dist/campaign-writes-KN5W3MHP.js +0 -176
  496. package/dist/campaigns-3BV5AJWW.js +0 -78
  497. package/dist/campaigns-MWNSBQSU.js +0 -193
  498. package/dist/campaigns-MWNSBQSU.js.map +0 -1
  499. package/dist/campaigns-ZTNTTP4I.js +0 -111
  500. package/dist/canvas-FRIY4YK3.js +0 -48
  501. package/dist/capabilities-KGFUU66H.js +0 -184
  502. package/dist/capabilities-KGFUU66H.js.map +0 -1
  503. package/dist/catalog-XL5XIAPM.js +0 -89
  504. package/dist/catalog-XL5XIAPM.js.map +0 -1
  505. package/dist/catalogs-OBZ6RBGL.js +0 -130
  506. package/dist/changes-SGLPIZL6.js +0 -288
  507. package/dist/chatgpt-HBHB7HCD.js +0 -47
  508. package/dist/chats-7ZNUM5BB.js +0 -659
  509. package/dist/chats-7ZNUM5BB.js.map +0 -1
  510. package/dist/check-F63WWXGX.js +0 -54
  511. package/dist/chunk-22FIUNKA.js +0 -24026
  512. package/dist/chunk-22FIUNKA.js.map +0 -1
  513. package/dist/chunk-2GZM5T3H.js +0 -170
  514. package/dist/chunk-33PPLXL7.js +0 -147
  515. package/dist/chunk-3IVL6SS5.js +0 -396
  516. package/dist/chunk-3LW7QP63.js +0 -548
  517. package/dist/chunk-4JD6BIPR.js +0 -197
  518. package/dist/chunk-4TXRATEZ.js +0 -509
  519. package/dist/chunk-5LXF2L2O.js +0 -547
  520. package/dist/chunk-5Q3A5BI2.js +0 -392
  521. package/dist/chunk-5X32X4Y4.js +0 -915
  522. package/dist/chunk-6WYGXX3N.js +0 -479
  523. package/dist/chunk-6XF6UYW4.js +0 -65
  524. package/dist/chunk-7O4VEYQV.js +0 -10361
  525. package/dist/chunk-ADAHRMJK.js +0 -46
  526. package/dist/chunk-BSZG36OF.js +0 -98
  527. package/dist/chunk-CGRANKYS.js +0 -374
  528. package/dist/chunk-CNUUHEPD.js +0 -61
  529. package/dist/chunk-CT6OPKPO.js +0 -1124
  530. package/dist/chunk-CW5XNVVP.js +0 -411
  531. package/dist/chunk-D4GVSSL3.js +0 -863
  532. package/dist/chunk-DWKUYUKC.js +0 -1862
  533. package/dist/chunk-EAE3RG4W.js +0 -303
  534. package/dist/chunk-ESPNAT2X.js +0 -163
  535. package/dist/chunk-FVWJ3733.js +0 -103
  536. package/dist/chunk-GRXRHZ4A.js +0 -3378
  537. package/dist/chunk-HFGAZV6N.js +0 -4413
  538. package/dist/chunk-HFGAZV6N.js.map +0 -1
  539. package/dist/chunk-HGEG5AJW.js +0 -1883
  540. package/dist/chunk-JPGVTEEN.js +0 -8382
  541. package/dist/chunk-JPGVTEEN.js.map +0 -1
  542. package/dist/chunk-JQKJC6KH.js +0 -341
  543. package/dist/chunk-KLAU6NPL.js +0 -64
  544. package/dist/chunk-KLF5K55H.js +0 -732
  545. package/dist/chunk-KLT3TJEK.js +0 -877
  546. package/dist/chunk-KTA3Q7JV.js +0 -423
  547. package/dist/chunk-KTCFKV4E.js +0 -251
  548. package/dist/chunk-LHNNC272.js +0 -155
  549. package/dist/chunk-LQ2OYP25.js +0 -1577
  550. package/dist/chunk-MCZ73DUD.js +0 -91
  551. package/dist/chunk-MGHAKUDW.js +0 -749
  552. package/dist/chunk-MSPLXQ6A.js +0 -51
  553. package/dist/chunk-N4BDYIQH.js +0 -78
  554. package/dist/chunk-NAF5XSOI.js +0 -430
  555. package/dist/chunk-O27BGGFC.js +0 -152
  556. package/dist/chunk-OJIOHCJN.js +0 -746
  557. package/dist/chunk-P3RBPZ2B.js +0 -313
  558. package/dist/chunk-PGZQC4LF.js +0 -202
  559. package/dist/chunk-PS7CL7EG.js +0 -262
  560. package/dist/chunk-QAEUP6YB.js +0 -89
  561. package/dist/chunk-QTIPLD3K.js +0 -274
  562. package/dist/chunk-QTVINOQE.js +0 -6340
  563. package/dist/chunk-RHVRFQKS.js +0 -329
  564. package/dist/chunk-SAA4VKF2.js +0 -285
  565. package/dist/chunk-SCN5ZF4U.js +0 -76
  566. package/dist/chunk-SEDKKBCP.js +0 -685
  567. package/dist/chunk-T7V2OPW2.js +0 -127
  568. package/dist/chunk-TITULPXP.js +0 -91
  569. package/dist/chunk-UAULPZZ4.js +0 -175
  570. package/dist/chunk-UVNRRVE4.js +0 -9127
  571. package/dist/chunk-V76H3HWD.js +0 -505
  572. package/dist/chunk-VL4SZLKU.js +0 -320
  573. package/dist/chunk-WKSIAMWT.js +0 -224
  574. package/dist/chunk-WONTGSXR.js +0 -170
  575. package/dist/chunk-WUYDIH4N.js +0 -142
  576. package/dist/chunk-X6LTFBPF.js +0 -604
  577. package/dist/chunk-XDTZJKXT.js +0 -260
  578. package/dist/chunk-XGSSYHX2.js +0 -23
  579. package/dist/chunk-ZJK3PVM2.js +0 -723
  580. package/dist/chunk-ZPJPY7ZB.js +0 -660
  581. package/dist/chunk-ZSC3LYTP.js +0 -3248
  582. package/dist/chunk-ZSC3LYTP.js.map +0 -1
  583. package/dist/chunk-ZVMOABEC.js +0 -375
  584. package/dist/chunk-ZXG5MYV4.js +0 -26
  585. package/dist/claim-AYHEYSOI.js +0 -218
  586. package/dist/claim-AYHEYSOI.js.map +0 -1
  587. package/dist/companies-LVDHY743.js +0 -36
  588. package/dist/company-TPPOL4W2.js +0 -311
  589. package/dist/company-TPPOL4W2.js.map +0 -1
  590. package/dist/complete-V5ZD7UGL.js +0 -87
  591. package/dist/complete-V5ZD7UGL.js.map +0 -1
  592. package/dist/connect-BUO24HMV.js +0 -46
  593. package/dist/conversation-6HPXM7FW.js +0 -100
  594. package/dist/conversation-6HPXM7FW.js.map +0 -1
  595. package/dist/conversion-report-4WJ5D4FD.js +0 -130
  596. package/dist/conversion-upload-command-XMYX7HY7.js +0 -456
  597. package/dist/conversion-writes-2W3RVOJW.js +0 -194
  598. package/dist/conversions-6YVNOZG5.js +0 -141
  599. package/dist/conversions-6YVNOZG5.js.map +0 -1
  600. package/dist/conversions-TI3MZYCT.js +0 -78
  601. package/dist/create-UTZXEJFN.js +0 -65
  602. package/dist/create-UTZXEJFN.js.map +0 -1
  603. package/dist/create-UWPR4CWO.js +0 -356
  604. package/dist/create-UWPR4CWO.js.map +0 -1
  605. package/dist/create-V2AMVPTQ.js +0 -219
  606. package/dist/create-V2AMVPTQ.js.map +0 -1
  607. package/dist/create-ZU5UBD4X.js +0 -190
  608. package/dist/create-ZU5UBD4X.js.map +0 -1
  609. package/dist/creatives-RWBCFP5N.js +0 -48
  610. package/dist/creatives-SX3TJE4I.js +0 -235
  611. package/dist/creatives-SX3TJE4I.js.map +0 -1
  612. package/dist/credentials-L7FSM72O.js +0 -291
  613. package/dist/credentials-L7FSM72O.js.map +0 -1
  614. package/dist/critique-E3YPZLCF.js +0 -230
  615. package/dist/critique-E3YPZLCF.js.map +0 -1
  616. package/dist/crm-2ARNUPRU.js +0 -418
  617. package/dist/crm-2ARNUPRU.js.map +0 -1
  618. package/dist/crm-ML3GI5NY.js +0 -327
  619. package/dist/crm-ML3GI5NY.js.map +0 -1
  620. package/dist/currency-L2VCDEKG.js +0 -91
  621. package/dist/customers-ES3C4NSF.js +0 -69
  622. package/dist/data-GXAJGTKM.js +0 -665
  623. package/dist/delete-A3IOVKU3.js +0 -70
  624. package/dist/delete-A3IOVKU3.js.map +0 -1
  625. package/dist/delete-SSCL37IA.js +0 -60
  626. package/dist/delete-SSCL37IA.js.map +0 -1
  627. package/dist/delete-WDIM4RFL.js +0 -71
  628. package/dist/delete-WDIM4RFL.js.map +0 -1
  629. package/dist/demographics-E6HNYVS7.js +0 -145
  630. package/dist/demographics-E6HNYVS7.js.map +0 -1
  631. package/dist/discard-QQL2BQBC.js +0 -72
  632. package/dist/discard-QQL2BQBC.js.map +0 -1
  633. package/dist/discover-ZIAHE6QG.js +0 -191
  634. package/dist/domain-7UX3KF5B.js +0 -104
  635. package/dist/domain-7UX3KF5B.js.map +0 -1
  636. package/dist/download-O7U2TSIB.js +0 -174
  637. package/dist/download-O7U2TSIB.js.map +0 -1
  638. package/dist/draft-7BGHUHMU.js +0 -427
  639. package/dist/draft-7BGHUHMU.js.map +0 -1
  640. package/dist/draft-OHS254X2.js +0 -640
  641. package/dist/draft-UIFX2SZ4.js +0 -340
  642. package/dist/draft-URN2I5KT.js +0 -227
  643. package/dist/draft-URN2I5KT.js.map +0 -1
  644. package/dist/draft-VNZNXE2J.js +0 -389
  645. package/dist/draft-VNZNXE2J.js.map +0 -1
  646. package/dist/experiment-WEWASTVO.js +0 -2094
  647. package/dist/experiment-WEWASTVO.js.map +0 -1
  648. package/dist/experiments-KUTQOEZR.js +0 -241
  649. package/dist/experiments-KUTQOEZR.js.map +0 -1
  650. package/dist/extract-6Y4NR4W6.js +0 -144
  651. package/dist/extract-6Y4NR4W6.js.map +0 -1
  652. package/dist/facets-YIWFTP7H.js +0 -118
  653. package/dist/facets-YIWFTP7H.js.map +0 -1
  654. package/dist/feedback-YMGPKZ3V.js +0 -115
  655. package/dist/feedback-YMGPKZ3V.js.map +0 -1
  656. package/dist/fetch-Z2QGAIBQ.js +0 -487
  657. package/dist/fetch-Z2QGAIBQ.js.map +0 -1
  658. package/dist/fit-KJCW4OME.js +0 -69
  659. package/dist/flows-NPUA7N2L.js +0 -342
  660. package/dist/flows-NPUA7N2L.js.map +0 -1
  661. package/dist/forecast-DY5CJWYE.js +0 -122
  662. package/dist/forecast-DY5CJWYE.js.map +0 -1
  663. package/dist/forecast-HXPATM6B.js +0 -189
  664. package/dist/funnel-JWMR4AWD.js +0 -701
  665. package/dist/funnel-JWMR4AWD.js.map +0 -1
  666. package/dist/generate-AQZZ5LHX.js +0 -265
  667. package/dist/get-DGDNOLPL.js +0 -77
  668. package/dist/get-DGDNOLPL.js.map +0 -1
  669. package/dist/get-WSKHCZUE.js +0 -114
  670. package/dist/get-WSKHCZUE.js.map +0 -1
  671. package/dist/google-A3O6DY2O.js +0 -164
  672. package/dist/google-A3O6DY2O.js.map +0 -1
  673. package/dist/google-RRNBSRIF.js +0 -3759
  674. package/dist/google-ads-YIWGWH46.js +0 -201
  675. package/dist/google-ads-YIWGWH46.js.map +0 -1
  676. package/dist/history-CH3UMQOA.js +0 -204
  677. package/dist/history-TJ4J62DX.js +0 -155
  678. package/dist/history-TJ4J62DX.js.map +0 -1
  679. package/dist/history-UVAMXI6O.js +0 -108
  680. package/dist/history-UVAMXI6O.js.map +0 -1
  681. package/dist/hubspot-DLVADADU.js +0 -853
  682. package/dist/hubspot-DLVADADU.js.map +0 -1
  683. package/dist/ideas-KOTCKHZ7.js +0 -49
  684. package/dist/images-67WOVPMU.js +0 -92
  685. package/dist/ingest-EEQA5LVX.js +0 -162
  686. package/dist/ingest-EEQA5LVX.js.map +0 -1
  687. package/dist/ingest-V3VLS2GX.js +0 -31
  688. package/dist/insights-FBGRQJZH.js +0 -151
  689. package/dist/inspect-3N23E55T.js +0 -38
  690. package/dist/intent-D4QWUY4I.js +0 -97
  691. package/dist/keyword-gap-EJ56IFRD.js +0 -132
  692. package/dist/keyword-metrics-RC5S7BRG.js +0 -234
  693. package/dist/keyword-metrics-RC5S7BRG.js.map +0 -1
  694. package/dist/keywords-for-site-ZFGNPFY5.js +0 -134
  695. package/dist/keywords-for-site-ZFGNPFY5.js.map +0 -1
  696. package/dist/languages-O3T67HG2.js +0 -41
  697. package/dist/leads-V6DGX3F5.js +0 -137
  698. package/dist/leads-V6DGX3F5.js.map +0 -1
  699. package/dist/learn-74AI4AWI.js +0 -213
  700. package/dist/learn-74AI4AWI.js.map +0 -1
  701. package/dist/line-item-writes-GQZ54W6Z.js +0 -212
  702. package/dist/line-item-writes-GQZ54W6Z.js.map +0 -1
  703. package/dist/line-items-7W2GCO5X.js +0 -107
  704. package/dist/link-3D6BVSXK.js +0 -70
  705. package/dist/link-3D6BVSXK.js.map +0 -1
  706. package/dist/linkedin-JPSUKJB3.js +0 -1498
  707. package/dist/linkedin-JPSUKJB3.js.map +0 -1
  708. package/dist/linkedin-person-2HWI57JM.js +0 -142
  709. package/dist/linkedin-person-2HWI57JM.js.map +0 -1
  710. package/dist/list-APWQBA6F.js +0 -89
  711. package/dist/list-APWQBA6F.js.map +0 -1
  712. package/dist/list-MQSSYRMW.js +0 -320
  713. package/dist/list-MQSSYRMW.js.map +0 -1
  714. package/dist/list-VK44HUMC.js +0 -169
  715. package/dist/list-VK44HUMC.js.map +0 -1
  716. package/dist/locations-7UESZZO3.js +0 -69
  717. package/dist/locations-VQRCHGHB.js +0 -41
  718. package/dist/log-BXW6B724.js +0 -98
  719. package/dist/log-BXW6B724.js.map +0 -1
  720. package/dist/make-ZCRNK7MC.js +0 -1391
  721. package/dist/make-ZCRNK7MC.js.map +0 -1
  722. package/dist/map-QURQZHXD.js +0 -519
  723. package/dist/map-QURQZHXD.js.map +0 -1
  724. package/dist/mcp-SP6LQIWQ.js +0 -1017
  725. package/dist/mcp-SP6LQIWQ.js.map +0 -1
  726. package/dist/media-sources-M7IEBLF4.js +0 -35
  727. package/dist/members-TFUWUCNE.js +0 -50
  728. package/dist/members-TFUWUCNE.js.map +0 -1
  729. package/dist/metrics-UKMUGQBU.js +0 -193
  730. package/dist/models-ELL6ENZ2.js +0 -155
  731. package/dist/normalize-JQE4X32M.js +0 -145
  732. package/dist/normalize-JQE4X32M.js.map +0 -1
  733. package/dist/options-K77AAOTI.js +0 -126
  734. package/dist/options-K77AAOTI.js.map +0 -1
  735. package/dist/organization-FEQUSV7Z.js +0 -949
  736. package/dist/organization-FEQUSV7Z.js.map +0 -1
  737. package/dist/people-FKZMHN3N.js +0 -171
  738. package/dist/people-FKZMHN3N.js.map +0 -1
  739. package/dist/people-K5GNQSOJ.js +0 -161
  740. package/dist/people-K5GNQSOJ.js.map +0 -1
  741. package/dist/performance-7MJH42Q3.js +0 -6294
  742. package/dist/performance-7MJH42Q3.js.map +0 -1
  743. package/dist/performance-HXN4VDES.js +0 -28
  744. package/dist/pipedrive-GJTMGJM3.js +0 -533
  745. package/dist/pipedrive-GJTMGJM3.js.map +0 -1
  746. package/dist/pixels-AWPYUSNW.js +0 -62
  747. package/dist/preview-4SO4G2HK.js +0 -103
  748. package/dist/preview-4SO4G2HK.js.map +0 -1
  749. package/dist/promoted-tweet-writes-EPT3RLOM.js +0 -184
  750. package/dist/promoted-tweet-writes-EPT3RLOM.js.map +0 -1
  751. package/dist/promoted-tweets-FIZPPRWC.js +0 -119
  752. package/dist/publish-2W3XFTPJ.js +0 -430
  753. package/dist/publish-2W3XFTPJ.js.map +0 -1
  754. package/dist/query-ZIV5EBKY.js +0 -68
  755. package/dist/reddit-SNZKEOHI.js +0 -30
  756. package/dist/refresh-X4P3ZKUZ.js +0 -100
  757. package/dist/refresh-X4P3ZKUZ.js.map +0 -1
  758. package/dist/release-ACMNH5ME.js +0 -66
  759. package/dist/release-ACMNH5ME.js.map +0 -1
  760. package/dist/relevant-pages-EZKKBNRV.js +0 -101
  761. package/dist/remove-G5QVI3WG.js +0 -54
  762. package/dist/remove-G5QVI3WG.js.map +0 -1
  763. package/dist/reopen-SNVBDDJE.js +0 -69
  764. package/dist/reopen-SNVBDDJE.js.map +0 -1
  765. package/dist/rerun-TYYHAES5.js +0 -101
  766. package/dist/rerun-TYYHAES5.js.map +0 -1
  767. package/dist/research-64BF2BKN.js +0 -266
  768. package/dist/research-64BF2BKN.js.map +0 -1
  769. package/dist/research-XYT644PB.js +0 -78
  770. package/dist/reset-L3N3PC6A.js +0 -58
  771. package/dist/reset-L3N3PC6A.js.map +0 -1
  772. package/dist/reset-YPQLDCWY.js +0 -58
  773. package/dist/reset-YPQLDCWY.js.map +0 -1
  774. package/dist/resolve-NSD4KK4N.js +0 -125
  775. package/dist/resolve-NSD4KK4N.js.map +0 -1
  776. package/dist/retry-MV6SI64C.js +0 -66
  777. package/dist/retry-MV6SI64C.js.map +0 -1
  778. package/dist/retry-RR45HJNY.js +0 -66
  779. package/dist/retry-RR45HJNY.js.map +0 -1
  780. package/dist/revenue-WA5YD3ZZ.js +0 -99
  781. package/dist/revenue-WA5YD3ZZ.js.map +0 -1
  782. package/dist/rules-SZMM354B.js +0 -163
  783. package/dist/rules-SZMM354B.js.map +0 -1
  784. package/dist/run-43NCNGRY.js +0 -78
  785. package/dist/run-PDUNELVW.js +0 -73
  786. package/dist/run-PDUNELVW.js.map +0 -1
  787. package/dist/scaffold-ad-YM5RDISA.js +0 -1600
  788. package/dist/scaffold-ad-YM5RDISA.js.map +0 -1
  789. package/dist/scaffold-static-ad-HFAZVPDJ.js +0 -998
  790. package/dist/scaffold-static-ad-HFAZVPDJ.js.map +0 -1
  791. package/dist/scaffold-video-CFEOO3IQ.js +0 -888
  792. package/dist/scaffold-video-CFEOO3IQ.js.map +0 -1
  793. package/dist/schedule-CLOAMGEG.js +0 -65
  794. package/dist/schedule-CLOAMGEG.js.map +0 -1
  795. package/dist/scheduled-agents-4YP54YJK.js +0 -59
  796. package/dist/schema-CA2UFQUW.js +0 -241
  797. package/dist/schema-ZK6V2DAH.js +0 -136
  798. package/dist/schema-ZK6V2DAH.js.map +0 -1
  799. package/dist/search-7QJHSRG4.js +0 -192
  800. package/dist/search-7QJHSRG4.js.map +0 -1
  801. package/dist/search-terms-32OOCXD7.js +0 -412
  802. package/dist/select-7KNV67RH.js +0 -134
  803. package/dist/select-7KNV67RH.js.map +0 -1
  804. package/dist/set-JVQKD46F.js +0 -274
  805. package/dist/set-JVQKD46F.js.map +0 -1
  806. package/dist/set-prompt-53TLTTQV.js +0 -204
  807. package/dist/set-prompt-53TLTTQV.js.map +0 -1
  808. package/dist/setup-links-FTJIUOOV.js +0 -145
  809. package/dist/setup-links-FTJIUOOV.js.map +0 -1
  810. package/dist/shopify-3NJBBJAO.js +0 -4032
  811. package/dist/shopify-3NJBBJAO.js.map +0 -1
  812. package/dist/site-SNT3DGOL.js +0 -181
  813. package/dist/site-SNT3DGOL.js.map +0 -1
  814. package/dist/sources-EGHEL2V3.js +0 -30
  815. package/dist/sources-Z22GLW47.js +0 -463
  816. package/dist/sources-Z22GLW47.js.map +0 -1
  817. package/dist/stale-RTQ5XMRF.js +0 -92
  818. package/dist/stale-RTQ5XMRF.js.map +0 -1
  819. package/dist/status-ESJVYYYB.js +0 -68
  820. package/dist/status-ESJVYYYB.js.map +0 -1
  821. package/dist/stock-5XMUETOX.js +0 -213
  822. package/dist/stock-5XMUETOX.js.map +0 -1
  823. package/dist/studio-RMYKICEJ.js +0 -49
  824. package/dist/sync-XHIR7C2W.js +0 -58
  825. package/dist/sync-XHIR7C2W.js.map +0 -1
  826. package/dist/sync-definition-KLQLOZPZ.js +0 -74
  827. package/dist/tags-AZ3IIMIX.js +0 -182
  828. package/dist/tags-AZ3IIMIX.js.map +0 -1
  829. package/dist/tags-CK7HUB6Z.js +0 -24
  830. package/dist/tags-CK7HUB6Z.js.map +0 -1
  831. package/dist/tags-DC24IDYQ.js +0 -24
  832. package/dist/tags-DC24IDYQ.js.map +0 -1
  833. package/dist/tags-IFBC7POJ.js +0 -24
  834. package/dist/tags-IFBC7POJ.js.map +0 -1
  835. package/dist/tags-JQZD5NKA.js +0 -26
  836. package/dist/targeting-criteria-3ZF7OGTF.js +0 -113
  837. package/dist/targets-API6BONY.js +0 -110
  838. package/dist/targets-API6BONY.js.map +0 -1
  839. package/dist/testimonials-FGQKJKGY.js +0 -32
  840. package/dist/themes-VOLV4Z6M.js +0 -102
  841. package/dist/top-companies-BQCWISLW.js +0 -250
  842. package/dist/top-companies-BQCWISLW.js.map +0 -1
  843. package/dist/transcript-BLVLKJLG.js +0 -168
  844. package/dist/transcript-BLVLKJLG.js.map +0 -1
  845. package/dist/translate-6QNWIKK4.js +0 -607
  846. package/dist/translate-6QNWIKK4.js.map +0 -1
  847. package/dist/triggers-CACWMXK6.js +0 -148
  848. package/dist/triggers-CACWMXK6.js.map +0 -1
  849. package/dist/unlink-ASOMZIVP.js +0 -73
  850. package/dist/unlink-ASOMZIVP.js.map +0 -1
  851. package/dist/unstage-6CIDC56K.js +0 -92
  852. package/dist/unstage-6CIDC56K.js.map +0 -1
  853. package/dist/update-E4ZTN6B7.js +0 -237
  854. package/dist/update-E4ZTN6B7.js.map +0 -1
  855. package/dist/update-HCWA3FFK.js +0 -193
  856. package/dist/update-HCWA3FFK.js.map +0 -1
  857. package/dist/update-MEJUIKRN.js +0 -175
  858. package/dist/update-MEJUIKRN.js.map +0 -1
  859. package/dist/update-VGKPFHZ5.js +0 -69
  860. package/dist/update-VGKPFHZ5.js.map +0 -1
  861. package/dist/upload-AYSPCRRT.js +0 -185
  862. package/dist/upload-AYSPCRRT.js.map +0 -1
  863. package/dist/url-options-HQWSPLSF.js +0 -137
  864. package/dist/url-params-5W6BIVJG.js +0 -102
  865. package/dist/url-params-5W6BIVJG.js.map +0 -1
  866. package/dist/validate-RSFTDN44.js +0 -180
  867. package/dist/validate-RSFTDN44.js.map +0 -1
  868. package/dist/videos-HAHE7F2S.js +0 -41
  869. package/dist/viewer-check-JOUCCF4N.js +0 -89
  870. package/dist/visuals-PN7NNFJN.js +0 -129
  871. package/dist/visuals-PN7NNFJN.js.map +0 -1
  872. package/dist/web-2JWOS5VN.js +0 -180
  873. package/dist/web-2JWOS5VN.js.map +0 -1
  874. package/dist/winning-ads-KL6USUDL.js +0 -88
  875. package/dist/write-commands-QJHEWCLH.js +0 -1555
  876. package/dist/write-commands-QJHEWCLH.js.map +0 -1
  877. package/dist/x-KYKM3XN4.js +0 -47
  878. /package/dist/{account-LYIKZSK6.js.map → account-Y3IDIJ3T.js.map} +0 -0
  879. /package/dist/{account-reads-R6FLJJQ2.js.map → account-reads-XOGHJB3K.js.map} +0 -0
  880. /package/dist/{account-writes-SQNABDXI.js.map → account-writes-EP35RCNO.js.map} +0 -0
  881. /package/dist/{accounts-PVPBCV3W.js.map → accounts-7CHGRXBP.js.map} +0 -0
  882. /package/dist/{actions-ACCMIKIB.js.map → actions-KWHMTMLD.js.map} +0 -0
  883. /package/dist/{ad-group-writes-KEFM32CI.js.map → ad-group-writes-EVLV4BRD.js.map} +0 -0
  884. /package/dist/{ad-groups-LQ43ZKNL.js.map → ad-groups-UQRBWF2N.js.map} +0 -0
  885. /package/dist/{ad-writes-XPHRUOPG.js.map → ad-writes-EBCZ5DCY.js.map} +0 -0
  886. /package/dist/{ads-IHKW7OPB.js.map → ads-2TOWF4GX.js.map} +0 -0
  887. /package/dist/{ads-J4P334AY.js.map → ads-7Q7PRFJ4.js.map} +0 -0
  888. /package/dist/{animate-FNBWXIGV.js.map → animate-EN7VTJEI.js.map} +0 -0
  889. /package/dist/{audiences-ICDEHT2G.js.map → audiences-EZK4PDB5.js.map} +0 -0
  890. /package/dist/{avatars-I77UMBCK.js.map → avatars-PILXCCPG.js.map} +0 -0
  891. /package/dist/{campaign-writes-KN5W3MHP.js.map → campaign-writes-4T5DSUMT.js.map} +0 -0
  892. /package/dist/{campaigns-3BV5AJWW.js.map → campaigns-5BYWFXHO.js.map} +0 -0
  893. /package/dist/{campaigns-ZTNTTP4I.js.map → campaigns-XS52PZQL.js.map} +0 -0
  894. /package/dist/{canvas-FRIY4YK3.js.map → canvas-3AHETASK.js.map} +0 -0
  895. /package/dist/{catalogs-OBZ6RBGL.js.map → catalogs-YJSOVGDM.js.map} +0 -0
  896. /package/dist/{changes-SGLPIZL6.js.map → changes-YOTRCCNB.js.map} +0 -0
  897. /package/dist/{chatgpt-HBHB7HCD.js.map → chatgpt-DPLD452Q.js.map} +0 -0
  898. /package/dist/{check-F63WWXGX.js.map → check-3SVCK3V3.js.map} +0 -0
  899. /package/dist/{chunk-ADAHRMJK.js.map → chunk-2AW62CH3.js.map} +0 -0
  900. /package/dist/{chunk-SEDKKBCP.js.map → chunk-2CV2LEJN.js.map} +0 -0
  901. /package/dist/{chunk-T7V2OPW2.js.map → chunk-2N5MQP65.js.map} +0 -0
  902. /package/dist/{chunk-CT6OPKPO.js.map → chunk-2PNBK7KZ.js.map} +0 -0
  903. /package/dist/{chunk-5X32X4Y4.js.map → chunk-2Z2AEFVW.js.map} +0 -0
  904. /package/dist/{chunk-5Q3A5BI2.js.map → chunk-3B7GRVIM.js.map} +0 -0
  905. /package/dist/{chunk-FVWJ3733.js.map → chunk-3MJTL763.js.map} +0 -0
  906. /package/dist/{chunk-VL4SZLKU.js.map → chunk-4GM3TBGL.js.map} +0 -0
  907. /package/dist/{chunk-6XF6UYW4.js.map → chunk-5UG7AJB5.js.map} +0 -0
  908. /package/dist/{chunk-BSZG36OF.js.map → chunk-7J5XOR5D.js.map} +0 -0
  909. /package/dist/{chunk-XDTZJKXT.js.map → chunk-AOXHDVWS.js.map} +0 -0
  910. /package/dist/{chunk-5LXF2L2O.js.map → chunk-AYW4VFTH.js.map} +0 -0
  911. /package/dist/{chunk-ZXG5MYV4.js.map → chunk-B5RLBFMI.js.map} +0 -0
  912. /package/dist/{chunk-CW5XNVVP.js.map → chunk-BMUAE5IR.js.map} +0 -0
  913. /package/dist/{chunk-KTCFKV4E.js.map → chunk-BPQY4KIM.js.map} +0 -0
  914. /package/dist/{chunk-4JD6BIPR.js.map → chunk-BYYIJMLP.js.map} +0 -0
  915. /package/dist/{chunk-CNUUHEPD.js.map → chunk-CDU64GKK.js.map} +0 -0
  916. /package/dist/{chunk-HGEG5AJW.js.map → chunk-CE6M4VLG.js.map} +0 -0
  917. /package/dist/{chunk-ZJK3PVM2.js.map → chunk-CV74M3H6.js.map} +0 -0
  918. /package/dist/{chunk-WUYDIH4N.js.map → chunk-CZWMU2GB.js.map} +0 -0
  919. /package/dist/{chunk-SCN5ZF4U.js.map → chunk-D7DLBQLS.js.map} +0 -0
  920. /package/dist/{chunk-UAULPZZ4.js.map → chunk-DA634ZIV.js.map} +0 -0
  921. /package/dist/{chunk-6WYGXX3N.js.map → chunk-DJLTDVRD.js.map} +0 -0
  922. /package/dist/{chunk-SAA4VKF2.js.map → chunk-EDDHOHTW.js.map} +0 -0
  923. /package/dist/{chunk-KLF5K55H.js.map → chunk-FCWDXKLI.js.map} +0 -0
  924. /package/dist/{chunk-D4GVSSL3.js.map → chunk-G4IFJB4Z.js.map} +0 -0
  925. /package/dist/{chunk-WKSIAMWT.js.map → chunk-GHEURTBN.js.map} +0 -0
  926. /package/dist/{chunk-33PPLXL7.js.map → chunk-GJPS6SUI.js.map} +0 -0
  927. /package/dist/{chunk-N4BDYIQH.js.map → chunk-H2IG6MOX.js.map} +0 -0
  928. /package/dist/{chunk-KLT3TJEK.js.map → chunk-HSPOURUB.js.map} +0 -0
  929. /package/dist/{chunk-MCZ73DUD.js.map → chunk-HVVE3GT6.js.map} +0 -0
  930. /package/dist/{chunk-UVNRRVE4.js.map → chunk-IAOXI7MJ.js.map} +0 -0
  931. /package/dist/{chunk-O27BGGFC.js.map → chunk-JHPZATWG.js.map} +0 -0
  932. /package/dist/{chunk-OJIOHCJN.js.map → chunk-M6RQJCDW.js.map} +0 -0
  933. /package/dist/{chunk-4TXRATEZ.js.map → chunk-N5IR2T2B.js.map} +0 -0
  934. /package/dist/{chunk-MSPLXQ6A.js.map → chunk-NZ3PQBRV.js.map} +0 -0
  935. /package/dist/{chunk-3LW7QP63.js.map → chunk-NZFVC7RP.js.map} +0 -0
  936. /package/dist/{chunk-WONTGSXR.js.map → chunk-P7Q7YO4E.js.map} +0 -0
  937. /package/dist/{chunk-TITULPXP.js.map → chunk-QLSNKH5D.js.map} +0 -0
  938. /package/dist/{chunk-X6LTFBPF.js.map → chunk-RDRWLYFV.js.map} +0 -0
  939. /package/dist/{chunk-GRXRHZ4A.js.map → chunk-RN3IVT3B.js.map} +0 -0
  940. /package/dist/{chunk-PS7CL7EG.js.map → chunk-RZOHIOPP.js.map} +0 -0
  941. /package/dist/{chunk-QTVINOQE.js.map → chunk-SELCZP76.js.map} +0 -0
  942. /package/dist/{chunk-QAEUP6YB.js.map → chunk-SY7CUZGW.js.map} +0 -0
  943. /package/dist/{chunk-ESPNAT2X.js.map → chunk-T55DY36I.js.map} +0 -0
  944. /package/dist/{chunk-2GZM5T3H.js.map → chunk-T5FACY43.js.map} +0 -0
  945. /package/dist/{chunk-ZPJPY7ZB.js.map → chunk-TR72BZ4D.js.map} +0 -0
  946. /package/dist/{chunk-V76H3HWD.js.map → chunk-TXLSPOLG.js.map} +0 -0
  947. /package/dist/{chunk-P3RBPZ2B.js.map → chunk-UTOVP53O.js.map} +0 -0
  948. /package/dist/{chunk-ZVMOABEC.js.map → chunk-V7T6HAPO.js.map} +0 -0
  949. /package/dist/{chunk-XGSSYHX2.js.map → chunk-VDHPAQUM.js.map} +0 -0
  950. /package/dist/{chunk-QTIPLD3K.js.map → chunk-VELT4JFT.js.map} +0 -0
  951. /package/dist/{chunk-PGZQC4LF.js.map → chunk-VPWLH6VS.js.map} +0 -0
  952. /package/dist/{chunk-LHNNC272.js.map → chunk-VXLFFMW6.js.map} +0 -0
  953. /package/dist/{chunk-EAE3RG4W.js.map → chunk-VZQHMRYM.js.map} +0 -0
  954. /package/dist/{chunk-DWKUYUKC.js.map → chunk-WE2FY3CF.js.map} +0 -0
  955. /package/dist/{chunk-KTA3Q7JV.js.map → chunk-X4NF7IMQ.js.map} +0 -0
  956. /package/dist/{chunk-JQKJC6KH.js.map → chunk-X6CSCKXX.js.map} +0 -0
  957. /package/dist/{chunk-LQ2OYP25.js.map → chunk-XBLVA6BC.js.map} +0 -0
  958. /package/dist/{chunk-7O4VEYQV.js.map → chunk-Y4XW2LW3.js.map} +0 -0
  959. /package/dist/{chunk-CGRANKYS.js.map → chunk-YAMDF3DT.js.map} +0 -0
  960. /package/dist/{chunk-3IVL6SS5.js.map → chunk-YCCTIFI7.js.map} +0 -0
  961. /package/dist/{chunk-KLAU6NPL.js.map → chunk-YWHOPJG5.js.map} +0 -0
  962. /package/dist/{chunk-RHVRFQKS.js.map → chunk-Z7WMTBGD.js.map} +0 -0
  963. /package/dist/{chunk-NAF5XSOI.js.map → chunk-ZBSG24TQ.js.map} +0 -0
  964. /package/dist/{chunk-MGHAKUDW.js.map → chunk-ZIZBAKJF.js.map} +0 -0
  965. /package/dist/{companies-LVDHY743.js.map → companies-6FM3CALY.js.map} +0 -0
  966. /package/dist/{connect-BUO24HMV.js.map → connect-J6M3W7WW.js.map} +0 -0
  967. /package/dist/{conversion-report-4WJ5D4FD.js.map → conversion-report-ZPENZMJF.js.map} +0 -0
  968. /package/dist/{conversion-upload-command-XMYX7HY7.js.map → conversion-upload-command-6TY2DIBM.js.map} +0 -0
  969. /package/dist/{conversion-writes-2W3RVOJW.js.map → conversion-writes-NIDUTQHX.js.map} +0 -0
  970. /package/dist/{conversions-TI3MZYCT.js.map → conversions-3Q3PEAAN.js.map} +0 -0
  971. /package/dist/{creatives-RWBCFP5N.js.map → creatives-PW2P7VMU.js.map} +0 -0
  972. /package/dist/{currency-L2VCDEKG.js.map → currency-CLB7ROUV.js.map} +0 -0
  973. /package/dist/{customers-ES3C4NSF.js.map → customers-OHB5EY7Z.js.map} +0 -0
  974. /package/dist/{data-GXAJGTKM.js.map → data-ZDTEJD6A.js.map} +0 -0
  975. /package/dist/{discover-ZIAHE6QG.js.map → discover-EAI4WDSL.js.map} +0 -0
  976. /package/dist/{draft-UIFX2SZ4.js.map → draft-IHEEODST.js.map} +0 -0
  977. /package/dist/{draft-OHS254X2.js.map → draft-R3GI7JWY.js.map} +0 -0
  978. /package/dist/{fit-KJCW4OME.js.map → fit-BNMTWIDZ.js.map} +0 -0
  979. /package/dist/{forecast-HXPATM6B.js.map → forecast-YFCLMXAV.js.map} +0 -0
  980. /package/dist/{generate-AQZZ5LHX.js.map → generate-7467FZZH.js.map} +0 -0
  981. /package/dist/{google-RRNBSRIF.js.map → google-GBGLPAP5.js.map} +0 -0
  982. /package/dist/{history-CH3UMQOA.js.map → history-KBTYILFZ.js.map} +0 -0
  983. /package/dist/{ideas-KOTCKHZ7.js.map → ideas-UK74GJGE.js.map} +0 -0
  984. /package/dist/{images-67WOVPMU.js.map → images-OH7KDUR5.js.map} +0 -0
  985. /package/dist/{ingest-V3VLS2GX.js.map → ingest-2BC3W4WC.js.map} +0 -0
  986. /package/dist/{insights-FBGRQJZH.js.map → insights-MZ5DPH5X.js.map} +0 -0
  987. /package/dist/{inspect-3N23E55T.js.map → inspect-ZMCRHR2P.js.map} +0 -0
  988. /package/dist/{intent-D4QWUY4I.js.map → intent-6NJBN3OR.js.map} +0 -0
  989. /package/dist/{keyword-gap-EJ56IFRD.js.map → keyword-gap-Y5J2VZDP.js.map} +0 -0
  990. /package/dist/{languages-O3T67HG2.js.map → languages-H4VPFO7Y.js.map} +0 -0
  991. /package/dist/{line-items-7W2GCO5X.js.map → line-items-RUC54PIV.js.map} +0 -0
  992. /package/dist/{locations-7UESZZO3.js.map → locations-AR4ZTFT4.js.map} +0 -0
  993. /package/dist/{locations-VQRCHGHB.js.map → locations-UPY33JUY.js.map} +0 -0
  994. /package/dist/{media-sources-M7IEBLF4.js.map → media-sources-KUEQ45V5.js.map} +0 -0
  995. /package/dist/{metrics-UKMUGQBU.js.map → metrics-BNLDV4BU.js.map} +0 -0
  996. /package/dist/{models-ELL6ENZ2.js.map → models-QEB3EOSF.js.map} +0 -0
  997. /package/dist/{performance-HXN4VDES.js.map → performance-BIH653SL.js.map} +0 -0
  998. /package/dist/{pixels-AWPYUSNW.js.map → pixels-M2UBKUJI.js.map} +0 -0
  999. /package/dist/{promoted-tweets-FIZPPRWC.js.map → promoted-tweets-6YCNFVJK.js.map} +0 -0
  1000. /package/dist/{query-ZIV5EBKY.js.map → query-FZAFUWCX.js.map} +0 -0
  1001. /package/dist/{reddit-SNZKEOHI.js.map → reddit-Z4REP3DB.js.map} +0 -0
  1002. /package/dist/{relevant-pages-EZKKBNRV.js.map → relevant-pages-OFFMPMKG.js.map} +0 -0
  1003. /package/dist/{research-XYT644PB.js.map → research-M6YZMTCC.js.map} +0 -0
  1004. /package/dist/{run-43NCNGRY.js.map → run-MBVV64FY.js.map} +0 -0
  1005. /package/dist/{scheduled-agents-4YP54YJK.js.map → scheduled-agents-T7CITLJL.js.map} +0 -0
  1006. /package/dist/{schema-CA2UFQUW.js.map → schema-6WONG4NR.js.map} +0 -0
  1007. /package/dist/{search-terms-32OOCXD7.js.map → search-terms-OFLKWSEF.js.map} +0 -0
  1008. /package/dist/{sources-EGHEL2V3.js.map → sources-3RQZ3AR2.js.map} +0 -0
  1009. /package/dist/{studio-RMYKICEJ.js.map → studio-2X6UOCAR.js.map} +0 -0
  1010. /package/dist/{sync-definition-KLQLOZPZ.js.map → sync-definition-MR7XESTS.js.map} +0 -0
  1011. /package/dist/{tags-JQZD5NKA.js.map → tags-I3AJEMKF.js.map} +0 -0
  1012. /package/dist/{targeting-criteria-3ZF7OGTF.js.map → targeting-criteria-QFFAYBGE.js.map} +0 -0
  1013. /package/dist/{testimonials-FGQKJKGY.js.map → testimonials-67Q3OTBU.js.map} +0 -0
  1014. /package/dist/{themes-VOLV4Z6M.js.map → themes-VAKXKG4M.js.map} +0 -0
  1015. /package/dist/{url-options-HQWSPLSF.js.map → url-options-DOOHH2JE.js.map} +0 -0
  1016. /package/dist/{videos-HAHE7F2S.js.map → videos-URSOTIHU.js.map} +0 -0
  1017. /package/dist/{viewer-check-JOUCCF4N.js.map → viewer-check-N3SEOOMX.js.map} +0 -0
  1018. /package/dist/{winning-ads-KL6USUDL.js.map → winning-ads-TCRRYKCR.js.map} +0 -0
  1019. /package/dist/{x-KYKM3XN4.js.map → x-K6IWYLK3.js.map} +0 -0
@@ -0,0 +1,1124 @@
1
+ import {
2
+ flowsDir,
3
+ walkNodes
4
+ } from "./chunk-UTOVP53O.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-2PNBK7KZ.js.map