@keystrokehq/niftyimages 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/get-images-stats.cjs +23 -0
- package/dist/actions/get-images-stats.cjs.map +1 -0
- package/dist/actions/get-images-stats.d.cts +9 -0
- package/dist/actions/get-images-stats.d.cts.map +1 -0
- package/dist/actions/get-images-stats.d.mts +9 -0
- package/dist/actions/get-images-stats.d.mts.map +1 -0
- package/dist/actions/get-images-stats.mjs +22 -0
- package/dist/actions/get-images-stats.mjs.map +1 -0
- package/dist/actions/get-widget-user-images.cjs +24 -0
- package/dist/actions/get-widget-user-images.cjs.map +1 -0
- package/dist/actions/get-widget-user-images.d.cts +9 -0
- package/dist/actions/get-widget-user-images.d.cts.map +1 -0
- package/dist/actions/get-widget-user-images.d.mts +9 -0
- package/dist/actions/get-widget-user-images.d.mts.map +1 -0
- package/dist/actions/get-widget-user-images.mjs +23 -0
- package/dist/actions/get-widget-user-images.mjs.map +1 -0
- package/dist/actions/get-widget-user-stats.cjs +27 -0
- package/dist/actions/get-widget-user-stats.cjs.map +1 -0
- package/dist/actions/get-widget-user-stats.d.cts +9 -0
- package/dist/actions/get-widget-user-stats.d.cts.map +1 -0
- package/dist/actions/get-widget-user-stats.d.mts +9 -0
- package/dist/actions/get-widget-user-stats.d.mts.map +1 -0
- package/dist/actions/get-widget-user-stats.mjs +24 -0
- package/dist/actions/get-widget-user-stats.mjs.map +1 -0
- package/dist/actions/index.cjs +19 -0
- package/dist/actions/index.d.cts +10 -0
- package/dist/actions/index.d.mts +10 -0
- package/dist/actions/index.mjs +10 -0
- package/dist/actions/list-images.cjs +28 -0
- package/dist/actions/list-images.cjs.map +1 -0
- package/dist/actions/list-images.d.cts +9 -0
- package/dist/actions/list-images.d.cts.map +1 -0
- package/dist/actions/list-images.d.mts +9 -0
- package/dist/actions/list-images.d.mts.map +1 -0
- package/dist/actions/list-images.mjs +27 -0
- package/dist/actions/list-images.mjs.map +1 -0
- package/dist/actions/list-maps.cjs +22 -0
- package/dist/actions/list-maps.cjs.map +1 -0
- package/dist/actions/list-maps.d.cts +9 -0
- package/dist/actions/list-maps.d.cts.map +1 -0
- package/dist/actions/list-maps.d.mts +9 -0
- package/dist/actions/list-maps.d.mts.map +1 -0
- package/dist/actions/list-maps.mjs +21 -0
- package/dist/actions/list-maps.mjs.map +1 -0
- package/dist/actions/list-widget-images.cjs +26 -0
- package/dist/actions/list-widget-images.cjs.map +1 -0
- package/dist/actions/list-widget-images.d.cts +9 -0
- package/dist/actions/list-widget-images.d.cts.map +1 -0
- package/dist/actions/list-widget-images.d.mts +9 -0
- package/dist/actions/list-widget-images.d.mts.map +1 -0
- package/dist/actions/list-widget-images.mjs +25 -0
- package/dist/actions/list-widget-images.mjs.map +1 -0
- package/dist/actions/list-widget-stats.cjs +35 -0
- package/dist/actions/list-widget-stats.cjs.map +1 -0
- package/dist/actions/list-widget-stats.d.cts +9 -0
- package/dist/actions/list-widget-stats.d.cts.map +1 -0
- package/dist/actions/list-widget-stats.d.mts +9 -0
- package/dist/actions/list-widget-stats.d.mts.map +1 -0
- package/dist/actions/list-widget-stats.mjs +34 -0
- package/dist/actions/list-widget-stats.mjs.map +1 -0
- package/dist/actions/list-widget-users.cjs +30 -0
- package/dist/actions/list-widget-users.cjs.map +1 -0
- package/dist/actions/list-widget-users.d.cts +9 -0
- package/dist/actions/list-widget-users.d.cts.map +1 -0
- package/dist/actions/list-widget-users.d.mts +9 -0
- package/dist/actions/list-widget-users.d.mts.map +1 -0
- package/dist/actions/list-widget-users.mjs +29 -0
- package/dist/actions/list-widget-users.mjs.map +1 -0
- package/dist/actions/list-widgets.cjs +20 -0
- package/dist/actions/list-widgets.cjs.map +1 -0
- package/dist/actions/list-widgets.d.cts +9 -0
- package/dist/actions/list-widgets.d.cts.map +1 -0
- package/dist/actions/list-widgets.d.mts +9 -0
- package/dist/actions/list-widgets.d.mts.map +1 -0
- package/dist/actions/list-widgets.mjs +19 -0
- package/dist/actions/list-widgets.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +24 -0
- package/dist/index.d.cts +12 -0
- package/dist/index.d.mts +12 -0
- package/dist/index.mjs +13 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @keystrokehq/niftyimages
|
|
2
|
+
|
|
3
|
+
Keystroke-managed integration.
|
|
4
|
+
|
|
5
|
+
**App:** `niftyimages`
|
|
6
|
+
**Version:** `20260615_00`
|
|
7
|
+
**Actions:** 9
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { defineAgent } from "@keystrokehq/keystroke/agent";
|
|
11
|
+
import { niftyimagesGetImagesStats } from "@keystrokehq/niftyimages/actions";
|
|
12
|
+
|
|
13
|
+
export default defineAgent({
|
|
14
|
+
key: "niftyimages-agent",
|
|
15
|
+
tools: [niftyimagesGetImagesStats],
|
|
16
|
+
});
|
|
17
|
+
```
|
package/dist/action.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_app = require("./app.cjs");
|
|
2
|
+
const require_execute = require("./execute.cjs");
|
|
3
|
+
require("zod");
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return require_app.niftyimages.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await require_execute.executeNiftyimagesTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.action = action;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["niftyimages","executeNiftyimagesTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { niftyimages } from \"./app\";\nimport { executeNiftyimagesTool } 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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return niftyimages.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 executeNiftyimagesTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,YAAY,OAAO;EACxB,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,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
|
package/dist/action.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { niftyimages } from "./app.mjs";
|
|
2
|
+
import { executeNiftyimagesTool } from "./execute.mjs";
|
|
3
|
+
import "zod";
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return niftyimages.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await executeNiftyimagesTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { action };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { niftyimages } from \"./app\";\nimport { executeNiftyimagesTool } 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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return niftyimages.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 executeNiftyimagesTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-images-stats.ts
|
|
4
|
+
const NiftyimagesGetImagesStatsInput = zod.z.object({}).describe("Request model for getting aggregated stats for all images.");
|
|
5
|
+
const NiftyimagesGetImagesStats_ImageStatsItemSchema = zod.z.object({
|
|
6
|
+
views: zod.z.number().int().describe("Total number of views for the image.").nullable().optional(),
|
|
7
|
+
clicks: zod.z.number().int().describe("Total number of clicks on the image.").nullable().optional(),
|
|
8
|
+
image_id: zod.z.string().describe("Unique identifier for the image.").nullable().optional(),
|
|
9
|
+
image_name: zod.z.string().describe("Name or title of the image.").nullable().optional(),
|
|
10
|
+
impressions: zod.z.number().int().describe("Total number of impressions for the image.").nullable().optional()
|
|
11
|
+
}).describe("Model for individual image statistics.");
|
|
12
|
+
const NiftyimagesGetImagesStatsOutput = zod.z.object({ stats: zod.z.array(NiftyimagesGetImagesStats_ImageStatsItemSchema).describe("Array of aggregated statistics for all images. Each entry contains metrics such as views, clicks, and impressions.").nullable().optional() }).describe("Response model for aggregated stats for all images.");
|
|
13
|
+
const niftyimagesGetImagesStats = require_action.action("NIFTYIMAGES_GET_IMAGES_STATS", {
|
|
14
|
+
slug: "niftyimages-get-images-stats",
|
|
15
|
+
name: "Get Images Stats",
|
|
16
|
+
description: "Tool to get aggregated stats for all images. Use when you need to retrieve statistical data and performance metrics for all images in the account.",
|
|
17
|
+
input: NiftyimagesGetImagesStatsInput,
|
|
18
|
+
output: NiftyimagesGetImagesStatsOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.niftyimagesGetImagesStats = niftyimagesGetImagesStats;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=get-images-stats.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-images-stats.cjs","names":["z","action"],"sources":["../../src/actions/get-images-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesGetImagesStatsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for getting aggregated stats for all images.\");\nconst NiftyimagesGetImagesStats_ImageStatsItemSchema: z.ZodTypeAny = z.object({\n views: z.number().int().describe(\"Total number of views for the image.\").nullable().optional(),\n clicks: z.number().int().describe(\"Total number of clicks on the image.\").nullable().optional(),\n image_id: z.string().describe(\"Unique identifier for the image.\").nullable().optional(),\n image_name: z.string().describe(\"Name or title of the image.\").nullable().optional(),\n impressions: z.number().int().describe(\"Total number of impressions for the image.\").nullable().optional(),\n}).describe(\"Model for individual image statistics.\");\nexport const NiftyimagesGetImagesStatsOutput: z.ZodTypeAny = z.object({\n stats: z.array(NiftyimagesGetImagesStats_ImageStatsItemSchema).describe(\"Array of aggregated statistics for all images. Each entry contains metrics such as views, clicks, and impressions.\").nullable().optional(),\n}).describe(\"Response model for aggregated stats for all images.\");\n\nexport const niftyimagesGetImagesStats = action(\"NIFTYIMAGES_GET_IMAGES_STATS\", {\n slug: \"niftyimages-get-images-stats\",\n name: \"Get Images Stats\",\n description: \"Tool to get aggregated stats for all images. Use when you need to retrieve statistical data and performance metrics for all images in the account.\",\n input: NiftyimagesGetImagesStatsInput,\n output: NiftyimagesGetImagesStatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAC9I,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,OAAOA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpN,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-images-stats.d.ts
|
|
4
|
+
declare const NiftyimagesGetImagesStatsInput: z.ZodTypeAny;
|
|
5
|
+
declare const NiftyimagesGetImagesStatsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const niftyimagesGetImagesStats: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { niftyimagesGetImagesStats };
|
|
9
|
+
//# sourceMappingURL=get-images-stats.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-images-stats.d.cts","names":[],"sources":["../../src/actions/get-images-stats.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAgG;AAAA,cAQlI,+BAAA,EAAiC,CAAA,CAAE,UAEkB;AAAA,cAErD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-images-stats.d.ts
|
|
4
|
+
declare const NiftyimagesGetImagesStatsInput: z.ZodTypeAny;
|
|
5
|
+
declare const NiftyimagesGetImagesStatsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const niftyimagesGetImagesStats: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { niftyimagesGetImagesStats };
|
|
9
|
+
//# sourceMappingURL=get-images-stats.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-images-stats.d.mts","names":[],"sources":["../../src/actions/get-images-stats.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAgG;AAAA,cAQlI,+BAAA,EAAiC,CAAA,CAAE,UAEkB;AAAA,cAErD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-images-stats.ts
|
|
4
|
+
const NiftyimagesGetImagesStatsInput = z.object({}).describe("Request model for getting aggregated stats for all images.");
|
|
5
|
+
const NiftyimagesGetImagesStats_ImageStatsItemSchema = z.object({
|
|
6
|
+
views: z.number().int().describe("Total number of views for the image.").nullable().optional(),
|
|
7
|
+
clicks: z.number().int().describe("Total number of clicks on the image.").nullable().optional(),
|
|
8
|
+
image_id: z.string().describe("Unique identifier for the image.").nullable().optional(),
|
|
9
|
+
image_name: z.string().describe("Name or title of the image.").nullable().optional(),
|
|
10
|
+
impressions: z.number().int().describe("Total number of impressions for the image.").nullable().optional()
|
|
11
|
+
}).describe("Model for individual image statistics.");
|
|
12
|
+
const niftyimagesGetImagesStats = action("NIFTYIMAGES_GET_IMAGES_STATS", {
|
|
13
|
+
slug: "niftyimages-get-images-stats",
|
|
14
|
+
name: "Get Images Stats",
|
|
15
|
+
description: "Tool to get aggregated stats for all images. Use when you need to retrieve statistical data and performance metrics for all images in the account.",
|
|
16
|
+
input: NiftyimagesGetImagesStatsInput,
|
|
17
|
+
output: z.object({ stats: z.array(NiftyimagesGetImagesStats_ImageStatsItemSchema).describe("Array of aggregated statistics for all images. Each entry contains metrics such as views, clicks, and impressions.").nullable().optional() }).describe("Response model for aggregated stats for all images.")
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { niftyimagesGetImagesStats };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=get-images-stats.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-images-stats.mjs","names":[],"sources":["../../src/actions/get-images-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesGetImagesStatsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for getting aggregated stats for all images.\");\nconst NiftyimagesGetImagesStats_ImageStatsItemSchema: z.ZodTypeAny = z.object({\n views: z.number().int().describe(\"Total number of views for the image.\").nullable().optional(),\n clicks: z.number().int().describe(\"Total number of clicks on the image.\").nullable().optional(),\n image_id: z.string().describe(\"Unique identifier for the image.\").nullable().optional(),\n image_name: z.string().describe(\"Name or title of the image.\").nullable().optional(),\n impressions: z.number().int().describe(\"Total number of impressions for the image.\").nullable().optional(),\n}).describe(\"Model for individual image statistics.\");\nexport const NiftyimagesGetImagesStatsOutput: z.ZodTypeAny = z.object({\n stats: z.array(NiftyimagesGetImagesStats_ImageStatsItemSchema).describe(\"Array of aggregated statistics for all images. Each entry contains metrics such as views, clicks, and impressions.\").nullable().optional(),\n}).describe(\"Response model for aggregated stats for all images.\");\n\nexport const niftyimagesGetImagesStats = action(\"NIFTYIMAGES_GET_IMAGES_STATS\", {\n slug: \"niftyimages-get-images-stats\",\n name: \"Get Images Stats\",\n description: \"Tool to get aggregated stats for all images. Use when you need to retrieve statistical data and performance metrics for all images in the account.\",\n input: NiftyimagesGetImagesStatsInput,\n output: NiftyimagesGetImagesStatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAC9I,MAAM,iDAA+D,EAAE,OAAO;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAKpD,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,OAAO,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpN,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-widget-user-images.ts
|
|
4
|
+
const NiftyimagesGetWidgetUserImagesInput = zod.z.object({
|
|
5
|
+
user: zod.z.string().describe("The user identifier to retrieve images for."),
|
|
6
|
+
widget_key: zod.z.string().describe("The unique identifier (key) of the widget. This is a UUID format identifier.")
|
|
7
|
+
}).describe("Request model for listing widget images for a specific user.");
|
|
8
|
+
const NiftyimagesGetWidgetUserImages_WidgetImageSchema = zod.z.object({
|
|
9
|
+
Url: zod.z.string().describe("The URL of the image.").nullable().optional(),
|
|
10
|
+
Name: zod.z.string().describe("The name of the image.").nullable().optional(),
|
|
11
|
+
ImageKey: zod.z.string().describe("The unique identifier for the image.").nullable().optional()
|
|
12
|
+
}).describe("Representation of a widget image.");
|
|
13
|
+
const NiftyimagesGetWidgetUserImagesOutput = zod.z.object({ images: zod.z.array(NiftyimagesGetWidgetUserImages_WidgetImageSchema).describe("List of widget images for the specified user. May be empty if no images exist.").nullable().optional() }).describe("Response model for listing widget images for a specific user.");
|
|
14
|
+
const niftyimagesGetWidgetUserImages = require_action.action("NIFTYIMAGES_GET_WIDGET_USER_IMAGES", {
|
|
15
|
+
slug: "niftyimages-get-widget-user-images",
|
|
16
|
+
name: "Get Widget User Images",
|
|
17
|
+
description: "Tool to list widget images for a specific user. Use when you need to retrieve all images associated with a particular user and widget combination.",
|
|
18
|
+
input: NiftyimagesGetWidgetUserImagesInput,
|
|
19
|
+
output: NiftyimagesGetWidgetUserImagesOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.niftyimagesGetWidgetUserImages = niftyimagesGetWidgetUserImages;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=get-widget-user-images.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-widget-user-images.cjs","names":["z","action"],"sources":["../../src/actions/get-widget-user-images.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesGetWidgetUserImagesInput: z.ZodTypeAny = z.object({\n user: z.string().describe(\"The user identifier to retrieve images for.\"),\n widget_key: z.string().describe(\"The unique identifier (key) of the widget. This is a UUID format identifier.\"),\n}).describe(\"Request model for listing widget images for a specific user.\");\nconst NiftyimagesGetWidgetUserImages_WidgetImageSchema: z.ZodTypeAny = z.object({\n Url: z.string().describe(\"The URL of the image.\").nullable().optional(),\n Name: z.string().describe(\"The name of the image.\").nullable().optional(),\n ImageKey: z.string().describe(\"The unique identifier for the image.\").nullable().optional(),\n}).describe(\"Representation of a widget image.\");\nexport const NiftyimagesGetWidgetUserImagesOutput: z.ZodTypeAny = z.object({\n images: z.array(NiftyimagesGetWidgetUserImages_WidgetImageSchema).describe(\"List of widget images for the specified user. May be empty if no images exist.\").nullable().optional(),\n}).describe(\"Response model for listing widget images for a specific user.\");\n\nexport const niftyimagesGetWidgetUserImages = action(\"NIFTYIMAGES_GET_WIDGET_USER_IMAGES\", {\n slug: \"niftyimages-get-widget-user-images\",\n name: \"Get Widget User Images\",\n description: \"Tool to list widget images for a specific user. Use when you need to retrieve all images associated with a particular user and widget combination.\",\n input: NiftyimagesGetWidgetUserImagesInput,\n output: NiftyimagesGetWidgetUserImagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;AAChH,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,QAAQA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnL,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-widget-user-images.d.ts
|
|
4
|
+
declare const NiftyimagesGetWidgetUserImagesInput: z.ZodTypeAny;
|
|
5
|
+
declare const NiftyimagesGetWidgetUserImagesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const niftyimagesGetWidgetUserImages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { niftyimagesGetWidgetUserImages };
|
|
9
|
+
//# sourceMappingURL=get-widget-user-images.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-widget-user-images.d.cts","names":[],"sources":["../../src/actions/get-widget-user-images.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAGuB;AAAA,cAM9D,oCAAA,EAAsC,CAAA,CAAE,UAEuB;AAAA,cAE/D,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-widget-user-images.d.ts
|
|
4
|
+
declare const NiftyimagesGetWidgetUserImagesInput: z.ZodTypeAny;
|
|
5
|
+
declare const NiftyimagesGetWidgetUserImagesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const niftyimagesGetWidgetUserImages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { niftyimagesGetWidgetUserImages };
|
|
9
|
+
//# sourceMappingURL=get-widget-user-images.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-widget-user-images.d.mts","names":[],"sources":["../../src/actions/get-widget-user-images.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAGuB;AAAA,cAM9D,oCAAA,EAAsC,CAAA,CAAE,UAEuB;AAAA,cAE/D,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-widget-user-images.ts
|
|
4
|
+
const NiftyimagesGetWidgetUserImagesInput = z.object({
|
|
5
|
+
user: z.string().describe("The user identifier to retrieve images for."),
|
|
6
|
+
widget_key: z.string().describe("The unique identifier (key) of the widget. This is a UUID format identifier.")
|
|
7
|
+
}).describe("Request model for listing widget images for a specific user.");
|
|
8
|
+
const NiftyimagesGetWidgetUserImages_WidgetImageSchema = z.object({
|
|
9
|
+
Url: z.string().describe("The URL of the image.").nullable().optional(),
|
|
10
|
+
Name: z.string().describe("The name of the image.").nullable().optional(),
|
|
11
|
+
ImageKey: z.string().describe("The unique identifier for the image.").nullable().optional()
|
|
12
|
+
}).describe("Representation of a widget image.");
|
|
13
|
+
const niftyimagesGetWidgetUserImages = action("NIFTYIMAGES_GET_WIDGET_USER_IMAGES", {
|
|
14
|
+
slug: "niftyimages-get-widget-user-images",
|
|
15
|
+
name: "Get Widget User Images",
|
|
16
|
+
description: "Tool to list widget images for a specific user. Use when you need to retrieve all images associated with a particular user and widget combination.",
|
|
17
|
+
input: NiftyimagesGetWidgetUserImagesInput,
|
|
18
|
+
output: z.object({ images: z.array(NiftyimagesGetWidgetUserImages_WidgetImageSchema).describe("List of widget images for the specified user. May be empty if no images exist.").nullable().optional() }).describe("Response model for listing widget images for a specific user.")
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { niftyimagesGetWidgetUserImages };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=get-widget-user-images.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-widget-user-images.mjs","names":[],"sources":["../../src/actions/get-widget-user-images.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesGetWidgetUserImagesInput: z.ZodTypeAny = z.object({\n user: z.string().describe(\"The user identifier to retrieve images for.\"),\n widget_key: z.string().describe(\"The unique identifier (key) of the widget. This is a UUID format identifier.\"),\n}).describe(\"Request model for listing widget images for a specific user.\");\nconst NiftyimagesGetWidgetUserImages_WidgetImageSchema: z.ZodTypeAny = z.object({\n Url: z.string().describe(\"The URL of the image.\").nullable().optional(),\n Name: z.string().describe(\"The name of the image.\").nullable().optional(),\n ImageKey: z.string().describe(\"The unique identifier for the image.\").nullable().optional(),\n}).describe(\"Representation of a widget image.\");\nexport const NiftyimagesGetWidgetUserImagesOutput: z.ZodTypeAny = z.object({\n images: z.array(NiftyimagesGetWidgetUserImages_WidgetImageSchema).describe(\"List of widget images for the specified user. May be empty if no images exist.\").nullable().optional(),\n}).describe(\"Response model for listing widget images for a specific user.\");\n\nexport const niftyimagesGetWidgetUserImages = action(\"NIFTYIMAGES_GET_WIDGET_USER_IMAGES\", {\n slug: \"niftyimages-get-widget-user-images\",\n name: \"Get Widget User Images\",\n description: \"Tool to list widget images for a specific user. Use when you need to retrieve all images associated with a particular user and widget combination.\",\n input: NiftyimagesGetWidgetUserImagesInput,\n output: NiftyimagesGetWidgetUserImagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoD,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;AAChH,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,mDAAiE,EAAE,OAAO;CAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAK/C,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgE,EAAE,OAAO,EACzE,QAAQ,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnL,CAAC,CAAC,CAAC,SAAS,+DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-widget-user-stats.ts
|
|
4
|
+
const NiftyimagesGetWidgetUserStatsInput = zod.z.object({
|
|
5
|
+
user: zod.z.string().describe("The user identifier for which to retrieve aggregated stats"),
|
|
6
|
+
widget_key: zod.z.string().describe("The unique identifier (key) of the widget")
|
|
7
|
+
});
|
|
8
|
+
const NiftyimagesGetWidgetUserStatsOutput = zod.z.object({
|
|
9
|
+
user: zod.z.string().describe("The user identifier").nullable().optional(),
|
|
10
|
+
last_seen: zod.z.string().describe("ISO 8601 formatted timestamp of when user was last seen").nullable().optional(),
|
|
11
|
+
first_seen: zod.z.string().describe("ISO 8601 formatted timestamp of when user was first seen").nullable().optional(),
|
|
12
|
+
widget_key: zod.z.string().describe("The widget key").nullable().optional(),
|
|
13
|
+
total_views: zod.z.number().int().describe("Total number of views for this user").nullable().optional(),
|
|
14
|
+
total_clicks: zod.z.number().int().describe("Total number of clicks for this user").nullable().optional(),
|
|
15
|
+
total_impressions: zod.z.number().int().describe("Total number of impressions for this user").nullable().optional()
|
|
16
|
+
}).describe("Response containing aggregated user stats for a widget.");
|
|
17
|
+
const niftyimagesGetWidgetUserStats = require_action.action("NIFTYIMAGES_GET_WIDGET_USER_STATS", {
|
|
18
|
+
slug: "niftyimages-get-widget-user-stats",
|
|
19
|
+
name: "Get Widget User Stats",
|
|
20
|
+
description: "Tool to get aggregated stats for a specific user on a widget. Use when you need to retrieve performance metrics for a particular user's interaction with a widget.",
|
|
21
|
+
input: NiftyimagesGetWidgetUserStatsInput,
|
|
22
|
+
output: NiftyimagesGetWidgetUserStatsOutput
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
exports.niftyimagesGetWidgetUserStats = niftyimagesGetWidgetUserStats;
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=get-widget-user-stats.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-widget-user-stats.cjs","names":["z","action"],"sources":["../../src/actions/get-widget-user-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesGetWidgetUserStatsInput: z.ZodTypeAny = z.object({\n user: z.string().describe(\"The user identifier for which to retrieve aggregated stats\"),\n widget_key: z.string().describe(\"The unique identifier (key) of the widget\"),\n});\nexport const NiftyimagesGetWidgetUserStatsOutput: z.ZodTypeAny = z.object({\n user: z.string().describe(\"The user identifier\").nullable().optional(),\n last_seen: z.string().describe(\"ISO 8601 formatted timestamp of when user was last seen\").nullable().optional(),\n first_seen: z.string().describe(\"ISO 8601 formatted timestamp of when user was first seen\").nullable().optional(),\n widget_key: z.string().describe(\"The widget key\").nullable().optional(),\n total_views: z.number().int().describe(\"Total number of views for this user\").nullable().optional(),\n total_clicks: z.number().int().describe(\"Total number of clicks for this user\").nullable().optional(),\n total_impressions: z.number().int().describe(\"Total number of impressions for this user\").nullable().optional(),\n}).describe(\"Response containing aggregated user stats for a widget.\");\n\nexport const niftyimagesGetWidgetUserStats = action(\"NIFTYIMAGES_GET_WIDGET_USER_STATS\", {\n slug: \"niftyimages-get-widget-user-stats\",\n name: \"Get Widget User Stats\",\n description: \"Tool to get aggregated stats for a specific user on a widget. Use when you need to retrieve performance metrics for a particular user's interaction with a widget.\",\n input: NiftyimagesGetWidgetUserStatsInput,\n output: NiftyimagesGetWidgetUserStatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC7E,CAAC;AACD,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-widget-user-stats.d.ts
|
|
4
|
+
declare const NiftyimagesGetWidgetUserStatsInput: z.ZodTypeAny;
|
|
5
|
+
declare const NiftyimagesGetWidgetUserStatsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const niftyimagesGetWidgetUserStats: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { niftyimagesGetWidgetUserStats };
|
|
9
|
+
//# sourceMappingURL=get-widget-user-stats.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-widget-user-stats.d.cts","names":[],"sources":["../../src/actions/get-widget-user-stats.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAGjD;AAAA,cACW,mCAAA,EAAqC,CAAA,CAAE,UAQkB;AAAA,cAEzD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-widget-user-stats.d.ts
|
|
4
|
+
declare const NiftyimagesGetWidgetUserStatsInput: z.ZodTypeAny;
|
|
5
|
+
declare const NiftyimagesGetWidgetUserStatsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const niftyimagesGetWidgetUserStats: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { niftyimagesGetWidgetUserStats };
|
|
9
|
+
//# sourceMappingURL=get-widget-user-stats.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-widget-user-stats.d.mts","names":[],"sources":["../../src/actions/get-widget-user-stats.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAGjD;AAAA,cACW,mCAAA,EAAqC,CAAA,CAAE,UAQkB;AAAA,cAEzD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const niftyimagesGetWidgetUserStats = action("NIFTYIMAGES_GET_WIDGET_USER_STATS", {
|
|
4
|
+
slug: "niftyimages-get-widget-user-stats",
|
|
5
|
+
name: "Get Widget User Stats",
|
|
6
|
+
description: "Tool to get aggregated stats for a specific user on a widget. Use when you need to retrieve performance metrics for a particular user's interaction with a widget.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
user: z.string().describe("The user identifier for which to retrieve aggregated stats"),
|
|
9
|
+
widget_key: z.string().describe("The unique identifier (key) of the widget")
|
|
10
|
+
}),
|
|
11
|
+
output: z.object({
|
|
12
|
+
user: z.string().describe("The user identifier").nullable().optional(),
|
|
13
|
+
last_seen: z.string().describe("ISO 8601 formatted timestamp of when user was last seen").nullable().optional(),
|
|
14
|
+
first_seen: z.string().describe("ISO 8601 formatted timestamp of when user was first seen").nullable().optional(),
|
|
15
|
+
widget_key: z.string().describe("The widget key").nullable().optional(),
|
|
16
|
+
total_views: z.number().int().describe("Total number of views for this user").nullable().optional(),
|
|
17
|
+
total_clicks: z.number().int().describe("Total number of clicks for this user").nullable().optional(),
|
|
18
|
+
total_impressions: z.number().int().describe("Total number of impressions for this user").nullable().optional()
|
|
19
|
+
}).describe("Response containing aggregated user stats for a widget.")
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { niftyimagesGetWidgetUserStats };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=get-widget-user-stats.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-widget-user-stats.mjs","names":[],"sources":["../../src/actions/get-widget-user-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesGetWidgetUserStatsInput: z.ZodTypeAny = z.object({\n user: z.string().describe(\"The user identifier for which to retrieve aggregated stats\"),\n widget_key: z.string().describe(\"The unique identifier (key) of the widget\"),\n});\nexport const NiftyimagesGetWidgetUserStatsOutput: z.ZodTypeAny = z.object({\n user: z.string().describe(\"The user identifier\").nullable().optional(),\n last_seen: z.string().describe(\"ISO 8601 formatted timestamp of when user was last seen\").nullable().optional(),\n first_seen: z.string().describe(\"ISO 8601 formatted timestamp of when user was first seen\").nullable().optional(),\n widget_key: z.string().describe(\"The widget key\").nullable().optional(),\n total_views: z.number().int().describe(\"Total number of views for this user\").nullable().optional(),\n total_clicks: z.number().int().describe(\"Total number of clicks for this user\").nullable().optional(),\n total_impressions: z.number().int().describe(\"Total number of impressions for this user\").nullable().optional(),\n}).describe(\"Response containing aggregated user stats for a widget.\");\n\nexport const niftyimagesGetWidgetUserStats = action(\"NIFTYIMAGES_GET_WIDGET_USER_STATS\", {\n slug: \"niftyimages-get-widget-user-stats\",\n name: \"Get Widget User Stats\",\n description: \"Tool to get aggregated stats for a specific user on a widget. Use when you need to retrieve performance metrics for a particular user's interaction with a widget.\",\n input: NiftyimagesGetWidgetUserStatsInput,\n output: NiftyimagesGetWidgetUserStatsOutput,\n});\n"],"mappings":";;AAkBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB8D,EAAE,OAAO;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC7E,CAeS;CACP,QAf+D,EAAE,OAAO;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_get_images_stats = require("./get-images-stats.cjs");
|
|
3
|
+
const require_get_widget_user_images = require("./get-widget-user-images.cjs");
|
|
4
|
+
const require_get_widget_user_stats = require("./get-widget-user-stats.cjs");
|
|
5
|
+
const require_list_images = require("./list-images.cjs");
|
|
6
|
+
const require_list_maps = require("./list-maps.cjs");
|
|
7
|
+
const require_list_widget_images = require("./list-widget-images.cjs");
|
|
8
|
+
const require_list_widget_stats = require("./list-widget-stats.cjs");
|
|
9
|
+
const require_list_widget_users = require("./list-widget-users.cjs");
|
|
10
|
+
const require_list_widgets = require("./list-widgets.cjs");
|
|
11
|
+
exports.niftyimagesGetImagesStats = require_get_images_stats.niftyimagesGetImagesStats;
|
|
12
|
+
exports.niftyimagesGetWidgetUserImages = require_get_widget_user_images.niftyimagesGetWidgetUserImages;
|
|
13
|
+
exports.niftyimagesGetWidgetUserStats = require_get_widget_user_stats.niftyimagesGetWidgetUserStats;
|
|
14
|
+
exports.niftyimagesListImages = require_list_images.niftyimagesListImages;
|
|
15
|
+
exports.niftyimagesListMaps = require_list_maps.niftyimagesListMaps;
|
|
16
|
+
exports.niftyimagesListWidgetImages = require_list_widget_images.niftyimagesListWidgetImages;
|
|
17
|
+
exports.niftyimagesListWidgetStats = require_list_widget_stats.niftyimagesListWidgetStats;
|
|
18
|
+
exports.niftyimagesListWidgetUsers = require_list_widget_users.niftyimagesListWidgetUsers;
|
|
19
|
+
exports.niftyimagesListWidgets = require_list_widgets.niftyimagesListWidgets;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { niftyimagesGetImagesStats } from "./get-images-stats.cjs";
|
|
2
|
+
import { niftyimagesGetWidgetUserImages } from "./get-widget-user-images.cjs";
|
|
3
|
+
import { niftyimagesGetWidgetUserStats } from "./get-widget-user-stats.cjs";
|
|
4
|
+
import { niftyimagesListImages } from "./list-images.cjs";
|
|
5
|
+
import { niftyimagesListMaps } from "./list-maps.cjs";
|
|
6
|
+
import { niftyimagesListWidgetImages } from "./list-widget-images.cjs";
|
|
7
|
+
import { niftyimagesListWidgetStats } from "./list-widget-stats.cjs";
|
|
8
|
+
import { niftyimagesListWidgetUsers } from "./list-widget-users.cjs";
|
|
9
|
+
import { niftyimagesListWidgets } from "./list-widgets.cjs";
|
|
10
|
+
export { niftyimagesGetImagesStats, niftyimagesGetWidgetUserImages, niftyimagesGetWidgetUserStats, niftyimagesListImages, niftyimagesListMaps, niftyimagesListWidgetImages, niftyimagesListWidgetStats, niftyimagesListWidgetUsers, niftyimagesListWidgets };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { niftyimagesGetImagesStats } from "./get-images-stats.mjs";
|
|
2
|
+
import { niftyimagesGetWidgetUserImages } from "./get-widget-user-images.mjs";
|
|
3
|
+
import { niftyimagesGetWidgetUserStats } from "./get-widget-user-stats.mjs";
|
|
4
|
+
import { niftyimagesListImages } from "./list-images.mjs";
|
|
5
|
+
import { niftyimagesListMaps } from "./list-maps.mjs";
|
|
6
|
+
import { niftyimagesListWidgetImages } from "./list-widget-images.mjs";
|
|
7
|
+
import { niftyimagesListWidgetStats } from "./list-widget-stats.mjs";
|
|
8
|
+
import { niftyimagesListWidgetUsers } from "./list-widget-users.mjs";
|
|
9
|
+
import { niftyimagesListWidgets } from "./list-widgets.mjs";
|
|
10
|
+
export { niftyimagesGetImagesStats, niftyimagesGetWidgetUserImages, niftyimagesGetWidgetUserStats, niftyimagesListImages, niftyimagesListMaps, niftyimagesListWidgetImages, niftyimagesListWidgetStats, niftyimagesListWidgetUsers, niftyimagesListWidgets };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { niftyimagesGetImagesStats } from "./get-images-stats.mjs";
|
|
2
|
+
import { niftyimagesGetWidgetUserImages } from "./get-widget-user-images.mjs";
|
|
3
|
+
import { niftyimagesGetWidgetUserStats } from "./get-widget-user-stats.mjs";
|
|
4
|
+
import { niftyimagesListImages } from "./list-images.mjs";
|
|
5
|
+
import { niftyimagesListMaps } from "./list-maps.mjs";
|
|
6
|
+
import { niftyimagesListWidgetImages } from "./list-widget-images.mjs";
|
|
7
|
+
import { niftyimagesListWidgetStats } from "./list-widget-stats.mjs";
|
|
8
|
+
import { niftyimagesListWidgetUsers } from "./list-widget-users.mjs";
|
|
9
|
+
import { niftyimagesListWidgets } from "./list-widgets.mjs";
|
|
10
|
+
export { niftyimagesGetImagesStats, niftyimagesGetWidgetUserImages, niftyimagesGetWidgetUserStats, niftyimagesListImages, niftyimagesListMaps, niftyimagesListWidgetImages, niftyimagesListWidgetStats, niftyimagesListWidgetUsers, niftyimagesListWidgets };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-images.ts
|
|
4
|
+
const NiftyimagesListImagesInput = zod.z.object({
|
|
5
|
+
page: zod.z.number().int().describe("Page number to retrieve (1-based). Defaults to the first page when not specified.").optional(),
|
|
6
|
+
page_size: zod.z.number().int().describe("Number of images to return per page. Defaults to the API default when not specified.").optional()
|
|
7
|
+
}).describe("Request model for listing/paging through images.");
|
|
8
|
+
const NiftyimagesListImages_ImageSchema = zod.z.object({
|
|
9
|
+
Name: zod.z.string().describe("Name of the image").nullable().optional(),
|
|
10
|
+
ImageKey: zod.z.string().describe("Unique identifier of the image").nullable().optional(),
|
|
11
|
+
CreateDate: zod.z.string().describe("ISO 8601 formatted date when the image was created").nullable().optional(),
|
|
12
|
+
UpdateDate: zod.z.string().describe("ISO 8601 formatted date when the image was last updated").nullable().optional()
|
|
13
|
+
}).describe("Represents a single image in the NiftyImages account.");
|
|
14
|
+
const NiftyimagesListImagesOutput = zod.z.object({
|
|
15
|
+
total: zod.z.number().int().default(0).describe("Total number of images returned").nullable().optional(),
|
|
16
|
+
images: zod.z.array(NiftyimagesListImages_ImageSchema).describe("Array of images in the account").nullable().optional()
|
|
17
|
+
}).describe("Response model for listing images.");
|
|
18
|
+
const niftyimagesListImages = require_action.action("NIFTYIMAGES_LIST_IMAGES", {
|
|
19
|
+
slug: "niftyimages-list-images",
|
|
20
|
+
name: "List Images",
|
|
21
|
+
description: "Tool to page through images in your NiftyImages account. Use when you need to retrieve a list of all available images.",
|
|
22
|
+
input: NiftyimagesListImagesInput,
|
|
23
|
+
output: NiftyimagesListImagesOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.niftyimagesListImages = niftyimagesListImages;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=list-images.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-images.cjs","names":["z","action"],"sources":["../../src/actions/list-images.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListImagesInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number to retrieve (1-based). Defaults to the first page when not specified.\").optional(),\n page_size: z.number().int().describe(\"Number of images to return per page. Defaults to the API default when not specified.\").optional(),\n}).describe(\"Request model for listing/paging through images.\");\nconst NiftyimagesListImages_ImageSchema: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"Name of the image\").nullable().optional(),\n ImageKey: z.string().describe(\"Unique identifier of the image\").nullable().optional(),\n CreateDate: z.string().describe(\"ISO 8601 formatted date when the image was created\").nullable().optional(),\n UpdateDate: z.string().describe(\"ISO 8601 formatted date when the image was last updated\").nullable().optional(),\n}).describe(\"Represents a single image in the NiftyImages account.\");\nexport const NiftyimagesListImagesOutput: z.ZodTypeAny = z.object({\n total: z.number().int().default(0).describe(\"Total number of images returned\").nullable().optional(),\n images: z.array(NiftyimagesListImages_ImageSchema).describe(\"Array of images in the account\").nullable().optional(),\n}).describe(\"Response model for listing images.\");\n\nexport const niftyimagesListImages = action(\"NIFTYIMAGES_LIST_IMAGES\", {\n slug: \"niftyimages-list-images\",\n name: \"List Images\",\n description: \"Tool to page through images in your NiftyImages account. Use when you need to retrieve a list of all available images.\",\n input: NiftyimagesListImagesInput,\n output: NiftyimagesListImagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-images.d.ts
|
|
4
|
+
declare const NiftyimagesListImagesInput: z.ZodTypeAny;
|
|
5
|
+
declare const NiftyimagesListImagesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const niftyimagesListImages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { niftyimagesListImages };
|
|
9
|
+
//# sourceMappingURL=list-images.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-images.d.cts","names":[],"sources":["../../src/actions/list-images.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGoB;AAAA,cAOlD,2BAAA,EAA6B,CAAA,CAAE,UAGK;AAAA,cAEpC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-images.d.ts
|
|
4
|
+
declare const NiftyimagesListImagesInput: z.ZodTypeAny;
|
|
5
|
+
declare const NiftyimagesListImagesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const niftyimagesListImages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { niftyimagesListImages };
|
|
9
|
+
//# sourceMappingURL=list-images.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-images.d.mts","names":[],"sources":["../../src/actions/list-images.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGoB;AAAA,cAOlD,2BAAA,EAA6B,CAAA,CAAE,UAGK;AAAA,cAEpC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-images.ts
|
|
4
|
+
const NiftyimagesListImagesInput = z.object({
|
|
5
|
+
page: z.number().int().describe("Page number to retrieve (1-based). Defaults to the first page when not specified.").optional(),
|
|
6
|
+
page_size: z.number().int().describe("Number of images to return per page. Defaults to the API default when not specified.").optional()
|
|
7
|
+
}).describe("Request model for listing/paging through images.");
|
|
8
|
+
const NiftyimagesListImages_ImageSchema = z.object({
|
|
9
|
+
Name: z.string().describe("Name of the image").nullable().optional(),
|
|
10
|
+
ImageKey: z.string().describe("Unique identifier of the image").nullable().optional(),
|
|
11
|
+
CreateDate: z.string().describe("ISO 8601 formatted date when the image was created").nullable().optional(),
|
|
12
|
+
UpdateDate: z.string().describe("ISO 8601 formatted date when the image was last updated").nullable().optional()
|
|
13
|
+
}).describe("Represents a single image in the NiftyImages account.");
|
|
14
|
+
const niftyimagesListImages = action("NIFTYIMAGES_LIST_IMAGES", {
|
|
15
|
+
slug: "niftyimages-list-images",
|
|
16
|
+
name: "List Images",
|
|
17
|
+
description: "Tool to page through images in your NiftyImages account. Use when you need to retrieve a list of all available images.",
|
|
18
|
+
input: NiftyimagesListImagesInput,
|
|
19
|
+
output: z.object({
|
|
20
|
+
total: z.number().int().default(0).describe("Total number of images returned").nullable().optional(),
|
|
21
|
+
images: z.array(NiftyimagesListImages_ImageSchema).describe("Array of images in the account").nullable().optional()
|
|
22
|
+
}).describe("Response model for listing images.")
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { niftyimagesListImages };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=list-images.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-images.mjs","names":[],"sources":["../../src/actions/list-images.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListImagesInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number to retrieve (1-based). Defaults to the first page when not specified.\").optional(),\n page_size: z.number().int().describe(\"Number of images to return per page. Defaults to the API default when not specified.\").optional(),\n}).describe(\"Request model for listing/paging through images.\");\nconst NiftyimagesListImages_ImageSchema: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"Name of the image\").nullable().optional(),\n ImageKey: z.string().describe(\"Unique identifier of the image\").nullable().optional(),\n CreateDate: z.string().describe(\"ISO 8601 formatted date when the image was created\").nullable().optional(),\n UpdateDate: z.string().describe(\"ISO 8601 formatted date when the image was last updated\").nullable().optional(),\n}).describe(\"Represents a single image in the NiftyImages account.\");\nexport const NiftyimagesListImagesOutput: z.ZodTypeAny = z.object({\n total: z.number().int().default(0).describe(\"Total number of images returned\").nullable().optional(),\n images: z.array(NiftyimagesListImages_ImageSchema).describe(\"Array of images in the account\").nullable().optional(),\n}).describe(\"Response model for listing images.\");\n\nexport const niftyimagesListImages = action(\"NIFTYIMAGES_LIST_IMAGES\", {\n slug: \"niftyimages-list-images\",\n name: \"List Images\",\n description: \"Tool to page through images in your NiftyImages account. Use when you need to retrieve a list of all available images.\",\n input: NiftyimagesListImagesInput,\n output: NiftyimagesListImagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,oCAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAMnE,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuD,EAAE,OAAO;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-maps.ts
|
|
4
|
+
const NiftyimagesListMapsInput = zod.z.object({}).describe("Request model for listing all maps in your NiftyImages account.\nNo parameters required.");
|
|
5
|
+
const NiftyimagesListMaps_MapSchema = zod.z.object({
|
|
6
|
+
Name: zod.z.string().describe("The name of the map").nullable().optional(),
|
|
7
|
+
MapKey: zod.z.string().describe("Unique identifier for the map").nullable().optional(),
|
|
8
|
+
CreatedDate: zod.z.string().describe("Date when the map was created (ISO 8601 format)").nullable().optional(),
|
|
9
|
+
ModifiedDate: zod.z.string().describe("Date when the map was last modified (ISO 8601 format)").nullable().optional()
|
|
10
|
+
}).describe("A map object in NiftyImages.");
|
|
11
|
+
const NiftyimagesListMapsOutput = zod.z.object({ maps: zod.z.array(NiftyimagesListMaps_MapSchema).describe("List of maps in your account").nullable().optional() }).describe("Response model for listing maps.\nReturns an array of map objects.");
|
|
12
|
+
const niftyimagesListMaps = require_action.action("NIFTYIMAGES_LIST_MAPS", {
|
|
13
|
+
slug: "niftyimages-list-maps",
|
|
14
|
+
name: "List Maps",
|
|
15
|
+
description: "Tool to retrieve all maps in your NiftyImages account. Use when you need to view all available maps for geo-targeting or location-based email content.",
|
|
16
|
+
input: NiftyimagesListMapsInput,
|
|
17
|
+
output: NiftyimagesListMapsOutput
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
exports.niftyimagesListMaps = niftyimagesListMaps;
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=list-maps.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-maps.cjs","names":["z","action"],"sources":["../../src/actions/list-maps.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListMapsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing all maps in your NiftyImages account.\\nNo parameters required.\");\nconst NiftyimagesListMaps_MapSchema: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"The name of the map\").nullable().optional(),\n MapKey: z.string().describe(\"Unique identifier for the map\").nullable().optional(),\n CreatedDate: z.string().describe(\"Date when the map was created (ISO 8601 format)\").nullable().optional(),\n ModifiedDate: z.string().describe(\"Date when the map was last modified (ISO 8601 format)\").nullable().optional(),\n}).describe(\"A map object in NiftyImages.\");\nexport const NiftyimagesListMapsOutput: z.ZodTypeAny = z.object({\n maps: z.array(NiftyimagesListMaps_MapSchema).describe(\"List of maps in your account\").nullable().optional(),\n}).describe(\"Response model for listing maps.\\nReturns an array of map objects.\");\n\nexport const niftyimagesListMaps = action(\"NIFTYIMAGES_LIST_MAPS\", {\n slug: \"niftyimages-list-maps\",\n name: \"List Maps\",\n description: \"Tool to retrieve all maps in your NiftyImages account. Use when you need to view all available maps for geo-targeting or location-based email content.\",\n input: NiftyimagesListMapsInput,\n output: NiftyimagesListMapsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtK,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,MAAMA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5G,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-maps.d.ts
|
|
4
|
+
declare const NiftyimagesListMapsInput: z.ZodTypeAny;
|
|
5
|
+
declare const NiftyimagesListMapsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const niftyimagesListMaps: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { niftyimagesListMaps };
|
|
9
|
+
//# sourceMappingURL=list-maps.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-maps.d.cts","names":[],"sources":["../../src/actions/list-maps.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAA8H;AAAA,cAO1J,yBAAA,EAA2B,CAAA,CAAE,UAEuC;AAAA,cAEpE,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-maps.d.ts
|
|
4
|
+
declare const NiftyimagesListMapsInput: z.ZodTypeAny;
|
|
5
|
+
declare const NiftyimagesListMapsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const niftyimagesListMaps: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { niftyimagesListMaps };
|
|
9
|
+
//# sourceMappingURL=list-maps.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-maps.d.mts","names":[],"sources":["../../src/actions/list-maps.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAA8H;AAAA,cAO1J,yBAAA,EAA2B,CAAA,CAAE,UAEuC;AAAA,cAEpE,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|