@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-by-original-url.d.ts
|
|
4
|
+
declare const ShortIoGetLinkByOriginalUrlInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkByOriginalUrlOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkByOriginalUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkByOriginalUrl };
|
|
9
|
+
//# sourceMappingURL=get-link-by-original-url.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-by-original-url.d.cts","names":[],"sources":["../../src/actions/get-link-by-original-url.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGgC;AAAA,cAoBpE,iCAAA,EAAmC,CAAA,CAAE,UAEkC;AAAA,cAEvE,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-link-by-original-url.d.ts
|
|
4
|
+
declare const ShortIoGetLinkByOriginalUrlInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkByOriginalUrlOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkByOriginalUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkByOriginalUrl };
|
|
9
|
+
//# sourceMappingURL=get-link-by-original-url.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-by-original-url.d.mts","names":[],"sources":["../../src/actions/get-link-by-original-url.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGgC;AAAA,cAoBpE,iCAAA,EAAmC,CAAA,CAAE,UAEkC;AAAA,cAEvE,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-link-by-original-url.ts
|
|
4
|
+
const ShortIoGetLinkByOriginalUrlInput = z.object({
|
|
5
|
+
domain: z.string().describe("The domain name to search within (e.g., example.short.gy)"),
|
|
6
|
+
originalURL: z.string().describe("The original long URL to search for")
|
|
7
|
+
}).describe("Request model for retrieving link information by the original URL.");
|
|
8
|
+
const ShortIoGetLinkByOriginalUrl_LinkInfoSchema = z.object({
|
|
9
|
+
id: z.string().describe("Unique identifier of the link"),
|
|
10
|
+
icon: z.string().describe("Icon URL for the link").nullable().optional(),
|
|
11
|
+
path: z.string().describe("Path segment of the short URL"),
|
|
12
|
+
tags: z.array(z.string()).describe("Tags associated with the link").nullable().optional(),
|
|
13
|
+
title: z.string().describe("Title of the link").nullable().optional(),
|
|
14
|
+
skipQS: z.boolean().describe("Whether to skip query string parameters"),
|
|
15
|
+
source: z.string().describe("Source of the link creation").nullable().optional(),
|
|
16
|
+
OwnerId: z.number().int().describe("ID of the owner of the link"),
|
|
17
|
+
DomainId: z.number().int().describe("ID of the domain this link belongs to"),
|
|
18
|
+
archived: z.boolean().describe("Whether the link is archived"),
|
|
19
|
+
cloaking: z.boolean().describe("Whether link cloaking is enabled"),
|
|
20
|
+
idString: z.string().describe("String representation of the link ID"),
|
|
21
|
+
shortURL: z.string().describe("The shortened URL"),
|
|
22
|
+
createdAt: z.string().describe("ISO 8601 timestamp when the link was created"),
|
|
23
|
+
updatedAt: z.string().describe("ISO 8601 timestamp when the link was last updated"),
|
|
24
|
+
originalURL: z.string().describe("The original long URL"),
|
|
25
|
+
secureShortURL: z.string().describe("HTTPS version of the shortened URL")
|
|
26
|
+
}).describe("Schema representing detailed information about a short link.");
|
|
27
|
+
const shortIoGetLinkByOriginalUrl = action("SHORT_IO_GET_LINK_BY_ORIGINAL_URL", {
|
|
28
|
+
slug: "short_io-get-link-by-original-url",
|
|
29
|
+
name: "Get Link by Original URL",
|
|
30
|
+
description: "Tool to get link info by original URL. Use when you need to find all short links created from a specific original URL within a domain.",
|
|
31
|
+
input: ShortIoGetLinkByOriginalUrlInput,
|
|
32
|
+
output: z.object({ link: ShortIoGetLinkByOriginalUrl_LinkInfoSchema.nullable() }).describe("Response model containing link information matching the original URL.")
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { shortIoGetLinkByOriginalUrl };
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=get-link-by-original-url.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-by-original-url.mjs","names":[],"sources":["../../src/actions/get-link-by-original-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkByOriginalUrlInput: z.ZodTypeAny = z.object({\n domain: z.string().describe(\"The domain name to search within (e.g., example.short.gy)\"),\n originalURL: z.string().describe(\"The original long URL to search for\"),\n}).describe(\"Request model for retrieving link information by the original URL.\");\nconst ShortIoGetLinkByOriginalUrl_LinkInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the link\"),\n icon: z.string().describe(\"Icon URL for the link\").nullable().optional(),\n path: z.string().describe(\"Path segment of the short URL\"),\n tags: z.array(z.string()).describe(\"Tags associated with the link\").nullable().optional(),\n title: z.string().describe(\"Title of the link\").nullable().optional(),\n skipQS: z.boolean().describe(\"Whether to skip query string parameters\"),\n source: z.string().describe(\"Source of the link creation\").nullable().optional(),\n OwnerId: z.number().int().describe(\"ID of the owner of the link\"),\n DomainId: z.number().int().describe(\"ID of the domain this link belongs to\"),\n archived: z.boolean().describe(\"Whether the link is archived\"),\n cloaking: z.boolean().describe(\"Whether link cloaking is enabled\"),\n idString: z.string().describe(\"String representation of the link ID\"),\n shortURL: z.string().describe(\"The shortened URL\"),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the link was created\"),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the link was last updated\"),\n originalURL: z.string().describe(\"The original long URL\"),\n secureShortURL: z.string().describe(\"HTTPS version of the shortened URL\"),\n}).describe(\"Schema representing detailed information about a short link.\");\nexport const ShortIoGetLinkByOriginalUrlOutput: z.ZodTypeAny = z.object({\n link: ShortIoGetLinkByOriginalUrl_LinkInfoSchema.nullable(),\n}).describe(\"Response model containing link information matching the original URL.\");\n\nexport const shortIoGetLinkByOriginalUrl = action(\"SHORT_IO_GET_LINK_BY_ORIGINAL_URL\", {\n slug: \"short_io-get-link-by-original-url\",\n name: \"Get Link by Original URL\",\n description: \"Tool to get link info by original URL. Use when you need to find all short links created from a specific original URL within a domain.\",\n input: ShortIoGetLinkByOriginalUrlInput,\n output: ShortIoGetLinkByOriginalUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AACxE,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,6CAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC3E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B;CAC7D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CACjD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACxD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AAC1E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAK1E,MAAa,8BAA8B,OAAO,qCAAqC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,MAAM,2CAA2C,SAAS,EAC5D,CAAC,CAAC,CAAC,SAAS,uEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-link-countries.ts
|
|
4
|
+
const ShortIoGetLinkCountriesInput = zod.z.object({ linkId: zod.z.string().describe("Unique identifier of the link to fetch country-targeting rules for") }).describe("Request parameters for retrieving country-targeting rules for a specific link.");
|
|
5
|
+
const ShortIoGetLinkCountries_LinkCountrySchema = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier of the country rule"),
|
|
7
|
+
country: zod.z.string().describe("ISO 3166-1 alpha-2 country code for targeting"),
|
|
8
|
+
createdAt: zod.z.string().describe("Timestamp when the rule was created (ISO 8601)"),
|
|
9
|
+
updatedAt: zod.z.string().describe("Timestamp when the rule was last updated (ISO 8601)"),
|
|
10
|
+
originalURL: zod.z.string().describe("Target URL for this country"),
|
|
11
|
+
link_idString: zod.z.string().describe("The short link identifier").nullable().optional()
|
|
12
|
+
}).describe("Schema for a single country-targeting rule for a link.");
|
|
13
|
+
const ShortIoGetLinkCountriesOutput = zod.z.object({ countries: zod.z.array(ShortIoGetLinkCountries_LinkCountrySchema).describe("List of country-based targeting rules") }).describe("Response schema containing the list of country-based targeting rules.");
|
|
14
|
+
const shortIoGetLinkCountries = require_action.action("SHORT_IO_GET_LINK_COUNTRIES", {
|
|
15
|
+
slug: "short_io-get-link-countries",
|
|
16
|
+
name: "Get Link Countries",
|
|
17
|
+
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.",
|
|
18
|
+
input: ShortIoGetLinkCountriesInput,
|
|
19
|
+
output: ShortIoGetLinkCountriesOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.shortIoGetLinkCountries = shortIoGetLinkCountries;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=get-link-countries.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-countries.cjs","names":["z","action"],"sources":["../../src/actions/get-link-countries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkCountriesInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the country rule\"),\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)\"),\n updatedAt: z.string().describe(\"Timestamp when the rule was last updated (ISO 8601)\"),\n originalURL: z.string().describe(\"Target URL for this country\"),\n link_idString: z.string().describe(\"The short link identifier\").nullable().optional(),\n}).describe(\"Schema for a single country-targeting rule for a link.\");\nexport const ShortIoGetLinkCountriesOutput: z.ZodTypeAny = z.object({\n countries: z.array(ShortIoGetLinkCountries_LinkCountrySchema).describe(\"List of country-based targeting rules\"),\n}).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":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EAClG,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC9D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,WAAWA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,uCAAuC,EAChH,CAAC,CAAC,CAAC,SAAS,uEAAuE;AAEnF,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,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-countries.d.ts
|
|
4
|
+
declare const ShortIoGetLinkCountriesInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkCountriesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkCountries: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkCountries };
|
|
9
|
+
//# sourceMappingURL=get-link-countries.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-countries.d.cts","names":[],"sources":["../../src/actions/get-link-countries.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEgD;AAAA,cAShF,6BAAA,EAA+B,CAAA,CAAE,UAEsC;AAAA,cAEvE,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-link-countries.d.ts
|
|
4
|
+
declare const ShortIoGetLinkCountriesInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkCountriesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkCountries: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkCountries };
|
|
9
|
+
//# sourceMappingURL=get-link-countries.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-countries.d.mts","names":[],"sources":["../../src/actions/get-link-countries.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEgD;AAAA,cAShF,6BAAA,EAA+B,CAAA,CAAE,UAEsC;AAAA,cAEvE,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-link-countries.ts
|
|
4
|
+
const ShortIoGetLinkCountriesInput = z.object({ linkId: z.string().describe("Unique identifier of the link to fetch country-targeting rules for") }).describe("Request parameters for retrieving country-targeting rules for a specific link.");
|
|
5
|
+
const ShortIoGetLinkCountries_LinkCountrySchema = z.object({
|
|
6
|
+
id: z.number().int().describe("Unique identifier of the country rule"),
|
|
7
|
+
country: z.string().describe("ISO 3166-1 alpha-2 country code for targeting"),
|
|
8
|
+
createdAt: z.string().describe("Timestamp when the rule was created (ISO 8601)"),
|
|
9
|
+
updatedAt: z.string().describe("Timestamp when the rule was last updated (ISO 8601)"),
|
|
10
|
+
originalURL: z.string().describe("Target URL for this country"),
|
|
11
|
+
link_idString: z.string().describe("The short link identifier").nullable().optional()
|
|
12
|
+
}).describe("Schema for a single country-targeting rule for a link.");
|
|
13
|
+
const shortIoGetLinkCountries = action("SHORT_IO_GET_LINK_COUNTRIES", {
|
|
14
|
+
slug: "short_io-get-link-countries",
|
|
15
|
+
name: "Get Link Countries",
|
|
16
|
+
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.",
|
|
17
|
+
input: ShortIoGetLinkCountriesInput,
|
|
18
|
+
output: z.object({ countries: z.array(ShortIoGetLinkCountries_LinkCountrySchema).describe("List of country-based targeting rules") }).describe("Response schema containing the list of country-based targeting rules.")
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { shortIoGetLinkCountries };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=get-link-countries.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the country rule\"),\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)\"),\n updatedAt: z.string().describe(\"Timestamp when the rule was last updated (ISO 8601)\"),\n originalURL: z.string().describe(\"Target URL for this country\"),\n link_idString: z.string().describe(\"The short link identifier\").nullable().optional(),\n}).describe(\"Schema for a single country-targeting rule for a link.\");\nexport const ShortIoGetLinkCountriesOutput: z.ZodTypeAny = z.object({\n countries: z.array(ShortIoGetLinkCountries_LinkCountrySchema).describe(\"List of country-based targeting rules\"),\n}).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":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO,EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EAClG,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,4CAA0D,EAAE,OAAO;CACvE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC9D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAKpE,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyD,EAAE,OAAO,EAClE,WAAW,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,uCAAuC,EAChH,CAAC,CAAC,CAAC,SAAS,uEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-link-info-by-link-id.ts
|
|
4
|
+
const ShortIoGetLinkInfoByLinkIdInput = zod.z.object({
|
|
5
|
+
link_id: zod.z.string().describe("The unique identifier of the short link (format: lnk_XXXXX_YYYYYYYYYYYYYYYYYYYY)."),
|
|
6
|
+
domain_id: zod.z.string().describe("Optional domain ID to filter results when the link ID might exist across multiple domains. Usually not needed.").optional()
|
|
7
|
+
}).describe("Request model for retrieving detailed information of a short link by its ID.");
|
|
8
|
+
const ShortIoGetLinkInfoByLinkIdOutput = zod.z.object({
|
|
9
|
+
id: zod.z.string().describe("Unique identifier for the link."),
|
|
10
|
+
path: zod.z.string().describe("Custom path/slug of the short link.").nullable().optional(),
|
|
11
|
+
tags: zod.z.array(zod.z.string()).describe("Tags associated with the link.").nullable().optional(),
|
|
12
|
+
title: zod.z.string().describe("Title of the link, if set.").nullable().optional(),
|
|
13
|
+
clicks: zod.z.number().int().describe("Total number of clicks recorded.").nullable().optional(),
|
|
14
|
+
domain: zod.z.string().describe("Domain used for the short link."),
|
|
15
|
+
secure: zod.z.boolean().describe("Whether the link uses HTTPS."),
|
|
16
|
+
utmTerm: zod.z.string().describe("UTM term parameter, if set.").nullable().optional(),
|
|
17
|
+
archived: zod.z.boolean().describe("Whether the link is archived.").nullable().optional(),
|
|
18
|
+
cloaking: zod.z.boolean().describe("Whether link cloaking is enabled (hides destination URL)."),
|
|
19
|
+
shortURL: zod.z.string().describe("Shortened URL."),
|
|
20
|
+
createdAt: zod.z.string().describe("Creation timestamp in ISO 8601 format."),
|
|
21
|
+
expiresAt: zod.z.string().describe("Expiration date/time in ISO 8601 format, if set.").nullable().optional(),
|
|
22
|
+
updatedAt: zod.z.string().describe("Last updated timestamp in ISO 8601 format, if set.").nullable().optional(),
|
|
23
|
+
utmMedium: zod.z.string().describe("UTM medium parameter, if set.").nullable().optional(),
|
|
24
|
+
utmSource: zod.z.string().describe("UTM source parameter, if set.").nullable().optional(),
|
|
25
|
+
utmContent: zod.z.string().describe("UTM content parameter, if set.").nullable().optional(),
|
|
26
|
+
originalURL: zod.z.string().describe("Original destination URL."),
|
|
27
|
+
utmCampaign: zod.z.string().describe("UTM campaign parameter, if set.").nullable().optional(),
|
|
28
|
+
organizationId: zod.z.string().describe("Organization ID to which the link belongs.").nullable().optional()
|
|
29
|
+
}).describe("Response model containing detailed information about a short link.");
|
|
30
|
+
const shortIoGetLinkInfoByLinkId = require_action.action("SHORT_IO_GET_LINK_INFO_BY_LINK_ID", {
|
|
31
|
+
slug: "short_io-get-link-info-by-link-id",
|
|
32
|
+
name: "Get Link Info by Link ID",
|
|
33
|
+
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.",
|
|
34
|
+
input: ShortIoGetLinkInfoByLinkIdInput,
|
|
35
|
+
output: ShortIoGetLinkInfoByLinkIdOutput
|
|
36
|
+
});
|
|
37
|
+
//#endregion
|
|
38
|
+
exports.shortIoGetLinkInfoByLinkId = shortIoGetLinkInfoByLinkId;
|
|
39
|
+
|
|
40
|
+
//# sourceMappingURL=get-link-info-by-link-id.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the link.\"),\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.\"),\n secure: z.boolean().describe(\"Whether the link uses HTTPS.\"),\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).\"),\n shortURL: z.string().describe(\"Shortened URL.\"),\n createdAt: z.string().describe(\"Creation timestamp in ISO 8601 format.\"),\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.\"),\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}).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":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,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,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACzD,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;CAC7D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B;CAC3D,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;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC9C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACvE,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;CAC5D,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,SAAS,oEAAoE;AAEhF,MAAa,6BAA6BC,eAAAA,OAAO,qCAAqC;CACpF,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-info-by-link-id.d.ts
|
|
4
|
+
declare const ShortIoGetLinkInfoByLinkIdInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkInfoByLinkIdOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkInfoByLinkId: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkInfoByLinkId };
|
|
9
|
+
//# sourceMappingURL=get-link-info-by-link-id.d.cts.map
|
|
@@ -0,0 +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":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAG2C;AAAA,cAC9E,gCAAA,EAAkC,CAAA,CAAE,UAqBgC;AAAA,cAEpE,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-link-info-by-link-id.d.ts
|
|
4
|
+
declare const ShortIoGetLinkInfoByLinkIdInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkInfoByLinkIdOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkInfoByLinkId: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkInfoByLinkId };
|
|
9
|
+
//# sourceMappingURL=get-link-info-by-link-id.d.mts.map
|
|
@@ -0,0 +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":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAG2C;AAAA,cAC9E,gCAAA,EAAkC,CAAA,CAAE,UAqBgC;AAAA,cAEpE,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const shortIoGetLinkInfoByLinkId = action("SHORT_IO_GET_LINK_INFO_BY_LINK_ID", {
|
|
4
|
+
slug: "short_io-get-link-info-by-link-id",
|
|
5
|
+
name: "Get Link Info by Link ID",
|
|
6
|
+
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.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
link_id: z.string().describe("The unique identifier of the short link (format: lnk_XXXXX_YYYYYYYYYYYYYYYYYYYY)."),
|
|
9
|
+
domain_id: z.string().describe("Optional domain ID to filter results when the link ID might exist across multiple domains. Usually not needed.").optional()
|
|
10
|
+
}).describe("Request model for retrieving detailed information of a short link by its ID."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
id: z.string().describe("Unique identifier for the link."),
|
|
13
|
+
path: z.string().describe("Custom path/slug of the short link.").nullable().optional(),
|
|
14
|
+
tags: z.array(z.string()).describe("Tags associated with the link.").nullable().optional(),
|
|
15
|
+
title: z.string().describe("Title of the link, if set.").nullable().optional(),
|
|
16
|
+
clicks: z.number().int().describe("Total number of clicks recorded.").nullable().optional(),
|
|
17
|
+
domain: z.string().describe("Domain used for the short link."),
|
|
18
|
+
secure: z.boolean().describe("Whether the link uses HTTPS."),
|
|
19
|
+
utmTerm: z.string().describe("UTM term parameter, if set.").nullable().optional(),
|
|
20
|
+
archived: z.boolean().describe("Whether the link is archived.").nullable().optional(),
|
|
21
|
+
cloaking: z.boolean().describe("Whether link cloaking is enabled (hides destination URL)."),
|
|
22
|
+
shortURL: z.string().describe("Shortened URL."),
|
|
23
|
+
createdAt: z.string().describe("Creation timestamp in ISO 8601 format."),
|
|
24
|
+
expiresAt: z.string().describe("Expiration date/time in ISO 8601 format, if set.").nullable().optional(),
|
|
25
|
+
updatedAt: z.string().describe("Last updated timestamp in ISO 8601 format, if set.").nullable().optional(),
|
|
26
|
+
utmMedium: z.string().describe("UTM medium parameter, if set.").nullable().optional(),
|
|
27
|
+
utmSource: z.string().describe("UTM source parameter, if set.").nullable().optional(),
|
|
28
|
+
utmContent: z.string().describe("UTM content parameter, if set.").nullable().optional(),
|
|
29
|
+
originalURL: z.string().describe("Original destination URL."),
|
|
30
|
+
utmCampaign: z.string().describe("UTM campaign parameter, if set.").nullable().optional(),
|
|
31
|
+
organizationId: z.string().describe("Organization ID to which the link belongs.").nullable().optional()
|
|
32
|
+
}).describe("Response model containing detailed information about a short link.")
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { shortIoGetLinkInfoByLinkId };
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=get-link-info-by-link-id.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the link.\"),\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.\"),\n secure: z.boolean().describe(\"Whether the link uses HTTPS.\"),\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).\"),\n shortURL: z.string().describe(\"Shortened URL.\"),\n createdAt: z.string().describe(\"Creation timestamp in ISO 8601 format.\"),\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.\"),\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}).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":";;AA+BA,MAAa,6BAA6B,OAAO,qCAAqC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/B2D,EAAE,OAAO;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAChH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC5J,CAAC,CAAC,CAAC,SAAS,8EA4BH;CACP,QA5B4D,EAAE,OAAO;EACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EACzD,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;EAC7D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B;EAC3D,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;EAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;EAC9C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACvE,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;EAC5D,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,SAAS,oEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-link-info-by-path.ts
|
|
4
|
+
const ShortIoGetLinkInfoByPathInput = zod.z.object({
|
|
5
|
+
path: zod.z.string().describe("Short link path segment (the part after the domain) to look up."),
|
|
6
|
+
domain_id: zod.z.string().describe("Identifier of the domain under which the short link resides.")
|
|
7
|
+
}).describe("Request model for retrieving detailed information of a short link by its path within a domain.");
|
|
8
|
+
const ShortIoGetLinkInfoByPathOutput = zod.z.object({
|
|
9
|
+
id: zod.z.string().describe("Unique identifier of the link."),
|
|
10
|
+
tags: zod.z.array(zod.z.string()).describe("List of tags associated with the link.").nullable().optional(),
|
|
11
|
+
title: zod.z.string().describe("Title of the link, if set.").nullable().optional(),
|
|
12
|
+
clicks: zod.z.number().int().describe("Total number of clicks recorded for this link.").nullable().optional(),
|
|
13
|
+
domain: zod.z.string().describe("Associated domain of the link."),
|
|
14
|
+
secure: zod.z.boolean().describe("Indicates whether the link uses HTTPS."),
|
|
15
|
+
utmTerm: zod.z.string().describe("UTM term parameter, if set.").nullable().optional(),
|
|
16
|
+
cloaking: zod.z.boolean().describe("Indicates whether link cloaking is enabled."),
|
|
17
|
+
shortURL: zod.z.string().describe("Shortened URL including domain and path."),
|
|
18
|
+
createdAt: zod.z.string().describe("ISO8601 timestamp when the link was created."),
|
|
19
|
+
expiresAt: zod.z.string().describe("Expiration timestamp in ISO8601 format, if set.").nullable().optional(),
|
|
20
|
+
updatedAt: zod.z.string().describe("ISO8601 timestamp when the link was last updated.").nullable().optional(),
|
|
21
|
+
utmMedium: zod.z.string().describe("UTM medium parameter, if set.").nullable().optional(),
|
|
22
|
+
utmSource: zod.z.string().describe("UTM source parameter, if set.").nullable().optional(),
|
|
23
|
+
utmContent: zod.z.string().describe("UTM content parameter, if set.").nullable().optional(),
|
|
24
|
+
originalURL: zod.z.string().describe("Original destination URL."),
|
|
25
|
+
utmCampaign: zod.z.string().describe("UTM campaign parameter, if set.").nullable().optional(),
|
|
26
|
+
organizationId: zod.z.string().describe("Organization ID to which the link belongs.").nullable().optional()
|
|
27
|
+
}).describe("Response model containing detailed information about a short link.");
|
|
28
|
+
const shortIoGetLinkInfoByPath = require_action.action("SHORT_IO_GET_LINK_INFO_BY_PATH", {
|
|
29
|
+
slug: "short_io-get-link-info-by-path",
|
|
30
|
+
name: "Get Link Info by Path",
|
|
31
|
+
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.",
|
|
32
|
+
input: ShortIoGetLinkInfoByPathInput,
|
|
33
|
+
output: ShortIoGetLinkInfoByPathOutput
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
exports.shortIoGetLinkInfoByPath = shortIoGetLinkInfoByPath;
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=get-link-info-by-path.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the link.\"),\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.\"),\n secure: z.boolean().describe(\"Indicates whether the link uses HTTPS.\"),\n utmTerm: z.string().describe(\"UTM term parameter, if set.\").nullable().optional(),\n cloaking: z.boolean().describe(\"Indicates whether link cloaking is enabled.\"),\n shortURL: z.string().describe(\"Shortened URL including domain and path.\"),\n createdAt: z.string().describe(\"ISO8601 timestamp when the link was created.\"),\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.\"),\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}).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":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,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,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACxD,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;CAC5D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC7E,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;CAC5D,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,SAAS,oEAAoE;AAEhF,MAAa,2BAA2BC,eAAAA,OAAO,kCAAkC;CAC/E,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-info-by-path.d.ts
|
|
4
|
+
declare const ShortIoGetLinkInfoByPathInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkInfoByPathOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkInfoByPath: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkInfoByPath };
|
|
9
|
+
//# sourceMappingURL=get-link-info-by-path.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-info-by-path.d.cts","names":[],"sources":["../../src/actions/get-link-info-by-path.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAG+D;AAAA,cAChG,8BAAA,EAAgC,CAAA,CAAE,UAmBkC;AAAA,cAEpE,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-info-by-path.d.ts
|
|
4
|
+
declare const ShortIoGetLinkInfoByPathInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkInfoByPathOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkInfoByPath: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkInfoByPath };
|
|
9
|
+
//# sourceMappingURL=get-link-info-by-path.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-info-by-path.d.mts","names":[],"sources":["../../src/actions/get-link-info-by-path.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAG+D;AAAA,cAChG,8BAAA,EAAgC,CAAA,CAAE,UAmBkC;AAAA,cAEpE,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const shortIoGetLinkInfoByPath = action("SHORT_IO_GET_LINK_INFO_BY_PATH", {
|
|
4
|
+
slug: "short_io-get-link-info-by-path",
|
|
5
|
+
name: "Get Link Info by Path",
|
|
6
|
+
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.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
path: z.string().describe("Short link path segment (the part after the domain) to look up."),
|
|
9
|
+
domain_id: z.string().describe("Identifier of the domain under which the short link resides.")
|
|
10
|
+
}).describe("Request model for retrieving detailed information of a short link by its path within a domain."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
id: z.string().describe("Unique identifier of the link."),
|
|
13
|
+
tags: z.array(z.string()).describe("List of tags associated with the link.").nullable().optional(),
|
|
14
|
+
title: z.string().describe("Title of the link, if set.").nullable().optional(),
|
|
15
|
+
clicks: z.number().int().describe("Total number of clicks recorded for this link.").nullable().optional(),
|
|
16
|
+
domain: z.string().describe("Associated domain of the link."),
|
|
17
|
+
secure: z.boolean().describe("Indicates whether the link uses HTTPS."),
|
|
18
|
+
utmTerm: z.string().describe("UTM term parameter, if set.").nullable().optional(),
|
|
19
|
+
cloaking: z.boolean().describe("Indicates whether link cloaking is enabled."),
|
|
20
|
+
shortURL: z.string().describe("Shortened URL including domain and path."),
|
|
21
|
+
createdAt: z.string().describe("ISO8601 timestamp when the link was created."),
|
|
22
|
+
expiresAt: z.string().describe("Expiration timestamp in ISO8601 format, if set.").nullable().optional(),
|
|
23
|
+
updatedAt: z.string().describe("ISO8601 timestamp when the link was last updated.").nullable().optional(),
|
|
24
|
+
utmMedium: z.string().describe("UTM medium parameter, if set.").nullable().optional(),
|
|
25
|
+
utmSource: z.string().describe("UTM source parameter, if set.").nullable().optional(),
|
|
26
|
+
utmContent: z.string().describe("UTM content parameter, if set.").nullable().optional(),
|
|
27
|
+
originalURL: z.string().describe("Original destination URL."),
|
|
28
|
+
utmCampaign: z.string().describe("UTM campaign parameter, if set.").nullable().optional(),
|
|
29
|
+
organizationId: z.string().describe("Organization ID to which the link belongs.").nullable().optional()
|
|
30
|
+
}).describe("Response model containing detailed information about a short link.")
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
export { shortIoGetLinkInfoByPath };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=get-link-info-by-path.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the link.\"),\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.\"),\n secure: z.boolean().describe(\"Indicates whether the link uses HTTPS.\"),\n utmTerm: z.string().describe(\"UTM term parameter, if set.\").nullable().optional(),\n cloaking: z.boolean().describe(\"Indicates whether link cloaking is enabled.\"),\n shortURL: z.string().describe(\"Shortened URL including domain and path.\"),\n createdAt: z.string().describe(\"ISO8601 timestamp when the link was created.\"),\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.\"),\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}).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":";;AA6BA,MAAa,2BAA2B,OAAO,kCAAkC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7ByD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC/F,CAAC,CAAC,CAAC,SAAS,gGA0BH;CACP,QA1B0D,EAAE,OAAO;EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EACxD,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;EAC5D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC7E,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;EAC5D,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,SAAS,oEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-link-open-graph-properties.ts
|
|
4
|
+
const ShortIoGetLinkOpenGraphPropertiesInput = zod.z.object({
|
|
5
|
+
linkId: zod.z.string().describe("The unique identifier of the short link to retrieve OpenGraph properties for."),
|
|
6
|
+
domainId: zod.z.number().int().describe("Identifier of the branded domain where the link is hosted.")
|
|
7
|
+
}).describe("Request model for retrieving OpenGraph settings of a short link.");
|
|
8
|
+
const ShortIoGetLinkOpenGraphPropertiesOutput = zod.z.object({
|
|
9
|
+
ogUrl: zod.z.string().describe("The canonical URL used in OpenGraph metadata.").nullable().optional(),
|
|
10
|
+
ogType: zod.z.string().describe("The OpenGraph type (e.g., 'article', 'website').").nullable().optional(),
|
|
11
|
+
ogImage: zod.z.string().describe("The URL of the OpenGraph image for the link.").nullable().optional(),
|
|
12
|
+
ogTitle: zod.z.string().describe("The OpenGraph title of the link.").nullable().optional(),
|
|
13
|
+
ogSiteName: zod.z.string().describe("The site name used in OpenGraph metadata.").nullable().optional(),
|
|
14
|
+
ogDescription: zod.z.string().describe("The OpenGraph description of the link.").nullable().optional()
|
|
15
|
+
}).passthrough().describe("Response model containing OpenGraph properties of a short link.");
|
|
16
|
+
const shortIoGetLinkOpenGraphProperties = require_action.action("SHORT_IO_GET_LINK_OPEN_GRAPH_PROPERTIES", {
|
|
17
|
+
slug: "short_io-get-link-open-graph-properties",
|
|
18
|
+
name: "Get Link OpenGraph Properties",
|
|
19
|
+
description: "Tool to retrieve OpenGraph settings for a link. Use after creating or updating a link to verify its social metadata.",
|
|
20
|
+
input: ShortIoGetLinkOpenGraphPropertiesInput,
|
|
21
|
+
output: ShortIoGetLinkOpenGraphPropertiesOutput
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
exports.shortIoGetLinkOpenGraphProperties = shortIoGetLinkOpenGraphProperties;
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=get-link-open-graph-properties.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,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,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,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,oCAAoCC,eAAAA,OAAO,2CAA2C;CACjG,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-open-graph-properties.d.ts
|
|
4
|
+
declare const ShortIoGetLinkOpenGraphPropertiesInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkOpenGraphPropertiesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkOpenGraphProperties: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkOpenGraphProperties };
|
|
9
|
+
//# sourceMappingURL=get-link-open-graph-properties.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-open-graph-properties.d.cts","names":[],"sources":["../../src/actions/get-link-open-graph-properties.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAGwB;AAAA,cAClE,uCAAA,EAAyC,CAAA,CAAE,UAOoC;AAAA,cAE/E,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-link-open-graph-properties.d.ts
|
|
4
|
+
declare const ShortIoGetLinkOpenGraphPropertiesInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoGetLinkOpenGraphPropertiesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoGetLinkOpenGraphProperties: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoGetLinkOpenGraphProperties };
|
|
9
|
+
//# sourceMappingURL=get-link-open-graph-properties.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-link-open-graph-properties.d.mts","names":[],"sources":["../../src/actions/get-link-open-graph-properties.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAGwB;AAAA,cAClE,uCAAA,EAAyC,CAAA,CAAE,UAOoC;AAAA,cAE/E,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const shortIoGetLinkOpenGraphProperties = action("SHORT_IO_GET_LINK_OPEN_GRAPH_PROPERTIES", {
|
|
4
|
+
slug: "short_io-get-link-open-graph-properties",
|
|
5
|
+
name: "Get Link OpenGraph Properties",
|
|
6
|
+
description: "Tool to retrieve OpenGraph settings for a link. Use after creating or updating a link to verify its social metadata.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
linkId: z.string().describe("The unique identifier of the short link to retrieve OpenGraph properties for."),
|
|
9
|
+
domainId: z.number().int().describe("Identifier of the branded domain where the link is hosted.")
|
|
10
|
+
}).describe("Request model for retrieving OpenGraph settings of a short link."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
ogUrl: z.string().describe("The canonical URL used in OpenGraph metadata.").nullable().optional(),
|
|
13
|
+
ogType: z.string().describe("The OpenGraph type (e.g., 'article', 'website').").nullable().optional(),
|
|
14
|
+
ogImage: z.string().describe("The URL of the OpenGraph image for the link.").nullable().optional(),
|
|
15
|
+
ogTitle: z.string().describe("The OpenGraph title of the link.").nullable().optional(),
|
|
16
|
+
ogSiteName: z.string().describe("The site name used in OpenGraph metadata.").nullable().optional(),
|
|
17
|
+
ogDescription: z.string().describe("The OpenGraph description of the link.").nullable().optional()
|
|
18
|
+
}).passthrough().describe("Response model containing OpenGraph properties of a short link.")
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { shortIoGetLinkOpenGraphProperties };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=get-link-open-graph-properties.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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":";;AAiBA,MAAa,oCAAoC,OAAO,2CAA2C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBkE,EAAE,OAAO;EAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;EAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D;CAClG,CAAC,CAAC,CAAC,SAAS,kEAcH;CACP,QAdmE,EAAE,OAAO;EAC5E,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,iEAOhB;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-link-permissions.ts
|
|
4
|
+
const ShortIoGetLinkPermissionsInput = zod.z.object({
|
|
5
|
+
link_id: zod.z.string().describe("Unique identifier of the short link (starts with 'lnk_', obtained from link creation responses)"),
|
|
6
|
+
domain_id: zod.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 = zod.z.object({
|
|
9
|
+
id: zod.z.string().describe("Unique identifier of the permission record").nullable().optional(),
|
|
10
|
+
UserId: zod.z.number().int().describe("ID of the user granted this permission").nullable().optional(),
|
|
11
|
+
DomainId: zod.z.number().int().describe("ID of the domain this permission applies to").nullable().optional(),
|
|
12
|
+
LinkIdString: zod.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 ShortIoGetLinkPermissionsOutput = zod.z.object({ permissions: zod.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.");
|
|
15
|
+
const shortIoGetLinkPermissions = require_action.action("SHORT_IO_GET_LINK_PERMISSIONS", {
|
|
16
|
+
slug: "short_io-get-link-permissions",
|
|
17
|
+
name: "Get Link Permissions",
|
|
18
|
+
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'\".",
|
|
19
|
+
input: ShortIoGetLinkPermissionsInput,
|
|
20
|
+
output: ShortIoGetLinkPermissionsOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.shortIoGetLinkPermissions = shortIoGetLinkPermissions;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=get-link-permissions.cjs.map
|
|
@@ -0,0 +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.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+CA,IAAAA,EAAE,OAAO;CACnE,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,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,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,SAAS,0FAA0F;AACtG,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,aAAaA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,gFAAgF,EACjK,CAAC,CAAC,CAAC,SAAS,4IAA4I;AAExJ,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|