@keystrokehq/short_io 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-tag-to-links-bulk.cjs +19 -0
- package/dist/actions/add-tag-to-links-bulk.cjs.map +1 -0
- package/dist/actions/add-tag-to-links-bulk.d.cts +9 -0
- package/dist/actions/add-tag-to-links-bulk.d.cts.map +1 -0
- package/dist/actions/add-tag-to-links-bulk.d.mts +9 -0
- package/dist/actions/add-tag-to-links-bulk.d.mts.map +1 -0
- package/dist/actions/add-tag-to-links-bulk.mjs +16 -0
- package/dist/actions/add-tag-to-links-bulk.mjs.map +1 -0
- package/dist/actions/archive-link.cjs +22 -0
- package/dist/actions/archive-link.cjs.map +1 -0
- package/dist/actions/archive-link.d.cts +9 -0
- package/dist/actions/archive-link.d.cts.map +1 -0
- package/dist/actions/archive-link.d.mts +9 -0
- package/dist/actions/archive-link.d.mts.map +1 -0
- package/dist/actions/archive-link.mjs +19 -0
- package/dist/actions/archive-link.mjs.map +1 -0
- package/dist/actions/create-folder.cjs +23 -0
- package/dist/actions/create-folder.cjs.map +1 -0
- package/dist/actions/create-folder.d.cts +9 -0
- package/dist/actions/create-folder.d.cts.map +1 -0
- package/dist/actions/create-folder.d.mts +9 -0
- package/dist/actions/create-folder.d.mts.map +1 -0
- package/dist/actions/create-folder.mjs +20 -0
- package/dist/actions/create-folder.mjs.map +1 -0
- package/dist/actions/create-link.cjs +40 -0
- package/dist/actions/create-link.cjs.map +1 -0
- package/dist/actions/create-link.d.cts +9 -0
- package/dist/actions/create-link.d.cts.map +1 -0
- package/dist/actions/create-link.d.mts +9 -0
- package/dist/actions/create-link.d.mts.map +1 -0
- package/dist/actions/create-link.mjs +37 -0
- package/dist/actions/create-link.mjs.map +1 -0
- package/dist/actions/delete-link-permission.cjs +23 -0
- package/dist/actions/delete-link-permission.cjs.map +1 -0
- package/dist/actions/delete-link-permission.d.cts +9 -0
- package/dist/actions/delete-link-permission.d.cts.map +1 -0
- package/dist/actions/delete-link-permission.d.mts +9 -0
- package/dist/actions/delete-link-permission.d.mts.map +1 -0
- package/dist/actions/delete-link-permission.mjs +20 -0
- package/dist/actions/delete-link-permission.mjs.map +1 -0
- package/dist/actions/delete-link.cjs +20 -0
- package/dist/actions/delete-link.cjs.map +1 -0
- package/dist/actions/delete-link.d.cts +9 -0
- package/dist/actions/delete-link.d.cts.map +1 -0
- package/dist/actions/delete-link.d.mts +9 -0
- package/dist/actions/delete-link.d.mts.map +1 -0
- package/dist/actions/delete-link.mjs +17 -0
- package/dist/actions/delete-link.mjs.map +1 -0
- package/dist/actions/delete-links-bulk.cjs +16 -0
- package/dist/actions/delete-links-bulk.cjs.map +1 -0
- package/dist/actions/delete-links-bulk.d.cts +9 -0
- package/dist/actions/delete-links-bulk.d.cts.map +1 -0
- package/dist/actions/delete-links-bulk.d.mts +9 -0
- package/dist/actions/delete-links-bulk.d.mts.map +1 -0
- package/dist/actions/delete-links-bulk.mjs +13 -0
- package/dist/actions/delete-links-bulk.mjs.map +1 -0
- package/dist/actions/duplicate-link.cjs +34 -0
- package/dist/actions/duplicate-link.cjs.map +1 -0
- package/dist/actions/duplicate-link.d.cts +9 -0
- package/dist/actions/duplicate-link.d.cts.map +1 -0
- package/dist/actions/duplicate-link.d.mts +9 -0
- package/dist/actions/duplicate-link.d.mts.map +1 -0
- package/dist/actions/duplicate-link.mjs +31 -0
- package/dist/actions/duplicate-link.mjs.map +1 -0
- package/dist/actions/generate-qr-code.cjs +23 -0
- package/dist/actions/generate-qr-code.cjs.map +1 -0
- package/dist/actions/generate-qr-code.d.cts +9 -0
- package/dist/actions/generate-qr-code.d.cts.map +1 -0
- package/dist/actions/generate-qr-code.d.mts +9 -0
- package/dist/actions/generate-qr-code.d.mts.map +1 -0
- package/dist/actions/generate-qr-code.mjs +20 -0
- package/dist/actions/generate-qr-code.mjs.map +1 -0
- package/dist/actions/get-bundle-templates.cjs +23 -0
- package/dist/actions/get-bundle-templates.cjs.map +1 -0
- package/dist/actions/get-bundle-templates.d.cts +9 -0
- package/dist/actions/get-bundle-templates.d.cts.map +1 -0
- package/dist/actions/get-bundle-templates.d.mts +9 -0
- package/dist/actions/get-bundle-templates.d.mts.map +1 -0
- package/dist/actions/get-bundle-templates.mjs +22 -0
- package/dist/actions/get-bundle-templates.mjs.map +1 -0
- package/dist/actions/get-domain-by-id.cjs +43 -0
- package/dist/actions/get-domain-by-id.cjs.map +1 -0
- package/dist/actions/get-domain-by-id.d.cts +9 -0
- package/dist/actions/get-domain-by-id.d.cts.map +1 -0
- package/dist/actions/get-domain-by-id.d.mts +9 -0
- package/dist/actions/get-domain-by-id.d.mts.map +1 -0
- package/dist/actions/get-domain-by-id.mjs +40 -0
- package/dist/actions/get-domain-by-id.mjs.map +1 -0
- package/dist/actions/get-domain-statistics.cjs +82 -0
- package/dist/actions/get-domain-statistics.cjs.map +1 -0
- package/dist/actions/get-domain-statistics.d.cts +9 -0
- package/dist/actions/get-domain-statistics.d.cts.map +1 -0
- package/dist/actions/get-domain-statistics.d.mts +9 -0
- package/dist/actions/get-domain-statistics.d.mts.map +1 -0
- package/dist/actions/get-domain-statistics.mjs +81 -0
- package/dist/actions/get-domain-statistics.mjs.map +1 -0
- package/dist/actions/get-domains-link-clicks.cjs +19 -0
- package/dist/actions/get-domains-link-clicks.cjs.map +1 -0
- package/dist/actions/get-domains-link-clicks.d.cts +9 -0
- package/dist/actions/get-domains-link-clicks.d.cts.map +1 -0
- package/dist/actions/get-domains-link-clicks.d.mts +9 -0
- package/dist/actions/get-domains-link-clicks.d.mts.map +1 -0
- package/dist/actions/get-domains-link-clicks.mjs +16 -0
- package/dist/actions/get-domains-link-clicks.mjs.map +1 -0
- package/dist/actions/get-domains-paths.cjs +36 -0
- package/dist/actions/get-domains-paths.cjs.map +1 -0
- package/dist/actions/get-domains-paths.d.cts +9 -0
- package/dist/actions/get-domains-paths.d.cts.map +1 -0
- package/dist/actions/get-domains-paths.d.mts +9 -0
- package/dist/actions/get-domains-paths.d.mts.map +1 -0
- package/dist/actions/get-domains-paths.mjs +35 -0
- package/dist/actions/get-domains-paths.mjs.map +1 -0
- package/dist/actions/get-folder.cjs +23 -0
- package/dist/actions/get-folder.cjs.map +1 -0
- package/dist/actions/get-folder.d.cts +9 -0
- package/dist/actions/get-folder.d.cts.map +1 -0
- package/dist/actions/get-folder.d.mts +9 -0
- package/dist/actions/get-folder.d.mts.map +1 -0
- package/dist/actions/get-folder.mjs +20 -0
- package/dist/actions/get-folder.mjs.map +1 -0
- package/dist/actions/get-link-by-original-url.cjs +38 -0
- package/dist/actions/get-link-by-original-url.cjs.map +1 -0
- package/dist/actions/get-link-by-original-url.d.cts +9 -0
- package/dist/actions/get-link-by-original-url.d.cts.map +1 -0
- package/dist/actions/get-link-by-original-url.d.mts +9 -0
- package/dist/actions/get-link-by-original-url.d.mts.map +1 -0
- package/dist/actions/get-link-by-original-url.mjs +37 -0
- package/dist/actions/get-link-by-original-url.mjs.map +1 -0
- package/dist/actions/get-link-countries.cjs +24 -0
- package/dist/actions/get-link-countries.cjs.map +1 -0
- package/dist/actions/get-link-countries.d.cts +9 -0
- package/dist/actions/get-link-countries.d.cts.map +1 -0
- package/dist/actions/get-link-countries.d.mts +9 -0
- package/dist/actions/get-link-countries.d.mts.map +1 -0
- package/dist/actions/get-link-countries.mjs +23 -0
- package/dist/actions/get-link-countries.mjs.map +1 -0
- package/dist/actions/get-link-info-by-link-id.cjs +40 -0
- package/dist/actions/get-link-info-by-link-id.cjs.map +1 -0
- package/dist/actions/get-link-info-by-link-id.d.cts +9 -0
- package/dist/actions/get-link-info-by-link-id.d.cts.map +1 -0
- package/dist/actions/get-link-info-by-link-id.d.mts +9 -0
- package/dist/actions/get-link-info-by-link-id.d.mts.map +1 -0
- package/dist/actions/get-link-info-by-link-id.mjs +37 -0
- package/dist/actions/get-link-info-by-link-id.mjs.map +1 -0
- package/dist/actions/get-link-info-by-path.cjs +38 -0
- package/dist/actions/get-link-info-by-path.cjs.map +1 -0
- package/dist/actions/get-link-info-by-path.d.cts +9 -0
- package/dist/actions/get-link-info-by-path.d.cts.map +1 -0
- package/dist/actions/get-link-info-by-path.d.mts +9 -0
- package/dist/actions/get-link-info-by-path.d.mts.map +1 -0
- package/dist/actions/get-link-info-by-path.mjs +35 -0
- package/dist/actions/get-link-info-by-path.mjs.map +1 -0
- package/dist/actions/get-link-open-graph-properties.cjs +26 -0
- package/dist/actions/get-link-open-graph-properties.cjs.map +1 -0
- package/dist/actions/get-link-open-graph-properties.d.cts +9 -0
- package/dist/actions/get-link-open-graph-properties.d.cts.map +1 -0
- package/dist/actions/get-link-open-graph-properties.d.mts +9 -0
- package/dist/actions/get-link-open-graph-properties.d.mts.map +1 -0
- package/dist/actions/get-link-open-graph-properties.mjs +23 -0
- package/dist/actions/get-link-open-graph-properties.mjs.map +1 -0
- package/dist/actions/get-link-permissions.cjs +25 -0
- package/dist/actions/get-link-permissions.cjs.map +1 -0
- package/dist/actions/get-link-permissions.d.cts +9 -0
- package/dist/actions/get-link-permissions.d.cts.map +1 -0
- package/dist/actions/get-link-permissions.d.mts +9 -0
- package/dist/actions/get-link-permissions.d.mts.map +1 -0
- package/dist/actions/get-link-permissions.mjs +24 -0
- package/dist/actions/get-link-permissions.mjs.map +1 -0
- package/dist/actions/get-link-region-list-country.cjs +20 -0
- package/dist/actions/get-link-region-list-country.cjs.map +1 -0
- package/dist/actions/get-link-region-list-country.d.cts +9 -0
- package/dist/actions/get-link-region-list-country.d.cts.map +1 -0
- package/dist/actions/get-link-region-list-country.d.mts +9 -0
- package/dist/actions/get-link-region-list-country.d.mts.map +1 -0
- package/dist/actions/get-link-region-list-country.mjs +19 -0
- package/dist/actions/get-link-region-list-country.mjs.map +1 -0
- package/dist/actions/get-link-regions.cjs +25 -0
- package/dist/actions/get-link-regions.cjs.map +1 -0
- package/dist/actions/get-link-regions.d.cts +9 -0
- package/dist/actions/get-link-regions.d.cts.map +1 -0
- package/dist/actions/get-link-regions.d.mts +9 -0
- package/dist/actions/get-link-regions.d.mts.map +1 -0
- package/dist/actions/get-link-regions.mjs +24 -0
- package/dist/actions/get-link-regions.mjs.map +1 -0
- package/dist/actions/get-link-statistics.cjs +63 -0
- package/dist/actions/get-link-statistics.cjs.map +1 -0
- package/dist/actions/get-link-statistics.d.cts +9 -0
- package/dist/actions/get-link-statistics.d.cts.map +1 -0
- package/dist/actions/get-link-statistics.d.mts +9 -0
- package/dist/actions/get-link-statistics.d.mts.map +1 -0
- package/dist/actions/get-link-statistics.mjs +62 -0
- package/dist/actions/get-link-statistics.mjs.map +1 -0
- package/dist/actions/get-link-tweetbot.cjs +22 -0
- package/dist/actions/get-link-tweetbot.cjs.map +1 -0
- package/dist/actions/get-link-tweetbot.d.cts +9 -0
- package/dist/actions/get-link-tweetbot.d.cts.map +1 -0
- package/dist/actions/get-link-tweetbot.d.mts +9 -0
- package/dist/actions/get-link-tweetbot.d.mts.map +1 -0
- package/dist/actions/get-link-tweetbot.mjs +19 -0
- package/dist/actions/get-link-tweetbot.mjs.map +1 -0
- package/dist/actions/get-links-by-original-url.cjs +44 -0
- package/dist/actions/get-links-by-original-url.cjs.map +1 -0
- package/dist/actions/get-links-by-original-url.d.cts +9 -0
- package/dist/actions/get-links-by-original-url.d.cts.map +1 -0
- package/dist/actions/get-links-by-original-url.d.mts +9 -0
- package/dist/actions/get-links-by-original-url.d.mts.map +1 -0
- package/dist/actions/get-links-by-original-url.mjs +43 -0
- package/dist/actions/get-links-by-original-url.mjs.map +1 -0
- package/dist/actions/get-links-list.cjs +44 -0
- package/dist/actions/get-links-list.cjs.map +1 -0
- package/dist/actions/get-links-list.d.cts +9 -0
- package/dist/actions/get-links-list.d.cts.map +1 -0
- package/dist/actions/get-links-list.d.mts +9 -0
- package/dist/actions/get-links-list.d.mts.map +1 -0
- package/dist/actions/get-links-list.mjs +43 -0
- package/dist/actions/get-links-list.mjs.map +1 -0
- package/dist/actions/index.cjs +83 -0
- package/dist/actions/index.d.cts +42 -0
- package/dist/actions/index.d.mts +42 -0
- package/dist/actions/index.mjs +42 -0
- package/dist/actions/list-domains.cjs +44 -0
- package/dist/actions/list-domains.cjs.map +1 -0
- package/dist/actions/list-domains.d.cts +9 -0
- package/dist/actions/list-domains.d.cts.map +1 -0
- package/dist/actions/list-domains.d.mts +9 -0
- package/dist/actions/list-domains.d.mts.map +1 -0
- package/dist/actions/list-domains.mjs +43 -0
- package/dist/actions/list-domains.mjs.map +1 -0
- package/dist/actions/list-folders.cjs +21 -0
- package/dist/actions/list-folders.cjs.map +1 -0
- package/dist/actions/list-folders.d.cts +9 -0
- package/dist/actions/list-folders.d.cts.map +1 -0
- package/dist/actions/list-folders.d.mts +9 -0
- package/dist/actions/list-folders.d.mts.map +1 -0
- package/dist/actions/list-folders.mjs +20 -0
- package/dist/actions/list-folders.mjs.map +1 -0
- package/dist/actions/post-domain-link-clicks.cjs +24 -0
- package/dist/actions/post-domain-link-clicks.cjs.map +1 -0
- package/dist/actions/post-domain-link-clicks.d.cts +9 -0
- package/dist/actions/post-domain-link-clicks.d.cts.map +1 -0
- package/dist/actions/post-domain-link-clicks.d.mts +9 -0
- package/dist/actions/post-domain-link-clicks.d.mts.map +1 -0
- package/dist/actions/post-domain-link-clicks.mjs +21 -0
- package/dist/actions/post-domain-link-clicks.mjs.map +1 -0
- package/dist/actions/post-domain-stats.cjs +105 -0
- package/dist/actions/post-domain-stats.cjs.map +1 -0
- package/dist/actions/post-domain-stats.d.cts +9 -0
- package/dist/actions/post-domain-stats.d.cts.map +1 -0
- package/dist/actions/post-domain-stats.d.mts +9 -0
- package/dist/actions/post-domain-stats.d.mts.map +1 -0
- package/dist/actions/post-domain-stats.mjs +104 -0
- package/dist/actions/post-domain-stats.mjs.map +1 -0
- package/dist/actions/post-domains-by-interval.cjs +36 -0
- package/dist/actions/post-domains-by-interval.cjs.map +1 -0
- package/dist/actions/post-domains-by-interval.d.cts +9 -0
- package/dist/actions/post-domains-by-interval.d.cts.map +1 -0
- package/dist/actions/post-domains-by-interval.d.mts +9 -0
- package/dist/actions/post-domains-by-interval.d.mts.map +1 -0
- package/dist/actions/post-domains-by-interval.mjs +35 -0
- package/dist/actions/post-domains-by-interval.mjs.map +1 -0
- package/dist/actions/post-domains-last-clicks.cjs +62 -0
- package/dist/actions/post-domains-last-clicks.cjs.map +1 -0
- package/dist/actions/post-domains-last-clicks.d.cts +9 -0
- package/dist/actions/post-domains-last-clicks.d.cts.map +1 -0
- package/dist/actions/post-domains-last-clicks.d.mts +9 -0
- package/dist/actions/post-domains-last-clicks.d.mts.map +1 -0
- package/dist/actions/post-domains-last-clicks.mjs +61 -0
- package/dist/actions/post-domains-last-clicks.mjs.map +1 -0
- package/dist/actions/post-domains-top.cjs +24 -0
- package/dist/actions/post-domains-top.cjs.map +1 -0
- package/dist/actions/post-domains-top.d.cts +9 -0
- package/dist/actions/post-domains-top.d.cts.map +1 -0
- package/dist/actions/post-domains-top.d.mts +9 -0
- package/dist/actions/post-domains-top.d.mts.map +1 -0
- package/dist/actions/post-domains-top.mjs +23 -0
- package/dist/actions/post-domains-top.mjs.map +1 -0
- package/dist/actions/post-links-archive-bulk.cjs +22 -0
- package/dist/actions/post-links-archive-bulk.cjs.map +1 -0
- package/dist/actions/post-links-archive-bulk.d.cts +9 -0
- package/dist/actions/post-links-archive-bulk.d.cts.map +1 -0
- package/dist/actions/post-links-archive-bulk.d.mts +9 -0
- package/dist/actions/post-links-archive-bulk.d.mts.map +1 -0
- package/dist/actions/post-links-archive-bulk.mjs +19 -0
- package/dist/actions/post-links-archive-bulk.mjs.map +1 -0
- package/dist/actions/post-links-bulk.cjs +43 -0
- package/dist/actions/post-links-bulk.cjs.map +1 -0
- package/dist/actions/post-links-bulk.d.cts +9 -0
- package/dist/actions/post-links-bulk.d.cts.map +1 -0
- package/dist/actions/post-links-bulk.d.mts +9 -0
- package/dist/actions/post-links-bulk.d.mts.map +1 -0
- package/dist/actions/post-links-bulk.mjs +42 -0
- package/dist/actions/post-links-bulk.mjs.map +1 -0
- package/dist/actions/post-links-qr-bulk.cjs +25 -0
- package/dist/actions/post-links-qr-bulk.cjs.map +1 -0
- package/dist/actions/post-links-qr-bulk.d.cts +9 -0
- package/dist/actions/post-links-qr-bulk.d.cts.map +1 -0
- package/dist/actions/post-links-qr-bulk.d.mts +9 -0
- package/dist/actions/post-links-qr-bulk.d.mts.map +1 -0
- package/dist/actions/post-links-qr-bulk.mjs +22 -0
- package/dist/actions/post-links-qr-bulk.mjs.map +1 -0
- package/dist/actions/post-links-unarchive-bulk.cjs +19 -0
- package/dist/actions/post-links-unarchive-bulk.cjs.map +1 -0
- package/dist/actions/post-links-unarchive-bulk.d.cts +9 -0
- package/dist/actions/post-links-unarchive-bulk.d.cts.map +1 -0
- package/dist/actions/post-links-unarchive-bulk.d.mts +9 -0
- package/dist/actions/post-links-unarchive-bulk.d.mts.map +1 -0
- package/dist/actions/post-links-unarchive-bulk.mjs +16 -0
- package/dist/actions/post-links-unarchive-bulk.mjs.map +1 -0
- package/dist/actions/unarchive-link.cjs +22 -0
- package/dist/actions/unarchive-link.cjs.map +1 -0
- package/dist/actions/unarchive-link.d.cts +9 -0
- package/dist/actions/unarchive-link.d.cts.map +1 -0
- package/dist/actions/unarchive-link.d.mts +9 -0
- package/dist/actions/unarchive-link.d.mts.map +1 -0
- package/dist/actions/unarchive-link.mjs +19 -0
- package/dist/actions/unarchive-link.mjs.map +1 -0
- package/dist/actions/update-domain-settings.cjs +19 -0
- package/dist/actions/update-domain-settings.cjs.map +1 -0
- package/dist/actions/update-domain-settings.d.cts +9 -0
- package/dist/actions/update-domain-settings.d.cts.map +1 -0
- package/dist/actions/update-domain-settings.d.mts +9 -0
- package/dist/actions/update-domain-settings.d.mts.map +1 -0
- package/dist/actions/update-domain-settings.mjs +16 -0
- package/dist/actions/update-domain-settings.mjs.map +1 -0
- package/dist/actions/update-link.cjs +73 -0
- package/dist/actions/update-link.cjs.map +1 -0
- package/dist/actions/update-link.d.cts +9 -0
- package/dist/actions/update-link.d.cts.map +1 -0
- package/dist/actions/update-link.d.mts +9 -0
- package/dist/actions/update-link.d.mts.map +1 -0
- package/dist/actions/update-link.mjs +70 -0
- package/dist/actions/update-link.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +88 -0
- package/dist/index.d.cts +44 -0
- package/dist/index.d.mts +44 -0
- package/dist/index.mjs +45 -0
- package/package.json +49 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-link-permissions.d.ts
|
|
4
|
+
declare const ShortIoGetLinkPermissionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkPermissionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkPermissions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkPermissions };
|
|
9
|
+
//# sourceMappingURL=get-link-permissions.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-permissions.d.cts","names":[],"sources":["../../src/actions/get-link-permissions.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGgC;AAAA,cAOlE,+BAAA,EAAiC,CAAA,CAAE,UAEyG;AAAA,cAE5I,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-link-permissions.d.ts
|
|
4
|
+
declare const ShortIoGetLinkPermissionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkPermissionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkPermissions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkPermissions };
|
|
9
|
+
//# sourceMappingURL=get-link-permissions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-permissions.d.mts","names":[],"sources":["../../src/actions/get-link-permissions.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGgC;AAAA,cAOlE,+BAAA,EAAiC,CAAA,CAAE,UAEyG;AAAA,cAE5I,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-link-permissions.ts
|
|
4
|
+
const ShortIoGetLinkPermissionsInput = z.object({
|
|
5
|
+
link_id: z.string().describe("Unique identifier of the short link (starts with 'lnk_', obtained from link creation responses)"),
|
|
6
|
+
domain_id: z.string().describe("Numeric ID of the domain containing the link (e.g., obtained from link creation responses)")
|
|
7
|
+
}).describe("Request parameters for listing user permissions on a short link.");
|
|
8
|
+
const ShortIoGetLinkPermissions_PermissionModelSchema = z.object({
|
|
9
|
+
id: z.string().describe("Unique identifier of the permission record").nullable().optional(),
|
|
10
|
+
UserId: z.number().int().describe("ID of the user granted this permission").nullable().optional(),
|
|
11
|
+
DomainId: z.number().int().describe("ID of the domain this permission applies to").nullable().optional(),
|
|
12
|
+
LinkIdString: z.string().describe("String identifier of the link this permission applies to").nullable().optional()
|
|
13
|
+
}).describe("Individual permission record for a link, representing a user's access to the short link.");
|
|
14
|
+
const shortIoGetLinkPermissions = action("SHORT_IO_GET_LINK_PERMISSIONS", {
|
|
15
|
+
slug: "short_io-get-link-permissions",
|
|
16
|
+
name: "Get Link Permissions",
|
|
17
|
+
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'\".",
|
|
18
|
+
input: ShortIoGetLinkPermissionsInput,
|
|
19
|
+
output: z.object({ permissions: z.array(ShortIoGetLinkPermissions_PermissionModelSchema).describe("List of user permission records for the link (empty if no permissions granted)") }).describe("Response containing all user permissions configured for a specific short link.\nReturns an empty list if no permissions have been granted.")
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { shortIoGetLinkPermissions };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=get-link-permissions.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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}).describe(\"Individual permission record for a link, representing a user's access to the short link.\");\nexport const ShortIoGetLinkPermissionsOutput: z.ZodTypeAny = z.object({\n permissions: z.array(ShortIoGetLinkPermissions_PermissionModelSchema).describe(\"List of user permission records for the link (empty if no permissions granted)\"),\n}).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":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;AAC7H,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,kDAAgE,EAAE,OAAO;CAC7E,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,SAAS,0FAA0F;AAKtG,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,aAAa,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,gFAAgF,EACjK,CAAC,CAAC,CAAC,SAAS,4IAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-link-region-list-country.ts
|
|
4
|
+
const ShortIoGetLinkRegionListCountryInput = zod.z.object({ country: zod.z.string().describe("Country code in ISO 3166-1 alpha-2 format") }).describe("Request parameters to list all available regions for a given country.");
|
|
5
|
+
const ShortIoGetLinkRegionListCountry_RegionModelSchema = zod.z.object({
|
|
6
|
+
code: zod.z.string().describe("Region code, e.g., 'CA' for California"),
|
|
7
|
+
name: zod.z.string().describe("Human-readable region name")
|
|
8
|
+
});
|
|
9
|
+
const ShortIoGetLinkRegionListCountryOutput = zod.z.object({ regions: zod.z.array(ShortIoGetLinkRegionListCountry_RegionModelSchema).describe("List of region objects for the country") }).describe("Response schema containing a list of regions for the specified country.");
|
|
10
|
+
const shortIoGetLinkRegionListCountry = require_action.action("SHORT_IO_GET_LINK_REGION_LIST_COUNTRY", {
|
|
11
|
+
slug: "short_io-get-link-region-list-country",
|
|
12
|
+
name: "Get Link Regions by Country",
|
|
13
|
+
description: "Tool to list all regions available for a country. Use when targeting links by region within a specific country.",
|
|
14
|
+
input: ShortIoGetLinkRegionListCountryInput,
|
|
15
|
+
output: ShortIoGetLinkRegionListCountryOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.shortIoGetLinkRegionListCountry = shortIoGetLinkRegionListCountry;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=get-link-region-list-country.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n code: z.string().describe(\"Region code, e.g., 'CA' for California\"),\n name: z.string().describe(\"Human-readable region name\"),\n});\nexport const ShortIoGetLinkRegionListCountryOutput: z.ZodTypeAny = z.object({\n regions: z.array(ShortIoGetLinkRegionListCountry_RegionModelSchema).describe(\"List of region objects for the country\"),\n}).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":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EAC1E,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AACxD,CAAC;AACD,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,SAASA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,wCAAwC,EACvH,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAErF,MAAa,kCAAkCC,eAAAA,OAAO,yCAAyC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-link-region-list-country.d.ts
|
|
4
|
+
declare const ShortIoGetLinkRegionListCountryInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkRegionListCountryOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkRegionListCountry: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkRegionListCountry };
|
|
9
|
+
//# sourceMappingURL=get-link-region-list-country.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-region-list-country.d.cts","names":[],"sources":["../../src/actions/get-link-region-list-country.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAE+B;AAAA,cAKvE,qCAAA,EAAuC,CAAA,CAAE,UAEgC;AAAA,cAEzE,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-link-region-list-country.d.ts
|
|
4
|
+
declare const ShortIoGetLinkRegionListCountryInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkRegionListCountryOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkRegionListCountry: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkRegionListCountry };
|
|
9
|
+
//# sourceMappingURL=get-link-region-list-country.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-region-list-country.d.mts","names":[],"sources":["../../src/actions/get-link-region-list-country.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAE+B;AAAA,cAKvE,qCAAA,EAAuC,CAAA,CAAE,UAEgC;AAAA,cAEzE,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-link-region-list-country.ts
|
|
4
|
+
const ShortIoGetLinkRegionListCountryInput = z.object({ country: z.string().describe("Country code in ISO 3166-1 alpha-2 format") }).describe("Request parameters to list all available regions for a given country.");
|
|
5
|
+
const ShortIoGetLinkRegionListCountry_RegionModelSchema = z.object({
|
|
6
|
+
code: z.string().describe("Region code, e.g., 'CA' for California"),
|
|
7
|
+
name: z.string().describe("Human-readable region name")
|
|
8
|
+
});
|
|
9
|
+
const shortIoGetLinkRegionListCountry = action("SHORT_IO_GET_LINK_REGION_LIST_COUNTRY", {
|
|
10
|
+
slug: "short_io-get-link-region-list-country",
|
|
11
|
+
name: "Get Link Regions by Country",
|
|
12
|
+
description: "Tool to list all regions available for a country. Use when targeting links by region within a specific country.",
|
|
13
|
+
input: ShortIoGetLinkRegionListCountryInput,
|
|
14
|
+
output: z.object({ regions: z.array(ShortIoGetLinkRegionListCountry_RegionModelSchema).describe("List of region objects for the country") }).describe("Response schema containing a list of regions for the specified country.")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { shortIoGetLinkRegionListCountry };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=get-link-region-list-country.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n code: z.string().describe(\"Region code, e.g., 'CA' for California\"),\n name: z.string().describe(\"Human-readable region name\"),\n});\nexport const ShortIoGetLinkRegionListCountryOutput: z.ZodTypeAny = z.object({\n regions: z.array(ShortIoGetLinkRegionListCountry_RegionModelSchema).describe(\"List of region objects for the country\"),\n}).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":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO,EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EAC1E,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,oDAAkE,EAAE,OAAO;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AACxD,CAAC;AAKD,MAAa,kCAAkC,OAAO,yCAAyC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiE,EAAE,OAAO,EAC1E,SAAS,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,wCAAwC,EACvH,CAAC,CAAC,CAAC,SAAS,yEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-link-regions.ts
|
|
4
|
+
const ShortIoGetLinkRegionsInput = zod.z.object({ linkId: zod.z.string().describe("Unique identifier of the link to fetch region-targeting rules for") }).describe("Request parameters for retrieving region-targeting rules for a specific link.");
|
|
5
|
+
const ShortIoGetLinkRegions_LinkRegionSchema = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier of the region rule"),
|
|
7
|
+
linkId: zod.z.string().describe("ID of the link to which this rule applies"),
|
|
8
|
+
region: zod.z.string().describe("ISO 3166-2 subdivision code for targeting"),
|
|
9
|
+
country: zod.z.string().describe("ISO 3166-1 alpha-2 country code for targeting"),
|
|
10
|
+
createdAt: zod.z.string().describe("Timestamp when the rule was created (ISO 8601)").nullable().optional(),
|
|
11
|
+
updatedAt: zod.z.string().describe("Timestamp when the rule was last updated (ISO 8601)").nullable().optional(),
|
|
12
|
+
originalUrl: zod.z.string().describe("Target URL for this region")
|
|
13
|
+
}).describe("Schema for a single region-targeting rule for a link.");
|
|
14
|
+
const ShortIoGetLinkRegionsOutput = zod.z.object({ regions: zod.z.array(ShortIoGetLinkRegions_LinkRegionSchema).describe("List of region-based targeting rules") }).describe("Response schema containing the list of region-based targeting rules.");
|
|
15
|
+
const shortIoGetLinkRegions = require_action.action("SHORT_IO_GET_LINK_REGIONS", {
|
|
16
|
+
slug: "short_io-get-link-regions",
|
|
17
|
+
name: "Get Link Regions",
|
|
18
|
+
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.",
|
|
19
|
+
input: ShortIoGetLinkRegionsInput,
|
|
20
|
+
output: ShortIoGetLinkRegionsOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.shortIoGetLinkRegions = shortIoGetLinkRegions;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=get-link-regions.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the region rule\"),\n linkId: z.string().describe(\"ID of the link to which this rule applies\"),\n region: z.string().describe(\"ISO 3166-2 subdivision code for targeting\"),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code for targeting\"),\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\"),\n}).describe(\"Schema for a single region-targeting rule for a link.\");\nexport const ShortIoGetLinkRegionsOutput: z.ZodTypeAny = z.object({\n regions: z.array(ShortIoGetLinkRegions_LinkRegionSchema).describe(\"List of region-based targeting rules\"),\n}).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":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,EACjG,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC5E,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;AAC/D,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,SAASA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,sCAAsC,EAC1G,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAElF,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-link-regions.d.ts
|
|
4
|
+
declare const ShortIoGetLinkRegionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkRegionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkRegions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkRegions };
|
|
9
|
+
//# sourceMappingURL=get-link-regions.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-regions.d.cts","names":[],"sources":["../../src/actions/get-link-regions.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEiD;AAAA,cAU/E,2BAAA,EAA6B,CAAA,CAAE,UAEuC;AAAA,cAEtE,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-link-regions.d.ts
|
|
4
|
+
declare const ShortIoGetLinkRegionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkRegionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkRegions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkRegions };
|
|
9
|
+
//# sourceMappingURL=get-link-regions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-regions.d.mts","names":[],"sources":["../../src/actions/get-link-regions.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEiD;AAAA,cAU/E,2BAAA,EAA6B,CAAA,CAAE,UAEuC;AAAA,cAEtE,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-link-regions.ts
|
|
4
|
+
const ShortIoGetLinkRegionsInput = z.object({ linkId: z.string().describe("Unique identifier of the link to fetch region-targeting rules for") }).describe("Request parameters for retrieving region-targeting rules for a specific link.");
|
|
5
|
+
const ShortIoGetLinkRegions_LinkRegionSchema = z.object({
|
|
6
|
+
id: z.number().int().describe("Unique identifier of the region rule"),
|
|
7
|
+
linkId: z.string().describe("ID of the link to which this rule applies"),
|
|
8
|
+
region: z.string().describe("ISO 3166-2 subdivision code for targeting"),
|
|
9
|
+
country: z.string().describe("ISO 3166-1 alpha-2 country code for targeting"),
|
|
10
|
+
createdAt: z.string().describe("Timestamp when the rule was created (ISO 8601)").nullable().optional(),
|
|
11
|
+
updatedAt: z.string().describe("Timestamp when the rule was last updated (ISO 8601)").nullable().optional(),
|
|
12
|
+
originalUrl: z.string().describe("Target URL for this region")
|
|
13
|
+
}).describe("Schema for a single region-targeting rule for a link.");
|
|
14
|
+
const shortIoGetLinkRegions = action("SHORT_IO_GET_LINK_REGIONS", {
|
|
15
|
+
slug: "short_io-get-link-regions",
|
|
16
|
+
name: "Get Link Regions",
|
|
17
|
+
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.",
|
|
18
|
+
input: ShortIoGetLinkRegionsInput,
|
|
19
|
+
output: z.object({ regions: z.array(ShortIoGetLinkRegions_LinkRegionSchema).describe("List of region-based targeting rules") }).describe("Response schema containing the list of region-based targeting rules.")
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { shortIoGetLinkRegions };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=get-link-regions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-regions.mjs","names":[],"sources":["../../src/actions/get-link-regions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkRegionsInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the region rule\"),\n linkId: z.string().describe(\"ID of the link to which this rule applies\"),\n region: z.string().describe(\"ISO 3166-2 subdivision code for targeting\"),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code for targeting\"),\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\"),\n}).describe(\"Schema for a single region-targeting rule for a link.\");\nexport const ShortIoGetLinkRegionsOutput: z.ZodTypeAny = z.object({\n regions: z.array(ShortIoGetLinkRegions_LinkRegionSchema).describe(\"List of region-based targeting rules\"),\n}).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":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO,EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,EACjG,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,yCAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AAC/D,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAKnE,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,SAAS,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,sCAAsC,EAC1G,CAAC,CAAC,CAAC,SAAS,sEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-link-statistics.ts
|
|
4
|
+
const ShortIoGetLinkStatisticsInput = zod.z.object({
|
|
5
|
+
tz: zod.z.string().default("UTC").describe("IANA timezone for grouping; defaults to UTC.").optional(),
|
|
6
|
+
linkId: zod.z.string().describe("Unique identifier of the short link."),
|
|
7
|
+
period: zod.z.enum([
|
|
8
|
+
"custom",
|
|
9
|
+
"today",
|
|
10
|
+
"yesterday",
|
|
11
|
+
"total",
|
|
12
|
+
"week",
|
|
13
|
+
"month",
|
|
14
|
+
"lastmonth",
|
|
15
|
+
"last7",
|
|
16
|
+
"last30"
|
|
17
|
+
]).default("last30").describe("Time interval for statistics; defaults to last30. Use 'custom' for custom dates.").optional(),
|
|
18
|
+
endDate: zod.z.string().describe("End date for custom interval (YYYY-MM-DD); required if period is 'custom'.").optional(),
|
|
19
|
+
skipTops: zod.z.boolean().default(false).describe("Whether to skip top referrer records; defaults to false.").optional(),
|
|
20
|
+
startDate: zod.z.string().describe("Start date for custom interval (YYYY-MM-DD); required if period is 'custom'.").optional(),
|
|
21
|
+
clicksChartInterval: zod.z.enum([
|
|
22
|
+
"hour",
|
|
23
|
+
"day",
|
|
24
|
+
"week",
|
|
25
|
+
"month"
|
|
26
|
+
]).describe("Granularity for click statistics chart; one of hour, day, week, month.").optional()
|
|
27
|
+
}).describe("Request parameters for retrieving detailed click statistics for a specific link.");
|
|
28
|
+
const ShortIoGetLinkStatistics_RefererSchema = zod.z.object({
|
|
29
|
+
clicks: zod.z.number().int().describe("Number of clicks from this referrer."),
|
|
30
|
+
referer: zod.z.string().describe("Referrer source (e.g., domain or URL).")
|
|
31
|
+
}).describe("Referrer record with click counts.");
|
|
32
|
+
const ShortIoGetLinkStatistics_IntervalSchema = zod.z.object({
|
|
33
|
+
endDate: zod.z.string().describe("Interval end timestamp (null for 'total' period).").nullable().optional(),
|
|
34
|
+
startDate: zod.z.string().describe("Interval start timestamp (null for 'total' period).").nullable().optional(),
|
|
35
|
+
prevEndDate: zod.z.string().describe("Previous interval end timestamp (null for 'total' period).").nullable().optional(),
|
|
36
|
+
prevStartDate: zod.z.string().describe("Previous interval start timestamp (null for 'total' period).").nullable().optional()
|
|
37
|
+
}).describe("Time interval metadata for the statistics comparison.");
|
|
38
|
+
const ShortIoGetLinkStatistics_DataPointSchema = zod.z.object({
|
|
39
|
+
x: zod.z.string().describe("Timestamp of this data point."),
|
|
40
|
+
y: zod.z.number().int().describe("Click count at this timestamp.")
|
|
41
|
+
}).describe("Single data point in the click statistics chart.");
|
|
42
|
+
const ShortIoGetLinkStatistics_DatasetSchema = zod.z.object({ data: zod.z.array(ShortIoGetLinkStatistics_DataPointSchema).describe("List of chart data points.") }).describe("Dataset series for the click statistics chart.");
|
|
43
|
+
const ShortIoGetLinkStatistics_ClickStatisticsSchema = zod.z.object({ datasets: zod.z.array(ShortIoGetLinkStatistics_DatasetSchema).describe("Chart datasets.") }).describe("Click statistics chart datasets.");
|
|
44
|
+
const ShortIoGetLinkStatisticsOutput = zod.z.object({
|
|
45
|
+
referer: zod.z.array(ShortIoGetLinkStatistics_RefererSchema).default([]).describe("Top referrer records (empty/omitted when skipTops is true).").nullable().optional(),
|
|
46
|
+
interval: ShortIoGetLinkStatistics_IntervalSchema.nullable(),
|
|
47
|
+
humanClicks: zod.z.number().int().describe("Total human clicks (excludes bots)."),
|
|
48
|
+
totalClicks: zod.z.number().int().describe("Total number of clicks."),
|
|
49
|
+
clickStatistics: ShortIoGetLinkStatistics_ClickStatisticsSchema.nullable(),
|
|
50
|
+
humanClicksChange: zod.z.string().describe("Percentage change in human clicks."),
|
|
51
|
+
totalClicksChange: zod.z.string().describe("Percentage change in total clicks.")
|
|
52
|
+
}).describe("Detailed click statistics for a specific link.");
|
|
53
|
+
const shortIoGetLinkStatistics = require_action.action("SHORT_IO_GET_LINK_STATISTICS", {
|
|
54
|
+
slug: "short_io-get-link-statistics",
|
|
55
|
+
name: "Get Link Statistics",
|
|
56
|
+
description: "Tool to get click statistics for a specific link. Use when you need detailed click metrics over a specified interval.",
|
|
57
|
+
input: ShortIoGetLinkStatisticsInput,
|
|
58
|
+
output: ShortIoGetLinkStatisticsOutput
|
|
59
|
+
});
|
|
60
|
+
//#endregion
|
|
61
|
+
exports.shortIoGetLinkStatistics = shortIoGetLinkStatistics;
|
|
62
|
+
|
|
63
|
+
//# sourceMappingURL=get-link-statistics.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-statistics.cjs","names":["z","action"],"sources":["../../src/actions/get-link-statistics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkStatisticsInput: z.ZodTypeAny = z.object({\n tz: z.string().default(\"UTC\").describe(\"IANA timezone for grouping; defaults to UTC.\").optional(),\n linkId: z.string().describe(\"Unique identifier of the short link.\"),\n period: z.enum([\"custom\", \"today\", \"yesterday\", \"total\", \"week\", \"month\", \"lastmonth\", \"last7\", \"last30\"]).default(\"last30\").describe(\"Time interval for statistics; defaults to last30. Use 'custom' for custom dates.\").optional(),\n endDate: z.string().describe(\"End date for custom interval (YYYY-MM-DD); required if period is 'custom'.\").optional(),\n skipTops: z.boolean().default(false).describe(\"Whether to skip top referrer records; defaults to false.\").optional(),\n startDate: z.string().describe(\"Start date for custom interval (YYYY-MM-DD); required if period is 'custom'.\").optional(),\n clicksChartInterval: z.enum([\"hour\", \"day\", \"week\", \"month\"]).describe(\"Granularity for click statistics chart; one of hour, day, week, month.\").optional(),\n}).describe(\"Request parameters for retrieving detailed click statistics for a specific link.\");\nconst ShortIoGetLinkStatistics_RefererSchema: z.ZodTypeAny = z.object({\n clicks: z.number().int().describe(\"Number of clicks from this referrer.\"),\n referer: z.string().describe(\"Referrer source (e.g., domain or URL).\"),\n}).describe(\"Referrer record with click counts.\");\nconst ShortIoGetLinkStatistics_IntervalSchema: z.ZodTypeAny = z.object({\n endDate: z.string().describe(\"Interval end timestamp (null for 'total' period).\").nullable().optional(),\n startDate: z.string().describe(\"Interval start timestamp (null for 'total' period).\").nullable().optional(),\n prevEndDate: z.string().describe(\"Previous interval end timestamp (null for 'total' period).\").nullable().optional(),\n prevStartDate: z.string().describe(\"Previous interval start timestamp (null for 'total' period).\").nullable().optional(),\n}).describe(\"Time interval metadata for the statistics comparison.\");\nconst ShortIoGetLinkStatistics_DataPointSchema: z.ZodTypeAny = z.object({\n x: z.string().describe(\"Timestamp of this data point.\"),\n y: z.number().int().describe(\"Click count at this timestamp.\"),\n}).describe(\"Single data point in the click statistics chart.\");\nconst ShortIoGetLinkStatistics_DatasetSchema: z.ZodTypeAny = z.object({\n data: z.array(ShortIoGetLinkStatistics_DataPointSchema).describe(\"List of chart data points.\"),\n}).describe(\"Dataset series for the click statistics chart.\");\nconst ShortIoGetLinkStatistics_ClickStatisticsSchema: z.ZodTypeAny = z.object({\n datasets: z.array(ShortIoGetLinkStatistics_DatasetSchema).describe(\"Chart datasets.\"),\n}).describe(\"Click statistics chart datasets.\");\nexport const ShortIoGetLinkStatisticsOutput: z.ZodTypeAny = z.object({\n referer: z.array(ShortIoGetLinkStatistics_RefererSchema).default([]).describe(\"Top referrer records (empty/omitted when skipTops is true).\").nullable().optional(),\n interval: ShortIoGetLinkStatistics_IntervalSchema.nullable(),\n humanClicks: z.number().int().describe(\"Total human clicks (excludes bots).\"),\n totalClicks: z.number().int().describe(\"Total number of clicks.\"),\n clickStatistics: ShortIoGetLinkStatistics_ClickStatisticsSchema.nullable(),\n humanClicksChange: z.string().describe(\"Percentage change in human clicks.\"),\n totalClicksChange: z.string().describe(\"Percentage change in total clicks.\"),\n}).describe(\"Detailed click statistics for a specific link.\");\n\nexport const shortIoGetLinkStatistics = action(\"SHORT_IO_GET_LINK_STATISTICS\", {\n slug: \"short_io-get-link-statistics\",\n name: \"Get Link Statistics\",\n description: \"Tool to get click statistics for a specific link. Use when you need detailed click metrics over a specified interval.\",\n input: ShortIoGetLinkStatisticsInput,\n output: ShortIoGetLinkStatisticsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAClE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAS;EAAa;EAAS;EAAQ;EAAS;EAAa;EAAS;CAAQ,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACnO,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACxH,qBAAqBA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AACvE,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACtD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;AAC/D,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,yCAAuDA,IAAAA,EAAE,OAAO,EACpE,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,4BAA4B,EAC/F,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,iDAA+DA,IAAAA,EAAE,OAAO,EAC5E,UAAUA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,iBAAiB,EACtF,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,SAASA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,UAAU,wCAAwC,SAAS;CAC3D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CAChE,iBAAiB,+CAA+C,SAAS;CACzE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC3E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AAC7E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-link-statistics.d.ts
|
|
4
|
+
declare const ShortIoGetLinkStatisticsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkStatisticsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkStatistics: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkStatistics };
|
|
9
|
+
//# sourceMappingURL=get-link-statistics.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-statistics.d.cts","names":[],"sources":["../../src/actions/get-link-statistics.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAQiD;AAAA,cAqBlF,8BAAA,EAAgC,CAAA,CAAE,UAQc;AAAA,cAEhD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-link-statistics.d.ts
|
|
4
|
+
declare const ShortIoGetLinkStatisticsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkStatisticsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkStatistics: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkStatistics };
|
|
9
|
+
//# sourceMappingURL=get-link-statistics.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-statistics.d.mts","names":[],"sources":["../../src/actions/get-link-statistics.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAQiD;AAAA,cAqBlF,8BAAA,EAAgC,CAAA,CAAE,UAQc;AAAA,cAEhD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-link-statistics.ts
|
|
4
|
+
const ShortIoGetLinkStatisticsInput = z.object({
|
|
5
|
+
tz: z.string().default("UTC").describe("IANA timezone for grouping; defaults to UTC.").optional(),
|
|
6
|
+
linkId: z.string().describe("Unique identifier of the short link."),
|
|
7
|
+
period: z.enum([
|
|
8
|
+
"custom",
|
|
9
|
+
"today",
|
|
10
|
+
"yesterday",
|
|
11
|
+
"total",
|
|
12
|
+
"week",
|
|
13
|
+
"month",
|
|
14
|
+
"lastmonth",
|
|
15
|
+
"last7",
|
|
16
|
+
"last30"
|
|
17
|
+
]).default("last30").describe("Time interval for statistics; defaults to last30. Use 'custom' for custom dates.").optional(),
|
|
18
|
+
endDate: z.string().describe("End date for custom interval (YYYY-MM-DD); required if period is 'custom'.").optional(),
|
|
19
|
+
skipTops: z.boolean().default(false).describe("Whether to skip top referrer records; defaults to false.").optional(),
|
|
20
|
+
startDate: z.string().describe("Start date for custom interval (YYYY-MM-DD); required if period is 'custom'.").optional(),
|
|
21
|
+
clicksChartInterval: z.enum([
|
|
22
|
+
"hour",
|
|
23
|
+
"day",
|
|
24
|
+
"week",
|
|
25
|
+
"month"
|
|
26
|
+
]).describe("Granularity for click statistics chart; one of hour, day, week, month.").optional()
|
|
27
|
+
}).describe("Request parameters for retrieving detailed click statistics for a specific link.");
|
|
28
|
+
const ShortIoGetLinkStatistics_RefererSchema = z.object({
|
|
29
|
+
clicks: z.number().int().describe("Number of clicks from this referrer."),
|
|
30
|
+
referer: z.string().describe("Referrer source (e.g., domain or URL).")
|
|
31
|
+
}).describe("Referrer record with click counts.");
|
|
32
|
+
const ShortIoGetLinkStatistics_IntervalSchema = z.object({
|
|
33
|
+
endDate: z.string().describe("Interval end timestamp (null for 'total' period).").nullable().optional(),
|
|
34
|
+
startDate: z.string().describe("Interval start timestamp (null for 'total' period).").nullable().optional(),
|
|
35
|
+
prevEndDate: z.string().describe("Previous interval end timestamp (null for 'total' period).").nullable().optional(),
|
|
36
|
+
prevStartDate: z.string().describe("Previous interval start timestamp (null for 'total' period).").nullable().optional()
|
|
37
|
+
}).describe("Time interval metadata for the statistics comparison.");
|
|
38
|
+
const ShortIoGetLinkStatistics_DataPointSchema = z.object({
|
|
39
|
+
x: z.string().describe("Timestamp of this data point."),
|
|
40
|
+
y: z.number().int().describe("Click count at this timestamp.")
|
|
41
|
+
}).describe("Single data point in the click statistics chart.");
|
|
42
|
+
const ShortIoGetLinkStatistics_DatasetSchema = z.object({ data: z.array(ShortIoGetLinkStatistics_DataPointSchema).describe("List of chart data points.") }).describe("Dataset series for the click statistics chart.");
|
|
43
|
+
const ShortIoGetLinkStatistics_ClickStatisticsSchema = z.object({ datasets: z.array(ShortIoGetLinkStatistics_DatasetSchema).describe("Chart datasets.") }).describe("Click statistics chart datasets.");
|
|
44
|
+
const shortIoGetLinkStatistics = action("SHORT_IO_GET_LINK_STATISTICS", {
|
|
45
|
+
slug: "short_io-get-link-statistics",
|
|
46
|
+
name: "Get Link Statistics",
|
|
47
|
+
description: "Tool to get click statistics for a specific link. Use when you need detailed click metrics over a specified interval.",
|
|
48
|
+
input: ShortIoGetLinkStatisticsInput,
|
|
49
|
+
output: z.object({
|
|
50
|
+
referer: z.array(ShortIoGetLinkStatistics_RefererSchema).default([]).describe("Top referrer records (empty/omitted when skipTops is true).").nullable().optional(),
|
|
51
|
+
interval: ShortIoGetLinkStatistics_IntervalSchema.nullable(),
|
|
52
|
+
humanClicks: z.number().int().describe("Total human clicks (excludes bots)."),
|
|
53
|
+
totalClicks: z.number().int().describe("Total number of clicks."),
|
|
54
|
+
clickStatistics: ShortIoGetLinkStatistics_ClickStatisticsSchema.nullable(),
|
|
55
|
+
humanClicksChange: z.string().describe("Percentage change in human clicks."),
|
|
56
|
+
totalClicksChange: z.string().describe("Percentage change in total clicks.")
|
|
57
|
+
}).describe("Detailed click statistics for a specific link.")
|
|
58
|
+
});
|
|
59
|
+
//#endregion
|
|
60
|
+
export { shortIoGetLinkStatistics };
|
|
61
|
+
|
|
62
|
+
//# sourceMappingURL=get-link-statistics.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-statistics.mjs","names":[],"sources":["../../src/actions/get-link-statistics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkStatisticsInput: z.ZodTypeAny = z.object({\n tz: z.string().default(\"UTC\").describe(\"IANA timezone for grouping; defaults to UTC.\").optional(),\n linkId: z.string().describe(\"Unique identifier of the short link.\"),\n period: z.enum([\"custom\", \"today\", \"yesterday\", \"total\", \"week\", \"month\", \"lastmonth\", \"last7\", \"last30\"]).default(\"last30\").describe(\"Time interval for statistics; defaults to last30. Use 'custom' for custom dates.\").optional(),\n endDate: z.string().describe(\"End date for custom interval (YYYY-MM-DD); required if period is 'custom'.\").optional(),\n skipTops: z.boolean().default(false).describe(\"Whether to skip top referrer records; defaults to false.\").optional(),\n startDate: z.string().describe(\"Start date for custom interval (YYYY-MM-DD); required if period is 'custom'.\").optional(),\n clicksChartInterval: z.enum([\"hour\", \"day\", \"week\", \"month\"]).describe(\"Granularity for click statistics chart; one of hour, day, week, month.\").optional(),\n}).describe(\"Request parameters for retrieving detailed click statistics for a specific link.\");\nconst ShortIoGetLinkStatistics_RefererSchema: z.ZodTypeAny = z.object({\n clicks: z.number().int().describe(\"Number of clicks from this referrer.\"),\n referer: z.string().describe(\"Referrer source (e.g., domain or URL).\"),\n}).describe(\"Referrer record with click counts.\");\nconst ShortIoGetLinkStatistics_IntervalSchema: z.ZodTypeAny = z.object({\n endDate: z.string().describe(\"Interval end timestamp (null for 'total' period).\").nullable().optional(),\n startDate: z.string().describe(\"Interval start timestamp (null for 'total' period).\").nullable().optional(),\n prevEndDate: z.string().describe(\"Previous interval end timestamp (null for 'total' period).\").nullable().optional(),\n prevStartDate: z.string().describe(\"Previous interval start timestamp (null for 'total' period).\").nullable().optional(),\n}).describe(\"Time interval metadata for the statistics comparison.\");\nconst ShortIoGetLinkStatistics_DataPointSchema: z.ZodTypeAny = z.object({\n x: z.string().describe(\"Timestamp of this data point.\"),\n y: z.number().int().describe(\"Click count at this timestamp.\"),\n}).describe(\"Single data point in the click statistics chart.\");\nconst ShortIoGetLinkStatistics_DatasetSchema: z.ZodTypeAny = z.object({\n data: z.array(ShortIoGetLinkStatistics_DataPointSchema).describe(\"List of chart data points.\"),\n}).describe(\"Dataset series for the click statistics chart.\");\nconst ShortIoGetLinkStatistics_ClickStatisticsSchema: z.ZodTypeAny = z.object({\n datasets: z.array(ShortIoGetLinkStatistics_DatasetSchema).describe(\"Chart datasets.\"),\n}).describe(\"Click statistics chart datasets.\");\nexport const ShortIoGetLinkStatisticsOutput: z.ZodTypeAny = z.object({\n referer: z.array(ShortIoGetLinkStatistics_RefererSchema).default([]).describe(\"Top referrer records (empty/omitted when skipTops is true).\").nullable().optional(),\n interval: ShortIoGetLinkStatistics_IntervalSchema.nullable(),\n humanClicks: z.number().int().describe(\"Total human clicks (excludes bots).\"),\n totalClicks: z.number().int().describe(\"Total number of clicks.\"),\n clickStatistics: ShortIoGetLinkStatistics_ClickStatisticsSchema.nullable(),\n humanClicksChange: z.string().describe(\"Percentage change in human clicks.\"),\n totalClicksChange: z.string().describe(\"Percentage change in total clicks.\"),\n}).describe(\"Detailed click statistics for a specific link.\");\n\nexport const shortIoGetLinkStatistics = action(\"SHORT_IO_GET_LINK_STATISTICS\", {\n slug: \"short_io-get-link-statistics\",\n name: \"Get Link Statistics\",\n description: \"Tool to get click statistics for a specific link. Use when you need detailed click metrics over a specified interval.\",\n input: ShortIoGetLinkStatisticsInput,\n output: ShortIoGetLinkStatisticsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAClE,QAAQ,EAAE,KAAK;EAAC;EAAU;EAAS;EAAa;EAAS;EAAQ;EAAS;EAAa;EAAS;CAAQ,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACnO,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpH,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACxH,qBAAqB,EAAE,KAAK;EAAC;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAM,yCAAuD,EAAE,OAAO;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AACvE,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,0CAAwD,EAAE,OAAO;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,2CAAyD,EAAE,OAAO;CACtE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACtD,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;AAC/D,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,yCAAuD,EAAE,OAAO,EACpE,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,4BAA4B,EAC/F,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,iDAA+D,EAAE,OAAO,EAC5E,UAAU,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,iBAAiB,EACtF,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAW9C,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf0D,EAAE,OAAO;EACnE,SAAS,EAAE,MAAM,sCAAsC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjK,UAAU,wCAAwC,SAAS;EAC3D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;EAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;EAChE,iBAAiB,+CAA+C,SAAS;EACzE,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC3E,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC7E,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-link-tweetbot.ts
|
|
4
|
+
const ShortIoGetLinkTweetbotInput = zod.z.object({
|
|
5
|
+
path: zod.z.string().describe("Custom path/slug for the short link. If not provided, a random path will be generated. Must be unique within the domain.").optional(),
|
|
6
|
+
title: zod.z.string().describe("Optional title/description for the link. This metadata helps identify the link's purpose.").optional(),
|
|
7
|
+
domain: zod.z.string().describe("Domain hostname to create the short link on. Must be a domain you have access to in your Short.io account (e.g., 'yourdomain.short.gy' or a custom domain)."),
|
|
8
|
+
urlOnly: zod.z.boolean().describe("Note: This parameter may not be supported by the API. Leave unset for normal operation.").optional(),
|
|
9
|
+
originalURL: zod.z.string().describe("The full URL to shorten. Must include the protocol (http:// or https://).")
|
|
10
|
+
}).describe("Request parameters for creating a new short link using the simple (Tweetbot) GET endpoint.");
|
|
11
|
+
const ShortIoGetLinkTweetbotOutput = zod.z.object({ url: zod.z.string().describe("The newly created short URL.") }).describe("Response model containing the newly created short URL.");
|
|
12
|
+
const shortIoGetLinkTweetbot = require_action.action("SHORT_IO_GET_LINK_TWEETBOT", {
|
|
13
|
+
slug: "short_io-get-link-tweetbot",
|
|
14
|
+
name: "Get Link (Tweetbot)",
|
|
15
|
+
description: "Create a short link using the simplified Tweetbot GET endpoint. This is a lightweight alternative to the standard POST link creation endpoint, designed for scenarios where GET requests are preferred (e.g., browser-based integrations, simple HTTP clients). Returns the shortened URL immediately upon success.",
|
|
16
|
+
input: ShortIoGetLinkTweetbotInput,
|
|
17
|
+
output: ShortIoGetLinkTweetbotOutput
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
exports.shortIoGetLinkTweetbot = shortIoGetLinkTweetbot;
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=get-link-tweetbot.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-tweetbot.cjs","names":["z","action"],"sources":["../../src/actions/get-link-tweetbot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkTweetbotInput: z.ZodTypeAny = z.object({\n path: z.string().describe(\"Custom path/slug for the short link. If not provided, a random path will be generated. Must be unique within the domain.\").optional(),\n title: z.string().describe(\"Optional title/description for the link. This metadata helps identify the link's purpose.\").optional(),\n domain: z.string().describe(\"Domain hostname to create the short link on. Must be a domain you have access to in your Short.io account (e.g., 'yourdomain.short.gy' or a custom domain).\"),\n urlOnly: z.boolean().describe(\"Note: This parameter may not be supported by the API. Leave unset for normal operation.\").optional(),\n originalURL: z.string().describe(\"The full URL to shorten. Must include the protocol (http:// or https://).\"),\n}).describe(\"Request parameters for creating a new short link using the simple (Tweetbot) GET endpoint.\");\nexport const ShortIoGetLinkTweetbotOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The newly created short URL.\"),\n}).describe(\"Response model containing the newly created short URL.\");\n\nexport const shortIoGetLinkTweetbot = action(\"SHORT_IO_GET_LINK_TWEETBOT\", {\n slug: \"short_io-get-link-tweetbot\",\n name: \"Get Link (Tweetbot)\",\n description: \"Create a short link using the simplified Tweetbot GET endpoint. This is a lightweight alternative to the standard POST link creation endpoint, designed for scenarios where GET requests are preferred (e.g., browser-based integrations, simple HTTP clients). Returns the shortened URL immediately upon success.\",\n input: ShortIoGetLinkTweetbotInput,\n output: ShortIoGetLinkTweetbotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAC/J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACjI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;CACzL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAClI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;AAC9G,CAAC,CAAC,CAAC,SAAS,4FAA4F;AACxG,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,EACzD,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-link-tweetbot.d.ts
|
|
4
|
+
declare const ShortIoGetLinkTweetbotInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkTweetbotOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkTweetbot: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkTweetbot };
|
|
9
|
+
//# sourceMappingURL=get-link-tweetbot.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-tweetbot.d.cts","names":[],"sources":["../../src/actions/get-link-tweetbot.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAM6D;AAAA,cAC5F,4BAAA,EAA8B,CAAA,CAAE,UAEwB;AAAA,cAExD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-link-tweetbot.d.ts
|
|
4
|
+
declare const ShortIoGetLinkTweetbotInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkTweetbotOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkTweetbot: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkTweetbot };
|
|
9
|
+
//# sourceMappingURL=get-link-tweetbot.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-tweetbot.d.mts","names":[],"sources":["../../src/actions/get-link-tweetbot.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAM6D;AAAA,cAC5F,4BAAA,EAA8B,CAAA,CAAE,UAEwB;AAAA,cAExD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const shortIoGetLinkTweetbot = action("SHORT_IO_GET_LINK_TWEETBOT", {
|
|
4
|
+
slug: "short_io-get-link-tweetbot",
|
|
5
|
+
name: "Get Link (Tweetbot)",
|
|
6
|
+
description: "Create a short link using the simplified Tweetbot GET endpoint. This is a lightweight alternative to the standard POST link creation endpoint, designed for scenarios where GET requests are preferred (e.g., browser-based integrations, simple HTTP clients). Returns the shortened URL immediately upon success.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
path: z.string().describe("Custom path/slug for the short link. If not provided, a random path will be generated. Must be unique within the domain.").optional(),
|
|
9
|
+
title: z.string().describe("Optional title/description for the link. This metadata helps identify the link's purpose.").optional(),
|
|
10
|
+
domain: z.string().describe("Domain hostname to create the short link on. Must be a domain you have access to in your Short.io account (e.g., 'yourdomain.short.gy' or a custom domain)."),
|
|
11
|
+
urlOnly: z.boolean().describe("Note: This parameter may not be supported by the API. Leave unset for normal operation.").optional(),
|
|
12
|
+
originalURL: z.string().describe("The full URL to shorten. Must include the protocol (http:// or https://).")
|
|
13
|
+
}).describe("Request parameters for creating a new short link using the simple (Tweetbot) GET endpoint."),
|
|
14
|
+
output: z.object({ url: z.string().describe("The newly created short URL.") }).describe("Response model containing the newly created short URL.")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { shortIoGetLinkTweetbot };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=get-link-tweetbot.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-tweetbot.mjs","names":[],"sources":["../../src/actions/get-link-tweetbot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkTweetbotInput: z.ZodTypeAny = z.object({\n path: z.string().describe(\"Custom path/slug for the short link. If not provided, a random path will be generated. Must be unique within the domain.\").optional(),\n title: z.string().describe(\"Optional title/description for the link. This metadata helps identify the link's purpose.\").optional(),\n domain: z.string().describe(\"Domain hostname to create the short link on. Must be a domain you have access to in your Short.io account (e.g., 'yourdomain.short.gy' or a custom domain).\"),\n urlOnly: z.boolean().describe(\"Note: This parameter may not be supported by the API. Leave unset for normal operation.\").optional(),\n originalURL: z.string().describe(\"The full URL to shorten. Must include the protocol (http:// or https://).\"),\n}).describe(\"Request parameters for creating a new short link using the simple (Tweetbot) GET endpoint.\");\nexport const ShortIoGetLinkTweetbotOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The newly created short URL.\"),\n}).describe(\"Response model containing the newly created short URL.\");\n\nexport const shortIoGetLinkTweetbot = action(\"SHORT_IO_GET_LINK_TWEETBOT\", {\n slug: \"short_io-get-link-tweetbot\",\n name: \"Get Link (Tweetbot)\",\n description: \"Create a short link using the simplified Tweetbot GET endpoint. This is a lightweight alternative to the standard POST link creation endpoint, designed for scenarios where GET requests are preferred (e.g., browser-based integrations, simple HTTP clients). Returns the shortened URL immediately upon success.\",\n input: ShortIoGetLinkTweetbotInput,\n output: ShortIoGetLinkTweetbotOutput,\n});\n"],"mappings":";;AAeA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EAC/J,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACjI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;EACzL,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EAClI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC9G,CAAC,CAAC,CAAC,SAAS,4FASH;CACP,QATwD,EAAE,OAAO,EACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,EACzD,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-links-by-original-url.ts
|
|
4
|
+
const ShortIoGetLinksByOriginalUrlInput = zod.z.object({
|
|
5
|
+
domain: zod.z.string().describe("The domain name to search within (e.g., example.short.gy)"),
|
|
6
|
+
originalURL: zod.z.string().describe("The original long URL to find short links for")
|
|
7
|
+
}).describe("Request model for retrieving multiple links by original URL.");
|
|
8
|
+
const ShortIoGetLinksByOriginalUrl_UserInfoSchema = zod.z.object({
|
|
9
|
+
id: zod.z.number().int().describe("User ID").nullable().optional(),
|
|
10
|
+
name: zod.z.string().describe("User name").nullable().optional(),
|
|
11
|
+
email: zod.z.string().describe("User email address").nullable().optional(),
|
|
12
|
+
photoURL: zod.z.string().describe("URL to user's photo").nullable().optional()
|
|
13
|
+
}).describe("Schema representing user information associated with a link.");
|
|
14
|
+
const ShortIoGetLinksByOriginalUrl_LinkDetailsSchema = zod.z.object({
|
|
15
|
+
id: zod.z.string().describe("Unique identifier of the link").nullable().optional(),
|
|
16
|
+
User: ShortIoGetLinksByOriginalUrl_UserInfoSchema.nullable().optional(),
|
|
17
|
+
path: zod.z.string().describe("Path segment of the short URL").nullable().optional(),
|
|
18
|
+
tags: zod.z.array(zod.z.string()).describe("Tags associated with the link").nullable().optional(),
|
|
19
|
+
title: zod.z.string().describe("Title of the link").nullable().optional(),
|
|
20
|
+
skipQS: zod.z.boolean().describe("Whether to skip query string parameters").nullable().optional(),
|
|
21
|
+
source: zod.z.string().describe("Source of the link creation").nullable().optional(),
|
|
22
|
+
OwnerId: zod.z.number().int().describe("ID of the owner of the link").nullable().optional(),
|
|
23
|
+
DomainId: zod.z.number().int().describe("ID of the domain this link belongs to").nullable().optional(),
|
|
24
|
+
archived: zod.z.boolean().describe("Whether the link is archived").nullable().optional(),
|
|
25
|
+
cloaking: zod.z.boolean().describe("Whether link cloaking is enabled").nullable().optional(),
|
|
26
|
+
idString: zod.z.string().describe("String representation of the link ID").nullable().optional(),
|
|
27
|
+
shortURL: zod.z.string().describe("The shortened URL (HTTP)").nullable().optional(),
|
|
28
|
+
createdAt: zod.z.string().describe("ISO 8601 timestamp when the link was created").nullable().optional(),
|
|
29
|
+
hasPassword: zod.z.boolean().describe("Whether the link has password protection").nullable().optional(),
|
|
30
|
+
originalURL: zod.z.string().describe("The original long URL").nullable().optional(),
|
|
31
|
+
secureShortURL: zod.z.string().describe("HTTPS version of the shortened URL").nullable().optional()
|
|
32
|
+
}).describe("Schema representing detailed information about a short link.");
|
|
33
|
+
const ShortIoGetLinksByOriginalUrlOutput = zod.z.object({ links: zod.z.array(ShortIoGetLinksByOriginalUrl_LinkDetailsSchema).describe("List of all short links created from the same original URL") }).describe("Response model containing a list of short links matching the original URL.");
|
|
34
|
+
const shortIoGetLinksByOriginalUrl = require_action.action("SHORT_IO_GET_LINKS_BY_ORIGINAL_URL", {
|
|
35
|
+
slug: "short_io-get-links-by-original-url",
|
|
36
|
+
name: "Get Links by Original URL",
|
|
37
|
+
description: "Tool to get multiple links info by original URL. Use when you need to find all short links created from the same original URL within a domain, such as comparing campaign performance across different platforms.",
|
|
38
|
+
input: ShortIoGetLinksByOriginalUrlInput,
|
|
39
|
+
output: ShortIoGetLinksByOriginalUrlOutput
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
42
|
+
exports.shortIoGetLinksByOriginalUrl = shortIoGetLinksByOriginalUrl;
|
|
43
|
+
|
|
44
|
+
//# sourceMappingURL=get-links-by-original-url.cjs.map
|