@keystrokehq/shortpixel 0.1.3 → 0.1.5
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/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-cdn-domain.cjs +1 -0
- package/dist/actions/add-cdn-domain.cjs.map +1 -1
- package/dist/actions/add-cdn-domain.d.cts +3 -3
- package/dist/actions/add-cdn-domain.d.cts.map +1 -1
- package/dist/actions/add-cdn-domain.d.mts +3 -3
- package/dist/actions/add-cdn-domain.d.mts.map +1 -1
- package/dist/actions/add-cdn-domain.mjs +1 -0
- package/dist/actions/add-cdn-domain.mjs.map +1 -1
- package/dist/actions/bulk-purge-storage.cjs +1 -0
- package/dist/actions/bulk-purge-storage.cjs.map +1 -1
- package/dist/actions/bulk-purge-storage.d.cts +3 -3
- package/dist/actions/bulk-purge-storage.d.cts.map +1 -1
- package/dist/actions/bulk-purge-storage.d.mts +3 -3
- package/dist/actions/bulk-purge-storage.d.mts.map +1 -1
- package/dist/actions/bulk-purge-storage.mjs +1 -0
- package/dist/actions/bulk-purge-storage.mjs.map +1 -1
- package/dist/actions/check-image-status.cjs +1 -0
- package/dist/actions/check-image-status.cjs.map +1 -1
- package/dist/actions/check-image-status.d.cts +3 -3
- package/dist/actions/check-image-status.d.cts.map +1 -1
- package/dist/actions/check-image-status.d.mts +3 -3
- package/dist/actions/check-image-status.d.mts.map +1 -1
- package/dist/actions/check-image-status.mjs +1 -0
- package/dist/actions/check-image-status.mjs.map +1 -1
- package/dist/actions/clean-up-image.cjs +1 -0
- package/dist/actions/clean-up-image.cjs.map +1 -1
- package/dist/actions/clean-up-image.d.cts +3 -3
- package/dist/actions/clean-up-image.d.cts.map +1 -1
- package/dist/actions/clean-up-image.d.mts +3 -3
- package/dist/actions/clean-up-image.d.mts.map +1 -1
- package/dist/actions/clean-up-image.mjs +1 -0
- package/dist/actions/clean-up-image.mjs.map +1 -1
- package/dist/actions/get-adaptive-image-cdn.cjs +1 -0
- package/dist/actions/get-adaptive-image-cdn.cjs.map +1 -1
- package/dist/actions/get-adaptive-image-cdn.d.cts +3 -10
- package/dist/actions/get-adaptive-image-cdn.d.cts.map +1 -1
- package/dist/actions/get-adaptive-image-cdn.d.mts +3 -10
- package/dist/actions/get-adaptive-image-cdn.d.mts.map +1 -1
- package/dist/actions/get-adaptive-image-cdn.mjs +1 -0
- package/dist/actions/get-adaptive-image-cdn.mjs.map +1 -1
- package/dist/actions/get-api-status.cjs +1 -0
- package/dist/actions/get-api-status.cjs.map +1 -1
- package/dist/actions/get-api-status.d.cts +3 -1
- package/dist/actions/get-api-status.d.cts.map +1 -1
- package/dist/actions/get-api-status.d.mts +3 -1
- package/dist/actions/get-api-status.d.mts.map +1 -1
- package/dist/actions/get-api-status.mjs +1 -0
- package/dist/actions/get-api-status.mjs.map +1 -1
- package/dist/actions/get-cdn-usage.cjs +1 -0
- package/dist/actions/get-cdn-usage.cjs.map +1 -1
- package/dist/actions/get-cdn-usage.d.cts +3 -3
- package/dist/actions/get-cdn-usage.d.cts.map +1 -1
- package/dist/actions/get-cdn-usage.d.mts +3 -3
- package/dist/actions/get-cdn-usage.d.mts.map +1 -1
- package/dist/actions/get-cdn-usage.mjs +1 -0
- package/dist/actions/get-cdn-usage.mjs.map +1 -1
- package/dist/actions/optimize-images-by-url.cjs +1 -0
- package/dist/actions/optimize-images-by-url.cjs.map +1 -1
- package/dist/actions/optimize-images-by-url.d.cts +3 -17
- package/dist/actions/optimize-images-by-url.d.cts.map +1 -1
- package/dist/actions/optimize-images-by-url.d.mts +3 -17
- package/dist/actions/optimize-images-by-url.d.mts.map +1 -1
- package/dist/actions/optimize-images-by-url.mjs +1 -0
- package/dist/actions/optimize-images-by-url.mjs.map +1 -1
- package/dist/actions/read-cdn-domain.cjs +1 -0
- package/dist/actions/read-cdn-domain.cjs.map +1 -1
- package/dist/actions/read-cdn-domain.d.cts +3 -3
- package/dist/actions/read-cdn-domain.d.cts.map +1 -1
- package/dist/actions/read-cdn-domain.d.mts +3 -3
- package/dist/actions/read-cdn-domain.d.mts.map +1 -1
- package/dist/actions/read-cdn-domain.mjs +1 -0
- package/dist/actions/read-cdn-domain.mjs.map +1 -1
- package/dist/actions/revoke-cdn-domain.cjs +1 -0
- package/dist/actions/revoke-cdn-domain.cjs.map +1 -1
- package/dist/actions/revoke-cdn-domain.d.cts +3 -3
- package/dist/actions/revoke-cdn-domain.d.cts.map +1 -1
- package/dist/actions/revoke-cdn-domain.d.mts +3 -3
- package/dist/actions/revoke-cdn-domain.d.mts.map +1 -1
- package/dist/actions/revoke-cdn-domain.mjs +1 -0
- package/dist/actions/revoke-cdn-domain.mjs.map +1 -1
- package/dist/actions/set-cdn-domain.cjs +1 -0
- package/dist/actions/set-cdn-domain.cjs.map +1 -1
- package/dist/actions/set-cdn-domain.d.cts +3 -3
- package/dist/actions/set-cdn-domain.d.cts.map +1 -1
- package/dist/actions/set-cdn-domain.d.mts +3 -3
- package/dist/actions/set-cdn-domain.d.mts.map +1 -1
- package/dist/actions/set-cdn-domain.mjs +1 -0
- package/dist/actions/set-cdn-domain.mjs.map +1 -1
- package/dist/actions/upload-and-optimize-images.cjs +1 -0
- package/dist/actions/upload-and-optimize-images.cjs.map +1 -1
- package/dist/actions/upload-and-optimize-images.d.cts +3 -16
- package/dist/actions/upload-and-optimize-images.d.cts.map +1 -1
- package/dist/actions/upload-and-optimize-images.d.mts +3 -16
- package/dist/actions/upload-and-optimize-images.d.mts.map +1 -1
- package/dist/actions/upload-and-optimize-images.mjs +1 -0
- package/dist/actions/upload-and-optimize-images.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["shortpixel","executeShortpixelTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { shortpixel } from \"./app\";\nimport { executeShortpixelTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["shortpixel","executeShortpixelTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { shortpixel } from \"./app\";\nimport { executeShortpixelTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof shortpixel.credential> {\n return shortpixel.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeShortpixelTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO0D;CAC1D,OAAOA,YAAAA,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { shortpixel } from \"./app\";\nimport { executeShortpixelTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { shortpixel } from \"./app\";\nimport { executeShortpixelTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof shortpixel.credential> {\n return shortpixel.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeShortpixelTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO0D;CAC1D,OAAO,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-cdn-domain.cjs","names":["z","action"],"sources":["../../src/actions/add-cdn-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortpixelAddCdnDomainInput = z.object({\n domain: z.string().describe(\"Domain name to add to the CDN (e.g., example.com or test-domain-example.com)\"),\n}).describe(\"Request model for adding a domain to ShortPixel CDN.\");\nexport const ShortpixelAddCdnDomainOutput = z.object({\n Status: z.number().int().describe(\"Status code returned by the API (2=OK, 3=error)\").nullable(),\n Message: z.string().describe(\"Human-readable message about the operation result\").nullable(),\n}).passthrough().describe(\"Response model for adding a domain to ShortPixel CDN.\");\n\nexport const shortpixelAddCdnDomain = action(\"SHORTPIXEL_ADD_CDN_DOMAIN\", {\n slug: \"shortpixel-add-cdn-domain\",\n name: \"Add CDN Domain\",\n description: \"Tool to add a new domain to the ShortPixel CDN system and associate it with your API key. Use when you need to register a domain for CDN services. If the domain already exists without a user, it will be associated with your API key.\",\n input: ShortpixelAddCdnDomainInput,\n output: ShortpixelAddCdnDomainOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-cdn-domain.cjs","names":["z","action"],"sources":["../../src/actions/add-cdn-domain.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortpixel } from \"../app\";\n\nexport const ShortpixelAddCdnDomainInput = z.object({\n domain: z.string().describe(\"Domain name to add to the CDN (e.g., example.com or test-domain-example.com)\"),\n}).describe(\"Request model for adding a domain to ShortPixel CDN.\");\nexport const ShortpixelAddCdnDomainOutput = z.object({\n Status: z.number().int().describe(\"Status code returned by the API (2=OK, 3=error)\").nullable(),\n Message: z.string().describe(\"Human-readable message about the operation result\").nullable(),\n}).passthrough().describe(\"Response model for adding a domain to ShortPixel CDN.\");\n\nexport const shortpixelAddCdnDomain: AppAction<\n typeof ShortpixelAddCdnDomainInput,\n typeof ShortpixelAddCdnDomainOutput,\n typeof shortpixel.credential\n> = action(\"SHORTPIXEL_ADD_CDN_DOMAIN\", {\n slug: \"shortpixel-add-cdn-domain\",\n name: \"Add CDN Domain\",\n description: \"Tool to add a new domain to the ShortPixel CDN system and associate it with your API key. Use when you need to register a domain for CDN services. If the domain already exists without a user, it will be associated with your API key.\",\n input: ShortpixelAddCdnDomainInput,\n output: ShortpixelAddCdnDomainOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,EAC5G,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortpixel } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-cdn-domain.d.ts
|
|
@@ -8,9 +10,7 @@ declare const ShortpixelAddCdnDomainOutput: z.ZodObject<{
|
|
|
8
10
|
Status: z.ZodNullable<z.ZodNumber>;
|
|
9
11
|
Message: z.ZodNullable<z.ZodString>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const shortpixelAddCdnDomain:
|
|
12
|
-
domain: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const shortpixelAddCdnDomain: AppAction<typeof ShortpixelAddCdnDomainInput, typeof ShortpixelAddCdnDomainOutput, typeof shortpixel.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { shortpixelAddCdnDomain };
|
|
16
16
|
//# sourceMappingURL=add-cdn-domain.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-cdn-domain.d.cts","names":[],"sources":["../../src/actions/add-cdn-domain.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-cdn-domain.d.cts","names":[],"sources":["../../src/actions/add-cdn-domain.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortpixel } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-cdn-domain.d.ts
|
|
@@ -8,9 +10,7 @@ declare const ShortpixelAddCdnDomainOutput: z.ZodObject<{
|
|
|
8
10
|
Status: z.ZodNullable<z.ZodNumber>;
|
|
9
11
|
Message: z.ZodNullable<z.ZodString>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const shortpixelAddCdnDomain:
|
|
12
|
-
domain: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const shortpixelAddCdnDomain: AppAction<typeof ShortpixelAddCdnDomainInput, typeof ShortpixelAddCdnDomainOutput, typeof shortpixel.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { shortpixelAddCdnDomain };
|
|
16
16
|
//# sourceMappingURL=add-cdn-domain.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-cdn-domain.d.mts","names":[],"sources":["../../src/actions/add-cdn-domain.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-cdn-domain.d.mts","names":[],"sources":["../../src/actions/add-cdn-domain.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-cdn-domain.mjs","names":[],"sources":["../../src/actions/add-cdn-domain.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortpixelAddCdnDomainInput = z.object({\n domain: z.string().describe(\"Domain name to add to the CDN (e.g., example.com or test-domain-example.com)\"),\n}).describe(\"Request model for adding a domain to ShortPixel CDN.\");\nexport const ShortpixelAddCdnDomainOutput = z.object({\n Status: z.number().int().describe(\"Status code returned by the API (2=OK, 3=error)\").nullable(),\n Message: z.string().describe(\"Human-readable message about the operation result\").nullable(),\n}).passthrough().describe(\"Response model for adding a domain to ShortPixel CDN.\");\n\nexport const shortpixelAddCdnDomain = action(\"SHORTPIXEL_ADD_CDN_DOMAIN\", {\n slug: \"shortpixel-add-cdn-domain\",\n name: \"Add CDN Domain\",\n description: \"Tool to add a new domain to the ShortPixel CDN system and associate it with your API key. Use when you need to register a domain for CDN services. If the domain already exists without a user, it will be associated with your API key.\",\n input: ShortpixelAddCdnDomainInput,\n output: ShortpixelAddCdnDomainOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-cdn-domain.mjs","names":[],"sources":["../../src/actions/add-cdn-domain.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortpixel } from \"../app\";\n\nexport const ShortpixelAddCdnDomainInput = z.object({\n domain: z.string().describe(\"Domain name to add to the CDN (e.g., example.com or test-domain-example.com)\"),\n}).describe(\"Request model for adding a domain to ShortPixel CDN.\");\nexport const ShortpixelAddCdnDomainOutput = z.object({\n Status: z.number().int().describe(\"Status code returned by the API (2=OK, 3=error)\").nullable(),\n Message: z.string().describe(\"Human-readable message about the operation result\").nullable(),\n}).passthrough().describe(\"Response model for adding a domain to ShortPixel CDN.\");\n\nexport const shortpixelAddCdnDomain: AppAction<\n typeof ShortpixelAddCdnDomainInput,\n typeof ShortpixelAddCdnDomainOutput,\n typeof shortpixel.credential\n> = action(\"SHORTPIXEL_ADD_CDN_DOMAIN\", {\n slug: \"shortpixel-add-cdn-domain\",\n name: \"Add CDN Domain\",\n description: \"Tool to add a new domain to the ShortPixel CDN system and associate it with your API key. Use when you need to register a domain for CDN services. If the domain already exists without a user, it will be associated with your API key.\",\n input: ShortpixelAddCdnDomainInput,\n output: ShortpixelAddCdnDomainOutput,\n});\n"],"mappings":";;;AAcA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO,EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,EAC5G,CAAC,CAAC,CAAC,SAAS,sDAcH;CACP,QAd0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-purge-storage.cjs","names":["z","action"],"sources":["../../src/actions/bulk-purge-storage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortpixelBulkPurgeStorageInput = z.object({\n domain: z.string().describe(\"The domain whose files will be purged from ShortPixel storage\"),\n}).describe(\"Request model for bulk purging storage of a domain on ShortPixel.\");\nexport const ShortpixelBulkPurgeStorageOutput = z.object({\n Status: z.number().int().describe(\"Status code returned by the API (1=success, other values indicate issues)\").nullable(),\n Message: z.string().describe(\"Details on the result of the purge operation\").nullable(),\n}).passthrough().describe(\"Response model for bulk purge storage action.\");\n\nexport const shortpixelBulkPurgeStorage = action(\"SHORTPIXEL_BULK_PURGE_STORAGE\", {\n slug: \"shortpixel-bulk-purge-storage\",\n name: \"Bulk Purge ShortPixel Storage\",\n description: \"Tool to purge all files stored on ShortPixel storage servers for a domain. Use when you need to remove all stored files for a site in bulk.\",\n input: ShortpixelBulkPurgeStorageInput,\n output: ShortpixelBulkPurgeStorageOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"bulk-purge-storage.cjs","names":["z","action"],"sources":["../../src/actions/bulk-purge-storage.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortpixel } from \"../app\";\n\nexport const ShortpixelBulkPurgeStorageInput = z.object({\n domain: z.string().describe(\"The domain whose files will be purged from ShortPixel storage\"),\n}).describe(\"Request model for bulk purging storage of a domain on ShortPixel.\");\nexport const ShortpixelBulkPurgeStorageOutput = z.object({\n Status: z.number().int().describe(\"Status code returned by the API (1=success, other values indicate issues)\").nullable(),\n Message: z.string().describe(\"Details on the result of the purge operation\").nullable(),\n}).passthrough().describe(\"Response model for bulk purge storage action.\");\n\nexport const shortpixelBulkPurgeStorage: AppAction<\n typeof ShortpixelBulkPurgeStorageInput,\n typeof ShortpixelBulkPurgeStorageOutput,\n typeof shortpixel.credential\n> = action(\"SHORTPIXEL_BULK_PURGE_STORAGE\", {\n slug: \"shortpixel-bulk-purge-storage\",\n name: \"Bulk Purge ShortPixel Storage\",\n description: \"Tool to purge all files stored on ShortPixel storage servers for a domain. Use when you need to remove all stored files for a site in bulk.\",\n input: ShortpixelBulkPurgeStorageInput,\n output: ShortpixelBulkPurgeStorageOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EAC7F,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACxH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortpixel } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/bulk-purge-storage.d.ts
|
|
@@ -8,9 +10,7 @@ declare const ShortpixelBulkPurgeStorageOutput: z.ZodObject<{
|
|
|
8
10
|
Status: z.ZodNullable<z.ZodNumber>;
|
|
9
11
|
Message: z.ZodNullable<z.ZodString>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const shortpixelBulkPurgeStorage:
|
|
12
|
-
domain: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const shortpixelBulkPurgeStorage: AppAction<typeof ShortpixelBulkPurgeStorageInput, typeof ShortpixelBulkPurgeStorageOutput, typeof shortpixel.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { shortpixelBulkPurgeStorage };
|
|
16
16
|
//# sourceMappingURL=bulk-purge-storage.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-purge-storage.d.cts","names":[],"sources":["../../src/actions/bulk-purge-storage.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"bulk-purge-storage.d.cts","names":[],"sources":["../../src/actions/bulk-purge-storage.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortpixel } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/bulk-purge-storage.d.ts
|
|
@@ -8,9 +10,7 @@ declare const ShortpixelBulkPurgeStorageOutput: z.ZodObject<{
|
|
|
8
10
|
Status: z.ZodNullable<z.ZodNumber>;
|
|
9
11
|
Message: z.ZodNullable<z.ZodString>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const shortpixelBulkPurgeStorage:
|
|
12
|
-
domain: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const shortpixelBulkPurgeStorage: AppAction<typeof ShortpixelBulkPurgeStorageInput, typeof ShortpixelBulkPurgeStorageOutput, typeof shortpixel.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { shortpixelBulkPurgeStorage };
|
|
16
16
|
//# sourceMappingURL=bulk-purge-storage.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-purge-storage.d.mts","names":[],"sources":["../../src/actions/bulk-purge-storage.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"bulk-purge-storage.d.mts","names":[],"sources":["../../src/actions/bulk-purge-storage.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-purge-storage.mjs","names":[],"sources":["../../src/actions/bulk-purge-storage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortpixelBulkPurgeStorageInput = z.object({\n domain: z.string().describe(\"The domain whose files will be purged from ShortPixel storage\"),\n}).describe(\"Request model for bulk purging storage of a domain on ShortPixel.\");\nexport const ShortpixelBulkPurgeStorageOutput = z.object({\n Status: z.number().int().describe(\"Status code returned by the API (1=success, other values indicate issues)\").nullable(),\n Message: z.string().describe(\"Details on the result of the purge operation\").nullable(),\n}).passthrough().describe(\"Response model for bulk purge storage action.\");\n\nexport const shortpixelBulkPurgeStorage = action(\"SHORTPIXEL_BULK_PURGE_STORAGE\", {\n slug: \"shortpixel-bulk-purge-storage\",\n name: \"Bulk Purge ShortPixel Storage\",\n description: \"Tool to purge all files stored on ShortPixel storage servers for a domain. Use when you need to remove all stored files for a site in bulk.\",\n input: ShortpixelBulkPurgeStorageInput,\n output: ShortpixelBulkPurgeStorageOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"bulk-purge-storage.mjs","names":[],"sources":["../../src/actions/bulk-purge-storage.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortpixel } from \"../app\";\n\nexport const ShortpixelBulkPurgeStorageInput = z.object({\n domain: z.string().describe(\"The domain whose files will be purged from ShortPixel storage\"),\n}).describe(\"Request model for bulk purging storage of a domain on ShortPixel.\");\nexport const ShortpixelBulkPurgeStorageOutput = z.object({\n Status: z.number().int().describe(\"Status code returned by the API (1=success, other values indicate issues)\").nullable(),\n Message: z.string().describe(\"Details on the result of the purge operation\").nullable(),\n}).passthrough().describe(\"Response model for bulk purge storage action.\");\n\nexport const shortpixelBulkPurgeStorage: AppAction<\n typeof ShortpixelBulkPurgeStorageInput,\n typeof ShortpixelBulkPurgeStorageOutput,\n typeof shortpixel.credential\n> = action(\"SHORTPIXEL_BULK_PURGE_STORAGE\", {\n slug: \"shortpixel-bulk-purge-storage\",\n name: \"Bulk Purge ShortPixel Storage\",\n description: \"Tool to purge all files stored on ShortPixel storage servers for a domain. Use when you need to remove all stored files for a site in bulk.\",\n input: ShortpixelBulkPurgeStorageInput,\n output: ShortpixelBulkPurgeStorageOutput,\n});\n"],"mappings":";;;AAcA,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB6C,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EAC7F,CAAC,CAAC,CAAC,SAAS,mEAcH;CACP,QAd8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACxH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-image-status.cjs","names":["z","action"],"sources":["../../src/actions/check-image-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortpixelCheckImageStatusInput = z.object({\n url: z.string().describe(\"URL of the image to check status for\"),\n}).describe(\"Request model for checking the optimization status of an image being processed by ShortPixel.\");\nconst ShortpixelCheckImageStatus_StatusInfoSchema = z.object({\n Code: z.union([z.number().int(), z.string()]),\n Message: z.string().describe(\"Human-readable message about the image status\").nullable(),\n}).passthrough().describe(\"Status information returned by the API.\");\nexport const ShortpixelCheckImageStatusOutput = z.object({\n Status: ShortpixelCheckImageStatus_StatusInfoSchema.nullable(),\n LossyURL: z.string().describe(\"URL of the lossy optimized image\").nullable().optional(),\n BackupURL: z.string().describe(\"URL of the backup copy of the original image\").nullable().optional(),\n LossySize: z.number().int().describe(\"Size of the lossy optimized image in bytes\").nullable().optional(),\n LosslessURL: z.string().describe(\"URL of the lossless optimized image\").nullable().optional(),\n OriginalURL: z.string().describe(\"URL of the original image\").nullable().optional(),\n AVIFLossyURL: z.string().describe(\"URL of the AVIF lossy format image\").nullable().optional(),\n LosslessSize: z.number().int().describe(\"Size of the lossless optimized image in bytes\").nullable().optional(),\n OriginalSize: z.number().int().describe(\"Size of the original image in bytes\").nullable().optional(),\n WebPLossyURL: z.string().describe(\"URL of the WebP lossy format image\").nullable().optional(),\n AVIFLossySize: z.number().int().describe(\"Size of the AVIF lossy format image in bytes\").nullable().optional(),\n WebPLossySize: z.number().int().describe(\"Size of the WebP lossy format image in bytes\").nullable().optional(),\n AVIFLosslessURL: z.string().describe(\"URL of the AVIF lossless format image\").nullable().optional(),\n WebPLosslessURL: z.string().describe(\"URL of the WebP lossless format image\").nullable().optional(),\n AVIFLosslessSize: z.number().int().describe(\"Size of the AVIF lossless format image in bytes\").nullable().optional(),\n WebPLosslessSize: z.number().int().describe(\"Size of the WebP lossless format image in bytes\").nullable().optional(),\n PercentImprovement: z.union([z.number().int(), z.number(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Response model for ShortPixel image status check, including optimization results and URLs.\");\n\nexport const shortpixelCheckImageStatus = action(\"SHORTPIXEL_CHECK_IMAGE_STATUS\", {\n slug: \"shortpixel-check-image-status\",\n name: \"Check Image Status\",\n description: \"Tool to check the optimization status of an image being processed by ShortPixel. Returns current status of queued images including URLs and size information.\",\n input: ShortpixelCheckImageStatusInput,\n output: ShortpixelCheckImageStatusOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-image-status.cjs","names":["z","action"],"sources":["../../src/actions/check-image-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortpixel } from \"../app\";\n\nexport const ShortpixelCheckImageStatusInput = z.object({\n url: z.string().describe(\"URL of the image to check status for\"),\n}).describe(\"Request model for checking the optimization status of an image being processed by ShortPixel.\");\nconst ShortpixelCheckImageStatus_StatusInfoSchema = z.object({\n Code: z.union([z.number().int(), z.string()]),\n Message: z.string().describe(\"Human-readable message about the image status\").nullable(),\n}).passthrough().describe(\"Status information returned by the API.\");\nexport const ShortpixelCheckImageStatusOutput = z.object({\n Status: ShortpixelCheckImageStatus_StatusInfoSchema.nullable(),\n LossyURL: z.string().describe(\"URL of the lossy optimized image\").nullable().optional(),\n BackupURL: z.string().describe(\"URL of the backup copy of the original image\").nullable().optional(),\n LossySize: z.number().int().describe(\"Size of the lossy optimized image in bytes\").nullable().optional(),\n LosslessURL: z.string().describe(\"URL of the lossless optimized image\").nullable().optional(),\n OriginalURL: z.string().describe(\"URL of the original image\").nullable().optional(),\n AVIFLossyURL: z.string().describe(\"URL of the AVIF lossy format image\").nullable().optional(),\n LosslessSize: z.number().int().describe(\"Size of the lossless optimized image in bytes\").nullable().optional(),\n OriginalSize: z.number().int().describe(\"Size of the original image in bytes\").nullable().optional(),\n WebPLossyURL: z.string().describe(\"URL of the WebP lossy format image\").nullable().optional(),\n AVIFLossySize: z.number().int().describe(\"Size of the AVIF lossy format image in bytes\").nullable().optional(),\n WebPLossySize: z.number().int().describe(\"Size of the WebP lossy format image in bytes\").nullable().optional(),\n AVIFLosslessURL: z.string().describe(\"URL of the AVIF lossless format image\").nullable().optional(),\n WebPLosslessURL: z.string().describe(\"URL of the WebP lossless format image\").nullable().optional(),\n AVIFLosslessSize: z.number().int().describe(\"Size of the AVIF lossless format image in bytes\").nullable().optional(),\n WebPLosslessSize: z.number().int().describe(\"Size of the WebP lossless format image in bytes\").nullable().optional(),\n PercentImprovement: z.union([z.number().int(), z.number(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Response model for ShortPixel image status check, including optimization results and URLs.\");\n\nexport const shortpixelCheckImageStatus: AppAction<\n typeof ShortpixelCheckImageStatusInput,\n typeof ShortpixelCheckImageStatusOutput,\n typeof shortpixel.credential\n> = action(\"SHORTPIXEL_CHECK_IMAGE_STATUS\", {\n slug: \"shortpixel-check-image-status\",\n name: \"Check Image Status\",\n description: \"Tool to check the optimization status of an image being processed by ShortPixel. Returns current status of queued images including URLs and size information.\",\n input: ShortpixelCheckImageStatusInput,\n output: ShortpixelCheckImageStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACjE,CAAC,CAAC,CAAC,SAAS,+FAA+F;AAC3G,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC5C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQ,4CAA4C,SAAS;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,oBAAoBA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4FAA4F;AAEtH,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortpixel } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/check-image-status.d.ts
|
|
@@ -26,9 +28,7 @@ declare const ShortpixelCheckImageStatusOutput: z.ZodObject<{
|
|
|
26
28
|
WebPLosslessSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
29
|
PercentImprovement: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNumber, z.ZodString]>>>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const shortpixelCheckImageStatus:
|
|
30
|
-
url: string;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
31
|
+
declare const shortpixelCheckImageStatus: AppAction<typeof ShortpixelCheckImageStatusInput, typeof ShortpixelCheckImageStatusOutput, typeof shortpixel.credential>;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { shortpixelCheckImageStatus };
|
|
34
34
|
//# sourceMappingURL=check-image-status.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-image-status.d.cts","names":[],"sources":["../../src/actions/check-image-status.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-image-status.d.cts","names":[],"sources":["../../src/actions/check-image-status.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAO/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAoBhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortpixel } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/check-image-status.d.ts
|
|
@@ -26,9 +28,7 @@ declare const ShortpixelCheckImageStatusOutput: z.ZodObject<{
|
|
|
26
28
|
WebPLosslessSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
29
|
PercentImprovement: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNumber, z.ZodString]>>>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const shortpixelCheckImageStatus:
|
|
30
|
-
url: string;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
31
|
+
declare const shortpixelCheckImageStatus: AppAction<typeof ShortpixelCheckImageStatusInput, typeof ShortpixelCheckImageStatusOutput, typeof shortpixel.credential>;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { shortpixelCheckImageStatus };
|
|
34
34
|
//# sourceMappingURL=check-image-status.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-image-status.d.mts","names":[],"sources":["../../src/actions/check-image-status.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-image-status.d.mts","names":[],"sources":["../../src/actions/check-image-status.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAO/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAoBhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-image-status.mjs","names":[],"sources":["../../src/actions/check-image-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortpixelCheckImageStatusInput = z.object({\n url: z.string().describe(\"URL of the image to check status for\"),\n}).describe(\"Request model for checking the optimization status of an image being processed by ShortPixel.\");\nconst ShortpixelCheckImageStatus_StatusInfoSchema = z.object({\n Code: z.union([z.number().int(), z.string()]),\n Message: z.string().describe(\"Human-readable message about the image status\").nullable(),\n}).passthrough().describe(\"Status information returned by the API.\");\nexport const ShortpixelCheckImageStatusOutput = z.object({\n Status: ShortpixelCheckImageStatus_StatusInfoSchema.nullable(),\n LossyURL: z.string().describe(\"URL of the lossy optimized image\").nullable().optional(),\n BackupURL: z.string().describe(\"URL of the backup copy of the original image\").nullable().optional(),\n LossySize: z.number().int().describe(\"Size of the lossy optimized image in bytes\").nullable().optional(),\n LosslessURL: z.string().describe(\"URL of the lossless optimized image\").nullable().optional(),\n OriginalURL: z.string().describe(\"URL of the original image\").nullable().optional(),\n AVIFLossyURL: z.string().describe(\"URL of the AVIF lossy format image\").nullable().optional(),\n LosslessSize: z.number().int().describe(\"Size of the lossless optimized image in bytes\").nullable().optional(),\n OriginalSize: z.number().int().describe(\"Size of the original image in bytes\").nullable().optional(),\n WebPLossyURL: z.string().describe(\"URL of the WebP lossy format image\").nullable().optional(),\n AVIFLossySize: z.number().int().describe(\"Size of the AVIF lossy format image in bytes\").nullable().optional(),\n WebPLossySize: z.number().int().describe(\"Size of the WebP lossy format image in bytes\").nullable().optional(),\n AVIFLosslessURL: z.string().describe(\"URL of the AVIF lossless format image\").nullable().optional(),\n WebPLosslessURL: z.string().describe(\"URL of the WebP lossless format image\").nullable().optional(),\n AVIFLosslessSize: z.number().int().describe(\"Size of the AVIF lossless format image in bytes\").nullable().optional(),\n WebPLosslessSize: z.number().int().describe(\"Size of the WebP lossless format image in bytes\").nullable().optional(),\n PercentImprovement: z.union([z.number().int(), z.number(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Response model for ShortPixel image status check, including optimization results and URLs.\");\n\nexport const shortpixelCheckImageStatus = action(\"SHORTPIXEL_CHECK_IMAGE_STATUS\", {\n slug: \"shortpixel-check-image-status\",\n name: \"Check Image Status\",\n description: \"Tool to check the optimization status of an image being processed by ShortPixel. Returns current status of queued images including URLs and size information.\",\n input: ShortpixelCheckImageStatusInput,\n output: ShortpixelCheckImageStatusOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-image-status.mjs","names":[],"sources":["../../src/actions/check-image-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortpixel } from \"../app\";\n\nexport const ShortpixelCheckImageStatusInput = z.object({\n url: z.string().describe(\"URL of the image to check status for\"),\n}).describe(\"Request model for checking the optimization status of an image being processed by ShortPixel.\");\nconst ShortpixelCheckImageStatus_StatusInfoSchema = z.object({\n Code: z.union([z.number().int(), z.string()]),\n Message: z.string().describe(\"Human-readable message about the image status\").nullable(),\n}).passthrough().describe(\"Status information returned by the API.\");\nexport const ShortpixelCheckImageStatusOutput = z.object({\n Status: ShortpixelCheckImageStatus_StatusInfoSchema.nullable(),\n LossyURL: z.string().describe(\"URL of the lossy optimized image\").nullable().optional(),\n BackupURL: z.string().describe(\"URL of the backup copy of the original image\").nullable().optional(),\n LossySize: z.number().int().describe(\"Size of the lossy optimized image in bytes\").nullable().optional(),\n LosslessURL: z.string().describe(\"URL of the lossless optimized image\").nullable().optional(),\n OriginalURL: z.string().describe(\"URL of the original image\").nullable().optional(),\n AVIFLossyURL: z.string().describe(\"URL of the AVIF lossy format image\").nullable().optional(),\n LosslessSize: z.number().int().describe(\"Size of the lossless optimized image in bytes\").nullable().optional(),\n OriginalSize: z.number().int().describe(\"Size of the original image in bytes\").nullable().optional(),\n WebPLossyURL: z.string().describe(\"URL of the WebP lossy format image\").nullable().optional(),\n AVIFLossySize: z.number().int().describe(\"Size of the AVIF lossy format image in bytes\").nullable().optional(),\n WebPLossySize: z.number().int().describe(\"Size of the WebP lossy format image in bytes\").nullable().optional(),\n AVIFLosslessURL: z.string().describe(\"URL of the AVIF lossless format image\").nullable().optional(),\n WebPLosslessURL: z.string().describe(\"URL of the WebP lossless format image\").nullable().optional(),\n AVIFLosslessSize: z.number().int().describe(\"Size of the AVIF lossless format image in bytes\").nullable().optional(),\n WebPLosslessSize: z.number().int().describe(\"Size of the WebP lossless format image in bytes\").nullable().optional(),\n PercentImprovement: z.union([z.number().int(), z.number(), z.string()]).nullable().optional(),\n}).passthrough().describe(\"Response model for ShortPixel image status check, including optimization results and URLs.\");\n\nexport const shortpixelCheckImageStatus: AppAction<\n typeof ShortpixelCheckImageStatusInput,\n typeof ShortpixelCheckImageStatusOutput,\n typeof shortpixel.credential\n> = action(\"SHORTPIXEL_CHECK_IMAGE_STATUS\", {\n slug: \"shortpixel-check-image-status\",\n name: \"Check Image Status\",\n description: \"Tool to check the optimization status of an image being processed by ShortPixel. Returns current status of queued images including URLs and size information.\",\n input: ShortpixelCheckImageStatusInput,\n output: ShortpixelCheckImageStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO,EACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACjE,CAAC,CAAC,CAAC,SAAS,+FAA+F;AAC3G,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;CAC5C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAqBnE,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QA7B8C,EAAE,OAAO;EACvD,QAAQ,4CAA4C,SAAS;EAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,oBAAoB,EAAE,MAAM;GAAC,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,OAAO;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4FAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-up-image.cjs","names":["z","action"],"sources":["../../src/actions/clean-up-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortpixelCleanUpImageInput = z.object({\n urllist: z.array(z.string()).describe(\"List of image URLs to remove from the processing queue\"),\n}).describe(\"Request model for cleaning up images from the ShortPixel processing queue.\");\nconst ShortpixelCleanUpImage_StatusInfoSchema = z.object({\n Code: z.number().int().describe(\"Status code returned by the API (negative values indicate errors)\").nullable(),\n Message: z.string().describe(\"Human-readable message about the operation result\").nullable(),\n}).passthrough().describe(\"Status information returned by the API.\");\nexport const ShortpixelCleanUpImageOutput = z.object({\n Status: ShortpixelCleanUpImage_StatusInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for cleanup image action.\");\n\nexport const shortpixelCleanUpImage = action(\"SHORTPIXEL_CLEAN_UP_IMAGE\", {\n slug: \"shortpixel-clean-up-image\",\n name: \"Clean Up Image\",\n description: \"Tool to remove images from the processing queue. Use when you need to optimize another image with the same URL but different contents within the next hour.\",\n input: ShortpixelCleanUpImageInput,\n output: ShortpixelCleanUpImageOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"clean-up-image.cjs","names":["z","action"],"sources":["../../src/actions/clean-up-image.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortpixel } from \"../app\";\n\nexport const ShortpixelCleanUpImageInput = z.object({\n urllist: z.array(z.string()).describe(\"List of image URLs to remove from the processing queue\"),\n}).describe(\"Request model for cleaning up images from the ShortPixel processing queue.\");\nconst ShortpixelCleanUpImage_StatusInfoSchema = z.object({\n Code: z.number().int().describe(\"Status code returned by the API (negative values indicate errors)\").nullable(),\n Message: z.string().describe(\"Human-readable message about the operation result\").nullable(),\n}).passthrough().describe(\"Status information returned by the API.\");\nexport const ShortpixelCleanUpImageOutput = z.object({\n Status: ShortpixelCleanUpImage_StatusInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for cleanup image action.\");\n\nexport const shortpixelCleanUpImage: AppAction<\n typeof ShortpixelCleanUpImageInput,\n typeof ShortpixelCleanUpImageOutput,\n typeof shortpixel.credential\n> = action(\"SHORTPIXEL_CLEAN_UP_IMAGE\", {\n slug: \"shortpixel-clean-up-image\",\n name: \"Clean Up Image\",\n description: \"Tool to remove images from the processing queue. Use when you need to optimize another image with the same URL but different contents within the next hour.\",\n input: ShortpixelCleanUpImageInput,\n output: ShortpixelCleanUpImageOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAChG,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC9G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,QAAQ,wCAAwC,SAAS,EAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortpixel } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/clean-up-image.d.ts
|
|
@@ -10,9 +12,7 @@ declare const ShortpixelCleanUpImageOutput: z.ZodObject<{
|
|
|
10
12
|
Message: z.ZodNullable<z.ZodString>;
|
|
11
13
|
}, z.core.$loose>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const shortpixelCleanUpImage:
|
|
14
|
-
urllist: string[];
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const shortpixelCleanUpImage: AppAction<typeof ShortpixelCleanUpImageInput, typeof ShortpixelCleanUpImageOutput, typeof shortpixel.credential>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { shortpixelCleanUpImage };
|
|
18
18
|
//# sourceMappingURL=clean-up-image.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-up-image.d.cts","names":[],"sources":["../../src/actions/clean-up-image.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"clean-up-image.d.cts","names":[],"sources":["../../src/actions/clean-up-image.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAO3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortpixel } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/clean-up-image.d.ts
|
|
@@ -10,9 +12,7 @@ declare const ShortpixelCleanUpImageOutput: z.ZodObject<{
|
|
|
10
12
|
Message: z.ZodNullable<z.ZodString>;
|
|
11
13
|
}, z.core.$loose>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const shortpixelCleanUpImage:
|
|
14
|
-
urllist: string[];
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const shortpixelCleanUpImage: AppAction<typeof ShortpixelCleanUpImageInput, typeof ShortpixelCleanUpImageOutput, typeof shortpixel.credential>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { shortpixelCleanUpImage };
|
|
18
18
|
//# sourceMappingURL=clean-up-image.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-up-image.d.mts","names":[],"sources":["../../src/actions/clean-up-image.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"clean-up-image.d.mts","names":[],"sources":["../../src/actions/clean-up-image.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAO3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-up-image.mjs","names":[],"sources":["../../src/actions/clean-up-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortpixelCleanUpImageInput = z.object({\n urllist: z.array(z.string()).describe(\"List of image URLs to remove from the processing queue\"),\n}).describe(\"Request model for cleaning up images from the ShortPixel processing queue.\");\nconst ShortpixelCleanUpImage_StatusInfoSchema = z.object({\n Code: z.number().int().describe(\"Status code returned by the API (negative values indicate errors)\").nullable(),\n Message: z.string().describe(\"Human-readable message about the operation result\").nullable(),\n}).passthrough().describe(\"Status information returned by the API.\");\nexport const ShortpixelCleanUpImageOutput = z.object({\n Status: ShortpixelCleanUpImage_StatusInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for cleanup image action.\");\n\nexport const shortpixelCleanUpImage = action(\"SHORTPIXEL_CLEAN_UP_IMAGE\", {\n slug: \"shortpixel-clean-up-image\",\n name: \"Clean Up Image\",\n description: \"Tool to remove images from the processing queue. Use when you need to optimize another image with the same URL but different contents within the next hour.\",\n input: ShortpixelCleanUpImageInput,\n output: ShortpixelCleanUpImageOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"clean-up-image.mjs","names":[],"sources":["../../src/actions/clean-up-image.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortpixel } from \"../app\";\n\nexport const ShortpixelCleanUpImageInput = z.object({\n urllist: z.array(z.string()).describe(\"List of image URLs to remove from the processing queue\"),\n}).describe(\"Request model for cleaning up images from the ShortPixel processing queue.\");\nconst ShortpixelCleanUpImage_StatusInfoSchema = z.object({\n Code: z.number().int().describe(\"Status code returned by the API (negative values indicate errors)\").nullable(),\n Message: z.string().describe(\"Human-readable message about the operation result\").nullable(),\n}).passthrough().describe(\"Status information returned by the API.\");\nexport const ShortpixelCleanUpImageOutput = z.object({\n Status: ShortpixelCleanUpImage_StatusInfoSchema.nullable(),\n}).passthrough().describe(\"Response model for cleanup image action.\");\n\nexport const shortpixelCleanUpImage: AppAction<\n typeof ShortpixelCleanUpImageInput,\n typeof ShortpixelCleanUpImageOutput,\n typeof shortpixel.credential\n> = action(\"SHORTPIXEL_CLEAN_UP_IMAGE\", {\n slug: \"shortpixel-clean-up-image\",\n name: \"Clean Up Image\",\n description: \"Tool to remove images from the processing queue. Use when you need to optimize another image with the same URL but different contents within the next hour.\",\n input: ShortpixelCleanUpImageInput,\n output: ShortpixelCleanUpImageOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,EAClD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,EAChG,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,0CAA0C,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC9G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAKnE,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,EAAE,OAAO,EACnD,QAAQ,wCAAwC,SAAS,EAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-adaptive-image-cdn.cjs","names":["z","action"],"sources":["../../src/actions/get-adaptive-image-cdn.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortpixelGetAdaptiveImageCdnInput = z.object({\n crop: z.enum([\"smart\", \"center\", \"north\", \"south\", \"east\", \"west\", \"northeast\", \"northwest\", \"southeast\", \"southwest\"]).describe(\"Crop style options.\").optional(),\n width: z.number().int().describe(\"Desired width in pixels for the optimized image\").optional(),\n height: z.number().int().describe(\"Desired height in pixels for the optimized image\").optional(),\n quality: z.enum([\"lqip\", \"lossless\", \"glossy\", \"lossy\"]).describe(\"Image quality/compression level options.\").optional(),\n image_url: z.string().describe(\"Absolute URL of the original image to optimize (e.g., 'https://example.com/image.jpg')\"),\n keep_exif: z.boolean().describe(\"Whether to keep EXIF metadata in the optimized image. False removes metadata for smaller file size.\").optional(),\n to_format: z.enum([\"webp\", \"avif\", \"auto\"]).describe(\"Output format conversion options.\").optional(),\n return_mode: z.enum([\"blank\", \"img\", \"wait\"]).describe(\"Return behavior options.\").optional(),\n}).describe(\"Request model for ShortPixel Adaptive Image CDN optimization.\");\nconst ShortpixelGetAdaptiveImageCdn_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const ShortpixelGetAdaptiveImageCdnOutput = z.object({\n image: ShortpixelGetAdaptiveImageCdn_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model for ShortPixel Adaptive Image CDN optimization.\");\n\nexport const shortpixelGetAdaptiveImageCdn = action(\"SHORTPIXEL_GET_ADAPTIVE_IMAGE_CDN\", {\n slug: \"shortpixel-get-adaptive-image-cdn\",\n name: \"Get Adaptive Image via CDN\",\n description: \"Tool to optimize images on-the-fly via ShortPixel CDN. Transform images by URL with parameters for width, height, cropping, quality, and format conversion. Returns the optimized image directly without CDN caching.\",\n input: ShortpixelGetAdaptiveImageCdnInput,\n output: ShortpixelGetAdaptiveImageCdnOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-adaptive-image-cdn.cjs","names":["z","action"],"sources":["../../src/actions/get-adaptive-image-cdn.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortpixel } from \"../app\";\n\nexport const ShortpixelGetAdaptiveImageCdnInput = z.object({\n crop: z.enum([\"smart\", \"center\", \"north\", \"south\", \"east\", \"west\", \"northeast\", \"northwest\", \"southeast\", \"southwest\"]).describe(\"Crop style options.\").optional(),\n width: z.number().int().describe(\"Desired width in pixels for the optimized image\").optional(),\n height: z.number().int().describe(\"Desired height in pixels for the optimized image\").optional(),\n quality: z.enum([\"lqip\", \"lossless\", \"glossy\", \"lossy\"]).describe(\"Image quality/compression level options.\").optional(),\n image_url: z.string().describe(\"Absolute URL of the original image to optimize (e.g., 'https://example.com/image.jpg')\"),\n keep_exif: z.boolean().describe(\"Whether to keep EXIF metadata in the optimized image. False removes metadata for smaller file size.\").optional(),\n to_format: z.enum([\"webp\", \"avif\", \"auto\"]).describe(\"Output format conversion options.\").optional(),\n return_mode: z.enum([\"blank\", \"img\", \"wait\"]).describe(\"Return behavior options.\").optional(),\n}).describe(\"Request model for ShortPixel Adaptive Image CDN optimization.\");\nconst ShortpixelGetAdaptiveImageCdn_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const ShortpixelGetAdaptiveImageCdnOutput = z.object({\n image: ShortpixelGetAdaptiveImageCdn_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model for ShortPixel Adaptive Image CDN optimization.\");\n\nexport const shortpixelGetAdaptiveImageCdn: AppAction<\n typeof ShortpixelGetAdaptiveImageCdnInput,\n typeof ShortpixelGetAdaptiveImageCdnOutput,\n typeof shortpixel.credential\n> = action(\"SHORTPIXEL_GET_ADAPTIVE_IMAGE_CDN\", {\n slug: \"shortpixel-get-adaptive-image-cdn\",\n name: \"Get Adaptive Image via CDN\",\n description: \"Tool to optimize images on-the-fly via ShortPixel CDN. Transform images by URL with parameters for width, height, cropping, quality, and format conversion. Returns the optimized image directly without CDN caching.\",\n input: ShortpixelGetAdaptiveImageCdnInput,\n output: ShortpixelGetAdaptiveImageCdnOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAU;EAAS;EAAS;EAAQ;EAAQ;EAAa;EAAa;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACjK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAY;EAAU;CAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CACvH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAChJ,WAAWA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;CAAM,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAO;CAAM,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,OAAO,qDAAqD,SAAS,EACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,gCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortpixel } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-adaptive-image-cdn.d.ts
|
|
@@ -42,16 +44,7 @@ declare const ShortpixelGetAdaptiveImageCdnOutput: z.ZodObject<{
|
|
|
42
44
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
43
45
|
}, z.core.$loose>>;
|
|
44
46
|
}, z.core.$loose>;
|
|
45
|
-
declare const shortpixelGetAdaptiveImageCdn:
|
|
46
|
-
image_url: string;
|
|
47
|
-
crop?: "smart" | "center" | "north" | "south" | "east" | "west" | "northeast" | "northwest" | "southeast" | "southwest" | undefined;
|
|
48
|
-
width?: number | undefined;
|
|
49
|
-
height?: number | undefined;
|
|
50
|
-
quality?: "lqip" | "lossless" | "glossy" | "lossy" | undefined;
|
|
51
|
-
keep_exif?: boolean | undefined;
|
|
52
|
-
to_format?: "webp" | "avif" | "auto" | undefined;
|
|
53
|
-
return_mode?: "blank" | "img" | "wait" | undefined;
|
|
54
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
47
|
+
declare const shortpixelGetAdaptiveImageCdn: AppAction<typeof ShortpixelGetAdaptiveImageCdnInput, typeof ShortpixelGetAdaptiveImageCdnOutput, typeof shortpixel.credential>;
|
|
55
48
|
//#endregion
|
|
56
49
|
export { shortpixelGetAdaptiveImageCdn };
|
|
57
50
|
//# sourceMappingURL=get-adaptive-image-cdn.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-adaptive-image-cdn.d.cts","names":[],"sources":["../../src/actions/get-adaptive-image-cdn.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-adaptive-image-cdn.d.cts","names":[],"sources":["../../src/actions/get-adaptive-image-cdn.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAelC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortpixel } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-adaptive-image-cdn.d.ts
|
|
@@ -42,16 +44,7 @@ declare const ShortpixelGetAdaptiveImageCdnOutput: z.ZodObject<{
|
|
|
42
44
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
43
45
|
}, z.core.$loose>>;
|
|
44
46
|
}, z.core.$loose>;
|
|
45
|
-
declare const shortpixelGetAdaptiveImageCdn:
|
|
46
|
-
image_url: string;
|
|
47
|
-
crop?: "smart" | "center" | "north" | "south" | "east" | "west" | "northeast" | "northwest" | "southeast" | "southwest" | undefined;
|
|
48
|
-
width?: number | undefined;
|
|
49
|
-
height?: number | undefined;
|
|
50
|
-
quality?: "lqip" | "lossless" | "glossy" | "lossy" | undefined;
|
|
51
|
-
keep_exif?: boolean | undefined;
|
|
52
|
-
to_format?: "webp" | "avif" | "auto" | undefined;
|
|
53
|
-
return_mode?: "blank" | "img" | "wait" | undefined;
|
|
54
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
47
|
+
declare const shortpixelGetAdaptiveImageCdn: AppAction<typeof ShortpixelGetAdaptiveImageCdnInput, typeof ShortpixelGetAdaptiveImageCdnOutput, typeof shortpixel.credential>;
|
|
55
48
|
//#endregion
|
|
56
49
|
export { shortpixelGetAdaptiveImageCdn };
|
|
57
50
|
//# sourceMappingURL=get-adaptive-image-cdn.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-adaptive-image-cdn.d.mts","names":[],"sources":["../../src/actions/get-adaptive-image-cdn.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-adaptive-image-cdn.d.mts","names":[],"sources":["../../src/actions/get-adaptive-image-cdn.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAelC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-adaptive-image-cdn.mjs","names":[],"sources":["../../src/actions/get-adaptive-image-cdn.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortpixelGetAdaptiveImageCdnInput = z.object({\n crop: z.enum([\"smart\", \"center\", \"north\", \"south\", \"east\", \"west\", \"northeast\", \"northwest\", \"southeast\", \"southwest\"]).describe(\"Crop style options.\").optional(),\n width: z.number().int().describe(\"Desired width in pixels for the optimized image\").optional(),\n height: z.number().int().describe(\"Desired height in pixels for the optimized image\").optional(),\n quality: z.enum([\"lqip\", \"lossless\", \"glossy\", \"lossy\"]).describe(\"Image quality/compression level options.\").optional(),\n image_url: z.string().describe(\"Absolute URL of the original image to optimize (e.g., 'https://example.com/image.jpg')\"),\n keep_exif: z.boolean().describe(\"Whether to keep EXIF metadata in the optimized image. False removes metadata for smaller file size.\").optional(),\n to_format: z.enum([\"webp\", \"avif\", \"auto\"]).describe(\"Output format conversion options.\").optional(),\n return_mode: z.enum([\"blank\", \"img\", \"wait\"]).describe(\"Return behavior options.\").optional(),\n}).describe(\"Request model for ShortPixel Adaptive Image CDN optimization.\");\nconst ShortpixelGetAdaptiveImageCdn_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const ShortpixelGetAdaptiveImageCdnOutput = z.object({\n image: ShortpixelGetAdaptiveImageCdn_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model for ShortPixel Adaptive Image CDN optimization.\");\n\nexport const shortpixelGetAdaptiveImageCdn = action(\"SHORTPIXEL_GET_ADAPTIVE_IMAGE_CDN\", {\n slug: \"shortpixel-get-adaptive-image-cdn\",\n name: \"Get Adaptive Image via CDN\",\n description: \"Tool to optimize images on-the-fly via ShortPixel CDN. Transform images by URL with parameters for width, height, cropping, quality, and format conversion. Returns the optimized image directly without CDN caching.\",\n input: ShortpixelGetAdaptiveImageCdnInput,\n output: ShortpixelGetAdaptiveImageCdnOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-adaptive-image-cdn.mjs","names":[],"sources":["../../src/actions/get-adaptive-image-cdn.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortpixel } from \"../app\";\n\nexport const ShortpixelGetAdaptiveImageCdnInput = z.object({\n crop: z.enum([\"smart\", \"center\", \"north\", \"south\", \"east\", \"west\", \"northeast\", \"northwest\", \"southeast\", \"southwest\"]).describe(\"Crop style options.\").optional(),\n width: z.number().int().describe(\"Desired width in pixels for the optimized image\").optional(),\n height: z.number().int().describe(\"Desired height in pixels for the optimized image\").optional(),\n quality: z.enum([\"lqip\", \"lossless\", \"glossy\", \"lossy\"]).describe(\"Image quality/compression level options.\").optional(),\n image_url: z.string().describe(\"Absolute URL of the original image to optimize (e.g., 'https://example.com/image.jpg')\"),\n keep_exif: z.boolean().describe(\"Whether to keep EXIF metadata in the optimized image. False removes metadata for smaller file size.\").optional(),\n to_format: z.enum([\"webp\", \"avif\", \"auto\"]).describe(\"Output format conversion options.\").optional(),\n return_mode: z.enum([\"blank\", \"img\", \"wait\"]).describe(\"Return behavior options.\").optional(),\n}).describe(\"Request model for ShortPixel Adaptive Image CDN optimization.\");\nconst ShortpixelGetAdaptiveImageCdn_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const ShortpixelGetAdaptiveImageCdnOutput = z.object({\n image: ShortpixelGetAdaptiveImageCdn_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model for ShortPixel Adaptive Image CDN optimization.\");\n\nexport const shortpixelGetAdaptiveImageCdn: AppAction<\n typeof ShortpixelGetAdaptiveImageCdnInput,\n typeof ShortpixelGetAdaptiveImageCdnOutput,\n typeof shortpixel.credential\n> = action(\"SHORTPIXEL_GET_ADAPTIVE_IMAGE_CDN\", {\n slug: \"shortpixel-get-adaptive-image-cdn\",\n name: \"Get Adaptive Image via CDN\",\n description: \"Tool to optimize images on-the-fly via ShortPixel CDN. Transform images by URL with parameters for width, height, cropping, quality, and format conversion. Returns the optimized image directly without CDN caching.\",\n input: ShortpixelGetAdaptiveImageCdnInput,\n output: ShortpixelGetAdaptiveImageCdnOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,KAAK;EAAC;EAAS;EAAU;EAAS;EAAS;EAAQ;EAAQ;EAAa;EAAa;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACjK,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC/F,SAAS,EAAE,KAAK;EAAC;EAAQ;EAAY;EAAU;CAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CACvH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAChJ,WAAW,EAAE,KAAK;EAAC;EAAQ;EAAQ;CAAM,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,KAAK;EAAC;EAAS;EAAO;CAAM,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,uDAAuD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,gCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbiD,EAAE,OAAO,EAC1D,OAAO,qDAAqD,SAAS,EACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-api-status.cjs","names":["z","action"],"sources":["../../src/actions/get-api-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ShortpixelGetApiStatusInput = z.object({}).describe(\"Empty request model for retrieving ShortPixel API status. Uses API key from metadata query parameters.\");\nconst ShortpixelGetApiStatus_StatusInfoSchema = z.object({\n Code: z.string().describe(\"Status code returned by the API (2=OK, 3=error, 9=over quota)\").nullable(),\n Message: z.string().describe(\"Human-readable message about the API status\").nullable(),\n}).passthrough().describe(\"Status information returned by the API.\");\nexport const ShortpixelGetApiStatusOutput = z.object({\n Status: ShortpixelGetApiStatus_StatusInfoSchema.nullable(),\n Unlimited: z.boolean().describe(\"Whether the account has unlimited API calls\").nullable(),\n DomainCheck: z.string().describe(\"Domain accessibility status\").nullable(),\n APICallsFree: z.string().describe(\"Number of free API calls available (as decimal string)\").nullable(),\n APICallsMade: z.string().describe(\"Number of API calls made (as decimal string)\").nullable(),\n APICallsQuota: z.union([z.number().int(), z.string()]),\n DateSubscription: z.string().describe(\"Subscription date in format 'YYYY-MM-DD HH:MM:SS'\").nullable(),\n APICallsMadeOneTime: z.string().describe(\"One-time API calls made (as decimal string)\").nullable(),\n APICallsQuotaOneTime: z.string().describe(\"One-time API calls quota (as decimal string)\").nullable(),\n}).passthrough().describe(\"Response model for ShortPixel API status, including status code, message, and usage details.\");\n\nexport const shortpixelGetApiStatus = action(\"SHORTPIXEL_GET_API_STATUS\", {\n slug: \"shortpixel-get-api-status\",\n name: \"Get API Status\",\n description: \"Tool to retrieve the current status of your API key, including available credits. Use when you need to monitor your account usage before making additional API calls.\",\n input: ShortpixelGetApiStatusInput,\n output: ShortpixelGetApiStatusOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-api-status.cjs","names":["z","action"],"sources":["../../src/actions/get-api-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { shortpixel } from \"../app\";\n\nexport const ShortpixelGetApiStatusInput = z.object({}).describe(\"Empty request model for retrieving ShortPixel API status. Uses API key from metadata query parameters.\");\nconst ShortpixelGetApiStatus_StatusInfoSchema = z.object({\n Code: z.string().describe(\"Status code returned by the API (2=OK, 3=error, 9=over quota)\").nullable(),\n Message: z.string().describe(\"Human-readable message about the API status\").nullable(),\n}).passthrough().describe(\"Status information returned by the API.\");\nexport const ShortpixelGetApiStatusOutput = z.object({\n Status: ShortpixelGetApiStatus_StatusInfoSchema.nullable(),\n Unlimited: z.boolean().describe(\"Whether the account has unlimited API calls\").nullable(),\n DomainCheck: z.string().describe(\"Domain accessibility status\").nullable(),\n APICallsFree: z.string().describe(\"Number of free API calls available (as decimal string)\").nullable(),\n APICallsMade: z.string().describe(\"Number of API calls made (as decimal string)\").nullable(),\n APICallsQuota: z.union([z.number().int(), z.string()]),\n DateSubscription: z.string().describe(\"Subscription date in format 'YYYY-MM-DD HH:MM:SS'\").nullable(),\n APICallsMadeOneTime: z.string().describe(\"One-time API calls made (as decimal string)\").nullable(),\n APICallsQuotaOneTime: z.string().describe(\"One-time API calls quota (as decimal string)\").nullable(),\n}).passthrough().describe(\"Response model for ShortPixel API status, including status code, message, and usage details.\");\n\nexport const shortpixelGetApiStatus: AppAction<\n typeof ShortpixelGetApiStatusInput,\n typeof ShortpixelGetApiStatusOutput,\n typeof shortpixel.credential\n> = action(\"SHORTPIXEL_GET_API_STATUS\", {\n slug: \"shortpixel-get-api-status\",\n name: \"Get API Status\",\n description: \"Tool to retrieve the current status of your API key, including available credits. Use when you need to monitor your account usage before making additional API calls.\",\n input: ShortpixelGetApiStatusInput,\n output: ShortpixelGetApiStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG;AACzK,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQ,wCAAwC,SAAS;CACzD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC3F,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CACrD,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACpG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8FAA8F;AAExH,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortpixel } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-api-status.d.ts
|
|
@@ -16,7 +18,7 @@ declare const ShortpixelGetApiStatusOutput: z.ZodObject<{
|
|
|
16
18
|
APICallsMadeOneTime: z.ZodNullable<z.ZodString>;
|
|
17
19
|
APICallsQuotaOneTime: z.ZodNullable<z.ZodString>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const shortpixelGetApiStatus:
|
|
21
|
+
declare const shortpixelGetApiStatus: AppAction<typeof ShortpixelGetApiStatusInput, typeof ShortpixelGetApiStatusOutput, typeof shortpixel.credential>;
|
|
20
22
|
//#endregion
|
|
21
23
|
export { shortpixelGetApiStatus };
|
|
22
24
|
//# sourceMappingURL=get-api-status.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-api-status.d.cts","names":[],"sources":["../../src/actions/get-api-status.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-api-status.d.cts","names":[],"sources":["../../src/actions/get-api-status.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAY5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { shortpixel } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-api-status.d.ts
|
|
@@ -16,7 +18,7 @@ declare const ShortpixelGetApiStatusOutput: z.ZodObject<{
|
|
|
16
18
|
APICallsMadeOneTime: z.ZodNullable<z.ZodString>;
|
|
17
19
|
APICallsQuotaOneTime: z.ZodNullable<z.ZodString>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const shortpixelGetApiStatus:
|
|
21
|
+
declare const shortpixelGetApiStatus: AppAction<typeof ShortpixelGetApiStatusInput, typeof ShortpixelGetApiStatusOutput, typeof shortpixel.credential>;
|
|
20
22
|
//#endregion
|
|
21
23
|
export { shortpixelGetApiStatus };
|
|
22
24
|
//# sourceMappingURL=get-api-status.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-api-status.d.mts","names":[],"sources":["../../src/actions/get-api-status.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-api-status.d.mts","names":[],"sources":["../../src/actions/get-api-status.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAY5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|