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