@keystrokehq/short_io 0.1.2 → 0.1.4
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 +1 -1
- package/dist/actions/add-tag-to-links-bulk.cjs +1 -1
- package/dist/actions/add-tag-to-links-bulk.cjs.map +1 -1
- package/dist/actions/add-tag-to-links-bulk.d.cts +1 -1
- package/dist/actions/add-tag-to-links-bulk.d.mts +1 -1
- package/dist/actions/add-tag-to-links-bulk.mjs +1 -1
- package/dist/actions/add-tag-to-links-bulk.mjs.map +1 -1
- package/dist/actions/archive-link.cjs +1 -1
- package/dist/actions/archive-link.cjs.map +1 -1
- package/dist/actions/archive-link.d.cts +1 -1
- package/dist/actions/archive-link.d.mts +1 -1
- package/dist/actions/archive-link.mjs +1 -1
- package/dist/actions/archive-link.mjs.map +1 -1
- package/dist/actions/create-folder.cjs +1 -1
- package/dist/actions/create-folder.cjs.map +1 -1
- package/dist/actions/create-folder.d.cts +1 -1
- package/dist/actions/create-folder.d.mts +1 -1
- package/dist/actions/create-folder.mjs +1 -1
- package/dist/actions/create-folder.mjs.map +1 -1
- package/dist/actions/create-link.cjs +1 -1
- package/dist/actions/create-link.cjs.map +1 -1
- package/dist/actions/create-link.d.cts +1 -1
- package/dist/actions/create-link.d.mts +1 -1
- package/dist/actions/create-link.mjs +1 -1
- package/dist/actions/create-link.mjs.map +1 -1
- package/dist/actions/delete-link-permission.cjs +1 -1
- package/dist/actions/delete-link-permission.cjs.map +1 -1
- package/dist/actions/delete-link-permission.d.cts +1 -1
- package/dist/actions/delete-link-permission.d.mts +1 -1
- package/dist/actions/delete-link-permission.mjs +1 -1
- package/dist/actions/delete-link-permission.mjs.map +1 -1
- package/dist/actions/delete-link.cjs +1 -1
- package/dist/actions/delete-link.cjs.map +1 -1
- package/dist/actions/delete-link.d.cts +1 -1
- package/dist/actions/delete-link.d.mts +1 -1
- package/dist/actions/delete-link.mjs +1 -1
- package/dist/actions/delete-link.mjs.map +1 -1
- package/dist/actions/delete-links-bulk.cjs +1 -1
- package/dist/actions/delete-links-bulk.cjs.map +1 -1
- package/dist/actions/delete-links-bulk.d.cts +1 -1
- package/dist/actions/delete-links-bulk.d.mts +1 -1
- package/dist/actions/delete-links-bulk.mjs +1 -1
- package/dist/actions/delete-links-bulk.mjs.map +1 -1
- package/dist/actions/duplicate-link.cjs +1 -1
- package/dist/actions/duplicate-link.cjs.map +1 -1
- package/dist/actions/duplicate-link.d.cts +1 -1
- package/dist/actions/duplicate-link.d.mts +1 -1
- package/dist/actions/duplicate-link.mjs +1 -1
- package/dist/actions/duplicate-link.mjs.map +1 -1
- package/dist/actions/generate-qr-code.cjs +1 -1
- package/dist/actions/generate-qr-code.cjs.map +1 -1
- package/dist/actions/generate-qr-code.d.cts +1 -1
- package/dist/actions/generate-qr-code.d.mts +1 -1
- package/dist/actions/generate-qr-code.mjs +1 -1
- package/dist/actions/generate-qr-code.mjs.map +1 -1
- package/dist/actions/get-bundle-templates.cjs +2 -2
- package/dist/actions/get-bundle-templates.cjs.map +1 -1
- package/dist/actions/get-bundle-templates.d.cts +2 -2
- package/dist/actions/get-bundle-templates.d.mts +2 -2
- package/dist/actions/get-bundle-templates.mjs +2 -2
- package/dist/actions/get-bundle-templates.mjs.map +1 -1
- package/dist/actions/get-domain-by-id.cjs +1 -1
- package/dist/actions/get-domain-by-id.cjs.map +1 -1
- package/dist/actions/get-domain-by-id.d.cts +1 -1
- package/dist/actions/get-domain-by-id.d.mts +1 -1
- package/dist/actions/get-domain-by-id.mjs +1 -1
- package/dist/actions/get-domain-by-id.mjs.map +1 -1
- package/dist/actions/get-domain-statistics.cjs +6 -6
- package/dist/actions/get-domain-statistics.cjs.map +1 -1
- package/dist/actions/get-domain-statistics.d.cts +11 -11
- package/dist/actions/get-domain-statistics.d.mts +11 -11
- package/dist/actions/get-domain-statistics.mjs +6 -6
- package/dist/actions/get-domain-statistics.mjs.map +1 -1
- package/dist/actions/get-domains-link-clicks.cjs +1 -1
- package/dist/actions/get-domains-link-clicks.cjs.map +1 -1
- package/dist/actions/get-domains-link-clicks.d.cts +2 -2
- package/dist/actions/get-domains-link-clicks.d.mts +2 -2
- package/dist/actions/get-domains-link-clicks.mjs +1 -1
- package/dist/actions/get-domains-link-clicks.mjs.map +1 -1
- package/dist/actions/get-domains-paths.cjs +2 -2
- package/dist/actions/get-domains-paths.cjs.map +1 -1
- package/dist/actions/get-domains-paths.d.cts +2 -2
- package/dist/actions/get-domains-paths.d.mts +2 -2
- package/dist/actions/get-domains-paths.mjs +2 -2
- package/dist/actions/get-domains-paths.mjs.map +1 -1
- package/dist/actions/get-folder.cjs +1 -1
- package/dist/actions/get-folder.cjs.map +1 -1
- package/dist/actions/get-folder.d.cts +1 -1
- package/dist/actions/get-folder.d.mts +1 -1
- package/dist/actions/get-folder.mjs +1 -1
- package/dist/actions/get-folder.mjs.map +1 -1
- package/dist/actions/get-link-by-original-url.cjs +2 -2
- package/dist/actions/get-link-by-original-url.cjs.map +1 -1
- package/dist/actions/get-link-by-original-url.d.cts +2 -2
- package/dist/actions/get-link-by-original-url.d.mts +2 -2
- package/dist/actions/get-link-by-original-url.mjs +2 -2
- package/dist/actions/get-link-by-original-url.mjs.map +1 -1
- package/dist/actions/get-link-countries.cjs +2 -2
- package/dist/actions/get-link-countries.cjs.map +1 -1
- package/dist/actions/get-link-countries.d.cts +2 -2
- package/dist/actions/get-link-countries.d.mts +2 -2
- package/dist/actions/get-link-countries.mjs +2 -2
- package/dist/actions/get-link-countries.mjs.map +1 -1
- package/dist/actions/get-link-info-by-link-id.cjs +1 -1
- package/dist/actions/get-link-info-by-link-id.cjs.map +1 -1
- package/dist/actions/get-link-info-by-link-id.d.cts +1 -1
- package/dist/actions/get-link-info-by-link-id.d.mts +1 -1
- package/dist/actions/get-link-info-by-link-id.mjs +1 -1
- package/dist/actions/get-link-info-by-link-id.mjs.map +1 -1
- package/dist/actions/get-link-info-by-path.cjs +1 -1
- package/dist/actions/get-link-info-by-path.cjs.map +1 -1
- package/dist/actions/get-link-info-by-path.d.cts +1 -1
- package/dist/actions/get-link-info-by-path.d.mts +1 -1
- package/dist/actions/get-link-info-by-path.mjs +1 -1
- package/dist/actions/get-link-info-by-path.mjs.map +1 -1
- package/dist/actions/get-link-permissions.cjs +2 -2
- package/dist/actions/get-link-permissions.cjs.map +1 -1
- package/dist/actions/get-link-permissions.d.cts +2 -2
- package/dist/actions/get-link-permissions.d.mts +2 -2
- package/dist/actions/get-link-permissions.mjs +2 -2
- package/dist/actions/get-link-permissions.mjs.map +1 -1
- package/dist/actions/get-link-region-list-country.cjs +2 -2
- package/dist/actions/get-link-region-list-country.cjs.map +1 -1
- package/dist/actions/get-link-region-list-country.d.cts +2 -2
- package/dist/actions/get-link-region-list-country.d.mts +2 -2
- package/dist/actions/get-link-region-list-country.mjs +2 -2
- package/dist/actions/get-link-region-list-country.mjs.map +1 -1
- package/dist/actions/get-link-regions.cjs +2 -2
- package/dist/actions/get-link-regions.cjs.map +1 -1
- package/dist/actions/get-link-regions.d.cts +2 -2
- package/dist/actions/get-link-regions.d.mts +2 -2
- package/dist/actions/get-link-regions.mjs +2 -2
- package/dist/actions/get-link-regions.mjs.map +1 -1
- package/dist/actions/get-link-statistics.cjs +6 -6
- package/dist/actions/get-link-statistics.cjs.map +1 -1
- package/dist/actions/get-link-statistics.d.cts +6 -6
- package/dist/actions/get-link-statistics.d.mts +6 -6
- package/dist/actions/get-link-statistics.mjs +6 -6
- package/dist/actions/get-link-statistics.mjs.map +1 -1
- package/dist/actions/get-link-tweetbot.cjs +1 -1
- package/dist/actions/get-link-tweetbot.cjs.map +1 -1
- package/dist/actions/get-link-tweetbot.d.cts +1 -1
- package/dist/actions/get-link-tweetbot.d.mts +1 -1
- package/dist/actions/get-link-tweetbot.mjs +1 -1
- package/dist/actions/get-link-tweetbot.mjs.map +1 -1
- package/dist/actions/get-links-by-original-url.cjs +3 -3
- package/dist/actions/get-links-by-original-url.cjs.map +1 -1
- package/dist/actions/get-links-by-original-url.d.cts +3 -3
- package/dist/actions/get-links-by-original-url.d.mts +3 -3
- package/dist/actions/get-links-by-original-url.mjs +3 -3
- package/dist/actions/get-links-by-original-url.mjs.map +1 -1
- package/dist/actions/get-links-list.cjs +2 -2
- package/dist/actions/get-links-list.cjs.map +1 -1
- package/dist/actions/get-links-list.d.cts +2 -2
- package/dist/actions/get-links-list.d.mts +2 -2
- package/dist/actions/get-links-list.mjs +2 -2
- package/dist/actions/get-links-list.mjs.map +1 -1
- package/dist/actions/list-domains.cjs +2 -2
- package/dist/actions/list-domains.cjs.map +1 -1
- package/dist/actions/list-domains.d.cts +2 -2
- package/dist/actions/list-domains.d.mts +2 -2
- package/dist/actions/list-domains.mjs +2 -2
- package/dist/actions/list-domains.mjs.map +1 -1
- package/dist/actions/list-folders.cjs +2 -2
- package/dist/actions/list-folders.cjs.map +1 -1
- package/dist/actions/list-folders.d.cts +2 -2
- package/dist/actions/list-folders.d.mts +2 -2
- package/dist/actions/list-folders.mjs +2 -2
- package/dist/actions/list-folders.mjs.map +1 -1
- package/dist/actions/post-domain-link-clicks.cjs +2 -2
- package/dist/actions/post-domain-link-clicks.cjs.map +1 -1
- package/dist/actions/post-domain-link-clicks.d.cts +4 -3
- package/dist/actions/post-domain-link-clicks.d.mts +4 -3
- package/dist/actions/post-domain-link-clicks.mjs +2 -2
- package/dist/actions/post-domain-link-clicks.mjs.map +1 -1
- package/dist/actions/post-domain-stats.cjs +7 -7
- package/dist/actions/post-domain-stats.cjs.map +1 -1
- package/dist/actions/post-domain-stats.d.cts +11 -11
- package/dist/actions/post-domain-stats.d.mts +11 -11
- package/dist/actions/post-domain-stats.mjs +7 -7
- package/dist/actions/post-domain-stats.mjs.map +1 -1
- package/dist/actions/post-domains-by-interval.cjs +2 -2
- package/dist/actions/post-domains-by-interval.cjs.map +1 -1
- package/dist/actions/post-domains-by-interval.d.cts +2 -2
- package/dist/actions/post-domains-by-interval.d.mts +2 -2
- package/dist/actions/post-domains-by-interval.mjs +2 -2
- package/dist/actions/post-domains-by-interval.mjs.map +1 -1
- package/dist/actions/post-domains-last-clicks.cjs +2 -2
- package/dist/actions/post-domains-last-clicks.cjs.map +1 -1
- package/dist/actions/post-domains-last-clicks.d.cts +2 -2
- package/dist/actions/post-domains-last-clicks.d.mts +2 -2
- package/dist/actions/post-domains-last-clicks.mjs +2 -2
- package/dist/actions/post-domains-last-clicks.mjs.map +1 -1
- package/dist/actions/post-domains-top.cjs +2 -2
- package/dist/actions/post-domains-top.cjs.map +1 -1
- package/dist/actions/post-domains-top.d.cts +2 -2
- package/dist/actions/post-domains-top.d.mts +2 -2
- package/dist/actions/post-domains-top.mjs +2 -2
- package/dist/actions/post-domains-top.mjs.map +1 -1
- package/dist/actions/post-links-archive-bulk.cjs +1 -1
- package/dist/actions/post-links-archive-bulk.cjs.map +1 -1
- package/dist/actions/post-links-archive-bulk.d.cts +1 -1
- package/dist/actions/post-links-archive-bulk.d.mts +1 -1
- package/dist/actions/post-links-archive-bulk.mjs +1 -1
- package/dist/actions/post-links-archive-bulk.mjs.map +1 -1
- package/dist/actions/post-links-bulk.cjs +3 -3
- package/dist/actions/post-links-bulk.cjs.map +1 -1
- package/dist/actions/post-links-bulk.d.cts +4 -3
- package/dist/actions/post-links-bulk.d.mts +4 -3
- package/dist/actions/post-links-bulk.mjs +3 -3
- package/dist/actions/post-links-bulk.mjs.map +1 -1
- package/dist/actions/post-links-qr-bulk.cjs +1 -1
- package/dist/actions/post-links-qr-bulk.cjs.map +1 -1
- package/dist/actions/post-links-qr-bulk.d.cts +1 -1
- package/dist/actions/post-links-qr-bulk.d.mts +1 -1
- package/dist/actions/post-links-qr-bulk.mjs +1 -1
- package/dist/actions/post-links-qr-bulk.mjs.map +1 -1
- package/dist/actions/post-links-unarchive-bulk.cjs +1 -1
- package/dist/actions/post-links-unarchive-bulk.cjs.map +1 -1
- package/dist/actions/post-links-unarchive-bulk.d.cts +1 -1
- package/dist/actions/post-links-unarchive-bulk.d.mts +1 -1
- package/dist/actions/post-links-unarchive-bulk.mjs +1 -1
- package/dist/actions/post-links-unarchive-bulk.mjs.map +1 -1
- package/dist/actions/unarchive-link.cjs +1 -1
- package/dist/actions/unarchive-link.cjs.map +1 -1
- package/dist/actions/unarchive-link.d.cts +1 -1
- package/dist/actions/unarchive-link.d.mts +1 -1
- package/dist/actions/unarchive-link.mjs +1 -1
- package/dist/actions/unarchive-link.mjs.map +1 -1
- package/dist/actions/update-domain-settings.cjs +1 -1
- package/dist/actions/update-domain-settings.cjs.map +1 -1
- package/dist/actions/update-domain-settings.d.cts +1 -1
- package/dist/actions/update-domain-settings.d.mts +1 -1
- package/dist/actions/update-domain-settings.mjs +1 -1
- package/dist/actions/update-domain-settings.mjs.map +1 -1
- package/dist/actions/update-link.cjs +1 -1
- package/dist/actions/update-link.cjs.map +1 -1
- package/dist/actions/update-link.d.cts +1 -1
- package/dist/actions/update-link.d.mts +1 -1
- package/dist/actions/update-link.mjs +1 -1
- package/dist/actions/update-link.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-tweetbot.cjs","names":["z","action"],"sources":["../../src/actions/get-link-tweetbot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkTweetbotInput = z.object({\n path: z.string().describe(\"Custom path/slug for the short link. If not provided, a random path will be generated. Must be unique within the domain.\").optional(),\n title: z.string().describe(\"Optional title/description for the link. This metadata helps identify the link's purpose.\").optional(),\n domain: z.string().describe(\"Domain hostname to create the short link on. Must be a domain you have access to in your Short.io account (e.g., 'yourdomain.short.gy' or a custom domain).\"),\n urlOnly: z.boolean().describe(\"Note: This parameter may not be supported by the API. Leave unset for normal operation.\").optional(),\n originalURL: z.string().describe(\"The full URL to shorten. Must include the protocol (http:// or https://).\"),\n}).describe(\"Request parameters for creating a new short link using the simple (Tweetbot) GET endpoint.\");\nexport const ShortIoGetLinkTweetbotOutput = z.object({\n url: z.string().describe(\"The newly created short URL.\").nullable(),\n}).describe(\"Response model containing the newly created short URL.\");\n\nexport const shortIoGetLinkTweetbot = action(\"SHORT_IO_GET_LINK_TWEETBOT\", {\n slug: \"short_io-get-link-tweetbot\",\n name: \"Get Link (Tweetbot)\",\n description: \"Create a short link using the simplified Tweetbot GET endpoint. This is a lightweight alternative to the standard POST link creation endpoint, designed for scenarios where GET requests are preferred (e.g., browser-based integrations, simple HTTP clients). Returns the shortened URL immediately upon success.\",\n input: ShortIoGetLinkTweetbotInput,\n output: ShortIoGetLinkTweetbotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAC/J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACjI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;CACzL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAClI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;AAC9G,CAAC,CAAC,CAAC,SAAS,4FAA4F;AACxG,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"get-link-tweetbot.cjs","names":["z","action"],"sources":["../../src/actions/get-link-tweetbot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkTweetbotInput = z.object({\n path: z.string().describe(\"Custom path/slug for the short link. If not provided, a random path will be generated. Must be unique within the domain.\").optional(),\n title: z.string().describe(\"Optional title/description for the link. This metadata helps identify the link's purpose.\").optional(),\n domain: z.string().describe(\"Domain hostname to create the short link on. Must be a domain you have access to in your Short.io account (e.g., 'yourdomain.short.gy' or a custom domain).\"),\n urlOnly: z.boolean().describe(\"Note: This parameter may not be supported by the API. Leave unset for normal operation.\").optional(),\n originalURL: z.string().describe(\"The full URL to shorten. Must include the protocol (http:// or https://).\"),\n}).describe(\"Request parameters for creating a new short link using the simple (Tweetbot) GET endpoint.\");\nexport const ShortIoGetLinkTweetbotOutput = z.object({\n url: z.string().describe(\"The newly created short URL.\").nullable(),\n}).passthrough().describe(\"Response model containing the newly created short URL.\");\n\nexport const shortIoGetLinkTweetbot = action(\"SHORT_IO_GET_LINK_TWEETBOT\", {\n slug: \"short_io-get-link-tweetbot\",\n name: \"Get Link (Tweetbot)\",\n description: \"Create a short link using the simplified Tweetbot GET endpoint. This is a lightweight alternative to the standard POST link creation endpoint, designed for scenarios where GET requests are preferred (e.g., browser-based integrations, simple HTTP clients). Returns the shortened URL immediately upon success.\",\n input: ShortIoGetLinkTweetbotInput,\n output: ShortIoGetLinkTweetbotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAC/J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACjI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;CACzL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAClI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;AAC9G,CAAC,CAAC,CAAC,SAAS,4FAA4F;AACxG,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ declare const ShortIoGetLinkTweetbotInput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const ShortIoGetLinkTweetbotOutput: z.ZodObject<{
|
|
12
12
|
url: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const shortIoGetLinkTweetbot: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
domain: string;
|
|
16
16
|
originalURL: string;
|
|
@@ -10,7 +10,7 @@ declare const ShortIoGetLinkTweetbotInput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const ShortIoGetLinkTweetbotOutput: z.ZodObject<{
|
|
12
12
|
url: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const shortIoGetLinkTweetbot: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
domain: string;
|
|
16
16
|
originalURL: string;
|
|
@@ -11,7 +11,7 @@ const shortIoGetLinkTweetbot = action("SHORT_IO_GET_LINK_TWEETBOT", {
|
|
|
11
11
|
urlOnly: z.boolean().describe("Note: This parameter may not be supported by the API. Leave unset for normal operation.").optional(),
|
|
12
12
|
originalURL: z.string().describe("The full URL to shorten. Must include the protocol (http:// or https://).")
|
|
13
13
|
}).describe("Request parameters for creating a new short link using the simple (Tweetbot) GET endpoint."),
|
|
14
|
-
output: z.object({ url: z.string().describe("The newly created short URL.").nullable() }).describe("Response model containing the newly created short URL.")
|
|
14
|
+
output: z.object({ url: z.string().describe("The newly created short URL.").nullable() }).passthrough().describe("Response model containing the newly created short URL.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { shortIoGetLinkTweetbot };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-link-tweetbot.mjs","names":[],"sources":["../../src/actions/get-link-tweetbot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkTweetbotInput = z.object({\n path: z.string().describe(\"Custom path/slug for the short link. If not provided, a random path will be generated. Must be unique within the domain.\").optional(),\n title: z.string().describe(\"Optional title/description for the link. This metadata helps identify the link's purpose.\").optional(),\n domain: z.string().describe(\"Domain hostname to create the short link on. Must be a domain you have access to in your Short.io account (e.g., 'yourdomain.short.gy' or a custom domain).\"),\n urlOnly: z.boolean().describe(\"Note: This parameter may not be supported by the API. Leave unset for normal operation.\").optional(),\n originalURL: z.string().describe(\"The full URL to shorten. Must include the protocol (http:// or https://).\"),\n}).describe(\"Request parameters for creating a new short link using the simple (Tweetbot) GET endpoint.\");\nexport const ShortIoGetLinkTweetbotOutput = z.object({\n url: z.string().describe(\"The newly created short URL.\").nullable(),\n}).describe(\"Response model containing the newly created short URL.\");\n\nexport const shortIoGetLinkTweetbot = action(\"SHORT_IO_GET_LINK_TWEETBOT\", {\n slug: \"short_io-get-link-tweetbot\",\n name: \"Get Link (Tweetbot)\",\n description: \"Create a short link using the simplified Tweetbot GET endpoint. This is a lightweight alternative to the standard POST link creation endpoint, designed for scenarios where GET requests are preferred (e.g., browser-based integrations, simple HTTP clients). Returns the shortened URL immediately upon success.\",\n input: ShortIoGetLinkTweetbotInput,\n output: ShortIoGetLinkTweetbotOutput,\n});\n"],"mappings":";;AAeA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfyC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EAC/J,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACjI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;EACzL,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EAClI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC9G,CAAC,CAAC,CAAC,SAAS,4FASH;CACP,QAT0C,EAAE,OAAO,EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-link-tweetbot.mjs","names":[],"sources":["../../src/actions/get-link-tweetbot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinkTweetbotInput = z.object({\n path: z.string().describe(\"Custom path/slug for the short link. If not provided, a random path will be generated. Must be unique within the domain.\").optional(),\n title: z.string().describe(\"Optional title/description for the link. This metadata helps identify the link's purpose.\").optional(),\n domain: z.string().describe(\"Domain hostname to create the short link on. Must be a domain you have access to in your Short.io account (e.g., 'yourdomain.short.gy' or a custom domain).\"),\n urlOnly: z.boolean().describe(\"Note: This parameter may not be supported by the API. Leave unset for normal operation.\").optional(),\n originalURL: z.string().describe(\"The full URL to shorten. Must include the protocol (http:// or https://).\"),\n}).describe(\"Request parameters for creating a new short link using the simple (Tweetbot) GET endpoint.\");\nexport const ShortIoGetLinkTweetbotOutput = z.object({\n url: z.string().describe(\"The newly created short URL.\").nullable(),\n}).passthrough().describe(\"Response model containing the newly created short URL.\");\n\nexport const shortIoGetLinkTweetbot = action(\"SHORT_IO_GET_LINK_TWEETBOT\", {\n slug: \"short_io-get-link-tweetbot\",\n name: \"Get Link (Tweetbot)\",\n description: \"Create a short link using the simplified Tweetbot GET endpoint. This is a lightweight alternative to the standard POST link creation endpoint, designed for scenarios where GET requests are preferred (e.g., browser-based integrations, simple HTTP clients). Returns the shortened URL immediately upon success.\",\n input: ShortIoGetLinkTweetbotInput,\n output: ShortIoGetLinkTweetbotOutput,\n});\n"],"mappings":";;AAeA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfyC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;EAC/J,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACjI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;EACzL,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EAClI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC9G,CAAC,CAAC,CAAC,SAAS,4FASH;CACP,QAT0C,EAAE,OAAO,EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const ShortIoGetLinksByOriginalUrl_UserInfoSchema = zod.z.object({
|
|
|
10
10
|
name: zod.z.string().describe("User name").nullable().optional(),
|
|
11
11
|
email: zod.z.string().describe("User email address").nullable().optional(),
|
|
12
12
|
photoURL: zod.z.string().describe("URL to user's photo").nullable().optional()
|
|
13
|
-
}).describe("Schema representing user information associated with a link.");
|
|
13
|
+
}).passthrough().describe("Schema representing user information associated with a link.");
|
|
14
14
|
const ShortIoGetLinksByOriginalUrl_LinkDetailsSchema = zod.z.object({
|
|
15
15
|
id: zod.z.string().describe("Unique identifier of the link").nullable().optional(),
|
|
16
16
|
User: ShortIoGetLinksByOriginalUrl_UserInfoSchema.nullable().optional(),
|
|
@@ -29,8 +29,8 @@ const ShortIoGetLinksByOriginalUrl_LinkDetailsSchema = zod.z.object({
|
|
|
29
29
|
hasPassword: zod.z.boolean().describe("Whether the link has password protection").nullable().optional(),
|
|
30
30
|
originalURL: zod.z.string().describe("The original long URL").nullable().optional(),
|
|
31
31
|
secureShortURL: zod.z.string().describe("HTTPS version of the shortened URL").nullable().optional()
|
|
32
|
-
}).describe("Schema representing detailed information about a short link.");
|
|
33
|
-
const ShortIoGetLinksByOriginalUrlOutput = zod.z.object({ links: zod.z.array(ShortIoGetLinksByOriginalUrl_LinkDetailsSchema).describe("List of all short links created from the same original URL") }).describe("Response model containing a list of short links matching the original URL.");
|
|
32
|
+
}).passthrough().describe("Schema representing detailed information about a short link.");
|
|
33
|
+
const ShortIoGetLinksByOriginalUrlOutput = zod.z.object({ links: zod.z.array(ShortIoGetLinksByOriginalUrl_LinkDetailsSchema).describe("List of all short links created from the same original URL") }).passthrough().describe("Response model containing a list of short links matching the original URL.");
|
|
34
34
|
const shortIoGetLinksByOriginalUrl = require_action.action("SHORT_IO_GET_LINKS_BY_ORIGINAL_URL", {
|
|
35
35
|
slug: "short_io-get-links-by-original-url",
|
|
36
36
|
name: "Get Links by Original URL",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-links-by-original-url.cjs","names":["z","action"],"sources":["../../src/actions/get-links-by-original-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinksByOriginalUrlInput = z.object({\n domain: z.string().describe(\"The domain name to search within (e.g., example.short.gy)\"),\n originalURL: z.string().describe(\"The original long URL to find short links for\"),\n}).describe(\"Request model for retrieving multiple links by original URL.\");\nconst ShortIoGetLinksByOriginalUrl_UserInfoSchema = z.object({\n id: z.number().int().describe(\"User ID\").nullable().optional(),\n name: z.string().describe(\"User name\").nullable().optional(),\n email: z.string().describe(\"User email address\").nullable().optional(),\n photoURL: z.string().describe(\"URL to user's photo\").nullable().optional(),\n}).describe(\"Schema representing user information associated with a link.\");\nconst ShortIoGetLinksByOriginalUrl_LinkDetailsSchema = z.object({\n id: z.string().describe(\"Unique identifier of the link\").nullable().optional(),\n User: ShortIoGetLinksByOriginalUrl_UserInfoSchema.nullable().optional(),\n path: z.string().describe(\"Path segment of the short URL\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the link\").nullable().optional(),\n title: z.string().describe(\"Title of the link\").nullable().optional(),\n skipQS: z.boolean().describe(\"Whether to skip query string parameters\").nullable().optional(),\n source: z.string().describe(\"Source of the link creation\").nullable().optional(),\n OwnerId: z.number().int().describe(\"ID of the owner of the link\").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 link cloaking is enabled\").nullable().optional(),\n idString: z.string().describe(\"String representation of the link ID\").nullable().optional(),\n shortURL: z.string().describe(\"The shortened URL (HTTP)\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the link was created\").nullable().optional(),\n hasPassword: z.boolean().describe(\"Whether the link has password protection\").nullable().optional(),\n originalURL: z.string().describe(\"The original long URL\").nullable().optional(),\n secureShortURL: z.string().describe(\"HTTPS version of the shortened URL\").nullable().optional(),\n}).describe(\"Schema representing detailed information about a short link.\");\nexport const ShortIoGetLinksByOriginalUrlOutput = z.object({\n links: z.array(ShortIoGetLinksByOriginalUrl_LinkDetailsSchema).describe(\"List of all short links created from the same original URL\"),\n}).describe(\"Response model containing a list of short links matching the original URL.\");\n\nexport const shortIoGetLinksByOriginalUrl = action(\"SHORT_IO_GET_LINKS_BY_ORIGINAL_URL\", {\n slug: \"short_io-get-links-by-original-url\",\n name: \"Get Links by Original URL\",\n description: \"Tool to get multiple links info by original URL. Use when you need to find all short links created from the same original URL within a domain, such as comparing campaign performance across different platforms.\",\n input: ShortIoGetLinksByOriginalUrlInput,\n output: ShortIoGetLinksByOriginalUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AAClF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,8DAA8D;
|
|
1
|
+
{"version":3,"file":"get-links-by-original-url.cjs","names":["z","action"],"sources":["../../src/actions/get-links-by-original-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinksByOriginalUrlInput = z.object({\n domain: z.string().describe(\"The domain name to search within (e.g., example.short.gy)\"),\n originalURL: z.string().describe(\"The original long URL to find short links for\"),\n}).describe(\"Request model for retrieving multiple links by original URL.\");\nconst ShortIoGetLinksByOriginalUrl_UserInfoSchema = z.object({\n id: z.number().int().describe(\"User ID\").nullable().optional(),\n name: z.string().describe(\"User name\").nullable().optional(),\n email: z.string().describe(\"User email address\").nullable().optional(),\n photoURL: z.string().describe(\"URL to user's photo\").nullable().optional(),\n}).passthrough().describe(\"Schema representing user information associated with a link.\");\nconst ShortIoGetLinksByOriginalUrl_LinkDetailsSchema = z.object({\n id: z.string().describe(\"Unique identifier of the link\").nullable().optional(),\n User: ShortIoGetLinksByOriginalUrl_UserInfoSchema.nullable().optional(),\n path: z.string().describe(\"Path segment of the short URL\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the link\").nullable().optional(),\n title: z.string().describe(\"Title of the link\").nullable().optional(),\n skipQS: z.boolean().describe(\"Whether to skip query string parameters\").nullable().optional(),\n source: z.string().describe(\"Source of the link creation\").nullable().optional(),\n OwnerId: z.number().int().describe(\"ID of the owner of the link\").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 link cloaking is enabled\").nullable().optional(),\n idString: z.string().describe(\"String representation of the link ID\").nullable().optional(),\n shortURL: z.string().describe(\"The shortened URL (HTTP)\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the link was created\").nullable().optional(),\n hasPassword: z.boolean().describe(\"Whether the link has password protection\").nullable().optional(),\n originalURL: z.string().describe(\"The original long URL\").nullable().optional(),\n secureShortURL: z.string().describe(\"HTTPS version of the shortened URL\").nullable().optional(),\n}).passthrough().describe(\"Schema representing detailed information about a short link.\");\nexport const ShortIoGetLinksByOriginalUrlOutput = z.object({\n links: z.array(ShortIoGetLinksByOriginalUrl_LinkDetailsSchema).describe(\"List of all short links created from the same original URL\"),\n}).passthrough().describe(\"Response model containing a list of short links matching the original URL.\");\n\nexport const shortIoGetLinksByOriginalUrl = action(\"SHORT_IO_GET_LINKS_BY_ORIGINAL_URL\", {\n slug: \"short_io-get-links-by-original-url\",\n name: \"Get Links by Original URL\",\n description: \"Tool to get multiple links info by original URL. Use when you need to find all short links created from the same original URL within a domain, such as comparing campaign performance across different platforms.\",\n input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C,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,OAAOA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,4DAA4D,EACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;AAEtG,MAAa,+BAA+BC,eAAAA,OAAO,sCAAsC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const ShortIoGetLinksByOriginalUrlOutput: z.ZodObject<{
|
|
|
13
13
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
photoURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>;
|
|
17
17
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
19
19
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -29,8 +29,8 @@ declare const ShortIoGetLinksByOriginalUrlOutput: z.ZodObject<{
|
|
|
29
29
|
hasPassword: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
30
|
originalURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
secureShortURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const shortIoGetLinksByOriginalUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
domain: string;
|
|
36
36
|
originalURL: string;
|
|
@@ -13,7 +13,7 @@ declare const ShortIoGetLinksByOriginalUrlOutput: z.ZodObject<{
|
|
|
13
13
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
photoURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>;
|
|
17
17
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
19
19
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -29,8 +29,8 @@ declare const ShortIoGetLinksByOriginalUrlOutput: z.ZodObject<{
|
|
|
29
29
|
hasPassword: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
30
|
originalURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
secureShortURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const shortIoGetLinksByOriginalUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
domain: string;
|
|
36
36
|
originalURL: string;
|
|
@@ -10,7 +10,7 @@ const ShortIoGetLinksByOriginalUrl_UserInfoSchema = z.object({
|
|
|
10
10
|
name: z.string().describe("User name").nullable().optional(),
|
|
11
11
|
email: z.string().describe("User email address").nullable().optional(),
|
|
12
12
|
photoURL: z.string().describe("URL to user's photo").nullable().optional()
|
|
13
|
-
}).describe("Schema representing user information associated with a link.");
|
|
13
|
+
}).passthrough().describe("Schema representing user information associated with a link.");
|
|
14
14
|
const ShortIoGetLinksByOriginalUrl_LinkDetailsSchema = z.object({
|
|
15
15
|
id: z.string().describe("Unique identifier of the link").nullable().optional(),
|
|
16
16
|
User: ShortIoGetLinksByOriginalUrl_UserInfoSchema.nullable().optional(),
|
|
@@ -29,13 +29,13 @@ const ShortIoGetLinksByOriginalUrl_LinkDetailsSchema = z.object({
|
|
|
29
29
|
hasPassword: z.boolean().describe("Whether the link has password protection").nullable().optional(),
|
|
30
30
|
originalURL: z.string().describe("The original long URL").nullable().optional(),
|
|
31
31
|
secureShortURL: z.string().describe("HTTPS version of the shortened URL").nullable().optional()
|
|
32
|
-
}).describe("Schema representing detailed information about a short link.");
|
|
32
|
+
}).passthrough().describe("Schema representing detailed information about a short link.");
|
|
33
33
|
const shortIoGetLinksByOriginalUrl = action("SHORT_IO_GET_LINKS_BY_ORIGINAL_URL", {
|
|
34
34
|
slug: "short_io-get-links-by-original-url",
|
|
35
35
|
name: "Get Links by Original URL",
|
|
36
36
|
description: "Tool to get multiple links info by original URL. Use when you need to find all short links created from the same original URL within a domain, such as comparing campaign performance across different platforms.",
|
|
37
37
|
input: ShortIoGetLinksByOriginalUrlInput,
|
|
38
|
-
output: z.object({ links: z.array(ShortIoGetLinksByOriginalUrl_LinkDetailsSchema).describe("List of all short links created from the same original URL") }).describe("Response model containing a list of short links matching the original URL.")
|
|
38
|
+
output: z.object({ links: z.array(ShortIoGetLinksByOriginalUrl_LinkDetailsSchema).describe("List of all short links created from the same original URL") }).passthrough().describe("Response model containing a list of short links matching the original URL.")
|
|
39
39
|
});
|
|
40
40
|
//#endregion
|
|
41
41
|
export { shortIoGetLinksByOriginalUrl };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-links-by-original-url.mjs","names":[],"sources":["../../src/actions/get-links-by-original-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinksByOriginalUrlInput = z.object({\n domain: z.string().describe(\"The domain name to search within (e.g., example.short.gy)\"),\n originalURL: z.string().describe(\"The original long URL to find short links for\"),\n}).describe(\"Request model for retrieving multiple links by original URL.\");\nconst ShortIoGetLinksByOriginalUrl_UserInfoSchema = z.object({\n id: z.number().int().describe(\"User ID\").nullable().optional(),\n name: z.string().describe(\"User name\").nullable().optional(),\n email: z.string().describe(\"User email address\").nullable().optional(),\n photoURL: z.string().describe(\"URL to user's photo\").nullable().optional(),\n}).describe(\"Schema representing user information associated with a link.\");\nconst ShortIoGetLinksByOriginalUrl_LinkDetailsSchema = z.object({\n id: z.string().describe(\"Unique identifier of the link\").nullable().optional(),\n User: ShortIoGetLinksByOriginalUrl_UserInfoSchema.nullable().optional(),\n path: z.string().describe(\"Path segment of the short URL\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the link\").nullable().optional(),\n title: z.string().describe(\"Title of the link\").nullable().optional(),\n skipQS: z.boolean().describe(\"Whether to skip query string parameters\").nullable().optional(),\n source: z.string().describe(\"Source of the link creation\").nullable().optional(),\n OwnerId: z.number().int().describe(\"ID of the owner of the link\").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 link cloaking is enabled\").nullable().optional(),\n idString: z.string().describe(\"String representation of the link ID\").nullable().optional(),\n shortURL: z.string().describe(\"The shortened URL (HTTP)\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the link was created\").nullable().optional(),\n hasPassword: z.boolean().describe(\"Whether the link has password protection\").nullable().optional(),\n originalURL: z.string().describe(\"The original long URL\").nullable().optional(),\n secureShortURL: z.string().describe(\"HTTPS version of the shortened URL\").nullable().optional(),\n}).describe(\"Schema representing detailed information about a short link.\");\nexport const ShortIoGetLinksByOriginalUrlOutput = z.object({\n links: z.array(ShortIoGetLinksByOriginalUrl_LinkDetailsSchema).describe(\"List of all short links created from the same original URL\"),\n}).describe(\"Response model containing a list of short links matching the original URL.\");\n\nexport const shortIoGetLinksByOriginalUrl = action(\"SHORT_IO_GET_LINKS_BY_ORIGINAL_URL\", {\n slug: \"short_io-get-links-by-original-url\",\n name: \"Get Links by Original URL\",\n description: \"Tool to get multiple links info by original URL. Use when you need to find all short links created from the same original URL within a domain, such as comparing campaign performance across different platforms.\",\n input: ShortIoGetLinksByOriginalUrlInput,\n output: ShortIoGetLinksByOriginalUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AAClF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,8DAA8D;
|
|
1
|
+
{"version":3,"file":"get-links-by-original-url.mjs","names":[],"sources":["../../src/actions/get-links-by-original-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinksByOriginalUrlInput = z.object({\n domain: z.string().describe(\"The domain name to search within (e.g., example.short.gy)\"),\n originalURL: z.string().describe(\"The original long URL to find short links for\"),\n}).describe(\"Request model for retrieving multiple links by original URL.\");\nconst ShortIoGetLinksByOriginalUrl_UserInfoSchema = z.object({\n id: z.number().int().describe(\"User ID\").nullable().optional(),\n name: z.string().describe(\"User name\").nullable().optional(),\n email: z.string().describe(\"User email address\").nullable().optional(),\n photoURL: z.string().describe(\"URL to user's photo\").nullable().optional(),\n}).passthrough().describe(\"Schema representing user information associated with a link.\");\nconst ShortIoGetLinksByOriginalUrl_LinkDetailsSchema = z.object({\n id: z.string().describe(\"Unique identifier of the link\").nullable().optional(),\n User: ShortIoGetLinksByOriginalUrl_UserInfoSchema.nullable().optional(),\n path: z.string().describe(\"Path segment of the short URL\").nullable().optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the link\").nullable().optional(),\n title: z.string().describe(\"Title of the link\").nullable().optional(),\n skipQS: z.boolean().describe(\"Whether to skip query string parameters\").nullable().optional(),\n source: z.string().describe(\"Source of the link creation\").nullable().optional(),\n OwnerId: z.number().int().describe(\"ID of the owner of the link\").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 link cloaking is enabled\").nullable().optional(),\n idString: z.string().describe(\"String representation of the link ID\").nullable().optional(),\n shortURL: z.string().describe(\"The shortened URL (HTTP)\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the link was created\").nullable().optional(),\n hasPassword: z.boolean().describe(\"Whether the link has password protection\").nullable().optional(),\n originalURL: z.string().describe(\"The original long URL\").nullable().optional(),\n secureShortURL: z.string().describe(\"HTTPS version of the shortened URL\").nullable().optional(),\n}).passthrough().describe(\"Schema representing detailed information about a short link.\");\nexport const ShortIoGetLinksByOriginalUrlOutput = z.object({\n links: z.array(ShortIoGetLinksByOriginalUrl_LinkDetailsSchema).describe(\"List of all short links created from the same original URL\"),\n}).passthrough().describe(\"Response model containing a list of short links matching the original URL.\");\n\nexport const shortIoGetLinksByOriginalUrl = action(\"SHORT_IO_GET_LINKS_BY_ORIGINAL_URL\", {\n slug: \"short_io-get-links-by-original-url\",\n name: \"Get Links by Original URL\",\n description: \"Tool to get multiple links info by original URL. Use when you need to find all short links created from the same original URL within a domain, such as comparing campaign performance across different platforms.\",\n input: ShortIoGetLinksByOriginalUrlInput,\n output: ShortIoGetLinksByOriginalUrlOutput,\n});\n"],"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|
@@ -26,11 +26,11 @@ const ShortIoGetLinksList_LinkModelSchema = zod.z.object({
|
|
|
26
26
|
createdAt: zod.z.string().describe("ISO8601 timestamp when the link was created").nullable(),
|
|
27
27
|
originalURL: zod.z.string().describe("The original long URL").nullable(),
|
|
28
28
|
secureShortURL: zod.z.string().describe("HTTPS version of the shortened URL").nullable()
|
|
29
|
-
}).describe("Schema representing a single short link in the listing.");
|
|
29
|
+
}).passthrough().describe("Schema representing a single short link in the listing.");
|
|
30
30
|
const ShortIoGetLinksListOutput = zod.z.object({
|
|
31
31
|
links: zod.z.array(ShortIoGetLinksList_LinkModelSchema).describe("List of matching short links"),
|
|
32
32
|
total: zod.z.number().int().describe("Total number of links matching the filters").nullable()
|
|
33
|
-
}).describe("Response model containing a list of links and total count matching the criteria.");
|
|
33
|
+
}).passthrough().describe("Response model containing a list of links and total count matching the criteria.");
|
|
34
34
|
const shortIoGetLinksList = require_action.action("SHORT_IO_GET_LINKS_LIST", {
|
|
35
35
|
slug: "short_io-get-links-list",
|
|
36
36
|
name: "Get Links List",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-links-list.cjs","names":["z","action"],"sources":["../../src/actions/get-links-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinksListInput = z.object({\n limit: z.number().int().describe(\"Maximum number of links to return per request\").optional(),\n folderId: z.string().describe(\"Filter links belonging to a specific folder\").optional(),\n idString: z.string().describe(\"Filter by specific link identifier\").optional(),\n afterDate: z.string().describe(\"ISO 8601 formatted date-time to retrieve links created after this timestamp\").optional(),\n createdAt: z.string().describe(\"Filter by creation date\").optional(),\n domain_id: z.number().int().describe(\"REQUIRED. ID of the domain to list links from. Obtain via SHORT_IO_POST_LINKS_BULK or from Domain Settings in Short.io Dashboard.\"),\n pageToken: z.string().describe(\"Token for pagination through result sets\").optional(),\n beforeDate: z.string().describe(\"ISO 8601 formatted date-time to retrieve links created before this timestamp\").optional(),\n dateSortOrder: z.enum([\"asc\", \"desc\"]).describe(\"Date sort order\").optional(),\n}).describe(\"Request parameters for listing short links with optional filters and pagination.\");\nconst ShortIoGetLinksList_LinkModelSchema = z.object({\n id: z.string().describe(\"Unique identifier of the link\").nullable(),\n path: z.string().describe(\"Path segment of the short URL\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the link\").nullable().optional(),\n title: z.string().describe(\"Title metadata for the link\").nullable().optional(),\n clicks: z.number().int().default(0).describe(\"Total number of clicks recorded for the link\").nullable().optional(),\n DomainId: z.number().int().describe(\"ID of the domain this link belongs to\").nullable(),\n archived: z.boolean().describe(\"Whether the link is archived\").nullable().optional(),\n cloaking: z.boolean().describe(\"Whether cloaking is enabled\").nullable().optional(),\n idString: z.string().describe(\"String representation of the link ID\").nullable(),\n shortURL: z.string().describe(\"The shortened URL\").nullable(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the link was created\").nullable(),\n originalURL: z.string().describe(\"The original long URL\").nullable(),\n secureShortURL: z.string().describe(\"HTTPS version of the shortened URL\").nullable(),\n}).describe(\"Schema representing a single short link in the listing.\");\nexport const ShortIoGetLinksListOutput = z.object({\n links: z.array(ShortIoGetLinksList_LinkModelSchema).describe(\"List of matching short links\"),\n total: z.number().int().describe(\"Total number of links matching the filters\").nullable(),\n}).describe(\"Response model containing a list of links and total count matching the criteria.\");\n\nexport const shortIoGetLinksList = action(\"SHORT_IO_GET_LINKS_LIST\", {\n slug: \"short_io-get-links-list\",\n name: \"Get Links List\",\n description: \"Tool to list short links on a domain with optional filters. Use after confirming the domain to retrieve or search links by criteria.\",\n input: ShortIoGetLinksListInput,\n output: ShortIoGetLinksListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,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,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACnE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,yDAAyD;
|
|
1
|
+
{"version":3,"file":"get-links-list.cjs","names":["z","action"],"sources":["../../src/actions/get-links-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinksListInput = z.object({\n limit: z.number().int().describe(\"Maximum number of links to return per request\").optional(),\n folderId: z.string().describe(\"Filter links belonging to a specific folder\").optional(),\n idString: z.string().describe(\"Filter by specific link identifier\").optional(),\n afterDate: z.string().describe(\"ISO 8601 formatted date-time to retrieve links created after this timestamp\").optional(),\n createdAt: z.string().describe(\"Filter by creation date\").optional(),\n domain_id: z.number().int().describe(\"REQUIRED. ID of the domain to list links from. Obtain via SHORT_IO_POST_LINKS_BULK or from Domain Settings in Short.io Dashboard.\"),\n pageToken: z.string().describe(\"Token for pagination through result sets\").optional(),\n beforeDate: z.string().describe(\"ISO 8601 formatted date-time to retrieve links created before this timestamp\").optional(),\n dateSortOrder: z.enum([\"asc\", \"desc\"]).describe(\"Date sort order\").optional(),\n}).describe(\"Request parameters for listing short links with optional filters and pagination.\");\nconst ShortIoGetLinksList_LinkModelSchema = z.object({\n id: z.string().describe(\"Unique identifier of the link\").nullable(),\n path: z.string().describe(\"Path segment of the short URL\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the link\").nullable().optional(),\n title: z.string().describe(\"Title metadata for the link\").nullable().optional(),\n clicks: z.number().int().default(0).describe(\"Total number of clicks recorded for the link\").nullable().optional(),\n DomainId: z.number().int().describe(\"ID of the domain this link belongs to\").nullable(),\n archived: z.boolean().describe(\"Whether the link is archived\").nullable().optional(),\n cloaking: z.boolean().describe(\"Whether cloaking is enabled\").nullable().optional(),\n idString: z.string().describe(\"String representation of the link ID\").nullable(),\n shortURL: z.string().describe(\"The shortened URL\").nullable(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the link was created\").nullable(),\n originalURL: z.string().describe(\"The original long URL\").nullable(),\n secureShortURL: z.string().describe(\"HTTPS version of the shortened URL\").nullable(),\n}).passthrough().describe(\"Schema representing a single short link in the listing.\");\nexport const ShortIoGetLinksListOutput = z.object({\n links: z.array(ShortIoGetLinksList_LinkModelSchema).describe(\"List of matching short links\"),\n total: z.number().int().describe(\"Total number of links matching the filters\").nullable(),\n}).passthrough().describe(\"Response model containing a list of links and total count matching the criteria.\");\n\nexport const shortIoGetLinksList = action(\"SHORT_IO_GET_LINKS_LIST\", {\n slug: \"short_io-get-links-list\",\n name: \"Get Links List\",\n description: \"Tool to list short links on a domain with optional filters. Use after confirming the domain to retrieve or search links by criteria.\",\n input: ShortIoGetLinksListInput,\n output: ShortIoGetLinksListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAA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URL: z.ZodNullable<z.ZodString>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
34
|
total: z.ZodNullable<z.ZodNumber>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>;
|
|
36
36
|
declare const shortIoGetLinksList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
37
|
domain_id: number;
|
|
38
38
|
limit?: number | undefined;
|
|
@@ -30,9 +30,9 @@ declare const ShortIoGetLinksListOutput: z.ZodObject<{
|
|
|
30
30
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
31
31
|
originalURL: z.ZodNullable<z.ZodString>;
|
|
32
32
|
secureShortURL: z.ZodNullable<z.ZodString>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
34
|
total: z.ZodNullable<z.ZodNumber>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>;
|
|
36
36
|
declare const shortIoGetLinksList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
37
|
domain_id: number;
|
|
38
38
|
limit?: number | undefined;
|
|
@@ -26,7 +26,7 @@ const ShortIoGetLinksList_LinkModelSchema = z.object({
|
|
|
26
26
|
createdAt: z.string().describe("ISO8601 timestamp when the link was created").nullable(),
|
|
27
27
|
originalURL: z.string().describe("The original long URL").nullable(),
|
|
28
28
|
secureShortURL: z.string().describe("HTTPS version of the shortened URL").nullable()
|
|
29
|
-
}).describe("Schema representing a single short link in the listing.");
|
|
29
|
+
}).passthrough().describe("Schema representing a single short link in the listing.");
|
|
30
30
|
const shortIoGetLinksList = action("SHORT_IO_GET_LINKS_LIST", {
|
|
31
31
|
slug: "short_io-get-links-list",
|
|
32
32
|
name: "Get Links List",
|
|
@@ -35,7 +35,7 @@ const shortIoGetLinksList = action("SHORT_IO_GET_LINKS_LIST", {
|
|
|
35
35
|
output: z.object({
|
|
36
36
|
links: z.array(ShortIoGetLinksList_LinkModelSchema).describe("List of matching short links"),
|
|
37
37
|
total: z.number().int().describe("Total number of links matching the filters").nullable()
|
|
38
|
-
}).describe("Response model containing a list of links and total count matching the criteria.")
|
|
38
|
+
}).passthrough().describe("Response model containing a list of links and total count matching the criteria.")
|
|
39
39
|
});
|
|
40
40
|
//#endregion
|
|
41
41
|
export { shortIoGetLinksList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-links-list.mjs","names":[],"sources":["../../src/actions/get-links-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinksListInput = z.object({\n limit: z.number().int().describe(\"Maximum number of links to return per request\").optional(),\n folderId: z.string().describe(\"Filter links belonging to a specific folder\").optional(),\n idString: z.string().describe(\"Filter by specific link identifier\").optional(),\n afterDate: z.string().describe(\"ISO 8601 formatted date-time to retrieve links created after this timestamp\").optional(),\n createdAt: z.string().describe(\"Filter by creation date\").optional(),\n domain_id: z.number().int().describe(\"REQUIRED. ID of the domain to list links from. Obtain via SHORT_IO_POST_LINKS_BULK or from Domain Settings in Short.io Dashboard.\"),\n pageToken: z.string().describe(\"Token for pagination through result sets\").optional(),\n beforeDate: z.string().describe(\"ISO 8601 formatted date-time to retrieve links created before this timestamp\").optional(),\n dateSortOrder: z.enum([\"asc\", \"desc\"]).describe(\"Date sort order\").optional(),\n}).describe(\"Request parameters for listing short links with optional filters and pagination.\");\nconst ShortIoGetLinksList_LinkModelSchema = z.object({\n id: z.string().describe(\"Unique identifier of the link\").nullable(),\n path: z.string().describe(\"Path segment of the short URL\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the link\").nullable().optional(),\n title: z.string().describe(\"Title metadata for the link\").nullable().optional(),\n clicks: z.number().int().default(0).describe(\"Total number of clicks recorded for the link\").nullable().optional(),\n DomainId: z.number().int().describe(\"ID of the domain this link belongs to\").nullable(),\n archived: z.boolean().describe(\"Whether the link is archived\").nullable().optional(),\n cloaking: z.boolean().describe(\"Whether cloaking is enabled\").nullable().optional(),\n idString: z.string().describe(\"String representation of the link ID\").nullable(),\n shortURL: z.string().describe(\"The shortened URL\").nullable(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the link was created\").nullable(),\n originalURL: z.string().describe(\"The original long URL\").nullable(),\n secureShortURL: z.string().describe(\"HTTPS version of the shortened URL\").nullable(),\n}).describe(\"Schema representing a single short link in the listing.\");\nexport const ShortIoGetLinksListOutput = z.object({\n links: z.array(ShortIoGetLinksList_LinkModelSchema).describe(\"List of matching short links\"),\n total: z.number().int().describe(\"Total number of links matching the filters\").nullable(),\n}).describe(\"Response model containing a list of links and total count matching the criteria.\");\n\nexport const shortIoGetLinksList = action(\"SHORT_IO_GET_LINKS_LIST\", {\n slug: \"short_io-get-links-list\",\n name: \"Get Links List\",\n description: \"Tool to list short links on a domain with optional filters. Use after confirming the domain to retrieve or search links by criteria.\",\n input: ShortIoGetLinksListInput,\n output: ShortIoGetLinksListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACvH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mIAAmI;CACxK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACzH,eAAe,EAAE,KAAK,CAAC,OAAO,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DAAyD;
|
|
1
|
+
{"version":3,"file":"get-links-list.mjs","names":[],"sources":["../../src/actions/get-links-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoGetLinksListInput = z.object({\n limit: z.number().int().describe(\"Maximum number of links to return per request\").optional(),\n folderId: z.string().describe(\"Filter links belonging to a specific folder\").optional(),\n idString: z.string().describe(\"Filter by specific link identifier\").optional(),\n afterDate: z.string().describe(\"ISO 8601 formatted date-time to retrieve links created after this timestamp\").optional(),\n createdAt: z.string().describe(\"Filter by creation date\").optional(),\n domain_id: z.number().int().describe(\"REQUIRED. ID of the domain to list links from. Obtain via SHORT_IO_POST_LINKS_BULK or from Domain Settings in Short.io Dashboard.\"),\n pageToken: z.string().describe(\"Token for pagination through result sets\").optional(),\n beforeDate: z.string().describe(\"ISO 8601 formatted date-time to retrieve links created before this timestamp\").optional(),\n dateSortOrder: z.enum([\"asc\", \"desc\"]).describe(\"Date sort order\").optional(),\n}).describe(\"Request parameters for listing short links with optional filters and pagination.\");\nconst ShortIoGetLinksList_LinkModelSchema = z.object({\n id: z.string().describe(\"Unique identifier of the link\").nullable(),\n path: z.string().describe(\"Path segment of the short URL\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the link\").nullable().optional(),\n title: z.string().describe(\"Title metadata for the link\").nullable().optional(),\n clicks: z.number().int().default(0).describe(\"Total number of clicks recorded for the link\").nullable().optional(),\n DomainId: z.number().int().describe(\"ID of the domain this link belongs to\").nullable(),\n archived: z.boolean().describe(\"Whether the link is archived\").nullable().optional(),\n cloaking: z.boolean().describe(\"Whether cloaking is enabled\").nullable().optional(),\n idString: z.string().describe(\"String representation of the link ID\").nullable(),\n shortURL: z.string().describe(\"The shortened URL\").nullable(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the link was created\").nullable(),\n originalURL: z.string().describe(\"The original long URL\").nullable(),\n secureShortURL: z.string().describe(\"HTTPS version of the shortened URL\").nullable(),\n}).passthrough().describe(\"Schema representing a single short link in the listing.\");\nexport const ShortIoGetLinksListOutput = z.object({\n links: z.array(ShortIoGetLinksList_LinkModelSchema).describe(\"List of matching short links\"),\n total: z.number().int().describe(\"Total number of links matching the filters\").nullable(),\n}).passthrough().describe(\"Response model containing a list of links and total count matching the criteria.\");\n\nexport const shortIoGetLinksList = action(\"SHORT_IO_GET_LINKS_LIST\", {\n slug: \"short_io-get-links-list\",\n name: \"Get Links List\",\n description: \"Tool to list short links on a domain with optional filters. Use after confirming the domain to retrieve or search links by criteria.\",\n input: ShortIoGetLinksListInput,\n output: ShortIoGetLinksListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACvH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mIAAmI;CACxK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACzH,eAAe,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,M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E,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAOhB;AACV,CAAC"}
|
|
@@ -29,8 +29,8 @@ const ShortIoListDomains_DomainInfoSchema = zod.z.object({
|
|
|
29
29
|
autodeletePeriod: zod.z.number().int().describe("Auto-delete period in days.").nullable().optional(),
|
|
30
30
|
incrementCounter: zod.z.string().describe("Current counter value for incremental links.").nullable().optional(),
|
|
31
31
|
integrationAdroll: zod.z.string().describe("AdRoll integration ID.").nullable().optional()
|
|
32
|
-
}).describe("Detailed information about a single domain in the Short.io account.");
|
|
33
|
-
const ShortIoListDomainsOutput = zod.z.object({ domains: zod.z.array(ShortIoListDomains_DomainInfoSchema).describe("List of all domains associated with the account.") }).describe("Response containing the list of all domains in the Short.io account.");
|
|
32
|
+
}).passthrough().describe("Detailed information about a single domain in the Short.io account.");
|
|
33
|
+
const ShortIoListDomainsOutput = zod.z.object({ domains: zod.z.array(ShortIoListDomains_DomainInfoSchema).describe("List of all domains associated with the account.") }).passthrough().describe("Response containing the list of all domains in the Short.io account.");
|
|
34
34
|
const shortIoListDomains = require_action.action("SHORT_IO_LIST_DOMAINS", {
|
|
35
35
|
slug: "short_io-list-domains",
|
|
36
36
|
name: "List Domains",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoListDomainsInput = z.object({}).describe(\"Request model for listing all domains. No parameters required.\");\nconst ShortIoListDomains_DomainInfoSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the domain.\").nullable(),\n state: z.string().describe(\"Configuration status of the domain (e.g., 'not_configured', 'active').\").nullable(),\n title: z.string().describe(\"Optional custom title for the domain.\").nullable().optional(),\n TeamId: z.number().int().describe(\"Associated team identifier.\").nullable().optional(),\n jsRedir: z.boolean().describe(\"Whether JavaScript redirect is enabled.\").nullable().optional(),\n cloaking: z.boolean().describe(\"Whether URL cloaking is enabled.\").nullable().optional(),\n hostname: z.string().describe(\"The branded domain name (e.g., 'yrbrand.co').\").nullable(),\n linkType: z.string().describe(\"Counter behavior type (e.g., 'increment').\").nullable(),\n provider: z.string().describe(\"DNS provider (e.g., 'cloudflare').\").nullable().optional(),\n createdAt: z.string().describe(\"Domain creation timestamp in ISO 8601 format.\").nullable(),\n setupType: z.string().describe(\"Domain setup type (e.g., 'js').\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 format.\").nullable().optional(),\n httpsLinks: z.boolean().describe(\"Whether HTTPS is enforced for links.\").nullable().optional(),\n segmentKey: z.string().describe(\"Segment analytics key, if configured.\").nullable().optional(),\n hideReferer: z.number().int().describe(\"Referrer hiding setting (0 or 1).\").nullable().optional(),\n redirect404: z.string().describe(\"Fallback URL for 404 errors.\").nullable().optional(),\n caseSensitive: z.boolean().describe(\"Whether short links are case-sensitive.\").nullable().optional(),\n clientStorage: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n exportEnabled: z.boolean().describe(\"Whether link export is enabled.\").nullable().optional(),\n integrationFB: z.string().describe(\"Facebook Pixel integration ID.\").nullable().optional(),\n integrationGA: z.string().describe(\"Google Analytics integration ID.\").nullable().optional(),\n integrationGTM: z.string().describe(\"Google Tag Manager integration ID.\").nullable().optional(),\n unicodeHostname: z.string().describe(\"Unicode representation of the hostname.\").nullable().optional(),\n autodeletePeriod: z.number().int().describe(\"Auto-delete period in days.\").nullable().optional(),\n incrementCounter: z.string().describe(\"Current counter value for incremental links.\").nullable().optional(),\n integrationAdroll: z.string().describe(\"AdRoll integration ID.\").nullable().optional(),\n}).describe(\"Detailed information about a single domain in the Short.io account.\");\nexport const ShortIoListDomainsOutput = z.object({\n domains: z.array(ShortIoListDomains_DomainInfoSchema).describe(\"List of all domains associated with the account.\"),\n}).describe(\"Response containing the list of all domains in the Short.io account.\");\n\nexport const shortIoListDomains = action(\"SHORT_IO_LIST_DOMAINS\", {\n slug: \"short_io-list-domains\",\n name: \"List Domains\",\n description: \"Tool to retrieve all domains associated with the Short.io account. Use when you need to list available domains for creating short links or managing domain settings.\",\n input: ShortIoListDomainsInput,\n output: ShortIoListDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC7H,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC9G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+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SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,qEAAqE;
|
|
1
|
+
{"version":3,"file":"list-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoListDomainsInput = z.object({}).describe(\"Request model for listing all domains. No parameters required.\");\nconst ShortIoListDomains_DomainInfoSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the domain.\").nullable(),\n state: z.string().describe(\"Configuration status of the domain (e.g., 'not_configured', 'active').\").nullable(),\n title: z.string().describe(\"Optional custom title for the domain.\").nullable().optional(),\n TeamId: z.number().int().describe(\"Associated team identifier.\").nullable().optional(),\n jsRedir: z.boolean().describe(\"Whether JavaScript redirect is enabled.\").nullable().optional(),\n cloaking: z.boolean().describe(\"Whether URL cloaking is enabled.\").nullable().optional(),\n hostname: z.string().describe(\"The branded domain name (e.g., 'yrbrand.co').\").nullable(),\n linkType: z.string().describe(\"Counter behavior type (e.g., 'increment').\").nullable(),\n provider: z.string().describe(\"DNS provider (e.g., 'cloudflare').\").nullable().optional(),\n createdAt: z.string().describe(\"Domain creation timestamp in ISO 8601 format.\").nullable(),\n setupType: z.string().describe(\"Domain setup type (e.g., 'js').\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 format.\").nullable().optional(),\n httpsLinks: z.boolean().describe(\"Whether HTTPS is enforced for links.\").nullable().optional(),\n segmentKey: z.string().describe(\"Segment analytics key, if configured.\").nullable().optional(),\n hideReferer: z.number().int().describe(\"Referrer hiding setting (0 or 1).\").nullable().optional(),\n redirect404: z.string().describe(\"Fallback URL for 404 errors.\").nullable().optional(),\n caseSensitive: z.boolean().describe(\"Whether short links are case-sensitive.\").nullable().optional(),\n clientStorage: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n exportEnabled: z.boolean().describe(\"Whether link export is enabled.\").nullable().optional(),\n integrationFB: z.string().describe(\"Facebook Pixel integration ID.\").nullable().optional(),\n integrationGA: z.string().describe(\"Google Analytics integration ID.\").nullable().optional(),\n integrationGTM: z.string().describe(\"Google Tag Manager integration ID.\").nullable().optional(),\n unicodeHostname: z.string().describe(\"Unicode representation of the hostname.\").nullable().optional(),\n autodeletePeriod: z.number().int().describe(\"Auto-delete period in days.\").nullable().optional(),\n incrementCounter: z.string().describe(\"Current counter value for incremental links.\").nullable().optional(),\n integrationAdroll: z.string().describe(\"AdRoll integration ID.\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a single domain in the Short.io account.\");\nexport const ShortIoListDomainsOutput = z.object({\n domains: z.array(ShortIoListDomains_DomainInfoSchema).describe(\"List of all domains associated with the account.\"),\n}).passthrough().describe(\"Response containing the list of all domains in the Short.io account.\");\n\nexport const shortIoListDomains = action(\"SHORT_IO_LIST_DOMAINS\", {\n slug: \"short_io-list-domains\",\n name: \"List Domains\",\n description: \"Tool to retrieve all domains associated with the Short.io account. Use when you need to list available domains for creating short links or managing domain settings.\",\n input: ShortIoListDomainsInput,\n output: ShortIoListDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC7H,MAAM,sCAAsCA,IAAAA,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SAAS,CAAC,CAAC,SAAS;CAC1G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAC/F,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,SAASA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,kDAAkD,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -30,8 +30,8 @@ declare const ShortIoListDomainsOutput: z.ZodObject<{
|
|
|
30
30
|
autodeletePeriod: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
31
|
incrementCounter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
integrationAdroll: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const shortIoListDomains: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { shortIoListDomains };
|
|
@@ -30,8 +30,8 @@ declare const ShortIoListDomainsOutput: z.ZodObject<{
|
|
|
30
30
|
autodeletePeriod: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
31
|
incrementCounter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
integrationAdroll: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const shortIoListDomains: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { shortIoListDomains };
|
|
@@ -29,13 +29,13 @@ const ShortIoListDomains_DomainInfoSchema = z.object({
|
|
|
29
29
|
autodeletePeriod: z.number().int().describe("Auto-delete period in days.").nullable().optional(),
|
|
30
30
|
incrementCounter: z.string().describe("Current counter value for incremental links.").nullable().optional(),
|
|
31
31
|
integrationAdroll: z.string().describe("AdRoll integration ID.").nullable().optional()
|
|
32
|
-
}).describe("Detailed information about a single domain in the Short.io account.");
|
|
32
|
+
}).passthrough().describe("Detailed information about a single domain in the Short.io account.");
|
|
33
33
|
const shortIoListDomains = action("SHORT_IO_LIST_DOMAINS", {
|
|
34
34
|
slug: "short_io-list-domains",
|
|
35
35
|
name: "List Domains",
|
|
36
36
|
description: "Tool to retrieve all domains associated with the Short.io account. Use when you need to list available domains for creating short links or managing domain settings.",
|
|
37
37
|
input: ShortIoListDomainsInput,
|
|
38
|
-
output: z.object({ domains: z.array(ShortIoListDomains_DomainInfoSchema).describe("List of all domains associated with the account.") }).describe("Response containing the list of all domains in the Short.io account.")
|
|
38
|
+
output: z.object({ domains: z.array(ShortIoListDomains_DomainInfoSchema).describe("List of all domains associated with the account.") }).passthrough().describe("Response containing the list of all domains in the Short.io account.")
|
|
39
39
|
});
|
|
40
40
|
//#endregion
|
|
41
41
|
export { shortIoListDomains };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-domains.mjs","names":[],"sources":["../../src/actions/list-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoListDomainsInput = z.object({}).describe(\"Request model for listing all domains. No parameters required.\");\nconst ShortIoListDomains_DomainInfoSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the domain.\").nullable(),\n state: z.string().describe(\"Configuration status of the domain (e.g., 'not_configured', 'active').\").nullable(),\n title: z.string().describe(\"Optional custom title for the domain.\").nullable().optional(),\n TeamId: z.number().int().describe(\"Associated team identifier.\").nullable().optional(),\n jsRedir: z.boolean().describe(\"Whether JavaScript redirect is enabled.\").nullable().optional(),\n cloaking: z.boolean().describe(\"Whether URL cloaking is enabled.\").nullable().optional(),\n hostname: z.string().describe(\"The branded domain name (e.g., 'yrbrand.co').\").nullable(),\n linkType: z.string().describe(\"Counter behavior type (e.g., 'increment').\").nullable(),\n provider: z.string().describe(\"DNS provider (e.g., 'cloudflare').\").nullable().optional(),\n createdAt: z.string().describe(\"Domain creation timestamp in ISO 8601 format.\").nullable(),\n setupType: z.string().describe(\"Domain setup type (e.g., 'js').\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 format.\").nullable().optional(),\n httpsLinks: z.boolean().describe(\"Whether HTTPS is enforced for links.\").nullable().optional(),\n segmentKey: z.string().describe(\"Segment analytics key, if configured.\").nullable().optional(),\n hideReferer: z.number().int().describe(\"Referrer hiding setting (0 or 1).\").nullable().optional(),\n redirect404: z.string().describe(\"Fallback URL for 404 errors.\").nullable().optional(),\n caseSensitive: z.boolean().describe(\"Whether short links are case-sensitive.\").nullable().optional(),\n clientStorage: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n exportEnabled: z.boolean().describe(\"Whether link export is enabled.\").nullable().optional(),\n integrationFB: z.string().describe(\"Facebook Pixel integration ID.\").nullable().optional(),\n integrationGA: z.string().describe(\"Google Analytics integration ID.\").nullable().optional(),\n integrationGTM: z.string().describe(\"Google Tag Manager integration ID.\").nullable().optional(),\n unicodeHostname: z.string().describe(\"Unicode representation of the hostname.\").nullable().optional(),\n autodeletePeriod: z.number().int().describe(\"Auto-delete period in days.\").nullable().optional(),\n incrementCounter: z.string().describe(\"Current counter value for incremental links.\").nullable().optional(),\n integrationAdroll: z.string().describe(\"AdRoll integration ID.\").nullable().optional(),\n}).describe(\"Detailed information about a single domain in the Short.io account.\");\nexport const ShortIoListDomainsOutput = z.object({\n domains: z.array(ShortIoListDomains_DomainInfoSchema).describe(\"List of all domains associated with the account.\"),\n}).describe(\"Response containing the list of all domains in the Short.io account.\");\n\nexport const shortIoListDomains = action(\"SHORT_IO_LIST_DOMAINS\", {\n slug: \"short_io-list-domains\",\n name: \"List Domains\",\n description: \"Tool to retrieve all domains associated with the Short.io account. Use when you need to list available domains for creating short links or managing domain settings.\",\n input: ShortIoListDomainsInput,\n output: ShortIoListDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC7H,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC9G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,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,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,qEAAqE;
|
|
1
|
+
{"version":3,"file":"list-domains.mjs","names":[],"sources":["../../src/actions/list-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoListDomainsInput = z.object({}).describe(\"Request model for listing all domains. No parameters required.\");\nconst ShortIoListDomains_DomainInfoSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the domain.\").nullable(),\n state: z.string().describe(\"Configuration status of the domain (e.g., 'not_configured', 'active').\").nullable(),\n title: z.string().describe(\"Optional custom title for the domain.\").nullable().optional(),\n TeamId: z.number().int().describe(\"Associated team identifier.\").nullable().optional(),\n jsRedir: z.boolean().describe(\"Whether JavaScript redirect is enabled.\").nullable().optional(),\n cloaking: z.boolean().describe(\"Whether URL cloaking is enabled.\").nullable().optional(),\n hostname: z.string().describe(\"The branded domain name (e.g., 'yrbrand.co').\").nullable(),\n linkType: z.string().describe(\"Counter behavior type (e.g., 'increment').\").nullable(),\n provider: z.string().describe(\"DNS provider (e.g., 'cloudflare').\").nullable().optional(),\n createdAt: z.string().describe(\"Domain creation timestamp in ISO 8601 format.\").nullable(),\n setupType: z.string().describe(\"Domain setup type (e.g., 'js').\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 format.\").nullable().optional(),\n httpsLinks: z.boolean().describe(\"Whether HTTPS is enforced for links.\").nullable().optional(),\n segmentKey: z.string().describe(\"Segment analytics key, if configured.\").nullable().optional(),\n hideReferer: z.number().int().describe(\"Referrer hiding setting (0 or 1).\").nullable().optional(),\n redirect404: z.string().describe(\"Fallback URL for 404 errors.\").nullable().optional(),\n caseSensitive: z.boolean().describe(\"Whether short links are case-sensitive.\").nullable().optional(),\n clientStorage: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n exportEnabled: z.boolean().describe(\"Whether link export is enabled.\").nullable().optional(),\n integrationFB: z.string().describe(\"Facebook Pixel integration ID.\").nullable().optional(),\n integrationGA: z.string().describe(\"Google Analytics integration ID.\").nullable().optional(),\n integrationGTM: z.string().describe(\"Google Tag Manager integration ID.\").nullable().optional(),\n unicodeHostname: z.string().describe(\"Unicode representation of the hostname.\").nullable().optional(),\n autodeletePeriod: z.number().int().describe(\"Auto-delete period in days.\").nullable().optional(),\n incrementCounter: z.string().describe(\"Current counter value for incremental links.\").nullable().optional(),\n integrationAdroll: z.string().describe(\"AdRoll integration ID.\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a single domain in the Short.io account.\");\nexport const ShortIoListDomainsOutput = z.object({\n domains: z.array(ShortIoListDomains_DomainInfoSchema).describe(\"List of all domains associated with the account.\"),\n}).passthrough().describe(\"Response containing the list of all domains in the Short.io account.\");\n\nexport const shortIoListDomains = action(\"SHORT_IO_LIST_DOMAINS\", {\n slug: \"short_io-list-domains\",\n name: \"List Domains\",\n description: \"Tool to retrieve all domains associated with the Short.io account. Use when you need to list available domains for creating short links or managing domain settings.\",\n input: ShortIoListDomainsInput,\n output: ShortIoListDomainsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC7H,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,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CAAmC,CAAC,CAAC,SAAS,kDAAkD,EACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAOhB;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ const ShortIoListFolders_FolderModelSchema = zod.z.object({
|
|
|
6
6
|
id: zod.z.string().describe("The unique folder ID").nullable(),
|
|
7
7
|
name: zod.z.string().describe("The folder name").nullable(),
|
|
8
8
|
DomainId: zod.z.number().int().describe("The domain ID the folder belongs to").nullable()
|
|
9
|
-
}).describe("Schema representing a single folder in the listing.");
|
|
10
|
-
const ShortIoListFoldersOutput = zod.z.object({ folders: zod.z.array(ShortIoListFolders_FolderModelSchema).describe("List of folders in the domain") }).describe("Response model containing the list of folders for the specified domain.");
|
|
9
|
+
}).passthrough().describe("Schema representing a single folder in the listing.");
|
|
10
|
+
const ShortIoListFoldersOutput = zod.z.object({ folders: zod.z.array(ShortIoListFolders_FolderModelSchema).describe("List of folders in the domain") }).passthrough().describe("Response model containing the list of folders for the specified domain.");
|
|
11
11
|
const shortIoListFolders = require_action.action("SHORT_IO_LIST_FOLDERS", {
|
|
12
12
|
slug: "short_io-list-folders",
|
|
13
13
|
name: "List Folders",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-folders.cjs","names":["z","action"],"sources":["../../src/actions/list-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoListFoldersInput = z.object({\n domainId: z.number().int().describe(\"REQUIRED. Domain ID to list folders from. Obtain from Domain Settings in Short.io Dashboard.\"),\n}).describe(\"Request parameters for listing folders in a domain.\");\nconst ShortIoListFolders_FolderModelSchema = z.object({\n id: z.string().describe(\"The unique folder ID\").nullable(),\n name: z.string().describe(\"The folder name\").nullable(),\n DomainId: z.number().int().describe(\"The domain ID the folder belongs to\").nullable(),\n}).describe(\"Schema representing a single folder in the listing.\");\nexport const ShortIoListFoldersOutput = z.object({\n folders: z.array(ShortIoListFolders_FolderModelSchema).describe(\"List of folders in the domain\"),\n}).describe(\"Response model containing the list of folders for the specified domain.\");\n\nexport const shortIoListFolders = action(\"SHORT_IO_LIST_FOLDERS\", {\n slug: \"short_io-list-folders\",\n name: \"List Folders\",\n description: \"Tool to list all folders for a specific domain. Use when you need to view all folder names and IDs to organize or filter links by folder.\",\n input: ShortIoListFoldersInput,\n output: ShortIoListFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,EACpI,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,qDAAqD;
|
|
1
|
+
{"version":3,"file":"list-folders.cjs","names":["z","action"],"sources":["../../src/actions/list-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoListFoldersInput = z.object({\n domainId: z.number().int().describe(\"REQUIRED. Domain ID to list folders from. Obtain from Domain Settings in Short.io Dashboard.\"),\n}).describe(\"Request parameters for listing folders in a domain.\");\nconst ShortIoListFolders_FolderModelSchema = z.object({\n id: z.string().describe(\"The unique folder ID\").nullable(),\n name: z.string().describe(\"The folder name\").nullable(),\n DomainId: z.number().int().describe(\"The domain ID the folder belongs to\").nullable(),\n}).passthrough().describe(\"Schema representing a single folder in the listing.\");\nexport const ShortIoListFoldersOutput = z.object({\n folders: z.array(ShortIoListFolders_FolderModelSchema).describe(\"List of folders in the domain\"),\n}).passthrough().describe(\"Response model containing the list of folders for the specified domain.\");\n\nexport const shortIoListFolders = action(\"SHORT_IO_LIST_FOLDERS\", {\n slug: \"short_io-list-folders\",\n name: \"List Folders\",\n description: \"Tool to list all folders for a specific domain. Use when you need to view all folder names and IDs to organize or filter links by folder.\",\n input: ShortIoListFoldersInput,\n output: ShortIoListFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,EACpI,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,SAASA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,+BAA+B,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AAEnG,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,8 +9,8 @@ declare const ShortIoListFoldersOutput: z.ZodObject<{
|
|
|
9
9
|
id: z.ZodNullable<z.ZodString>;
|
|
10
10
|
name: z.ZodNullable<z.ZodString>;
|
|
11
11
|
DomainId: z.ZodNullable<z.ZodNumber>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const shortIoListFolders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
domainId: number;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,8 +9,8 @@ declare const ShortIoListFoldersOutput: z.ZodObject<{
|
|
|
9
9
|
id: z.ZodNullable<z.ZodString>;
|
|
10
10
|
name: z.ZodNullable<z.ZodString>;
|
|
11
11
|
DomainId: z.ZodNullable<z.ZodNumber>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const shortIoListFolders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
domainId: number;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,13 +6,13 @@ const ShortIoListFolders_FolderModelSchema = z.object({
|
|
|
6
6
|
id: z.string().describe("The unique folder ID").nullable(),
|
|
7
7
|
name: z.string().describe("The folder name").nullable(),
|
|
8
8
|
DomainId: z.number().int().describe("The domain ID the folder belongs to").nullable()
|
|
9
|
-
}).describe("Schema representing a single folder in the listing.");
|
|
9
|
+
}).passthrough().describe("Schema representing a single folder in the listing.");
|
|
10
10
|
const shortIoListFolders = action("SHORT_IO_LIST_FOLDERS", {
|
|
11
11
|
slug: "short_io-list-folders",
|
|
12
12
|
name: "List Folders",
|
|
13
13
|
description: "Tool to list all folders for a specific domain. Use when you need to view all folder names and IDs to organize or filter links by folder.",
|
|
14
14
|
input: ShortIoListFoldersInput,
|
|
15
|
-
output: z.object({ folders: z.array(ShortIoListFolders_FolderModelSchema).describe("List of folders in the domain") }).describe("Response model containing the list of folders for the specified domain.")
|
|
15
|
+
output: z.object({ folders: z.array(ShortIoListFolders_FolderModelSchema).describe("List of folders in the domain") }).passthrough().describe("Response model containing the list of folders for the specified domain.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { shortIoListFolders };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-folders.mjs","names":[],"sources":["../../src/actions/list-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoListFoldersInput = z.object({\n domainId: z.number().int().describe(\"REQUIRED. Domain ID to list folders from. Obtain from Domain Settings in Short.io Dashboard.\"),\n}).describe(\"Request parameters for listing folders in a domain.\");\nconst ShortIoListFolders_FolderModelSchema = z.object({\n id: z.string().describe(\"The unique folder ID\").nullable(),\n name: z.string().describe(\"The folder name\").nullable(),\n DomainId: z.number().int().describe(\"The domain ID the folder belongs to\").nullable(),\n}).describe(\"Schema representing a single folder in the listing.\");\nexport const ShortIoListFoldersOutput = z.object({\n folders: z.array(ShortIoListFolders_FolderModelSchema).describe(\"List of folders in the domain\"),\n}).describe(\"Response model containing the list of folders for the specified domain.\");\n\nexport const shortIoListFolders = action(\"SHORT_IO_LIST_FOLDERS\", {\n slug: \"short_io-list-folders\",\n name: \"List Folders\",\n description: \"Tool to list all folders for a specific domain. Use when you need to view all folder names and IDs to organize or filter links by folder.\",\n input: ShortIoListFoldersInput,\n output: ShortIoListFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,EACpI,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,qDAAqD;
|
|
1
|
+
{"version":3,"file":"list-folders.mjs","names":[],"sources":["../../src/actions/list-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoListFoldersInput = z.object({\n domainId: z.number().int().describe(\"REQUIRED. Domain ID to list folders from. Obtain from Domain Settings in Short.io Dashboard.\"),\n}).describe(\"Request parameters for listing folders in a domain.\");\nconst ShortIoListFolders_FolderModelSchema = z.object({\n id: z.string().describe(\"The unique folder ID\").nullable(),\n name: z.string().describe(\"The folder name\").nullable(),\n DomainId: z.number().int().describe(\"The domain ID the folder belongs to\").nullable(),\n}).passthrough().describe(\"Schema representing a single folder in the listing.\");\nexport const ShortIoListFoldersOutput = z.object({\n folders: z.array(ShortIoListFolders_FolderModelSchema).describe(\"List of folders in the domain\"),\n}).passthrough().describe(\"Response model containing the list of folders for the specified domain.\");\n\nexport const shortIoListFolders = action(\"SHORT_IO_LIST_FOLDERS\", {\n slug: \"short_io-list-folders\",\n name: \"List Folders\",\n description: \"Tool to list all folders for a specific domain. Use when you need to view all folder names and IDs to organize or filter links by folder.\",\n input: ShortIoListFoldersInput,\n output: ShortIoListFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,EACpI,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAK/E,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,SAAS,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,+BAA+B,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAOhB;AACV,CAAC"}
|
|
@@ -8,9 +8,9 @@ const ShortIoPostDomainLinkClicksInput = zod.z.object({
|
|
|
8
8
|
pathsDates: zod.z.array(zod.z.object({
|
|
9
9
|
path: zod.z.string().describe("Short URL path to get click statistics for."),
|
|
10
10
|
createdAt: zod.z.string().describe("ISO 8601 timestamp when the link was created.")
|
|
11
|
-
}).describe("A link path with its creation timestamp.")).describe("List of link paths with their creation dates to get click counts for.")
|
|
11
|
+
}).passthrough().describe("A link path with its creation timestamp.")).describe("List of link paths with their creation dates to get click counts for.")
|
|
12
12
|
}).describe("Request parameters for retrieving click counts for multiple links within a domain using POST method.");
|
|
13
|
-
const ShortIoPostDomainLinkClicksOutput = zod.z.object({ clicks: zod.z.
|
|
13
|
+
const ShortIoPostDomainLinkClicksOutput = zod.z.object({ clicks: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Dictionary with link paths as keys and their respective click counts as values.") }).passthrough().describe("Response mapping link paths to their click counts.");
|
|
14
14
|
const shortIoPostDomainLinkClicks = require_action.action("SHORT_IO_POST_DOMAIN_LINK_CLICKS", {
|
|
15
15
|
slug: "short_io-post-domain-link-clicks",
|
|
16
16
|
name: "Post Domain Link Clicks",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-domain-link-clicks.cjs","names":["z","action"],"sources":["../../src/actions/post-domain-link-clicks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoPostDomainLinkClicksInput = z.object({\n endDate: z.string().describe(\"Returns statistics for clicks before given date (format: YYYY-MM-DD).\").optional(),\n domainId: z.number().int().describe(\"Numeric identifier of the domain to retrieve link click statistics for.\"),\n startDate: z.string().describe(\"Returns statistics for clicks after given date (format: YYYY-MM-DD).\").optional(),\n pathsDates: z.array(z.object({\n path: z.string().describe(\"Short URL path to get click statistics for.\"),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the link was created.\"),\n}).describe(\"A link path with its creation timestamp.\")).describe(\"List of link paths with their creation dates to get click counts for.\"),\n}).describe(\"Request parameters for retrieving click counts for multiple links within a domain using POST method.\");\nexport const ShortIoPostDomainLinkClicksOutput = z.object({\n clicks: z.
|
|
1
|
+
{"version":3,"file":"post-domain-link-clicks.cjs","names":["z","action"],"sources":["../../src/actions/post-domain-link-clicks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortIoPostDomainLinkClicksInput = z.object({\n endDate: z.string().describe(\"Returns statistics for clicks before given date (format: YYYY-MM-DD).\").optional(),\n domainId: z.number().int().describe(\"Numeric identifier of the domain to retrieve link click statistics for.\"),\n startDate: z.string().describe(\"Returns statistics for clicks after given date (format: YYYY-MM-DD).\").optional(),\n pathsDates: z.array(z.object({\n path: z.string().describe(\"Short URL path to get click statistics for.\"),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the link was created.\"),\n}).passthrough().describe(\"A link path with its creation timestamp.\")).describe(\"List of link paths with their creation dates to get click counts for.\"),\n}).describe(\"Request parameters for retrieving click counts for multiple links within a domain using POST method.\");\nexport const ShortIoPostDomainLinkClicksOutput = z.object({\n clicks: z.record(z.string(), z.unknown()).describe(\"Dictionary with link paths as keys and their respective click counts as values.\"),\n}).passthrough().describe(\"Response mapping link paths to their click counts.\");\n\nexport const shortIoPostDomainLinkClicks = action(\"SHORT_IO_POST_DOMAIN_LINK_CLICKS\", {\n slug: \"short_io-post-domain-link-clicks\",\n name: \"Post Domain Link Clicks\",\n description: \"Tool to get click statistics for specific links in a domain using POST method. Use when you need click counts for multiple link paths with their creation dates. This POST version allows batch retrieval of link click statistics by providing an array of paths and their creation timestamps.\",\n input: ShortIoPostDomainLinkClicksInput,\n output: ShortIoPostDomainLinkClicksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACvJ,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAClH,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,EACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|