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