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