@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,42 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/post-links-bulk.ts
|
|
4
|
+
const ShortIoPostLinksBulkInput = z.object({
|
|
5
|
+
links: z.array(z.object({
|
|
6
|
+
ttl: z.string().describe("Time-to-live (expiration date-time) for the short link in ISO 8601 date-time format. The link will be automatically deleted at this time. Must be at least one week in the future.").optional(),
|
|
7
|
+
path: z.string().describe("Custom path for the short link (must be unique within the domain).").optional(),
|
|
8
|
+
originalURL: z.string().describe("The original URL to be shortened.")
|
|
9
|
+
}).describe("Schema for a single link to be created in bulk.")).describe("List of link objects to be shortened (up to 1000 items). Each object must include `originalURL` as a fully-formed HTTPS URL. Custom `path` values must be unique across existing short links to avoid collisions."),
|
|
10
|
+
domain: z.string().describe("Domain under which the short links will be created. Must exactly match a domain already owned and configured in your Short.io account; arbitrary or unregistered domains will fail."),
|
|
11
|
+
allowDuplicates: z.boolean().default(false).describe("Whether duplicate links are allowed (defaults to false).").optional()
|
|
12
|
+
}).describe("Request model for creating multiple short links in a single call.");
|
|
13
|
+
const ShortIoPostLinksBulk_PostLinksBulkResponseItemSchema = z.object({
|
|
14
|
+
id: z.string().describe("Unique identifier of the link."),
|
|
15
|
+
ttl: z.string().describe("Time-to-live (expiration date-time) of the short link in ISO 8601 date-time format.").nullable().optional(),
|
|
16
|
+
path: z.string().describe("Path of the short link."),
|
|
17
|
+
tags: z.array(z.string()).describe("Tags associated with the link."),
|
|
18
|
+
skipQS: z.boolean().describe("Whether query string parameters are skipped."),
|
|
19
|
+
OwnerId: z.number().int().describe("ID of the owner of the link."),
|
|
20
|
+
success: z.boolean().describe("Whether the link creation was successful."),
|
|
21
|
+
DomainId: z.number().int().describe("ID of the domain under which the link was created."),
|
|
22
|
+
archived: z.boolean().describe("Whether the link is archived."),
|
|
23
|
+
cloaking: z.boolean().describe("Whether cloaking is enabled for the link."),
|
|
24
|
+
idString: z.string().describe("String representation of the link ID."),
|
|
25
|
+
shortURL: z.string().describe("The shortened URL."),
|
|
26
|
+
createdAt: z.string().describe("Timestamp when the link was created (ISO 8601)."),
|
|
27
|
+
duplicate: z.boolean().describe("Whether the link is a duplicate."),
|
|
28
|
+
updatedAt: z.string().describe("Timestamp when the link was last updated (ISO 8601)."),
|
|
29
|
+
originalURL: z.string().describe("The original URL that was shortened."),
|
|
30
|
+
secureShortURL: z.string().describe("The HTTPS version of the shortened URL.")
|
|
31
|
+
}).describe("Schema representing a single created short link.");
|
|
32
|
+
const shortIoPostLinksBulk = action("SHORT_IO_POST_LINKS_BULK", {
|
|
33
|
+
slug: "short_io-post-links-bulk",
|
|
34
|
+
name: "Create Links in Bulk",
|
|
35
|
+
description: "Tool to create up to 1000 short links in one call. Use when bulk shortening multiple URLs.",
|
|
36
|
+
input: ShortIoPostLinksBulkInput,
|
|
37
|
+
output: z.object({ links: z.array(ShortIoPostLinksBulk_PostLinksBulkResponseItemSchema).describe("List of created short link objects.") }).describe("Response model containing created short links.")
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
export { shortIoPostLinksBulk };
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=post-links-bulk.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-links-bulk.mjs","names":[],"sources":["../../src/actions/post-links-bulk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoPostLinksBulkInput: z.ZodTypeAny = z.object({\n links: z.array(z.object({\n ttl: z.string().describe(\"Time-to-live (expiration date-time) for the short link in ISO 8601 date-time format. The link will be automatically deleted at this time. Must be at least one week in the future.\").optional(),\n path: z.string().describe(\"Custom path for the short link (must be unique within the domain).\").optional(),\n originalURL: z.string().describe(\"The original URL to be shortened.\"),\n}).describe(\"Schema for a single link to be created in bulk.\")).describe(\"List of link objects to be shortened (up to 1000 items). Each object must include `originalURL` as a fully-formed HTTPS URL. Custom `path` values must be unique across existing short links to avoid collisions.\"),\n domain: z.string().describe(\"Domain under which the short links will be created. Must exactly match a domain already owned and configured in your Short.io account; arbitrary or unregistered domains will fail.\"),\n allowDuplicates: z.boolean().default(false).describe(\"Whether duplicate links are allowed (defaults to false).\").optional(),\n}).describe(\"Request model for creating multiple short links in a single call.\");\nconst ShortIoPostLinksBulk_PostLinksBulkResponseItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the link.\"),\n ttl: z.string().describe(\"Time-to-live (expiration date-time) of the short link in ISO 8601 date-time format.\").nullable().optional(),\n path: z.string().describe(\"Path of the short link.\"),\n tags: z.array(z.string()).describe(\"Tags associated with the link.\"),\n skipQS: z.boolean().describe(\"Whether query string parameters are skipped.\"),\n OwnerId: z.number().int().describe(\"ID of the owner of the link.\"),\n success: z.boolean().describe(\"Whether the link creation was successful.\"),\n DomainId: z.number().int().describe(\"ID of the domain under which the link was created.\"),\n archived: z.boolean().describe(\"Whether the link is archived.\"),\n cloaking: z.boolean().describe(\"Whether cloaking is enabled for the link.\"),\n idString: z.string().describe(\"String representation of the link ID.\"),\n shortURL: z.string().describe(\"The shortened URL.\"),\n createdAt: z.string().describe(\"Timestamp when the link was created (ISO 8601).\"),\n duplicate: z.boolean().describe(\"Whether the link is a duplicate.\"),\n updatedAt: z.string().describe(\"Timestamp when the link was last updated (ISO 8601).\"),\n originalURL: z.string().describe(\"The original URL that was shortened.\"),\n secureShortURL: z.string().describe(\"The HTTPS version of the shortened URL.\"),\n}).describe(\"Schema representing a single created short link.\");\nexport const ShortIoPostLinksBulkOutput: z.ZodTypeAny = z.object({\n links: z.array(ShortIoPostLinksBulk_PostLinksBulkResponseItemSchema).describe(\"List of created short link objects.\"),\n}).describe(\"Response model containing created short links.\");\n\nexport const shortIoPostLinksBulk = action(\"SHORT_IO_POST_LINKS_BULK\", {\n slug: \"short_io-post-links-bulk\",\n name: \"Create Links in Bulk\",\n description: \"Tool to create up to 1000 short links in one call. Use when bulk shortening multiple URLs.\",\n input: ShortIoPostLinksBulkInput,\n output: ShortIoPostLinksBulkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS;EACxN,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACtE,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,CAAC,SAAS,mNAAmN;CAC1R,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qLAA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AM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,OAAO,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,qCAAqC,EACrH,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/post-links-qr-bulk.ts
|
|
4
|
+
const ShortIoPostLinksQrBulkInput = zod.z.object({
|
|
5
|
+
size: zod.z.number().int().describe("Size of the QR code (1-99).").optional(),
|
|
6
|
+
type: zod.z.enum(["png", "svg"]).default("png").describe("Image format for QR codes. Defaults to 'png'.").optional(),
|
|
7
|
+
color: zod.z.string().describe("Foreground color for QR code (hex code without # prefix, e.g., '000000' or 'FF0000').").optional(),
|
|
8
|
+
linkIds: zod.z.array(zod.z.string()).describe("List of up to 150 link IDs to generate QR codes for."),
|
|
9
|
+
domainId: zod.z.string().describe("Optional domain ID to override default domain settings.").optional(),
|
|
10
|
+
noExcavate: zod.z.boolean().describe("If true, disables the 'eye' excavation in the QR code.").optional(),
|
|
11
|
+
backgroundColor: zod.z.string().describe("Background color for QR code (hex code without # prefix, e.g., 'FFFFFF' or 'F0F0F0').").optional(),
|
|
12
|
+
useDomainSettings: zod.z.boolean().default(true).describe("Whether to apply domain-level QR settings. Defaults to true.").optional()
|
|
13
|
+
}).describe("Request model for generating QR codes for multiple links in bulk.");
|
|
14
|
+
const ShortIoPostLinksQrBulkOutput = zod.z.object({ content: zod.z.string().describe("Binary ZIP payload of QR code images.") }).describe("Response model containing binary ZIP payload.");
|
|
15
|
+
const shortIoPostLinksQrBulk = require_action.action("SHORT_IO_POST_LINKS_QR_BULK", {
|
|
16
|
+
slug: "short_io-post-links-qr-bulk",
|
|
17
|
+
name: "Generate QR Codes in Bulk",
|
|
18
|
+
description: "Tool to generate QR codes for multiple links in bulk. Use when you need to retrieve QR codes for several short links at once.",
|
|
19
|
+
input: ShortIoPostLinksQrBulkInput,
|
|
20
|
+
output: ShortIoPostLinksQrBulkOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.shortIoPostLinksQrBulk = shortIoPostLinksQrBulk;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=post-links-qr-bulk.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-links-qr-bulk.cjs","names":["z","action"],"sources":["../../src/actions/post-links-qr-bulk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoPostLinksQrBulkInput: z.ZodTypeAny = z.object({\n size: z.number().int().describe(\"Size of the QR code (1-99).\").optional(),\n type: z.enum([\"png\", \"svg\"]).default(\"png\").describe(\"Image format for QR codes. Defaults to 'png'.\").optional(),\n color: z.string().describe(\"Foreground color for QR code (hex code without # prefix, e.g., '000000' or 'FF0000').\").optional(),\n linkIds: z.array(z.string()).describe(\"List of up to 150 link IDs to generate QR codes for.\"),\n domainId: z.string().describe(\"Optional domain ID to override default domain settings.\").optional(),\n noExcavate: z.boolean().describe(\"If true, disables the 'eye' excavation in the QR code.\").optional(),\n backgroundColor: z.string().describe(\"Background color for QR code (hex code without # prefix, e.g., 'FFFFFF' or 'F0F0F0').\").optional(),\n useDomainSettings: z.boolean().default(true).describe(\"Whether to apply domain-level QR settings. Defaults to true.\").optional(),\n}).describe(\"Request model for generating QR codes for multiple links in bulk.\");\nexport const ShortIoPostLinksQrBulkOutput: z.ZodTypeAny = z.object({\n content: z.string().describe(\"Binary ZIP payload of QR code images.\"),\n}).describe(\"Response model containing binary ZIP payload.\");\n\nexport const shortIoPostLinksQrBulk = action(\"SHORT_IO_POST_LINKS_QR_BULK\", {\n slug: \"short_io-post-links-qr-bulk\",\n name: \"Generate QR Codes in Bulk\",\n description: \"Tool to generate QR codes for multiple links in bulk. Use when you need to retrieve QR codes for several short links at once.\",\n input: ShortIoPostLinksQrBulkInput,\n output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ksQrBulkInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoPostLinksQrBulkOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoPostLinksQrBulk: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoPostLinksQrBulk };
|
|
9
|
+
//# sourceMappingURL=post-links-qr-bulk.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-links-qr-bulk.d.cts","names":[],"sources":["../../src/actions/post-links-qr-bulk.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UASoC;AAAA,cACnE,4BAAA,EAA8B,CAAA,CAAE,UAEe;AAAA,cAE/C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-links-qr-bulk.d.ts
|
|
4
|
+
declare const ShortIoPostLinksQrBulkInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoPostLinksQrBulkOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoPostLinksQrBulk: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoPostLinksQrBulk };
|
|
9
|
+
//# sourceMappingURL=post-links-qr-bulk.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-links-qr-bulk.d.mts","names":[],"sources":["../../src/actions/post-links-qr-bulk.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UASoC;AAAA,cACnE,4BAAA,EAA8B,CAAA,CAAE,UAEe;AAAA,cAE/C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const shortIoPostLinksQrBulk = action("SHORT_IO_POST_LINKS_QR_BULK", {
|
|
4
|
+
slug: "short_io-post-links-qr-bulk",
|
|
5
|
+
name: "Generate QR Codes in Bulk",
|
|
6
|
+
description: "Tool to generate QR codes for multiple links in bulk. Use when you need to retrieve QR codes for several short links at once.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
size: z.number().int().describe("Size of the QR code (1-99).").optional(),
|
|
9
|
+
type: z.enum(["png", "svg"]).default("png").describe("Image format for QR codes. Defaults to 'png'.").optional(),
|
|
10
|
+
color: z.string().describe("Foreground color for QR code (hex code without # prefix, e.g., '000000' or 'FF0000').").optional(),
|
|
11
|
+
linkIds: z.array(z.string()).describe("List of up to 150 link IDs to generate QR codes for."),
|
|
12
|
+
domainId: z.string().describe("Optional domain ID to override default domain settings.").optional(),
|
|
13
|
+
noExcavate: z.boolean().describe("If true, disables the 'eye' excavation in the QR code.").optional(),
|
|
14
|
+
backgroundColor: z.string().describe("Background color for QR code (hex code without # prefix, e.g., 'FFFFFF' or 'F0F0F0').").optional(),
|
|
15
|
+
useDomainSettings: z.boolean().default(true).describe("Whether to apply domain-level QR settings. Defaults to true.").optional()
|
|
16
|
+
}).describe("Request model for generating QR codes for multiple links in bulk."),
|
|
17
|
+
output: z.object({ content: z.string().describe("Binary ZIP payload of QR code images.") }).describe("Response model containing binary ZIP payload.")
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { shortIoPostLinksQrBulk };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=post-links-qr-bulk.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-links-qr-bulk.mjs","names":[],"sources":["../../src/actions/post-links-qr-bulk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoPostLinksQrBulkInput: z.ZodTypeAny = z.object({\n size: z.number().int().describe(\"Size of the QR code (1-99).\").optional(),\n type: z.enum([\"png\", \"svg\"]).default(\"png\").describe(\"Image format for QR codes. Defaults to 'png'.\").optional(),\n color: z.string().describe(\"Foreground color for QR code (hex code without # prefix, e.g., '000000' or 'FF0000').\").optional(),\n linkIds: z.array(z.string()).describe(\"List of up to 150 link IDs to generate QR codes for.\"),\n domainId: z.string().describe(\"Optional domain ID to override default domain settings.\").optional(),\n noExcavate: z.boolean().describe(\"If true, disables the 'eye' excavation in the QR code.\").optional(),\n backgroundColor: z.string().describe(\"Background color for QR code (hex code without # prefix, e.g., 'FFFFFF' or 'F0F0F0').\").optional(),\n useDomainSettings: z.boolean().default(true).describe(\"Whether to apply domain-level QR settings. Defaults to true.\").optional(),\n}).describe(\"Request model for generating QR codes for multiple links in bulk.\");\nexport const ShortIoPostLinksQrBulkOutput: z.ZodTypeAny = z.object({\n content: z.string().describe(\"Binary ZIP payload of QR code images.\"),\n}).describe(\"Response model containing binary ZIP payload.\");\n\nexport const shortIoPostLinksQrBulk = action(\"SHORT_IO_POST_LINKS_QR_BULK\", {\n slug: \"short_io-post-links-qr-bulk\",\n name: \"Generate QR Codes in Bulk\",\n description: \"Tool to generate QR codes for multiple links in bulk. Use when you need to retrieve QR codes for several short links at once.\",\n input: ShortIoPostLinksQrBulkInput,\n output: ShortIoPostLinksQrBulkOutput,\n});\n"],"mappings":";;AAkBA,MAAa,yBAAyB,OAAO,+BAA+B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACxE,MAAM,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC/G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EAC7H,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EACvI,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,SAAS,mEASH;CACP,QATwD,EAAE,OAAO,EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACtE,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/post-links-unarchive-bulk.ts
|
|
4
|
+
const ShortIoPostLinksUnarchiveBulkInput = zod.z.object({ linkIds: zod.z.array(zod.z.string()).describe("List of short link IDs to unarchive. Each ID should be in the format 'lnk_...' (maximum 150 links per request).") }).describe("Request model for unarchiving multiple short links in bulk.");
|
|
5
|
+
const ShortIoPostLinksUnarchiveBulkOutput = zod.z.object({
|
|
6
|
+
error: zod.z.string().describe("Error message if the operation failed, otherwise null").nullable().optional(),
|
|
7
|
+
success: zod.z.boolean().describe("Indicates if the bulk unarchive operation was successful")
|
|
8
|
+
}).describe("Response model for bulk unarchive operation.");
|
|
9
|
+
const shortIoPostLinksUnarchiveBulk = require_action.action("SHORT_IO_POST_LINKS_UNARCHIVE_BULK", {
|
|
10
|
+
slug: "short_io-post-links-unarchive-bulk",
|
|
11
|
+
name: "Unarchive Links in Bulk",
|
|
12
|
+
description: "Unarchive multiple short links in bulk (up to 150 links per request). This operation restores previously archived links to active status, making them functional and visible again. Use this when you need to restore visibility of a set of archived short links at once. The operation is idempotent - unarchiving already unarchived links succeeds without error.",
|
|
13
|
+
input: ShortIoPostLinksUnarchiveBulkInput,
|
|
14
|
+
output: ShortIoPostLinksUnarchiveBulkOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.shortIoPostLinksUnarchiveBulk = shortIoPostLinksUnarchiveBulk;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=post-links-unarchive-bulk.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-links-unarchive-bulk.cjs","names":["z","action"],"sources":["../../src/actions/post-links-unarchive-bulk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoPostLinksUnarchiveBulkInput: z.ZodTypeAny = z.object({\n linkIds: z.array(z.string()).describe(\"List of short link IDs to unarchive. Each ID should be in the format 'lnk_...' (maximum 150 links per request).\"),\n}).describe(\"Request model for unarchiving multiple short links in bulk.\");\nexport const ShortIoPostLinksUnarchiveBulkOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the operation failed, otherwise null\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the bulk unarchive operation was successful\"),\n}).describe(\"Response model for bulk unarchive operation.\");\n\nexport const shortIoPostLinksUnarchiveBulk = action(\"SHORT_IO_POST_LINKS_UNARCHIVE_BULK\", {\n slug: \"short_io-post-links-unarchive-bulk\",\n name: \"Unarchive Links in Bulk\",\n description: \"Unarchive multiple short links in bulk (up to 150 links per request). This operation restores previously archived links to active status, making them functional and visible again. Use this when you need to restore visibility of a set of archived short links at once. The operation is idempotent - unarchiving already unarchived links succeeds without error.\",\n input: ShortIoPostLinksUnarchiveBulkInput,\n output: ShortIoPostLinksUnarchiveBulkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iHAAiH,EACzJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D;AAC1F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,gCAAgCC,eAAAA,OAAO,sCAAsC;CACxF,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/post-links-unarchive-bulk.d.ts
|
|
4
|
+
declare const ShortIoPostLinksUnarchiveBulkInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoPostLinksUnarchiveBulkOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoPostLinksUnarchiveBulk: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoPostLinksUnarchiveBulk };
|
|
9
|
+
//# sourceMappingURL=post-links-unarchive-bulk.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-links-unarchive-bulk.d.cts","names":[],"sources":["../../src/actions/post-links-unarchive-bulk.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAEuB;AAAA,cAC7D,mCAAA,EAAqC,CAAA,CAAE,UAGO;AAAA,cAE9C,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-links-unarchive-bulk.d.ts
|
|
4
|
+
declare const ShortIoPostLinksUnarchiveBulkInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoPostLinksUnarchiveBulkOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoPostLinksUnarchiveBulk: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoPostLinksUnarchiveBulk };
|
|
9
|
+
//# sourceMappingURL=post-links-unarchive-bulk.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-links-unarchive-bulk.d.mts","names":[],"sources":["../../src/actions/post-links-unarchive-bulk.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAEuB;AAAA,cAC7D,mCAAA,EAAqC,CAAA,CAAE,UAGO;AAAA,cAE9C,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const shortIoPostLinksUnarchiveBulk = action("SHORT_IO_POST_LINKS_UNARCHIVE_BULK", {
|
|
4
|
+
slug: "short_io-post-links-unarchive-bulk",
|
|
5
|
+
name: "Unarchive Links in Bulk",
|
|
6
|
+
description: "Unarchive multiple short links in bulk (up to 150 links per request). This operation restores previously archived links to active status, making them functional and visible again. Use this when you need to restore visibility of a set of archived short links at once. The operation is idempotent - unarchiving already unarchived links succeeds without error.",
|
|
7
|
+
input: z.object({ linkIds: z.array(z.string()).describe("List of short link IDs to unarchive. Each ID should be in the format 'lnk_...' (maximum 150 links per request).") }).describe("Request model for unarchiving multiple short links in bulk."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
error: z.string().describe("Error message if the operation failed, otherwise null").nullable().optional(),
|
|
10
|
+
success: z.boolean().describe("Indicates if the bulk unarchive operation was successful")
|
|
11
|
+
}).describe("Response model for bulk unarchive operation.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { shortIoPostLinksUnarchiveBulk };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=post-links-unarchive-bulk.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-links-unarchive-bulk.mjs","names":[],"sources":["../../src/actions/post-links-unarchive-bulk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoPostLinksUnarchiveBulkInput: z.ZodTypeAny = z.object({\n linkIds: z.array(z.string()).describe(\"List of short link IDs to unarchive. Each ID should be in the format 'lnk_...' (maximum 150 links per request).\"),\n}).describe(\"Request model for unarchiving multiple short links in bulk.\");\nexport const ShortIoPostLinksUnarchiveBulkOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the operation failed, otherwise null\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the bulk unarchive operation was successful\"),\n}).describe(\"Response model for bulk unarchive operation.\");\n\nexport const shortIoPostLinksUnarchiveBulk = action(\"SHORT_IO_POST_LINKS_UNARCHIVE_BULK\", {\n slug: \"short_io-post-links-unarchive-bulk\",\n name: \"Unarchive Links in Bulk\",\n description: \"Unarchive multiple short links in bulk (up to 150 links per request). This operation restores previously archived links to active status, making them functional and visible again. Use this when you need to restore visibility of a set of archived short links at once. The operation is idempotent - unarchiving already unarchived links succeeds without error.\",\n input: ShortIoPostLinksUnarchiveBulkInput,\n output: ShortIoPostLinksUnarchiveBulkOutput,\n});\n"],"mappings":";;AAYA,MAAa,gCAAgC,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ8D,EAAE,OAAO,EACvE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iHAAiH,EACzJ,CAAC,CAAC,CAAC,SAAS,6DAUH;CACP,QAV+D,EAAE,OAAO;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D;CAC1F,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/unarchive-link.ts
|
|
4
|
+
const ShortIoUnarchiveLinkInput = zod.z.object({
|
|
5
|
+
link_id: zod.z.string().describe("The unique identifier of the link to unarchive (format: lnk_XXXXX_YYYYYYYYYYYYYYYYYYYY)."),
|
|
6
|
+
domain_id: zod.z.string().describe("Optional domain identifier to scope the operation to a specific domain.").optional()
|
|
7
|
+
}).describe("Request model for unarchiving a single short link.");
|
|
8
|
+
const ShortIoUnarchiveLinkOutput = zod.z.object({
|
|
9
|
+
error: zod.z.string().describe("Error message if the operation failed, otherwise null").nullable().optional(),
|
|
10
|
+
success: zod.z.boolean().describe("Indicates whether the unarchive operation completed successfully")
|
|
11
|
+
}).describe("Response model for unarchive link operation.");
|
|
12
|
+
const shortIoUnarchiveLink = require_action.action("SHORT_IO_UNARCHIVE_LINK", {
|
|
13
|
+
slug: "short_io-unarchive-link",
|
|
14
|
+
name: "Unarchive Link",
|
|
15
|
+
description: "Unarchive a previously archived short link to restore it to active status. Use this when you need to make an archived link visible and functional again. The operation is idempotent - unarchiving an already active link succeeds without error.",
|
|
16
|
+
input: ShortIoUnarchiveLinkInput,
|
|
17
|
+
output: ShortIoUnarchiveLinkOutput
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
exports.shortIoUnarchiveLink = shortIoUnarchiveLink;
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=unarchive-link.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unarchive-link.cjs","names":["z","action"],"sources":["../../src/actions/unarchive-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoUnarchiveLinkInput: z.ZodTypeAny = z.object({\n link_id: z.string().describe(\"The unique identifier of the link to unarchive (format: lnk_XXXXX_YYYYYYYYYYYYYYYYYYYY).\"),\n domain_id: z.string().describe(\"Optional domain identifier to scope the operation to a specific domain.\").optional(),\n}).describe(\"Request model for unarchiving a single short link.\");\nexport const ShortIoUnarchiveLinkOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the operation failed, otherwise null\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the unarchive operation completed successfully\"),\n}).describe(\"Response model for unarchive link operation.\");\n\nexport const shortIoUnarchiveLink = action(\"SHORT_IO_UNARCHIVE_LINK\", {\n slug: \"short_io-unarchive-link\",\n name: \"Unarchive Link\",\n description: \"Unarchive a previously archived short link to restore it to active status. Use this when you need to make an archived link visible and functional again. The operation is idempotent - unarchiving an already active link succeeds without error.\",\n input: ShortIoUnarchiveLinkInput,\n output: ShortIoUnarchiveLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACvH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE;AAClG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,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/unarchive-link.d.ts
|
|
4
|
+
declare const ShortIoUnarchiveLinkInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoUnarchiveLinkOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoUnarchiveLink: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoUnarchiveLink };
|
|
9
|
+
//# sourceMappingURL=unarchive-link.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unarchive-link.d.cts","names":[],"sources":["../../src/actions/unarchive-link.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGuB;AAAA,cACpD,0BAAA,EAA4B,CAAA,CAAE,UAGgB;AAAA,cAE9C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/unarchive-link.d.ts
|
|
4
|
+
declare const ShortIoUnarchiveLinkInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoUnarchiveLinkOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoUnarchiveLink: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoUnarchiveLink };
|
|
9
|
+
//# sourceMappingURL=unarchive-link.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unarchive-link.d.mts","names":[],"sources":["../../src/actions/unarchive-link.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGuB;AAAA,cACpD,0BAAA,EAA4B,CAAA,CAAE,UAGgB;AAAA,cAE9C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const shortIoUnarchiveLink = action("SHORT_IO_UNARCHIVE_LINK", {
|
|
4
|
+
slug: "short_io-unarchive-link",
|
|
5
|
+
name: "Unarchive Link",
|
|
6
|
+
description: "Unarchive a previously archived short link to restore it to active status. Use this when you need to make an archived link visible and functional again. The operation is idempotent - unarchiving an already active link succeeds without error.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
link_id: z.string().describe("The unique identifier of the link to unarchive (format: lnk_XXXXX_YYYYYYYYYYYYYYYYYYYY)."),
|
|
9
|
+
domain_id: z.string().describe("Optional domain identifier to scope the operation to a specific domain.").optional()
|
|
10
|
+
}).describe("Request model for unarchiving a single short link."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
error: z.string().describe("Error message if the operation failed, otherwise null").nullable().optional(),
|
|
13
|
+
success: z.boolean().describe("Indicates whether the unarchive operation completed successfully")
|
|
14
|
+
}).describe("Response model for unarchive link operation.")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { shortIoUnarchiveLink };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=unarchive-link.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unarchive-link.mjs","names":[],"sources":["../../src/actions/unarchive-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoUnarchiveLinkInput: z.ZodTypeAny = z.object({\n link_id: z.string().describe(\"The unique identifier of the link to unarchive (format: lnk_XXXXX_YYYYYYYYYYYYYYYYYYYY).\"),\n domain_id: z.string().describe(\"Optional domain identifier to scope the operation to a specific domain.\").optional(),\n}).describe(\"Request model for unarchiving a single short link.\");\nexport const ShortIoUnarchiveLinkOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the operation failed, otherwise null\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the unarchive operation completed successfully\"),\n}).describe(\"Response model for unarchive link operation.\");\n\nexport const shortIoUnarchiveLink = action(\"SHORT_IO_UNARCHIVE_LINK\", {\n slug: \"short_io-unarchive-link\",\n name: \"Unarchive Link\",\n description: \"Unarchive a previously archived short link to restore it to active status. Use this when you need to make an archived link visible and functional again. The operation is idempotent - unarchiving an already active link succeeds without error.\",\n input: ShortIoUnarchiveLinkInput,\n output: ShortIoUnarchiveLinkOutput,\n});\n"],"mappings":";;AAaA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbqD,EAAE,OAAO;EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;EACvH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,oDAUH;CACP,QAVsD,EAAE,OAAO;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE;CAClG,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-domain-settings.ts
|
|
4
|
+
const ShortIoUpdateDomainSettingsInput = zod.z.object({
|
|
5
|
+
domainId: zod.z.string().describe("The unique identifier of the domain to update."),
|
|
6
|
+
rootRedirect: zod.z.string().describe("URL to redirect customers when visiting your short domain root. If not provided, the existing redirect URL remains unchanged.").optional()
|
|
7
|
+
}).describe("Request model for updating domain settings.");
|
|
8
|
+
const ShortIoUpdateDomainSettingsOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the domain update operation completed successfully.") }).describe("Response model for domain settings update operation.");
|
|
9
|
+
const shortIoUpdateDomainSettings = require_action.action("SHORT_IO_UPDATE_DOMAIN_SETTINGS", {
|
|
10
|
+
slug: "short_io-update-domain-settings",
|
|
11
|
+
name: "Update Domain Settings",
|
|
12
|
+
description: "Tool to update domain settings for a Short.io domain. Use when you need to modify domain configuration such as the root redirect URL.",
|
|
13
|
+
input: ShortIoUpdateDomainSettingsInput,
|
|
14
|
+
output: ShortIoUpdateDomainSettingsOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.shortIoUpdateDomainSettings = shortIoUpdateDomainSettings;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=update-domain-settings.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-domain-settings.cjs","names":["z","action"],"sources":["../../src/actions/update-domain-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoUpdateDomainSettingsInput: z.ZodTypeAny = z.object({\n domainId: z.string().describe(\"The unique identifier of the domain to update.\"),\n rootRedirect: z.string().describe(\"URL to redirect customers when visiting your short domain root. If not provided, the existing redirect URL remains unchanged.\").optional(),\n}).describe(\"Request model for updating domain settings.\");\nexport const ShortIoUpdateDomainSettingsOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the domain update operation completed successfully.\"),\n}).describe(\"Response model for domain settings update operation.\");\n\nexport const shortIoUpdateDomainSettings = action(\"SHORT_IO_UPDATE_DOMAIN_SETTINGS\", {\n slug: \"short_io-update-domain-settings\",\n name: \"Update Domain Settings\",\n description: \"Tool to update domain settings for a Short.io domain. Use when you need to modify domain configuration such as the root redirect URL.\",\n input: ShortIoUpdateDomainSettingsInput,\n output: ShortIoUpdateDomainSettingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;AAC9K,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,EACvG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,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/update-domain-settings.d.ts
|
|
4
|
+
declare const ShortIoUpdateDomainSettingsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoUpdateDomainSettingsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoUpdateDomainSettings: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoUpdateDomainSettings };
|
|
9
|
+
//# sourceMappingURL=update-domain-settings.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-domain-settings.d.cts","names":[],"sources":["../../src/actions/update-domain-settings.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGS;AAAA,cAC7C,iCAAA,EAAmC,CAAA,CAAE,UAEiB;AAAA,cAEtD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-domain-settings.d.ts
|
|
4
|
+
declare const ShortIoUpdateDomainSettingsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoUpdateDomainSettingsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoUpdateDomainSettings: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoUpdateDomainSettings };
|
|
9
|
+
//# sourceMappingURL=update-domain-settings.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-domain-settings.d.mts","names":[],"sources":["../../src/actions/update-domain-settings.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGS;AAAA,cAC7C,iCAAA,EAAmC,CAAA,CAAE,UAEiB;AAAA,cAEtD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const shortIoUpdateDomainSettings = action("SHORT_IO_UPDATE_DOMAIN_SETTINGS", {
|
|
4
|
+
slug: "short_io-update-domain-settings",
|
|
5
|
+
name: "Update Domain Settings",
|
|
6
|
+
description: "Tool to update domain settings for a Short.io domain. Use when you need to modify domain configuration such as the root redirect URL.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
domainId: z.string().describe("The unique identifier of the domain to update."),
|
|
9
|
+
rootRedirect: z.string().describe("URL to redirect customers when visiting your short domain root. If not provided, the existing redirect URL remains unchanged.").optional()
|
|
10
|
+
}).describe("Request model for updating domain settings."),
|
|
11
|
+
output: z.object({ success: z.boolean().describe("Indicates whether the domain update operation completed successfully.") }).describe("Response model for domain settings update operation.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { shortIoUpdateDomainSettings };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=update-domain-settings.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-domain-settings.mjs","names":[],"sources":["../../src/actions/update-domain-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoUpdateDomainSettingsInput: z.ZodTypeAny = z.object({\n domainId: z.string().describe(\"The unique identifier of the domain to update.\"),\n rootRedirect: z.string().describe(\"URL to redirect customers when visiting your short domain root. If not provided, the existing redirect URL remains unchanged.\").optional(),\n}).describe(\"Request model for updating domain settings.\");\nexport const ShortIoUpdateDomainSettingsOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the domain update operation completed successfully.\"),\n}).describe(\"Response model for domain settings update operation.\");\n\nexport const shortIoUpdateDomainSettings = action(\"SHORT_IO_UPDATE_DOMAIN_SETTINGS\", {\n slug: \"short_io-update-domain-settings\",\n name: \"Update Domain Settings\",\n description: \"Tool to update domain settings for a Short.io domain. Use when you need to modify domain configuration such as the root redirect URL.\",\n input: ShortIoUpdateDomainSettingsInput,\n output: ShortIoUpdateDomainSettingsOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4D,EAAE,OAAO;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC9K,CAAC,CAAC,CAAC,SAAS,6CASH;CACP,QAT6D,EAAE,OAAO,EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,EACvG,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-link.ts
|
|
4
|
+
const ShortIoUpdateLinkInput = zod.z.object({
|
|
5
|
+
ttl: zod.z.string().describe("Time-to-live: auto-delete the link after this duration. Accepts milliseconds or ISO 8601 duration string.").optional(),
|
|
6
|
+
path: zod.z.string().describe("Custom path/slug for the short link (must be unique within the domain).").optional(),
|
|
7
|
+
tags: zod.z.array(zod.z.string()).describe("Array of tags to categorize the link.").optional(),
|
|
8
|
+
title: zod.z.string().describe("Title or name for the link for organizational purposes.").optional(),
|
|
9
|
+
linkId: zod.z.string().describe("The unique identifier of the link to update (format: lnk_XXXXX_YYYYYYYYYYYYYYYYYYYY)."),
|
|
10
|
+
skipQS: zod.z.boolean().describe("If true, prevents merging query string parameters from the short URL to the destination URL.").optional(),
|
|
11
|
+
utmTerm: zod.z.string().describe("UTM term parameter automatically appended to destination URL for analytics tracking.").optional(),
|
|
12
|
+
archived: zod.z.boolean().describe("Archive or unarchive the link. Archived links remain accessible but are hidden from main lists.").optional(),
|
|
13
|
+
cloaking: zod.z.boolean().describe("Enable cloaking to hide the destination URL from visitors (they see the short URL in the browser).").optional(),
|
|
14
|
+
password: zod.z.string().describe("Set a password to restrict access to the link. Visitors must enter this password before being redirected.").optional(),
|
|
15
|
+
splitURL: zod.z.string().describe("Alternate destination URL for A/B testing. Traffic is split based on splitPercent.").optional(),
|
|
16
|
+
createdAt: zod.z.string().describe("Override link creation date in milliseconds timestamp.").optional(),
|
|
17
|
+
expiresAt: zod.z.string().describe("Link expiration date/time. Accepts milliseconds timestamp (e.g., '1704067200000') or ISO 8601 string (e.g., '2024-01-01T00:00:00.000Z').").optional(),
|
|
18
|
+
iphoneURL: zod.z.string().describe("Destination URL specifically for iPhone/iOS devices (deep linking).").optional(),
|
|
19
|
+
utmMedium: zod.z.string().describe("UTM medium parameter automatically appended to destination URL for analytics tracking.").optional(),
|
|
20
|
+
utmSource: zod.z.string().describe("UTM source parameter automatically appended to destination URL for analytics tracking.").optional(),
|
|
21
|
+
androidURL: zod.z.string().describe("Destination URL specifically for Android devices (deep linking).").optional(),
|
|
22
|
+
expiredURL: zod.z.string().describe("URL to redirect visitors to after the link expires.").optional(),
|
|
23
|
+
utmContent: zod.z.string().describe("UTM content parameter automatically appended to destination URL for analytics tracking.").optional(),
|
|
24
|
+
clicksLimit: zod.z.number().int().describe("Maximum number of clicks allowed. Link will be disabled after reaching this limit.").optional(),
|
|
25
|
+
originalURL: zod.z.string().describe("New destination URL to update.").optional(),
|
|
26
|
+
utmCampaign: zod.z.string().describe("UTM campaign parameter automatically appended to destination URL for analytics tracking.").optional(),
|
|
27
|
+
redirectType: zod.z.number().int().describe("HTTP redirect status code: 301 (permanent), 302 (temporary), 307 (temporary preserving method), or 308 (permanent preserving method).").optional(),
|
|
28
|
+
splitPercent: zod.z.number().int().describe("Percentage of traffic (1-100) to send to splitURL for A/B testing.").optional(),
|
|
29
|
+
integrationFB: zod.z.string().describe("Facebook pixel/integration parameter for conversion tracking.").optional(),
|
|
30
|
+
integrationGA: zod.z.string().describe("Google Analytics integration parameter.").optional(),
|
|
31
|
+
integrationGTM: zod.z.string().describe("Google Tag Manager integration parameter.").optional(),
|
|
32
|
+
passwordContact: zod.z.boolean().describe("If true, provides your email to users so they can request the password.").optional(),
|
|
33
|
+
integrationAdroll: zod.z.string().describe("Adroll pixel/integration parameter for ad retargeting.").optional()
|
|
34
|
+
}).describe("Request model for updating an existing short link.");
|
|
35
|
+
const ShortIoUpdateLinkOutput = zod.z.object({
|
|
36
|
+
id: zod.z.string().describe("Unique identifier of the link."),
|
|
37
|
+
path: zod.z.string().describe("Path/slug of the short link."),
|
|
38
|
+
tags: zod.z.array(zod.z.string()).describe("Tags associated with the link.").nullable().optional(),
|
|
39
|
+
title: zod.z.string().describe("Title of the link, if set.").nullable().optional(),
|
|
40
|
+
OwnerId: zod.z.number().int().describe("ID of the link owner.").nullable().optional(),
|
|
41
|
+
utmTerm: zod.z.string().describe("UTM term parameter, if set.").nullable().optional(),
|
|
42
|
+
DomainId: zod.z.number().int().describe("ID of the domain this link belongs to.").nullable().optional(),
|
|
43
|
+
archived: zod.z.boolean().describe("Whether the link is archived.").nullable().optional(),
|
|
44
|
+
cloaking: zod.z.boolean().describe("Whether cloaking is enabled for the link.").nullable().optional(),
|
|
45
|
+
idString: zod.z.string().describe("String representation of the link ID."),
|
|
46
|
+
password: zod.z.string().describe("Indicates if password protection is enabled (actual password not returned).").nullable().optional(),
|
|
47
|
+
shortURL: zod.z.string().describe("The shortened URL."),
|
|
48
|
+
createdAt: zod.z.string().describe("Link creation timestamp in ISO 8601 format."),
|
|
49
|
+
expiresAt: zod.z.string().describe("Link expiration date/time, if set.").nullable().optional(),
|
|
50
|
+
iphoneURL: zod.z.string().describe("iPhone-specific destination URL, if set.").nullable().optional(),
|
|
51
|
+
updatedAt: zod.z.string().describe("Last updated timestamp in ISO 8601 format.").nullable().optional(),
|
|
52
|
+
utmMedium: zod.z.string().describe("UTM medium parameter, if set.").nullable().optional(),
|
|
53
|
+
utmSource: zod.z.string().describe("UTM source parameter, if set.").nullable().optional(),
|
|
54
|
+
androidURL: zod.z.string().describe("Android-specific destination URL, if set.").nullable().optional(),
|
|
55
|
+
expiredURL: zod.z.string().describe("URL to redirect to after expiration, if set.").nullable().optional(),
|
|
56
|
+
utmContent: zod.z.string().describe("UTM content parameter, if set.").nullable().optional(),
|
|
57
|
+
clicksLimit: zod.z.number().int().describe("Maximum clicks allowed, if set.").nullable().optional(),
|
|
58
|
+
originalURL: zod.z.string().describe("Current destination URL of the link."),
|
|
59
|
+
utmCampaign: zod.z.string().describe("UTM campaign parameter, if set.").nullable().optional(),
|
|
60
|
+
redirectType: zod.z.number().int().describe("HTTP redirect status code being used.").nullable().optional(),
|
|
61
|
+
secureShortURL: zod.z.string().describe("HTTPS version of the shortened URL.")
|
|
62
|
+
}).describe("Response model containing the updated link details.");
|
|
63
|
+
const shortIoUpdateLink = require_action.action("SHORT_IO_UPDATE_LINK", {
|
|
64
|
+
slug: "short_io-update-link",
|
|
65
|
+
name: "Update Link",
|
|
66
|
+
description: "Tool to update an existing short link by its ID. Allows modifying destination URL, title, UTM parameters, password protection, expiration, tags, and various other link settings. Only specified fields are updated; omitted fields remain unchanged. Use when you need to edit any aspect of a previously created short link.",
|
|
67
|
+
input: ShortIoUpdateLinkInput,
|
|
68
|
+
output: ShortIoUpdateLinkOutput
|
|
69
|
+
});
|
|
70
|
+
//#endregion
|
|
71
|
+
exports.shortIoUpdateLink = shortIoUpdateLink;
|
|
72
|
+
|
|
73
|
+
//# sourceMappingURL=update-link.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-link.cjs","names":["z","action"],"sources":["../../src/actions/update-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoUpdateLinkInput: z.ZodTypeAny = z.object({\n ttl: z.string().describe(\"Time-to-live: auto-delete the link after this duration. Accepts milliseconds or ISO 8601 duration string.\").optional(),\n path: z.string().describe(\"Custom path/slug for the short link (must be unique within the domain).\").optional(),\n tags: z.array(z.string()).describe(\"Array of tags to categorize the link.\").optional(),\n title: z.string().describe(\"Title or name for the link for organizational purposes.\").optional(),\n linkId: z.string().describe(\"The unique identifier of the link to update (format: lnk_XXXXX_YYYYYYYYYYYYYYYYYYYY).\"),\n skipQS: z.boolean().describe(\"If true, prevents merging query string parameters from the short URL to the destination URL.\").optional(),\n utmTerm: z.string().describe(\"UTM term parameter automatically appended to destination URL for analytics tracking.\").optional(),\n archived: z.boolean().describe(\"Archive or unarchive the link. Archived links remain accessible but are hidden from main lists.\").optional(),\n cloaking: z.boolean().describe(\"Enable cloaking to hide the destination URL from visitors (they see the short URL in the browser).\").optional(),\n password: z.string().describe(\"Set a password to restrict access to the link. Visitors must enter this password before being redirected.\").optional(),\n splitURL: z.string().describe(\"Alternate destination URL for A/B testing. Traffic is split based on splitPercent.\").optional(),\n createdAt: z.string().describe(\"Override link creation date in milliseconds timestamp.\").optional(),\n expiresAt: z.string().describe(\"Link expiration date/time. Accepts milliseconds timestamp (e.g., '1704067200000') or ISO 8601 string (e.g., '2024-01-01T00:00:00.000Z').\").optional(),\n iphoneURL: z.string().describe(\"Destination URL specifically for iPhone/iOS devices (deep linking).\").optional(),\n utmMedium: z.string().describe(\"UTM medium parameter automatically appended to destination URL for analytics tracking.\").optional(),\n utmSource: z.string().describe(\"UTM source parameter automatically appended to destination URL for analytics tracking.\").optional(),\n androidURL: z.string().describe(\"Destination URL specifically for Android devices (deep linking).\").optional(),\n expiredURL: z.string().describe(\"URL to redirect visitors to after the link expires.\").optional(),\n utmContent: z.string().describe(\"UTM content parameter automatically appended to destination URL for analytics tracking.\").optional(),\n clicksLimit: z.number().int().describe(\"Maximum number of clicks allowed. Link will be disabled after reaching this limit.\").optional(),\n originalURL: z.string().describe(\"New destination URL to update.\").optional(),\n utmCampaign: z.string().describe(\"UTM campaign parameter automatically appended to destination URL for analytics tracking.\").optional(),\n redirectType: z.number().int().describe(\"HTTP redirect status code: 301 (permanent), 302 (temporary), 307 (temporary preserving method), or 308 (permanent preserving method).\").optional(),\n splitPercent: z.number().int().describe(\"Percentage of traffic (1-100) to send to splitURL for A/B testing.\").optional(),\n integrationFB: z.string().describe(\"Facebook pixel/integration parameter for conversion tracking.\").optional(),\n integrationGA: z.string().describe(\"Google Analytics integration parameter.\").optional(),\n integrationGTM: z.string().describe(\"Google Tag Manager integration parameter.\").optional(),\n passwordContact: z.boolean().describe(\"If true, provides your email to users so they can request the password.\").optional(),\n integrationAdroll: z.string().describe(\"Adroll pixel/integration parameter for ad retargeting.\").optional(),\n}).describe(\"Request model for updating an existing short link.\");\nexport const ShortIoUpdateLinkOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the link.\"),\n path: z.string().describe(\"Path/slug of the short link.\"),\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 OwnerId: z.number().int().describe(\"ID of the link owner.\").nullable().optional(),\n utmTerm: z.string().describe(\"UTM term parameter, if set.\").nullable().optional(),\n DomainId: z.number().int().describe(\"ID of the domain this link belongs to.\").nullable().optional(),\n archived: z.boolean().describe(\"Whether the link is archived.\").nullable().optional(),\n cloaking: z.boolean().describe(\"Whether cloaking is enabled for the link.\").nullable().optional(),\n idString: z.string().describe(\"String representation of the link ID.\"),\n password: z.string().describe(\"Indicates if password protection is enabled (actual password not returned).\").nullable().optional(),\n shortURL: z.string().describe(\"The shortened URL.\"),\n createdAt: z.string().describe(\"Link creation timestamp in ISO 8601 format.\"),\n expiresAt: z.string().describe(\"Link expiration date/time, if set.\").nullable().optional(),\n iphoneURL: z.string().describe(\"iPhone-specific destination URL, if set.\").nullable().optional(),\n updatedAt: z.string().describe(\"Last updated timestamp in ISO 8601 format.\").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 androidURL: z.string().describe(\"Android-specific destination URL, if set.\").nullable().optional(),\n expiredURL: z.string().describe(\"URL to redirect to after expiration, if set.\").nullable().optional(),\n utmContent: z.string().describe(\"UTM content parameter, if set.\").nullable().optional(),\n clicksLimit: z.number().int().describe(\"Maximum clicks allowed, if set.\").nullable().optional(),\n originalURL: z.string().describe(\"Current destination URL of the link.\"),\n utmCampaign: z.string().describe(\"UTM campaign parameter, if set.\").nullable().optional(),\n redirectType: z.number().int().describe(\"HTTP redirect status code being used.\").nullable().optional(),\n secureShortURL: z.string().describe(\"HTTPS version of the shortened URL.\"),\n}).describe(\"Response model containing the updated link details.\");\n\nexport const shortIoUpdateLink = action(\"SHORT_IO_UPDATE_LINK\", {\n slug: \"short_io-update-link\",\n name: \"Update Link\",\n description: \"Tool to update an existing short link by its ID. Allows modifying destination URL, title, UTM parameters, password protection, expiration, tags, and various other link settings. Only specified fields are updated; omitted fields remain unchanged. Use when you need to edit any aspect of a previously created short link.\",\n input: ShortIoUpdateLinkInput,\n output: ShortIoUpdateLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC/I,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC9G,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACnH,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CACtI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC9H,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC3I,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC9I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACpJ,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O,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AAC3E,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,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/update-link.d.ts
|
|
4
|
+
declare const ShortIoUpdateLinkInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoUpdateLinkOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoUpdateLink: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoUpdateLink };
|
|
9
|
+
//# sourceMappingURL=update-link.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-link.d.cts","names":[],"sources":["../../src/actions/update-link.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UA8B0B;AAAA,cACpD,uBAAA,EAAyB,CAAA,CAAE,UA2B0B;AAAA,cAErD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-link.d.ts
|
|
4
|
+
declare const ShortIoUpdateLinkInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoUpdateLinkOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoUpdateLink: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoUpdateLink };
|
|
9
|
+
//# sourceMappingURL=update-link.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-link.d.mts","names":[],"sources":["../../src/actions/update-link.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UA8B0B;AAAA,cACpD,uBAAA,EAAyB,CAAA,CAAE,UA2B0B;AAAA,cAErD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|