@keystrokehq/short_io 0.1.4 → 0.1.6
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/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-tag-to-links-bulk.cjs +1 -0
- package/dist/actions/add-tag-to-links-bulk.cjs.map +1 -1
- package/dist/actions/add-tag-to-links-bulk.d.cts +3 -4
- package/dist/actions/add-tag-to-links-bulk.d.cts.map +1 -1
- package/dist/actions/add-tag-to-links-bulk.d.mts +3 -4
- package/dist/actions/add-tag-to-links-bulk.d.mts.map +1 -1
- package/dist/actions/add-tag-to-links-bulk.mjs +1 -0
- package/dist/actions/add-tag-to-links-bulk.mjs.map +1 -1
- package/dist/actions/archive-link.cjs +1 -0
- package/dist/actions/archive-link.cjs.map +1 -1
- package/dist/actions/archive-link.d.cts +3 -4
- package/dist/actions/archive-link.d.cts.map +1 -1
- package/dist/actions/archive-link.d.mts +3 -4
- package/dist/actions/archive-link.d.mts.map +1 -1
- package/dist/actions/archive-link.mjs +1 -0
- package/dist/actions/archive-link.mjs.map +1 -1
- package/dist/actions/create-folder.cjs +1 -0
- package/dist/actions/create-folder.cjs.map +1 -1
- package/dist/actions/create-folder.d.cts +3 -4
- package/dist/actions/create-folder.d.cts.map +1 -1
- package/dist/actions/create-folder.d.mts +3 -4
- package/dist/actions/create-folder.d.mts.map +1 -1
- package/dist/actions/create-folder.mjs +1 -0
- package/dist/actions/create-folder.mjs.map +1 -1
- package/dist/actions/create-link.cjs +1 -0
- package/dist/actions/create-link.cjs.map +1 -1
- package/dist/actions/create-link.d.cts +3 -7
- package/dist/actions/create-link.d.cts.map +1 -1
- package/dist/actions/create-link.d.mts +3 -7
- package/dist/actions/create-link.d.mts.map +1 -1
- package/dist/actions/create-link.mjs +1 -0
- package/dist/actions/create-link.mjs.map +1 -1
- package/dist/actions/delete-link-permission.cjs +1 -0
- package/dist/actions/delete-link-permission.cjs.map +1 -1
- package/dist/actions/delete-link-permission.d.cts +3 -5
- package/dist/actions/delete-link-permission.d.cts.map +1 -1
- package/dist/actions/delete-link-permission.d.mts +3 -5
- package/dist/actions/delete-link-permission.d.mts.map +1 -1
- package/dist/actions/delete-link-permission.mjs +1 -0
- package/dist/actions/delete-link-permission.mjs.map +1 -1
- package/dist/actions/delete-link.cjs +1 -0
- package/dist/actions/delete-link.cjs.map +1 -1
- package/dist/actions/delete-link.d.cts +3 -3
- package/dist/actions/delete-link.d.cts.map +1 -1
- package/dist/actions/delete-link.d.mts +3 -3
- package/dist/actions/delete-link.d.mts.map +1 -1
- package/dist/actions/delete-link.mjs +1 -0
- package/dist/actions/delete-link.mjs.map +1 -1
- package/dist/actions/delete-links-bulk.cjs +1 -0
- package/dist/actions/delete-links-bulk.cjs.map +1 -1
- package/dist/actions/delete-links-bulk.d.cts +3 -3
- package/dist/actions/delete-links-bulk.d.cts.map +1 -1
- package/dist/actions/delete-links-bulk.d.mts +3 -3
- package/dist/actions/delete-links-bulk.d.mts.map +1 -1
- package/dist/actions/delete-links-bulk.mjs +1 -0
- package/dist/actions/delete-links-bulk.mjs.map +1 -1
- package/dist/actions/duplicate-link.cjs +1 -0
- package/dist/actions/duplicate-link.cjs.map +1 -1
- package/dist/actions/duplicate-link.d.cts +3 -3
- package/dist/actions/duplicate-link.d.cts.map +1 -1
- package/dist/actions/duplicate-link.d.mts +3 -3
- package/dist/actions/duplicate-link.d.mts.map +1 -1
- package/dist/actions/duplicate-link.mjs +1 -0
- package/dist/actions/duplicate-link.mjs.map +1 -1
- package/dist/actions/generate-qr-code.cjs +1 -0
- package/dist/actions/generate-qr-code.cjs.map +1 -1
- package/dist/actions/generate-qr-code.d.cts +3 -4
- package/dist/actions/generate-qr-code.d.cts.map +1 -1
- package/dist/actions/generate-qr-code.d.mts +3 -4
- package/dist/actions/generate-qr-code.d.mts.map +1 -1
- package/dist/actions/generate-qr-code.mjs +1 -0
- package/dist/actions/generate-qr-code.mjs.map +1 -1
- package/dist/actions/get-bundle-templates.cjs +1 -0
- package/dist/actions/get-bundle-templates.cjs.map +1 -1
- package/dist/actions/get-bundle-templates.d.cts +3 -1
- package/dist/actions/get-bundle-templates.d.cts.map +1 -1
- package/dist/actions/get-bundle-templates.d.mts +3 -1
- package/dist/actions/get-bundle-templates.d.mts.map +1 -1
- package/dist/actions/get-bundle-templates.mjs +1 -0
- package/dist/actions/get-bundle-templates.mjs.map +1 -1
- package/dist/actions/get-domain-by-id.cjs +1 -0
- package/dist/actions/get-domain-by-id.cjs.map +1 -1
- package/dist/actions/get-domain-by-id.d.cts +3 -3
- package/dist/actions/get-domain-by-id.d.cts.map +1 -1
- package/dist/actions/get-domain-by-id.d.mts +3 -3
- package/dist/actions/get-domain-by-id.d.mts.map +1 -1
- package/dist/actions/get-domain-by-id.mjs +1 -0
- package/dist/actions/get-domain-by-id.mjs.map +1 -1
- package/dist/actions/get-domain-statistics.cjs +1 -0
- package/dist/actions/get-domain-statistics.cjs.map +1 -1
- package/dist/actions/get-domain-statistics.d.cts +4 -9
- package/dist/actions/get-domain-statistics.d.cts.map +1 -1
- package/dist/actions/get-domain-statistics.d.mts +4 -9
- package/dist/actions/get-domain-statistics.d.mts.map +1 -1
- package/dist/actions/get-domain-statistics.mjs +1 -0
- package/dist/actions/get-domain-statistics.mjs.map +1 -1
- package/dist/actions/get-domains-link-clicks.cjs +1 -0
- package/dist/actions/get-domains-link-clicks.cjs.map +1 -1
- package/dist/actions/get-domains-link-clicks.d.cts +3 -4
- package/dist/actions/get-domains-link-clicks.d.cts.map +1 -1
- package/dist/actions/get-domains-link-clicks.d.mts +3 -4
- package/dist/actions/get-domains-link-clicks.d.mts.map +1 -1
- package/dist/actions/get-domains-link-clicks.mjs +1 -0
- package/dist/actions/get-domains-link-clicks.mjs.map +1 -1
- package/dist/actions/get-domains-paths.cjs +1 -0
- package/dist/actions/get-domains-paths.cjs.map +1 -1
- package/dist/actions/get-domains-paths.d.cts +4 -8
- package/dist/actions/get-domains-paths.d.cts.map +1 -1
- package/dist/actions/get-domains-paths.d.mts +4 -8
- package/dist/actions/get-domains-paths.d.mts.map +1 -1
- package/dist/actions/get-domains-paths.mjs +1 -0
- package/dist/actions/get-domains-paths.mjs.map +1 -1
- package/dist/actions/get-folder.cjs +1 -0
- package/dist/actions/get-folder.cjs.map +1 -1
- package/dist/actions/get-folder.d.cts +3 -4
- package/dist/actions/get-folder.d.cts.map +1 -1
- package/dist/actions/get-folder.d.mts +3 -4
- package/dist/actions/get-folder.d.mts.map +1 -1
- package/dist/actions/get-folder.mjs +1 -0
- package/dist/actions/get-folder.mjs.map +1 -1
- package/dist/actions/get-link-by-original-url.cjs +1 -0
- package/dist/actions/get-link-by-original-url.cjs.map +1 -1
- package/dist/actions/get-link-by-original-url.d.cts +3 -4
- package/dist/actions/get-link-by-original-url.d.cts.map +1 -1
- package/dist/actions/get-link-by-original-url.d.mts +3 -4
- package/dist/actions/get-link-by-original-url.d.mts.map +1 -1
- package/dist/actions/get-link-by-original-url.mjs +1 -0
- package/dist/actions/get-link-by-original-url.mjs.map +1 -1
- package/dist/actions/get-link-countries.cjs +1 -0
- package/dist/actions/get-link-countries.cjs.map +1 -1
- package/dist/actions/get-link-countries.d.cts +3 -3
- package/dist/actions/get-link-countries.d.cts.map +1 -1
- package/dist/actions/get-link-countries.d.mts +3 -3
- package/dist/actions/get-link-countries.d.mts.map +1 -1
- package/dist/actions/get-link-countries.mjs +1 -0
- package/dist/actions/get-link-countries.mjs.map +1 -1
- package/dist/actions/get-link-info-by-link-id.cjs +1 -0
- package/dist/actions/get-link-info-by-link-id.cjs.map +1 -1
- package/dist/actions/get-link-info-by-link-id.d.cts +3 -4
- package/dist/actions/get-link-info-by-link-id.d.cts.map +1 -1
- package/dist/actions/get-link-info-by-link-id.d.mts +3 -4
- package/dist/actions/get-link-info-by-link-id.d.mts.map +1 -1
- package/dist/actions/get-link-info-by-link-id.mjs +1 -0
- package/dist/actions/get-link-info-by-link-id.mjs.map +1 -1
- package/dist/actions/get-link-info-by-path.cjs +1 -0
- package/dist/actions/get-link-info-by-path.cjs.map +1 -1
- package/dist/actions/get-link-info-by-path.d.cts +3 -4
- package/dist/actions/get-link-info-by-path.d.cts.map +1 -1
- package/dist/actions/get-link-info-by-path.d.mts +3 -4
- package/dist/actions/get-link-info-by-path.d.mts.map +1 -1
- package/dist/actions/get-link-info-by-path.mjs +1 -0
- package/dist/actions/get-link-info-by-path.mjs.map +1 -1
- package/dist/actions/get-link-open-graph-properties.cjs +1 -0
- package/dist/actions/get-link-open-graph-properties.cjs.map +1 -1
- package/dist/actions/get-link-open-graph-properties.d.cts +3 -4
- package/dist/actions/get-link-open-graph-properties.d.cts.map +1 -1
- package/dist/actions/get-link-open-graph-properties.d.mts +3 -4
- package/dist/actions/get-link-open-graph-properties.d.mts.map +1 -1
- package/dist/actions/get-link-open-graph-properties.mjs +1 -0
- package/dist/actions/get-link-open-graph-properties.mjs.map +1 -1
- package/dist/actions/get-link-permissions.cjs +1 -0
- package/dist/actions/get-link-permissions.cjs.map +1 -1
- package/dist/actions/get-link-permissions.d.cts +3 -4
- package/dist/actions/get-link-permissions.d.cts.map +1 -1
- package/dist/actions/get-link-permissions.d.mts +3 -4
- package/dist/actions/get-link-permissions.d.mts.map +1 -1
- package/dist/actions/get-link-permissions.mjs +1 -0
- package/dist/actions/get-link-permissions.mjs.map +1 -1
- package/dist/actions/get-link-region-list-country.cjs +1 -0
- package/dist/actions/get-link-region-list-country.cjs.map +1 -1
- package/dist/actions/get-link-region-list-country.d.cts +3 -3
- package/dist/actions/get-link-region-list-country.d.cts.map +1 -1
- package/dist/actions/get-link-region-list-country.d.mts +3 -3
- package/dist/actions/get-link-region-list-country.d.mts.map +1 -1
- package/dist/actions/get-link-region-list-country.mjs +1 -0
- package/dist/actions/get-link-region-list-country.mjs.map +1 -1
- package/dist/actions/get-link-regions.cjs +1 -0
- package/dist/actions/get-link-regions.cjs.map +1 -1
- package/dist/actions/get-link-regions.d.cts +3 -3
- package/dist/actions/get-link-regions.d.cts.map +1 -1
- package/dist/actions/get-link-regions.d.mts +3 -3
- package/dist/actions/get-link-regions.d.mts.map +1 -1
- package/dist/actions/get-link-regions.mjs +1 -0
- package/dist/actions/get-link-regions.mjs.map +1 -1
- package/dist/actions/get-link-statistics.cjs +1 -0
- package/dist/actions/get-link-statistics.cjs.map +1 -1
- package/dist/actions/get-link-statistics.d.cts +4 -10
- package/dist/actions/get-link-statistics.d.cts.map +1 -1
- package/dist/actions/get-link-statistics.d.mts +4 -10
- package/dist/actions/get-link-statistics.d.mts.map +1 -1
- package/dist/actions/get-link-statistics.mjs +1 -0
- package/dist/actions/get-link-statistics.mjs.map +1 -1
- package/dist/actions/get-link-tweetbot.cjs +1 -0
- package/dist/actions/get-link-tweetbot.cjs.map +1 -1
- package/dist/actions/get-link-tweetbot.d.cts +3 -7
- package/dist/actions/get-link-tweetbot.d.cts.map +1 -1
- package/dist/actions/get-link-tweetbot.d.mts +3 -7
- package/dist/actions/get-link-tweetbot.d.mts.map +1 -1
- package/dist/actions/get-link-tweetbot.mjs +1 -0
- package/dist/actions/get-link-tweetbot.mjs.map +1 -1
- package/dist/actions/get-links-by-original-url.cjs +1 -0
- package/dist/actions/get-links-by-original-url.cjs.map +1 -1
- package/dist/actions/get-links-by-original-url.d.cts +3 -4
- package/dist/actions/get-links-by-original-url.d.cts.map +1 -1
- package/dist/actions/get-links-by-original-url.d.mts +3 -4
- package/dist/actions/get-links-by-original-url.d.mts.map +1 -1
- package/dist/actions/get-links-by-original-url.mjs +1 -0
- package/dist/actions/get-links-by-original-url.mjs.map +1 -1
- package/dist/actions/get-links-list.cjs +1 -0
- package/dist/actions/get-links-list.cjs.map +1 -1
- package/dist/actions/get-links-list.d.cts +3 -11
- package/dist/actions/get-links-list.d.cts.map +1 -1
- package/dist/actions/get-links-list.d.mts +3 -11
- package/dist/actions/get-links-list.d.mts.map +1 -1
- package/dist/actions/get-links-list.mjs +1 -0
- package/dist/actions/get-links-list.mjs.map +1 -1
- package/dist/actions/list-domains.cjs +1 -0
- package/dist/actions/list-domains.cjs.map +1 -1
- package/dist/actions/list-domains.d.cts +3 -1
- package/dist/actions/list-domains.d.cts.map +1 -1
- package/dist/actions/list-domains.d.mts +3 -1
- package/dist/actions/list-domains.d.mts.map +1 -1
- package/dist/actions/list-domains.mjs +1 -0
- package/dist/actions/list-domains.mjs.map +1 -1
- package/dist/actions/list-folders.cjs +1 -0
- package/dist/actions/list-folders.cjs.map +1 -1
- package/dist/actions/list-folders.d.cts +3 -3
- package/dist/actions/list-folders.d.cts.map +1 -1
- package/dist/actions/list-folders.d.mts +3 -3
- package/dist/actions/list-folders.d.mts.map +1 -1
- package/dist/actions/list-folders.mjs +1 -0
- package/dist/actions/list-folders.mjs.map +1 -1
- package/dist/actions/post-domain-link-clicks.cjs +1 -0
- package/dist/actions/post-domain-link-clicks.cjs.map +1 -1
- package/dist/actions/post-domain-link-clicks.d.cts +3 -10
- package/dist/actions/post-domain-link-clicks.d.cts.map +1 -1
- package/dist/actions/post-domain-link-clicks.d.mts +3 -10
- package/dist/actions/post-domain-link-clicks.d.mts.map +1 -1
- package/dist/actions/post-domain-link-clicks.mjs +1 -0
- package/dist/actions/post-domain-link-clicks.mjs.map +1 -1
- package/dist/actions/post-domain-stats.cjs +1 -0
- package/dist/actions/post-domain-stats.cjs.map +1 -1
- package/dist/actions/post-domain-stats.d.cts +4 -36
- package/dist/actions/post-domain-stats.d.cts.map +1 -1
- package/dist/actions/post-domain-stats.d.mts +4 -36
- package/dist/actions/post-domain-stats.d.mts.map +1 -1
- package/dist/actions/post-domain-stats.mjs +1 -0
- package/dist/actions/post-domain-stats.mjs.map +1 -1
- package/dist/actions/post-domains-by-interval.cjs +1 -0
- package/dist/actions/post-domains-by-interval.cjs.map +1 -1
- package/dist/actions/post-domains-by-interval.d.cts +4 -8
- package/dist/actions/post-domains-by-interval.d.cts.map +1 -1
- package/dist/actions/post-domains-by-interval.d.mts +4 -8
- package/dist/actions/post-domains-by-interval.d.mts.map +1 -1
- package/dist/actions/post-domains-by-interval.mjs +1 -0
- package/dist/actions/post-domains-by-interval.mjs.map +1 -1
- package/dist/actions/post-domains-last-clicks.cjs +1 -0
- package/dist/actions/post-domains-last-clicks.cjs.map +1 -1
- package/dist/actions/post-domains-last-clicks.d.cts +4 -17
- package/dist/actions/post-domains-last-clicks.d.cts.map +1 -1
- package/dist/actions/post-domains-last-clicks.d.mts +4 -17
- package/dist/actions/post-domains-last-clicks.d.mts.map +1 -1
- package/dist/actions/post-domains-last-clicks.mjs +1 -0
- package/dist/actions/post-domains-last-clicks.mjs.map +1 -1
- package/dist/actions/post-domains-top.cjs +1 -0
- package/dist/actions/post-domains-top.cjs.map +1 -1
- package/dist/actions/post-domains-top.d.cts +3 -5
- package/dist/actions/post-domains-top.d.cts.map +1 -1
- package/dist/actions/post-domains-top.d.mts +3 -5
- package/dist/actions/post-domains-top.d.mts.map +1 -1
- package/dist/actions/post-domains-top.mjs +1 -0
- package/dist/actions/post-domains-top.mjs.map +1 -1
- package/dist/actions/post-links-archive-bulk.cjs +1 -0
- package/dist/actions/post-links-archive-bulk.cjs.map +1 -1
- package/dist/actions/post-links-archive-bulk.d.cts +3 -4
- package/dist/actions/post-links-archive-bulk.d.cts.map +1 -1
- package/dist/actions/post-links-archive-bulk.d.mts +3 -4
- package/dist/actions/post-links-archive-bulk.d.mts.map +1 -1
- package/dist/actions/post-links-archive-bulk.mjs +1 -0
- package/dist/actions/post-links-archive-bulk.mjs.map +1 -1
- package/dist/actions/post-links-bulk.cjs +1 -0
- package/dist/actions/post-links-bulk.cjs.map +1 -1
- package/dist/actions/post-links-bulk.d.cts +3 -10
- package/dist/actions/post-links-bulk.d.cts.map +1 -1
- package/dist/actions/post-links-bulk.d.mts +3 -10
- package/dist/actions/post-links-bulk.d.mts.map +1 -1
- package/dist/actions/post-links-bulk.mjs +1 -0
- package/dist/actions/post-links-bulk.mjs.map +1 -1
- package/dist/actions/post-links-qr-bulk.cjs +1 -0
- package/dist/actions/post-links-qr-bulk.cjs.map +1 -1
- package/dist/actions/post-links-qr-bulk.d.cts +3 -10
- package/dist/actions/post-links-qr-bulk.d.cts.map +1 -1
- package/dist/actions/post-links-qr-bulk.d.mts +3 -10
- package/dist/actions/post-links-qr-bulk.d.mts.map +1 -1
- package/dist/actions/post-links-qr-bulk.mjs +1 -0
- package/dist/actions/post-links-qr-bulk.mjs.map +1 -1
- package/dist/actions/post-links-unarchive-bulk.cjs +1 -0
- package/dist/actions/post-links-unarchive-bulk.cjs.map +1 -1
- package/dist/actions/post-links-unarchive-bulk.d.cts +3 -3
- package/dist/actions/post-links-unarchive-bulk.d.cts.map +1 -1
- package/dist/actions/post-links-unarchive-bulk.d.mts +3 -3
- package/dist/actions/post-links-unarchive-bulk.d.mts.map +1 -1
- package/dist/actions/post-links-unarchive-bulk.mjs +1 -0
- package/dist/actions/post-links-unarchive-bulk.mjs.map +1 -1
- package/dist/actions/unarchive-link.cjs +1 -0
- package/dist/actions/unarchive-link.cjs.map +1 -1
- package/dist/actions/unarchive-link.d.cts +3 -4
- package/dist/actions/unarchive-link.d.cts.map +1 -1
- package/dist/actions/unarchive-link.d.mts +3 -4
- package/dist/actions/unarchive-link.d.mts.map +1 -1
- package/dist/actions/unarchive-link.mjs +1 -0
- package/dist/actions/unarchive-link.mjs.map +1 -1
- package/dist/actions/update-domain-settings.cjs +1 -0
- package/dist/actions/update-domain-settings.cjs.map +1 -1
- package/dist/actions/update-domain-settings.d.cts +3 -4
- package/dist/actions/update-domain-settings.d.cts.map +1 -1
- package/dist/actions/update-domain-settings.d.mts +3 -4
- package/dist/actions/update-domain-settings.d.mts.map +1 -1
- package/dist/actions/update-domain-settings.mjs +1 -0
- package/dist/actions/update-domain-settings.mjs.map +1 -1
- package/dist/actions/update-link.cjs +1 -0
- package/dist/actions/update-link.cjs.map +1 -1
- package/dist/actions/update-link.d.cts +3 -31
- package/dist/actions/update-link.d.cts.map +1 -1
- package/dist/actions/update-link.d.mts +3 -31
- package/dist/actions/update-link.d.mts.map +1 -1
- package/dist/actions/update-link.mjs +1 -0
- package/dist/actions/update-link.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-countries.mjs","names":[],"sources":["../../src/actions/get-link-countries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkCountriesInput = z.object({\n linkId: z.string().describe(\"Unique identifier of the link to fetch country-targeting rules for\"),\n}).describe(\"Request parameters for retrieving country-targeting rules for a specific link.\");\nconst ShortIoGetLinkCountries_LinkCountrySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the country rule\").nullable(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code for targeting\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the rule was created (ISO 8601)\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the rule was last updated (ISO 8601)\").nullable(),\n originalURL: z.string().describe(\"Target URL for this country\").nullable(),\n link_idString: z.string().describe(\"The short link identifier\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single country-targeting rule for a link.\");\nexport const ShortIoGetLinkCountriesOutput = z.object({\n countries: z.array(ShortIoGetLinkCountries_LinkCountrySchema).describe(\"List of country-based targeting rules\"),\n}).passthrough().describe(\"Response schema containing the list of country-based targeting rules.\");\n\nexport const shortIoGetLinkCountries = action(\"SHORT_IO_GET_LINK_COUNTRIES\", {\n slug: \"short_io-get-link-countries\",\n name: \"Get Link Countries\",\n description: \"Tool to get country targeting rules for a short link. Use when you need to retrieve all country-based redirect configurations for a specific link.\",\n input: ShortIoGetLinkCountriesInput,\n output: ShortIoGetLinkCountriesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-countries.mjs","names":[],"sources":["../../src/actions/get-link-countries.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortIo } from \"../app\";\n\nexport const ShortIoGetLinkCountriesInput = z.object({\n linkId: z.string().describe(\"Unique identifier of the link to fetch country-targeting rules for\"),\n}).describe(\"Request parameters for retrieving country-targeting rules for a specific link.\");\nconst ShortIoGetLinkCountries_LinkCountrySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the country rule\").nullable(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code for targeting\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the rule was created (ISO 8601)\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the rule was last updated (ISO 8601)\").nullable(),\n originalURL: z.string().describe(\"Target URL for this country\").nullable(),\n link_idString: z.string().describe(\"The short link identifier\").nullable().optional(),\n}).passthrough().describe(\"Schema for a single country-targeting rule for a link.\");\nexport const ShortIoGetLinkCountriesOutput = z.object({\n countries: z.array(ShortIoGetLinkCountries_LinkCountrySchema).describe(\"List of country-based targeting rules\"),\n}).passthrough().describe(\"Response schema containing the list of country-based targeting rules.\");\n\nexport const shortIoGetLinkCountries: AppAction<\n typeof ShortIoGetLinkCountriesInput,\n typeof ShortIoGetLinkCountriesOutput,\n typeof shortIo.credential\n> = action(\"SHORT_IO_GET_LINK_COUNTRIES\", {\n slug: \"short_io-get-link-countries\",\n name: \"Get Link Countries\",\n description: \"Tool to get country targeting rules for a short link. Use when you need to retrieve all country-based redirect configurations for a specific link.\",\n input: ShortIoGetLinkCountriesInput,\n output: ShortIoGetLinkCountriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EAClG,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAKlF,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO,EACpD,WAAW,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,uCAAuC,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-info-by-link-id.cjs","names":["z","action"],"sources":["../../src/actions/get-link-info-by-link-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkInfoByLinkIdInput = z.object({\n link_id: z.string().describe(\"The unique identifier of the short link (format: lnk_XXXXX_YYYYYYYYYYYYYYYYYYYY).\"),\n domain_id: z.string().describe(\"Optional domain ID to filter results when the link ID might exist across multiple domains. Usually not needed.\").optional(),\n}).describe(\"Request model for retrieving detailed information of a short link by its ID.\");\nexport const ShortIoGetLinkInfoByLinkIdOutput = z.object({\n id: z.string().describe(\"Unique identifier for the link.\").nullable(),\n path: z.string().describe(\"Custom path/slug of the short link.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the link.\").nullable().optional(),\n title: z.string().describe(\"Title of the link, if set.\").nullable().optional(),\n clicks: z.number().int().describe(\"Total number of clicks recorded.\").nullable().optional(),\n domain: z.string().describe(\"Domain used for the short link.\").nullable(),\n secure: z.boolean().describe(\"Whether the link uses HTTPS.\").nullable(),\n utmTerm: z.string().describe(\"UTM term parameter, if set.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the link is archived.\").nullable().optional(),\n cloaking: z.boolean().describe(\"Whether link cloaking is enabled (hides destination URL).\").nullable(),\n shortURL: z.string().describe(\"Shortened URL.\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable(),\n expiresAt: z.string().describe(\"Expiration date/time in ISO 8601 format, if set.\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp in ISO 8601 format, if set.\").nullable().optional(),\n utmMedium: z.string().describe(\"UTM medium parameter, if set.\").nullable().optional(),\n utmSource: z.string().describe(\"UTM source parameter, if set.\").nullable().optional(),\n utmContent: z.string().describe(\"UTM content parameter, if set.\").nullable().optional(),\n originalURL: z.string().describe(\"Original destination URL.\").nullable(),\n utmCampaign: z.string().describe(\"UTM campaign parameter, if set.\").nullable().optional(),\n organizationId: z.string().describe(\"Organization ID to which the link belongs.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing detailed information about a short link.\");\n\nexport const shortIoGetLinkInfoByLinkId = action(\"SHORT_IO_GET_LINK_INFO_BY_LINK_ID\", {\n slug: \"short_io-get-link-info-by-link-id\",\n name: \"Get Link Info by Link ID\",\n description: \"Retrieves comprehensive metadata for a short link using its unique ID. Returns original URL, short URL, domain, tags, click count, UTM parameters, timestamps, and more. Use this when you have a link ID and need its full details.\",\n input: ShortIoGetLinkInfoByLinkIdInput,\n output: ShortIoGetLinkInfoByLinkIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-info-by-link-id.cjs","names":["z","action"],"sources":["../../src/actions/get-link-info-by-link-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortIo } from \"../app\";\n\nexport const ShortIoGetLinkInfoByLinkIdInput = z.object({\n link_id: z.string().describe(\"The unique identifier of the short link (format: lnk_XXXXX_YYYYYYYYYYYYYYYYYYYY).\"),\n domain_id: z.string().describe(\"Optional domain ID to filter results when the link ID might exist across multiple domains. Usually not needed.\").optional(),\n}).describe(\"Request model for retrieving detailed information of a short link by its ID.\");\nexport const ShortIoGetLinkInfoByLinkIdOutput = z.object({\n id: z.string().describe(\"Unique identifier for the link.\").nullable(),\n path: z.string().describe(\"Custom path/slug of the short link.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the link.\").nullable().optional(),\n title: z.string().describe(\"Title of the link, if set.\").nullable().optional(),\n clicks: z.number().int().describe(\"Total number of clicks recorded.\").nullable().optional(),\n domain: z.string().describe(\"Domain used for the short link.\").nullable(),\n secure: z.boolean().describe(\"Whether the link uses HTTPS.\").nullable(),\n utmTerm: z.string().describe(\"UTM term parameter, if set.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the link is archived.\").nullable().optional(),\n cloaking: z.boolean().describe(\"Whether link cloaking is enabled (hides destination URL).\").nullable(),\n shortURL: z.string().describe(\"Shortened URL.\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable(),\n expiresAt: z.string().describe(\"Expiration date/time in ISO 8601 format, if set.\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp in ISO 8601 format, if set.\").nullable().optional(),\n utmMedium: z.string().describe(\"UTM medium parameter, if set.\").nullable().optional(),\n utmSource: z.string().describe(\"UTM source parameter, if set.\").nullable().optional(),\n utmContent: z.string().describe(\"UTM content parameter, if set.\").nullable().optional(),\n originalURL: z.string().describe(\"Original destination URL.\").nullable(),\n utmCampaign: z.string().describe(\"UTM campaign parameter, if set.\").nullable().optional(),\n organizationId: z.string().describe(\"Organization ID to which the link belongs.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing detailed information about a short link.\");\n\nexport const shortIoGetLinkInfoByLinkId: AppAction<\n typeof ShortIoGetLinkInfoByLinkIdInput,\n typeof ShortIoGetLinkInfoByLinkIdOutput,\n typeof shortIo.credential\n> = action(\"SHORT_IO_GET_LINK_INFO_BY_LINK_ID\", {\n slug: \"short_io-get-link-info-by-link-id\",\n name: \"Get Link Info by Link ID\",\n description: \"Retrieves comprehensive metadata for a short link using its unique ID. Returns original URL, short URL, domain, tags, click count, UTM parameters, timestamps, and more. Use this when you have a link ID and need its full details.\",\n input: ShortIoGetLinkInfoByLinkIdInput,\n output: ShortIoGetLinkInfoByLinkIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAChH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,6BAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-link-info-by-link-id.d.ts
|
|
@@ -27,10 +29,7 @@ declare const ShortIoGetLinkInfoByLinkIdOutput: z.ZodObject<{
|
|
|
27
29
|
utmCampaign: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
30
|
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const shortIoGetLinkInfoByLinkId:
|
|
31
|
-
link_id: string;
|
|
32
|
-
domain_id?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
32
|
+
declare const shortIoGetLinkInfoByLinkId: AppAction<typeof ShortIoGetLinkInfoByLinkIdInput, typeof ShortIoGetLinkInfoByLinkIdOutput, typeof shortIo.credential>;
|
|
34
33
|
//#endregion
|
|
35
34
|
export { shortIoGetLinkInfoByLinkId };
|
|
36
35
|
//# sourceMappingURL=get-link-info-by-link-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-info-by-link-id.d.cts","names":[],"sources":["../../src/actions/get-link-info-by-link-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-info-by-link-id.d.cts","names":[],"sources":["../../src/actions/get-link-info-by-link-id.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAuBhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-link-info-by-link-id.d.ts
|
|
@@ -27,10 +29,7 @@ declare const ShortIoGetLinkInfoByLinkIdOutput: z.ZodObject<{
|
|
|
27
29
|
utmCampaign: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
30
|
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const shortIoGetLinkInfoByLinkId:
|
|
31
|
-
link_id: string;
|
|
32
|
-
domain_id?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
32
|
+
declare const shortIoGetLinkInfoByLinkId: AppAction<typeof ShortIoGetLinkInfoByLinkIdInput, typeof ShortIoGetLinkInfoByLinkIdOutput, typeof shortIo.credential>;
|
|
34
33
|
//#endregion
|
|
35
34
|
export { shortIoGetLinkInfoByLinkId };
|
|
36
35
|
//# sourceMappingURL=get-link-info-by-link-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-info-by-link-id.d.mts","names":[],"sources":["../../src/actions/get-link-info-by-link-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-info-by-link-id.d.mts","names":[],"sources":["../../src/actions/get-link-info-by-link-id.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAuBhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-info-by-link-id.mjs","names":[],"sources":["../../src/actions/get-link-info-by-link-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkInfoByLinkIdInput = z.object({\n link_id: z.string().describe(\"The unique identifier of the short link (format: lnk_XXXXX_YYYYYYYYYYYYYYYYYYYY).\"),\n domain_id: z.string().describe(\"Optional domain ID to filter results when the link ID might exist across multiple domains. Usually not needed.\").optional(),\n}).describe(\"Request model for retrieving detailed information of a short link by its ID.\");\nexport const ShortIoGetLinkInfoByLinkIdOutput = z.object({\n id: z.string().describe(\"Unique identifier for the link.\").nullable(),\n path: z.string().describe(\"Custom path/slug of the short link.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the link.\").nullable().optional(),\n title: z.string().describe(\"Title of the link, if set.\").nullable().optional(),\n clicks: z.number().int().describe(\"Total number of clicks recorded.\").nullable().optional(),\n domain: z.string().describe(\"Domain used for the short link.\").nullable(),\n secure: z.boolean().describe(\"Whether the link uses HTTPS.\").nullable(),\n utmTerm: z.string().describe(\"UTM term parameter, if set.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the link is archived.\").nullable().optional(),\n cloaking: z.boolean().describe(\"Whether link cloaking is enabled (hides destination URL).\").nullable(),\n shortURL: z.string().describe(\"Shortened URL.\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable(),\n expiresAt: z.string().describe(\"Expiration date/time in ISO 8601 format, if set.\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp in ISO 8601 format, if set.\").nullable().optional(),\n utmMedium: z.string().describe(\"UTM medium parameter, if set.\").nullable().optional(),\n utmSource: z.string().describe(\"UTM source parameter, if set.\").nullable().optional(),\n utmContent: z.string().describe(\"UTM content parameter, if set.\").nullable().optional(),\n originalURL: z.string().describe(\"Original destination URL.\").nullable(),\n utmCampaign: z.string().describe(\"UTM campaign parameter, if set.\").nullable().optional(),\n organizationId: z.string().describe(\"Organization ID to which the link belongs.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing detailed information about a short link.\");\n\nexport const shortIoGetLinkInfoByLinkId = action(\"SHORT_IO_GET_LINK_INFO_BY_LINK_ID\", {\n slug: \"short_io-get-link-info-by-link-id\",\n name: \"Get Link Info by Link ID\",\n description: \"Retrieves comprehensive metadata for a short link using its unique ID. Returns original URL, short URL, domain, tags, click count, UTM parameters, timestamps, and more. Use this when you have a link ID and need its full details.\",\n input: ShortIoGetLinkInfoByLinkIdInput,\n output: ShortIoGetLinkInfoByLinkIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-info-by-link-id.mjs","names":[],"sources":["../../src/actions/get-link-info-by-link-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortIo } from \"../app\";\n\nexport const ShortIoGetLinkInfoByLinkIdInput = z.object({\n link_id: z.string().describe(\"The unique identifier of the short link (format: lnk_XXXXX_YYYYYYYYYYYYYYYYYYYY).\"),\n domain_id: z.string().describe(\"Optional domain ID to filter results when the link ID might exist across multiple domains. Usually not needed.\").optional(),\n}).describe(\"Request model for retrieving detailed information of a short link by its ID.\");\nexport const ShortIoGetLinkInfoByLinkIdOutput = z.object({\n id: z.string().describe(\"Unique identifier for the link.\").nullable(),\n path: z.string().describe(\"Custom path/slug of the short link.\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the link.\").nullable().optional(),\n title: z.string().describe(\"Title of the link, if set.\").nullable().optional(),\n clicks: z.number().int().describe(\"Total number of clicks recorded.\").nullable().optional(),\n domain: z.string().describe(\"Domain used for the short link.\").nullable(),\n secure: z.boolean().describe(\"Whether the link uses HTTPS.\").nullable(),\n utmTerm: z.string().describe(\"UTM term parameter, if set.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the link is archived.\").nullable().optional(),\n cloaking: z.boolean().describe(\"Whether link cloaking is enabled (hides destination URL).\").nullable(),\n shortURL: z.string().describe(\"Shortened URL.\").nullable(),\n createdAt: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable(),\n expiresAt: z.string().describe(\"Expiration date/time in ISO 8601 format, if set.\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp in ISO 8601 format, if set.\").nullable().optional(),\n utmMedium: z.string().describe(\"UTM medium parameter, if set.\").nullable().optional(),\n utmSource: z.string().describe(\"UTM source parameter, if set.\").nullable().optional(),\n utmContent: z.string().describe(\"UTM content parameter, if set.\").nullable().optional(),\n originalURL: z.string().describe(\"Original destination URL.\").nullable(),\n utmCampaign: z.string().describe(\"UTM campaign parameter, if set.\").nullable().optional(),\n organizationId: z.string().describe(\"Organization ID to which the link belongs.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing detailed information about a short link.\");\n\nexport const shortIoGetLinkInfoByLinkId: AppAction<\n typeof ShortIoGetLinkInfoByLinkIdInput,\n typeof ShortIoGetLinkInfoByLinkIdOutput,\n typeof shortIo.credential\n> = action(\"SHORT_IO_GET_LINK_INFO_BY_LINK_ID\", {\n slug: \"short_io-get-link-info-by-link-id\",\n name: \"Get Link Info by Link ID\",\n description: \"Retrieves comprehensive metadata for a short link using its unique ID. Returns original URL, short URL, domain, tags, click count, UTM parameters, timestamps, and more. Use this when you have a link ID and need its full details.\",\n input: ShortIoGetLinkInfoByLinkIdInput,\n output: ShortIoGetLinkInfoByLinkIdOutput,\n});\n"],"mappings":";;;AAiCA,MAAa,6BAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnC6C,EAAE,OAAO;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAChH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC5J,CAAC,CAAC,CAAC,SAAS,8EAgCH;CACP,QAhC8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACzD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-info-by-path.cjs","names":["z","action"],"sources":["../../src/actions/get-link-info-by-path.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkInfoByPathInput = z.object({\n path: z.string().describe(\"Short link path segment (the part after the domain) to look up.\"),\n domain_id: z.string().describe(\"Identifier of the domain under which the short link resides.\"),\n}).describe(\"Request model for retrieving detailed information of a short link by its path within a domain.\");\nexport const ShortIoGetLinkInfoByPathOutput = z.object({\n id: z.string().describe(\"Unique identifier of the link.\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags associated with the link.\").nullable().optional(),\n title: z.string().describe(\"Title of the link, if set.\").nullable().optional(),\n clicks: z.number().int().describe(\"Total number of clicks recorded for this link.\").nullable().optional(),\n domain: z.string().describe(\"Associated domain of the link.\").nullable(),\n secure: z.boolean().describe(\"Indicates whether the link uses HTTPS.\").nullable(),\n utmTerm: z.string().describe(\"UTM term parameter, if set.\").nullable().optional(),\n cloaking: z.boolean().describe(\"Indicates whether link cloaking is enabled.\").nullable(),\n shortURL: z.string().describe(\"Shortened URL including domain and path.\").nullable(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the link was created.\").nullable(),\n expiresAt: z.string().describe(\"Expiration timestamp in ISO8601 format, if set.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the link was last updated.\").nullable().optional(),\n utmMedium: z.string().describe(\"UTM medium parameter, if set.\").nullable().optional(),\n utmSource: z.string().describe(\"UTM source parameter, if set.\").nullable().optional(),\n utmContent: z.string().describe(\"UTM content parameter, if set.\").nullable().optional(),\n originalURL: z.string().describe(\"Original destination URL.\").nullable(),\n utmCampaign: z.string().describe(\"UTM campaign parameter, if set.\").nullable().optional(),\n organizationId: z.string().describe(\"Organization ID to which the link belongs.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing detailed information about a short link.\");\n\nexport const shortIoGetLinkInfoByPath = action(\"SHORT_IO_GET_LINK_INFO_BY_PATH\", {\n slug: \"short_io-get-link-info-by-path\",\n name: \"Get Link Info by Path\",\n description: \"Tool to get link info by its path and domain. Use when you need to look up a branded short link by its path within a specific domain.\",\n input: ShortIoGetLinkInfoByPathInput,\n output: ShortIoGetLinkInfoByPathOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-info-by-path.cjs","names":["z","action"],"sources":["../../src/actions/get-link-info-by-path.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortIo } from \"../app\";\n\nexport const ShortIoGetLinkInfoByPathInput = z.object({\n path: z.string().describe(\"Short link path segment (the part after the domain) to look up.\"),\n domain_id: z.string().describe(\"Identifier of the domain under which the short link resides.\"),\n}).describe(\"Request model for retrieving detailed information of a short link by its path within a domain.\");\nexport const ShortIoGetLinkInfoByPathOutput = z.object({\n id: z.string().describe(\"Unique identifier of the link.\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags associated with the link.\").nullable().optional(),\n title: z.string().describe(\"Title of the link, if set.\").nullable().optional(),\n clicks: z.number().int().describe(\"Total number of clicks recorded for this link.\").nullable().optional(),\n domain: z.string().describe(\"Associated domain of the link.\").nullable(),\n secure: z.boolean().describe(\"Indicates whether the link uses HTTPS.\").nullable(),\n utmTerm: z.string().describe(\"UTM term parameter, if set.\").nullable().optional(),\n cloaking: z.boolean().describe(\"Indicates whether link cloaking is enabled.\").nullable(),\n shortURL: z.string().describe(\"Shortened URL including domain and path.\").nullable(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the link was created.\").nullable(),\n expiresAt: z.string().describe(\"Expiration timestamp in ISO8601 format, if set.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the link was last updated.\").nullable().optional(),\n utmMedium: z.string().describe(\"UTM medium parameter, if set.\").nullable().optional(),\n utmSource: z.string().describe(\"UTM source parameter, if set.\").nullable().optional(),\n utmContent: z.string().describe(\"UTM content parameter, if set.\").nullable().optional(),\n originalURL: z.string().describe(\"Original destination URL.\").nullable(),\n utmCampaign: z.string().describe(\"UTM campaign parameter, if set.\").nullable().optional(),\n organizationId: z.string().describe(\"Organization ID to which the link belongs.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing detailed information about a short link.\");\n\nexport const shortIoGetLinkInfoByPath: AppAction<\n typeof ShortIoGetLinkInfoByPathInput,\n typeof ShortIoGetLinkInfoByPathOutput,\n typeof shortIo.credential\n> = action(\"SHORT_IO_GET_LINK_INFO_BY_PATH\", {\n slug: \"short_io-get-link-info-by-path\",\n name: \"Get Link Info by Path\",\n description: \"Tool to get link info by its path and domain. Use when you need to look up a branded short link by its path within a specific domain.\",\n input: ShortIoGetLinkInfoByPathInput,\n output: ShortIoGetLinkInfoByPathOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AAC/F,CAAC,CAAC,CAAC,SAAS,gGAAgG;AAC5G,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,2BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-link-info-by-path.d.ts
|
|
@@ -25,10 +27,7 @@ declare const ShortIoGetLinkInfoByPathOutput: z.ZodObject<{
|
|
|
25
27
|
utmCampaign: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const shortIoGetLinkInfoByPath:
|
|
29
|
-
path: string;
|
|
30
|
-
domain_id: string;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
30
|
+
declare const shortIoGetLinkInfoByPath: AppAction<typeof ShortIoGetLinkInfoByPathInput, typeof ShortIoGetLinkInfoByPathOutput, typeof shortIo.credential>;
|
|
32
31
|
//#endregion
|
|
33
32
|
export { shortIoGetLinkInfoByPath };
|
|
34
33
|
//# sourceMappingURL=get-link-info-by-path.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-info-by-path.d.cts","names":[],"sources":["../../src/actions/get-link-info-by-path.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-info-by-path.d.cts","names":[],"sources":["../../src/actions/get-link-info-by-path.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAqB9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-link-info-by-path.d.ts
|
|
@@ -25,10 +27,7 @@ declare const ShortIoGetLinkInfoByPathOutput: z.ZodObject<{
|
|
|
25
27
|
utmCampaign: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const shortIoGetLinkInfoByPath:
|
|
29
|
-
path: string;
|
|
30
|
-
domain_id: string;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
30
|
+
declare const shortIoGetLinkInfoByPath: AppAction<typeof ShortIoGetLinkInfoByPathInput, typeof ShortIoGetLinkInfoByPathOutput, typeof shortIo.credential>;
|
|
32
31
|
//#endregion
|
|
33
32
|
export { shortIoGetLinkInfoByPath };
|
|
34
33
|
//# sourceMappingURL=get-link-info-by-path.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-info-by-path.d.mts","names":[],"sources":["../../src/actions/get-link-info-by-path.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-info-by-path.d.mts","names":[],"sources":["../../src/actions/get-link-info-by-path.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAqB9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-info-by-path.mjs","names":[],"sources":["../../src/actions/get-link-info-by-path.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkInfoByPathInput = z.object({\n path: z.string().describe(\"Short link path segment (the part after the domain) to look up.\"),\n domain_id: z.string().describe(\"Identifier of the domain under which the short link resides.\"),\n}).describe(\"Request model for retrieving detailed information of a short link by its path within a domain.\");\nexport const ShortIoGetLinkInfoByPathOutput = z.object({\n id: z.string().describe(\"Unique identifier of the link.\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags associated with the link.\").nullable().optional(),\n title: z.string().describe(\"Title of the link, if set.\").nullable().optional(),\n clicks: z.number().int().describe(\"Total number of clicks recorded for this link.\").nullable().optional(),\n domain: z.string().describe(\"Associated domain of the link.\").nullable(),\n secure: z.boolean().describe(\"Indicates whether the link uses HTTPS.\").nullable(),\n utmTerm: z.string().describe(\"UTM term parameter, if set.\").nullable().optional(),\n cloaking: z.boolean().describe(\"Indicates whether link cloaking is enabled.\").nullable(),\n shortURL: z.string().describe(\"Shortened URL including domain and path.\").nullable(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the link was created.\").nullable(),\n expiresAt: z.string().describe(\"Expiration timestamp in ISO8601 format, if set.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the link was last updated.\").nullable().optional(),\n utmMedium: z.string().describe(\"UTM medium parameter, if set.\").nullable().optional(),\n utmSource: z.string().describe(\"UTM source parameter, if set.\").nullable().optional(),\n utmContent: z.string().describe(\"UTM content parameter, if set.\").nullable().optional(),\n originalURL: z.string().describe(\"Original destination URL.\").nullable(),\n utmCampaign: z.string().describe(\"UTM campaign parameter, if set.\").nullable().optional(),\n organizationId: z.string().describe(\"Organization ID to which the link belongs.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing detailed information about a short link.\");\n\nexport const shortIoGetLinkInfoByPath = action(\"SHORT_IO_GET_LINK_INFO_BY_PATH\", {\n slug: \"short_io-get-link-info-by-path\",\n name: \"Get Link Info by Path\",\n description: \"Tool to get link info by its path and domain. Use when you need to look up a branded short link by its path within a specific domain.\",\n input: ShortIoGetLinkInfoByPathInput,\n output: ShortIoGetLinkInfoByPathOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-info-by-path.mjs","names":[],"sources":["../../src/actions/get-link-info-by-path.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortIo } from \"../app\";\n\nexport const ShortIoGetLinkInfoByPathInput = z.object({\n path: z.string().describe(\"Short link path segment (the part after the domain) to look up.\"),\n domain_id: z.string().describe(\"Identifier of the domain under which the short link resides.\"),\n}).describe(\"Request model for retrieving detailed information of a short link by its path within a domain.\");\nexport const ShortIoGetLinkInfoByPathOutput = z.object({\n id: z.string().describe(\"Unique identifier of the link.\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags associated with the link.\").nullable().optional(),\n title: z.string().describe(\"Title of the link, if set.\").nullable().optional(),\n clicks: z.number().int().describe(\"Total number of clicks recorded for this link.\").nullable().optional(),\n domain: z.string().describe(\"Associated domain of the link.\").nullable(),\n secure: z.boolean().describe(\"Indicates whether the link uses HTTPS.\").nullable(),\n utmTerm: z.string().describe(\"UTM term parameter, if set.\").nullable().optional(),\n cloaking: z.boolean().describe(\"Indicates whether link cloaking is enabled.\").nullable(),\n shortURL: z.string().describe(\"Shortened URL including domain and path.\").nullable(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the link was created.\").nullable(),\n expiresAt: z.string().describe(\"Expiration timestamp in ISO8601 format, if set.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the link was last updated.\").nullable().optional(),\n utmMedium: z.string().describe(\"UTM medium parameter, if set.\").nullable().optional(),\n utmSource: z.string().describe(\"UTM source parameter, if set.\").nullable().optional(),\n utmContent: z.string().describe(\"UTM content parameter, if set.\").nullable().optional(),\n originalURL: z.string().describe(\"Original destination URL.\").nullable(),\n utmCampaign: z.string().describe(\"UTM campaign parameter, if set.\").nullable().optional(),\n organizationId: z.string().describe(\"Organization ID to which the link belongs.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing detailed information about a short link.\");\n\nexport const shortIoGetLinkInfoByPath: AppAction<\n typeof ShortIoGetLinkInfoByPathInput,\n typeof ShortIoGetLinkInfoByPathOutput,\n typeof shortIo.credential\n> = action(\"SHORT_IO_GET_LINK_INFO_BY_PATH\", {\n slug: \"short_io-get-link-info-by-path\",\n name: \"Get Link Info by Path\",\n description: \"Tool to get link info by its path and domain. Use when you need to look up a branded short link by its path within a specific domain.\",\n input: ShortIoGetLinkInfoByPathInput,\n output: ShortIoGetLinkInfoByPathOutput,\n});\n"],"mappings":";;;AA+BA,MAAa,2BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjC2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC/F,CAAC,CAAC,CAAC,SAAS,gGA8BH;CACP,QA9B4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACnE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-open-graph-properties.cjs","names":["z","action"],"sources":["../../src/actions/get-link-open-graph-properties.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkOpenGraphPropertiesInput = z.object({\n linkId: z.string().describe(\"The unique identifier of the short link to retrieve OpenGraph properties for.\"),\n domainId: z.number().int().describe(\"Identifier of the branded domain where the link is hosted.\"),\n}).describe(\"Request model for retrieving OpenGraph settings of a short link.\");\nexport const ShortIoGetLinkOpenGraphPropertiesOutput = z.object({\n ogUrl: z.string().describe(\"The canonical URL used in OpenGraph metadata.\").nullable().optional(),\n ogType: z.string().describe(\"The OpenGraph type (e.g., 'article', 'website').\").nullable().optional(),\n ogImage: z.string().describe(\"The URL of the OpenGraph image for the link.\").nullable().optional(),\n ogTitle: z.string().describe(\"The OpenGraph title of the link.\").nullable().optional(),\n ogSiteName: z.string().describe(\"The site name used in OpenGraph metadata.\").nullable().optional(),\n ogDescription: z.string().describe(\"The OpenGraph description of the link.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing OpenGraph properties of a short link.\");\n\nexport const shortIoGetLinkOpenGraphProperties = action(\"SHORT_IO_GET_LINK_OPEN_GRAPH_PROPERTIES\", {\n slug: \"short_io-get-link-open-graph-properties\",\n name: \"Get Link OpenGraph Properties\",\n description: \"Tool to retrieve OpenGraph settings for a link. Use after creating or updating a link to verify its social metadata.\",\n input: ShortIoGetLinkOpenGraphPropertiesInput,\n output: ShortIoGetLinkOpenGraphPropertiesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-open-graph-properties.cjs","names":["z","action"],"sources":["../../src/actions/get-link-open-graph-properties.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortIo } from \"../app\";\n\nexport const ShortIoGetLinkOpenGraphPropertiesInput = z.object({\n linkId: z.string().describe(\"The unique identifier of the short link to retrieve OpenGraph properties for.\"),\n domainId: z.number().int().describe(\"Identifier of the branded domain where the link is hosted.\"),\n}).describe(\"Request model for retrieving OpenGraph settings of a short link.\");\nexport const ShortIoGetLinkOpenGraphPropertiesOutput = z.object({\n ogUrl: z.string().describe(\"The canonical URL used in OpenGraph metadata.\").nullable().optional(),\n ogType: z.string().describe(\"The OpenGraph type (e.g., 'article', 'website').\").nullable().optional(),\n ogImage: z.string().describe(\"The URL of the OpenGraph image for the link.\").nullable().optional(),\n ogTitle: z.string().describe(\"The OpenGraph title of the link.\").nullable().optional(),\n ogSiteName: z.string().describe(\"The site name used in OpenGraph metadata.\").nullable().optional(),\n ogDescription: z.string().describe(\"The OpenGraph description of the link.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing OpenGraph properties of a short link.\");\n\nexport const shortIoGetLinkOpenGraphProperties: AppAction<\n typeof ShortIoGetLinkOpenGraphPropertiesInput,\n typeof ShortIoGetLinkOpenGraphPropertiesOutput,\n typeof shortIo.credential\n> = action(\"SHORT_IO_GET_LINK_OPEN_GRAPH_PROPERTIES\", {\n slug: \"short_io-get-link-open-graph-properties\",\n name: \"Get Link OpenGraph Properties\",\n description: \"Tool to retrieve OpenGraph settings for a link. Use after creating or updating a link to verify its social metadata.\",\n input: ShortIoGetLinkOpenGraphPropertiesInput,\n output: ShortIoGetLinkOpenGraphPropertiesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;AAClG,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,oCAITC,eAAAA,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-link-open-graph-properties.d.ts
|
|
@@ -13,10 +15,7 @@ declare const ShortIoGetLinkOpenGraphPropertiesOutput: z.ZodObject<{
|
|
|
13
15
|
ogSiteName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
ogDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const shortIoGetLinkOpenGraphProperties:
|
|
17
|
-
linkId: string;
|
|
18
|
-
domainId: number;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const shortIoGetLinkOpenGraphProperties: AppAction<typeof ShortIoGetLinkOpenGraphPropertiesInput, typeof ShortIoGetLinkOpenGraphPropertiesOutput, typeof shortIo.credential>;
|
|
20
19
|
//#endregion
|
|
21
20
|
export { shortIoGetLinkOpenGraphProperties };
|
|
22
21
|
//# sourceMappingURL=get-link-open-graph-properties.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-open-graph-properties.d.cts","names":[],"sources":["../../src/actions/get-link-open-graph-properties.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-open-graph-properties.d.cts","names":[],"sources":["../../src/actions/get-link-open-graph-properties.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAItC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;cASvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-link-open-graph-properties.d.ts
|
|
@@ -13,10 +15,7 @@ declare const ShortIoGetLinkOpenGraphPropertiesOutput: z.ZodObject<{
|
|
|
13
15
|
ogSiteName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
ogDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const shortIoGetLinkOpenGraphProperties:
|
|
17
|
-
linkId: string;
|
|
18
|
-
domainId: number;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const shortIoGetLinkOpenGraphProperties: AppAction<typeof ShortIoGetLinkOpenGraphPropertiesInput, typeof ShortIoGetLinkOpenGraphPropertiesOutput, typeof shortIo.credential>;
|
|
20
19
|
//#endregion
|
|
21
20
|
export { shortIoGetLinkOpenGraphProperties };
|
|
22
21
|
//# sourceMappingURL=get-link-open-graph-properties.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-open-graph-properties.d.mts","names":[],"sources":["../../src/actions/get-link-open-graph-properties.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-open-graph-properties.d.mts","names":[],"sources":["../../src/actions/get-link-open-graph-properties.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAItC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;cASvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-open-graph-properties.mjs","names":[],"sources":["../../src/actions/get-link-open-graph-properties.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkOpenGraphPropertiesInput = z.object({\n linkId: z.string().describe(\"The unique identifier of the short link to retrieve OpenGraph properties for.\"),\n domainId: z.number().int().describe(\"Identifier of the branded domain where the link is hosted.\"),\n}).describe(\"Request model for retrieving OpenGraph settings of a short link.\");\nexport const ShortIoGetLinkOpenGraphPropertiesOutput = z.object({\n ogUrl: z.string().describe(\"The canonical URL used in OpenGraph metadata.\").nullable().optional(),\n ogType: z.string().describe(\"The OpenGraph type (e.g., 'article', 'website').\").nullable().optional(),\n ogImage: z.string().describe(\"The URL of the OpenGraph image for the link.\").nullable().optional(),\n ogTitle: z.string().describe(\"The OpenGraph title of the link.\").nullable().optional(),\n ogSiteName: z.string().describe(\"The site name used in OpenGraph metadata.\").nullable().optional(),\n ogDescription: z.string().describe(\"The OpenGraph description of the link.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing OpenGraph properties of a short link.\");\n\nexport const shortIoGetLinkOpenGraphProperties = action(\"SHORT_IO_GET_LINK_OPEN_GRAPH_PROPERTIES\", {\n slug: \"short_io-get-link-open-graph-properties\",\n name: \"Get Link OpenGraph Properties\",\n description: \"Tool to retrieve OpenGraph settings for a link. Use after creating or updating a link to verify its social metadata.\",\n input: ShortIoGetLinkOpenGraphPropertiesInput,\n output: ShortIoGetLinkOpenGraphPropertiesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-open-graph-properties.mjs","names":[],"sources":["../../src/actions/get-link-open-graph-properties.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortIo } from \"../app\";\n\nexport const ShortIoGetLinkOpenGraphPropertiesInput = z.object({\n linkId: z.string().describe(\"The unique identifier of the short link to retrieve OpenGraph properties for.\"),\n domainId: z.number().int().describe(\"Identifier of the branded domain where the link is hosted.\"),\n}).describe(\"Request model for retrieving OpenGraph settings of a short link.\");\nexport const ShortIoGetLinkOpenGraphPropertiesOutput = z.object({\n ogUrl: z.string().describe(\"The canonical URL used in OpenGraph metadata.\").nullable().optional(),\n ogType: z.string().describe(\"The OpenGraph type (e.g., 'article', 'website').\").nullable().optional(),\n ogImage: z.string().describe(\"The URL of the OpenGraph image for the link.\").nullable().optional(),\n ogTitle: z.string().describe(\"The OpenGraph title of the link.\").nullable().optional(),\n ogSiteName: z.string().describe(\"The site name used in OpenGraph metadata.\").nullable().optional(),\n ogDescription: z.string().describe(\"The OpenGraph description of the link.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing OpenGraph properties of a short link.\");\n\nexport const shortIoGetLinkOpenGraphProperties: AppAction<\n typeof ShortIoGetLinkOpenGraphPropertiesInput,\n typeof ShortIoGetLinkOpenGraphPropertiesOutput,\n typeof shortIo.credential\n> = action(\"SHORT_IO_GET_LINK_OPEN_GRAPH_PROPERTIES\", {\n slug: \"short_io-get-link-open-graph-properties\",\n name: \"Get Link OpenGraph Properties\",\n description: \"Tool to retrieve OpenGraph settings for a link. Use after creating or updating a link to verify its social metadata.\",\n input: ShortIoGetLinkOpenGraphPropertiesInput,\n output: ShortIoGetLinkOpenGraphPropertiesOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,oCAIT,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBoD,EAAE,OAAO;EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;EAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;CAClG,CAAC,CAAC,CAAC,SAAS,kEAkBH;CACP,QAlBqD,EAAE,OAAO;EAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-permissions.cjs","names":["z","action"],"sources":["../../src/actions/get-link-permissions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkPermissionsInput = z.object({\n link_id: z.string().describe(\"Unique identifier of the short link (starts with 'lnk_', obtained from link creation responses)\"),\n domain_id: z.string().describe(\"Numeric ID of the domain containing the link (e.g., obtained from link creation responses)\"),\n}).describe(\"Request parameters for listing user permissions on a short link.\");\nconst ShortIoGetLinkPermissions_PermissionModelSchema = z.object({\n id: z.string().describe(\"Unique identifier of the permission record\").nullable().optional(),\n UserId: z.number().int().describe(\"ID of the user granted this permission\").nullable().optional(),\n DomainId: z.number().int().describe(\"ID of the domain this permission applies to\").nullable().optional(),\n LinkIdString: z.string().describe(\"String identifier of the link this permission applies to\").nullable().optional(),\n}).passthrough().describe(\"Individual permission record for a link, representing a user's access to the short link.\");\nexport const ShortIoGetLinkPermissionsOutput = z.object({\n permissions: z.array(ShortIoGetLinkPermissions_PermissionModelSchema).describe(\"List of user permission records for the link (empty if no permissions granted)\"),\n}).passthrough().describe(\"Response containing all user permissions configured for a specific short link.\\nReturns an empty list if no permissions have been granted.\");\n\nexport const shortIoGetLinkPermissions = action(\"SHORT_IO_GET_LINK_PERMISSIONS\", {\n slug: \"short_io-get-link-permissions\",\n name: \"Get Link Permissions\",\n description: \"Retrieves all user access permissions for a specific short link within a domain. Use this to check which users have been granted access to view or manage a particular link. Returns an empty list if no special permissions have been configured. Example: \\\"Show me who has access to link 'lnk_5YOn_lR5wxdiv88Qo9ZRF6akPi' in domain '1425403'\\\".\",\n input: ShortIoGetLinkPermissionsInput,\n output: ShortIoGetLinkPermissionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-permissions.cjs","names":["z","action"],"sources":["../../src/actions/get-link-permissions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortIo } from \"../app\";\n\nexport const ShortIoGetLinkPermissionsInput = z.object({\n link_id: z.string().describe(\"Unique identifier of the short link (starts with 'lnk_', obtained from link creation responses)\"),\n domain_id: z.string().describe(\"Numeric ID of the domain containing the link (e.g., obtained from link creation responses)\"),\n}).describe(\"Request parameters for listing user permissions on a short link.\");\nconst ShortIoGetLinkPermissions_PermissionModelSchema = z.object({\n id: z.string().describe(\"Unique identifier of the permission record\").nullable().optional(),\n UserId: z.number().int().describe(\"ID of the user granted this permission\").nullable().optional(),\n DomainId: z.number().int().describe(\"ID of the domain this permission applies to\").nullable().optional(),\n LinkIdString: z.string().describe(\"String identifier of the link this permission applies to\").nullable().optional(),\n}).passthrough().describe(\"Individual permission record for a link, representing a user's access to the short link.\");\nexport const ShortIoGetLinkPermissionsOutput = z.object({\n permissions: z.array(ShortIoGetLinkPermissions_PermissionModelSchema).describe(\"List of user permission records for the link (empty if no permissions granted)\"),\n}).passthrough().describe(\"Response containing all user permissions configured for a specific short link.\\nReturns an empty list if no permissions have been granted.\");\n\nexport const shortIoGetLinkPermissions: AppAction<\n typeof ShortIoGetLinkPermissionsInput,\n typeof ShortIoGetLinkPermissionsOutput,\n typeof shortIo.credential\n> = action(\"SHORT_IO_GET_LINK_PERMISSIONS\", {\n slug: \"short_io-get-link-permissions\",\n name: \"Get Link Permissions\",\n description: \"Retrieves all user access permissions for a specific short link within a domain. Use this to check which users have been granted access to view or manage a particular link. Returns an empty list if no special permissions have been configured. Example: \\\"Show me who has access to link 'lnk_5YOn_lR5wxdiv88Qo9ZRF6akPi' in domain '1425403'\\\".\",\n input: ShortIoGetLinkPermissionsInput,\n output: ShortIoGetLinkPermissionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC9H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;AAC7H,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0FAA0F;AACpH,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,aAAaA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,gFAAgF,EACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4IAA4I;AAEtK,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-link-permissions.d.ts
|
|
@@ -13,10 +15,7 @@ declare const ShortIoGetLinkPermissionsOutput: z.ZodObject<{
|
|
|
13
15
|
LinkIdString: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const shortIoGetLinkPermissions:
|
|
17
|
-
link_id: string;
|
|
18
|
-
domain_id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const shortIoGetLinkPermissions: AppAction<typeof ShortIoGetLinkPermissionsInput, typeof ShortIoGetLinkPermissionsOutput, typeof shortIo.credential>;
|
|
20
19
|
//#endregion
|
|
21
20
|
export { shortIoGetLinkPermissions };
|
|
22
21
|
//# sourceMappingURL=get-link-permissions.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-permissions.d.cts","names":[],"sources":["../../src/actions/get-link-permissions.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-permissions.d.cts","names":[],"sources":["../../src/actions/get-link-permissions.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAU9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-link-permissions.d.ts
|
|
@@ -13,10 +15,7 @@ declare const ShortIoGetLinkPermissionsOutput: z.ZodObject<{
|
|
|
13
15
|
LinkIdString: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const shortIoGetLinkPermissions:
|
|
17
|
-
link_id: string;
|
|
18
|
-
domain_id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const shortIoGetLinkPermissions: AppAction<typeof ShortIoGetLinkPermissionsInput, typeof ShortIoGetLinkPermissionsOutput, typeof shortIo.credential>;
|
|
20
19
|
//#endregion
|
|
21
20
|
export { shortIoGetLinkPermissions };
|
|
22
21
|
//# sourceMappingURL=get-link-permissions.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-permissions.d.mts","names":[],"sources":["../../src/actions/get-link-permissions.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-permissions.d.mts","names":[],"sources":["../../src/actions/get-link-permissions.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAU9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-permissions.mjs","names":[],"sources":["../../src/actions/get-link-permissions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkPermissionsInput = z.object({\n link_id: z.string().describe(\"Unique identifier of the short link (starts with 'lnk_', obtained from link creation responses)\"),\n domain_id: z.string().describe(\"Numeric ID of the domain containing the link (e.g., obtained from link creation responses)\"),\n}).describe(\"Request parameters for listing user permissions on a short link.\");\nconst ShortIoGetLinkPermissions_PermissionModelSchema = z.object({\n id: z.string().describe(\"Unique identifier of the permission record\").nullable().optional(),\n UserId: z.number().int().describe(\"ID of the user granted this permission\").nullable().optional(),\n DomainId: z.number().int().describe(\"ID of the domain this permission applies to\").nullable().optional(),\n LinkIdString: z.string().describe(\"String identifier of the link this permission applies to\").nullable().optional(),\n}).passthrough().describe(\"Individual permission record for a link, representing a user's access to the short link.\");\nexport const ShortIoGetLinkPermissionsOutput = z.object({\n permissions: z.array(ShortIoGetLinkPermissions_PermissionModelSchema).describe(\"List of user permission records for the link (empty if no permissions granted)\"),\n}).passthrough().describe(\"Response containing all user permissions configured for a specific short link.\\nReturns an empty list if no permissions have been granted.\");\n\nexport const shortIoGetLinkPermissions = action(\"SHORT_IO_GET_LINK_PERMISSIONS\", {\n slug: \"short_io-get-link-permissions\",\n name: \"Get Link Permissions\",\n description: \"Retrieves all user access permissions for a specific short link within a domain. Use this to check which users have been granted access to view or manage a particular link. Returns an empty list if no special permissions have been configured. Example: \\\"Show me who has access to link 'lnk_5YOn_lR5wxdiv88Qo9ZRF6akPi' in domain '1425403'\\\".\",\n input: ShortIoGetLinkPermissionsInput,\n output: ShortIoGetLinkPermissionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-permissions.mjs","names":[],"sources":["../../src/actions/get-link-permissions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortIo } from \"../app\";\n\nexport const ShortIoGetLinkPermissionsInput = z.object({\n link_id: z.string().describe(\"Unique identifier of the short link (starts with 'lnk_', obtained from link creation responses)\"),\n domain_id: z.string().describe(\"Numeric ID of the domain containing the link (e.g., obtained from link creation responses)\"),\n}).describe(\"Request parameters for listing user permissions on a short link.\");\nconst ShortIoGetLinkPermissions_PermissionModelSchema = z.object({\n id: z.string().describe(\"Unique identifier of the permission record\").nullable().optional(),\n UserId: z.number().int().describe(\"ID of the user granted this permission\").nullable().optional(),\n DomainId: z.number().int().describe(\"ID of the domain this permission applies to\").nullable().optional(),\n LinkIdString: z.string().describe(\"String identifier of the link this permission applies to\").nullable().optional(),\n}).passthrough().describe(\"Individual permission record for a link, representing a user's access to the short link.\");\nexport const ShortIoGetLinkPermissionsOutput = z.object({\n permissions: z.array(ShortIoGetLinkPermissions_PermissionModelSchema).describe(\"List of user permission records for the link (empty if no permissions granted)\"),\n}).passthrough().describe(\"Response containing all user permissions configured for a specific short link.\\nReturns an empty list if no permissions have been granted.\");\n\nexport const shortIoGetLinkPermissions: AppAction<\n typeof ShortIoGetLinkPermissionsInput,\n typeof ShortIoGetLinkPermissionsOutput,\n typeof shortIo.credential\n> = action(\"SHORT_IO_GET_LINK_PERMISSIONS\", {\n slug: \"short_io-get-link-permissions\",\n name: \"Get Link Permissions\",\n description: \"Retrieves all user access permissions for a specific short link within a domain. Use this to check which users have been granted access to view or manage a particular link. Returns an empty list if no special permissions have been configured. Example: \\\"Show me who has access to link 'lnk_5YOn_lR5wxdiv88Qo9ZRF6akPi' in domain '1425403'\\\".\",\n input: ShortIoGetLinkPermissionsInput,\n output: ShortIoGetLinkPermissionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;AAC7H,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0FAA0F;AAKpH,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,aAAa,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,gFAAgF,EACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4IAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-region-list-country.cjs","names":["z","action"],"sources":["../../src/actions/get-link-region-list-country.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkRegionListCountryInput = z.object({\n country: z.string().describe(\"Country code in ISO 3166-1 alpha-2 format\"),\n}).describe(\"Request parameters to list all available regions for a given country.\");\nconst ShortIoGetLinkRegionListCountry_RegionModelSchema = z.object({\n code: z.string().describe(\"Region code, e.g., 'CA' for California\").nullable(),\n name: z.string().describe(\"Human-readable region name\").nullable(),\n}).passthrough();\nexport const ShortIoGetLinkRegionListCountryOutput = z.object({\n regions: z.array(ShortIoGetLinkRegionListCountry_RegionModelSchema).describe(\"List of region objects for the country\"),\n}).passthrough().describe(\"Response schema containing a list of regions for the specified country.\");\n\nexport const shortIoGetLinkRegionListCountry = action(\"SHORT_IO_GET_LINK_REGION_LIST_COUNTRY\", {\n slug: \"short_io-get-link-region-list-country\",\n name: \"Get Link Regions by Country\",\n description: \"Tool to list all regions available for a country. Use when targeting links by region within a specific country.\",\n input: ShortIoGetLinkRegionListCountryInput,\n output: ShortIoGetLinkRegionListCountryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-region-list-country.cjs","names":["z","action"],"sources":["../../src/actions/get-link-region-list-country.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortIo } from \"../app\";\n\nexport const ShortIoGetLinkRegionListCountryInput = z.object({\n country: z.string().describe(\"Country code in ISO 3166-1 alpha-2 format\"),\n}).describe(\"Request parameters to list all available regions for a given country.\");\nconst ShortIoGetLinkRegionListCountry_RegionModelSchema = z.object({\n code: z.string().describe(\"Region code, e.g., 'CA' for California\").nullable(),\n name: z.string().describe(\"Human-readable region name\").nullable(),\n}).passthrough();\nexport const ShortIoGetLinkRegionListCountryOutput = z.object({\n regions: z.array(ShortIoGetLinkRegionListCountry_RegionModelSchema).describe(\"List of region objects for the country\"),\n}).passthrough().describe(\"Response schema containing a list of regions for the specified country.\");\n\nexport const shortIoGetLinkRegionListCountry: AppAction<\n typeof ShortIoGetLinkRegionListCountryInput,\n typeof ShortIoGetLinkRegionListCountryOutput,\n typeof shortIo.credential\n> = action(\"SHORT_IO_GET_LINK_REGION_LIST_COUNTRY\", {\n slug: \"short_io-get-link-region-list-country\",\n name: \"Get Link Regions by Country\",\n description: \"Tool to list all regions available for a country. Use when targeting links by region within a specific country.\",\n input: ShortIoGetLinkRegionListCountryInput,\n output: ShortIoGetLinkRegionListCountryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EAC1E,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,wCAAwC,EACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AAEnG,MAAa,kCAITC,eAAAA,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-link-region-list-country.d.ts
|
|
@@ -10,9 +12,7 @@ declare const ShortIoGetLinkRegionListCountryOutput: z.ZodObject<{
|
|
|
10
12
|
name: z.ZodNullable<z.ZodString>;
|
|
11
13
|
}, z.core.$loose>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const shortIoGetLinkRegionListCountry:
|
|
14
|
-
country: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const shortIoGetLinkRegionListCountry: AppAction<typeof ShortIoGetLinkRegionListCountryInput, typeof ShortIoGetLinkRegionListCountryOutput, typeof shortIo.credential>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { shortIoGetLinkRegionListCountry };
|
|
18
18
|
//# sourceMappingURL=get-link-region-list-country.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-region-list-country.d.cts","names":[],"sources":["../../src/actions/get-link-region-list-country.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-region-list-country.d.cts","names":[],"sources":["../../src/actions/get-link-region-list-country.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAOpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-link-region-list-country.d.ts
|
|
@@ -10,9 +12,7 @@ declare const ShortIoGetLinkRegionListCountryOutput: z.ZodObject<{
|
|
|
10
12
|
name: z.ZodNullable<z.ZodString>;
|
|
11
13
|
}, z.core.$loose>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const shortIoGetLinkRegionListCountry:
|
|
14
|
-
country: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const shortIoGetLinkRegionListCountry: AppAction<typeof ShortIoGetLinkRegionListCountryInput, typeof ShortIoGetLinkRegionListCountryOutput, typeof shortIo.credential>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { shortIoGetLinkRegionListCountry };
|
|
18
18
|
//# sourceMappingURL=get-link-region-list-country.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-region-list-country.d.mts","names":[],"sources":["../../src/actions/get-link-region-list-country.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-region-list-country.d.mts","names":[],"sources":["../../src/actions/get-link-region-list-country.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAOpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-region-list-country.mjs","names":[],"sources":["../../src/actions/get-link-region-list-country.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkRegionListCountryInput = z.object({\n country: z.string().describe(\"Country code in ISO 3166-1 alpha-2 format\"),\n}).describe(\"Request parameters to list all available regions for a given country.\");\nconst ShortIoGetLinkRegionListCountry_RegionModelSchema = z.object({\n code: z.string().describe(\"Region code, e.g., 'CA' for California\").nullable(),\n name: z.string().describe(\"Human-readable region name\").nullable(),\n}).passthrough();\nexport const ShortIoGetLinkRegionListCountryOutput = z.object({\n regions: z.array(ShortIoGetLinkRegionListCountry_RegionModelSchema).describe(\"List of region objects for the country\"),\n}).passthrough().describe(\"Response schema containing a list of regions for the specified country.\");\n\nexport const shortIoGetLinkRegionListCountry = action(\"SHORT_IO_GET_LINK_REGION_LIST_COUNTRY\", {\n slug: \"short_io-get-link-region-list-country\",\n name: \"Get Link Regions by Country\",\n description: \"Tool to list all regions available for a country. Use when targeting links by region within a specific country.\",\n input: ShortIoGetLinkRegionListCountryInput,\n output: ShortIoGetLinkRegionListCountryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-region-list-country.mjs","names":[],"sources":["../../src/actions/get-link-region-list-country.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortIo } from \"../app\";\n\nexport const ShortIoGetLinkRegionListCountryInput = z.object({\n country: z.string().describe(\"Country code in ISO 3166-1 alpha-2 format\"),\n}).describe(\"Request parameters to list all available regions for a given country.\");\nconst ShortIoGetLinkRegionListCountry_RegionModelSchema = z.object({\n code: z.string().describe(\"Region code, e.g., 'CA' for California\").nullable(),\n name: z.string().describe(\"Human-readable region name\").nullable(),\n}).passthrough();\nexport const ShortIoGetLinkRegionListCountryOutput = z.object({\n regions: z.array(ShortIoGetLinkRegionListCountry_RegionModelSchema).describe(\"List of region objects for the country\"),\n}).passthrough().describe(\"Response schema containing a list of regions for the specified country.\");\n\nexport const shortIoGetLinkRegionListCountry: AppAction<\n typeof ShortIoGetLinkRegionListCountryInput,\n typeof ShortIoGetLinkRegionListCountryOutput,\n typeof shortIo.credential\n> = action(\"SHORT_IO_GET_LINK_REGION_LIST_COUNTRY\", {\n slug: \"short_io-get-link-region-list-country\",\n name: \"Get Link Regions by Country\",\n description: \"Tool to list all regions available for a country. Use when targeting links by region within a specific country.\",\n input: ShortIoGetLinkRegionListCountryInput,\n output: ShortIoGetLinkRegionListCountryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EAC1E,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,oDAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,kCAIT,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbmD,EAAE,OAAO,EAC5D,SAAS,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,wCAAwC,EACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-regions.cjs","names":["z","action"],"sources":["../../src/actions/get-link-regions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkRegionsInput = z.object({\n linkId: z.string().describe(\"Unique identifier of the link to fetch region-targeting rules for\"),\n}).describe(\"Request parameters for retrieving region-targeting rules for a specific link.\");\nconst ShortIoGetLinkRegions_LinkRegionSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the region rule\").nullable(),\n linkId: z.string().describe(\"ID of the link to which this rule applies\").nullable(),\n region: z.string().describe(\"ISO 3166-2 subdivision code for targeting\").nullable(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code for targeting\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the rule was created (ISO 8601)\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the rule was last updated (ISO 8601)\").nullable().optional(),\n originalUrl: z.string().describe(\"Target URL for this region\").nullable(),\n}).passthrough().describe(\"Schema for a single region-targeting rule for a link.\");\nexport const ShortIoGetLinkRegionsOutput = z.object({\n regions: z.array(ShortIoGetLinkRegions_LinkRegionSchema).describe(\"List of region-based targeting rules\"),\n}).passthrough().describe(\"Response schema containing the list of region-based targeting rules.\");\n\nexport const shortIoGetLinkRegions = action(\"SHORT_IO_GET_LINK_REGIONS\", {\n slug: \"short_io-get-link-regions\",\n name: \"Get Link Regions\",\n description: \"Retrieves all region-based targeting rules configured for a specific short link. Region targeting allows you to redirect users to different URLs based on their geographic region (e.g., California, Texas) within a country. This provides more granular control than country-level targeting. Returns an empty list if no region targeting rules are configured for the link.\",\n input: ShortIoGetLinkRegionsInput,\n output: ShortIoGetLinkRegionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-link-regions.cjs","names":["z","action"],"sources":["../../src/actions/get-link-regions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortIo } from \"../app\";\n\nexport const ShortIoGetLinkRegionsInput = z.object({\n linkId: z.string().describe(\"Unique identifier of the link to fetch region-targeting rules for\"),\n}).describe(\"Request parameters for retrieving region-targeting rules for a specific link.\");\nconst ShortIoGetLinkRegions_LinkRegionSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the region rule\").nullable(),\n linkId: z.string().describe(\"ID of the link to which this rule applies\").nullable(),\n region: z.string().describe(\"ISO 3166-2 subdivision code for targeting\").nullable(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code for targeting\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the rule was created (ISO 8601)\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the rule was last updated (ISO 8601)\").nullable().optional(),\n originalUrl: z.string().describe(\"Target URL for this region\").nullable(),\n}).passthrough().describe(\"Schema for a single region-targeting rule for a link.\");\nexport const ShortIoGetLinkRegionsOutput = z.object({\n regions: z.array(ShortIoGetLinkRegions_LinkRegionSchema).describe(\"List of region-based targeting rules\"),\n}).passthrough().describe(\"Response schema containing the list of region-based targeting rules.\");\n\nexport const shortIoGetLinkRegions: AppAction<\n typeof ShortIoGetLinkRegionsInput,\n typeof ShortIoGetLinkRegionsOutput,\n typeof shortIo.credential\n> = action(\"SHORT_IO_GET_LINK_REGIONS\", {\n slug: \"short_io-get-link-regions\",\n name: \"Get Link Regions\",\n description: \"Retrieves all region-based targeting rules configured for a specific short link. Region targeting allows you to redirect users to different URLs based on their geographic region (e.g., California, Texas) within a country. This provides more granular control than country-level targeting. Returns an empty list if no region targeting rules are configured for the link.\",\n input: ShortIoGetLinkRegionsInput,\n output: ShortIoGetLinkRegionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,EACjG,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,SAASA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,sCAAsC,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,wBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-link-regions.d.ts
|
|
@@ -15,9 +17,7 @@ declare const ShortIoGetLinkRegionsOutput: z.ZodObject<{
|
|
|
15
17
|
originalUrl: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const shortIoGetLinkRegions:
|
|
19
|
-
linkId: string;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const shortIoGetLinkRegions: AppAction<typeof ShortIoGetLinkRegionsInput, typeof ShortIoGetLinkRegionsOutput, typeof shortIo.credential>;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { shortIoGetLinkRegions };
|
|
23
23
|
//# sourceMappingURL=get-link-regions.d.cts.map
|