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