@koda-sl/baker-cli 0.859.0 → 0.862.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 (467) hide show
  1. package/README.md +8 -4
  2. package/dist/{account-HK7WRXP4.js → account-CTGHIPIX.js} +5 -5
  3. package/dist/{account-users-3HOI4TEE.js → account-users-ZCO6H7UY.js} +5 -5
  4. package/dist/{accounts-2LO4PVTX.js → accounts-DBTLIKZI.js} +10 -10
  5. package/dist/{accounts-EJZ4OKEQ.js → accounts-VLXT2D3L.js} +4 -4
  6. package/dist/{actions-IQAYRTIU.js → actions-4L7MLFPC.js} +18 -18
  7. package/dist/{activecampaign-74CZL4AZ.js → activecampaign-U4GIT3HE.js} +4 -4
  8. package/dist/{add-WLOFDV52.js → add-KNSPNYSE.js} +6 -6
  9. package/dist/{add-FEQXTO4J.js → add-KXCKRGJJ.js} +3 -3
  10. package/dist/{add-YSG2ENSB.js → add-UEM2ZBHL.js} +4 -4
  11. package/dist/{ads-FSMYSDHB.js → ads-XJ7HSPQL.js} +4 -4
  12. package/dist/{advertisers-YPKGGID7.js → advertisers-TU2WIVST.js} +4 -4
  13. package/dist/{alerts-POHZRM5I.js → alerts-EVX2BTAK.js} +6 -6
  14. package/dist/{analytics-WAVJIG75.js → analytics-M4W62IFX.js} +8 -8
  15. package/dist/{analytics-QMWD7WBG.js → analytics-WLATQ4OB.js} +4 -4
  16. package/dist/{assign-VWDKG3MT.js → assign-LIHKFHII.js} +4 -4
  17. package/dist/audience-size-63LRFYUV.js +138 -0
  18. package/dist/audience-size-63LRFYUV.js.map +1 -0
  19. package/dist/{audit-SGMBPS2I.js → audit-KCKKN3DQ.js} +4 -4
  20. package/dist/{autocomplete-JJURJJTA.js → autocomplete-IQYSTGOX.js} +4 -4
  21. package/dist/{avatars-SE4RPVZG.js → avatars-HSIPWSAE.js} +4 -4
  22. package/dist/{bid-pricing-ZOKLCXIU.js → bid-pricing-HTY32UFI.js} +5 -5
  23. package/dist/{brief-KNJVX2IL.js → brief-TRRAYXYE.js} +8 -8
  24. package/dist/{campaign-groups-AST4OH6U.js → campaign-groups-LPN4QPTN.js} +10 -10
  25. package/dist/{campaign-writes-4WOKLP5Z.js → campaign-writes-S2SLBQ2F.js} +4 -4
  26. package/dist/{campaigns-EBWI6ANP.js → campaigns-E4XBKTQ3.js} +5 -5
  27. package/dist/{campaigns-7CE6AJW3.js → campaigns-LZRGPANP.js} +13 -13
  28. package/dist/{canvas-I4GJ4TRN.js → canvas-H7NEBLIL.js} +15 -15
  29. package/dist/{capabilities-ADMFOE7A.js → capabilities-ZXQYSSXD.js} +4 -4
  30. package/dist/{catalog-6YLC2VGQ.js → catalog-JUPGQN5T.js} +5 -5
  31. package/dist/{chats-LVQICNQ2.js → chats-ZDCIXZVC.js} +4 -4
  32. package/dist/{check-KZ652GMH.js → check-IUIYFYGF.js} +3 -3
  33. package/dist/{chunk-VU32IFMF.js → chunk-2MP6C5U5.js} +2 -2
  34. package/dist/{chunk-MMPS3PHI.js → chunk-353LBUUN.js} +6 -6
  35. package/dist/{chunk-N3XE2MI3.js → chunk-3GUUM22L.js} +2 -2
  36. package/dist/{chunk-AMAOBP62.js → chunk-3IJKXTDQ.js} +2 -2
  37. package/dist/{chunk-UEURFCPD.js → chunk-4RQ53P6G.js} +2 -2
  38. package/dist/{chunk-HLMCT3JO.js → chunk-4XYYFIIL.js} +3 -3
  39. package/dist/{chunk-YJZBPEXC.js → chunk-5BIUBIVM.js} +3 -3
  40. package/dist/{chunk-E6DMBOUY.js → chunk-6LTSGEMK.js} +2 -2
  41. package/dist/{chunk-TD2U3IVL.js → chunk-6SFJI7D5.js} +2 -1
  42. package/dist/chunk-6SFJI7D5.js.map +1 -0
  43. package/dist/{chunk-AALYP3IJ.js → chunk-7TT2BHG5.js} +2 -2
  44. package/dist/{chunk-NZYMUHWD.js → chunk-A3KYQTDR.js} +3 -3
  45. package/dist/{chunk-QSF2UOVI.js → chunk-BK7JC6XH.js} +2 -2
  46. package/dist/{chunk-W3BPCCWD.js → chunk-BMCA6IMD.js} +2 -2
  47. package/dist/{chunk-34EIBVYB.js → chunk-BTIMO6LD.js} +3 -2
  48. package/dist/{chunk-4Y3BHJBG.js → chunk-C4LNH25Q.js} +2 -2
  49. package/dist/{chunk-NEQDHUA7.js → chunk-CCV7JFGQ.js} +2 -2
  50. package/dist/{chunk-7JP5NSMF.js → chunk-DB3TA3RM.js} +2 -2
  51. package/dist/{chunk-HMPCWCAL.js → chunk-DV3T4IY5.js} +3 -3
  52. package/dist/{chunk-3JWXKOQZ.js → chunk-EL5HNBRX.js} +2 -2
  53. package/dist/{chunk-GQM5FQX6.js → chunk-FABCZU63.js} +3 -3
  54. package/dist/{chunk-2KHM33G5.js → chunk-G6MODWLQ.js} +2 -2
  55. package/dist/{chunk-HG6DNHA4.js → chunk-I5QBKSBO.js} +5 -5
  56. package/dist/{chunk-S4IQAR2M.js → chunk-I6P3LDYI.js} +2 -2
  57. package/dist/{chunk-C6ALBADI.js → chunk-IGVUW6H7.js} +7 -7
  58. package/dist/{chunk-4CYIMFRC.js → chunk-J6ITNPEG.js} +2 -2
  59. package/dist/{chunk-4VXJW5L4.js → chunk-JHAK5FMN.js} +13 -13
  60. package/dist/{chunk-EOCKXP54.js → chunk-JJBZ2JNW.js} +2 -2
  61. package/dist/{chunk-JJSBEUB7.js → chunk-K7I5S2KM.js} +2 -2
  62. package/dist/{chunk-NXGWNIJD.js → chunk-LL2SK5ZC.js} +2 -2
  63. package/dist/{chunk-EJ4HI2WX.js → chunk-LWRF6WO3.js} +2 -2
  64. package/dist/{chunk-6QAAIWSA.js → chunk-MAXQQZ7H.js} +2 -2
  65. package/dist/{chunk-XCE7U7AF.js → chunk-OQY47AJ2.js} +2 -2
  66. package/dist/{chunk-AFA4TY5Q.js → chunk-P7YPWBEV.js} +6 -2
  67. package/dist/{chunk-AFA4TY5Q.js.map → chunk-P7YPWBEV.js.map} +1 -1
  68. package/dist/{chunk-AKYZOV3Q.js → chunk-PTAUELBC.js} +2 -2
  69. package/dist/{chunk-N7FJO2L5.js → chunk-QNGOAOXQ.js} +2 -2
  70. package/dist/{chunk-CFCLFSGG.js → chunk-RADHT4RK.js} +2 -2
  71. package/dist/{chunk-ORKFQ26C.js → chunk-RDU2PZRW.js} +3 -3
  72. package/dist/{chunk-2E3ZKDQU.js → chunk-SBR5PTMZ.js} +2 -2
  73. package/dist/{chunk-SLKIABG2.js → chunk-T75ACB3M.js} +7 -7
  74. package/dist/{chunk-Z325W24B.js → chunk-TAJSLFIT.js} +2 -2
  75. package/dist/{chunk-YJYDAN2M.js → chunk-TR7SOQIS.js} +4 -4
  76. package/dist/{chunk-RJI2DRII.js → chunk-U4W2YZF6.js} +2 -2
  77. package/dist/{chunk-LZGCY3YR.js → chunk-UN74PVON.js} +2 -2
  78. package/dist/{chunk-KVLWEZLH.js → chunk-V7AI27OD.js} +3 -3
  79. package/dist/{chunk-J3DXQKSC.js → chunk-XLEXZSQI.js} +5 -5
  80. package/dist/{claim-N4VQYA3H.js → claim-IAYURHKX.js} +4 -4
  81. package/dist/cli.js +33 -33
  82. package/dist/{companies-5FYWMHBO.js → companies-ZMCQ3CST.js} +8 -8
  83. package/dist/{company-KGKCKOUK.js → company-2MXBVLVV.js} +4 -4
  84. package/dist/{complete-ZPQZABDZ.js → complete-TOBRVR2K.js} +4 -4
  85. package/dist/{connect-4GEOLBGH.js → connect-JKSKU3FQ.js} +7 -7
  86. package/dist/{conversation-GZ6UEEP2.js → conversation-RYJIM3YS.js} +4 -4
  87. package/dist/{conversions-UXUUVP3E.js → conversions-LHV3ZOZM.js} +9 -9
  88. package/dist/{create-X7C5EJWS.js → create-C6GAQ5U6.js} +3 -3
  89. package/dist/{create-2ATCKMWH.js → create-DXZXGDFD.js} +4 -4
  90. package/dist/{create-5THS6ZEE.js → create-OWJ3QBHI.js} +4 -4
  91. package/dist/{create-GOXCOBRF.js → create-VYPZ777T.js} +4 -4
  92. package/dist/{creatives-EJD6T4G3.js → creatives-J5LXNIWE.js} +10 -10
  93. package/dist/{creatives-IM47AFDN.js → creatives-TUCOHGY4.js} +9 -9
  94. package/dist/{credentials-6ISB6Q5B.js → credentials-TLN4MYX5.js} +4 -4
  95. package/dist/{critique-DWHQHPFB.js → critique-EM6T6RY7.js} +5 -5
  96. package/dist/{crm-KCNDSVBM.js → crm-CZCBBPGU.js} +5 -5
  97. package/dist/{crm-RQTRKD7I.js → crm-XF2K2UMQ.js} +5 -5
  98. package/dist/{customers-7YPJ237G.js → customers-3EZDBIDO.js} +6 -6
  99. package/dist/{delete-LDCTMZMP.js → delete-CVHI5TXE.js} +3 -3
  100. package/dist/{delete-ZE6ZN5VM.js → delete-KD3LQOMI.js} +4 -4
  101. package/dist/{delete-UM5HR344.js → delete-OKKZJAKJ.js} +4 -4
  102. package/dist/{demographics-COQFBEMO.js → demographics-TUPAMEVV.js} +4 -4
  103. package/dist/{discard-FZPMZFKN.js → discard-I7UKINSJ.js} +4 -4
  104. package/dist/{domain-5KH5FFXW.js → domain-F5J4J6PG.js} +4 -4
  105. package/dist/{download-K2SKTEMZ.js → download-TXLBMDN7.js} +3 -3
  106. package/dist/{draft-Q2ZRWX4X.js → draft-4LTGNSN3.js} +4 -4
  107. package/dist/{draft-U6LRVU4L.js → draft-UWKMBLKG.js} +4 -4
  108. package/dist/{draft-PVJWZ6DY.js → draft-XAOSMTA4.js} +5 -5
  109. package/dist/engine/index.js +4 -4
  110. package/dist/{experiments-MGPXOPUY.js → experiments-PZZVCCVC.js} +5 -5
  111. package/dist/{extract-CSV4MRYP.js → extract-2DMJH7D7.js} +41 -8
  112. package/dist/extract-2DMJH7D7.js.map +1 -0
  113. package/dist/{facets-NVIH6Q2M.js → facets-CGC6EY4D.js} +53 -11
  114. package/dist/facets-CGC6EY4D.js.map +1 -0
  115. package/dist/{feedback-BWGO3T3W.js → feedback-KBKA6WAT.js} +4 -4
  116. package/dist/{fetch-36SZREI3.js → fetch-E5BZ6KZ4.js} +4 -4
  117. package/dist/{find-R2CNZHTH.js → find-D5W5ULQO.js} +2 -2
  118. package/dist/{fit-3ZCYSSG7.js → fit-X4E7WO3Y.js} +3 -3
  119. package/dist/{flows-Z4LVIOLD.js → flows-7HCMUYG6.js} +12 -12
  120. package/dist/{forecast-XJGJQMWI.js → forecast-GCZS36CM.js} +5 -5
  121. package/dist/{funnel-X3IRLDRN.js → funnel-UHRFQERQ.js} +5 -5
  122. package/dist/{get-JDASPAMD.js → get-IH6YJ67F.js} +4 -4
  123. package/dist/{get-YUZAFNR3.js → get-TIRSXLSY.js} +4 -4
  124. package/dist/{gif-OSR6JPKC.js → gif-M26XZPX2.js} +2 -2
  125. package/dist/{google-E6PFFVHC.js → google-WMRMNIOW.js} +4 -4
  126. package/dist/{google-ads-LCKFHDF5.js → google-ads-2PXDCTSC.js} +4 -4
  127. package/dist/{history-BULTILDY.js → history-IXN6VGBG.js} +4 -4
  128. package/dist/{history-CLC2NFNP.js → history-XIZQ7GK5.js} +4 -4
  129. package/dist/{hubspot-PSB7MJEF.js → hubspot-EQI27OIR.js} +19 -13
  130. package/dist/hubspot-EQI27OIR.js.map +1 -0
  131. package/dist/{icon-GEW4GD6I.js → icon-ZQ6EL5YG.js} +2 -2
  132. package/dist/{ideas-ZMO5FKF4.js → ideas-X2IQXG3U.js} +3 -3
  133. package/dist/{images-X6KTKMV5.js → images-OD7XY5AC.js} +15 -15
  134. package/dist/{ingest-ZE67TFGY.js → ingest-7P5ZE3QT.js} +4 -4
  135. package/dist/{ingest-MQ3XBWLU.js → ingest-XC6SEBSJ.js} +3 -3
  136. package/dist/{inspect-FSFROFTQ.js → inspect-YZR7E2C4.js} +5 -5
  137. package/dist/{keyword-metrics-HPCC3VUO.js → keyword-metrics-RWGE4GMB.js} +4 -4
  138. package/dist/{keywords-for-site-IZLVOWQ4.js → keywords-for-site-XXA5FIY2.js} +4 -4
  139. package/dist/{leads-FBEGW6KU.js → leads-HF3FSVRK.js} +4 -4
  140. package/dist/{learn-CU3U2T74.js → learn-KT26DRVN.js} +5 -5
  141. package/dist/{library-THJNDSJR.js → library-4RXKZI5N.js} +3 -3
  142. package/dist/{line-item-writes-KC3RFEN5.js → line-item-writes-B6HNGF7D.js} +4 -4
  143. package/dist/{line-items-XSSMS4FY.js → line-items-YAPSIJ6Q.js} +5 -5
  144. package/dist/{link-B5I42VEL.js → link-R6JJ6VT2.js} +4 -4
  145. package/dist/{linkedin-7AY4AIRR.js → linkedin-5BSFN3EA.js} +48 -34
  146. package/dist/linkedin-5BSFN3EA.js.map +1 -0
  147. package/dist/{linkedin-person-AX3QWWEQ.js → linkedin-person-TX7DW5EW.js} +4 -4
  148. package/dist/{list-AEO47446.js → list-KNZQGHHI.js} +4 -4
  149. package/dist/{list-2DCI242E.js → list-W75TGGJW.js} +3 -3
  150. package/dist/{list-PF6APVED.js → list-XR5SWV2P.js} +4 -4
  151. package/dist/{log-KQB3EUP7.js → log-CAM3UCCS.js} +4 -4
  152. package/dist/{logo-USK6J647.js → logo-PWZORWJS.js} +3 -3
  153. package/dist/{make-MW3EVYP5.js → make-LHLR54IM.js} +12 -12
  154. package/dist/{map-7CEZYRWT.js → map-E6ONO4QX.js} +5 -5
  155. package/dist/{mcp-XWGGUBTW.js → mcp-K47VVWT4.js} +3 -3
  156. package/dist/{media-sources-56AXYBTI.js → media-sources-XB6ILGKM.js} +2 -2
  157. package/dist/{members-MIEEMWZT.js → members-Z7IV2U7A.js} +4 -4
  158. package/dist/{normalize-7JSULNDH.js → normalize-ITBUS4QI.js} +4 -4
  159. package/dist/{options-D3Z6UQNV.js → options-5CBVAFE6.js} +7 -7
  160. package/dist/{organization-JNDUXYO2.js → organization-H6NNPOZO.js} +4 -4
  161. package/dist/{people-NK4GOFR6.js → people-HIBQDIKF.js} +4 -4
  162. package/dist/{people-NNLT3IA3.js → people-IW2HQLUG.js} +4 -4
  163. package/dist/{performance-K6DMXDXI.js → performance-TP4MEXJC.js} +4 -4
  164. package/dist/{performance-WH3XYXYG.js → performance-U4E5HG27.js} +5 -5
  165. package/dist/{pinterest-2MR2IAMV.js → pinterest-2H2T2XIT.js} +2 -2
  166. package/dist/{pipedrive-3NH3K54S.js → pipedrive-SUYPR2EH.js} +4 -4
  167. package/dist/{preview-JJZ7BUTX.js → preview-2S4MSP54.js} +4 -4
  168. package/dist/{promoted-tweet-writes-VCHJAH5J.js → promoted-tweet-writes-L4N47GU2.js} +4 -4
  169. package/dist/{promoted-tweets-4CQ4TJ47.js → promoted-tweets-D2EVLGR7.js} +3 -3
  170. package/dist/{publish-B35O2MOE.js → publish-WTFUVHZS.js} +4 -4
  171. package/dist/{reddit-7T7DHN3F.js → reddit-GNAL23HF.js} +5 -5
  172. package/dist/{refresh-ZWTCYBKM.js → refresh-6HSCFOB7.js} +3 -3
  173. package/dist/{release-XK6EKNMO.js → release-Z4E5WBWT.js} +4 -4
  174. package/dist/{remove-WIJ2BIH2.js → remove-UCESCWOY.js} +3 -3
  175. package/dist/{reopen-NMQIXSEK.js → reopen-5IZM2WTO.js} +4 -4
  176. package/dist/{rerun-SFGUAO3X.js → rerun-P7BJ33RX.js} +17 -17
  177. package/dist/{research-3K3WNJA3.js → research-4JG6UI47.js} +14 -14
  178. package/dist/{research-UOJOWWMA.js → research-I6GSVWEK.js} +3 -3
  179. package/dist/{reset-4L5L6WGV.js → reset-3Z54XRFJ.js} +3 -3
  180. package/dist/{reset-GVYQE4WW.js → reset-MXE7RXBH.js} +3 -3
  181. package/dist/{resolve-FG3MWWBC.js → resolve-WCLEXURA.js} +4 -4
  182. package/dist/{retry-JQGRODJ4.js → retry-LHAQ2ATN.js} +3 -3
  183. package/dist/{retry-W5EZHURX.js → retry-LKZSTZNW.js} +3 -3
  184. package/dist/{revenue-AOJCUTRY.js → revenue-OGKFNOMV.js} +5 -5
  185. package/dist/{rules-CSEW6CHU.js → rules-QEKCMD5H.js} +6 -6
  186. package/dist/{run-JHEZBZUG.js → run-LVVTOM4B.js} +17 -17
  187. package/dist/{run-FQUGFAWV.js → run-N4SQE2RG.js} +4 -4
  188. package/dist/{scaffold-ad-XPOGCHGH.js → scaffold-ad-YVWTZ2JP.js} +12 -12
  189. package/dist/{scaffold-static-ad-XYQEAVIZ.js → scaffold-static-ad-AY6G4SQM.js} +20 -20
  190. package/dist/{scaffold-video-BYT6CEJJ.js → scaffold-video-YHU4WCSS.js} +9 -9
  191. package/dist/{schedule-YAJ56AVT.js → schedule-GWIVOCLM.js} +3 -3
  192. package/dist/{scheduled-agents-UOF7PNWN.js → scheduled-agents-7QQNV4N6.js} +11 -11
  193. package/dist/{schema-F3RJZBGO.js → schema-DMZCRTXQ.js} +1 -1
  194. package/dist/{schema-5PM2CAEB.js → schema-LIRJOOCO.js} +5 -5
  195. package/dist/{screenshot-YC3N2X7G.js → screenshot-V6HSM3ED.js} +2 -2
  196. package/dist/{search-NNMX23JW.js → search-S32I4KNS.js} +3 -3
  197. package/dist/{select-ET72GOZY.js → select-MMOVRFNE.js} +6 -6
  198. package/dist/{set-TK5VGA4L.js → set-7FBICG5P.js} +6 -6
  199. package/dist/{set-prompt-GUSGA3LK.js → set-prompt-XTZ3KJOV.js} +6 -6
  200. package/dist/{setup-links-YYHZUOGT.js → setup-links-A2ZGNY4M.js} +4 -4
  201. package/dist/{shopify-DXQMHIUW.js → shopify-REKWZU4G.js} +4 -4
  202. package/dist/{site-R6KYF3KD.js → site-TLPNM76V.js} +5 -5
  203. package/dist/{sources-GZXYNDBG.js → sources-EONNVSIV.js} +7 -7
  204. package/dist/{sources-JIZHPKLM.js → sources-JO7OTY37.js} +6 -6
  205. package/dist/{stale-4I4IW2YD.js → stale-TA5EGT67.js} +6 -6
  206. package/dist/{status-MHCCBSW2.js → status-LPSN3B27.js} +4 -4
  207. package/dist/{sticker-NXXQUEBJ.js → sticker-L65Z53BA.js} +2 -2
  208. package/dist/{stock-CECQ23X7.js → stock-75DL3B6G.js} +4 -4
  209. package/dist/{sync-3YUQY3HX.js → sync-BPSVK3XG.js} +3 -3
  210. package/dist/{sync-definition-JVRWNQXE.js → sync-definition-E4SJPE53.js} +9 -9
  211. package/dist/{tags-U7IU3BZV.js → tags-6NZIRE5D.js} +4 -4
  212. package/dist/{tags-WEMAWZPQ.js → tags-FAOFI4Y6.js} +4 -4
  213. package/dist/{tags-5C5TLCGR.js → tags-V65B2HLX.js} +4 -4
  214. package/dist/{tags-DD75TQEP.js → tags-W67KM5VO.js} +4 -4
  215. package/dist/{tags-NEDIFLJO.js → tags-WCBRLSFA.js} +4 -4
  216. package/dist/{targeting-criteria-IBEZU2P6.js → targeting-criteria-2II76HEG.js} +3 -3
  217. package/dist/{targets-MHGVJAFP.js → targets-GCUCFWC6.js} +4 -4
  218. package/dist/{testimonials-DLF47RGP.js → testimonials-KMNIBWZQ.js} +6 -6
  219. package/dist/{top-companies-RTLJM4U2.js → top-companies-LBHKBJKP.js} +8 -8
  220. package/dist/{transcript-C5EJOXG4.js → transcript-5XBK2T6R.js} +4 -4
  221. package/dist/{translate-UBB5TK7Y.js → translate-5X533F6J.js} +11 -11
  222. package/dist/{triggers-UKOTCB3Z.js → triggers-72FRLRMW.js} +4 -4
  223. package/dist/{unlink-CIUORKMJ.js → unlink-QGV3ME2Z.js} +4 -4
  224. package/dist/{unstage-6X43XS5O.js → unstage-RQQLUHPT.js} +4 -4
  225. package/dist/{update-TIRJ6RIL.js → update-2BBHAUOR.js} +4 -4
  226. package/dist/{update-KCDSUNUR.js → update-U6IVQI5L.js} +3 -3
  227. package/dist/{update-6SAS4IRM.js → update-V6JEK66C.js} +4 -4
  228. package/dist/{update-E2YWWV2W.js → update-YC5OGSSQ.js} +4 -4
  229. package/dist/{upload-7XVC63VB.js → upload-3IZIKPMR.js} +4 -4
  230. package/dist/{url-params-LCEOEUPY.js → url-params-YKJ5KAGE.js} +4 -4
  231. package/dist/{validate-KOJDBZIP.js → validate-2TAMLZN2.js} +11 -11
  232. package/dist/{videos-EA7IJ25I.js → videos-556OVNK7.js} +6 -6
  233. package/dist/{viewer-check-GYG7QIV3.js → viewer-check-DU7JROZJ.js} +3 -3
  234. package/dist/{visuals-QV3G4T4J.js → visuals-3YHVAPRL.js} +4 -4
  235. package/dist/{web-D2I3EZUH.js → web-H3YHZYYP.js} +4 -4
  236. package/dist/{winning-ads-64PWAP4U.js → winning-ads-YJXM3YB3.js} +3 -3
  237. package/dist/{write-commands-JC5FTP2Y.js → write-commands-TAGEVJ6A.js} +5 -5
  238. package/dist/{x-AQZXDM5Q.js → x-ORCSH3J5.js} +6 -6
  239. package/package.json +1 -1
  240. package/dist/audience-size-O5ZAKB76.js +0 -78
  241. package/dist/audience-size-O5ZAKB76.js.map +0 -1
  242. package/dist/chunk-TD2U3IVL.js.map +0 -1
  243. package/dist/extract-CSV4MRYP.js.map +0 -1
  244. package/dist/facets-NVIH6Q2M.js.map +0 -1
  245. package/dist/hubspot-PSB7MJEF.js.map +0 -1
  246. package/dist/linkedin-7AY4AIRR.js.map +0 -1
  247. /package/dist/{account-HK7WRXP4.js.map → account-CTGHIPIX.js.map} +0 -0
  248. /package/dist/{account-users-3HOI4TEE.js.map → account-users-ZCO6H7UY.js.map} +0 -0
  249. /package/dist/{accounts-2LO4PVTX.js.map → accounts-DBTLIKZI.js.map} +0 -0
  250. /package/dist/{accounts-EJZ4OKEQ.js.map → accounts-VLXT2D3L.js.map} +0 -0
  251. /package/dist/{actions-IQAYRTIU.js.map → actions-4L7MLFPC.js.map} +0 -0
  252. /package/dist/{activecampaign-74CZL4AZ.js.map → activecampaign-U4GIT3HE.js.map} +0 -0
  253. /package/dist/{add-WLOFDV52.js.map → add-KNSPNYSE.js.map} +0 -0
  254. /package/dist/{add-FEQXTO4J.js.map → add-KXCKRGJJ.js.map} +0 -0
  255. /package/dist/{add-YSG2ENSB.js.map → add-UEM2ZBHL.js.map} +0 -0
  256. /package/dist/{ads-FSMYSDHB.js.map → ads-XJ7HSPQL.js.map} +0 -0
  257. /package/dist/{advertisers-YPKGGID7.js.map → advertisers-TU2WIVST.js.map} +0 -0
  258. /package/dist/{alerts-POHZRM5I.js.map → alerts-EVX2BTAK.js.map} +0 -0
  259. /package/dist/{analytics-WAVJIG75.js.map → analytics-M4W62IFX.js.map} +0 -0
  260. /package/dist/{analytics-QMWD7WBG.js.map → analytics-WLATQ4OB.js.map} +0 -0
  261. /package/dist/{assign-VWDKG3MT.js.map → assign-LIHKFHII.js.map} +0 -0
  262. /package/dist/{audit-SGMBPS2I.js.map → audit-KCKKN3DQ.js.map} +0 -0
  263. /package/dist/{autocomplete-JJURJJTA.js.map → autocomplete-IQYSTGOX.js.map} +0 -0
  264. /package/dist/{avatars-SE4RPVZG.js.map → avatars-HSIPWSAE.js.map} +0 -0
  265. /package/dist/{bid-pricing-ZOKLCXIU.js.map → bid-pricing-HTY32UFI.js.map} +0 -0
  266. /package/dist/{brief-KNJVX2IL.js.map → brief-TRRAYXYE.js.map} +0 -0
  267. /package/dist/{campaign-groups-AST4OH6U.js.map → campaign-groups-LPN4QPTN.js.map} +0 -0
  268. /package/dist/{campaign-writes-4WOKLP5Z.js.map → campaign-writes-S2SLBQ2F.js.map} +0 -0
  269. /package/dist/{campaigns-EBWI6ANP.js.map → campaigns-E4XBKTQ3.js.map} +0 -0
  270. /package/dist/{campaigns-7CE6AJW3.js.map → campaigns-LZRGPANP.js.map} +0 -0
  271. /package/dist/{canvas-I4GJ4TRN.js.map → canvas-H7NEBLIL.js.map} +0 -0
  272. /package/dist/{capabilities-ADMFOE7A.js.map → capabilities-ZXQYSSXD.js.map} +0 -0
  273. /package/dist/{catalog-6YLC2VGQ.js.map → catalog-JUPGQN5T.js.map} +0 -0
  274. /package/dist/{chats-LVQICNQ2.js.map → chats-ZDCIXZVC.js.map} +0 -0
  275. /package/dist/{check-KZ652GMH.js.map → check-IUIYFYGF.js.map} +0 -0
  276. /package/dist/{chunk-VU32IFMF.js.map → chunk-2MP6C5U5.js.map} +0 -0
  277. /package/dist/{chunk-MMPS3PHI.js.map → chunk-353LBUUN.js.map} +0 -0
  278. /package/dist/{chunk-N3XE2MI3.js.map → chunk-3GUUM22L.js.map} +0 -0
  279. /package/dist/{chunk-AMAOBP62.js.map → chunk-3IJKXTDQ.js.map} +0 -0
  280. /package/dist/{chunk-UEURFCPD.js.map → chunk-4RQ53P6G.js.map} +0 -0
  281. /package/dist/{chunk-HLMCT3JO.js.map → chunk-4XYYFIIL.js.map} +0 -0
  282. /package/dist/{chunk-YJZBPEXC.js.map → chunk-5BIUBIVM.js.map} +0 -0
  283. /package/dist/{chunk-E6DMBOUY.js.map → chunk-6LTSGEMK.js.map} +0 -0
  284. /package/dist/{chunk-AALYP3IJ.js.map → chunk-7TT2BHG5.js.map} +0 -0
  285. /package/dist/{chunk-NZYMUHWD.js.map → chunk-A3KYQTDR.js.map} +0 -0
  286. /package/dist/{chunk-QSF2UOVI.js.map → chunk-BK7JC6XH.js.map} +0 -0
  287. /package/dist/{chunk-W3BPCCWD.js.map → chunk-BMCA6IMD.js.map} +0 -0
  288. /package/dist/{chunk-34EIBVYB.js.map → chunk-BTIMO6LD.js.map} +0 -0
  289. /package/dist/{chunk-4Y3BHJBG.js.map → chunk-C4LNH25Q.js.map} +0 -0
  290. /package/dist/{chunk-NEQDHUA7.js.map → chunk-CCV7JFGQ.js.map} +0 -0
  291. /package/dist/{chunk-7JP5NSMF.js.map → chunk-DB3TA3RM.js.map} +0 -0
  292. /package/dist/{chunk-HMPCWCAL.js.map → chunk-DV3T4IY5.js.map} +0 -0
  293. /package/dist/{chunk-3JWXKOQZ.js.map → chunk-EL5HNBRX.js.map} +0 -0
  294. /package/dist/{chunk-GQM5FQX6.js.map → chunk-FABCZU63.js.map} +0 -0
  295. /package/dist/{chunk-2KHM33G5.js.map → chunk-G6MODWLQ.js.map} +0 -0
  296. /package/dist/{chunk-HG6DNHA4.js.map → chunk-I5QBKSBO.js.map} +0 -0
  297. /package/dist/{chunk-S4IQAR2M.js.map → chunk-I6P3LDYI.js.map} +0 -0
  298. /package/dist/{chunk-C6ALBADI.js.map → chunk-IGVUW6H7.js.map} +0 -0
  299. /package/dist/{chunk-4CYIMFRC.js.map → chunk-J6ITNPEG.js.map} +0 -0
  300. /package/dist/{chunk-4VXJW5L4.js.map → chunk-JHAK5FMN.js.map} +0 -0
  301. /package/dist/{chunk-EOCKXP54.js.map → chunk-JJBZ2JNW.js.map} +0 -0
  302. /package/dist/{chunk-JJSBEUB7.js.map → chunk-K7I5S2KM.js.map} +0 -0
  303. /package/dist/{chunk-NXGWNIJD.js.map → chunk-LL2SK5ZC.js.map} +0 -0
  304. /package/dist/{chunk-EJ4HI2WX.js.map → chunk-LWRF6WO3.js.map} +0 -0
  305. /package/dist/{chunk-6QAAIWSA.js.map → chunk-MAXQQZ7H.js.map} +0 -0
  306. /package/dist/{chunk-XCE7U7AF.js.map → chunk-OQY47AJ2.js.map} +0 -0
  307. /package/dist/{chunk-AKYZOV3Q.js.map → chunk-PTAUELBC.js.map} +0 -0
  308. /package/dist/{chunk-N7FJO2L5.js.map → chunk-QNGOAOXQ.js.map} +0 -0
  309. /package/dist/{chunk-CFCLFSGG.js.map → chunk-RADHT4RK.js.map} +0 -0
  310. /package/dist/{chunk-ORKFQ26C.js.map → chunk-RDU2PZRW.js.map} +0 -0
  311. /package/dist/{chunk-2E3ZKDQU.js.map → chunk-SBR5PTMZ.js.map} +0 -0
  312. /package/dist/{chunk-SLKIABG2.js.map → chunk-T75ACB3M.js.map} +0 -0
  313. /package/dist/{chunk-Z325W24B.js.map → chunk-TAJSLFIT.js.map} +0 -0
  314. /package/dist/{chunk-YJYDAN2M.js.map → chunk-TR7SOQIS.js.map} +0 -0
  315. /package/dist/{chunk-RJI2DRII.js.map → chunk-U4W2YZF6.js.map} +0 -0
  316. /package/dist/{chunk-LZGCY3YR.js.map → chunk-UN74PVON.js.map} +0 -0
  317. /package/dist/{chunk-KVLWEZLH.js.map → chunk-V7AI27OD.js.map} +0 -0
  318. /package/dist/{chunk-J3DXQKSC.js.map → chunk-XLEXZSQI.js.map} +0 -0
  319. /package/dist/{claim-N4VQYA3H.js.map → claim-IAYURHKX.js.map} +0 -0
  320. /package/dist/{companies-5FYWMHBO.js.map → companies-ZMCQ3CST.js.map} +0 -0
  321. /package/dist/{company-KGKCKOUK.js.map → company-2MXBVLVV.js.map} +0 -0
  322. /package/dist/{complete-ZPQZABDZ.js.map → complete-TOBRVR2K.js.map} +0 -0
  323. /package/dist/{connect-4GEOLBGH.js.map → connect-JKSKU3FQ.js.map} +0 -0
  324. /package/dist/{conversation-GZ6UEEP2.js.map → conversation-RYJIM3YS.js.map} +0 -0
  325. /package/dist/{conversions-UXUUVP3E.js.map → conversions-LHV3ZOZM.js.map} +0 -0
  326. /package/dist/{create-X7C5EJWS.js.map → create-C6GAQ5U6.js.map} +0 -0
  327. /package/dist/{create-2ATCKMWH.js.map → create-DXZXGDFD.js.map} +0 -0
  328. /package/dist/{create-5THS6ZEE.js.map → create-OWJ3QBHI.js.map} +0 -0
  329. /package/dist/{create-GOXCOBRF.js.map → create-VYPZ777T.js.map} +0 -0
  330. /package/dist/{creatives-EJD6T4G3.js.map → creatives-J5LXNIWE.js.map} +0 -0
  331. /package/dist/{creatives-IM47AFDN.js.map → creatives-TUCOHGY4.js.map} +0 -0
  332. /package/dist/{credentials-6ISB6Q5B.js.map → credentials-TLN4MYX5.js.map} +0 -0
  333. /package/dist/{critique-DWHQHPFB.js.map → critique-EM6T6RY7.js.map} +0 -0
  334. /package/dist/{crm-KCNDSVBM.js.map → crm-CZCBBPGU.js.map} +0 -0
  335. /package/dist/{crm-RQTRKD7I.js.map → crm-XF2K2UMQ.js.map} +0 -0
  336. /package/dist/{customers-7YPJ237G.js.map → customers-3EZDBIDO.js.map} +0 -0
  337. /package/dist/{delete-LDCTMZMP.js.map → delete-CVHI5TXE.js.map} +0 -0
  338. /package/dist/{delete-ZE6ZN5VM.js.map → delete-KD3LQOMI.js.map} +0 -0
  339. /package/dist/{delete-UM5HR344.js.map → delete-OKKZJAKJ.js.map} +0 -0
  340. /package/dist/{demographics-COQFBEMO.js.map → demographics-TUPAMEVV.js.map} +0 -0
  341. /package/dist/{discard-FZPMZFKN.js.map → discard-I7UKINSJ.js.map} +0 -0
  342. /package/dist/{domain-5KH5FFXW.js.map → domain-F5J4J6PG.js.map} +0 -0
  343. /package/dist/{download-K2SKTEMZ.js.map → download-TXLBMDN7.js.map} +0 -0
  344. /package/dist/{draft-Q2ZRWX4X.js.map → draft-4LTGNSN3.js.map} +0 -0
  345. /package/dist/{draft-U6LRVU4L.js.map → draft-UWKMBLKG.js.map} +0 -0
  346. /package/dist/{draft-PVJWZ6DY.js.map → draft-XAOSMTA4.js.map} +0 -0
  347. /package/dist/{experiments-MGPXOPUY.js.map → experiments-PZZVCCVC.js.map} +0 -0
  348. /package/dist/{feedback-BWGO3T3W.js.map → feedback-KBKA6WAT.js.map} +0 -0
  349. /package/dist/{fetch-36SZREI3.js.map → fetch-E5BZ6KZ4.js.map} +0 -0
  350. /package/dist/{find-R2CNZHTH.js.map → find-D5W5ULQO.js.map} +0 -0
  351. /package/dist/{fit-3ZCYSSG7.js.map → fit-X4E7WO3Y.js.map} +0 -0
  352. /package/dist/{flows-Z4LVIOLD.js.map → flows-7HCMUYG6.js.map} +0 -0
  353. /package/dist/{forecast-XJGJQMWI.js.map → forecast-GCZS36CM.js.map} +0 -0
  354. /package/dist/{funnel-X3IRLDRN.js.map → funnel-UHRFQERQ.js.map} +0 -0
  355. /package/dist/{get-JDASPAMD.js.map → get-IH6YJ67F.js.map} +0 -0
  356. /package/dist/{get-YUZAFNR3.js.map → get-TIRSXLSY.js.map} +0 -0
  357. /package/dist/{gif-OSR6JPKC.js.map → gif-M26XZPX2.js.map} +0 -0
  358. /package/dist/{google-E6PFFVHC.js.map → google-WMRMNIOW.js.map} +0 -0
  359. /package/dist/{google-ads-LCKFHDF5.js.map → google-ads-2PXDCTSC.js.map} +0 -0
  360. /package/dist/{history-BULTILDY.js.map → history-IXN6VGBG.js.map} +0 -0
  361. /package/dist/{history-CLC2NFNP.js.map → history-XIZQ7GK5.js.map} +0 -0
  362. /package/dist/{icon-GEW4GD6I.js.map → icon-ZQ6EL5YG.js.map} +0 -0
  363. /package/dist/{ideas-ZMO5FKF4.js.map → ideas-X2IQXG3U.js.map} +0 -0
  364. /package/dist/{images-X6KTKMV5.js.map → images-OD7XY5AC.js.map} +0 -0
  365. /package/dist/{ingest-ZE67TFGY.js.map → ingest-7P5ZE3QT.js.map} +0 -0
  366. /package/dist/{ingest-MQ3XBWLU.js.map → ingest-XC6SEBSJ.js.map} +0 -0
  367. /package/dist/{inspect-FSFROFTQ.js.map → inspect-YZR7E2C4.js.map} +0 -0
  368. /package/dist/{keyword-metrics-HPCC3VUO.js.map → keyword-metrics-RWGE4GMB.js.map} +0 -0
  369. /package/dist/{keywords-for-site-IZLVOWQ4.js.map → keywords-for-site-XXA5FIY2.js.map} +0 -0
  370. /package/dist/{leads-FBEGW6KU.js.map → leads-HF3FSVRK.js.map} +0 -0
  371. /package/dist/{learn-CU3U2T74.js.map → learn-KT26DRVN.js.map} +0 -0
  372. /package/dist/{library-THJNDSJR.js.map → library-4RXKZI5N.js.map} +0 -0
  373. /package/dist/{line-item-writes-KC3RFEN5.js.map → line-item-writes-B6HNGF7D.js.map} +0 -0
  374. /package/dist/{line-items-XSSMS4FY.js.map → line-items-YAPSIJ6Q.js.map} +0 -0
  375. /package/dist/{link-B5I42VEL.js.map → link-R6JJ6VT2.js.map} +0 -0
  376. /package/dist/{linkedin-person-AX3QWWEQ.js.map → linkedin-person-TX7DW5EW.js.map} +0 -0
  377. /package/dist/{list-AEO47446.js.map → list-KNZQGHHI.js.map} +0 -0
  378. /package/dist/{list-2DCI242E.js.map → list-W75TGGJW.js.map} +0 -0
  379. /package/dist/{list-PF6APVED.js.map → list-XR5SWV2P.js.map} +0 -0
  380. /package/dist/{log-KQB3EUP7.js.map → log-CAM3UCCS.js.map} +0 -0
  381. /package/dist/{logo-USK6J647.js.map → logo-PWZORWJS.js.map} +0 -0
  382. /package/dist/{make-MW3EVYP5.js.map → make-LHLR54IM.js.map} +0 -0
  383. /package/dist/{map-7CEZYRWT.js.map → map-E6ONO4QX.js.map} +0 -0
  384. /package/dist/{mcp-XWGGUBTW.js.map → mcp-K47VVWT4.js.map} +0 -0
  385. /package/dist/{media-sources-56AXYBTI.js.map → media-sources-XB6ILGKM.js.map} +0 -0
  386. /package/dist/{members-MIEEMWZT.js.map → members-Z7IV2U7A.js.map} +0 -0
  387. /package/dist/{normalize-7JSULNDH.js.map → normalize-ITBUS4QI.js.map} +0 -0
  388. /package/dist/{options-D3Z6UQNV.js.map → options-5CBVAFE6.js.map} +0 -0
  389. /package/dist/{organization-JNDUXYO2.js.map → organization-H6NNPOZO.js.map} +0 -0
  390. /package/dist/{people-NK4GOFR6.js.map → people-HIBQDIKF.js.map} +0 -0
  391. /package/dist/{people-NNLT3IA3.js.map → people-IW2HQLUG.js.map} +0 -0
  392. /package/dist/{performance-K6DMXDXI.js.map → performance-TP4MEXJC.js.map} +0 -0
  393. /package/dist/{performance-WH3XYXYG.js.map → performance-U4E5HG27.js.map} +0 -0
  394. /package/dist/{pinterest-2MR2IAMV.js.map → pinterest-2H2T2XIT.js.map} +0 -0
  395. /package/dist/{pipedrive-3NH3K54S.js.map → pipedrive-SUYPR2EH.js.map} +0 -0
  396. /package/dist/{preview-JJZ7BUTX.js.map → preview-2S4MSP54.js.map} +0 -0
  397. /package/dist/{promoted-tweet-writes-VCHJAH5J.js.map → promoted-tweet-writes-L4N47GU2.js.map} +0 -0
  398. /package/dist/{promoted-tweets-4CQ4TJ47.js.map → promoted-tweets-D2EVLGR7.js.map} +0 -0
  399. /package/dist/{publish-B35O2MOE.js.map → publish-WTFUVHZS.js.map} +0 -0
  400. /package/dist/{reddit-7T7DHN3F.js.map → reddit-GNAL23HF.js.map} +0 -0
  401. /package/dist/{refresh-ZWTCYBKM.js.map → refresh-6HSCFOB7.js.map} +0 -0
  402. /package/dist/{release-XK6EKNMO.js.map → release-Z4E5WBWT.js.map} +0 -0
  403. /package/dist/{remove-WIJ2BIH2.js.map → remove-UCESCWOY.js.map} +0 -0
  404. /package/dist/{reopen-NMQIXSEK.js.map → reopen-5IZM2WTO.js.map} +0 -0
  405. /package/dist/{rerun-SFGUAO3X.js.map → rerun-P7BJ33RX.js.map} +0 -0
  406. /package/dist/{research-3K3WNJA3.js.map → research-4JG6UI47.js.map} +0 -0
  407. /package/dist/{research-UOJOWWMA.js.map → research-I6GSVWEK.js.map} +0 -0
  408. /package/dist/{reset-4L5L6WGV.js.map → reset-3Z54XRFJ.js.map} +0 -0
  409. /package/dist/{reset-GVYQE4WW.js.map → reset-MXE7RXBH.js.map} +0 -0
  410. /package/dist/{resolve-FG3MWWBC.js.map → resolve-WCLEXURA.js.map} +0 -0
  411. /package/dist/{retry-JQGRODJ4.js.map → retry-LHAQ2ATN.js.map} +0 -0
  412. /package/dist/{retry-W5EZHURX.js.map → retry-LKZSTZNW.js.map} +0 -0
  413. /package/dist/{revenue-AOJCUTRY.js.map → revenue-OGKFNOMV.js.map} +0 -0
  414. /package/dist/{rules-CSEW6CHU.js.map → rules-QEKCMD5H.js.map} +0 -0
  415. /package/dist/{run-JHEZBZUG.js.map → run-LVVTOM4B.js.map} +0 -0
  416. /package/dist/{run-FQUGFAWV.js.map → run-N4SQE2RG.js.map} +0 -0
  417. /package/dist/{scaffold-ad-XPOGCHGH.js.map → scaffold-ad-YVWTZ2JP.js.map} +0 -0
  418. /package/dist/{scaffold-static-ad-XYQEAVIZ.js.map → scaffold-static-ad-AY6G4SQM.js.map} +0 -0
  419. /package/dist/{scaffold-video-BYT6CEJJ.js.map → scaffold-video-YHU4WCSS.js.map} +0 -0
  420. /package/dist/{schedule-YAJ56AVT.js.map → schedule-GWIVOCLM.js.map} +0 -0
  421. /package/dist/{scheduled-agents-UOF7PNWN.js.map → scheduled-agents-7QQNV4N6.js.map} +0 -0
  422. /package/dist/{schema-F3RJZBGO.js.map → schema-DMZCRTXQ.js.map} +0 -0
  423. /package/dist/{schema-5PM2CAEB.js.map → schema-LIRJOOCO.js.map} +0 -0
  424. /package/dist/{screenshot-YC3N2X7G.js.map → screenshot-V6HSM3ED.js.map} +0 -0
  425. /package/dist/{search-NNMX23JW.js.map → search-S32I4KNS.js.map} +0 -0
  426. /package/dist/{select-ET72GOZY.js.map → select-MMOVRFNE.js.map} +0 -0
  427. /package/dist/{set-TK5VGA4L.js.map → set-7FBICG5P.js.map} +0 -0
  428. /package/dist/{set-prompt-GUSGA3LK.js.map → set-prompt-XTZ3KJOV.js.map} +0 -0
  429. /package/dist/{setup-links-YYHZUOGT.js.map → setup-links-A2ZGNY4M.js.map} +0 -0
  430. /package/dist/{shopify-DXQMHIUW.js.map → shopify-REKWZU4G.js.map} +0 -0
  431. /package/dist/{site-R6KYF3KD.js.map → site-TLPNM76V.js.map} +0 -0
  432. /package/dist/{sources-GZXYNDBG.js.map → sources-EONNVSIV.js.map} +0 -0
  433. /package/dist/{sources-JIZHPKLM.js.map → sources-JO7OTY37.js.map} +0 -0
  434. /package/dist/{stale-4I4IW2YD.js.map → stale-TA5EGT67.js.map} +0 -0
  435. /package/dist/{status-MHCCBSW2.js.map → status-LPSN3B27.js.map} +0 -0
  436. /package/dist/{sticker-NXXQUEBJ.js.map → sticker-L65Z53BA.js.map} +0 -0
  437. /package/dist/{stock-CECQ23X7.js.map → stock-75DL3B6G.js.map} +0 -0
  438. /package/dist/{sync-3YUQY3HX.js.map → sync-BPSVK3XG.js.map} +0 -0
  439. /package/dist/{sync-definition-JVRWNQXE.js.map → sync-definition-E4SJPE53.js.map} +0 -0
  440. /package/dist/{tags-U7IU3BZV.js.map → tags-6NZIRE5D.js.map} +0 -0
  441. /package/dist/{tags-WEMAWZPQ.js.map → tags-FAOFI4Y6.js.map} +0 -0
  442. /package/dist/{tags-5C5TLCGR.js.map → tags-V65B2HLX.js.map} +0 -0
  443. /package/dist/{tags-DD75TQEP.js.map → tags-W67KM5VO.js.map} +0 -0
  444. /package/dist/{tags-NEDIFLJO.js.map → tags-WCBRLSFA.js.map} +0 -0
  445. /package/dist/{targeting-criteria-IBEZU2P6.js.map → targeting-criteria-2II76HEG.js.map} +0 -0
  446. /package/dist/{targets-MHGVJAFP.js.map → targets-GCUCFWC6.js.map} +0 -0
  447. /package/dist/{testimonials-DLF47RGP.js.map → testimonials-KMNIBWZQ.js.map} +0 -0
  448. /package/dist/{top-companies-RTLJM4U2.js.map → top-companies-LBHKBJKP.js.map} +0 -0
  449. /package/dist/{transcript-C5EJOXG4.js.map → transcript-5XBK2T6R.js.map} +0 -0
  450. /package/dist/{translate-UBB5TK7Y.js.map → translate-5X533F6J.js.map} +0 -0
  451. /package/dist/{triggers-UKOTCB3Z.js.map → triggers-72FRLRMW.js.map} +0 -0
  452. /package/dist/{unlink-CIUORKMJ.js.map → unlink-QGV3ME2Z.js.map} +0 -0
  453. /package/dist/{unstage-6X43XS5O.js.map → unstage-RQQLUHPT.js.map} +0 -0
  454. /package/dist/{update-TIRJ6RIL.js.map → update-2BBHAUOR.js.map} +0 -0
  455. /package/dist/{update-KCDSUNUR.js.map → update-U6IVQI5L.js.map} +0 -0
  456. /package/dist/{update-6SAS4IRM.js.map → update-V6JEK66C.js.map} +0 -0
  457. /package/dist/{update-E2YWWV2W.js.map → update-YC5OGSSQ.js.map} +0 -0
  458. /package/dist/{upload-7XVC63VB.js.map → upload-3IZIKPMR.js.map} +0 -0
  459. /package/dist/{url-params-LCEOEUPY.js.map → url-params-YKJ5KAGE.js.map} +0 -0
  460. /package/dist/{validate-KOJDBZIP.js.map → validate-2TAMLZN2.js.map} +0 -0
  461. /package/dist/{videos-EA7IJ25I.js.map → videos-556OVNK7.js.map} +0 -0
  462. /package/dist/{viewer-check-GYG7QIV3.js.map → viewer-check-DU7JROZJ.js.map} +0 -0
  463. /package/dist/{visuals-QV3G4T4J.js.map → visuals-3YHVAPRL.js.map} +0 -0
  464. /package/dist/{web-D2I3EZUH.js.map → web-H3YHZYYP.js.map} +0 -0
  465. /package/dist/{winning-ads-64PWAP4U.js.map → winning-ads-YJXM3YB3.js.map} +0 -0
  466. /package/dist/{write-commands-JC5FTP2Y.js.map → write-commands-TAGEVJ6A.js.map} +0 -0
  467. /package/dist/{x-AQZXDM5Q.js.map → x-ORCSH3J5.js.map} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koda-sl/baker-cli",
3
- "version": "0.859.0",
3
+ "version": "0.862.0",
4
4
  "description": "AI-agent-first CLI for interacting with Baker, including the Baker creative canvas.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,78 +0,0 @@
1
- import {
2
- handleLinkedinError,
3
- loadTargetingArg,
4
- resolveAccountIdArg
5
- } from "./chunk-34EIBVYB.js";
6
- import {
7
- NO_CACHE_ARG
8
- } from "./chunk-TBT6NWDX.js";
9
- import {
10
- writeAdsJson
11
- } from "./chunk-NX4EB2TK.js";
12
- import "./chunk-EJ4HI2WX.js";
13
- import "./chunk-RJHGIRU2.js";
14
- import "./chunk-WCU362Z6.js";
15
- import "./chunk-AFA4TY5Q.js";
16
- import "./chunk-GIWHHCD6.js";
17
- import "./chunk-PNGXJPM5.js";
18
- import "./chunk-SOPVIIUW.js";
19
- import "./chunk-G4FG5EQO.js";
20
- import "./chunk-CS4VA3GQ.js";
21
- import "./chunk-H7JSYC4X.js";
22
- import {
23
- apiPost
24
- } from "./chunk-EHEPW3O2.js";
25
- import "./chunk-4OF7Q356.js";
26
- import "./chunk-RNSC5JPH.js";
27
- import "./chunk-2RTB2DDO.js";
28
- import "./chunk-YQSBHWOI.js";
29
-
30
- // src/commands/ads/linkedin/audience-size.ts
31
- import { defineCommand } from "citty";
32
- var audienceSizeCommand = defineCommand({
33
- meta: {
34
- name: "audience-size",
35
- description: `Estimate audience size for a targeting payload \u2014 pre-launch sanity check.
36
-
37
- Returns total + active counts plus playbook \xA704 warnings:
38
- size <20K \u2192 too narrow (will not deliver)
39
- size <50K \u2192 outside the 50K\u2013500K sweet spot
40
- size >500K \u2192 outside the sweet spot
41
- size >1M \u2192 too broad, refine ICP
42
-
43
- The targeting payload must follow LinkedIn's 'targetingCriteria' shape \u2014 an
44
- include/exclude tree of and/or boolean operators with adTargetingFacet keys.
45
- The simplest form:
46
- { "include": { "and": [{ "or": { "urn:li:adTargetingFacet:locations": ["urn:li:geo:103644278"] }}]}}
47
-
48
- Examples:
49
- baker ads linkedin audience-size --account-id 503001492 --targeting-file targeting.json
50
- baker ads linkedin audience-size --account-id 503001492 --targeting '{"include":{"and":[]}}'`
51
- },
52
- args: {
53
- "account-id": { type: "string", description: "Numeric account ID or urn:li:sponsoredAccount:N" },
54
- "account-urn": { type: "string", description: "Alias for --account-id" },
55
- targeting: { type: "string", description: "Inline JSON targetingCriteria payload" },
56
- "targeting-file": { type: "string", description: "Path to JSON file with targetingCriteria" },
57
- "no-cache": NO_CACHE_ARG,
58
- output: { type: "string", description: "json", default: "json" }
59
- },
60
- run: async ({ args }) => {
61
- const accountId = resolveAccountIdArg(args);
62
- const targetingCriteria = loadTargetingArg(args);
63
- try {
64
- const data = await apiPost("/api/ads/linkedin/audience-size", {
65
- accountId,
66
- targetingCriteria,
67
- skipCache: Boolean(args["no-cache"])
68
- });
69
- writeAdsJson({ ok: true, data });
70
- } catch (err) {
71
- handleLinkedinError(err);
72
- }
73
- }
74
- });
75
- export {
76
- audienceSizeCommand
77
- };
78
- //# sourceMappingURL=audience-size-O5ZAKB76.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/commands/ads/linkedin/audience-size.ts"],"sourcesContent":["import { defineCommand } from \"citty\";\nimport { NO_CACHE_ARG } from \"../../../cache-flag.ts\";\nimport { apiPost } from \"../../../client.ts\";\nimport { writeAdsJson } from \"../output.ts\";\nimport { handleLinkedinError, loadTargetingArg, resolveAccountIdArg } from \"./shared.ts\";\n\ninterface AudienceSizeResult {\n total: number;\n active: number;\n warnings: string[];\n}\n\nexport const audienceSizeCommand = defineCommand({\n meta: {\n name: \"audience-size\",\n description: `Estimate audience size for a targeting payload — pre-launch sanity check.\n\nReturns total + active counts plus playbook §04 warnings:\n size <20K → too narrow (will not deliver)\n size <50K → outside the 50K–500K sweet spot\n size >500K → outside the sweet spot\n size >1M → too broad, refine ICP\n\nThe targeting payload must follow LinkedIn's 'targetingCriteria' shape — an\ninclude/exclude tree of and/or boolean operators with adTargetingFacet keys.\nThe simplest form:\n { \"include\": { \"and\": [{ \"or\": { \"urn:li:adTargetingFacet:locations\": [\"urn:li:geo:103644278\"] }}]}}\n\nExamples:\n baker ads linkedin audience-size --account-id 503001492 --targeting-file targeting.json\n baker ads linkedin audience-size --account-id 503001492 --targeting '{\"include\":{\"and\":[]}}'`,\n },\n args: {\n \"account-id\": { type: \"string\", description: \"Numeric account ID or urn:li:sponsoredAccount:N\" },\n \"account-urn\": { type: \"string\", description: \"Alias for --account-id\" },\n targeting: { type: \"string\", description: \"Inline JSON targetingCriteria payload\" },\n \"targeting-file\": { type: \"string\", description: \"Path to JSON file with targetingCriteria\" },\n \"no-cache\": NO_CACHE_ARG,\n output: { type: \"string\", description: \"json\", default: \"json\" },\n },\n run: async ({ args }) => {\n const accountId = resolveAccountIdArg(args);\n const targetingCriteria = loadTargetingArg(args);\n try {\n const data = await apiPost<AudienceSizeResult>(\"/api/ads/linkedin/audience-size\", {\n accountId,\n targetingCriteria,\n skipCache: Boolean(args[\"no-cache\"]),\n });\n writeAdsJson({ ok: true, data });\n } catch (err) {\n handleLinkedinError(err);\n }\n },\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,qBAAqB;AAYvB,IAAM,sBAAsB,cAAc;AAAA,EAC/C,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,aAAa;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAgBf;AAAA,EACA,MAAM;AAAA,IACJ,cAAc,EAAE,MAAM,UAAU,aAAa,kDAAkD;AAAA,IAC/F,eAAe,EAAE,MAAM,UAAU,aAAa,yBAAyB;AAAA,IACvE,WAAW,EAAE,MAAM,UAAU,aAAa,wCAAwC;AAAA,IAClF,kBAAkB,EAAE,MAAM,UAAU,aAAa,2CAA2C;AAAA,IAC5F,YAAY;AAAA,IACZ,QAAQ,EAAE,MAAM,UAAU,aAAa,QAAQ,SAAS,OAAO;AAAA,EACjE;AAAA,EACA,KAAK,OAAO,EAAE,KAAK,MAAM;AACvB,UAAM,YAAY,oBAAoB,IAAI;AAC1C,UAAM,oBAAoB,iBAAiB,IAAI;AAC/C,QAAI;AACF,YAAM,OAAO,MAAM,QAA4B,mCAAmC;AAAA,QAChF;AAAA,QACA;AAAA,QACA,WAAW,QAAQ,KAAK,UAAU,CAAC;AAAA,MACrC,CAAC;AACD,mBAAa,EAAE,IAAI,MAAM,KAAK,CAAC;AAAA,IACjC,SAAS,KAAK;AACZ,0BAAoB,GAAG;AAAA,IACzB;AAAA,EACF;AACF,CAAC;","names":[]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/commands/images/providerHits.ts"],"sourcesContent":["/**\n * Table projection for the provider-search commands (`logo`, `icon`, `find`).\n *\n * These returned `{ hits, ingested }` as raw JSON with no `--output`/`--fields`\n * /`--full`, so the only way to pull one field out of a result was\n * `grep -oE '\"imageUrl\": \"[^\"]+\"'`. The library commands already had the flag\n * trio; the provider commands just needed a projection to hand it, because the\n * shared image normalizer expects a library row and would flatten a provider\n * hit into an empty record.\n */\n\nimport type { ImagesFindResponse } from \"@baker/api\";\nimport { librarySaveHint } from \"../../lib/librarySaves.ts\";\nimport { type OutputFormat, writeOutput } from \"../../output.ts\";\n\nfunction asRecord(value: unknown): Record<string, unknown> {\n return value && typeof value === \"object\" ? (value as Record<string, unknown>) : {};\n}\n\nfunction str(value: unknown): string | undefined {\n return typeof value === \"string\" && value.length > 0 ? value : undefined;\n}\n\nfunction num(value: unknown): number | undefined {\n return typeof value === \"number\" ? value : undefined;\n}\n\n/**\n * What decides whether a hit is usable and how to keep it: which provider it\n * came from, where the pixels are, and — once auto-ingest ran — the library id\n * and Baker-owned URL that make it durable.\n */\nfunction compactHit(hit: Record<string, unknown>): Record<string, unknown> {\n // A library hit (`find`'s library group) is already in the library: its id\n // is `_id` and its `url` is the Baker-owned one. Spelled like an ingested\n // external hit, the two groups read alike and the library id is not lost.\n const inLibrary = hit.source === \"library\";\n return {\n source: str(hit.source) ?? \"\",\n url: str(hit.url) ?? \"\",\n imageId: str(hit.imageId) ?? (inLibrary ? str(hit._id) : undefined),\n imageUrl: str(hit.imageUrl) ?? (inLibrary ? str(hit.url) : undefined),\n name: str(hit.name),\n width: num(hit.width),\n height: num(hit.height),\n };\n}\n\nexport function providerHitNormalizer(record: Record<string, unknown>, full: boolean): Record<string, unknown> {\n const compact = compactHit(record);\n if (!full) {\n return compact;\n }\n const group = asRecord(record.group);\n return {\n ...compact,\n externalUrl: str(record.externalUrl),\n externalId: str(record.externalId),\n description: str(record.description),\n tags: Array.isArray(record.tags) ? record.tags : [],\n aspectRatio: num(record.aspectRatio),\n dominantColor: str(record.dominantColor),\n score: num(record.score),\n deduped: typeof record.deduped === \"boolean\" ? record.deduped : undefined,\n alsoInLibrary: str(record.alsoInLibrary),\n groupKey: str(group.key),\n };\n}\n\nconst FIND_DESCRIPTION_CHARS = 160;\n\nfunction clip(text: string | undefined, max: number): string | undefined {\n if (text === undefined || text.length <= max) return text;\n return `${text.slice(0, max).trimEnd()}…`;\n}\n\n/** A `find` hit as the JSON default prints it: the pick row plus a line of description and the score. */\nfunction compactFindHit(hit: Record<string, unknown>): Record<string, unknown> {\n const score = num(hit.score);\n return {\n ...compactHit(hit),\n description: clip(str(hit.description), FIND_DESCRIPTION_CHARS),\n score: score === undefined ? undefined : Math.round(score * 100) / 100,\n };\n}\n\n/**\n * `find`'s response with every hit compacted and everything around them —\n * `meta` (counts, provider errors) and `ingested` — kept as sent. The JSON\n * default used to be the whole response: twenty library hits per group with\n * their full descriptions and tags, ~22 KB a call (BAKER-1831). `--full` prints\n * it unchanged.\n */\nexport function compactFindResponse(data: ImagesFindResponse): {\n groups: { library: Record<string, unknown>[]; external: Record<string, unknown>[] };\n meta: ImagesFindResponse[\"meta\"];\n ingested: ImagesFindResponse[\"ingested\"];\n} {\n return {\n groups: {\n library: data.groups.library.map((hit) => compactFindHit(hit)),\n external: data.groups.external.map((hit) => compactFindHit(hit)),\n },\n meta: data.meta,\n ingested: data.ingested,\n };\n}\n\n/** The standard `--output`/`--fields`/`--full` trio, parsed the same way in every provider command. */\nexport interface OutputFlags {\n format: OutputFormat;\n fields: string[] | undefined;\n full: boolean;\n}\n\nexport function readOutputFlags(args: Record<string, unknown>): OutputFlags {\n const format = typeof args.output === \"string\" && args.output.length > 0 ? (args.output as OutputFormat) : \"json\";\n const rawFields = typeof args.fields === \"string\" && args.fields.length > 0 ? args.fields : undefined;\n return {\n format,\n fields: rawFields ? rawFields.split(\",\").filter(Boolean) : undefined,\n full: args.full === true,\n };\n}\n\n/**\n * Emit a provider search result.\n *\n * `json` (the default) emits the `data` it is handed — the backend's response,\n * or `find`'s compact one unless `--full`. The table formats tabulate `hits`,\n * which the caller passes separately because `find` groups its results and has\n * no top-level `hits` key to read.\n */\n/** The ids an auto-ingest added to the library just now, not the ones it found already there. */\nfunction newlyIngestedIds(data: unknown): string[] {\n const ingested = asRecord(data).ingested;\n if (!Array.isArray(ingested)) return [];\n return ingested.flatMap((item) => {\n const row = asRecord(item);\n const id = str(row.imageId);\n return id && row.deduped !== true ? [id] : [];\n });\n}\n\nexport function writeProviderHits<T>(data: T, hits: unknown[], args: Record<string, unknown>, hints: string[]): void {\n const { format, fields, full } = readOutputFlags(args);\n const saved = librarySaveHint(\"image library\", newlyIngestedIds(data));\n const allHints = saved ? [...hints, saved] : hints;\n const envelope = {\n ok: true as const,\n data: format === \"json\" ? data : (hits as Record<string, unknown>[]),\n ...(allHints.length > 0 ? { hints: allHints } : {}),\n };\n writeOutput(envelope, format, fields, full, providerHitNormalizer);\n}\n\n/** The flag trio, declared identically on every command that emits provider hits. */\nexport const OUTPUT_ARGS = {\n output: { type: \"string\", description: \"Output format: json|files|md\", required: false, default: \"json\" },\n fields: { type: \"string\", description: \"Comma-separated field names to include\", required: false },\n full: { type: \"boolean\", description: \"Include full metadata\", required: false, default: false },\n} as const;\n"],"mappings":";;;;;;;;AAeA,SAAS,SAAS,OAAyC;AACzD,SAAO,SAAS,OAAO,UAAU,WAAY,QAAoC,CAAC;AACpF;AAEA,SAAS,IAAI,OAAoC;AAC/C,SAAO,OAAO,UAAU,YAAY,MAAM,SAAS,IAAI,QAAQ;AACjE;AAEA,SAAS,IAAI,OAAoC;AAC/C,SAAO,OAAO,UAAU,WAAW,QAAQ;AAC7C;AAOA,SAAS,WAAW,KAAuD;AAIzE,QAAM,YAAY,IAAI,WAAW;AACjC,SAAO;AAAA,IACL,QAAQ,IAAI,IAAI,MAAM,KAAK;AAAA,IAC3B,KAAK,IAAI,IAAI,GAAG,KAAK;AAAA,IACrB,SAAS,IAAI,IAAI,OAAO,MAAM,YAAY,IAAI,IAAI,GAAG,IAAI;AAAA,IACzD,UAAU,IAAI,IAAI,QAAQ,MAAM,YAAY,IAAI,IAAI,GAAG,IAAI;AAAA,IAC3D,MAAM,IAAI,IAAI,IAAI;AAAA,IAClB,OAAO,IAAI,IAAI,KAAK;AAAA,IACpB,QAAQ,IAAI,IAAI,MAAM;AAAA,EACxB;AACF;AAEO,SAAS,sBAAsB,QAAiC,MAAwC;AAC7G,QAAM,UAAU,WAAW,MAAM;AACjC,MAAI,CAAC,MAAM;AACT,WAAO;AAAA,EACT;AACA,QAAM,QAAQ,SAAS,OAAO,KAAK;AACnC,SAAO;AAAA,IACL,GAAG;AAAA,IACH,aAAa,IAAI,OAAO,WAAW;AAAA,IACnC,YAAY,IAAI,OAAO,UAAU;AAAA,IACjC,aAAa,IAAI,OAAO,WAAW;AAAA,IACnC,MAAM,MAAM,QAAQ,OAAO,IAAI,IAAI,OAAO,OAAO,CAAC;AAAA,IAClD,aAAa,IAAI,OAAO,WAAW;AAAA,IACnC,eAAe,IAAI,OAAO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B;AACjD,QAAM,WAAW,SAAS,IAAI,EAAE;AAChC,MAAI,CAAC,MAAM,QAAQ,QAAQ,EAAG,QAAO,CAAC;AACtC,SAAO,SAAS,QAAQ,CAAC,SAAS;AAChC,UAAM,MAAM,SAAS,IAAI;AACzB,UAAM,KAAK,IAAI,IAAI,OAAO;AAC1B,WAAO,MAAM,IAAI,YAAY,OAAO,CAAC,EAAE,IAAI,CAAC;AAAA,EAC9C,CAAC;AACH;AAEO,SAAS,kBAAqB,MAAS,MAAiB,MAA+B,OAAuB;AACnH,QAAM,EAAE,QAAQ,QAAQ,KAAK,IAAI,gBAAgB,IAAI;AACrD,QAAM,QAAQ,gBAAgB,iBAAiB,iBAAiB,IAAI,CAAC;AACrE,QAAM,WAAW,QAAQ,CAAC,GAAG,OAAO,KAAK,IAAI;AAC7C,QAAM,WAAW;AAAA,IACf,IAAI;AAAA,IACJ,MAAM,WAAW,SAAS,OAAQ;AAAA,IAClC,GAAI,SAAS,SAAS,IAAI,EAAE,OAAO,SAAS,IAAI,CAAC;AAAA,EACnD;AACA,cAAY,UAAU,QAAQ,QAAQ,MAAM,qBAAqB;AACnE;AAGO,IAAM,cAAc;AAAA,EACzB,QAAQ,EAAE,MAAM,UAAU,aAAa,gCAAgC,UAAU,OAAO,SAAS,OAAO;AAAA,EACxG,QAAQ,EAAE,MAAM,UAAU,aAAa,0CAA0C,UAAU,MAAM;AAAA,EACjG,MAAM,EAAE,MAAM,WAAW,aAAa,yBAAyB,UAAU,OAAO,SAAS,MAAM;AACjG;","names":[]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/commands/images/extract.ts","../src/commands/images/extractErrors.ts"],"sourcesContent":["import {\n IMAGES_EXTRACT_LIMIT_MAX,\n type ImagesExtractRequest,\n type ImagesExtractResponse,\n imagesExtractRequestSchema,\n} from \"@baker/api\";\nimport { defineCommand } from \"citty\";\nimport { ApiError, apiPost } from \"../../client.ts\";\nimport { writeJson } from \"../../output.ts\";\nimport { registerSchema } from \"../../schemas.ts\";\nimport { AUTO_INGEST_MAX, parseAutoIngest } from \"./autoIngest.ts\";\nimport { extractErrorEnvelope } from \"./extractErrors.ts\";\nimport { OUTPUT_ARGS, writeProviderHits } from \"./providerHits.ts\";\nimport { parseRequestFlags } from \"./requestFlags.ts\";\n\nregisterSchema({\n command: \"images.extract\",\n description: \"Extract images from a URL via Firecrawl (formats: images).\",\n args: {\n url: { type: \"string\", description: \"URL to scrape\", required: true },\n \"wait-for\": { type: \"number\", description: \"JS render wait ms\", required: false },\n limit: {\n type: \"number\",\n description: `Most images to return (1-${IMAGES_EXTRACT_LIMIT_MAX}, default ${IMAGES_EXTRACT_LIMIT_MAX})`,\n required: false,\n default: IMAGES_EXTRACT_LIMIT_MAX,\n },\n \"auto-ingest\": {\n type: \"number\",\n description: `Auto-ingest top N (0-${AUTO_INGEST_MAX.extract}, default 0)`,\n required: false,\n default: 0,\n },\n context: {\n type: \"string\",\n description: \"Free-text hint applied to every auto-ingested hit (overrides provider-derived context)\",\n required: false,\n },\n output: { type: \"string\", description: \"Output format: json|files|md\", required: false, default: \"json\" },\n fields: { type: \"string\", description: \"Comma-separated field names to include\", required: false },\n full: { type: \"boolean\", description: \"Include full metadata\", required: false, default: false },\n },\n});\n\nexport const extractCommand = defineCommand({\n meta: {\n name: \"extract\",\n description:\n \"Pull every image from a single URL via Firecrawl. ~$0.001/scrape. Cap auto-ingest at 20.\\n\\nExample: baker images extract https://stripe.com --auto-ingest 5\",\n },\n args: {\n url: { type: \"positional\", description: \"URL to scrape\", required: false },\n \"wait-for\": { type: \"string\", description: \"JS render wait ms\", required: false },\n limit: { type: \"string\", description: `Most images to return (1-${IMAGES_EXTRACT_LIMIT_MAX})`, required: false },\n \"auto-ingest\": { type: \"string\", description: `Auto-ingest top N (0-${AUTO_INGEST_MAX.extract})`, required: false },\n context: { type: \"string\", description: \"Description context hint applied to auto-ingested hits\", required: false },\n ...OUTPUT_ARGS,\n },\n run: async ({ args }) => {\n try {\n const url = args.url as string | undefined;\n if (!url) {\n writeJson({ ok: false, error: { code: \"VALIDATION_ERROR\", message: \"URL is required\" } });\n process.exit(1);\n }\n const body: ImagesExtractRequest = { url };\n if (args[\"wait-for\"]) body.waitFor = Number(args[\"wait-for\"]);\n if (args.limit) body.limit = Number(args.limit);\n if (args[\"auto-ingest\"] !== undefined) {\n const parsed = parseAutoIngest(args[\"auto-ingest\"], AUTO_INGEST_MAX.extract);\n if (!parsed.ok) {\n writeJson({\n ok: false,\n error: {\n code: \"VALIDATION_ERROR\",\n message: parsed.message,\n fix: {\n action: \"retry_with_changes\",\n explanation: `Re-run with --auto-ingest in 0-${AUTO_INGEST_MAX.extract}.`,\n },\n },\n });\n process.exit(1);\n }\n body.autoIngest = parsed.value;\n }\n if (args.context) body.descriptionContext = args.context as string;\n\n const request = parseRequestFlags(imagesExtractRequestSchema, body, { limit: \"--limit\", waitFor: \"--wait-for\" });\n if (!request.ok) {\n writeJson(request.envelope);\n process.exit(1);\n }\n const data = await apiPost<ImagesExtractResponse>(\"/api/images/extract\", request.data);\n writeProviderHits(data, data.hits, args as Record<string, unknown>, []);\n } catch (err) {\n if (err instanceof ApiError) {\n writeJson(extractErrorEnvelope(err, String(args.url)));\n process.exit(1);\n }\n writeJson({ ok: false, error: { code: \"INTERNAL_ERROR\", message: \"Unexpected error\" } });\n process.exit(1);\n }\n },\n});\n","import type { ApiError } from \"../../client.ts\";\n\n/** Failures a second attempt can change: the reader or the connection had a bad moment. */\nconst RETRYABLE = new Set([\"UNAVAILABLE\", \"RATE_LIMITED\", \"TIMEOUT\", \"NETWORK_ERROR\"]);\n\n/**\n * Failures that are about the page, so another address or another capture of it\n * is the way on. Once the request has passed `parseRequestFlags`, a 400 can only\n * be the page refusing or being unreadable, and an internal error (or our reader\n * running out of memory on it) our own reader's account. Anything else — a refused key, a missing permission — is not about the\n * page, and a screenshot of it would be refused the same way.\n */\nconst PAGE_FAILURES = new Set([\"VALIDATION_ERROR\", \"INTERNAL_ERROR\", \"BUDGET_EXCEEDED\"]);\n\ninterface ExtractErrorEnvelope {\n ok: false;\n error: {\n code: string;\n message: string;\n retryable: boolean;\n fix?: { action: string; explanation: string };\n };\n}\n\n/**\n * The envelope for a failed `baker images extract`. Without `retryable` an\n * agent cannot tell a reader that hiccupped from a page nobody can read, and it\n * abandons the page for an image search. Either way the job carries on: the\n * page can still be captured whole, and the brand's mark fetched on its own.\n */\nexport function extractErrorEnvelope(err: ApiError, url: string): ExtractErrorEnvelope {\n const retryable = RETRYABLE.has(err.code);\n const fallback = `use \\`baker images screenshot ${url}\\` to capture the page as one image, or \\`baker images logo <domain>\\` for the brand's mark, and carry on with the rest of the job.`;\n const fix = retryable\n ? { action: \"retry_once\", explanation: `Run the same command once more. If it fails again, ${fallback}` }\n : PAGE_FAILURES.has(err.code)\n ? { action: \"use_fallback\", explanation: `Retrying the same address will fail the same way — ${fallback}` }\n : err.fix;\n return {\n ok: false,\n error: { code: err.code, message: err.message, retryable, ...(fix ? { fix } : {}) },\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,SAAS,qBAAqB;;;ACH9B,IAAM,YAAY,oBAAI,IAAI,CAAC,eAAe,gBAAgB,WAAW,eAAe,CAAC;AASrF,IAAM,gBAAgB,oBAAI,IAAI,CAAC,oBAAoB,kBAAkB,iBAAiB,CAAC;AAkBhF,SAAS,qBAAqB,KAAe,KAAmC;AACrF,QAAM,YAAY,UAAU,IAAI,IAAI,IAAI;AACxC,QAAM,WAAW,iCAAiC,GAAG;AACrD,QAAM,MAAM,YACR,EAAE,QAAQ,cAAc,aAAa,sDAAsD,QAAQ,GAAG,IACtG,cAAc,IAAI,IAAI,IAAI,IACxB,EAAE,QAAQ,gBAAgB,aAAa,2DAAsD,QAAQ,GAAG,IACxG,IAAI;AACV,SAAO;AAAA,IACL,IAAI;AAAA,IACJ,OAAO,EAAE,MAAM,IAAI,MAAM,SAAS,IAAI,SAAS,WAAW,GAAI,MAAM,EAAE,IAAI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KAAK,GAAG,CAAC,CAAC;AACrD,gBAAQ,KAAK,CAAC;AAAA,MAChB;AACA,gBAAU,EAAE,IAAI,OAAO,OAAO,EAAE,MAAM,kBAAkB,SAAS,mBAAmB,EAAE,CAAC;AACvF,cAAQ,KAAK,CAAC;AAAA,IAChB;AAAA,EACF;AACF,CAAC;","names":[]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/commands/ads/linkedin/facets.ts"],"sourcesContent":["import { defineCommand } from \"citty\";\nimport { NO_CACHE_ARG } from \"../../../cache-flag.ts\";\nimport { apiGet } from \"../../../client.ts\";\nimport { writeAdsJson, writeAdsOutput } from \"../output.ts\";\nimport { csvOrJson, handleLinkedinError } from \"./shared.ts\";\n\ninterface LinkedinFacet {\n facet: string;\n facetUrn: string;\n name: string;\n entityTypes?: string[];\n availableEntityFinders?: string[];\n}\n\ninterface LinkedinFacetEntity {\n urn: string;\n facet?: string;\n name?: string;\n parents?: string[];\n}\n\nconst listCmd = defineCommand({\n meta: {\n name: \"list\",\n description: `List every targeting facet LinkedIn supports.\n\nCached 7 days. Use this to discover what dimensions you can target on (industries,\nseniorities, titles, employers, growthRate, companyCategory, skills, etc.).`,\n },\n args: {\n \"no-cache\": NO_CACHE_ARG,\n output: { type: \"string\", description: \"json|csv|jsonl|md\", default: \"json\" },\n },\n run: async ({ args }) => {\n try {\n const params: Record<string, string> = {};\n if (args[\"no-cache\"]) params[\"skip-cache\"] = \"true\";\n const data = await apiGet<LinkedinFacet[]>(\"/api/ads/linkedin/facets\", params);\n const fmt = csvOrJson(args);\n if (fmt !== \"json\") {\n writeAdsOutput(data as unknown as Array<Record<string, unknown>>, fmt);\n return;\n }\n writeAdsJson({ ok: true, data });\n } catch (err) {\n handleLinkedinError(err);\n }\n },\n});\n\nconst valuesCmd = defineCommand({\n meta: {\n name: \"values\",\n description: `Look up entity values for a single facet — full list or typeahead search.\n\nExamples:\n baker ads linkedin facets values --facet seniorities — all seniority URNs\n baker ads linkedin facets values --facet titles --query \"marketing director\" — typeahead\n baker ads linkedin facets values --facet industries --output csv\n\nThe --facet flag accepts the bare name (industries, seniorities, titles, etc.)\nor the full URN (urn:li:adTargetingFacet:industries).`,\n },\n args: {\n facet: { type: \"string\", description: \"Facet name (e.g. industries) or URN\", required: true },\n query: { type: \"string\", description: \"Typeahead query (auto-switches finder to typeahead)\" },\n finder: { type: \"string\", description: \"adTargetingFacet | typeahead | similarEntities (default: auto)\" },\n locale: { type: \"string\", description: \"Locale (default: en_US)\" },\n \"no-cache\": NO_CACHE_ARG,\n output: { type: \"string\", description: \"json|csv|jsonl|md\", default: \"json\" },\n },\n run: async ({ args }) => {\n try {\n const params: Record<string, string> = { facet: String(args.facet) };\n const finder = (args.finder as string | undefined) ?? (args.query ? \"typeahead\" : \"adTargetingFacet\");\n params.finder = finder;\n if (args.query) params.query = String(args.query);\n if (args.locale) params.locale = String(args.locale);\n if (args[\"no-cache\"]) params[\"skip-cache\"] = \"true\";\n\n const data = await apiGet<LinkedinFacetEntity[]>(\"/api/ads/linkedin/facets/entities\", params);\n const fmt = csvOrJson(args);\n if (fmt !== \"json\") {\n writeAdsOutput(data as unknown as Array<Record<string, unknown>>, fmt);\n return;\n }\n writeAdsJson({ ok: true, data });\n } catch (err) {\n handleLinkedinError(err);\n }\n },\n});\n\nexport const facetsCommand = defineCommand({\n meta: {\n name: \"facets\",\n description: `LinkedIn targeting facets and entity lookup.\n\nSubcommands:\n list — every facet (industries, seniorities, titles, employers, …)\n values --facet titles — entity URNs for one facet\n values --facet titles --query \"marketing director\" — typeahead`,\n },\n subCommands: {\n list: listCmd,\n values: valuesCmd,\n },\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,qBAAqB;AAqB9B,IAAM,UAAU,cAAc;AAAA,EAC5B,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,aAAa;AAAA;AAAA;AAAA;AAAA,EAIf;AAAA,EACA,MAAM;AAAA,IACJ,YAAY;AAAA,IACZ,QA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U,EAAG,QAAO,YAAY,IAAI;AAE7C,YAAM,OAAO,MAAM,OAA8B,qCAAqC,MAAM;AAC5F,YAAM,MAAM,UAAU,IAAI;AAC1B,UAAI,QAAQ,QAAQ;AAClB,uBAAe,MAAmD,GAAG;AACrE;AAAA,MACF;AACA,mBAAa,EAAE,IAAI,MAAM,KAAK,CAAC;AAAA,IACjC,SAAS,KAAK;AACZ,0BAAoB,GAAG;AAAA,IACzB;AAAA,EACF;AACF,CAAC;AAEM,IAAM,gBAAgB,cAAc;AAAA,EACzC,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,aAAa;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMf;AAAA,EACA,aAAa;AAAA,IACX,MAAM;AAAA,IACN,QAAQ;AAAA,EACV;AACF,CAAC;","names":[]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/commands/hubspot/index.ts"],"sourcesContent":["import type {\n HubspotContactFieldsListResponse,\n HubspotContactLookupResponse,\n HubspotContactPropertiesListResponse,\n HubspotContactsSummaryResponse,\n HubspotFormSubmissionsResponse,\n HubspotFormsListResponse,\n HubspotFormsViewResponse,\n HubspotMeetingsListResponse,\n HubspotMeetingsViewResponse,\n HubspotPipelinesListResponse,\n HubspotWorkflowsListResponse,\n HubspotWorkflowsViewResponse,\n} from \"@baker/api\";\nimport { HUBSPOT_OPERATORS } from \"@baker/api/event-sources\";\nimport { defineCommand } from \"citty\";\nimport { ApiError, apiPost } from \"../../client.ts\";\nimport { rowsAsData, writeJson } from \"../../output.ts\";\nimport { registerSchema } from \"../../schemas.ts\";\nimport { failNotConnected } from \"./refusal.ts\";\n\nconst EMBED_TYPES = [\"legacy\", \"v4\", \"unknown\"] as const;\n\nfunction assertEmbedType(value: string | undefined): (typeof EMBED_TYPES)[number] | undefined {\n if (value === undefined) {\n return undefined;\n }\n if (!(EMBED_TYPES as readonly string[]).includes(value)) {\n throw new Error(`--embed-type must be one of: ${EMBED_TYPES.join(\"|\")}`);\n }\n return value as (typeof EMBED_TYPES)[number];\n}\n\nregisterSchema({\n command: \"hubspot.forms.list\",\n routes: [\"POST /api/hubspot/forms/list\"],\n effect: \"read_live\",\n description:\n \"Start here for HubSpot forms: every form on the connected account, with just enough to choose one — embed type (legacy vs v4), field count, its post-submit action (inline thank-you vs redirect to a URL), and whether spam prevention (captcha) is on. A form with captcha on can be embedded on a page but can never receive a submission from a Form, so check it before wiring one as a destination. Answers 'which of my forms redirect after submit?' and 'is this form legacy or v4?'. portalId is returned once on meta, not per row. Next step is usually `hubspot forms view <id> --as-node`, which gives you the blob to write straight into a Form step — you do not need request_flow_input for HubSpot.\",\n args: {\n search: { type: \"string\", description: \"Case-insensitive substring match on the form name\", required: false },\n \"redirecting-only\": {\n type: \"boolean\",\n description: \"Only forms whose post-submit action redirects away\",\n required: false,\n default: false,\n },\n \"embed-type\": { type: \"string\", description: \"Filter: legacy|v4|unknown\", required: false, enum: [...EMBED_TYPES] },\n },\n});\n\nregisterSchema({\n command: \"hubspot.forms.view\",\n description:\n \"One HubSpot form in detail: every field (name, label, type, required, hidden, options), the legal-consent mode, the post-submit action, captcha, and language. Read it before wiring a form into a Form (flow) so you know what fields exist to autofill. Add --full for the untouched HubSpot payload, or --as-node to get the object to write into the step's form.external instead.\",\n args: {\n formId: { type: \"positional\", description: \"HubSpot form id (from `baker hubspot forms list`)\", required: true },\n full: { type: \"boolean\", description: \"Include the raw HubSpot payload\", required: false, default: false },\n \"as-node\": {\n type: \"boolean\",\n description:\n \"Emit the resource blob to write into a flow node's form.external, instead of the readable view. Write it into the node yourself; no need for request_flow_input when the account is connected and the form is unambiguous.\",\n required: false,\n default: false,\n },\n },\n});\n\nregisterSchema({\n command: \"hubspot.forms.submissions\",\n routes: [\"POST /api/hubspot/forms/submissions\"],\n effect: \"read_live\",\n description:\n \"How many leads a form actually received over a window, and on which days — the difference between 'this form is live' and 'this form is working'. Start here when asked whether a form or a campaign is producing leads. Returns counts and dates only; the leads' own answers need --full and are personal data, so do not put them in a report. Pair with `hubspot pipelines list` to see whether those leads were then worked.\",\n args: {\n formId: { type: \"positional\", description: \"HubSpot form id (from `baker hubspot forms list`)\", required: true },\n days: { type: \"string\", description: \"Window in days, 1-365 (default 30)\", required: false },\n full: {\n type: \"boolean\",\n description: \"Include each submission's field values — personal data, request only when actually needed\",\n required: false,\n default: false,\n },\n },\n});\n\nregisterSchema({\n command: \"hubspot.contacts.summary\",\n routes: [\"POST /api/hubspot/contacts/summary\"],\n effect: \"read_live\",\n description:\n \"Whether the leads that arrived recently are actually being worked, as counts: how many contacts were created in the window, how many have someone assigned, and how they split across lifecycle stages. This is the 'have these leads been treated?' answer. Returns no names or emails — use `hubspot contacts lookup` for one specific person.\",\n args: {\n days: { type: \"string\", description: \"Window in days, 1-365 (default 30)\", required: false },\n },\n});\n\nregisterSchema({\n command: \"hubspot.contacts.properties\",\n description:\n \"Every contact property a HubSpot event can watch, with its `kind` (select, string, number, date, boolean) — which decides the operators the trigger takes — and, for a select, the `options` its values come from. Start here to make a HubSpot event: pick the property and condition that mean the outcome (a deal won is usually `lifecyclestage` is `customer`, a custom property the client's team sets, or a number crossing a threshold), then `baker analytics sources --create-hubspot --property <name> [--operator <op>] --value <value>…` reads it every five minutes. Names are HubSpot's internal ones; use them as printed.\",\n args: {},\n});\n\nregisterSchema({\n command: \"hubspot.contacts.fields\",\n description:\n \"Every contact property on the connected HubSpot account — name, label, group and HubSpot's type — which is what a HubSpot event's rows can read: `baker analytics sources --create-hubspot … --field email={{work_email}} --field value={{deal_value}} --field currency=EUR`, or `--map` on an existing one. Names are HubSpot's internal ones; use them as printed, and `{{id}}` for the contact's own id. No personal data.\",\n args: {},\n});\n\nregisterSchema({\n command: \"hubspot.contacts.lookup\",\n routes: [\"POST /api/hubspot/contacts/lookup\"],\n effect: \"read_live\",\n description:\n \"One contact by email: lifecycle stage, whether anyone is assigned, its account (company) and deals with their stage — settles whether a lead was picked up. `--properties utm_campaign,utm_source` also reads those into `contact.properties`, to check a form's tracking reached it: each value, or null when empty; a name the account does not define is left out, never null. `found: false` means the lead never reached the CRM at all — that is a finding, not an error. `dealsReadable: false` / `companyReadable: false` mean deals or account details were not readable on this connection, so an empty deals list or a null company is unknown rather than absent.\",\n args: {\n email: { type: \"positional\", description: \"The contact's email address\", required: true },\n properties: {\n type: \"string\",\n description:\n \"Comma-separated contact properties to read, by HubSpot's internal name (up to 25; `baker hubspot contacts fields` lists them): --properties utm_campaign,utm_source\",\n required: false,\n },\n },\n});\n\nregisterSchema({\n command: \"hubspot.workflows.list\",\n description:\n \"Every workflow on the connected account, with whether it is switched on. Read it when auditing what happens to a lead after it is captured — a form wired to a workflow that is off looks connected and does nothing.\",\n args: {\n search: { type: \"string\", description: \"Case-insensitive substring match on the workflow name\", required: false },\n \"enabled-only\": { type: \"boolean\", description: \"Only workflows that are on\", required: false, default: false },\n },\n});\n\nregisterSchema({\n command: \"hubspot.workflows.view\",\n description:\n \"One workflow's actual configuration: what enrols a record, whether it re-enrols, and every step with the property it writes. Read it before saying a workflow is correct — `workflows list` only tells you it exists and whether it is on. Branches come back in HubSpot's order, and on a LIST_BRANCH step that is evaluation order (`order: 1` wins over `order: 2`) — which is where this kind of setup silently breaks: a broad branch placed above a narrow one swallows the records the narrow one was written for, and nothing reports it. A STATIC_BRANCH matches on a value instead, so its order carries no precedence. Steps are NOT in execution order — follow `nextActionId` from step to step. Add --full for the branch filter criteria (which property is compared to which value).\",\n args: {\n workflowId: {\n type: \"positional\",\n description: \"Workflow id (from `baker hubspot workflows list`)\",\n required: true,\n },\n full: {\n type: \"boolean\",\n description: \"Include the raw HubSpot payload — the only place the branch filter criteria can be read\",\n required: false,\n default: false,\n },\n },\n});\n\nregisterSchema({\n command: \"hubspot.pipelines.list\",\n description:\n \"The account's deal pipelines and their stages, in the order they run, each stage with `isClosed` / `isWon` (HubSpot's closed-won is closed with probability 1). Use it to answer where a lead lands once captured and whether it moved — the 'have these leads been worked?' half of a form audit — and to pick the pipeline ids for `hubspot deals list --pipeline`.\",\n args: {},\n});\n\nregisterSchema({\n command: \"hubspot.meetings.list\",\n description:\n \"Every HubSpot meeting link (calendar) on the connected account, with just enough to choose one: name, slug, link type (personal / group / round-robin), whether booking redirects somewhere, and how many booking fields it asks for (null = unknown, read it with `meetings view`). Next step is usually `hubspot meetings view <slug> --as-node`, which gives you the blob to write straight into a hubspotMeeting step.\",\n args: {\n search: { type: \"string\", description: \"Case-insensitive substring match on the meeting name\", required: false },\n \"redirecting-only\": {\n type: \"boolean\",\n description: \"Only meeting links that redirect after booking\",\n required: false,\n default: false,\n },\n },\n});\n\nregisterSchema({\n command: \"hubspot.meetings.view\",\n description:\n \"One HubSpot meeting link in detail: its booking-form fields (name, label, type, required, custom), link, and redirect URL. This is the source of truth for a calendar's fields — the list command cannot see them reliably. Add --as-node to get the object to write into the step's form.external instead.\",\n args: {\n slug: { type: \"positional\", description: \"Meeting slug (from `baker hubspot meetings list`)\", required: true },\n \"as-node\": {\n type: \"boolean\",\n description: \"Emit the resource blob to write into a flow node's form.external, instead of the readable view.\",\n required: false,\n default: false,\n },\n },\n});\n\nconst formsListCommand = defineCommand({\n meta: {\n name: \"list\",\n description:\n \"List HubSpot forms with embed type and post-submit action. Example: baker hubspot forms list --redirecting-only\",\n },\n args: {\n search: { type: \"string\", description: \"Match on form name\", required: false },\n \"redirecting-only\": { type: \"boolean\", description: \"Only forms that redirect on submit\", required: false },\n \"embed-type\": { type: \"string\", description: \"Filter: legacy|v4|unknown\", required: false },\n },\n run: async ({ args }) => {\n try {\n const body: Record<string, unknown> = {};\n if (args.search) {\n body.search = args.search;\n }\n if (args[\"redirecting-only\"]) {\n body.redirectingOnly = true;\n }\n const embedType = assertEmbedType(args[\"embed-type\"]);\n if (embedType) {\n body.embedType = embedType;\n }\n\n const response = await apiPost<HubspotFormsListResponse>(\"/api/hubspot/forms/list\", body, { read: true });\n const { forms } = response.data;\n const redirecting = forms.filter((form) => form.postSubmitAction?.type === \"redirect_url\");\n const hints: string[] = [];\n if (forms.length === 0) {\n hints.push(\"No forms matched. Drop --search/--embed-type, or check the connected HubSpot account.\");\n } else {\n hints.push(\n \"To put one on a page: `baker hubspot forms view <id> --as-node` returns the object to write into the step's form.external. No request_flow_input needed for HubSpot.\",\n );\n }\n if (redirecting.length > 0) {\n hints.push(\n `${redirecting.length} form(s) redirect after submit. That is fine mid-Form: the renderer suppresses the redirect whenever a step follows the form, and honors it when the form is the last step.`,\n );\n }\n const blocked = forms.filter((form) => form.captchaEnabled);\n if (blocked.length > 0) {\n // Named rather than counted, because the next thing the agent does with\n // this is tell a person which of their forms is the problem — but\n // bounded, since every row already carries `captchaEnabled` and an\n // account with forty blocked forms would otherwise print forty names.\n const shown = blocked.slice(0, 3).map((form) => form.name);\n const rest = blocked.length - shown.length;\n hints.push(\n `${blocked.length} form(s) have spam prevention (captcha) on: ${shown.join(\", \")}${rest > 0 ? `, and ${rest} more` : \"\"}. HubSpot refuses every submission sent to those, so they can be embedded on a page but never wired as a Form's destination. Only the user can switch it off, on the form in HubSpot.`,\n );\n }\n\n writeJson({ ok: true, ...rowsAsData(response.data, \"forms\"), ...(hints.length > 0 ? { hints } : {}) });\n } catch (err) {\n failNotConnected(err);\n }\n },\n});\n\n/**\n * The one HubSpot setting that decides whether a form can receive a lead at\n * all. HubSpot refuses every API submission to a form with spam prevention on\n * (`FORM_HAS_RECAPTCHA_ENABLED`) and there is no token to attach, so the answer\n * is never \"send it differently\" — it is a switch only the client can flip.\n */\nconst CAPTCHA_VIEW_HINT =\n \"This form has spam prevention (captcha) on. HubSpot refuses every submission sent to it, so it cannot be a Form's destination — embedding it on a page still works, because the visitor solves the captcha in the browser. Only the user can switch it off, on the form in HubSpot; do not wire a delivery to it, and tell them what has to change.\";\n\nconst CAPTCHA_NODE_HINT =\n \"This form has spam prevention (captcha) on. That is fine for embedding it on a page — the visitor solves it in the browser — but it can never be a Form's delivery destination, so do not also wire a hubspotForm side effect to this form.\";\n\n/**\n * What to say about one form beyond its fields.\n *\n * Pure and exported so the wording is testable: these are the three facts about\n * a HubSpot form that decide whether wiring it works, and each of them is\n * invisible in the form's own field list.\n */\nexport function formViewHints(form: {\n postSubmitAction: { type: string; value: string } | null;\n captchaEnabled: boolean;\n embedType: string;\n}): string[] {\n const hints: string[] = [];\n if (form.postSubmitAction?.type === \"redirect_url\") {\n hints.push(\n `This form redirects to ${form.postSubmitAction.value} on submit. Placed anywhere but the last step of a Form, that redirect is suppressed so the next step can render.`,\n );\n }\n if (form.captchaEnabled) {\n hints.push(CAPTCHA_VIEW_HINT);\n }\n if (form.embedType === \"unknown\") {\n hints.push(\"Embed type could not be determined from HubSpot's response; the renderer treats it as legacy.\");\n }\n return hints;\n}\n\n/**\n * The same for the `--as-node` blob, where the reader is about to *embed* the\n * form. Captcha reads the opposite way here and has to say so: an embedded form\n * with captcha works, because the visitor solves it in the browser. Silence\n * would leave an agent that just read the refusal elsewhere to conclude the\n * form is unusable and quietly pick another.\n */\nexport function formNodeHints(\n external:\n | {\n captchaEnabled: boolean;\n embedType?: string;\n region?: string;\n configuration?: { postSubmitAction: { type: string } };\n }\n | undefined,\n): string[] {\n return [\n \"Write this object into the node's `form.external` in the flow's _data.json, keeping the rest of the node as-is. No request_flow_input needed — the account is already connected.\",\n ...(external?.captchaEnabled ? [CAPTCHA_NODE_HINT] : []),\n ...(external?.configuration?.postSubmitAction.type === \"redirect_url\"\n ? [\n \"This form redirects on submit. Safe unless it is the last step: the renderer suppresses the redirect whenever a step follows it.\",\n ]\n : []),\n ...(external?.embedType === \"v4\" && !external.region\n ? [\n \"WARNING: this is a v4 form and the connected account has no region recorded, so the step will load HubSpot's na1 script host. That is correct for US portals and breaks the form on eu1/ap1 ones. If it renders blank, have the user reconnect HubSpot from Brain -> Integrations -> Tools, then re-run this command.\",\n ]\n : []),\n ];\n}\n\nconst formsViewCommand = defineCommand({\n meta: {\n name: \"view\",\n description: \"Show one HubSpot form's fields and configuration. Example: baker hubspot forms view 1a2b3c\",\n },\n args: {\n formId: { type: \"positional\", description: \"HubSpot form id\", required: true },\n full: { type: \"boolean\", description: \"Include the raw HubSpot payload\", required: false },\n \"as-node\": { type: \"boolean\", description: \"Emit the node-ready form.external blob\", required: false },\n },\n run: async ({ args }) => {\n try {\n const response = await apiPost<HubspotFormsViewResponse>(\n \"/api/hubspot/forms/view\",\n {\n formId: args.formId,\n ...(args.full ? { full: true } : {}),\n ...(args[\"as-node\"] ? { asNode: true } : {}),\n },\n { read: true },\n );\n\n if (args[\"as-node\"]) {\n writeJson({ ...response, hints: formNodeHints(response.data.external) });\n return;\n }\n\n const form = response.data.form;\n if (!form) {\n throw new Error(\"Response did not include the form view\");\n }\n const hints = formViewHints(form);\n\n writeJson({ ...response, meta: { count: form.fields.length }, ...(hints.length > 0 ? { hints } : {}) });\n } catch (err) {\n failNotConnected(err);\n }\n },\n});\n\nconst meetingsListCommand = defineCommand({\n meta: {\n name: \"list\",\n description: \"List HubSpot meeting links (calendars). Example: baker hubspot meetings list\",\n },\n args: {\n search: { type: \"string\", description: \"Match on meeting name\", required: false },\n \"redirecting-only\": { type: \"boolean\", description: \"Only links that redirect after booking\", required: false },\n },\n run: async ({ args }) => {\n try {\n const body: Record<string, unknown> = {};\n if (args.search) {\n body.search = args.search;\n }\n if (args[\"redirecting-only\"]) {\n body.redirectingOnly = true;\n }\n\n const response = await apiPost<HubspotMeetingsListResponse>(\"/api/hubspot/meetings/list\", body, { read: true });\n const { meetings } = response.data;\n const hints: string[] = [];\n if (meetings.length === 0) {\n hints.push(\"No meeting links matched. Drop --search, or check the connected HubSpot account.\");\n } else {\n hints.push(\n \"To put one on a page: `baker hubspot meetings view <slug> --as-node` returns the object to write into the step's form.external.\",\n );\n }\n const unknown = meetings.filter((meeting) => !meeting.redirectKnown);\n if (unknown.length > 0) {\n hints.push(\n `HubSpot did not report booking settings for ${unknown.length} of these (${unknown\n .map((meeting) => meeting.slug)\n .join(\n \", \",\n )}), so their redirect and field count are UNKNOWN, not absent. Run \\`baker hubspot meetings view <slug>\\` before concluding one does not redirect.`,\n );\n }\n\n writeJson({ ok: true, ...rowsAsData(response.data, \"meetings\"), ...(hints.length > 0 ? { hints } : {}) });\n } catch (err) {\n failNotConnected(err);\n }\n },\n});\n\nconst meetingsViewCommand = defineCommand({\n meta: {\n name: \"view\",\n description: \"Show one HubSpot meeting link's booking fields. Example: baker hubspot meetings view discovery-call\",\n },\n args: {\n slug: { type: \"positional\", description: \"Meeting slug\", required: true },\n \"as-node\": { type: \"boolean\", description: \"Emit the node-ready form.external blob\", required: false },\n },\n run: async ({ args }) => {\n try {\n const response = await apiPost<HubspotMeetingsViewResponse>(\n \"/api/hubspot/meetings/view\",\n {\n slug: args.slug,\n ...(args[\"as-node\"] ? { asNode: true } : {}),\n },\n { read: true },\n );\n\n if (args[\"as-node\"]) {\n const { external } = response.data;\n writeJson({\n ...response,\n hints: [\n \"Write this object into the node's `form.external` in the flow's _data.json, keeping the rest of the node as-is. No request_flow_input needed — the account is already connected.\",\n ...(external?.customParams.redirectUrl\n ? [\n `This calendar redirects to ${external.customParams.redirectUrl} after booking, and that redirect is NOT suppressed — any step placed after it is unreachable. Keep it as the last step, or ask the user to clear the redirect in HubSpot.`,\n ]\n : []),\n ],\n });\n return;\n }\n\n const meeting = response.data.meeting;\n if (!meeting) {\n throw new Error(\"Response did not include the meeting view\");\n }\n const hints: string[] = [];\n if (meeting.redirectUrl) {\n hints.push(\n `This calendar redirects to ${meeting.redirectUrl} after booking. A step placed after it will not be reached — keep it as the last step, or clear the redirect in HubSpot.`,\n );\n }\n\n writeJson({ ...response, meta: { count: meeting.fields.length }, ...(hints.length > 0 ? { hints } : {}) });\n } catch (err) {\n failNotConnected(err);\n }\n },\n});\n\nconst formsSubmissionsCommand = defineCommand({\n meta: {\n name: \"submissions\",\n description:\n \"How many leads a form received, and when. Example: baker hubspot forms submissions <formId> --days 30\",\n },\n args: {\n formId: { type: \"positional\", description: \"HubSpot form id\", required: true },\n days: { type: \"string\", description: \"Window in days (default 30)\", required: false },\n full: { type: \"boolean\", description: \"Include each lead's answers\", required: false },\n },\n run: async ({ args }) => {\n try {\n const days = args.days === undefined ? 30 : Number(args.days);\n if (!Number.isInteger(days) || days < 1 || days > 365) {\n throw new ApiError(\"VALIDATION_ERROR\", \"--days must be a whole number between 1 and 365.\");\n }\n\n const response = await apiPost<HubspotFormSubmissionsResponse>(\n \"/api/hubspot/forms/submissions\",\n {\n formId: args.formId,\n days,\n ...(args.full ? { full: true } : {}),\n },\n { read: true },\n );\n const { inWindow, total, truncated, lastSubmittedAt } = response.data;\n\n const hints: string[] = [];\n if (inWindow === 0) {\n hints.push(\n total === 0\n ? \"This form has received nothing at all — check it is the form actually embedded on the page before concluding the campaign is at fault.\"\n : `No leads in the last ${days} days, though the form has ${total} older submission(s). It worked once and has gone quiet.`,\n );\n }\n if (truncated) {\n hints.push(\n \"Stopped before reaching the end of the window, so `inWindow` is a floor, not a count. Say so rather than reporting it as exact.\",\n );\n }\n if (!args.full && inWindow > 0) {\n hints.push(\n \"Counts only — the leads' own answers are not included. Add --full if you genuinely need the field values; it returns personal data, so do not paste it into a report or a chat message.\",\n );\n }\n if (lastSubmittedAt !== null) {\n hints.push(\n \"To find out whether these leads were worked, cross-check the deal pipeline: `baker hubspot pipelines list`.\",\n );\n }\n\n writeJson({ ...response, meta: { count: inWindow }, ...(hints.length > 0 ? { hints } : {}) });\n } catch (err) {\n failNotConnected(err);\n }\n },\n});\n\nconst workflowsListCommand = defineCommand({\n meta: {\n name: \"list\",\n description: \"List HubSpot workflows. Example: baker hubspot workflows list --enabled-only\",\n },\n args: {\n search: { type: \"string\", description: \"Match on workflow name\", required: false },\n \"enabled-only\": { type: \"boolean\", description: \"Only workflows that are on\", required: false },\n },\n run: async ({ args }) => {\n try {\n const body: Record<string, unknown> = {};\n if (args.search) {\n body.search = args.search;\n }\n if (args[\"enabled-only\"]) {\n body.enabledOnly = true;\n }\n\n const response = await apiPost<HubspotWorkflowsListResponse>(\"/api/hubspot/workflows/list\", body, { read: true });\n const { workflows } = response.data;\n const off = workflows.filter((workflow) => !workflow.enabled);\n const hints: string[] = [];\n if (workflows.length === 0) {\n hints.push(\"No workflows matched. Drop --search/--enabled-only, or the account genuinely has none.\");\n }\n if (off.length > 0) {\n hints.push(\n `${off.length} of these are switched off. A form wired to a workflow that is off looks connected and does nothing — worth flagging to the user.`,\n );\n }\n\n writeJson({ ok: true, ...rowsAsData(response.data, \"workflows\"), ...(hints.length > 0 ? { hints } : {}) });\n } catch (err) {\n failNotConnected(err);\n }\n },\n});\n\n/**\n * What the agent should take from one workflow read.\n *\n * All three of these are silent failures in HubSpot — the workflow saves, looks\n * right in the editor, and runs. Nothing surfaces them but reading the order and\n * the flags, so they are stated rather than left for the agent to notice.\n */\nexport function workflowViewHints(workflow: HubspotWorkflowsViewResponse[\"data\"][\"workflow\"]): string[] {\n const hints: string[] = [];\n if (!workflow.enabled) {\n hints.push(\n \"This workflow is switched off, so nothing below it is running now — it may still have run while it was on. Say so before reporting on what it does.\",\n );\n }\n\n // Only a LIST_BRANCH is evaluated top down. A STATIC_BRANCH splits on a value\n // and matches by equality, so \"a broad branch above a narrow one\" cannot\n // happen there — and both arrive here as `branches`, so the kind has to be\n // read off the step rather than off the list.\n const ordered = workflow.steps.filter((step) => step.type === \"LIST_BRANCH\" && (step.branches?.length ?? 0) > 1);\n if (ordered.length > 0) {\n hints.push(\n \"Branches are listed in evaluation order and the first match wins. Check that no broad branch sits above a narrower one — if it does, the narrow branch never runs and nothing in HubSpot reports it.\",\n );\n }\n if (workflow.raw === undefined && ordered.length > 0) {\n hints.push(\n \"This view names the branches but not what they compare. Re-run with --full to read the filter criteria before judging whether a branch matches what it was meant to match.\",\n );\n }\n\n if (workflow.enrollment.reEnrollment === false) {\n hints.push(\n \"Re-enrolment is off: a record that meets the criteria a second time will not run through this again. That is a real choice, not necessarily a fault — but confirm it is the intended one.\",\n );\n } else if (workflow.enrollment.reEnrollment === null) {\n hints.push(\n \"Whether this re-enrols is not reported for this kind of enrolment, so do not state it either way — read it in HubSpot if it matters.\",\n );\n }\n return hints;\n}\n\nconst workflowsViewCommand = defineCommand({\n meta: {\n name: \"view\",\n description:\n \"Read one workflow's real configuration — enrolment, branches in order, and what each step writes. Example: baker hubspot workflows view 121183594 --full\",\n },\n args: {\n workflowId: {\n type: \"positional\",\n description: \"Workflow id (from `baker hubspot workflows list`)\",\n required: true,\n },\n full: { type: \"boolean\", description: \"Include the raw HubSpot payload with the filter criteria\", required: false },\n },\n run: async ({ args }) => {\n try {\n const response = await apiPost<HubspotWorkflowsViewResponse>(\n \"/api/hubspot/workflows/view\",\n {\n workflowId: args.workflowId,\n ...(args.full ? { full: true } : {}),\n },\n { read: true },\n );\n const { workflow } = response.data;\n const hints = workflowViewHints(workflow);\n\n writeJson({ ...response, meta: { count: workflow.steps.length }, ...(hints.length > 0 ? { hints } : {}) });\n } catch (err) {\n failNotConnected(err);\n }\n },\n});\n\nconst pipelinesListCommand = defineCommand({\n meta: {\n name: \"list\",\n description: \"List HubSpot deal pipelines and their stages. Example: baker hubspot pipelines list\",\n },\n args: {},\n run: async () => {\n try {\n const response = await apiPost<HubspotPipelinesListResponse>(\"/api/hubspot/pipelines/list\", {}, { read: true });\n const { pipelines } = response.data;\n const hints: string[] =\n pipelines.length === 0\n ? [\"This account has no deal pipelines, so there is nowhere for a lead to be worked.\"]\n : [\"Stages are listed in the order they run in HubSpot, so the first stage is where a new lead lands.\"];\n\n writeJson({ ok: true, ...rowsAsData(response.data, \"pipelines\"), hints });\n } catch (err) {\n failNotConnected(err);\n }\n },\n});\n\ntype HubspotObjectWord = \"contact\" | \"deal\" | \"lead\";\n\nconst OBJECT_WORDS: Record<HubspotObjectWord, { plural: string; command: string; rows: string }> = {\n contact: {\n plural: \"contacts\",\n command: \"baker hubspot contacts\",\n rows: '`--field email={{work_email}}`, `--field currency=EUR`, `--field first_name=\"{{firstname}} {{lastname}}\"`; `{{id}}` is the contact\\'s own id',\n },\n deal: {\n plural: \"deals\",\n command: \"baker hubspot deals\",\n rows: \"`--field value={{amount}}`, `--field currency={{deal_currency_code}}`, `--field email={{contact.email}}` — a deal's own properties bare, its contact's as `contact.<name>`; `{{id}}` is the deal's own id, `{{contact.id}}` the contact's\",\n },\n lead: {\n plural: \"leads\",\n command: \"baker hubspot leads\",\n rows: \"`--field email={{contact.email}}`, `--field properties.stage={{hs_pipeline_stage}}` — a lead's own properties bare, its contact's as `contact.<name>`; `{{id}}` is the lead's own id, `{{contact.id}}` the contact's. A lead carries no amount of its own, so `value` is empty unless you point it at a property\",\n },\n};\n\n/** `properties`, for contacts and for deals: what a HubSpot event can watch. */\nfunction propertiesCommand(object: HubspotObjectWord) {\n const words = OBJECT_WORDS[object];\n return defineCommand({\n meta: {\n name: \"properties\",\n description: `List every ${object} property a HubSpot event can watch, with its kind, the operators that kind takes, and a select's values. Example: ${words.command} properties`,\n },\n args: {},\n run: async () => {\n try {\n const response = await apiPost<HubspotContactPropertiesListResponse>(\n \"/api/hubspot/contacts/properties\",\n {\n object,\n },\n { read: true },\n );\n const { properties } = response.data;\n const operators = Object.entries(HUBSPOT_OPERATORS)\n .map(([kind, list]) => `${kind}: ${list.map((operator) => operator.value).join(\", \")}`)\n .join(\" · \");\n const objectFlag = object === \"contact\" ? \"\" : ` --object ${object}`;\n const hints =\n properties.length === 0\n ? [`This account has no visible ${object} property, so there is nothing an event could watch.`]\n : [\n `Pick the property and the condition that mean the outcome, then \\`baker analytics sources --create-hubspot${objectFlag} --property <name> [--operator <op>] --value <value>…\\` (\\`--value\\` repeats for a list). Operators by kind — ${operators}. Counting starts from creation: a ${object} already satisfying it is not counted until it leaves and comes back.`,\n ];\n writeJson({ ok: true, ...rowsAsData(response.data, \"properties\"), hints });\n } catch (err) {\n failNotConnected(err);\n }\n },\n });\n}\n\nconst contactsPropertiesCommand = propertiesCommand(\"contact\");\n\nconst contactsSummaryCommand = defineCommand({\n meta: {\n name: \"summary\",\n description: \"Whether recent leads are being worked, as counts. Example: baker hubspot contacts summary --days 30\",\n },\n args: {\n days: { type: \"string\", description: \"Window in days (default 30)\", required: false },\n },\n run: async ({ args }) => {\n try {\n const days = args.days === undefined ? 30 : Number(args.days);\n if (!Number.isInteger(days) || days < 1 || days > 365) {\n throw new ApiError(\"VALIDATION_ERROR\", \"--days must be a whole number between 1 and 365.\");\n }\n\n const response = await apiPost<HubspotContactsSummaryResponse>(\n \"/api/hubspot/contacts/summary\",\n { days },\n { read: true },\n );\n const { total, withOwner, withoutOwner, byStage, truncated } = response.data;\n\n const hints: string[] = [];\n if (total === 0) {\n hints.push(`No contacts were created in the last ${days} days — nothing reached the CRM in that window.`);\n } else if (withOwner === 0) {\n hints.push(\n `None of these ${total} contacts has anyone assigned. That is the strongest available signal that the leads are arriving and nobody is picking them up — worth raising with the user.`,\n );\n } else if (withoutOwner > withOwner) {\n hints.push(`${withoutOwner} of ${total} contacts have nobody assigned — more unworked than worked.`);\n }\n const unset = byStage.find((entry) => entry.stage === \"unset\");\n if (unset && unset.count > 0) {\n hints.push(\n `${unset.count} contact(s) have no lifecycle stage set at all, so they were created and never staged.`,\n );\n }\n if (truncated) {\n hints.push(\"Stopped before reading every contact in the window, so these counts are floors, not totals.\");\n }\n\n writeJson({ ...response, meta: { count: total }, ...(hints.length > 0 ? { hints } : {}) });\n } catch (err) {\n failNotConnected(err);\n }\n },\n});\n\n/**\n * What the agent should take from one contact lookup.\n *\n * An empty `deals` or a null `company` means two different things depending on\n * whether the connection could read them at all, and the wrong reading — \"this\n * lead was never worked\" — is the one conclusion the command exists to settle.\n * So each is paired with its readability flag rather than reported bare.\n */\nexport function contactLookupHints(\n data: HubspotContactLookupResponse[\"data\"],\n askedProperties: readonly string[] = [],\n): string[] {\n const { found, contact, deals, dealsReadable, company, companyReadable } = data;\n if (!found) {\n return [\n \"No contact with that email. The lead never reached the CRM — check the form's submissions before assuming the CRM lost it.\",\n ];\n }\n\n const hints: string[] = [];\n if (contact?.ownerId === null) {\n hints.push(\"Nobody is assigned to this contact.\");\n }\n const undefinedProperties = askedProperties.filter((name) => !Object.hasOwn(contact?.properties ?? {}, name));\n if (undefinedProperties.length > 0) {\n hints.push(\n `No contact property named ${undefinedProperties.join(\", \")} on this account, so there is nothing to read — this is not an empty value. \\`baker hubspot contacts fields\\` lists the names this account uses.`,\n );\n }\n if (!dealsReadable) {\n hints.push(\n \"Deals were not read: this HubSpot connection does not cover them. Do not report the lead as having no deal — you cannot tell. The user can enable it by reconnecting HubSpot.\",\n );\n } else if (deals.length === 0) {\n hints.push(\"No deal is associated, so this contact was never taken into the pipeline.\");\n }\n if (!companyReadable) {\n hints.push(\n \"Account details were not read: this HubSpot connection does not cover them. Do not report the lead as having no account — you cannot tell. The user can enable it by reconnecting HubSpot.\",\n );\n } else if (company === null) {\n hints.push(\n \"No account is associated either. Most B2B setups create one automatically when a contact arrives, so this usually means the lead was never processed at all — not that the account is missing.\",\n );\n }\n return hints;\n}\n\nfunction commaList(raw: string): string[] {\n return [\n ...new Set(\n raw\n .split(\",\")\n .map((item) => item.trim())\n .filter(Boolean),\n ),\n ];\n}\n\nconst contactsLookupCommand = defineCommand({\n meta: {\n name: \"lookup\",\n description:\n \"Find one contact by email and see whether it was worked; --properties reads named contact properties too. Example: baker hubspot contacts lookup a@b.com --properties utm_campaign,utm_source\",\n },\n args: {\n email: { type: \"positional\", description: \"The contact's email address\", required: true },\n properties: {\n type: \"string\",\n description:\n \"Comma-separated contact properties to read, by HubSpot's internal name: --properties utm_campaign,utm_source\",\n required: false,\n },\n },\n run: async ({ args }) => {\n try {\n const properties = typeof args.properties === \"string\" ? commaList(args.properties) : [];\n const response = await apiPost<HubspotContactLookupResponse>(\n \"/api/hubspot/contacts/lookup\",\n {\n email: args.email,\n ...(properties.length > 0 ? { properties } : {}),\n },\n { read: true },\n );\n const hints = contactLookupHints(response.data, properties);\n\n writeJson({\n ...response,\n meta: { count: response.data.found ? 1 : 0 },\n ...(hints.length > 0 ? { hints } : {}),\n });\n } catch (err) {\n failNotConnected(err);\n }\n },\n});\n\n/** `fields`, for contacts and for deals: what a HubSpot event's rows can read. */\nfunction fieldsCommand(object: HubspotObjectWord) {\n const words = OBJECT_WORDS[object];\n return defineCommand({\n meta: {\n name: \"fields\",\n description: `List every property a HubSpot event on a ${object} can read into its rows, with HubSpot's type${object === \"contact\" ? \"\" : ` — the ${object}'s own, and its contact's as contact.<name>`}. Example: ${words.command} fields`,\n },\n args: {},\n run: async () => {\n try {\n const response = await apiPost<HubspotContactFieldsListResponse>(\n \"/api/hubspot/contacts/fields\",\n { object },\n { read: true },\n );\n writeJson({\n ok: true,\n ...rowsAsData(response.data, \"fields\"),\n hints: [\n `A row of a HubSpot event is a template over these names: ${words.rows}. \\`baker analytics sources --preview${object === \"contact\" ? \"\" : ` --object ${object}`} --property <p> --value <v> --field <row>…\\` reads one real ${object} to check the rows against.`,\n ],\n });\n } catch (err) {\n failNotConnected(err);\n }\n },\n });\n}\n\nconst contactsFieldsCommand = fieldsCommand(\"contact\");\n\nconst dealsCommand = defineCommand({\n meta: {\n name: \"deals\",\n description:\n \"Deals on the connected HubSpot account: the deals themselves with amount and stage (`list`), one deal found by its name (`lookup`), and what a HubSpot event on a deal can watch (`properties`) and read (`fields`).\",\n },\n subCommands: {\n list: () => import(\"./crm.ts\").then((m) => m.dealsListCommand),\n lookup: () => import(\"./crm.ts\").then((m) => m.dealsLookupCommand),\n properties: propertiesCommand(\"deal\"),\n fields: fieldsCommand(\"deal\"),\n },\n});\n\nconst leadsCommand = defineCommand({\n meta: {\n name: \"leads\",\n description:\n \"Leads on the connected HubSpot account: what a HubSpot event on a lead can watch (`properties`) and read (`fields`). Start here for qualification and disqualification — a lead's stage is where HubSpot records both, and `hs_pipeline_stage` lists the account's own stages with their labels. Needs Sales Hub Professional or Enterprise; on any other plan the account has no leads to read.\",\n },\n subCommands: { properties: propertiesCommand(\"lead\"), fields: fieldsCommand(\"lead\") },\n});\n\nconst contactsCommand = defineCommand({\n meta: { name: \"contacts\", description: \"Contacts on the connected HubSpot account.\" },\n subCommands: {\n summary: contactsSummaryCommand,\n lookup: contactsLookupCommand,\n properties: contactsPropertiesCommand,\n fields: contactsFieldsCommand,\n },\n});\n\nconst companiesCommand = defineCommand({\n meta: { name: \"companies\", description: \"Companies (accounts) in the connected HubSpot CRM.\" },\n subCommands: {\n search: () => import(\"./crm.ts\").then((m) => m.companiesSearchCommand),\n contacts: () => import(\"./crm.ts\").then((m) => m.companiesContactsCommand),\n },\n});\n\nconst formsCommand = defineCommand({\n meta: { name: \"forms\", description: \"HubSpot forms on the connected account.\" },\n subCommands: { list: formsListCommand, view: formsViewCommand, submissions: formsSubmissionsCommand },\n});\n\nconst workflowsCommand = defineCommand({\n meta: { name: \"workflows\", description: \"HubSpot workflows on the connected account.\" },\n subCommands: { list: workflowsListCommand, view: workflowsViewCommand },\n});\n\nconst pipelinesCommand = defineCommand({\n meta: { name: \"pipelines\", description: \"HubSpot deal pipelines on the connected account.\" },\n subCommands: { list: pipelinesListCommand },\n});\n\nconst meetingsCommand = defineCommand({\n meta: { name: \"meetings\", description: \"HubSpot meeting links (calendars) on the connected account.\" },\n subCommands: { list: meetingsListCommand, view: meetingsViewCommand },\n});\n\nexport const hubspotCommand = defineCommand({\n meta: {\n name: \"hubspot\",\n description: `Read the connected HubSpot account — forms, the leads they received, workflows, deal pipelines, CRM\ncompanies and deals, and meeting links (calendars) — and get the blob to wire a form into a Form step yourself.\n\nExamples:\n baker hubspot forms list # every form: embed type + post-submit action\n baker hubspot forms list --redirecting-only # which forms redirect away on submit\n baker hubspot forms view <formId> # fields, consent mode, full configuration\n baker hubspot forms view <formId> --as-node # the form.external blob -> write into the step\n baker hubspot forms submissions <formId> # how many leads it got, and when\n baker hubspot workflows list --enabled-only # what runs after a lead is captured\n baker hubspot workflows view <workflowId> # its real branches, in order, and what each step writes\n baker hubspot pipelines list # where a lead lands, and the stages after it\n baker hubspot contacts summary --days 30 # are recent leads being worked? (counts only)\n baker hubspot contacts lookup a@b.com # was this one lead picked up? --properties utm_campaign,… reads those too\n baker hubspot companies search --domains acme.com,globex.io --with-deals # which are accounts, with deals\n baker hubspot deals list --modified-since 2026-01-01 # deals: amount, stage, closed won\n baker hubspot deals lookup --search \"Acme\" # is this sale in the CRM? (by deal name)\n baker hubspot deals properties # what a HubSpot event on a deal can watch (dealstage, amount…)\n baker hubspot deals fields # what its rows can read: the deal's own, its contact's as contact.<name>\n baker hubspot meetings list # every calendar + whether booking redirects\n baker hubspot meetings view <slug> --as-node # same, for a hubspotMeeting step\n\nAn account connected before one of these existed cannot serve it — you get HUBSPOT_RECONNECT_REQUIRED, which\nmeans HubSpot IS connected and the user has to reconnect it to widen what Baker may read. Report that and\ncarry on with the rest; never call it broken and never retry.\n\nNothing here is secret, so HubSpot steps do not need request_flow_input: take --as-node and edit the\nflow's _data.json. Use the approval form only when no account is connected or the right form is unclear.\nFull guide: __tooling__/docs/tools/baker/hubspot.md`,\n },\n subCommands: {\n forms: formsCommand,\n workflows: workflowsCommand,\n pipelines: pipelinesCommand,\n contacts: contactsCommand,\n companies: companiesCommand,\n deals: dealsCommand,\n leads: leadsCommand,\n meetings: meetingsCommand,\n },\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,SAAS,qBAAqB;AAM9B,IAAM,cAAc,CAAC,UAAU,MAAM,SAAS;AAE9C,SAAS,gBAAgB,OAAqE;AAC5F,MAAI,UAAU,QAAW;AACvB,WAAO;AAAA,EACT;AACA,MAAI,CAAE,YAAkC,SAAS,KAAK,GAAG;AACvD,UAAM,IAAI,MAAM,gCAAgC,YAAY,KAAK,GAAG,CAAC,EAAE;AAAA,EACzE;AACA,SAAO;AACT;AAEA,eAAe;AAAA,EACb,SAAS;AAAA,EACT,QAAQ,CAAC,8BAA8B;AAAA,EACvC,QAAQ;AAAA,EACR,aACE;AAAA,EACF,MAAM;AAAA,IACJ,QAAQ,EAAE,MAAM,UAAU,aAAa,qDAAqD,UAAU,MAAM;AAAA,IAC5G,oBAAoB;AAAA,MAClB,MAAM;AAAA,MACN,aAAa;AAAA,MACb,U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