@koda-sl/baker-cli 0.481.0-dev.2d33e194f → 0.482.0-dev.a5555ab55

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 (1462) hide show
  1. package/README.md +131 -149
  2. package/canvas/avocado-tutorial.json +3 -3
  3. package/canvas/hello-world-overlay.json +1 -1
  4. package/dist/account-7LUQWY6Q.js +49 -0
  5. package/dist/account-ELL7ZZLM.js +80 -0
  6. package/dist/account-KZVOT6HL.js +79 -0
  7. package/dist/account-reads-LA45L6G3.js +218 -0
  8. package/dist/account-writes-CEPERFD6.js +66 -0
  9. package/dist/accounts-7G556DH4.js +77 -0
  10. package/dist/accounts-E4TVYTUR.js +115 -0
  11. package/dist/accounts-HC7GPQNG.js +611 -0
  12. package/dist/accounts-SMB3TNXX.js +114 -0
  13. package/dist/accounts-UA2ZWRN4.js +75 -0
  14. package/dist/actions-V6YP5C3X.js +55 -0
  15. package/dist/active-entities-MCL7UEGV.js +103 -0
  16. package/dist/activecampaign-CHZEHRHZ.js +935 -0
  17. package/dist/activecampaign-CHZEHRHZ.js.map +1 -0
  18. package/dist/activities-IQPJPP4B.js +74 -0
  19. package/dist/ad-group-writes-XGSCEQTW.js +170 -0
  20. package/dist/ad-groups-GKOLDGET.js +68 -0
  21. package/dist/ad-writes-VVD36JKH.js +174 -0
  22. package/dist/add-3MD72QMT.js +104 -0
  23. package/dist/add-5IGUQHVZ.js +105 -0
  24. package/dist/add-BK5AQI5A.js +97 -0
  25. package/dist/add-TSQNUP5N.js +302 -0
  26. package/dist/add-accounts-CJSV5NPL.js +91 -0
  27. package/dist/ads-EKZVHKPN.js +77 -0
  28. package/dist/ads-HXX2IAFF.js +113 -0
  29. package/dist/ads-KRM4WAMZ.js +40 -0
  30. package/dist/ads-KRM4WAMZ.js.map +1 -0
  31. package/dist/ads-RAUM6ISF.js +128 -0
  32. package/dist/adsets-LPN6WFGF.js +176 -0
  33. package/dist/advertisers-DS2NRWKI.js +125 -0
  34. package/dist/advertisers-XJG7XDK7.js +120 -0
  35. package/dist/analytics-DO4UKW2H.js +1976 -0
  36. package/dist/analytics-JVT2OBQC.js +433 -0
  37. package/dist/analytics-JVT2OBQC.js.map +1 -0
  38. package/dist/animate-G4P3OEJE.js +480 -0
  39. package/dist/assign-72YAL6TP.js +77 -0
  40. package/dist/audience-size-M5NU4QYN.js +73 -0
  41. package/dist/audience-size-M5NU4QYN.js.map +1 -0
  42. package/dist/audiences-3LRCLHTQ.js +85 -0
  43. package/dist/audiences-BU4JZJT7.js +268 -0
  44. package/dist/audiences-XEZHACKH.js +78 -0
  45. package/dist/audit-22KQAHJR.js +151 -0
  46. package/dist/audit-YEGQU474.js +88 -0
  47. package/dist/autocomplete-KLNQIK5T.js +111 -0
  48. package/dist/avatars-VO6FMJFB.js +38 -0
  49. package/dist/bid-pricing-52HDANYL.js +100 -0
  50. package/dist/bid-pricing-52HDANYL.js.map +1 -0
  51. package/dist/brand-XXNOVSGE.js +22 -0
  52. package/dist/brief-JIARAUIR.js +538 -0
  53. package/dist/brief-JIARAUIR.js.map +1 -0
  54. package/dist/businesses-PRRYPR7H.js +53 -0
  55. package/dist/campaign-groups-JFOFU76X.js +95 -0
  56. package/dist/campaign-writes-NSEJCINS.js +170 -0
  57. package/dist/campaign-writes-PKWLLKB5.js +165 -0
  58. package/dist/campaigns-4SOLY7OR.js +110 -0
  59. package/dist/campaigns-5AZMOOID.js +107 -0
  60. package/dist/campaigns-H4VK3GKK.js +109 -0
  61. package/dist/campaigns-VWN2XPK2.js +76 -0
  62. package/dist/canvas-TTV7QZZT.js +46 -0
  63. package/dist/capabilities-VJ53ROIP.js +144 -0
  64. package/dist/cards-WHMCSRZX.js +85 -0
  65. package/dist/catalog-43BSTAT6.js +65 -0
  66. package/dist/catalog-43BSTAT6.js.map +1 -0
  67. package/dist/catalogs-XH5NHH4C.js +128 -0
  68. package/dist/changes-F6WUXFC3.js +135 -0
  69. package/dist/chatgpt-K6KNTME4.js +47 -0
  70. package/dist/chats-PWLQO7UY.js +262 -0
  71. package/dist/check-545MAB4E.js +104 -0
  72. package/dist/check-545MAB4E.js.map +1 -0
  73. package/dist/chunk-232YUPUI.js +125 -0
  74. package/dist/chunk-23H4ZJRP.js +136 -0
  75. package/dist/chunk-2FSEESJU.js +1744 -0
  76. package/dist/chunk-2FSEESJU.js.map +1 -0
  77. package/dist/chunk-2QSPPWOU.js +6306 -0
  78. package/dist/chunk-2QSPPWOU.js.map +1 -0
  79. package/dist/chunk-2WTD5Y34.js +66 -0
  80. package/dist/chunk-2WTD5Y34.js.map +1 -0
  81. package/dist/chunk-3BKNGXCL.js +23992 -0
  82. package/dist/chunk-3BKNGXCL.js.map +1 -0
  83. package/dist/chunk-3OCSWUHV.js +67 -0
  84. package/dist/chunk-3UBTVAFJ.js +392 -0
  85. package/dist/chunk-3UBTVAFJ.js.map +1 -0
  86. package/dist/chunk-3ZHOBEQD.js +122 -0
  87. package/dist/chunk-3ZHOBEQD.js.map +1 -0
  88. package/dist/chunk-46TND6YK.js +207 -0
  89. package/dist/chunk-46TND6YK.js.map +1 -0
  90. package/dist/chunk-5SRHACZW.js +274 -0
  91. package/dist/chunk-5WMTPYKT.js +84 -0
  92. package/dist/chunk-64HQDJ2E.js +344 -0
  93. package/dist/chunk-64HQDJ2E.js.map +1 -0
  94. package/dist/chunk-6JWEGFM5.js +174 -0
  95. package/dist/chunk-6OIKNJ7G.js +26 -0
  96. package/dist/chunk-7RBJ2Z7Z.js +172 -0
  97. package/dist/chunk-AOZ7547I.js +159 -0
  98. package/dist/chunk-AOZ7547I.js.map +1 -0
  99. package/dist/chunk-B7FVPHCW.js +843 -0
  100. package/dist/chunk-B7FVPHCW.js.map +1 -0
  101. package/dist/chunk-BC2BXRXY.js +2887 -0
  102. package/dist/chunk-BC2BXRXY.js.map +1 -0
  103. package/dist/chunk-BFRIRZRZ.js +98 -0
  104. package/dist/chunk-BFZS3WHS.js +84 -0
  105. package/dist/chunk-BITS62MF.js +77 -0
  106. package/dist/chunk-BLAHHMPF.js +333 -0
  107. package/dist/chunk-C7MENOP5.js +224 -0
  108. package/dist/chunk-C7MENOP5.js.map +1 -0
  109. package/dist/chunk-CM6FCSWN.js +644 -0
  110. package/dist/chunk-CM6FCSWN.js.map +1 -0
  111. package/dist/chunk-CSN6L345.js +547 -0
  112. package/dist/chunk-CSN6L345.js.map +1 -0
  113. package/dist/chunk-CVBKW75S.js +296 -0
  114. package/dist/chunk-D4LKZJYJ.js +76 -0
  115. package/dist/chunk-D6KHVUDS.js +297 -0
  116. package/dist/chunk-D7KR6KXR.js +66 -0
  117. package/dist/chunk-D7KR6KXR.js.map +1 -0
  118. package/dist/chunk-DDES6J6A.js +97 -0
  119. package/dist/chunk-DDES6J6A.js.map +1 -0
  120. package/dist/chunk-DMVDVZJK.js +97 -0
  121. package/dist/chunk-DMVDVZJK.js.map +1 -0
  122. package/dist/chunk-DWX44QL6.js +75 -0
  123. package/dist/chunk-EE72SSB2.js +472 -0
  124. package/dist/chunk-EE72SSB2.js.map +1 -0
  125. package/dist/chunk-F3CZFUXZ.js +3187 -0
  126. package/dist/chunk-F3CZFUXZ.js.map +1 -0
  127. package/dist/chunk-F5IH7G2F.js +1919 -0
  128. package/dist/chunk-F5IH7G2F.js.map +1 -0
  129. package/dist/chunk-FNA277HP.js +97 -0
  130. package/dist/chunk-FQXGII24.js +592 -0
  131. package/dist/chunk-FU7HJWGM.js +26 -0
  132. package/dist/chunk-G5GV6SUK.js +399 -0
  133. package/dist/chunk-G5GV6SUK.js.map +1 -0
  134. package/dist/chunk-GD6UJDOB.js +665 -0
  135. package/dist/chunk-GDLQ6SGW.js +46 -0
  136. package/dist/chunk-GEKXIXMG.js +106 -0
  137. package/dist/chunk-GJWMPTUE.js +156 -0
  138. package/dist/chunk-GJWMPTUE.js.map +1 -0
  139. package/dist/chunk-GLW7UJLB.js +58 -0
  140. package/dist/chunk-GM46ZEYP.js +831 -0
  141. package/dist/chunk-GM46ZEYP.js.map +1 -0
  142. package/dist/chunk-H5HDZ7IC.js +139 -0
  143. package/dist/chunk-HNEYIWXW.js +8896 -0
  144. package/dist/chunk-HNEYIWXW.js.map +1 -0
  145. package/dist/chunk-I2WRZJAC.js +46 -0
  146. package/dist/chunk-I2WRZJAC.js.map +1 -0
  147. package/dist/chunk-I44SNQ34.js +275 -0
  148. package/dist/chunk-I5VZVQBZ.js +35 -0
  149. package/dist/chunk-IC6SDOED.js +45 -0
  150. package/dist/chunk-IN4G7X6W.js +94 -0
  151. package/dist/chunk-IPLE5K5E.js +188 -0
  152. package/dist/chunk-IYELKHBG.js +197 -0
  153. package/dist/chunk-JQNO6JCV.js +206 -0
  154. package/dist/chunk-JRFVSSKP.js +160 -0
  155. package/dist/chunk-JRFVSSKP.js.map +1 -0
  156. package/dist/chunk-JYBLCIRN.js +106 -0
  157. package/dist/chunk-K3TNTBZJ.js +52 -0
  158. package/dist/chunk-K4NMOWG7.js +455 -0
  159. package/dist/chunk-KOVQ2JGM.js +903 -0
  160. package/dist/chunk-KOVQ2JGM.js.map +1 -0
  161. package/dist/chunk-KPYDTIAI.js +317 -0
  162. package/dist/chunk-KPYDTIAI.js.map +1 -0
  163. package/dist/chunk-KXSXZAC2.js +225 -0
  164. package/dist/chunk-KXSXZAC2.js.map +1 -0
  165. package/dist/chunk-LCW3U4EA.js +25 -0
  166. package/dist/chunk-LFXE2G6R.js +61 -0
  167. package/dist/chunk-LFXE2G6R.js.map +1 -0
  168. package/dist/chunk-LMZAOTRX.js +846 -0
  169. package/dist/chunk-M6UNISGO.js +66 -0
  170. package/dist/chunk-M6UNISGO.js.map +1 -0
  171. package/dist/chunk-MI3JB5KB.js +76 -0
  172. package/dist/chunk-MJQBXFW6.js +74 -0
  173. package/dist/chunk-MK3OJZIU.js +23 -0
  174. package/dist/chunk-MPACDBH5.js +74 -0
  175. package/dist/chunk-MXWOYFI2.js +544 -0
  176. package/dist/chunk-MXWOYFI2.js.map +1 -0
  177. package/dist/chunk-N5O67GK5.js +215 -0
  178. package/dist/chunk-OP7DNHD2.js +137 -0
  179. package/dist/chunk-OP7DNHD2.js.map +1 -0
  180. package/dist/chunk-P3TNRS56.js +149 -0
  181. package/dist/chunk-P5PX2G7E.js +225 -0
  182. package/dist/chunk-P5PX2G7E.js.map +1 -0
  183. package/dist/chunk-PAJJXZ3Z.js +170 -0
  184. package/dist/chunk-PHPXAMY3.js +346 -0
  185. package/dist/chunk-PNVEV3XP.js +8928 -0
  186. package/dist/chunk-PNVEV3XP.js.map +1 -0
  187. package/dist/chunk-QABSQADZ.js +56 -0
  188. package/dist/chunk-QKABEX3F.js +148 -0
  189. package/dist/chunk-QKABEX3F.js.map +1 -0
  190. package/dist/chunk-QTLZXIF3.js +5366 -0
  191. package/dist/chunk-QTLZXIF3.js.map +1 -0
  192. package/dist/chunk-QVQKCVP7.js +85 -0
  193. package/dist/chunk-QVQKCVP7.js.map +1 -0
  194. package/dist/chunk-QYAI24PN.js +172 -0
  195. package/dist/chunk-QZHGIJOW.js +51 -0
  196. package/dist/chunk-REMR5FHD.js +91 -0
  197. package/dist/chunk-REMR5FHD.js.map +1 -0
  198. package/dist/chunk-RGX7AQ2K.js +131 -0
  199. package/dist/chunk-RGX7AQ2K.js.map +1 -0
  200. package/dist/chunk-RMNKCVRB.js +275 -0
  201. package/dist/chunk-RMNKCVRB.js.map +1 -0
  202. package/dist/chunk-ROX7LQRR.js +19 -0
  203. package/dist/chunk-S7A34DOA.js +111 -0
  204. package/dist/chunk-S7A34DOA.js.map +1 -0
  205. package/dist/chunk-S7B2TOOU.js +98 -0
  206. package/dist/chunk-SFJW2KED.js +166 -0
  207. package/dist/chunk-SIKCVWM3.js +76 -0
  208. package/dist/chunk-SK2N45LO.js +1079 -0
  209. package/dist/chunk-SOKVXKRM.js +74 -0
  210. package/dist/chunk-STNCMKL6.js +191 -0
  211. package/dist/chunk-SWL4AAPP.js +320 -0
  212. package/dist/chunk-SWL4AAPP.js.map +1 -0
  213. package/dist/chunk-TBHRRQZD.js +942 -0
  214. package/dist/chunk-TBHRRQZD.js.map +1 -0
  215. package/dist/chunk-TKPVVD52.js +169 -0
  216. package/dist/chunk-TNB5EIFV.js +433 -0
  217. package/dist/chunk-TUSR5R7I.js +57 -0
  218. package/dist/chunk-TY4BDVLG.js +624 -0
  219. package/dist/chunk-TY4BDVLG.js.map +1 -0
  220. package/dist/chunk-U63S2JWI.js +167 -0
  221. package/dist/chunk-U63S2JWI.js.map +1 -0
  222. package/dist/chunk-ULPO72IQ.js +225 -0
  223. package/dist/chunk-UTLIQBRY.js +604 -0
  224. package/dist/chunk-UTLIQBRY.js.map +1 -0
  225. package/dist/chunk-UWT7RCL3.js +363 -0
  226. package/dist/chunk-V4UIM4QE.js +103 -0
  227. package/dist/chunk-WHSTZRUY.js +64 -0
  228. package/dist/chunk-WHSTZRUY.js.map +1 -0
  229. package/dist/chunk-WNSE7N75.js +2123 -0
  230. package/dist/chunk-WNSE7N75.js.map +1 -0
  231. package/dist/chunk-XDZVBX6L.js +220 -0
  232. package/dist/chunk-XDZVBX6L.js.map +1 -0
  233. package/dist/chunk-XF5R2FQT.js +3868 -0
  234. package/dist/chunk-XF5R2FQT.js.map +1 -0
  235. package/dist/chunk-XFJNCZXA.js +142 -0
  236. package/dist/chunk-XFJNCZXA.js.map +1 -0
  237. package/dist/chunk-XGOEX2VJ.js +55 -0
  238. package/dist/chunk-XLJVJ5TK.js +1518 -0
  239. package/dist/chunk-XLJVJ5TK.js.map +1 -0
  240. package/dist/chunk-XP4G2DJL.js +494 -0
  241. package/dist/chunk-XZ4YMCZK.js +66 -0
  242. package/dist/chunk-Y3VRMFGF.js +42 -0
  243. package/dist/chunk-YU2XIIL3.js +191 -0
  244. package/dist/chunk-YU2XIIL3.js.map +1 -0
  245. package/dist/chunk-ZBUWO4XH.js +1599 -0
  246. package/dist/chunk-ZBUWO4XH.js.map +1 -0
  247. package/dist/chunk-ZJ6HUCRK.js +89 -0
  248. package/dist/chunk-ZJ6HUCRK.js.map +1 -0
  249. package/dist/claim-QHXKN7W6.js +197 -0
  250. package/dist/cli.js +101 -81
  251. package/dist/cli.js.map +1 -1
  252. package/dist/client-WL2FKW4T.js +19 -0
  253. package/dist/code-NXN7QYKU.js +76 -0
  254. package/dist/companies-PGVT62JL.js +195 -0
  255. package/dist/complete-TCTR3XVD.js +81 -0
  256. package/dist/config-VOF57KBL.js +88 -0
  257. package/dist/connect-4S7JLICS.js +42 -0
  258. package/dist/content-KA25YYO3.js +85 -0
  259. package/dist/conversation-DI4WMEL2.js +93 -0
  260. package/dist/conversion-report-KL4LIVY5.js +125 -0
  261. package/dist/conversion-upload-command-EIKJU5ZW.js +438 -0
  262. package/dist/conversion-writes-MPBCTVSP.js +120 -0
  263. package/dist/conversions-ACYT6K7H.js +76 -0
  264. package/dist/conversions-JTYMFX66.js +135 -0
  265. package/dist/countries-XGMZWUGP.js +82 -0
  266. package/dist/create-3QA7X2DD.js +207 -0
  267. package/dist/create-AFVT5JTH.js +235 -0
  268. package/dist/create-TYCOMVWR.js +59 -0
  269. package/dist/create-VFXEJ3EV.js +132 -0
  270. package/dist/create-VFXEJ3EV.js.map +1 -0
  271. package/dist/creatives-5VY3LT6X.js +58 -0
  272. package/dist/creatives-5VY3LT6X.js.map +1 -0
  273. package/dist/creatives-E6N2YLHE.js +182 -0
  274. package/dist/creatives-YJ3CXZQC.js +87 -0
  275. package/dist/credentials-34I6ZZWU.js +287 -0
  276. package/dist/critique-JM5QADYW.js +1451 -0
  277. package/dist/critique-JM5QADYW.js.map +1 -0
  278. package/dist/critique-OCVV6N3U.js +227 -0
  279. package/dist/critique-OCVV6N3U.js.map +1 -0
  280. package/dist/crm-4F3LFOZD.js +318 -0
  281. package/dist/crm-MNBYNP5R.js +224 -0
  282. package/dist/crop-7UTYG7GS.js +113 -0
  283. package/dist/currency-3QTI5RSB.js +88 -0
  284. package/dist/custom-conversions-YRYE65PU.js +125 -0
  285. package/dist/customers-VNYNT2EQ.js +56 -0
  286. package/dist/decide-TWKH5QQU.js +199 -0
  287. package/dist/delete-2GIIUPA3.js +69 -0
  288. package/dist/delete-AZEVPMVO.js +64 -0
  289. package/dist/delete-AZEVPMVO.js.map +1 -0
  290. package/dist/delete-GLLYPNNB.js +71 -0
  291. package/dist/delete-J7DXPGKD.js +71 -0
  292. package/dist/delete-PRJGFA2U.js +54 -0
  293. package/dist/delete-UZRHYEPK.js +66 -0
  294. package/dist/demographics-JMZA7MB6.js +138 -0
  295. package/dist/describe-5QCPRSIG.js +97 -0
  296. package/dist/describe-L3UC6MIL.js +97 -0
  297. package/dist/dimensions-POH4JXEM.js +101 -0
  298. package/dist/discard-OH3B5P4C.js +66 -0
  299. package/dist/discover-5GLET36U.js +172 -0
  300. package/dist/discover-XAJKZCMM.js +93 -0
  301. package/dist/domain-K3IILLYE.js +98 -0
  302. package/dist/download-N4J5WFHD.js +299 -0
  303. package/dist/draft-2KHUZTIE.js +217 -0
  304. package/dist/draft-7RYDPOFS.js +307 -0
  305. package/dist/draft-BB3UUWJP.js +328 -0
  306. package/dist/draft-EWDOIXSH.js +233 -0
  307. package/dist/draft-IL37WDST.js +103 -0
  308. package/dist/draft-KDMYGLWN.js +100 -0
  309. package/dist/draft-LZL6VWHX.js +306 -0
  310. package/dist/draft-VXGZDBC7.js +281 -0
  311. package/dist/engine/index.d.ts +31 -1
  312. package/dist/engine/index.js +15 -14
  313. package/dist/env-5MUVYE2L.js +51 -0
  314. package/dist/experiment-G3FQVAJU.js +1397 -0
  315. package/dist/export-OLDI32HM.js +168 -0
  316. package/dist/extract-PPS6ONQN.js +113 -0
  317. package/dist/facets-PAWOEHOK.js +114 -0
  318. package/dist/favorites-4ELADD3R.js +178 -0
  319. package/dist/feed-XIY5TVDL.js +177 -0
  320. package/dist/feedback-GAGIKZ6B.js +106 -0
  321. package/dist/feedback-GAGIKZ6B.js.map +1 -0
  322. package/dist/feedback-record-ZORDBRV2.js +260 -0
  323. package/dist/feedback-record-ZORDBRV2.js.map +1 -0
  324. package/dist/fetch-M5GIBURQ.js +176 -0
  325. package/dist/fetch-YWUVDMUH.js +139 -0
  326. package/dist/find-EVY4XEIQ.js +134 -0
  327. package/dist/find-EVY4XEIQ.js.map +1 -0
  328. package/dist/fit-DGCYW7LN.js +62 -0
  329. package/dist/flows-TD6PNUDM.js +247 -0
  330. package/dist/flows-TD6PNUDM.js.map +1 -0
  331. package/dist/follow-ZTPZKIMZ.js +94 -0
  332. package/dist/follow-competitors-6QDVQ4VJ.js +112 -0
  333. package/dist/following-PBZLZFGQ.js +113 -0
  334. package/dist/fonts-IQ6XOUGU.js +36 -0
  335. package/dist/forecast-FACEH4WR.js +118 -0
  336. package/dist/forecast-FACEH4WR.js.map +1 -0
  337. package/dist/forecast-YXOKAWDZ.js +168 -0
  338. package/dist/funding-ULBMKUMW.js +85 -0
  339. package/dist/funnel-CJRFDTCD.js +394 -0
  340. package/dist/ga4-2BL5YAYN.js +55 -0
  341. package/dist/generate-D3LUXFJT.js +263 -0
  342. package/dist/generate-D3LUXFJT.js.map +1 -0
  343. package/dist/get-6RZU4M6W.js +63 -0
  344. package/dist/get-7GCEJ6KG.js +92 -0
  345. package/dist/get-JRMJLLU5.js +79 -0
  346. package/dist/get-JRMJLLU5.js.map +1 -0
  347. package/dist/get-MZWUMHEF.js +61 -0
  348. package/dist/get-NUL4YJG5.js +56 -0
  349. package/dist/get-OAZZHUZP.js +59 -0
  350. package/dist/get-OHU2N7B7.js +63 -0
  351. package/dist/gif-NYZYV5RY.js +102 -0
  352. package/dist/gif-NYZYV5RY.js.map +1 -0
  353. package/dist/google-7STODZQR.js +136 -0
  354. package/dist/google-URYXWN5O.js +3190 -0
  355. package/dist/google-URYXWN5O.js.map +1 -0
  356. package/dist/google-ads-BB7CF4NV.js +195 -0
  357. package/dist/group-D5WXNFCP.js +43 -0
  358. package/dist/group-Y5PLETFT.js +43 -0
  359. package/dist/gsc-UU3T2C6B.js +30 -0
  360. package/dist/history-OQAOTEO3.js +67 -0
  361. package/dist/history-Q47TKZJS.js +133 -0
  362. package/dist/hubspot-A6O5GVTH.js +779 -0
  363. package/dist/icon-GB7UH5RF.js +137 -0
  364. package/dist/ideas-LD6X753E.js +40 -0
  365. package/dist/images-XY5DLJEA.js +92 -0
  366. package/dist/images-XY5DLJEA.js.map +1 -0
  367. package/dist/improve-U5USRH4G.js +86 -0
  368. package/dist/ingest-PUMTHASV.js +107 -0
  369. package/dist/ingest-WWNSA6VZ.js +23 -0
  370. package/dist/insights-4HT2NAYP.js +423 -0
  371. package/dist/insights-4HT2NAYP.js.map +1 -0
  372. package/dist/insights-PZXFCMX2.js +122 -0
  373. package/dist/insights-PZXFCMX2.js.map +1 -0
  374. package/dist/inspect-5PRLZLF5.js +189 -0
  375. package/dist/inspiration-XQYHBJY2.js +53 -0
  376. package/dist/intent-4QVVI4FF.js +95 -0
  377. package/dist/job-CGQHEANB.js +202 -0
  378. package/dist/job-create-SZYJT2NC.js +109 -0
  379. package/dist/job-status-6LAKLCKH.js +74 -0
  380. package/dist/keep-3MJSHWU3.js +78 -0
  381. package/dist/keyword-gap-YMMDRYVK.js +130 -0
  382. package/dist/keyword-metrics-FB7FCYK6.js +197 -0
  383. package/dist/keywords-for-site-YZYALONY.js +128 -0
  384. package/dist/landing-XOCPIOWX.js +28 -0
  385. package/dist/landings-ZLKUP66P.js +151 -0
  386. package/dist/languages-3IJVDS5Z.js +55 -0
  387. package/dist/languages-R3Y2IOFU.js +40 -0
  388. package/dist/launches-RG2SWEXM.js +19 -0
  389. package/dist/layerize-SJYK6HPD.js +190 -0
  390. package/dist/leads-2XOSAYP4.js +293 -0
  391. package/dist/leads-SWINPYEP.js +90 -0
  392. package/dist/learn-6HVDSTTJ.js +204 -0
  393. package/dist/learn-6HVDSTTJ.js.map +1 -0
  394. package/dist/library-Q4OU7VR7.js +109 -0
  395. package/dist/library-Q4OU7VR7.js.map +1 -0
  396. package/dist/lighthouse-FALRSVQH.js +75 -0
  397. package/dist/line-item-writes-FG3TY4W4.js +208 -0
  398. package/dist/line-items-ZNVBFA4H.js +103 -0
  399. package/dist/link-IFEXIUDW.js +64 -0
  400. package/dist/linkedin-NINSMEW6.js +1045 -0
  401. package/dist/linkedin-NINSMEW6.js.map +1 -0
  402. package/dist/list-2ZTOMTES.js +65 -0
  403. package/dist/list-FR2OVRVL.js +151 -0
  404. package/dist/list-GK6LNWIW.js +76 -0
  405. package/dist/list-K65FY6SV.js +303 -0
  406. package/dist/list-RJG3FMZR.js +64 -0
  407. package/dist/list-RJG3FMZR.js.map +1 -0
  408. package/dist/list-RR53EF3O.js +57 -0
  409. package/dist/list-TB677Q2F.js +50 -0
  410. package/dist/list-VTVRZIYL.js +51 -0
  411. package/dist/locations-6IH7WGRG.js +40 -0
  412. package/dist/locations-VL2G22Y5.js +67 -0
  413. package/dist/log-TAKCMC2C.js +92 -0
  414. package/dist/logo-YSNUUT33.js +18 -0
  415. package/dist/lookup-RH5N3OWJ.js +22 -0
  416. package/dist/make-EWHS4EHQ.js +1345 -0
  417. package/dist/make-EWHS4EHQ.js.map +1 -0
  418. package/dist/map-DWLEYXSW.js +433 -0
  419. package/dist/map-DWLEYXSW.js.map +1 -0
  420. package/dist/mcp-NNQZ5B7N.js +463 -0
  421. package/dist/media-ES2UBGYW.js +15 -0
  422. package/dist/media-MPXEXN4O.js +89 -0
  423. package/dist/media-sources-OAFBA62X.js +32 -0
  424. package/dist/members-SS7IBYVE.js +44 -0
  425. package/dist/meme-FMHHKWVU.js +100 -0
  426. package/dist/meme-FMHHKWVU.js.map +1 -0
  427. package/dist/meta-AOIPEDV5.js +69 -0
  428. package/dist/metrics-YLAREC4T.js +152 -0
  429. package/dist/models-IH6KE6OH.js +155 -0
  430. package/dist/normalize-NR5RS3WR.js +806 -0
  431. package/dist/normalize-WOZTAI6C.js +141 -0
  432. package/dist/options-PL44BV5E.js +122 -0
  433. package/dist/options-PL44BV5E.js.map +1 -0
  434. package/dist/organization-SQBODZUK.js +328 -0
  435. package/dist/organization-SQBODZUK.js.map +1 -0
  436. package/dist/output-GWIP6ROX.js +24 -0
  437. package/dist/page-YWGBCN65.js +105 -0
  438. package/dist/pages-FTI44OSH.js +66 -0
  439. package/dist/performance-WRARV3YR.js +24 -0
  440. package/dist/pinterest-J442QLQS.js +96 -0
  441. package/dist/pixels-DWW2TDY2.js +60 -0
  442. package/dist/pixels-MBKR4XPX.js +108 -0
  443. package/dist/plan-YPE77T4R.js +207 -0
  444. package/dist/preview-V4YBD45S.js +169 -0
  445. package/dist/profile-S3MXS2VO.js +159 -0
  446. package/dist/profile-S3MXS2VO.js.map +1 -0
  447. package/dist/promoted-tweet-writes-CAD3RGU4.js +180 -0
  448. package/dist/promoted-tweets-NYJP3TXL.js +119 -0
  449. package/dist/properties-G3L2OAOL.js +101 -0
  450. package/dist/publish-ZW6VHB27.js +341 -0
  451. package/dist/publish-ZW6VHB27.js.map +1 -0
  452. package/dist/query-QRPBV2AR.js +61 -0
  453. package/dist/query-WCB5W4NW.js +236 -0
  454. package/dist/query-YBS6ZQ75.js +247 -0
  455. package/dist/questionnaire-PAK4DALP.js +93 -0
  456. package/dist/read-LUTB3UOR.js +141 -0
  457. package/dist/reddit-VJTNXORD.js +26 -0
  458. package/dist/refresh-6I52WXG5.js +94 -0
  459. package/dist/release-LSSYP2ZJ.js +60 -0
  460. package/dist/relevant-pages-2XHS5WP4.js +99 -0
  461. package/dist/remove-K62YJYGT.js +50 -0
  462. package/dist/remove-X6DNVS67.js +48 -0
  463. package/dist/reopen-RPVEBQVR.js +63 -0
  464. package/dist/rerun-ETH2NEEX.js +90 -0
  465. package/dist/rerun-ETH2NEEX.js.map +1 -0
  466. package/dist/research-4ASN2KMB.js +62 -0
  467. package/dist/research-6J3EOBAL.js +262 -0
  468. package/dist/reset-ETORO5UO.js +54 -0
  469. package/dist/reset-YVTYHSTY.js +54 -0
  470. package/dist/resolve-BI7GB5U2.js +121 -0
  471. package/dist/retry-2ZZCKSRW.js +62 -0
  472. package/dist/retry-QZ7YHXF3.js +60 -0
  473. package/dist/retry-failed-EJBP4236.js +45 -0
  474. package/dist/rules-KEHQEXEU.js +96 -0
  475. package/dist/rules-KEHQEXEU.js.map +1 -0
  476. package/dist/rules-add-IDBWO6XV.js +462 -0
  477. package/dist/rules-add-IDBWO6XV.js.map +1 -0
  478. package/dist/run-FFASB4YB.js +65 -0
  479. package/dist/run-KYEOLJFV.js +66 -0
  480. package/dist/run-KYEOLJFV.js.map +1 -0
  481. package/dist/scaffold-ad-EKCXHZPT.js +1511 -0
  482. package/dist/scaffold-ad-EKCXHZPT.js.map +1 -0
  483. package/dist/scaffold-static-ad-MWKTXATN.js +1005 -0
  484. package/dist/scaffold-static-ad-MWKTXATN.js.map +1 -0
  485. package/dist/scaffold-video-BYPPH352.js +883 -0
  486. package/dist/scaffold-video-BYPPH352.js.map +1 -0
  487. package/dist/schedule-4BK2ML6F.js +61 -0
  488. package/dist/schedule-IDZC6M32.js +66 -0
  489. package/dist/scheduled-agents-GMGP3G6T.js +50 -0
  490. package/dist/scheduled-agents-GMGP3G6T.js.map +1 -0
  491. package/dist/schema-EFR7NGJG.js +69 -0
  492. package/dist/schema-EFR7NGJG.js.map +1 -0
  493. package/dist/schema-QPPWADIL.js +132 -0
  494. package/dist/scrape-J2Y7YZ4Z.js +2241 -0
  495. package/dist/screenshot-K7ZGTVTE.js +102 -0
  496. package/dist/search-CI7LEOOK.js +92 -0
  497. package/dist/search-GCSQ6CSD.js +174 -0
  498. package/dist/search-I6DRUXBX.js +224 -0
  499. package/dist/search-TTL7VQET.js +26 -0
  500. package/dist/search-VT2KUAH6.js +91 -0
  501. package/dist/search-copy-N2AIJNUH.js +168 -0
  502. package/dist/seeds-EYYQCMGF.js +101 -0
  503. package/dist/select-CPFKK57J.js +101 -0
  504. package/dist/select-CPFKK57J.js.map +1 -0
  505. package/dist/sends-RHVFV2XM.js +309 -0
  506. package/dist/sequences-5DUWNSWQ.js +146 -0
  507. package/dist/set-prompt-TJ3UTNYS.js +193 -0
  508. package/dist/set-prompt-TJ3UTNYS.js.map +1 -0
  509. package/dist/setup-links-C3EUV2RX.js +141 -0
  510. package/dist/shared-NDRFKAH7.js +31 -0
  511. package/dist/site-W5W7FCUD.js +177 -0
  512. package/dist/sitemaps-QKKXMXMV.js +87 -0
  513. package/dist/sites-GRC6CCCK.js +101 -0
  514. package/dist/skills-UML6GSW6.js +47 -0
  515. package/dist/sources-AWODYZDS.js +454 -0
  516. package/dist/sources-AWODYZDS.js.map +1 -0
  517. package/dist/sources-SGGLJIOA.js +30 -0
  518. package/dist/stale-KILEXX57.js +71 -0
  519. package/dist/stale-KILEXX57.js.map +1 -0
  520. package/dist/stats-RCLQE4HJ.js +34 -0
  521. package/dist/status-KUSLGZD7.js +62 -0
  522. package/dist/sticker-SINY47WT.js +94 -0
  523. package/dist/stock-ECRBD7RP.js +179 -0
  524. package/dist/studio-LMDDQWRY.js +49 -0
  525. package/dist/sync-2MFUI3ME.js +54 -0
  526. package/dist/sync-IE4AAVGY.js +265 -0
  527. package/dist/sync-IE4AAVGY.js.map +1 -0
  528. package/dist/sync-TCY4NX7J.js +54 -0
  529. package/dist/sync-definition-DGSAZGQZ.js +64 -0
  530. package/dist/tag-manager-G3LBQZUL.js +43 -0
  531. package/dist/tags-IHLO2NDM.js +20 -0
  532. package/dist/tags-QQLYW2QQ.js +224 -0
  533. package/dist/tags-QXRKKRIR.js +20 -0
  534. package/dist/tags-U5YWCPFW.js +20 -0
  535. package/dist/tags-ZYVOKGHU.js +26 -0
  536. package/dist/targeting-constants-KEKYU5JQ.js +118 -0
  537. package/dist/targeting-criteria-AEBSY6OY.js +113 -0
  538. package/dist/targets-5Q2OFVXL.js +103 -0
  539. package/dist/targets-5Q2OFVXL.js.map +1 -0
  540. package/dist/testimonials-O52ULRAU.js +32 -0
  541. package/dist/themes-26XFWSWC.js +94 -0
  542. package/dist/top-companies-OMGAFFWN.js +108 -0
  543. package/dist/translate-C5LZ6KVN.js +604 -0
  544. package/dist/translate-C5LZ6KVN.js.map +1 -0
  545. package/dist/triggers-PTPG6OQ6.js +142 -0
  546. package/dist/triggers-PTPG6OQ6.js.map +1 -0
  547. package/dist/tweets-C3QUKS3I.js +123 -0
  548. package/dist/unfollow-ZI5QU7RD.js +46 -0
  549. package/dist/unlink-3BAXM2OH.js +67 -0
  550. package/dist/unstage-7F7JI6HY.js +95 -0
  551. package/dist/unstage-EFW465VN.js +85 -0
  552. package/dist/unstage-EFW465VN.js.map +1 -0
  553. package/dist/update-2RCIXWP3.js +98 -0
  554. package/dist/update-5A7Q7S6I.js +63 -0
  555. package/dist/update-VTUB2M5I.js +188 -0
  556. package/dist/update-VTUB2M5I.js.map +1 -0
  557. package/dist/update-XPRHUFBR.js +152 -0
  558. package/dist/update-XPRHUFBR.js.map +1 -0
  559. package/dist/upload-KO46L76G.js +150 -0
  560. package/dist/upload-Y3TACPEN.js +126 -0
  561. package/dist/upscale-SJ7SCSRS.js +109 -0
  562. package/dist/url-options-6CNDIUDM.js +130 -0
  563. package/dist/url-params-ZUYOLAJG.js +98 -0
  564. package/dist/use-6ULEM3WE.js +95 -0
  565. package/dist/validate-KPJLIGYY.js +117 -0
  566. package/dist/validate-KPJLIGYY.js.map +1 -0
  567. package/dist/variant-5TRRSYBB.js +338 -0
  568. package/dist/videos-EFMNE6U2.js +39 -0
  569. package/dist/view-ABSWZMXW.js +121 -0
  570. package/dist/viewer-check-2GI26EKA.js +80 -0
  571. package/dist/viewer-check-2GI26EKA.js.map +1 -0
  572. package/dist/web-4JGYRY36.js +140 -0
  573. package/dist/winners-KRISBKOR.js +113 -0
  574. package/dist/winning-ads-6SXA4HGB.js +84 -0
  575. package/dist/write-commands-HCQI4Y27.js +737 -0
  576. package/dist/write-commands-LQXKNBA5.js +1015 -0
  577. package/dist/write-commands-QCI6XBM7.js +206 -0
  578. package/dist/write-commands-RHCCPMAE.js +713 -0
  579. package/dist/x-LUEUC3XO.js +47 -0
  580. package/package.json +2 -1
  581. package/dist/account-67PZBEP6.js +0 -79
  582. package/dist/account-HZC6X2PH.js +0 -49
  583. package/dist/account-TQUV64XP.js +0 -80
  584. package/dist/account-reads-IRBTERTY.js +0 -218
  585. package/dist/account-writes-ALDSHAEV.js +0 -66
  586. package/dist/accounts-4P54UY6F.js +0 -115
  587. package/dist/accounts-6UNBLIUH.js +0 -75
  588. package/dist/accounts-GVTZN4VE.js +0 -114
  589. package/dist/accounts-NJ6TF6WH.js +0 -611
  590. package/dist/accounts-WTB737BM.js +0 -77
  591. package/dist/actions-D3BOWDEB.js +0 -55
  592. package/dist/active-entities-J2O76SRP.js +0 -103
  593. package/dist/activities-2J7FTZMN.js +0 -74
  594. package/dist/ad-group-writes-PQKDCMQF.js +0 -170
  595. package/dist/ad-groups-NGYEJMV4.js +0 -68
  596. package/dist/ad-writes-77FVHJTS.js +0 -174
  597. package/dist/add-2FHPLALV.js +0 -105
  598. package/dist/add-2XJYOGKW.js +0 -104
  599. package/dist/add-62JPGFD4.js +0 -302
  600. package/dist/add-JP76KCCY.js +0 -97
  601. package/dist/add-accounts-M5Y4DQFM.js +0 -91
  602. package/dist/ads-DB5NDHX5.js +0 -128
  603. package/dist/ads-J2F7BSHR.js +0 -45
  604. package/dist/ads-J2F7BSHR.js.map +0 -1
  605. package/dist/ads-LYNA2I7B.js +0 -77
  606. package/dist/ads-W2IPUWHQ.js +0 -113
  607. package/dist/adsets-PY5ZKGBO.js +0 -176
  608. package/dist/advertisers-BVAZ4XUX.js +0 -125
  609. package/dist/advertisers-NZPJQF7W.js +0 -120
  610. package/dist/analytics-K2QIWKBN.js +0 -444
  611. package/dist/analytics-K2QIWKBN.js.map +0 -1
  612. package/dist/analytics-NTPZKMYK.js +0 -1976
  613. package/dist/animate-EIV2OHXT.js +0 -480
  614. package/dist/assign-UNIA5YDC.js +0 -77
  615. package/dist/audience-size-4NN6ENP5.js +0 -94
  616. package/dist/audience-size-4NN6ENP5.js.map +0 -1
  617. package/dist/audiences-45ZCY2VZ.js +0 -268
  618. package/dist/audiences-UUIYQFS6.js +0 -78
  619. package/dist/audiences-VYFX7OFS.js +0 -85
  620. package/dist/audit-NSVHNA5J.js +0 -151
  621. package/dist/audit-OWXTLQC4.js +0 -88
  622. package/dist/autocomplete-EHWAQYVB.js +0 -111
  623. package/dist/avatars-7WZPW7BV.js +0 -38
  624. package/dist/bid-pricing-F5NDMS6W.js +0 -99
  625. package/dist/bid-pricing-F5NDMS6W.js.map +0 -1
  626. package/dist/brand-QAJ5VWFM.js +0 -22
  627. package/dist/brief-V2OB5OJW.js +0 -490
  628. package/dist/brief-V2OB5OJW.js.map +0 -1
  629. package/dist/businesses-ZH67AXR6.js +0 -53
  630. package/dist/campaign-groups-KFJKLNNU.js +0 -95
  631. package/dist/campaign-writes-BDGQ6XB3.js +0 -170
  632. package/dist/campaign-writes-FNMAGCKB.js +0 -165
  633. package/dist/campaigns-66OOGMDW.js +0 -110
  634. package/dist/campaigns-6HMHOXXY.js +0 -109
  635. package/dist/campaigns-HJTGX5WW.js +0 -76
  636. package/dist/campaigns-KT3J2O7S.js +0 -107
  637. package/dist/canvas-MQ6ZE5CZ.js +0 -46
  638. package/dist/capabilities-RVUMPP7C.js +0 -144
  639. package/dist/cards-I4BZIYUV.js +0 -85
  640. package/dist/catalog-NLL5VDRK.js +0 -64
  641. package/dist/catalog-NLL5VDRK.js.map +0 -1
  642. package/dist/catalogs-B2NKQO24.js +0 -128
  643. package/dist/changes-FX3TPYGT.js +0 -135
  644. package/dist/chatgpt-3NS2R442.js +0 -47
  645. package/dist/chats-72L7U4ML.js +0 -262
  646. package/dist/chunk-2KIF3U2C.js +0 -51
  647. package/dist/chunk-35ENAFJX.js +0 -46
  648. package/dist/chunk-3ZWHAIMU.js +0 -207
  649. package/dist/chunk-3ZWHAIMU.js.map +0 -1
  650. package/dist/chunk-4DM6OAQ6.js +0 -2065
  651. package/dist/chunk-4DM6OAQ6.js.map +0 -1
  652. package/dist/chunk-4TU2MWBJ.js +0 -275
  653. package/dist/chunk-57UECM77.js +0 -98
  654. package/dist/chunk-5HYSKH77.js +0 -315
  655. package/dist/chunk-5HYSKH77.js.map +0 -1
  656. package/dist/chunk-65BQAJMH.js +0 -136
  657. package/dist/chunk-6GFJFTG6.js +0 -75
  658. package/dist/chunk-6HPIWZHS.js +0 -76
  659. package/dist/chunk-73B3RQJC.js +0 -610
  660. package/dist/chunk-73B3RQJC.js.map +0 -1
  661. package/dist/chunk-7GYM4I5I.js +0 -206
  662. package/dist/chunk-7NTION5F.js +0 -26
  663. package/dist/chunk-7SX73SH2.js +0 -2902
  664. package/dist/chunk-7SX73SH2.js.map +0 -1
  665. package/dist/chunk-AFDPISNJ.js +0 -111
  666. package/dist/chunk-AFDPISNJ.js.map +0 -1
  667. package/dist/chunk-AIDXJHZ4.js +0 -433
  668. package/dist/chunk-AR7PU7BB.js +0 -76
  669. package/dist/chunk-AXVOBRQT.js +0 -1442
  670. package/dist/chunk-AXVOBRQT.js.map +0 -1
  671. package/dist/chunk-BBBZR7MF.js +0 -160
  672. package/dist/chunk-BBBZR7MF.js.map +0 -1
  673. package/dist/chunk-BVYPRGPG.js +0 -92
  674. package/dist/chunk-BVYPRGPG.js.map +0 -1
  675. package/dist/chunk-CAMX6OHF.js +0 -3182
  676. package/dist/chunk-CAMX6OHF.js.map +0 -1
  677. package/dist/chunk-CBCGVPHB.js +0 -125
  678. package/dist/chunk-CECS3DHZ.js +0 -333
  679. package/dist/chunk-CZYUZL6R.js +0 -3151
  680. package/dist/chunk-CZYUZL6R.js.map +0 -1
  681. package/dist/chunk-D5MF337I.js +0 -97
  682. package/dist/chunk-DDTILZXI.js +0 -103
  683. package/dist/chunk-DL2W4N7J.js +0 -52
  684. package/dist/chunk-DLUWHZCE.js +0 -225
  685. package/dist/chunk-EOGPNV25.js +0 -509
  686. package/dist/chunk-EOGPNV25.js.map +0 -1
  687. package/dist/chunk-F3FSD6BO.js +0 -96
  688. package/dist/chunk-F3FSD6BO.js.map +0 -1
  689. package/dist/chunk-FDG2LLX7.js +0 -494
  690. package/dist/chunk-FE7T32YL.js +0 -163
  691. package/dist/chunk-FE7T32YL.js.map +0 -1
  692. package/dist/chunk-FIN4ZXGJ.js +0 -70
  693. package/dist/chunk-FIN4ZXGJ.js.map +0 -1
  694. package/dist/chunk-FO5EP6DA.js +0 -24008
  695. package/dist/chunk-FO5EP6DA.js.map +0 -1
  696. package/dist/chunk-FSGTITIW.js +0 -622
  697. package/dist/chunk-FSGTITIW.js.map +0 -1
  698. package/dist/chunk-FSPV2DUG.js +0 -310
  699. package/dist/chunk-FSPV2DUG.js.map +0 -1
  700. package/dist/chunk-FYAWA3FO.js +0 -1830
  701. package/dist/chunk-FYAWA3FO.js.map +0 -1
  702. package/dist/chunk-G3KO2HFZ.js +0 -35
  703. package/dist/chunk-GKXMIXEV.js +0 -166
  704. package/dist/chunk-GT4UFORX.js +0 -296
  705. package/dist/chunk-GZ6YS7TG.js +0 -106
  706. package/dist/chunk-H7JOVRHO.js +0 -106
  707. package/dist/chunk-IJDF7D4U.js +0 -139
  708. package/dist/chunk-INJHF7AF.js +0 -172
  709. package/dist/chunk-IZFGTGFR.js +0 -67
  710. package/dist/chunk-J2QOKD2F.js +0 -76
  711. package/dist/chunk-J5WZ7SAD.js +0 -346
  712. package/dist/chunk-JC6GNMA7.js +0 -297
  713. package/dist/chunk-KB5HBQEK.js +0 -25
  714. package/dist/chunk-KB5XJHQX.js +0 -216
  715. package/dist/chunk-KB5XJHQX.js.map +0 -1
  716. package/dist/chunk-KM4AAAHZ.js +0 -5187
  717. package/dist/chunk-KM4AAAHZ.js.map +0 -1
  718. package/dist/chunk-LFZTGIPJ.js +0 -384
  719. package/dist/chunk-LFZTGIPJ.js.map +0 -1
  720. package/dist/chunk-LHNL6JM2.js +0 -309
  721. package/dist/chunk-LHNL6JM2.js.map +0 -1
  722. package/dist/chunk-LMHVLUD4.js +0 -175
  723. package/dist/chunk-LMHVLUD4.js.map +0 -1
  724. package/dist/chunk-NAMEFVWL.js +0 -1743
  725. package/dist/chunk-NAMEFVWL.js.map +0 -1
  726. package/dist/chunk-NFSLRRIE.js +0 -77
  727. package/dist/chunk-NORAJYUI.js +0 -172
  728. package/dist/chunk-NQTSHC7Z.js +0 -304
  729. package/dist/chunk-NQTSHC7Z.js.map +0 -1
  730. package/dist/chunk-O3LHCQ7Q.js +0 -136
  731. package/dist/chunk-O3LHCQ7Q.js.map +0 -1
  732. package/dist/chunk-O4ABJ352.js +0 -4410
  733. package/dist/chunk-O4ABJ352.js.map +0 -1
  734. package/dist/chunk-O5XLQUDS.js +0 -846
  735. package/dist/chunk-OI7KSXZM.js +0 -6265
  736. package/dist/chunk-OI7KSXZM.js.map +0 -1
  737. package/dist/chunk-OO67YTPM.js +0 -35
  738. package/dist/chunk-OO67YTPM.js.map +0 -1
  739. package/dist/chunk-OXBPKBSK.js +0 -6667
  740. package/dist/chunk-OXBPKBSK.js.map +0 -1
  741. package/dist/chunk-P3XJUOWT.js +0 -474
  742. package/dist/chunk-P3XJUOWT.js.map +0 -1
  743. package/dist/chunk-P3ZJIIDS.js +0 -57
  744. package/dist/chunk-P5T7OZKV.js +0 -26
  745. package/dist/chunk-P66JWKAL.js +0 -533
  746. package/dist/chunk-P66JWKAL.js.map +0 -1
  747. package/dist/chunk-PA5MYVQY.js +0 -66
  748. package/dist/chunk-PELW56D7.js +0 -45
  749. package/dist/chunk-PGVF4SB7.js +0 -169
  750. package/dist/chunk-Q676JHJA.js +0 -58
  751. package/dist/chunk-QDOVBGKZ.js +0 -149
  752. package/dist/chunk-QHIUJXU7.js +0 -363
  753. package/dist/chunk-QJPPPQPD.js +0 -98
  754. package/dist/chunk-QNEX7FEC.js +0 -174
  755. package/dist/chunk-QTL4NJ5I.js +0 -65
  756. package/dist/chunk-QTL4NJ5I.js.map +0 -1
  757. package/dist/chunk-QWX3QJNM.js +0 -170
  758. package/dist/chunk-QXDEZKAR.js +0 -455
  759. package/dist/chunk-QXDEZKAR.js.map +0 -1
  760. package/dist/chunk-RG7OMI5W.js +0 -1621
  761. package/dist/chunk-RG7OMI5W.js.map +0 -1
  762. package/dist/chunk-RUHMLPH5.js +0 -455
  763. package/dist/chunk-SJLIV6PF.js +0 -19
  764. package/dist/chunk-SLCSLVGS.js +0 -274
  765. package/dist/chunk-THU74XR6.js +0 -96
  766. package/dist/chunk-THU74XR6.js.map +0 -1
  767. package/dist/chunk-TY7TEU3T.js +0 -1079
  768. package/dist/chunk-UXTZ5MBE.js +0 -56
  769. package/dist/chunk-V43RLLZE.js +0 -55
  770. package/dist/chunk-V7PMSMPF.js +0 -817
  771. package/dist/chunk-V7PMSMPF.js.map +0 -1
  772. package/dist/chunk-VFSLIDXA.js +0 -42
  773. package/dist/chunk-VHMNSO2B.js +0 -84
  774. package/dist/chunk-VKH6LSC2.js +0 -188
  775. package/dist/chunk-VTCBPYGE.js +0 -592
  776. package/dist/chunk-W6ASM6UP.js +0 -197
  777. package/dist/chunk-W7KB3LJE.js +0 -60
  778. package/dist/chunk-W7KB3LJE.js.map +0 -1
  779. package/dist/chunk-WESRVXFS.js +0 -133
  780. package/dist/chunk-WESRVXFS.js.map +0 -1
  781. package/dist/chunk-WILN7TD6.js +0 -84
  782. package/dist/chunk-YGK7ZHNI.js +0 -337
  783. package/dist/chunk-YGK7ZHNI.js.map +0 -1
  784. package/dist/chunk-YGL5LTEA.js +0 -665
  785. package/dist/chunk-YONSWWCF.js +0 -215
  786. package/dist/chunk-Z5KBRTB2.js +0 -191
  787. package/dist/chunk-Z62XZCBE.js +0 -541
  788. package/dist/chunk-Z62XZCBE.js.map +0 -1
  789. package/dist/chunk-ZBKBTTHD.js +0 -74
  790. package/dist/chunk-ZJR5E53N.js +0 -23
  791. package/dist/chunk-ZLU5QDLU.js +0 -486
  792. package/dist/chunk-ZLU5QDLU.js.map +0 -1
  793. package/dist/chunk-ZNNC6B75.js +0 -94
  794. package/dist/chunk-ZO2YLHRW.js +0 -74
  795. package/dist/chunk-ZPJE6D7W.js +0 -74
  796. package/dist/claim-DIITRUIN.js +0 -197
  797. package/dist/client-LY2JCQS2.js +0 -19
  798. package/dist/code-7CBNYUPU.js +0 -76
  799. package/dist/companies-HHSYHL74.js +0 -195
  800. package/dist/complete-M3TURPU5.js +0 -81
  801. package/dist/config-7COTFJWK.js +0 -88
  802. package/dist/connect-TQL5EVVE.js +0 -42
  803. package/dist/content-OXMONMHJ.js +0 -85
  804. package/dist/conversation-GE273GC4.js +0 -93
  805. package/dist/conversion-report-BH4HH2Q3.js +0 -125
  806. package/dist/conversion-upload-command-QWWYCTNV.js +0 -438
  807. package/dist/conversion-writes-HG2O6JI7.js +0 -120
  808. package/dist/conversions-DP6ZF57D.js +0 -135
  809. package/dist/conversions-XPSN7SOW.js +0 -76
  810. package/dist/countries-UXAUGSBR.js +0 -82
  811. package/dist/create-ENQWVWGB.js +0 -59
  812. package/dist/create-NVXJP477.js +0 -207
  813. package/dist/create-PITWGVAS.js +0 -130
  814. package/dist/create-PITWGVAS.js.map +0 -1
  815. package/dist/create-XLZYNFKN.js +0 -235
  816. package/dist/creatives-O3444SBT.js +0 -182
  817. package/dist/creatives-ONKKGW5T.js +0 -87
  818. package/dist/creatives-U6IKIQBT.js +0 -51
  819. package/dist/creatives-U6IKIQBT.js.map +0 -1
  820. package/dist/credentials-3UY7RVUL.js +0 -287
  821. package/dist/critique-3LMW73QJ.js +0 -1449
  822. package/dist/critique-3LMW73QJ.js.map +0 -1
  823. package/dist/critique-KB32Y4AW.js +0 -213
  824. package/dist/critique-KB32Y4AW.js.map +0 -1
  825. package/dist/crm-OX67TBWD.js +0 -224
  826. package/dist/crm-XXU5XZIQ.js +0 -318
  827. package/dist/crop-3ZV5BFCA.js +0 -113
  828. package/dist/currency-XP4EMU4M.js +0 -88
  829. package/dist/custom-conversions-TV23XQHW.js +0 -125
  830. package/dist/customers-EJ7FVCTC.js +0 -56
  831. package/dist/decide-EGQ3CRHI.js +0 -199
  832. package/dist/delete-55IHV25V.js +0 -63
  833. package/dist/delete-55IHV25V.js.map +0 -1
  834. package/dist/delete-GXLPIGTC.js +0 -54
  835. package/dist/delete-MUPTLWHI.js +0 -71
  836. package/dist/delete-OW2N4WIA.js +0 -66
  837. package/dist/delete-R2SEUSLV.js +0 -69
  838. package/dist/delete-ZGBBWFAW.js +0 -71
  839. package/dist/demographics-K6DEWUE5.js +0 -138
  840. package/dist/describe-4O3VCV6L.js +0 -97
  841. package/dist/describe-FCTM53MM.js +0 -97
  842. package/dist/dimensions-AD4VS5AH.js +0 -101
  843. package/dist/discard-NZ7FQJEE.js +0 -66
  844. package/dist/discover-OISU5EJF.js +0 -172
  845. package/dist/discover-UQXQUPNO.js +0 -93
  846. package/dist/domain-DXBHNZLO.js +0 -98
  847. package/dist/download-IE6XLFHM.js +0 -299
  848. package/dist/draft-DB6KMBCH.js +0 -306
  849. package/dist/draft-ENA7S4Y7.js +0 -103
  850. package/dist/draft-HJBAG3SN.js +0 -307
  851. package/dist/draft-ICEVLF4E.js +0 -328
  852. package/dist/draft-MGKJ5RYI.js +0 -100
  853. package/dist/draft-OBFKQEPK.js +0 -281
  854. package/dist/draft-OOHU6NMA.js +0 -217
  855. package/dist/draft-S6VPKZYY.js +0 -233
  856. package/dist/env-YLOVBOAE.js +0 -43
  857. package/dist/experiment-PHFP6IBM.js +0 -1397
  858. package/dist/export-R2IMUCQO.js +0 -168
  859. package/dist/extract-OQP3TSQG.js +0 -113
  860. package/dist/facets-NUKR7I57.js +0 -114
  861. package/dist/favorites-NS73FDG5.js +0 -178
  862. package/dist/feed-SQPOB7SP.js +0 -177
  863. package/dist/feedback-SQAAAKOQ.js +0 -66
  864. package/dist/feedback-SQAAAKOQ.js.map +0 -1
  865. package/dist/feedback-record-7W7WBHSQ.js +0 -175
  866. package/dist/feedback-record-7W7WBHSQ.js.map +0 -1
  867. package/dist/fetch-PQ3NOPIE.js +0 -139
  868. package/dist/fetch-PTSAVQW5.js +0 -176
  869. package/dist/find-Y22AANDE.js +0 -134
  870. package/dist/find-Y22AANDE.js.map +0 -1
  871. package/dist/fit-IITU6UWC.js +0 -45
  872. package/dist/flows-ZLF3QJ76.js +0 -247
  873. package/dist/flows-ZLF3QJ76.js.map +0 -1
  874. package/dist/follow-N3DQZV7M.js +0 -94
  875. package/dist/follow-competitors-BZPCBGIB.js +0 -112
  876. package/dist/following-KESWTEBR.js +0 -113
  877. package/dist/fonts-FG6XMK5A.js +0 -34
  878. package/dist/forecast-43XBSHJR.js +0 -168
  879. package/dist/forecast-MAFZQ4UF.js +0 -104
  880. package/dist/forecast-MAFZQ4UF.js.map +0 -1
  881. package/dist/funding-HYSCYS62.js +0 -85
  882. package/dist/funnel-32CNV57L.js +0 -394
  883. package/dist/ga4-J2KTNCD4.js +0 -55
  884. package/dist/generate-G3I5BLLW.js +0 -262
  885. package/dist/generate-G3I5BLLW.js.map +0 -1
  886. package/dist/get-3P2EQLP3.js +0 -63
  887. package/dist/get-FJB3X44Z.js +0 -61
  888. package/dist/get-GDF5V3RN.js +0 -78
  889. package/dist/get-GDF5V3RN.js.map +0 -1
  890. package/dist/get-MBGO4VJD.js +0 -63
  891. package/dist/get-NOKSZPIV.js +0 -59
  892. package/dist/get-W7MKBMQ3.js +0 -56
  893. package/dist/get-WHC4SRYK.js +0 -92
  894. package/dist/gif-SFYVDLCU.js +0 -94
  895. package/dist/gif-SFYVDLCU.js.map +0 -1
  896. package/dist/google-THWFDDHJ.js +0 -3191
  897. package/dist/google-THWFDDHJ.js.map +0 -1
  898. package/dist/google-XRAMIES5.js +0 -136
  899. package/dist/google-ads-N55SE2CB.js +0 -195
  900. package/dist/group-6RDJTWVN.js +0 -43
  901. package/dist/group-TZJCKHKS.js +0 -43
  902. package/dist/gsc-HD6UFRYM.js +0 -30
  903. package/dist/history-4RWCE7WW.js +0 -67
  904. package/dist/history-IROFQ6LA.js +0 -133
  905. package/dist/hubspot-75N4AI43.js +0 -779
  906. package/dist/icon-BMCDFGMN.js +0 -137
  907. package/dist/ideas-7UQMXLI5.js +0 -32
  908. package/dist/images-OFR3S2U4.js +0 -90
  909. package/dist/images-OFR3S2U4.js.map +0 -1
  910. package/dist/improve-P6F2HXYQ.js +0 -86
  911. package/dist/ingest-HGR7KSG4.js +0 -107
  912. package/dist/ingest-XU4WXE4U.js +0 -23
  913. package/dist/insights-7SI2TB72.js +0 -128
  914. package/dist/insights-7SI2TB72.js.map +0 -1
  915. package/dist/insights-P5VIDOZN.js +0 -432
  916. package/dist/insights-P5VIDOZN.js.map +0 -1
  917. package/dist/inspect-TL2VZBN7.js +0 -189
  918. package/dist/inspiration-7WTS3AVI.js +0 -53
  919. package/dist/intent-OCZE4O7R.js +0 -95
  920. package/dist/job-XMPQ27SJ.js +0 -202
  921. package/dist/job-create-HTDQHPEF.js +0 -109
  922. package/dist/job-status-L7WUTZ2C.js +0 -74
  923. package/dist/keep-42SLV4CR.js +0 -78
  924. package/dist/keyword-gap-323NE4AK.js +0 -130
  925. package/dist/keyword-metrics-V6DGO7U5.js +0 -197
  926. package/dist/keywords-for-site-ANSLXBHB.js +0 -128
  927. package/dist/landing-K25GUBLZ.js +0 -28
  928. package/dist/landings-5IYXHA5Z.js +0 -151
  929. package/dist/languages-SRFGW6Z3.js +0 -55
  930. package/dist/languages-US6JUATO.js +0 -40
  931. package/dist/launches-7U4TPNO3.js +0 -108
  932. package/dist/launches-7U4TPNO3.js.map +0 -1
  933. package/dist/layerize-U672AXED.js +0 -190
  934. package/dist/leads-MXUQISOC.js +0 -293
  935. package/dist/leads-UJVKPRXX.js +0 -90
  936. package/dist/learn-XTEU4K66.js +0 -203
  937. package/dist/learn-XTEU4K66.js.map +0 -1
  938. package/dist/library-RPFXNER4.js +0 -109
  939. package/dist/library-RPFXNER4.js.map +0 -1
  940. package/dist/lighthouse-SJ4QNLUS.js +0 -75
  941. package/dist/line-item-writes-NURRHJ7P.js +0 -208
  942. package/dist/line-items-PC6QWV5J.js +0 -103
  943. package/dist/link-ZSXKCLQD.js +0 -64
  944. package/dist/linkedin-EZJJBKY3.js +0 -1008
  945. package/dist/linkedin-EZJJBKY3.js.map +0 -1
  946. package/dist/list-ECF3RA26.js +0 -303
  947. package/dist/list-GQ65MC2N.js +0 -65
  948. package/dist/list-K56J7FZW.js +0 -51
  949. package/dist/list-M4Z3WYPM.js +0 -76
  950. package/dist/list-N7ZLO2LE.js +0 -63
  951. package/dist/list-N7ZLO2LE.js.map +0 -1
  952. package/dist/list-Q5ZZRPHO.js +0 -151
  953. package/dist/list-SXYVDDMU.js +0 -57
  954. package/dist/list-XFIOXFB2.js +0 -50
  955. package/dist/locations-LZUHWKZY.js +0 -40
  956. package/dist/locations-NG4YXIBT.js +0 -67
  957. package/dist/log-EEBJQ6X2.js +0 -92
  958. package/dist/logo-4JOWGJ5A.js +0 -18
  959. package/dist/lookup-7NBZ64TE.js +0 -22
  960. package/dist/make-3J5EK52U.js +0 -633
  961. package/dist/make-3J5EK52U.js.map +0 -1
  962. package/dist/map-JVVNH2RI.js +0 -404
  963. package/dist/map-JVVNH2RI.js.map +0 -1
  964. package/dist/mcp-DAKGMA2Z.js +0 -463
  965. package/dist/media-2SWDJDA6.js +0 -15
  966. package/dist/media-R64YP7T2.js +0 -89
  967. package/dist/media-sources-L2X3KRDU.js +0 -32
  968. package/dist/members-22BOEGQS.js +0 -44
  969. package/dist/meta-RBHF2RG3.js +0 -69
  970. package/dist/metrics-IXRQZVSM.js +0 -152
  971. package/dist/models-BDXZ56GI.js +0 -155
  972. package/dist/normalize-JAE3NVOX.js +0 -141
  973. package/dist/normalize-P5Q3F7FU.js +0 -806
  974. package/dist/options-YTIU3BDC.js +0 -121
  975. package/dist/options-YTIU3BDC.js.map +0 -1
  976. package/dist/output-ZL62UZHQ.js +0 -24
  977. package/dist/page-FZ7IZ5CV.js +0 -105
  978. package/dist/pages-SS7TZTHV.js +0 -66
  979. package/dist/performance-FOOV624A.js +0 -24
  980. package/dist/performance-VYEANYQ5.js +0 -4707
  981. package/dist/performance-VYEANYQ5.js.map +0 -1
  982. package/dist/pinterest-UETS7U7U.js +0 -96
  983. package/dist/pixels-LCTMLKGP.js +0 -108
  984. package/dist/pixels-MPZYWGFD.js +0 -60
  985. package/dist/plan-V74EVXTW.js +0 -207
  986. package/dist/preview-RU54Z4EM.js +0 -169
  987. package/dist/profile-NQOIBLJL.js +0 -150
  988. package/dist/profile-NQOIBLJL.js.map +0 -1
  989. package/dist/promoted-tweet-writes-FQRFU7PB.js +0 -180
  990. package/dist/promoted-tweets-L2L3V5SF.js +0 -119
  991. package/dist/properties-ZUDQH3LE.js +0 -101
  992. package/dist/publish-5XTAHTM4.js +0 -322
  993. package/dist/publish-5XTAHTM4.js.map +0 -1
  994. package/dist/query-26T7XATH.js +0 -236
  995. package/dist/query-SHUOHXTO.js +0 -247
  996. package/dist/query-XISUHMBR.js +0 -62
  997. package/dist/questionnaire-UG55JLVW.js +0 -93
  998. package/dist/read-UYSQAXRV.js +0 -141
  999. package/dist/reddit-BCB4FT6J.js +0 -26
  1000. package/dist/refresh-WY5NPNLX.js +0 -94
  1001. package/dist/release-JBSPPNQE.js +0 -60
  1002. package/dist/relevant-pages-OU5H56KY.js +0 -99
  1003. package/dist/remove-2KACTXKP.js +0 -48
  1004. package/dist/remove-M5P7M5JU.js +0 -50
  1005. package/dist/reopen-J3VW5766.js +0 -63
  1006. package/dist/rerun-5MRYJG6U.js +0 -84
  1007. package/dist/rerun-5MRYJG6U.js.map +0 -1
  1008. package/dist/research-4CAA5CA2.js +0 -262
  1009. package/dist/research-7LBTJ2B2.js +0 -62
  1010. package/dist/reset-DBWWGCXY.js +0 -54
  1011. package/dist/reset-DJSSXC4Y.js +0 -54
  1012. package/dist/resolve-BNRUYS56.js +0 -121
  1013. package/dist/retry-TMRIFGVT.js +0 -62
  1014. package/dist/retry-WRBGLB7O.js +0 -60
  1015. package/dist/retry-failed-NWLH6WHK.js +0 -45
  1016. package/dist/run-TA3DP6QG.js +0 -59
  1017. package/dist/run-VVTLDRRW.js +0 -65
  1018. package/dist/run-VVTLDRRW.js.map +0 -1
  1019. package/dist/scaffold-ad-7DSV6XDB.js +0 -1548
  1020. package/dist/scaffold-ad-7DSV6XDB.js.map +0 -1
  1021. package/dist/scaffold-static-ad-BEZ37QWN.js +0 -971
  1022. package/dist/scaffold-static-ad-BEZ37QWN.js.map +0 -1
  1023. package/dist/scaffold-video-SPCMTYK3.js +0 -872
  1024. package/dist/scaffold-video-SPCMTYK3.js.map +0 -1
  1025. package/dist/schedule-BQQGYGT7.js +0 -61
  1026. package/dist/schedule-S547HPUT.js +0 -66
  1027. package/dist/scheduled-agents-4Q6WS333.js +0 -49
  1028. package/dist/scheduled-agents-4Q6WS333.js.map +0 -1
  1029. package/dist/schema-DDEWM5ZX.js +0 -132
  1030. package/dist/schema-SQIP75WG.js +0 -63
  1031. package/dist/schema-SQIP75WG.js.map +0 -1
  1032. package/dist/scrape-TI6S2W7I.js +0 -2241
  1033. package/dist/screenshot-XFAYY4WW.js +0 -102
  1034. package/dist/search-4HIOKYFR.js +0 -26
  1035. package/dist/search-D2IV7KFJ.js +0 -92
  1036. package/dist/search-IZPDHRJ4.js +0 -224
  1037. package/dist/search-KFDL2IGG.js +0 -91
  1038. package/dist/search-VJBKRD2U.js +0 -174
  1039. package/dist/search-copy-QZXCAGK4.js +0 -168
  1040. package/dist/seeds-VUNZMHZH.js +0 -101
  1041. package/dist/select-U5TPAXGY.js +0 -94
  1042. package/dist/select-U5TPAXGY.js.map +0 -1
  1043. package/dist/sends-7HWLIOUO.js +0 -309
  1044. package/dist/sequences-5RAGZE7L.js +0 -146
  1045. package/dist/set-prompt-MHU4WI3Q.js +0 -185
  1046. package/dist/set-prompt-MHU4WI3Q.js.map +0 -1
  1047. package/dist/setup-links-SPIGXQTY.js +0 -141
  1048. package/dist/shared-3CGGKICB.js +0 -31
  1049. package/dist/site-FW6K6L6M.js +0 -177
  1050. package/dist/sitemaps-3WDYQHYR.js +0 -87
  1051. package/dist/sites-G4DQ2Z2X.js +0 -101
  1052. package/dist/skills-PA26HXEP.js +0 -47
  1053. package/dist/sources-4NAC6HV6.js +0 -421
  1054. package/dist/sources-4NAC6HV6.js.map +0 -1
  1055. package/dist/sources-PMBWG4KO.js +0 -30
  1056. package/dist/stale-5IMY6MWC.js +0 -63
  1057. package/dist/stale-5IMY6MWC.js.map +0 -1
  1058. package/dist/stats-Q35I5DRW.js +0 -34
  1059. package/dist/status-62SUXUWW.js +0 -62
  1060. package/dist/sticker-MC2IAIQB.js +0 -94
  1061. package/dist/stock-B7LKMKUK.js +0 -179
  1062. package/dist/studio-BB2EVW5I.js +0 -49
  1063. package/dist/sync-CLZDZL5F.js +0 -54
  1064. package/dist/sync-XCHBEBZG.js +0 -279
  1065. package/dist/sync-XCHBEBZG.js.map +0 -1
  1066. package/dist/sync-YTHNOAAM.js +0 -54
  1067. package/dist/sync-definition-DYSVT7BJ.js +0 -52
  1068. package/dist/tag-manager-EAREWVYR.js +0 -43
  1069. package/dist/tags-53AG3FYG.js +0 -20
  1070. package/dist/tags-7TH7TVR6.js +0 -224
  1071. package/dist/tags-EB4RE3ML.js +0 -20
  1072. package/dist/tags-EUEWDTTN.js +0 -20
  1073. package/dist/tags-ICAWBCOR.js +0 -26
  1074. package/dist/targeting-constants-IFE72XKL.js +0 -118
  1075. package/dist/targeting-criteria-WZDGJKOI.js +0 -113
  1076. package/dist/targets-OKJ6A4YL.js +0 -102
  1077. package/dist/targets-OKJ6A4YL.js.map +0 -1
  1078. package/dist/templates-IA5TDCCZ.js +0 -178
  1079. package/dist/templates-IA5TDCCZ.js.map +0 -1
  1080. package/dist/testimonials-THHR5JH5.js +0 -32
  1081. package/dist/themes-ZFRM6AVO.js +0 -94
  1082. package/dist/top-companies-63Q475IA.js +0 -108
  1083. package/dist/translate-XKUWIIOS.js +0 -598
  1084. package/dist/translate-XKUWIIOS.js.map +0 -1
  1085. package/dist/triggers-XLKO2QXQ.js +0 -141
  1086. package/dist/triggers-XLKO2QXQ.js.map +0 -1
  1087. package/dist/tweets-7EZRFG3Y.js +0 -123
  1088. package/dist/unfollow-WBBTVEHE.js +0 -46
  1089. package/dist/unlink-P7KU54YU.js +0 -67
  1090. package/dist/unstage-EG7AUE5X.js +0 -84
  1091. package/dist/unstage-EG7AUE5X.js.map +0 -1
  1092. package/dist/unstage-GHXGDOT2.js +0 -95
  1093. package/dist/update-7EWDO32L.js +0 -98
  1094. package/dist/update-BVYGB4YL.js +0 -142
  1095. package/dist/update-BVYGB4YL.js.map +0 -1
  1096. package/dist/update-KVMQOVQK.js +0 -63
  1097. package/dist/update-N74F5KXB.js +0 -155
  1098. package/dist/update-N74F5KXB.js.map +0 -1
  1099. package/dist/upload-6PYPHPCZ.js +0 -126
  1100. package/dist/upload-NA62W5RS.js +0 -150
  1101. package/dist/upscale-RXJUBHXN.js +0 -109
  1102. package/dist/url-options-EUDXLDBD.js +0 -130
  1103. package/dist/url-params-DBJSM2LP.js +0 -98
  1104. package/dist/use-MHPNS4V4.js +0 -95
  1105. package/dist/validate-TTAGVGM2.js +0 -88
  1106. package/dist/validate-TTAGVGM2.js.map +0 -1
  1107. package/dist/variant-ZFCWILPG.js +0 -338
  1108. package/dist/videos-DUG7JYUA.js +0 -39
  1109. package/dist/view-PYCGDGT2.js +0 -121
  1110. package/dist/viewer-check-HIMNCZGY.js +0 -68
  1111. package/dist/web-SDG42OBC.js +0 -140
  1112. package/dist/winners-AI4PVSOI.js +0 -113
  1113. package/dist/winning-ads-KGAYAIPG.js +0 -84
  1114. package/dist/write-commands-34L5LJIB.js +0 -713
  1115. package/dist/write-commands-5TJ3LQ5F.js +0 -737
  1116. package/dist/write-commands-OYMWOFEY.js +0 -1015
  1117. package/dist/write-commands-R3UCCBUI.js +0 -206
  1118. package/dist/x-VNRVGVLI.js +0 -47
  1119. /package/dist/{account-HZC6X2PH.js.map → account-7LUQWY6Q.js.map} +0 -0
  1120. /package/dist/{account-TQUV64XP.js.map → account-ELL7ZZLM.js.map} +0 -0
  1121. /package/dist/{account-67PZBEP6.js.map → account-KZVOT6HL.js.map} +0 -0
  1122. /package/dist/{account-reads-IRBTERTY.js.map → account-reads-LA45L6G3.js.map} +0 -0
  1123. /package/dist/{account-writes-ALDSHAEV.js.map → account-writes-CEPERFD6.js.map} +0 -0
  1124. /package/dist/{accounts-WTB737BM.js.map → accounts-7G556DH4.js.map} +0 -0
  1125. /package/dist/{accounts-4P54UY6F.js.map → accounts-E4TVYTUR.js.map} +0 -0
  1126. /package/dist/{accounts-NJ6TF6WH.js.map → accounts-HC7GPQNG.js.map} +0 -0
  1127. /package/dist/{accounts-GVTZN4VE.js.map → accounts-SMB3TNXX.js.map} +0 -0
  1128. /package/dist/{accounts-6UNBLIUH.js.map → accounts-UA2ZWRN4.js.map} +0 -0
  1129. /package/dist/{actions-D3BOWDEB.js.map → actions-V6YP5C3X.js.map} +0 -0
  1130. /package/dist/{active-entities-J2O76SRP.js.map → active-entities-MCL7UEGV.js.map} +0 -0
  1131. /package/dist/{activities-2J7FTZMN.js.map → activities-IQPJPP4B.js.map} +0 -0
  1132. /package/dist/{ad-group-writes-PQKDCMQF.js.map → ad-group-writes-XGSCEQTW.js.map} +0 -0
  1133. /package/dist/{ad-groups-NGYEJMV4.js.map → ad-groups-GKOLDGET.js.map} +0 -0
  1134. /package/dist/{ad-writes-77FVHJTS.js.map → ad-writes-VVD36JKH.js.map} +0 -0
  1135. /package/dist/{add-2XJYOGKW.js.map → add-3MD72QMT.js.map} +0 -0
  1136. /package/dist/{add-2FHPLALV.js.map → add-5IGUQHVZ.js.map} +0 -0
  1137. /package/dist/{add-JP76KCCY.js.map → add-BK5AQI5A.js.map} +0 -0
  1138. /package/dist/{add-62JPGFD4.js.map → add-TSQNUP5N.js.map} +0 -0
  1139. /package/dist/{add-accounts-M5Y4DQFM.js.map → add-accounts-CJSV5NPL.js.map} +0 -0
  1140. /package/dist/{ads-LYNA2I7B.js.map → ads-EKZVHKPN.js.map} +0 -0
  1141. /package/dist/{ads-W2IPUWHQ.js.map → ads-HXX2IAFF.js.map} +0 -0
  1142. /package/dist/{ads-DB5NDHX5.js.map → ads-RAUM6ISF.js.map} +0 -0
  1143. /package/dist/{adsets-PY5ZKGBO.js.map → adsets-LPN6WFGF.js.map} +0 -0
  1144. /package/dist/{advertisers-BVAZ4XUX.js.map → advertisers-DS2NRWKI.js.map} +0 -0
  1145. /package/dist/{advertisers-NZPJQF7W.js.map → advertisers-XJG7XDK7.js.map} +0 -0
  1146. /package/dist/{analytics-NTPZKMYK.js.map → analytics-DO4UKW2H.js.map} +0 -0
  1147. /package/dist/{animate-EIV2OHXT.js.map → animate-G4P3OEJE.js.map} +0 -0
  1148. /package/dist/{assign-UNIA5YDC.js.map → assign-72YAL6TP.js.map} +0 -0
  1149. /package/dist/{audiences-VYFX7OFS.js.map → audiences-3LRCLHTQ.js.map} +0 -0
  1150. /package/dist/{audiences-45ZCY2VZ.js.map → audiences-BU4JZJT7.js.map} +0 -0
  1151. /package/dist/{audiences-UUIYQFS6.js.map → audiences-XEZHACKH.js.map} +0 -0
  1152. /package/dist/{audit-NSVHNA5J.js.map → audit-22KQAHJR.js.map} +0 -0
  1153. /package/dist/{audit-OWXTLQC4.js.map → audit-YEGQU474.js.map} +0 -0
  1154. /package/dist/{autocomplete-EHWAQYVB.js.map → autocomplete-KLNQIK5T.js.map} +0 -0
  1155. /package/dist/{avatars-7WZPW7BV.js.map → avatars-VO6FMJFB.js.map} +0 -0
  1156. /package/dist/{brand-QAJ5VWFM.js.map → brand-XXNOVSGE.js.map} +0 -0
  1157. /package/dist/{businesses-ZH67AXR6.js.map → businesses-PRRYPR7H.js.map} +0 -0
  1158. /package/dist/{campaign-groups-KFJKLNNU.js.map → campaign-groups-JFOFU76X.js.map} +0 -0
  1159. /package/dist/{campaign-writes-BDGQ6XB3.js.map → campaign-writes-NSEJCINS.js.map} +0 -0
  1160. /package/dist/{campaign-writes-FNMAGCKB.js.map → campaign-writes-PKWLLKB5.js.map} +0 -0
  1161. /package/dist/{campaigns-66OOGMDW.js.map → campaigns-4SOLY7OR.js.map} +0 -0
  1162. /package/dist/{campaigns-KT3J2O7S.js.map → campaigns-5AZMOOID.js.map} +0 -0
  1163. /package/dist/{campaigns-6HMHOXXY.js.map → campaigns-H4VK3GKK.js.map} +0 -0
  1164. /package/dist/{campaigns-HJTGX5WW.js.map → campaigns-VWN2XPK2.js.map} +0 -0
  1165. /package/dist/{canvas-MQ6ZE5CZ.js.map → canvas-TTV7QZZT.js.map} +0 -0
  1166. /package/dist/{capabilities-RVUMPP7C.js.map → capabilities-VJ53ROIP.js.map} +0 -0
  1167. /package/dist/{cards-I4BZIYUV.js.map → cards-WHMCSRZX.js.map} +0 -0
  1168. /package/dist/{catalogs-B2NKQO24.js.map → catalogs-XH5NHH4C.js.map} +0 -0
  1169. /package/dist/{changes-FX3TPYGT.js.map → changes-F6WUXFC3.js.map} +0 -0
  1170. /package/dist/{chatgpt-3NS2R442.js.map → chatgpt-K6KNTME4.js.map} +0 -0
  1171. /package/dist/{chats-72L7U4ML.js.map → chats-PWLQO7UY.js.map} +0 -0
  1172. /package/dist/{chunk-CBCGVPHB.js.map → chunk-232YUPUI.js.map} +0 -0
  1173. /package/dist/{chunk-65BQAJMH.js.map → chunk-23H4ZJRP.js.map} +0 -0
  1174. /package/dist/{chunk-IZFGTGFR.js.map → chunk-3OCSWUHV.js.map} +0 -0
  1175. /package/dist/{chunk-SLCSLVGS.js.map → chunk-5SRHACZW.js.map} +0 -0
  1176. /package/dist/{chunk-VHMNSO2B.js.map → chunk-5WMTPYKT.js.map} +0 -0
  1177. /package/dist/{chunk-QNEX7FEC.js.map → chunk-6JWEGFM5.js.map} +0 -0
  1178. /package/dist/{chunk-P5T7OZKV.js.map → chunk-6OIKNJ7G.js.map} +0 -0
  1179. /package/dist/{chunk-INJHF7AF.js.map → chunk-7RBJ2Z7Z.js.map} +0 -0
  1180. /package/dist/{chunk-57UECM77.js.map → chunk-BFRIRZRZ.js.map} +0 -0
  1181. /package/dist/{chunk-WILN7TD6.js.map → chunk-BFZS3WHS.js.map} +0 -0
  1182. /package/dist/{chunk-NFSLRRIE.js.map → chunk-BITS62MF.js.map} +0 -0
  1183. /package/dist/{chunk-CECS3DHZ.js.map → chunk-BLAHHMPF.js.map} +0 -0
  1184. /package/dist/{chunk-GT4UFORX.js.map → chunk-CVBKW75S.js.map} +0 -0
  1185. /package/dist/{chunk-J2QOKD2F.js.map → chunk-D4LKZJYJ.js.map} +0 -0
  1186. /package/dist/{chunk-JC6GNMA7.js.map → chunk-D6KHVUDS.js.map} +0 -0
  1187. /package/dist/{chunk-6GFJFTG6.js.map → chunk-DWX44QL6.js.map} +0 -0
  1188. /package/dist/{chunk-D5MF337I.js.map → chunk-FNA277HP.js.map} +0 -0
  1189. /package/dist/{chunk-VTCBPYGE.js.map → chunk-FQXGII24.js.map} +0 -0
  1190. /package/dist/{chunk-7NTION5F.js.map → chunk-FU7HJWGM.js.map} +0 -0
  1191. /package/dist/{chunk-YGL5LTEA.js.map → chunk-GD6UJDOB.js.map} +0 -0
  1192. /package/dist/{chunk-35ENAFJX.js.map → chunk-GDLQ6SGW.js.map} +0 -0
  1193. /package/dist/{chunk-GZ6YS7TG.js.map → chunk-GEKXIXMG.js.map} +0 -0
  1194. /package/dist/{chunk-Q676JHJA.js.map → chunk-GLW7UJLB.js.map} +0 -0
  1195. /package/dist/{chunk-IJDF7D4U.js.map → chunk-H5HDZ7IC.js.map} +0 -0
  1196. /package/dist/{chunk-4TU2MWBJ.js.map → chunk-I44SNQ34.js.map} +0 -0
  1197. /package/dist/{chunk-G3KO2HFZ.js.map → chunk-I5VZVQBZ.js.map} +0 -0
  1198. /package/dist/{chunk-PELW56D7.js.map → chunk-IC6SDOED.js.map} +0 -0
  1199. /package/dist/{chunk-ZNNC6B75.js.map → chunk-IN4G7X6W.js.map} +0 -0
  1200. /package/dist/{chunk-VKH6LSC2.js.map → chunk-IPLE5K5E.js.map} +0 -0
  1201. /package/dist/{chunk-W6ASM6UP.js.map → chunk-IYELKHBG.js.map} +0 -0
  1202. /package/dist/{chunk-7GYM4I5I.js.map → chunk-JQNO6JCV.js.map} +0 -0
  1203. /package/dist/{chunk-H7JOVRHO.js.map → chunk-JYBLCIRN.js.map} +0 -0
  1204. /package/dist/{chunk-DL2W4N7J.js.map → chunk-K3TNTBZJ.js.map} +0 -0
  1205. /package/dist/{chunk-RUHMLPH5.js.map → chunk-K4NMOWG7.js.map} +0 -0
  1206. /package/dist/{chunk-KB5HBQEK.js.map → chunk-LCW3U4EA.js.map} +0 -0
  1207. /package/dist/{chunk-O5XLQUDS.js.map → chunk-LMZAOTRX.js.map} +0 -0
  1208. /package/dist/{chunk-6HPIWZHS.js.map → chunk-MI3JB5KB.js.map} +0 -0
  1209. /package/dist/{chunk-ZBKBTTHD.js.map → chunk-MJQBXFW6.js.map} +0 -0
  1210. /package/dist/{chunk-ZJR5E53N.js.map → chunk-MK3OJZIU.js.map} +0 -0
  1211. /package/dist/{chunk-ZO2YLHRW.js.map → chunk-MPACDBH5.js.map} +0 -0
  1212. /package/dist/{chunk-YONSWWCF.js.map → chunk-N5O67GK5.js.map} +0 -0
  1213. /package/dist/{chunk-QDOVBGKZ.js.map → chunk-P3TNRS56.js.map} +0 -0
  1214. /package/dist/{chunk-QWX3QJNM.js.map → chunk-PAJJXZ3Z.js.map} +0 -0
  1215. /package/dist/{chunk-J5WZ7SAD.js.map → chunk-PHPXAMY3.js.map} +0 -0
  1216. /package/dist/{chunk-UXTZ5MBE.js.map → chunk-QABSQADZ.js.map} +0 -0
  1217. /package/dist/{chunk-NORAJYUI.js.map → chunk-QYAI24PN.js.map} +0 -0
  1218. /package/dist/{chunk-2KIF3U2C.js.map → chunk-QZHGIJOW.js.map} +0 -0
  1219. /package/dist/{chunk-SJLIV6PF.js.map → chunk-ROX7LQRR.js.map} +0 -0
  1220. /package/dist/{chunk-QJPPPQPD.js.map → chunk-S7B2TOOU.js.map} +0 -0
  1221. /package/dist/{chunk-GKXMIXEV.js.map → chunk-SFJW2KED.js.map} +0 -0
  1222. /package/dist/{chunk-AR7PU7BB.js.map → chunk-SIKCVWM3.js.map} +0 -0
  1223. /package/dist/{chunk-TY7TEU3T.js.map → chunk-SK2N45LO.js.map} +0 -0
  1224. /package/dist/{chunk-ZPJE6D7W.js.map → chunk-SOKVXKRM.js.map} +0 -0
  1225. /package/dist/{chunk-Z5KBRTB2.js.map → chunk-STNCMKL6.js.map} +0 -0
  1226. /package/dist/{chunk-PGVF4SB7.js.map → chunk-TKPVVD52.js.map} +0 -0
  1227. /package/dist/{chunk-AIDXJHZ4.js.map → chunk-TNB5EIFV.js.map} +0 -0
  1228. /package/dist/{chunk-P3ZJIIDS.js.map → chunk-TUSR5R7I.js.map} +0 -0
  1229. /package/dist/{chunk-DLUWHZCE.js.map → chunk-ULPO72IQ.js.map} +0 -0
  1230. /package/dist/{chunk-QHIUJXU7.js.map → chunk-UWT7RCL3.js.map} +0 -0
  1231. /package/dist/{chunk-DDTILZXI.js.map → chunk-V4UIM4QE.js.map} +0 -0
  1232. /package/dist/{chunk-V43RLLZE.js.map → chunk-XGOEX2VJ.js.map} +0 -0
  1233. /package/dist/{chunk-FDG2LLX7.js.map → chunk-XP4G2DJL.js.map} +0 -0
  1234. /package/dist/{chunk-PA5MYVQY.js.map → chunk-XZ4YMCZK.js.map} +0 -0
  1235. /package/dist/{chunk-VFSLIDXA.js.map → chunk-Y3VRMFGF.js.map} +0 -0
  1236. /package/dist/{claim-DIITRUIN.js.map → claim-QHXKN7W6.js.map} +0 -0
  1237. /package/dist/{client-LY2JCQS2.js.map → client-WL2FKW4T.js.map} +0 -0
  1238. /package/dist/{code-7CBNYUPU.js.map → code-NXN7QYKU.js.map} +0 -0
  1239. /package/dist/{companies-HHSYHL74.js.map → companies-PGVT62JL.js.map} +0 -0
  1240. /package/dist/{complete-M3TURPU5.js.map → complete-TCTR3XVD.js.map} +0 -0
  1241. /package/dist/{config-7COTFJWK.js.map → config-VOF57KBL.js.map} +0 -0
  1242. /package/dist/{connect-TQL5EVVE.js.map → connect-4S7JLICS.js.map} +0 -0
  1243. /package/dist/{content-OXMONMHJ.js.map → content-KA25YYO3.js.map} +0 -0
  1244. /package/dist/{conversation-GE273GC4.js.map → conversation-DI4WMEL2.js.map} +0 -0
  1245. /package/dist/{conversion-report-BH4HH2Q3.js.map → conversion-report-KL4LIVY5.js.map} +0 -0
  1246. /package/dist/{conversion-upload-command-QWWYCTNV.js.map → conversion-upload-command-EIKJU5ZW.js.map} +0 -0
  1247. /package/dist/{conversion-writes-HG2O6JI7.js.map → conversion-writes-MPBCTVSP.js.map} +0 -0
  1248. /package/dist/{conversions-XPSN7SOW.js.map → conversions-ACYT6K7H.js.map} +0 -0
  1249. /package/dist/{conversions-DP6ZF57D.js.map → conversions-JTYMFX66.js.map} +0 -0
  1250. /package/dist/{countries-UXAUGSBR.js.map → countries-XGMZWUGP.js.map} +0 -0
  1251. /package/dist/{create-NVXJP477.js.map → create-3QA7X2DD.js.map} +0 -0
  1252. /package/dist/{create-XLZYNFKN.js.map → create-AFVT5JTH.js.map} +0 -0
  1253. /package/dist/{create-ENQWVWGB.js.map → create-TYCOMVWR.js.map} +0 -0
  1254. /package/dist/{creatives-O3444SBT.js.map → creatives-E6N2YLHE.js.map} +0 -0
  1255. /package/dist/{creatives-ONKKGW5T.js.map → creatives-YJ3CXZQC.js.map} +0 -0
  1256. /package/dist/{credentials-3UY7RVUL.js.map → credentials-34I6ZZWU.js.map} +0 -0
  1257. /package/dist/{crm-XXU5XZIQ.js.map → crm-4F3LFOZD.js.map} +0 -0
  1258. /package/dist/{crm-OX67TBWD.js.map → crm-MNBYNP5R.js.map} +0 -0
  1259. /package/dist/{crop-3ZV5BFCA.js.map → crop-7UTYG7GS.js.map} +0 -0
  1260. /package/dist/{currency-XP4EMU4M.js.map → currency-3QTI5RSB.js.map} +0 -0
  1261. /package/dist/{custom-conversions-TV23XQHW.js.map → custom-conversions-YRYE65PU.js.map} +0 -0
  1262. /package/dist/{customers-EJ7FVCTC.js.map → customers-VNYNT2EQ.js.map} +0 -0
  1263. /package/dist/{decide-EGQ3CRHI.js.map → decide-TWKH5QQU.js.map} +0 -0
  1264. /package/dist/{delete-R2SEUSLV.js.map → delete-2GIIUPA3.js.map} +0 -0
  1265. /package/dist/{delete-ZGBBWFAW.js.map → delete-GLLYPNNB.js.map} +0 -0
  1266. /package/dist/{delete-MUPTLWHI.js.map → delete-J7DXPGKD.js.map} +0 -0
  1267. /package/dist/{delete-GXLPIGTC.js.map → delete-PRJGFA2U.js.map} +0 -0
  1268. /package/dist/{delete-OW2N4WIA.js.map → delete-UZRHYEPK.js.map} +0 -0
  1269. /package/dist/{demographics-K6DEWUE5.js.map → demographics-JMZA7MB6.js.map} +0 -0
  1270. /package/dist/{describe-FCTM53MM.js.map → describe-5QCPRSIG.js.map} +0 -0
  1271. /package/dist/{describe-4O3VCV6L.js.map → describe-L3UC6MIL.js.map} +0 -0
  1272. /package/dist/{dimensions-AD4VS5AH.js.map → dimensions-POH4JXEM.js.map} +0 -0
  1273. /package/dist/{discard-NZ7FQJEE.js.map → discard-OH3B5P4C.js.map} +0 -0
  1274. /package/dist/{discover-OISU5EJF.js.map → discover-5GLET36U.js.map} +0 -0
  1275. /package/dist/{discover-UQXQUPNO.js.map → discover-XAJKZCMM.js.map} +0 -0
  1276. /package/dist/{domain-DXBHNZLO.js.map → domain-K3IILLYE.js.map} +0 -0
  1277. /package/dist/{download-IE6XLFHM.js.map → download-N4J5WFHD.js.map} +0 -0
  1278. /package/dist/{draft-OOHU6NMA.js.map → draft-2KHUZTIE.js.map} +0 -0
  1279. /package/dist/{draft-HJBAG3SN.js.map → draft-7RYDPOFS.js.map} +0 -0
  1280. /package/dist/{draft-ICEVLF4E.js.map → draft-BB3UUWJP.js.map} +0 -0
  1281. /package/dist/{draft-S6VPKZYY.js.map → draft-EWDOIXSH.js.map} +0 -0
  1282. /package/dist/{draft-ENA7S4Y7.js.map → draft-IL37WDST.js.map} +0 -0
  1283. /package/dist/{draft-MGKJ5RYI.js.map → draft-KDMYGLWN.js.map} +0 -0
  1284. /package/dist/{draft-DB6KMBCH.js.map → draft-LZL6VWHX.js.map} +0 -0
  1285. /package/dist/{draft-OBFKQEPK.js.map → draft-VXGZDBC7.js.map} +0 -0
  1286. /package/dist/{env-YLOVBOAE.js.map → env-5MUVYE2L.js.map} +0 -0
  1287. /package/dist/{experiment-PHFP6IBM.js.map → experiment-G3FQVAJU.js.map} +0 -0
  1288. /package/dist/{export-R2IMUCQO.js.map → export-OLDI32HM.js.map} +0 -0
  1289. /package/dist/{extract-OQP3TSQG.js.map → extract-PPS6ONQN.js.map} +0 -0
  1290. /package/dist/{facets-NUKR7I57.js.map → facets-PAWOEHOK.js.map} +0 -0
  1291. /package/dist/{favorites-NS73FDG5.js.map → favorites-4ELADD3R.js.map} +0 -0
  1292. /package/dist/{feed-SQPOB7SP.js.map → feed-XIY5TVDL.js.map} +0 -0
  1293. /package/dist/{fetch-PTSAVQW5.js.map → fetch-M5GIBURQ.js.map} +0 -0
  1294. /package/dist/{fetch-PQ3NOPIE.js.map → fetch-YWUVDMUH.js.map} +0 -0
  1295. /package/dist/{fit-IITU6UWC.js.map → fit-DGCYW7LN.js.map} +0 -0
  1296. /package/dist/{follow-N3DQZV7M.js.map → follow-ZTPZKIMZ.js.map} +0 -0
  1297. /package/dist/{follow-competitors-BZPCBGIB.js.map → follow-competitors-6QDVQ4VJ.js.map} +0 -0
  1298. /package/dist/{following-KESWTEBR.js.map → following-PBZLZFGQ.js.map} +0 -0
  1299. /package/dist/{fonts-FG6XMK5A.js.map → fonts-IQ6XOUGU.js.map} +0 -0
  1300. /package/dist/{forecast-43XBSHJR.js.map → forecast-YXOKAWDZ.js.map} +0 -0
  1301. /package/dist/{funding-HYSCYS62.js.map → funding-ULBMKUMW.js.map} +0 -0
  1302. /package/dist/{funnel-32CNV57L.js.map → funnel-CJRFDTCD.js.map} +0 -0
  1303. /package/dist/{ga4-J2KTNCD4.js.map → ga4-2BL5YAYN.js.map} +0 -0
  1304. /package/dist/{get-MBGO4VJD.js.map → get-6RZU4M6W.js.map} +0 -0
  1305. /package/dist/{get-WHC4SRYK.js.map → get-7GCEJ6KG.js.map} +0 -0
  1306. /package/dist/{get-FJB3X44Z.js.map → get-MZWUMHEF.js.map} +0 -0
  1307. /package/dist/{get-W7MKBMQ3.js.map → get-NUL4YJG5.js.map} +0 -0
  1308. /package/dist/{get-NOKSZPIV.js.map → get-OAZZHUZP.js.map} +0 -0
  1309. /package/dist/{get-3P2EQLP3.js.map → get-OHU2N7B7.js.map} +0 -0
  1310. /package/dist/{google-XRAMIES5.js.map → google-7STODZQR.js.map} +0 -0
  1311. /package/dist/{google-ads-N55SE2CB.js.map → google-ads-BB7CF4NV.js.map} +0 -0
  1312. /package/dist/{group-6RDJTWVN.js.map → group-D5WXNFCP.js.map} +0 -0
  1313. /package/dist/{group-TZJCKHKS.js.map → group-Y5PLETFT.js.map} +0 -0
  1314. /package/dist/{gsc-HD6UFRYM.js.map → gsc-UU3T2C6B.js.map} +0 -0
  1315. /package/dist/{history-4RWCE7WW.js.map → history-OQAOTEO3.js.map} +0 -0
  1316. /package/dist/{history-IROFQ6LA.js.map → history-Q47TKZJS.js.map} +0 -0
  1317. /package/dist/{hubspot-75N4AI43.js.map → hubspot-A6O5GVTH.js.map} +0 -0
  1318. /package/dist/{icon-BMCDFGMN.js.map → icon-GB7UH5RF.js.map} +0 -0
  1319. /package/dist/{ideas-7UQMXLI5.js.map → ideas-LD6X753E.js.map} +0 -0
  1320. /package/dist/{improve-P6F2HXYQ.js.map → improve-U5USRH4G.js.map} +0 -0
  1321. /package/dist/{ingest-HGR7KSG4.js.map → ingest-PUMTHASV.js.map} +0 -0
  1322. /package/dist/{ingest-XU4WXE4U.js.map → ingest-WWNSA6VZ.js.map} +0 -0
  1323. /package/dist/{inspect-TL2VZBN7.js.map → inspect-5PRLZLF5.js.map} +0 -0
  1324. /package/dist/{inspiration-7WTS3AVI.js.map → inspiration-XQYHBJY2.js.map} +0 -0
  1325. /package/dist/{intent-OCZE4O7R.js.map → intent-4QVVI4FF.js.map} +0 -0
  1326. /package/dist/{job-XMPQ27SJ.js.map → job-CGQHEANB.js.map} +0 -0
  1327. /package/dist/{job-create-HTDQHPEF.js.map → job-create-SZYJT2NC.js.map} +0 -0
  1328. /package/dist/{job-status-L7WUTZ2C.js.map → job-status-6LAKLCKH.js.map} +0 -0
  1329. /package/dist/{keep-42SLV4CR.js.map → keep-3MJSHWU3.js.map} +0 -0
  1330. /package/dist/{keyword-gap-323NE4AK.js.map → keyword-gap-YMMDRYVK.js.map} +0 -0
  1331. /package/dist/{keyword-metrics-V6DGO7U5.js.map → keyword-metrics-FB7FCYK6.js.map} +0 -0
  1332. /package/dist/{keywords-for-site-ANSLXBHB.js.map → keywords-for-site-YZYALONY.js.map} +0 -0
  1333. /package/dist/{landing-K25GUBLZ.js.map → landing-XOCPIOWX.js.map} +0 -0
  1334. /package/dist/{landings-5IYXHA5Z.js.map → landings-ZLKUP66P.js.map} +0 -0
  1335. /package/dist/{languages-SRFGW6Z3.js.map → languages-3IJVDS5Z.js.map} +0 -0
  1336. /package/dist/{languages-US6JUATO.js.map → languages-R3Y2IOFU.js.map} +0 -0
  1337. /package/dist/{logo-4JOWGJ5A.js.map → launches-RG2SWEXM.js.map} +0 -0
  1338. /package/dist/{layerize-U672AXED.js.map → layerize-SJYK6HPD.js.map} +0 -0
  1339. /package/dist/{leads-MXUQISOC.js.map → leads-2XOSAYP4.js.map} +0 -0
  1340. /package/dist/{leads-UJVKPRXX.js.map → leads-SWINPYEP.js.map} +0 -0
  1341. /package/dist/{lighthouse-SJ4QNLUS.js.map → lighthouse-FALRSVQH.js.map} +0 -0
  1342. /package/dist/{line-item-writes-NURRHJ7P.js.map → line-item-writes-FG3TY4W4.js.map} +0 -0
  1343. /package/dist/{line-items-PC6QWV5J.js.map → line-items-ZNVBFA4H.js.map} +0 -0
  1344. /package/dist/{link-ZSXKCLQD.js.map → link-IFEXIUDW.js.map} +0 -0
  1345. /package/dist/{list-GQ65MC2N.js.map → list-2ZTOMTES.js.map} +0 -0
  1346. /package/dist/{list-Q5ZZRPHO.js.map → list-FR2OVRVL.js.map} +0 -0
  1347. /package/dist/{list-M4Z3WYPM.js.map → list-GK6LNWIW.js.map} +0 -0
  1348. /package/dist/{list-ECF3RA26.js.map → list-K65FY6SV.js.map} +0 -0
  1349. /package/dist/{list-SXYVDDMU.js.map → list-RR53EF3O.js.map} +0 -0
  1350. /package/dist/{list-XFIOXFB2.js.map → list-TB677Q2F.js.map} +0 -0
  1351. /package/dist/{list-K56J7FZW.js.map → list-VTVRZIYL.js.map} +0 -0
  1352. /package/dist/{locations-LZUHWKZY.js.map → locations-6IH7WGRG.js.map} +0 -0
  1353. /package/dist/{locations-NG4YXIBT.js.map → locations-VL2G22Y5.js.map} +0 -0
  1354. /package/dist/{log-EEBJQ6X2.js.map → log-TAKCMC2C.js.map} +0 -0
  1355. /package/dist/{lookup-7NBZ64TE.js.map → logo-YSNUUT33.js.map} +0 -0
  1356. /package/dist/{output-ZL62UZHQ.js.map → lookup-RH5N3OWJ.js.map} +0 -0
  1357. /package/dist/{mcp-DAKGMA2Z.js.map → mcp-NNQZ5B7N.js.map} +0 -0
  1358. /package/dist/{media-2SWDJDA6.js.map → media-ES2UBGYW.js.map} +0 -0
  1359. /package/dist/{media-R64YP7T2.js.map → media-MPXEXN4O.js.map} +0 -0
  1360. /package/dist/{media-sources-L2X3KRDU.js.map → media-sources-OAFBA62X.js.map} +0 -0
  1361. /package/dist/{members-22BOEGQS.js.map → members-SS7IBYVE.js.map} +0 -0
  1362. /package/dist/{meta-RBHF2RG3.js.map → meta-AOIPEDV5.js.map} +0 -0
  1363. /package/dist/{metrics-IXRQZVSM.js.map → metrics-YLAREC4T.js.map} +0 -0
  1364. /package/dist/{models-BDXZ56GI.js.map → models-IH6KE6OH.js.map} +0 -0
  1365. /package/dist/{normalize-P5Q3F7FU.js.map → normalize-NR5RS3WR.js.map} +0 -0
  1366. /package/dist/{normalize-JAE3NVOX.js.map → normalize-WOZTAI6C.js.map} +0 -0
  1367. /package/dist/{performance-FOOV624A.js.map → output-GWIP6ROX.js.map} +0 -0
  1368. /package/dist/{page-FZ7IZ5CV.js.map → page-YWGBCN65.js.map} +0 -0
  1369. /package/dist/{pages-SS7TZTHV.js.map → pages-FTI44OSH.js.map} +0 -0
  1370. /package/dist/{query-XISUHMBR.js.map → performance-WRARV3YR.js.map} +0 -0
  1371. /package/dist/{pinterest-UETS7U7U.js.map → pinterest-J442QLQS.js.map} +0 -0
  1372. /package/dist/{pixels-MPZYWGFD.js.map → pixels-DWW2TDY2.js.map} +0 -0
  1373. /package/dist/{pixels-LCTMLKGP.js.map → pixels-MBKR4XPX.js.map} +0 -0
  1374. /package/dist/{plan-V74EVXTW.js.map → plan-YPE77T4R.js.map} +0 -0
  1375. /package/dist/{preview-RU54Z4EM.js.map → preview-V4YBD45S.js.map} +0 -0
  1376. /package/dist/{promoted-tweet-writes-FQRFU7PB.js.map → promoted-tweet-writes-CAD3RGU4.js.map} +0 -0
  1377. /package/dist/{promoted-tweets-L2L3V5SF.js.map → promoted-tweets-NYJP3TXL.js.map} +0 -0
  1378. /package/dist/{properties-ZUDQH3LE.js.map → properties-G3L2OAOL.js.map} +0 -0
  1379. /package/dist/{reddit-BCB4FT6J.js.map → query-QRPBV2AR.js.map} +0 -0
  1380. /package/dist/{query-26T7XATH.js.map → query-WCB5W4NW.js.map} +0 -0
  1381. /package/dist/{query-SHUOHXTO.js.map → query-YBS6ZQ75.js.map} +0 -0
  1382. /package/dist/{questionnaire-UG55JLVW.js.map → questionnaire-PAK4DALP.js.map} +0 -0
  1383. /package/dist/{read-UYSQAXRV.js.map → read-LUTB3UOR.js.map} +0 -0
  1384. /package/dist/{run-TA3DP6QG.js.map → reddit-VJTNXORD.js.map} +0 -0
  1385. /package/dist/{refresh-WY5NPNLX.js.map → refresh-6I52WXG5.js.map} +0 -0
  1386. /package/dist/{release-JBSPPNQE.js.map → release-LSSYP2ZJ.js.map} +0 -0
  1387. /package/dist/{relevant-pages-OU5H56KY.js.map → relevant-pages-2XHS5WP4.js.map} +0 -0
  1388. /package/dist/{remove-M5P7M5JU.js.map → remove-K62YJYGT.js.map} +0 -0
  1389. /package/dist/{remove-2KACTXKP.js.map → remove-X6DNVS67.js.map} +0 -0
  1390. /package/dist/{reopen-J3VW5766.js.map → reopen-RPVEBQVR.js.map} +0 -0
  1391. /package/dist/{research-7LBTJ2B2.js.map → research-4ASN2KMB.js.map} +0 -0
  1392. /package/dist/{research-4CAA5CA2.js.map → research-6J3EOBAL.js.map} +0 -0
  1393. /package/dist/{reset-DJSSXC4Y.js.map → reset-ETORO5UO.js.map} +0 -0
  1394. /package/dist/{reset-DBWWGCXY.js.map → reset-YVTYHSTY.js.map} +0 -0
  1395. /package/dist/{resolve-BNRUYS56.js.map → resolve-BI7GB5U2.js.map} +0 -0
  1396. /package/dist/{retry-TMRIFGVT.js.map → retry-2ZZCKSRW.js.map} +0 -0
  1397. /package/dist/{retry-WRBGLB7O.js.map → retry-QZ7YHXF3.js.map} +0 -0
  1398. /package/dist/{retry-failed-NWLH6WHK.js.map → retry-failed-EJBP4236.js.map} +0 -0
  1399. /package/dist/{search-4HIOKYFR.js.map → run-FFASB4YB.js.map} +0 -0
  1400. /package/dist/{schedule-BQQGYGT7.js.map → schedule-4BK2ML6F.js.map} +0 -0
  1401. /package/dist/{schedule-S547HPUT.js.map → schedule-IDZC6M32.js.map} +0 -0
  1402. /package/dist/{schema-DDEWM5ZX.js.map → schema-QPPWADIL.js.map} +0 -0
  1403. /package/dist/{scrape-TI6S2W7I.js.map → scrape-J2Y7YZ4Z.js.map} +0 -0
  1404. /package/dist/{screenshot-XFAYY4WW.js.map → screenshot-K7ZGTVTE.js.map} +0 -0
  1405. /package/dist/{search-D2IV7KFJ.js.map → search-CI7LEOOK.js.map} +0 -0
  1406. /package/dist/{search-VJBKRD2U.js.map → search-GCSQ6CSD.js.map} +0 -0
  1407. /package/dist/{search-IZPDHRJ4.js.map → search-I6DRUXBX.js.map} +0 -0
  1408. /package/dist/{shared-3CGGKICB.js.map → search-TTL7VQET.js.map} +0 -0
  1409. /package/dist/{search-KFDL2IGG.js.map → search-VT2KUAH6.js.map} +0 -0
  1410. /package/dist/{search-copy-QZXCAGK4.js.map → search-copy-N2AIJNUH.js.map} +0 -0
  1411. /package/dist/{seeds-VUNZMHZH.js.map → seeds-EYYQCMGF.js.map} +0 -0
  1412. /package/dist/{sends-7HWLIOUO.js.map → sends-RHVFV2XM.js.map} +0 -0
  1413. /package/dist/{sequences-5RAGZE7L.js.map → sequences-5DUWNSWQ.js.map} +0 -0
  1414. /package/dist/{setup-links-SPIGXQTY.js.map → setup-links-C3EUV2RX.js.map} +0 -0
  1415. /package/dist/{sync-definition-DYSVT7BJ.js.map → shared-NDRFKAH7.js.map} +0 -0
  1416. /package/dist/{site-FW6K6L6M.js.map → site-W5W7FCUD.js.map} +0 -0
  1417. /package/dist/{sitemaps-3WDYQHYR.js.map → sitemaps-QKKXMXMV.js.map} +0 -0
  1418. /package/dist/{sites-G4DQ2Z2X.js.map → sites-GRC6CCCK.js.map} +0 -0
  1419. /package/dist/{skills-PA26HXEP.js.map → skills-UML6GSW6.js.map} +0 -0
  1420. /package/dist/{sources-PMBWG4KO.js.map → sources-SGGLJIOA.js.map} +0 -0
  1421. /package/dist/{stats-Q35I5DRW.js.map → stats-RCLQE4HJ.js.map} +0 -0
  1422. /package/dist/{status-62SUXUWW.js.map → status-KUSLGZD7.js.map} +0 -0
  1423. /package/dist/{sticker-MC2IAIQB.js.map → sticker-SINY47WT.js.map} +0 -0
  1424. /package/dist/{stock-B7LKMKUK.js.map → stock-ECRBD7RP.js.map} +0 -0
  1425. /package/dist/{studio-BB2EVW5I.js.map → studio-LMDDQWRY.js.map} +0 -0
  1426. /package/dist/{sync-CLZDZL5F.js.map → sync-2MFUI3ME.js.map} +0 -0
  1427. /package/dist/{sync-YTHNOAAM.js.map → sync-TCY4NX7J.js.map} +0 -0
  1428. /package/dist/{viewer-check-HIMNCZGY.js.map → sync-definition-DGSAZGQZ.js.map} +0 -0
  1429. /package/dist/{tag-manager-EAREWVYR.js.map → tag-manager-G3LBQZUL.js.map} +0 -0
  1430. /package/dist/{tags-53AG3FYG.js.map → tags-IHLO2NDM.js.map} +0 -0
  1431. /package/dist/{tags-7TH7TVR6.js.map → tags-QQLYW2QQ.js.map} +0 -0
  1432. /package/dist/{tags-EUEWDTTN.js.map → tags-QXRKKRIR.js.map} +0 -0
  1433. /package/dist/{tags-EB4RE3ML.js.map → tags-U5YWCPFW.js.map} +0 -0
  1434. /package/dist/{tags-ICAWBCOR.js.map → tags-ZYVOKGHU.js.map} +0 -0
  1435. /package/dist/{targeting-constants-IFE72XKL.js.map → targeting-constants-KEKYU5JQ.js.map} +0 -0
  1436. /package/dist/{targeting-criteria-WZDGJKOI.js.map → targeting-criteria-AEBSY6OY.js.map} +0 -0
  1437. /package/dist/{testimonials-THHR5JH5.js.map → testimonials-O52ULRAU.js.map} +0 -0
  1438. /package/dist/{themes-ZFRM6AVO.js.map → themes-26XFWSWC.js.map} +0 -0
  1439. /package/dist/{top-companies-63Q475IA.js.map → top-companies-OMGAFFWN.js.map} +0 -0
  1440. /package/dist/{tweets-7EZRFG3Y.js.map → tweets-C3QUKS3I.js.map} +0 -0
  1441. /package/dist/{unfollow-WBBTVEHE.js.map → unfollow-ZI5QU7RD.js.map} +0 -0
  1442. /package/dist/{unlink-P7KU54YU.js.map → unlink-3BAXM2OH.js.map} +0 -0
  1443. /package/dist/{unstage-GHXGDOT2.js.map → unstage-7F7JI6HY.js.map} +0 -0
  1444. /package/dist/{update-7EWDO32L.js.map → update-2RCIXWP3.js.map} +0 -0
  1445. /package/dist/{update-KVMQOVQK.js.map → update-5A7Q7S6I.js.map} +0 -0
  1446. /package/dist/{upload-NA62W5RS.js.map → upload-KO46L76G.js.map} +0 -0
  1447. /package/dist/{upload-6PYPHPCZ.js.map → upload-Y3TACPEN.js.map} +0 -0
  1448. /package/dist/{upscale-RXJUBHXN.js.map → upscale-SJ7SCSRS.js.map} +0 -0
  1449. /package/dist/{url-options-EUDXLDBD.js.map → url-options-6CNDIUDM.js.map} +0 -0
  1450. /package/dist/{url-params-DBJSM2LP.js.map → url-params-ZUYOLAJG.js.map} +0 -0
  1451. /package/dist/{use-MHPNS4V4.js.map → use-6ULEM3WE.js.map} +0 -0
  1452. /package/dist/{variant-ZFCWILPG.js.map → variant-5TRRSYBB.js.map} +0 -0
  1453. /package/dist/{videos-DUG7JYUA.js.map → videos-EFMNE6U2.js.map} +0 -0
  1454. /package/dist/{view-PYCGDGT2.js.map → view-ABSWZMXW.js.map} +0 -0
  1455. /package/dist/{web-SDG42OBC.js.map → web-4JGYRY36.js.map} +0 -0
  1456. /package/dist/{winners-AI4PVSOI.js.map → winners-KRISBKOR.js.map} +0 -0
  1457. /package/dist/{winning-ads-KGAYAIPG.js.map → winning-ads-6SXA4HGB.js.map} +0 -0
  1458. /package/dist/{write-commands-5TJ3LQ5F.js.map → write-commands-HCQI4Y27.js.map} +0 -0
  1459. /package/dist/{write-commands-OYMWOFEY.js.map → write-commands-LQXKNBA5.js.map} +0 -0
  1460. /package/dist/{write-commands-R3UCCBUI.js.map → write-commands-QCI6XBM7.js.map} +0 -0
  1461. /package/dist/{write-commands-34L5LJIB.js.map → write-commands-RHCCPMAE.js.map} +0 -0
  1462. /package/dist/{x-VNRVGVLI.js.map → x-LUEUC3XO.js.map} +0 -0
@@ -1,2902 +0,0 @@
1
- import {
2
- INGEST_CLICK_ID_PARAMS,
3
- MATCH_COOKIES,
4
- isSha256Hex,
5
- normalizeIdentity,
6
- templateMentions
7
- } from "./chunk-EDLZGTGN.js";
8
-
9
- // ../api/src/analytics/adParams.ts
10
- var AD_PARAM_ROLES = [
11
- "campaign_id",
12
- "campaign_name",
13
- "adgroup_id",
14
- "adgroup_name",
15
- "ad_id",
16
- "ad_name",
17
- "keyword",
18
- "match_type",
19
- "search_query",
20
- "audience",
21
- "placement",
22
- "network",
23
- "site_source",
24
- "device",
25
- "product_id",
26
- "account_name",
27
- "other",
28
- "ignore"
29
- ];
30
- var AD_PARAM_ROLE_SPECS = {
31
- campaign_id: { role: "campaign_id", label: "Campaign ID", description: "The top level of this account's structure." },
32
- campaign_name: { role: "campaign_name", label: "Campaign name", description: "The campaign's name." },
33
- adgroup_id: { role: "adgroup_id", label: "Ad group ID", description: "The targeting container inside a campaign." },
34
- adgroup_name: { role: "adgroup_name", label: "Ad group name", description: "The ad group's name." },
35
- ad_id: { role: "ad_id", label: "Ad ID", description: "The individual ad that was clicked." },
36
- ad_name: { role: "ad_name", label: "Ad name", description: "The individual ad's name." },
37
- keyword: {
38
- role: "keyword",
39
- label: "Keyword",
40
- description: "The keyword that matched, as it is written in the account \u2014 not what the visitor typed."
41
- },
42
- match_type: {
43
- role: "match_type",
44
- label: "Match type",
45
- description: "How loosely the keyword matched: broad, phrase or exact."
46
- },
47
- search_query: { role: "search_query", label: "Search query", description: "What the visitor actually typed." },
48
- audience: {
49
- role: "audience",
50
- label: "Audience",
51
- description: "The remarketing list or interest segment the visitor was in."
52
- },
53
- placement: {
54
- role: "placement",
55
- label: "Placement",
56
- description: "Where the ad appeared \u2014 a feed, a story, a site on the display network."
57
- },
58
- network: {
59
- role: "network",
60
- label: "Network",
61
- description: "Which network served it: search, a search partner, display, or a video surface."
62
- },
63
- site_source: {
64
- role: "site_source",
65
- label: "App",
66
- description: "Which app the click came from, on platforms that span several."
67
- },
68
- device: { role: "device", label: "Device", description: "Mobile, tablet or desktop, as the platform saw it." },
69
- product_id: { role: "product_id", label: "Product ID", description: "The shopping item that was clicked." },
70
- account_name: {
71
- role: "account_name",
72
- label: "Account name",
73
- description: "Which ad account paid for the click, where an agency runs several."
74
- },
75
- other: {
76
- role: "other",
77
- label: "Something else",
78
- description: "Keep the values and let me filter by this name, without saying what it means."
79
- },
80
- ignore: {
81
- role: "ignore",
82
- label: "Ignore it",
83
- description: "Not campaign information. Baker stops storing it and stops asking about it."
84
- }
85
- };
86
- var RESERVED_PARAM_NAMES = [
87
- "utm_source",
88
- "utm_medium",
89
- "utm_campaign",
90
- "utm_content",
91
- "utm_term",
92
- "utm_id"
93
- ];
94
- var AD_PLATFORMS = [
95
- "google",
96
- "meta",
97
- "microsoft",
98
- "linkedin",
99
- "tiktok",
100
- "reddit",
101
- "pinterest",
102
- "snapchat",
103
- "chatgpt"
104
- ];
105
- function isAdPlatform(value) {
106
- return AD_PLATFORMS.includes(value);
107
- }
108
- var GOOGLE = {
109
- platform: "google",
110
- label: "Google Ads",
111
- docs: "https://developers.google.com/google-ads/api/docs/reporting/valuetrack-mapping",
112
- dimensions: [
113
- { role: "campaign_id", macro: "{campaignid}", names: ["campaign_id", "campaignid", "gad_campaignid"] },
114
- { role: "adgroup_id", macro: "{adgroupid}", names: ["adgroup_id", "adgroupid"] },
115
- {
116
- role: "ad_id",
117
- macro: "{creative}",
118
- names: ["ad_id", "creative", "adid"],
119
- note: "ValueTrack calls the ad id {creative}."
120
- },
121
- { role: "keyword", macro: "{keyword}", names: ["keyword", "kw"] },
122
- {
123
- role: "match_type",
124
- macro: "{matchtype}",
125
- names: ["match_type", "matchtype", "mt"],
126
- note: "b broad, p phrase, e exact, a AI Max."
127
- },
128
- {
129
- role: "network",
130
- macro: "{network}",
131
- names: ["network", "gad_source"],
132
- note: "g search, s partner, d display, ytv YouTube."
133
- },
134
- { role: "device", macro: "{device}", names: ["device"] },
135
- { role: "placement", macro: "{placement}", names: ["placement"] },
136
- { role: "product_id", macro: "{product_id}", names: ["product_id"], note: "Shopping campaigns only." }
137
- ]
138
- };
139
- var META = {
140
- platform: "meta",
141
- label: "Meta Ads",
142
- docs: "https://www.facebook.com/business/help/2360940870872492",
143
- dimensions: [
144
- { role: "campaign_id", macro: "{{campaign.id}}", names: ["campaign_id", "campaignid"] },
145
- { role: "campaign_name", macro: "{{campaign.name}}", names: ["campaign_name", "campaignname"] },
146
- {
147
- role: "adgroup_id",
148
- macro: "{{adset.id}}",
149
- names: ["adset_id", "adgroup_id", "adsetid"],
150
- note: "Meta calls an ad group an ad set."
151
- },
152
- { role: "adgroup_name", macro: "{{adset.name}}", names: ["adset_name", "adgroup_name"] },
153
- { role: "ad_id", macro: "{{ad.id}}", names: ["ad_id", "adid"] },
154
- { role: "ad_name", macro: "{{ad.name}}", names: ["ad_name", "adname"] },
155
- {
156
- role: "placement",
157
- macro: "{{placement}}",
158
- names: ["placement", "placement_id"],
159
- note: "feed, story, reels and the rest."
160
- },
161
- {
162
- role: "site_source",
163
- macro: "{{site_source_name}}",
164
- names: ["site_source", "site_source_name"],
165
- note: "fb, ig, an or msg."
166
- }
167
- ]
168
- };
169
- var MICROSOFT = {
170
- platform: "microsoft",
171
- label: "Microsoft Advertising",
172
- docs: "https://learn.microsoft.com/en-us/advertising/guides/url-tracking-upgraded-urls",
173
- dimensions: [
174
- { role: "campaign_id", macro: "{CampaignId}", names: ["campaign_id", "campaignid"] },
175
- { role: "campaign_name", macro: "{Campaign}", names: ["campaign_name", "campaignname"] },
176
- { role: "adgroup_id", macro: "{AdGroupId}", names: ["adgroup_id", "adgroupid"] },
177
- { role: "adgroup_name", macro: "{AdGroup}", names: ["adgroup_name", "adgroupname"] },
178
- { role: "ad_id", macro: "{AdId}", names: ["ad_id", "adid"] },
179
- { role: "keyword", macro: "{Keyword}", names: ["keyword", "kw"] },
180
- { role: "match_type", macro: "{MatchType}", names: ["match_type", "matchtype", "mt"] },
181
- {
182
- role: "search_query",
183
- macro: "{QueryString}",
184
- names: ["search_query", "querystring"],
185
- note: "What the visitor typed. Google has no equivalent."
186
- },
187
- { role: "network", macro: "{Network}", names: ["network"] },
188
- { role: "device", macro: "{Device}", names: ["device"] }
189
- ]
190
- };
191
- var LINKEDIN = {
192
- platform: "linkedin",
193
- label: "LinkedIn Ads",
194
- docs: "https://learn.microsoft.com/en-us/linkedin/marketing/integrations/ads-reporting/dynamic-utm-tracking",
195
- dimensions: [
196
- { role: "account_name", macro: "{{ACCOUNT_NAME}}", names: ["account_name"] },
197
- {
198
- role: "campaign_id",
199
- macro: "{{CAMPAIGN_GROUP_ID}}",
200
- names: ["campaign_group_id", "campaign_id"],
201
- note: "LinkedIn's campaign group is the level other platforms call a campaign."
202
- },
203
- { role: "campaign_name", macro: "{{CAMPAIGN_GROUP_NAME}}", names: ["campaign_group_name", "campaign_name"] },
204
- {
205
- role: "adgroup_id",
206
- macro: "{{CAMPAIGN_ID}}",
207
- names: ["adgroup_id"],
208
- note: "LinkedIn's campaign is the level other platforms call an ad group."
209
- },
210
- { role: "adgroup_name", macro: "{{CAMPAIGN_NAME}}", names: ["adgroup_name"] },
211
- { role: "ad_id", macro: "{{CREATIVE_ID}}", names: ["creative_id", "ad_id"] },
212
- { role: "ad_name", macro: "{{CREATIVE_NAME}}", names: ["creative_name", "ad_name"] }
213
- ]
214
- };
215
- var TIKTOK = {
216
- platform: "tiktok",
217
- label: "TikTok Ads",
218
- docs: "https://ads.tiktok.com/help/article/track-offsite-web-events-with-utm-parameters",
219
- dimensions: [
220
- { role: "campaign_id", macro: "__CAMPAIGN_ID__", names: ["campaign_id", "campaignid"] },
221
- { role: "campaign_name", macro: "__CAMPAIGN_NAME__", names: ["campaign_name", "campaignname"] },
222
- {
223
- role: "adgroup_id",
224
- macro: "__AID__",
225
- names: ["adgroup_id", "aid"],
226
- note: "__AID__ is the ad GROUP id, not the ad id."
227
- },
228
- { role: "adgroup_name", macro: "__AID_NAME__", names: ["adgroup_name"] },
229
- {
230
- role: "ad_id",
231
- macro: "__CID__",
232
- names: ["ad_id", "cid"],
233
- note: "__CID__ is the creative id, not the campaign id."
234
- },
235
- { role: "ad_name", macro: "__CID_NAME__", names: ["ad_name"] },
236
- { role: "placement", macro: "__PLACEMENT__", names: ["placement"], note: "TikTok or TikTok Pangle." }
237
- ]
238
- };
239
- var REDDIT = {
240
- platform: "reddit",
241
- label: "Reddit Ads",
242
- docs: "https://business.reddithelp.com/s/article/URL-Parameters",
243
- dimensions: [
244
- { role: "campaign_id", macro: "{{CAMPAIGN_ID}}", names: ["campaign_id", "campaignid"] },
245
- { role: "campaign_name", macro: "{{CAMPAIGN_NAME}}", names: ["campaign_name"] },
246
- { role: "adgroup_id", macro: "{{ADGROUP_ID}}", names: ["adgroup_id", "ad_group_id"] },
247
- { role: "adgroup_name", macro: "{{ADGROUP_NAME}}", names: ["adgroup_name", "ad_group_name"] },
248
- { role: "ad_id", macro: "{{AD_ID}}", names: ["ad_id", "adid"] },
249
- { role: "ad_name", macro: "{{AD_NAME}}", names: ["ad_name"] },
250
- { role: "device", macro: "{{DEVICE_GROUP}}", names: ["device", "device_group"] }
251
- ]
252
- };
253
- var PINTEREST = {
254
- platform: "pinterest",
255
- label: "Pinterest Ads",
256
- docs: "https://help.pinterest.com/en/business/article/third-party-and-dynamic-tracking",
257
- dimensions: [
258
- { role: "campaign_id", macro: "{campaignid}", names: ["campaign_id", "campaignid"] },
259
- { role: "campaign_name", macro: "{campaign_name}", names: ["campaign_name", "campaignname"] },
260
- { role: "adgroup_id", macro: "{adgroupid}", names: ["adgroup_id", "adgroupid"] },
261
- { role: "adgroup_name", macro: "{ad_group_name}", names: ["adgroup_name", "adgroupname"] },
262
- {
263
- role: "ad_id",
264
- macro: "{adid}",
265
- names: ["ad_id", "adid", "creative_id"],
266
- note: "The promoted Pin, not the Pin itself."
267
- },
268
- { role: "device", macro: "{device}", names: ["device"], note: "c computer, m mobile, t tablet." },
269
- { role: "product_id", macro: "{product_id}", names: ["product_id"], note: "Shopping campaigns only." }
270
- ]
271
- };
272
- var SNAPCHAT = {
273
- platform: "snapchat",
274
- label: "Snapchat Ads",
275
- docs: "https://businesshelp.snapchat.com/s/article/url-parameters",
276
- dimensions: [
277
- { role: "campaign_id", macro: "{{campaign.id}}", names: ["campaign_id", "campaignid"] },
278
- { role: "campaign_name", macro: "{{campaign.name}}", names: ["campaign_name"] },
279
- {
280
- role: "adgroup_id",
281
- macro: "{{adSet.id}}",
282
- names: ["adset_id", "adgroup_id"],
283
- note: "Case-sensitive: {{adset.id}} does not resolve."
284
- },
285
- { role: "adgroup_name", macro: "{{adSet.name}}", names: ["adset_name", "adgroup_name"] },
286
- { role: "ad_id", macro: "{{ad.id}}", names: ["ad_id", "adid"] },
287
- { role: "ad_name", macro: "{{creative.name}}", names: ["ad_name", "creative_name"] }
288
- ]
289
- };
290
- var CHATGPT = {
291
- platform: "chatgpt",
292
- label: "ChatGPT Ads",
293
- docs: "https://help.openai.com/en/articles/20001212-create-ads-for-chatgpt",
294
- dimensions: [
295
- { role: "campaign_id", macro: "{campaign_id}", names: ["campaign_id", "campaignid"] },
296
- { role: "adgroup_id", macro: "{ad_group_id}", names: ["ad_group_id", "adgroup_id"] },
297
- { role: "ad_id", macro: "{ad_id}", names: ["ad_id", "adid"] }
298
- ]
299
- };
300
- var AD_PLATFORM_DEFINITIONS = {
301
- google: GOOGLE,
302
- meta: META,
303
- microsoft: MICROSOFT,
304
- linkedin: LINKEDIN,
305
- tiktok: TIKTOK,
306
- reddit: REDDIT,
307
- pinterest: PINTEREST,
308
- snapchat: SNAPCHAT,
309
- chatgpt: CHATGPT
310
- };
311
- var ESSENTIAL_ROLES = ["campaign_id", "adgroup_id", "ad_id", "keyword", "match_type"];
312
- function essentialAdDimensions(platform) {
313
- return AD_PLATFORM_DEFINITIONS[platform].dimensions.filter((entry) => ESSENTIAL_ROLES.includes(entry.role));
314
- }
315
- function normalizeAdParamName(raw) {
316
- return raw.trim().toLowerCase().slice(0, 64);
317
- }
318
- function builtinFor(platform) {
319
- const mapping = {};
320
- for (const dimension of AD_PLATFORM_DEFINITIONS[platform].dimensions) {
321
- for (const name of dimension.names) mapping[normalizeAdParamName(name)] = dimension.role;
322
- }
323
- return mapping;
324
- }
325
- var BUILTIN = Object.fromEntries(
326
- AD_PLATFORMS.map((platform) => [platform, builtinFor(platform)])
327
- );
328
- function builtinAdParamMapping(platform) {
329
- return BUILTIN[platform];
330
- }
331
- var EVERY_BUILTIN_AD_PARAM_NAME = [
332
- ...new Set(AD_PLATFORMS.flatMap((platform) => Object.keys(BUILTIN[platform])))
333
- ].sort();
334
- var CAPTURED_WITHOUT_ROLE = [
335
- "account_id",
336
- "audience",
337
- "device_model",
338
- "devicemodel",
339
- "experiment",
340
- "extensionid",
341
- "feed_item_id",
342
- "feeditemid",
343
- "loc_interest_ms",
344
- "loc_physical_ms",
345
- "location_interest",
346
- "location_physical",
347
- "target_id",
348
- "targetid"
349
- ].sort();
350
-
351
- // ../api/src/analytics/eventKey.ts
352
- var SEP = ":";
353
- function formEventKey(flowSlug, nodeId, triggerId) {
354
- return ["form", flowSlug, nodeId, triggerId].join(SEP);
355
- }
356
- function isLandingViewKey(key) {
357
- return parseEventKey(key)?.family === "view";
358
- }
359
- function parseEventKey(key) {
360
- const cut = key.indexOf(SEP);
361
- if (cut <= 0) return null;
362
- const family = key.slice(0, cut);
363
- const rest = key.slice(cut + 1);
364
- if (rest === "") return null;
365
- switch (family) {
366
- case "form": {
367
- const [flowSlug, nodeId, ...triggerParts] = rest.split(SEP);
368
- const triggerId = triggerParts.join(SEP);
369
- if (!flowSlug || !nodeId || triggerId === "") return null;
370
- return { family: "form", flowSlug, nodeId, triggerId };
371
- }
372
- case "submit":
373
- return { family: "submit", flowSlug: rest };
374
- case "page":
375
- return { family: "page", eventName: rest };
376
- case "exit":
377
- return { family: "exit", host: rest };
378
- case "view":
379
- return { family: "view", landingId: rest };
380
- default:
381
- return null;
382
- }
383
- }
384
-
385
- // ../api/src/analytics/sends.ts
386
- var SEND_PLATFORMS = [
387
- "meta",
388
- "chatgptAds",
389
- "googleAds",
390
- "linkedinInsightTag",
391
- "twitterAds",
392
- "googleAnalytics"
393
- ];
394
- function isSendPlatform(value) {
395
- return SEND_PLATFORMS.includes(value);
396
- }
397
- var SEND_PLATFORM_SPECS = {
398
- meta: {
399
- title: "Meta",
400
- eventMeans: "A Meta event name \u2014 Lead, Purchase, Schedule, or one of your own",
401
- eventKind: "name",
402
- credentialFields: ["accessToken"],
403
- setupHint: "Add the Conversions API access token to the Meta pixel in Tracking"
404
- },
405
- chatgptAds: {
406
- title: "ChatGPT Ads",
407
- eventMeans: "A ChatGPT Ads event \u2014 lead_created, order_created, or a custom name",
408
- eventKind: "name",
409
- credentialFields: ["apiKey"],
410
- setupHint: "Add the Conversions API key to the ChatGPT Ads pixel in Tracking"
411
- },
412
- googleAds: {
413
- title: "Google Ads",
414
- eventMeans: "One of the account's conversion actions, picked from its list",
415
- eventKind: "id",
416
- credentialFields: ["oauthProviderId"],
417
- setupHint: "Connect the Google Ads conversion tag to a Google Ads account in Tracking"
418
- },
419
- linkedinInsightTag: {
420
- title: "LinkedIn",
421
- eventMeans: "The id of a conversion rule in LinkedIn Campaign Manager",
422
- eventKind: "id",
423
- credentialFields: ["oauthProviderId"],
424
- setupHint: "Connect the LinkedIn Insight Tag to a LinkedIn account in Tracking"
425
- },
426
- twitterAds: {
427
- title: "X",
428
- eventMeans: "The event tag id from X Events Manager, like tw-oka17-abc12",
429
- eventKind: "id",
430
- credentialFields: ["oauthProviderId"],
431
- setupHint: "Connect the X pixel to an X Ads account in Tracking"
432
- },
433
- googleAnalytics: {
434
- title: "Google Analytics",
435
- eventMeans: "A GA4 event name \u2014 generate_lead, purchase, or one of your own",
436
- eventKind: "name",
437
- credentialFields: ["apiSecret"],
438
- setupHint: "Add the Measurement Protocol API secret to the Google Analytics tag in Tracking"
439
- }
440
- };
441
- var SEND_ORIGINS = ["server", "website", "any"];
442
- var MAX_SEND_ID = 64;
443
- var MAX_SEND_EVENT_KEY = 320;
444
- function sendEventIsTemplated(event) {
445
- return templateMentions(event).length > 0;
446
- }
447
- function sendEventProblem(platform, event) {
448
- if (!isSendPlatform(platform)) return null;
449
- if (!sendEventIsTemplated(event)) return null;
450
- const spec = SEND_PLATFORM_SPECS[platform];
451
- if (spec.eventKind === "name") return null;
452
- return `${spec.title} identifies a conversion by an id it issued, so it cannot be written from the event. Paste the id; pass what varies as an extra parameter instead.`;
453
- }
454
-
455
- // ../api/src/analytics/peopleSearch.ts
456
- import { z } from "zod";
457
- var PEOPLE_SEARCH_MAX_TERMS = 50;
458
- var VERBATIM_KINDS = [
459
- "browser",
460
- "gclid",
461
- "wbraid",
462
- "gbraid",
463
- "dclid",
464
- "fbclid",
465
- "ttclid",
466
- "twclid",
467
- "li_fat_id",
468
- "msclkid",
469
- "rdt_cid",
470
- "epik",
471
- "sccid",
472
- "oppref",
473
- "fbp",
474
- "fbc"
475
- ];
476
- var PREFIXES = {
477
- email: "email",
478
- mail: "email",
479
- phone: "phone",
480
- tel: "phone",
481
- external: "external",
482
- contact: "external",
483
- hubspot: "external",
484
- id: "external",
485
- deal: "deal",
486
- digest: "digest",
487
- hash: "digest",
488
- browser: "browser",
489
- anon: "browser",
490
- ...Object.fromEntries(VERBATIM_KINDS.map((kind) => [kind, kind]))
491
- };
492
- var TERM_SEPARATORS = /[\n\r\t,;]+/;
493
- var EMAIL_SHAPE = /^[^\s@]+@[^\s@]+$/;
494
- var DIGITS = /^\d+$/;
495
- var INTERNATIONAL_PHONE = /^(\+|00)[\d\s().-]{7,}$/;
496
- var META_COOKIE = /^fb\.\d\./;
497
- function kindOf(value) {
498
- if (EMAIL_SHAPE.test(value)) return "email";
499
- if (isSha256Hex(value)) return "digest";
500
- if (INTERNATIONAL_PHONE.test(value)) return "phone";
501
- if (DIGITS.test(value)) return "number";
502
- if (META_COOKIE.test(value)) return "fbc";
503
- return "key";
504
- }
505
- function readTerm(input) {
506
- const colon = input.indexOf(":");
507
- if (colon > 0) {
508
- const kind = PREFIXES[input.slice(0, colon).trim().toLowerCase()];
509
- const value = input.slice(colon + 1).trim();
510
- if (kind !== void 0 && value !== "") return { input, kind, value };
511
- }
512
- return { input, kind: kindOf(input), value: input };
513
- }
514
- function sameness(term) {
515
- switch (term.kind) {
516
- case "email":
517
- case "phone":
518
- return `${term.kind}|${normalizeIdentity({ kind: term.kind, value: term.value }, 1)?.value ?? term.value}`;
519
- case "external":
520
- case "digest":
521
- return `${term.kind}|${term.value.toLowerCase()}`;
522
- default:
523
- return `${term.kind}|${term.value}`;
524
- }
525
- }
526
- function parsePeopleQuery(text) {
527
- const inputs = (typeof text === "string" ? [text] : text).flatMap((part) => part.split(TERM_SEPARATORS));
528
- const seen = /* @__PURE__ */ new Set();
529
- const terms = [];
530
- for (const raw of inputs) {
531
- const input = raw.trim();
532
- if (input === "") continue;
533
- const term = readTerm(input);
534
- const identity = sameness(term);
535
- if (seen.has(identity)) continue;
536
- seen.add(identity);
537
- terms.push(term);
538
- }
539
- return {
540
- terms: terms.slice(0, PEOPLE_SEARCH_MAX_TERMS),
541
- dropped: Math.max(0, terms.length - PEOPLE_SEARCH_MAX_TERMS)
542
- };
543
- }
544
- var personTermInputSchema = z.string().trim().min(1).max(320);
545
- var peopleSearchInputSchema = z.array(personTermInputSchema).min(1).max(PEOPLE_SEARCH_MAX_TERMS * 4);
546
- var peopleLookupRequestSchema = z.object({ people: peopleSearchInputSchema });
547
- var peopleSearchTermSchema = z.object({
548
- /** Position in the search; what `personTerms` on a feed row points at. */
549
- term: z.number().int(),
550
- input: z.string(),
551
- kind: z.string(),
552
- /**
553
- * Why this line could not be looked up as asked, in the reader's words — a
554
- * deal HubSpot does not know, HubSpot not connected. Empty when it was.
555
- */
556
- problem: z.string().default(""),
557
- /** A deal's contacts, as found in the CRM. Empty for every other kind. */
558
- contacts: z.array(z.string()).default([])
559
- });
560
- var peopleLookupRowSchema = peopleSearchTermSchema.extend({
561
- found: z.boolean(),
562
- events: z.number(),
563
- firstSeen: z.string(),
564
- lastSeen: z.string(),
565
- pageViews: z.number(),
566
- landings: z.number(),
567
- visits: z.number(),
568
- formSubmits: z.number(),
569
- /** What the company's own systems reported about them, by event name — CRM stages, orders. */
570
- systemEvents: z.array(z.string()),
571
- pageEvents: z.array(z.string()),
572
- uploads: z.number(),
573
- uploadedTo: z.array(z.string()),
574
- googleClick: z.boolean(),
575
- metaClick: z.boolean(),
576
- /** `utm_source`, else the referrer, of the first visit Baker saw. Empty when it saw none. */
577
- firstSource: z.string(),
578
- /** Every kind of key they are linked by: `email`, `phone`, `external`, `browser`, a click id. */
579
- knownBy: z.array(z.string())
580
- });
581
- var peopleLookupDataSchema = z.object({
582
- people: z.array(peopleLookupRowSchema),
583
- /** Lines past the limit, not looked up. */
584
- dropped: z.number()
585
- });
586
-
587
- // ../api/src/analytics/sendsWire.ts
588
- import { z as z2 } from "zod";
589
- var conversionSendSchema = z2.object({
590
- /** Stable within the company. `s1`, `s2` — something a person can type. */
591
- id: z2.string().min(1).max(MAX_SEND_ID),
592
- /** The event it sends, by key — `page:<name>`, from `events[]` of a plain read. */
593
- eventKey: z2.string().min(1).max(MAX_SEND_EVENT_KEY),
594
- /** `website` for an event Baker's pixel raised on the company's own site; absent (or `server`) for the API and integrations. */
595
- origin: z2.enum(SEND_ORIGINS).optional(),
596
- platform: z2.enum(SEND_PLATFORMS),
597
- /** The tag's id on Tracking. Must be one of this company's tags of the platform's type, with its server credential set. */
598
- tagId: z2.string().min(1).max(120),
599
- /** A Meta or GA4 event name; a Google Ads conversion action id; a LinkedIn conversion rule id; an X event tag id. */
600
- event: z2.string().min(1).max(255),
601
- /** The LinkedIn ad account the conversion rule belongs to. */
602
- account: z2.string().max(120).optional(),
603
- /** Extra platform parameters: name → template over the event. See `SEND_PARAMETERS[platform]`. */
604
- parameters: z2.record(z2.string().min(1).max(64), z2.string().min(1).max(500)).optional()
605
- });
606
- var sendUploadSchema = z2.object({
607
- sendId: z2.string(),
608
- eventUid: z2.string(),
609
- /** The event's own name, as it was counted. Empty for a Form's submit, which has none. */
610
- eventName: z2.string(),
611
- /** The event's key, as `conversions` spells it — what names a Form's submit. */
612
- eventKey: z2.string(),
613
- /** The Form it happened in, for a `form:` or `submit:` key. */
614
- flowSlug: z2.string(),
615
- /** ISO instant of the event itself. */
616
- eventAt: z2.string(),
617
- /** ISO instant of the upload. */
618
- dispatchedAt: z2.string(),
619
- /** `skipped`: never uploaded, because the event carried nothing the platform can match a person by. */
620
- outcome: z2.enum(["success", "failed", "pending", "skipped"]),
621
- /** The platform's refusal in its own words, or why it was skipped. Empty otherwise. */
622
- error: z2.string(),
623
- sessionId: z2.string(),
624
- anonId: z2.string()
625
- });
626
- var MAX_SENDS_PER_REQUEST = 40;
627
- var sendsRequestSchema = z2.object({
628
- set: z2.array(conversionSendSchema).max(MAX_SENDS_PER_REQUEST).optional(),
629
- remove: z2.array(z2.string().min(1).max(MAX_SEND_ID)).max(MAX_SENDS_PER_REQUEST).optional(),
630
- /** How many days the outcomes beside each send cover. Default 30. */
631
- days: z2.number().int().min(1).max(400).optional(),
632
- /** List one send's uploads over the window, newest first, by the send's id. */
633
- uploads: z2.string().min(1).max(MAX_SEND_ID).optional(),
634
- /** With `uploads`: only the ones the platform refused. */
635
- failedOnly: z2.boolean().optional(),
636
- /** With `uploads`: only the events skipped, with what each was missing. */
637
- skippedOnly: z2.boolean().optional()
638
- });
639
- var sendOutcomeSchema = z2.object({
640
- sendId: z2.string(),
641
- dispatched: z2.number(),
642
- succeeded: z2.number(),
643
- failed: z2.number(),
644
- pending: z2.number(),
645
- lastError: z2.string(),
646
- lastAt: z2.string(),
647
- /** Events not uploaded: they carried nothing this platform can match a person by. */
648
- skipped: z2.number().optional(),
649
- lastSkipReason: z2.string().optional()
650
- });
651
- var sendsResponseSchema = z2.object({
652
- ok: z2.literal(true),
653
- data: z2.object({
654
- /** The company's sends, as they are live. */
655
- sends: z2.array(conversionSendSchema.extend({ outcome: sendOutcomeSchema.optional() })),
656
- /** The ops this chat has staged and not yet published. Absent outside a chat. */
657
- staged: z2.object({
658
- set: z2.array(conversionSendSchema),
659
- remove: z2.array(z2.string())
660
- }).optional(),
661
- /** The platforms, what `event` means on each, what a tag needs on Tracking to send, and the tags that can. */
662
- platforms: z2.array(
663
- z2.object({
664
- platform: z2.string(),
665
- title: z2.string(),
666
- eventMeans: z2.string(),
667
- setupHint: z2.string(),
668
- tags: z2.array(z2.object({ tagId: z2.string(), label: z2.string() })),
669
- /**
670
- * The conversions the platform already holds, by the id a send's `event`
671
- * takes and the name the person gave them. Google Ads only: its `event`
672
- * is an id Google issued, and an id the account does not hold is
673
- * accepted and files against nothing. `label` is the conversion label
674
- * the account's tag setup shows (`AW-…/<label>`) — how the person knows it.
675
- */
676
- conversionActions: z2.array(
677
- z2.object({ id: z2.string(), name: z2.string(), primaryForGoal: z2.boolean(), label: z2.string().optional() })
678
- ).optional()
679
- })
680
- ),
681
- /** Every field a send forwards. Nothing to map. */
682
- carries: z2.array(z2.object({ name: z2.string(), label: z2.string(), group: z2.string(), hashed: z2.boolean() })),
683
- /**
684
- * The events this company's systems raise, so a send can be pointed at
685
- * one: every Source by the key it raises, and every named event the store
686
- * saw arrive from a system.
687
- */
688
- events: z2.array(
689
- z2.object({
690
- eventKey: z2.string(),
691
- /** The event's own name. */
692
- name: z2.string(),
693
- /** `source` for a Source on Sources, `systems` for a name the API posted, `both` when a page sends it too, `website` for a name Baker's pixel sent — a send on it carries `origin: "website"`. */
694
- origin: z2.string(),
695
- /**
696
- * The last 30 days of it: how many arrived, and how many each platform
697
- * could match a person on. The rest would be skipped by a send there.
698
- */
699
- match: z2.object({ events: z2.number(), platforms: z2.record(z2.string(), z2.number()) }).optional()
700
- })
701
- ),
702
- /** What each platform does with extra parameters, and the names it knows. */
703
- parameters: z2.array(
704
- z2.object({
705
- platform: z2.string(),
706
- takes: z2.boolean(),
707
- where: z2.string(),
708
- known: z2.array(z2.string()),
709
- max: z2.number()
710
- })
711
- ),
712
- /** The event fields a parameter template may read, beside `properties.<key>`. */
713
- templateFields: z2.array(z2.object({ name: z2.string(), label: z2.string() })),
714
- /** One send's uploads, when `uploads` named one. */
715
- uploads: z2.object({ sendId: z2.string(), rows: z2.array(sendUploadSchema) }).optional()
716
- }),
717
- hints: z2.array(z2.string()).optional()
718
- });
719
-
720
- // ../api/src/analytics/unstage.ts
721
- import { z as z3 } from "zod";
722
- var ANALYTICS_UNSTAGE_KINDS = ["mapping", "conversion", "send", "source"];
723
- var analyticsUnstageKindSchema = z3.enum(ANALYTICS_UNSTAGE_KINDS);
724
- var analyticsUnstageRequestSchema = z3.object({
725
- chatId: z3.string().min(1),
726
- kind: analyticsUnstageKindSchema.optional(),
727
- ref: z3.string().min(1).optional(),
728
- /** Everything staged — of `kind` when given, of every kind otherwise. */
729
- all: z3.boolean().optional()
730
- }).refine((body) => body.all === true ? body.ref === void 0 : body.kind !== void 0 && body.ref !== void 0, {
731
- message: "Pass --kind with --ref to take back one staged change, or --all (optionally with --kind) to take back everything staged."
732
- });
733
- var analyticsUnstageResponseSchema = z3.object({
734
- ok: z3.literal(true),
735
- data: z3.object({
736
- /** How many staged changes were taken back, per kind touched. */
737
- removed: z3.partialRecord(analyticsUnstageKindSchema, z3.number().int().min(0))
738
- }),
739
- hints: z3.array(z3.string()).optional()
740
- });
741
-
742
- // ../api/src/analytics/wire.ts
743
- import { z as z4 } from "zod";
744
-
745
- // ../api/src/analytics/conversions.ts
746
- var CONVERSION_COUNT_MODES = ["once_per_visit", "every_time"];
747
- var PRIMARY_CONVERSION_TRIGGER = {
748
- calendly: "calendlyEvent.eventScheduled",
749
- customForm: "customForm.onFormSubmitted",
750
- highlevel: "highlevelEvent.appointmentScheduled",
751
- highlevelForm: "highlevelFormEvent.formSubmitted",
752
- hubspot: "hubspotForm.onFormSubmitted",
753
- hubspotMeeting: "hubspotMeeting.onMeetingScheduled",
754
- link: "link.onClick",
755
- savvycal: "savvycalEvent.scheduled",
756
- text: "text.onButtonClicked"
757
- };
758
- var NON_SUBMIT_NODE_TYPES = ["link", "text"];
759
- var STEP_SUBMIT_TRIGGERS = Object.fromEntries(
760
- Object.entries(PRIMARY_CONVERSION_TRIGGER).filter(([nodeType]) => !NON_SUBMIT_NODE_TYPES.includes(nodeType))
761
- );
762
- var MAX_CONVERSION_NAME = 80;
763
-
764
- // ../api/src/analytics/submissionAnswers.ts
765
- var MAX_ANSWER_CHARS = 16384;
766
- var MAX_ANSWER_NAME_CHARS = 120;
767
- var TRUNCATED = "\u2026";
768
- function cutToLength(value, max) {
769
- if (value.length <= max) return value;
770
- return `${[...value].slice(0, max - 1).join("")}${TRUNCATED}`;
771
- }
772
- function boundSubmissionAnswers(answers) {
773
- const kept = {};
774
- for (const [name, value] of Object.entries(answers)) {
775
- kept[cutToLength(name, MAX_ANSWER_NAME_CHARS)] = cutToLength(value, MAX_ANSWER_CHARS);
776
- }
777
- return kept;
778
- }
779
-
780
- // ../api/src/analytics/wire.ts
781
- var SEND_FILTERS = ["any", "failed", "skipped"];
782
- var adParamRoleSchema = z4.enum(AD_PARAM_ROLES);
783
- var ANALYTICS_MAX_PAGE_SIZE = 200;
784
- var ANALYTICS_MAX_PAGE = 500;
785
- function isResolvableTimeZone(value) {
786
- try {
787
- new Intl.DateTimeFormat("en-US", { timeZone: value });
788
- return true;
789
- } catch {
790
- return false;
791
- }
792
- }
793
- var analyticsPresetSchema = z4.enum([
794
- /** Everything that matters in one call — the default entry point. */
795
- "overview",
796
- /** Traffic shape: trend, sources, geo, device. */
797
- "traffic",
798
- /** Per-step drop-off for the company's Forms. */
799
- "funnel",
800
- /**
801
- * One Form in depth: its steps, where people went between them, and how many
802
- * converted at the node that actually produced the conversion.
803
- *
804
- * Distinct from `funnel`, which is a per-step table across every Form.
805
- * A Form with branches is not a table — a visitor who leaves step two for
806
- * the booking branch and a visitor who leaves it for nothing are the same
807
- * row there, and they are the whole question. `paths` returns the edges
808
- * between steps, which is what a Sankey draws.
809
- */
810
- "flow",
811
- /** One page in detail. */
812
- "page",
813
- /**
814
- * Every Form trigger that fired, and how much of it produced a side effect.
815
- *
816
- * Separate from `funnel` because it answers a different question: the funnel
817
- * measures the steps a visitor walked, this measures the things they *did* —
818
- * clicking the link that redirects them out, an embedded checkout posting
819
- * back — most of which have nothing configured against them and none of
820
- * which appear as a step.
821
- */
822
- "triggers",
823
- /** What each published build did, so a change can be attributed to a publish. */
824
- "releases",
825
- /**
826
- * One ad dimension broken down, plus what is actually on the URLs.
827
- *
828
- * Answers the question the ad platform cannot: not how many clicks a keyword
829
- * bought, but whether the people it brought read the page, filled the Form
830
- * or left immediately. Pair it with `adRole` to choose the dimension; the
831
- * parameter inventory comes back either way, because on a half-tagged
832
- * account "there is no keyword on 80% of your paid traffic" is the finding.
833
- */
834
- "ads",
835
- /**
836
- * Every landing side by side: traffic, entrances, conversion rate, and a
837
- * sparkline each, joined to the landing's real name and tags.
838
- *
839
- * The list view. `page` answers one page in depth and needs to be told which
840
- * one; this answers "which of my pages is working" without knowing the
841
- * answer first, and is what a landings screen renders.
842
- */
843
- "landings",
844
- /**
845
- * The same numbers grouped by the tag a landing is filed under.
846
- *
847
- * The unit a campaign is actually run at. Nobody asks how `/pricing-b` did;
848
- * they ask how the September push did, and September was six landings.
849
- */
850
- "tags",
851
- /**
852
- * Events a page defined for itself — a section seen, a video played, a
853
- * pricing toggle flipped.
854
- *
855
- * Separate from every other preset because the vocabulary is the page's
856
- * rather than the product's. Mixing them into `traffic` would produce a list
857
- * half of which the reader has to already know is bespoke.
858
- */
859
- "events",
860
- /**
861
- * Browser, OS, engine and viewport of real visitors.
862
- *
863
- * `traffic` reports the device family, which is enough to notice that mobile
864
- * converts worse and not enough to do anything about it. This is narrow
865
- * enough to reproduce a bug on.
866
- */
867
- "devices",
868
- /**
869
- * Paid acquisition, grouped the way money is spent.
870
- *
871
- * Distinct from `traffic` in two ways that matter. It groups by SESSION, so a
872
- * visitor counts once for the campaign they arrived on rather than once per
873
- * page they read. And it reports leads that were actually DELIVERED, not
874
- * `form_submit` events — a campaign whose forms all submit and whose CRM is
875
- * rejecting every one of them reads as converting perfectly on every other
876
- * preset here, and reads as zero delivered on this one.
877
- */
878
- "paid",
879
- /**
880
- * Where each submission actually went, and what each destination made of it.
881
- *
882
- * The preset for "I filled in the form, where is my lead?". One row per
883
- * submission listing every destination, its outcome, and the id the
884
- * destination gave the record it created — which is what turns "it says
885
- * success" into something a client can open and check.
886
- */
887
- "delivery",
888
- /**
889
- * Every attempt anybody made at a Form, delivered or not.
890
- *
891
- * The wider companion to `delivery`, and the one that answers "I filled in
892
- * my own form, where is it?" honestly. `delivery` starts from the dispatch,
893
- * so a Form wired to no destination produces no row in it at all — which is
894
- * correct for "what did we hand to their CRM" and reads as data loss to
895
- * everybody else. The grain here is the attempt: one visitor, one Form, one
896
- * visit, whether they finished, gave up halfway, or completed a Form that
897
- * sends nowhere.
898
- */
899
- "submissions",
900
- /**
901
- * Where the people who convert actually are, at whatever resolution is asked
902
- * for.
903
- *
904
- * `traffic` breaks acquisition down by country, which is the right grain for
905
- * "which market is this campaign working in" and the wrong one for every
906
- * decision a local advertiser makes. A dentist buying a five-mile radius or a
907
- * franchise choosing where to open is asking about postcodes, which is also
908
- * how the ad platforms sell that targeting.
909
- */
910
- "geo",
911
- /**
912
- * Which machines are fetching this site.
913
- *
914
- * Every other preset here excludes them, which is correct — a crawler is not
915
- * an audience — and a verify check now enforces that rather than trusting it. The rows are kept, though, and this is what
916
- * they are kept for: whether Google is still crawling a page that was
917
- * republished, whether Meta fetched the link preview before spend went
918
- * behind the URL, and how much of the traffic is now AI answer engines.
919
- */
920
- "bots",
921
- /**
922
- * One visit, replayed end to end — and every visit the same person made
923
- * before it.
924
- *
925
- * The only preset that answers about a *person* rather than a population.
926
- * Every other report here aggregates, which is the right shape for "is the
927
- * campaign working" and useless for the question a marketer asks the moment
928
- * a lead arrives: who was this, where did they come from, what did they read,
929
- * and did their details reach the CRM. Answering that from an aggregate is
930
- * impossible by construction.
931
- *
932
- * Needs `sessionId`. Give `identityHash` as well and it also returns the
933
- * person's earlier visits, including the anonymous ones from before they ever
934
- * identified themselves — which is the difference between "converted on the
935
- * first visit" and "converted on the fourth", two very different businesses.
936
- */
937
- "session",
938
- /**
939
- * Everybody who visited, one row per person — converted or not.
940
- *
941
- * The unit here is a *person*, which no other preset has. `traffic` counts
942
- * visitors and cannot name one; `delivery` names the ones who became a lead
943
- * and is silent about the ninety-odd percent who did not; `session` describes
944
- * one visit and has to be told which. This is the list those are read from.
945
- *
946
- * Grouped by browser cookie, so somebody who came back on Wednesday is one
947
- * row and not two. Pass `onlyConverted` for the converted-only cut, and
948
- * `landingId` to ask who visited one page.
949
- *
950
- * Not offered as a `baker analytics` preset, for the same reason `realtime`
951
- * is not: it answers about individuals, and an agent writing a client report
952
- * should be reading the population.
953
- */
954
- "people",
955
- /**
956
- * Who is on the site right now.
957
- *
958
- * The only preset measured from `now()` rather than over a date window, and
959
- * the only one meant to be polled. Kept out of `overview` for exactly that
960
- * reason: a live counter has to refresh every few seconds and the rest of the
961
- * page must not refetch with it.
962
- *
963
- * Deliberately not offered as a `baker analytics` preset. The sandbox agent
964
- * works asynchronously — by the time it reads an answer, "the last five
965
- * minutes" names a window that has passed — so the only thing listing it
966
- * would do is add a choice the agent can never usefully pick to the menu it
967
- * reads before picking one.
968
- */
969
- "realtime",
970
- /**
971
- * What this company counts as a conversion, and everything it could count.
972
- *
973
- * The two halves of one question, which is why they are one preset: the list
974
- * of definitions with what each produced, and the catalogue of every event
975
- * these pages actually emitted with whether it is already counted. Reading
976
- * the first without the second is how the previous design failed — a
977
- * marketer could see that nothing was counted and had no way to find out what
978
- * was available to count.
979
- */
980
- "conversions",
981
- /**
982
- * Every event as it was stored, newest first — the one preset that does not
983
- * reduce.
984
- *
985
- * Deliberately not offered as a `baker analytics` preset. It is the raw feed
986
- * a person watches while wiring something up, and an agent asked to describe
987
- * an account wants the counts rather than the tape.
988
- */
989
- "stream"
990
- ]);
991
- var ANALYTICS_PRESETS = analyticsPresetSchema.options;
992
- var ANALYTICS_EVENT_DOORS = ["pages", "website", "server", "integrations"];
993
- var analyticsQueryRequestSchema = z4.object({
994
- preset: analyticsPresetSchema,
995
- /** Lookback in days. Ignored when `startDate` is given. */
996
- days: z4.coerce.number().int().positive().max(400).optional(),
997
- startDate: z4.iso.date().optional(),
998
- endDate: z4.iso.date().optional(),
999
- /** Required by the `page` preset; ignored by the others. */
1000
- path: z4.string().max(1024).optional(),
1001
- /** Narrows `funnel` to one Form. Omitted means every Form. */
1002
- flowSlug: z4.string().max(120).optional(),
1003
- /**
1004
- * How far down the `geo` preset looks. Ignored by every other preset.
1005
- *
1006
- * A closed set rather than a column name, because it names a column and a
1007
- * column name taken from a request must never reach the SQL.
1008
- */
1009
- grain: z4.enum(["country", "region", "city", "postal_code", "metro_code"]).optional(),
1010
- /**
1011
- * Narrows `geo` to one country before going finer.
1012
- *
1013
- * Not optional decoration below country level: postcodes collide across
1014
- * markets, so a bare `28001` is a Madrid postcode and a US ZIP at once.
1015
- */
1016
- country: z4.string().max(8).optional(),
1017
- /**
1018
- * Which ad dimension to break down by, or to narrow every other report to.
1019
- *
1020
- * A role from the closed vocabulary — `keyword`, `match_type`,
1021
- * `campaign_id` — never a raw parameter name. The company's own spellings
1022
- * are resolved from its mapping server-side, so a caller asking for
1023
- * "keyword" gets `kw` rows from before a rename as well as `keyword` rows
1024
- * after it, and no request can name a column.
1025
- */
1026
- adRole: adParamRoleSchema.optional(),
1027
- /**
1028
- * Narrows to one value of `adRole`. Requires `adRole`.
1029
- *
1030
- * An empty string with `adRole` set is a real query — "arrived carrying
1031
- * none of these" — which is how you size the untagged half of an account.
1032
- * Omit both to leave the report unnarrowed.
1033
- */
1034
- adValue: z4.string().max(255).optional(),
1035
- /**
1036
- * Read this report in one ad platform's vocabulary, and from its traffic.
1037
- *
1038
- * Two effects, and they belong together. A role resolves against the
1039
- * mapping in force for that platform — so `cid` is TikTok's ad here and
1040
- * nobody's campaign — and the report narrows to the sessions that arrived
1041
- * from it, matched on the click id the platform stamps and, failing that,
1042
- * on `utm_source`. Asking a platform's question of another platform's
1043
- * traffic is how a keyword report ends up counting Meta visits that could
1044
- * not have carried a keyword.
1045
- *
1046
- * Omit it for the union across every platform, which is the honest
1047
- * superset and the right default for "how is paid doing".
1048
- */
1049
- adPlatform: z4.enum(AD_PLATFORMS).optional(),
1050
- /**
1051
- * Read only what came in by one door. See {@link ANALYTICS_EVENT_DOORS}.
1052
- *
1053
- * Omit it for all of it, which is the default and the honest superset.
1054
- * Only the reads where the split is a question somebody asks honour it —
1055
- * the totals, the trend, the two page-event reads, the conversion
1056
- * breakdown and the events catalogue. A session-scoped report cannot: an
1057
- * ingest row carries no `session_id`, deliberately, so there is no visit
1058
- * for it to be counted in.
1059
- */
1060
- eventOrigin: z4.enum(ANALYTICS_EVENT_DOORS).optional(),
1061
- /**
1062
- * `stream` only: keep just one kind of event, named by the key
1063
- * `conversions` hands back in its catalogue.
1064
- *
1065
- * The key rather than `eventName`, because three of the four families have
1066
- * no name of their own — a Form's trigger, a submit, an outbound click —
1067
- * and a filter that could only name the fourth would be a filter that hides
1068
- * most of the feed from itself.
1069
- */
1070
- eventKey: z4.string().optional(),
1071
- /**
1072
- * `stream` only: keep just what one source sent, by the source's name —
1073
- * the `baker_source` every event from an address or a HubSpot read
1074
- * carries. Names come from `baker analytics sources`.
1075
- */
1076
- sourceName: z4.string().optional(),
1077
- /**
1078
- * `stream` only: keep just the uploads a conversion's sends made —
1079
- * `any` for every upload, `failed` for the ones the platform refused.
1080
- */
1081
- sends: z4.enum(SEND_FILTERS).optional(),
1082
- /** `stream` only: keep just the uploads one send made, by its id (`s1`). */
1083
- sendId: z4.string().optional(),
1084
- /** `stream` only: keep what went to one destination (`meta`, `httpWebhook`) — a Form's deliveries and sends' uploads alike. */
1085
- sentTo: z4.string().max(64).optional(),
1086
- /** `stream` only: one event by its uid, and every upload made for it — with the platform's verdict on each. */
1087
- eventUid: z4.string().optional(),
1088
- /** Return the long breakdowns and the per-day trend. */
1089
- full: z4.boolean().optional(),
1090
- /**
1091
- * IANA zone the day boundaries are drawn in. Defaults to UTC.
1092
- *
1093
- * Not cosmetic. Bucketing a Madrid client's traffic by UTC days moves two
1094
- * hours of every evening into the following day, so "Tuesday" is not
1095
- * Tuesday and a day-of-week comparison is wrong by however much traffic
1096
- * arrives after 22:00 — which on a consumer landing is a lot of it.
1097
- *
1098
- * Validated against the platform's own zone database rather than an enum,
1099
- * because the list is the platform's and not ours — but validated it must
1100
- * be. The zone is substituted into the query as a string literal and
1101
- * ClickHouse rejects one it cannot resolve, so an unrecognised zone used to
1102
- * fail the whole report as an INTERNAL_ERROR with nothing naming the cause.
1103
- *
1104
- * Rejected rather than quietly defaulted to UTC. A silent fallback returns
1105
- * a report that looks like the one that was asked for and is bucketed on
1106
- * different days, which is the exact error this parameter exists to
1107
- * prevent — better to say the zone is unknown than to answer for the wrong
1108
- * one.
1109
- */
1110
- timezone: z4.string().max(64).refine(isResolvableTimeZone, { message: "Unknown timezone \u2014 pass an IANA zone such as Europe/Madrid" }).optional(),
1111
- /**
1112
- * How wide one point of a series is.
1113
- *
1114
- * Chosen by the caller rather than derived from the window, because the
1115
- * caller knows what it is drawing: the same 30 days is 30 points on a
1116
- * dashboard and 4 on a slide. A 24-hour window at `day` granularity is one
1117
- * bar, which is the shape this exists to prevent.
1118
- */
1119
- granularity: z4.enum(["hour", "day", "week", "month"]).optional(),
1120
- /**
1121
- * Narrow to one landing by its `internalId`.
1122
- *
1123
- * The reference where `path` is a description: it survives the page being
1124
- * renamed or moved, which is exactly when a before-and-after comparison
1125
- * matters most and is exactly when `path` stops matching.
1126
- */
1127
- landingId: z4.string().max(120).optional(),
1128
- /** Narrows `landings` to the landings carrying one tag. */
1129
- tag: z4.string().max(32).optional(),
1130
- /**
1131
- * Which visit the `session` preset replays.
1132
- *
1133
- * Ignored by every other preset. Not a filter on the aggregates: narrowing
1134
- * a population report to one visitor produces numbers that are individually
1135
- * true and collectively meaningless.
1136
- */
1137
- sessionId: z4.string().max(120).optional(),
1138
- /**
1139
- * Whose earlier visits to resolve, as a lowercase hex digest.
1140
- *
1141
- * A digest and never an address: the identity a page sends is hashed in the
1142
- * browser, and nothing downstream of that ever holds the original.
1143
- */
1144
- identityHash: z4.string().max(128).optional(),
1145
- /** Which page-defined event the `events` preset breaks down. */
1146
- eventName: z4.string().max(120).optional(),
1147
- /** Which of that event's own properties to break it down by. */
1148
- property: z4.string().max(64).optional(),
1149
- /**
1150
- * Narrow the breakdown to the rows carrying one property value.
1151
- *
1152
- * Not the same as breaking down by a second key. Video is the case that
1153
- * demanded it: every milestone carries `autoplay`, and the retention curve
1154
- * of the videos a visitor chose to play is a different curve from the one a
1155
- * muted hero produces by playing to nobody. Grouping gives the two totals;
1156
- * only filtering gives either curve.
1157
- */
1158
- where: z4.object({ property: z4.string().max(64), value: z4.string().max(120) }).optional(),
1159
- /**
1160
- * An ordered funnel over page-defined event names.
1161
- *
1162
- * Data rather than schema, deliberately: defining a new funnel is a
1163
- * parameter on a request, not a migration and a deploy. The order is the
1164
- * caller's and is enforced — a session counts at step N only if it produced
1165
- * step N after step N-1, or "saw pricing then clicked demo" and the reverse
1166
- * would be the same number.
1167
- */
1168
- steps: z4.array(z4.string().max(120)).max(10).optional(),
1169
- /**
1170
- * Also return the immediately preceding window of the same length.
1171
- *
1172
- * The first question anyone asks of a number is "compared to what". Served
1173
- * as a second full totals read rather than a delta computed in SQL, so the
1174
- * comparison window is described in the response and a caller can render
1175
- * either side of it.
1176
- */
1177
- compare: z4.boolean().optional(),
1178
- /** `devices` only: which facet to group on. */
1179
- deviceGrain: z4.enum(["browser", "os", "engine", "device", "viewport"]).optional(),
1180
- /**
1181
- * One browser, by its cookie id.
1182
- *
1183
- * Narrows `people` to a single person, narrows `stream` to everything
1184
- * that person did, and replays that person's whole history on `session` —
1185
- * every visit they made, not just the one. Given with `sessionId`, the
1186
- * session wins and this is ignored.
1187
- *
1188
- * On `stream` it is a seed rather than a cookie filter: the browser plus
1189
- * every address, phone, click id and platform cookie ever seen beside it.
1190
- * Filtering on the cookie alone would drop exactly the rows the reader
1191
- * came for — a deal a CRM posted names the person and carries no cookie.
1192
- */
1193
- anonId: z4.string().max(120).optional(),
1194
- /**
1195
- * `stream` and `session`: one person by any key the store recognises them
1196
- * by — a contact digest, a CRM id, a click id, a platform cookie — for the
1197
- * rows a system posted about somebody no browser has named yet. A browser
1198
- * wins when both are given.
1199
- */
1200
- personKind: z4.string().max(40).optional(),
1201
- personValue: z4.string().max(255).optional(),
1202
- /**
1203
- * `stream` only: several people, each by whatever the reader holds about
1204
- * them — an email, a phone, a CRM contact or deal id, a click id, a browser
1205
- * id, `kind:value` to say which. Emails and phones are hashed by the
1206
- * server; the plaintext never reaches the store. Wins over the single
1207
- * person above, and every row comes back naming which of these it is
1208
- * (`personTerms`), with how each was read in `peopleSearch`.
1209
- */
1210
- people: peopleSearchInputSchema.optional(),
1211
- /**
1212
- * `people` only: keep only the visitors who converted.
1213
- *
1214
- * A parameter rather than a client-side filter because the list is capped:
1215
- * filtering the most recent 200 visitors down to the ones who converted
1216
- * usually leaves two, and reads as "we had two leads".
1217
- */
1218
- onlyConverted: z4.boolean().optional(),
1219
- /**
1220
- * Which page of a list-shaped report to read, 1-based.
1221
- *
1222
- * Only three reports are lists of individual things rather than
1223
- * breakdowns — `people`, `submissions` and `delivery` — and only those
1224
- * three take this. A breakdown is a top-N by construction: page two of
1225
- * "your busiest countries" is not a thing anybody wants.
1226
- *
1227
- * It exists because the alternative silently stopped being true. Every one
1228
- * of those lists was capped, the cap was invisible, and the summary line
1229
- * above the list counted the rows it had been handed — so an account with
1230
- * four thousand visitors read "200 people visited in this period" with no
1231
- * indication that the number was the cap talking. A cap that is reported is
1232
- * a page; a cap that is not is a wrong answer.
1233
- */
1234
- page: z4.coerce.number().int().min(1).max(ANALYTICS_MAX_PAGE).optional(),
1235
- /**
1236
- * How many rows one page holds. Bounded, because the reader is a browser.
1237
- *
1238
- * Omitted, a list keeps the size it had before pagination existed, which is
1239
- * what keeps `baker analytics submissions --full` returning the same 800
1240
- * rows it always did for an agent that reads the whole thing in one go.
1241
- */
1242
- pageSize: z4.coerce.number().int().min(1).max(ANALYTICS_MAX_PAGE_SIZE).optional()
1243
- }).refine((value) => value.preset !== "page" || typeof value.path === "string", {
1244
- message: "The 'page' preset needs --path",
1245
- path: ["path"]
1246
- }).refine(
1247
- (value) => value.preset !== "session" || typeof value.sessionId === "string" || typeof value.anonId === "string" || typeof value.personValue === "string",
1248
- {
1249
- message: "The 'session' preset needs --session, a browser id or a person key",
1250
- path: ["sessionId"]
1251
- }
1252
- ).refine((value) => value.property === void 0 || typeof value.eventName === "string", {
1253
- message: "Breaking an event down by a property needs --event too",
1254
- path: ["property"]
1255
- }).refine((value) => value.where === void 0 || typeof value.property === "string", {
1256
- message: "Narrowing with --where needs --event and --property too",
1257
- path: ["where"]
1258
- });
1259
- var analyticsWindowSchema = z4.object({
1260
- startDate: z4.iso.date(),
1261
- endDate: z4.iso.date(),
1262
- days: z4.number().int().positive(),
1263
- /** True when the window reaches past the datasource TTL, so part of it is simply gone. */
1264
- beyondRetention: z4.boolean()
1265
- });
1266
- var analyticsTotalsSchema = z4.object({
1267
- /** Counted from `visitor_new`. */
1268
- visitors: z4.number().int().nonnegative(),
1269
- /** Counted from `session_start`. */
1270
- sessions: z4.number().int().nonnegative(),
1271
- pageViews: z4.number().int().nonnegative(),
1272
- /**
1273
- * Every conversion, counting a visit twice when it converted twice.
1274
- *
1275
- * A Form's author can mark an outcome as counting every time it happens — a
1276
- * download, a repeatable action — so this legitimately runs ahead of
1277
- * {@link convertingSessions}, and of `sessions`.
1278
- */
1279
- conversions: z4.number().int().nonnegative(),
1280
- /**
1281
- * Conversions in the window that no landing earned — by people none of the
1282
- * company's pages saw. Not in `conversions`, which is a page metric; shown
1283
- * beside it so a deal a CRM reported is never a silent zero. Zero under any
1284
- * scope.
1285
- */
1286
- unplacedConversions: z4.number().int().nonnegative().default(0),
1287
- /** Visits that produced at least one conversion. Never above `sessions`. */
1288
- convertingSessions: z4.number().int().nonnegative(),
1289
- /**
1290
- * Converting visits per visit, 0–1. Null when there were no visits.
1291
- *
1292
- * Over converting visits rather than over conversions, because the second
1293
- * ratio passes 1 the moment one visit converts twice — and a headline card
1294
- * reading "125%" is read as a broken report, not as a visitor who did the
1295
- * thing twice. The count above still says how often it happened.
1296
- */
1297
- conversionRate: z4.number().min(0).max(1).nullable(),
1298
- avgEngagementMs: z4.number().nonnegative().nullable(),
1299
- /** Page views per session. At or near 1 means visitors leave from the page they land on. */
1300
- pagesPerSession: z4.number().nonnegative().nullable()
1301
- });
1302
- var analyticsTrendPointSchema = z4.object({
1303
- /**
1304
- * The bucket's start, as an ISO instant.
1305
- *
1306
- * A full instant rather than a date, because a series is no longer always
1307
- * daily: at `hour` granularity `2026-08-22` names twenty-four points, and at
1308
- * `month` it names one that started three weeks earlier. It is also now
1309
- * timezone-aware, so the same instant is a different calendar day depending
1310
- * on the zone the caller asked for — which a bare `YYYY-MM-DD` cannot
1311
- * express without silently choosing one.
1312
- */
1313
- bucket: z4.string(),
1314
- visitors: z4.number().int().nonnegative(),
1315
- sessions: z4.number().int().nonnegative(),
1316
- pageViews: z4.number().int().nonnegative(),
1317
- conversions: z4.number().int().nonnegative()
1318
- });
1319
- var analyticsLandingRowSchema = z4.object({
1320
- /** The landing's `internalId` — the reference every event carries. */
1321
- landingId: z4.string(),
1322
- /** The Convex `landings._id`, so a dashboard can link straight to the row. */
1323
- landingRef: z4.string(),
1324
- /**
1325
- * What a person calls it, or `""` when the dimension has not been mirrored
1326
- * yet.
1327
- *
1328
- * Empty is a real and temporary state — a landing published before the
1329
- * mirror existed, or one whose sync has not run — and it is reported rather
1330
- * than papered over with the id, so a caller can say "not synced yet"
1331
- * instead of showing something that looks like a name and is not.
1332
- */
1333
- name: z4.string(),
1334
- slug: z4.string(),
1335
- tags: z4.array(z4.string()),
1336
- views: z4.number().int().nonnegative(),
1337
- sessions: z4.number().int().nonnegative(),
1338
- /** Sessions that BEGAN here — the page's Visits on screen, summing to the headline, and its rate's denominator. */
1339
- entrances: z4.number().int().nonnegative(),
1340
- visitors: z4.number().int().nonnegative(),
1341
- /**
1342
- * Conversions that fired ON this landing — rarely the number to show.
1343
- *
1344
- * A landing's outcome usually happens somewhere else: the client's checkout,
1345
- * their shop, a CRM days later. None of those rows carries a landing id, so
1346
- * this reads 0 for a page whose visits convert reliably.
1347
- */
1348
- conversions: z4.number().int().nonnegative(),
1349
- /** Visits that converted on this page at least once. */
1350
- convertingSessions: z4.number().int().nonnegative(),
1351
- /**
1352
- * Conversions this landing led to — what the page is bought for.
1353
- *
1354
- * The landing rule: a conversion on the page, or anywhere else when this was
1355
- * the last landing its person viewed, up to 90 days before. So it includes
1356
- * the sale a returning visitor made next week and the deal a CRM posted with
1357
- * no cookie at all, and the landings add up to the headline.
1358
- */
1359
- creditedConversions: z4.number().int().nonnegative(),
1360
- /** People whose conversions are credited here. */
1361
- creditedVisitors: z4.number().int().nonnegative(),
1362
- /** Visits credited at least one conversion here — the rate's numerator. */
1363
- creditedVisits: z4.number().int().nonnegative(),
1364
- outboundClicks: z4.number().int().nonnegative(),
1365
- /**
1366
- * `creditedVisits` over `entrances`, capped at 1 — the headline's converted
1367
- * visits over visits, for one page, so the rows add up to the headline.
1368
- * Null when no visit started here.
1369
- *
1370
- * Converting visits, not conversions: see {@link analyticsTotalsSchema}.
1371
- */
1372
- conversionRate: z4.number().min(0).max(1).nullable(),
1373
- avgEngagementMs: z4.number().nonnegative().nullable(),
1374
- /**
1375
- * Views per bucket, zero-filled against the same axis every other landing
1376
- * in the response uses — so the arrays are the same length and can be drawn
1377
- * side by side without asking what each element means.
1378
- */
1379
- sparkline: z4.array(z4.number().int().nonnegative()),
1380
- /**
1381
- * The ad platforms actually sending this page traffic — `google`, `meta`,
1382
- * `linkedin`, `tiktok`, `x`, `microsoft`.
1383
- *
1384
- * Derived from the click ids a visit arrived with, never from `utm_source`:
1385
- * a label is whatever somebody typed into a tracking template, a `gclid` is a
1386
- * click. Ordered by traffic, busiest first.
1387
- */
1388
- channels: z4.array(z4.string()),
1389
- /**
1390
- * Visits that started on the page, per entry of {@link channels}, in the
1391
- * same order — so a page's marks add up to its share of Ads → Audience.
1392
- *
1393
- * The half that makes a mark readable. A mark on its own says "advertised
1394
- * here", which is why it used to be withheld until three visits had arrived —
1395
- * and withholding it is what made a page whose whole day was five Meta clicks
1396
- * show nothing at all. The count says how much, so one test click and a live
1397
- * campaign are distinguishable by reading rather than by absence.
1398
- */
1399
- channelSessions: z4.array(z4.number().int().nonnegative())
1400
- });
1401
- var analyticsTagRowSchema = z4.object({
1402
- tag: z4.string(),
1403
- landings: z4.number().int().nonnegative(),
1404
- views: z4.number().int().nonnegative(),
1405
- sessions: z4.number().int().nonnegative(),
1406
- entrances: z4.number().int().nonnegative(),
1407
- conversions: z4.number().int().nonnegative(),
1408
- /** Visits that converted on one of this tag's pages. */
1409
- convertingSessions: z4.number().int().nonnegative(),
1410
- /** Converting visits per entrance. */
1411
- conversionRate: z4.number().min(0).max(1).nullable()
1412
- });
1413
- var ANALYTICS_EVENT_ORIGINS = ["site", "systems", "both"];
1414
- var analyticsCustomEventRowSchema = z4.object({
1415
- eventName: z4.string(),
1416
- events: z4.number().int().nonnegative(),
1417
- sessions: z4.number().int().nonnegative(),
1418
- visitors: z4.number().int().nonnegative(),
1419
- /**
1420
- * The property keys this event carries.
1421
- *
1422
- * The keys, not the values: a caller has to know what it can break the event
1423
- * down BY before it can ask, and the values are unbounded where the keys are
1424
- * capped. This is what lets a dashboard offer the breakdown without the
1425
- * reader already knowing what the page chose to record.
1426
- */
1427
- propertyKeys: z4.array(z4.string()),
1428
- /**
1429
- * What these events were worth, per currency.
1430
- *
1431
- * A map and never one number, for the reason the person card's `money` is
1432
- * one: a name carrying 99,882.50 EUR and 1,000 USD is not worth 100,882.50
1433
- * of anything, and there is no rate in this product to make it so.
1434
- *
1435
- * The `''` key is a value a *page* reported — `value` with no currency,
1436
- * which is a score on the page's own terms rather than money. Kept rather
1437
- * than dropped, because for those events it is the only number there is.
1438
- */
1439
- money: z4.record(z4.string(), z4.number()).default({}),
1440
- landings: z4.array(z4.string()),
1441
- /** Which collector produced this name — and `both` when more than one did. */
1442
- origin: z4.enum(ANALYTICS_EVENT_ORIGINS)
1443
- });
1444
- var analyticsEventBreakdownRowSchema = z4.object({
1445
- value: z4.string(),
1446
- events: z4.number().int().nonnegative(),
1447
- sessions: z4.number().int().nonnegative(),
1448
- /** Per currency, exactly as {@link analyticsCustomEventRowSchema.money}. */
1449
- money: z4.record(z4.string(), z4.number()).default({})
1450
- });
1451
- var analyticsCustomFunnelStepSchema = z4.object({
1452
- stepIndex: z4.number().int().positive(),
1453
- stepName: z4.string(),
1454
- sessions: z4.number().int().nonnegative(),
1455
- /** Share of the sessions that reached the previous step. Null on the first. */
1456
- stepRate: z4.number().min(0).max(1).nullable(),
1457
- /** Share of the sessions that reached step one. Null on the first. */
1458
- overallRate: z4.number().min(0).max(1).nullable()
1459
- });
1460
- var analyticsDeviceRowSchema = z4.object({
1461
- /** The bucket label — `Chrome 120.0`, `iOS 17.4`, `380–767`. */
1462
- bucket: z4.string(),
1463
- sessions: z4.number().int().nonnegative(),
1464
- pageViews: z4.number().int().nonnegative(),
1465
- convertingSessions: z4.number().int().nonnegative(),
1466
- conversions: z4.number().int().nonnegative(),
1467
- /**
1468
- * Converting sessions over sessions.
1469
- *
1470
- * Over sessions rather than conversions over sessions, because one session
1471
- * can submit twice and a rate above 1 in a browser-comparison table reads as
1472
- * a bug in the report rather than as a visitor who filled two forms.
1473
- */
1474
- conversionRate: z4.number().min(0).max(1).nullable(),
1475
- avgEngagementMs: z4.number().nonnegative().nullable()
1476
- });
1477
- var analyticsPageRowSchema = z4.object({
1478
- path: z4.string(),
1479
- /**
1480
- * The landing's own `internalId`, straight out of its `_definition.md`.
1481
- *
1482
- * The path says where the page is; this says which page it is, so a number
1483
- * here lines up with a file the agent can open — and with the same page after
1484
- * it has been renamed, which the path does not. Empty for a path with no
1485
- * landing behind it.
1486
- */
1487
- landingId: z4.string(),
1488
- pageViews: z4.number().int().nonnegative(),
1489
- /** Sessions that began on this page — its value as a landing page. */
1490
- entrances: z4.number().int().nonnegative(),
1491
- /**
1492
- * Conversions that fired ON this page — "which page converts".
1493
- *
1494
- * Almost never the number to put beside Entrances. A landing page's job is to
1495
- * start a visit that converts, and the conversion is usually somewhere else:
1496
- * the shop, the checkout, a CRM a week later. Read alone this makes every
1497
- * landing page of a real funnel report zero.
1498
- */
1499
- conversions: z4.number().int().nonnegative(),
1500
- /** Visits that converted on this page at least once. */
1501
- convertingSessions: z4.number().int().nonnegative(),
1502
- /**
1503
- * Conversions credited to this landing page by the landing rule — on it, or
1504
- * anywhere when it was the last landing page its person viewed, up to 90
1505
- * days before. The number a landing-page table means by "conversions".
1506
- */
1507
- creditedConversions: z4.number().int().nonnegative(),
1508
- /** People whose conversions are credited here. */
1509
- creditedVisitors: z4.number().int().nonnegative(),
1510
- /** Credited people per entrance, 0–1. Null when nobody landed here. */
1511
- conversionRate: z4.number().min(0).max(1).nullable(),
1512
- avgEngagementMs: z4.number().nonnegative().nullable()
1513
- });
1514
- var analyticsSourceRowSchema = z4.object({
1515
- source: z4.string(),
1516
- medium: z4.string(),
1517
- sessions: z4.number().int().nonnegative(),
1518
- conversions: z4.number().int().nonnegative(),
1519
- conversionRate: z4.number().min(0).max(1).nullable()
1520
- });
1521
- var analyticsCampaignRowSchema = z4.object({
1522
- utmSource: z4.string(),
1523
- utmMedium: z4.string(),
1524
- utmCampaign: z4.string(),
1525
- /**
1526
- * The platform a click id proves, or `""` when the visit carried none.
1527
- *
1528
- * What separates a campaign the ad breakdown already reports — with its
1529
- * platform proven and its ad set and ad underneath — from one nothing else
1530
- * can show: the newsletter, the partner link, the hand-tagged post. The two
1531
- * are otherwise identical, because `utm_campaign={campaignid}` is the normal
1532
- * tagging convention and produces the same ids in both places.
1533
- *
1534
- * Kept on the row rather than filtered out here: a CLI hint reads an empty
1535
- * campaign list as "no campaign tagging on any traffic", and dropping the
1536
- * paid ones would make that fire on a perfectly tagged account.
1537
- */
1538
- clickPlatform: z4.string(),
1539
- sessions: z4.number().int().nonnegative(),
1540
- conversions: z4.number().int().nonnegative(),
1541
- conversionRate: z4.number().min(0).max(1).nullable()
1542
- });
1543
- var analyticsRealtimeMinuteSchema = z4.object({
1544
- /** The minute, as an ISO instant. */
1545
- minute: z4.string(),
1546
- visitors: z4.number().int().nonnegative(),
1547
- pageViews: z4.number().int().nonnegative()
1548
- });
1549
- var analyticsRealtimePageSchema = z4.object({
1550
- path: z4.string(),
1551
- /** The landing this path belongs to; empty when no landing claims it. */
1552
- landingId: z4.string(),
1553
- visitors: z4.number().int().nonnegative()
1554
- });
1555
- var analyticsRealtimeSchema = z4.object({
1556
- /** Distinct visitors with any activity inside the active window. */
1557
- activeNow: z4.number().int().nonnegative(),
1558
- /** How recently a visitor must have acted to be counted, in minutes. */
1559
- activeWithinMinutes: z4.number().int().positive(),
1560
- minutes: z4.array(analyticsRealtimeMinuteSchema),
1561
- pages: z4.array(analyticsRealtimePageSchema)
1562
- });
1563
- var analyticsDimensionRowSchema = z4.object({
1564
- key: z4.string(),
1565
- sessions: z4.number().int().nonnegative(),
1566
- conversions: z4.number().int().nonnegative(),
1567
- conversionRate: z4.number().min(0).max(1).nullable()
1568
- });
1569
- var analyticsFunnelStepSchema = z4.object({
1570
- stepId: z4.string(),
1571
- stepIndex: z4.number().int().nonnegative(),
1572
- /** Visits that moved forward into this step. Never events — see `visits`. */
1573
- views: z4.number().int().nonnegative(),
1574
- /** Visits that finished this step and moved on. */
1575
- completions: z4.number().int().nonnegative(),
1576
- /** Share of viewers who did not complete this step, 0–1. */
1577
- dropRate: z4.number().min(0).max(1).nullable(),
1578
- /**
1579
- * Visits that converted AT this step — the node kind's own outcome trigger
1580
- * fired here, or the Form was submitted here.
1581
- *
1582
- * Usually zero on every step but one. That is the point: a Form has one
1583
- * conversion, and knowing which step owns it is what stops a drop-off chart
1584
- * treating the booking widget's "profile viewed" as a funnel stage.
1585
- */
1586
- convertedSessions: z4.number().int().nonnegative(),
1587
- /**
1588
- * This step is where the Form ends — a confirmation screen, not a loss.
1589
- *
1590
- * Stated rather than left to be inferred. The dashboard used to read it off
1591
- * `dropRate === null`, which is also how a step nobody viewed arrives, so a
1592
- * converting link node in the middle of a Form was labelled its ending.
1593
- */
1594
- isEnding: z4.boolean()
1595
- });
1596
- var analyticsFunnelSchema = z4.object({
1597
- flowSlug: z4.string(),
1598
- /**
1599
- * Visits that saw the Form at all — the denominator for every share here.
1600
- *
1601
- * Read this, not `starts`, whenever the question is "out of how many". A
1602
- * start is recorded at the visitor's FIRST INTERACTION, so the two differ by
1603
- * exactly the people who looked at the Form and never touched it — usually
1604
- * most of them, and always the group a drop-off chart exists to find.
1605
- *
1606
- * Every count in this object is distinct visits, including each step's
1607
- * `views` and `completions`. That is load-bearing rather than incidental:
1608
- * the screen divides these by each other, and while the steps counted events
1609
- * a Form four people had opened reported one step reached fifteen times and
1610
- * fourteen people lost.
1611
- */
1612
- visits: z4.number().int().nonnegative(),
1613
- /** Visits that interacted with the Form at all — typed, picked, or advanced. */
1614
- starts: z4.number().int().nonnegative(),
1615
- submits: z4.number().int().nonnegative(),
1616
- /** Conversions per visit that opened the Form, 0–1. */
1617
- completionRate: z4.number().min(0).max(1).nullable(),
1618
- /** The step losing the most people. The single most useful field here. */
1619
- worstStep: analyticsFunnelStepSchema.nullable(),
1620
- steps: z4.array(analyticsFunnelStepSchema),
1621
- /**
1622
- * Visits that converted, counted once each at whichever node did it.
1623
- *
1624
- * Read this rather than `submits` whenever the two disagree. `submits` only
1625
- * fires when a flow runs out of nodes, so a Form that books a call on a
1626
- * mid-flow Calendly node reports zero submits and every one of its real
1627
- * bookings here.
1628
- */
1629
- convertedSessions: z4.number().int().nonnegative()
1630
- });
1631
- var analyticsPaidRowSchema = z4.object({
1632
- source: z4.string(),
1633
- medium: z4.string(),
1634
- campaign: z4.string(),
1635
- content: z4.string(),
1636
- term: z4.string(),
1637
- /** `google` | `meta` | `tiktok` | `x` | `linkedin` | `microsoft` | `""`. */
1638
- clickPlatform: z4.string(),
1639
- sessions: z4.number().int().nonnegative(),
1640
- convertingSessions: z4.number().int().nonnegative(),
1641
- conversions: z4.number().int().nonnegative(),
1642
- /** Leads whose server-side delivery reported success. */
1643
- delivered: z4.number().int().nonnegative(),
1644
- /** Leads whose delivery reported failure. Non-zero here is a broken integration. */
1645
- failedDeliveries: z4.number().int().nonnegative(),
1646
- /** Distinct people, across devices — only countable where visitors identified themselves. */
1647
- identifiedPeople: z4.number().int().nonnegative(),
1648
- /** Converting sessions per session, 0–1. */
1649
- conversionRate: z4.number().min(0).max(1).nullable(),
1650
- /** Delivered leads per conversion, 0–1. Below 1 means leads are being lost after submit. */
1651
- deliveryRate: z4.number().min(0).max(1).nullable()
1652
- });
1653
- var analyticsDeliveryRowSchema = z4.object({
1654
- eventId: z4.string(),
1655
- submittedAt: z4.string(),
1656
- /**
1657
- * The visit the submission was made in, so a lead can be opened as a story.
1658
- *
1659
- * The whole reason a delivery row is worth clicking. Without it a submission
1660
- * is a timestamp and a CRM outcome, and the questions anybody actually has —
1661
- * which ad brought them, what they read first, how long they took — are all
1662
- * on the other side of this one join.
1663
- */
1664
- sessionId: z4.string(),
1665
- /** Lowercase hex digest of who submitted, when the page could identify them. */
1666
- identityHash: z4.string(),
1667
- flowSlug: z4.string(),
1668
- stepId: z4.string(),
1669
- landingId: z4.string(),
1670
- destinations: z4.array(z4.string()),
1671
- dispatched: z4.number().int().nonnegative(),
1672
- succeeded: z4.number().int().nonnegative(),
1673
- failed: z4.number().int().nonnegative(),
1674
- /** Dispatched and never settled. Distinguishing this from failed is "wait" vs "act". */
1675
- pending: z4.number().int().nonnegative(),
1676
- /**
1677
- * The ids the destinations gave back.
1678
- *
1679
- * A submission that succeeded everywhere and carries none of these is a real
1680
- * and previously invisible failure: the integration accepted the call and
1681
- * dropped the record.
1682
- */
1683
- providerRefs: z4.array(z4.string()),
1684
- sampleError: z4.string()
1685
- });
1686
- var analyticsTriggerRowSchema = z4.object({
1687
- flowSlug: z4.string(),
1688
- /** `link`, `customForm`, `iframe`, `hubspotMeeting`, … */
1689
- nodeType: z4.string(),
1690
- /** The trigger, verbatim: `link.onClick`, `iframe.checkout_completed`. */
1691
- triggerId: z4.string(),
1692
- fires: z4.number().int().nonnegative(),
1693
- sessions: z4.number().int().nonnegative(),
1694
- /** How many of those fires produced a side effect. Often zero, on purpose. */
1695
- sideEffectsFired: z4.number().int().nonnegative()
1696
- });
1697
- var analyticsReleaseRowSchema = z4.object({
1698
- /** The commit the build came from. */
1699
- release: z4.string(),
1700
- firstSeen: z4.string(),
1701
- lastSeen: z4.string(),
1702
- sessions: z4.number().int().nonnegative(),
1703
- pageViews: z4.number().int().nonnegative(),
1704
- conversions: z4.number().int().nonnegative(),
1705
- /** Visits that converted on this build at least once. */
1706
- convertingSessions: z4.number().int().nonnegative(),
1707
- /** Converting visits per session, 0–1. Null below a usable sample. */
1708
- conversionRate: z4.number().min(0).max(1).nullable()
1709
- });
1710
- var analyticsGeoRowSchema = z4.object({
1711
- /** The place itself, at whatever grain was asked for. */
1712
- place: z4.string(),
1713
- /** Always carried: a postcode without its country is ambiguous, a city twice over. */
1714
- country: z4.string(),
1715
- region: z4.string(),
1716
- sessions: z4.number().int().nonnegative(),
1717
- conversions: z4.number().int().nonnegative(),
1718
- /** Conversions per session, 0–1. Null below a usable sample. */
1719
- conversionRate: z4.number().min(0).max(1).nullable(),
1720
- /** People rather than browsers, where the visit identified itself. */
1721
- identifiedPeople: z4.number().int().nonnegative()
1722
- });
1723
- var analyticsBotRowSchema = z4.object({
1724
- /** The crawler's name, or `unidentified` for a machine we could not name. */
1725
- bot: z4.string(),
1726
- /** `search` | `ai` | `social` | `seo` | `monitoring` | `tool` | `automation`. */
1727
- category: z4.string(),
1728
- hits: z4.number().int().nonnegative(),
1729
- pages: z4.number().int().nonnegative(),
1730
- lastSeen: z4.string(),
1731
- samplePaths: z4.array(z4.string())
1732
- });
1733
- var analyticsWarningSchema = z4.object({
1734
- /**
1735
- * `AD_ROLE_UNMAPPED` is the one that reports a *question* rather than the
1736
- * data. A role resolves to the parameter names that carry it, and when a
1737
- * company has mapped none the list is empty — which the filter reads as
1738
- * "arrived carrying none of these" and answers with a confident zero across
1739
- * the whole report. Zero is a far more expensive conclusion than "nobody has
1740
- * said which parameter that is", so the narrowing is dropped and this says so.
1741
- */
1742
- code: z4.enum(["LOW_SAMPLE", "NO_DATA", "BEYOND_RETENTION", "AD_ROLE_UNMAPPED"]),
1743
- message: z4.string()
1744
- });
1745
- var analyticsFlowSummarySchema = z4.object({
1746
- flowSlug: z4.string(),
1747
- sessions: z4.number().int().nonnegative(),
1748
- starts: z4.number().int().nonnegative(),
1749
- convertedSessions: z4.number().int().nonnegative(),
1750
- submits: z4.number().int().nonnegative(),
1751
- stepViews: z4.number().int().nonnegative(),
1752
- /** Distinct steps anyone reached, across all visits. */
1753
- stepsSeen: z4.number().int().nonnegative(),
1754
- deepestStepIndex: z4.number().int().nonnegative(),
1755
- /** Steps reached per visit, averaged — "how much of this Form do people read". */
1756
- avgStepsReached: z4.number().nonnegative(),
1757
- /** Conversions per visit that started, 0–1. */
1758
- conversionRate: z4.number().min(0).max(1).nullable(),
1759
- /** Which node ids produced the conversions. Usually one; two means two offers. */
1760
- conversionSteps: z4.array(z4.string()),
1761
- /** And by what — `calendlyEvent.eventScheduled`, `customForm.onFormSubmitted`. */
1762
- conversionTriggers: z4.array(z4.string()),
1763
- conversionNodeTypes: z4.array(z4.string()),
1764
- lastSeen: z4.string()
1765
- });
1766
- var analyticsFlowEdgeSchema = z4.object({
1767
- flowSlug: z4.string(),
1768
- fromStep: z4.string(),
1769
- toStep: z4.string(),
1770
- sessions: z4.number().int().nonnegative()
1771
- });
1772
- var analyticsConversionRowSchema = z4.object({
1773
- /** What a person calls this outcome. */
1774
- name: z4.string(),
1775
- /** Every event counted under this name. One entry unless the name is shared. */
1776
- eventKeys: z4.array(z4.string()),
1777
- /**
1778
- * `once_per_visit` | `every_time` — how repeats inside one visit are counted.
1779
- *
1780
- * `mixed` when a shared name spans both, which is a real state and an editing
1781
- * accident; saying so is what makes it findable.
1782
- */
1783
- countMode: z4.string(),
1784
- /** Counted the way each definition asked to be counted, and credited to a landing. */
1785
- conversions: z4.number(),
1786
- /**
1787
- * Times it happened that no landing earned: by people none of the company's
1788
- * pages saw, within 90 days. Zero under a landing or an ad scope, where the
1789
- * gap would mean something else. Absent on a row built before it existed.
1790
- */
1791
- unplaced: z4.number().default(0),
1792
- /** Distinct visits that produced it, never mode-adjusted. The gap between the two is the repeat behaviour. */
1793
- convertingVisits: z4.number(),
1794
- /** Null when it has never fired. */
1795
- lastSeen: z4.string().nullable(),
1796
- /**
1797
- * The doors its events came in by in the window, in
1798
- * {@link ANALYTICS_EVENT_DOORS} order. Empty when it has not fired.
1799
- */
1800
- doors: z4.array(z4.enum(ANALYTICS_EVENT_DOORS)).default([]),
1801
- /** Proposed in this chat: counted from when it is published, so every report reads it as nothing until then. */
1802
- staged: z4.boolean().optional()
1803
- });
1804
- var analyticsEventCatalogRowSchema = z4.object({
1805
- /** `form:…` | `submit:…` | `page:…` | `exit:…` — parse with `parseEventKey`. */
1806
- eventKey: z4.string(),
1807
- /**
1808
- * Which collector produced this key — and `both` when more than one did.
1809
- *
1810
- * On the row rather than in the key, which is the whole shape of the change
1811
- * that removed the `server:` family: a picker can say where an event came
1812
- * from without a filter round-trip, and a report can still separate the two
1813
- * populations at any grain, but nothing downstream has to learn a second
1814
- * vocabulary to count one.
1815
- */
1816
- origin: z4.enum(ANALYTICS_EVENT_ORIGINS),
1817
- events: z4.number(),
1818
- sessions: z4.number(),
1819
- /** The Form node's kind, for a `form:` key. Empty otherwise. */
1820
- nodeType: z4.string(),
1821
- /** The Form this happened in, for a `form:` or `submit:` key. Empty otherwise. */
1822
- flowSlug: z4.string(),
1823
- /** Null when it has never fired — only possible for a row we already count. */
1824
- lastSeen: z4.string().nullable(),
1825
- /** Already counted as a conversion. Shown, never hidden: a row that vanished on being counted reads as a bug. */
1826
- isCounted: z4.boolean(),
1827
- /** The name it is counted under, when it is. */
1828
- countedAs: z4.string(),
1829
- /**
1830
- * The doors on Sources this key's events came through, by name — the
1831
- * `baker_source` each event carries. Empty for a key nothing on Sources
1832
- * sent; more than one when two doors used one name.
1833
- */
1834
- sources: z4.array(z4.string()),
1835
- /**
1836
- * The doors this key's events came in by, in {@link ANALYTICS_EVENT_DOORS}
1837
- * order, each with its own volume — only the doors it actually used.
1838
- *
1839
- * `origin` says site or systems; this says which of the four, which is the
1840
- * question every picker is read to answer. Defaulted, so a store that
1841
- * predates the column parses as "no door known" rather than failing.
1842
- */
1843
- doors: z4.array(z4.object({ door: z4.enum(ANALYTICS_EVENT_DOORS), events: z4.number(), sessions: z4.number() })).default([])
1844
- });
1845
- var analyticsAdDimensionRowSchema = z4.object({
1846
- /** The dimension's value. Empty means "arrived carrying none of these". */
1847
- value: z4.string(),
1848
- /** Which platform stamped the click, from the click id rather than a label. */
1849
- platform: z4.string(),
1850
- sessions: z4.number(),
1851
- convertingSessions: z4.number(),
1852
- conversions: z4.number(),
1853
- bouncedSessions: z4.number(),
1854
- identifiedPeople: z4.number(),
1855
- pageViews: z4.number(),
1856
- engagementMs: z4.number(),
1857
- /** Conversions per session, or null when nothing arrived. */
1858
- conversionRate: z4.number().nullable(),
1859
- /** Bounces per session, or null when nothing arrived. */
1860
- bounceRate: z4.number().nullable()
1861
- });
1862
- var analyticsAdParamRowSchema = z4.object({
1863
- name: z4.string(),
1864
- /** Whether the value is stored, or only the fact that the name appeared. */
1865
- captured: z4.boolean(),
1866
- /** The role in force for the platform asked about, built-in or configured. */
1867
- role: adParamRoleSchema.optional(),
1868
- /**
1869
- * True when this company said what it means, rather than Baker knowing it.
1870
- *
1871
- * The difference between a row that can be reset to a sensible default and
1872
- * one where clearing it means "nobody has said".
1873
- */
1874
- configured: z4.boolean(),
1875
- /**
1876
- * Visits carrying this parameter **that arrived from the platform asked
1877
- * about**, not visits carrying it anywhere.
1878
- *
1879
- * This used to be the second: one inventory of every parameter on every
1880
- * visit, shown identically under each platform tab. That is wrong on the
1881
- * facts, and confidently so. A visit arrives from one platform — it has one
1882
- * click id — so `gclid` traffic cannot also be Meta traffic, and a Meta tab
1883
- * listing `gad_campaignid` on 1,204 visits invited somebody to name a Google
1884
- * parameter in Meta's vocabulary and then wonder why no report ever used it.
1885
- * The count belongs to the platform or it is not a count of anything.
1886
- */
1887
- sessions: z4.number(),
1888
- events: z4.number(),
1889
- /** Up to five distinct values. Always empty for an uncaptured parameter. */
1890
- sampleValues: z4.array(z4.string()),
1891
- lastSeen: z4.string().optional(),
1892
- /**
1893
- * True when this row is here because somebody configured it, not because it
1894
- * arrived.
1895
- *
1896
- * The row a mapping made before its first click. A tracking setup is
1897
- * routinely written the week before the campaign runs, and a tool that can
1898
- * only describe traffic it has already seen cannot be used at the one moment
1899
- * somebody sits down to do this properly. Such a row has no visits and no
1900
- * values, and says so rather than reading as a parameter that stopped
1901
- * arriving.
1902
- */
1903
- awaitingTraffic: z4.boolean().optional()
1904
- });
1905
- var analyticsFlowDestinationsSchema = z4.object({
1906
- flowSlug: z4.string(),
1907
- /** Destination types seen — `meta`, `httpWebhook`, `hubspotForm`. */
1908
- destinations: z4.array(z4.string()),
1909
- lastSeen: z4.string().optional()
1910
- });
1911
- var analyticsAdPlatformTrafficSchema = z4.object({
1912
- platform: z4.string(),
1913
- sessions: z4.number(),
1914
- conversions: z4.number(),
1915
- /** How many of those visits carried any campaign parameter at all. */
1916
- taggedSessions: z4.number()
1917
- });
1918
- var analyticsPageInfoSchema = z4.object({
1919
- /** Which field of the response was paged. */
1920
- block: z4.enum(["visitors", "submissions", "deliveries", "stream"]),
1921
- page: z4.number().int(),
1922
- pageSize: z4.number().int(),
1923
- returned: z4.number().int(),
1924
- hasMore: z4.boolean()
1925
- });
1926
- var analyticsTimelineRowSchema = z4.object({
1927
- timestamp: z4.string(),
1928
- /**
1929
- * The visit this event belongs to, and the browser that made it.
1930
- *
1931
- * Empty on anything that belongs to neither — a settlement, and an event a
1932
- * client's own server posted about somebody who was never on a page. Carried
1933
- * because the raw feed (`stream`) is a company-wide list rather than one
1934
- * visit's, so a row has to say who it was about before a reader can get from
1935
- * it to the person. On a replay both are constant and simply confirm it.
1936
- */
1937
- sessionId: z4.string(),
1938
- anonId: z4.string(),
1939
- /**
1940
- * Where the producer put this event in its own order, from 1. `0` means it
1941
- * did not number this one.
1942
- *
1943
- * The tie-break that makes the replay a replay. The timestamp is
1944
- * milliseconds and the Form engine emits several events in one synchronous
1945
- * block, so a step completing, the identities it revealed and the next step
1946
- * coming into view routinely share one — and sorted on the timestamp alone
1947
- * they came back in an order that matched nothing that happened.
1948
- */
1949
- eventSeq: z4.number().int().nonnegative(),
1950
- /** This event's identity, so two rows can be said to be the same event. */
1951
- eventUid: z4.string(),
1952
- /** `page_view`, `form_step_view`, `side_effect_dispatched`, … */
1953
- eventType: z4.string(),
1954
- /** `edge`, `beacon`, `server` — where the row was written from. */
1955
- source: z4.string(),
1956
- /**
1957
- * `baker`, `external`, `export` — where the page was, which `source` does
1958
- * not say. The two together are what decide the row's door; see
1959
- * `ANALYTICS_EVENT_DOORS`.
1960
- *
1961
- * Defaulted rather than required: the column arrived after the corpus did
1962
- * and carries no default of its own, so a row older than it reads `""`, and
1963
- * that has to mean "Baker's, as everything was then" rather than fail the
1964
- * whole row's parse.
1965
- */
1966
- deployment: z4.string().default(""),
1967
- environment: z4.string(),
1968
- /** The build the page was published from. */
1969
- release: z4.string(),
1970
- path: z4.string(),
1971
- host: z4.string(),
1972
- landingId: z4.string(),
1973
- flowSlug: z4.string(),
1974
- stepId: z4.string(),
1975
- stepIndex: z4.number().int().nonnegative(),
1976
- nodeType: z4.string(),
1977
- triggerId: z4.string(),
1978
- /** A page-defined event's own name, when this row is one. */
1979
- eventName: z4.string(),
1980
- /** Whatever the page attached to a custom event. Strings only, by design. */
1981
- properties: z4.record(z4.string(), z4.string()),
1982
- /** Where an outbound click or a link node was going, in full. */
1983
- targetUrl: z4.string(),
1984
- /** A number the page reported alongside the event. */
1985
- value: z4.number(),
1986
- /**
1987
- * The currency that number is in, when it has one.
1988
- *
1989
- * Only a server-sent event carries it — a page reports a `value` on its own
1990
- * terms, a CRM reports a deal in euros — and without it the replay prints a
1991
- * bare `4200.5` beside a closed deal, which is a number nobody can act on.
1992
- */
1993
- valueCurrency: z4.string().default(""),
1994
- /** The visitor's digest, when they had identified themselves by this point. */
1995
- identityHash: z4.string(),
1996
- /**
1997
- * The browser to attribute this row to, once the identity has been resolved.
1998
- *
1999
- * `anonId` when the row has one, and otherwise the browser {@link identityHash}
2000
- * resolves to through `identities`. Empty when neither exists.
2001
- *
2002
- * It is a separate field rather than a coalesce into `anonId` because the two
2003
- * claims are not the same: `anonId` is the cookie the row was written with,
2004
- * and a server-sent event was written with none and must not start claiming
2005
- * one. This is the *read's* answer to "who was that", and it is retroactive
2006
- * and cross-device by construction — a "Deal won" posted in March attaches to
2007
- * the person the moment they type that address into a Form in April, and to
2008
- * every browser they have used here.
2009
- *
2010
- * Only `event_stream` fills it. Empty everywhere else, which is honest: a
2011
- * session replay deliberately does not resolve, because an event that
2012
- * happened during no visit must not be placed inside one.
2013
- */
2014
- personAnonId: z4.string().default(""),
2015
- /**
2016
- * What this row knows the person by, when it does not know their browser:
2017
- * `email` | `phone` | `external` | `click` | `cookie`, or empty.
2018
- *
2019
- * The feed's Who column reads it. A row naming a person by a means that has
2020
- * no face here yet — a digest nobody has typed into a Form, an ad click, one
2021
- * of Meta's cookies — is not a row about nobody, and rendering it as one is
2022
- * what made the server-sent half of the feed look unattached to the rest.
2023
- */
2024
- knownBy: z4.string().default(""),
2025
- /**
2026
- * What this row counts as under the company's own conversion definitions, or
2027
- * empty when it counts as nothing.
2028
- *
2029
- * The store's own key, projected rather than rebuilt here, so the feed and
2030
- * the reports cannot disagree about what one event was. Two rows carrying the
2031
- * same non-empty key are **one** conversion — the second is stored, listed,
2032
- * and marked as already counted rather than hidden, because a sender who
2033
- * posted a deal twice needs to see that the second request arrived.
2034
- *
2035
- * Only `event_stream` fills it; empty everywhere else.
2036
- */
2037
- conversionKey: z4.string().default(""),
2038
- /**
2039
- * Which lines of a people search this row belongs to, by position in
2040
- * `peopleSearch`. Empty when nobody was searched for.
2041
- */
2042
- personTerms: z4.array(z4.number()).optional(),
2043
- /**
2044
- * `email` | `phone` — which of the two they gave.
2045
- *
2046
- * Load-bearing rather than trivia: a visitor who fills in both fields
2047
- * produces two `identify` rows in the same millisecond, and without the kind
2048
- * a replay renders the same sentence twice and reads as a duplicated event.
2049
- */
2050
- identityKind: z4.string(),
2051
- /**
2052
- * The `user_data` block this event carried, exactly as it arrived.
2053
- *
2054
- * The contact digests (`email_sha256`, `phone_sha256`, `external_id_sha256`),
2055
- * the click ids, Meta's cookies, and the advanced-matching /
2056
- * enhanced-conversions fields — first name, city, postcode, country. Empty on
2057
- * everything a page produced, which is most rows.
2058
- *
2059
- * **Per event, and deliberately not merged** — unlike the person card, which
2060
- * merges the same fields newest-wins across everything anyone ever sent. The
2061
- * question one event answers is "what did *this request* contain", and the
2062
- * answer has to be allowed to be *worse* than what is known about the person
2063
- * overall. That is how a sender finds the field they forgot to map: the
2064
- * person has a postcode, and this event does not.
2065
- */
2066
- userData: z4.record(z4.string(), z4.string()).default({}),
2067
- sideEffectType: z4.string(),
2068
- sideEffectName: z4.string(),
2069
- sideEffectId: z4.string(),
2070
- tagId: z4.string(),
2071
- messageId: z4.string(),
2072
- /**
2073
- * The submission this row belongs to.
2074
- *
2075
- * What ties a browser pixel and a server dispatch of the SAME submit
2076
- * together. Without it they read as two unrelated things that happened to
2077
- * occur in the same second.
2078
- */
2079
- eventId: z4.string(),
2080
- runId: z4.string(),
2081
- engagementMs: z4.number().int().nonnegative(),
2082
- scrollDepth: z4.number().int().nonnegative(),
2083
- /**
2084
- * The A/B test this row was stamped into, and which side the edge served —
2085
- * `a` for the page as it is, `b` for the new variant.
2086
- *
2087
- * Set only on rows a page under test produced, which is how a person's story
2088
- * can say which version they were shown. Empty on a server-sent row: a CRM
2089
- * knows nothing about the split, and the conversion it posts is attributed
2090
- * to a side by WHO did it (see `experiment_conversions`), never by a stamp.
2091
- */
2092
- experimentId: z4.string().default(""),
2093
- variant: z4.string().default(""),
2094
- /** `success` | `failed` | `""` for a dispatch that has not settled yet. */
2095
- outcome: z4.string(),
2096
- /** What the destination said when it refused. Empty on success. */
2097
- error: z4.string(),
2098
- /** The destination's own id for the record it created, when it gave one. */
2099
- providerRef: z4.string(),
2100
- /** When the destination answered, so "it took eleven seconds" is sayable. */
2101
- settledAt: z4.string()
2102
- });
2103
- var analyticsSubmissionRowSchema = z4.object({
2104
- sessionId: z4.string(),
2105
- flowSlug: z4.string(),
2106
- startedAt: z4.string(),
2107
- lastAt: z4.string(),
2108
- anonId: z4.string(),
2109
- identityHash: z4.string(),
2110
- identityKind: z4.string(),
2111
- landingId: z4.string(),
2112
- path: z4.string(),
2113
- /** Steps they saw. The denominator for "how far did they get". */
2114
- stepsReached: z4.number().int().nonnegative(),
2115
- /** Steps they actually handed something over on. Zero means no attempt. */
2116
- stepsSubmitted: z4.number().int().nonnegative(),
2117
- submittedStepIds: z4.array(z4.string()),
2118
- /** The furthest step they reached, for naming where they stopped. */
2119
- lastStepId: z4.string(),
2120
- /** Whether the Form reached an ending, by any of its three routes. */
2121
- finished: z4.boolean(),
2122
- conversions: z4.number().int().nonnegative(),
2123
- destinations: z4.array(z4.string()),
2124
- /** Destinations that fired as a pixel in the page. */
2125
- browserDestinations: z4.array(z4.string()),
2126
- /** Destinations Baker dispatched from the server. */
2127
- serverDestinations: z4.array(z4.string()),
2128
- /**
2129
- * Server-side dispatch runs — the counterpart of `serverDestinations`, NOT of
2130
- * `destinations`.
2131
- *
2132
- * Zero is not "this went nowhere", and reading it that way is a mistake
2133
- * already made once: it is zero for an attempt abandoned before the step that
2134
- * fires a destination, and zero for a Form whose only destination is a
2135
- * browser pixel. `destinations` is the union of both sides and is the column
2136
- * that answers "did this reach anything at all".
2137
- */
2138
- dispatched: z4.number().int().nonnegative(),
2139
- succeeded: z4.number().int().nonnegative(),
2140
- failed: z4.number().int().nonnegative(),
2141
- /** Dispatched and never settled — "wait", as against "act". */
2142
- pending: z4.number().int().nonnegative(),
2143
- sampleError: z4.string(),
2144
- providerRefs: z4.array(z4.string()),
2145
- /** The submission ids, which is how the panel opens the sealed payload. */
2146
- eventIds: z4.array(z4.string())
2147
- });
2148
- var analyticsVisitorSessionSchema = z4.object({
2149
- sessionId: z4.string(),
2150
- startedAt: z4.string(),
2151
- endedAt: z4.string(),
2152
- entryPath: z4.string(),
2153
- entryLandingId: z4.string(),
2154
- utmCampaign: z4.string(),
2155
- referrerSource: z4.string(),
2156
- deviceType: z4.string(),
2157
- pageViews: z4.number().int().nonnegative(),
2158
- conversions: z4.number().int().nonnegative(),
2159
- /**
2160
- * True for the visits made BEFORE we knew who this was.
2161
- *
2162
- * Shown rather than smoothed over: a history without it invites the reading
2163
- * that we recognised them all along, when in fact these visits were only
2164
- * attributed backwards through the browser after they identified themselves.
2165
- */
2166
- wasAnonymous: z4.boolean(),
2167
- engagementMs: z4.number().int().nonnegative()
2168
- });
2169
- var analyticsVisitProfileSchema = z4.object({
2170
- sessionId: z4.string(),
2171
- startedAt: z4.string(),
2172
- endedAt: z4.string(),
2173
- entryPath: z4.string(),
2174
- entryLandingId: z4.string(),
2175
- country: z4.string(),
2176
- region: z4.string(),
2177
- city: z4.string(),
2178
- timezone: z4.string(),
2179
- /** The network the visit came from. What separates a datacentre from a person. */
2180
- asOrganization: z4.string(),
2181
- deviceType: z4.string(),
2182
- browser: z4.string(),
2183
- os: z4.string(),
2184
- referrerSource: z4.string(),
2185
- referrerDomain: z4.string(),
2186
- utmSource: z4.string(),
2187
- utmMedium: z4.string(),
2188
- utmCampaign: z4.string(),
2189
- /**
2190
- * Which platform the click id proves, in the `AD_PLATFORMS` vocabulary —
2191
- * `google` | `meta` | `tiktok` | `x` | `linkedin` | `microsoft` | `""`.
2192
- *
2193
- * The same spelling every mark, mapping and report uses. It briefly said
2194
- * `google_ads` / `meta_ads` here alone, which meant every logo lookup on the
2195
- * People screen missed and a paid visit drew a neutral globe.
2196
- */
2197
- clickPlatform: z4.string(),
2198
- /** Every ValueTrack-style parameter the URL carried, unresolved. */
2199
- campaignParams: z4.record(z4.string(), z4.string()),
2200
- /** The browser's own cookie id. One person can have several. */
2201
- anonId: z4.string(),
2202
- identityHash: z4.string(),
2203
- /** What the digest was made of — `email`, `phone`. Never the value. */
2204
- identityKind: z4.string(),
2205
- pageViews: z4.number().int().nonnegative(),
2206
- conversions: z4.number().int().nonnegative(),
2207
- engagementMs: z4.number().int().nonnegative()
2208
- });
2209
- var analyticsPersonKeySchema = z4.object({
2210
- /** `email` | `phone` | `external` | `browser` | a click-id name | `fbp` | `fbc`. */
2211
- kind: z4.string(),
2212
- /** A digest for a contact detail, the value itself for a cookie or a click id. */
2213
- value: z4.string(),
2214
- firstSeen: z4.string(),
2215
- lastSeen: z4.string(),
2216
- /** How many times it was observed beside another key — every submission repeats it. */
2217
- observations: z4.number().int().nonnegative(),
2218
- sessions: z4.number().int().nonnegative(),
2219
- /** `client` | `edge` | `server` | `ingest` — which collector first saw it. */
2220
- source: z4.string(),
2221
- /** The Form it was first seen on, where it came from one. */
2222
- flowSlug: z4.string(),
2223
- landingId: z4.string()
2224
- });
2225
- var analyticsPersonProfileSchema = z4.object({
2226
- firstSeen: z4.string(),
2227
- lastSeen: z4.string(),
2228
- sessions: z4.number().int().nonnegative(),
2229
- /** How many browsers resolved to this person. More than one is cross-device. */
2230
- devices: z4.number().int().nonnegative(),
2231
- pageViews: z4.number().int().nonnegative(),
2232
- conversions: z4.number().int().nonnegative(),
2233
- /**
2234
- * What they are worth, per currency — `{ EUR: 4753 }`.
2235
- *
2236
- * A map rather than an amount and a code, because the two-column shape had
2237
- * no honest answer for somebody with a deal in each of two currencies: it
2238
- * summed them and labelled the total with whichever code came back first.
2239
- * Only a server event ever carries money, and a retried post is counted
2240
- * once, on `event_uid`.
2241
- */
2242
- money: z4.record(z4.string(), z4.number()),
2243
- engagementMs: z4.number().int().nonnegative(),
2244
- /** How many of their events a client's own server posted. */
2245
- serverEvents: z4.number().int().nonnegative(),
2246
- country: z4.string(),
2247
- region: z4.string(),
2248
- city: z4.string(),
2249
- deviceType: z4.string(),
2250
- browser: z4.string(),
2251
- os: z4.string(),
2252
- utmSource: z4.string(),
2253
- utmMedium: z4.string(),
2254
- utmCampaign: z4.string(),
2255
- referrerSource: z4.string(),
2256
- entryLandingId: z4.string(),
2257
- entryPath: z4.string(),
2258
- /**
2259
- * The customer-matching block, merged newest-wins across everything anyone
2260
- * has ever told us about them — `city`, `postal_code`, `country`,
2261
- * `first_name_sha256`, `fbp`. Keyed exactly as the store holds it, so a key
2262
- * ending `_sha256` says its value is a digest and cannot be shown.
2263
- */
2264
- matchKeys: z4.record(z4.string(), z4.string())
2265
- });
2266
- var analyticsVisitorRowSchema = z4.object({
2267
- anonId: z4.string(),
2268
- firstSeen: z4.string(),
2269
- lastSeen: z4.string(),
2270
- sessions: z4.number().int().nonnegative(),
2271
- pageViews: z4.number().int().nonnegative(),
2272
- conversions: z4.number().int().nonnegative(),
2273
- formTriggers: z4.number().int().nonnegative(),
2274
- outboundClicks: z4.number().int().nonnegative(),
2275
- engagementMs: z4.number().int().nonnegative(),
2276
- /** The visit to open by default — the most recent one. */
2277
- lastSessionId: z4.string(),
2278
- entryPath: z4.string(),
2279
- entryLandingId: z4.string(),
2280
- lastPath: z4.string(),
2281
- referrerSource: z4.string(),
2282
- referrerDomain: z4.string(),
2283
- utmSource: z4.string(),
2284
- utmMedium: z4.string(),
2285
- utmCampaign: z4.string(),
2286
- clickPlatform: z4.string(),
2287
- campaignParams: z4.record(z4.string(), z4.string()),
2288
- /**
2289
- * The click ids this person arrived on, by their own names — `gclid`,
2290
- * `fbclid`, `msclkid`, `li_fat_id`, `ttclid`, `twclid`, `wbraid`, `gbraid`,
2291
- * `dclid`, `rdt_cid`, `epik`, `sccid`, `oppref`.
2292
- *
2293
- * Only the ones that were present. The endpoint has always returned all eight
2294
- * columns and nothing above it carried them, so the one screen whose subject
2295
- * is a person could name the platform that paid for the click and not the
2296
- * click — which is the value a platform's own reporting is matched on, and
2297
- * therefore the value somebody is looking for when a conversion did not show
2298
- * up on the other side.
2299
- */
2300
- clickIds: z4.record(z4.string(), z4.string()),
2301
- country: z4.string(),
2302
- region: z4.string(),
2303
- city: z4.string(),
2304
- timezone: z4.string(),
2305
- asOrganization: z4.string(),
2306
- deviceType: z4.string(),
2307
- browser: z4.string(),
2308
- os: z4.string(),
2309
- identityHash: z4.string(),
2310
- identityKind: z4.string()
2311
- });
2312
- var analyticsMeasureScopeSchema = z4.object({
2313
- scope: z4.enum(["campaigns", "outcomes", "all", "unknown"]),
2314
- /** Every event the tag on the client's own site sent in this window. */
2315
- websiteEvents: z4.number(),
2316
- /** Browser ids it minted off-Baker. Any at all means the tag is on `all`. */
2317
- websiteNewVisitors: z4.number()
2318
- });
2319
- var analyticsQueryDataSchema = z4.object({
2320
- preset: analyticsPresetSchema,
2321
- window: analyticsWindowSchema,
2322
- totals: analyticsTotalsSchema,
2323
- trend: z4.array(analyticsTrendPointSchema).optional(),
2324
- topPages: z4.array(analyticsPageRowSchema).optional(),
2325
- topSources: z4.array(analyticsSourceRowSchema).optional(),
2326
- topCampaigns: z4.array(analyticsCampaignRowSchema).optional(),
2327
- countries: z4.array(analyticsDimensionRowSchema).optional(),
2328
- devices: z4.array(analyticsDimensionRowSchema).optional(),
2329
- funnels: z4.array(analyticsFunnelSchema).optional(),
2330
- flowSummary: z4.array(analyticsFlowSummarySchema).optional(),
2331
- flowPaths: z4.array(analyticsFlowEdgeSchema).optional(),
2332
- triggers: z4.array(analyticsTriggerRowSchema).optional(),
2333
- releases: z4.array(analyticsReleaseRowSchema).optional(),
2334
- paid: z4.array(analyticsPaidRowSchema).optional(),
2335
- measureScope: analyticsMeasureScopeSchema.optional(),
2336
- deliveries: z4.array(analyticsDeliveryRowSchema).optional(),
2337
- submissions: z4.array(analyticsSubmissionRowSchema).optional(),
2338
- geo: z4.array(analyticsGeoRowSchema).optional(),
2339
- bots: z4.array(analyticsBotRowSchema).optional(),
2340
- landings: z4.array(analyticsLandingRowSchema).optional(),
2341
- tags: z4.array(analyticsTagRowSchema).optional(),
2342
- customEvents: z4.array(analyticsCustomEventRowSchema).optional(),
2343
- eventBreakdown: z4.array(analyticsEventBreakdownRowSchema).optional(),
2344
- customFunnel: z4.array(analyticsCustomFunnelStepSchema).optional(),
2345
- deviceBreakdown: z4.array(analyticsDeviceRowSchema).optional(),
2346
- realtime: analyticsRealtimeSchema.optional(),
2347
- adDimensions: z4.array(analyticsAdDimensionRowSchema).optional(),
2348
- adParams: z4.array(analyticsAdParamRowSchema).optional(),
2349
- /**
2350
- * Parameters arriving on visits no platform can be named for.
2351
- *
2352
- * Kept apart rather than folded into the platform's own list, and kept rather
2353
- * than dropped. Folding them in is what made every tab identical; dropping
2354
- * them would lose a parameter that arrives on hand-tagged links, on an email
2355
- * campaign, or on paid traffic whose click id an ad blocker removed — and
2356
- * losing it silently, which is the one outcome worse than showing it in the
2357
- * wrong place. They are evidence, not a to-do list: there is no platform to
2358
- * map them under, so a reader who recognises one adds it by name to the
2359
- * platform they know it belongs to.
2360
- */
2361
- adParamsUnattributed: z4.array(analyticsAdParamRowSchema).optional(),
2362
- adPlatformTraffic: z4.array(analyticsAdPlatformTrafficSchema).optional(),
2363
- flowDestinations: z4.array(analyticsFlowDestinationsSchema).optional(),
2364
- /** Present only on a report that was asked for by the page. */
2365
- pageInfo: analyticsPageInfoSchema.optional(),
2366
- conversions: z4.array(analyticsConversionRowSchema).optional(),
2367
- /** Every event these pages produced, counted or not. The "add a conversion" picker. */
2368
- eventCatalog: z4.array(analyticsEventCatalogRowSchema).optional(),
2369
- timeline: z4.array(analyticsTimelineRowSchema).optional(),
2370
- /**
2371
- * The raw feed. Same row shape as a replay, because it is the same rows —
2372
- * what changes is that this one is bounded by a window rather than by a visit.
2373
- */
2374
- stream: z4.array(analyticsTimelineRowSchema).optional(),
2375
- /** How each line of a people search on `stream` was read — what `personTerms` points at. */
2376
- peopleSearch: z4.array(peopleSearchTermSchema).optional(),
2377
- visitorSessions: z4.array(analyticsVisitorSessionSchema).optional(),
2378
- /** Every key this person is known by — contact details, browsers, clicks, cookies. */
2379
- personKeys: z4.array(analyticsPersonKeySchema).optional(),
2380
- /** The same person, rolled up: their totals across every device, and what is known about them. */
2381
- personProfile: analyticsPersonProfileSchema.optional(),
2382
- visitProfile: analyticsVisitProfileSchema.optional(),
2383
- visitors: z4.array(analyticsVisitorRowSchema).optional(),
2384
- /**
2385
- * The same totals for the window immediately before this one, when asked for.
2386
- *
2387
- * The comparison window is returned alongside rather than reduced to a set of
2388
- * deltas, so a caller can show either side of it and does not have to trust
2389
- * our arithmetic to render "1,240 vs 980".
2390
- */
2391
- previous: z4.object({
2392
- window: analyticsWindowSchema,
2393
- totals: analyticsTotalsSchema
2394
- }).optional()
2395
- });
2396
- var analyticsQueryResponseSchema = z4.object({
2397
- ok: z4.literal(true),
2398
- data: analyticsQueryDataSchema,
2399
- warnings: z4.array(analyticsWarningSchema).optional(),
2400
- hints: z4.array(z4.string()).optional()
2401
- });
2402
- var analyticsConversionsRequestSchema = z4.object({
2403
- set: z4.array(
2404
- z4.object({
2405
- /** `form:<flow>:<step>:<trigger>` | `submit:<flow>` | `page:<name>` | `exit:<host>`. */
2406
- eventKey: z4.string().max(320),
2407
- name: z4.string().max(MAX_CONVERSION_NAME),
2408
- countMode: z4.enum(CONVERSION_COUNT_MODES).optional()
2409
- })
2410
- ).max(60).optional(),
2411
- remove: z4.array(z4.string().max(320)).max(60).optional(),
2412
- /** Every key counted under `from` moves to `to`, and the sends under the name go with it. */
2413
- rename: z4.object({ from: z4.string().min(1).max(MAX_CONVERSION_NAME), to: z4.string().min(1).max(MAX_CONVERSION_NAME) }).optional()
2414
- });
2415
- var analyticsConversionsResponseSchema = z4.object({
2416
- ok: z4.literal(true),
2417
- data: z4.object({
2418
- /**
2419
- * What the company counts — inside a chat, with this chat's proposal on
2420
- * top: `staged` marks a definition that applies when the chat is published.
2421
- */
2422
- definitions: z4.array(
2423
- z4.object({
2424
- eventKey: z4.string(),
2425
- name: z4.string(),
2426
- countMode: z4.string(),
2427
- updatedAt: z4.number(),
2428
- staged: z4.boolean().optional()
2429
- })
2430
- ),
2431
- /** This chat's proposal, when it has one: counted from Publish, and gone if the chat is discarded. */
2432
- staged: z4.object({
2433
- set: z4.array(z4.object({ eventKey: z4.string(), name: z4.string() })),
2434
- remove: z4.array(z4.string())
2435
- }).optional()
2436
- }),
2437
- hints: z4.array(z4.string()).optional()
2438
- });
2439
- var analyticsMappingRequestSchema = z4.object({
2440
- /**
2441
- * Which platform these operations are about. Required for a change.
2442
- *
2443
- * There is no cross-platform entry to write: the platforms do not describe
2444
- * the same world, so `cid` is TikTok's ad and half the internet's campaign,
2445
- * and a keyword on Meta traffic is not a thing that can exist. Omit it only
2446
- * to read the mapping back.
2447
- */
2448
- platform: z4.enum(AD_PLATFORMS).optional(),
2449
- /** Parameter name → role, on `platform`. Merged over what is stored. */
2450
- set: z4.record(z4.string().max(64), adParamRoleSchema).optional(),
2451
- /** Parameter names to stop reading, on `platform`. Applied after `set`. */
2452
- remove: z4.array(z4.string().max(64)).max(64).optional()
2453
- });
2454
- var analyticsMappingResponseSchema = z4.object({
2455
- ok: z4.literal(true),
2456
- data: z4.object({
2457
- /**
2458
- * This company's own entries after the change, keyed `<platform>/<name>`.
2459
- *
2460
- * Every platform's, not only the one the request named: a caller that has
2461
- * just mapped `cid` on TikTok is usually about to be asked the same
2462
- * question about Google, and the answer there is different.
2463
- */
2464
- params: z4.record(z4.string(), adParamRoleSchema),
2465
- /**
2466
- * Names that are understood without being configured.
2467
- *
2468
- * Returned so a caller can tell "already handled" from "not mapped" without
2469
- * shipping a copy of the built-in list, and so an agent does not spend a
2470
- * turn configuring `keyword` to mean keyword.
2471
- */
2472
- builtIn: z4.array(z4.string()),
2473
- /**
2474
- * What the client's own ad account says about each parameter just staged.
2475
- *
2476
- * Present only when a Session staged a `set` on a platform whose tracking
2477
- * configuration Baker can read. `contradicted` is the entry worth stopping
2478
- * for: the account fills that name with a placeholder meaning something
2479
- * else, so the answer just given would produce a report that is wrong and
2480
- * looks entirely plausible.
2481
- */
2482
- evidence: z4.record(
2483
- z4.string(),
2484
- z4.object({
2485
- status: z4.enum(["confirmed", "contradicted", "unseen", "not_read"]),
2486
- macro: z4.string().optional(),
2487
- suggestedRole: adParamRoleSchema.optional(),
2488
- source: z4.string().optional(),
2489
- reason: z4.string().optional()
2490
- })
2491
- ).optional(),
2492
- updatedAt: z4.number().nullable()
2493
- }),
2494
- hints: z4.array(z4.string()).optional()
2495
- });
2496
- var analyticsTrackingRequestSchema = z4.object({
2497
- platform: z4.enum(AD_PLATFORMS).optional(),
2498
- days: z4.number().int().min(1).max(365).optional()
2499
- });
2500
- var trackingDimensionSchema = z4.object({
2501
- role: adParamRoleSchema,
2502
- /** The platform's own macro for it — what goes in the URL. */
2503
- macro: z4.string(),
2504
- /** The account's own spelling where it has one, else the canonical name. */
2505
- name: z4.string(),
2506
- /**
2507
- * What has to happen for this dimension to reach a report.
2508
- *
2509
- * Four states rather than a boolean, because two of them need opposite fixes
2510
- * and one of them is not a finding at all. `unmapped` is one
2511
- * `baker analytics map` call and repairs the history with it; `missing` is a
2512
- * change to the ad account and everything before it stays unattributable;
2513
- * `unknown` means no visit arrived and the account could not be read, which
2514
- * must never be reported as untagged.
2515
- */
2516
- state: z4.enum(["covered", "unmapped", "missing", "unknown"]),
2517
- evidence: z4.string().optional(),
2518
- note: z4.string().optional()
2519
- });
2520
- var analyticsTrackingPlatformSchema = z4.object({
2521
- platform: z4.enum(AD_PLATFORMS),
2522
- label: z4.string(),
2523
- sessions: z4.number(),
2524
- /** Whether the ad account itself could be read, and why not when it could not. */
2525
- account: z4.object({ read: z4.boolean(), templates: z4.number(), reason: z4.string().optional() }),
2526
- dimensions: z4.array(trackingDimensionSchema),
2527
- /** Names the URLs already carry that Baker does not read yet. */
2528
- unmapped: z4.record(z4.string(), adParamRoleSchema),
2529
- mapCommand: z4.string(),
2530
- unexplained: z4.array(z4.object({ name: z4.string(), value: z4.string() })),
2531
- /** The pairs to append to the account's tagging, or `""`. */
2532
- suffix: z4.string(),
2533
- whereItGoes: z4.string(),
2534
- /** Which level to put them at, who can write it, and how an existing value is treated. */
2535
- fix: z4.string()
2536
- });
2537
- var analyticsTrackingResponseSchema = z4.object({
2538
- ok: z4.literal(true),
2539
- data: z4.object({ days: z4.number(), platforms: z4.array(analyticsTrackingPlatformSchema) }),
2540
- hints: z4.array(z4.string()).optional()
2541
- });
2542
- var boundedReference = (max) => z4.string().transform((value) => cutToLength(value, max));
2543
- var submissionRecordRequestSchema = z4.object({
2544
- /**
2545
- * Injected by the Worker from the host or the site key. Never from the page.
2546
- *
2547
- * One of the two fields that is still required, because a copy that cannot
2548
- * be filed under a company cannot be found again by anybody. Bounding it
2549
- * would produce a row belonging to a company that does not exist, which is
2550
- * worse than refusing — this is the case where refusing is right.
2551
- */
2552
- companyId: z4.string().min(1),
2553
- /** Shared with every destination this submit was sent to, and with its event. */
2554
- submissionId: z4.string().min(1).pipe(boundedReference(128)),
2555
- /**
2556
- * The Form execution this step belongs to, or `""` from a page published
2557
- * before attempts existed.
2558
- *
2559
- * `submissionId` is minted per node, so two steps of one filling produce two
2560
- * copies with nothing joining them. This is that join. It changes nothing
2561
- * else here: a sealed copy is still per step, and still the only payload
2562
- * anybody keeps.
2563
- */
2564
- attemptId: boundedReference(128).default(""),
2565
- flowSlug: boundedReference(120).default(""),
2566
- nodeId: boundedReference(120).default(""),
2567
- nodeType: boundedReference(40).default(""),
2568
- landingId: boundedReference(120).default(""),
2569
- release: boundedReference(64).default(""),
2570
- pageUrl: boundedReference(2048).default(""),
2571
- /**
2572
- * A SHA-256 digest, or absent. Never an address.
2573
- *
2574
- * The join from a recovered copy to every session the same person had,
2575
- * without anybody having to open the copy to get there.
2576
- */
2577
- identityHash: boundedReference(128).optional(),
2578
- /**
2579
- * Degraded rather than refused, like everything else here: an unrecognised
2580
- * kind costs the copy one label, and refusing it would cost the copy.
2581
- */
2582
- identityKind: z4.enum(["email", "phone"]).optional().catch(void 0),
2583
- /** Injected by the Worker's edge. Kept exactly here and as a /24 everywhere else. */
2584
- clientIp: boundedReference(64).nullish(),
2585
- /**
2586
- * Every answer on the step, free text included. Sealed on arrival.
2587
- *
2588
- * Bounded rather than length-checked, and that is the whole of it: a `max()`
2589
- * here refused the **entire copy** over one long answer, so a visitor who
2590
- * pasted a paragraph into a free-text field lost the email and the budget
2591
- * beside it too. See {@link boundSubmissionAnswers}.
2592
- */
2593
- answers: z4.record(z4.string(), z4.string()).transform(boundSubmissionAnswers)
2594
- });
2595
-
2596
- // ../api/src/analytics/busy.ts
2597
- var ANALYTICS_BUSY_MESSAGE = "Analytics is busy right now. The numbers will be there in a moment \u2014 try again shortly.";
2598
- function isAnalyticsBusy(message) {
2599
- return typeof message === "string" && message.includes(ANALYTICS_BUSY_MESSAGE);
2600
- }
2601
- var ANALYTICS_BUSY_FIX = "Nothing went wrong and nothing was lost \u2014 the analytics store was briefly at capacity. Wait a few seconds and ask for the same report again. If you were in the middle of a larger job, carry on with the rest of it and come back to this read; do not abandon the job.";
2602
- var ANALYTICS_BUSY_RETRY_MS = 5e3;
2603
- async function retryOnceIfBusy(read, messageOf, sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms))) {
2604
- try {
2605
- return await read();
2606
- } catch (caught) {
2607
- if (!isAnalyticsBusy(messageOf(caught))) throw caught;
2608
- await sleep(ANALYTICS_BUSY_RETRY_MS);
2609
- return await read();
2610
- }
2611
- }
2612
-
2613
- // ../api/src/analytics/conversionNames.ts
2614
- function normalizeConversionName(name) {
2615
- return name.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, " ").trim().split(" ").filter((word) => word !== "").map((word) => word.length > 3 && word.endsWith("s") ? word.slice(0, -1) : word).join(" ");
2616
- }
2617
- function findNameCollision(name, existing) {
2618
- const normalized = normalizeConversionName(name);
2619
- return existing.find((candidate) => candidate !== name && normalizeConversionName(candidate) === normalized) ?? null;
2620
- }
2621
- var STANDARD_CONVERSION_NAMES = [
2622
- { name: "Lead", meaning: "Somebody handed over contact details" },
2623
- { name: "Booked a call", meaning: "A meeting or demo was scheduled" },
2624
- { name: "Quote requested", meaning: "Somebody asked what it would cost" },
2625
- { name: "Purchase", meaning: "Money changed hands" },
2626
- { name: "Signed up", meaning: "An account or trial was created" },
2627
- { name: "Subscribed", meaning: "Somebody opted in to hear from them again" },
2628
- { name: "Downloaded", meaning: "A guide, price list or asset was taken" },
2629
- { name: "Contacted us", meaning: "A call, WhatsApp or email started from the page" }
2630
- ];
2631
-
2632
- // ../api/src/analytics/destinations.ts
2633
- var CONVERSION_SEND_PREFIX = "conversionSend:";
2634
- function isConversionSend(type) {
2635
- return type.startsWith(CONVERSION_SEND_PREFIX);
2636
- }
2637
- var SERVER_SIDE_SENDER_TAG = {
2638
- metaCapi: "meta",
2639
- chatgptAdsCapi: "chatgptAds",
2640
- googleAdsCapi: "googleAds",
2641
- linkedinCapi: "linkedinInsightTag",
2642
- twitterAdsCapi: "twitterAds",
2643
- ga4Mp: "googleAnalytics"
2644
- };
2645
- var DESTINATION_NAMES = {
2646
- email: "Email",
2647
- httpWebhook: "HTTP Webhook",
2648
- zapier: "Zapier",
2649
- tiktok: "TikTok Pixel",
2650
- pinterest: "Pinterest Tag",
2651
- googleTagManager: "Google Tag Manager",
2652
- amplitude: "Amplitude",
2653
- hotjar: "Hotjar",
2654
- clarity: "Microsoft Clarity",
2655
- hubspot: "HubSpot Events",
2656
- vwo: "VWO",
2657
- posthog: "PostHog",
2658
- datafast: "DataFast",
2659
- code: "Custom Code",
2660
- pipedrive: "Pipedrive",
2661
- googleSpreadsheet: "Google Sheets",
2662
- hubspotForm: "HubSpot Form",
2663
- goHighlevelContact: "GoHighLevel",
2664
- crmble: "Crmble"
2665
- };
2666
- function destinationKey(type) {
2667
- const platform = isConversionSend(type) ? type.slice(CONVERSION_SEND_PREFIX.length) : type;
2668
- return SERVER_SIDE_SENDER_TAG[platform] ?? platform;
2669
- }
2670
- function destinationName(type) {
2671
- if (type === "") return "";
2672
- const key = destinationKey(type);
2673
- if (isSendPlatform(key)) return SEND_PLATFORM_SPECS[key].title;
2674
- return DESTINATION_NAMES[key] ?? type;
2675
- }
2676
-
2677
- // ../api/src/analytics/triggers.ts
2678
- var TRIGGERS = {
2679
- "calendlyEvent.eventScheduled": {
2680
- what: "Call booked",
2681
- meaning: "Somebody picked a slot and confirmed it. This is the booking."
2682
- },
2683
- "calendlyEvent.dateAndTimeSelected": {
2684
- what: "Time picked",
2685
- meaning: "Somebody chose a slot but has not confirmed the booking yet."
2686
- },
2687
- "calendlyEvent.eventTypeViewed": {
2688
- what: "Calendar opened",
2689
- meaning: "The calendar appeared. Nobody has picked a time yet.",
2690
- lifecycle: true
2691
- },
2692
- "calendlyEvent.profilePageViewed": {
2693
- what: "Booking page shown",
2694
- meaning: "Calendly's own page appeared. Nobody has picked a time yet.",
2695
- lifecycle: true
2696
- },
2697
- "customForm.onFormSubmitted": {
2698
- what: "Form submitted",
2699
- meaning: "Somebody filled this step in and sent it."
2700
- },
2701
- "highlevelEvent.appointmentScheduled": {
2702
- what: "Appointment booked",
2703
- meaning: "Somebody picked a slot and confirmed it. This is the booking."
2704
- },
2705
- "highlevelEvent.calendarLoaded": {
2706
- what: "Calendar finished loading",
2707
- meaning: "The calendar appeared. Nobody has picked a time yet.",
2708
- lifecycle: true
2709
- },
2710
- "highlevelFormEvent.formSubmitted": {
2711
- what: "Form submitted",
2712
- meaning: "Somebody filled the form in and sent it."
2713
- },
2714
- "highlevelFormEvent.formLoaded": {
2715
- what: "Form finished loading",
2716
- meaning: "The form appeared. Nobody has typed anything yet.",
2717
- lifecycle: true
2718
- },
2719
- "hubspotForm.onFormSubmitted": {
2720
- what: "Form submitted",
2721
- meaning: "Somebody filled the form in and sent it. This is the one that means a lead."
2722
- },
2723
- "hubspotForm.onBeforeFormSubmit": {
2724
- what: "Form about to be sent",
2725
- meaning: "Fires an instant before the form is sent \u2014 not the same as it arriving.",
2726
- lifecycle: true
2727
- },
2728
- "hubspotForm.onFormReady": {
2729
- what: "Form finished loading",
2730
- meaning: "The form appeared. Nobody has typed anything yet.",
2731
- lifecycle: true
2732
- },
2733
- "hubspotForm.onBeforeFormInit": {
2734
- what: "Form starting to load",
2735
- meaning: "Fires before the form has even drawn. It only means the page was opened.",
2736
- lifecycle: true
2737
- },
2738
- "hubspotMeeting.onMeetingScheduled": {
2739
- what: "Meeting booked",
2740
- meaning: "Somebody picked a slot and confirmed it. This is the booking."
2741
- },
2742
- "link.onClick": {
2743
- what: "Link clicked",
2744
- meaning: "Somebody clicked the link on this step and left for wherever it points."
2745
- },
2746
- "savvycalEvent.scheduled": {
2747
- what: "Call booked",
2748
- meaning: "Somebody picked a slot and confirmed it. This is the booking."
2749
- },
2750
- "text.onTextDisplayed": {
2751
- what: "Screen shown",
2752
- meaning: "This screen appeared. On a thank-you screen that is the outcome; elsewhere it is not."
2753
- },
2754
- "text.onButtonClicked": {
2755
- what: "Button pressed",
2756
- meaning: "Somebody pressed the button on this screen."
2757
- }
2758
- };
2759
- function triggerDescription(triggerId) {
2760
- return TRIGGERS[triggerId];
2761
- }
2762
-
2763
- // ../api/src/analytics/feedNoise.ts
2764
- var BOOKKEEPING_TYPES = /* @__PURE__ */ new Set([
2765
- "visitor_new",
2766
- "session_start",
2767
- "identify",
2768
- "form_step_view",
2769
- "side_effect_settled"
2770
- ]);
2771
- var SUBMIT_TRIGGERS = new Set(Object.values(STEP_SUBMIT_TRIGGERS));
2772
- function isEmbedLifecycle(row) {
2773
- return row.eventType === "form_trigger" && triggerDescription(row.triggerId)?.lifecycle === true;
2774
- }
2775
- function isBookkeepingRow(row) {
2776
- if (BOOKKEEPING_TYPES.has(row.eventType)) return true;
2777
- if (isEmbedLifecycle(row)) return true;
2778
- return row.eventType === "form_trigger" && SUBMIT_TRIGGERS.has(row.triggerId);
2779
- }
2780
-
2781
- // ../api/src/analytics/matchKeys.ts
2782
- var CONTACT_KEYS = ["email", "phone", "external_id", "baker_id"];
2783
- var MATCH_KEY_FIELDS = [...CONTACT_KEYS, ...INGEST_CLICK_ID_PARAMS, ...MATCH_COOKIES];
2784
- var MATCH_KEY_LABELS = {
2785
- email: "email",
2786
- phone: "phone",
2787
- external_id: "external ID",
2788
- baker_id: "Baker ID",
2789
- gclid: "Google click",
2790
- wbraid: "Google click (wbraid)",
2791
- gbraid: "Google click (gbraid)",
2792
- dclid: "Google Display click",
2793
- fbclid: "Meta click",
2794
- ttclid: "TikTok click",
2795
- twclid: "X click",
2796
- li_fat_id: "LinkedIn click",
2797
- msclkid: "Microsoft click",
2798
- rdt_cid: "Reddit click",
2799
- epik: "Pinterest click",
2800
- sccid: "Snapchat click",
2801
- oppref: "ChatGPT Ads click",
2802
- fbp: "Meta browser cookie",
2803
- fbc: "Meta click cookie"
2804
- };
2805
- function carries(userData, field) {
2806
- for (const key of [field, `${field}_sha256`, `${field}_preview`]) {
2807
- const value = userData[key];
2808
- if (typeof value === "string" && value !== "") return true;
2809
- }
2810
- return false;
2811
- }
2812
- function rowMatchKeys(userData) {
2813
- if (userData === void 0) return [];
2814
- return MATCH_KEY_FIELDS.filter((field) => carries(userData, field)).map((field) => ({
2815
- field,
2816
- label: MATCH_KEY_LABELS[field] ?? field
2817
- }));
2818
- }
2819
-
2820
- // ../api/src/analytics/trackingTemplate.ts
2821
- function placeholderKey(raw) {
2822
- return raw.replace(/[{}]/g, "").replace(/^_+|_+$/g, "").trim().toLowerCase();
2823
- }
2824
- var EXTRA_PLACEHOLDER_ROLES = {
2825
- google: {
2826
- merchant_id: "product_id",
2827
- product_partition_id: "product_id"
2828
- }
2829
- };
2830
- function placeholderRoles(platform) {
2831
- const roles = {};
2832
- for (const dimension of AD_PLATFORM_DEFINITIONS[platform].dimensions) {
2833
- roles[placeholderKey(dimension.macro)] = dimension.role;
2834
- }
2835
- return { ...roles, ...EXTRA_PLACEHOLDER_ROLES[platform] ?? {} };
2836
- }
2837
- function paramsFromTemplate(template) {
2838
- const start = template.indexOf("?");
2839
- const query = start === -1 ? template : template.slice(start + 1);
2840
- const params = [];
2841
- for (const pair of query.split("&")) {
2842
- const at = pair.indexOf("=");
2843
- if (at < 1) continue;
2844
- const name = pair.slice(0, at).trim();
2845
- if (name === "") continue;
2846
- params.push({ name, value: pair.slice(at + 1).trim() });
2847
- }
2848
- return params;
2849
- }
2850
- function proposeMappingFromTemplate(template, platform) {
2851
- const builtIn = builtinAdParamMapping(platform);
2852
- const vocabulary = placeholderRoles(platform);
2853
- const proposed = {};
2854
- const unexplained = [];
2855
- for (const param of paramsFromTemplate(template)) {
2856
- if (RESERVED_PARAM_NAMES.includes(param.name)) continue;
2857
- if (param.name in builtIn) continue;
2858
- const role = vocabulary[placeholderKey(param.value)];
2859
- if (role) {
2860
- proposed[param.name] = role;
2861
- continue;
2862
- }
2863
- unexplained.push(param);
2864
- }
2865
- return { proposed, unexplained };
2866
- }
2867
- function mappingCommandFor(platform, proposed) {
2868
- const pairs = Object.entries(proposed).map(([name, role]) => `${name}=${role}`);
2869
- if (pairs.length === 0) return "";
2870
- return `baker analytics map --platform ${platform} --set ${pairs.join(",")}`;
2871
- }
2872
-
2873
- export {
2874
- AD_PARAM_ROLE_SPECS,
2875
- isAdPlatform,
2876
- essentialAdDimensions,
2877
- isAnalyticsBusy,
2878
- ANALYTICS_BUSY_FIX,
2879
- retryOnceIfBusy,
2880
- findNameCollision,
2881
- STANDARD_CONVERSION_NAMES,
2882
- CONVERSION_COUNT_MODES,
2883
- formEventKey,
2884
- isLandingViewKey,
2885
- parseEventKey,
2886
- SEND_PLATFORMS,
2887
- isSendPlatform,
2888
- sendEventProblem,
2889
- destinationName,
2890
- isBookkeepingRow,
2891
- rowMatchKeys,
2892
- PEOPLE_SEARCH_MAX_TERMS,
2893
- parsePeopleQuery,
2894
- peopleLookupRequestSchema,
2895
- sendsRequestSchema,
2896
- proposeMappingFromTemplate,
2897
- mappingCommandFor,
2898
- ANALYTICS_UNSTAGE_KINDS,
2899
- SEND_FILTERS,
2900
- ANALYTICS_EVENT_DOORS
2901
- };
2902
- //# sourceMappingURL=chunk-7SX73SH2.js.map