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