@codeqr/ts-mcp 0.9.0 → 0.24.0

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