@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 @@
|
|
|
1
|
+
{"version":3,"file":"post-domains-by-interval.cjs","names":["z","action"],"sources":["../../src/actions/post-domains-by-interval.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoPostDomainsByIntervalInput: z.ZodTypeAny = z.object({\n tz: z.string().default(\"UTC\").describe(\"IANA timezone name for interval boundaries; defaults to 'UTC'.\").optional(),\n period: z.enum([\"custom\", \"today\", \"yesterday\", \"total\", \"week\", \"month\", \"lastmonth\", \"last7\", \"last30\"]).default(\"last30\").describe(\"Time interval for statistics. Defaults to 'last30'. Use 'custom' to specify a start and end date.\").optional(),\n endDate: z.string().describe(\"End date (YYYY-MM-DD) for custom interval; required if period is 'custom'.\").optional(),\n domainId: z.number().int().describe(\"Identifier of the domain to fetch statistics for.\"),\n startDate: z.string().describe(\"Start date (YYYY-MM-DD) for custom interval; required if period is 'custom'.\").optional(),\n}).describe(\"Request parameters for retrieving click statistics for a domain over a specified interval.\");\nconst ShortIoPostDomainsByInterval_IntervalStatisticSchema: z.ZodTypeAny = z.object({\n x: z.string().describe(\"ISO 8601 timestamp marking the start of the interval.\"),\n y: z.number().int().describe(\"Number of clicks recorded in this interval.\"),\n}).describe(\"A single data point of click statistics at a given time interval.\");\nexport const ShortIoPostDomainsByIntervalOutput: z.ZodTypeAny = z.object({\n clickStatistics: z.array(ShortIoPostDomainsByInterval_IntervalStatisticSchema).describe(\"List of click counts keyed by interval timestamps.\"),\n}).describe(\"Response model containing click counts grouped by interval.\");\n\nexport const shortIoPostDomainsByInterval = action(\"SHORT_IO_POST_DOMAINS_BY_INTERVAL\", {\n slug: \"short_io-post-domains-by-interval\",\n name: \"Get Domain Statistics by Interval\",\n description: \"Tool to retrieve domain statistics over a custom interval. Use when you need time-series click data for a specific domain over a defined time window.\",\n input: ShortIoPostDomainsByIntervalInput,\n output: ShortIoPostDomainsByIntervalOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAClH,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAS;EAAa;EAAS;EAAQ;EAAS;EAAa;EAAS;CAAQ,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACpP,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACvF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,4FAA4F;AACxG,MAAM,uDAAqEA,IAAAA,EAAE,OAAO;CAClF,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC9E,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AAC5E,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,iBAAiBA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,oDAAoD,EAC9I,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,+BAA+BC,eAAAA,OAAO,qCAAqC;CACtF,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-domains-by-interval.d.ts
|
|
4
|
+
declare const ShortIoPostDomainsByIntervalInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoPostDomainsByIntervalOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoPostDomainsByInterval: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoPostDomainsByInterval };
|
|
9
|
+
//# sourceMappingURL=post-domains-by-interval.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-domains-by-interval.d.cts","names":[],"sources":["../../src/actions/post-domains-by-interval.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAMuD;AAAA,cAK5F,kCAAA,EAAoC,CAAA,CAAE,UAEuB;AAAA,cAE7D,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-domains-by-interval.d.ts
|
|
4
|
+
declare const ShortIoPostDomainsByIntervalInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoPostDomainsByIntervalOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoPostDomainsByInterval: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoPostDomainsByInterval };
|
|
9
|
+
//# sourceMappingURL=post-domains-by-interval.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-domains-by-interval.d.mts","names":[],"sources":["../../src/actions/post-domains-by-interval.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAMuD;AAAA,cAK5F,kCAAA,EAAoC,CAAA,CAAE,UAEuB;AAAA,cAE7D,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/post-domains-by-interval.ts
|
|
4
|
+
const ShortIoPostDomainsByIntervalInput = z.object({
|
|
5
|
+
tz: z.string().default("UTC").describe("IANA timezone name for interval boundaries; defaults to 'UTC'.").optional(),
|
|
6
|
+
period: z.enum([
|
|
7
|
+
"custom",
|
|
8
|
+
"today",
|
|
9
|
+
"yesterday",
|
|
10
|
+
"total",
|
|
11
|
+
"week",
|
|
12
|
+
"month",
|
|
13
|
+
"lastmonth",
|
|
14
|
+
"last7",
|
|
15
|
+
"last30"
|
|
16
|
+
]).default("last30").describe("Time interval for statistics. Defaults to 'last30'. Use 'custom' to specify a start and end date.").optional(),
|
|
17
|
+
endDate: z.string().describe("End date (YYYY-MM-DD) for custom interval; required if period is 'custom'.").optional(),
|
|
18
|
+
domainId: z.number().int().describe("Identifier of the domain to fetch statistics for."),
|
|
19
|
+
startDate: z.string().describe("Start date (YYYY-MM-DD) for custom interval; required if period is 'custom'.").optional()
|
|
20
|
+
}).describe("Request parameters for retrieving click statistics for a domain over a specified interval.");
|
|
21
|
+
const ShortIoPostDomainsByInterval_IntervalStatisticSchema = z.object({
|
|
22
|
+
x: z.string().describe("ISO 8601 timestamp marking the start of the interval."),
|
|
23
|
+
y: z.number().int().describe("Number of clicks recorded in this interval.")
|
|
24
|
+
}).describe("A single data point of click statistics at a given time interval.");
|
|
25
|
+
const shortIoPostDomainsByInterval = action("SHORT_IO_POST_DOMAINS_BY_INTERVAL", {
|
|
26
|
+
slug: "short_io-post-domains-by-interval",
|
|
27
|
+
name: "Get Domain Statistics by Interval",
|
|
28
|
+
description: "Tool to retrieve domain statistics over a custom interval. Use when you need time-series click data for a specific domain over a defined time window.",
|
|
29
|
+
input: ShortIoPostDomainsByIntervalInput,
|
|
30
|
+
output: z.object({ clickStatistics: z.array(ShortIoPostDomainsByInterval_IntervalStatisticSchema).describe("List of click counts keyed by interval timestamps.") }).describe("Response model containing click counts grouped by interval.")
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
export { shortIoPostDomainsByInterval };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=post-domains-by-interval.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-domains-by-interval.mjs","names":[],"sources":["../../src/actions/post-domains-by-interval.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoPostDomainsByIntervalInput: z.ZodTypeAny = z.object({\n tz: z.string().default(\"UTC\").describe(\"IANA timezone name for interval boundaries; defaults to 'UTC'.\").optional(),\n period: z.enum([\"custom\", \"today\", \"yesterday\", \"total\", \"week\", \"month\", \"lastmonth\", \"last7\", \"last30\"]).default(\"last30\").describe(\"Time interval for statistics. Defaults to 'last30'. Use 'custom' to specify a start and end date.\").optional(),\n endDate: z.string().describe(\"End date (YYYY-MM-DD) for custom interval; required if period is 'custom'.\").optional(),\n domainId: z.number().int().describe(\"Identifier of the domain to fetch statistics for.\"),\n startDate: z.string().describe(\"Start date (YYYY-MM-DD) for custom interval; required if period is 'custom'.\").optional(),\n}).describe(\"Request parameters for retrieving click statistics for a domain over a specified interval.\");\nconst ShortIoPostDomainsByInterval_IntervalStatisticSchema: z.ZodTypeAny = z.object({\n x: z.string().describe(\"ISO 8601 timestamp marking the start of the interval.\"),\n y: z.number().int().describe(\"Number of clicks recorded in this interval.\"),\n}).describe(\"A single data point of click statistics at a given time interval.\");\nexport const ShortIoPostDomainsByIntervalOutput: z.ZodTypeAny = z.object({\n clickStatistics: z.array(ShortIoPostDomainsByInterval_IntervalStatisticSchema).describe(\"List of click counts keyed by interval timestamps.\"),\n}).describe(\"Response model containing click counts grouped by interval.\");\n\nexport const shortIoPostDomainsByInterval = action(\"SHORT_IO_POST_DOMAINS_BY_INTERVAL\", {\n slug: \"short_io-post-domains-by-interval\",\n name: \"Get Domain Statistics by Interval\",\n description: \"Tool to retrieve domain statistics over a custom interval. Use when you need time-series click data for a specific domain over a defined time window.\",\n input: ShortIoPostDomainsByIntervalInput,\n output: ShortIoPostDomainsByIntervalOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAClH,QAAQ,EAAE,KAAK;EAAC;EAAU;EAAS;EAAa;EAAS;EAAQ;EAAS;EAAa;EAAS;CAAQ,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACpP,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpH,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACvF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,4FAA4F;AACxG,MAAM,uDAAqE,EAAE,OAAO;CAClF,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC9E,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;AAC5E,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAK/E,MAAa,+BAA+B,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8D,EAAE,OAAO,EACvE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,oDAAoD,EAC9I,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/post-domains-last-clicks.ts
|
|
4
|
+
const ShortIoPostDomainsLastClicksInput = zod.z.object({
|
|
5
|
+
tz: zod.z.string().default("UTC").describe("IANA timezone for grouping; defaults to UTC.").optional(),
|
|
6
|
+
limit: zod.z.number().int().default(30).describe("Maximum number of click events to retrieve; defaults to 30.").optional(),
|
|
7
|
+
period: zod.z.enum([
|
|
8
|
+
"custom",
|
|
9
|
+
"today",
|
|
10
|
+
"yesterday",
|
|
11
|
+
"total",
|
|
12
|
+
"week",
|
|
13
|
+
"month",
|
|
14
|
+
"lastmonth",
|
|
15
|
+
"last7",
|
|
16
|
+
"last30"
|
|
17
|
+
]).default("last30").describe("Preset time interval; use 'custom' with startDate and endDate.").optional(),
|
|
18
|
+
endDate: zod.z.string().describe("End date for 'custom' period (YYYY-MM-DD).").optional(),
|
|
19
|
+
exclude: zod.z.object({ browsers: zod.z.array(zod.z.string()).describe("List of browser names to exclude.").optional() }).describe("Filters to exclude specific click events.").optional(),
|
|
20
|
+
include: zod.z.object({ human: zod.z.boolean().describe("Whether to include only human clicks.").optional() }).describe("Filters to include specific click events.").optional(),
|
|
21
|
+
domainId: zod.z.number().int().describe("Identifier of the domain to fetch click events for."),
|
|
22
|
+
afterDate: zod.z.string().describe("Pagination: return events after this date.").optional(),
|
|
23
|
+
startDate: zod.z.string().describe("Start date for 'custom' period (YYYY-MM-DD).").optional(),
|
|
24
|
+
beforeDate: zod.z.string().describe("Pagination: return events before this date.").optional()
|
|
25
|
+
}).describe("Request parameters for retrieving a list of raw click events for a branded domain.");
|
|
26
|
+
const ShortIoPostDomainsLastClicks_ClickEventSchema = zod.z.object({
|
|
27
|
+
dt: zod.z.string().describe("Timestamp of the click event."),
|
|
28
|
+
ip: zod.z.string().describe("IP address of the client."),
|
|
29
|
+
os: zod.z.string().describe("Operating system of the client."),
|
|
30
|
+
st: zod.z.number().int().describe("HTTP status code returned."),
|
|
31
|
+
ua: zod.z.string().describe("User-Agent string of the client."),
|
|
32
|
+
ref: zod.z.string().describe("Referrer URL (if any)."),
|
|
33
|
+
url: zod.z.string().describe("Full URL that was clicked."),
|
|
34
|
+
host: zod.z.string().describe("Hostname of the clicked URL."),
|
|
35
|
+
path: zod.z.string().describe("Path component of the clicked URL."),
|
|
36
|
+
human: zod.z.boolean().describe("Whether the click is human-generated."),
|
|
37
|
+
proto: zod.z.string().describe("Protocol used for redirection (e.g., https)."),
|
|
38
|
+
lcpath: zod.z.string().describe("Click path identifier."),
|
|
39
|
+
method: zod.z.string().describe("HTTP method used for the click."),
|
|
40
|
+
social: zod.z.string().describe("Social network referrer, if any."),
|
|
41
|
+
ab_path: zod.z.string().describe("A/B test path identifier, if any.").nullable().optional(),
|
|
42
|
+
browser: zod.z.string().describe("Browser name of the client."),
|
|
43
|
+
country: zod.z.string().describe("Country code of the client."),
|
|
44
|
+
refhost: zod.z.string().describe("Host of the referrer URL."),
|
|
45
|
+
utm_medium: zod.z.string().describe("UTM medium parameter.").nullable().optional(),
|
|
46
|
+
utm_source: zod.z.string().describe("UTM source parameter.").nullable().optional(),
|
|
47
|
+
utm_campaign: zod.z.string().describe("UTM campaign parameter.").nullable().optional(),
|
|
48
|
+
goal_completed: zod.z.string().describe("Completed goal identifier, if any.").nullable().optional(),
|
|
49
|
+
browser_version: zod.z.string().describe("Version of the browser.")
|
|
50
|
+
}).describe("Schema for a single raw click event.");
|
|
51
|
+
const ShortIoPostDomainsLastClicksOutput = zod.z.object({ clicks: zod.z.array(ShortIoPostDomainsLastClicks_ClickEventSchema).describe("List of raw click events.") }).describe("Response containing raw click event records.");
|
|
52
|
+
const shortIoPostDomainsLastClicks = require_action.action("SHORT_IO_POST_DOMAINS_LAST_CLICKS", {
|
|
53
|
+
slug: "short_io-post-domains-last-clicks",
|
|
54
|
+
name: "Post Domains Last Clicks",
|
|
55
|
+
description: "Tool to retrieve the latest raw click events for a domain. Use when detailed clickstream data is needed.",
|
|
56
|
+
input: ShortIoPostDomainsLastClicksInput,
|
|
57
|
+
output: ShortIoPostDomainsLastClicksOutput
|
|
58
|
+
});
|
|
59
|
+
//#endregion
|
|
60
|
+
exports.shortIoPostDomainsLastClicks = shortIoPostDomainsLastClicks;
|
|
61
|
+
|
|
62
|
+
//# sourceMappingURL=post-domains-last-clicks.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-domains-last-clicks.cjs","names":["z","action"],"sources":["../../src/actions/post-domains-last-clicks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoPostDomainsLastClicksInput: z.ZodTypeAny = z.object({\n tz: z.string().default(\"UTC\").describe(\"IANA timezone for grouping; defaults to UTC.\").optional(),\n limit: z.number().int().default(30).describe(\"Maximum number of click events to retrieve; defaults to 30.\").optional(),\n period: z.enum([\"custom\", \"today\", \"yesterday\", \"total\", \"week\", \"month\", \"lastmonth\", \"last7\", \"last30\"]).default(\"last30\").describe(\"Preset time interval; use 'custom' with startDate and endDate.\").optional(),\n endDate: z.string().describe(\"End date for 'custom' period (YYYY-MM-DD).\").optional(),\n exclude: z.object({\n browsers: z.array(z.string()).describe(\"List of browser names to exclude.\").optional(),\n}).describe(\"Filters to exclude specific click events.\").optional(),\n include: z.object({\n human: z.boolean().describe(\"Whether to include only human clicks.\").optional(),\n}).describe(\"Filters to include specific click events.\").optional(),\n domainId: z.number().int().describe(\"Identifier of the domain to fetch click events for.\"),\n afterDate: z.string().describe(\"Pagination: return events after this date.\").optional(),\n startDate: z.string().describe(\"Start date for 'custom' period (YYYY-MM-DD).\").optional(),\n beforeDate: z.string().describe(\"Pagination: return events before this date.\").optional(),\n}).describe(\"Request parameters for retrieving a list of raw click events for a branded domain.\");\nconst ShortIoPostDomainsLastClicks_ClickEventSchema: z.ZodTypeAny = z.object({\n dt: z.string().describe(\"Timestamp of the click event.\"),\n ip: z.string().describe(\"IP address of the client.\"),\n os: z.string().describe(\"Operating system of the client.\"),\n st: z.number().int().describe(\"HTTP status code returned.\"),\n ua: z.string().describe(\"User-Agent string of the client.\"),\n ref: z.string().describe(\"Referrer URL (if any).\"),\n url: z.string().describe(\"Full URL that was clicked.\"),\n host: z.string().describe(\"Hostname of the clicked URL.\"),\n path: z.string().describe(\"Path component of the clicked URL.\"),\n human: z.boolean().describe(\"Whether the click is human-generated.\"),\n proto: z.string().describe(\"Protocol used for redirection (e.g., https).\"),\n lcpath: z.string().describe(\"Click path identifier.\"),\n method: z.string().describe(\"HTTP method used for the click.\"),\n social: z.string().describe(\"Social network referrer, if any.\"),\n ab_path: z.string().describe(\"A/B test path identifier, if any.\").nullable().optional(),\n browser: z.string().describe(\"Browser name of the client.\"),\n country: z.string().describe(\"Country code of the client.\"),\n refhost: z.string().describe(\"Host of the referrer URL.\"),\n utm_medium: z.string().describe(\"UTM medium parameter.\").nullable().optional(),\n utm_source: z.string().describe(\"UTM source parameter.\").nullable().optional(),\n utm_campaign: z.string().describe(\"UTM campaign parameter.\").nullable().optional(),\n goal_completed: z.string().describe(\"Completed goal identifier, if any.\").nullable().optional(),\n browser_version: z.string().describe(\"Version of the browser.\"),\n}).describe(\"Schema for a single raw click event.\");\nexport const ShortIoPostDomainsLastClicksOutput: z.ZodTypeAny = z.object({\n clicks: z.array(ShortIoPostDomainsLastClicks_ClickEventSchema).describe(\"List of raw click events.\"),\n}).describe(\"Response containing raw click event records.\");\n\nexport const shortIoPostDomainsLastClicks = action(\"SHORT_IO_POST_DOMAINS_LAST_CLICKS\", {\n slug: \"short_io-post-domains-last-clicks\",\n name: \"Post Domains Last Clicks\",\n description: \"Tool to retrieve the latest raw click events for a domain. Use when detailed clickstream data is needed.\",\n input: ShortIoPostDomainsLastClicksInput,\n output: ShortIoPostDomainsLastClicksOutput,\n});\n"],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-domains-last-clicks.d.ts
|
|
4
|
+
declare const ShortIoPostDomainsLastClicksInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoPostDomainsLastClicksOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoPostDomainsLastClicks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoPostDomainsLastClicks };
|
|
9
|
+
//# sourceMappingURL=post-domains-last-clicks.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-domains-last-clicks.d.cts","names":[],"sources":["../../src/actions/post-domains-last-clicks.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAe+C;AAAA,cA0BpF,kCAAA,EAAoC,CAAA,CAAE,UAEQ;AAAA,cAE9C,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-domains-last-clicks.d.ts
|
|
4
|
+
declare const ShortIoPostDomainsLastClicksInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoPostDomainsLastClicksOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoPostDomainsLastClicks: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoPostDomainsLastClicks };
|
|
9
|
+
//# sourceMappingURL=post-domains-last-clicks.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-domains-last-clicks.d.mts","names":[],"sources":["../../src/actions/post-domains-last-clicks.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAe+C;AAAA,cA0BpF,kCAAA,EAAoC,CAAA,CAAE,UAEQ;AAAA,cAE9C,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/post-domains-last-clicks.ts
|
|
4
|
+
const ShortIoPostDomainsLastClicksInput = z.object({
|
|
5
|
+
tz: z.string().default("UTC").describe("IANA timezone for grouping; defaults to UTC.").optional(),
|
|
6
|
+
limit: z.number().int().default(30).describe("Maximum number of click events to retrieve; defaults to 30.").optional(),
|
|
7
|
+
period: z.enum([
|
|
8
|
+
"custom",
|
|
9
|
+
"today",
|
|
10
|
+
"yesterday",
|
|
11
|
+
"total",
|
|
12
|
+
"week",
|
|
13
|
+
"month",
|
|
14
|
+
"lastmonth",
|
|
15
|
+
"last7",
|
|
16
|
+
"last30"
|
|
17
|
+
]).default("last30").describe("Preset time interval; use 'custom' with startDate and endDate.").optional(),
|
|
18
|
+
endDate: z.string().describe("End date for 'custom' period (YYYY-MM-DD).").optional(),
|
|
19
|
+
exclude: z.object({ browsers: z.array(z.string()).describe("List of browser names to exclude.").optional() }).describe("Filters to exclude specific click events.").optional(),
|
|
20
|
+
include: z.object({ human: z.boolean().describe("Whether to include only human clicks.").optional() }).describe("Filters to include specific click events.").optional(),
|
|
21
|
+
domainId: z.number().int().describe("Identifier of the domain to fetch click events for."),
|
|
22
|
+
afterDate: z.string().describe("Pagination: return events after this date.").optional(),
|
|
23
|
+
startDate: z.string().describe("Start date for 'custom' period (YYYY-MM-DD).").optional(),
|
|
24
|
+
beforeDate: z.string().describe("Pagination: return events before this date.").optional()
|
|
25
|
+
}).describe("Request parameters for retrieving a list of raw click events for a branded domain.");
|
|
26
|
+
const ShortIoPostDomainsLastClicks_ClickEventSchema = z.object({
|
|
27
|
+
dt: z.string().describe("Timestamp of the click event."),
|
|
28
|
+
ip: z.string().describe("IP address of the client."),
|
|
29
|
+
os: z.string().describe("Operating system of the client."),
|
|
30
|
+
st: z.number().int().describe("HTTP status code returned."),
|
|
31
|
+
ua: z.string().describe("User-Agent string of the client."),
|
|
32
|
+
ref: z.string().describe("Referrer URL (if any)."),
|
|
33
|
+
url: z.string().describe("Full URL that was clicked."),
|
|
34
|
+
host: z.string().describe("Hostname of the clicked URL."),
|
|
35
|
+
path: z.string().describe("Path component of the clicked URL."),
|
|
36
|
+
human: z.boolean().describe("Whether the click is human-generated."),
|
|
37
|
+
proto: z.string().describe("Protocol used for redirection (e.g., https)."),
|
|
38
|
+
lcpath: z.string().describe("Click path identifier."),
|
|
39
|
+
method: z.string().describe("HTTP method used for the click."),
|
|
40
|
+
social: z.string().describe("Social network referrer, if any."),
|
|
41
|
+
ab_path: z.string().describe("A/B test path identifier, if any.").nullable().optional(),
|
|
42
|
+
browser: z.string().describe("Browser name of the client."),
|
|
43
|
+
country: z.string().describe("Country code of the client."),
|
|
44
|
+
refhost: z.string().describe("Host of the referrer URL."),
|
|
45
|
+
utm_medium: z.string().describe("UTM medium parameter.").nullable().optional(),
|
|
46
|
+
utm_source: z.string().describe("UTM source parameter.").nullable().optional(),
|
|
47
|
+
utm_campaign: z.string().describe("UTM campaign parameter.").nullable().optional(),
|
|
48
|
+
goal_completed: z.string().describe("Completed goal identifier, if any.").nullable().optional(),
|
|
49
|
+
browser_version: z.string().describe("Version of the browser.")
|
|
50
|
+
}).describe("Schema for a single raw click event.");
|
|
51
|
+
const shortIoPostDomainsLastClicks = action("SHORT_IO_POST_DOMAINS_LAST_CLICKS", {
|
|
52
|
+
slug: "short_io-post-domains-last-clicks",
|
|
53
|
+
name: "Post Domains Last Clicks",
|
|
54
|
+
description: "Tool to retrieve the latest raw click events for a domain. Use when detailed clickstream data is needed.",
|
|
55
|
+
input: ShortIoPostDomainsLastClicksInput,
|
|
56
|
+
output: z.object({ clicks: z.array(ShortIoPostDomainsLastClicks_ClickEventSchema).describe("List of raw click events.") }).describe("Response containing raw click event records.")
|
|
57
|
+
});
|
|
58
|
+
//#endregion
|
|
59
|
+
export { shortIoPostDomainsLastClicks };
|
|
60
|
+
|
|
61
|
+
//# sourceMappingURL=post-domains-last-clicks.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-domains-last-clicks.mjs","names":[],"sources":["../../src/actions/post-domains-last-clicks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoPostDomainsLastClicksInput: z.ZodTypeAny = z.object({\n tz: z.string().default(\"UTC\").describe(\"IANA timezone for grouping; defaults to UTC.\").optional(),\n limit: z.number().int().default(30).describe(\"Maximum number of click events to retrieve; defaults to 30.\").optional(),\n period: z.enum([\"custom\", \"today\", \"yesterday\", \"total\", \"week\", \"month\", \"lastmonth\", \"last7\", \"last30\"]).default(\"last30\").describe(\"Preset time interval; use 'custom' with startDate and endDate.\").optional(),\n endDate: z.string().describe(\"End date for 'custom' period (YYYY-MM-DD).\").optional(),\n exclude: z.object({\n browsers: z.array(z.string()).describe(\"List of browser names to exclude.\").optional(),\n}).describe(\"Filters to exclude specific click events.\").optional(),\n include: z.object({\n human: z.boolean().describe(\"Whether to include only human clicks.\").optional(),\n}).describe(\"Filters to include specific click events.\").optional(),\n domainId: z.number().int().describe(\"Identifier of the domain to fetch click events for.\"),\n afterDate: z.string().describe(\"Pagination: return events after this date.\").optional(),\n startDate: z.string().describe(\"Start date for 'custom' period (YYYY-MM-DD).\").optional(),\n beforeDate: z.string().describe(\"Pagination: return events before this date.\").optional(),\n}).describe(\"Request parameters for retrieving a list of raw click events for a branded domain.\");\nconst ShortIoPostDomainsLastClicks_ClickEventSchema: z.ZodTypeAny = z.object({\n dt: z.string().describe(\"Timestamp of the click event.\"),\n ip: z.string().describe(\"IP address of the client.\"),\n os: z.string().describe(\"Operating system of the client.\"),\n st: z.number().int().describe(\"HTTP status code returned.\"),\n ua: z.string().describe(\"User-Agent string of the client.\"),\n ref: z.string().describe(\"Referrer URL (if any).\"),\n url: z.string().describe(\"Full URL that was clicked.\"),\n host: z.string().describe(\"Hostname of the clicked URL.\"),\n path: z.string().describe(\"Path component of the clicked URL.\"),\n human: z.boolean().describe(\"Whether the click is human-generated.\"),\n proto: z.string().describe(\"Protocol used for redirection (e.g., https).\"),\n lcpath: z.string().describe(\"Click path identifier.\"),\n method: z.string().describe(\"HTTP method used for the click.\"),\n social: z.string().describe(\"Social network referrer, if any.\"),\n ab_path: z.string().describe(\"A/B test path identifier, if any.\").nullable().optional(),\n browser: z.string().describe(\"Browser name of the client.\"),\n country: z.string().describe(\"Country code of the client.\"),\n refhost: z.string().describe(\"Host of the referrer URL.\"),\n utm_medium: z.string().describe(\"UTM medium parameter.\").nullable().optional(),\n utm_source: z.string().describe(\"UTM source parameter.\").nullable().optional(),\n utm_campaign: z.string().describe(\"UTM campaign parameter.\").nullable().optional(),\n goal_completed: z.string().describe(\"Completed goal identifier, if any.\").nullable().optional(),\n browser_version: z.string().describe(\"Version of the browser.\"),\n}).describe(\"Schema for a single raw click event.\");\nexport const ShortIoPostDomainsLastClicksOutput: z.ZodTypeAny = z.object({\n clicks: z.array(ShortIoPostDomainsLastClicks_ClickEventSchema).describe(\"List of raw click events.\"),\n}).describe(\"Response containing raw click event records.\");\n\nexport const shortIoPostDomainsLastClicks = action(\"SHORT_IO_POST_DOMAINS_LAST_CLICKS\", {\n slug: \"short_io-post-domains-last-clicks\",\n name: \"Post Domains Last Clicks\",\n description: \"Tool to retrieve the latest raw click events for a domain. Use when detailed clickstream data is needed.\",\n input: ShortIoPostDomainsLastClicksInput,\n output: ShortIoPostDomainsLastClicksOutput,\n});\n"],"mappings":"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"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/post-domains-top.ts
|
|
4
|
+
const ShortIoPostDomainsTopInput = zod.z.object({
|
|
5
|
+
limit: zod.z.number().int().default(10).describe("Maximum number of top values to return; must be at least 1.").optional(),
|
|
6
|
+
column: zod.z.string().describe("Column to rank by click count. Common values: 'path' (link paths), 'country' (visitor countries). Note: Not all column names may be supported by the API."),
|
|
7
|
+
domainId: zod.z.number().int().describe("Identifier of the domain for which to retrieve top column values.")
|
|
8
|
+
}).describe("Request parameters for retrieving the top values of a specified column by click count within a domain.");
|
|
9
|
+
const ShortIoPostDomainsTop_TopValueSchema = zod.z.object({
|
|
10
|
+
count: zod.z.number().int().describe("Click count for this value."),
|
|
11
|
+
value: zod.z.string().describe("Value of the specified column.")
|
|
12
|
+
}).describe("Schema for a single top column value with its click count.");
|
|
13
|
+
const ShortIoPostDomainsTopOutput = zod.z.object({ top: zod.z.array(ShortIoPostDomainsTop_TopValueSchema).describe("List of top column values with their respective click counts, ordered descending.") }).describe("Response model containing a list of top values ordered by click count.");
|
|
14
|
+
const shortIoPostDomainsTop = require_action.action("SHORT_IO_POST_DOMAINS_TOP", {
|
|
15
|
+
slug: "short_io-post-domains-top",
|
|
16
|
+
name: "Get Domain Top Values",
|
|
17
|
+
description: "Retrieves top values for a specified analytics column ranked by click count for a domain. Use to analyze which paths, countries, or other dimensions have the most traffic. Returns an ordered list of values with their click counts.",
|
|
18
|
+
input: ShortIoPostDomainsTopInput,
|
|
19
|
+
output: ShortIoPostDomainsTopOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.shortIoPostDomainsTop = shortIoPostDomainsTop;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=post-domains-top.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-domains-top.cjs","names":["z","action"],"sources":["../../src/actions/post-domains-top.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoPostDomainsTopInput: z.ZodTypeAny = z.object({\n limit: z.number().int().default(10).describe(\"Maximum number of top values to return; must be at least 1.\").optional(),\n column: z.string().describe(\"Column to rank by click count. Common values: 'path' (link paths), 'country' (visitor countries). Note: Not all column names may be supported by the API.\"),\n domainId: z.number().int().describe(\"Identifier of the domain for which to retrieve top column values.\"),\n}).describe(\"Request parameters for retrieving the top values of a specified column by click count within a domain.\");\nconst ShortIoPostDomainsTop_TopValueSchema: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Click count for this value.\"),\n value: z.string().describe(\"Value of the specified column.\"),\n}).describe(\"Schema for a single top column value with its click count.\");\nexport const ShortIoPostDomainsTopOutput: z.ZodTypeAny = z.object({\n top: z.array(ShortIoPostDomainsTop_TopValueSchema).describe(\"List of top column values with their respective click counts, ordered descending.\"),\n}).describe(\"Response model containing a list of top values ordered by click count.\");\n\nexport const shortIoPostDomainsTop = action(\"SHORT_IO_POST_DOMAINS_TOP\", {\n slug: \"short_io-post-domains-top\",\n name: \"Get Domain Top Values\",\n description: \"Retrieves top values for a specified analytics column ranked by click count for a domain. Use to analyze which paths, countries, or other dimensions have the most traffic. Returns an ordered list of values with their click counts.\",\n input: ShortIoPostDomainsTopInput,\n output: ShortIoPostDomainsTopOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACrH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J;CACvL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE;AACzG,CAAC,CAAC,CAAC,SAAS,wGAAwG;AACpH,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AAC7D,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,KAAKA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,mFAAmF,EACjJ,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAEpF,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-domains-top.d.ts
|
|
4
|
+
declare const ShortIoPostDomainsTopInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoPostDomainsTopOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoPostDomainsTop: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoPostDomainsTop };
|
|
9
|
+
//# sourceMappingURL=post-domains-top.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-domains-top.d.cts","names":[],"sources":["../../src/actions/post-domains-top.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAI0E;AAAA,cAKxG,2BAAA,EAA6B,CAAA,CAAE,UAEyC;AAAA,cAExE,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-domains-top.d.ts
|
|
4
|
+
declare const ShortIoPostDomainsTopInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoPostDomainsTopOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoPostDomainsTop: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoPostDomainsTop };
|
|
9
|
+
//# sourceMappingURL=post-domains-top.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-domains-top.d.mts","names":[],"sources":["../../src/actions/post-domains-top.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAI0E;AAAA,cAKxG,2BAAA,EAA6B,CAAA,CAAE,UAEyC;AAAA,cAExE,qBAAA,gCAAqB,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/post-domains-top.ts
|
|
4
|
+
const ShortIoPostDomainsTopInput = z.object({
|
|
5
|
+
limit: z.number().int().default(10).describe("Maximum number of top values to return; must be at least 1.").optional(),
|
|
6
|
+
column: z.string().describe("Column to rank by click count. Common values: 'path' (link paths), 'country' (visitor countries). Note: Not all column names may be supported by the API."),
|
|
7
|
+
domainId: z.number().int().describe("Identifier of the domain for which to retrieve top column values.")
|
|
8
|
+
}).describe("Request parameters for retrieving the top values of a specified column by click count within a domain.");
|
|
9
|
+
const ShortIoPostDomainsTop_TopValueSchema = z.object({
|
|
10
|
+
count: z.number().int().describe("Click count for this value."),
|
|
11
|
+
value: z.string().describe("Value of the specified column.")
|
|
12
|
+
}).describe("Schema for a single top column value with its click count.");
|
|
13
|
+
const shortIoPostDomainsTop = action("SHORT_IO_POST_DOMAINS_TOP", {
|
|
14
|
+
slug: "short_io-post-domains-top",
|
|
15
|
+
name: "Get Domain Top Values",
|
|
16
|
+
description: "Retrieves top values for a specified analytics column ranked by click count for a domain. Use to analyze which paths, countries, or other dimensions have the most traffic. Returns an ordered list of values with their click counts.",
|
|
17
|
+
input: ShortIoPostDomainsTopInput,
|
|
18
|
+
output: z.object({ top: z.array(ShortIoPostDomainsTop_TopValueSchema).describe("List of top column values with their respective click counts, ordered descending.") }).describe("Response model containing a list of top values ordered by click count.")
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { shortIoPostDomainsTop };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=post-domains-top.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-domains-top.mjs","names":[],"sources":["../../src/actions/post-domains-top.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoPostDomainsTopInput: z.ZodTypeAny = z.object({\n limit: z.number().int().default(10).describe(\"Maximum number of top values to return; must be at least 1.\").optional(),\n column: z.string().describe(\"Column to rank by click count. Common values: 'path' (link paths), 'country' (visitor countries). Note: Not all column names may be supported by the API.\"),\n domainId: z.number().int().describe(\"Identifier of the domain for which to retrieve top column values.\"),\n}).describe(\"Request parameters for retrieving the top values of a specified column by click count within a domain.\");\nconst ShortIoPostDomainsTop_TopValueSchema: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Click count for this value.\"),\n value: z.string().describe(\"Value of the specified column.\"),\n}).describe(\"Schema for a single top column value with its click count.\");\nexport const ShortIoPostDomainsTopOutput: z.ZodTypeAny = z.object({\n top: z.array(ShortIoPostDomainsTop_TopValueSchema).describe(\"List of top column values with their respective click counts, ordered descending.\"),\n}).describe(\"Response model containing a list of top values ordered by click count.\");\n\nexport const shortIoPostDomainsTop = action(\"SHORT_IO_POST_DOMAINS_TOP\", {\n slug: \"short_io-post-domains-top\",\n name: \"Get Domain Top Values\",\n description: \"Retrieves top values for a specified analytics column ranked by click count for a domain. Use to analyze which paths, countries, or other dimensions have the most traffic. Returns an ordered list of values with their click counts.\",\n input: ShortIoPostDomainsTopInput,\n output: ShortIoPostDomainsTopOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACrH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J;CACvL,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE;AACzG,CAAC,CAAC,CAAC,SAAS,wGAAwG;AACpH,MAAM,uCAAqD,EAAE,OAAO;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AAC7D,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAKxE,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,KAAK,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,mFAAmF,EACjJ,CAAC,CAAC,CAAC,SAAS,wEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/post-links-archive-bulk.ts
|
|
4
|
+
const ShortIoPostLinksArchiveBulkInput = zod.z.object({
|
|
5
|
+
link_ids: zod.z.array(zod.z.string()).describe("List of short link IDs to archive in bulk (maximum 150 items per request). Use link IDs from created links."),
|
|
6
|
+
domain_id: zod.z.string().describe("Optional domain ID to scope the archive operation to a specific domain.").optional()
|
|
7
|
+
}).describe("Request model for archiving multiple short links in bulk (max 150 per request).");
|
|
8
|
+
const ShortIoPostLinksArchiveBulkOutput = zod.z.object({
|
|
9
|
+
error: zod.z.string().describe("Error message if the operation failed, null on success.").nullable().optional(),
|
|
10
|
+
success: zod.z.boolean().describe("Indicates if the bulk archive operation was successful.")
|
|
11
|
+
}).describe("Response model for bulk archive operation.");
|
|
12
|
+
const shortIoPostLinksArchiveBulk = require_action.action("SHORT_IO_POST_LINKS_ARCHIVE_BULK", {
|
|
13
|
+
slug: "short_io-post-links-archive-bulk",
|
|
14
|
+
name: "Archive Links in Bulk",
|
|
15
|
+
description: "Archive multiple short links in a single API call (up to 150 links). Archived links are hidden from the dashboard but remain functional and accessible. Use this to organize or hide links without deleting them. Requires link IDs from previously created links.",
|
|
16
|
+
input: ShortIoPostLinksArchiveBulkInput,
|
|
17
|
+
output: ShortIoPostLinksArchiveBulkOutput
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
exports.shortIoPostLinksArchiveBulk = shortIoPostLinksArchiveBulk;
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=post-links-archive-bulk.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-links-archive-bulk.cjs","names":["z","action"],"sources":["../../src/actions/post-links-archive-bulk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoPostLinksArchiveBulkInput: z.ZodTypeAny = z.object({\n link_ids: z.array(z.string()).describe(\"List of short link IDs to archive in bulk (maximum 150 items per request). Use link IDs from created links.\"),\n domain_id: z.string().describe(\"Optional domain ID to scope the archive operation to a specific domain.\").optional(),\n}).describe(\"Request model for archiving multiple short links in bulk (max 150 per request).\");\nexport const ShortIoPostLinksArchiveBulkOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the operation failed, null on success.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the bulk archive operation was successful.\"),\n}).describe(\"Response model for bulk archive operation.\");\n\nexport const shortIoPostLinksArchiveBulk = action(\"SHORT_IO_POST_LINKS_ARCHIVE_BULK\", {\n slug: \"short_io-post-links-archive-bulk\",\n name: \"Archive Links in Bulk\",\n description: \"Archive multiple short links in a single API call (up to 150 links). Archived links are hidden from the dashboard but remain functional and accessible. Use this to organize or hide links without deleting them. Requires link IDs from previously created links.\",\n input: ShortIoPostLinksArchiveBulkInput,\n output: ShortIoPostLinksArchiveBulkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6GAA6G;CACpJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD;AACzF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;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/post-links-archive-bulk.d.ts
|
|
4
|
+
declare const ShortIoPostLinksArchiveBulkInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoPostLinksArchiveBulkOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoPostLinksArchiveBulk: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoPostLinksArchiveBulk };
|
|
9
|
+
//# sourceMappingURL=post-links-archive-bulk.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-links-archive-bulk.d.cts","names":[],"sources":["../../src/actions/post-links-archive-bulk.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAG6C;AAAA,cACjF,iCAAA,EAAmC,CAAA,CAAE,UAGO;AAAA,cAE5C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-links-archive-bulk.d.ts
|
|
4
|
+
declare const ShortIoPostLinksArchiveBulkInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoPostLinksArchiveBulkOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoPostLinksArchiveBulk: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoPostLinksArchiveBulk };
|
|
9
|
+
//# sourceMappingURL=post-links-archive-bulk.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-links-archive-bulk.d.mts","names":[],"sources":["../../src/actions/post-links-archive-bulk.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAG6C;AAAA,cACjF,iCAAA,EAAmC,CAAA,CAAE,UAGO;AAAA,cAE5C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const shortIoPostLinksArchiveBulk = action("SHORT_IO_POST_LINKS_ARCHIVE_BULK", {
|
|
4
|
+
slug: "short_io-post-links-archive-bulk",
|
|
5
|
+
name: "Archive Links in Bulk",
|
|
6
|
+
description: "Archive multiple short links in a single API call (up to 150 links). Archived links are hidden from the dashboard but remain functional and accessible. Use this to organize or hide links without deleting them. Requires link IDs from previously created links.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
link_ids: z.array(z.string()).describe("List of short link IDs to archive in bulk (maximum 150 items per request). Use link IDs from created links."),
|
|
9
|
+
domain_id: z.string().describe("Optional domain ID to scope the archive operation to a specific domain.").optional()
|
|
10
|
+
}).describe("Request model for archiving multiple short links in bulk (max 150 per request)."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
error: z.string().describe("Error message if the operation failed, null on success.").nullable().optional(),
|
|
13
|
+
success: z.boolean().describe("Indicates if the bulk archive operation was successful.")
|
|
14
|
+
}).describe("Response model for bulk archive operation.")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { shortIoPostLinksArchiveBulk };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=post-links-archive-bulk.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-links-archive-bulk.mjs","names":[],"sources":["../../src/actions/post-links-archive-bulk.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoPostLinksArchiveBulkInput: z.ZodTypeAny = z.object({\n link_ids: z.array(z.string()).describe(\"List of short link IDs to archive in bulk (maximum 150 items per request). Use link IDs from created links.\"),\n domain_id: z.string().describe(\"Optional domain ID to scope the archive operation to a specific domain.\").optional(),\n}).describe(\"Request model for archiving multiple short links in bulk (max 150 per request).\");\nexport const ShortIoPostLinksArchiveBulkOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the operation failed, null on success.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the bulk archive operation was successful.\"),\n}).describe(\"Response model for bulk archive operation.\");\n\nexport const shortIoPostLinksArchiveBulk = action(\"SHORT_IO_POST_LINKS_ARCHIVE_BULK\", {\n slug: \"short_io-post-links-archive-bulk\",\n name: \"Archive Links in Bulk\",\n description: \"Archive multiple short links in a single API call (up to 150 links). Archived links are hidden from the dashboard but remain functional and accessible. Use this to organize or hide links without deleting them. Requires link IDs from previously created links.\",\n input: ShortIoPostLinksArchiveBulkInput,\n output: ShortIoPostLinksArchiveBulkOutput,\n});\n"],"mappings":";;AAaA,MAAa,8BAA8B,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4D,EAAE,OAAO;EACrE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6GAA6G;EACpJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,iFAUH;CACP,QAV6D,EAAE,OAAO;EACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD;CACzF,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/post-links-bulk.ts
|
|
4
|
+
const ShortIoPostLinksBulkInput = zod.z.object({
|
|
5
|
+
links: zod.z.array(zod.z.object({
|
|
6
|
+
ttl: zod.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: zod.z.string().describe("Custom path for the short link (must be unique within the domain).").optional(),
|
|
8
|
+
originalURL: zod.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: zod.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: zod.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 = zod.z.object({
|
|
14
|
+
id: zod.z.string().describe("Unique identifier of the link."),
|
|
15
|
+
ttl: zod.z.string().describe("Time-to-live (expiration date-time) of the short link in ISO 8601 date-time format.").nullable().optional(),
|
|
16
|
+
path: zod.z.string().describe("Path of the short link."),
|
|
17
|
+
tags: zod.z.array(zod.z.string()).describe("Tags associated with the link."),
|
|
18
|
+
skipQS: zod.z.boolean().describe("Whether query string parameters are skipped."),
|
|
19
|
+
OwnerId: zod.z.number().int().describe("ID of the owner of the link."),
|
|
20
|
+
success: zod.z.boolean().describe("Whether the link creation was successful."),
|
|
21
|
+
DomainId: zod.z.number().int().describe("ID of the domain under which the link was created."),
|
|
22
|
+
archived: zod.z.boolean().describe("Whether the link is archived."),
|
|
23
|
+
cloaking: zod.z.boolean().describe("Whether cloaking is enabled for the link."),
|
|
24
|
+
idString: zod.z.string().describe("String representation of the link ID."),
|
|
25
|
+
shortURL: zod.z.string().describe("The shortened URL."),
|
|
26
|
+
createdAt: zod.z.string().describe("Timestamp when the link was created (ISO 8601)."),
|
|
27
|
+
duplicate: zod.z.boolean().describe("Whether the link is a duplicate."),
|
|
28
|
+
updatedAt: zod.z.string().describe("Timestamp when the link was last updated (ISO 8601)."),
|
|
29
|
+
originalURL: zod.z.string().describe("The original URL that was shortened."),
|
|
30
|
+
secureShortURL: zod.z.string().describe("The HTTPS version of the shortened URL.")
|
|
31
|
+
}).describe("Schema representing a single created short link.");
|
|
32
|
+
const ShortIoPostLinksBulkOutput = zod.z.object({ links: zod.z.array(ShortIoPostLinksBulk_PostLinksBulkResponseItemSchema).describe("List of created short link objects.") }).describe("Response model containing created short links.");
|
|
33
|
+
const shortIoPostLinksBulk = require_action.action("SHORT_IO_POST_LINKS_BULK", {
|
|
34
|
+
slug: "short_io-post-links-bulk",
|
|
35
|
+
name: "Create Links in Bulk",
|
|
36
|
+
description: "Tool to create up to 1000 short links in one call. Use when bulk shortening multiple URLs.",
|
|
37
|
+
input: ShortIoPostLinksBulkInput,
|
|
38
|
+
output: ShortIoPostLinksBulkOutput
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
exports.shortIoPostLinksBulk = shortIoPostLinksBulk;
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=post-links-bulk.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-links-bulk.cjs","names":["z","action"],"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,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS;EACxN,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACtE,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,CAAC,SAAS,mNAAmN;CAC1R,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL;CACjN,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,uDAAqEA,IAAAA,EAAE,OAAO;CAClF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC;CACnE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CACjE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACxF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B;CAC9D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAChF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACvE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AAC/E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,OAAOA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,qCAAqC,EACrH,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,uBAAuBC,eAAAA,OAAO,4BAA4B;CACrE,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-bulk.d.ts
|
|
4
|
+
declare const ShortIoPostLinksBulkInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoPostLinksBulkOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoPostLinksBulk: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoPostLinksBulk };
|
|
9
|
+
//# sourceMappingURL=post-links-bulk.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-links-bulk.d.cts","names":[],"sources":["../../src/actions/post-links-bulk.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAQsC;AAAA,cAoBnE,0BAAA,EAA4B,CAAA,CAAE,UAEkB;AAAA,cAEhD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-links-bulk.d.ts
|
|
4
|
+
declare const ShortIoPostLinksBulkInput: z.ZodTypeAny;
|
|
5
|
+
declare const ShortIoPostLinksBulkOutput: z.ZodTypeAny;
|
|
6
|
+
declare const shortIoPostLinksBulk: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { shortIoPostLinksBulk };
|
|
9
|
+
//# sourceMappingURL=post-links-bulk.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-links-bulk.d.mts","names":[],"sources":["../../src/actions/post-links-bulk.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAQsC;AAAA,cAoBnE,0BAAA,EAA4B,CAAA,CAAE,UAEkB;AAAA,cAEhD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|