@codeqr/ts-mcp 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +267 -0
- package/code-tool-paths.cjs +6 -0
- package/code-tool-paths.cjs.map +1 -0
- package/code-tool-paths.d.cts +2 -0
- package/code-tool-paths.d.cts.map +1 -0
- package/code-tool-types.d.mts +14 -0
- package/code-tool-types.d.mts.map +1 -0
- package/code-tool-types.d.ts +14 -0
- package/code-tool-types.d.ts.map +1 -0
- package/code-tool-types.js +4 -0
- package/code-tool-types.js.map +1 -0
- package/code-tool-types.mjs +3 -0
- package/code-tool-types.mjs.map +1 -0
- package/code-tool-worker.d.mts +5 -0
- package/code-tool-worker.d.mts.map +1 -0
- package/code-tool-worker.d.ts +5 -0
- package/code-tool-worker.d.ts.map +1 -0
- package/code-tool-worker.js +45 -0
- package/code-tool-worker.js.map +1 -0
- package/code-tool-worker.mjs +40 -0
- package/code-tool-worker.mjs.map +1 -0
- package/code-tool.d.mts +12 -0
- package/code-tool.d.mts.map +1 -0
- package/code-tool.d.ts +12 -0
- package/code-tool.d.ts.map +1 -0
- package/code-tool.js +157 -0
- package/code-tool.js.map +1 -0
- package/code-tool.mjs +121 -0
- package/code-tool.mjs.map +1 -0
- package/compat.d.mts +58 -0
- package/compat.d.mts.map +1 -0
- package/compat.d.ts +58 -0
- package/compat.d.ts.map +1 -0
- package/compat.js +387 -0
- package/compat.js.map +1 -0
- package/compat.mjs +378 -0
- package/compat.mjs.map +1 -0
- package/dynamic-tools.d.mts +12 -0
- package/dynamic-tools.d.mts.map +1 -0
- package/dynamic-tools.d.ts +12 -0
- package/dynamic-tools.d.ts.map +1 -0
- package/dynamic-tools.js +135 -0
- package/dynamic-tools.js.map +1 -0
- package/dynamic-tools.mjs +132 -0
- package/dynamic-tools.mjs.map +1 -0
- package/filtering.d.mts +2 -0
- package/filtering.d.mts.map +1 -0
- package/filtering.d.ts +2 -0
- package/filtering.d.ts.map +1 -0
- package/filtering.js +20 -0
- package/filtering.js.map +1 -0
- package/filtering.mjs +13 -0
- package/filtering.mjs.map +1 -0
- package/headers.d.mts +4 -0
- package/headers.d.mts.map +1 -0
- package/headers.d.ts +4 -0
- package/headers.d.ts.map +1 -0
- package/headers.js +22 -0
- package/headers.js.map +1 -0
- package/headers.mjs +18 -0
- package/headers.mjs.map +1 -0
- package/http.d.mts +9 -0
- package/http.d.mts.map +1 -0
- package/http.d.ts +9 -0
- package/http.d.ts.map +1 -0
- package/http.js +108 -0
- package/http.js.map +1 -0
- package/http.mjs +100 -0
- package/http.mjs.map +1 -0
- package/index.d.mts +3 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -0
- package/index.js +91 -0
- package/index.js.map +1 -0
- package/index.mjs +89 -0
- package/index.mjs.map +1 -0
- package/options.d.mts +19 -0
- package/options.d.mts.map +1 -0
- package/options.d.ts +19 -0
- package/options.d.ts.map +1 -0
- package/options.js +417 -0
- package/options.js.map +1 -0
- package/options.mjs +410 -0
- package/options.mjs.map +1 -0
- package/package.json +206 -0
- package/server.d.mts +35 -0
- package/server.d.mts.map +1 -0
- package/server.d.ts +35 -0
- package/server.d.ts.map +1 -0
- package/server.js +170 -0
- package/server.js.map +1 -0
- package/server.mjs +156 -0
- package/server.mjs.map +1 -0
- package/src/code-tool-paths.cts +3 -0
- package/src/code-tool-types.ts +14 -0
- package/src/code-tool-worker.ts +46 -0
- package/src/code-tool.ts +146 -0
- package/src/compat.ts +483 -0
- package/src/dynamic-tools.ts +153 -0
- package/src/filtering.ts +14 -0
- package/src/headers.ts +23 -0
- package/src/http.ts +127 -0
- package/src/index.ts +108 -0
- package/src/options.ts +456 -0
- package/src/server.ts +204 -0
- package/src/stdio.ts +13 -0
- package/src/tools/analytics/retrieve-analytics.ts +434 -0
- package/src/tools/domains/create-domains.ts +59 -0
- package/src/tools/domains/delete-domains.ts +48 -0
- package/src/tools/domains/list-domains.ts +61 -0
- package/src/tools/domains/update-domains.ts +63 -0
- package/src/tools/events/list-events.ts +414 -0
- package/src/tools/index.ts +133 -0
- package/src/tools/links/bulk/create-links-bulk.ts +955 -0
- package/src/tools/links/bulk/delete-links-bulk.ts +52 -0
- package/src/tools/links/count-links.ts +946 -0
- package/src/tools/links/create-links.ts +946 -0
- package/src/tools/links/delete-links.ts +49 -0
- package/src/tools/links/list-links.ts +969 -0
- package/src/tools/links/retrieve-info-links.ts +68 -0
- package/src/tools/links/update-links.ts +953 -0
- package/src/tools/links/upsert-links.ts +947 -0
- package/src/tools/projects/list-projects.ts +44 -0
- package/src/tools/projects/retrieve-projects.ts +49 -0
- package/src/tools/qrcodes/bulk/create-qrcodes-bulk.ts +1066 -0
- package/src/tools/qrcodes/bulk/delete-qrcodes-bulk.ts +52 -0
- package/src/tools/qrcodes/count-qrcodes.ts +209 -0
- package/src/tools/qrcodes/create-qrcodes.ts +1056 -0
- package/src/tools/qrcodes/delete-qrcodes.ts +49 -0
- package/src/tools/qrcodes/list-qrcodes.ts +210 -0
- package/src/tools/qrcodes/retrieve-qrcodes.ts +60 -0
- package/src/tools/qrcodes/update-qrcodes.ts +1063 -0
- package/src/tools/qrcodes/upsert-qrcodes.ts +1057 -0
- package/src/tools/tags/create-tags.ts +52 -0
- package/src/tools/tags/delete-tags.ts +48 -0
- package/src/tools/tags/list-tags.ts +80 -0
- package/src/tools/tags/update-tags.ts +56 -0
- package/src/tools/track/track-lead-track.ts +72 -0
- package/src/tools/track/track-sale-track.ts +74 -0
- package/src/tools/types.ts +103 -0
- package/src/tools.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/stdio.d.mts +3 -0
- package/stdio.d.mts.map +1 -0
- package/stdio.d.ts +3 -0
- package/stdio.d.ts.map +1 -0
- package/stdio.js +14 -0
- package/stdio.js.map +1 -0
- package/stdio.mjs +10 -0
- package/stdio.mjs.map +1 -0
- package/tools/analytics/retrieve-analytics.d.mts +45 -0
- package/tools/analytics/retrieve-analytics.d.mts.map +1 -0
- package/tools/analytics/retrieve-analytics.d.ts +45 -0
- package/tools/analytics/retrieve-analytics.d.ts.map +1 -0
- package/tools/analytics/retrieve-analytics.js +426 -0
- package/tools/analytics/retrieve-analytics.js.map +1 -0
- package/tools/analytics/retrieve-analytics.mjs +422 -0
- package/tools/analytics/retrieve-analytics.mjs.map +1 -0
- package/tools/domains/create-domains.d.mts +45 -0
- package/tools/domains/create-domains.d.mts.map +1 -0
- package/tools/domains/create-domains.d.ts +45 -0
- package/tools/domains/create-domains.d.ts.map +1 -0
- package/tools/domains/create-domains.js +53 -0
- package/tools/domains/create-domains.js.map +1 -0
- package/tools/domains/create-domains.mjs +49 -0
- package/tools/domains/create-domains.mjs.map +1 -0
- package/tools/domains/delete-domains.d.mts +45 -0
- package/tools/domains/delete-domains.d.mts.map +1 -0
- package/tools/domains/delete-domains.d.ts +45 -0
- package/tools/domains/delete-domains.d.ts.map +1 -0
- package/tools/domains/delete-domains.js +43 -0
- package/tools/domains/delete-domains.js.map +1 -0
- package/tools/domains/delete-domains.mjs +39 -0
- package/tools/domains/delete-domains.mjs.map +1 -0
- package/tools/domains/list-domains.d.mts +45 -0
- package/tools/domains/list-domains.d.mts.map +1 -0
- package/tools/domains/list-domains.d.ts +45 -0
- package/tools/domains/list-domains.d.ts.map +1 -0
- package/tools/domains/list-domains.js +55 -0
- package/tools/domains/list-domains.js.map +1 -0
- package/tools/domains/list-domains.mjs +51 -0
- package/tools/domains/list-domains.mjs.map +1 -0
- package/tools/domains/update-domains.d.mts +45 -0
- package/tools/domains/update-domains.d.mts.map +1 -0
- package/tools/domains/update-domains.d.ts +45 -0
- package/tools/domains/update-domains.d.ts.map +1 -0
- package/tools/domains/update-domains.js +57 -0
- package/tools/domains/update-domains.js.map +1 -0
- package/tools/domains/update-domains.mjs +53 -0
- package/tools/domains/update-domains.mjs.map +1 -0
- package/tools/events/list-events.d.mts +45 -0
- package/tools/events/list-events.d.mts.map +1 -0
- package/tools/events/list-events.d.ts +45 -0
- package/tools/events/list-events.d.ts.map +1 -0
- package/tools/events/list-events.js +406 -0
- package/tools/events/list-events.js.map +1 -0
- package/tools/events/list-events.mjs +402 -0
- package/tools/events/list-events.mjs.map +1 -0
- package/tools/index.d.mts +10 -0
- package/tools/index.d.mts.map +1 -0
- package/tools/index.d.ts +10 -0
- package/tools/index.d.ts.map +1 -0
- package/tools/index.js +117 -0
- package/tools/index.js.map +1 -0
- package/tools/index.mjs +110 -0
- package/tools/index.mjs.map +1 -0
- package/tools/links/bulk/create-links-bulk.d.mts +45 -0
- package/tools/links/bulk/create-links-bulk.d.mts.map +1 -0
- package/tools/links/bulk/create-links-bulk.d.ts +45 -0
- package/tools/links/bulk/create-links-bulk.d.ts.map +1 -0
- package/tools/links/bulk/create-links-bulk.js +940 -0
- package/tools/links/bulk/create-links-bulk.js.map +1 -0
- package/tools/links/bulk/create-links-bulk.mjs +936 -0
- package/tools/links/bulk/create-links-bulk.mjs.map +1 -0
- package/tools/links/bulk/delete-links-bulk.d.mts +45 -0
- package/tools/links/bulk/delete-links-bulk.d.mts.map +1 -0
- package/tools/links/bulk/delete-links-bulk.d.ts +45 -0
- package/tools/links/bulk/delete-links-bulk.d.ts.map +1 -0
- package/tools/links/bulk/delete-links-bulk.js +46 -0
- package/tools/links/bulk/delete-links-bulk.js.map +1 -0
- package/tools/links/bulk/delete-links-bulk.mjs +42 -0
- package/tools/links/bulk/delete-links-bulk.mjs.map +1 -0
- package/tools/links/count-links.d.mts +45 -0
- package/tools/links/count-links.d.mts.map +1 -0
- package/tools/links/count-links.d.ts +45 -0
- package/tools/links/count-links.d.ts.map +1 -0
- package/tools/links/count-links.js +935 -0
- package/tools/links/count-links.js.map +1 -0
- package/tools/links/count-links.mjs +931 -0
- package/tools/links/count-links.mjs.map +1 -0
- package/tools/links/create-links.d.mts +45 -0
- package/tools/links/create-links.d.mts.map +1 -0
- package/tools/links/create-links.d.ts +45 -0
- package/tools/links/create-links.d.ts.map +1 -0
- package/tools/links/create-links.js +931 -0
- package/tools/links/create-links.js.map +1 -0
- package/tools/links/create-links.mjs +927 -0
- package/tools/links/create-links.mjs.map +1 -0
- package/tools/links/delete-links.d.mts +45 -0
- package/tools/links/delete-links.d.mts.map +1 -0
- package/tools/links/delete-links.d.ts +45 -0
- package/tools/links/delete-links.d.ts.map +1 -0
- package/tools/links/delete-links.js +43 -0
- package/tools/links/delete-links.js.map +1 -0
- package/tools/links/delete-links.mjs +39 -0
- package/tools/links/delete-links.mjs.map +1 -0
- package/tools/links/list-links.d.mts +45 -0
- package/tools/links/list-links.d.mts.map +1 -0
- package/tools/links/list-links.d.ts +45 -0
- package/tools/links/list-links.d.ts.map +1 -0
- package/tools/links/list-links.js +957 -0
- package/tools/links/list-links.js.map +1 -0
- package/tools/links/list-links.mjs +953 -0
- package/tools/links/list-links.mjs.map +1 -0
- package/tools/links/retrieve-info-links.d.mts +45 -0
- package/tools/links/retrieve-info-links.d.mts.map +1 -0
- package/tools/links/retrieve-info-links.d.ts +45 -0
- package/tools/links/retrieve-info-links.d.ts.map +1 -0
- package/tools/links/retrieve-info-links.js +59 -0
- package/tools/links/retrieve-info-links.js.map +1 -0
- package/tools/links/retrieve-info-links.mjs +55 -0
- package/tools/links/retrieve-info-links.mjs.map +1 -0
- package/tools/links/update-links.d.mts +45 -0
- package/tools/links/update-links.d.mts.map +1 -0
- package/tools/links/update-links.d.ts +45 -0
- package/tools/links/update-links.d.ts.map +1 -0
- package/tools/links/update-links.js +937 -0
- package/tools/links/update-links.js.map +1 -0
- package/tools/links/update-links.mjs +933 -0
- package/tools/links/update-links.mjs.map +1 -0
- package/tools/links/upsert-links.d.mts +45 -0
- package/tools/links/upsert-links.d.mts.map +1 -0
- package/tools/links/upsert-links.d.ts +45 -0
- package/tools/links/upsert-links.d.ts.map +1 -0
- package/tools/links/upsert-links.js +931 -0
- package/tools/links/upsert-links.js.map +1 -0
- package/tools/links/upsert-links.mjs +927 -0
- package/tools/links/upsert-links.mjs.map +1 -0
- package/tools/projects/list-projects.d.mts +45 -0
- package/tools/projects/list-projects.d.mts.map +1 -0
- package/tools/projects/list-projects.d.ts +45 -0
- package/tools/projects/list-projects.d.ts.map +1 -0
- package/tools/projects/list-projects.js +39 -0
- package/tools/projects/list-projects.js.map +1 -0
- package/tools/projects/list-projects.mjs +35 -0
- package/tools/projects/list-projects.mjs.map +1 -0
- package/tools/projects/retrieve-projects.d.mts +45 -0
- package/tools/projects/retrieve-projects.d.mts.map +1 -0
- package/tools/projects/retrieve-projects.d.ts +45 -0
- package/tools/projects/retrieve-projects.d.ts.map +1 -0
- package/tools/projects/retrieve-projects.js +43 -0
- package/tools/projects/retrieve-projects.js.map +1 -0
- package/tools/projects/retrieve-projects.mjs +39 -0
- package/tools/projects/retrieve-projects.mjs.map +1 -0
- package/tools/qrcodes/bulk/create-qrcodes-bulk.d.mts +45 -0
- package/tools/qrcodes/bulk/create-qrcodes-bulk.d.mts.map +1 -0
- package/tools/qrcodes/bulk/create-qrcodes-bulk.d.ts +45 -0
- package/tools/qrcodes/bulk/create-qrcodes-bulk.d.ts.map +1 -0
- package/tools/qrcodes/bulk/create-qrcodes-bulk.js +1052 -0
- package/tools/qrcodes/bulk/create-qrcodes-bulk.js.map +1 -0
- package/tools/qrcodes/bulk/create-qrcodes-bulk.mjs +1048 -0
- package/tools/qrcodes/bulk/create-qrcodes-bulk.mjs.map +1 -0
- package/tools/qrcodes/bulk/delete-qrcodes-bulk.d.mts +45 -0
- package/tools/qrcodes/bulk/delete-qrcodes-bulk.d.mts.map +1 -0
- package/tools/qrcodes/bulk/delete-qrcodes-bulk.d.ts +45 -0
- package/tools/qrcodes/bulk/delete-qrcodes-bulk.d.ts.map +1 -0
- package/tools/qrcodes/bulk/delete-qrcodes-bulk.js +46 -0
- package/tools/qrcodes/bulk/delete-qrcodes-bulk.js.map +1 -0
- package/tools/qrcodes/bulk/delete-qrcodes-bulk.mjs +42 -0
- package/tools/qrcodes/bulk/delete-qrcodes-bulk.mjs.map +1 -0
- package/tools/qrcodes/count-qrcodes.d.mts +45 -0
- package/tools/qrcodes/count-qrcodes.d.mts.map +1 -0
- package/tools/qrcodes/count-qrcodes.d.ts +45 -0
- package/tools/qrcodes/count-qrcodes.d.ts.map +1 -0
- package/tools/qrcodes/count-qrcodes.js +199 -0
- package/tools/qrcodes/count-qrcodes.js.map +1 -0
- package/tools/qrcodes/count-qrcodes.mjs +195 -0
- package/tools/qrcodes/count-qrcodes.mjs.map +1 -0
- package/tools/qrcodes/create-qrcodes.d.mts +45 -0
- package/tools/qrcodes/create-qrcodes.d.mts.map +1 -0
- package/tools/qrcodes/create-qrcodes.d.ts +45 -0
- package/tools/qrcodes/create-qrcodes.d.ts.map +1 -0
- package/tools/qrcodes/create-qrcodes.js +1043 -0
- package/tools/qrcodes/create-qrcodes.js.map +1 -0
- package/tools/qrcodes/create-qrcodes.mjs +1039 -0
- package/tools/qrcodes/create-qrcodes.mjs.map +1 -0
- package/tools/qrcodes/delete-qrcodes.d.mts +45 -0
- package/tools/qrcodes/delete-qrcodes.d.mts.map +1 -0
- package/tools/qrcodes/delete-qrcodes.d.ts +45 -0
- package/tools/qrcodes/delete-qrcodes.d.ts.map +1 -0
- package/tools/qrcodes/delete-qrcodes.js +43 -0
- package/tools/qrcodes/delete-qrcodes.js.map +1 -0
- package/tools/qrcodes/delete-qrcodes.mjs +39 -0
- package/tools/qrcodes/delete-qrcodes.mjs.map +1 -0
- package/tools/qrcodes/list-qrcodes.d.mts +45 -0
- package/tools/qrcodes/list-qrcodes.d.mts.map +1 -0
- package/tools/qrcodes/list-qrcodes.d.ts +45 -0
- package/tools/qrcodes/list-qrcodes.d.ts.map +1 -0
- package/tools/qrcodes/list-qrcodes.js +201 -0
- package/tools/qrcodes/list-qrcodes.js.map +1 -0
- package/tools/qrcodes/list-qrcodes.mjs +197 -0
- package/tools/qrcodes/list-qrcodes.mjs.map +1 -0
- package/tools/qrcodes/retrieve-qrcodes.d.mts +45 -0
- package/tools/qrcodes/retrieve-qrcodes.d.mts.map +1 -0
- package/tools/qrcodes/retrieve-qrcodes.d.ts +45 -0
- package/tools/qrcodes/retrieve-qrcodes.d.ts.map +1 -0
- package/tools/qrcodes/retrieve-qrcodes.js +53 -0
- package/tools/qrcodes/retrieve-qrcodes.js.map +1 -0
- package/tools/qrcodes/retrieve-qrcodes.mjs +49 -0
- package/tools/qrcodes/retrieve-qrcodes.mjs.map +1 -0
- package/tools/qrcodes/update-qrcodes.d.mts +45 -0
- package/tools/qrcodes/update-qrcodes.d.mts.map +1 -0
- package/tools/qrcodes/update-qrcodes.d.ts +45 -0
- package/tools/qrcodes/update-qrcodes.d.ts.map +1 -0
- package/tools/qrcodes/update-qrcodes.js +1049 -0
- package/tools/qrcodes/update-qrcodes.js.map +1 -0
- package/tools/qrcodes/update-qrcodes.mjs +1045 -0
- package/tools/qrcodes/update-qrcodes.mjs.map +1 -0
- package/tools/qrcodes/upsert-qrcodes.d.mts +45 -0
- package/tools/qrcodes/upsert-qrcodes.d.mts.map +1 -0
- package/tools/qrcodes/upsert-qrcodes.d.ts +45 -0
- package/tools/qrcodes/upsert-qrcodes.d.ts.map +1 -0
- package/tools/qrcodes/upsert-qrcodes.js +1043 -0
- package/tools/qrcodes/upsert-qrcodes.js.map +1 -0
- package/tools/qrcodes/upsert-qrcodes.mjs +1039 -0
- package/tools/qrcodes/upsert-qrcodes.mjs.map +1 -0
- package/tools/tags/create-tags.d.mts +45 -0
- package/tools/tags/create-tags.d.mts.map +1 -0
- package/tools/tags/create-tags.d.ts +45 -0
- package/tools/tags/create-tags.d.ts.map +1 -0
- package/tools/tags/create-tags.js +46 -0
- package/tools/tags/create-tags.js.map +1 -0
- package/tools/tags/create-tags.mjs +42 -0
- package/tools/tags/create-tags.mjs.map +1 -0
- package/tools/tags/delete-tags.d.mts +45 -0
- package/tools/tags/delete-tags.d.mts.map +1 -0
- package/tools/tags/delete-tags.d.ts +45 -0
- package/tools/tags/delete-tags.d.ts.map +1 -0
- package/tools/tags/delete-tags.js +43 -0
- package/tools/tags/delete-tags.js.map +1 -0
- package/tools/tags/delete-tags.mjs +39 -0
- package/tools/tags/delete-tags.mjs.map +1 -0
- package/tools/tags/list-tags.d.mts +45 -0
- package/tools/tags/list-tags.d.mts.map +1 -0
- package/tools/tags/list-tags.d.ts +45 -0
- package/tools/tags/list-tags.d.ts.map +1 -0
- package/tools/tags/list-tags.js +75 -0
- package/tools/tags/list-tags.js.map +1 -0
- package/tools/tags/list-tags.mjs +71 -0
- package/tools/tags/list-tags.mjs.map +1 -0
- package/tools/tags/update-tags.d.mts +45 -0
- package/tools/tags/update-tags.d.mts.map +1 -0
- package/tools/tags/update-tags.d.ts +45 -0
- package/tools/tags/update-tags.d.ts.map +1 -0
- package/tools/tags/update-tags.js +51 -0
- package/tools/tags/update-tags.js.map +1 -0
- package/tools/tags/update-tags.mjs +47 -0
- package/tools/tags/update-tags.mjs.map +1 -0
- package/tools/track/track-lead-track.d.mts +45 -0
- package/tools/track/track-lead-track.d.mts.map +1 -0
- package/tools/track/track-lead-track.d.ts +45 -0
- package/tools/track/track-lead-track.d.ts.map +1 -0
- package/tools/track/track-lead-track.js +66 -0
- package/tools/track/track-lead-track.js.map +1 -0
- package/tools/track/track-lead-track.mjs +62 -0
- package/tools/track/track-lead-track.mjs.map +1 -0
- package/tools/track/track-sale-track.d.mts +45 -0
- package/tools/track/track-sale-track.d.mts.map +1 -0
- package/tools/track/track-sale-track.d.ts +45 -0
- package/tools/track/track-sale-track.d.ts.map +1 -0
- package/tools/track/track-sale-track.js +67 -0
- package/tools/track/track-sale-track.js.map +1 -0
- package/tools/track/track-sale-track.mjs +63 -0
- package/tools/track/track-sale-track.mjs.map +1 -0
- package/tools/types.d.mts +51 -0
- package/tools/types.d.mts.map +1 -0
- package/tools/types.d.ts +51 -0
- package/tools/types.d.ts.map +1 -0
- package/tools/types.js +46 -0
- package/tools/types.js.map +1 -0
- package/tools/types.mjs +42 -0
- package/tools/types.mjs.map +1 -0
- package/tools.d.mts +2 -0
- package/tools.d.mts.map +1 -0
- package/tools.d.ts +2 -0
- package/tools.d.ts.map +1 -0
- package/tools.js +18 -0
- package/tools.js.map +1 -0
- package/tools.mjs +2 -0
- package/tools.mjs.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upsert-links.mjs","sourceRoot":"","sources":["../../src/tools/links/upsert-links.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAY,mBAAmB,EAAE,MAAM,4BAA4B;AAK1E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,OAAO;IACjB,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,OAAO;IACnB,QAAQ,EAAE,eAAe;IACzB,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,cAAc;IACpB,WAAW,EACT,iMAAiM;IACnM,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,GAAG,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wCAAwC;aACtD;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,8EAA8E;aAC5F;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,qCAAqC;aACnD;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kCAAkC;aAChD;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,oIAAoI;aACvI;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,SAAS;gBACf,WAAW,EACT,4HAA4H;aAC/H;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,8IAA8I;aACjJ;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qDAAqD;aACnE;YACD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
|
|
1
|
+
import { Metadata } from '@codeqr/ts-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import Codeqr from '@codeqr/ts';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (client: Codeqr, args: Record<string, unknown> | undefined) => Promise<import("@codeqr/ts-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (client: Codeqr, args: Record<string, unknown> | undefined) => Promise<import("@codeqr/ts-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=list-projects.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-projects.d.mts","sourceRoot":"","sources":["../../src/tools/projects/list-projects.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,MAAM,MAAM,YAAY;AAE/B,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,MAAM,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGtF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKvF,wBAA2C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from '@codeqr/ts-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import Codeqr from '@codeqr/ts';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (client: Codeqr, args: Record<string, unknown> | undefined) => Promise<import("@codeqr/ts-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (client: Codeqr, args: Record<string, unknown> | undefined) => Promise<import("@codeqr/ts-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=list-projects.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-projects.d.ts","sourceRoot":"","sources":["../../src/tools/projects/list-projects.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,MAAM,MAAM,YAAY;AAE/B,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,MAAM,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGtF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKvF,wBAA2C"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.handler = exports.tool = exports.metadata = void 0;
|
|
5
|
+
const filtering_1 = require("@codeqr/ts-mcp/filtering");
|
|
6
|
+
const types_1 = require("@codeqr/ts-mcp/tools/types");
|
|
7
|
+
exports.metadata = {
|
|
8
|
+
resource: 'projects',
|
|
9
|
+
operation: 'read',
|
|
10
|
+
tags: [],
|
|
11
|
+
httpMethod: 'get',
|
|
12
|
+
httpPath: '/projects',
|
|
13
|
+
operationId: 'getProjects',
|
|
14
|
+
};
|
|
15
|
+
exports.tool = {
|
|
16
|
+
name: 'list_projects',
|
|
17
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nRetrieve a list of projects for the authenticated user.\n\n# Response Schema\n```json\n{\n type: 'array',\n items: {\n $ref: '#/$defs/project'\n },\n $defs: {\n project: {\n type: 'object',\n title: 'Project',\n properties: {\n id: {\n type: 'string',\n description: 'The unique ID of the project.'\n },\n billingCycleStart: {\n type: 'number',\n description: 'The date and time when the billing cycle starts for the project.'\n },\n createdAt: {\n type: 'string',\n description: 'The date and time when the project was created.'\n },\n domains: {\n type: 'array',\n description: 'The domains of the project.',\n items: {\n type: 'object',\n properties: {\n slug: {\n type: 'string',\n description: 'The domain of the project.'\n }\n },\n required: [ 'slug'\n ]\n }\n },\n domainsLimit: {\n type: 'number',\n description: 'The domains limit of the project.'\n },\n linksLimit: {\n type: 'number',\n description: 'The links limit of the project.'\n },\n linksUsage: {\n type: 'number',\n description: 'The links usage of the project.'\n },\n logo: {\n type: 'string',\n description: 'The logo of the project.'\n },\n metadata: {\n type: 'object',\n properties: {\n defaultDomains: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'defaultDomains'\n ]\n },\n name: {\n type: 'string',\n description: 'The name of the project.'\n },\n plan: {\n type: 'string',\n description: 'The plan of the project.',\n enum: [ 'free',\n 'starter',\n 'pro',\n 'business',\n 'business plus',\n 'business extra',\n 'business max',\n 'enterprise'\n ]\n },\n slug: {\n type: 'string',\n description: 'The slug of the project.'\n },\n stripeConnectId: {\n type: 'string',\n description: '[BETA]: The Stripe Connect ID of the project.'\n },\n stripeId: {\n type: 'string',\n description: 'The Stripe ID of the project.'\n },\n tagsLimit: {\n type: 'number',\n description: 'The tags limit of the project.'\n },\n usage: {\n type: 'number',\n description: 'The usage of the project.'\n },\n usageLimit: {\n type: 'number',\n description: 'The usage limit of the project.'\n },\n users: {\n type: 'array',\n description: 'The role of the authenticated user in the project.',\n items: {\n type: 'object',\n properties: {\n role: {\n type: 'string',\n description: 'The role of the authenticated user in the project.',\n enum: [ 'owner',\n 'member'\n ]\n }\n },\n required: [ 'role'\n ]\n }\n },\n usersLimit: {\n type: 'number',\n description: 'The users limit of the project.'\n }\n },\n required: [ 'id',\n 'billingCycleStart',\n 'createdAt',\n 'domains',\n 'domainsLimit',\n 'linksLimit',\n 'linksUsage',\n 'logo',\n 'metadata',\n 'name',\n 'plan',\n 'slug',\n 'stripeConnectId',\n 'stripeId',\n 'tagsLimit',\n 'usage',\n 'usageLimit',\n 'users',\n 'usersLimit'\n ]\n }\n }\n}\n```",
|
|
18
|
+
inputSchema: {
|
|
19
|
+
type: 'object',
|
|
20
|
+
properties: {
|
|
21
|
+
jq_filter: {
|
|
22
|
+
type: 'string',
|
|
23
|
+
title: 'jq Filter',
|
|
24
|
+
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
required: [],
|
|
28
|
+
},
|
|
29
|
+
annotations: {
|
|
30
|
+
readOnlyHint: true,
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
const handler = async (client, args) => {
|
|
34
|
+
const { jq_filter } = args;
|
|
35
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.projects.list()));
|
|
36
|
+
};
|
|
37
|
+
exports.handler = handler;
|
|
38
|
+
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
39
|
+
//# sourceMappingURL=list-projects.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-projects.js","sourceRoot":"","sources":["../../src/tools/projects/list-projects.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,aAAa;CAC3B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,eAAe;IACrB,WAAW,EACT,ktIAAktI;IACptI,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAc,EAAE,IAAyC,EAAE,EAAE;IACzF,MAAM,EAAE,SAAS,EAAE,GAAG,IAAW,CAAC;IAClC,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AACzF,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { maybeFilter } from '@codeqr/ts-mcp/filtering';
|
|
3
|
+
import { asTextContentResult } from '@codeqr/ts-mcp/tools/types';
|
|
4
|
+
export const metadata = {
|
|
5
|
+
resource: 'projects',
|
|
6
|
+
operation: 'read',
|
|
7
|
+
tags: [],
|
|
8
|
+
httpMethod: 'get',
|
|
9
|
+
httpPath: '/projects',
|
|
10
|
+
operationId: 'getProjects',
|
|
11
|
+
};
|
|
12
|
+
export const tool = {
|
|
13
|
+
name: 'list_projects',
|
|
14
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nRetrieve a list of projects for the authenticated user.\n\n# Response Schema\n```json\n{\n type: 'array',\n items: {\n $ref: '#/$defs/project'\n },\n $defs: {\n project: {\n type: 'object',\n title: 'Project',\n properties: {\n id: {\n type: 'string',\n description: 'The unique ID of the project.'\n },\n billingCycleStart: {\n type: 'number',\n description: 'The date and time when the billing cycle starts for the project.'\n },\n createdAt: {\n type: 'string',\n description: 'The date and time when the project was created.'\n },\n domains: {\n type: 'array',\n description: 'The domains of the project.',\n items: {\n type: 'object',\n properties: {\n slug: {\n type: 'string',\n description: 'The domain of the project.'\n }\n },\n required: [ 'slug'\n ]\n }\n },\n domainsLimit: {\n type: 'number',\n description: 'The domains limit of the project.'\n },\n linksLimit: {\n type: 'number',\n description: 'The links limit of the project.'\n },\n linksUsage: {\n type: 'number',\n description: 'The links usage of the project.'\n },\n logo: {\n type: 'string',\n description: 'The logo of the project.'\n },\n metadata: {\n type: 'object',\n properties: {\n defaultDomains: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'defaultDomains'\n ]\n },\n name: {\n type: 'string',\n description: 'The name of the project.'\n },\n plan: {\n type: 'string',\n description: 'The plan of the project.',\n enum: [ 'free',\n 'starter',\n 'pro',\n 'business',\n 'business plus',\n 'business extra',\n 'business max',\n 'enterprise'\n ]\n },\n slug: {\n type: 'string',\n description: 'The slug of the project.'\n },\n stripeConnectId: {\n type: 'string',\n description: '[BETA]: The Stripe Connect ID of the project.'\n },\n stripeId: {\n type: 'string',\n description: 'The Stripe ID of the project.'\n },\n tagsLimit: {\n type: 'number',\n description: 'The tags limit of the project.'\n },\n usage: {\n type: 'number',\n description: 'The usage of the project.'\n },\n usageLimit: {\n type: 'number',\n description: 'The usage limit of the project.'\n },\n users: {\n type: 'array',\n description: 'The role of the authenticated user in the project.',\n items: {\n type: 'object',\n properties: {\n role: {\n type: 'string',\n description: 'The role of the authenticated user in the project.',\n enum: [ 'owner',\n 'member'\n ]\n }\n },\n required: [ 'role'\n ]\n }\n },\n usersLimit: {\n type: 'number',\n description: 'The users limit of the project.'\n }\n },\n required: [ 'id',\n 'billingCycleStart',\n 'createdAt',\n 'domains',\n 'domainsLimit',\n 'linksLimit',\n 'linksUsage',\n 'logo',\n 'metadata',\n 'name',\n 'plan',\n 'slug',\n 'stripeConnectId',\n 'stripeId',\n 'tagsLimit',\n 'usage',\n 'usageLimit',\n 'users',\n 'usersLimit'\n ]\n }\n }\n}\n```",
|
|
15
|
+
inputSchema: {
|
|
16
|
+
type: 'object',
|
|
17
|
+
properties: {
|
|
18
|
+
jq_filter: {
|
|
19
|
+
type: 'string',
|
|
20
|
+
title: 'jq Filter',
|
|
21
|
+
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
required: [],
|
|
25
|
+
},
|
|
26
|
+
annotations: {
|
|
27
|
+
readOnlyHint: true,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
export const handler = async (client, args) => {
|
|
31
|
+
const { jq_filter } = args;
|
|
32
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.projects.list()));
|
|
33
|
+
};
|
|
34
|
+
export default { metadata, tool, handler };
|
|
35
|
+
//# sourceMappingURL=list-projects.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-projects.mjs","sourceRoot":"","sources":["../../src/tools/projects/list-projects.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC/C,EAAY,mBAAmB,EAAE,MAAM,4BAA4B;AAK1E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,aAAa;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,eAAe;IACrB,WAAW,EACT,ktIAAktI;IACptI,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAc,EAAE,IAAyC,EAAE,EAAE;IACzF,MAAM,EAAE,SAAS,EAAE,GAAG,IAAW,CAAC;IAClC,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AACzF,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from '@codeqr/ts-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import Codeqr from '@codeqr/ts';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (client: Codeqr, args: Record<string, unknown> | undefined) => Promise<import("@codeqr/ts-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (client: Codeqr, args: Record<string, unknown> | undefined) => Promise<import("@codeqr/ts-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=retrieve-projects.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-projects.d.mts","sourceRoot":"","sources":["../../src/tools/projects/retrieve-projects.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,MAAM,MAAM,YAAY;AAE/B,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAwBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,MAAM,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGtF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKvF,wBAA2C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from '@codeqr/ts-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import Codeqr from '@codeqr/ts';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (client: Codeqr, args: Record<string, unknown> | undefined) => Promise<import("@codeqr/ts-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (client: Codeqr, args: Record<string, unknown> | undefined) => Promise<import("@codeqr/ts-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=retrieve-projects.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-projects.d.ts","sourceRoot":"","sources":["../../src/tools/projects/retrieve-projects.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,MAAM,MAAM,YAAY;AAE/B,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAwBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,MAAM,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGtF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKvF,wBAA2C"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.handler = exports.tool = exports.metadata = void 0;
|
|
5
|
+
const filtering_1 = require("@codeqr/ts-mcp/filtering");
|
|
6
|
+
const types_1 = require("@codeqr/ts-mcp/tools/types");
|
|
7
|
+
exports.metadata = {
|
|
8
|
+
resource: 'projects',
|
|
9
|
+
operation: 'read',
|
|
10
|
+
tags: [],
|
|
11
|
+
httpMethod: 'get',
|
|
12
|
+
httpPath: '/projects/{projectSlug}',
|
|
13
|
+
operationId: 'getProject',
|
|
14
|
+
};
|
|
15
|
+
exports.tool = {
|
|
16
|
+
name: 'retrieve_projects',
|
|
17
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nRetrieve a project for the authenticated user.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/project',\n $defs: {\n project: {\n type: 'object',\n title: 'Project',\n properties: {\n id: {\n type: 'string',\n description: 'The unique ID of the project.'\n },\n billingCycleStart: {\n type: 'number',\n description: 'The date and time when the billing cycle starts for the project.'\n },\n createdAt: {\n type: 'string',\n description: 'The date and time when the project was created.'\n },\n domains: {\n type: 'array',\n description: 'The domains of the project.',\n items: {\n type: 'object',\n properties: {\n slug: {\n type: 'string',\n description: 'The domain of the project.'\n }\n },\n required: [ 'slug'\n ]\n }\n },\n domainsLimit: {\n type: 'number',\n description: 'The domains limit of the project.'\n },\n linksLimit: {\n type: 'number',\n description: 'The links limit of the project.'\n },\n linksUsage: {\n type: 'number',\n description: 'The links usage of the project.'\n },\n logo: {\n type: 'string',\n description: 'The logo of the project.'\n },\n metadata: {\n type: 'object',\n properties: {\n defaultDomains: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'defaultDomains'\n ]\n },\n name: {\n type: 'string',\n description: 'The name of the project.'\n },\n plan: {\n type: 'string',\n description: 'The plan of the project.',\n enum: [ 'free',\n 'starter',\n 'pro',\n 'business',\n 'business plus',\n 'business extra',\n 'business max',\n 'enterprise'\n ]\n },\n slug: {\n type: 'string',\n description: 'The slug of the project.'\n },\n stripeConnectId: {\n type: 'string',\n description: '[BETA]: The Stripe Connect ID of the project.'\n },\n stripeId: {\n type: 'string',\n description: 'The Stripe ID of the project.'\n },\n tagsLimit: {\n type: 'number',\n description: 'The tags limit of the project.'\n },\n usage: {\n type: 'number',\n description: 'The usage of the project.'\n },\n usageLimit: {\n type: 'number',\n description: 'The usage limit of the project.'\n },\n users: {\n type: 'array',\n description: 'The role of the authenticated user in the project.',\n items: {\n type: 'object',\n properties: {\n role: {\n type: 'string',\n description: 'The role of the authenticated user in the project.',\n enum: [ 'owner',\n 'member'\n ]\n }\n },\n required: [ 'role'\n ]\n }\n },\n usersLimit: {\n type: 'number',\n description: 'The users limit of the project.'\n }\n },\n required: [ 'id',\n 'billingCycleStart',\n 'createdAt',\n 'domains',\n 'domainsLimit',\n 'linksLimit',\n 'linksUsage',\n 'logo',\n 'metadata',\n 'name',\n 'plan',\n 'slug',\n 'stripeConnectId',\n 'stripeId',\n 'tagsLimit',\n 'usage',\n 'usageLimit',\n 'users',\n 'usersLimit'\n ]\n }\n }\n}\n```",
|
|
18
|
+
inputSchema: {
|
|
19
|
+
type: 'object',
|
|
20
|
+
properties: {
|
|
21
|
+
projectSlug: {
|
|
22
|
+
type: 'string',
|
|
23
|
+
description: 'The slug for the project to retrieve. E.g. for `app.codeqr.io/acme`, the projectSlug is `acme`.',
|
|
24
|
+
},
|
|
25
|
+
jq_filter: {
|
|
26
|
+
type: 'string',
|
|
27
|
+
title: 'jq Filter',
|
|
28
|
+
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
required: ['projectSlug'],
|
|
32
|
+
},
|
|
33
|
+
annotations: {
|
|
34
|
+
readOnlyHint: true,
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
const handler = async (client, args) => {
|
|
38
|
+
const { projectSlug, jq_filter, ...body } = args;
|
|
39
|
+
return (0, types_1.asTextContentResult)(await (0, filtering_1.maybeFilter)(jq_filter, await client.projects.retrieve(projectSlug)));
|
|
40
|
+
};
|
|
41
|
+
exports.handler = handler;
|
|
42
|
+
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
43
|
+
//# sourceMappingURL=retrieve-projects.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-projects.js","sourceRoot":"","sources":["../../src/tools/projects/retrieve-projects.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAuD;AACvD,sDAA2E;AAK9D,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,yBAAyB;IACnC,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,mBAAmB;IACzB,WAAW,EACT,oqIAAoqI;IACtqI,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,iGAAiG;aACpG;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,CAAC;KAC1B;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAc,EAAE,IAAyC,EAAE,EAAE;IACzF,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IACxD,OAAO,IAAA,2BAAmB,EAAC,MAAM,IAAA,uBAAW,EAAC,SAAS,EAAE,MAAM,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;AACxG,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { maybeFilter } from '@codeqr/ts-mcp/filtering';
|
|
3
|
+
import { asTextContentResult } from '@codeqr/ts-mcp/tools/types';
|
|
4
|
+
export const metadata = {
|
|
5
|
+
resource: 'projects',
|
|
6
|
+
operation: 'read',
|
|
7
|
+
tags: [],
|
|
8
|
+
httpMethod: 'get',
|
|
9
|
+
httpPath: '/projects/{projectSlug}',
|
|
10
|
+
operationId: 'getProject',
|
|
11
|
+
};
|
|
12
|
+
export const tool = {
|
|
13
|
+
name: 'retrieve_projects',
|
|
14
|
+
description: "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nRetrieve a project for the authenticated user.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/project',\n $defs: {\n project: {\n type: 'object',\n title: 'Project',\n properties: {\n id: {\n type: 'string',\n description: 'The unique ID of the project.'\n },\n billingCycleStart: {\n type: 'number',\n description: 'The date and time when the billing cycle starts for the project.'\n },\n createdAt: {\n type: 'string',\n description: 'The date and time when the project was created.'\n },\n domains: {\n type: 'array',\n description: 'The domains of the project.',\n items: {\n type: 'object',\n properties: {\n slug: {\n type: 'string',\n description: 'The domain of the project.'\n }\n },\n required: [ 'slug'\n ]\n }\n },\n domainsLimit: {\n type: 'number',\n description: 'The domains limit of the project.'\n },\n linksLimit: {\n type: 'number',\n description: 'The links limit of the project.'\n },\n linksUsage: {\n type: 'number',\n description: 'The links usage of the project.'\n },\n logo: {\n type: 'string',\n description: 'The logo of the project.'\n },\n metadata: {\n type: 'object',\n properties: {\n defaultDomains: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n required: [ 'defaultDomains'\n ]\n },\n name: {\n type: 'string',\n description: 'The name of the project.'\n },\n plan: {\n type: 'string',\n description: 'The plan of the project.',\n enum: [ 'free',\n 'starter',\n 'pro',\n 'business',\n 'business plus',\n 'business extra',\n 'business max',\n 'enterprise'\n ]\n },\n slug: {\n type: 'string',\n description: 'The slug of the project.'\n },\n stripeConnectId: {\n type: 'string',\n description: '[BETA]: The Stripe Connect ID of the project.'\n },\n stripeId: {\n type: 'string',\n description: 'The Stripe ID of the project.'\n },\n tagsLimit: {\n type: 'number',\n description: 'The tags limit of the project.'\n },\n usage: {\n type: 'number',\n description: 'The usage of the project.'\n },\n usageLimit: {\n type: 'number',\n description: 'The usage limit of the project.'\n },\n users: {\n type: 'array',\n description: 'The role of the authenticated user in the project.',\n items: {\n type: 'object',\n properties: {\n role: {\n type: 'string',\n description: 'The role of the authenticated user in the project.',\n enum: [ 'owner',\n 'member'\n ]\n }\n },\n required: [ 'role'\n ]\n }\n },\n usersLimit: {\n type: 'number',\n description: 'The users limit of the project.'\n }\n },\n required: [ 'id',\n 'billingCycleStart',\n 'createdAt',\n 'domains',\n 'domainsLimit',\n 'linksLimit',\n 'linksUsage',\n 'logo',\n 'metadata',\n 'name',\n 'plan',\n 'slug',\n 'stripeConnectId',\n 'stripeId',\n 'tagsLimit',\n 'usage',\n 'usageLimit',\n 'users',\n 'usersLimit'\n ]\n }\n }\n}\n```",
|
|
15
|
+
inputSchema: {
|
|
16
|
+
type: 'object',
|
|
17
|
+
properties: {
|
|
18
|
+
projectSlug: {
|
|
19
|
+
type: 'string',
|
|
20
|
+
description: 'The slug for the project to retrieve. E.g. for `app.codeqr.io/acme`, the projectSlug is `acme`.',
|
|
21
|
+
},
|
|
22
|
+
jq_filter: {
|
|
23
|
+
type: 'string',
|
|
24
|
+
title: 'jq Filter',
|
|
25
|
+
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
required: ['projectSlug'],
|
|
29
|
+
},
|
|
30
|
+
annotations: {
|
|
31
|
+
readOnlyHint: true,
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
export const handler = async (client, args) => {
|
|
35
|
+
const { projectSlug, jq_filter, ...body } = args;
|
|
36
|
+
return asTextContentResult(await maybeFilter(jq_filter, await client.projects.retrieve(projectSlug)));
|
|
37
|
+
};
|
|
38
|
+
export default { metadata, tool, handler };
|
|
39
|
+
//# sourceMappingURL=retrieve-projects.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-projects.mjs","sourceRoot":"","sources":["../../src/tools/projects/retrieve-projects.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,0BAA0B;OAC/C,EAAY,mBAAmB,EAAE,MAAM,4BAA4B;AAK1E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,yBAAyB;IACnC,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,mBAAmB;IACzB,WAAW,EACT,oqIAAoqI;IACtqI,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,iGAAiG;aACpG;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,kWAAkW;aACrW;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,CAAC;KAC1B;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAc,EAAE,IAAyC,EAAE,EAAE;IACzF,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IACxD,OAAO,mBAAmB,CAAC,MAAM,WAAW,CAAC,SAAS,EAAE,MAAM,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;AACxG,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from '@codeqr/ts-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import Codeqr from '@codeqr/ts';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (client: Codeqr, args: Record<string, unknown> | undefined) => Promise<import("@codeqr/ts-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (client: Codeqr, args: Record<string, unknown> | undefined) => Promise<import("@codeqr/ts-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=create-qrcodes-bulk.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-qrcodes-bulk.d.mts","sourceRoot":"","sources":["../../../src/tools/qrcodes/bulk/create-qrcodes-bulk.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,MAAM,MAAM,YAAY;AAE/B,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAkhClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,MAAM,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGtF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKvF,wBAA2C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from '@codeqr/ts-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import Codeqr from '@codeqr/ts';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (client: Codeqr, args: Record<string, unknown> | undefined) => Promise<import("@codeqr/ts-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (client: Codeqr, args: Record<string, unknown> | undefined) => Promise<import("@codeqr/ts-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=create-qrcodes-bulk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-qrcodes-bulk.d.ts","sourceRoot":"","sources":["../../../src/tools/qrcodes/bulk/create-qrcodes-bulk.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,4BAA4B;OAEnE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,MAAM,MAAM,YAAY;AAE/B,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAkhClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,MAAM,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,iEAGtF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKvF,wBAA2C"}
|