@codeqr/ts-mcp 0.2.1

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 (432) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +267 -0
  3. package/code-tool-paths.cjs +6 -0
  4. package/code-tool-paths.cjs.map +1 -0
  5. package/code-tool-paths.d.cts +2 -0
  6. package/code-tool-paths.d.cts.map +1 -0
  7. package/code-tool-types.d.mts +14 -0
  8. package/code-tool-types.d.mts.map +1 -0
  9. package/code-tool-types.d.ts +14 -0
  10. package/code-tool-types.d.ts.map +1 -0
  11. package/code-tool-types.js +4 -0
  12. package/code-tool-types.js.map +1 -0
  13. package/code-tool-types.mjs +3 -0
  14. package/code-tool-types.mjs.map +1 -0
  15. package/code-tool-worker.d.mts +5 -0
  16. package/code-tool-worker.d.mts.map +1 -0
  17. package/code-tool-worker.d.ts +5 -0
  18. package/code-tool-worker.d.ts.map +1 -0
  19. package/code-tool-worker.js +45 -0
  20. package/code-tool-worker.js.map +1 -0
  21. package/code-tool-worker.mjs +40 -0
  22. package/code-tool-worker.mjs.map +1 -0
  23. package/code-tool.d.mts +12 -0
  24. package/code-tool.d.mts.map +1 -0
  25. package/code-tool.d.ts +12 -0
  26. package/code-tool.d.ts.map +1 -0
  27. package/code-tool.js +157 -0
  28. package/code-tool.js.map +1 -0
  29. package/code-tool.mjs +121 -0
  30. package/code-tool.mjs.map +1 -0
  31. package/compat.d.mts +58 -0
  32. package/compat.d.mts.map +1 -0
  33. package/compat.d.ts +58 -0
  34. package/compat.d.ts.map +1 -0
  35. package/compat.js +387 -0
  36. package/compat.js.map +1 -0
  37. package/compat.mjs +378 -0
  38. package/compat.mjs.map +1 -0
  39. package/dynamic-tools.d.mts +12 -0
  40. package/dynamic-tools.d.mts.map +1 -0
  41. package/dynamic-tools.d.ts +12 -0
  42. package/dynamic-tools.d.ts.map +1 -0
  43. package/dynamic-tools.js +135 -0
  44. package/dynamic-tools.js.map +1 -0
  45. package/dynamic-tools.mjs +132 -0
  46. package/dynamic-tools.mjs.map +1 -0
  47. package/filtering.d.mts +2 -0
  48. package/filtering.d.mts.map +1 -0
  49. package/filtering.d.ts +2 -0
  50. package/filtering.d.ts.map +1 -0
  51. package/filtering.js +20 -0
  52. package/filtering.js.map +1 -0
  53. package/filtering.mjs +13 -0
  54. package/filtering.mjs.map +1 -0
  55. package/headers.d.mts +4 -0
  56. package/headers.d.mts.map +1 -0
  57. package/headers.d.ts +4 -0
  58. package/headers.d.ts.map +1 -0
  59. package/headers.js +22 -0
  60. package/headers.js.map +1 -0
  61. package/headers.mjs +18 -0
  62. package/headers.mjs.map +1 -0
  63. package/http.d.mts +9 -0
  64. package/http.d.mts.map +1 -0
  65. package/http.d.ts +9 -0
  66. package/http.d.ts.map +1 -0
  67. package/http.js +108 -0
  68. package/http.js.map +1 -0
  69. package/http.mjs +100 -0
  70. package/http.mjs.map +1 -0
  71. package/index.d.mts +3 -0
  72. package/index.d.mts.map +1 -0
  73. package/index.d.ts +3 -0
  74. package/index.d.ts.map +1 -0
  75. package/index.js +91 -0
  76. package/index.js.map +1 -0
  77. package/index.mjs +89 -0
  78. package/index.mjs.map +1 -0
  79. package/options.d.mts +19 -0
  80. package/options.d.mts.map +1 -0
  81. package/options.d.ts +19 -0
  82. package/options.d.ts.map +1 -0
  83. package/options.js +417 -0
  84. package/options.js.map +1 -0
  85. package/options.mjs +410 -0
  86. package/options.mjs.map +1 -0
  87. package/package.json +206 -0
  88. package/server.d.mts +35 -0
  89. package/server.d.mts.map +1 -0
  90. package/server.d.ts +35 -0
  91. package/server.d.ts.map +1 -0
  92. package/server.js +170 -0
  93. package/server.js.map +1 -0
  94. package/server.mjs +156 -0
  95. package/server.mjs.map +1 -0
  96. package/src/code-tool-paths.cts +3 -0
  97. package/src/code-tool-types.ts +14 -0
  98. package/src/code-tool-worker.ts +46 -0
  99. package/src/code-tool.ts +146 -0
  100. package/src/compat.ts +483 -0
  101. package/src/dynamic-tools.ts +153 -0
  102. package/src/filtering.ts +14 -0
  103. package/src/headers.ts +23 -0
  104. package/src/http.ts +127 -0
  105. package/src/index.ts +108 -0
  106. package/src/options.ts +456 -0
  107. package/src/server.ts +204 -0
  108. package/src/stdio.ts +13 -0
  109. package/src/tools/analytics/retrieve-analytics.ts +434 -0
  110. package/src/tools/domains/create-domains.ts +59 -0
  111. package/src/tools/domains/delete-domains.ts +48 -0
  112. package/src/tools/domains/list-domains.ts +61 -0
  113. package/src/tools/domains/update-domains.ts +63 -0
  114. package/src/tools/events/list-events.ts +414 -0
  115. package/src/tools/index.ts +133 -0
  116. package/src/tools/links/bulk/create-links-bulk.ts +955 -0
  117. package/src/tools/links/bulk/delete-links-bulk.ts +52 -0
  118. package/src/tools/links/count-links.ts +946 -0
  119. package/src/tools/links/create-links.ts +946 -0
  120. package/src/tools/links/delete-links.ts +49 -0
  121. package/src/tools/links/list-links.ts +969 -0
  122. package/src/tools/links/retrieve-info-links.ts +68 -0
  123. package/src/tools/links/update-links.ts +953 -0
  124. package/src/tools/links/upsert-links.ts +947 -0
  125. package/src/tools/projects/list-projects.ts +44 -0
  126. package/src/tools/projects/retrieve-projects.ts +49 -0
  127. package/src/tools/qrcodes/bulk/create-qrcodes-bulk.ts +1066 -0
  128. package/src/tools/qrcodes/bulk/delete-qrcodes-bulk.ts +52 -0
  129. package/src/tools/qrcodes/count-qrcodes.ts +209 -0
  130. package/src/tools/qrcodes/create-qrcodes.ts +1056 -0
  131. package/src/tools/qrcodes/delete-qrcodes.ts +49 -0
  132. package/src/tools/qrcodes/list-qrcodes.ts +210 -0
  133. package/src/tools/qrcodes/retrieve-qrcodes.ts +60 -0
  134. package/src/tools/qrcodes/update-qrcodes.ts +1063 -0
  135. package/src/tools/qrcodes/upsert-qrcodes.ts +1057 -0
  136. package/src/tools/tags/create-tags.ts +52 -0
  137. package/src/tools/tags/delete-tags.ts +48 -0
  138. package/src/tools/tags/list-tags.ts +80 -0
  139. package/src/tools/tags/update-tags.ts +56 -0
  140. package/src/tools/track/track-lead-track.ts +72 -0
  141. package/src/tools/track/track-sale-track.ts +74 -0
  142. package/src/tools/types.ts +103 -0
  143. package/src/tools.ts +1 -0
  144. package/src/tsconfig.json +11 -0
  145. package/stdio.d.mts +3 -0
  146. package/stdio.d.mts.map +1 -0
  147. package/stdio.d.ts +3 -0
  148. package/stdio.d.ts.map +1 -0
  149. package/stdio.js +14 -0
  150. package/stdio.js.map +1 -0
  151. package/stdio.mjs +10 -0
  152. package/stdio.mjs.map +1 -0
  153. package/tools/analytics/retrieve-analytics.d.mts +45 -0
  154. package/tools/analytics/retrieve-analytics.d.mts.map +1 -0
  155. package/tools/analytics/retrieve-analytics.d.ts +45 -0
  156. package/tools/analytics/retrieve-analytics.d.ts.map +1 -0
  157. package/tools/analytics/retrieve-analytics.js +426 -0
  158. package/tools/analytics/retrieve-analytics.js.map +1 -0
  159. package/tools/analytics/retrieve-analytics.mjs +422 -0
  160. package/tools/analytics/retrieve-analytics.mjs.map +1 -0
  161. package/tools/domains/create-domains.d.mts +45 -0
  162. package/tools/domains/create-domains.d.mts.map +1 -0
  163. package/tools/domains/create-domains.d.ts +45 -0
  164. package/tools/domains/create-domains.d.ts.map +1 -0
  165. package/tools/domains/create-domains.js +53 -0
  166. package/tools/domains/create-domains.js.map +1 -0
  167. package/tools/domains/create-domains.mjs +49 -0
  168. package/tools/domains/create-domains.mjs.map +1 -0
  169. package/tools/domains/delete-domains.d.mts +45 -0
  170. package/tools/domains/delete-domains.d.mts.map +1 -0
  171. package/tools/domains/delete-domains.d.ts +45 -0
  172. package/tools/domains/delete-domains.d.ts.map +1 -0
  173. package/tools/domains/delete-domains.js +43 -0
  174. package/tools/domains/delete-domains.js.map +1 -0
  175. package/tools/domains/delete-domains.mjs +39 -0
  176. package/tools/domains/delete-domains.mjs.map +1 -0
  177. package/tools/domains/list-domains.d.mts +45 -0
  178. package/tools/domains/list-domains.d.mts.map +1 -0
  179. package/tools/domains/list-domains.d.ts +45 -0
  180. package/tools/domains/list-domains.d.ts.map +1 -0
  181. package/tools/domains/list-domains.js +55 -0
  182. package/tools/domains/list-domains.js.map +1 -0
  183. package/tools/domains/list-domains.mjs +51 -0
  184. package/tools/domains/list-domains.mjs.map +1 -0
  185. package/tools/domains/update-domains.d.mts +45 -0
  186. package/tools/domains/update-domains.d.mts.map +1 -0
  187. package/tools/domains/update-domains.d.ts +45 -0
  188. package/tools/domains/update-domains.d.ts.map +1 -0
  189. package/tools/domains/update-domains.js +57 -0
  190. package/tools/domains/update-domains.js.map +1 -0
  191. package/tools/domains/update-domains.mjs +53 -0
  192. package/tools/domains/update-domains.mjs.map +1 -0
  193. package/tools/events/list-events.d.mts +45 -0
  194. package/tools/events/list-events.d.mts.map +1 -0
  195. package/tools/events/list-events.d.ts +45 -0
  196. package/tools/events/list-events.d.ts.map +1 -0
  197. package/tools/events/list-events.js +406 -0
  198. package/tools/events/list-events.js.map +1 -0
  199. package/tools/events/list-events.mjs +402 -0
  200. package/tools/events/list-events.mjs.map +1 -0
  201. package/tools/index.d.mts +10 -0
  202. package/tools/index.d.mts.map +1 -0
  203. package/tools/index.d.ts +10 -0
  204. package/tools/index.d.ts.map +1 -0
  205. package/tools/index.js +117 -0
  206. package/tools/index.js.map +1 -0
  207. package/tools/index.mjs +110 -0
  208. package/tools/index.mjs.map +1 -0
  209. package/tools/links/bulk/create-links-bulk.d.mts +45 -0
  210. package/tools/links/bulk/create-links-bulk.d.mts.map +1 -0
  211. package/tools/links/bulk/create-links-bulk.d.ts +45 -0
  212. package/tools/links/bulk/create-links-bulk.d.ts.map +1 -0
  213. package/tools/links/bulk/create-links-bulk.js +940 -0
  214. package/tools/links/bulk/create-links-bulk.js.map +1 -0
  215. package/tools/links/bulk/create-links-bulk.mjs +936 -0
  216. package/tools/links/bulk/create-links-bulk.mjs.map +1 -0
  217. package/tools/links/bulk/delete-links-bulk.d.mts +45 -0
  218. package/tools/links/bulk/delete-links-bulk.d.mts.map +1 -0
  219. package/tools/links/bulk/delete-links-bulk.d.ts +45 -0
  220. package/tools/links/bulk/delete-links-bulk.d.ts.map +1 -0
  221. package/tools/links/bulk/delete-links-bulk.js +46 -0
  222. package/tools/links/bulk/delete-links-bulk.js.map +1 -0
  223. package/tools/links/bulk/delete-links-bulk.mjs +42 -0
  224. package/tools/links/bulk/delete-links-bulk.mjs.map +1 -0
  225. package/tools/links/count-links.d.mts +45 -0
  226. package/tools/links/count-links.d.mts.map +1 -0
  227. package/tools/links/count-links.d.ts +45 -0
  228. package/tools/links/count-links.d.ts.map +1 -0
  229. package/tools/links/count-links.js +935 -0
  230. package/tools/links/count-links.js.map +1 -0
  231. package/tools/links/count-links.mjs +931 -0
  232. package/tools/links/count-links.mjs.map +1 -0
  233. package/tools/links/create-links.d.mts +45 -0
  234. package/tools/links/create-links.d.mts.map +1 -0
  235. package/tools/links/create-links.d.ts +45 -0
  236. package/tools/links/create-links.d.ts.map +1 -0
  237. package/tools/links/create-links.js +931 -0
  238. package/tools/links/create-links.js.map +1 -0
  239. package/tools/links/create-links.mjs +927 -0
  240. package/tools/links/create-links.mjs.map +1 -0
  241. package/tools/links/delete-links.d.mts +45 -0
  242. package/tools/links/delete-links.d.mts.map +1 -0
  243. package/tools/links/delete-links.d.ts +45 -0
  244. package/tools/links/delete-links.d.ts.map +1 -0
  245. package/tools/links/delete-links.js +43 -0
  246. package/tools/links/delete-links.js.map +1 -0
  247. package/tools/links/delete-links.mjs +39 -0
  248. package/tools/links/delete-links.mjs.map +1 -0
  249. package/tools/links/list-links.d.mts +45 -0
  250. package/tools/links/list-links.d.mts.map +1 -0
  251. package/tools/links/list-links.d.ts +45 -0
  252. package/tools/links/list-links.d.ts.map +1 -0
  253. package/tools/links/list-links.js +957 -0
  254. package/tools/links/list-links.js.map +1 -0
  255. package/tools/links/list-links.mjs +953 -0
  256. package/tools/links/list-links.mjs.map +1 -0
  257. package/tools/links/retrieve-info-links.d.mts +45 -0
  258. package/tools/links/retrieve-info-links.d.mts.map +1 -0
  259. package/tools/links/retrieve-info-links.d.ts +45 -0
  260. package/tools/links/retrieve-info-links.d.ts.map +1 -0
  261. package/tools/links/retrieve-info-links.js +59 -0
  262. package/tools/links/retrieve-info-links.js.map +1 -0
  263. package/tools/links/retrieve-info-links.mjs +55 -0
  264. package/tools/links/retrieve-info-links.mjs.map +1 -0
  265. package/tools/links/update-links.d.mts +45 -0
  266. package/tools/links/update-links.d.mts.map +1 -0
  267. package/tools/links/update-links.d.ts +45 -0
  268. package/tools/links/update-links.d.ts.map +1 -0
  269. package/tools/links/update-links.js +937 -0
  270. package/tools/links/update-links.js.map +1 -0
  271. package/tools/links/update-links.mjs +933 -0
  272. package/tools/links/update-links.mjs.map +1 -0
  273. package/tools/links/upsert-links.d.mts +45 -0
  274. package/tools/links/upsert-links.d.mts.map +1 -0
  275. package/tools/links/upsert-links.d.ts +45 -0
  276. package/tools/links/upsert-links.d.ts.map +1 -0
  277. package/tools/links/upsert-links.js +931 -0
  278. package/tools/links/upsert-links.js.map +1 -0
  279. package/tools/links/upsert-links.mjs +927 -0
  280. package/tools/links/upsert-links.mjs.map +1 -0
  281. package/tools/projects/list-projects.d.mts +45 -0
  282. package/tools/projects/list-projects.d.mts.map +1 -0
  283. package/tools/projects/list-projects.d.ts +45 -0
  284. package/tools/projects/list-projects.d.ts.map +1 -0
  285. package/tools/projects/list-projects.js +39 -0
  286. package/tools/projects/list-projects.js.map +1 -0
  287. package/tools/projects/list-projects.mjs +35 -0
  288. package/tools/projects/list-projects.mjs.map +1 -0
  289. package/tools/projects/retrieve-projects.d.mts +45 -0
  290. package/tools/projects/retrieve-projects.d.mts.map +1 -0
  291. package/tools/projects/retrieve-projects.d.ts +45 -0
  292. package/tools/projects/retrieve-projects.d.ts.map +1 -0
  293. package/tools/projects/retrieve-projects.js +43 -0
  294. package/tools/projects/retrieve-projects.js.map +1 -0
  295. package/tools/projects/retrieve-projects.mjs +39 -0
  296. package/tools/projects/retrieve-projects.mjs.map +1 -0
  297. package/tools/qrcodes/bulk/create-qrcodes-bulk.d.mts +45 -0
  298. package/tools/qrcodes/bulk/create-qrcodes-bulk.d.mts.map +1 -0
  299. package/tools/qrcodes/bulk/create-qrcodes-bulk.d.ts +45 -0
  300. package/tools/qrcodes/bulk/create-qrcodes-bulk.d.ts.map +1 -0
  301. package/tools/qrcodes/bulk/create-qrcodes-bulk.js +1052 -0
  302. package/tools/qrcodes/bulk/create-qrcodes-bulk.js.map +1 -0
  303. package/tools/qrcodes/bulk/create-qrcodes-bulk.mjs +1048 -0
  304. package/tools/qrcodes/bulk/create-qrcodes-bulk.mjs.map +1 -0
  305. package/tools/qrcodes/bulk/delete-qrcodes-bulk.d.mts +45 -0
  306. package/tools/qrcodes/bulk/delete-qrcodes-bulk.d.mts.map +1 -0
  307. package/tools/qrcodes/bulk/delete-qrcodes-bulk.d.ts +45 -0
  308. package/tools/qrcodes/bulk/delete-qrcodes-bulk.d.ts.map +1 -0
  309. package/tools/qrcodes/bulk/delete-qrcodes-bulk.js +46 -0
  310. package/tools/qrcodes/bulk/delete-qrcodes-bulk.js.map +1 -0
  311. package/tools/qrcodes/bulk/delete-qrcodes-bulk.mjs +42 -0
  312. package/tools/qrcodes/bulk/delete-qrcodes-bulk.mjs.map +1 -0
  313. package/tools/qrcodes/count-qrcodes.d.mts +45 -0
  314. package/tools/qrcodes/count-qrcodes.d.mts.map +1 -0
  315. package/tools/qrcodes/count-qrcodes.d.ts +45 -0
  316. package/tools/qrcodes/count-qrcodes.d.ts.map +1 -0
  317. package/tools/qrcodes/count-qrcodes.js +199 -0
  318. package/tools/qrcodes/count-qrcodes.js.map +1 -0
  319. package/tools/qrcodes/count-qrcodes.mjs +195 -0
  320. package/tools/qrcodes/count-qrcodes.mjs.map +1 -0
  321. package/tools/qrcodes/create-qrcodes.d.mts +45 -0
  322. package/tools/qrcodes/create-qrcodes.d.mts.map +1 -0
  323. package/tools/qrcodes/create-qrcodes.d.ts +45 -0
  324. package/tools/qrcodes/create-qrcodes.d.ts.map +1 -0
  325. package/tools/qrcodes/create-qrcodes.js +1043 -0
  326. package/tools/qrcodes/create-qrcodes.js.map +1 -0
  327. package/tools/qrcodes/create-qrcodes.mjs +1039 -0
  328. package/tools/qrcodes/create-qrcodes.mjs.map +1 -0
  329. package/tools/qrcodes/delete-qrcodes.d.mts +45 -0
  330. package/tools/qrcodes/delete-qrcodes.d.mts.map +1 -0
  331. package/tools/qrcodes/delete-qrcodes.d.ts +45 -0
  332. package/tools/qrcodes/delete-qrcodes.d.ts.map +1 -0
  333. package/tools/qrcodes/delete-qrcodes.js +43 -0
  334. package/tools/qrcodes/delete-qrcodes.js.map +1 -0
  335. package/tools/qrcodes/delete-qrcodes.mjs +39 -0
  336. package/tools/qrcodes/delete-qrcodes.mjs.map +1 -0
  337. package/tools/qrcodes/list-qrcodes.d.mts +45 -0
  338. package/tools/qrcodes/list-qrcodes.d.mts.map +1 -0
  339. package/tools/qrcodes/list-qrcodes.d.ts +45 -0
  340. package/tools/qrcodes/list-qrcodes.d.ts.map +1 -0
  341. package/tools/qrcodes/list-qrcodes.js +201 -0
  342. package/tools/qrcodes/list-qrcodes.js.map +1 -0
  343. package/tools/qrcodes/list-qrcodes.mjs +197 -0
  344. package/tools/qrcodes/list-qrcodes.mjs.map +1 -0
  345. package/tools/qrcodes/retrieve-qrcodes.d.mts +45 -0
  346. package/tools/qrcodes/retrieve-qrcodes.d.mts.map +1 -0
  347. package/tools/qrcodes/retrieve-qrcodes.d.ts +45 -0
  348. package/tools/qrcodes/retrieve-qrcodes.d.ts.map +1 -0
  349. package/tools/qrcodes/retrieve-qrcodes.js +53 -0
  350. package/tools/qrcodes/retrieve-qrcodes.js.map +1 -0
  351. package/tools/qrcodes/retrieve-qrcodes.mjs +49 -0
  352. package/tools/qrcodes/retrieve-qrcodes.mjs.map +1 -0
  353. package/tools/qrcodes/update-qrcodes.d.mts +45 -0
  354. package/tools/qrcodes/update-qrcodes.d.mts.map +1 -0
  355. package/tools/qrcodes/update-qrcodes.d.ts +45 -0
  356. package/tools/qrcodes/update-qrcodes.d.ts.map +1 -0
  357. package/tools/qrcodes/update-qrcodes.js +1049 -0
  358. package/tools/qrcodes/update-qrcodes.js.map +1 -0
  359. package/tools/qrcodes/update-qrcodes.mjs +1045 -0
  360. package/tools/qrcodes/update-qrcodes.mjs.map +1 -0
  361. package/tools/qrcodes/upsert-qrcodes.d.mts +45 -0
  362. package/tools/qrcodes/upsert-qrcodes.d.mts.map +1 -0
  363. package/tools/qrcodes/upsert-qrcodes.d.ts +45 -0
  364. package/tools/qrcodes/upsert-qrcodes.d.ts.map +1 -0
  365. package/tools/qrcodes/upsert-qrcodes.js +1043 -0
  366. package/tools/qrcodes/upsert-qrcodes.js.map +1 -0
  367. package/tools/qrcodes/upsert-qrcodes.mjs +1039 -0
  368. package/tools/qrcodes/upsert-qrcodes.mjs.map +1 -0
  369. package/tools/tags/create-tags.d.mts +45 -0
  370. package/tools/tags/create-tags.d.mts.map +1 -0
  371. package/tools/tags/create-tags.d.ts +45 -0
  372. package/tools/tags/create-tags.d.ts.map +1 -0
  373. package/tools/tags/create-tags.js +46 -0
  374. package/tools/tags/create-tags.js.map +1 -0
  375. package/tools/tags/create-tags.mjs +42 -0
  376. package/tools/tags/create-tags.mjs.map +1 -0
  377. package/tools/tags/delete-tags.d.mts +45 -0
  378. package/tools/tags/delete-tags.d.mts.map +1 -0
  379. package/tools/tags/delete-tags.d.ts +45 -0
  380. package/tools/tags/delete-tags.d.ts.map +1 -0
  381. package/tools/tags/delete-tags.js +43 -0
  382. package/tools/tags/delete-tags.js.map +1 -0
  383. package/tools/tags/delete-tags.mjs +39 -0
  384. package/tools/tags/delete-tags.mjs.map +1 -0
  385. package/tools/tags/list-tags.d.mts +45 -0
  386. package/tools/tags/list-tags.d.mts.map +1 -0
  387. package/tools/tags/list-tags.d.ts +45 -0
  388. package/tools/tags/list-tags.d.ts.map +1 -0
  389. package/tools/tags/list-tags.js +75 -0
  390. package/tools/tags/list-tags.js.map +1 -0
  391. package/tools/tags/list-tags.mjs +71 -0
  392. package/tools/tags/list-tags.mjs.map +1 -0
  393. package/tools/tags/update-tags.d.mts +45 -0
  394. package/tools/tags/update-tags.d.mts.map +1 -0
  395. package/tools/tags/update-tags.d.ts +45 -0
  396. package/tools/tags/update-tags.d.ts.map +1 -0
  397. package/tools/tags/update-tags.js +51 -0
  398. package/tools/tags/update-tags.js.map +1 -0
  399. package/tools/tags/update-tags.mjs +47 -0
  400. package/tools/tags/update-tags.mjs.map +1 -0
  401. package/tools/track/track-lead-track.d.mts +45 -0
  402. package/tools/track/track-lead-track.d.mts.map +1 -0
  403. package/tools/track/track-lead-track.d.ts +45 -0
  404. package/tools/track/track-lead-track.d.ts.map +1 -0
  405. package/tools/track/track-lead-track.js +66 -0
  406. package/tools/track/track-lead-track.js.map +1 -0
  407. package/tools/track/track-lead-track.mjs +62 -0
  408. package/tools/track/track-lead-track.mjs.map +1 -0
  409. package/tools/track/track-sale-track.d.mts +45 -0
  410. package/tools/track/track-sale-track.d.mts.map +1 -0
  411. package/tools/track/track-sale-track.d.ts +45 -0
  412. package/tools/track/track-sale-track.d.ts.map +1 -0
  413. package/tools/track/track-sale-track.js +67 -0
  414. package/tools/track/track-sale-track.js.map +1 -0
  415. package/tools/track/track-sale-track.mjs +63 -0
  416. package/tools/track/track-sale-track.mjs.map +1 -0
  417. package/tools/types.d.mts +51 -0
  418. package/tools/types.d.mts.map +1 -0
  419. package/tools/types.d.ts +51 -0
  420. package/tools/types.d.ts.map +1 -0
  421. package/tools/types.js +46 -0
  422. package/tools/types.js.map +1 -0
  423. package/tools/types.mjs +42 -0
  424. package/tools/types.mjs.map +1 -0
  425. package/tools.d.mts +2 -0
  426. package/tools.d.mts.map +1 -0
  427. package/tools.d.ts +2 -0
  428. package/tools.d.ts.map +1 -0
  429. package/tools.js +18 -0
  430. package/tools.js.map +1 -0
  431. package/tools.mjs +2 -0
  432. package/tools.mjs.map +1 -0
@@ -0,0 +1,927 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { asTextContentResult } from '@codeqr/ts-mcp/tools/types';
3
+ export const metadata = {
4
+ resource: 'links',
5
+ operation: 'write',
6
+ tags: [],
7
+ httpMethod: 'patch',
8
+ httpPath: '/links/update',
9
+ operationId: 'upsertLink',
10
+ };
11
+ export const tool = {
12
+ name: 'upsert_links',
13
+ description: 'Upsert a link for the authenticated workspace by its URL. If a link with the same URL already exists, return it (or update it if there are any changes). Otherwise, a new link will be created.',
14
+ inputSchema: {
15
+ type: 'object',
16
+ properties: {
17
+ url: {
18
+ type: 'string',
19
+ description: 'The destination URL of the short link.',
20
+ },
21
+ android: {
22
+ type: 'string',
23
+ description: 'The Android destination URL for the short link for Android device targeting.',
24
+ },
25
+ archived: {
26
+ type: 'boolean',
27
+ description: 'Whether the short link is archived.',
28
+ },
29
+ comments: {
30
+ type: 'string',
31
+ description: 'The comments for the short link.',
32
+ },
33
+ description: {
34
+ type: 'string',
35
+ description: 'The description of the short link generated via `api.codeqr.io/metatags`. Will be used for custom link preview if `proxy` is true.',
36
+ },
37
+ doIndex: {
38
+ type: 'boolean',
39
+ description: 'Allow search engines to index your short link. Default is `false` if not provided. Learn more: https://codeqr.link/noindex',
40
+ },
41
+ domain: {
42
+ type: 'string',
43
+ description: 'The domain of the short link. If not provided, the main domain of the project will be used (or `codeqr.link` if the project has no domains).',
44
+ },
45
+ expiredUrl: {
46
+ type: 'string',
47
+ description: 'The URL to redirect to when the short link expires.',
48
+ },
49
+ expiresAt: {
50
+ type: 'string',
51
+ description: 'The date and time when the short link will expire in ISO-8601 format. Must be in the future.',
52
+ format: 'date-time',
53
+ },
54
+ externalId: {
55
+ type: 'string',
56
+ description: 'This is the ID of the link in your database. If set, it can be used to identify the link in the future. Must be prefixed with `ext_` when passed as a query parameter.',
57
+ },
58
+ flexible: {
59
+ type: 'boolean',
60
+ description: 'Whether the short link is flexible.',
61
+ },
62
+ geo: {
63
+ type: 'object',
64
+ description: 'Geographic targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`.',
65
+ properties: {
66
+ AD: {
67
+ type: 'string',
68
+ },
69
+ AE: {
70
+ type: 'string',
71
+ },
72
+ AF: {
73
+ type: 'string',
74
+ },
75
+ AG: {
76
+ type: 'string',
77
+ },
78
+ AI: {
79
+ type: 'string',
80
+ },
81
+ AL: {
82
+ type: 'string',
83
+ },
84
+ AM: {
85
+ type: 'string',
86
+ },
87
+ AO: {
88
+ type: 'string',
89
+ },
90
+ AQ: {
91
+ type: 'string',
92
+ },
93
+ AR: {
94
+ type: 'string',
95
+ },
96
+ AS: {
97
+ type: 'string',
98
+ },
99
+ AT: {
100
+ type: 'string',
101
+ },
102
+ AU: {
103
+ type: 'string',
104
+ },
105
+ AW: {
106
+ type: 'string',
107
+ },
108
+ AX: {
109
+ type: 'string',
110
+ },
111
+ AZ: {
112
+ type: 'string',
113
+ },
114
+ BA: {
115
+ type: 'string',
116
+ },
117
+ BB: {
118
+ type: 'string',
119
+ },
120
+ BD: {
121
+ type: 'string',
122
+ },
123
+ BE: {
124
+ type: 'string',
125
+ },
126
+ BF: {
127
+ type: 'string',
128
+ },
129
+ BG: {
130
+ type: 'string',
131
+ },
132
+ BH: {
133
+ type: 'string',
134
+ },
135
+ BI: {
136
+ type: 'string',
137
+ },
138
+ BJ: {
139
+ type: 'string',
140
+ },
141
+ BL: {
142
+ type: 'string',
143
+ },
144
+ BM: {
145
+ type: 'string',
146
+ },
147
+ BN: {
148
+ type: 'string',
149
+ },
150
+ BO: {
151
+ type: 'string',
152
+ },
153
+ BQ: {
154
+ type: 'string',
155
+ },
156
+ BR: {
157
+ type: 'string',
158
+ },
159
+ BS: {
160
+ type: 'string',
161
+ },
162
+ BT: {
163
+ type: 'string',
164
+ },
165
+ BV: {
166
+ type: 'string',
167
+ },
168
+ BW: {
169
+ type: 'string',
170
+ },
171
+ BY: {
172
+ type: 'string',
173
+ },
174
+ BZ: {
175
+ type: 'string',
176
+ },
177
+ CA: {
178
+ type: 'string',
179
+ },
180
+ CC: {
181
+ type: 'string',
182
+ },
183
+ CD: {
184
+ type: 'string',
185
+ },
186
+ CF: {
187
+ type: 'string',
188
+ },
189
+ CG: {
190
+ type: 'string',
191
+ },
192
+ CH: {
193
+ type: 'string',
194
+ },
195
+ CI: {
196
+ type: 'string',
197
+ },
198
+ CK: {
199
+ type: 'string',
200
+ },
201
+ CL: {
202
+ type: 'string',
203
+ },
204
+ CM: {
205
+ type: 'string',
206
+ },
207
+ CN: {
208
+ type: 'string',
209
+ },
210
+ CO: {
211
+ type: 'string',
212
+ },
213
+ CR: {
214
+ type: 'string',
215
+ },
216
+ CU: {
217
+ type: 'string',
218
+ },
219
+ CV: {
220
+ type: 'string',
221
+ },
222
+ CW: {
223
+ type: 'string',
224
+ },
225
+ CX: {
226
+ type: 'string',
227
+ },
228
+ CY: {
229
+ type: 'string',
230
+ },
231
+ CZ: {
232
+ type: 'string',
233
+ },
234
+ DE: {
235
+ type: 'string',
236
+ },
237
+ DJ: {
238
+ type: 'string',
239
+ },
240
+ DK: {
241
+ type: 'string',
242
+ },
243
+ DM: {
244
+ type: 'string',
245
+ },
246
+ DO: {
247
+ type: 'string',
248
+ },
249
+ DZ: {
250
+ type: 'string',
251
+ },
252
+ EC: {
253
+ type: 'string',
254
+ },
255
+ EE: {
256
+ type: 'string',
257
+ },
258
+ EG: {
259
+ type: 'string',
260
+ },
261
+ EH: {
262
+ type: 'string',
263
+ },
264
+ ER: {
265
+ type: 'string',
266
+ },
267
+ ES: {
268
+ type: 'string',
269
+ },
270
+ ET: {
271
+ type: 'string',
272
+ },
273
+ FI: {
274
+ type: 'string',
275
+ },
276
+ FJ: {
277
+ type: 'string',
278
+ },
279
+ FK: {
280
+ type: 'string',
281
+ },
282
+ FM: {
283
+ type: 'string',
284
+ },
285
+ FO: {
286
+ type: 'string',
287
+ },
288
+ FR: {
289
+ type: 'string',
290
+ },
291
+ GA: {
292
+ type: 'string',
293
+ },
294
+ GB: {
295
+ type: 'string',
296
+ },
297
+ GD: {
298
+ type: 'string',
299
+ },
300
+ GE: {
301
+ type: 'string',
302
+ },
303
+ GF: {
304
+ type: 'string',
305
+ },
306
+ GG: {
307
+ type: 'string',
308
+ },
309
+ GH: {
310
+ type: 'string',
311
+ },
312
+ GI: {
313
+ type: 'string',
314
+ },
315
+ GL: {
316
+ type: 'string',
317
+ },
318
+ GM: {
319
+ type: 'string',
320
+ },
321
+ GN: {
322
+ type: 'string',
323
+ },
324
+ GP: {
325
+ type: 'string',
326
+ },
327
+ GQ: {
328
+ type: 'string',
329
+ },
330
+ GR: {
331
+ type: 'string',
332
+ },
333
+ GS: {
334
+ type: 'string',
335
+ },
336
+ GT: {
337
+ type: 'string',
338
+ },
339
+ GU: {
340
+ type: 'string',
341
+ },
342
+ GW: {
343
+ type: 'string',
344
+ },
345
+ GY: {
346
+ type: 'string',
347
+ },
348
+ HK: {
349
+ type: 'string',
350
+ },
351
+ HM: {
352
+ type: 'string',
353
+ },
354
+ HN: {
355
+ type: 'string',
356
+ },
357
+ HR: {
358
+ type: 'string',
359
+ },
360
+ HT: {
361
+ type: 'string',
362
+ },
363
+ HU: {
364
+ type: 'string',
365
+ },
366
+ ID: {
367
+ type: 'string',
368
+ },
369
+ IE: {
370
+ type: 'string',
371
+ },
372
+ IL: {
373
+ type: 'string',
374
+ },
375
+ IM: {
376
+ type: 'string',
377
+ },
378
+ IN: {
379
+ type: 'string',
380
+ },
381
+ IO: {
382
+ type: 'string',
383
+ },
384
+ IQ: {
385
+ type: 'string',
386
+ },
387
+ IR: {
388
+ type: 'string',
389
+ },
390
+ IS: {
391
+ type: 'string',
392
+ },
393
+ IT: {
394
+ type: 'string',
395
+ },
396
+ JE: {
397
+ type: 'string',
398
+ },
399
+ JM: {
400
+ type: 'string',
401
+ },
402
+ JO: {
403
+ type: 'string',
404
+ },
405
+ JP: {
406
+ type: 'string',
407
+ },
408
+ KE: {
409
+ type: 'string',
410
+ },
411
+ KG: {
412
+ type: 'string',
413
+ },
414
+ KH: {
415
+ type: 'string',
416
+ },
417
+ KI: {
418
+ type: 'string',
419
+ },
420
+ KM: {
421
+ type: 'string',
422
+ },
423
+ KN: {
424
+ type: 'string',
425
+ },
426
+ KP: {
427
+ type: 'string',
428
+ },
429
+ KR: {
430
+ type: 'string',
431
+ },
432
+ KW: {
433
+ type: 'string',
434
+ },
435
+ KY: {
436
+ type: 'string',
437
+ },
438
+ KZ: {
439
+ type: 'string',
440
+ },
441
+ LA: {
442
+ type: 'string',
443
+ },
444
+ LB: {
445
+ type: 'string',
446
+ },
447
+ LC: {
448
+ type: 'string',
449
+ },
450
+ LI: {
451
+ type: 'string',
452
+ },
453
+ LK: {
454
+ type: 'string',
455
+ },
456
+ LR: {
457
+ type: 'string',
458
+ },
459
+ LS: {
460
+ type: 'string',
461
+ },
462
+ LT: {
463
+ type: 'string',
464
+ },
465
+ LU: {
466
+ type: 'string',
467
+ },
468
+ LV: {
469
+ type: 'string',
470
+ },
471
+ LY: {
472
+ type: 'string',
473
+ },
474
+ MA: {
475
+ type: 'string',
476
+ },
477
+ MC: {
478
+ type: 'string',
479
+ },
480
+ MD: {
481
+ type: 'string',
482
+ },
483
+ ME: {
484
+ type: 'string',
485
+ },
486
+ MF: {
487
+ type: 'string',
488
+ },
489
+ MG: {
490
+ type: 'string',
491
+ },
492
+ MH: {
493
+ type: 'string',
494
+ },
495
+ MK: {
496
+ type: 'string',
497
+ },
498
+ ML: {
499
+ type: 'string',
500
+ },
501
+ MM: {
502
+ type: 'string',
503
+ },
504
+ MN: {
505
+ type: 'string',
506
+ },
507
+ MO: {
508
+ type: 'string',
509
+ },
510
+ MP: {
511
+ type: 'string',
512
+ },
513
+ MQ: {
514
+ type: 'string',
515
+ },
516
+ MR: {
517
+ type: 'string',
518
+ },
519
+ MS: {
520
+ type: 'string',
521
+ },
522
+ MT: {
523
+ type: 'string',
524
+ },
525
+ MU: {
526
+ type: 'string',
527
+ },
528
+ MV: {
529
+ type: 'string',
530
+ },
531
+ MW: {
532
+ type: 'string',
533
+ },
534
+ MX: {
535
+ type: 'string',
536
+ },
537
+ MY: {
538
+ type: 'string',
539
+ },
540
+ MZ: {
541
+ type: 'string',
542
+ },
543
+ NA: {
544
+ type: 'string',
545
+ },
546
+ NC: {
547
+ type: 'string',
548
+ },
549
+ NE: {
550
+ type: 'string',
551
+ },
552
+ NF: {
553
+ type: 'string',
554
+ },
555
+ NG: {
556
+ type: 'string',
557
+ },
558
+ NI: {
559
+ type: 'string',
560
+ },
561
+ NL: {
562
+ type: 'string',
563
+ },
564
+ NO: {
565
+ type: 'string',
566
+ },
567
+ NP: {
568
+ type: 'string',
569
+ },
570
+ NR: {
571
+ type: 'string',
572
+ },
573
+ NU: {
574
+ type: 'string',
575
+ },
576
+ NZ: {
577
+ type: 'string',
578
+ },
579
+ OM: {
580
+ type: 'string',
581
+ },
582
+ PA: {
583
+ type: 'string',
584
+ },
585
+ PE: {
586
+ type: 'string',
587
+ },
588
+ PF: {
589
+ type: 'string',
590
+ },
591
+ PG: {
592
+ type: 'string',
593
+ },
594
+ PH: {
595
+ type: 'string',
596
+ },
597
+ PK: {
598
+ type: 'string',
599
+ },
600
+ PL: {
601
+ type: 'string',
602
+ },
603
+ PM: {
604
+ type: 'string',
605
+ },
606
+ PN: {
607
+ type: 'string',
608
+ },
609
+ PR: {
610
+ type: 'string',
611
+ },
612
+ PS: {
613
+ type: 'string',
614
+ },
615
+ PT: {
616
+ type: 'string',
617
+ },
618
+ PW: {
619
+ type: 'string',
620
+ },
621
+ PY: {
622
+ type: 'string',
623
+ },
624
+ QA: {
625
+ type: 'string',
626
+ },
627
+ RE: {
628
+ type: 'string',
629
+ },
630
+ RO: {
631
+ type: 'string',
632
+ },
633
+ RS: {
634
+ type: 'string',
635
+ },
636
+ RU: {
637
+ type: 'string',
638
+ },
639
+ RW: {
640
+ type: 'string',
641
+ },
642
+ SA: {
643
+ type: 'string',
644
+ },
645
+ SB: {
646
+ type: 'string',
647
+ },
648
+ SC: {
649
+ type: 'string',
650
+ },
651
+ SD: {
652
+ type: 'string',
653
+ },
654
+ SE: {
655
+ type: 'string',
656
+ },
657
+ SG: {
658
+ type: 'string',
659
+ },
660
+ SH: {
661
+ type: 'string',
662
+ },
663
+ SI: {
664
+ type: 'string',
665
+ },
666
+ SJ: {
667
+ type: 'string',
668
+ },
669
+ SK: {
670
+ type: 'string',
671
+ },
672
+ SL: {
673
+ type: 'string',
674
+ },
675
+ SM: {
676
+ type: 'string',
677
+ },
678
+ SN: {
679
+ type: 'string',
680
+ },
681
+ SO: {
682
+ type: 'string',
683
+ },
684
+ SR: {
685
+ type: 'string',
686
+ },
687
+ SS: {
688
+ type: 'string',
689
+ },
690
+ ST: {
691
+ type: 'string',
692
+ },
693
+ SV: {
694
+ type: 'string',
695
+ },
696
+ SX: {
697
+ type: 'string',
698
+ },
699
+ SY: {
700
+ type: 'string',
701
+ },
702
+ SZ: {
703
+ type: 'string',
704
+ },
705
+ TC: {
706
+ type: 'string',
707
+ },
708
+ TD: {
709
+ type: 'string',
710
+ },
711
+ TF: {
712
+ type: 'string',
713
+ },
714
+ TG: {
715
+ type: 'string',
716
+ },
717
+ TH: {
718
+ type: 'string',
719
+ },
720
+ TJ: {
721
+ type: 'string',
722
+ },
723
+ TK: {
724
+ type: 'string',
725
+ },
726
+ TL: {
727
+ type: 'string',
728
+ },
729
+ TM: {
730
+ type: 'string',
731
+ },
732
+ TN: {
733
+ type: 'string',
734
+ },
735
+ TO: {
736
+ type: 'string',
737
+ },
738
+ TR: {
739
+ type: 'string',
740
+ },
741
+ TT: {
742
+ type: 'string',
743
+ },
744
+ TV: {
745
+ type: 'string',
746
+ },
747
+ TW: {
748
+ type: 'string',
749
+ },
750
+ TZ: {
751
+ type: 'string',
752
+ },
753
+ UA: {
754
+ type: 'string',
755
+ },
756
+ UG: {
757
+ type: 'string',
758
+ },
759
+ UM: {
760
+ type: 'string',
761
+ },
762
+ US: {
763
+ type: 'string',
764
+ },
765
+ UY: {
766
+ type: 'string',
767
+ },
768
+ UZ: {
769
+ type: 'string',
770
+ },
771
+ VA: {
772
+ type: 'string',
773
+ },
774
+ VC: {
775
+ type: 'string',
776
+ },
777
+ VE: {
778
+ type: 'string',
779
+ },
780
+ VG: {
781
+ type: 'string',
782
+ },
783
+ VI: {
784
+ type: 'string',
785
+ },
786
+ VN: {
787
+ type: 'string',
788
+ },
789
+ VU: {
790
+ type: 'string',
791
+ },
792
+ WF: {
793
+ type: 'string',
794
+ },
795
+ WS: {
796
+ type: 'string',
797
+ },
798
+ XK: {
799
+ type: 'string',
800
+ },
801
+ YE: {
802
+ type: 'string',
803
+ },
804
+ YT: {
805
+ type: 'string',
806
+ },
807
+ ZA: {
808
+ type: 'string',
809
+ },
810
+ ZM: {
811
+ type: 'string',
812
+ },
813
+ ZW: {
814
+ type: 'string',
815
+ },
816
+ },
817
+ },
818
+ image: {
819
+ type: 'string',
820
+ description: 'The image of the short link generated via `api.codeqr.io/metatags`. Will be used for custom link preview if `proxy` is true.',
821
+ },
822
+ ios: {
823
+ type: 'string',
824
+ description: 'The iOS destination URL for the short link for iOS device targeting.',
825
+ },
826
+ isFormMandatory: {
827
+ type: 'boolean',
828
+ description: 'If the form is mandatory for the page.',
829
+ },
830
+ key: {
831
+ type: 'string',
832
+ description: 'The slug of the short link. If not provided, a random 7-character slug will be generated.',
833
+ },
834
+ pageId: {
835
+ type: 'string',
836
+ description: 'The ID of the page to redirect to before the link destination.',
837
+ },
838
+ pageUrl: {
839
+ type: 'string',
840
+ description: 'The URL of the page to redirect to before the link destination.',
841
+ },
842
+ password: {
843
+ type: 'string',
844
+ description: 'The password required to access the short link destination URL.',
845
+ },
846
+ prefix: {
847
+ type: 'string',
848
+ description: 'The prefix of the short link slug for randomly generated keys (for example, if the prefix is `/c/`, the generated keys will be in the format `/c/:key`). Will be ignored if `key` is provided.',
849
+ },
850
+ preRedirection: {
851
+ type: 'boolean',
852
+ description: 'Whether the short link has pre-redirection.',
853
+ },
854
+ proxy: {
855
+ type: 'boolean',
856
+ description: 'Whether the short link uses the custom link preview feature.',
857
+ },
858
+ publicStats: {
859
+ type: 'boolean',
860
+ description: 'Whether the short link statistics are publicly accessible.',
861
+ },
862
+ rewrite: {
863
+ type: 'boolean',
864
+ description: 'Whether the short link uses link cloaking.',
865
+ },
866
+ tagId: {
867
+ type: 'string',
868
+ description: 'The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead.',
869
+ },
870
+ tagIds: {
871
+ anyOf: [
872
+ {
873
+ type: 'string',
874
+ },
875
+ {
876
+ type: 'array',
877
+ items: {
878
+ type: 'string',
879
+ },
880
+ },
881
+ ],
882
+ description: 'The unique IDs of the tags assigned to the short link.',
883
+ },
884
+ tagNames: {
885
+ anyOf: [
886
+ {
887
+ type: 'string',
888
+ },
889
+ {
890
+ type: 'array',
891
+ items: {
892
+ type: 'string',
893
+ },
894
+ },
895
+ ],
896
+ description: 'The unique name of the tags assigned to the short link (case insensitive).',
897
+ },
898
+ title: {
899
+ type: 'string',
900
+ description: 'The title of the short link generated via `api.codeqr.io/metatags`. Will be used for custom link preview if `proxy` is true.',
901
+ },
902
+ trackConversion: {
903
+ type: 'boolean',
904
+ description: 'Whether to track conversions for the short link.',
905
+ },
906
+ video: {
907
+ type: 'string',
908
+ description: 'The video of the short link.',
909
+ },
910
+ webhookIds: {
911
+ type: 'array',
912
+ description: 'An array of webhook IDs to trigger when the link is clicked. These webhooks will receive click event data.',
913
+ items: {
914
+ type: 'string',
915
+ },
916
+ },
917
+ },
918
+ required: ['url'],
919
+ },
920
+ annotations: {},
921
+ };
922
+ export const handler = async (client, args) => {
923
+ const body = args;
924
+ return asTextContentResult(await client.links.upsert(body));
925
+ };
926
+ export default { metadata, tool, handler };
927
+ //# sourceMappingURL=upsert-links.mjs.map