@koda-sl/baker-cli 0.852.0-dev.f4a5d899d → 0.852.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 (912) hide show
  1. package/README.md +4 -1
  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-B5FB2Y4Y.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-34HHJJGC.js +685 -0
  51. package/dist/chunk-3E3HCJQW.js +329 -0
  52. package/dist/chunk-4K3RSU2Q.js +224 -0
  53. package/dist/chunk-56ZBWT6K.js +547 -0
  54. package/dist/chunk-5JW4S663.js +64 -0
  55. package/dist/chunk-5X32X4Y4.js +915 -0
  56. package/dist/chunk-7BLFVYVN.js +51 -0
  57. package/dist/chunk-ADAHRMJK.js +46 -0
  58. package/dist/chunk-AFA4TY5Q.js +527 -0
  59. package/dist/chunk-AFA4TY5Q.js.map +1 -0
  60. package/dist/chunk-BSZG36OF.js +98 -0
  61. package/dist/chunk-CA37TFTI.js +1124 -0
  62. package/dist/chunk-CGW6CIGD.js +479 -0
  63. package/dist/chunk-CK5QALZI.js +251 -0
  64. package/dist/chunk-DVAVH7UV.js +103 -0
  65. package/dist/chunk-DWKUYUKC.js +1862 -0
  66. package/dist/chunk-DZE2UHST.js +147 -0
  67. package/dist/chunk-E6UZBNR2.js +61 -0
  68. package/dist/chunk-EKC2AY2Z.js +108 -0
  69. package/dist/chunk-FCX746P4.js +6340 -0
  70. package/dist/chunk-FGTSDCB4.js +175 -0
  71. package/dist/chunk-H7JSYC4X.js +4416 -0
  72. package/dist/chunk-H7JSYC4X.js.map +1 -0
  73. package/dist/chunk-HHX73JNN.js +313 -0
  74. package/dist/chunk-ICEPT2UY.js +260 -0
  75. package/dist/chunk-IDJKNL7P.js +392 -0
  76. package/dist/chunk-INW3G4P3.js +749 -0
  77. package/dist/chunk-IYMF3GSB.js +396 -0
  78. package/dist/chunk-KLF5K55H.js +732 -0
  79. package/dist/chunk-KQ4XRUMX.js +341 -0
  80. package/dist/chunk-KUTQFIZ6.js +114 -0
  81. package/dist/chunk-KUTQFIZ6.js.map +1 -0
  82. package/dist/chunk-LQ2OYP25.js +1577 -0
  83. package/dist/chunk-LVJTYN5B.js +155 -0
  84. package/dist/chunk-LXDZCFII.js +375 -0
  85. package/dist/chunk-MCAY57W7.js +9127 -0
  86. package/dist/chunk-MCI6ASBE.js +660 -0
  87. package/dist/chunk-MIAAADD3.js +320 -0
  88. package/dist/chunk-MJX6NXSX.js +65 -0
  89. package/dist/chunk-NAF5XSOI.js +430 -0
  90. package/dist/chunk-NLW7LW75.js +91 -0
  91. package/dist/chunk-O27BGGFC.js +152 -0
  92. package/dist/chunk-O7JZT4G3.js +262 -0
  93. package/dist/chunk-ORCAPJDH.js +3378 -0
  94. package/dist/chunk-OTLMQDGW.js +374 -0
  95. package/dist/chunk-P5YJ3EA7.js +202 -0
  96. package/dist/chunk-QAEUP6YB.js +89 -0
  97. package/dist/chunk-QTIPLD3K.js +274 -0
  98. package/dist/chunk-RUCJNF4B.js +423 -0
  99. package/dist/chunk-S3CNDNCK.js +91 -0
  100. package/dist/chunk-SAA4VKF2.js +285 -0
  101. package/dist/chunk-SCN5ZF4U.js +76 -0
  102. package/dist/chunk-SDFVQDNF.js +10430 -0
  103. package/dist/chunk-SDFVQDNF.js.map +1 -0
  104. package/dist/chunk-SELST7KK.js +170 -0
  105. package/dist/chunk-SH5WRHTG.js +78 -0
  106. package/dist/chunk-T7V2OPW2.js +127 -0
  107. package/dist/chunk-V6OAGU3U.js +509 -0
  108. package/dist/chunk-V76H3HWD.js +505 -0
  109. package/dist/chunk-VDS6NSLF.js +877 -0
  110. package/dist/chunk-VPNV2WDD.js +303 -0
  111. package/dist/chunk-VRCUW2J5.js +23 -0
  112. package/dist/chunk-WONTGSXR.js +170 -0
  113. package/dist/chunk-WUYDIH4N.js +142 -0
  114. package/dist/chunk-X6LTFBPF.js +604 -0
  115. package/dist/chunk-X7UGF2LE.js +197 -0
  116. package/dist/chunk-XOQWT2LZ.js +548 -0
  117. package/dist/chunk-XQRMBE6T.js +1883 -0
  118. package/dist/chunk-XTNXJZRK.js +863 -0
  119. package/dist/chunk-XXYRJ5YO.js +411 -0
  120. package/dist/chunk-YYN6I6L5.js +163 -0
  121. package/dist/chunk-ZJK3PVM2.js +723 -0
  122. package/dist/chunk-ZSC3LYTP.js +3248 -0
  123. package/dist/chunk-ZSC3LYTP.js.map +1 -0
  124. package/dist/chunk-ZVA2BZKM.js +746 -0
  125. package/dist/chunk-ZXG5MYV4.js +26 -0
  126. package/dist/claim-W2QLJLKZ.js +218 -0
  127. package/dist/cli.js +35 -35
  128. package/dist/companies-TJR33KNS.js +36 -0
  129. package/dist/company-OGES42WN.js +311 -0
  130. package/dist/complete-FCR3UXSH.js +87 -0
  131. package/dist/connect-KACFSWER.js +46 -0
  132. package/dist/conversation-TLM7HDLK.js +100 -0
  133. package/dist/conversion-report-4WJ5D4FD.js +130 -0
  134. package/dist/conversion-upload-command-REUCOQWP.js +456 -0
  135. package/dist/conversion-writes-2W3RVOJW.js +194 -0
  136. package/dist/conversions-2QHK35VN.js +141 -0
  137. package/dist/conversions-TI3MZYCT.js +78 -0
  138. package/dist/create-5VQBHCGR.js +356 -0
  139. package/dist/create-EAY2FGWT.js +65 -0
  140. package/dist/create-EN2XXE7H.js +190 -0
  141. package/dist/create-TIKC6VNL.js +219 -0
  142. package/dist/creatives-SVNGDC45.js +48 -0
  143. package/dist/creatives-U2CIA6KE.js +235 -0
  144. package/dist/credentials-TSWUQUWC.js +291 -0
  145. package/dist/critique-K3IPZB5P.js +230 -0
  146. package/dist/crm-55ZVWDQF.js +327 -0
  147. package/dist/crm-REPCWBGZ.js +418 -0
  148. package/dist/currency-W5SXMZMS.js +91 -0
  149. package/dist/customers-UN5KGSPW.js +69 -0
  150. package/dist/data-GXAJGTKM.js +665 -0
  151. package/dist/delete-3BHIQWRA.js +60 -0
  152. package/dist/delete-UJTIAYNP.js +71 -0
  153. package/dist/delete-Z2TCOW7K.js +70 -0
  154. package/dist/demographics-EAX6HNK7.js +145 -0
  155. package/dist/discard-BJ4ZSAHC.js +72 -0
  156. package/dist/discover-RHVFYP6K.js +191 -0
  157. package/dist/domain-O5ZO3DND.js +104 -0
  158. package/dist/download-4GPS3IQ7.js +174 -0
  159. package/dist/draft-4A3QXAHP.js +389 -0
  160. package/dist/draft-APO4PJTI.js +427 -0
  161. package/dist/draft-ORRHY3BU.js +227 -0
  162. package/dist/draft-UIFX2SZ4.js +340 -0
  163. package/dist/draft-ULEQPQYF.js +640 -0
  164. package/dist/engine/index.js +10 -10
  165. package/dist/experiments-LMMZJPZU.js +241 -0
  166. package/dist/extract-DJNIQC3V.js +144 -0
  167. package/dist/extract-DJNIQC3V.js.map +1 -0
  168. package/dist/facets-V2AKFR2X.js +118 -0
  169. package/dist/feedback-6P545EJO.js +115 -0
  170. package/dist/fetch-D7I5WPU5.js +487 -0
  171. package/dist/find-F7QVEOF2.js +144 -0
  172. package/dist/fit-BMJTIAOF.js +69 -0
  173. package/dist/flows-LCP5GK5X.js +342 -0
  174. package/dist/forecast-BAP5V237.js +189 -0
  175. package/dist/forecast-DTEBUBC2.js +122 -0
  176. package/dist/funnel-HBLIX62B.js +701 -0
  177. package/dist/generate-AQZZ5LHX.js +265 -0
  178. package/dist/get-FPNIXE7U.js +114 -0
  179. package/dist/get-UEL3XOCM.js +77 -0
  180. package/dist/gif-44B7JLEN.js +111 -0
  181. package/dist/google-EQQN5LVF.js +164 -0
  182. package/dist/google-SO2H3SLF.js +3765 -0
  183. package/dist/google-SO2H3SLF.js.map +1 -0
  184. package/dist/google-ads-AIVV6NDM.js +201 -0
  185. package/dist/history-2SQ5K7SI.js +108 -0
  186. package/dist/history-CH3UMQOA.js +204 -0
  187. package/dist/history-EQO2QAQX.js +155 -0
  188. package/dist/hubspot-FP5F3DF6.js +853 -0
  189. package/dist/icon-DVK3X5Q3.js +168 -0
  190. package/dist/ideas-ZZVGRYFM.js +49 -0
  191. package/dist/images-WPECEULY.js +92 -0
  192. package/dist/ingest-IJYPSWBT.js +162 -0
  193. package/dist/ingest-LAONXSXA.js +31 -0
  194. package/dist/insights-FBGRQJZH.js +151 -0
  195. package/dist/inspect-AGYBLEOH.js +38 -0
  196. package/dist/intent-7Z2X4EL6.js +97 -0
  197. package/dist/keyword-gap-4INNXP3Q.js +132 -0
  198. package/dist/keyword-metrics-L2KRRX6S.js +234 -0
  199. package/dist/keywords-for-site-CMVX773Q.js +134 -0
  200. package/dist/languages-I7M63R3S.js +41 -0
  201. package/dist/leads-AZA4XCI6.js +137 -0
  202. package/dist/learn-DR3M4NWV.js +213 -0
  203. package/dist/library-UBIXM7AL.js +234 -0
  204. package/dist/line-item-writes-HKUDMC7V.js +212 -0
  205. package/dist/line-items-FYEWAYZI.js +107 -0
  206. package/dist/link-I3IJAUDD.js +70 -0
  207. package/dist/linkedin-LDQEX5EI.js +1498 -0
  208. package/dist/linkedin-person-KMCYKTNQ.js +142 -0
  209. package/dist/list-FF4Z7ZSJ.js +89 -0
  210. package/dist/list-IMA2UKN4.js +320 -0
  211. package/dist/list-YLNP2PNI.js +169 -0
  212. package/dist/locations-2XCXK5FB.js +41 -0
  213. package/dist/locations-7UESZZO3.js +69 -0
  214. package/dist/log-6XLS6FF6.js +98 -0
  215. package/dist/logo-YM46ZKEJ.js +18 -0
  216. package/dist/make-JBN7RVQC.js +1391 -0
  217. package/dist/map-AH3GT36P.js +519 -0
  218. package/dist/mcp-WOGB4LFO.js +1017 -0
  219. package/dist/media-sources-W7WLORRN.js +35 -0
  220. package/dist/members-PKQM7VME.js +50 -0
  221. package/dist/metrics-RZXAVZWW.js +193 -0
  222. package/dist/models-ELL6ENZ2.js +155 -0
  223. package/dist/normalize-ISMEKGAM.js +145 -0
  224. package/dist/options-LG4TJYZF.js +126 -0
  225. package/dist/organization-5F2UNO53.js +949 -0
  226. package/dist/people-4MXQW22A.js +161 -0
  227. package/dist/people-KJXAYQDE.js +171 -0
  228. package/dist/performance-BZ2D62UE.js +28 -0
  229. package/dist/performance-WDOBJ3NO.js +6294 -0
  230. package/dist/pinterest-XZDCUELU.js +105 -0
  231. package/dist/pipedrive-3YC2GR3M.js +533 -0
  232. package/dist/pixels-AWPYUSNW.js +62 -0
  233. package/dist/preview-JSTSQFXH.js +103 -0
  234. package/dist/promoted-tweet-writes-DP6ORCNX.js +184 -0
  235. package/dist/promoted-tweets-VCEY6KCG.js +119 -0
  236. package/dist/publish-A5HHFTWT.js +430 -0
  237. package/dist/query-MAQFFK7H.js +68 -0
  238. package/dist/reddit-DOZRSZG2.js +30 -0
  239. package/dist/refresh-TV4644XE.js +100 -0
  240. package/dist/release-LZ3AJFQJ.js +66 -0
  241. package/dist/relevant-pages-FEF5NHMU.js +101 -0
  242. package/dist/remove-QOMG2RPN.js +54 -0
  243. package/dist/reopen-ET5XH2A4.js +69 -0
  244. package/dist/rerun-KE4YQJTZ.js +101 -0
  245. package/dist/research-MJXOZXCS.js +266 -0
  246. package/dist/research-SYXCLMVQ.js +78 -0
  247. package/dist/reset-35CQVJUF.js +58 -0
  248. package/dist/reset-JJ7HESHC.js +58 -0
  249. package/dist/resolve-WPW3WUCU.js +125 -0
  250. package/dist/retry-OGM3ZT64.js +66 -0
  251. package/dist/retry-RZFRN73L.js +66 -0
  252. package/dist/revenue-KPTLBWRO.js +99 -0
  253. package/dist/rules-XX7BZNGH.js +163 -0
  254. package/dist/run-CI6MGV3E.js +73 -0
  255. package/dist/run-XPGJ4N2A.js +78 -0
  256. package/dist/scaffold-ad-EOUMVW77.js +1603 -0
  257. package/dist/scaffold-ad-EOUMVW77.js.map +1 -0
  258. package/dist/scaffold-static-ad-BSVNHRWI.js +998 -0
  259. package/dist/scaffold-video-HV5MA35T.js +889 -0
  260. package/dist/scaffold-video-HV5MA35T.js.map +1 -0
  261. package/dist/schedule-HBHXSZCK.js +65 -0
  262. package/dist/scheduled-agents-TF5NL3EG.js +59 -0
  263. package/dist/schema-G77I7C6X.js +136 -0
  264. package/dist/schema-YAHA75PQ.js +241 -0
  265. package/dist/screenshot-4I53QQIB.js +103 -0
  266. package/dist/search-ITIKP5AS.js +192 -0
  267. package/dist/search-terms-4F25WL6Y.js +412 -0
  268. package/dist/select-YH6VBDO5.js +134 -0
  269. package/dist/set-ONJBYEGT.js +286 -0
  270. package/dist/set-ONJBYEGT.js.map +1 -0
  271. package/dist/set-prompt-US7ZKLLB.js +204 -0
  272. package/dist/setup-links-IHQ5WONJ.js +145 -0
  273. package/dist/shopify-6WFQCGUS.js +4032 -0
  274. package/dist/site-M3MBRLZJ.js +181 -0
  275. package/dist/sources-DE7QIZSV.js +30 -0
  276. package/dist/sources-LML63ISG.js +463 -0
  277. package/dist/stale-7QJ2IRW6.js +92 -0
  278. package/dist/status-77OL4B45.js +68 -0
  279. package/dist/sticker-FMKFZF6H.js +103 -0
  280. package/dist/stock-KM3WLRHN.js +213 -0
  281. package/dist/studio-RMYKICEJ.js +49 -0
  282. package/dist/sync-L25EVQAI.js +58 -0
  283. package/dist/sync-definition-HIEWNQNI.js +74 -0
  284. package/dist/tags-AXCQCJGZ.js +24 -0
  285. package/dist/tags-KGWISKLB.js +26 -0
  286. package/dist/tags-MZFIIXL5.js +24 -0
  287. package/dist/tags-QQXAAWUY.js +182 -0
  288. package/dist/tags-RTIT7IW2.js +24 -0
  289. package/dist/targeting-criteria-IZ6DPA3L.js +113 -0
  290. package/dist/targets-OGGHIAZI.js +110 -0
  291. package/dist/testimonials-JHB7OKIY.js +32 -0
  292. package/dist/themes-FPIC5RUE.js +102 -0
  293. package/dist/top-companies-ICP6X6KR.js +250 -0
  294. package/dist/transcript-KF736ZJ3.js +168 -0
  295. package/dist/translate-2YFBXM32.js +607 -0
  296. package/dist/triggers-TSNJSHMU.js +148 -0
  297. package/dist/unlink-GH4D444H.js +73 -0
  298. package/dist/unstage-I2NYIM25.js +92 -0
  299. package/dist/update-35NWLUT5.js +237 -0
  300. package/dist/update-HEMI6DKR.js +193 -0
  301. package/dist/update-PFCO5LEE.js +175 -0
  302. package/dist/update-RUBMPMZB.js +69 -0
  303. package/dist/upload-I4WIFYMS.js +185 -0
  304. package/dist/url-options-PBCEEKX6.js +137 -0
  305. package/dist/url-params-T7KQX5FJ.js +102 -0
  306. package/dist/validate-SJAZONOS.js +180 -0
  307. package/dist/videos-P3U53TZL.js +41 -0
  308. package/dist/viewer-check-ZGUCQHTC.js +89 -0
  309. package/dist/visuals-JYOZPGB7.js +129 -0
  310. package/dist/web-SHS6TJWV.js +180 -0
  311. package/dist/winning-ads-L5HVV5OR.js +88 -0
  312. package/dist/write-commands-FUOSA6MJ.js +1555 -0
  313. package/dist/x-VG4U3PFE.js +47 -0
  314. package/package.json +1 -1
  315. package/dist/account-4BZVTYUG.js +0 -83
  316. package/dist/account-Y3IDIJ3T.js +0 -82
  317. package/dist/account-reads-XOGHJB3K.js +0 -230
  318. package/dist/account-users-KPNL4YCH.js +0 -69
  319. package/dist/account-writes-EP35RCNO.js +0 -68
  320. package/dist/accounts-7CHGRXBP.js +0 -122
  321. package/dist/accounts-TOASY6JJ.js +0 -81
  322. package/dist/accounts-TXO7KWO7.js +0 -505
  323. package/dist/actions-VVADRKER.js +0 -55
  324. package/dist/activecampaign-Y47OPFKG.js +0 -935
  325. package/dist/ad-group-writes-EVLV4BRD.js +0 -172
  326. package/dist/ad-groups-UQRBWF2N.js +0 -70
  327. package/dist/ad-writes-EBCZ5DCY.js +0 -176
  328. package/dist/add-332LWXGH.js +0 -662
  329. package/dist/add-6F4CYN4K.js +0 -108
  330. package/dist/add-ZQUZREJQ.js +0 -661
  331. package/dist/ads-2TOWF4GX.js +0 -79
  332. package/dist/ads-3PXOY2XR.js +0 -48
  333. package/dist/advertisers-IYM5OVMK.js +0 -126
  334. package/dist/alerts-XZ4U5ICB.js +0 -153
  335. package/dist/analytics-5I7W43AA.js +0 -2791
  336. package/dist/analytics-WP2ZKR4M.js +0 -461
  337. package/dist/animate-EN7VTJEI.js +0 -482
  338. package/dist/assign-WLYEULJE.js +0 -83
  339. package/dist/audience-size-3A4HIUU4.js +0 -77
  340. package/dist/audiences-EZK4PDB5.js +0 -280
  341. package/dist/audit-ADJUIZM7.js +0 -155
  342. package/dist/autocomplete-Q2QNB2UZ.js +0 -117
  343. package/dist/avatars-CWWTGNHJ.js +0 -38
  344. package/dist/bid-pricing-VQ4O67TT.js +0 -104
  345. package/dist/brief-LMNT2S2P.js +0 -511
  346. package/dist/campaign-groups-LUDSKWLR.js +0 -118
  347. package/dist/campaign-writes-4T5DSUMT.js +0 -176
  348. package/dist/campaign-writes-UEZNUW3F.js +0 -169
  349. package/dist/campaigns-5BYWFXHO.js +0 -78
  350. package/dist/campaigns-HVDSUPP7.js +0 -111
  351. package/dist/campaigns-ONN4NLO5.js +0 -193
  352. package/dist/canvas-Z3V6I3ZB.js +0 -48
  353. package/dist/capabilities-OQ4NYKKU.js +0 -184
  354. package/dist/catalog-QF4LQU6W.js +0 -89
  355. package/dist/catalogs-YJSOVGDM.js +0 -130
  356. package/dist/changes-YOTRCCNB.js +0 -288
  357. package/dist/chatgpt-DPLD452Q.js +0 -47
  358. package/dist/chats-SQXB3OY2.js +0 -659
  359. package/dist/check-5ON4JDWK.js +0 -54
  360. package/dist/chunk-242U6TGE.js +0 -479
  361. package/dist/chunk-2AW62CH3.js +0 -46
  362. package/dist/chunk-2K4FKMO2.js +0 -61
  363. package/dist/chunk-2N5MQP65.js +0 -127
  364. package/dist/chunk-2PZPGX4Y.js +0 -224
  365. package/dist/chunk-2Z2AEFVW.js +0 -915
  366. package/dist/chunk-3FI2TFHU.js +0 -396
  367. package/dist/chunk-433NCHRS.js +0 -4413
  368. package/dist/chunk-433NCHRS.js.map +0 -1
  369. package/dist/chunk-4A2UZ3Q3.js +0 -24026
  370. package/dist/chunk-4A2UZ3Q3.js.map +0 -1
  371. package/dist/chunk-4MYXMIXE.js +0 -65
  372. package/dist/chunk-4XY4F67N.js +0 -320
  373. package/dist/chunk-6NULLQT5.js +0 -329
  374. package/dist/chunk-7GF7NGXN.js +0 -51
  375. package/dist/chunk-7J5XOR5D.js +0 -98
  376. package/dist/chunk-A7SCQAI3.js +0 -260
  377. package/dist/chunk-AB6EUSUC.js +0 -163
  378. package/dist/chunk-B5RLBFMI.js +0 -26
  379. package/dist/chunk-BNXV3BCD.js +0 -155
  380. package/dist/chunk-C665UXJM.js +0 -685
  381. package/dist/chunk-CE6M4VLG.js +0 -1883
  382. package/dist/chunk-CMLTGAIN.js +0 -8382
  383. package/dist/chunk-CV74M3H6.js +0 -723
  384. package/dist/chunk-CZWMU2GB.js +0 -142
  385. package/dist/chunk-D7DLBQLS.js +0 -76
  386. package/dist/chunk-DTMN4WGF.js +0 -313
  387. package/dist/chunk-DZVMJL5R.js +0 -91
  388. package/dist/chunk-EDDHOHTW.js +0 -285
  389. package/dist/chunk-FCWDXKLI.js +0 -732
  390. package/dist/chunk-FWGVHPJU.js +0 -303
  391. package/dist/chunk-G4IFJB4Z.js +0 -863
  392. package/dist/chunk-GJPS6SUI.js +0 -147
  393. package/dist/chunk-GMS3T4XJ.js +0 -1124
  394. package/dist/chunk-HJ23LIGD.js +0 -746
  395. package/dist/chunk-HMWCR56Z.js +0 -341
  396. package/dist/chunk-HSPOURUB.js +0 -877
  397. package/dist/chunk-ICCECMQO.js +0 -262
  398. package/dist/chunk-ILRDYX4N.js +0 -9127
  399. package/dist/chunk-JHPZATWG.js +0 -152
  400. package/dist/chunk-KF6A6WWW.js +0 -170
  401. package/dist/chunk-KJZSY73K.js +0 -78
  402. package/dist/chunk-LWIGVKJ3.js +0 -202
  403. package/dist/chunk-LWVDNSKG.js +0 -423
  404. package/dist/chunk-NAEFSE7E.js +0 -3378
  405. package/dist/chunk-NJ5YPBCO.js +0 -509
  406. package/dist/chunk-NZZ7ATO5.js +0 -3248
  407. package/dist/chunk-NZZ7ATO5.js.map +0 -1
  408. package/dist/chunk-OWUCB7FI.js +0 -115
  409. package/dist/chunk-OWUCB7FI.js.map +0 -1
  410. package/dist/chunk-P7Q7YO4E.js +0 -170
  411. package/dist/chunk-P7YPWBEV.js +0 -531
  412. package/dist/chunk-P7YPWBEV.js.map +0 -1
  413. package/dist/chunk-PHTVCLBS.js +0 -6340
  414. package/dist/chunk-PHVBQLKM.js +0 -548
  415. package/dist/chunk-PL54RVWH.js +0 -108
  416. package/dist/chunk-PXEM6J66.js +0 -10361
  417. package/dist/chunk-PXEM6J66.js.map +0 -1
  418. package/dist/chunk-QNJYT3TT.js +0 -374
  419. package/dist/chunk-QWRMEOYC.js +0 -411
  420. package/dist/chunk-R5VM5SDP.js +0 -175
  421. package/dist/chunk-RDRWLYFV.js +0 -604
  422. package/dist/chunk-RWKCUFFL.js +0 -91
  423. package/dist/chunk-S3KIK6XX.js +0 -103
  424. package/dist/chunk-SY7CUZGW.js +0 -89
  425. package/dist/chunk-TXLSPOLG.js +0 -505
  426. package/dist/chunk-TZF6FBGC.js +0 -64
  427. package/dist/chunk-V7T6HAPO.js +0 -375
  428. package/dist/chunk-VELT4JFT.js +0 -274
  429. package/dist/chunk-W56UIKWA.js +0 -251
  430. package/dist/chunk-WE2FY3CF.js +0 -1862
  431. package/dist/chunk-XBLVA6BC.js +0 -1577
  432. package/dist/chunk-XDV444PD.js +0 -23
  433. package/dist/chunk-XMKXJIHP.js +0 -660
  434. package/dist/chunk-XWCPZFFY.js +0 -547
  435. package/dist/chunk-XWDGD4QA.js +0 -197
  436. package/dist/chunk-ZBSG24TQ.js +0 -430
  437. package/dist/chunk-ZIZBAKJF.js +0 -749
  438. package/dist/chunk-ZJVA64WN.js +0 -392
  439. package/dist/claim-XHHTT4E3.js +0 -218
  440. package/dist/companies-NTJPD6LW.js +0 -36
  441. package/dist/company-LIV6UGQK.js +0 -311
  442. package/dist/complete-VKGC56QN.js +0 -87
  443. package/dist/connect-4X6RLEM7.js +0 -46
  444. package/dist/conversation-365NWY2O.js +0 -100
  445. package/dist/conversion-report-ZPENZMJF.js +0 -130
  446. package/dist/conversion-upload-command-6TY2DIBM.js +0 -456
  447. package/dist/conversion-writes-NIDUTQHX.js +0 -194
  448. package/dist/conversions-3Q3PEAAN.js +0 -78
  449. package/dist/conversions-K3ODAI43.js +0 -141
  450. package/dist/create-5YILWVDO.js +0 -219
  451. package/dist/create-HOJPDHI7.js +0 -356
  452. package/dist/create-K44T2Q6Y.js +0 -65
  453. package/dist/create-ZNAMVHEU.js +0 -190
  454. package/dist/creatives-BNT3H4XM.js +0 -48
  455. package/dist/creatives-DUJWZ3NZ.js +0 -235
  456. package/dist/credentials-OJSSGGFR.js +0 -291
  457. package/dist/critique-3L4ZXW66.js +0 -230
  458. package/dist/crm-OBEKJZSA.js +0 -327
  459. package/dist/crm-WPYAYKC6.js +0 -418
  460. package/dist/currency-CLB7ROUV.js +0 -91
  461. package/dist/customers-D2JFGNJA.js +0 -69
  462. package/dist/data-ZDTEJD6A.js +0 -665
  463. package/dist/delete-2J3KWLUQ.js +0 -70
  464. package/dist/delete-PZYIQ446.js +0 -71
  465. package/dist/delete-UMXIASEN.js +0 -60
  466. package/dist/demographics-SQ4H2L53.js +0 -145
  467. package/dist/discard-DIFEPLEB.js +0 -72
  468. package/dist/discover-EAI4WDSL.js +0 -191
  469. package/dist/domain-F7AL5FK5.js +0 -104
  470. package/dist/download-QZJ7HPSR.js +0 -174
  471. package/dist/draft-ENZJRFDQ.js +0 -389
  472. package/dist/draft-IHEEODST.js +0 -340
  473. package/dist/draft-LXGHDYFE.js +0 -427
  474. package/dist/draft-R3GI7JWY.js +0 -640
  475. package/dist/draft-SCP52X3L.js +0 -227
  476. package/dist/experiments-KIBYNGMC.js +0 -241
  477. package/dist/extract-VHTUZ5F4.js +0 -177
  478. package/dist/extract-VHTUZ5F4.js.map +0 -1
  479. package/dist/facets-NQK3QRTI.js +0 -118
  480. package/dist/feedback-3XXSMTOR.js +0 -115
  481. package/dist/fetch-L3CQQ7JD.js +0 -487
  482. package/dist/find-EHC6GLXX.js +0 -144
  483. package/dist/fit-3ISZS7SU.js +0 -69
  484. package/dist/flows-ZRIIMBZ2.js +0 -342
  485. package/dist/forecast-XKABU2TH.js +0 -122
  486. package/dist/forecast-YFCLMXAV.js +0 -189
  487. package/dist/funnel-54B4EKHE.js +0 -701
  488. package/dist/generate-7467FZZH.js +0 -265
  489. package/dist/get-CO34HNVU.js +0 -77
  490. package/dist/get-XMYCIQGS.js +0 -114
  491. package/dist/gif-SG7J2HP5.js +0 -111
  492. package/dist/google-GBGLPAP5.js +0 -3759
  493. package/dist/google-GBGLPAP5.js.map +0 -1
  494. package/dist/google-KAULXHDJ.js +0 -164
  495. package/dist/google-ads-76Q6M3YS.js +0 -201
  496. package/dist/history-6EOMC7OH.js +0 -108
  497. package/dist/history-KBTYILFZ.js +0 -204
  498. package/dist/history-N5FY5MJF.js +0 -155
  499. package/dist/hubspot-3S4WXT3K.js +0 -853
  500. package/dist/icon-7DY5VIIP.js +0 -168
  501. package/dist/ideas-EWK7ORTM.js +0 -49
  502. package/dist/images-MEO42Y2U.js +0 -92
  503. package/dist/ingest-KSZA52HX.js +0 -162
  504. package/dist/ingest-OGMHWCAP.js +0 -31
  505. package/dist/insights-MZ5DPH5X.js +0 -151
  506. package/dist/inspect-O7OX6BN4.js +0 -38
  507. package/dist/intent-6NJBN3OR.js +0 -97
  508. package/dist/keyword-gap-Y5J2VZDP.js +0 -132
  509. package/dist/keyword-metrics-FFUUQ5BK.js +0 -234
  510. package/dist/keywords-for-site-B45GUI55.js +0 -134
  511. package/dist/languages-H4VPFO7Y.js +0 -41
  512. package/dist/leads-PETH76DT.js +0 -137
  513. package/dist/learn-R72NV4IW.js +0 -213
  514. package/dist/library-RCPI66LI.js +0 -234
  515. package/dist/line-item-writes-BWUVXPPM.js +0 -212
  516. package/dist/line-items-35TOY23S.js +0 -107
  517. package/dist/link-KBLQKQXW.js +0 -70
  518. package/dist/linkedin-JG6DZDUW.js +0 -1498
  519. package/dist/linkedin-person-MY46X3IC.js +0 -142
  520. package/dist/list-7JDIRO7X.js +0 -320
  521. package/dist/list-GDLZ5MM6.js +0 -89
  522. package/dist/list-OJ24WPFM.js +0 -169
  523. package/dist/locations-AR4ZTFT4.js +0 -69
  524. package/dist/locations-UPY33JUY.js +0 -41
  525. package/dist/log-4VU34Z2N.js +0 -98
  526. package/dist/logo-QYQ6XMNJ.js +0 -18
  527. package/dist/make-DQRPUBAG.js +0 -1391
  528. package/dist/map-GHD2P6NP.js +0 -519
  529. package/dist/mcp-W3MCYESZ.js +0 -1017
  530. package/dist/media-sources-MIUSSDNA.js +0 -35
  531. package/dist/members-4BAKAMJ6.js +0 -50
  532. package/dist/metrics-BNLDV4BU.js +0 -193
  533. package/dist/models-QEB3EOSF.js +0 -155
  534. package/dist/normalize-EE37QQPE.js +0 -145
  535. package/dist/options-JVN3V6MZ.js +0 -126
  536. package/dist/organization-G74BWZ3G.js +0 -949
  537. package/dist/people-6342XCE5.js +0 -161
  538. package/dist/people-SYMS2SEM.js +0 -171
  539. package/dist/performance-Q6GCTMFC.js +0 -28
  540. package/dist/performance-QRAGGHTV.js +0 -6294
  541. package/dist/pinterest-CMVQVQEI.js +0 -105
  542. package/dist/pipedrive-UQLIVP46.js +0 -533
  543. package/dist/pixels-M2UBKUJI.js +0 -62
  544. package/dist/preview-HTXRFQ64.js +0 -103
  545. package/dist/promoted-tweet-writes-LXJMVYFS.js +0 -184
  546. package/dist/promoted-tweets-7F5N7JSK.js +0 -119
  547. package/dist/publish-FXCDBNTC.js +0 -430
  548. package/dist/query-FZAFUWCX.js +0 -68
  549. package/dist/reddit-T4LFEIM4.js +0 -30
  550. package/dist/refresh-B26LKUUG.js +0 -100
  551. package/dist/release-2UNE4OO5.js +0 -66
  552. package/dist/relevant-pages-OFFMPMKG.js +0 -101
  553. package/dist/remove-J5TVVLY5.js +0 -54
  554. package/dist/reopen-47PLYS25.js +0 -69
  555. package/dist/rerun-TJYSQRBH.js +0 -101
  556. package/dist/research-DXINMOUU.js +0 -78
  557. package/dist/research-EBLSEQJH.js +0 -266
  558. package/dist/reset-4YCUZ2GW.js +0 -58
  559. package/dist/reset-KJKOGS3Q.js +0 -58
  560. package/dist/resolve-FRIP5MDZ.js +0 -125
  561. package/dist/retry-2GGIJIQH.js +0 -66
  562. package/dist/retry-IHDRACGQ.js +0 -66
  563. package/dist/revenue-LRG3C7NE.js +0 -99
  564. package/dist/rules-PFNTJLMY.js +0 -163
  565. package/dist/run-55IZCVW5.js +0 -73
  566. package/dist/run-EEAVI35T.js +0 -78
  567. package/dist/scaffold-ad-ES5NJ3YN.js +0 -1600
  568. package/dist/scaffold-ad-ES5NJ3YN.js.map +0 -1
  569. package/dist/scaffold-static-ad-A67432GU.js +0 -998
  570. package/dist/scaffold-video-VIAKOYYH.js +0 -888
  571. package/dist/scaffold-video-VIAKOYYH.js.map +0 -1
  572. package/dist/schedule-XJLZB4MV.js +0 -65
  573. package/dist/scheduled-agents-L2I44XEO.js +0 -59
  574. package/dist/schema-2LDBDZJW.js +0 -136
  575. package/dist/schema-L6JHUAFP.js +0 -241
  576. package/dist/screenshot-4OLPACM2.js +0 -103
  577. package/dist/search-MXNRHWBM.js +0 -192
  578. package/dist/search-terms-OFLKWSEF.js +0 -412
  579. package/dist/select-7JOULKD2.js +0 -134
  580. package/dist/set-Y237PTBV.js +0 -274
  581. package/dist/set-Y237PTBV.js.map +0 -1
  582. package/dist/set-prompt-HOTDOQXJ.js +0 -204
  583. package/dist/setup-links-YBRFDNWP.js +0 -145
  584. package/dist/shopify-4YEER72D.js +0 -4032
  585. package/dist/site-QV3P2CJB.js +0 -181
  586. package/dist/sources-EMYYULIB.js +0 -30
  587. package/dist/sources-FKKMGL4Y.js +0 -463
  588. package/dist/stale-NSZNXMNI.js +0 -92
  589. package/dist/status-XM63KWYU.js +0 -68
  590. package/dist/sticker-OMBCYKWO.js +0 -103
  591. package/dist/stock-YEFNVM3B.js +0 -213
  592. package/dist/studio-2X6UOCAR.js +0 -49
  593. package/dist/sync-PNC5OMRQ.js +0 -58
  594. package/dist/sync-definition-O4P7ZGDL.js +0 -74
  595. package/dist/tags-43WREMX2.js +0 -182
  596. package/dist/tags-AFHNBJC6.js +0 -24
  597. package/dist/tags-N4SLOXBM.js +0 -24
  598. package/dist/tags-R6AEP6MS.js +0 -26
  599. package/dist/tags-UVOG65YM.js +0 -24
  600. package/dist/targeting-criteria-HJDM4PNY.js +0 -113
  601. package/dist/targets-Y7GB4SU6.js +0 -110
  602. package/dist/testimonials-LNDNFTMM.js +0 -32
  603. package/dist/themes-VAKXKG4M.js +0 -102
  604. package/dist/top-companies-NQR2XECL.js +0 -250
  605. package/dist/transcript-WQOGLGFT.js +0 -168
  606. package/dist/translate-GVSR4QOQ.js +0 -607
  607. package/dist/triggers-KFGL5NLK.js +0 -148
  608. package/dist/unlink-F7ABFB6F.js +0 -73
  609. package/dist/unstage-GTEB5KZX.js +0 -92
  610. package/dist/update-IB3COQQD.js +0 -69
  611. package/dist/update-KTHDJTC7.js +0 -175
  612. package/dist/update-VNJA7N4E.js +0 -237
  613. package/dist/update-W7JVLJ5X.js +0 -193
  614. package/dist/upload-5TDIXKTA.js +0 -185
  615. package/dist/url-options-DOOHH2JE.js +0 -137
  616. package/dist/url-params-X5JUGQMH.js +0 -102
  617. package/dist/validate-DVW3XOKN.js +0 -180
  618. package/dist/videos-TV25QJXM.js +0 -41
  619. package/dist/viewer-check-2REUTZ3J.js +0 -89
  620. package/dist/visuals-UHLBDTLR.js +0 -129
  621. package/dist/web-7XRFZ64T.js +0 -180
  622. package/dist/winning-ads-ZWOHUBCD.js +0 -88
  623. package/dist/write-commands-BBPCADFI.js +0 -1555
  624. package/dist/x-IHUAVWR7.js +0 -47
  625. /package/dist/{account-Y3IDIJ3T.js.map → account-LYIKZSK6.js.map} +0 -0
  626. /package/dist/{account-4BZVTYUG.js.map → account-NUMWJW6T.js.map} +0 -0
  627. /package/dist/{account-reads-XOGHJB3K.js.map → account-reads-XQW6DONK.js.map} +0 -0
  628. /package/dist/{account-users-KPNL4YCH.js.map → account-users-HLAIWV56.js.map} +0 -0
  629. /package/dist/{account-writes-EP35RCNO.js.map → account-writes-SQNABDXI.js.map} +0 -0
  630. /package/dist/{accounts-7CHGRXBP.js.map → accounts-3SJ7MJ2J.js.map} +0 -0
  631. /package/dist/{accounts-TXO7KWO7.js.map → accounts-DEE32AAB.js.map} +0 -0
  632. /package/dist/{accounts-TOASY6JJ.js.map → accounts-VD3L6PNZ.js.map} +0 -0
  633. /package/dist/{actions-VVADRKER.js.map → actions-FRKZVXCV.js.map} +0 -0
  634. /package/dist/{activecampaign-Y47OPFKG.js.map → activecampaign-LEFG3NHR.js.map} +0 -0
  635. /package/dist/{ad-group-writes-EVLV4BRD.js.map → ad-group-writes-KEFM32CI.js.map} +0 -0
  636. /package/dist/{ad-groups-UQRBWF2N.js.map → ad-groups-LQ43ZKNL.js.map} +0 -0
  637. /package/dist/{ad-writes-EBCZ5DCY.js.map → ad-writes-XPHRUOPG.js.map} +0 -0
  638. /package/dist/{add-6F4CYN4K.js.map → add-AGLSZKII.js.map} +0 -0
  639. /package/dist/{add-332LWXGH.js.map → add-D4LTUMP7.js.map} +0 -0
  640. /package/dist/{add-ZQUZREJQ.js.map → add-SX4AZSWP.js.map} +0 -0
  641. /package/dist/{ads-3PXOY2XR.js.map → ads-ANPWI4VC.js.map} +0 -0
  642. /package/dist/{ads-2TOWF4GX.js.map → ads-IHKW7OPB.js.map} +0 -0
  643. /package/dist/{advertisers-IYM5OVMK.js.map → advertisers-Y3XOK4KZ.js.map} +0 -0
  644. /package/dist/{alerts-XZ4U5ICB.js.map → alerts-NIPFX5W7.js.map} +0 -0
  645. /package/dist/{analytics-5I7W43AA.js.map → analytics-56YWZQXD.js.map} +0 -0
  646. /package/dist/{analytics-WP2ZKR4M.js.map → analytics-62RX4Y7M.js.map} +0 -0
  647. /package/dist/{animate-EN7VTJEI.js.map → animate-FNBWXIGV.js.map} +0 -0
  648. /package/dist/{assign-WLYEULJE.js.map → assign-5LY7WGFF.js.map} +0 -0
  649. /package/dist/{audience-size-3A4HIUU4.js.map → audience-size-QS2KK5LQ.js.map} +0 -0
  650. /package/dist/{audiences-EZK4PDB5.js.map → audiences-ICDEHT2G.js.map} +0 -0
  651. /package/dist/{audit-ADJUIZM7.js.map → audit-DGFXEARA.js.map} +0 -0
  652. /package/dist/{autocomplete-Q2QNB2UZ.js.map → autocomplete-IKXTDPIZ.js.map} +0 -0
  653. /package/dist/{avatars-CWWTGNHJ.js.map → avatars-7XQ7CHR5.js.map} +0 -0
  654. /package/dist/{bid-pricing-VQ4O67TT.js.map → bid-pricing-XQH4KP6G.js.map} +0 -0
  655. /package/dist/{brief-LMNT2S2P.js.map → brief-AJNHUSNI.js.map} +0 -0
  656. /package/dist/{campaign-groups-LUDSKWLR.js.map → campaign-groups-2Q5ZY77R.js.map} +0 -0
  657. /package/dist/{campaign-writes-4T5DSUMT.js.map → campaign-writes-KN5W3MHP.js.map} +0 -0
  658. /package/dist/{campaign-writes-UEZNUW3F.js.map → campaign-writes-ZAI7K5DH.js.map} +0 -0
  659. /package/dist/{campaigns-5BYWFXHO.js.map → campaigns-3BV5AJWW.js.map} +0 -0
  660. /package/dist/{campaigns-ONN4NLO5.js.map → campaigns-BECFEETG.js.map} +0 -0
  661. /package/dist/{campaigns-HVDSUPP7.js.map → campaigns-ZL7H636S.js.map} +0 -0
  662. /package/dist/{canvas-Z3V6I3ZB.js.map → canvas-B5FB2Y4Y.js.map} +0 -0
  663. /package/dist/{capabilities-OQ4NYKKU.js.map → capabilities-YC7R3SC2.js.map} +0 -0
  664. /package/dist/{catalog-QF4LQU6W.js.map → catalog-IUC2NDKC.js.map} +0 -0
  665. /package/dist/{catalogs-YJSOVGDM.js.map → catalogs-OBZ6RBGL.js.map} +0 -0
  666. /package/dist/{changes-YOTRCCNB.js.map → changes-VNVWJDIH.js.map} +0 -0
  667. /package/dist/{chatgpt-DPLD452Q.js.map → chatgpt-HBHB7HCD.js.map} +0 -0
  668. /package/dist/{chats-SQXB3OY2.js.map → chats-76BSMXGD.js.map} +0 -0
  669. /package/dist/{check-5ON4JDWK.js.map → check-M7BR7ZE5.js.map} +0 -0
  670. /package/dist/{chunk-CMLTGAIN.js.map → chunk-2QW27HOH.js.map} +0 -0
  671. /package/dist/{chunk-C665UXJM.js.map → chunk-34HHJJGC.js.map} +0 -0
  672. /package/dist/{chunk-6NULLQT5.js.map → chunk-3E3HCJQW.js.map} +0 -0
  673. /package/dist/{chunk-2PZPGX4Y.js.map → chunk-4K3RSU2Q.js.map} +0 -0
  674. /package/dist/{chunk-XWCPZFFY.js.map → chunk-56ZBWT6K.js.map} +0 -0
  675. /package/dist/{chunk-TZF6FBGC.js.map → chunk-5JW4S663.js.map} +0 -0
  676. /package/dist/{chunk-2Z2AEFVW.js.map → chunk-5X32X4Y4.js.map} +0 -0
  677. /package/dist/{chunk-7GF7NGXN.js.map → chunk-7BLFVYVN.js.map} +0 -0
  678. /package/dist/{chunk-2AW62CH3.js.map → chunk-ADAHRMJK.js.map} +0 -0
  679. /package/dist/{chunk-7J5XOR5D.js.map → chunk-BSZG36OF.js.map} +0 -0
  680. /package/dist/{chunk-GMS3T4XJ.js.map → chunk-CA37TFTI.js.map} +0 -0
  681. /package/dist/{chunk-242U6TGE.js.map → chunk-CGW6CIGD.js.map} +0 -0
  682. /package/dist/{chunk-W56UIKWA.js.map → chunk-CK5QALZI.js.map} +0 -0
  683. /package/dist/{chunk-S3KIK6XX.js.map → chunk-DVAVH7UV.js.map} +0 -0
  684. /package/dist/{chunk-WE2FY3CF.js.map → chunk-DWKUYUKC.js.map} +0 -0
  685. /package/dist/{chunk-GJPS6SUI.js.map → chunk-DZE2UHST.js.map} +0 -0
  686. /package/dist/{chunk-2K4FKMO2.js.map → chunk-E6UZBNR2.js.map} +0 -0
  687. /package/dist/{chunk-PL54RVWH.js.map → chunk-EKC2AY2Z.js.map} +0 -0
  688. /package/dist/{chunk-PHTVCLBS.js.map → chunk-FCX746P4.js.map} +0 -0
  689. /package/dist/{chunk-R5VM5SDP.js.map → chunk-FGTSDCB4.js.map} +0 -0
  690. /package/dist/{chunk-DTMN4WGF.js.map → chunk-HHX73JNN.js.map} +0 -0
  691. /package/dist/{chunk-A7SCQAI3.js.map → chunk-ICEPT2UY.js.map} +0 -0
  692. /package/dist/{chunk-ZJVA64WN.js.map → chunk-IDJKNL7P.js.map} +0 -0
  693. /package/dist/{chunk-ZIZBAKJF.js.map → chunk-INW3G4P3.js.map} +0 -0
  694. /package/dist/{chunk-3FI2TFHU.js.map → chunk-IYMF3GSB.js.map} +0 -0
  695. /package/dist/{chunk-FCWDXKLI.js.map → chunk-KLF5K55H.js.map} +0 -0
  696. /package/dist/{chunk-HMWCR56Z.js.map → chunk-KQ4XRUMX.js.map} +0 -0
  697. /package/dist/{chunk-XBLVA6BC.js.map → chunk-LQ2OYP25.js.map} +0 -0
  698. /package/dist/{chunk-BNXV3BCD.js.map → chunk-LVJTYN5B.js.map} +0 -0
  699. /package/dist/{chunk-V7T6HAPO.js.map → chunk-LXDZCFII.js.map} +0 -0
  700. /package/dist/{chunk-ILRDYX4N.js.map → chunk-MCAY57W7.js.map} +0 -0
  701. /package/dist/{chunk-XMKXJIHP.js.map → chunk-MCI6ASBE.js.map} +0 -0
  702. /package/dist/{chunk-4XY4F67N.js.map → chunk-MIAAADD3.js.map} +0 -0
  703. /package/dist/{chunk-4MYXMIXE.js.map → chunk-MJX6NXSX.js.map} +0 -0
  704. /package/dist/{chunk-ZBSG24TQ.js.map → chunk-NAF5XSOI.js.map} +0 -0
  705. /package/dist/{chunk-DZVMJL5R.js.map → chunk-NLW7LW75.js.map} +0 -0
  706. /package/dist/{chunk-JHPZATWG.js.map → chunk-O27BGGFC.js.map} +0 -0
  707. /package/dist/{chunk-ICCECMQO.js.map → chunk-O7JZT4G3.js.map} +0 -0
  708. /package/dist/{chunk-NAEFSE7E.js.map → chunk-ORCAPJDH.js.map} +0 -0
  709. /package/dist/{chunk-QNJYT3TT.js.map → chunk-OTLMQDGW.js.map} +0 -0
  710. /package/dist/{chunk-LWIGVKJ3.js.map → chunk-P5YJ3EA7.js.map} +0 -0
  711. /package/dist/{chunk-SY7CUZGW.js.map → chunk-QAEUP6YB.js.map} +0 -0
  712. /package/dist/{chunk-VELT4JFT.js.map → chunk-QTIPLD3K.js.map} +0 -0
  713. /package/dist/{chunk-LWVDNSKG.js.map → chunk-RUCJNF4B.js.map} +0 -0
  714. /package/dist/{chunk-RWKCUFFL.js.map → chunk-S3CNDNCK.js.map} +0 -0
  715. /package/dist/{chunk-EDDHOHTW.js.map → chunk-SAA4VKF2.js.map} +0 -0
  716. /package/dist/{chunk-D7DLBQLS.js.map → chunk-SCN5ZF4U.js.map} +0 -0
  717. /package/dist/{chunk-KF6A6WWW.js.map → chunk-SELST7KK.js.map} +0 -0
  718. /package/dist/{chunk-KJZSY73K.js.map → chunk-SH5WRHTG.js.map} +0 -0
  719. /package/dist/{chunk-2N5MQP65.js.map → chunk-T7V2OPW2.js.map} +0 -0
  720. /package/dist/{chunk-NJ5YPBCO.js.map → chunk-V6OAGU3U.js.map} +0 -0
  721. /package/dist/{chunk-TXLSPOLG.js.map → chunk-V76H3HWD.js.map} +0 -0
  722. /package/dist/{chunk-HSPOURUB.js.map → chunk-VDS6NSLF.js.map} +0 -0
  723. /package/dist/{chunk-FWGVHPJU.js.map → chunk-VPNV2WDD.js.map} +0 -0
  724. /package/dist/{chunk-XDV444PD.js.map → chunk-VRCUW2J5.js.map} +0 -0
  725. /package/dist/{chunk-P7Q7YO4E.js.map → chunk-WONTGSXR.js.map} +0 -0
  726. /package/dist/{chunk-CZWMU2GB.js.map → chunk-WUYDIH4N.js.map} +0 -0
  727. /package/dist/{chunk-RDRWLYFV.js.map → chunk-X6LTFBPF.js.map} +0 -0
  728. /package/dist/{chunk-XWDGD4QA.js.map → chunk-X7UGF2LE.js.map} +0 -0
  729. /package/dist/{chunk-PHVBQLKM.js.map → chunk-XOQWT2LZ.js.map} +0 -0
  730. /package/dist/{chunk-CE6M4VLG.js.map → chunk-XQRMBE6T.js.map} +0 -0
  731. /package/dist/{chunk-G4IFJB4Z.js.map → chunk-XTNXJZRK.js.map} +0 -0
  732. /package/dist/{chunk-QWRMEOYC.js.map → chunk-XXYRJ5YO.js.map} +0 -0
  733. /package/dist/{chunk-AB6EUSUC.js.map → chunk-YYN6I6L5.js.map} +0 -0
  734. /package/dist/{chunk-CV74M3H6.js.map → chunk-ZJK3PVM2.js.map} +0 -0
  735. /package/dist/{chunk-HJ23LIGD.js.map → chunk-ZVA2BZKM.js.map} +0 -0
  736. /package/dist/{chunk-B5RLBFMI.js.map → chunk-ZXG5MYV4.js.map} +0 -0
  737. /package/dist/{claim-XHHTT4E3.js.map → claim-W2QLJLKZ.js.map} +0 -0
  738. /package/dist/{companies-NTJPD6LW.js.map → companies-TJR33KNS.js.map} +0 -0
  739. /package/dist/{company-LIV6UGQK.js.map → company-OGES42WN.js.map} +0 -0
  740. /package/dist/{complete-VKGC56QN.js.map → complete-FCR3UXSH.js.map} +0 -0
  741. /package/dist/{connect-4X6RLEM7.js.map → connect-KACFSWER.js.map} +0 -0
  742. /package/dist/{conversation-365NWY2O.js.map → conversation-TLM7HDLK.js.map} +0 -0
  743. /package/dist/{conversion-report-ZPENZMJF.js.map → conversion-report-4WJ5D4FD.js.map} +0 -0
  744. /package/dist/{conversion-upload-command-6TY2DIBM.js.map → conversion-upload-command-REUCOQWP.js.map} +0 -0
  745. /package/dist/{conversion-writes-NIDUTQHX.js.map → conversion-writes-2W3RVOJW.js.map} +0 -0
  746. /package/dist/{conversions-K3ODAI43.js.map → conversions-2QHK35VN.js.map} +0 -0
  747. /package/dist/{conversions-3Q3PEAAN.js.map → conversions-TI3MZYCT.js.map} +0 -0
  748. /package/dist/{create-HOJPDHI7.js.map → create-5VQBHCGR.js.map} +0 -0
  749. /package/dist/{create-K44T2Q6Y.js.map → create-EAY2FGWT.js.map} +0 -0
  750. /package/dist/{create-ZNAMVHEU.js.map → create-EN2XXE7H.js.map} +0 -0
  751. /package/dist/{create-5YILWVDO.js.map → create-TIKC6VNL.js.map} +0 -0
  752. /package/dist/{creatives-BNT3H4XM.js.map → creatives-SVNGDC45.js.map} +0 -0
  753. /package/dist/{creatives-DUJWZ3NZ.js.map → creatives-U2CIA6KE.js.map} +0 -0
  754. /package/dist/{credentials-OJSSGGFR.js.map → credentials-TSWUQUWC.js.map} +0 -0
  755. /package/dist/{critique-3L4ZXW66.js.map → critique-K3IPZB5P.js.map} +0 -0
  756. /package/dist/{crm-OBEKJZSA.js.map → crm-55ZVWDQF.js.map} +0 -0
  757. /package/dist/{crm-WPYAYKC6.js.map → crm-REPCWBGZ.js.map} +0 -0
  758. /package/dist/{currency-CLB7ROUV.js.map → currency-W5SXMZMS.js.map} +0 -0
  759. /package/dist/{customers-D2JFGNJA.js.map → customers-UN5KGSPW.js.map} +0 -0
  760. /package/dist/{data-ZDTEJD6A.js.map → data-GXAJGTKM.js.map} +0 -0
  761. /package/dist/{delete-UMXIASEN.js.map → delete-3BHIQWRA.js.map} +0 -0
  762. /package/dist/{delete-PZYIQ446.js.map → delete-UJTIAYNP.js.map} +0 -0
  763. /package/dist/{delete-2J3KWLUQ.js.map → delete-Z2TCOW7K.js.map} +0 -0
  764. /package/dist/{demographics-SQ4H2L53.js.map → demographics-EAX6HNK7.js.map} +0 -0
  765. /package/dist/{discard-DIFEPLEB.js.map → discard-BJ4ZSAHC.js.map} +0 -0
  766. /package/dist/{discover-EAI4WDSL.js.map → discover-RHVFYP6K.js.map} +0 -0
  767. /package/dist/{domain-F7AL5FK5.js.map → domain-O5ZO3DND.js.map} +0 -0
  768. /package/dist/{download-QZJ7HPSR.js.map → download-4GPS3IQ7.js.map} +0 -0
  769. /package/dist/{draft-ENZJRFDQ.js.map → draft-4A3QXAHP.js.map} +0 -0
  770. /package/dist/{draft-LXGHDYFE.js.map → draft-APO4PJTI.js.map} +0 -0
  771. /package/dist/{draft-SCP52X3L.js.map → draft-ORRHY3BU.js.map} +0 -0
  772. /package/dist/{draft-IHEEODST.js.map → draft-UIFX2SZ4.js.map} +0 -0
  773. /package/dist/{draft-R3GI7JWY.js.map → draft-ULEQPQYF.js.map} +0 -0
  774. /package/dist/{experiments-KIBYNGMC.js.map → experiments-LMMZJPZU.js.map} +0 -0
  775. /package/dist/{facets-NQK3QRTI.js.map → facets-V2AKFR2X.js.map} +0 -0
  776. /package/dist/{feedback-3XXSMTOR.js.map → feedback-6P545EJO.js.map} +0 -0
  777. /package/dist/{fetch-L3CQQ7JD.js.map → fetch-D7I5WPU5.js.map} +0 -0
  778. /package/dist/{find-EHC6GLXX.js.map → find-F7QVEOF2.js.map} +0 -0
  779. /package/dist/{fit-3ISZS7SU.js.map → fit-BMJTIAOF.js.map} +0 -0
  780. /package/dist/{flows-ZRIIMBZ2.js.map → flows-LCP5GK5X.js.map} +0 -0
  781. /package/dist/{forecast-YFCLMXAV.js.map → forecast-BAP5V237.js.map} +0 -0
  782. /package/dist/{forecast-XKABU2TH.js.map → forecast-DTEBUBC2.js.map} +0 -0
  783. /package/dist/{funnel-54B4EKHE.js.map → funnel-HBLIX62B.js.map} +0 -0
  784. /package/dist/{generate-7467FZZH.js.map → generate-AQZZ5LHX.js.map} +0 -0
  785. /package/dist/{get-XMYCIQGS.js.map → get-FPNIXE7U.js.map} +0 -0
  786. /package/dist/{get-CO34HNVU.js.map → get-UEL3XOCM.js.map} +0 -0
  787. /package/dist/{gif-SG7J2HP5.js.map → gif-44B7JLEN.js.map} +0 -0
  788. /package/dist/{google-KAULXHDJ.js.map → google-EQQN5LVF.js.map} +0 -0
  789. /package/dist/{google-ads-76Q6M3YS.js.map → google-ads-AIVV6NDM.js.map} +0 -0
  790. /package/dist/{history-6EOMC7OH.js.map → history-2SQ5K7SI.js.map} +0 -0
  791. /package/dist/{history-KBTYILFZ.js.map → history-CH3UMQOA.js.map} +0 -0
  792. /package/dist/{history-N5FY5MJF.js.map → history-EQO2QAQX.js.map} +0 -0
  793. /package/dist/{hubspot-3S4WXT3K.js.map → hubspot-FP5F3DF6.js.map} +0 -0
  794. /package/dist/{icon-7DY5VIIP.js.map → icon-DVK3X5Q3.js.map} +0 -0
  795. /package/dist/{ideas-EWK7ORTM.js.map → ideas-ZZVGRYFM.js.map} +0 -0
  796. /package/dist/{images-MEO42Y2U.js.map → images-WPECEULY.js.map} +0 -0
  797. /package/dist/{ingest-KSZA52HX.js.map → ingest-IJYPSWBT.js.map} +0 -0
  798. /package/dist/{ingest-OGMHWCAP.js.map → ingest-LAONXSXA.js.map} +0 -0
  799. /package/dist/{insights-MZ5DPH5X.js.map → insights-FBGRQJZH.js.map} +0 -0
  800. /package/dist/{inspect-O7OX6BN4.js.map → inspect-AGYBLEOH.js.map} +0 -0
  801. /package/dist/{intent-6NJBN3OR.js.map → intent-7Z2X4EL6.js.map} +0 -0
  802. /package/dist/{keyword-gap-Y5J2VZDP.js.map → keyword-gap-4INNXP3Q.js.map} +0 -0
  803. /package/dist/{keyword-metrics-FFUUQ5BK.js.map → keyword-metrics-L2KRRX6S.js.map} +0 -0
  804. /package/dist/{keywords-for-site-B45GUI55.js.map → keywords-for-site-CMVX773Q.js.map} +0 -0
  805. /package/dist/{languages-H4VPFO7Y.js.map → languages-I7M63R3S.js.map} +0 -0
  806. /package/dist/{leads-PETH76DT.js.map → leads-AZA4XCI6.js.map} +0 -0
  807. /package/dist/{learn-R72NV4IW.js.map → learn-DR3M4NWV.js.map} +0 -0
  808. /package/dist/{library-RCPI66LI.js.map → library-UBIXM7AL.js.map} +0 -0
  809. /package/dist/{line-item-writes-BWUVXPPM.js.map → line-item-writes-HKUDMC7V.js.map} +0 -0
  810. /package/dist/{line-items-35TOY23S.js.map → line-items-FYEWAYZI.js.map} +0 -0
  811. /package/dist/{link-KBLQKQXW.js.map → link-I3IJAUDD.js.map} +0 -0
  812. /package/dist/{linkedin-JG6DZDUW.js.map → linkedin-LDQEX5EI.js.map} +0 -0
  813. /package/dist/{linkedin-person-MY46X3IC.js.map → linkedin-person-KMCYKTNQ.js.map} +0 -0
  814. /package/dist/{list-GDLZ5MM6.js.map → list-FF4Z7ZSJ.js.map} +0 -0
  815. /package/dist/{list-7JDIRO7X.js.map → list-IMA2UKN4.js.map} +0 -0
  816. /package/dist/{list-OJ24WPFM.js.map → list-YLNP2PNI.js.map} +0 -0
  817. /package/dist/{locations-UPY33JUY.js.map → locations-2XCXK5FB.js.map} +0 -0
  818. /package/dist/{locations-AR4ZTFT4.js.map → locations-7UESZZO3.js.map} +0 -0
  819. /package/dist/{log-4VU34Z2N.js.map → log-6XLS6FF6.js.map} +0 -0
  820. /package/dist/{logo-QYQ6XMNJ.js.map → logo-YM46ZKEJ.js.map} +0 -0
  821. /package/dist/{make-DQRPUBAG.js.map → make-JBN7RVQC.js.map} +0 -0
  822. /package/dist/{map-GHD2P6NP.js.map → map-AH3GT36P.js.map} +0 -0
  823. /package/dist/{mcp-W3MCYESZ.js.map → mcp-WOGB4LFO.js.map} +0 -0
  824. /package/dist/{media-sources-MIUSSDNA.js.map → media-sources-W7WLORRN.js.map} +0 -0
  825. /package/dist/{members-4BAKAMJ6.js.map → members-PKQM7VME.js.map} +0 -0
  826. /package/dist/{metrics-BNLDV4BU.js.map → metrics-RZXAVZWW.js.map} +0 -0
  827. /package/dist/{models-QEB3EOSF.js.map → models-ELL6ENZ2.js.map} +0 -0
  828. /package/dist/{normalize-EE37QQPE.js.map → normalize-ISMEKGAM.js.map} +0 -0
  829. /package/dist/{options-JVN3V6MZ.js.map → options-LG4TJYZF.js.map} +0 -0
  830. /package/dist/{organization-G74BWZ3G.js.map → organization-5F2UNO53.js.map} +0 -0
  831. /package/dist/{people-6342XCE5.js.map → people-4MXQW22A.js.map} +0 -0
  832. /package/dist/{people-SYMS2SEM.js.map → people-KJXAYQDE.js.map} +0 -0
  833. /package/dist/{performance-Q6GCTMFC.js.map → performance-BZ2D62UE.js.map} +0 -0
  834. /package/dist/{performance-QRAGGHTV.js.map → performance-WDOBJ3NO.js.map} +0 -0
  835. /package/dist/{pinterest-CMVQVQEI.js.map → pinterest-XZDCUELU.js.map} +0 -0
  836. /package/dist/{pipedrive-UQLIVP46.js.map → pipedrive-3YC2GR3M.js.map} +0 -0
  837. /package/dist/{pixels-M2UBKUJI.js.map → pixels-AWPYUSNW.js.map} +0 -0
  838. /package/dist/{preview-HTXRFQ64.js.map → preview-JSTSQFXH.js.map} +0 -0
  839. /package/dist/{promoted-tweet-writes-LXJMVYFS.js.map → promoted-tweet-writes-DP6ORCNX.js.map} +0 -0
  840. /package/dist/{promoted-tweets-7F5N7JSK.js.map → promoted-tweets-VCEY6KCG.js.map} +0 -0
  841. /package/dist/{publish-FXCDBNTC.js.map → publish-A5HHFTWT.js.map} +0 -0
  842. /package/dist/{query-FZAFUWCX.js.map → query-MAQFFK7H.js.map} +0 -0
  843. /package/dist/{reddit-T4LFEIM4.js.map → reddit-DOZRSZG2.js.map} +0 -0
  844. /package/dist/{refresh-B26LKUUG.js.map → refresh-TV4644XE.js.map} +0 -0
  845. /package/dist/{release-2UNE4OO5.js.map → release-LZ3AJFQJ.js.map} +0 -0
  846. /package/dist/{relevant-pages-OFFMPMKG.js.map → relevant-pages-FEF5NHMU.js.map} +0 -0
  847. /package/dist/{remove-J5TVVLY5.js.map → remove-QOMG2RPN.js.map} +0 -0
  848. /package/dist/{reopen-47PLYS25.js.map → reopen-ET5XH2A4.js.map} +0 -0
  849. /package/dist/{rerun-TJYSQRBH.js.map → rerun-KE4YQJTZ.js.map} +0 -0
  850. /package/dist/{research-EBLSEQJH.js.map → research-MJXOZXCS.js.map} +0 -0
  851. /package/dist/{research-DXINMOUU.js.map → research-SYXCLMVQ.js.map} +0 -0
  852. /package/dist/{reset-4YCUZ2GW.js.map → reset-35CQVJUF.js.map} +0 -0
  853. /package/dist/{reset-KJKOGS3Q.js.map → reset-JJ7HESHC.js.map} +0 -0
  854. /package/dist/{resolve-FRIP5MDZ.js.map → resolve-WPW3WUCU.js.map} +0 -0
  855. /package/dist/{retry-2GGIJIQH.js.map → retry-OGM3ZT64.js.map} +0 -0
  856. /package/dist/{retry-IHDRACGQ.js.map → retry-RZFRN73L.js.map} +0 -0
  857. /package/dist/{revenue-LRG3C7NE.js.map → revenue-KPTLBWRO.js.map} +0 -0
  858. /package/dist/{rules-PFNTJLMY.js.map → rules-XX7BZNGH.js.map} +0 -0
  859. /package/dist/{run-55IZCVW5.js.map → run-CI6MGV3E.js.map} +0 -0
  860. /package/dist/{run-EEAVI35T.js.map → run-XPGJ4N2A.js.map} +0 -0
  861. /package/dist/{scaffold-static-ad-A67432GU.js.map → scaffold-static-ad-BSVNHRWI.js.map} +0 -0
  862. /package/dist/{schedule-XJLZB4MV.js.map → schedule-HBHXSZCK.js.map} +0 -0
  863. /package/dist/{scheduled-agents-L2I44XEO.js.map → scheduled-agents-TF5NL3EG.js.map} +0 -0
  864. /package/dist/{schema-2LDBDZJW.js.map → schema-G77I7C6X.js.map} +0 -0
  865. /package/dist/{schema-L6JHUAFP.js.map → schema-YAHA75PQ.js.map} +0 -0
  866. /package/dist/{screenshot-4OLPACM2.js.map → screenshot-4I53QQIB.js.map} +0 -0
  867. /package/dist/{search-MXNRHWBM.js.map → search-ITIKP5AS.js.map} +0 -0
  868. /package/dist/{search-terms-OFLKWSEF.js.map → search-terms-4F25WL6Y.js.map} +0 -0
  869. /package/dist/{select-7JOULKD2.js.map → select-YH6VBDO5.js.map} +0 -0
  870. /package/dist/{set-prompt-HOTDOQXJ.js.map → set-prompt-US7ZKLLB.js.map} +0 -0
  871. /package/dist/{setup-links-YBRFDNWP.js.map → setup-links-IHQ5WONJ.js.map} +0 -0
  872. /package/dist/{shopify-4YEER72D.js.map → shopify-6WFQCGUS.js.map} +0 -0
  873. /package/dist/{site-QV3P2CJB.js.map → site-M3MBRLZJ.js.map} +0 -0
  874. /package/dist/{sources-EMYYULIB.js.map → sources-DE7QIZSV.js.map} +0 -0
  875. /package/dist/{sources-FKKMGL4Y.js.map → sources-LML63ISG.js.map} +0 -0
  876. /package/dist/{stale-NSZNXMNI.js.map → stale-7QJ2IRW6.js.map} +0 -0
  877. /package/dist/{status-XM63KWYU.js.map → status-77OL4B45.js.map} +0 -0
  878. /package/dist/{sticker-OMBCYKWO.js.map → sticker-FMKFZF6H.js.map} +0 -0
  879. /package/dist/{stock-YEFNVM3B.js.map → stock-KM3WLRHN.js.map} +0 -0
  880. /package/dist/{studio-2X6UOCAR.js.map → studio-RMYKICEJ.js.map} +0 -0
  881. /package/dist/{sync-PNC5OMRQ.js.map → sync-L25EVQAI.js.map} +0 -0
  882. /package/dist/{sync-definition-O4P7ZGDL.js.map → sync-definition-HIEWNQNI.js.map} +0 -0
  883. /package/dist/{tags-UVOG65YM.js.map → tags-AXCQCJGZ.js.map} +0 -0
  884. /package/dist/{tags-R6AEP6MS.js.map → tags-KGWISKLB.js.map} +0 -0
  885. /package/dist/{tags-N4SLOXBM.js.map → tags-MZFIIXL5.js.map} +0 -0
  886. /package/dist/{tags-43WREMX2.js.map → tags-QQXAAWUY.js.map} +0 -0
  887. /package/dist/{tags-AFHNBJC6.js.map → tags-RTIT7IW2.js.map} +0 -0
  888. /package/dist/{targeting-criteria-HJDM4PNY.js.map → targeting-criteria-IZ6DPA3L.js.map} +0 -0
  889. /package/dist/{targets-Y7GB4SU6.js.map → targets-OGGHIAZI.js.map} +0 -0
  890. /package/dist/{testimonials-LNDNFTMM.js.map → testimonials-JHB7OKIY.js.map} +0 -0
  891. /package/dist/{themes-VAKXKG4M.js.map → themes-FPIC5RUE.js.map} +0 -0
  892. /package/dist/{top-companies-NQR2XECL.js.map → top-companies-ICP6X6KR.js.map} +0 -0
  893. /package/dist/{transcript-WQOGLGFT.js.map → transcript-KF736ZJ3.js.map} +0 -0
  894. /package/dist/{translate-GVSR4QOQ.js.map → translate-2YFBXM32.js.map} +0 -0
  895. /package/dist/{triggers-KFGL5NLK.js.map → triggers-TSNJSHMU.js.map} +0 -0
  896. /package/dist/{unlink-F7ABFB6F.js.map → unlink-GH4D444H.js.map} +0 -0
  897. /package/dist/{unstage-GTEB5KZX.js.map → unstage-I2NYIM25.js.map} +0 -0
  898. /package/dist/{update-VNJA7N4E.js.map → update-35NWLUT5.js.map} +0 -0
  899. /package/dist/{update-W7JVLJ5X.js.map → update-HEMI6DKR.js.map} +0 -0
  900. /package/dist/{update-KTHDJTC7.js.map → update-PFCO5LEE.js.map} +0 -0
  901. /package/dist/{update-IB3COQQD.js.map → update-RUBMPMZB.js.map} +0 -0
  902. /package/dist/{upload-5TDIXKTA.js.map → upload-I4WIFYMS.js.map} +0 -0
  903. /package/dist/{url-options-DOOHH2JE.js.map → url-options-PBCEEKX6.js.map} +0 -0
  904. /package/dist/{url-params-X5JUGQMH.js.map → url-params-T7KQX5FJ.js.map} +0 -0
  905. /package/dist/{validate-DVW3XOKN.js.map → validate-SJAZONOS.js.map} +0 -0
  906. /package/dist/{videos-TV25QJXM.js.map → videos-P3U53TZL.js.map} +0 -0
  907. /package/dist/{viewer-check-2REUTZ3J.js.map → viewer-check-ZGUCQHTC.js.map} +0 -0
  908. /package/dist/{visuals-UHLBDTLR.js.map → visuals-JYOZPGB7.js.map} +0 -0
  909. /package/dist/{web-7XRFZ64T.js.map → web-SHS6TJWV.js.map} +0 -0
  910. /package/dist/{winning-ads-ZWOHUBCD.js.map → winning-ads-L5HVV5OR.js.map} +0 -0
  911. /package/dist/{write-commands-BBPCADFI.js.map → write-commands-FUOSA6MJ.js.map} +0 -0
  912. /package/dist/{x-IHUAVWR7.js.map → x-VG4U3PFE.js.map} +0 -0
@@ -1,1124 +0,0 @@
1
- import {
2
- flowsDir,
3
- walkNodes
4
- } from "./chunk-DTMN4WGF.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-GMS3T4XJ.js.map