@codeqr/ts-mcp 0.9.0 → 0.19.3

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