@koda-sl/baker-cli 0.549.0 → 0.551.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 (434) hide show
  1. package/README.md +18 -1
  2. package/dist/{account-MTMCQQYH.js → account-4APOWG7V.js} +4 -4
  3. package/dist/{account-users-FJ63HUJT.js → account-users-2TXGPI3W.js} +4 -4
  4. package/dist/{accounts-PLZTPM52.js → accounts-GDZ73PDF.js} +5 -5
  5. package/dist/{accounts-VYQINKID.js → accounts-REFI6EMF.js} +3 -3
  6. package/dist/{actions-NKCYYR7Q.js → actions-2S5DQJKJ.js} +18 -18
  7. package/dist/{activecampaign-LQHDIHN5.js → activecampaign-GH43KH6Z.js} +3 -3
  8. package/dist/{add-6EHN5G6X.js → add-GIWCA5OL.js} +2 -2
  9. package/dist/{add-HLBKTI3H.js → add-OLG7DLPA.js} +3 -3
  10. package/dist/{ads-CWXQLZCC.js → ads-DXZMF47D.js} +4 -4
  11. package/dist/{advertisers-YMIPR2QG.js → advertisers-C6RN6EVF.js} +3 -3
  12. package/dist/{analytics-6VAB2VYM.js → analytics-ELFMOYP3.js} +3 -3
  13. package/dist/{analytics-37M6Z37U.js → analytics-J6ARLTGK.js} +6 -6
  14. package/dist/{assign-V25HMGMU.js → assign-6CHZQ3F3.js} +3 -3
  15. package/dist/{audience-size-FKNAK4QD.js → audience-size-ODKSKJRU.js} +3 -3
  16. package/dist/{audit-6VVUMMYL.js → audit-K6SDWYXJ.js} +3 -3
  17. package/dist/{autocomplete-NETVGJRC.js → autocomplete-22EAVZAL.js} +3 -3
  18. package/dist/{avatars-HH4LOUA3.js → avatars-P2N663H4.js} +4 -4
  19. package/dist/{bid-pricing-SCTUSHFI.js → bid-pricing-CHJEFWLG.js} +4 -4
  20. package/dist/{brand-FTPQYYDU.js → brand-NVLPEXBM.js} +2 -2
  21. package/dist/{brief-MCKNRSWM.js → brief-VFFTR7T2.js} +12 -12
  22. package/dist/{campaign-groups-ZNKBTXPV.js → campaign-groups-LIRSQ5UV.js} +9 -9
  23. package/dist/{campaign-writes-5TWXZ44R.js → campaign-writes-6FI47UWA.js} +3 -3
  24. package/dist/{campaigns-E64SHT67.js → campaigns-C3YPQUIT.js} +5 -5
  25. package/dist/{campaigns-GYNO5P22.js → campaigns-KRBCJPON.js} +12 -12
  26. package/dist/{canvas-E4ZT2K7I.js → canvas-72JKO7QM.js} +13 -13
  27. package/dist/{capabilities-RVNBW4OL.js → capabilities-BNGSD5U3.js} +3 -3
  28. package/dist/{chats-4SQSGOFC.js → chats-TIY72YXU.js} +3 -3
  29. package/dist/{check-4WC2RLDR.js → check-UUNYXVCY.js} +5 -5
  30. package/dist/{chunk-T62SKL4T.js → chunk-2X3RUD2X.js} +3 -3
  31. package/dist/{chunk-4EGXO63N.js → chunk-5FRNRY2T.js} +2 -2
  32. package/dist/{chunk-6I7N2WYU.js → chunk-6HCX2MSX.js} +2 -2
  33. package/dist/{chunk-VR2AF7I7.js → chunk-6OCQ4DM6.js} +904 -875
  34. package/dist/chunk-6OCQ4DM6.js.map +1 -0
  35. package/dist/{chunk-G4VG6ZV3.js → chunk-7LWCMBG3.js} +3 -3
  36. package/dist/{chunk-6FLUNQHT.js → chunk-AMR57TG3.js} +2 -2
  37. package/dist/{chunk-MEK7SMWO.js → chunk-BHILA7DX.js} +2 -2
  38. package/dist/{chunk-WLA7CA4G.js → chunk-BPZPKD2C.js} +3 -3
  39. package/dist/{chunk-Z4TWYYM3.js → chunk-CU5UPLQK.js} +2 -2
  40. package/dist/{chunk-YDGBWP3I.js → chunk-DOWMZNYP.js} +2 -2
  41. package/dist/{chunk-LODEDXCD.js → chunk-GR3ORYL6.js} +2 -2
  42. package/dist/{chunk-DNZVBP2W.js → chunk-H2RLCABM.js} +2 -2
  43. package/dist/{chunk-3SEXQVMX.js → chunk-IOWTKOAJ.js} +2 -2
  44. package/dist/{chunk-XLG3SJ3K.js → chunk-K3TMFSIC.js} +2 -2
  45. package/dist/{chunk-ZL43WZBX.js → chunk-L2C6NRYP.js} +2 -2
  46. package/dist/{chunk-I6JPTDKR.js → chunk-L6JSX2YM.js} +3 -3
  47. package/dist/{chunk-T7SOINEA.js → chunk-LECCNLKL.js} +2 -2
  48. package/dist/{chunk-TBIDT7FG.js → chunk-LJJNL7EI.js} +2 -2
  49. package/dist/{chunk-MELSTI6W.js → chunk-MEC75X76.js} +3 -3
  50. package/dist/{chunk-H6CS7VSO.js → chunk-MP636T7X.js} +6 -6
  51. package/dist/{chunk-TNHIYELA.js → chunk-NALQ47YH.js} +2 -2
  52. package/dist/{chunk-AYEWXTSF.js → chunk-NGWKYU7M.js} +2 -2
  53. package/dist/{chunk-VVMRSEW6.js → chunk-OMDN3MON.js} +2 -2
  54. package/dist/{chunk-QYKZ3FVE.js → chunk-P4OUKHNI.js} +3 -3
  55. package/dist/{chunk-SXYEIZND.js → chunk-P4WDMDW7.js} +2 -2
  56. package/dist/{chunk-D4NK7SPT.js → chunk-PCP5TQKK.js} +4 -4
  57. package/dist/{chunk-CKIDKN6H.js → chunk-PM4UWA3Q.js} +3 -3
  58. package/dist/{chunk-XJ2GXHU4.js → chunk-PPEXJ6TL.js} +2 -2
  59. package/dist/{chunk-ANV42DGJ.js → chunk-PVO34O5K.js} +2 -2
  60. package/dist/{chunk-J4JY435Z.js → chunk-QRIHJIKM.js} +2 -2
  61. package/dist/{chunk-EH34RWKR.js → chunk-QSVMTQ6Q.js} +3 -3
  62. package/dist/{chunk-6KWT3Z35.js → chunk-QVIVXMG2.js} +2 -2
  63. package/dist/{chunk-GEQUWPAX.js → chunk-RQOSSYVH.js} +4 -1
  64. package/dist/chunk-RQOSSYVH.js.map +1 -0
  65. package/dist/{chunk-5UEBOBLO.js → chunk-TWABYP5Z.js} +2 -2
  66. package/dist/{chunk-IGIACW2B.js → chunk-UEXZ4K2W.js} +2 -2
  67. package/dist/{chunk-ZKYJYBDR.js → chunk-UM77HGQV.js} +2 -2
  68. package/dist/{chunk-3I66ZQTI.js → chunk-UP3JAAJR.js} +2 -2
  69. package/dist/{chunk-IRINY4B2.js → chunk-VO242UPR.js} +8 -8
  70. package/dist/{chunk-SWPJZJTY.js → chunk-VSUEOZP6.js} +5 -5
  71. package/dist/{chunk-UT77RVVU.js → chunk-VXJHQGKU.js} +3 -3
  72. package/dist/{chunk-AI2SKWZE.js → chunk-WZWOHINR.js} +2 -2
  73. package/dist/{chunk-EQAEWL6A.js → chunk-XJMEEW42.js} +5 -5
  74. package/dist/{chunk-WFJ7KR5K.js → chunk-Z6XIOMHB.js} +3 -3
  75. package/dist/{chunk-F5UU5PAE.js → chunk-ZZHMOG3J.js} +2 -2
  76. package/dist/{claim-G4MRH7Q7.js → claim-6A4Q6ORG.js} +3 -3
  77. package/dist/cli.js +33 -32
  78. package/dist/cli.js.map +1 -1
  79. package/dist/{companies-TV5SX7IW.js → companies-VPXVMFCJ.js} +3 -3
  80. package/dist/{company-W2N3H7AG.js → company-57H5PC4R.js} +3 -3
  81. package/dist/{complete-CTS2VDY5.js → complete-XHDFR3XQ.js} +3 -3
  82. package/dist/{connect-64CFSYYE.js → connect-7L7C3KWI.js} +6 -6
  83. package/dist/{conversation-T57OY4L4.js → conversation-AMU2ZGG7.js} +3 -3
  84. package/dist/{conversions-P75BZDDN.js → conversions-UINZIHCU.js} +8 -8
  85. package/dist/{create-I6AVOYOS.js → create-4I6UT7YG.js} +2 -2
  86. package/dist/{create-2ZM3SAMX.js → create-CP2NQVUV.js} +3 -3
  87. package/dist/{create-YKV66SQ6.js → create-H43WKZCS.js} +3 -3
  88. package/dist/{create-2IFLWXCE.js → create-T6DSBBVW.js} +4 -4
  89. package/dist/{creatives-4HMWWE4O.js → creatives-QIUCWKZ3.js} +12 -12
  90. package/dist/{creatives-CSXTXOTD.js → creatives-YVXBEXDN.js} +9 -9
  91. package/dist/{credentials-YQND7EIL.js → credentials-XM7WYEQY.js} +3 -3
  92. package/dist/{critique-EBQKUWBV.js → critique-JQF3YKEE.js} +3 -3
  93. package/dist/{critique-ABUU725C.js → critique-LWB6PYE6.js} +8 -8
  94. package/dist/{crm-4GXVHO4R.js → crm-UK6CURNN.js} +4 -4
  95. package/dist/{crm-G2QOW4WY.js → crm-WQYRWTJ3.js} +4 -4
  96. package/dist/{customers-SNDSWS2C.js → customers-ZEH3YBCJ.js} +5 -5
  97. package/dist/{delete-WSWCPQ4R.js → delete-7CC3R4IU.js} +4 -4
  98. package/dist/{delete-AXECUWUU.js → delete-FTFQ56LP.js} +3 -3
  99. package/dist/{delete-YE3ZJKGK.js → delete-UCYAOIQK.js} +2 -2
  100. package/dist/{demographics-UPLQV4VW.js → demographics-IZHXVXUO.js} +3 -3
  101. package/dist/{discard-D3SPLQP2.js → discard-U3OCERG5.js} +3 -3
  102. package/dist/{domain-OXNE56NK.js → domain-DLUOZTMO.js} +3 -3
  103. package/dist/{download-DGVEUXKX.js → download-4Z3CXNLJ.js} +2 -2
  104. package/dist/{draft-2YTMB4YM.js → draft-C22HQEAJ.js} +4 -4
  105. package/dist/{draft-L7EN5TZD.js → draft-FEOTXOAX.js} +3 -3
  106. package/dist/{draft-2SMIRPNZ.js → draft-XMEX6FRF.js} +3 -3
  107. package/dist/{experiments-C3M65LMP.js → experiments-6QMIICYB.js} +4 -4
  108. package/dist/{facets-SGS4HDCM.js → facets-6NPGPB6K.js} +3 -3
  109. package/dist/{feedback-256D3HOY.js → feedback-55PYT5DE.js} +12 -12
  110. package/dist/feedback-SJD6CJUZ.js +136 -0
  111. package/dist/feedback-SJD6CJUZ.js.map +1 -0
  112. package/dist/{feedback-record-FDOIZ3HV.js → feedback-record-LZSXKCEV.js} +13 -13
  113. package/dist/{fetch-EODKEOLX.js → fetch-HVD4EEOA.js} +3 -3
  114. package/dist/{fit-VEUYZEG6.js → fit-CSJRXDB4.js} +5 -5
  115. package/dist/{flows-RCOWB5BY.js → flows-QLPLLQBZ.js} +10 -10
  116. package/dist/{fonts-33UOE4X3.js → fonts-J5KMUSGN.js} +5 -5
  117. package/dist/{forecast-I3WRFKQL.js → forecast-VI2QJXMG.js} +4 -4
  118. package/dist/{funnel-MLPPNJQK.js → funnel-J62CFUNA.js} +4 -4
  119. package/dist/{get-SORMH25W.js → get-ADJLTLK7.js} +4 -4
  120. package/dist/{get-AOHHMPZC.js → get-TZAGMI44.js} +3 -3
  121. package/dist/{google-ads-CNREZMRN.js → google-ads-M4GGRCLP.js} +3 -3
  122. package/dist/{history-ZE7OQGDR.js → history-7SVO4XRP.js} +3 -3
  123. package/dist/{history-D5UQTJ4H.js → history-VJLHIQCK.js} +4 -4
  124. package/dist/{hubspot-WGP36QI3.js → hubspot-J3SWQVIU.js} +7 -7
  125. package/dist/{ideas-4F5JG4UV.js → ideas-MSVZV55F.js} +4 -4
  126. package/dist/{images-Q5MZ75SL.js → images-S7VQOOFI.js} +4 -4
  127. package/dist/{ingest-NXISET6E.js → ingest-2ZUA7ZMP.js} +3 -3
  128. package/dist/{ingest-52X3B37O.js → ingest-NZDZU3TM.js} +2 -2
  129. package/dist/{inspect-JD4WLZ57.js → inspect-6L6ODJE3.js} +3 -3
  130. package/dist/{keyword-metrics-DDW4MSLX.js → keyword-metrics-UNGUXMTM.js} +3 -3
  131. package/dist/{keywords-for-site-3UM6THUN.js → keywords-for-site-HUIC3WCE.js} +3 -3
  132. package/dist/{landing-EAEMVCED.js → landing-VA64NHGQ.js} +2 -2
  133. package/dist/{leads-MITJNZWB.js → leads-B6W2QWYI.js} +3 -3
  134. package/dist/{learn-VLUC2TXW.js → learn-G5VO4RMG.js} +4 -4
  135. package/dist/{line-item-writes-HLQYQ4KG.js → line-item-writes-27QWYBCV.js} +3 -3
  136. package/dist/{line-items-64KIKPCB.js → line-items-DN3WC4OI.js} +5 -5
  137. package/dist/{link-NNSG5YQ4.js → link-GPDDGDFL.js} +3 -3
  138. package/dist/{linkedin-JYN5LGP2.js → linkedin-A3M4WQH7.js} +29 -29
  139. package/dist/{linkedin-person-OPCUWPLI.js → linkedin-person-N33DDQQB.js} +3 -3
  140. package/dist/{list-VQQICPK3.js → list-ACWW37I6.js} +4 -4
  141. package/dist/{list-7S4KTZNU.js → list-KPPYOCHQ.js} +2 -2
  142. package/dist/{list-5U4Z3PWU.js → list-MD6YMY3O.js} +3 -3
  143. package/dist/{log-63ZVYC6L.js → log-TU4RUP2M.js} +3 -3
  144. package/dist/{make-7ITIZUJI.js → make-4U3M6LGI.js} +15 -15
  145. package/dist/{map-MTR4V7KE.js → map-V5E3VPVJ.js} +4 -4
  146. package/dist/{mcp-HKMQLXBC.js → mcp-TPKPMFKU.js} +2 -2
  147. package/dist/{media-sources-ZBSBTB4C.js → media-sources-377HZE2W.js} +2 -2
  148. package/dist/{members-MTRJ3ZRS.js → members-GWDKUPPT.js} +3 -3
  149. package/dist/{normalize-SAKXSFEX.js → normalize-KCSOKFHA.js} +3 -3
  150. package/dist/{options-L7B3SDIX.js → options-X6UCNKSU.js} +6 -6
  151. package/dist/{organization-FFRNHVC5.js → organization-3MJB3EOT.js} +3 -3
  152. package/dist/{performance-AJA7YGOO.js → performance-335Y2Q2G.js} +3 -3
  153. package/dist/{performance-F72KFQU5.js → performance-T7RZGKBJ.js} +4 -4
  154. package/dist/{promoted-tweet-writes-32RAOXQR.js → promoted-tweet-writes-B4CLY4EN.js} +3 -3
  155. package/dist/{promoted-tweets-KMLFRWDN.js → promoted-tweets-7JLIJMPR.js} +3 -3
  156. package/dist/{publish-FOSPQ2BE.js → publish-N6UOAL63.js} +3 -3
  157. package/dist/{reddit-5PYYZNBJ.js → reddit-M7DKBG7Y.js} +4 -4
  158. package/dist/{refresh-AOHTPXU4.js → refresh-PVN7XBB7.js} +2 -2
  159. package/dist/{release-G2UKFAQY.js → release-4VFSNE5T.js} +3 -3
  160. package/dist/{remove-K5C2URJE.js → remove-QUNBU77Y.js} +2 -2
  161. package/dist/{reopen-PWROABUC.js → reopen-VR3TAIQM.js} +3 -3
  162. package/dist/{rerun-CVJYCCNK.js → rerun-436Z5D7V.js} +14 -14
  163. package/dist/{research-KLWC3JBI.js → research-ECZHDL6J.js} +13 -13
  164. package/dist/{research-Z3OJXOS4.js → research-TN54ZAUJ.js} +2 -2
  165. package/dist/{reset-3QL7IOHF.js → reset-G6KPRCLC.js} +2 -2
  166. package/dist/{reset-GPO4MCSM.js → reset-WIQFHCS4.js} +2 -2
  167. package/dist/{resolve-7SW7FZ7Q.js → resolve-YXYG6SIP.js} +3 -3
  168. package/dist/{retry-HNCUDQ7S.js → retry-DXG4CMNR.js} +2 -2
  169. package/dist/{retry-NVMOGTZD.js → retry-YFEF6G43.js} +2 -2
  170. package/dist/{revenue-HDJFYUEB.js → revenue-OUR5TX5N.js} +4 -4
  171. package/dist/{rules-RYHWD4HA.js → rules-S2YRSBBD.js} +5 -5
  172. package/dist/{rules-add-EMDFBYDA.js → rules-add-D6GNGXRK.js} +5 -5
  173. package/dist/{run-PXHQKRY5.js → run-EZYRSG4W.js} +4 -4
  174. package/dist/{run-2XRDPVHX.js → run-WGINKYWU.js} +14 -14
  175. package/dist/{scaffold-ad-RJAXMKOX.js → scaffold-ad-HZVTRGAZ.js} +10 -10
  176. package/dist/{scaffold-static-ad-4HLSHPJI.js → scaffold-static-ad-VPKVB65N.js} +18 -18
  177. package/dist/{scaffold-video-UH6OOIQW.js → scaffold-video-BM62SACG.js} +9 -9
  178. package/dist/{schedule-WT22OEBF.js → schedule-62UO27KN.js} +2 -2
  179. package/dist/{scheduled-agents-BLIDNRFX.js → scheduled-agents-H6L54TFP.js} +11 -11
  180. package/dist/{schema-FUCZHUNV.js → schema-RBB7F72Y.js} +4 -4
  181. package/dist/{schema-NSXMRNWM.js → schema-U6GAKTQZ.js} +2 -2
  182. package/dist/{search-S5O3L4KX.js → search-5O7V2PEY.js} +2 -2
  183. package/dist/{select-ISIQXRPF.js → select-MRAUWV4A.js} +11 -11
  184. package/dist/{set-prompt-MAQN5CYY.js → set-prompt-ZGIZRHRO.js} +8 -8
  185. package/dist/{setup-links-HANLAGD2.js → setup-links-WN7EKF54.js} +3 -3
  186. package/dist/{shopify-PKWH7WXV.js → shopify-HDJ7KKYW.js} +3 -3
  187. package/dist/{site-GADKB2RP.js → site-R3ZQHQVH.js} +4 -4
  188. package/dist/{sources-HUXVRGDH.js → sources-CQPOR5SX.js} +6 -6
  189. package/dist/{sources-CA7JLF4P.js → sources-MYEEHZXT.js} +6 -6
  190. package/dist/{stale-2A33KEE7.js → stale-3QTR4AH2.js} +10 -10
  191. package/dist/{status-5JTRE3OM.js → status-TGPFQPVU.js} +3 -3
  192. package/dist/{sync-RJFMKM6D.js → sync-OCVC2CJS.js} +2 -2
  193. package/dist/{sync-definition-AKZUCLEV.js → sync-definition-NVKFDQ7A.js} +9 -9
  194. package/dist/{tags-UHD43CAG.js → tags-4LRX3IU5.js} +3 -3
  195. package/dist/{tags-WJFCPOP7.js → tags-AP6WAC2B.js} +3 -3
  196. package/dist/{tags-LP6I7GY4.js → tags-DVCMAVV4.js} +4 -4
  197. package/dist/{tags-JUIKSERD.js → tags-DZXFYHKJ.js} +2 -2
  198. package/dist/{tags-B2EXVMNS.js → tags-GLS2YOVO.js} +3 -3
  199. package/dist/{targeting-criteria-2LKBD5IH.js → targeting-criteria-OHZGG3IP.js} +3 -3
  200. package/dist/{targets-O5JYFOCY.js → targets-MRQZG5XA.js} +4 -4
  201. package/dist/{testimonials-P63TKNJ2.js → testimonials-KUMHK4DM.js} +6 -6
  202. package/dist/{top-companies-F7DUMWXA.js → top-companies-LJ4NZACT.js} +3 -3
  203. package/dist/{transcript-4RFSQA5U.js → transcript-7KGVH3II.js} +3 -3
  204. package/dist/{translate-WOJFJRAC.js → translate-MZAT5452.js} +13 -13
  205. package/dist/{triggers-4MHFN3VV.js → triggers-IA7BYKBT.js} +4 -4
  206. package/dist/{unlink-5AXBQOIL.js → unlink-B47DELN2.js} +3 -3
  207. package/dist/{unstage-SIBXT25Y.js → unstage-TUDO2TGU.js} +4 -4
  208. package/dist/{update-YS4QI2KP.js → update-4UFYOZRH.js} +3 -3
  209. package/dist/{update-4BDOO53L.js → update-NFSGHIOX.js} +3 -3
  210. package/dist/{update-NNEMJQ4D.js → update-WKRV4YGK.js} +4 -4
  211. package/dist/{update-O76YSKXB.js → update-ZILXYMNU.js} +2 -2
  212. package/dist/{upload-XVV3HQ5W.js → upload-J63EFGHV.js} +3 -3
  213. package/dist/{url-params-XL5URMTG.js → url-params-SRDDCJ2A.js} +3 -3
  214. package/dist/{validate-42Q7X2KK.js → validate-QRUUP4NV.js} +11 -11
  215. package/dist/{videos-HMKEY5WY.js → videos-X3J333Q4.js} +6 -6
  216. package/dist/{viewer-check-4XFEWEH3.js → viewer-check-HV626VQV.js} +6 -6
  217. package/dist/{web-PYG3AOYS.js → web-VNC22NXW.js} +3 -3
  218. package/dist/{winning-ads-74BKOBVN.js → winning-ads-7UPJ6EMA.js} +3 -3
  219. package/dist/{write-commands-43GTQIR6.js → write-commands-7MRTOS4R.js} +4 -4
  220. package/dist/{x-6WSV55RN.js → x-2FJHZ6PP.js} +6 -6
  221. package/package.json +1 -1
  222. package/dist/chunk-GEQUWPAX.js.map +0 -1
  223. package/dist/chunk-VR2AF7I7.js.map +0 -1
  224. /package/dist/{account-MTMCQQYH.js.map → account-4APOWG7V.js.map} +0 -0
  225. /package/dist/{account-users-FJ63HUJT.js.map → account-users-2TXGPI3W.js.map} +0 -0
  226. /package/dist/{accounts-PLZTPM52.js.map → accounts-GDZ73PDF.js.map} +0 -0
  227. /package/dist/{accounts-VYQINKID.js.map → accounts-REFI6EMF.js.map} +0 -0
  228. /package/dist/{actions-NKCYYR7Q.js.map → actions-2S5DQJKJ.js.map} +0 -0
  229. /package/dist/{activecampaign-LQHDIHN5.js.map → activecampaign-GH43KH6Z.js.map} +0 -0
  230. /package/dist/{add-6EHN5G6X.js.map → add-GIWCA5OL.js.map} +0 -0
  231. /package/dist/{add-HLBKTI3H.js.map → add-OLG7DLPA.js.map} +0 -0
  232. /package/dist/{ads-CWXQLZCC.js.map → ads-DXZMF47D.js.map} +0 -0
  233. /package/dist/{advertisers-YMIPR2QG.js.map → advertisers-C6RN6EVF.js.map} +0 -0
  234. /package/dist/{analytics-6VAB2VYM.js.map → analytics-ELFMOYP3.js.map} +0 -0
  235. /package/dist/{analytics-37M6Z37U.js.map → analytics-J6ARLTGK.js.map} +0 -0
  236. /package/dist/{assign-V25HMGMU.js.map → assign-6CHZQ3F3.js.map} +0 -0
  237. /package/dist/{audience-size-FKNAK4QD.js.map → audience-size-ODKSKJRU.js.map} +0 -0
  238. /package/dist/{audit-6VVUMMYL.js.map → audit-K6SDWYXJ.js.map} +0 -0
  239. /package/dist/{autocomplete-NETVGJRC.js.map → autocomplete-22EAVZAL.js.map} +0 -0
  240. /package/dist/{avatars-HH4LOUA3.js.map → avatars-P2N663H4.js.map} +0 -0
  241. /package/dist/{bid-pricing-SCTUSHFI.js.map → bid-pricing-CHJEFWLG.js.map} +0 -0
  242. /package/dist/{brand-FTPQYYDU.js.map → brand-NVLPEXBM.js.map} +0 -0
  243. /package/dist/{brief-MCKNRSWM.js.map → brief-VFFTR7T2.js.map} +0 -0
  244. /package/dist/{campaign-groups-ZNKBTXPV.js.map → campaign-groups-LIRSQ5UV.js.map} +0 -0
  245. /package/dist/{campaign-writes-5TWXZ44R.js.map → campaign-writes-6FI47UWA.js.map} +0 -0
  246. /package/dist/{campaigns-E64SHT67.js.map → campaigns-C3YPQUIT.js.map} +0 -0
  247. /package/dist/{campaigns-GYNO5P22.js.map → campaigns-KRBCJPON.js.map} +0 -0
  248. /package/dist/{canvas-E4ZT2K7I.js.map → canvas-72JKO7QM.js.map} +0 -0
  249. /package/dist/{capabilities-RVNBW4OL.js.map → capabilities-BNGSD5U3.js.map} +0 -0
  250. /package/dist/{chats-4SQSGOFC.js.map → chats-TIY72YXU.js.map} +0 -0
  251. /package/dist/{check-4WC2RLDR.js.map → check-UUNYXVCY.js.map} +0 -0
  252. /package/dist/{chunk-T62SKL4T.js.map → chunk-2X3RUD2X.js.map} +0 -0
  253. /package/dist/{chunk-4EGXO63N.js.map → chunk-5FRNRY2T.js.map} +0 -0
  254. /package/dist/{chunk-6I7N2WYU.js.map → chunk-6HCX2MSX.js.map} +0 -0
  255. /package/dist/{chunk-G4VG6ZV3.js.map → chunk-7LWCMBG3.js.map} +0 -0
  256. /package/dist/{chunk-6FLUNQHT.js.map → chunk-AMR57TG3.js.map} +0 -0
  257. /package/dist/{chunk-MEK7SMWO.js.map → chunk-BHILA7DX.js.map} +0 -0
  258. /package/dist/{chunk-WLA7CA4G.js.map → chunk-BPZPKD2C.js.map} +0 -0
  259. /package/dist/{chunk-Z4TWYYM3.js.map → chunk-CU5UPLQK.js.map} +0 -0
  260. /package/dist/{chunk-YDGBWP3I.js.map → chunk-DOWMZNYP.js.map} +0 -0
  261. /package/dist/{chunk-LODEDXCD.js.map → chunk-GR3ORYL6.js.map} +0 -0
  262. /package/dist/{chunk-DNZVBP2W.js.map → chunk-H2RLCABM.js.map} +0 -0
  263. /package/dist/{chunk-3SEXQVMX.js.map → chunk-IOWTKOAJ.js.map} +0 -0
  264. /package/dist/{chunk-XLG3SJ3K.js.map → chunk-K3TMFSIC.js.map} +0 -0
  265. /package/dist/{chunk-ZL43WZBX.js.map → chunk-L2C6NRYP.js.map} +0 -0
  266. /package/dist/{chunk-I6JPTDKR.js.map → chunk-L6JSX2YM.js.map} +0 -0
  267. /package/dist/{chunk-T7SOINEA.js.map → chunk-LECCNLKL.js.map} +0 -0
  268. /package/dist/{chunk-TBIDT7FG.js.map → chunk-LJJNL7EI.js.map} +0 -0
  269. /package/dist/{chunk-MELSTI6W.js.map → chunk-MEC75X76.js.map} +0 -0
  270. /package/dist/{chunk-H6CS7VSO.js.map → chunk-MP636T7X.js.map} +0 -0
  271. /package/dist/{chunk-TNHIYELA.js.map → chunk-NALQ47YH.js.map} +0 -0
  272. /package/dist/{chunk-AYEWXTSF.js.map → chunk-NGWKYU7M.js.map} +0 -0
  273. /package/dist/{chunk-VVMRSEW6.js.map → chunk-OMDN3MON.js.map} +0 -0
  274. /package/dist/{chunk-QYKZ3FVE.js.map → chunk-P4OUKHNI.js.map} +0 -0
  275. /package/dist/{chunk-SXYEIZND.js.map → chunk-P4WDMDW7.js.map} +0 -0
  276. /package/dist/{chunk-D4NK7SPT.js.map → chunk-PCP5TQKK.js.map} +0 -0
  277. /package/dist/{chunk-CKIDKN6H.js.map → chunk-PM4UWA3Q.js.map} +0 -0
  278. /package/dist/{chunk-XJ2GXHU4.js.map → chunk-PPEXJ6TL.js.map} +0 -0
  279. /package/dist/{chunk-ANV42DGJ.js.map → chunk-PVO34O5K.js.map} +0 -0
  280. /package/dist/{chunk-J4JY435Z.js.map → chunk-QRIHJIKM.js.map} +0 -0
  281. /package/dist/{chunk-EH34RWKR.js.map → chunk-QSVMTQ6Q.js.map} +0 -0
  282. /package/dist/{chunk-6KWT3Z35.js.map → chunk-QVIVXMG2.js.map} +0 -0
  283. /package/dist/{chunk-5UEBOBLO.js.map → chunk-TWABYP5Z.js.map} +0 -0
  284. /package/dist/{chunk-IGIACW2B.js.map → chunk-UEXZ4K2W.js.map} +0 -0
  285. /package/dist/{chunk-ZKYJYBDR.js.map → chunk-UM77HGQV.js.map} +0 -0
  286. /package/dist/{chunk-3I66ZQTI.js.map → chunk-UP3JAAJR.js.map} +0 -0
  287. /package/dist/{chunk-IRINY4B2.js.map → chunk-VO242UPR.js.map} +0 -0
  288. /package/dist/{chunk-SWPJZJTY.js.map → chunk-VSUEOZP6.js.map} +0 -0
  289. /package/dist/{chunk-UT77RVVU.js.map → chunk-VXJHQGKU.js.map} +0 -0
  290. /package/dist/{chunk-AI2SKWZE.js.map → chunk-WZWOHINR.js.map} +0 -0
  291. /package/dist/{chunk-EQAEWL6A.js.map → chunk-XJMEEW42.js.map} +0 -0
  292. /package/dist/{chunk-WFJ7KR5K.js.map → chunk-Z6XIOMHB.js.map} +0 -0
  293. /package/dist/{chunk-F5UU5PAE.js.map → chunk-ZZHMOG3J.js.map} +0 -0
  294. /package/dist/{claim-G4MRH7Q7.js.map → claim-6A4Q6ORG.js.map} +0 -0
  295. /package/dist/{companies-TV5SX7IW.js.map → companies-VPXVMFCJ.js.map} +0 -0
  296. /package/dist/{company-W2N3H7AG.js.map → company-57H5PC4R.js.map} +0 -0
  297. /package/dist/{complete-CTS2VDY5.js.map → complete-XHDFR3XQ.js.map} +0 -0
  298. /package/dist/{connect-64CFSYYE.js.map → connect-7L7C3KWI.js.map} +0 -0
  299. /package/dist/{conversation-T57OY4L4.js.map → conversation-AMU2ZGG7.js.map} +0 -0
  300. /package/dist/{conversions-P75BZDDN.js.map → conversions-UINZIHCU.js.map} +0 -0
  301. /package/dist/{create-I6AVOYOS.js.map → create-4I6UT7YG.js.map} +0 -0
  302. /package/dist/{create-2ZM3SAMX.js.map → create-CP2NQVUV.js.map} +0 -0
  303. /package/dist/{create-YKV66SQ6.js.map → create-H43WKZCS.js.map} +0 -0
  304. /package/dist/{create-2IFLWXCE.js.map → create-T6DSBBVW.js.map} +0 -0
  305. /package/dist/{creatives-4HMWWE4O.js.map → creatives-QIUCWKZ3.js.map} +0 -0
  306. /package/dist/{creatives-CSXTXOTD.js.map → creatives-YVXBEXDN.js.map} +0 -0
  307. /package/dist/{credentials-YQND7EIL.js.map → credentials-XM7WYEQY.js.map} +0 -0
  308. /package/dist/{critique-EBQKUWBV.js.map → critique-JQF3YKEE.js.map} +0 -0
  309. /package/dist/{critique-ABUU725C.js.map → critique-LWB6PYE6.js.map} +0 -0
  310. /package/dist/{crm-4GXVHO4R.js.map → crm-UK6CURNN.js.map} +0 -0
  311. /package/dist/{crm-G2QOW4WY.js.map → crm-WQYRWTJ3.js.map} +0 -0
  312. /package/dist/{customers-SNDSWS2C.js.map → customers-ZEH3YBCJ.js.map} +0 -0
  313. /package/dist/{delete-WSWCPQ4R.js.map → delete-7CC3R4IU.js.map} +0 -0
  314. /package/dist/{delete-AXECUWUU.js.map → delete-FTFQ56LP.js.map} +0 -0
  315. /package/dist/{delete-YE3ZJKGK.js.map → delete-UCYAOIQK.js.map} +0 -0
  316. /package/dist/{demographics-UPLQV4VW.js.map → demographics-IZHXVXUO.js.map} +0 -0
  317. /package/dist/{discard-D3SPLQP2.js.map → discard-U3OCERG5.js.map} +0 -0
  318. /package/dist/{domain-OXNE56NK.js.map → domain-DLUOZTMO.js.map} +0 -0
  319. /package/dist/{download-DGVEUXKX.js.map → download-4Z3CXNLJ.js.map} +0 -0
  320. /package/dist/{draft-2YTMB4YM.js.map → draft-C22HQEAJ.js.map} +0 -0
  321. /package/dist/{draft-L7EN5TZD.js.map → draft-FEOTXOAX.js.map} +0 -0
  322. /package/dist/{draft-2SMIRPNZ.js.map → draft-XMEX6FRF.js.map} +0 -0
  323. /package/dist/{experiments-C3M65LMP.js.map → experiments-6QMIICYB.js.map} +0 -0
  324. /package/dist/{facets-SGS4HDCM.js.map → facets-6NPGPB6K.js.map} +0 -0
  325. /package/dist/{feedback-256D3HOY.js.map → feedback-55PYT5DE.js.map} +0 -0
  326. /package/dist/{feedback-record-FDOIZ3HV.js.map → feedback-record-LZSXKCEV.js.map} +0 -0
  327. /package/dist/{fetch-EODKEOLX.js.map → fetch-HVD4EEOA.js.map} +0 -0
  328. /package/dist/{fit-VEUYZEG6.js.map → fit-CSJRXDB4.js.map} +0 -0
  329. /package/dist/{flows-RCOWB5BY.js.map → flows-QLPLLQBZ.js.map} +0 -0
  330. /package/dist/{fonts-33UOE4X3.js.map → fonts-J5KMUSGN.js.map} +0 -0
  331. /package/dist/{forecast-I3WRFKQL.js.map → forecast-VI2QJXMG.js.map} +0 -0
  332. /package/dist/{funnel-MLPPNJQK.js.map → funnel-J62CFUNA.js.map} +0 -0
  333. /package/dist/{get-SORMH25W.js.map → get-ADJLTLK7.js.map} +0 -0
  334. /package/dist/{get-AOHHMPZC.js.map → get-TZAGMI44.js.map} +0 -0
  335. /package/dist/{google-ads-CNREZMRN.js.map → google-ads-M4GGRCLP.js.map} +0 -0
  336. /package/dist/{history-ZE7OQGDR.js.map → history-7SVO4XRP.js.map} +0 -0
  337. /package/dist/{history-D5UQTJ4H.js.map → history-VJLHIQCK.js.map} +0 -0
  338. /package/dist/{hubspot-WGP36QI3.js.map → hubspot-J3SWQVIU.js.map} +0 -0
  339. /package/dist/{ideas-4F5JG4UV.js.map → ideas-MSVZV55F.js.map} +0 -0
  340. /package/dist/{images-Q5MZ75SL.js.map → images-S7VQOOFI.js.map} +0 -0
  341. /package/dist/{ingest-NXISET6E.js.map → ingest-2ZUA7ZMP.js.map} +0 -0
  342. /package/dist/{ingest-52X3B37O.js.map → ingest-NZDZU3TM.js.map} +0 -0
  343. /package/dist/{inspect-JD4WLZ57.js.map → inspect-6L6ODJE3.js.map} +0 -0
  344. /package/dist/{keyword-metrics-DDW4MSLX.js.map → keyword-metrics-UNGUXMTM.js.map} +0 -0
  345. /package/dist/{keywords-for-site-3UM6THUN.js.map → keywords-for-site-HUIC3WCE.js.map} +0 -0
  346. /package/dist/{landing-EAEMVCED.js.map → landing-VA64NHGQ.js.map} +0 -0
  347. /package/dist/{leads-MITJNZWB.js.map → leads-B6W2QWYI.js.map} +0 -0
  348. /package/dist/{learn-VLUC2TXW.js.map → learn-G5VO4RMG.js.map} +0 -0
  349. /package/dist/{line-item-writes-HLQYQ4KG.js.map → line-item-writes-27QWYBCV.js.map} +0 -0
  350. /package/dist/{line-items-64KIKPCB.js.map → line-items-DN3WC4OI.js.map} +0 -0
  351. /package/dist/{link-NNSG5YQ4.js.map → link-GPDDGDFL.js.map} +0 -0
  352. /package/dist/{linkedin-JYN5LGP2.js.map → linkedin-A3M4WQH7.js.map} +0 -0
  353. /package/dist/{linkedin-person-OPCUWPLI.js.map → linkedin-person-N33DDQQB.js.map} +0 -0
  354. /package/dist/{list-VQQICPK3.js.map → list-ACWW37I6.js.map} +0 -0
  355. /package/dist/{list-7S4KTZNU.js.map → list-KPPYOCHQ.js.map} +0 -0
  356. /package/dist/{list-5U4Z3PWU.js.map → list-MD6YMY3O.js.map} +0 -0
  357. /package/dist/{log-63ZVYC6L.js.map → log-TU4RUP2M.js.map} +0 -0
  358. /package/dist/{make-7ITIZUJI.js.map → make-4U3M6LGI.js.map} +0 -0
  359. /package/dist/{map-MTR4V7KE.js.map → map-V5E3VPVJ.js.map} +0 -0
  360. /package/dist/{mcp-HKMQLXBC.js.map → mcp-TPKPMFKU.js.map} +0 -0
  361. /package/dist/{media-sources-ZBSBTB4C.js.map → media-sources-377HZE2W.js.map} +0 -0
  362. /package/dist/{members-MTRJ3ZRS.js.map → members-GWDKUPPT.js.map} +0 -0
  363. /package/dist/{normalize-SAKXSFEX.js.map → normalize-KCSOKFHA.js.map} +0 -0
  364. /package/dist/{options-L7B3SDIX.js.map → options-X6UCNKSU.js.map} +0 -0
  365. /package/dist/{organization-FFRNHVC5.js.map → organization-3MJB3EOT.js.map} +0 -0
  366. /package/dist/{performance-AJA7YGOO.js.map → performance-335Y2Q2G.js.map} +0 -0
  367. /package/dist/{performance-F72KFQU5.js.map → performance-T7RZGKBJ.js.map} +0 -0
  368. /package/dist/{promoted-tweet-writes-32RAOXQR.js.map → promoted-tweet-writes-B4CLY4EN.js.map} +0 -0
  369. /package/dist/{promoted-tweets-KMLFRWDN.js.map → promoted-tweets-7JLIJMPR.js.map} +0 -0
  370. /package/dist/{publish-FOSPQ2BE.js.map → publish-N6UOAL63.js.map} +0 -0
  371. /package/dist/{reddit-5PYYZNBJ.js.map → reddit-M7DKBG7Y.js.map} +0 -0
  372. /package/dist/{refresh-AOHTPXU4.js.map → refresh-PVN7XBB7.js.map} +0 -0
  373. /package/dist/{release-G2UKFAQY.js.map → release-4VFSNE5T.js.map} +0 -0
  374. /package/dist/{remove-K5C2URJE.js.map → remove-QUNBU77Y.js.map} +0 -0
  375. /package/dist/{reopen-PWROABUC.js.map → reopen-VR3TAIQM.js.map} +0 -0
  376. /package/dist/{rerun-CVJYCCNK.js.map → rerun-436Z5D7V.js.map} +0 -0
  377. /package/dist/{research-KLWC3JBI.js.map → research-ECZHDL6J.js.map} +0 -0
  378. /package/dist/{research-Z3OJXOS4.js.map → research-TN54ZAUJ.js.map} +0 -0
  379. /package/dist/{reset-3QL7IOHF.js.map → reset-G6KPRCLC.js.map} +0 -0
  380. /package/dist/{reset-GPO4MCSM.js.map → reset-WIQFHCS4.js.map} +0 -0
  381. /package/dist/{resolve-7SW7FZ7Q.js.map → resolve-YXYG6SIP.js.map} +0 -0
  382. /package/dist/{retry-HNCUDQ7S.js.map → retry-DXG4CMNR.js.map} +0 -0
  383. /package/dist/{retry-NVMOGTZD.js.map → retry-YFEF6G43.js.map} +0 -0
  384. /package/dist/{revenue-HDJFYUEB.js.map → revenue-OUR5TX5N.js.map} +0 -0
  385. /package/dist/{rules-RYHWD4HA.js.map → rules-S2YRSBBD.js.map} +0 -0
  386. /package/dist/{rules-add-EMDFBYDA.js.map → rules-add-D6GNGXRK.js.map} +0 -0
  387. /package/dist/{run-PXHQKRY5.js.map → run-EZYRSG4W.js.map} +0 -0
  388. /package/dist/{run-2XRDPVHX.js.map → run-WGINKYWU.js.map} +0 -0
  389. /package/dist/{scaffold-ad-RJAXMKOX.js.map → scaffold-ad-HZVTRGAZ.js.map} +0 -0
  390. /package/dist/{scaffold-static-ad-4HLSHPJI.js.map → scaffold-static-ad-VPKVB65N.js.map} +0 -0
  391. /package/dist/{scaffold-video-UH6OOIQW.js.map → scaffold-video-BM62SACG.js.map} +0 -0
  392. /package/dist/{schedule-WT22OEBF.js.map → schedule-62UO27KN.js.map} +0 -0
  393. /package/dist/{scheduled-agents-BLIDNRFX.js.map → scheduled-agents-H6L54TFP.js.map} +0 -0
  394. /package/dist/{schema-FUCZHUNV.js.map → schema-RBB7F72Y.js.map} +0 -0
  395. /package/dist/{schema-NSXMRNWM.js.map → schema-U6GAKTQZ.js.map} +0 -0
  396. /package/dist/{search-S5O3L4KX.js.map → search-5O7V2PEY.js.map} +0 -0
  397. /package/dist/{select-ISIQXRPF.js.map → select-MRAUWV4A.js.map} +0 -0
  398. /package/dist/{set-prompt-MAQN5CYY.js.map → set-prompt-ZGIZRHRO.js.map} +0 -0
  399. /package/dist/{setup-links-HANLAGD2.js.map → setup-links-WN7EKF54.js.map} +0 -0
  400. /package/dist/{shopify-PKWH7WXV.js.map → shopify-HDJ7KKYW.js.map} +0 -0
  401. /package/dist/{site-GADKB2RP.js.map → site-R3ZQHQVH.js.map} +0 -0
  402. /package/dist/{sources-HUXVRGDH.js.map → sources-CQPOR5SX.js.map} +0 -0
  403. /package/dist/{sources-CA7JLF4P.js.map → sources-MYEEHZXT.js.map} +0 -0
  404. /package/dist/{stale-2A33KEE7.js.map → stale-3QTR4AH2.js.map} +0 -0
  405. /package/dist/{status-5JTRE3OM.js.map → status-TGPFQPVU.js.map} +0 -0
  406. /package/dist/{sync-RJFMKM6D.js.map → sync-OCVC2CJS.js.map} +0 -0
  407. /package/dist/{sync-definition-AKZUCLEV.js.map → sync-definition-NVKFDQ7A.js.map} +0 -0
  408. /package/dist/{tags-UHD43CAG.js.map → tags-4LRX3IU5.js.map} +0 -0
  409. /package/dist/{tags-WJFCPOP7.js.map → tags-AP6WAC2B.js.map} +0 -0
  410. /package/dist/{tags-LP6I7GY4.js.map → tags-DVCMAVV4.js.map} +0 -0
  411. /package/dist/{tags-JUIKSERD.js.map → tags-DZXFYHKJ.js.map} +0 -0
  412. /package/dist/{tags-B2EXVMNS.js.map → tags-GLS2YOVO.js.map} +0 -0
  413. /package/dist/{targeting-criteria-2LKBD5IH.js.map → targeting-criteria-OHZGG3IP.js.map} +0 -0
  414. /package/dist/{targets-O5JYFOCY.js.map → targets-MRQZG5XA.js.map} +0 -0
  415. /package/dist/{testimonials-P63TKNJ2.js.map → testimonials-KUMHK4DM.js.map} +0 -0
  416. /package/dist/{top-companies-F7DUMWXA.js.map → top-companies-LJ4NZACT.js.map} +0 -0
  417. /package/dist/{transcript-4RFSQA5U.js.map → transcript-7KGVH3II.js.map} +0 -0
  418. /package/dist/{translate-WOJFJRAC.js.map → translate-MZAT5452.js.map} +0 -0
  419. /package/dist/{triggers-4MHFN3VV.js.map → triggers-IA7BYKBT.js.map} +0 -0
  420. /package/dist/{unlink-5AXBQOIL.js.map → unlink-B47DELN2.js.map} +0 -0
  421. /package/dist/{unstage-SIBXT25Y.js.map → unstage-TUDO2TGU.js.map} +0 -0
  422. /package/dist/{update-YS4QI2KP.js.map → update-4UFYOZRH.js.map} +0 -0
  423. /package/dist/{update-4BDOO53L.js.map → update-NFSGHIOX.js.map} +0 -0
  424. /package/dist/{update-NNEMJQ4D.js.map → update-WKRV4YGK.js.map} +0 -0
  425. /package/dist/{update-O76YSKXB.js.map → update-ZILXYMNU.js.map} +0 -0
  426. /package/dist/{upload-XVV3HQ5W.js.map → upload-J63EFGHV.js.map} +0 -0
  427. /package/dist/{url-params-XL5URMTG.js.map → url-params-SRDDCJ2A.js.map} +0 -0
  428. /package/dist/{validate-42Q7X2KK.js.map → validate-QRUUP4NV.js.map} +0 -0
  429. /package/dist/{videos-HMKEY5WY.js.map → videos-X3J333Q4.js.map} +0 -0
  430. /package/dist/{viewer-check-4XFEWEH3.js.map → viewer-check-HV626VQV.js.map} +0 -0
  431. /package/dist/{web-PYG3AOYS.js.map → web-VNC22NXW.js.map} +0 -0
  432. /package/dist/{winning-ads-74BKOBVN.js.map → winning-ads-7UPJ6EMA.js.map} +0 -0
  433. /package/dist/{write-commands-43GTQIR6.js.map → write-commands-7MRTOS4R.js.map} +0 -0
  434. /package/dist/{x-6WSV55RN.js.map → x-2FJHZ6PP.js.map} +0 -0
@@ -5472,101 +5472,128 @@ var customMcpServerNameRequestSchema = z18.object({
5472
5472
  actingUserId: z18.string().optional()
5473
5473
  });
5474
5474
 
5475
- // ../api/src/research.ts
5475
+ // ../api/src/platformReports.ts
5476
5476
  import { z as z19 } from "zod";
5477
+ var PLATFORM_REPORT_KINDS = ["bug", "feature"];
5478
+ var platformReportKindSchema = z19.enum(PLATFORM_REPORT_KINDS);
5479
+ var feedbackReportRequestSchema = z19.object({
5480
+ kind: platformReportKindSchema,
5481
+ /** One sentence: what is wrong, or what is missing. */
5482
+ title: z19.string().trim().min(10).max(200),
5483
+ /** What you did, what happened, what you expected — commands, messages, what you ruled out. */
5484
+ body: z19.string().trim().min(20).max(4e3),
5485
+ /** Whether the marketer asked for it to reach the Baker team, or the agent chose to. */
5486
+ askedByUser: z19.boolean().optional()
5487
+ });
5488
+ var PLATFORM_REPORT_STATUSES = ["sending", "filed", "added", "held"];
5489
+ var platformReportStatusSchema = z19.enum(PLATFORM_REPORT_STATUSES);
5490
+ var platformReportStateSchema = z19.object({
5491
+ id: z19.string(),
5492
+ kind: platformReportKindSchema,
5493
+ status: platformReportStatusSchema,
5494
+ /** The Baker team's issue, once it has one. */
5495
+ issue: z19.object({ identifier: z19.string(), url: z19.string() }).optional()
5496
+ });
5497
+ var feedbackReportResponseSchema = z19.object({
5498
+ ok: z19.literal(true),
5499
+ data: platformReportStateSchema
5500
+ });
5501
+
5502
+ // ../api/src/research.ts
5503
+ import { z as z20 } from "zod";
5477
5504
  var RESEARCH_FETCH_MAX_WAIT_MS = 3e4;
5478
- var researchFetchRequestSchema = z19.object({
5479
- url: z19.string().url(),
5480
- format: z19.enum(["markdown", "html"]).default("markdown"),
5505
+ var researchFetchRequestSchema = z20.object({
5506
+ url: z20.string().url(),
5507
+ format: z20.enum(["markdown", "html"]).default("markdown"),
5481
5508
  /** Extra milliseconds to let the page settle after load, for content that arrives late. */
5482
- waitFor: z19.coerce.number().int().min(0).max(RESEARCH_FETCH_MAX_WAIT_MS).optional(),
5509
+ waitFor: z20.coerce.number().int().min(0).max(RESEARCH_FETCH_MAX_WAIT_MS).optional(),
5483
5510
  /** Drop nav, footer and sidebars. On by default — the caller wants the page, not its chrome. */
5484
- onlyMainContent: z19.boolean().default(true)
5511
+ onlyMainContent: z20.boolean().default(true)
5485
5512
  });
5486
- var researchFetchResponseSchema = z19.object({
5513
+ var researchFetchResponseSchema = z20.object({
5487
5514
  /** The URL as asked for. */
5488
- url: z19.string(),
5515
+ url: z20.string(),
5489
5516
  /** Where the read actually landed after redirects. */
5490
- finalUrl: z19.string(),
5491
- title: z19.string().nullable(),
5492
- content: z19.string(),
5517
+ finalUrl: z20.string(),
5518
+ title: z20.string().nullable(),
5519
+ content: z20.string(),
5493
5520
  /** Length of `content` — already cut if `truncated`. */
5494
- contentChars: z19.number(),
5521
+ contentChars: z20.number(),
5495
5522
  /** The page was longer than one response may carry, so the tail is missing. */
5496
- truncated: z19.boolean(),
5523
+ truncated: z20.boolean(),
5497
5524
  /** `reddit` when the URL was a Reddit thread, which Firecrawl refuses and our Reddit reader serves instead. */
5498
- provider: z19.enum(["firecrawl", "reddit"])
5525
+ provider: z20.enum(["firecrawl", "reddit"])
5499
5526
  });
5500
- var researchLinkedinPersonRequestSchema = z19.object({
5501
- url: z19.string().url(),
5527
+ var researchLinkedinPersonRequestSchema = z20.object({
5528
+ url: z20.string().url(),
5502
5529
  /** Also return the provider's whole answer, for the fields the compact read leaves out. */
5503
- full: z19.boolean().default(false)
5530
+ full: z20.boolean().default(false)
5504
5531
  });
5505
- var researchLinkedinPostSchema = z19.object({
5506
- text: z19.string(),
5532
+ var researchLinkedinPostSchema = z20.object({
5533
+ text: z20.string(),
5507
5534
  /** ISO date, or null when the provider gave none. */
5508
- date: z19.string().nullable(),
5509
- url: z19.string(),
5535
+ date: z20.string().nullable(),
5536
+ url: z20.string(),
5510
5537
  /** LinkedIn's own label — "Post" for their own words, "Shared by …" for a reshare. */
5511
- kind: z19.string().nullable()
5538
+ kind: z20.string().nullable()
5512
5539
  });
5513
- var researchLinkedinArticleSchema = z19.object({
5514
- title: z19.string(),
5515
- date: z19.string().nullable(),
5516
- url: z19.string()
5540
+ var researchLinkedinArticleSchema = z20.object({
5541
+ title: z20.string(),
5542
+ date: z20.string().nullable(),
5543
+ url: z20.string()
5517
5544
  });
5518
- var researchLinkedinRoleSchema = z19.object({
5519
- organization: z19.string(),
5520
- organizationUrl: z19.string().nullable(),
5521
- location: z19.string().nullable(),
5545
+ var researchLinkedinRoleSchema = z20.object({
5546
+ organization: z20.string(),
5547
+ organizationUrl: z20.string().nullable(),
5548
+ location: z20.string().nullable(),
5522
5549
  /** `YYYY-MM` or `YYYY`, as LinkedIn shows it. */
5523
- since: z19.string().nullable(),
5524
- description: z19.string().nullable()
5525
- });
5526
- var researchLinkedinPersonSchema = z19.discriminatedUnion("private", [
5527
- z19.object({ private: z19.literal(true), profileUrl: z19.string() }),
5528
- z19.object({
5529
- private: z19.literal(false),
5530
- profileUrl: z19.string(),
5531
- name: z19.string(),
5532
- location: z19.string().nullable(),
5533
- about: z19.string().nullable(),
5550
+ since: z20.string().nullable(),
5551
+ description: z20.string().nullable()
5552
+ });
5553
+ var researchLinkedinPersonSchema = z20.discriminatedUnion("private", [
5554
+ z20.object({ private: z20.literal(true), profileUrl: z20.string() }),
5555
+ z20.object({
5556
+ private: z20.literal(false),
5557
+ profileUrl: z20.string(),
5558
+ name: z20.string(),
5559
+ location: z20.string().nullable(),
5560
+ about: z20.string().nullable(),
5534
5561
  /** The organisation they are at now: the latest role with no end date. */
5535
5562
  currentRole: researchLinkedinRoleSchema.nullable(),
5536
- recentPosts: z19.array(researchLinkedinPostSchema),
5537
- articles: z19.array(researchLinkedinArticleSchema)
5563
+ recentPosts: z20.array(researchLinkedinPostSchema),
5564
+ articles: z20.array(researchLinkedinArticleSchema)
5538
5565
  })
5539
5566
  ]);
5540
- var researchLinkedinPersonResponseSchema = z19.object({
5567
+ var researchLinkedinPersonResponseSchema = z20.object({
5541
5568
  person: researchLinkedinPersonSchema,
5542
5569
  /** The provider's whole answer; only when `full` was asked for. */
5543
- raw: z19.record(z19.string(), z19.unknown()).optional()
5570
+ raw: z20.record(z20.string(), z20.unknown()).optional()
5544
5571
  });
5545
- var researchTranscriptRequestSchema = z19.object({
5546
- url: z19.string().url()
5572
+ var researchTranscriptRequestSchema = z20.object({
5573
+ url: z20.string().url()
5547
5574
  });
5548
- var researchTranscriptProviderSchema = z19.enum(["youtube", "deepgram"]);
5549
- var researchTranscriptResponseSchema = z19.object({
5550
- url: z19.string(),
5575
+ var researchTranscriptProviderSchema = z20.enum(["youtube", "deepgram"]);
5576
+ var researchTranscriptResponseSchema = z20.object({
5577
+ url: z20.string(),
5551
5578
  /** `youtube` — the video's captions; `deepgram` — the file transcribed. */
5552
5579
  provider: researchTranscriptProviderSchema,
5553
- title: z19.string().nullable(),
5554
- durationSec: z19.number().nullable(),
5555
- language: z19.string().nullable(),
5556
- wordCount: z19.number(),
5557
- text: z19.string(),
5580
+ title: z20.string().nullable(),
5581
+ durationSec: z20.number().nullable(),
5582
+ language: z20.string().nullable(),
5583
+ wordCount: z20.number(),
5584
+ text: z20.string(),
5558
5585
  /** Length of `text` — already cut if `truncated`. */
5559
- textChars: z19.number(),
5586
+ textChars: z20.number(),
5560
5587
  /** The recording ran longer than one response may carry, so the tail is missing. */
5561
- truncated: z19.boolean()
5588
+ truncated: z20.boolean()
5562
5589
  });
5563
- var researchCompanyRequestSchema = z19.object({
5590
+ var researchCompanyRequestSchema = z20.object({
5564
5591
  /** A domain or any URL on it; reduced to the registrable domain. */
5565
- domain: z19.string().min(1),
5592
+ domain: z20.string().min(1),
5566
5593
  /** Also return both providers' answers, for the fields the compact read leaves out. */
5567
- full: z19.boolean().default(false),
5594
+ full: z20.boolean().default(false),
5568
5595
  /** Read hiring too. It costs about twenty profiles, so a long list can leave it out. */
5569
- hiring: z19.boolean().default(true)
5596
+ hiring: z20.boolean().default(true)
5570
5597
  });
5571
5598
  var RESEARCH_COMPANY_SIZES = [
5572
5599
  "1-10",
@@ -5578,7 +5605,7 @@ var RESEARCH_COMPANY_SIZES = [
5578
5605
  "5k-10k",
5579
5606
  "over-10k"
5580
5607
  ];
5581
- var researchCompanySizeSchema = z19.enum(RESEARCH_COMPANY_SIZES, {
5608
+ var researchCompanySizeSchema = z20.enum(RESEARCH_COMPANY_SIZES, {
5582
5609
  error: (issue) => `"${String(issue.input)}" is not a size. Use one of ${RESEARCH_COMPANY_SIZES.join(", ")}`
5583
5610
  });
5584
5611
  var RESEARCH_COMPANY_REVENUES = [
@@ -5590,229 +5617,229 @@ var RESEARCH_COMPANY_REVENUES = [
5590
5617
  "200m-1b",
5591
5618
  "over-1b"
5592
5619
  ];
5593
- var researchCompanyRevenueSchema = z19.enum(RESEARCH_COMPANY_REVENUES, {
5620
+ var researchCompanyRevenueSchema = z20.enum(RESEARCH_COMPANY_REVENUES, {
5594
5621
  error: (issue) => `"${String(issue.input)}" is not a revenue band. Use one of ${RESEARCH_COMPANY_REVENUES.join(", ")}`
5595
5622
  });
5596
- var researchCompanyFirmographicsSchema = z19.object({
5597
- name: z19.string().nullable(),
5598
- domain: z19.string(),
5623
+ var researchCompanyFirmographicsSchema = z20.object({
5624
+ name: z20.string().nullable(),
5625
+ domain: z20.string(),
5599
5626
  /** The main industry, as a slug (`computer-software`). */
5600
- industry: z19.string().nullable(),
5601
- industries: z19.array(z19.string()),
5627
+ industry: z20.string().nullable(),
5628
+ industries: z20.array(z20.string()),
5602
5629
  /** The employee band (`50-200`). */
5603
- employees: z19.string().nullable(),
5630
+ employees: z20.string().nullable(),
5604
5631
  /** A headcount, when the provider has one. */
5605
- employeesExact: z19.number().nullable(),
5606
- hqCountry: z19.string().nullable(),
5632
+ employeesExact: z20.number().nullable(),
5633
+ hqCountry: z20.string().nullable(),
5607
5634
  /** ISO 3166-1 alpha-2, lower case. */
5608
- hqCountryCode: z19.string().nullable(),
5609
- hqCity: z19.string().nullable(),
5635
+ hqCountryCode: z20.string().nullable(),
5636
+ hqCity: z20.string().nullable(),
5610
5637
  /** The revenue band (`10m-50m`). */
5611
- revenue: z19.string().nullable(),
5612
- founded: z19.number().nullable(),
5613
- linkedinUrl: z19.string().nullable(),
5614
- description: z19.string().nullable(),
5638
+ revenue: z20.string().nullable(),
5639
+ founded: z20.number().nullable(),
5640
+ linkedinUrl: z20.string().nullable(),
5641
+ description: z20.string().nullable(),
5615
5642
  /** Technologies seen on its site, as slugs. */
5616
- technologies: z19.array(z19.string())
5643
+ technologies: z20.array(z20.string())
5617
5644
  });
5618
- var researchCompanyHiringFunctionSchema = z19.object({ function: z19.string(), jobs: z19.number() });
5619
- var researchCompanyHiringSchema = z19.discriminatedUnion("status", [
5620
- z19.object({
5621
- status: z19.literal("ok"),
5645
+ var researchCompanyHiringFunctionSchema = z20.object({ function: z20.string(), jobs: z20.number() });
5646
+ var researchCompanyHiringSchema = z20.discriminatedUnion("status", [
5647
+ z20.object({
5648
+ status: z20.literal("ok"),
5622
5649
  /** Openings live now. */
5623
- openJobs: z19.number(),
5650
+ openJobs: z20.number(),
5624
5651
  /** Of those, first seen in the last 30 days. */
5625
- newLast30Days: z19.number(),
5652
+ newLast30Days: z20.number(),
5626
5653
  /** The most repeated titles among the openings read, most first. */
5627
- topTitles: z19.array(z19.string()),
5654
+ topTitles: z20.array(z20.string()),
5628
5655
  /** Job functions (`sales`, `software_development`, …) by openings, most first. */
5629
- topFunctions: z19.array(researchCompanyHiringFunctionSchema)
5656
+ topFunctions: z20.array(researchCompanyHiringFunctionSchema)
5630
5657
  }),
5631
5658
  /** PredictLeads does not follow this company's jobs. */
5632
- z19.object({ status: z19.literal("not_tracked") }),
5659
+ z20.object({ status: z20.literal("not_tracked") }),
5633
5660
  /** The caller left hiring out (`hiring: false`), so it was not read or billed. */
5634
- z19.object({ status: z19.literal("skipped") }),
5635
- z19.object({ status: z19.literal("unavailable"), reason: z19.enum(["not_configured", "failed"]) })
5661
+ z20.object({ status: z20.literal("skipped") }),
5662
+ z20.object({ status: z20.literal("unavailable"), reason: z20.enum(["not_configured", "failed"]) })
5636
5663
  ]);
5637
- var researchCompanyResponseSchema = z19.object({
5638
- domain: z19.string(),
5664
+ var researchCompanyResponseSchema = z20.object({
5665
+ domain: z20.string(),
5639
5666
  /** Null when The Companies API has no profile for the domain. */
5640
5667
  firmographics: researchCompanyFirmographicsSchema.nullable(),
5641
5668
  hiring: researchCompanyHiringSchema,
5642
5669
  /** Both providers' answers; only when `full` was asked for. */
5643
- raw: z19.object({
5644
- firmographics: z19.record(z19.string(), z19.unknown()).nullable(),
5645
- jobOpenings: z19.array(z19.record(z19.string(), z19.unknown())).nullable()
5670
+ raw: z20.object({
5671
+ firmographics: z20.record(z20.string(), z20.unknown()).nullable(),
5672
+ jobOpenings: z20.array(z20.record(z20.string(), z20.unknown())).nullable()
5646
5673
  }).optional()
5647
5674
  });
5648
5675
  var RESEARCH_COMPANY_SEARCH_MAX_LIMIT = 100;
5649
- var researchCompanySearchRequestSchema = z19.object({
5676
+ var researchCompanySearchRequestSchema = z20.object({
5650
5677
  /** Industries as written; each is resolved to the provider's slug before anything is billed. */
5651
- industries: z19.array(z19.string().trim().min(1)).max(10).default([]),
5652
- sizes: z19.array(researchCompanySizeSchema).max(RESEARCH_COMPANY_SIZES.length).default([]),
5653
- revenues: z19.array(researchCompanyRevenueSchema).max(RESEARCH_COMPANY_REVENUES.length).default([]),
5678
+ industries: z20.array(z20.string().trim().min(1)).max(10).default([]),
5679
+ sizes: z20.array(researchCompanySizeSchema).max(RESEARCH_COMPANY_SIZES.length).default([]),
5680
+ revenues: z20.array(researchCompanyRevenueSchema).max(RESEARCH_COMPANY_REVENUES.length).default([]),
5654
5681
  /** ISO 3166-1 alpha-2 country codes of the headquarters. */
5655
- countries: z19.array(
5656
- z19.string().trim().regex(/^[A-Za-z]{2}$/, "A country is its two-letter ISO code, like es, pt or fr").transform((code) => code.toLowerCase())
5682
+ countries: z20.array(
5683
+ z20.string().trim().regex(/^[A-Za-z]{2}$/, "A country is its two-letter ISO code, like es, pt or fr").transform((code) => code.toLowerCase())
5657
5684
  ).max(30).default([]),
5658
5685
  /** The total alone, free — size the market before paying for rows. */
5659
- count: z19.boolean().default(false),
5660
- limit: z19.number().int().min(1).max(RESEARCH_COMPANY_SEARCH_MAX_LIMIT).default(25),
5661
- page: z19.number().int().min(1).max(100).default(1)
5686
+ count: z20.boolean().default(false),
5687
+ limit: z20.number().int().min(1).max(RESEARCH_COMPANY_SEARCH_MAX_LIMIT).default(25),
5688
+ page: z20.number().int().min(1).max(100).default(1)
5662
5689
  }).refine(
5663
5690
  (filters) => filters.industries.length + filters.sizes.length + filters.revenues.length + filters.countries.length > 0,
5664
5691
  { message: "Name at least one of --industry, --size, --revenue or --country" }
5665
5692
  );
5666
- var researchCompanySearchRowSchema = z19.object({
5667
- name: z19.string().nullable(),
5668
- domain: z19.string(),
5669
- industry: z19.string().nullable(),
5670
- employees: z19.string().nullable(),
5693
+ var researchCompanySearchRowSchema = z20.object({
5694
+ name: z20.string().nullable(),
5695
+ domain: z20.string(),
5696
+ industry: z20.string().nullable(),
5697
+ employees: z20.string().nullable(),
5671
5698
  /** The revenue band, when the provider has one. */
5672
- revenue: z19.string().nullable(),
5699
+ revenue: z20.string().nullable(),
5673
5700
  /** ISO 3166-1 alpha-2, lower case. */
5674
- country: z19.string().nullable()
5701
+ country: z20.string().nullable()
5675
5702
  });
5676
- var researchCompanyIndustrySchema = z19.object({ slug: z19.string(), companies: z19.number() });
5677
- var researchCompanySearchResponseSchema = z19.discriminatedUnion("status", [
5678
- z19.object({
5679
- status: z19.literal("ok"),
5703
+ var researchCompanyIndustrySchema = z20.object({ slug: z20.string(), companies: z20.number() });
5704
+ var researchCompanySearchResponseSchema = z20.discriminatedUnion("status", [
5705
+ z20.object({
5706
+ status: z20.literal("ok"),
5680
5707
  /** Every company matching the filters, not just this page — the size of the market. */
5681
- total: z19.number(),
5682
- page: z19.number(),
5683
- lastPage: z19.number(),
5684
- companies: z19.array(researchCompanySearchRowSchema),
5708
+ total: z20.number(),
5709
+ page: z20.number(),
5710
+ lastPage: z20.number(),
5711
+ companies: z20.array(researchCompanySearchRowSchema),
5685
5712
  /** Neighbouring industries the search left out, to widen it with. */
5686
- relatedIndustries: z19.array(researchCompanyIndustrySchema)
5713
+ relatedIndustries: z20.array(researchCompanyIndustrySchema)
5687
5714
  }),
5688
5715
  /** `count` was asked for: the total alone, nothing billed. */
5689
- z19.object({
5690
- status: z19.literal("counted"),
5691
- total: z19.number(),
5692
- relatedIndustries: z19.array(researchCompanyIndustrySchema)
5716
+ z20.object({
5717
+ status: z20.literal("counted"),
5718
+ total: z20.number(),
5719
+ relatedIndustries: z20.array(researchCompanyIndustrySchema)
5693
5720
  }),
5694
5721
  /** An industry named no slug exactly; nothing was searched or billed. */
5695
- z19.object({
5696
- status: z19.literal("unknown_industries"),
5697
- industries: z19.array(z19.object({ input: z19.string(), closest: z19.array(researchCompanyIndustrySchema) }))
5722
+ z20.object({
5723
+ status: z20.literal("unknown_industries"),
5724
+ industries: z20.array(z20.object({ input: z20.string(), closest: z20.array(researchCompanyIndustrySchema) }))
5698
5725
  })
5699
5726
  ]);
5700
5727
  var RESEARCH_KEYWORD_METRICS_MAX_KEYWORDS = 700;
5701
5728
  var RESEARCH_KEYWORD_METRICS_MAX_KEYWORD_CHARS = 80;
5702
- var researchKeywordMetricsRequestSchema = z19.object({
5703
- keywords: z19.array(z19.string().min(1).max(RESEARCH_KEYWORD_METRICS_MAX_KEYWORD_CHARS)).min(1).max(RESEARCH_KEYWORD_METRICS_MAX_KEYWORDS),
5729
+ var researchKeywordMetricsRequestSchema = z20.object({
5730
+ keywords: z20.array(z20.string().min(1).max(RESEARCH_KEYWORD_METRICS_MAX_KEYWORD_CHARS)).min(1).max(RESEARCH_KEYWORD_METRICS_MAX_KEYWORDS),
5704
5731
  /** Country code (`mx`, `br`, …) or a DataForSEO location code. */
5705
- location: z19.union([z19.string(), z19.number()]).optional(),
5706
- language: z19.string().optional(),
5732
+ location: z20.union([z20.string(), z20.number()]).optional(),
5733
+ language: z20.string().optional(),
5707
5734
  /**
5708
5735
  * Ask for DataForSEO's own panel-derived volume alongside Google's. Off by
5709
5736
  * default because it doubles the price of the request — and because the
5710
5737
  * Google number is the one every other Baker surface quotes.
5711
5738
  */
5712
- includeClickstream: z19.boolean().default(false),
5713
- skipCache: z19.boolean().optional()
5714
- });
5715
- var monthlySearchSchema = z19.object({
5716
- year: z19.number(),
5717
- month: z19.number(),
5718
- search_volume: z19.number()
5719
- });
5720
- var researchKeywordMetricsRowSchema = z19.object({
5721
- keyword: z19.string(),
5722
- search_volume: z19.number().nullable(),
5723
- cpc: z19.number().nullable(),
5724
- low_top_of_page_bid: z19.number().nullable(),
5725
- high_top_of_page_bid: z19.number().nullable(),
5726
- competition: z19.string().nullable(),
5727
- competition_index: z19.number().nullable(),
5728
- keyword_difficulty: z19.number().nullable(),
5729
- main_intent: z19.string().nullable(),
5730
- monthly_searches: z19.array(monthlySearchSchema),
5739
+ includeClickstream: z20.boolean().default(false),
5740
+ skipCache: z20.boolean().optional()
5741
+ });
5742
+ var monthlySearchSchema = z20.object({
5743
+ year: z20.number(),
5744
+ month: z20.number(),
5745
+ search_volume: z20.number()
5746
+ });
5747
+ var researchKeywordMetricsRowSchema = z20.object({
5748
+ keyword: z20.string(),
5749
+ search_volume: z20.number().nullable(),
5750
+ cpc: z20.number().nullable(),
5751
+ low_top_of_page_bid: z20.number().nullable(),
5752
+ high_top_of_page_bid: z20.number().nullable(),
5753
+ competition: z20.string().nullable(),
5754
+ competition_index: z20.number().nullable(),
5755
+ keyword_difficulty: z20.number().nullable(),
5756
+ main_intent: z20.string().nullable(),
5757
+ monthly_searches: z20.array(monthlySearchSchema),
5731
5758
  /** Populated only when `includeClickstream` was set. */
5732
- clickstream_search_volume: z19.number().nullable()
5759
+ clickstream_search_volume: z20.number().nullable()
5733
5760
  });
5734
- var researchKeywordMetricsResponseSchema = z19.object({
5735
- data: z19.array(researchKeywordMetricsRowSchema)
5761
+ var researchKeywordMetricsResponseSchema = z20.object({
5762
+ data: z20.array(researchKeywordMetricsRowSchema)
5736
5763
  });
5737
5764
  var RESEARCH_REDDIT_SEARCH_MAX_LIMIT = 50;
5738
5765
  var RESEARCH_REDDIT_MAX_SUBREDDITS = 10;
5739
5766
  var RESEARCH_REDDIT_THREAD_MAX_COMMENTS = 200;
5740
5767
  var RESEARCH_REDDIT_THREAD_DEFAULT_COMMENTS = 40;
5741
- var researchRedditSourceSchema = z19.enum(["reddit_api", "reddit_web", "archive"]);
5742
- var researchRedditSubredditSchema = z19.string().trim().transform((name) => name.replace(/^\/?r\//i, "")).pipe(z19.string().regex(/^[A-Za-z0-9_]{2,21}$/, "Not a subreddit name"));
5743
- var researchRedditSearchRequestSchema = z19.object({
5744
- query: z19.string().trim().min(1).max(256),
5745
- subreddits: z19.array(researchRedditSubredditSchema).max(RESEARCH_REDDIT_MAX_SUBREDDITS).default([]),
5768
+ var researchRedditSourceSchema = z20.enum(["reddit_api", "reddit_web", "archive"]);
5769
+ var researchRedditSubredditSchema = z20.string().trim().transform((name) => name.replace(/^\/?r\//i, "")).pipe(z20.string().regex(/^[A-Za-z0-9_]{2,21}$/, "Not a subreddit name"));
5770
+ var researchRedditSearchRequestSchema = z20.object({
5771
+ query: z20.string().trim().min(1).max(256),
5772
+ subreddits: z20.array(researchRedditSubredditSchema).max(RESEARCH_REDDIT_MAX_SUBREDDITS).default([]),
5746
5773
  /** `comments` searches what people replied, which is where most of the verbatim voice is. */
5747
- kind: z19.enum(["posts", "comments"]).default("posts"),
5774
+ kind: z20.enum(["posts", "comments"]).default("posts"),
5748
5775
  /** Only things written on or after this day, `YYYY-MM-DD`. */
5749
- since: z19.string().regex(/^\d{4}-\d{2}-\d{2}$/, "Use YYYY-MM-DD").optional(),
5750
- limit: z19.coerce.number().int().min(1).max(RESEARCH_REDDIT_SEARCH_MAX_LIMIT).default(25)
5776
+ since: z20.string().regex(/^\d{4}-\d{2}-\d{2}$/, "Use YYYY-MM-DD").optional(),
5777
+ limit: z20.coerce.number().int().min(1).max(RESEARCH_REDDIT_SEARCH_MAX_LIMIT).default(25)
5751
5778
  });
5752
- var researchRedditThreadRequestSchema = z19.object({
5779
+ var researchRedditThreadRequestSchema = z20.object({
5753
5780
  /** A thread link in any form Reddit hands out — full, `old.`, `redd.it`, `/s/` share — or a bare post id. */
5754
- target: z19.string().trim().min(1).max(2048),
5755
- comments: z19.coerce.number().int().min(0).max(RESEARCH_REDDIT_THREAD_MAX_COMMENTS).default(RESEARCH_REDDIT_THREAD_DEFAULT_COMMENTS)
5756
- });
5757
- var researchRedditItemSchema = z19.object({
5758
- kind: z19.enum(["post", "comment"]),
5759
- id: z19.string(),
5760
- postId: z19.string(),
5761
- subreddit: z19.string(),
5781
+ target: z20.string().trim().min(1).max(2048),
5782
+ comments: z20.coerce.number().int().min(0).max(RESEARCH_REDDIT_THREAD_MAX_COMMENTS).default(RESEARCH_REDDIT_THREAD_DEFAULT_COMMENTS)
5783
+ });
5784
+ var researchRedditItemSchema = z20.object({
5785
+ kind: z20.enum(["post", "comment"]),
5786
+ id: z20.string(),
5787
+ postId: z20.string(),
5788
+ subreddit: z20.string(),
5762
5789
  /** `null` once the account is deleted. */
5763
- author: z19.string().nullable(),
5790
+ author: z20.string().nullable(),
5764
5791
  /** The post's title; on a comment, the title of the post it sits under when known. */
5765
- title: z19.string().nullable(),
5792
+ title: z20.string().nullable(),
5766
5793
  /** Verbatim: the post's own text (empty for a link post) or the comment's. */
5767
- text: z19.string(),
5768
- score: z19.number().nullable(),
5794
+ text: z20.string(),
5795
+ score: z20.number().nullable(),
5769
5796
  /** Posts only. */
5770
- commentCount: z19.number().nullable(),
5771
- createdAt: z19.string(),
5772
- permalink: z19.string(),
5797
+ commentCount: z20.number().nullable(),
5798
+ createdAt: z20.string(),
5799
+ permalink: z20.string(),
5773
5800
  /** Comments inside a thread: 0 answers the post, 1 answers a comment, and so on. */
5774
- depth: z19.number().nullable()
5801
+ depth: z20.number().nullable()
5775
5802
  });
5776
- var researchRedditAttemptSchema = z19.object({
5803
+ var researchRedditAttemptSchema = z20.object({
5777
5804
  source: researchRedditSourceSchema,
5778
- outcome: z19.enum(["ok", "empty", "not_found", "not_configured", "unsupported", "blocked", "unavailable"])
5805
+ outcome: z20.enum(["ok", "empty", "not_found", "not_configured", "unsupported", "blocked", "unavailable"])
5779
5806
  });
5780
- var researchRedditSearchResponseSchema = z19.object({
5781
- results: z19.array(researchRedditItemSchema),
5807
+ var researchRedditSearchResponseSchema = z20.object({
5808
+ results: z20.array(researchRedditItemSchema),
5782
5809
  source: researchRedditSourceSchema,
5783
5810
  /** Every source asked, in order — an empty answer from one is not the same as none from all. */
5784
- attempts: z19.array(researchRedditAttemptSchema)
5811
+ attempts: z20.array(researchRedditAttemptSchema)
5785
5812
  });
5786
- var researchRedditThreadResponseSchema = z19.object({
5813
+ var researchRedditThreadResponseSchema = z20.object({
5787
5814
  post: researchRedditItemSchema,
5788
5815
  /** Highest-scoring first, each followed by its best replies. Removed and deleted comments are left out. */
5789
- comments: z19.array(researchRedditItemSchema),
5816
+ comments: z20.array(researchRedditItemSchema),
5790
5817
  source: researchRedditSourceSchema,
5791
- attempts: z19.array(researchRedditAttemptSchema)
5818
+ attempts: z20.array(researchRedditAttemptSchema)
5792
5819
  });
5793
5820
  var RESEARCH_REDDIT_SUBREDDITS_MAX_LIMIT = 25;
5794
- var researchRedditSubredditsRequestSchema = z19.object({
5795
- query: z19.string().trim().min(2).max(100),
5796
- limit: z19.coerce.number().int().min(1).max(RESEARCH_REDDIT_SUBREDDITS_MAX_LIMIT).default(10)
5821
+ var researchRedditSubredditsRequestSchema = z20.object({
5822
+ query: z20.string().trim().min(2).max(100),
5823
+ limit: z20.coerce.number().int().min(1).max(RESEARCH_REDDIT_SUBREDDITS_MAX_LIMIT).default(10)
5797
5824
  });
5798
- var researchRedditSubredditSummarySchema = z19.object({
5799
- name: z19.string(),
5825
+ var researchRedditSubredditSummarySchema = z20.object({
5826
+ name: z20.string(),
5800
5827
  /** Members; `null` when the source does not say. Size, not activity — a big subreddit can be quiet. */
5801
- subscribers: z19.number().nullable(),
5828
+ subscribers: z20.number().nullable(),
5802
5829
  /** `restricted`: anyone reads, only approved members post. `private`: nothing can be read. */
5803
- access: z19.enum(["public", "restricted", "private", "other"]).nullable(),
5804
- description: z19.string(),
5805
- url: z19.string()
5830
+ access: z20.enum(["public", "restricted", "private", "other"]).nullable(),
5831
+ description: z20.string(),
5832
+ url: z20.string()
5806
5833
  });
5807
- var researchRedditSubredditsResponseSchema = z19.object({
5808
- results: z19.array(researchRedditSubredditSummarySchema),
5834
+ var researchRedditSubredditsResponseSchema = z20.object({
5835
+ results: z20.array(researchRedditSubredditSummarySchema),
5809
5836
  source: researchRedditSourceSchema,
5810
- attempts: z19.array(researchRedditAttemptSchema)
5837
+ attempts: z20.array(researchRedditAttemptSchema)
5811
5838
  });
5812
5839
  var RESEARCH_GOOGLE_ADS_MAX_LIMIT = 120;
5813
5840
  var RESEARCH_GOOGLE_ADS_DEFAULT_LIMIT = 40;
5814
5841
  var RESEARCH_GOOGLE_ADS_MAX_COPY = 20;
5815
- var researchGoogleAdsPlatformSchema = z19.enum([
5842
+ var researchGoogleAdsPlatformSchema = z20.enum([
5816
5843
  "all",
5817
5844
  "google_search",
5818
5845
  "google_shopping",
@@ -5820,79 +5847,79 @@ var researchGoogleAdsPlatformSchema = z19.enum([
5820
5847
  "google_play",
5821
5848
  "youtube"
5822
5849
  ]);
5823
- var researchGoogleAdsFormatSchema = z19.enum(["text", "image", "video"]);
5824
- var researchGoogleAdsRequestSchema = z19.object({
5850
+ var researchGoogleAdsFormatSchema = z20.enum(["text", "image", "video"]);
5851
+ var researchGoogleAdsRequestSchema = z20.object({
5825
5852
  /** A domain (`competitor.com`, or any URL on it) or a Transparency advertiser id (`AR…`). */
5826
- target: z19.string().trim().min(1),
5853
+ target: z20.string().trim().min(1),
5827
5854
  /** Country code (`es`, `mx`, …) or DataForSEO location code. Omitted ⇒ every region. */
5828
- location: z19.union([z19.string(), z19.number()]).optional(),
5855
+ location: z20.union([z20.string(), z20.number()]).optional(),
5829
5856
  platform: researchGoogleAdsPlatformSchema.default("all"),
5830
- format: z19.union([researchGoogleAdsFormatSchema, z19.literal("all")]).default("all"),
5857
+ format: z20.union([researchGoogleAdsFormatSchema, z20.literal("all")]).default("all"),
5831
5858
  /** Only ads shown on or after this day (`YYYY-MM-DD`). */
5832
- since: z19.string().regex(/^\d{4}-\d{2}-\d{2}$/, "since must be YYYY-MM-DD").optional(),
5833
- limit: z19.coerce.number().int().min(1).max(RESEARCH_GOOGLE_ADS_MAX_LIMIT).default(RESEARCH_GOOGLE_ADS_DEFAULT_LIMIT),
5859
+ since: z20.string().regex(/^\d{4}-\d{2}-\d{2}$/, "since must be YYYY-MM-DD").optional(),
5860
+ limit: z20.coerce.number().int().min(1).max(RESEARCH_GOOGLE_ADS_MAX_LIMIT).default(RESEARCH_GOOGLE_ADS_DEFAULT_LIMIT),
5834
5861
  /** Read the copy of the text ads off their preview images. */
5835
- copy: z19.boolean().default(false),
5836
- skipCache: z19.boolean().optional()
5837
- });
5838
- var researchGoogleAdCopySchema = z19.object({
5839
- headline: z19.string(),
5840
- description: z19.string().nullable(),
5841
- display_url: z19.string().nullable()
5842
- });
5843
- var researchGoogleAdSchema = z19.object({
5844
- creative_id: z19.string(),
5845
- advertiser: z19.string(),
5846
- advertiser_id: z19.string(),
5847
- verified: z19.boolean(),
5862
+ copy: z20.boolean().default(false),
5863
+ skipCache: z20.boolean().optional()
5864
+ });
5865
+ var researchGoogleAdCopySchema = z20.object({
5866
+ headline: z20.string(),
5867
+ description: z20.string().nullable(),
5868
+ display_url: z20.string().nullable()
5869
+ });
5870
+ var researchGoogleAdSchema = z20.object({
5871
+ creative_id: z20.string(),
5872
+ advertiser: z20.string(),
5873
+ advertiser_id: z20.string(),
5874
+ verified: z20.boolean(),
5848
5875
  format: researchGoogleAdsFormatSchema,
5849
5876
  /** Days, `YYYY-MM-DD` in UTC. */
5850
- first_shown: z19.string().nullable(),
5851
- last_shown: z19.string().nullable(),
5877
+ first_shown: z20.string().nullable(),
5878
+ last_shown: z20.string().nullable(),
5852
5879
  /** From first to last shown, inclusive: how long the advertiser has kept paying for it. */
5853
- days_running: z19.number().nullable(),
5880
+ days_running: z20.number().nullable(),
5854
5881
  /** The ad on Google's Ads Transparency Center. */
5855
- transparency_url: z19.string(),
5882
+ transparency_url: z20.string(),
5856
5883
  /** An image of the ad itself — text ads only. */
5857
- preview_image_url: z19.string().nullable(),
5884
+ preview_image_url: z20.string().nullable(),
5858
5885
  /** Read off `preview_image_url` when `copy` was asked; null otherwise, or when it could not be read. */
5859
5886
  copy: researchGoogleAdCopySchema.nullable()
5860
5887
  });
5861
- var researchGoogleAdsResponseSchema = z19.object({
5862
- target: z19.string(),
5863
- target_kind: z19.enum(["domain", "advertiser"]),
5888
+ var researchGoogleAdsResponseSchema = z20.object({
5889
+ target: z20.string(),
5890
+ target_kind: z20.enum(["domain", "advertiser"]),
5864
5891
  /** Ads Google says match, before `limit`. */
5865
- total_ads: z19.number().nullable(),
5866
- ads: z19.array(researchGoogleAdSchema),
5892
+ total_ads: z20.number().nullable(),
5893
+ ads: z20.array(researchGoogleAdSchema),
5867
5894
  /** Text ads whose copy was asked for but could not be read. */
5868
- copy_unread: z19.number(),
5895
+ copy_unread: z20.number(),
5869
5896
  /** The same search on Google's Ads Transparency Center. */
5870
- check_url: z19.string().nullable()
5897
+ check_url: z20.string().nullable()
5871
5898
  });
5872
5899
  var RESEARCH_WEB_DEPTHS = ["medium", "high", "xhigh"];
5873
- var researchWebDepthSchema = z19.enum(RESEARCH_WEB_DEPTHS);
5874
- var researchWebRequestSchema = z19.object({
5875
- question: z19.string().min(5).max(2e3),
5900
+ var researchWebDepthSchema = z20.enum(RESEARCH_WEB_DEPTHS);
5901
+ var researchWebRequestSchema = z20.object({
5902
+ question: z20.string().min(5).max(2e3),
5876
5903
  depth: researchWebDepthSchema.default("medium")
5877
5904
  });
5878
- var researchWebSourceSchema = z19.object({
5905
+ var researchWebSourceSchema = z20.object({
5879
5906
  /** The site's name, as Google labelled it. */
5880
- title: z19.string(),
5907
+ title: z20.string(),
5881
5908
  /** The page Google read. When `resolved` is false, the opaque Google link we could not follow. */
5882
- url: z19.string(),
5909
+ url: z20.string(),
5883
5910
  /** False when the Google redirect could not be followed — do not cite or guess a path from it. */
5884
- resolved: z19.boolean(),
5911
+ resolved: z20.boolean(),
5885
5912
  /** The parts of the answer this page is cited for, verbatim from the answer. Empty when the provider gave no span. */
5886
- cites: z19.array(z19.string())
5913
+ cites: z20.array(z20.string())
5887
5914
  });
5888
- var researchWebResponseSchema = z19.object({
5889
- answer: z19.string(),
5890
- sources: z19.array(researchWebSourceSchema)
5915
+ var researchWebResponseSchema = z20.object({
5916
+ answer: z20.string(),
5917
+ sources: z20.array(researchWebSourceSchema)
5891
5918
  });
5892
- var researchDeepResearchStartRequestSchema = z19.object({
5893
- question: z19.string().min(5).max(2e3)
5919
+ var researchDeepResearchStartRequestSchema = z20.object({
5920
+ question: z20.string().min(5).max(2e3)
5894
5921
  });
5895
- var researchDeepResearchStartResponseSchema = z19.object({ interactionId: z19.string() });
5922
+ var researchDeepResearchStartResponseSchema = z20.object({ interactionId: z20.string() });
5896
5923
  var RESEARCH_DEEP_RESEARCH_STATUSES = [
5897
5924
  "queued",
5898
5925
  "in_progress",
@@ -5903,14 +5930,14 @@ var RESEARCH_DEEP_RESEARCH_STATUSES = [
5903
5930
  "cancelled",
5904
5931
  "budget_exceeded"
5905
5932
  ];
5906
- var researchDeepResearchStatusSchema = z19.enum(RESEARCH_DEEP_RESEARCH_STATUSES);
5907
- var researchDeepResearchPollResponseSchema = z19.object({
5933
+ var researchDeepResearchStatusSchema = z20.enum(RESEARCH_DEEP_RESEARCH_STATUSES);
5934
+ var researchDeepResearchPollResponseSchema = z20.object({
5908
5935
  status: researchDeepResearchStatusSchema,
5909
5936
  result: researchWebResponseSchema.optional()
5910
5937
  });
5911
5938
 
5912
5939
  // ../api/src/scheduledAgentTriggers.ts
5913
- import { z as z20 } from "zod";
5940
+ import { z as z21 } from "zod";
5914
5941
  var TRIGGER_GROUPS = {
5915
5942
  time: { label: "Time", blurb: "On a clock you set." },
5916
5943
  incoming: { label: "Incoming", blurb: "Another tool or your site calls in." },
@@ -6429,211 +6456,211 @@ var TRIGGER_TARGETS = {
6429
6456
  "ad_alert.closed": [target("adAccount", { open: false }), target("alertRule", { open: false })],
6430
6457
  "social.post_published": [target("socialAccount", { open: false }), target("personRole", { open: false })]
6431
6458
  };
6432
- var triggerTargetOptionSchema = z20.object({
6433
- value: z20.string(),
6434
- label: z20.string(),
6459
+ var triggerTargetOptionSchema = z21.object({
6460
+ value: z21.string(),
6461
+ label: z21.string(),
6435
6462
  /** A second line: a status, a tag list, where it comes from. */
6436
- detail: z20.string().optional(),
6463
+ detail: z21.string().optional(),
6437
6464
  /** A mark: a path under the dashboard's `/logos/`, or an absolute image URL. */
6438
- logo: z20.string().optional()
6465
+ logo: z21.string().optional()
6439
6466
  });
6440
- var triggerCompaniesSchema = z20.array(z20.string()).optional();
6441
- var scheduledAgentTriggerSchema = z20.discriminatedUnion("kind", [
6442
- z20.object({
6443
- kind: z20.literal("time.once"),
6467
+ var triggerCompaniesSchema = z21.array(z21.string()).optional();
6468
+ var scheduledAgentTriggerSchema = z21.discriminatedUnion("kind", [
6469
+ z21.object({
6470
+ kind: z21.literal("time.once"),
6444
6471
  /** Epoch ms. Must still be in the future when the item is written. */
6445
- runAt: z20.number(),
6472
+ runAt: z21.number(),
6446
6473
  /** IANA zone. Defaults to the company's. */
6447
- tz: z20.string()
6474
+ tz: z21.string()
6448
6475
  }),
6449
- z20.object({
6450
- kind: z20.literal("time.cron"),
6476
+ z21.object({
6477
+ kind: z21.literal("time.cron"),
6451
6478
  /** Five-field cron expression. */
6452
- cronspec: z20.string(),
6453
- tz: z20.string()
6479
+ cronspec: z21.string(),
6480
+ tz: z21.string()
6454
6481
  }),
6455
- z20.object({ kind: z20.literal("webhook.received") }),
6456
- z20.object({
6457
- kind: z20.literal("app.event"),
6482
+ z21.object({ kind: z21.literal("webhook.received") }),
6483
+ z21.object({
6484
+ kind: z21.literal("app.event"),
6458
6485
  /** The connected tool, by its toolkit slug: `gmail`, `slack`. */
6459
- toolkit: z20.string(),
6486
+ toolkit: z21.string(),
6460
6487
  /** What happens in it, by the tool's own trigger id: `GMAIL_NEW_GMAIL_MESSAGE`. */
6461
- appEvent: z20.string(),
6488
+ appEvent: z21.string(),
6462
6489
  /** Which connected account — a tool can be connected more than once. */
6463
- account: z20.string(),
6490
+ account: z21.string(),
6464
6491
  /** The tool's own settings for the event (a label, a channel, a repository), as JSON text. */
6465
- configJson: z20.string().optional()
6492
+ configJson: z21.string().optional()
6466
6493
  }),
6467
- z20.object({
6468
- kind: z20.literal("event.received"),
6494
+ z21.object({
6495
+ kind: z21.literal("event.received"),
6469
6496
  /** Absent = any event. */
6470
- eventName: z20.string().optional()
6497
+ eventName: z21.string().optional()
6471
6498
  }),
6472
- z20.object({
6473
- kind: z20.literal("connection.created"),
6499
+ z21.object({
6500
+ kind: z21.literal("connection.created"),
6474
6501
  /** Absent = any tool. An OAuth provider type, or a Composio toolkit slug. */
6475
- provider: z20.string().optional(),
6502
+ provider: z21.string().optional(),
6476
6503
  companies: triggerCompaniesSchema
6477
6504
  }),
6478
- z20.object({
6479
- kind: z20.literal("connection.removed"),
6480
- provider: z20.string().optional(),
6505
+ z21.object({
6506
+ kind: z21.literal("connection.removed"),
6507
+ provider: z21.string().optional(),
6481
6508
  companies: triggerCompaniesSchema
6482
6509
  }),
6483
- z20.object({
6484
- kind: z20.literal("form.submitted"),
6510
+ z21.object({
6511
+ kind: z21.literal("form.submitted"),
6485
6512
  /** Absent = any Form. */
6486
- flowId: z20.string().optional(),
6513
+ flowId: z21.string().optional(),
6487
6514
  companies: triggerCompaniesSchema
6488
6515
  }),
6489
- z20.object({
6490
- kind: z20.literal("flow.step.submitted"),
6491
- flowId: z20.string(),
6492
- stepId: z20.string()
6516
+ z21.object({
6517
+ kind: z21.literal("flow.step.submitted"),
6518
+ flowId: z21.string(),
6519
+ stepId: z21.string()
6493
6520
  }),
6494
- z20.object({
6495
- kind: z20.literal("landing.created"),
6521
+ z21.object({
6522
+ kind: z21.literal("landing.created"),
6496
6523
  /** Absent = any page. A page's slug. */
6497
- page: z20.string().optional(),
6524
+ page: z21.string().optional(),
6498
6525
  /** Absent = any tag. */
6499
- tag: z20.string().optional(),
6526
+ tag: z21.string().optional(),
6500
6527
  companies: triggerCompaniesSchema
6501
6528
  }),
6502
- z20.object({
6503
- kind: z20.literal("landing.published"),
6504
- page: z20.string().optional(),
6505
- tag: z20.string().optional(),
6529
+ z21.object({
6530
+ kind: z21.literal("landing.published"),
6531
+ page: z21.string().optional(),
6532
+ tag: z21.string().optional(),
6506
6533
  companies: triggerCompaniesSchema
6507
6534
  }),
6508
- z20.object({
6509
- kind: z20.literal("experiment.started"),
6535
+ z21.object({
6536
+ kind: z21.literal("experiment.started"),
6510
6537
  /** Absent = any test. */
6511
- experimentId: z20.string().optional(),
6538
+ experimentId: z21.string().optional(),
6512
6539
  companies: triggerCompaniesSchema
6513
6540
  }),
6514
- z20.object({
6515
- kind: z20.literal("experiment.decided"),
6516
- experimentId: z20.string().optional(),
6541
+ z21.object({
6542
+ kind: z21.literal("experiment.decided"),
6543
+ experimentId: z21.string().optional(),
6517
6544
  companies: triggerCompaniesSchema
6518
6545
  }),
6519
- z20.object({
6520
- kind: z20.literal("experiment.ended"),
6521
- experimentId: z20.string().optional(),
6546
+ z21.object({
6547
+ kind: z21.literal("experiment.ended"),
6548
+ experimentId: z21.string().optional(),
6522
6549
  companies: triggerCompaniesSchema
6523
6550
  }),
6524
- z20.object({
6525
- kind: z20.literal("experiment.concluded"),
6526
- experimentId: z20.string().optional(),
6551
+ z21.object({
6552
+ kind: z21.literal("experiment.concluded"),
6553
+ experimentId: z21.string().optional(),
6527
6554
  companies: triggerCompaniesSchema
6528
6555
  }),
6529
- z20.object({
6530
- kind: z20.literal("task.created"),
6556
+ z21.object({
6557
+ kind: z21.literal("task.created"),
6531
6558
  /** Absent = any Task. */
6532
- tag: z20.string().optional(),
6559
+ tag: z21.string().optional(),
6533
6560
  companies: triggerCompaniesSchema
6534
6561
  }),
6535
- z20.object({
6536
- kind: z20.literal("task.claimed"),
6562
+ z21.object({
6563
+ kind: z21.literal("task.claimed"),
6537
6564
  /** Absent = any Task. One Task, by id. */
6538
- taskId: z20.string().optional(),
6539
- tag: z20.string().optional(),
6565
+ taskId: z21.string().optional(),
6566
+ tag: z21.string().optional(),
6540
6567
  companies: triggerCompaniesSchema
6541
6568
  }),
6542
- z20.object({
6543
- kind: z20.literal("task.completed"),
6544
- taskId: z20.string().optional(),
6545
- tag: z20.string().optional(),
6569
+ z21.object({
6570
+ kind: z21.literal("task.completed"),
6571
+ taskId: z21.string().optional(),
6572
+ tag: z21.string().optional(),
6546
6573
  companies: triggerCompaniesSchema
6547
6574
  }),
6548
- z20.object({
6549
- kind: z20.literal("session.published"),
6575
+ z21.object({
6576
+ kind: z21.literal("session.published"),
6550
6577
  /** Absent = any agent. Only the runs of this Scheduled agent. */
6551
- agentId: z20.string().optional(),
6578
+ agentId: z21.string().optional(),
6552
6579
  companies: triggerCompaniesSchema
6553
6580
  }),
6554
- z20.object({
6555
- kind: z20.literal("session.publish_failed"),
6556
- agentId: z20.string().optional(),
6581
+ z21.object({
6582
+ kind: z21.literal("session.publish_failed"),
6583
+ agentId: z21.string().optional(),
6557
6584
  companies: triggerCompaniesSchema
6558
6585
  }),
6559
- z20.object({
6560
- kind: z20.literal("session.settled"),
6586
+ z21.object({
6587
+ kind: z21.literal("session.settled"),
6561
6588
  /** The chat whose publish it waits for — `this` from the CLI, its id once staged. */
6562
- chatId: z20.string()
6589
+ chatId: z21.string()
6563
6590
  }),
6564
- z20.object({
6565
- kind: z20.literal("knowledge.updated"),
6591
+ z21.object({
6592
+ kind: z21.literal("knowledge.updated"),
6566
6593
  /** Absent = any collection. */
6567
- collection: z20.string().optional(),
6594
+ collection: z21.string().optional(),
6568
6595
  companies: triggerCompaniesSchema
6569
6596
  }),
6570
- z20.object({ kind: z20.literal("brand.updated"), companies: triggerCompaniesSchema }),
6571
- z20.object({ kind: z20.literal("creative.created"), companies: triggerCompaniesSchema }),
6572
- z20.object({
6573
- kind: z20.literal("connection.needs_reconnect"),
6574
- provider: z20.string().optional(),
6597
+ z21.object({ kind: z21.literal("brand.updated"), companies: triggerCompaniesSchema }),
6598
+ z21.object({ kind: z21.literal("creative.created"), companies: triggerCompaniesSchema }),
6599
+ z21.object({
6600
+ kind: z21.literal("connection.needs_reconnect"),
6601
+ provider: z21.string().optional(),
6575
6602
  companies: triggerCompaniesSchema
6576
6603
  }),
6577
- z20.object({
6578
- kind: z20.literal("session.publish_incomplete"),
6604
+ z21.object({
6605
+ kind: z21.literal("session.publish_incomplete"),
6579
6606
  /** Absent = any platform. One of `PUBLISH_PLATFORMS`. */
6580
- platform: z20.string().optional(),
6581
- agentId: z20.string().optional(),
6607
+ platform: z21.string().optional(),
6608
+ agentId: z21.string().optional(),
6582
6609
  companies: triggerCompaniesSchema
6583
6610
  }),
6584
- z20.object({
6585
- kind: z20.literal("review.received"),
6611
+ z21.object({
6612
+ kind: z21.literal("review.received"),
6586
6613
  /** Absent = any review source. */
6587
- sourceId: z20.string().optional(),
6614
+ sourceId: z21.string().optional(),
6588
6615
  companies: triggerCompaniesSchema
6589
6616
  }),
6590
- z20.object({
6591
- kind: z20.literal("advertiser.new_ads"),
6617
+ z21.object({
6618
+ kind: z21.literal("advertiser.new_ads"),
6592
6619
  /** Absent = any followed advertiser. */
6593
- advertiserId: z20.string().optional(),
6620
+ advertiserId: z21.string().optional(),
6594
6621
  companies: triggerCompaniesSchema
6595
6622
  }),
6596
- z20.object({
6597
- kind: z20.literal("ad_alert.opened"),
6623
+ z21.object({
6624
+ kind: z21.literal("ad_alert.opened"),
6598
6625
  /** Absent = any ad account. `<platform>:<ad account id>`, as `baker scheduled-agents targets` lists it. */
6599
- adAccount: z20.string().optional(),
6626
+ adAccount: z21.string().optional(),
6600
6627
  /** Absent = any kind of alert. A rule, as `baker ads performance attention` names it. */
6601
- alertRule: z20.string().optional()
6628
+ alertRule: z21.string().optional()
6602
6629
  }),
6603
- z20.object({
6604
- kind: z20.literal("ad_alert.claimed"),
6605
- adAccount: z20.string().optional(),
6606
- alertRule: z20.string().optional()
6630
+ z21.object({
6631
+ kind: z21.literal("ad_alert.claimed"),
6632
+ adAccount: z21.string().optional(),
6633
+ alertRule: z21.string().optional()
6607
6634
  }),
6608
- z20.object({
6609
- kind: z20.literal("ad_alert.fixed"),
6610
- adAccount: z20.string().optional(),
6611
- alertRule: z20.string().optional()
6635
+ z21.object({
6636
+ kind: z21.literal("ad_alert.fixed"),
6637
+ adAccount: z21.string().optional(),
6638
+ alertRule: z21.string().optional()
6612
6639
  }),
6613
- z20.object({
6614
- kind: z20.literal("ad_alert.closed"),
6615
- adAccount: z20.string().optional(),
6616
- alertRule: z20.string().optional()
6640
+ z21.object({
6641
+ kind: z21.literal("ad_alert.closed"),
6642
+ adAccount: z21.string().optional(),
6643
+ alertRule: z21.string().optional()
6617
6644
  }),
6618
- z20.object({
6619
- kind: z20.literal("social.post_published"),
6645
+ z21.object({
6646
+ kind: z21.literal("social.post_published"),
6620
6647
  /** A followed account's key (`linkedin:in/jacintofleta`). Absent = any account. */
6621
- socialAccount: z20.string().optional(),
6648
+ socialAccount: z21.string().optional(),
6622
6649
  /** A person's role (`ceo`). Absent = any account, a page included. */
6623
- personRole: z20.string().optional(),
6650
+ personRole: z21.string().optional(),
6624
6651
  companies: triggerCompaniesSchema
6625
6652
  })
6626
6653
  ]);
6627
- var occurrencesSchema = z20.array(z20.number().int().positive()).max(32);
6654
+ var occurrencesSchema = z21.array(z21.number().int().positive()).max(32);
6628
6655
  function firstTimes(count) {
6629
6656
  return Array.from({ length: Math.max(0, Math.floor(count)) }, (_, index) => index + 1);
6630
6657
  }
6631
6658
 
6632
6659
  // ../api/src/scheduledAgentTriggerCatalog.ts
6633
- import { z as z22 } from "zod";
6660
+ import { z as z23 } from "zod";
6634
6661
 
6635
6662
  // ../api/src/scheduledAgentRules.ts
6636
- import { z as z21 } from "zod";
6663
+ import { z as z22 } from "zod";
6637
6664
  var MAX_AI_CONDITION_CHARS = 500;
6638
6665
  var CONDITION_OPERATORS = {
6639
6666
  equals: { label: "is", takesValue: true },
@@ -6652,17 +6679,17 @@ var CONDITION_OPERATORS = {
6652
6679
  };
6653
6680
  var CONDITION_OPERATOR_IDS = Object.keys(CONDITION_OPERATORS);
6654
6681
  var MAX_CONDITION_RULES = 20;
6655
- var conditionRuleSchema = z21.object({
6682
+ var conditionRuleSchema = z22.object({
6656
6683
  /** A dotted path into the payload: `deal.amount`, `properties.plan`, `items.sku`. */
6657
- field: z21.string().trim().min(1).max(200),
6658
- op: z21.enum(CONDITION_OPERATOR_IDS),
6684
+ field: z22.string().trim().min(1).max(200),
6685
+ op: z22.enum(CONDITION_OPERATOR_IDS),
6659
6686
  /** What to compare against. For `one_of`, a comma-separated list. Absent for `exists` / `not_exists`. */
6660
- value: z21.string().max(500).optional()
6687
+ value: z22.string().max(500).optional()
6661
6688
  });
6662
- var conditionsSchema = z21.object({
6689
+ var conditionsSchema = z22.object({
6663
6690
  /** `all`: every rule must hold. `any`: one is enough. */
6664
- match: z21.enum(["all", "any"]),
6665
- rules: z21.array(conditionRuleSchema).max(MAX_CONDITION_RULES)
6691
+ match: z22.enum(["all", "any"]),
6692
+ rules: z22.array(conditionRuleSchema).max(MAX_CONDITION_RULES)
6666
6693
  });
6667
6694
  function asText(value) {
6668
6695
  if (typeof value === "string") {
@@ -6851,44 +6878,44 @@ function parseConditionsExpression(expression) {
6851
6878
  }
6852
6879
 
6853
6880
  // ../api/src/scheduledAgentTriggerCatalog.ts
6854
- var catalogTriggerSchema = z22.object({
6855
- kind: z22.string(),
6856
- label: z22.string(),
6857
- description: z22.string(),
6858
- narrowsBy: z22.string().nullable(),
6859
- pointAt: z22.array(
6860
- z22.object({
6861
- field: z22.string(),
6862
- flag: z22.string(),
6863
- required: z22.literal(true).optional(),
6864
- list: z22.string()
6881
+ var catalogTriggerSchema = z23.object({
6882
+ kind: z23.string(),
6883
+ label: z23.string(),
6884
+ description: z23.string(),
6885
+ narrowsBy: z23.string().nullable(),
6886
+ pointAt: z23.array(
6887
+ z23.object({
6888
+ field: z23.string(),
6889
+ flag: z23.string(),
6890
+ required: z23.literal(true).optional(),
6891
+ list: z23.string()
6865
6892
  })
6866
6893
  ),
6867
- payload: z22.array(z22.string())
6868
- });
6869
- var triggerCatalogSchema = z22.object({
6870
- groups: z22.array(
6871
- z22.object({
6872
- group: z22.string(),
6873
- label: z22.string(),
6874
- about: z22.string(),
6875
- triggers: z22.array(catalogTriggerSchema)
6894
+ payload: z23.array(z23.string())
6895
+ });
6896
+ var triggerCatalogSchema = z23.object({
6897
+ groups: z23.array(
6898
+ z23.object({
6899
+ group: z23.string(),
6900
+ label: z23.string(),
6901
+ about: z23.string(),
6902
+ triggers: z23.array(catalogTriggerSchema)
6876
6903
  })
6877
6904
  ),
6878
- reacting: z22.object({
6879
- when: z22.string(),
6880
- aiCheck: z22.string(),
6881
- placeholders: z22.string(),
6882
- times: z22.string(),
6883
- cooldown: z22.string(),
6905
+ reacting: z23.object({
6906
+ when: z23.string(),
6907
+ aiCheck: z23.string(),
6908
+ placeholders: z23.string(),
6909
+ times: z23.string(),
6910
+ cooldown: z23.string(),
6884
6911
  /** Only in the organization workspace's catalog. */
6885
- companies: z22.string().optional()
6912
+ companies: z23.string().optional()
6886
6913
  })
6887
6914
  });
6888
6915
 
6889
6916
  // ../api/src/testimonials.ts
6890
- import { z as z23 } from "zod";
6891
- var testimonialSourceTypeSchema = z23.enum([
6917
+ import { z as z24 } from "zod";
6918
+ var testimonialSourceTypeSchema = z24.enum([
6892
6919
  "google",
6893
6920
  "trustpilot",
6894
6921
  "yelp",
@@ -6899,107 +6926,107 @@ var testimonialSourceTypeSchema = z23.enum([
6899
6926
  "app_store",
6900
6927
  "google_play"
6901
6928
  ]);
6902
- var testimonialStatusSchema = z23.enum(["pending", "processing", "ready", "error"]);
6903
- var testimonialSentimentSchema = z23.enum(["positive", "neutral", "negative"]);
6904
- var testimonialDocSchema = z23.object({
6905
- _id: z23.string(),
6906
- _creationTime: z23.number(),
6907
- companyId: z23.string(),
6908
- sourceId: z23.string(),
6929
+ var testimonialStatusSchema = z24.enum(["pending", "processing", "ready", "error"]);
6930
+ var testimonialSentimentSchema = z24.enum(["positive", "neutral", "negative"]);
6931
+ var testimonialDocSchema = z24.object({
6932
+ _id: z24.string(),
6933
+ _creationTime: z24.number(),
6934
+ companyId: z24.string(),
6935
+ sourceId: z24.string(),
6909
6936
  sourceType: testimonialSourceTypeSchema,
6910
- reviewText: z23.string(),
6911
- reviewTitle: z23.string().optional(),
6912
- reviewerName: z23.string().optional(),
6913
- reviewerImageUrl: z23.string().optional(),
6914
- reviewerImageId: z23.string().optional(),
6915
- reviewerLocation: z23.string().optional(),
6916
- rating: z23.number().optional(),
6917
- reviewDate: z23.number().optional(),
6918
- ownerAnswer: z23.string().optional(),
6919
- mediaUrls: z23.array(z23.string()).optional(),
6920
- imageIds: z23.array(z23.string()).optional(),
6921
- videoIds: z23.array(z23.string()).optional(),
6922
- sourceUrl: z23.string().optional(),
6923
- tags: z23.array(z23.string()),
6924
- highlight: z23.string().optional(),
6925
- language: z23.string().optional(),
6926
- summary: z23.string().optional(),
6937
+ reviewText: z24.string(),
6938
+ reviewTitle: z24.string().optional(),
6939
+ reviewerName: z24.string().optional(),
6940
+ reviewerImageUrl: z24.string().optional(),
6941
+ reviewerImageId: z24.string().optional(),
6942
+ reviewerLocation: z24.string().optional(),
6943
+ rating: z24.number().optional(),
6944
+ reviewDate: z24.number().optional(),
6945
+ ownerAnswer: z24.string().optional(),
6946
+ mediaUrls: z24.array(z24.string()).optional(),
6947
+ imageIds: z24.array(z24.string()).optional(),
6948
+ videoIds: z24.array(z24.string()).optional(),
6949
+ sourceUrl: z24.string().optional(),
6950
+ tags: z24.array(z24.string()),
6951
+ highlight: z24.string().optional(),
6952
+ language: z24.string().optional(),
6953
+ summary: z24.string().optional(),
6927
6954
  sentiment: testimonialSentimentSchema.optional(),
6928
- externalId: z23.string().optional(),
6929
- contentHash: z23.string().optional(),
6955
+ externalId: z24.string().optional(),
6956
+ contentHash: z24.string().optional(),
6930
6957
  status: testimonialStatusSchema,
6931
- errorMessage: z23.string().optional(),
6932
- createdAt: z23.number(),
6933
- updatedAt: z23.number()
6958
+ errorMessage: z24.string().optional(),
6959
+ createdAt: z24.number(),
6960
+ updatedAt: z24.number()
6934
6961
  });
6935
- var testimonialsListRequestSchema = z23.object({
6962
+ var testimonialsListRequestSchema = z24.object({
6936
6963
  source: testimonialSourceTypeSchema.optional(),
6937
- rating_min: z23.coerce.number().int().min(1).max(5).optional(),
6938
- rating_max: z23.coerce.number().int().min(1).max(5).optional(),
6939
- tags: z23.string().transform((s) => s.split(",").filter(Boolean)).optional(),
6964
+ rating_min: z24.coerce.number().int().min(1).max(5).optional(),
6965
+ rating_max: z24.coerce.number().int().min(1).max(5).optional(),
6966
+ tags: z24.string().transform((s) => s.split(",").filter(Boolean)).optional(),
6940
6967
  status: testimonialStatusSchema.optional(),
6941
6968
  sentiment: testimonialSentimentSchema.optional(),
6942
- language: z23.string().min(2).max(5).optional(),
6943
- limit: z23.coerce.number().int().positive().max(200).optional(),
6969
+ language: z24.string().min(2).max(5).optional(),
6970
+ limit: z24.coerce.number().int().positive().max(200).optional(),
6944
6971
  // Opaque, from the previous response's `X-Baker-Next-Cursor`. Absent on the
6945
6972
  // first page; its absence on a response means the corpus is exhausted.
6946
- cursor: z23.string().optional()
6973
+ cursor: z24.string().optional()
6947
6974
  });
6948
- var testimonialsListResponseSchema = z23.array(testimonialDocSchema);
6949
- var testimonialsGetRequestSchema = z23.object({ id: z23.string().min(1, "Missing id parameter") });
6950
- var testimonialsSearchRequestSchema = z23.object({
6951
- query: z23.string().min(1),
6952
- limit: z23.coerce.number().int().positive().max(100).optional(),
6975
+ var testimonialsListResponseSchema = z24.array(testimonialDocSchema);
6976
+ var testimonialsGetRequestSchema = z24.object({ id: z24.string().min(1, "Missing id parameter") });
6977
+ var testimonialsSearchRequestSchema = z24.object({
6978
+ query: z24.string().min(1),
6979
+ limit: z24.coerce.number().int().positive().max(100).optional(),
6953
6980
  source: testimonialSourceTypeSchema.optional(),
6954
- rating_min: z23.coerce.number().int().min(1).max(5).optional(),
6955
- rating_max: z23.coerce.number().int().min(1).max(5).optional(),
6956
- tags: z23.array(z23.string()).optional(),
6981
+ rating_min: z24.coerce.number().int().min(1).max(5).optional(),
6982
+ rating_max: z24.coerce.number().int().min(1).max(5).optional(),
6983
+ tags: z24.array(z24.string()).optional(),
6957
6984
  status: testimonialStatusSchema.optional(),
6958
6985
  sentiment: testimonialSentimentSchema.optional(),
6959
- language: z23.string().min(2).max(5).optional()
6986
+ language: z24.string().min(2).max(5).optional()
6960
6987
  }).refine(
6961
6988
  (data) => data.rating_min === void 0 || data.rating_max === void 0 || data.rating_min <= data.rating_max,
6962
6989
  { message: "rating_min must be less than or equal to rating_max" }
6963
6990
  );
6964
- var testimonialsSearchResponseSchema = z23.array(testimonialDocSchema);
6965
- var testimonialsOutscraperWebhookResponseSchema = z23.object({
6966
- ok: z23.literal(true),
6967
- note: z23.string().optional()
6968
- });
6969
- var testimonialSourceRefreshIntervalSchema = z23.enum(["never", "daily", "weekly", "monthly"]);
6970
- var testimonialSourceSummarySchema = z23.object({
6971
- id: z23.string(),
6991
+ var testimonialsSearchResponseSchema = z24.array(testimonialDocSchema);
6992
+ var testimonialsOutscraperWebhookResponseSchema = z24.object({
6993
+ ok: z24.literal(true),
6994
+ note: z24.string().optional()
6995
+ });
6996
+ var testimonialSourceRefreshIntervalSchema = z24.enum(["never", "daily", "weekly", "monthly"]);
6997
+ var testimonialSourceSummarySchema = z24.object({
6998
+ id: z24.string(),
6972
6999
  platform: testimonialSourceTypeSchema,
6973
- platformLabel: z23.string(),
6974
- label: z23.string(),
6975
- pageUrl: z23.string().optional(),
6976
- status: z23.enum(["importing", "idle", "error"]),
6977
- reviews: z23.number(),
6978
- refreshInterval: z23.string(),
6979
- lastSyncedAt: z23.number().optional(),
6980
- error: z23.string().optional(),
6981
- createdAt: z23.number()
6982
- });
6983
- var testimonialSourcesAddRequestSchema = z23.object({
7000
+ platformLabel: z24.string(),
7001
+ label: z24.string(),
7002
+ pageUrl: z24.string().optional(),
7003
+ status: z24.enum(["importing", "idle", "error"]),
7004
+ reviews: z24.number(),
7005
+ refreshInterval: z24.string(),
7006
+ lastSyncedAt: z24.number().optional(),
7007
+ error: z24.string().optional(),
7008
+ createdAt: z24.number()
7009
+ });
7010
+ var testimonialSourcesAddRequestSchema = z24.object({
6984
7011
  /** The review page's link; for Google Maps also the business name. */
6985
- input: z23.string().trim().min(1, "Pass the review page's link, or a business name for Google Maps"),
7012
+ input: z24.string().trim().min(1, "Pass the review page's link, or a business name for Google Maps"),
6986
7013
  /** Needed only to force a site: a business name is Google, a link names its own site. */
6987
7014
  platform: testimonialSourceTypeSchema.optional(),
6988
7015
  /** Auto-sync cadence. Omitted = never, like the dashboard. */
6989
7016
  every: testimonialSourceRefreshIntervalSchema.optional()
6990
7017
  });
6991
- var sourceIdSchema = z23.string().trim().min(1, "Pass a source id from `baker testimonials sources list`");
6992
- var testimonialSourcesSyncRequestSchema = z23.object({ id: sourceIdSchema });
6993
- var testimonialSourcesRemoveRequestSchema = z23.object({ id: sourceIdSchema });
6994
- var testimonialSourcesScheduleRequestSchema = z23.object({
7018
+ var sourceIdSchema = z24.string().trim().min(1, "Pass a source id from `baker testimonials sources list`");
7019
+ var testimonialSourcesSyncRequestSchema = z24.object({ id: sourceIdSchema });
7020
+ var testimonialSourcesRemoveRequestSchema = z24.object({ id: sourceIdSchema });
7021
+ var testimonialSourcesScheduleRequestSchema = z24.object({
6995
7022
  id: sourceIdSchema,
6996
7023
  every: testimonialSourceRefreshIntervalSchema
6997
7024
  });
6998
7025
 
6999
7026
  // ../api/src/videos.ts
7000
- import { z as z24 } from "zod";
7001
- var videoStatusSchema = z24.enum(["uploading", "uploaded", "processing", "ready", "error"]);
7002
- var videoSourceSchema = z24.enum([
7027
+ import { z as z25 } from "zod";
7028
+ var videoStatusSchema = z25.enum(["uploading", "uploaded", "processing", "ready", "error"]);
7029
+ var videoSourceSchema = z25.enum([
7003
7030
  "uploaded",
7004
7031
  "url",
7005
7032
  "bilibili",
@@ -7026,337 +7053,337 @@ var videoSourceSchema = z24.enum([
7026
7053
  "youtube",
7027
7054
  "shopify"
7028
7055
  ]);
7029
- var videoTranscriptSegmentSchema = z24.object({
7030
- text: z24.string(),
7031
- startSecond: z24.number(),
7032
- endSecond: z24.number()
7033
- });
7034
- var videoSceneSchema = z24.object({
7035
- title: z24.string(),
7036
- description: z24.string(),
7037
- startSecond: z24.number(),
7038
- endSecond: z24.number(),
7039
- thumbnailTime: z24.number(),
7056
+ var videoTranscriptSegmentSchema = z25.object({
7057
+ text: z25.string(),
7058
+ startSecond: z25.number(),
7059
+ endSecond: z25.number()
7060
+ });
7061
+ var videoSceneSchema = z25.object({
7062
+ title: z25.string(),
7063
+ description: z25.string(),
7064
+ startSecond: z25.number(),
7065
+ endSecond: z25.number(),
7066
+ thumbnailTime: z25.number(),
7040
7067
  // Optional because rows analysed before the richer beat breakdown shipped
7041
7068
  // carry only the five fields above.
7042
- shot: z24.string().optional(),
7043
- visualChange: z24.string().optional(),
7044
- onScreenText: z24.array(z24.string()).optional(),
7045
- hasOverlay: z24.boolean().optional(),
7046
- onCamera: z24.array(z24.string()).optional(),
7047
- spoken: z24.string().optional()
7048
- });
7049
- var videoAnalysisSchema = z24.object({
7050
- subject: z24.string(),
7051
- people: z24.array(mediaPersonSchema),
7052
- brandOwnership: z24.string(),
7053
- spokenLanguages: z24.array(z24.string()),
7054
- onScreenText: z24.array(z24.string()),
7055
- shotStyle: z24.string(),
7056
- audioStyle: z24.string(),
7057
- hook: z24.string(),
7058
- usageNotes: z24.string(),
7069
+ shot: z25.string().optional(),
7070
+ visualChange: z25.string().optional(),
7071
+ onScreenText: z25.array(z25.string()).optional(),
7072
+ hasOverlay: z25.boolean().optional(),
7073
+ onCamera: z25.array(z25.string()).optional(),
7074
+ spoken: z25.string().optional()
7075
+ });
7076
+ var videoAnalysisSchema = z25.object({
7077
+ subject: z25.string(),
7078
+ people: z25.array(mediaPersonSchema),
7079
+ brandOwnership: z25.string(),
7080
+ spokenLanguages: z25.array(z25.string()),
7081
+ onScreenText: z25.array(z25.string()),
7082
+ shotStyle: z25.string(),
7083
+ audioStyle: z25.string(),
7084
+ hook: z25.string(),
7085
+ usageNotes: z25.string(),
7059
7086
  // Optional because rows analysed before analysis version 2 do not carry them.
7060
- format: z24.string().optional(),
7061
- tone: z24.string().optional(),
7062
- productClaims: z24.array(z24.string()).optional()
7063
- });
7064
- var videoDocSchema = z24.object({
7065
- _id: z24.string(),
7066
- _creationTime: z24.number(),
7067
- companyId: z24.string(),
7068
- muxAssetId: z24.string(),
7069
- muxPlaybackId: z24.string(),
7070
- muxUploadId: z24.string(),
7071
- name: z24.string(),
7072
- description: z24.string(),
7073
- tags: z24.array(z24.string()),
7074
- source: z24.string(),
7075
- externalId: z24.string().optional(),
7076
- externalUrl: z24.string().optional(),
7077
- sourceId: z24.string().optional(),
7078
- originalFilename: z24.string().optional(),
7079
- descriptionContext: z24.string().optional(),
7087
+ format: z25.string().optional(),
7088
+ tone: z25.string().optional(),
7089
+ productClaims: z25.array(z25.string()).optional()
7090
+ });
7091
+ var videoDocSchema = z25.object({
7092
+ _id: z25.string(),
7093
+ _creationTime: z25.number(),
7094
+ companyId: z25.string(),
7095
+ muxAssetId: z25.string(),
7096
+ muxPlaybackId: z25.string(),
7097
+ muxUploadId: z25.string(),
7098
+ name: z25.string(),
7099
+ description: z25.string(),
7100
+ tags: z25.array(z25.string()),
7101
+ source: z25.string(),
7102
+ externalId: z25.string().optional(),
7103
+ externalUrl: z25.string().optional(),
7104
+ sourceId: z25.string().optional(),
7105
+ originalFilename: z25.string().optional(),
7106
+ descriptionContext: z25.string().optional(),
7080
7107
  analysis: videoAnalysisSchema.optional(),
7081
- width: z24.number().optional(),
7082
- height: z24.number().optional(),
7083
- aspectRatio: z24.number().optional(),
7084
- duration: z24.number().optional(),
7085
- transcript: z24.string().optional(),
7086
- transcriptSegments: z24.array(videoTranscriptSegmentSchema).optional(),
7087
- scenes: z24.array(videoSceneSchema).optional(),
7088
- descriptionEmbedding: z24.array(z24.number()).optional(),
7089
- searchText: z24.string().optional(),
7108
+ width: z25.number().optional(),
7109
+ height: z25.number().optional(),
7110
+ aspectRatio: z25.number().optional(),
7111
+ duration: z25.number().optional(),
7112
+ transcript: z25.string().optional(),
7113
+ transcriptSegments: z25.array(videoTranscriptSegmentSchema).optional(),
7114
+ scenes: z25.array(videoSceneSchema).optional(),
7115
+ descriptionEmbedding: z25.array(z25.number()).optional(),
7116
+ searchText: z25.string().optional(),
7090
7117
  status: videoStatusSchema,
7091
- errorMessage: z24.string().optional(),
7092
- createdAt: z24.number(),
7093
- updatedAt: z24.number(),
7094
- thumbnailUrl: z24.string()
7118
+ errorMessage: z25.string().optional(),
7119
+ createdAt: z25.number(),
7120
+ updatedAt: z25.number(),
7121
+ thumbnailUrl: z25.string()
7095
7122
  }).extend(assetGroupFieldsSchema.shape);
7096
- var videosWebhookResponseSchema = z24.object({ ok: z24.literal(true) });
7097
- var videosGetRequestSchema = z24.object({ id: z24.string().min(1, "Missing id parameter") });
7123
+ var videosWebhookResponseSchema = z25.object({ ok: z25.literal(true) });
7124
+ var videosGetRequestSchema = z25.object({ id: z25.string().min(1, "Missing id parameter") });
7098
7125
  var videosGetResponseSchema = videoDocSchema.omit({ descriptionEmbedding: true, searchText: true });
7099
- var videosSearchRequestSchema = z24.object({
7100
- query: z24.string().min(1),
7101
- limit: z24.coerce.number().int().positive().max(100).optional(),
7102
- tags: z24.array(z24.string()).optional()
7103
- });
7104
- var videoSearchResultSchema = z24.object({
7105
- _id: z24.string(),
7106
- thumbnailUrl: z24.string(),
7107
- name: z24.string(),
7108
- description: z24.string(),
7109
- tags: z24.array(z24.string()),
7110
- status: z24.string(),
7111
- duration: z24.number().optional(),
7112
- muxPlaybackId: z24.string(),
7113
- createdAt: z24.number(),
7126
+ var videosSearchRequestSchema = z25.object({
7127
+ query: z25.string().min(1),
7128
+ limit: z25.coerce.number().int().positive().max(100).optional(),
7129
+ tags: z25.array(z25.string()).optional()
7130
+ });
7131
+ var videoSearchResultSchema = z25.object({
7132
+ _id: z25.string(),
7133
+ thumbnailUrl: z25.string(),
7134
+ name: z25.string(),
7135
+ description: z25.string(),
7136
+ tags: z25.array(z25.string()),
7137
+ status: z25.string(),
7138
+ duration: z25.number().optional(),
7139
+ muxPlaybackId: z25.string(),
7140
+ createdAt: z25.number(),
7114
7141
  // The agent picks a clip from this projection alone, so the facts that decide
7115
7142
  // a pick travel with it: how many beats, whether it is transcribed, and who
7116
7143
  // is in it.
7117
- sceneCount: z24.number(),
7118
- hasTranscript: z24.boolean(),
7144
+ sceneCount: z25.number(),
7145
+ hasTranscript: z25.boolean(),
7119
7146
  analysis: videoAnalysisSchema.optional(),
7120
7147
  // Relevance, on the same footing as `imageSearchResultSchema.score`: the reranker's
7121
7148
  // rerank score when the rerank ran, the RRF fusion score when it did not. A
7122
7149
  // clip hit used to arrive with no measure of how good it was.
7123
- score: z24.number(),
7150
+ score: z25.number(),
7124
7151
  /** The set this clip arrived in — a carousel mixes stills and clips. */
7125
7152
  group: assetGroupRefSchema.optional()
7126
7153
  });
7127
- var videosSearchResponseSchema = z24.array(videoSearchResultSchema);
7128
- var videosUploadRequestSchema = z24.object({
7129
- originalFilename: z24.string().optional(),
7130
- descriptionContext: z24.string().optional()
7154
+ var videosSearchResponseSchema = z25.array(videoSearchResultSchema);
7155
+ var videosUploadRequestSchema = z25.object({
7156
+ originalFilename: z25.string().optional(),
7157
+ descriptionContext: z25.string().optional()
7131
7158
  });
7132
- var videosUploadResponseSchema = z24.object({ uploadUrl: z24.string(), videoId: z24.string() });
7133
- var videosIngestRequestSchema = z24.object({
7159
+ var videosUploadResponseSchema = z25.object({ uploadUrl: z25.string(), videoId: z25.string() });
7160
+ var videosIngestRequestSchema = z25.object({
7134
7161
  // Must be a direct media file Mux can pull (mp4/mov/webm/…). A page URL —
7135
7162
  // a YouTube watch link, a TikTok post — is not one: the CLI resolves those to
7136
7163
  // a media file before calling this route.
7137
- url: z24.string().url(),
7164
+ url: z25.string().url(),
7138
7165
  source: videoSourceSchema,
7139
- externalId: z24.string().optional(),
7140
- externalUrl: z24.string().optional(),
7166
+ externalId: z25.string().optional(),
7167
+ externalUrl: z25.string().optional(),
7141
7168
  // What the person adding the clip knew that the frames cannot show — which
7142
7169
  // campaign it belongs to, whether the person on camera is a real customer.
7143
7170
  // The upload route has carried this since it existed; ingest silently dropped
7144
7171
  // it, so a link-added clip was analysed with strictly less to go on than the
7145
7172
  // same file uploaded by hand.
7146
- descriptionContext: z24.string().optional()
7173
+ descriptionContext: z25.string().optional()
7147
7174
  });
7148
- var videosIngestResponseSchema = z24.object({
7149
- videoId: z24.string(),
7150
- deduped: z24.boolean()
7175
+ var videosIngestResponseSchema = z25.object({
7176
+ videoId: z25.string(),
7177
+ deduped: z25.boolean()
7151
7178
  });
7152
- var videosDescribeRequestSchema = z24.object({
7153
- id: z24.string().min(1, "Missing video ID"),
7154
- name: z24.string().min(1).optional(),
7155
- description: z24.string().min(1).optional(),
7156
- tags: z24.array(z24.string()).optional(),
7179
+ var videosDescribeRequestSchema = z25.object({
7180
+ id: z25.string().min(1, "Missing video ID"),
7181
+ name: z25.string().min(1).optional(),
7182
+ description: z25.string().min(1).optional(),
7183
+ tags: z25.array(z25.string()).optional(),
7157
7184
  /** Return the whole library row alongside the three fields that changed. */
7158
- full: z24.boolean().optional()
7185
+ full: z25.boolean().optional()
7159
7186
  }).refine((body) => body.name !== void 0 || body.description !== void 0 || body.tags !== void 0, {
7160
7187
  message: "Pass at least one of name, description or tags"
7161
7188
  });
7162
- var videosDescribeResponseSchema = z24.object({
7163
- id: z24.string(),
7164
- name: z24.string(),
7165
- description: z24.string(),
7166
- tags: z24.array(z24.string()),
7189
+ var videosDescribeResponseSchema = z25.object({
7190
+ id: z25.string(),
7191
+ name: z25.string(),
7192
+ description: z25.string(),
7193
+ tags: z25.array(z25.string()),
7167
7194
  /** Present only when the request asked for it. */
7168
7195
  video: videosGetResponseSchema.optional()
7169
7196
  });
7170
- var videosDeleteRequestSchema = z24.object({ id: z24.string().min(1, "Missing video ID") });
7171
- var videosDeleteResponseSchema = z24.object({ ok: z24.literal(true) });
7172
- var videosDownloadRequestSchema = z24.object({ id: z24.string().min(1, "Missing video ID") });
7173
- var videosDownloadResponseSchema = z24.discriminatedUnion("status", [
7197
+ var videosDeleteRequestSchema = z25.object({ id: z25.string().min(1, "Missing video ID") });
7198
+ var videosDeleteResponseSchema = z25.object({ ok: z25.literal(true) });
7199
+ var videosDownloadRequestSchema = z25.object({ id: z25.string().min(1, "Missing video ID") });
7200
+ var videosDownloadResponseSchema = z25.discriminatedUnion("status", [
7174
7201
  /** `url` is a public MP4; `filename` is a safe file name for it, `.mp4` included. */
7175
- z24.object({ status: z24.literal("ready"), url: z24.string().url(), filename: z24.string().min(1) }),
7202
+ z25.object({ status: z25.literal("ready"), url: z25.string().url(), filename: z25.string().min(1) }),
7176
7203
  /** Mux is encoding the downloadable file. */
7177
- z24.object({ status: z24.literal("preparing") }),
7204
+ z25.object({ status: z25.literal("preparing") }),
7178
7205
  /** The upload itself has not finished arriving at Mux yet. */
7179
- z24.object({ status: z24.literal("processing") })
7206
+ z25.object({ status: z25.literal("processing") })
7180
7207
  ]);
7181
7208
 
7182
7209
  // ../api/src/brand.ts
7183
- import { z as z25 } from "zod";
7210
+ import { z as z26 } from "zod";
7184
7211
  var BRAND_TOKENS_VERSION = 1;
7185
7212
  var BRAND_COLOR_ROLES = ["background", "surface", "cta", "accent", "foreground", "other"];
7186
7213
  var BRAND_FONT_ROLES = ["heading", "body", "mono"];
7187
7214
  var BRAND_LOGO_VARIANTS = ["logo", "symbol", "icon"];
7188
- var hexColorSchema = z25.string().regex(/^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/, "expected #RRGGBB or #RRGGBBAA").transform((value) => value.toUpperCase());
7189
- var brandColorSchema = z25.strictObject({
7190
- name: z25.string().min(1),
7215
+ var hexColorSchema = z26.string().regex(/^#(?:[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/, "expected #RRGGBB or #RRGGBBAA").transform((value) => value.toUpperCase());
7216
+ var brandColorSchema = z26.strictObject({
7217
+ name: z26.string().min(1),
7191
7218
  value: hexColorSchema,
7192
- role: z25.enum(BRAND_COLOR_ROLES),
7193
- palette: z25.string().min(1).default("primary")
7194
- });
7195
- var brandFontSchema = z25.strictObject({
7196
- family: z25.string().min(1),
7197
- role: z25.enum(BRAND_FONT_ROLES),
7198
- weights: z25.array(z25.number().int().min(1).max(1e3)).min(1),
7199
- source: z25.enum(["local", "google"]),
7200
- files: z25.array(z25.string().startsWith("src/brand/fonts/")).optional()
7219
+ role: z26.enum(BRAND_COLOR_ROLES),
7220
+ palette: z26.string().min(1).default("primary")
7221
+ });
7222
+ var brandFontSchema = z26.strictObject({
7223
+ family: z26.string().min(1),
7224
+ role: z26.enum(BRAND_FONT_ROLES),
7225
+ weights: z26.array(z26.number().int().min(1).max(1e3)).min(1),
7226
+ source: z26.enum(["local", "google"]),
7227
+ files: z26.array(z26.string().startsWith("src/brand/fonts/")).optional()
7201
7228
  }).refine((font) => font.source !== "local" || (font.files?.length ?? 0) > 0, {
7202
7229
  message: "a local font must list its files under src/brand/fonts/",
7203
7230
  path: ["files"]
7204
7231
  });
7205
- var brandLogoSchema = z25.strictObject({
7206
- variant: z25.enum(BRAND_LOGO_VARIANTS),
7232
+ var brandLogoSchema = z26.strictObject({
7233
+ variant: z26.enum(BRAND_LOGO_VARIANTS),
7207
7234
  /** The background the mark is designed to sit on; null = works on any. */
7208
- background: z25.enum(["light", "dark"]).nullable().default(null),
7209
- path: z25.string().startsWith("src/brand/logos/")
7210
- });
7211
- var brandTokensSchema = z25.strictObject({
7212
- version: z25.literal(BRAND_TOKENS_VERSION),
7213
- colors: z25.array(brandColorSchema).default([]),
7214
- fonts: z25.array(brandFontSchema).default([]),
7215
- logos: z25.array(brandLogoSchema).default([]),
7216
- radius: z25.record(z25.string().min(1), z25.string().min(1)).optional()
7217
- });
7218
- var putBrandRequestSchema = z25.object({
7219
- content: z25.string(),
7235
+ background: z26.enum(["light", "dark"]).nullable().default(null),
7236
+ path: z26.string().startsWith("src/brand/logos/")
7237
+ });
7238
+ var brandTokensSchema = z26.strictObject({
7239
+ version: z26.literal(BRAND_TOKENS_VERSION),
7240
+ colors: z26.array(brandColorSchema).default([]),
7241
+ fonts: z26.array(brandFontSchema).default([]),
7242
+ logos: z26.array(brandLogoSchema).default([]),
7243
+ radius: z26.record(z26.string().min(1), z26.string().min(1)).optional()
7244
+ });
7245
+ var putBrandRequestSchema = z26.object({
7246
+ content: z26.string(),
7220
7247
  tokens: brandTokensSchema.optional(),
7221
- chatId: z25.string().optional()
7248
+ chatId: z26.string().optional()
7222
7249
  });
7223
7250
 
7224
7251
  // ../api/src/creativesRun.ts
7225
- import { z as z26 } from "zod";
7226
- var creativesRunRequestSchema = z26.union([
7252
+ import { z as z27 } from "zod";
7253
+ var creativesRunRequestSchema = z27.union([
7227
7254
  /** A canvas run id (r_…). */
7228
- z26.object({ runId: z26.string().min(1).max(64) }),
7255
+ z27.object({ runId: z27.string().min(1).max(64) }),
7229
7256
  /** The creative (src/creatives/<slug>/): the version it shows, chosen or else newest. */
7230
- z26.object({ slug: z26.string().min(1).max(200) })
7257
+ z27.object({ slug: z27.string().min(1).max(200) })
7231
7258
  ]);
7232
- var runOutputSchema = z26.object({
7233
- slot: z26.string(),
7234
- label: z26.string().optional(),
7235
- kind: z26.string(),
7236
- sha256: z26.string(),
7237
- url: z26.string().optional(),
7238
- mime: z26.string(),
7239
- width: z26.number().optional(),
7240
- height: z26.number().optional(),
7241
- durationMs: z26.number().optional()
7242
- });
7243
- var creativesRunDataSchema = z26.object({
7244
- runId: z26.string(),
7245
- creativeSlug: z26.string().optional(),
7259
+ var runOutputSchema = z27.object({
7260
+ slot: z27.string(),
7261
+ label: z27.string().optional(),
7262
+ kind: z27.string(),
7263
+ sha256: z27.string(),
7264
+ url: z27.string().optional(),
7265
+ mime: z27.string(),
7266
+ width: z27.number().optional(),
7267
+ height: z27.number().optional(),
7268
+ durationMs: z27.number().optional()
7269
+ });
7270
+ var creativesRunDataSchema = z27.object({
7271
+ runId: z27.string(),
7272
+ creativeSlug: z27.string().optional(),
7246
7273
  /** running | completed | failed | awaiting_approval (stopped at a checkpoint). */
7247
- status: z26.string(),
7248
- interrupted: z26.boolean().optional(),
7249
- errorMessage: z26.string().optional(),
7250
- sourceSha: z26.string().optional(),
7251
- createdAt: z26.number(),
7252
- updatedAt: z26.number().optional(),
7253
- stats: z26.object({
7254
- totalNodes: z26.number(),
7255
- cachedNodes: z26.number(),
7256
- totalCredits: z26.number(),
7257
- durationMs: z26.number()
7274
+ status: z27.string(),
7275
+ interrupted: z27.boolean().optional(),
7276
+ errorMessage: z27.string().optional(),
7277
+ sourceSha: z27.string().optional(),
7278
+ createdAt: z27.number(),
7279
+ updatedAt: z27.number().optional(),
7280
+ stats: z27.object({
7281
+ totalNodes: z27.number(),
7282
+ cachedNodes: z27.number(),
7283
+ totalCredits: z27.number(),
7284
+ durationMs: z27.number()
7258
7285
  }),
7259
- finalOutputs: z26.array(runOutputSchema),
7260
- nodes: z26.array(
7261
- z26.object({
7262
- nodeId: z26.string(),
7263
- nodeType: z26.string(),
7264
- cached: z26.boolean(),
7265
- credits: z26.number(),
7266
- durationMs: z26.number(),
7267
- status: z26.string().optional(),
7268
- outputs: z26.array(runOutputSchema)
7286
+ finalOutputs: z27.array(runOutputSchema),
7287
+ nodes: z27.array(
7288
+ z27.object({
7289
+ nodeId: z27.string(),
7290
+ nodeType: z27.string(),
7291
+ cached: z27.boolean(),
7292
+ credits: z27.number(),
7293
+ durationMs: z27.number(),
7294
+ status: z27.string().optional(),
7295
+ outputs: z27.array(runOutputSchema)
7269
7296
  })
7270
7297
  ),
7271
- review: z26.array(z26.object({ severity: z26.string(), what: z26.string(), scene: z26.string().optional() })).optional(),
7298
+ review: z27.array(z27.object({ severity: z27.string(), what: z27.string(), scene: z27.string().optional() })).optional(),
7272
7299
  /** Where the graph this run executed is kept (every node's declaration): what a correction grows on. */
7273
- graphUrl: z26.string().optional(),
7300
+ graphUrl: z27.string().optional(),
7274
7301
  /** The files the run drew (its canvas, prompt.json, …) as a snapshot manifest. */
7275
- canvasSnapshotUrl: z26.string().optional()
7302
+ canvasSnapshotUrl: z27.string().optional()
7276
7303
  });
7277
- var creativesRunResponseSchema = z26.object({
7278
- ok: z26.literal(true),
7304
+ var creativesRunResponseSchema = z27.object({
7305
+ ok: z27.literal(true),
7279
7306
  data: creativesRunDataSchema
7280
7307
  });
7281
7308
 
7282
7309
  // ../api/src/scheduledAgents.ts
7283
- import { z as z27 } from "zod";
7284
- var scheduledAgentRunsAsSchema = z27.object({
7310
+ import { z as z28 } from "zod";
7311
+ var scheduledAgentRunsAsSchema = z28.object({
7285
7312
  /** The person each run acts as; null when nobody owns it, so only the company's tools load. */
7286
- name: z27.string().nullable(),
7313
+ name: z28.string().nullable(),
7287
7314
  /** That person's own connected tools. */
7288
- personalTools: z27.array(z27.string()),
7315
+ personalTools: z28.array(z28.string()),
7289
7316
  /** The company's and organization's tools, and the platforms Baker connects to directly. */
7290
- companyTools: z27.array(z27.string()),
7317
+ companyTools: z28.array(z28.string()),
7291
7318
  /** Set up, but nobody has signed in to them, so a run gets nothing from them. */
7292
- notSignedIn: z27.array(z27.string()).optional()
7319
+ notSignedIn: z28.array(z28.string()).optional()
7293
7320
  });
7294
7321
  var AUTO_PUBLISH_REFUSAL = 'Publishing every run unreviewed is a standing authorization only the user can grant, on the item itself, so it is recorded against their name. Stage the item without it, and once this chat is published ask the user to switch on "Publish its work on its own" (under "When a run finishes") on the item in Scheduled agents.';
7295
- var scheduledAgentsUnstageRequestSchema = z27.object({
7296
- chatId: z27.string().min(1),
7322
+ var scheduledAgentsUnstageRequestSchema = z28.object({
7323
+ chatId: z28.string().min(1),
7297
7324
  /** The item: a published id or a temp_agent_* id this chat staged. */
7298
- ref: z27.string().min(1),
7325
+ ref: z28.string().min(1),
7299
7326
  /** One change of it, by its `index` in `list`'s draft. Left out, every change staged on it. */
7300
- index: z27.number().int().min(0).optional()
7327
+ index: z28.number().int().min(0).optional()
7301
7328
  });
7302
- var scheduledAgentsUnstageResponseSchema = z27.object({
7303
- ok: z27.literal(true),
7304
- data: z27.object({ ref: z27.string(), removed: z27.number().int().min(1) })
7329
+ var scheduledAgentsUnstageResponseSchema = z28.object({
7330
+ ok: z28.literal(true),
7331
+ data: z28.object({ ref: z28.string(), removed: z28.number().int().min(1) })
7305
7332
  });
7306
- var scheduledAgentsListRequestSchema = z27.object({
7333
+ var scheduledAgentsListRequestSchema = z28.object({
7307
7334
  /** Also return what this chat staged. */
7308
- chatId: z27.string().min(1).optional(),
7335
+ chatId: z28.string().min(1).optional(),
7309
7336
  /** Every item and staged change as stored, briefs included. Left out, the compact view below. */
7310
- full: z27.boolean().optional()
7337
+ full: z28.boolean().optional()
7311
7338
  });
7312
- var scheduledAgentListItemSchema = z27.object({
7313
- id: z27.string(),
7314
- name: z27.string(),
7315
- description: z27.string(),
7316
- enabled: z27.boolean(),
7339
+ var scheduledAgentListItemSchema = z28.object({
7340
+ id: z28.string(),
7341
+ name: z28.string(),
7342
+ description: z28.string(),
7343
+ enabled: z28.boolean(),
7317
7344
  trigger: scheduledAgentTriggerSchema,
7318
7345
  occurrences: occurrencesSchema.optional(),
7319
7346
  conditions: conditionsSchema.optional(),
7320
- cooldownMinutes: z27.number().optional(),
7347
+ cooldownMinutes: z28.number().optional(),
7321
7348
  /** The condition in plain words the AI check judges what arrived against. */
7322
- aiCondition: z27.string().optional(),
7349
+ aiCondition: z28.string().optional(),
7323
7350
  /** ISO. Only a one-off knows its next moment. */
7324
- nextRunAt: z27.string().optional(),
7351
+ nextRunAt: z28.string().optional(),
7325
7352
  /** ISO. */
7326
- lastRunAt: z27.string().optional(),
7327
- firedCount: z27.number(),
7328
- totalRuns: z27.number(),
7329
- publishesOwnWork: z27.literal(true).optional(),
7353
+ lastRunAt: z28.string().optional(),
7354
+ firedCount: z28.number(),
7355
+ totalRuns: z28.number(),
7356
+ publishesOwnWork: z28.literal(true).optional(),
7330
7357
  /** Whether the connected tool is reporting to an `app.event` item. */
7331
- listening: z27.object({ status: z27.string(), reason: z27.string().optional() }).optional()
7358
+ listening: z28.object({ status: z28.string(), reason: z28.string().optional() }).optional()
7332
7359
  });
7333
- var scheduledAgentStagedChangeSchema = z27.object({
7334
- index: z27.number().int().min(0),
7335
- kind: z27.enum(["create", "update", "delete"]),
7360
+ var scheduledAgentStagedChangeSchema = z28.object({
7361
+ index: z28.number().int().min(0),
7362
+ kind: z28.enum(["create", "update", "delete"]),
7336
7363
  /** The published id, or the temp_agent_* id a create returned. */
7337
- ref: z27.string(),
7338
- name: z27.string(),
7339
- description: z27.string().optional(),
7364
+ ref: z28.string(),
7365
+ name: z28.string(),
7366
+ description: z28.string().optional(),
7340
7367
  trigger: scheduledAgentTriggerSchema.optional(),
7341
- enabled: z27.boolean().optional(),
7368
+ enabled: z28.boolean().optional(),
7342
7369
  /** For an update: the fields it changes. */
7343
- changes: z27.array(z27.string()).optional(),
7344
- result: z27.object({
7345
- status: z27.enum(["applied", "skipped", "failed"]),
7346
- reason: z27.string().optional(),
7347
- scheduledAgentId: z27.string().optional()
7370
+ changes: z28.array(z28.string()).optional(),
7371
+ result: z28.object({
7372
+ status: z28.enum(["applied", "skipped", "failed"]),
7373
+ reason: z28.string().optional(),
7374
+ scheduledAgentId: z28.string().optional()
7348
7375
  }).optional()
7349
7376
  });
7350
- var scheduledAgentsListResponseSchema = z27.object({
7351
- ok: z27.literal(true),
7352
- data: z27.object({
7353
- published: z27.array(scheduledAgentListItemSchema),
7354
- draft: z27.object({
7355
- status: z27.enum(["active", "publishing", "discarded", "applied"]).nullable(),
7356
- ops: z27.array(scheduledAgentStagedChangeSchema)
7377
+ var scheduledAgentsListResponseSchema = z28.object({
7378
+ ok: z28.literal(true),
7379
+ data: z28.object({
7380
+ published: z28.array(scheduledAgentListItemSchema),
7381
+ draft: z28.object({
7382
+ status: z28.enum(["active", "publishing", "discarded", "applied"]).nullable(),
7383
+ ops: z28.array(scheduledAgentStagedChangeSchema)
7357
7384
  }).nullable()
7358
7385
  }),
7359
- hints: z27.array(z27.string()).optional()
7386
+ hints: z28.array(z28.string()).optional()
7360
7387
  });
7361
7388
  var SCHEDULED_AGENT_HISTORY_OUTCOMES = [
7362
7389
  "ran",
@@ -7369,58 +7396,58 @@ var SCHEDULED_AGENT_HISTORY_OUTCOMES = [
7369
7396
  "paused",
7370
7397
  "closed"
7371
7398
  ];
7372
- var scheduledAgentHistoryRequestSchema = z27.object({
7399
+ var scheduledAgentHistoryRequestSchema = z28.object({
7373
7400
  /** A published Scheduled agent id. */
7374
- id: z27.string().min(1),
7401
+ id: z28.string().min(1),
7375
7402
  /** How many lines on this page, newest first. Default 50, at most 200. */
7376
- limit: z27.number().int().min(1).max(200).optional(),
7403
+ limit: z28.number().int().min(1).max(200).optional(),
7377
7404
  /** The `nextCursor` of the previous page. Left out, the newest page. */
7378
- cursor: z27.string().min(1).optional(),
7405
+ cursor: z28.string().min(1).optional(),
7379
7406
  /** Only the firings that opened a run, or only the ones that did not. */
7380
- only: z27.enum(["ran", "skipped"]).optional(),
7407
+ only: z28.enum(["ran", "skipped"]).optional(),
7381
7408
  /** Include what arrived with each firing (masked). Left out, the compact view. */
7382
- full: z27.boolean().optional()
7409
+ full: z28.boolean().optional()
7383
7410
  });
7384
- var scheduledAgentHistoryLineSchema = z27.object({
7411
+ var scheduledAgentHistoryLineSchema = z28.object({
7385
7412
  /** ISO. */
7386
- at: z27.string(),
7387
- outcome: z27.enum(SCHEDULED_AGENT_HISTORY_OUTCOMES),
7413
+ at: z28.string(),
7414
+ outcome: z28.enum(SCHEDULED_AGENT_HISTORY_OUTCOMES),
7388
7415
  /** The outcome in words. */
7389
- reason: z27.string(),
7390
- via: z27.enum(["trigger", "manual"]),
7391
- firing: z27.number().optional(),
7416
+ reason: z28.string(),
7417
+ via: z28.enum(["trigger", "manual"]),
7418
+ firing: z28.number().optional(),
7392
7419
  /** The run it opened, and where that run is now. */
7393
- chatId: z27.string().optional(),
7394
- runStatus: z27.string().optional(),
7420
+ chatId: z28.string().optional(),
7421
+ runStatus: z28.string().optional(),
7395
7422
  /** The AI check's score for what arrived, 0–1; `unavailable` when the model did not answer and the item ran anyway. */
7396
- aiCheck: z27.union([z27.number(), z27.literal("unavailable")]).optional(),
7397
- alsoMatched: z27.number().optional(),
7398
- fromCompany: z27.string().optional(),
7423
+ aiCheck: z28.union([z28.number(), z28.literal("unavailable")]).optional(),
7424
+ alsoMatched: z28.number().optional(),
7425
+ fromCompany: z28.string().optional(),
7399
7426
  /** For `rules`: each rule that did not hold, and what arrived in its place (or where its field came instead). */
7400
- failedRules: z27.array(z27.object({ rule: z27.string(), finding: z27.string() })).optional(),
7427
+ failedRules: z28.array(z28.object({ rule: z28.string(), finding: z28.string() })).optional(),
7401
7428
  /** What arrived, masked. Only with `full`. */
7402
- arrival: z27.string().optional()
7429
+ arrival: z28.string().optional()
7403
7430
  });
7404
- var scheduledAgentHistoryResponseSchema = z27.object({
7405
- ok: z27.literal(true),
7406
- data: z27.object({
7407
- id: z27.string(),
7408
- name: z27.string(),
7409
- lines: z27.array(scheduledAgentHistoryLineSchema),
7431
+ var scheduledAgentHistoryResponseSchema = z28.object({
7432
+ ok: z28.literal(true),
7433
+ data: z28.object({
7434
+ id: z28.string(),
7435
+ name: z28.string(),
7436
+ lines: z28.array(scheduledAgentHistoryLineSchema),
7410
7437
  /** Pass as `--cursor` for the next, older page; null when this was the last. */
7411
- nextCursor: z27.string().nullable()
7438
+ nextCursor: z28.string().nullable()
7412
7439
  }),
7413
- hints: z27.array(z27.string()).optional()
7440
+ hints: z28.array(z28.string()).optional()
7414
7441
  });
7415
7442
 
7416
7443
  // ../api/src/setupLinks.ts
7417
- import { z as z28 } from "zod";
7418
- var namesSchema = z28.array(z28.string().trim().min(1)).max(50);
7419
- var setupLinkMcpSlotSchema = z28.object({
7420
- name: z28.string().trim().min(1),
7421
- url: z28.string().url().optional()
7444
+ import { z as z29 } from "zod";
7445
+ var namesSchema = z29.array(z29.string().trim().min(1)).max(50);
7446
+ var setupLinkMcpSlotSchema = z29.object({
7447
+ name: z29.string().trim().min(1),
7448
+ url: z29.string().url().optional()
7422
7449
  });
7423
- var setupLinkAsksSchema = z28.object({
7450
+ var setupLinkAsksSchema = z29.object({
7424
7451
  /** Tracking tags to add: `meta`, `googleAds`, `googleAnalytics`, … */
7425
7452
  tags: namesSchema.optional(),
7426
7453
  /** Accounts to connect by signing in: `google-ads`, `meta`, `google-analytics`, … */
@@ -7429,121 +7456,121 @@ var setupLinkAsksSchema = z28.object({
7429
7456
  keys: namesSchema.optional(),
7430
7457
  /** Apps from the app catalog, by slug. */
7431
7458
  apps: namesSchema.optional(),
7432
- mcp: z28.array(setupLinkMcpSlotSchema).max(20).optional(),
7459
+ mcp: z29.array(setupLinkMcpSlotSchema).max(20).optional(),
7433
7460
  /** Hostnames of the company's own domains whose DNS the recipient sets. */
7434
7461
  domains: namesSchema.optional()
7435
7462
  });
7436
- var setupLinksCreateResponseSchema = z28.object({
7437
- ok: z28.literal(true),
7438
- data: z28.object({
7439
- id: z28.string(),
7440
- url: z28.string(),
7441
- expiresAt: z28.string(),
7442
- title: z28.string()
7463
+ var setupLinksCreateResponseSchema = z29.object({
7464
+ ok: z29.literal(true),
7465
+ data: z29.object({
7466
+ id: z29.string(),
7467
+ url: z29.string(),
7468
+ expiresAt: z29.string(),
7469
+ title: z29.string()
7443
7470
  })
7444
7471
  });
7445
- var setupLinksListRequestSchema = z28.object({});
7446
- var setupLinkListItemSchema = z28.object({
7447
- id: z28.string(),
7472
+ var setupLinksListRequestSchema = z29.object({});
7473
+ var setupLinkListItemSchema = z29.object({
7474
+ id: z29.string(),
7448
7475
  /** Absent for a read-only caller: the link is its own credential. */
7449
- url: z28.string().optional(),
7476
+ url: z29.string().optional(),
7450
7477
  /** The company's own link, which follows its setup plan instead of asking for a fixed list. */
7451
- followsPlan: z28.boolean(),
7478
+ followsPlan: z29.boolean(),
7452
7479
  asks: setupLinkAsksSchema,
7453
- progress: z28.object({ completed: z28.number(), total: z28.number() }),
7454
- expiresAt: z28.string()
7480
+ progress: z29.object({ completed: z29.number(), total: z29.number() }),
7481
+ expiresAt: z29.string()
7455
7482
  });
7456
- var setupLinksListResponseSchema = z28.object({
7457
- ok: z28.literal(true),
7458
- data: z28.object({ links: z28.array(setupLinkListItemSchema) })
7483
+ var setupLinksListResponseSchema = z29.object({
7484
+ ok: z29.literal(true),
7485
+ data: z29.object({ links: z29.array(setupLinkListItemSchema) })
7459
7486
  });
7460
7487
 
7461
7488
  // ../api/src/site.ts
7462
- import { z as z29 } from "zod";
7489
+ import { z as z30 } from "zod";
7463
7490
  var SITE_CONSENT_MODES = ["bypass", "recovery", "strict", "external"];
7464
7491
  var SITE_COLLECTION_MODES = ["full", "aggregate", "off"];
7465
7492
  var SITE_HOME_MODES = ["rewrite", "redirect"];
7466
- var homePageOverrideSchema = z29.object({ mode: z29.enum(SITE_HOME_MODES), slug: z29.string().min(1) }).nullable();
7467
- var siteStageInputSchema = z29.discriminatedUnion("setting", [
7468
- z29.object({ setting: z29.literal("consent"), mode: z29.enum(SITE_CONSENT_MODES) }),
7469
- z29.object({
7470
- setting: z29.literal("analyticsCollection"),
7471
- mode: z29.enum(SITE_COLLECTION_MODES),
7472
- payloads: z29.boolean().optional()
7493
+ var homePageOverrideSchema = z30.object({ mode: z30.enum(SITE_HOME_MODES), slug: z30.string().min(1) }).nullable();
7494
+ var siteStageInputSchema = z30.discriminatedUnion("setting", [
7495
+ z30.object({ setting: z30.literal("consent"), mode: z30.enum(SITE_CONSENT_MODES) }),
7496
+ z30.object({
7497
+ setting: z30.literal("analyticsCollection"),
7498
+ mode: z30.enum(SITE_COLLECTION_MODES),
7499
+ payloads: z30.boolean().optional()
7473
7500
  }),
7474
- z29.object({ setting: z29.literal("indexing"), enabled: z29.boolean() }),
7475
- z29.object({ setting: z29.literal("homePage"), override: homePageOverrideSchema }),
7476
- z29.object({ setting: z29.literal("timezone"), timezone: z29.string().min(1) }),
7477
- z29.object({ setting: z29.literal("exportProfile"), profile: z29.record(z29.string(), z29.unknown()) }),
7478
- z29.object({ setting: z29.literal("customDomain"), hostname: z29.string().min(1) })
7501
+ z30.object({ setting: z30.literal("indexing"), enabled: z30.boolean() }),
7502
+ z30.object({ setting: z30.literal("homePage"), override: homePageOverrideSchema }),
7503
+ z30.object({ setting: z30.literal("timezone"), timezone: z30.string().min(1) }),
7504
+ z30.object({ setting: z30.literal("exportProfile"), profile: z30.record(z30.string(), z30.unknown()) }),
7505
+ z30.object({ setting: z30.literal("customDomain"), hostname: z30.string().min(1) })
7479
7506
  ]);
7480
- var siteStagedSettingSchema = z29.object({
7507
+ var siteStagedSettingSchema = z30.object({
7481
7508
  /** What `baker site unstage` takes: the setting, or `customDomain:<hostname>`. */
7482
- key: z29.string(),
7483
- setting: z29.string(),
7484
- label: z29.string(),
7485
- before: z29.string(),
7486
- after: z29.string(),
7487
- stagedAt: z29.number(),
7488
- result: z29.object({ status: z29.enum(["applied", "skipped"]), reason: z29.string().optional() }).optional()
7489
- });
7490
- var siteStageRequestSchema = z29.object({
7491
- chatId: z29.string().min(1),
7492
- inputs: z29.array(siteStageInputSchema).min(1)
7493
- });
7494
- var siteStageResponseSchema = z29.object({
7495
- ok: z29.literal(true),
7496
- data: z29.object({ staged: z29.array(siteStagedSettingSchema) }),
7497
- hints: z29.array(z29.string()).optional()
7509
+ key: z30.string(),
7510
+ setting: z30.string(),
7511
+ label: z30.string(),
7512
+ before: z30.string(),
7513
+ after: z30.string(),
7514
+ stagedAt: z30.number(),
7515
+ result: z30.object({ status: z30.enum(["applied", "skipped"]), reason: z30.string().optional() }).optional()
7516
+ });
7517
+ var siteStageRequestSchema = z30.object({
7518
+ chatId: z30.string().min(1),
7519
+ inputs: z30.array(siteStageInputSchema).min(1)
7498
7520
  });
7499
- var siteSettingsSchema = z29.object({
7521
+ var siteStageResponseSchema = z30.object({
7522
+ ok: z30.literal(true),
7523
+ data: z30.object({ staged: z30.array(siteStagedSettingSchema) }),
7524
+ hints: z30.array(z30.string()).optional()
7525
+ });
7526
+ var siteSettingsSchema = z30.object({
7500
7527
  /** Null when the company never chose; publishing then uses the default. */
7501
- consent: z29.enum(SITE_CONSENT_MODES).nullable(),
7502
- analyticsCollection: z29.object({ mode: z29.enum(SITE_COLLECTION_MODES), payloads: z29.boolean().optional() }),
7503
- indexing: z29.boolean(),
7528
+ consent: z30.enum(SITE_CONSENT_MODES).nullable(),
7529
+ analyticsCollection: z30.object({ mode: z30.enum(SITE_COLLECTION_MODES), payloads: z30.boolean().optional() }),
7530
+ indexing: z30.boolean(),
7504
7531
  homePage: homePageOverrideSchema,
7505
- timezone: z29.string(),
7532
+ timezone: z30.string(),
7506
7533
  /** Null when the company downloads with the default format. */
7507
- exportProfile: z29.unknown(),
7508
- domains: z29.array(z29.string())
7534
+ exportProfile: z30.unknown(),
7535
+ domains: z30.array(z30.string())
7509
7536
  });
7510
- var siteDomainSchema = z29.object({
7511
- hostname: z29.string(),
7537
+ var siteDomainSchema = z30.object({
7538
+ hostname: z30.string(),
7512
7539
  /** `staged` until this chat publishes; then pending_verification, active, error or removing. */
7513
- status: z29.string(),
7540
+ status: z30.string(),
7514
7541
  /** What is still missing, in the client's words — usually the DNS record. */
7515
- message: z29.string().optional()
7542
+ message: z30.string().optional()
7516
7543
  });
7517
- var siteShowResponseSchema = z29.object({
7518
- ok: z29.literal(true),
7519
- data: z29.object({
7544
+ var siteShowResponseSchema = z30.object({
7545
+ ok: z30.literal(true),
7546
+ data: z30.object({
7520
7547
  /** The live values with this chat's staged ones on top — what the site will be after Publish. */
7521
7548
  settings: siteSettingsSchema,
7522
- staged: z29.array(siteStagedSettingSchema),
7523
- domains: z29.array(siteDomainSchema)
7549
+ staged: z30.array(siteStagedSettingSchema),
7550
+ domains: z30.array(siteDomainSchema)
7524
7551
  }),
7525
- hints: z29.array(z29.string()).optional()
7552
+ hints: z30.array(z30.string()).optional()
7526
7553
  });
7527
- var siteDomainsResponseSchema = z29.object({
7528
- ok: z29.literal(true),
7529
- data: z29.object({ cnameTarget: z29.string(), domains: z29.array(siteDomainSchema) })
7554
+ var siteDomainsResponseSchema = z30.object({
7555
+ ok: z30.literal(true),
7556
+ data: z30.object({ cnameTarget: z30.string(), domains: z30.array(siteDomainSchema) })
7530
7557
  });
7531
- var siteDomainVerifyRequestSchema = z29.object({ hostname: z29.string().min(1) });
7532
- var siteDomainVerifyResponseSchema = z29.object({
7533
- ok: z29.literal(true),
7534
- data: z29.object({ hostname: z29.string(), state: z29.string(), message: z29.string() })
7558
+ var siteDomainVerifyRequestSchema = z30.object({ hostname: z30.string().min(1) });
7559
+ var siteDomainVerifyResponseSchema = z30.object({
7560
+ ok: z30.literal(true),
7561
+ data: z30.object({ hostname: z30.string(), state: z30.string(), message: z30.string() })
7535
7562
  });
7536
- var siteUnstageRequestSchema = z29.object({
7537
- chatId: z29.string().min(1),
7563
+ var siteUnstageRequestSchema = z30.object({
7564
+ chatId: z30.string().min(1),
7538
7565
  /** One staged setting by its key; leave out with `all` to take back every one. */
7539
- key: z29.string().min(1).optional(),
7540
- all: z29.boolean().optional()
7566
+ key: z30.string().min(1).optional(),
7567
+ all: z30.boolean().optional()
7541
7568
  }).refine((body) => body.key === void 0 !== (body.all !== true), {
7542
7569
  message: "Pass either a setting key or all: true, not both"
7543
7570
  });
7544
- var siteUnstageResponseSchema = z29.object({
7545
- ok: z29.literal(true),
7546
- data: z29.object({ removed: z29.number().int().min(0) })
7571
+ var siteUnstageResponseSchema = z30.object({
7572
+ ok: z30.literal(true),
7573
+ data: z30.object({ removed: z30.number().int().min(0) })
7547
7574
  });
7548
7575
 
7549
7576
  // ../api/src/sourceFingerprint.ts
@@ -7557,7 +7584,7 @@ function isSourceStale(current, rendered) {
7557
7584
  }
7558
7585
 
7559
7586
  // ../api/src/tags.ts
7560
- import { z as z30 } from "zod";
7587
+ import { z as z31 } from "zod";
7561
7588
  var TAG_TYPES = [
7562
7589
  "meta",
7563
7590
  "chatgptAds",
@@ -7580,7 +7607,7 @@ var TAG_TYPES = [
7580
7607
  "twitterAds",
7581
7608
  "activecampaign"
7582
7609
  ];
7583
- var tagTypeSchema = z30.enum(TAG_TYPES);
7610
+ var tagTypeSchema = z31.enum(TAG_TYPES);
7584
7611
  var TAG_IDENTIFYING_FIELD = {
7585
7612
  meta: "pixelId",
7586
7613
  chatgptAds: "pixelId",
@@ -7603,94 +7630,94 @@ var TAG_IDENTIFYING_FIELD = {
7603
7630
  twitterAds: "pixelId",
7604
7631
  activecampaign: "trackingAccountId"
7605
7632
  };
7606
- var tagDraftOpKindSchema = z30.enum(["create", "update", "delete"]);
7607
- var tagDraftOpViewSchema = z30.object({
7633
+ var tagDraftOpKindSchema = z31.enum(["create", "update", "delete"]);
7634
+ var tagDraftOpViewSchema = z31.object({
7608
7635
  /** `tag_temp_*` for staged creates; the real tag id for update/delete ops. */
7609
- ref: z30.string(),
7636
+ ref: z31.string(),
7610
7637
  kind: tagDraftOpKindSchema,
7611
7638
  type: tagTypeSchema,
7612
7639
  /** Present on update/delete ops — the real tag this op targets. */
7613
- tagId: z30.string().optional(),
7640
+ tagId: z31.string().optional(),
7614
7641
  /** Non-secret config (create: full; update: the staged patch). Secrets are structurally absent. */
7615
- config: z30.record(z30.string(), z30.string()),
7642
+ config: z31.record(z31.string(), z31.string()),
7616
7643
  /** Update only — fields the op explicitly clears. */
7617
- clearFields: z30.array(z30.string()).optional(),
7644
+ clearFields: z31.array(z31.string()).optional(),
7618
7645
  /** Names of secret fields already provided via the dashboard secure form. Never values. */
7619
- secretsSet: z30.array(z30.string()),
7646
+ secretsSet: z31.array(z31.string()),
7620
7647
  /** Names of secret fields still awaiting user input. */
7621
- secretsPending: z30.array(z30.string()),
7622
- summary: z30.string(),
7623
- stagedAt: z30.number()
7648
+ secretsPending: z31.array(z31.string()),
7649
+ summary: z31.string(),
7650
+ stagedAt: z31.number()
7624
7651
  });
7625
- var tagsEffectiveEntrySchema = z30.object({
7652
+ var tagsEffectiveEntrySchema = z31.object({
7626
7653
  /** Real tag id, or `tag_temp_*` for staged creates. Use as flow side-effect `tagIds` value. */
7627
- ref: z30.string(),
7628
- tagId: z30.string().optional(),
7654
+ ref: z31.string(),
7655
+ tagId: z31.string().optional(),
7629
7656
  type: tagTypeSchema,
7630
7657
  /** Value of the type's identifying field, when set. */
7631
- identifier: z30.string().optional(),
7658
+ identifier: z31.string().optional(),
7632
7659
  /** Redacted config; for staged updates, production config with the patch merged. */
7633
- config: z30.record(z30.string(), z30.string()),
7660
+ config: z31.record(z31.string(), z31.string()),
7634
7661
  /** Absent = live production tag with no staged changes in this chat. */
7635
7662
  staged: tagDraftOpKindSchema.optional(),
7636
- secretsSet: z30.array(z30.string()),
7637
- secretsPending: z30.array(z30.string())
7638
- });
7639
- var tagsListRequestSchema = z30.object({ chatId: z30.string() });
7640
- var tagsListResponseSchema = z30.object({ tags: z30.array(tagsEffectiveEntrySchema) });
7641
- var tagsDraftListRequestSchema = z30.object({ chatId: z30.string() });
7642
- var tagsDraftListResponseSchema = z30.object({
7643
- status: z30.enum(["active", "publishing", "applied", "discarded", "none"]),
7644
- ops: z30.array(tagDraftOpViewSchema)
7645
- });
7646
- var tagsUnstageRequestSchema = z30.object({
7647
- chatId: z30.string().min(1),
7663
+ secretsSet: z31.array(z31.string()),
7664
+ secretsPending: z31.array(z31.string())
7665
+ });
7666
+ var tagsListRequestSchema = z31.object({ chatId: z31.string() });
7667
+ var tagsListResponseSchema = z31.object({ tags: z31.array(tagsEffectiveEntrySchema) });
7668
+ var tagsDraftListRequestSchema = z31.object({ chatId: z31.string() });
7669
+ var tagsDraftListResponseSchema = z31.object({
7670
+ status: z31.enum(["active", "publishing", "applied", "discarded", "none"]),
7671
+ ops: z31.array(tagDraftOpViewSchema)
7672
+ });
7673
+ var tagsUnstageRequestSchema = z31.object({
7674
+ chatId: z31.string().min(1),
7648
7675
  /** A staged change's ref, as `baker tags draft` prints it — a tag id or tag_temp_*. */
7649
- ref: z30.string().min(1).optional(),
7650
- all: z30.boolean().optional()
7676
+ ref: z31.string().min(1).optional(),
7677
+ all: z31.boolean().optional()
7651
7678
  }).refine((body) => body.ref === void 0 === (body.all === true), {
7652
7679
  message: "Pass the ref of one staged tag change, or --all to take back every staged tag change."
7653
7680
  });
7654
- var tagsUnstageResponseSchema = z30.object({
7655
- ok: z30.literal(true),
7656
- data: z30.object({ removed: z30.number().int().min(0) })
7681
+ var tagsUnstageResponseSchema = z31.object({
7682
+ ok: z31.literal(true),
7683
+ data: z31.object({ removed: z31.number().int().min(0) })
7657
7684
  });
7658
- var tagInputRequestSchema = z30.object({
7685
+ var tagInputRequestSchema = z31.object({
7659
7686
  // Every tag change is a tab in the approval form: create/edit show the full
7660
7687
  // body; delete shows a confirm. No tag change bypasses this approval.
7661
- mode: z30.enum(["create", "edit", "delete"]),
7688
+ mode: z31.enum(["create", "edit", "delete"]),
7662
7689
  tagType: tagTypeSchema,
7663
7690
  /** Edit/delete mode — the real tag id or `tag_temp_*` ref being changed. */
7664
- ref: z30.string().optional(),
7691
+ ref: z31.string().optional(),
7665
7692
  /** Non-secret values the agent proposes to prefill. Secret keys are stripped at every boundary. */
7666
- prefilledConfig: z30.record(z30.string(), z30.string()).optional(),
7693
+ prefilledConfig: z31.record(z31.string(), z31.string()).optional(),
7667
7694
  /** Secret field names the agent asks the user to provide. */
7668
- requestedSecretFields: z30.array(z30.string()).optional(),
7695
+ requestedSecretFields: z31.array(z31.string()).optional(),
7669
7696
  /** Short message shown above the form explaining why the input is needed. */
7670
- message: z30.string().optional()
7697
+ message: z31.string().optional()
7671
7698
  });
7672
- var tagChangeToolInputSchema = z30.object({
7673
- changes: z30.array(tagInputRequestSchema).min(1).max(8)
7699
+ var tagChangeToolInputSchema = z31.object({
7700
+ changes: z31.array(tagInputRequestSchema).min(1).max(8)
7674
7701
  });
7675
- var tagInputResultSchema = z30.discriminatedUnion("status", [
7676
- z30.object({
7677
- status: z30.literal("submitted"),
7678
- ref: z30.string(),
7702
+ var tagInputResultSchema = z31.discriminatedUnion("status", [
7703
+ z31.object({
7704
+ status: z31.literal("submitted"),
7705
+ ref: z31.string(),
7679
7706
  type: tagTypeSchema,
7680
7707
  /** Identifying field name → value (non-secret), when the type has one. */
7681
- identifier: z30.record(z30.string(), z30.string()).optional(),
7682
- secretFieldsSet: z30.array(z30.string()),
7683
- note: z30.string().optional()
7708
+ identifier: z31.record(z31.string(), z31.string()).optional(),
7709
+ secretFieldsSet: z31.array(z31.string()),
7710
+ note: z31.string().optional()
7684
7711
  }),
7685
- z30.object({
7686
- status: z30.literal("declined"),
7687
- reason: z30.string().optional(),
7712
+ z31.object({
7713
+ status: z31.literal("declined"),
7714
+ reason: z31.string().optional(),
7688
7715
  /** Set when the platform could not apply an approved change, rather than the user skipping it. */
7689
- failed: z30.boolean().optional()
7716
+ failed: z31.boolean().optional()
7690
7717
  })
7691
7718
  ]);
7692
- var tagChangeToolResultSchema = z30.object({
7693
- results: z30.array(tagInputResultSchema)
7719
+ var tagChangeToolResultSchema = z31.object({
7720
+ results: z31.array(tagInputResultSchema)
7694
7721
  });
7695
7722
 
7696
7723
  export {
@@ -7783,6 +7810,8 @@ export {
7783
7810
  mediaSourcesResetRequestSchema,
7784
7811
  adLibraryRefreshRequestSchema,
7785
7812
  customMcpServerNameRequestSchema,
7813
+ PLATFORM_REPORT_KINDS,
7814
+ feedbackReportRequestSchema,
7786
7815
  RESEARCH_COMPANY_SIZES,
7787
7816
  RESEARCH_COMPANY_REVENUES,
7788
7817
  RESEARCH_COMPANY_SEARCH_MAX_LIMIT,
@@ -7820,4 +7849,4 @@ export {
7820
7849
  videosIngestRequestSchema,
7821
7850
  videosDownloadResponseSchema
7822
7851
  };
7823
- //# sourceMappingURL=chunk-VR2AF7I7.js.map
7852
+ //# sourceMappingURL=chunk-6OCQ4DM6.js.map