@koda-sl/baker-cli 0.867.0 → 0.868.0-dev.5be0a9a76

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 (874) hide show
  1. package/README.md +3 -2
  2. package/dist/account-3EUJJMLD.js +82 -0
  3. package/dist/account-CTM4XBY3.js +84 -0
  4. package/dist/account-reads-SUWXGTGW.js +230 -0
  5. package/dist/account-users-DL3UD2XG.js +70 -0
  6. package/dist/account-writes-FLMRUDQA.js +68 -0
  7. package/dist/accounts-7ACHUCAY.js +82 -0
  8. package/dist/accounts-KNMGEMMG.js +571 -0
  9. package/dist/accounts-PRKZ3YCO.js +122 -0
  10. package/dist/actions-PO35WQVS.js +55 -0
  11. package/dist/activecampaign-4S63QE4C.js +936 -0
  12. package/dist/ad-group-writes-D3KTU7UI.js +172 -0
  13. package/dist/ad-groups-JPTN3ZB4.js +70 -0
  14. package/dist/ad-writes-YUFL3P6K.js +176 -0
  15. package/dist/add-2F6KL6KB.js +662 -0
  16. package/dist/add-4PCJL2QX.js +109 -0
  17. package/dist/add-TKHBYZF6.js +663 -0
  18. package/dist/ads-M3BHYWLI.js +79 -0
  19. package/dist/ads-U33JFGCR.js +48 -0
  20. package/dist/advertisers-Y2ATV7L6.js +155 -0
  21. package/dist/alerts-C4UFNZMJ.js +154 -0
  22. package/dist/analytics-EM4NNEG5.js +2792 -0
  23. package/dist/analytics-YRGTZHAY.js +462 -0
  24. package/dist/animate-7DXSRWEI.js +482 -0
  25. package/dist/assign-GDV4YOFF.js +84 -0
  26. package/dist/audience-size-ONXW6YWQ.js +138 -0
  27. package/dist/audiences-BASHMZ7Z.js +280 -0
  28. package/dist/audit-3Z6ZZKCH.js +156 -0
  29. package/dist/autocomplete-4ZI234QK.js +118 -0
  30. package/dist/avatars-4OT3XVOD.js +38 -0
  31. package/dist/bid-pricing-7NZ7QKXF.js +105 -0
  32. package/dist/brief-WOGFWWB3.js +512 -0
  33. package/dist/campaign-groups-VBOFSUJS.js +119 -0
  34. package/dist/campaign-writes-E5UJZ2U6.js +176 -0
  35. package/dist/campaign-writes-NMMJXTYD.js +170 -0
  36. package/dist/campaigns-AHXTOR45.js +78 -0
  37. package/dist/campaigns-YFB3PCLE.js +194 -0
  38. package/dist/campaigns-ZWPYUZFF.js +111 -0
  39. package/dist/canvas-NJV6RSX3.js +48 -0
  40. package/dist/capabilities-FJAYWDY6.js +185 -0
  41. package/dist/catalog-XEALUTOG.js +90 -0
  42. package/dist/catalogs-MWMKCFWI.js +130 -0
  43. package/dist/changes-CNGAKH52.js +288 -0
  44. package/dist/chatgpt-FV4PVN4W.js +47 -0
  45. package/dist/chats-65GTXYEC.js +660 -0
  46. package/dist/check-YQIY4BTG.js +55 -0
  47. package/dist/chunk-2N5MQP65.js +127 -0
  48. package/dist/chunk-2RYEYBMF.js +3378 -0
  49. package/dist/chunk-2U4HJDUO.js +46 -0
  50. package/dist/chunk-3YZBGH2W.js +103 -0
  51. package/dist/chunk-4U4YQOO2.js +6340 -0
  52. package/dist/chunk-4YQ46MM4.js +374 -0
  53. package/dist/chunk-52YU7I5M.js +23 -0
  54. package/dist/chunk-5EQF26Z4.js +61 -0
  55. package/dist/chunk-5I2TABSH.js +142 -0
  56. package/dist/chunk-5NLZJ75G.js +423 -0
  57. package/dist/chunk-6HQATKKL.js +548 -0
  58. package/dist/chunk-6LFIF6BK.js +91 -0
  59. package/dist/chunk-6VAUBRY3.js +260 -0
  60. package/dist/chunk-7ANWNBVL.js +170 -0
  61. package/dist/chunk-7EVUIALZ.js +732 -0
  62. package/dist/chunk-7FH3IREG.js +375 -0
  63. package/dist/chunk-7IZNYZZ5.js +915 -0
  64. package/dist/chunk-7MVVDZM2.js +262 -0
  65. package/dist/chunk-7YHMZVKM.js +479 -0
  66. package/dist/chunk-B5RLBFMI.js +26 -0
  67. package/dist/chunk-CBQTKSSP.js +202 -0
  68. package/dist/chunk-CVAQZO4I.js +4416 -0
  69. package/dist/chunk-CVAQZO4I.js.map +1 -0
  70. package/dist/chunk-CYT3HWSV.js +147 -0
  71. package/dist/chunk-D4MNDYPX.js +51 -0
  72. package/dist/chunk-D7DLBQLS.js +76 -0
  73. package/dist/chunk-DNI4DYGT.js +337 -0
  74. package/dist/chunk-E3G2BZEQ.js +604 -0
  75. package/dist/chunk-F6MNCSXP.js +89 -0
  76. package/dist/chunk-FRYH2T32.js +660 -0
  77. package/dist/chunk-FZWLNE53.js +64 -0
  78. package/dist/chunk-GOC2ZZJF.js +746 -0
  79. package/dist/chunk-GZV7523D.js +749 -0
  80. package/dist/chunk-IESEWO3A.js +24026 -0
  81. package/dist/chunk-IESEWO3A.js.map +1 -0
  82. package/dist/chunk-IGHITD2B.js +285 -0
  83. package/dist/chunk-IIC5WLB7.js +152 -0
  84. package/dist/chunk-IIXEFX33.js +303 -0
  85. package/dist/chunk-J4ZRPGNJ.js +329 -0
  86. package/dist/chunk-JE3NZOFS.js +274 -0
  87. package/dist/chunk-JGXB7NBP.js +7829 -0
  88. package/dist/chunk-JPFYTKQA.js +313 -0
  89. package/dist/chunk-JPP3LYVH.js +197 -0
  90. package/dist/chunk-KPQJVORC.js +396 -0
  91. package/dist/chunk-KYOKEQ5E.js +224 -0
  92. package/dist/chunk-L2IC4WE6.js +98 -0
  93. package/dist/chunk-LUWN4X7E.js +863 -0
  94. package/dist/chunk-LVR2UYQ7.js +685 -0
  95. package/dist/chunk-LZ5DS4UB.js +877 -0
  96. package/dist/chunk-NJ6ZJGUO.js +723 -0
  97. package/dist/chunk-NKXH4YZT.js +547 -0
  98. package/dist/chunk-NZZ7ATO5.js +3248 -0
  99. package/dist/chunk-NZZ7ATO5.js.map +1 -0
  100. package/dist/chunk-O5UWZ4AI.js +170 -0
  101. package/dist/chunk-PUDEC2K3.js +78 -0
  102. package/dist/chunk-Q7V5XSFZ.js +411 -0
  103. package/dist/chunk-RVWBLOXX.js +9127 -0
  104. package/dist/chunk-SBID6GZZ.js +252 -0
  105. package/dist/chunk-TKDET4WF.js +430 -0
  106. package/dist/chunk-TU3HH4O3.js +155 -0
  107. package/dist/chunk-TY4MTOTL.js +86 -0
  108. package/dist/chunk-TY4MTOTL.js.map +1 -0
  109. package/dist/chunk-TZPFQJTH.js +175 -0
  110. package/dist/chunk-UBUFWX5O.js +91 -0
  111. package/dist/chunk-W3XIDU5C.js +509 -0
  112. package/dist/chunk-W5JX7LUK.js +10430 -0
  113. package/dist/chunk-XOW4EBDN.js +396 -0
  114. package/dist/chunk-Y2VYMMVR.js +1577 -0
  115. package/dist/chunk-YQ5DCDWD.js +1862 -0
  116. package/dist/chunk-YUZGTNAO.js +1124 -0
  117. package/dist/chunk-YY6D3PI6.js +163 -0
  118. package/dist/chunk-Z4GSPW5B.js +505 -0
  119. package/dist/chunk-Z6WDG4DW.js +341 -0
  120. package/dist/chunk-ZFBDDOKR.js +1883 -0
  121. package/dist/claim-IOM6PVO5.js +219 -0
  122. package/dist/cli.js +35 -35
  123. package/dist/cli.js.map +1 -1
  124. package/dist/companies-WY4K6WLI.js +37 -0
  125. package/dist/company-PVCI3LC7.js +312 -0
  126. package/dist/complete-2QF4BZ5T.js +88 -0
  127. package/dist/connect-GSLMEPHD.js +47 -0
  128. package/dist/conversation-5NCE56L3.js +101 -0
  129. package/dist/conversion-report-DXPM2LDV.js +130 -0
  130. package/dist/conversion-upload-command-Y4ABNNAT.js +456 -0
  131. package/dist/conversion-writes-6MJ7JTHC.js +194 -0
  132. package/dist/conversions-DGKHWOMN.js +142 -0
  133. package/dist/conversions-VM4HKWBN.js +78 -0
  134. package/dist/create-2EFBCVF4.js +220 -0
  135. package/dist/create-KKJX3JLV.js +66 -0
  136. package/dist/create-TRL622CZ.js +357 -0
  137. package/dist/create-X2R7FNDZ.js +191 -0
  138. package/dist/creatives-D5WLUJWC.js +236 -0
  139. package/dist/creatives-EWTMQK7H.js +48 -0
  140. package/dist/credentials-H4W36WE7.js +292 -0
  141. package/dist/critique-4Q3XEGS5.js +231 -0
  142. package/dist/crm-APNCVLF2.js +419 -0
  143. package/dist/crm-T3NV4EOU.js +328 -0
  144. package/dist/currency-NRI2TLP3.js +91 -0
  145. package/dist/customers-VZYCYMSL.js +70 -0
  146. package/dist/data-HJHRUE34.js +665 -0
  147. package/dist/delete-BWPILWUN.js +72 -0
  148. package/dist/delete-JGR3HPY5.js +71 -0
  149. package/dist/delete-VJEOLHNE.js +61 -0
  150. package/dist/demographics-CBJ26IAA.js +146 -0
  151. package/dist/discard-3MMFPF26.js +73 -0
  152. package/dist/discover-F4TO7A3K.js +191 -0
  153. package/dist/domain-7MSMJMDP.js +105 -0
  154. package/dist/download-N3R6G3QV.js +175 -0
  155. package/dist/draft-ACWK2FGW.js +340 -0
  156. package/dist/draft-CLNMIQXV.js +640 -0
  157. package/dist/draft-F6FHBF6I.js +228 -0
  158. package/dist/draft-MKFFXTJK.js +390 -0
  159. package/dist/draft-XBO2DYIJ.js +428 -0
  160. package/dist/engine/index.js +9 -9
  161. package/dist/experiments-VYYS5Y7W.js +242 -0
  162. package/dist/extract-F7D62JMA.js +178 -0
  163. package/dist/facets-6GJJIRRR.js +161 -0
  164. package/dist/feedback-3TYBQZY4.js +116 -0
  165. package/dist/fetch-JBXBMJBK.js +488 -0
  166. package/dist/fit-ZFPYO3MS.js +70 -0
  167. package/dist/flows-FRWZWHXZ.js +343 -0
  168. package/dist/forecast-H24SICMO.js +123 -0
  169. package/dist/forecast-JAPRYH4F.js +189 -0
  170. package/dist/funnel-BFVSY5A6.js +702 -0
  171. package/dist/generate-SIS2OKZR.js +265 -0
  172. package/dist/get-J4CETDIS.js +115 -0
  173. package/dist/get-SPKPNRXF.js +78 -0
  174. package/dist/google-4IKGTP3C.js +165 -0
  175. package/dist/google-HHKFDH7I.js +3765 -0
  176. package/dist/google-ads-SGKGDWV6.js +231 -0
  177. package/dist/history-5EATPXPS.js +204 -0
  178. package/dist/history-K5ULNTEM.js +156 -0
  179. package/dist/history-QOQY2F77.js +109 -0
  180. package/dist/hubspot-HNZLT2BH.js +966 -0
  181. package/dist/ideas-35LERPN4.js +50 -0
  182. package/dist/images-R3EK4BDH.js +92 -0
  183. package/dist/ingest-5TSJM7A7.js +163 -0
  184. package/dist/ingest-LYVNO5M5.js +32 -0
  185. package/dist/insights-PVBTR5SK.js +151 -0
  186. package/dist/inspect-36R5WLLX.js +39 -0
  187. package/dist/intent-T6BUKGQG.js +97 -0
  188. package/dist/keyword-gap-TC7UWZ5Q.js +173 -0
  189. package/dist/keyword-metrics-JRB6DREM.js +235 -0
  190. package/dist/keywords-for-site-FQOELX5H.js +135 -0
  191. package/dist/languages-AFTPOHIV.js +41 -0
  192. package/dist/leads-ILZAOKIF.js +138 -0
  193. package/dist/learn-AWQ6JTP2.js +214 -0
  194. package/dist/line-item-writes-APTZP3DI.js +213 -0
  195. package/dist/line-items-5YSLNBGJ.js +107 -0
  196. package/dist/link-2MGGDKLP.js +71 -0
  197. package/dist/linkedin-EBOTX37R.js +1513 -0
  198. package/dist/linkedin-person-FNKW44RV.js +143 -0
  199. package/dist/list-75NNAGBR.js +90 -0
  200. package/dist/list-CJU2Y6OP.js +321 -0
  201. package/dist/list-L3NBK64M.js +227 -0
  202. package/dist/locations-BMGOEKLN.js +69 -0
  203. package/dist/locations-OPMVTKHK.js +41 -0
  204. package/dist/log-JJDSDLOK.js +99 -0
  205. package/dist/make-U323I4SF.js +1392 -0
  206. package/dist/map-KFN2QLYV.js +520 -0
  207. package/dist/mcp-KGAXFVUM.js +1018 -0
  208. package/dist/media-sources-BSECLIMM.js +35 -0
  209. package/dist/members-6FHV7EM2.js +51 -0
  210. package/dist/metrics-S5G6W36J.js +193 -0
  211. package/dist/models-H5WM4UGE.js +155 -0
  212. package/dist/normalize-YWIDJR4R.js +146 -0
  213. package/dist/options-R4Q46LU5.js +127 -0
  214. package/dist/organization-76LF7MHK.js +950 -0
  215. package/dist/people-BK6GRJXB.js +162 -0
  216. package/dist/people-HR7CAKZS.js +172 -0
  217. package/dist/performance-PTBBUEZU.js +29 -0
  218. package/dist/performance-Y2S5FDGI.js +6361 -0
  219. package/dist/pipedrive-NONV3NBQ.js +534 -0
  220. package/dist/pixels-KIFMIBPJ.js +62 -0
  221. package/dist/preview-HD3QAR53.js +104 -0
  222. package/dist/promoted-tweet-writes-3LNFAGEM.js +185 -0
  223. package/dist/promoted-tweets-IHUQA35K.js +119 -0
  224. package/dist/publish-IUE7RHRD.js +431 -0
  225. package/dist/query-5XB5OP4B.js +68 -0
  226. package/dist/reddit-BOTUVLHL.js +31 -0
  227. package/dist/refresh-RPVVOQX4.js +101 -0
  228. package/dist/release-4YZWORV2.js +67 -0
  229. package/dist/relevant-pages-NUWR6FNB.js +101 -0
  230. package/dist/remove-FO7I4RQ3.js +55 -0
  231. package/dist/reopen-FMPQVL2C.js +70 -0
  232. package/dist/rerun-RYL5UJRE.js +102 -0
  233. package/dist/research-2H3ST6C2.js +78 -0
  234. package/dist/research-3LSWITEK.js +267 -0
  235. package/dist/reset-PNCDMWGO.js +59 -0
  236. package/dist/reset-RI6NO6NQ.js +59 -0
  237. package/dist/resolve-SGL3A5N5.js +126 -0
  238. package/dist/retry-4FMP73MN.js +67 -0
  239. package/dist/retry-JRH3WJSF.js +67 -0
  240. package/dist/revenue-V4ODLBZ6.js +100 -0
  241. package/dist/rules-EPNUXMHG.js +164 -0
  242. package/dist/run-2SPQZ2ZZ.js +79 -0
  243. package/dist/run-HLQUPQZ2.js +74 -0
  244. package/dist/scaffold-ad-3YLGTFRT.js +1604 -0
  245. package/dist/scaffold-static-ad-3RCD642H.js +999 -0
  246. package/dist/scaffold-video-F5HTBM4R.js +890 -0
  247. package/dist/schedule-O36GKVZV.js +66 -0
  248. package/dist/scheduled-agents-4UNG26CX.js +59 -0
  249. package/dist/schema-EOQASVWI.js +137 -0
  250. package/dist/schema-SRFWL4ZT.js +241 -0
  251. package/dist/search-DLMLA423.js +230 -0
  252. package/dist/search-terms-WLOW2FPP.js +412 -0
  253. package/dist/select-KBYLNNL4.js +135 -0
  254. package/dist/set-6L7YV57E.js +287 -0
  255. package/dist/set-prompt-WBYLKIO3.js +205 -0
  256. package/dist/setup-links-XT4TEZWI.js +146 -0
  257. package/dist/shopify-ICWRWUZE.js +4033 -0
  258. package/dist/site-LYDFZM5U.js +182 -0
  259. package/dist/sources-CP4UQ5KA.js +30 -0
  260. package/dist/sources-FPWA4AJN.js +470 -0
  261. package/dist/stale-GWG4V65Q.js +93 -0
  262. package/dist/status-W6S7AY43.js +69 -0
  263. package/dist/stock-6VZFFAHW.js +214 -0
  264. package/dist/studio-VU7CEAEU.js +49 -0
  265. package/dist/sync-I6ZVQOSZ.js +59 -0
  266. package/dist/sync-definition-NADPEPFQ.js +75 -0
  267. package/dist/tags-47QAF2ZJ.js +25 -0
  268. package/dist/tags-AN5B56GA.js +26 -0
  269. package/dist/tags-DFCLKJX7.js +194 -0
  270. package/dist/tags-DFCLKJX7.js.map +1 -0
  271. package/dist/tags-ETUV62EB.js +25 -0
  272. package/dist/tags-UKAR6FCS.js +25 -0
  273. package/dist/targeting-criteria-4E6SURB5.js +113 -0
  274. package/dist/targets-GJUR5WTB.js +111 -0
  275. package/dist/testimonials-UCVT5VQY.js +32 -0
  276. package/dist/themes-Q5CSF6TJ.js +102 -0
  277. package/dist/top-companies-WID72GN5.js +251 -0
  278. package/dist/transcript-OMYAOZSP.js +169 -0
  279. package/dist/translate-TIAJBFQ3.js +608 -0
  280. package/dist/triggers-IEMDGR6W.js +149 -0
  281. package/dist/unlink-WCLQPP7S.js +74 -0
  282. package/dist/unstage-KRPX3AGF.js +93 -0
  283. package/dist/update-CPSZ4EH3.js +194 -0
  284. package/dist/update-CQ4VF2S5.js +70 -0
  285. package/dist/update-NP2MOMJS.js +238 -0
  286. package/dist/update-XF462N7M.js +176 -0
  287. package/dist/upload-WRRNFTRK.js +186 -0
  288. package/dist/url-options-BANFHIHH.js +137 -0
  289. package/dist/url-params-DKGJVTGL.js +103 -0
  290. package/dist/validate-6AHY2UQR.js +181 -0
  291. package/dist/videos-FG64T3XK.js +41 -0
  292. package/dist/viewer-check-3YGDWCTR.js +90 -0
  293. package/dist/visuals-3C2QUE6G.js +130 -0
  294. package/dist/web-K3JH5TXT.js +225 -0
  295. package/dist/winning-ads-QDVS56XX.js +88 -0
  296. package/dist/write-commands-X72A5F7K.js +1556 -0
  297. package/dist/x-JU6LF2MM.js +47 -0
  298. package/package.json +1 -1
  299. package/dist/account-4N7MM5BP.js +0 -82
  300. package/dist/account-YGVM4LWF.js +0 -84
  301. package/dist/account-reads-BQMDEBWP.js +0 -230
  302. package/dist/account-users-3HZZRKN2.js +0 -70
  303. package/dist/account-writes-JNCSQ6RL.js +0 -68
  304. package/dist/accounts-BRFLWGQY.js +0 -82
  305. package/dist/accounts-ILCTHJ3Q.js +0 -571
  306. package/dist/accounts-X2FHTWUB.js +0 -122
  307. package/dist/actions-2J5CYE7U.js +0 -55
  308. package/dist/activecampaign-RMFBCQND.js +0 -936
  309. package/dist/ad-group-writes-JGOWTRYQ.js +0 -172
  310. package/dist/ad-groups-Y2GEOCED.js +0 -70
  311. package/dist/ad-writes-GKFAQQJK.js +0 -176
  312. package/dist/add-E2ZFU726.js +0 -662
  313. package/dist/add-LS3OSS35.js +0 -109
  314. package/dist/add-VJ6GKCTD.js +0 -663
  315. package/dist/ads-CBJHCYGD.js +0 -48
  316. package/dist/ads-QCH2Z5BN.js +0 -79
  317. package/dist/advertisers-KTAXJNHA.js +0 -155
  318. package/dist/alerts-OKQABIN6.js +0 -154
  319. package/dist/analytics-NKZOKK42.js +0 -2792
  320. package/dist/analytics-VJAE7IEX.js +0 -462
  321. package/dist/animate-PNIMVVD3.js +0 -482
  322. package/dist/assign-NMGHBIA6.js +0 -84
  323. package/dist/audience-size-6WRECSTU.js +0 -138
  324. package/dist/audiences-TLMMXV4L.js +0 -280
  325. package/dist/audit-ITUWBBFD.js +0 -156
  326. package/dist/autocomplete-355RK3VJ.js +0 -118
  327. package/dist/avatars-R7LSPYE6.js +0 -38
  328. package/dist/bid-pricing-LMNMUESJ.js +0 -105
  329. package/dist/brief-EKOHTIXI.js +0 -512
  330. package/dist/campaign-groups-EEUEFQDE.js +0 -119
  331. package/dist/campaign-writes-HHD2VVP2.js +0 -170
  332. package/dist/campaign-writes-OMHR7WHK.js +0 -176
  333. package/dist/campaigns-IEA4VRFI.js +0 -78
  334. package/dist/campaigns-PXDNM7HX.js +0 -111
  335. package/dist/campaigns-TE5F5ISC.js +0 -194
  336. package/dist/canvas-X47MCSBD.js +0 -48
  337. package/dist/capabilities-CPKDR3Q2.js +0 -185
  338. package/dist/catalog-AJ6LIJZF.js +0 -90
  339. package/dist/catalogs-5F7RB44K.js +0 -130
  340. package/dist/changes-AIAMM7QF.js +0 -288
  341. package/dist/chatgpt-U5FFOZAO.js +0 -47
  342. package/dist/chats-7TXOBRLH.js +0 -660
  343. package/dist/check-FGOIYTSV.js +0 -55
  344. package/dist/chunk-365APOGK.js +0 -396
  345. package/dist/chunk-44RZEKDP.js +0 -51
  346. package/dist/chunk-4BCCOYFG.js +0 -877
  347. package/dist/chunk-6U4ILEJ3.js +0 -396
  348. package/dist/chunk-6Y4AXDU4.js +0 -65
  349. package/dist/chunk-6Y4AXDU4.js.map +0 -1
  350. package/dist/chunk-7SOSXRZC.js +0 -660
  351. package/dist/chunk-AOV3VKPL.js +0 -78
  352. package/dist/chunk-B3JBIAXI.js +0 -1883
  353. package/dist/chunk-C3742YL7.js +0 -313
  354. package/dist/chunk-CZZXW6VK.js +0 -24026
  355. package/dist/chunk-CZZXW6VK.js.map +0 -1
  356. package/dist/chunk-D7VLNNDV.js +0 -152
  357. package/dist/chunk-DBDQEIGX.js +0 -303
  358. package/dist/chunk-DFTN5SRH.js +0 -103
  359. package/dist/chunk-DX3TB5RV.js +0 -423
  360. package/dist/chunk-DZE2UHST.js +0 -147
  361. package/dist/chunk-E4DHH5EL.js +0 -46
  362. package/dist/chunk-F3OYRVLY.js +0 -170
  363. package/dist/chunk-F4EMZQ66.js +0 -3378
  364. package/dist/chunk-FBW4FH4V.js +0 -7829
  365. package/dist/chunk-FN4QQJPZ.js +0 -98
  366. package/dist/chunk-FY6CYD5M.js +0 -23
  367. package/dist/chunk-FZNCML5Q.js +0 -732
  368. package/dist/chunk-G4ZQIR3R.js +0 -163
  369. package/dist/chunk-G6YNRJZO.js +0 -723
  370. package/dist/chunk-GBT2TTA2.js +0 -548
  371. package/dist/chunk-GZAHNOUP.js +0 -746
  372. package/dist/chunk-H7JSYC4X.js +0 -4416
  373. package/dist/chunk-H7JSYC4X.js.map +0 -1
  374. package/dist/chunk-HAV4GBBK.js +0 -411
  375. package/dist/chunk-HXHAYR5R.js +0 -604
  376. package/dist/chunk-IFAZWSIJ.js +0 -1577
  377. package/dist/chunk-INW3G4P3.js +0 -749
  378. package/dist/chunk-JPDIM55H.js +0 -341
  379. package/dist/chunk-JX3SQ26G.js +0 -329
  380. package/dist/chunk-L3RQJHQO.js +0 -170
  381. package/dist/chunk-LIRPFZVV.js +0 -509
  382. package/dist/chunk-LNLUJ6TH.js +0 -155
  383. package/dist/chunk-LPECS3YX.js +0 -10430
  384. package/dist/chunk-LXDZCFII.js +0 -375
  385. package/dist/chunk-M2QT2THK.js +0 -1124
  386. package/dist/chunk-M6I75FEO.js +0 -374
  387. package/dist/chunk-MTOHGVQD.js +0 -91
  388. package/dist/chunk-MVG66YDQ.js +0 -9127
  389. package/dist/chunk-NC6NLGN3.js +0 -1862
  390. package/dist/chunk-NQMLQXXP.js +0 -547
  391. package/dist/chunk-OR6I7R7X.js +0 -6340
  392. package/dist/chunk-OWFZLCE2.js +0 -915
  393. package/dist/chunk-P4R37O5D.js +0 -274
  394. package/dist/chunk-QJHAL4GT.js +0 -505
  395. package/dist/chunk-QVFLYWE3.js +0 -685
  396. package/dist/chunk-QVG4U55R.js +0 -197
  397. package/dist/chunk-R2G6SQ3U.js +0 -430
  398. package/dist/chunk-RNJVJBD7.js +0 -337
  399. package/dist/chunk-RWKK7GMY.js +0 -89
  400. package/dist/chunk-SCN5ZF4U.js +0 -76
  401. package/dist/chunk-SDWMLIIK.js +0 -202
  402. package/dist/chunk-SF3U3WQR.js +0 -262
  403. package/dist/chunk-T7V2OPW2.js +0 -127
  404. package/dist/chunk-U56ERMJY.js +0 -479
  405. package/dist/chunk-UGGFCTH2.js +0 -260
  406. package/dist/chunk-UJMTTIW2.js +0 -285
  407. package/dist/chunk-UP3VE7X4.js +0 -863
  408. package/dist/chunk-WMSRZZH7.js +0 -175
  409. package/dist/chunk-X77CRONC.js +0 -61
  410. package/dist/chunk-XGE7G3K3.js +0 -252
  411. package/dist/chunk-YJ4M3X7T.js +0 -91
  412. package/dist/chunk-ZB7EZMK5.js +0 -224
  413. package/dist/chunk-ZJXYWHQT.js +0 -142
  414. package/dist/chunk-ZSC3LYTP.js +0 -3248
  415. package/dist/chunk-ZSC3LYTP.js.map +0 -1
  416. package/dist/chunk-ZUML4HW7.js +0 -64
  417. package/dist/chunk-ZXG5MYV4.js +0 -26
  418. package/dist/claim-KXDG6QWC.js +0 -219
  419. package/dist/companies-7MWAWS6C.js +0 -37
  420. package/dist/company-U2OIPLKE.js +0 -312
  421. package/dist/complete-KUDG34NE.js +0 -88
  422. package/dist/connect-TWMBWL5I.js +0 -47
  423. package/dist/conversation-Z23EH7WU.js +0 -101
  424. package/dist/conversion-report-OILIT55D.js +0 -130
  425. package/dist/conversion-upload-command-6PILGKCD.js +0 -456
  426. package/dist/conversion-writes-GLCPMZXY.js +0 -194
  427. package/dist/conversions-KI7FEA7E.js +0 -142
  428. package/dist/conversions-O2V6L6DY.js +0 -78
  429. package/dist/create-KUOSRCES.js +0 -66
  430. package/dist/create-VZ2QUD53.js +0 -220
  431. package/dist/create-XYILXJQS.js +0 -357
  432. package/dist/create-YOI6O536.js +0 -191
  433. package/dist/creatives-6WQAK2AD.js +0 -236
  434. package/dist/creatives-CM24TZ4T.js +0 -48
  435. package/dist/credentials-YDMJYQX3.js +0 -292
  436. package/dist/critique-X6DG7ZKI.js +0 -231
  437. package/dist/crm-R3W3KRDT.js +0 -328
  438. package/dist/crm-USZALGLQ.js +0 -419
  439. package/dist/currency-KV3FJN27.js +0 -91
  440. package/dist/customers-4P7K65PC.js +0 -70
  441. package/dist/data-BKTQ4YER.js +0 -665
  442. package/dist/delete-5FTWWBXC.js +0 -72
  443. package/dist/delete-FYNPYLYX.js +0 -61
  444. package/dist/delete-SSMJXTBX.js +0 -71
  445. package/dist/demographics-EQG3AEXT.js +0 -146
  446. package/dist/discard-THTOYECS.js +0 -73
  447. package/dist/discover-FORYQELN.js +0 -191
  448. package/dist/domain-P3TEXMW5.js +0 -105
  449. package/dist/download-LYZ2LCKD.js +0 -175
  450. package/dist/draft-5WZYZSGH.js +0 -640
  451. package/dist/draft-I5FLNPRP.js +0 -340
  452. package/dist/draft-QX7DEJST.js +0 -390
  453. package/dist/draft-TLXYX73G.js +0 -228
  454. package/dist/draft-VBEIOMYX.js +0 -428
  455. package/dist/experiments-P45F6ETV.js +0 -242
  456. package/dist/extract-V56BJWHI.js +0 -178
  457. package/dist/facets-IKX2537Q.js +0 -161
  458. package/dist/feedback-SUFQ2ZJB.js +0 -116
  459. package/dist/fetch-YKXXN6UE.js +0 -488
  460. package/dist/fit-HPRLXVND.js +0 -70
  461. package/dist/flows-YLA3VDPP.js +0 -343
  462. package/dist/forecast-KPJ7WCUA.js +0 -123
  463. package/dist/forecast-TSYLGQAK.js +0 -189
  464. package/dist/funnel-SVO2SF3A.js +0 -702
  465. package/dist/generate-IYV672VJ.js +0 -265
  466. package/dist/get-GC3OCAAM.js +0 -78
  467. package/dist/get-IGEAFGDQ.js +0 -115
  468. package/dist/google-TMDWMV5J.js +0 -165
  469. package/dist/google-Y5BQU36K.js +0 -3765
  470. package/dist/google-ads-FH7FPLE3.js +0 -231
  471. package/dist/history-ARBPQ4EE.js +0 -156
  472. package/dist/history-DKOEXEHI.js +0 -204
  473. package/dist/history-R6NI2GSX.js +0 -109
  474. package/dist/hubspot-KYCGWZKK.js +0 -966
  475. package/dist/ideas-ONWEP2WA.js +0 -50
  476. package/dist/images-HI7SUZRP.js +0 -92
  477. package/dist/ingest-T5HB5N4A.js +0 -32
  478. package/dist/ingest-YPSRKTP4.js +0 -163
  479. package/dist/insights-GXODLEC2.js +0 -151
  480. package/dist/inspect-DK6B23M5.js +0 -39
  481. package/dist/intent-6O5IPSOY.js +0 -97
  482. package/dist/keyword-gap-DYNWN7QL.js +0 -173
  483. package/dist/keyword-metrics-LAX4E7EX.js +0 -235
  484. package/dist/keywords-for-site-EWXNSUNC.js +0 -135
  485. package/dist/languages-R2NXKMXP.js +0 -41
  486. package/dist/leads-E4Z5I5NW.js +0 -138
  487. package/dist/learn-BMTDLH6C.js +0 -214
  488. package/dist/line-item-writes-2GY4ENP4.js +0 -213
  489. package/dist/line-items-QTUQ7VHT.js +0 -107
  490. package/dist/link-IFE2UQZ2.js +0 -71
  491. package/dist/linkedin-DMRTMNHL.js +0 -1513
  492. package/dist/linkedin-person-LDKH6CYE.js +0 -143
  493. package/dist/list-CTEYZ2KA.js +0 -90
  494. package/dist/list-KXS76WRQ.js +0 -321
  495. package/dist/list-UDYTPBSY.js +0 -227
  496. package/dist/locations-6LW7LNOI.js +0 -41
  497. package/dist/locations-IJ6NZQHI.js +0 -69
  498. package/dist/log-WRXEC3Y4.js +0 -99
  499. package/dist/make-KALI7FDX.js +0 -1392
  500. package/dist/map-FC6H2VXU.js +0 -520
  501. package/dist/mcp-JEMZ5S3N.js +0 -1018
  502. package/dist/media-sources-6AUMIFLZ.js +0 -35
  503. package/dist/members-SODGC2JS.js +0 -51
  504. package/dist/metrics-J4JSMZHP.js +0 -193
  505. package/dist/models-ZFQ6KKYQ.js +0 -155
  506. package/dist/normalize-MJXBLITR.js +0 -146
  507. package/dist/options-R67VNTFT.js +0 -127
  508. package/dist/organization-WVNV6JTP.js +0 -950
  509. package/dist/people-CI74TMWP.js +0 -162
  510. package/dist/people-TPZC5SV3.js +0 -172
  511. package/dist/performance-6COMR55P.js +0 -6361
  512. package/dist/performance-Q53WVYP3.js +0 -29
  513. package/dist/pipedrive-MALR7HLL.js +0 -534
  514. package/dist/pixels-JU3PPEBU.js +0 -62
  515. package/dist/preview-MLUYV5YJ.js +0 -104
  516. package/dist/promoted-tweet-writes-VA77PU6F.js +0 -185
  517. package/dist/promoted-tweets-BLEB2562.js +0 -119
  518. package/dist/publish-O4A5LYXC.js +0 -431
  519. package/dist/query-2WO3CHHS.js +0 -68
  520. package/dist/reddit-EYIVSTLX.js +0 -31
  521. package/dist/refresh-6ULVVUX3.js +0 -101
  522. package/dist/release-R25UDKC4.js +0 -67
  523. package/dist/relevant-pages-LQADLWOX.js +0 -101
  524. package/dist/remove-2J5JPNYD.js +0 -55
  525. package/dist/reopen-WJTGGGSW.js +0 -70
  526. package/dist/rerun-6GYEOTLW.js +0 -102
  527. package/dist/research-K32VHARZ.js +0 -78
  528. package/dist/research-RARA76OT.js +0 -267
  529. package/dist/reset-6NCDX64B.js +0 -59
  530. package/dist/reset-PJHTU3FZ.js +0 -59
  531. package/dist/resolve-KOJLKGF2.js +0 -126
  532. package/dist/retry-2SCLTF22.js +0 -67
  533. package/dist/retry-737X2PY7.js +0 -67
  534. package/dist/revenue-7CTR5X4Y.js +0 -100
  535. package/dist/rules-BCMC4ZO2.js +0 -164
  536. package/dist/run-ESJTTQZR.js +0 -79
  537. package/dist/run-WFL6QOQC.js +0 -74
  538. package/dist/scaffold-ad-4O2POBKK.js +0 -1604
  539. package/dist/scaffold-static-ad-ZG47OQP3.js +0 -999
  540. package/dist/scaffold-video-BGPRMLF5.js +0 -890
  541. package/dist/schedule-3ZN3BEV4.js +0 -66
  542. package/dist/scheduled-agents-6NPQYF7S.js +0 -59
  543. package/dist/schema-U4OPVDEL.js +0 -241
  544. package/dist/schema-VVWZ74WG.js +0 -137
  545. package/dist/search-CMNN5ZE7.js +0 -230
  546. package/dist/search-terms-L7XVSUED.js +0 -412
  547. package/dist/select-3FRMBMKG.js +0 -135
  548. package/dist/set-B3UW3XQ3.js +0 -287
  549. package/dist/set-prompt-T3DYLITY.js +0 -205
  550. package/dist/setup-links-TNSCVEM4.js +0 -146
  551. package/dist/shopify-XK6WESI7.js +0 -4033
  552. package/dist/site-IKFHQS4O.js +0 -182
  553. package/dist/sources-IURSG7ZP.js +0 -470
  554. package/dist/sources-X24PA4RB.js +0 -30
  555. package/dist/stale-JGUZLHIV.js +0 -93
  556. package/dist/status-L6PF6S2Z.js +0 -69
  557. package/dist/stock-SZVCE7TD.js +0 -214
  558. package/dist/studio-JM6ZM4VP.js +0 -49
  559. package/dist/sync-AJSPVD3B.js +0 -59
  560. package/dist/sync-definition-WUC3JIXI.js +0 -75
  561. package/dist/tags-4J24JJCL.js +0 -25
  562. package/dist/tags-B7Z2JDUO.js +0 -25
  563. package/dist/tags-OBUNEHLM.js +0 -26
  564. package/dist/tags-R2QYEYZP.js +0 -183
  565. package/dist/tags-R2QYEYZP.js.map +0 -1
  566. package/dist/tags-T4GJL3X3.js +0 -25
  567. package/dist/targeting-criteria-VZ2UHFWC.js +0 -113
  568. package/dist/targets-IZF263WP.js +0 -111
  569. package/dist/testimonials-EMD6I4A4.js +0 -32
  570. package/dist/themes-VQHOGFND.js +0 -102
  571. package/dist/top-companies-NTTNHKHK.js +0 -251
  572. package/dist/transcript-UEHGL67P.js +0 -169
  573. package/dist/translate-UBVQOFVD.js +0 -608
  574. package/dist/triggers-7JRPTB2V.js +0 -149
  575. package/dist/unlink-56PVDBCF.js +0 -74
  576. package/dist/unstage-JPWHVQ43.js +0 -93
  577. package/dist/update-DKPGAWYZ.js +0 -194
  578. package/dist/update-MTCISYL5.js +0 -70
  579. package/dist/update-OWF4YMIR.js +0 -176
  580. package/dist/update-V2LDE5MX.js +0 -238
  581. package/dist/upload-EUKDFNGN.js +0 -186
  582. package/dist/url-options-QYL7J3CQ.js +0 -137
  583. package/dist/url-params-7QV3BS4F.js +0 -103
  584. package/dist/validate-LVRQ6BAT.js +0 -181
  585. package/dist/videos-KR7S3NTF.js +0 -41
  586. package/dist/viewer-check-P56Q4MBH.js +0 -90
  587. package/dist/visuals-KW4UQ7XC.js +0 -130
  588. package/dist/web-BGSYX4MC.js +0 -225
  589. package/dist/winning-ads-Q5NRUXCB.js +0 -88
  590. package/dist/write-commands-B25QPBUY.js +0 -1556
  591. package/dist/x-LGCRY3MH.js +0 -47
  592. /package/dist/{account-4N7MM5BP.js.map → account-3EUJJMLD.js.map} +0 -0
  593. /package/dist/{account-YGVM4LWF.js.map → account-CTM4XBY3.js.map} +0 -0
  594. /package/dist/{account-reads-BQMDEBWP.js.map → account-reads-SUWXGTGW.js.map} +0 -0
  595. /package/dist/{account-users-3HZZRKN2.js.map → account-users-DL3UD2XG.js.map} +0 -0
  596. /package/dist/{account-writes-JNCSQ6RL.js.map → account-writes-FLMRUDQA.js.map} +0 -0
  597. /package/dist/{accounts-BRFLWGQY.js.map → accounts-7ACHUCAY.js.map} +0 -0
  598. /package/dist/{accounts-ILCTHJ3Q.js.map → accounts-KNMGEMMG.js.map} +0 -0
  599. /package/dist/{accounts-X2FHTWUB.js.map → accounts-PRKZ3YCO.js.map} +0 -0
  600. /package/dist/{actions-2J5CYE7U.js.map → actions-PO35WQVS.js.map} +0 -0
  601. /package/dist/{activecampaign-RMFBCQND.js.map → activecampaign-4S63QE4C.js.map} +0 -0
  602. /package/dist/{ad-group-writes-JGOWTRYQ.js.map → ad-group-writes-D3KTU7UI.js.map} +0 -0
  603. /package/dist/{ad-groups-Y2GEOCED.js.map → ad-groups-JPTN3ZB4.js.map} +0 -0
  604. /package/dist/{ad-writes-GKFAQQJK.js.map → ad-writes-YUFL3P6K.js.map} +0 -0
  605. /package/dist/{add-E2ZFU726.js.map → add-2F6KL6KB.js.map} +0 -0
  606. /package/dist/{add-LS3OSS35.js.map → add-4PCJL2QX.js.map} +0 -0
  607. /package/dist/{add-VJ6GKCTD.js.map → add-TKHBYZF6.js.map} +0 -0
  608. /package/dist/{ads-QCH2Z5BN.js.map → ads-M3BHYWLI.js.map} +0 -0
  609. /package/dist/{ads-CBJHCYGD.js.map → ads-U33JFGCR.js.map} +0 -0
  610. /package/dist/{advertisers-KTAXJNHA.js.map → advertisers-Y2ATV7L6.js.map} +0 -0
  611. /package/dist/{alerts-OKQABIN6.js.map → alerts-C4UFNZMJ.js.map} +0 -0
  612. /package/dist/{analytics-NKZOKK42.js.map → analytics-EM4NNEG5.js.map} +0 -0
  613. /package/dist/{analytics-VJAE7IEX.js.map → analytics-YRGTZHAY.js.map} +0 -0
  614. /package/dist/{animate-PNIMVVD3.js.map → animate-7DXSRWEI.js.map} +0 -0
  615. /package/dist/{assign-NMGHBIA6.js.map → assign-GDV4YOFF.js.map} +0 -0
  616. /package/dist/{audience-size-6WRECSTU.js.map → audience-size-ONXW6YWQ.js.map} +0 -0
  617. /package/dist/{audiences-TLMMXV4L.js.map → audiences-BASHMZ7Z.js.map} +0 -0
  618. /package/dist/{audit-ITUWBBFD.js.map → audit-3Z6ZZKCH.js.map} +0 -0
  619. /package/dist/{autocomplete-355RK3VJ.js.map → autocomplete-4ZI234QK.js.map} +0 -0
  620. /package/dist/{avatars-R7LSPYE6.js.map → avatars-4OT3XVOD.js.map} +0 -0
  621. /package/dist/{bid-pricing-LMNMUESJ.js.map → bid-pricing-7NZ7QKXF.js.map} +0 -0
  622. /package/dist/{brief-EKOHTIXI.js.map → brief-WOGFWWB3.js.map} +0 -0
  623. /package/dist/{campaign-groups-EEUEFQDE.js.map → campaign-groups-VBOFSUJS.js.map} +0 -0
  624. /package/dist/{campaign-writes-OMHR7WHK.js.map → campaign-writes-E5UJZ2U6.js.map} +0 -0
  625. /package/dist/{campaign-writes-HHD2VVP2.js.map → campaign-writes-NMMJXTYD.js.map} +0 -0
  626. /package/dist/{campaigns-IEA4VRFI.js.map → campaigns-AHXTOR45.js.map} +0 -0
  627. /package/dist/{campaigns-TE5F5ISC.js.map → campaigns-YFB3PCLE.js.map} +0 -0
  628. /package/dist/{campaigns-PXDNM7HX.js.map → campaigns-ZWPYUZFF.js.map} +0 -0
  629. /package/dist/{canvas-X47MCSBD.js.map → canvas-NJV6RSX3.js.map} +0 -0
  630. /package/dist/{capabilities-CPKDR3Q2.js.map → capabilities-FJAYWDY6.js.map} +0 -0
  631. /package/dist/{catalog-AJ6LIJZF.js.map → catalog-XEALUTOG.js.map} +0 -0
  632. /package/dist/{catalogs-5F7RB44K.js.map → catalogs-MWMKCFWI.js.map} +0 -0
  633. /package/dist/{changes-AIAMM7QF.js.map → changes-CNGAKH52.js.map} +0 -0
  634. /package/dist/{chatgpt-U5FFOZAO.js.map → chatgpt-FV4PVN4W.js.map} +0 -0
  635. /package/dist/{chats-7TXOBRLH.js.map → chats-65GTXYEC.js.map} +0 -0
  636. /package/dist/{check-FGOIYTSV.js.map → check-YQIY4BTG.js.map} +0 -0
  637. /package/dist/{chunk-T7V2OPW2.js.map → chunk-2N5MQP65.js.map} +0 -0
  638. /package/dist/{chunk-F4EMZQ66.js.map → chunk-2RYEYBMF.js.map} +0 -0
  639. /package/dist/{chunk-E4DHH5EL.js.map → chunk-2U4HJDUO.js.map} +0 -0
  640. /package/dist/{chunk-DFTN5SRH.js.map → chunk-3YZBGH2W.js.map} +0 -0
  641. /package/dist/{chunk-OR6I7R7X.js.map → chunk-4U4YQOO2.js.map} +0 -0
  642. /package/dist/{chunk-M6I75FEO.js.map → chunk-4YQ46MM4.js.map} +0 -0
  643. /package/dist/{chunk-FY6CYD5M.js.map → chunk-52YU7I5M.js.map} +0 -0
  644. /package/dist/{chunk-X77CRONC.js.map → chunk-5EQF26Z4.js.map} +0 -0
  645. /package/dist/{chunk-ZJXYWHQT.js.map → chunk-5I2TABSH.js.map} +0 -0
  646. /package/dist/{chunk-DX3TB5RV.js.map → chunk-5NLZJ75G.js.map} +0 -0
  647. /package/dist/{chunk-GBT2TTA2.js.map → chunk-6HQATKKL.js.map} +0 -0
  648. /package/dist/{chunk-MTOHGVQD.js.map → chunk-6LFIF6BK.js.map} +0 -0
  649. /package/dist/{chunk-UGGFCTH2.js.map → chunk-6VAUBRY3.js.map} +0 -0
  650. /package/dist/{chunk-F3OYRVLY.js.map → chunk-7ANWNBVL.js.map} +0 -0
  651. /package/dist/{chunk-FZNCML5Q.js.map → chunk-7EVUIALZ.js.map} +0 -0
  652. /package/dist/{chunk-LXDZCFII.js.map → chunk-7FH3IREG.js.map} +0 -0
  653. /package/dist/{chunk-OWFZLCE2.js.map → chunk-7IZNYZZ5.js.map} +0 -0
  654. /package/dist/{chunk-SF3U3WQR.js.map → chunk-7MVVDZM2.js.map} +0 -0
  655. /package/dist/{chunk-U56ERMJY.js.map → chunk-7YHMZVKM.js.map} +0 -0
  656. /package/dist/{chunk-ZXG5MYV4.js.map → chunk-B5RLBFMI.js.map} +0 -0
  657. /package/dist/{chunk-SDWMLIIK.js.map → chunk-CBQTKSSP.js.map} +0 -0
  658. /package/dist/{chunk-DZE2UHST.js.map → chunk-CYT3HWSV.js.map} +0 -0
  659. /package/dist/{chunk-44RZEKDP.js.map → chunk-D4MNDYPX.js.map} +0 -0
  660. /package/dist/{chunk-SCN5ZF4U.js.map → chunk-D7DLBQLS.js.map} +0 -0
  661. /package/dist/{chunk-RNJVJBD7.js.map → chunk-DNI4DYGT.js.map} +0 -0
  662. /package/dist/{chunk-HXHAYR5R.js.map → chunk-E3G2BZEQ.js.map} +0 -0
  663. /package/dist/{chunk-RWKK7GMY.js.map → chunk-F6MNCSXP.js.map} +0 -0
  664. /package/dist/{chunk-7SOSXRZC.js.map → chunk-FRYH2T32.js.map} +0 -0
  665. /package/dist/{chunk-ZUML4HW7.js.map → chunk-FZWLNE53.js.map} +0 -0
  666. /package/dist/{chunk-GZAHNOUP.js.map → chunk-GOC2ZZJF.js.map} +0 -0
  667. /package/dist/{chunk-INW3G4P3.js.map → chunk-GZV7523D.js.map} +0 -0
  668. /package/dist/{chunk-UJMTTIW2.js.map → chunk-IGHITD2B.js.map} +0 -0
  669. /package/dist/{chunk-D7VLNNDV.js.map → chunk-IIC5WLB7.js.map} +0 -0
  670. /package/dist/{chunk-DBDQEIGX.js.map → chunk-IIXEFX33.js.map} +0 -0
  671. /package/dist/{chunk-JX3SQ26G.js.map → chunk-J4ZRPGNJ.js.map} +0 -0
  672. /package/dist/{chunk-P4R37O5D.js.map → chunk-JE3NZOFS.js.map} +0 -0
  673. /package/dist/{chunk-FBW4FH4V.js.map → chunk-JGXB7NBP.js.map} +0 -0
  674. /package/dist/{chunk-C3742YL7.js.map → chunk-JPFYTKQA.js.map} +0 -0
  675. /package/dist/{chunk-QVG4U55R.js.map → chunk-JPP3LYVH.js.map} +0 -0
  676. /package/dist/{chunk-365APOGK.js.map → chunk-KPQJVORC.js.map} +0 -0
  677. /package/dist/{chunk-ZB7EZMK5.js.map → chunk-KYOKEQ5E.js.map} +0 -0
  678. /package/dist/{chunk-FN4QQJPZ.js.map → chunk-L2IC4WE6.js.map} +0 -0
  679. /package/dist/{chunk-UP3VE7X4.js.map → chunk-LUWN4X7E.js.map} +0 -0
  680. /package/dist/{chunk-QVFLYWE3.js.map → chunk-LVR2UYQ7.js.map} +0 -0
  681. /package/dist/{chunk-4BCCOYFG.js.map → chunk-LZ5DS4UB.js.map} +0 -0
  682. /package/dist/{chunk-G6YNRJZO.js.map → chunk-NJ6ZJGUO.js.map} +0 -0
  683. /package/dist/{chunk-NQMLQXXP.js.map → chunk-NKXH4YZT.js.map} +0 -0
  684. /package/dist/{chunk-L3RQJHQO.js.map → chunk-O5UWZ4AI.js.map} +0 -0
  685. /package/dist/{chunk-AOV3VKPL.js.map → chunk-PUDEC2K3.js.map} +0 -0
  686. /package/dist/{chunk-HAV4GBBK.js.map → chunk-Q7V5XSFZ.js.map} +0 -0
  687. /package/dist/{chunk-MVG66YDQ.js.map → chunk-RVWBLOXX.js.map} +0 -0
  688. /package/dist/{chunk-XGE7G3K3.js.map → chunk-SBID6GZZ.js.map} +0 -0
  689. /package/dist/{chunk-R2G6SQ3U.js.map → chunk-TKDET4WF.js.map} +0 -0
  690. /package/dist/{chunk-LNLUJ6TH.js.map → chunk-TU3HH4O3.js.map} +0 -0
  691. /package/dist/{chunk-WMSRZZH7.js.map → chunk-TZPFQJTH.js.map} +0 -0
  692. /package/dist/{chunk-YJ4M3X7T.js.map → chunk-UBUFWX5O.js.map} +0 -0
  693. /package/dist/{chunk-LIRPFZVV.js.map → chunk-W3XIDU5C.js.map} +0 -0
  694. /package/dist/{chunk-LPECS3YX.js.map → chunk-W5JX7LUK.js.map} +0 -0
  695. /package/dist/{chunk-6U4ILEJ3.js.map → chunk-XOW4EBDN.js.map} +0 -0
  696. /package/dist/{chunk-IFAZWSIJ.js.map → chunk-Y2VYMMVR.js.map} +0 -0
  697. /package/dist/{chunk-NC6NLGN3.js.map → chunk-YQ5DCDWD.js.map} +0 -0
  698. /package/dist/{chunk-M2QT2THK.js.map → chunk-YUZGTNAO.js.map} +0 -0
  699. /package/dist/{chunk-G4ZQIR3R.js.map → chunk-YY6D3PI6.js.map} +0 -0
  700. /package/dist/{chunk-QJHAL4GT.js.map → chunk-Z4GSPW5B.js.map} +0 -0
  701. /package/dist/{chunk-JPDIM55H.js.map → chunk-Z6WDG4DW.js.map} +0 -0
  702. /package/dist/{chunk-B3JBIAXI.js.map → chunk-ZFBDDOKR.js.map} +0 -0
  703. /package/dist/{claim-KXDG6QWC.js.map → claim-IOM6PVO5.js.map} +0 -0
  704. /package/dist/{companies-7MWAWS6C.js.map → companies-WY4K6WLI.js.map} +0 -0
  705. /package/dist/{company-U2OIPLKE.js.map → company-PVCI3LC7.js.map} +0 -0
  706. /package/dist/{complete-KUDG34NE.js.map → complete-2QF4BZ5T.js.map} +0 -0
  707. /package/dist/{connect-TWMBWL5I.js.map → connect-GSLMEPHD.js.map} +0 -0
  708. /package/dist/{conversation-Z23EH7WU.js.map → conversation-5NCE56L3.js.map} +0 -0
  709. /package/dist/{conversion-report-OILIT55D.js.map → conversion-report-DXPM2LDV.js.map} +0 -0
  710. /package/dist/{conversion-upload-command-6PILGKCD.js.map → conversion-upload-command-Y4ABNNAT.js.map} +0 -0
  711. /package/dist/{conversion-writes-GLCPMZXY.js.map → conversion-writes-6MJ7JTHC.js.map} +0 -0
  712. /package/dist/{conversions-KI7FEA7E.js.map → conversions-DGKHWOMN.js.map} +0 -0
  713. /package/dist/{conversions-O2V6L6DY.js.map → conversions-VM4HKWBN.js.map} +0 -0
  714. /package/dist/{create-VZ2QUD53.js.map → create-2EFBCVF4.js.map} +0 -0
  715. /package/dist/{create-KUOSRCES.js.map → create-KKJX3JLV.js.map} +0 -0
  716. /package/dist/{create-XYILXJQS.js.map → create-TRL622CZ.js.map} +0 -0
  717. /package/dist/{create-YOI6O536.js.map → create-X2R7FNDZ.js.map} +0 -0
  718. /package/dist/{creatives-6WQAK2AD.js.map → creatives-D5WLUJWC.js.map} +0 -0
  719. /package/dist/{creatives-CM24TZ4T.js.map → creatives-EWTMQK7H.js.map} +0 -0
  720. /package/dist/{credentials-YDMJYQX3.js.map → credentials-H4W36WE7.js.map} +0 -0
  721. /package/dist/{critique-X6DG7ZKI.js.map → critique-4Q3XEGS5.js.map} +0 -0
  722. /package/dist/{crm-USZALGLQ.js.map → crm-APNCVLF2.js.map} +0 -0
  723. /package/dist/{crm-R3W3KRDT.js.map → crm-T3NV4EOU.js.map} +0 -0
  724. /package/dist/{currency-KV3FJN27.js.map → currency-NRI2TLP3.js.map} +0 -0
  725. /package/dist/{customers-4P7K65PC.js.map → customers-VZYCYMSL.js.map} +0 -0
  726. /package/dist/{data-BKTQ4YER.js.map → data-HJHRUE34.js.map} +0 -0
  727. /package/dist/{delete-5FTWWBXC.js.map → delete-BWPILWUN.js.map} +0 -0
  728. /package/dist/{delete-SSMJXTBX.js.map → delete-JGR3HPY5.js.map} +0 -0
  729. /package/dist/{delete-FYNPYLYX.js.map → delete-VJEOLHNE.js.map} +0 -0
  730. /package/dist/{demographics-EQG3AEXT.js.map → demographics-CBJ26IAA.js.map} +0 -0
  731. /package/dist/{discard-THTOYECS.js.map → discard-3MMFPF26.js.map} +0 -0
  732. /package/dist/{discover-FORYQELN.js.map → discover-F4TO7A3K.js.map} +0 -0
  733. /package/dist/{domain-P3TEXMW5.js.map → domain-7MSMJMDP.js.map} +0 -0
  734. /package/dist/{download-LYZ2LCKD.js.map → download-N3R6G3QV.js.map} +0 -0
  735. /package/dist/{draft-I5FLNPRP.js.map → draft-ACWK2FGW.js.map} +0 -0
  736. /package/dist/{draft-5WZYZSGH.js.map → draft-CLNMIQXV.js.map} +0 -0
  737. /package/dist/{draft-TLXYX73G.js.map → draft-F6FHBF6I.js.map} +0 -0
  738. /package/dist/{draft-QX7DEJST.js.map → draft-MKFFXTJK.js.map} +0 -0
  739. /package/dist/{draft-VBEIOMYX.js.map → draft-XBO2DYIJ.js.map} +0 -0
  740. /package/dist/{experiments-P45F6ETV.js.map → experiments-VYYS5Y7W.js.map} +0 -0
  741. /package/dist/{extract-V56BJWHI.js.map → extract-F7D62JMA.js.map} +0 -0
  742. /package/dist/{facets-IKX2537Q.js.map → facets-6GJJIRRR.js.map} +0 -0
  743. /package/dist/{feedback-SUFQ2ZJB.js.map → feedback-3TYBQZY4.js.map} +0 -0
  744. /package/dist/{fetch-YKXXN6UE.js.map → fetch-JBXBMJBK.js.map} +0 -0
  745. /package/dist/{fit-HPRLXVND.js.map → fit-ZFPYO3MS.js.map} +0 -0
  746. /package/dist/{flows-YLA3VDPP.js.map → flows-FRWZWHXZ.js.map} +0 -0
  747. /package/dist/{forecast-KPJ7WCUA.js.map → forecast-H24SICMO.js.map} +0 -0
  748. /package/dist/{forecast-TSYLGQAK.js.map → forecast-JAPRYH4F.js.map} +0 -0
  749. /package/dist/{funnel-SVO2SF3A.js.map → funnel-BFVSY5A6.js.map} +0 -0
  750. /package/dist/{generate-IYV672VJ.js.map → generate-SIS2OKZR.js.map} +0 -0
  751. /package/dist/{get-IGEAFGDQ.js.map → get-J4CETDIS.js.map} +0 -0
  752. /package/dist/{get-GC3OCAAM.js.map → get-SPKPNRXF.js.map} +0 -0
  753. /package/dist/{google-TMDWMV5J.js.map → google-4IKGTP3C.js.map} +0 -0
  754. /package/dist/{google-Y5BQU36K.js.map → google-HHKFDH7I.js.map} +0 -0
  755. /package/dist/{google-ads-FH7FPLE3.js.map → google-ads-SGKGDWV6.js.map} +0 -0
  756. /package/dist/{history-DKOEXEHI.js.map → history-5EATPXPS.js.map} +0 -0
  757. /package/dist/{history-ARBPQ4EE.js.map → history-K5ULNTEM.js.map} +0 -0
  758. /package/dist/{history-R6NI2GSX.js.map → history-QOQY2F77.js.map} +0 -0
  759. /package/dist/{hubspot-KYCGWZKK.js.map → hubspot-HNZLT2BH.js.map} +0 -0
  760. /package/dist/{ideas-ONWEP2WA.js.map → ideas-35LERPN4.js.map} +0 -0
  761. /package/dist/{images-HI7SUZRP.js.map → images-R3EK4BDH.js.map} +0 -0
  762. /package/dist/{ingest-YPSRKTP4.js.map → ingest-5TSJM7A7.js.map} +0 -0
  763. /package/dist/{ingest-T5HB5N4A.js.map → ingest-LYVNO5M5.js.map} +0 -0
  764. /package/dist/{insights-GXODLEC2.js.map → insights-PVBTR5SK.js.map} +0 -0
  765. /package/dist/{inspect-DK6B23M5.js.map → inspect-36R5WLLX.js.map} +0 -0
  766. /package/dist/{intent-6O5IPSOY.js.map → intent-T6BUKGQG.js.map} +0 -0
  767. /package/dist/{keyword-gap-DYNWN7QL.js.map → keyword-gap-TC7UWZ5Q.js.map} +0 -0
  768. /package/dist/{keyword-metrics-LAX4E7EX.js.map → keyword-metrics-JRB6DREM.js.map} +0 -0
  769. /package/dist/{keywords-for-site-EWXNSUNC.js.map → keywords-for-site-FQOELX5H.js.map} +0 -0
  770. /package/dist/{languages-R2NXKMXP.js.map → languages-AFTPOHIV.js.map} +0 -0
  771. /package/dist/{leads-E4Z5I5NW.js.map → leads-ILZAOKIF.js.map} +0 -0
  772. /package/dist/{learn-BMTDLH6C.js.map → learn-AWQ6JTP2.js.map} +0 -0
  773. /package/dist/{line-item-writes-2GY4ENP4.js.map → line-item-writes-APTZP3DI.js.map} +0 -0
  774. /package/dist/{line-items-QTUQ7VHT.js.map → line-items-5YSLNBGJ.js.map} +0 -0
  775. /package/dist/{link-IFE2UQZ2.js.map → link-2MGGDKLP.js.map} +0 -0
  776. /package/dist/{linkedin-DMRTMNHL.js.map → linkedin-EBOTX37R.js.map} +0 -0
  777. /package/dist/{linkedin-person-LDKH6CYE.js.map → linkedin-person-FNKW44RV.js.map} +0 -0
  778. /package/dist/{list-CTEYZ2KA.js.map → list-75NNAGBR.js.map} +0 -0
  779. /package/dist/{list-KXS76WRQ.js.map → list-CJU2Y6OP.js.map} +0 -0
  780. /package/dist/{list-UDYTPBSY.js.map → list-L3NBK64M.js.map} +0 -0
  781. /package/dist/{locations-IJ6NZQHI.js.map → locations-BMGOEKLN.js.map} +0 -0
  782. /package/dist/{locations-6LW7LNOI.js.map → locations-OPMVTKHK.js.map} +0 -0
  783. /package/dist/{log-WRXEC3Y4.js.map → log-JJDSDLOK.js.map} +0 -0
  784. /package/dist/{make-KALI7FDX.js.map → make-U323I4SF.js.map} +0 -0
  785. /package/dist/{map-FC6H2VXU.js.map → map-KFN2QLYV.js.map} +0 -0
  786. /package/dist/{mcp-JEMZ5S3N.js.map → mcp-KGAXFVUM.js.map} +0 -0
  787. /package/dist/{media-sources-6AUMIFLZ.js.map → media-sources-BSECLIMM.js.map} +0 -0
  788. /package/dist/{members-SODGC2JS.js.map → members-6FHV7EM2.js.map} +0 -0
  789. /package/dist/{metrics-J4JSMZHP.js.map → metrics-S5G6W36J.js.map} +0 -0
  790. /package/dist/{models-ZFQ6KKYQ.js.map → models-H5WM4UGE.js.map} +0 -0
  791. /package/dist/{normalize-MJXBLITR.js.map → normalize-YWIDJR4R.js.map} +0 -0
  792. /package/dist/{options-R67VNTFT.js.map → options-R4Q46LU5.js.map} +0 -0
  793. /package/dist/{organization-WVNV6JTP.js.map → organization-76LF7MHK.js.map} +0 -0
  794. /package/dist/{people-CI74TMWP.js.map → people-BK6GRJXB.js.map} +0 -0
  795. /package/dist/{people-TPZC5SV3.js.map → people-HR7CAKZS.js.map} +0 -0
  796. /package/dist/{performance-Q53WVYP3.js.map → performance-PTBBUEZU.js.map} +0 -0
  797. /package/dist/{performance-6COMR55P.js.map → performance-Y2S5FDGI.js.map} +0 -0
  798. /package/dist/{pipedrive-MALR7HLL.js.map → pipedrive-NONV3NBQ.js.map} +0 -0
  799. /package/dist/{pixels-JU3PPEBU.js.map → pixels-KIFMIBPJ.js.map} +0 -0
  800. /package/dist/{preview-MLUYV5YJ.js.map → preview-HD3QAR53.js.map} +0 -0
  801. /package/dist/{promoted-tweet-writes-VA77PU6F.js.map → promoted-tweet-writes-3LNFAGEM.js.map} +0 -0
  802. /package/dist/{promoted-tweets-BLEB2562.js.map → promoted-tweets-IHUQA35K.js.map} +0 -0
  803. /package/dist/{publish-O4A5LYXC.js.map → publish-IUE7RHRD.js.map} +0 -0
  804. /package/dist/{query-2WO3CHHS.js.map → query-5XB5OP4B.js.map} +0 -0
  805. /package/dist/{reddit-EYIVSTLX.js.map → reddit-BOTUVLHL.js.map} +0 -0
  806. /package/dist/{refresh-6ULVVUX3.js.map → refresh-RPVVOQX4.js.map} +0 -0
  807. /package/dist/{release-R25UDKC4.js.map → release-4YZWORV2.js.map} +0 -0
  808. /package/dist/{relevant-pages-LQADLWOX.js.map → relevant-pages-NUWR6FNB.js.map} +0 -0
  809. /package/dist/{remove-2J5JPNYD.js.map → remove-FO7I4RQ3.js.map} +0 -0
  810. /package/dist/{reopen-WJTGGGSW.js.map → reopen-FMPQVL2C.js.map} +0 -0
  811. /package/dist/{rerun-6GYEOTLW.js.map → rerun-RYL5UJRE.js.map} +0 -0
  812. /package/dist/{research-K32VHARZ.js.map → research-2H3ST6C2.js.map} +0 -0
  813. /package/dist/{research-RARA76OT.js.map → research-3LSWITEK.js.map} +0 -0
  814. /package/dist/{reset-6NCDX64B.js.map → reset-PNCDMWGO.js.map} +0 -0
  815. /package/dist/{reset-PJHTU3FZ.js.map → reset-RI6NO6NQ.js.map} +0 -0
  816. /package/dist/{resolve-KOJLKGF2.js.map → resolve-SGL3A5N5.js.map} +0 -0
  817. /package/dist/{retry-737X2PY7.js.map → retry-4FMP73MN.js.map} +0 -0
  818. /package/dist/{retry-2SCLTF22.js.map → retry-JRH3WJSF.js.map} +0 -0
  819. /package/dist/{revenue-7CTR5X4Y.js.map → revenue-V4ODLBZ6.js.map} +0 -0
  820. /package/dist/{rules-BCMC4ZO2.js.map → rules-EPNUXMHG.js.map} +0 -0
  821. /package/dist/{run-ESJTTQZR.js.map → run-2SPQZ2ZZ.js.map} +0 -0
  822. /package/dist/{run-WFL6QOQC.js.map → run-HLQUPQZ2.js.map} +0 -0
  823. /package/dist/{scaffold-ad-4O2POBKK.js.map → scaffold-ad-3YLGTFRT.js.map} +0 -0
  824. /package/dist/{scaffold-static-ad-ZG47OQP3.js.map → scaffold-static-ad-3RCD642H.js.map} +0 -0
  825. /package/dist/{scaffold-video-BGPRMLF5.js.map → scaffold-video-F5HTBM4R.js.map} +0 -0
  826. /package/dist/{schedule-3ZN3BEV4.js.map → schedule-O36GKVZV.js.map} +0 -0
  827. /package/dist/{scheduled-agents-6NPQYF7S.js.map → scheduled-agents-4UNG26CX.js.map} +0 -0
  828. /package/dist/{schema-VVWZ74WG.js.map → schema-EOQASVWI.js.map} +0 -0
  829. /package/dist/{schema-U4OPVDEL.js.map → schema-SRFWL4ZT.js.map} +0 -0
  830. /package/dist/{search-CMNN5ZE7.js.map → search-DLMLA423.js.map} +0 -0
  831. /package/dist/{search-terms-L7XVSUED.js.map → search-terms-WLOW2FPP.js.map} +0 -0
  832. /package/dist/{select-3FRMBMKG.js.map → select-KBYLNNL4.js.map} +0 -0
  833. /package/dist/{set-B3UW3XQ3.js.map → set-6L7YV57E.js.map} +0 -0
  834. /package/dist/{set-prompt-T3DYLITY.js.map → set-prompt-WBYLKIO3.js.map} +0 -0
  835. /package/dist/{setup-links-TNSCVEM4.js.map → setup-links-XT4TEZWI.js.map} +0 -0
  836. /package/dist/{shopify-XK6WESI7.js.map → shopify-ICWRWUZE.js.map} +0 -0
  837. /package/dist/{site-IKFHQS4O.js.map → site-LYDFZM5U.js.map} +0 -0
  838. /package/dist/{sources-X24PA4RB.js.map → sources-CP4UQ5KA.js.map} +0 -0
  839. /package/dist/{sources-IURSG7ZP.js.map → sources-FPWA4AJN.js.map} +0 -0
  840. /package/dist/{stale-JGUZLHIV.js.map → stale-GWG4V65Q.js.map} +0 -0
  841. /package/dist/{status-L6PF6S2Z.js.map → status-W6S7AY43.js.map} +0 -0
  842. /package/dist/{stock-SZVCE7TD.js.map → stock-6VZFFAHW.js.map} +0 -0
  843. /package/dist/{studio-JM6ZM4VP.js.map → studio-VU7CEAEU.js.map} +0 -0
  844. /package/dist/{sync-AJSPVD3B.js.map → sync-I6ZVQOSZ.js.map} +0 -0
  845. /package/dist/{sync-definition-WUC3JIXI.js.map → sync-definition-NADPEPFQ.js.map} +0 -0
  846. /package/dist/{tags-4J24JJCL.js.map → tags-47QAF2ZJ.js.map} +0 -0
  847. /package/dist/{tags-OBUNEHLM.js.map → tags-AN5B56GA.js.map} +0 -0
  848. /package/dist/{tags-B7Z2JDUO.js.map → tags-ETUV62EB.js.map} +0 -0
  849. /package/dist/{tags-T4GJL3X3.js.map → tags-UKAR6FCS.js.map} +0 -0
  850. /package/dist/{targeting-criteria-VZ2UHFWC.js.map → targeting-criteria-4E6SURB5.js.map} +0 -0
  851. /package/dist/{targets-IZF263WP.js.map → targets-GJUR5WTB.js.map} +0 -0
  852. /package/dist/{testimonials-EMD6I4A4.js.map → testimonials-UCVT5VQY.js.map} +0 -0
  853. /package/dist/{themes-VQHOGFND.js.map → themes-Q5CSF6TJ.js.map} +0 -0
  854. /package/dist/{top-companies-NTTNHKHK.js.map → top-companies-WID72GN5.js.map} +0 -0
  855. /package/dist/{transcript-UEHGL67P.js.map → transcript-OMYAOZSP.js.map} +0 -0
  856. /package/dist/{translate-UBVQOFVD.js.map → translate-TIAJBFQ3.js.map} +0 -0
  857. /package/dist/{triggers-7JRPTB2V.js.map → triggers-IEMDGR6W.js.map} +0 -0
  858. /package/dist/{unlink-56PVDBCF.js.map → unlink-WCLQPP7S.js.map} +0 -0
  859. /package/dist/{unstage-JPWHVQ43.js.map → unstage-KRPX3AGF.js.map} +0 -0
  860. /package/dist/{update-DKPGAWYZ.js.map → update-CPSZ4EH3.js.map} +0 -0
  861. /package/dist/{update-MTCISYL5.js.map → update-CQ4VF2S5.js.map} +0 -0
  862. /package/dist/{update-V2LDE5MX.js.map → update-NP2MOMJS.js.map} +0 -0
  863. /package/dist/{update-OWF4YMIR.js.map → update-XF462N7M.js.map} +0 -0
  864. /package/dist/{upload-EUKDFNGN.js.map → upload-WRRNFTRK.js.map} +0 -0
  865. /package/dist/{url-options-QYL7J3CQ.js.map → url-options-BANFHIHH.js.map} +0 -0
  866. /package/dist/{url-params-7QV3BS4F.js.map → url-params-DKGJVTGL.js.map} +0 -0
  867. /package/dist/{validate-LVRQ6BAT.js.map → validate-6AHY2UQR.js.map} +0 -0
  868. /package/dist/{videos-KR7S3NTF.js.map → videos-FG64T3XK.js.map} +0 -0
  869. /package/dist/{viewer-check-P56Q4MBH.js.map → viewer-check-3YGDWCTR.js.map} +0 -0
  870. /package/dist/{visuals-KW4UQ7XC.js.map → visuals-3C2QUE6G.js.map} +0 -0
  871. /package/dist/{web-BGSYX4MC.js.map → web-K3JH5TXT.js.map} +0 -0
  872. /package/dist/{winning-ads-Q5NRUXCB.js.map → winning-ads-QDVS56XX.js.map} +0 -0
  873. /package/dist/{write-commands-B25QPBUY.js.map → write-commands-X72A5F7K.js.map} +0 -0
  874. /package/dist/{x-LGCRY3MH.js.map → x-JU6LF2MM.js.map} +0 -0
@@ -1,170 +0,0 @@
1
- import {
2
- parseXApiError
3
- } from "./chunk-5SQYUNVS.js";
4
- import {
5
- resolveXAccountId
6
- } from "./chunk-Z2MFTSMY.js";
7
- import {
8
- loopWarnings,
9
- writeAdsJson,
10
- writeJsonEnvelope
11
- } from "./chunk-NX4EB2TK.js";
12
- import {
13
- X_DRAFT_BATCH_MAX,
14
- xDraftOpInputSchema
15
- } from "./chunk-FBW4FH4V.js";
16
- import {
17
- ApiError,
18
- apiPost
19
- } from "./chunk-EHEPW3O2.js";
20
- import {
21
- requireChatId
22
- } from "./chunk-RNSC5JPH.js";
23
-
24
- // src/commands/ads/x/write-shared.ts
25
- function failWriteValidation(message) {
26
- writeJsonEnvelope({ ok: false, error: { code: "VALIDATION_ERROR", message } });
27
- process.exit(1);
28
- }
29
- function failPreflight(fields) {
30
- writeJsonEnvelope({
31
- ok: false,
32
- error: {
33
- code: "VALIDATION_ERROR",
34
- message: fields.map((f) => f.path ? `${f.path}: ${f.message}` : f.message).join("; "),
35
- fields,
36
- fix: {
37
- action: "reject",
38
- explanation: "Fix the named fields and stage again. Nothing was staged \u2014 the draft is exactly as it was before this call."
39
- }
40
- }
41
- });
42
- process.exit(1);
43
- }
44
- function handleXWriteError(err, accountId) {
45
- if (err instanceof ApiError) {
46
- writeAdsJson(parseXApiError(err.message, accountId));
47
- process.exit(1);
48
- }
49
- writeAdsJson({ ok: false, error: { code: "NETWORK_ERROR", message: "Unexpected error" } });
50
- process.exit(1);
51
- }
52
- function decimalPlaces(value) {
53
- const [mantissa, exponent] = String(value).trim().split(/e/i);
54
- const written = (mantissa?.split(".")[1] ?? "").length;
55
- return Math.max(0, written - (exponent ? Number(exponent) : 0));
56
- }
57
- function parseXMoney(value) {
58
- if (value === void 0 || value === "") {
59
- return { ok: true, micros: void 0 };
60
- }
61
- const amount = Number(value);
62
- if (!Number.isFinite(amount) || amount <= 0) {
63
- return { ok: false, reason: "must be a positive amount, for example 12.50" };
64
- }
65
- if (decimalPlaces(value) > 6) {
66
- return { ok: false, reason: "is finer than X can express \u2014 it takes whole micros" };
67
- }
68
- return { ok: true, micros: Math.round(amount * 1e6) };
69
- }
70
- function microsFromArg(value, flag) {
71
- const parsed = parseXMoney(value);
72
- if (!parsed.ok) {
73
- failWriteValidation(`${flag} ${parsed.reason}`);
74
- }
75
- return parsed.micros;
76
- }
77
- function csvArg(value) {
78
- if (typeof value !== "string" || value.length === 0) {
79
- return void 0;
80
- }
81
- const parts = value.split(",").map((s) => s.trim()).filter(Boolean);
82
- return parts.length > 0 ? parts : void 0;
83
- }
84
- function compact(payload) {
85
- return Object.fromEntries(Object.entries(payload).filter(([, value]) => value !== void 0));
86
- }
87
- function batchNudge(data) {
88
- const count = data?.sameKindStaged;
89
- if (!count) {
90
- return [];
91
- }
92
- return loopWarnings([
93
- `${count} other change${count === 1 ? "" : "s"} of this kind and payload ${count === 1 ? "is" : "are"} already staged \u2014 pass every id to one call (\`--ids a,b,c\`) instead of one call each.`
94
- ]);
95
- }
96
- async function stageXOp(raw, hints) {
97
- const preflight = xDraftOpInputSchema.safeParse(raw);
98
- if (!preflight.success) {
99
- failPreflight(preflight.error.issues.map((issue) => ({ path: issue.path.join("."), message: issue.message })));
100
- }
101
- const accountId = String(raw.accountId ?? "\u2014");
102
- try {
103
- const chatId = requireChatId();
104
- const response = await apiPost("/api/ads/x/draft/stage", { chatId, op: preflight.data });
105
- const allHints = [...batchNudge(response.data), ...hints ?? []];
106
- writeJsonEnvelope(allHints.length > 0 ? { ...response, hints: allHints } : response);
107
- } catch (err) {
108
- handleXWriteError(err, accountId);
109
- }
110
- }
111
- async function stageXOps(rawOps, hints) {
112
- if (rawOps.length === 1 && rawOps[0]) {
113
- await stageXOp(rawOps[0], hints);
114
- return;
115
- }
116
- if (rawOps.length > X_DRAFT_BATCH_MAX) {
117
- failWriteValidation(`at most ${X_DRAFT_BATCH_MAX} changes can be staged in one call`);
118
- }
119
- const ops = [];
120
- for (const [index, raw] of rawOps.entries()) {
121
- const preflight = xDraftOpInputSchema.safeParse(raw);
122
- if (!preflight.success) {
123
- failPreflight(
124
- preflight.error.issues.map((issue) => ({
125
- path: `ops[${index}]${issue.path.length > 0 ? `.${issue.path.join(".")}` : ""}`,
126
- message: issue.message
127
- }))
128
- );
129
- }
130
- ops.push(preflight.data);
131
- }
132
- const accountId = String(rawOps[0]?.accountId ?? "\u2014");
133
- try {
134
- const chatId = requireChatId();
135
- const response = await apiPost("/api/ads/x/draft/stage-batch", { chatId, ops });
136
- writeJsonEnvelope(hints && hints.length > 0 ? { ...response, hints } : response);
137
- } catch (err) {
138
- handleXWriteError(err, accountId);
139
- }
140
- }
141
- async function stageAccountId(args) {
142
- return await resolveXAccountId(args);
143
- }
144
- function requireTarget(args, name) {
145
- const value = args[name];
146
- if (typeof value !== "string" || value.length === 0) {
147
- failWriteValidation(`${name} is required`);
148
- }
149
- return value;
150
- }
151
- function requireTargets(args, name) {
152
- const ids = csvArg(args[name]);
153
- if (!ids) {
154
- failWriteValidation(`${name} is required \u2014 pass one or more ids, comma-separated`);
155
- }
156
- return ids;
157
- }
158
-
159
- export {
160
- failWriteValidation,
161
- microsFromArg,
162
- csvArg,
163
- compact,
164
- stageXOp,
165
- stageXOps,
166
- stageAccountId,
167
- requireTarget,
168
- requireTargets
169
- };
170
- //# sourceMappingURL=chunk-L3RQJHQO.js.map
@@ -1,509 +0,0 @@
1
- import {
2
- DEFAULT_WAIT_SECONDS,
3
- MAX_WAIT_SECONDS,
4
- processingFailure,
5
- readinessUnread,
6
- secondsLeft,
7
- unsettledHints,
8
- waitForVideos,
9
- waitSeconds
10
- } from "./chunk-QUUHZATC.js";
11
- import {
12
- MAX_VIDEO_INGEST_BYTES,
13
- MAX_VIDEO_INGEST_SECONDS,
14
- directDedupeKey,
15
- downloadTimeoutMs,
16
- isDirectMediaUrl,
17
- isDrmProtected,
18
- isRegionBlocked,
19
- isToolingOrBlockFailure,
20
- refuseByDuration,
21
- resolveIngestSource,
22
- worthDownloadingInstead
23
- } from "./chunk-FKOECEVC.js";
24
- import {
25
- librarySaveHint
26
- } from "./chunk-I7OJZ7QE.js";
27
- import {
28
- eachTarget,
29
- failWith,
30
- positionalTargets
31
- } from "./chunk-EMW6TSSB.js";
32
- import {
33
- YtDlpError,
34
- canonicalUrl,
35
- durationSeconds,
36
- isAudioOnly,
37
- isVimeoAuthFailure,
38
- probeYtDlp,
39
- runYtDlp,
40
- ytDlpBlockSignal
41
- } from "./chunk-FRPD55CU.js";
42
- import {
43
- videosIngestRequestSchema
44
- } from "./chunk-FBW4FH4V.js";
45
- import {
46
- ApiError,
47
- apiPost
48
- } from "./chunk-EHEPW3O2.js";
49
- import {
50
- captureVimeoCookie,
51
- isProxyFailure
52
- } from "./chunk-RNSC5JPH.js";
53
- import {
54
- maskEnvelope,
55
- registerSchema,
56
- writeJson
57
- } from "./chunk-2RTB2DDO.js";
58
-
59
- // src/commands/videos/ingest.ts
60
- import { mkdtemp, rm, stat } from "fs/promises";
61
- import { tmpdir } from "os";
62
- import path from "path";
63
- import { defineCommand } from "citty";
64
-
65
- // src/lib/streamUpload.ts
66
- import { createHash } from "crypto";
67
- import { createReadStream } from "fs";
68
- import { Readable } from "stream";
69
- import { pipeline } from "stream/promises";
70
- async function hashFile(filePath) {
71
- const hash = createHash("sha256");
72
- await pipeline(createReadStream(filePath), hash);
73
- return hash.digest("hex");
74
- }
75
- async function putFileStreamed(args) {
76
- const body = Readable.toWeb(createReadStream(args.filePath));
77
- return await fetch(args.putUrl, {
78
- method: "PUT",
79
- body,
80
- headers: {
81
- "Content-Type": args.contentType,
82
- "Content-Length": String(args.sizeBytes)
83
- },
84
- duplex: "half"
85
- });
86
- }
87
-
88
- // src/commands/videos/ingest.ts
89
- registerSchema({
90
- command: "videos.ingest",
91
- description: "Add videos to the library from URLs \u2014 direct files, or YouTube/TikTok/Vimeo pages. Several URLs run at once and return one row each.",
92
- args: {
93
- url: {
94
- type: "string",
95
- description: "Video URL (direct file or a watch/post page); pass several to add them at once",
96
- required: true
97
- },
98
- source: { type: "string", description: "Provenance: url | youtube", required: false },
99
- "external-id": { type: "string", description: "Provider asset id (deduped on)", required: false },
100
- "external-url": { type: "string", description: "Canonical page URL", required: false },
101
- download: {
102
- type: "boolean",
103
- description: "Force the download path instead of letting Baker fetch the URL directly",
104
- required: false,
105
- default: false
106
- },
107
- country: {
108
- type: "string",
109
- description: "Two-letter country to fetch from (e.g. US, DE, JP) \u2014 use when a video is blocked in your region",
110
- required: false
111
- },
112
- context: {
113
- type: "string",
114
- description: "What you know that the video cannot show \u2014 the campaign, whether the person on camera is a real customer, what it is for. Highest-leverage flag here: it is what makes the clip findable later.",
115
- required: false
116
- },
117
- "dry-run": { type: "boolean", description: "Preview the operation without executing", required: false },
118
- fields: {
119
- type: "string",
120
- description: "Comma-separated field names to keep on each added video; failed URLs are always listed whole",
121
- required: false
122
- },
123
- wait: {
124
- type: "boolean",
125
- description: `Also wait until every added video is ready (or failed), up to --timeout-seconds (default ${DEFAULT_WAIT_SECONDS}), and return its status. Use it when the next thing you do needs the clip; otherwise carry on and read it later with \`baker videos get <id> --wait\`.`,
126
- required: false,
127
- default: false
128
- },
129
- "timeout-seconds": {
130
- type: "string",
131
- description: `How long --wait waits (default ${DEFAULT_WAIT_SECONDS}, at most ${MAX_WAIT_SECONDS})`,
132
- required: false
133
- }
134
- }
135
- });
136
- var ingestCommand = defineCommand({
137
- meta: {
138
- name: "ingest",
139
- description: 'Add videos to the library from URLs. A direct file URL is handed straight to Baker, which fetches it. A page URL (YouTube, TikTok, Vimeo, Instagram) is downloaded here first, then uploaded \u2014 and a direct URL that Baker cannot fetch falls back to that same path automatically. Several URLs are added at once, so a list takes about as long as its slowest clip: pass them all in one call rather than looping.\n\nExamples:\n baker videos ingest https://www.youtube.com/watch?v=abc123\n baker videos ingest https://youtu.be/a https://youtu.be/b https://cdn.example.com/c.mp4 --context "Spring campaign testimonials"\n baker videos ingest https://youtu.be/a --wait # returns once it is ready to use'
140
- },
141
- args: {
142
- url: { type: "positional", description: "Video URL; pass several to add them at once", required: false },
143
- source: { type: "string", description: "Provenance: url | youtube", required: false },
144
- "external-id": { type: "string", description: "Provider asset id (one URL only)", required: false },
145
- "external-url": { type: "string", description: "Canonical page URL (one URL only)", required: false },
146
- download: { type: "boolean", description: "Force the download path", required: false, default: false },
147
- country: { type: "string", description: "Two-letter country to fetch from, e.g. US", required: false },
148
- context: {
149
- type: "string",
150
- description: "Context for the analysis \u2014 campaign, who is on camera, intended use (applies to every URL)",
151
- required: false
152
- },
153
- "dry-run": { type: "boolean", description: "Preview without executing", required: false, default: false },
154
- fields: { type: "string", description: "Comma-separated field names to keep on each added video", required: false },
155
- wait: {
156
- type: "boolean",
157
- description: "Also wait until every added video is ready or failed",
158
- required: false,
159
- default: false
160
- },
161
- "timeout-seconds": {
162
- type: "string",
163
- description: `How long --wait waits (default ${DEFAULT_WAIT_SECONDS}, at most ${MAX_WAIT_SECONDS})`,
164
- required: false
165
- }
166
- },
167
- run: ({ args }) => runVideoIngest({
168
- urls: positionalTargets(args),
169
- source: args.source,
170
- externalId: args["external-id"],
171
- externalUrl: args["external-url"],
172
- forceDownload: args.download === true,
173
- country: args.country,
174
- context: args.context,
175
- dryRun: args["dry-run"] === true,
176
- fields: typeof args.fields === "string" && args.fields.length > 0 ? args.fields.split(",") : void 0,
177
- waitSeconds: args.wait === true ? waitSeconds(args["timeout-seconds"]) : void 0
178
- })
179
- });
180
- async function runVideoIngest(opts) {
181
- const startedAt = Date.now();
182
- const { urls } = opts;
183
- if (urls.length === 0) {
184
- failWith({ code: "VALIDATION_ERROR", message: "URL is required" });
185
- }
186
- if (urls.length > 1 && (opts.externalId || opts.externalUrl)) {
187
- failWith({
188
- code: "VALIDATION_ERROR",
189
- message: "--external-id and --external-url name a single video, so they cannot be used with several URLs."
190
- });
191
- }
192
- const country = opts.country?.trim() || void 0;
193
- const plans = planIngests(opts);
194
- if (opts.dryRun) {
195
- const params = plans.map(({ args, direct }) => dryRunParams(args, direct, country));
196
- writeJson({
197
- ok: true,
198
- dryRun: true,
199
- operation: "videos.ingest",
200
- params: params.length === 1 && params[0] ? params[0] : { items: params }
201
- });
202
- return;
203
- }
204
- const byUrl = new Map(plans.map((plan) => [plan.args.url, plan]));
205
- const outcomes = await eachTarget(
206
- urls,
207
- (url) => {
208
- const plan = byUrl.get(url);
209
- return ingestByRoute(plan.args, plan.direct, country);
210
- },
211
- ingestFailure
212
- );
213
- if (!opts.waitSeconds) {
214
- writeIngestOutcomes(outcomes, opts.fields);
215
- return;
216
- }
217
- const settled = await settleIngests(outcomes, opts.waitSeconds, startedAt);
218
- writeIngestOutcomes(settled.outcomes, opts.fields, settled.hints);
219
- }
220
- async function settleIngests(outcomes, seconds, startedAt) {
221
- const ids = outcomes.flatMap((o) => o.ok ? [o.data.videoId] : []);
222
- const reads = await waitForVideos(ids, secondsLeft(seconds, startedAt));
223
- const byId = new Map(ids.map((id, i) => [id, reads[i]]));
224
- const settled = outcomes.map((o) => {
225
- const read = o.ok ? byId.get(o.data.videoId) : void 0;
226
- if (!o.ok) return o;
227
- if (!read?.ok) return { target: o.target, ok: false, error: readinessUnread(o.data.videoId, read?.error) };
228
- if (read.data.status === "error") {
229
- return { target: o.target, ok: false, error: processingFailure(read.data) };
230
- }
231
- return { ...o, data: { ...o.data, status: read.data.status } };
232
- });
233
- const stillProcessing = reads.filter((r) => r.ok && r.data.status !== "error");
234
- return { outcomes: settled, hints: unsettledHints(stillProcessing, seconds) };
235
- }
236
- function planIngests(opts) {
237
- const plans = opts.urls.map((url) => {
238
- const args = {
239
- url,
240
- source: resolveIngestSource(opts.source, url),
241
- externalId: opts.externalId,
242
- // Deliberately NOT pre-filled with the pasted URL. Doing so shadowed the
243
- // canonical URL the probe resolves (`?? canonicalUrl(...)` below could never
244
- // run), so the same video filed under a different `externalUrl` depending on
245
- // whether the link was copied from a share sheet, a shorts page or the
246
- // address bar. `downloadThenIngest` falls back to `args.url` when the probe
247
- // resolves nothing, which is the value this used to hard-code.
248
- externalUrl: opts.externalUrl,
249
- descriptionContext: opts.context?.trim() || void 0
250
- };
251
- return { args, direct: !opts.forceDownload && isDirectMediaUrl(url) };
252
- });
253
- for (const { args } of plans) {
254
- const validation = videosIngestRequestSchema.safeParse(args);
255
- if (!validation.success) {
256
- const problem = validation.error.issues[0];
257
- const where = opts.urls.length > 1 ? `${args.url}: ` : "";
258
- failWith({
259
- code: "VALIDATION_ERROR",
260
- message: problem ? `${where}${problem.path.join(".") || "request"}: ${problem.message}` : `${where}Invalid request`
261
- });
262
- }
263
- }
264
- return plans;
265
- }
266
- function savedVideoHints(outcomes) {
267
- const saved = librarySaveHint(
268
- "video library",
269
- outcomes.flatMap((o) => o.ok && !o.data.deduped ? [o.data.videoId] : [])
270
- );
271
- return saved ? [saved] : [];
272
- }
273
- function writeIngestOutcomes(outcomes, fields, waitHints = []) {
274
- const [only] = outcomes;
275
- const savedHints = [...waitHints, ...savedVideoHints(outcomes)];
276
- if (outcomes.length === 1 && only) {
277
- if (!only.ok) failWith(only.error);
278
- if (!fields) {
279
- const hints2 = [...ingestHints(only.data) ?? [], ...savedHints];
280
- writeJson({ ok: true, data: only.data, ...hints2.length > 0 ? { hints: hints2 } : {} });
281
- return;
282
- }
283
- const shown2 = narrowed(only.data, fields);
284
- writeJson({
285
- ok: true,
286
- data: shown2.data,
287
- hints: [...ingestHints(only.data) ?? [], ...shown2.hints, ...savedHints]
288
- });
289
- return;
290
- }
291
- const ingested = outcomes.flatMap((o) => o.ok ? [{ url: o.target, ...o.data }] : []);
292
- const failed = outcomes.flatMap((o) => o.ok ? [] : [{ url: o.target, error: o.error }]);
293
- const hints = ingested.flatMap((row) => (ingestHints(row) ?? []).map((hint) => `${row.url}: ${hint}`));
294
- if (ingested.length === 0) {
295
- writeJson({
296
- ok: false,
297
- error: {
298
- code: "INGEST_FAILED",
299
- message: `None of the ${outcomes.length} videos could be added: ${failed.map((f) => `${f.url} \u2014 ${f.error.message}`).join("; ")}`
300
- },
301
- hints: failed.flatMap((f) => f.error.fix ? [`${f.url}: ${f.error.fix}`] : [])
302
- });
303
- process.exit(1);
304
- }
305
- if (failed.length > 0) {
306
- hints.push(
307
- `${failed.length} of ${outcomes.length} could not be added \u2014 each one's reason and fix is in failed[]. The rest are in the library; carry on with them.`
308
- );
309
- }
310
- const shown = fields ? narrowed(ingested, fields) : { data: ingested, hints: [] };
311
- hints.push(...shown.hints, ...savedHints);
312
- writeJson({ ok: true, data: { ingested: shown.data, failed }, ...hints.length > 0 ? { hints } : {} });
313
- }
314
- function narrowed(data, fields) {
315
- const masked = maskEnvelope({ ok: true, data }, fields);
316
- const hints = Array.isArray(masked.hints) ? masked.hints.filter((hint) => typeof hint === "string") : [];
317
- return { data: masked.data, hints };
318
- }
319
- function ingestHints(data) {
320
- if (data.reducedQuality !== true) return void 0;
321
- return [
322
- "Added, but at standard quality (360p): the site refused to release the full-quality file and this was the best it would hand over. Tell the user \u2014 the clip is in the library and usable, it is just not high-resolution. If they need the crisp version, ask them for the original file and use `baker videos upload <file>`."
323
- ];
324
- }
325
- function dryRunParams(args, direct, country) {
326
- return {
327
- url: args.url,
328
- source: args.source,
329
- // Known up front on the direct route, because it is derived from the URL
330
- // alone. The download route's key comes from the probe, which a dry run
331
- // does not perform, so there it stays null rather than becoming a guess.
332
- externalId: args.externalId ?? (direct ? directDedupeKey(args.source, args.url) : null),
333
- // A page URL's canonical form is only known after the probe, which a dry
334
- // run does not perform — so this is null rather than a guess.
335
- externalUrl: args.externalUrl ?? null,
336
- direct,
337
- country: country ?? null,
338
- descriptionContext: args.descriptionContext ?? null
339
- };
340
- }
341
- async function ingestByRoute(args, direct, country) {
342
- if (!direct) {
343
- return { ...await downloadThenIngest(args, country), via: "download" };
344
- }
345
- try {
346
- const externalId = args.externalId ?? directDedupeKey(args.source, args.url);
347
- return { ...await ingestUrl({ ...args, externalId }), via: "direct" };
348
- } catch (err) {
349
- if (!(err instanceof ApiError) || !worthDownloadingInstead(err.code)) throw err;
350
- return { ...await downloadThenIngest(args, country), via: "download", fallbackFrom: err.message };
351
- }
352
- }
353
- function ytDlpFailure(err) {
354
- const detail = `${err.stderrTail} ${err.message}`;
355
- if (isProxyFailure(ytDlpBlockSignal(detail))) {
356
- return failure(
357
- "Couldn't download that video: our connection to the internet was refused.",
358
- "This is Baker's egress proxy, not the link \u2014 its credentials look wrong or expired. The link is probably fine. Report it; retrying won't help until the proxy is fixed."
359
- );
360
- }
361
- if (isDrmProtected(detail)) {
362
- return failure(
363
- "That video is copy-protected, so it can't be added to the library.",
364
- "The publisher encrypted this one against downloading. Nothing will change that \u2014 not retrying, not a different region. Ask whoever owns the video for the original file and add it with `baker videos upload <file>`."
365
- );
366
- }
367
- if (isVimeoAuthFailure(detail)) {
368
- return failure(
369
- "Vimeo wouldn't hand over that video \u2014 Baker isn't signed in to Vimeo.",
370
- "Vimeo now refuses anonymous downloads entirely, so this needs a signed-in session and the one Baker holds has either expired or was never set. Nothing is wrong with the link. Report it so the Vimeo cookie can be refreshed; meanwhile download the file and use `baker videos upload <file>`."
371
- );
372
- }
373
- if (isRegionBlocked(detail)) {
374
- return failure(
375
- `That video isn't available in the region we're fetching from. ${err.stderrTail || err.message}`,
376
- "Re-run with `--country <two-letter code>` for a country where the video plays \u2014 e.g. `--country US`. Pick the one the video belongs to (the uploader's country is the usual answer); each attempt costs a paid connection, so choose rather than work through the list."
377
- );
378
- }
379
- return failure(
380
- `Couldn't download that video. ${err.stderrTail || err.message}`,
381
- isToolingOrBlockFailure(detail) ? "The site wouldn't hand over the video \u2014 usually the downloader being out of date against a site that changed, or the request being blocked. Retrying won't help, and the link is probably fine. Report it so the tool can be updated; meanwhile download the file and use `baker videos upload <file>`." : "Check the link is public and playable. Private or age-restricted videos can't be downloaded \u2014 download the file yourself and use `baker videos upload <file>`."
382
- );
383
- }
384
- function failure(message, fix, code = "INGEST_FAILED") {
385
- return { code, message, fix };
386
- }
387
- function ingestFailure(err) {
388
- if (err instanceof ApiError) return { code: err.code, message: err.message };
389
- if (err instanceof YtDlpError) return ytDlpFailure(err);
390
- const detail = err instanceof Error ? err.message : String(err);
391
- if (detail.includes("timed out after")) {
392
- return failure(
393
- "That video took too long to download and was stopped part-way.",
394
- "Long or slow-serving videos can outrun the download window. Try a shorter clip, or download this one yourself and use `baker videos upload <file>`.",
395
- "INTERNAL_ERROR"
396
- );
397
- }
398
- return failure(
399
- `Couldn't add that video. ${detail}`,
400
- "This is a fault on Baker's side, not a problem with the link. Report it.",
401
- "INTERNAL_ERROR"
402
- );
403
- }
404
- function dedupeKey(args, info) {
405
- const id = typeof info.id === "string" ? info.id : void 0;
406
- if (!id) return void 0;
407
- if (info.extractor === "generic") return `${args.source}:${canonicalUrl(info) ?? args.url}`;
408
- return `${args.source}:${id}`;
409
- }
410
- function ingestUrl(args) {
411
- const body = {
412
- url: args.url,
413
- source: args.source
414
- };
415
- if (args.externalId) body.externalId = args.externalId;
416
- if (args.externalUrl) body.externalUrl = args.externalUrl;
417
- if (args.descriptionContext) body.descriptionContext = args.descriptionContext;
418
- return apiPost("/api/videos/ingest", body);
419
- }
420
- async function downloadThenIngest(args, country) {
421
- const vimeoCookie = captureVimeoCookie();
422
- const workDir = await mkdtemp(path.join(tmpdir(), "videos-ingest-"));
423
- try {
424
- const probe = await probeYtDlp({ url: args.url, country, vimeoCookie, cookieDir: workDir });
425
- if (isAudioOnly(probe.info)) {
426
- throw new ApiError(
427
- "VALIDATION_ERROR",
428
- "That link is audio, not video, so it can't go in the video library. Music and podcast links have no picture to store."
429
- );
430
- }
431
- const tooLong = refuseByDuration(durationSeconds(probe.info), MAX_VIDEO_INGEST_SECONDS);
432
- if (tooLong) {
433
- throw new ApiError("VALIDATION_ERROR", tooLong);
434
- }
435
- const externalId = args.externalId ?? dedupeKey(args, probe.info);
436
- const { filePath, info, tier, reducedQuality } = await runYtDlp({
437
- url: args.url,
438
- audioOnly: false,
439
- workDir,
440
- // Deliberately uncapped: take the best the site will release and let Mux
441
- // decide what to serve. The 1080p ceiling this replaces was reasoning
442
- // about the wrong cost — it saved download bytes by throwing away source
443
- // pixels *before* the one system that can make renditions from them ever
444
- // saw them, so a 4K master became a 1080p master permanently, for
445
- // everything the library is ever asked to do with that clip afterwards.
446
- // Downscaling is Mux's job and it is cheap; re-acquiring a master is not.
447
- country,
448
- vimeoCookie,
449
- // Budgeted from the probed length, so the duration we accept and the time
450
- // we allow to fetch it cannot drift apart.
451
- timeoutMs: downloadTimeoutMs(durationSeconds(probe.info))
452
- });
453
- const stats = await stat(filePath);
454
- if (stats.size > MAX_VIDEO_INGEST_BYTES) {
455
- throw new ApiError(
456
- "VALIDATION_ERROR",
457
- `That video is ${(stats.size / 1024 ** 3).toFixed(1)} GB, over the ${Math.round(MAX_VIDEO_INGEST_BYTES / 1024 ** 3)} GB limit for this route.`
458
- );
459
- }
460
- const publicUrl = await uploadToAssetStore(filePath, stats.size);
461
- return {
462
- ...await ingestUrl({
463
- ...args,
464
- url: publicUrl,
465
- externalId,
466
- externalUrl: args.externalUrl ?? canonicalUrl(probe.info) ?? args.url
467
- }),
468
- egress: tier,
469
- // Named in the result for the same reason `egress` is: a geo-targeted exit
470
- // is a deliberate, billable choice and must not be invisible afterwards.
471
- ...country ? { country } : {},
472
- // Third member of the same family. The site refused the good formats and
473
- // the download quietly took the one it would release, which is the right
474
- // call — but a clip that is 360p because of that must say so here, or the
475
- // only way to find out is to watch it.
476
- ...reducedQuality ? { reducedQuality: true } : {},
477
- // What the site released, so a clip that came in small is visible in the
478
- // answer rather than after the marketer has already looked at it.
479
- ...downloadedResolution(info)
480
- };
481
- } finally {
482
- await rm(workDir, { recursive: true, force: true }).catch(() => {
483
- });
484
- }
485
- }
486
- function downloadedResolution(info) {
487
- const { width, height } = info;
488
- return typeof width === "number" && typeof height === "number" ? { width, height } : {};
489
- }
490
- async function uploadToAssetStore(filePath, sizeBytes) {
491
- const sha256 = await hashFile(filePath);
492
- const { putUrl, publicUrl } = await apiPost("/api/canvas/assets/presign", {
493
- sha256,
494
- mime: "video/mp4",
495
- purpose: "source"
496
- });
497
- const putRes = await putFileStreamed({ putUrl, filePath, contentType: "video/mp4", sizeBytes });
498
- if (!putRes.ok) {
499
- throw new ApiError("INTERNAL_ERROR", `Storing the downloaded video failed: HTTP ${putRes.status}`);
500
- }
501
- return publicUrl;
502
- }
503
-
504
- export {
505
- ingestCommand,
506
- runVideoIngest,
507
- ingestHints
508
- };
509
- //# sourceMappingURL=chunk-LIRPFZVV.js.map