@koda-sl/baker-cli 0.851.0-dev.9afc75982 → 0.851.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (887) hide show
  1. package/README.md +3 -7
  2. package/dist/account-LYIKZSK6.js +82 -0
  3. package/dist/account-NUMWJW6T.js +83 -0
  4. package/dist/account-reads-XQW6DONK.js +230 -0
  5. package/dist/account-users-HLAIWV56.js +69 -0
  6. package/dist/account-writes-SQNABDXI.js +68 -0
  7. package/dist/accounts-3SJ7MJ2J.js +122 -0
  8. package/dist/accounts-DEE32AAB.js +505 -0
  9. package/dist/accounts-VD3L6PNZ.js +81 -0
  10. package/dist/actions-FRKZVXCV.js +55 -0
  11. package/dist/activecampaign-LEFG3NHR.js +935 -0
  12. package/dist/ad-group-writes-KEFM32CI.js +172 -0
  13. package/dist/ad-groups-LQ43ZKNL.js +70 -0
  14. package/dist/ad-writes-XPHRUOPG.js +176 -0
  15. package/dist/add-AGLSZKII.js +108 -0
  16. package/dist/add-D4LTUMP7.js +662 -0
  17. package/dist/add-SX4AZSWP.js +661 -0
  18. package/dist/ads-ANPWI4VC.js +48 -0
  19. package/dist/ads-IHKW7OPB.js +79 -0
  20. package/dist/advertisers-Y3XOK4KZ.js +126 -0
  21. package/dist/alerts-NIPFX5W7.js +153 -0
  22. package/dist/analytics-56YWZQXD.js +2791 -0
  23. package/dist/analytics-62RX4Y7M.js +461 -0
  24. package/dist/animate-FNBWXIGV.js +482 -0
  25. package/dist/assign-5LY7WGFF.js +83 -0
  26. package/dist/audience-size-QS2KK5LQ.js +77 -0
  27. package/dist/audiences-ICDEHT2G.js +280 -0
  28. package/dist/audit-DGFXEARA.js +155 -0
  29. package/dist/autocomplete-IKXTDPIZ.js +117 -0
  30. package/dist/avatars-7XQ7CHR5.js +38 -0
  31. package/dist/bid-pricing-XQH4KP6G.js +104 -0
  32. package/dist/brief-AJNHUSNI.js +511 -0
  33. package/dist/campaign-groups-2Q5ZY77R.js +118 -0
  34. package/dist/campaign-writes-KN5W3MHP.js +176 -0
  35. package/dist/campaign-writes-ZAI7K5DH.js +169 -0
  36. package/dist/campaigns-3BV5AJWW.js +78 -0
  37. package/dist/campaigns-BECFEETG.js +193 -0
  38. package/dist/campaigns-ZL7H636S.js +111 -0
  39. package/dist/canvas-2KNBZMU6.js +48 -0
  40. package/dist/capabilities-YC7R3SC2.js +184 -0
  41. package/dist/catalog-IUC2NDKC.js +89 -0
  42. package/dist/catalogs-OBZ6RBGL.js +130 -0
  43. package/dist/changes-VNVWJDIH.js +288 -0
  44. package/dist/chatgpt-HBHB7HCD.js +47 -0
  45. package/dist/chats-76BSMXGD.js +659 -0
  46. package/dist/check-M7BR7ZE5.js +54 -0
  47. package/dist/chunk-22FIUNKA.js +24026 -0
  48. package/dist/chunk-22FIUNKA.js.map +1 -0
  49. package/dist/chunk-2QW27HOH.js +8382 -0
  50. package/dist/chunk-2QW27HOH.js.map +1 -0
  51. package/dist/chunk-34HHJJGC.js +685 -0
  52. package/dist/chunk-56ZBWT6K.js +547 -0
  53. package/dist/chunk-5JW4S663.js +64 -0
  54. package/dist/chunk-5RV3FV3C.js +660 -0
  55. package/dist/chunk-5X32X4Y4.js +915 -0
  56. package/dist/chunk-7BLFVYVN.js +51 -0
  57. package/dist/chunk-A4WTEJUI.js +91 -0
  58. package/dist/chunk-ADAHRMJK.js +46 -0
  59. package/dist/chunk-BSZG36OF.js +98 -0
  60. package/dist/chunk-CA37TFTI.js +1124 -0
  61. package/dist/chunk-CAPYJQDN.js +224 -0
  62. package/dist/chunk-CGW6CIGD.js +479 -0
  63. package/dist/chunk-CK5QALZI.js +251 -0
  64. package/dist/chunk-CNVV272P.js +106 -0
  65. package/dist/chunk-CNVV272P.js.map +1 -0
  66. package/dist/chunk-DVAVH7UV.js +103 -0
  67. package/dist/chunk-DWKUYUKC.js +1862 -0
  68. package/dist/chunk-DZE2UHST.js +147 -0
  69. package/dist/chunk-E6UZBNR2.js +61 -0
  70. package/dist/chunk-ELNXADRL.js +91 -0
  71. package/dist/chunk-FCX746P4.js +6340 -0
  72. package/dist/chunk-FGTSDCB4.js +175 -0
  73. package/dist/chunk-GHQ365RX.js +3378 -0
  74. package/dist/chunk-H7JSYC4X.js +4416 -0
  75. package/dist/chunk-H7JSYC4X.js.map +1 -0
  76. package/dist/chunk-HHX73JNN.js +313 -0
  77. package/dist/chunk-ICEPT2UY.js +260 -0
  78. package/dist/chunk-IDJKNL7P.js +392 -0
  79. package/dist/chunk-INW3G4P3.js +749 -0
  80. package/dist/chunk-IYMF3GSB.js +396 -0
  81. package/dist/chunk-J4Z2AP32.js +47 -0
  82. package/dist/chunk-J4Z2AP32.js.map +1 -0
  83. package/dist/chunk-KLF5K55H.js +732 -0
  84. package/dist/chunk-KQ4XRUMX.js +341 -0
  85. package/dist/chunk-LQ2OYP25.js +1577 -0
  86. package/dist/chunk-LVJTYN5B.js +155 -0
  87. package/dist/chunk-LXDZCFII.js +375 -0
  88. package/dist/chunk-M565FRON.js +329 -0
  89. package/dist/chunk-MCAY57W7.js +9127 -0
  90. package/dist/chunk-MIAAADD3.js +320 -0
  91. package/dist/chunk-MJX6NXSX.js +65 -0
  92. package/dist/chunk-NAF5XSOI.js +430 -0
  93. package/dist/chunk-O27BGGFC.js +152 -0
  94. package/dist/chunk-O7JZT4G3.js +262 -0
  95. package/dist/chunk-OTLMQDGW.js +374 -0
  96. package/dist/chunk-QAEUP6YB.js +89 -0
  97. package/dist/chunk-QTIPLD3K.js +274 -0
  98. package/dist/chunk-QZKXZX26.js +411 -0
  99. package/dist/chunk-RUCJNF4B.js +423 -0
  100. package/dist/chunk-SAA4VKF2.js +285 -0
  101. package/dist/chunk-SCN5ZF4U.js +76 -0
  102. package/dist/chunk-SELST7KK.js +170 -0
  103. package/dist/chunk-SH5WRHTG.js +78 -0
  104. package/dist/chunk-T7V2OPW2.js +127 -0
  105. package/dist/chunk-URX6OGYP.js +202 -0
  106. package/dist/chunk-V6OAGU3U.js +509 -0
  107. package/dist/chunk-V76H3HWD.js +505 -0
  108. package/dist/chunk-VDS6NSLF.js +877 -0
  109. package/dist/chunk-VPNV2WDD.js +303 -0
  110. package/dist/chunk-VRCUW2J5.js +23 -0
  111. package/dist/chunk-WONTGSXR.js +170 -0
  112. package/dist/chunk-WUYDIH4N.js +142 -0
  113. package/dist/chunk-X6LTFBPF.js +604 -0
  114. package/dist/chunk-X7UGF2LE.js +197 -0
  115. package/dist/chunk-XOQWT2LZ.js +548 -0
  116. package/dist/chunk-XQRMBE6T.js +1883 -0
  117. package/dist/chunk-XTNXJZRK.js +863 -0
  118. package/dist/chunk-YIQ6VJ4H.js +10361 -0
  119. package/dist/chunk-YYN6I6L5.js +163 -0
  120. package/dist/chunk-ZJK3PVM2.js +723 -0
  121. package/dist/chunk-ZSC3LYTP.js +3248 -0
  122. package/dist/chunk-ZSC3LYTP.js.map +1 -0
  123. package/dist/chunk-ZVA2BZKM.js +746 -0
  124. package/dist/chunk-ZXG5MYV4.js +26 -0
  125. package/dist/claim-W2QLJLKZ.js +218 -0
  126. package/dist/cli.js +35 -35
  127. package/dist/companies-TJR33KNS.js +36 -0
  128. package/dist/company-OGES42WN.js +311 -0
  129. package/dist/complete-FCR3UXSH.js +87 -0
  130. package/dist/connect-KACFSWER.js +46 -0
  131. package/dist/conversation-TLM7HDLK.js +100 -0
  132. package/dist/conversion-report-4WJ5D4FD.js +130 -0
  133. package/dist/conversion-upload-command-REUCOQWP.js +456 -0
  134. package/dist/conversion-writes-2W3RVOJW.js +194 -0
  135. package/dist/conversions-2QHK35VN.js +141 -0
  136. package/dist/conversions-TI3MZYCT.js +78 -0
  137. package/dist/create-5VQBHCGR.js +356 -0
  138. package/dist/create-EAY2FGWT.js +65 -0
  139. package/dist/create-EN2XXE7H.js +190 -0
  140. package/dist/create-TIKC6VNL.js +219 -0
  141. package/dist/creatives-U2CIA6KE.js +235 -0
  142. package/dist/creatives-UHWKNFHM.js +48 -0
  143. package/dist/credentials-TSWUQUWC.js +291 -0
  144. package/dist/critique-KZH23SLS.js +230 -0
  145. package/dist/crm-55ZVWDQF.js +327 -0
  146. package/dist/crm-REPCWBGZ.js +418 -0
  147. package/dist/currency-W5SXMZMS.js +91 -0
  148. package/dist/customers-UN5KGSPW.js +69 -0
  149. package/dist/data-GXAJGTKM.js +665 -0
  150. package/dist/delete-3BHIQWRA.js +60 -0
  151. package/dist/delete-UJTIAYNP.js +71 -0
  152. package/dist/delete-Z2TCOW7K.js +70 -0
  153. package/dist/demographics-EAX6HNK7.js +145 -0
  154. package/dist/discard-BJ4ZSAHC.js +72 -0
  155. package/dist/discover-RHVFYP6K.js +191 -0
  156. package/dist/domain-O5ZO3DND.js +104 -0
  157. package/dist/download-4GPS3IQ7.js +174 -0
  158. package/dist/draft-4A3QXAHP.js +389 -0
  159. package/dist/draft-APO4PJTI.js +427 -0
  160. package/dist/draft-ORRHY3BU.js +227 -0
  161. package/dist/draft-UIFX2SZ4.js +340 -0
  162. package/dist/draft-ULEQPQYF.js +640 -0
  163. package/dist/engine/index.js +9 -9
  164. package/dist/experiments-LMMZJPZU.js +241 -0
  165. package/dist/extract-DJNIQC3V.js +144 -0
  166. package/dist/facets-V2AKFR2X.js +118 -0
  167. package/dist/feedback-6P545EJO.js +115 -0
  168. package/dist/fetch-D7I5WPU5.js +487 -0
  169. package/dist/fit-BMJTIAOF.js +69 -0
  170. package/dist/flows-LCP5GK5X.js +342 -0
  171. package/dist/forecast-BAP5V237.js +189 -0
  172. package/dist/forecast-DTEBUBC2.js +122 -0
  173. package/dist/funnel-HBLIX62B.js +701 -0
  174. package/dist/generate-AQZZ5LHX.js +265 -0
  175. package/dist/get-FPNIXE7U.js +114 -0
  176. package/dist/get-UEL3XOCM.js +77 -0
  177. package/dist/google-EQQN5LVF.js +164 -0
  178. package/dist/google-SO2H3SLF.js +3765 -0
  179. package/dist/google-SO2H3SLF.js.map +1 -0
  180. package/dist/google-ads-AIVV6NDM.js +201 -0
  181. package/dist/history-2SQ5K7SI.js +108 -0
  182. package/dist/history-CH3UMQOA.js +204 -0
  183. package/dist/history-EQO2QAQX.js +155 -0
  184. package/dist/hubspot-FP5F3DF6.js +853 -0
  185. package/dist/ideas-ZZVGRYFM.js +49 -0
  186. package/dist/images-WPECEULY.js +92 -0
  187. package/dist/ingest-IJYPSWBT.js +162 -0
  188. package/dist/ingest-LAONXSXA.js +31 -0
  189. package/dist/insights-FBGRQJZH.js +151 -0
  190. package/dist/inspect-AGYBLEOH.js +38 -0
  191. package/dist/intent-7Z2X4EL6.js +97 -0
  192. package/dist/keyword-gap-4INNXP3Q.js +132 -0
  193. package/dist/keyword-metrics-L2KRRX6S.js +234 -0
  194. package/dist/keywords-for-site-CMVX773Q.js +134 -0
  195. package/dist/languages-I7M63R3S.js +41 -0
  196. package/dist/leads-AZA4XCI6.js +137 -0
  197. package/dist/learn-DR3M4NWV.js +213 -0
  198. package/dist/line-item-writes-HKUDMC7V.js +212 -0
  199. package/dist/line-items-FYEWAYZI.js +107 -0
  200. package/dist/link-I3IJAUDD.js +70 -0
  201. package/dist/linkedin-LDQEX5EI.js +1498 -0
  202. package/dist/linkedin-person-KMCYKTNQ.js +142 -0
  203. package/dist/list-FF4Z7ZSJ.js +89 -0
  204. package/dist/list-G5QSLYQQ.js +64 -0
  205. package/dist/list-G5QSLYQQ.js.map +1 -0
  206. package/dist/list-IMA2UKN4.js +320 -0
  207. package/dist/list-YLNP2PNI.js +169 -0
  208. package/dist/list-YLNP2PNI.js.map +1 -0
  209. package/dist/locations-2XCXK5FB.js +41 -0
  210. package/dist/locations-7UESZZO3.js +69 -0
  211. package/dist/log-6XLS6FF6.js +98 -0
  212. package/dist/make-H36SC6HA.js +1391 -0
  213. package/dist/map-AH3GT36P.js +519 -0
  214. package/dist/mcp-WOGB4LFO.js +1017 -0
  215. package/dist/media-sources-W7WLORRN.js +35 -0
  216. package/dist/members-PKQM7VME.js +50 -0
  217. package/dist/metrics-RZXAVZWW.js +193 -0
  218. package/dist/models-ELL6ENZ2.js +155 -0
  219. package/dist/normalize-ISMEKGAM.js +145 -0
  220. package/dist/options-LG4TJYZF.js +126 -0
  221. package/dist/organization-5F2UNO53.js +949 -0
  222. package/dist/people-4MXQW22A.js +161 -0
  223. package/dist/people-KJXAYQDE.js +171 -0
  224. package/dist/performance-BZ2D62UE.js +28 -0
  225. package/dist/performance-WDOBJ3NO.js +6294 -0
  226. package/dist/pipedrive-3YC2GR3M.js +533 -0
  227. package/dist/pixels-AWPYUSNW.js +62 -0
  228. package/dist/preview-JSTSQFXH.js +103 -0
  229. package/dist/promoted-tweet-writes-DP6ORCNX.js +184 -0
  230. package/dist/promoted-tweets-VCEY6KCG.js +119 -0
  231. package/dist/publish-A5HHFTWT.js +430 -0
  232. package/dist/query-MAQFFK7H.js +68 -0
  233. package/dist/reddit-DOZRSZG2.js +30 -0
  234. package/dist/refresh-TV4644XE.js +100 -0
  235. package/dist/release-LZ3AJFQJ.js +66 -0
  236. package/dist/relevant-pages-FEF5NHMU.js +101 -0
  237. package/dist/remove-QOMG2RPN.js +54 -0
  238. package/dist/reopen-ET5XH2A4.js +69 -0
  239. package/dist/rerun-2YHAQMZ6.js +101 -0
  240. package/dist/research-MJXOZXCS.js +266 -0
  241. package/dist/research-SYXCLMVQ.js +78 -0
  242. package/dist/reset-35CQVJUF.js +58 -0
  243. package/dist/reset-JJ7HESHC.js +58 -0
  244. package/dist/resolve-WPW3WUCU.js +125 -0
  245. package/dist/retry-OGM3ZT64.js +66 -0
  246. package/dist/retry-RZFRN73L.js +66 -0
  247. package/dist/revenue-KPTLBWRO.js +99 -0
  248. package/dist/rules-XX7BZNGH.js +163 -0
  249. package/dist/run-4DEZ54GA.js +78 -0
  250. package/dist/run-CI6MGV3E.js +73 -0
  251. package/dist/scaffold-ad-X4QQ5HSR.js +1600 -0
  252. package/dist/scaffold-static-ad-UWCRDNVI.js +998 -0
  253. package/dist/scaffold-video-4MXIJ64P.js +888 -0
  254. package/dist/schedule-HBHXSZCK.js +65 -0
  255. package/dist/scheduled-agents-TF5NL3EG.js +59 -0
  256. package/dist/schema-G77I7C6X.js +136 -0
  257. package/dist/schema-YAHA75PQ.js +241 -0
  258. package/dist/search-ITIKP5AS.js +192 -0
  259. package/dist/search-ITIKP5AS.js.map +1 -0
  260. package/dist/search-terms-4F25WL6Y.js +412 -0
  261. package/dist/select-7BD4B6VZ.js +134 -0
  262. package/dist/set-GIOOD7K7.js +274 -0
  263. package/dist/set-prompt-L3EKRWN7.js +204 -0
  264. package/dist/setup-links-IHQ5WONJ.js +145 -0
  265. package/dist/shopify-6WFQCGUS.js +4032 -0
  266. package/dist/site-M3MBRLZJ.js +181 -0
  267. package/dist/sources-DE7QIZSV.js +30 -0
  268. package/dist/sources-LML63ISG.js +463 -0
  269. package/dist/stale-APSUW4OJ.js +92 -0
  270. package/dist/status-77OL4B45.js +68 -0
  271. package/dist/stock-KM3WLRHN.js +213 -0
  272. package/dist/studio-RMYKICEJ.js +49 -0
  273. package/dist/sync-L25EVQAI.js +58 -0
  274. package/dist/sync-definition-D2OIDCSI.js +74 -0
  275. package/dist/tags-AXCQCJGZ.js +24 -0
  276. package/dist/tags-KGWISKLB.js +26 -0
  277. package/dist/tags-MZFIIXL5.js +24 -0
  278. package/dist/tags-QQXAAWUY.js +182 -0
  279. package/dist/tags-RTIT7IW2.js +24 -0
  280. package/dist/targeting-criteria-IZ6DPA3L.js +113 -0
  281. package/dist/targets-OGGHIAZI.js +110 -0
  282. package/dist/testimonials-JHB7OKIY.js +32 -0
  283. package/dist/themes-FPIC5RUE.js +102 -0
  284. package/dist/top-companies-ICP6X6KR.js +250 -0
  285. package/dist/transcript-KF736ZJ3.js +168 -0
  286. package/dist/translate-5QHIX5EW.js +607 -0
  287. package/dist/triggers-TSNJSHMU.js +148 -0
  288. package/dist/unlink-GH4D444H.js +73 -0
  289. package/dist/unstage-I2NYIM25.js +92 -0
  290. package/dist/update-35NWLUT5.js +237 -0
  291. package/dist/update-HEMI6DKR.js +193 -0
  292. package/dist/update-PFCO5LEE.js +175 -0
  293. package/dist/update-RUBMPMZB.js +69 -0
  294. package/dist/upload-I4WIFYMS.js +185 -0
  295. package/dist/url-options-PBCEEKX6.js +137 -0
  296. package/dist/url-params-T7KQX5FJ.js +102 -0
  297. package/dist/validate-3EGFWTFS.js +180 -0
  298. package/dist/videos-P3U53TZL.js +41 -0
  299. package/dist/viewer-check-ZGUCQHTC.js +89 -0
  300. package/dist/visuals-JYOZPGB7.js +129 -0
  301. package/dist/web-SHS6TJWV.js +180 -0
  302. package/dist/winning-ads-L5HVV5OR.js +88 -0
  303. package/dist/write-commands-FUOSA6MJ.js +1555 -0
  304. package/dist/x-VG4U3PFE.js +47 -0
  305. package/package.json +1 -1
  306. package/dist/account-LMDIUOJG.js +0 -83
  307. package/dist/account-Y3IDIJ3T.js +0 -82
  308. package/dist/account-reads-XOGHJB3K.js +0 -230
  309. package/dist/account-users-6RC5HDP3.js +0 -69
  310. package/dist/account-writes-EP35RCNO.js +0 -68
  311. package/dist/accounts-7CHGRXBP.js +0 -122
  312. package/dist/accounts-LIGSG5NQ.js +0 -505
  313. package/dist/accounts-YMDEDCHU.js +0 -81
  314. package/dist/actions-U4QMVB4H.js +0 -55
  315. package/dist/activecampaign-WPHFFOGW.js +0 -935
  316. package/dist/ad-group-writes-EVLV4BRD.js +0 -172
  317. package/dist/ad-groups-UQRBWF2N.js +0 -70
  318. package/dist/ad-writes-EBCZ5DCY.js +0 -176
  319. package/dist/add-AFPBNJDW.js +0 -108
  320. package/dist/add-M3YT32OX.js +0 -661
  321. package/dist/add-UJOKKBPM.js +0 -662
  322. package/dist/ads-2TOWF4GX.js +0 -79
  323. package/dist/ads-T42GRQ7H.js +0 -48
  324. package/dist/advertisers-NJE6DBLG.js +0 -126
  325. package/dist/alerts-CQ34OPCP.js +0 -153
  326. package/dist/analytics-54QRGO5T.js +0 -461
  327. package/dist/analytics-HW6SG6ZE.js +0 -2791
  328. package/dist/animate-EN7VTJEI.js +0 -482
  329. package/dist/assign-WIIL5VY7.js +0 -83
  330. package/dist/audience-size-2KL27ETQ.js +0 -77
  331. package/dist/audiences-EZK4PDB5.js +0 -280
  332. package/dist/audit-EPWNTRPE.js +0 -155
  333. package/dist/autocomplete-JWML26GX.js +0 -117
  334. package/dist/avatars-D7S43BGZ.js +0 -38
  335. package/dist/bid-pricing-MD7ROXQT.js +0 -104
  336. package/dist/brief-JWYWQXOP.js +0 -511
  337. package/dist/campaign-groups-ZT3ZHZFF.js +0 -118
  338. package/dist/campaign-writes-4T5DSUMT.js +0 -176
  339. package/dist/campaign-writes-72H332R4.js +0 -169
  340. package/dist/campaigns-5BYWFXHO.js +0 -78
  341. package/dist/campaigns-Q363NCWU.js +0 -111
  342. package/dist/campaigns-TDR6VKYL.js +0 -193
  343. package/dist/canvas-T6ALQYZT.js +0 -48
  344. package/dist/capabilities-N52A6X2S.js +0 -184
  345. package/dist/catalog-WKBCL56H.js +0 -89
  346. package/dist/catalogs-YJSOVGDM.js +0 -130
  347. package/dist/changes-YOTRCCNB.js +0 -288
  348. package/dist/chatgpt-DPLD452Q.js +0 -47
  349. package/dist/chats-D5TGNPFK.js +0 -659
  350. package/dist/check-6QZ2U6WJ.js +0 -54
  351. package/dist/chunk-2AW62CH3.js +0 -46
  352. package/dist/chunk-2BRVIOKO.js +0 -197
  353. package/dist/chunk-2FBSB7UF.js +0 -64
  354. package/dist/chunk-2N5MQP65.js +0 -127
  355. package/dist/chunk-2XKSMHDO.js +0 -10361
  356. package/dist/chunk-2Z2AEFVW.js +0 -915
  357. package/dist/chunk-3TWET6OD.js +0 -396
  358. package/dist/chunk-433NCHRS.js +0 -4413
  359. package/dist/chunk-433NCHRS.js.map +0 -1
  360. package/dist/chunk-4A2UZ3Q3.js +0 -24026
  361. package/dist/chunk-4A2UZ3Q3.js.map +0 -1
  362. package/dist/chunk-6H6BJBBS.js +0 -329
  363. package/dist/chunk-6XOAPUW4.js +0 -509
  364. package/dist/chunk-7J5XOR5D.js +0 -98
  365. package/dist/chunk-ACIBARQU.js +0 -251
  366. package/dist/chunk-AQHT2XKB.js +0 -3378
  367. package/dist/chunk-ATUFMGY3.js +0 -320
  368. package/dist/chunk-B43NI7QF.js +0 -52
  369. package/dist/chunk-B43NI7QF.js.map +0 -1
  370. package/dist/chunk-B5RLBFMI.js +0 -26
  371. package/dist/chunk-BDULC6LM.js +0 -479
  372. package/dist/chunk-BPUNOSXM.js +0 -548
  373. package/dist/chunk-CE6M4VLG.js +0 -1883
  374. package/dist/chunk-CPRSVECH.js +0 -303
  375. package/dist/chunk-CV74M3H6.js +0 -723
  376. package/dist/chunk-CZWMU2GB.js +0 -142
  377. package/dist/chunk-D7DLBQLS.js +0 -76
  378. package/dist/chunk-DIOKO2YD.js +0 -660
  379. package/dist/chunk-DZUYNVKJ.js +0 -423
  380. package/dist/chunk-E2BFPWA5.js +0 -175
  381. package/dist/chunk-EDDHOHTW.js +0 -285
  382. package/dist/chunk-EMZ6P2KH.js +0 -6340
  383. package/dist/chunk-F7DCEGAA.js +0 -392
  384. package/dist/chunk-FCWDXKLI.js +0 -732
  385. package/dist/chunk-FEP257NO.js +0 -65
  386. package/dist/chunk-G4IFJB4Z.js +0 -863
  387. package/dist/chunk-GB2U76OM.js +0 -224
  388. package/dist/chunk-GJPS6SUI.js +0 -147
  389. package/dist/chunk-HSPOURUB.js +0 -877
  390. package/dist/chunk-I3HEOUZT.js +0 -1124
  391. package/dist/chunk-IDBREOFA.js +0 -106
  392. package/dist/chunk-IDBREOFA.js.map +0 -1
  393. package/dist/chunk-INY6DR2Y.js +0 -374
  394. package/dist/chunk-JHPZATWG.js +0 -152
  395. package/dist/chunk-JY2NBRHH.js +0 -78
  396. package/dist/chunk-KN2UAGSU.js +0 -91
  397. package/dist/chunk-LDF2VXPC.js +0 -155
  398. package/dist/chunk-LRWUQABW.js +0 -262
  399. package/dist/chunk-MJ5JHMLF.js +0 -163
  400. package/dist/chunk-NLWOT26L.js +0 -411
  401. package/dist/chunk-NZZ7ATO5.js +0 -3248
  402. package/dist/chunk-NZZ7ATO5.js.map +0 -1
  403. package/dist/chunk-O2YPJPMO.js +0 -547
  404. package/dist/chunk-ODDHGVQE.js +0 -51
  405. package/dist/chunk-P6Z44HNW.js +0 -9127
  406. package/dist/chunk-P7Q7YO4E.js +0 -170
  407. package/dist/chunk-PSPSKOQR.js +0 -341
  408. package/dist/chunk-QLIJ4NRV.js +0 -8418
  409. package/dist/chunk-QLIJ4NRV.js.map +0 -1
  410. package/dist/chunk-QNPOFQV5.js +0 -170
  411. package/dist/chunk-QZMBPEUW.js +0 -202
  412. package/dist/chunk-RDRWLYFV.js +0 -604
  413. package/dist/chunk-RKGYVC2C.js +0 -685
  414. package/dist/chunk-SBP7CF7S.js +0 -260
  415. package/dist/chunk-SY7CUZGW.js +0 -89
  416. package/dist/chunk-TJZKZKCQ.js +0 -91
  417. package/dist/chunk-TVZCWBC5.js +0 -61
  418. package/dist/chunk-TXLSPOLG.js +0 -505
  419. package/dist/chunk-V7T6HAPO.js +0 -375
  420. package/dist/chunk-VELT4JFT.js +0 -274
  421. package/dist/chunk-WCCFBAH4.js +0 -23
  422. package/dist/chunk-WE2FY3CF.js +0 -1862
  423. package/dist/chunk-XBLVA6BC.js +0 -1577
  424. package/dist/chunk-XDFXSMPX.js +0 -103
  425. package/dist/chunk-XFARJ2SL.js +0 -313
  426. package/dist/chunk-YNVE62WW.js +0 -746
  427. package/dist/chunk-ZBSG24TQ.js +0 -430
  428. package/dist/chunk-ZIZBAKJF.js +0 -749
  429. package/dist/claim-QGYCSESF.js +0 -218
  430. package/dist/companies-VM4DJCIO.js +0 -36
  431. package/dist/company-BPFVTGZK.js +0 -311
  432. package/dist/complete-NNDVV6CH.js +0 -87
  433. package/dist/connect-4G722CGF.js +0 -46
  434. package/dist/conversation-TRXRUTL6.js +0 -100
  435. package/dist/conversion-report-ZPENZMJF.js +0 -130
  436. package/dist/conversion-upload-command-6TY2DIBM.js +0 -456
  437. package/dist/conversion-writes-NIDUTQHX.js +0 -194
  438. package/dist/conversions-3Q3PEAAN.js +0 -78
  439. package/dist/conversions-4RQGCY3I.js +0 -141
  440. package/dist/create-4DUUV34B.js +0 -356
  441. package/dist/create-GAKJO6RX.js +0 -65
  442. package/dist/create-NUV6C7T7.js +0 -219
  443. package/dist/create-TSB2ED7G.js +0 -190
  444. package/dist/creatives-D2756SYZ.js +0 -48
  445. package/dist/creatives-FRNDPYD2.js +0 -235
  446. package/dist/credentials-VDUQOSAI.js +0 -291
  447. package/dist/critique-GCLEP53N.js +0 -230
  448. package/dist/crm-6KBBEU5D.js +0 -327
  449. package/dist/crm-MUVL3BHT.js +0 -418
  450. package/dist/currency-CLB7ROUV.js +0 -91
  451. package/dist/customers-6X6LULB6.js +0 -69
  452. package/dist/data-ZDTEJD6A.js +0 -665
  453. package/dist/delete-FJPGJ2HP.js +0 -71
  454. package/dist/delete-M5Z5QXVO.js +0 -60
  455. package/dist/delete-P66UBMWB.js +0 -70
  456. package/dist/demographics-TEDAJJDS.js +0 -145
  457. package/dist/discard-UXSFTA6C.js +0 -72
  458. package/dist/discover-EAI4WDSL.js +0 -191
  459. package/dist/domain-Y3BKIFLA.js +0 -104
  460. package/dist/download-P2XHLRNA.js +0 -174
  461. package/dist/draft-63RF6RKQ.js +0 -427
  462. package/dist/draft-IHEEODST.js +0 -340
  463. package/dist/draft-N2MVECRV.js +0 -227
  464. package/dist/draft-OJQT5H3E.js +0 -389
  465. package/dist/draft-R3GI7JWY.js +0 -640
  466. package/dist/experiments-BFVLG54V.js +0 -241
  467. package/dist/extract-YH5VKD7W.js +0 -144
  468. package/dist/facets-VJOSK5UL.js +0 -118
  469. package/dist/feedback-ATORZ5XJ.js +0 -115
  470. package/dist/fetch-UDAWFZXZ.js +0 -487
  471. package/dist/fit-4CVULFD2.js +0 -69
  472. package/dist/flows-QXTZHPB6.js +0 -342
  473. package/dist/forecast-DJ67NT6P.js +0 -122
  474. package/dist/forecast-YFCLMXAV.js +0 -189
  475. package/dist/funnel-2C6Z5VA2.js +0 -701
  476. package/dist/generate-7467FZZH.js +0 -265
  477. package/dist/get-GFVZKATP.js +0 -114
  478. package/dist/get-JSO4YJFR.js +0 -77
  479. package/dist/google-GBGLPAP5.js +0 -3759
  480. package/dist/google-GBGLPAP5.js.map +0 -1
  481. package/dist/google-H4KVIAL5.js +0 -164
  482. package/dist/google-ads-KCK27DGG.js +0 -201
  483. package/dist/history-AIZX672U.js +0 -155
  484. package/dist/history-KBTYILFZ.js +0 -204
  485. package/dist/history-LYUJTPSP.js +0 -108
  486. package/dist/hubspot-BZSQ3WMQ.js +0 -853
  487. package/dist/ideas-HHWTU7F2.js +0 -49
  488. package/dist/images-BB6BYS54.js +0 -92
  489. package/dist/ingest-S6HP4LXI.js +0 -31
  490. package/dist/ingest-Z3DRI6A3.js +0 -162
  491. package/dist/insights-MZ5DPH5X.js +0 -151
  492. package/dist/inspect-KC5LTH4E.js +0 -38
  493. package/dist/intent-6NJBN3OR.js +0 -97
  494. package/dist/keyword-gap-Y5J2VZDP.js +0 -132
  495. package/dist/keyword-metrics-VGZIQBSG.js +0 -234
  496. package/dist/keywords-for-site-3HREQUQU.js +0 -134
  497. package/dist/languages-H4VPFO7Y.js +0 -41
  498. package/dist/leads-AKF42B23.js +0 -137
  499. package/dist/learn-6D45W6YN.js +0 -213
  500. package/dist/line-item-writes-SB6B75MY.js +0 -212
  501. package/dist/line-items-22S6PURM.js +0 -107
  502. package/dist/link-CLMY2YW5.js +0 -70
  503. package/dist/linkedin-GTYWIRDX.js +0 -1498
  504. package/dist/linkedin-person-LBU3VGNY.js +0 -142
  505. package/dist/list-MWGLVZR3.js +0 -89
  506. package/dist/list-MXUPVC2W.js +0 -64
  507. package/dist/list-MXUPVC2W.js.map +0 -1
  508. package/dist/list-P6IN6K26.js +0 -226
  509. package/dist/list-P6IN6K26.js.map +0 -1
  510. package/dist/list-SZKENQ2B.js +0 -320
  511. package/dist/locations-AR4ZTFT4.js +0 -69
  512. package/dist/locations-UPY33JUY.js +0 -41
  513. package/dist/log-XOYBG7KX.js +0 -98
  514. package/dist/make-ZBUVEPHX.js +0 -1391
  515. package/dist/map-VBYQNHJR.js +0 -519
  516. package/dist/mcp-RSB47JCJ.js +0 -1017
  517. package/dist/media-sources-ZCXMQCSE.js +0 -35
  518. package/dist/members-QL5TXGND.js +0 -50
  519. package/dist/metrics-BNLDV4BU.js +0 -193
  520. package/dist/models-QEB3EOSF.js +0 -155
  521. package/dist/normalize-YWNW62HI.js +0 -145
  522. package/dist/options-5RRLBIVY.js +0 -126
  523. package/dist/organization-FZUYEBEE.js +0 -949
  524. package/dist/people-FO6OCDP5.js +0 -171
  525. package/dist/people-XGMOJZTE.js +0 -161
  526. package/dist/performance-7AXRRE5J.js +0 -28
  527. package/dist/performance-USJY2HVB.js +0 -6294
  528. package/dist/pipedrive-LWAH5BTV.js +0 -533
  529. package/dist/pixels-M2UBKUJI.js +0 -62
  530. package/dist/preview-5ZMTNYCI.js +0 -103
  531. package/dist/promoted-tweet-writes-VW6XCOL3.js +0 -184
  532. package/dist/promoted-tweets-5Y6RGBJS.js +0 -119
  533. package/dist/publish-ERJPN3EL.js +0 -430
  534. package/dist/query-FZAFUWCX.js +0 -68
  535. package/dist/reddit-OKEJ7EIX.js +0 -30
  536. package/dist/refresh-ACG34ZRD.js +0 -100
  537. package/dist/release-XYWQM7DE.js +0 -66
  538. package/dist/relevant-pages-OFFMPMKG.js +0 -101
  539. package/dist/remove-NJQM5BGF.js +0 -54
  540. package/dist/reopen-BO6G2RRS.js +0 -69
  541. package/dist/rerun-BVUWQCAR.js +0 -101
  542. package/dist/research-2V6WG3XG.js +0 -266
  543. package/dist/research-G7BDWYEG.js +0 -78
  544. package/dist/reset-2DDLUZGB.js +0 -58
  545. package/dist/reset-JPOOEIX7.js +0 -58
  546. package/dist/resolve-J4TIUP3W.js +0 -125
  547. package/dist/retry-MNGVR37L.js +0 -66
  548. package/dist/retry-Y4FLZQVK.js +0 -66
  549. package/dist/revenue-AVLQNUT2.js +0 -99
  550. package/dist/rules-UBZ32MQY.js +0 -163
  551. package/dist/run-VGOXHEO5.js +0 -78
  552. package/dist/run-XJXE63QH.js +0 -73
  553. package/dist/scaffold-ad-6PZGNV3I.js +0 -1600
  554. package/dist/scaffold-static-ad-2QFZLGHK.js +0 -998
  555. package/dist/scaffold-video-5RUBD5YB.js +0 -888
  556. package/dist/schedule-G2AETZEM.js +0 -65
  557. package/dist/scheduled-agents-JJAT2UDK.js +0 -59
  558. package/dist/schema-CCGBDISR.js +0 -136
  559. package/dist/schema-WEIPH4ND.js +0 -241
  560. package/dist/search-7GBSNW7V.js +0 -229
  561. package/dist/search-7GBSNW7V.js.map +0 -1
  562. package/dist/search-terms-OFLKWSEF.js +0 -412
  563. package/dist/select-OQQ6DG2X.js +0 -134
  564. package/dist/set-HOITXI2N.js +0 -274
  565. package/dist/set-prompt-ZR2FYPQW.js +0 -204
  566. package/dist/setup-links-R55MLOHW.js +0 -145
  567. package/dist/shopify-GGDNTMXH.js +0 -4032
  568. package/dist/site-QM6WTCDR.js +0 -181
  569. package/dist/sources-E2EM2SNG.js +0 -30
  570. package/dist/sources-RI4IBRB3.js +0 -463
  571. package/dist/stale-MBQ37TKC.js +0 -92
  572. package/dist/status-FVVTWIY7.js +0 -68
  573. package/dist/stock-FT4NHZXJ.js +0 -213
  574. package/dist/studio-2X6UOCAR.js +0 -49
  575. package/dist/sync-FZQUMCEN.js +0 -58
  576. package/dist/sync-definition-AQVZ3JWE.js +0 -74
  577. package/dist/tags-35NZJVQH.js +0 -24
  578. package/dist/tags-FOPSMF5B.js +0 -24
  579. package/dist/tags-GHXYLYCU.js +0 -26
  580. package/dist/tags-OPUZMCDP.js +0 -182
  581. package/dist/tags-XYNTGG5R.js +0 -24
  582. package/dist/targeting-criteria-HJGUXYDZ.js +0 -113
  583. package/dist/targets-ALLAKOF4.js +0 -110
  584. package/dist/testimonials-RJGFPCWC.js +0 -32
  585. package/dist/themes-VAKXKG4M.js +0 -102
  586. package/dist/top-companies-54CSTO3Q.js +0 -250
  587. package/dist/transcript-P4VCJV4Y.js +0 -168
  588. package/dist/translate-FFNWW66Z.js +0 -607
  589. package/dist/triggers-VX4QYB7T.js +0 -148
  590. package/dist/unlink-FFH7O6HU.js +0 -73
  591. package/dist/unstage-RAWC4IZG.js +0 -92
  592. package/dist/update-6GLFLB2Z.js +0 -175
  593. package/dist/update-OJ3OZCJP.js +0 -69
  594. package/dist/update-TZ7D7JGT.js +0 -193
  595. package/dist/update-ZD5O3VU7.js +0 -237
  596. package/dist/upload-QA3ZAQ7I.js +0 -185
  597. package/dist/url-options-DOOHH2JE.js +0 -137
  598. package/dist/url-params-D3QZKPUJ.js +0 -102
  599. package/dist/validate-AHDXK4NQ.js +0 -180
  600. package/dist/videos-J45JFDMU.js +0 -41
  601. package/dist/viewer-check-NXF23BG5.js +0 -89
  602. package/dist/visuals-YCW3QLUS.js +0 -129
  603. package/dist/web-4AI7PPJ6.js +0 -180
  604. package/dist/winning-ads-WRAW2TC5.js +0 -88
  605. package/dist/write-commands-Z2PWVPT6.js +0 -1555
  606. package/dist/x-KQMYVN43.js +0 -47
  607. /package/dist/{account-Y3IDIJ3T.js.map → account-LYIKZSK6.js.map} +0 -0
  608. /package/dist/{account-LMDIUOJG.js.map → account-NUMWJW6T.js.map} +0 -0
  609. /package/dist/{account-reads-XOGHJB3K.js.map → account-reads-XQW6DONK.js.map} +0 -0
  610. /package/dist/{account-users-6RC5HDP3.js.map → account-users-HLAIWV56.js.map} +0 -0
  611. /package/dist/{account-writes-EP35RCNO.js.map → account-writes-SQNABDXI.js.map} +0 -0
  612. /package/dist/{accounts-7CHGRXBP.js.map → accounts-3SJ7MJ2J.js.map} +0 -0
  613. /package/dist/{accounts-LIGSG5NQ.js.map → accounts-DEE32AAB.js.map} +0 -0
  614. /package/dist/{accounts-YMDEDCHU.js.map → accounts-VD3L6PNZ.js.map} +0 -0
  615. /package/dist/{actions-U4QMVB4H.js.map → actions-FRKZVXCV.js.map} +0 -0
  616. /package/dist/{activecampaign-WPHFFOGW.js.map → activecampaign-LEFG3NHR.js.map} +0 -0
  617. /package/dist/{ad-group-writes-EVLV4BRD.js.map → ad-group-writes-KEFM32CI.js.map} +0 -0
  618. /package/dist/{ad-groups-UQRBWF2N.js.map → ad-groups-LQ43ZKNL.js.map} +0 -0
  619. /package/dist/{ad-writes-EBCZ5DCY.js.map → ad-writes-XPHRUOPG.js.map} +0 -0
  620. /package/dist/{add-AFPBNJDW.js.map → add-AGLSZKII.js.map} +0 -0
  621. /package/dist/{add-UJOKKBPM.js.map → add-D4LTUMP7.js.map} +0 -0
  622. /package/dist/{add-M3YT32OX.js.map → add-SX4AZSWP.js.map} +0 -0
  623. /package/dist/{ads-T42GRQ7H.js.map → ads-ANPWI4VC.js.map} +0 -0
  624. /package/dist/{ads-2TOWF4GX.js.map → ads-IHKW7OPB.js.map} +0 -0
  625. /package/dist/{advertisers-NJE6DBLG.js.map → advertisers-Y3XOK4KZ.js.map} +0 -0
  626. /package/dist/{alerts-CQ34OPCP.js.map → alerts-NIPFX5W7.js.map} +0 -0
  627. /package/dist/{analytics-HW6SG6ZE.js.map → analytics-56YWZQXD.js.map} +0 -0
  628. /package/dist/{analytics-54QRGO5T.js.map → analytics-62RX4Y7M.js.map} +0 -0
  629. /package/dist/{animate-EN7VTJEI.js.map → animate-FNBWXIGV.js.map} +0 -0
  630. /package/dist/{assign-WIIL5VY7.js.map → assign-5LY7WGFF.js.map} +0 -0
  631. /package/dist/{audience-size-2KL27ETQ.js.map → audience-size-QS2KK5LQ.js.map} +0 -0
  632. /package/dist/{audiences-EZK4PDB5.js.map → audiences-ICDEHT2G.js.map} +0 -0
  633. /package/dist/{audit-EPWNTRPE.js.map → audit-DGFXEARA.js.map} +0 -0
  634. /package/dist/{autocomplete-JWML26GX.js.map → autocomplete-IKXTDPIZ.js.map} +0 -0
  635. /package/dist/{avatars-D7S43BGZ.js.map → avatars-7XQ7CHR5.js.map} +0 -0
  636. /package/dist/{bid-pricing-MD7ROXQT.js.map → bid-pricing-XQH4KP6G.js.map} +0 -0
  637. /package/dist/{brief-JWYWQXOP.js.map → brief-AJNHUSNI.js.map} +0 -0
  638. /package/dist/{campaign-groups-ZT3ZHZFF.js.map → campaign-groups-2Q5ZY77R.js.map} +0 -0
  639. /package/dist/{campaign-writes-4T5DSUMT.js.map → campaign-writes-KN5W3MHP.js.map} +0 -0
  640. /package/dist/{campaign-writes-72H332R4.js.map → campaign-writes-ZAI7K5DH.js.map} +0 -0
  641. /package/dist/{campaigns-5BYWFXHO.js.map → campaigns-3BV5AJWW.js.map} +0 -0
  642. /package/dist/{campaigns-TDR6VKYL.js.map → campaigns-BECFEETG.js.map} +0 -0
  643. /package/dist/{campaigns-Q363NCWU.js.map → campaigns-ZL7H636S.js.map} +0 -0
  644. /package/dist/{canvas-T6ALQYZT.js.map → canvas-2KNBZMU6.js.map} +0 -0
  645. /package/dist/{capabilities-N52A6X2S.js.map → capabilities-YC7R3SC2.js.map} +0 -0
  646. /package/dist/{catalog-WKBCL56H.js.map → catalog-IUC2NDKC.js.map} +0 -0
  647. /package/dist/{catalogs-YJSOVGDM.js.map → catalogs-OBZ6RBGL.js.map} +0 -0
  648. /package/dist/{changes-YOTRCCNB.js.map → changes-VNVWJDIH.js.map} +0 -0
  649. /package/dist/{chatgpt-DPLD452Q.js.map → chatgpt-HBHB7HCD.js.map} +0 -0
  650. /package/dist/{chats-D5TGNPFK.js.map → chats-76BSMXGD.js.map} +0 -0
  651. /package/dist/{check-6QZ2U6WJ.js.map → check-M7BR7ZE5.js.map} +0 -0
  652. /package/dist/{chunk-RKGYVC2C.js.map → chunk-34HHJJGC.js.map} +0 -0
  653. /package/dist/{chunk-O2YPJPMO.js.map → chunk-56ZBWT6K.js.map} +0 -0
  654. /package/dist/{chunk-2FBSB7UF.js.map → chunk-5JW4S663.js.map} +0 -0
  655. /package/dist/{chunk-DIOKO2YD.js.map → chunk-5RV3FV3C.js.map} +0 -0
  656. /package/dist/{chunk-2Z2AEFVW.js.map → chunk-5X32X4Y4.js.map} +0 -0
  657. /package/dist/{chunk-ODDHGVQE.js.map → chunk-7BLFVYVN.js.map} +0 -0
  658. /package/dist/{chunk-KN2UAGSU.js.map → chunk-A4WTEJUI.js.map} +0 -0
  659. /package/dist/{chunk-2AW62CH3.js.map → chunk-ADAHRMJK.js.map} +0 -0
  660. /package/dist/{chunk-7J5XOR5D.js.map → chunk-BSZG36OF.js.map} +0 -0
  661. /package/dist/{chunk-I3HEOUZT.js.map → chunk-CA37TFTI.js.map} +0 -0
  662. /package/dist/{chunk-GB2U76OM.js.map → chunk-CAPYJQDN.js.map} +0 -0
  663. /package/dist/{chunk-BDULC6LM.js.map → chunk-CGW6CIGD.js.map} +0 -0
  664. /package/dist/{chunk-ACIBARQU.js.map → chunk-CK5QALZI.js.map} +0 -0
  665. /package/dist/{chunk-XDFXSMPX.js.map → chunk-DVAVH7UV.js.map} +0 -0
  666. /package/dist/{chunk-WE2FY3CF.js.map → chunk-DWKUYUKC.js.map} +0 -0
  667. /package/dist/{chunk-GJPS6SUI.js.map → chunk-DZE2UHST.js.map} +0 -0
  668. /package/dist/{chunk-TVZCWBC5.js.map → chunk-E6UZBNR2.js.map} +0 -0
  669. /package/dist/{chunk-TJZKZKCQ.js.map → chunk-ELNXADRL.js.map} +0 -0
  670. /package/dist/{chunk-EMZ6P2KH.js.map → chunk-FCX746P4.js.map} +0 -0
  671. /package/dist/{chunk-E2BFPWA5.js.map → chunk-FGTSDCB4.js.map} +0 -0
  672. /package/dist/{chunk-AQHT2XKB.js.map → chunk-GHQ365RX.js.map} +0 -0
  673. /package/dist/{chunk-XFARJ2SL.js.map → chunk-HHX73JNN.js.map} +0 -0
  674. /package/dist/{chunk-SBP7CF7S.js.map → chunk-ICEPT2UY.js.map} +0 -0
  675. /package/dist/{chunk-F7DCEGAA.js.map → chunk-IDJKNL7P.js.map} +0 -0
  676. /package/dist/{chunk-ZIZBAKJF.js.map → chunk-INW3G4P3.js.map} +0 -0
  677. /package/dist/{chunk-3TWET6OD.js.map → chunk-IYMF3GSB.js.map} +0 -0
  678. /package/dist/{chunk-FCWDXKLI.js.map → chunk-KLF5K55H.js.map} +0 -0
  679. /package/dist/{chunk-PSPSKOQR.js.map → chunk-KQ4XRUMX.js.map} +0 -0
  680. /package/dist/{chunk-XBLVA6BC.js.map → chunk-LQ2OYP25.js.map} +0 -0
  681. /package/dist/{chunk-LDF2VXPC.js.map → chunk-LVJTYN5B.js.map} +0 -0
  682. /package/dist/{chunk-V7T6HAPO.js.map → chunk-LXDZCFII.js.map} +0 -0
  683. /package/dist/{chunk-6H6BJBBS.js.map → chunk-M565FRON.js.map} +0 -0
  684. /package/dist/{chunk-P6Z44HNW.js.map → chunk-MCAY57W7.js.map} +0 -0
  685. /package/dist/{chunk-ATUFMGY3.js.map → chunk-MIAAADD3.js.map} +0 -0
  686. /package/dist/{chunk-FEP257NO.js.map → chunk-MJX6NXSX.js.map} +0 -0
  687. /package/dist/{chunk-ZBSG24TQ.js.map → chunk-NAF5XSOI.js.map} +0 -0
  688. /package/dist/{chunk-JHPZATWG.js.map → chunk-O27BGGFC.js.map} +0 -0
  689. /package/dist/{chunk-LRWUQABW.js.map → chunk-O7JZT4G3.js.map} +0 -0
  690. /package/dist/{chunk-INY6DR2Y.js.map → chunk-OTLMQDGW.js.map} +0 -0
  691. /package/dist/{chunk-SY7CUZGW.js.map → chunk-QAEUP6YB.js.map} +0 -0
  692. /package/dist/{chunk-VELT4JFT.js.map → chunk-QTIPLD3K.js.map} +0 -0
  693. /package/dist/{chunk-NLWOT26L.js.map → chunk-QZKXZX26.js.map} +0 -0
  694. /package/dist/{chunk-DZUYNVKJ.js.map → chunk-RUCJNF4B.js.map} +0 -0
  695. /package/dist/{chunk-EDDHOHTW.js.map → chunk-SAA4VKF2.js.map} +0 -0
  696. /package/dist/{chunk-D7DLBQLS.js.map → chunk-SCN5ZF4U.js.map} +0 -0
  697. /package/dist/{chunk-QNPOFQV5.js.map → chunk-SELST7KK.js.map} +0 -0
  698. /package/dist/{chunk-JY2NBRHH.js.map → chunk-SH5WRHTG.js.map} +0 -0
  699. /package/dist/{chunk-2N5MQP65.js.map → chunk-T7V2OPW2.js.map} +0 -0
  700. /package/dist/{chunk-QZMBPEUW.js.map → chunk-URX6OGYP.js.map} +0 -0
  701. /package/dist/{chunk-6XOAPUW4.js.map → chunk-V6OAGU3U.js.map} +0 -0
  702. /package/dist/{chunk-TXLSPOLG.js.map → chunk-V76H3HWD.js.map} +0 -0
  703. /package/dist/{chunk-HSPOURUB.js.map → chunk-VDS6NSLF.js.map} +0 -0
  704. /package/dist/{chunk-CPRSVECH.js.map → chunk-VPNV2WDD.js.map} +0 -0
  705. /package/dist/{chunk-WCCFBAH4.js.map → chunk-VRCUW2J5.js.map} +0 -0
  706. /package/dist/{chunk-P7Q7YO4E.js.map → chunk-WONTGSXR.js.map} +0 -0
  707. /package/dist/{chunk-CZWMU2GB.js.map → chunk-WUYDIH4N.js.map} +0 -0
  708. /package/dist/{chunk-RDRWLYFV.js.map → chunk-X6LTFBPF.js.map} +0 -0
  709. /package/dist/{chunk-2BRVIOKO.js.map → chunk-X7UGF2LE.js.map} +0 -0
  710. /package/dist/{chunk-BPUNOSXM.js.map → chunk-XOQWT2LZ.js.map} +0 -0
  711. /package/dist/{chunk-CE6M4VLG.js.map → chunk-XQRMBE6T.js.map} +0 -0
  712. /package/dist/{chunk-G4IFJB4Z.js.map → chunk-XTNXJZRK.js.map} +0 -0
  713. /package/dist/{chunk-2XKSMHDO.js.map → chunk-YIQ6VJ4H.js.map} +0 -0
  714. /package/dist/{chunk-MJ5JHMLF.js.map → chunk-YYN6I6L5.js.map} +0 -0
  715. /package/dist/{chunk-CV74M3H6.js.map → chunk-ZJK3PVM2.js.map} +0 -0
  716. /package/dist/{chunk-YNVE62WW.js.map → chunk-ZVA2BZKM.js.map} +0 -0
  717. /package/dist/{chunk-B5RLBFMI.js.map → chunk-ZXG5MYV4.js.map} +0 -0
  718. /package/dist/{claim-QGYCSESF.js.map → claim-W2QLJLKZ.js.map} +0 -0
  719. /package/dist/{companies-VM4DJCIO.js.map → companies-TJR33KNS.js.map} +0 -0
  720. /package/dist/{company-BPFVTGZK.js.map → company-OGES42WN.js.map} +0 -0
  721. /package/dist/{complete-NNDVV6CH.js.map → complete-FCR3UXSH.js.map} +0 -0
  722. /package/dist/{connect-4G722CGF.js.map → connect-KACFSWER.js.map} +0 -0
  723. /package/dist/{conversation-TRXRUTL6.js.map → conversation-TLM7HDLK.js.map} +0 -0
  724. /package/dist/{conversion-report-ZPENZMJF.js.map → conversion-report-4WJ5D4FD.js.map} +0 -0
  725. /package/dist/{conversion-upload-command-6TY2DIBM.js.map → conversion-upload-command-REUCOQWP.js.map} +0 -0
  726. /package/dist/{conversion-writes-NIDUTQHX.js.map → conversion-writes-2W3RVOJW.js.map} +0 -0
  727. /package/dist/{conversions-4RQGCY3I.js.map → conversions-2QHK35VN.js.map} +0 -0
  728. /package/dist/{conversions-3Q3PEAAN.js.map → conversions-TI3MZYCT.js.map} +0 -0
  729. /package/dist/{create-4DUUV34B.js.map → create-5VQBHCGR.js.map} +0 -0
  730. /package/dist/{create-GAKJO6RX.js.map → create-EAY2FGWT.js.map} +0 -0
  731. /package/dist/{create-TSB2ED7G.js.map → create-EN2XXE7H.js.map} +0 -0
  732. /package/dist/{create-NUV6C7T7.js.map → create-TIKC6VNL.js.map} +0 -0
  733. /package/dist/{creatives-FRNDPYD2.js.map → creatives-U2CIA6KE.js.map} +0 -0
  734. /package/dist/{creatives-D2756SYZ.js.map → creatives-UHWKNFHM.js.map} +0 -0
  735. /package/dist/{credentials-VDUQOSAI.js.map → credentials-TSWUQUWC.js.map} +0 -0
  736. /package/dist/{critique-GCLEP53N.js.map → critique-KZH23SLS.js.map} +0 -0
  737. /package/dist/{crm-6KBBEU5D.js.map → crm-55ZVWDQF.js.map} +0 -0
  738. /package/dist/{crm-MUVL3BHT.js.map → crm-REPCWBGZ.js.map} +0 -0
  739. /package/dist/{currency-CLB7ROUV.js.map → currency-W5SXMZMS.js.map} +0 -0
  740. /package/dist/{customers-6X6LULB6.js.map → customers-UN5KGSPW.js.map} +0 -0
  741. /package/dist/{data-ZDTEJD6A.js.map → data-GXAJGTKM.js.map} +0 -0
  742. /package/dist/{delete-M5Z5QXVO.js.map → delete-3BHIQWRA.js.map} +0 -0
  743. /package/dist/{delete-FJPGJ2HP.js.map → delete-UJTIAYNP.js.map} +0 -0
  744. /package/dist/{delete-P66UBMWB.js.map → delete-Z2TCOW7K.js.map} +0 -0
  745. /package/dist/{demographics-TEDAJJDS.js.map → demographics-EAX6HNK7.js.map} +0 -0
  746. /package/dist/{discard-UXSFTA6C.js.map → discard-BJ4ZSAHC.js.map} +0 -0
  747. /package/dist/{discover-EAI4WDSL.js.map → discover-RHVFYP6K.js.map} +0 -0
  748. /package/dist/{domain-Y3BKIFLA.js.map → domain-O5ZO3DND.js.map} +0 -0
  749. /package/dist/{download-P2XHLRNA.js.map → download-4GPS3IQ7.js.map} +0 -0
  750. /package/dist/{draft-OJQT5H3E.js.map → draft-4A3QXAHP.js.map} +0 -0
  751. /package/dist/{draft-63RF6RKQ.js.map → draft-APO4PJTI.js.map} +0 -0
  752. /package/dist/{draft-N2MVECRV.js.map → draft-ORRHY3BU.js.map} +0 -0
  753. /package/dist/{draft-IHEEODST.js.map → draft-UIFX2SZ4.js.map} +0 -0
  754. /package/dist/{draft-R3GI7JWY.js.map → draft-ULEQPQYF.js.map} +0 -0
  755. /package/dist/{experiments-BFVLG54V.js.map → experiments-LMMZJPZU.js.map} +0 -0
  756. /package/dist/{extract-YH5VKD7W.js.map → extract-DJNIQC3V.js.map} +0 -0
  757. /package/dist/{facets-VJOSK5UL.js.map → facets-V2AKFR2X.js.map} +0 -0
  758. /package/dist/{feedback-ATORZ5XJ.js.map → feedback-6P545EJO.js.map} +0 -0
  759. /package/dist/{fetch-UDAWFZXZ.js.map → fetch-D7I5WPU5.js.map} +0 -0
  760. /package/dist/{fit-4CVULFD2.js.map → fit-BMJTIAOF.js.map} +0 -0
  761. /package/dist/{flows-QXTZHPB6.js.map → flows-LCP5GK5X.js.map} +0 -0
  762. /package/dist/{forecast-YFCLMXAV.js.map → forecast-BAP5V237.js.map} +0 -0
  763. /package/dist/{forecast-DJ67NT6P.js.map → forecast-DTEBUBC2.js.map} +0 -0
  764. /package/dist/{funnel-2C6Z5VA2.js.map → funnel-HBLIX62B.js.map} +0 -0
  765. /package/dist/{generate-7467FZZH.js.map → generate-AQZZ5LHX.js.map} +0 -0
  766. /package/dist/{get-GFVZKATP.js.map → get-FPNIXE7U.js.map} +0 -0
  767. /package/dist/{get-JSO4YJFR.js.map → get-UEL3XOCM.js.map} +0 -0
  768. /package/dist/{google-H4KVIAL5.js.map → google-EQQN5LVF.js.map} +0 -0
  769. /package/dist/{google-ads-KCK27DGG.js.map → google-ads-AIVV6NDM.js.map} +0 -0
  770. /package/dist/{history-LYUJTPSP.js.map → history-2SQ5K7SI.js.map} +0 -0
  771. /package/dist/{history-KBTYILFZ.js.map → history-CH3UMQOA.js.map} +0 -0
  772. /package/dist/{history-AIZX672U.js.map → history-EQO2QAQX.js.map} +0 -0
  773. /package/dist/{hubspot-BZSQ3WMQ.js.map → hubspot-FP5F3DF6.js.map} +0 -0
  774. /package/dist/{ideas-HHWTU7F2.js.map → ideas-ZZVGRYFM.js.map} +0 -0
  775. /package/dist/{images-BB6BYS54.js.map → images-WPECEULY.js.map} +0 -0
  776. /package/dist/{ingest-Z3DRI6A3.js.map → ingest-IJYPSWBT.js.map} +0 -0
  777. /package/dist/{ingest-S6HP4LXI.js.map → ingest-LAONXSXA.js.map} +0 -0
  778. /package/dist/{insights-MZ5DPH5X.js.map → insights-FBGRQJZH.js.map} +0 -0
  779. /package/dist/{inspect-KC5LTH4E.js.map → inspect-AGYBLEOH.js.map} +0 -0
  780. /package/dist/{intent-6NJBN3OR.js.map → intent-7Z2X4EL6.js.map} +0 -0
  781. /package/dist/{keyword-gap-Y5J2VZDP.js.map → keyword-gap-4INNXP3Q.js.map} +0 -0
  782. /package/dist/{keyword-metrics-VGZIQBSG.js.map → keyword-metrics-L2KRRX6S.js.map} +0 -0
  783. /package/dist/{keywords-for-site-3HREQUQU.js.map → keywords-for-site-CMVX773Q.js.map} +0 -0
  784. /package/dist/{languages-H4VPFO7Y.js.map → languages-I7M63R3S.js.map} +0 -0
  785. /package/dist/{leads-AKF42B23.js.map → leads-AZA4XCI6.js.map} +0 -0
  786. /package/dist/{learn-6D45W6YN.js.map → learn-DR3M4NWV.js.map} +0 -0
  787. /package/dist/{line-item-writes-SB6B75MY.js.map → line-item-writes-HKUDMC7V.js.map} +0 -0
  788. /package/dist/{line-items-22S6PURM.js.map → line-items-FYEWAYZI.js.map} +0 -0
  789. /package/dist/{link-CLMY2YW5.js.map → link-I3IJAUDD.js.map} +0 -0
  790. /package/dist/{linkedin-GTYWIRDX.js.map → linkedin-LDQEX5EI.js.map} +0 -0
  791. /package/dist/{linkedin-person-LBU3VGNY.js.map → linkedin-person-KMCYKTNQ.js.map} +0 -0
  792. /package/dist/{list-MWGLVZR3.js.map → list-FF4Z7ZSJ.js.map} +0 -0
  793. /package/dist/{list-SZKENQ2B.js.map → list-IMA2UKN4.js.map} +0 -0
  794. /package/dist/{locations-UPY33JUY.js.map → locations-2XCXK5FB.js.map} +0 -0
  795. /package/dist/{locations-AR4ZTFT4.js.map → locations-7UESZZO3.js.map} +0 -0
  796. /package/dist/{log-XOYBG7KX.js.map → log-6XLS6FF6.js.map} +0 -0
  797. /package/dist/{make-ZBUVEPHX.js.map → make-H36SC6HA.js.map} +0 -0
  798. /package/dist/{map-VBYQNHJR.js.map → map-AH3GT36P.js.map} +0 -0
  799. /package/dist/{mcp-RSB47JCJ.js.map → mcp-WOGB4LFO.js.map} +0 -0
  800. /package/dist/{media-sources-ZCXMQCSE.js.map → media-sources-W7WLORRN.js.map} +0 -0
  801. /package/dist/{members-QL5TXGND.js.map → members-PKQM7VME.js.map} +0 -0
  802. /package/dist/{metrics-BNLDV4BU.js.map → metrics-RZXAVZWW.js.map} +0 -0
  803. /package/dist/{models-QEB3EOSF.js.map → models-ELL6ENZ2.js.map} +0 -0
  804. /package/dist/{normalize-YWNW62HI.js.map → normalize-ISMEKGAM.js.map} +0 -0
  805. /package/dist/{options-5RRLBIVY.js.map → options-LG4TJYZF.js.map} +0 -0
  806. /package/dist/{organization-FZUYEBEE.js.map → organization-5F2UNO53.js.map} +0 -0
  807. /package/dist/{people-XGMOJZTE.js.map → people-4MXQW22A.js.map} +0 -0
  808. /package/dist/{people-FO6OCDP5.js.map → people-KJXAYQDE.js.map} +0 -0
  809. /package/dist/{performance-7AXRRE5J.js.map → performance-BZ2D62UE.js.map} +0 -0
  810. /package/dist/{performance-USJY2HVB.js.map → performance-WDOBJ3NO.js.map} +0 -0
  811. /package/dist/{pipedrive-LWAH5BTV.js.map → pipedrive-3YC2GR3M.js.map} +0 -0
  812. /package/dist/{pixels-M2UBKUJI.js.map → pixels-AWPYUSNW.js.map} +0 -0
  813. /package/dist/{preview-5ZMTNYCI.js.map → preview-JSTSQFXH.js.map} +0 -0
  814. /package/dist/{promoted-tweet-writes-VW6XCOL3.js.map → promoted-tweet-writes-DP6ORCNX.js.map} +0 -0
  815. /package/dist/{promoted-tweets-5Y6RGBJS.js.map → promoted-tweets-VCEY6KCG.js.map} +0 -0
  816. /package/dist/{publish-ERJPN3EL.js.map → publish-A5HHFTWT.js.map} +0 -0
  817. /package/dist/{query-FZAFUWCX.js.map → query-MAQFFK7H.js.map} +0 -0
  818. /package/dist/{reddit-OKEJ7EIX.js.map → reddit-DOZRSZG2.js.map} +0 -0
  819. /package/dist/{refresh-ACG34ZRD.js.map → refresh-TV4644XE.js.map} +0 -0
  820. /package/dist/{release-XYWQM7DE.js.map → release-LZ3AJFQJ.js.map} +0 -0
  821. /package/dist/{relevant-pages-OFFMPMKG.js.map → relevant-pages-FEF5NHMU.js.map} +0 -0
  822. /package/dist/{remove-NJQM5BGF.js.map → remove-QOMG2RPN.js.map} +0 -0
  823. /package/dist/{reopen-BO6G2RRS.js.map → reopen-ET5XH2A4.js.map} +0 -0
  824. /package/dist/{rerun-BVUWQCAR.js.map → rerun-2YHAQMZ6.js.map} +0 -0
  825. /package/dist/{research-2V6WG3XG.js.map → research-MJXOZXCS.js.map} +0 -0
  826. /package/dist/{research-G7BDWYEG.js.map → research-SYXCLMVQ.js.map} +0 -0
  827. /package/dist/{reset-2DDLUZGB.js.map → reset-35CQVJUF.js.map} +0 -0
  828. /package/dist/{reset-JPOOEIX7.js.map → reset-JJ7HESHC.js.map} +0 -0
  829. /package/dist/{resolve-J4TIUP3W.js.map → resolve-WPW3WUCU.js.map} +0 -0
  830. /package/dist/{retry-MNGVR37L.js.map → retry-OGM3ZT64.js.map} +0 -0
  831. /package/dist/{retry-Y4FLZQVK.js.map → retry-RZFRN73L.js.map} +0 -0
  832. /package/dist/{revenue-AVLQNUT2.js.map → revenue-KPTLBWRO.js.map} +0 -0
  833. /package/dist/{rules-UBZ32MQY.js.map → rules-XX7BZNGH.js.map} +0 -0
  834. /package/dist/{run-VGOXHEO5.js.map → run-4DEZ54GA.js.map} +0 -0
  835. /package/dist/{run-XJXE63QH.js.map → run-CI6MGV3E.js.map} +0 -0
  836. /package/dist/{scaffold-ad-6PZGNV3I.js.map → scaffold-ad-X4QQ5HSR.js.map} +0 -0
  837. /package/dist/{scaffold-static-ad-2QFZLGHK.js.map → scaffold-static-ad-UWCRDNVI.js.map} +0 -0
  838. /package/dist/{scaffold-video-5RUBD5YB.js.map → scaffold-video-4MXIJ64P.js.map} +0 -0
  839. /package/dist/{schedule-G2AETZEM.js.map → schedule-HBHXSZCK.js.map} +0 -0
  840. /package/dist/{scheduled-agents-JJAT2UDK.js.map → scheduled-agents-TF5NL3EG.js.map} +0 -0
  841. /package/dist/{schema-CCGBDISR.js.map → schema-G77I7C6X.js.map} +0 -0
  842. /package/dist/{schema-WEIPH4ND.js.map → schema-YAHA75PQ.js.map} +0 -0
  843. /package/dist/{search-terms-OFLKWSEF.js.map → search-terms-4F25WL6Y.js.map} +0 -0
  844. /package/dist/{select-OQQ6DG2X.js.map → select-7BD4B6VZ.js.map} +0 -0
  845. /package/dist/{set-HOITXI2N.js.map → set-GIOOD7K7.js.map} +0 -0
  846. /package/dist/{set-prompt-ZR2FYPQW.js.map → set-prompt-L3EKRWN7.js.map} +0 -0
  847. /package/dist/{setup-links-R55MLOHW.js.map → setup-links-IHQ5WONJ.js.map} +0 -0
  848. /package/dist/{shopify-GGDNTMXH.js.map → shopify-6WFQCGUS.js.map} +0 -0
  849. /package/dist/{site-QM6WTCDR.js.map → site-M3MBRLZJ.js.map} +0 -0
  850. /package/dist/{sources-E2EM2SNG.js.map → sources-DE7QIZSV.js.map} +0 -0
  851. /package/dist/{sources-RI4IBRB3.js.map → sources-LML63ISG.js.map} +0 -0
  852. /package/dist/{stale-MBQ37TKC.js.map → stale-APSUW4OJ.js.map} +0 -0
  853. /package/dist/{status-FVVTWIY7.js.map → status-77OL4B45.js.map} +0 -0
  854. /package/dist/{stock-FT4NHZXJ.js.map → stock-KM3WLRHN.js.map} +0 -0
  855. /package/dist/{studio-2X6UOCAR.js.map → studio-RMYKICEJ.js.map} +0 -0
  856. /package/dist/{sync-FZQUMCEN.js.map → sync-L25EVQAI.js.map} +0 -0
  857. /package/dist/{sync-definition-AQVZ3JWE.js.map → sync-definition-D2OIDCSI.js.map} +0 -0
  858. /package/dist/{tags-XYNTGG5R.js.map → tags-AXCQCJGZ.js.map} +0 -0
  859. /package/dist/{tags-GHXYLYCU.js.map → tags-KGWISKLB.js.map} +0 -0
  860. /package/dist/{tags-35NZJVQH.js.map → tags-MZFIIXL5.js.map} +0 -0
  861. /package/dist/{tags-OPUZMCDP.js.map → tags-QQXAAWUY.js.map} +0 -0
  862. /package/dist/{tags-FOPSMF5B.js.map → tags-RTIT7IW2.js.map} +0 -0
  863. /package/dist/{targeting-criteria-HJGUXYDZ.js.map → targeting-criteria-IZ6DPA3L.js.map} +0 -0
  864. /package/dist/{targets-ALLAKOF4.js.map → targets-OGGHIAZI.js.map} +0 -0
  865. /package/dist/{testimonials-RJGFPCWC.js.map → testimonials-JHB7OKIY.js.map} +0 -0
  866. /package/dist/{themes-VAKXKG4M.js.map → themes-FPIC5RUE.js.map} +0 -0
  867. /package/dist/{top-companies-54CSTO3Q.js.map → top-companies-ICP6X6KR.js.map} +0 -0
  868. /package/dist/{transcript-P4VCJV4Y.js.map → transcript-KF736ZJ3.js.map} +0 -0
  869. /package/dist/{translate-FFNWW66Z.js.map → translate-5QHIX5EW.js.map} +0 -0
  870. /package/dist/{triggers-VX4QYB7T.js.map → triggers-TSNJSHMU.js.map} +0 -0
  871. /package/dist/{unlink-FFH7O6HU.js.map → unlink-GH4D444H.js.map} +0 -0
  872. /package/dist/{unstage-RAWC4IZG.js.map → unstage-I2NYIM25.js.map} +0 -0
  873. /package/dist/{update-ZD5O3VU7.js.map → update-35NWLUT5.js.map} +0 -0
  874. /package/dist/{update-TZ7D7JGT.js.map → update-HEMI6DKR.js.map} +0 -0
  875. /package/dist/{update-6GLFLB2Z.js.map → update-PFCO5LEE.js.map} +0 -0
  876. /package/dist/{update-OJ3OZCJP.js.map → update-RUBMPMZB.js.map} +0 -0
  877. /package/dist/{upload-QA3ZAQ7I.js.map → upload-I4WIFYMS.js.map} +0 -0
  878. /package/dist/{url-options-DOOHH2JE.js.map → url-options-PBCEEKX6.js.map} +0 -0
  879. /package/dist/{url-params-D3QZKPUJ.js.map → url-params-T7KQX5FJ.js.map} +0 -0
  880. /package/dist/{validate-AHDXK4NQ.js.map → validate-3EGFWTFS.js.map} +0 -0
  881. /package/dist/{videos-J45JFDMU.js.map → videos-P3U53TZL.js.map} +0 -0
  882. /package/dist/{viewer-check-NXF23BG5.js.map → viewer-check-ZGUCQHTC.js.map} +0 -0
  883. /package/dist/{visuals-YCW3QLUS.js.map → visuals-JYOZPGB7.js.map} +0 -0
  884. /package/dist/{web-4AI7PPJ6.js.map → web-SHS6TJWV.js.map} +0 -0
  885. /package/dist/{winning-ads-WRAW2TC5.js.map → winning-ads-L5HVV5OR.js.map} +0 -0
  886. /package/dist/{write-commands-Z2PWVPT6.js.map → write-commands-FUOSA6MJ.js.map} +0 -0
  887. /package/dist/{x-KQMYVN43.js.map → x-VG4U3PFE.js.map} +0 -0
@@ -1,1124 +0,0 @@
1
- import {
2
- flowsDir,
3
- walkNodes
4
- } from "./chunk-XFARJ2SL.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-I3HEOUZT.js.map