@keystrokehq/niftyimages 0.1.0 → 0.1.2
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/get-images-stats.cjs.map +1 -1
- package/dist/actions/get-images-stats.d.cts +11 -3
- package/dist/actions/get-images-stats.d.cts.map +1 -1
- package/dist/actions/get-images-stats.d.mts +11 -3
- package/dist/actions/get-images-stats.d.mts.map +1 -1
- package/dist/actions/get-images-stats.mjs.map +1 -1
- package/dist/actions/get-widget-user-images.cjs.map +1 -1
- package/dist/actions/get-widget-user-images.d.cts +15 -3
- package/dist/actions/get-widget-user-images.d.cts.map +1 -1
- package/dist/actions/get-widget-user-images.d.mts +15 -3
- package/dist/actions/get-widget-user-images.d.mts.map +1 -1
- package/dist/actions/get-widget-user-images.mjs.map +1 -1
- package/dist/actions/get-widget-user-stats.cjs.map +1 -1
- package/dist/actions/get-widget-user-stats.d.cts +17 -3
- package/dist/actions/get-widget-user-stats.d.cts.map +1 -1
- package/dist/actions/get-widget-user-stats.d.mts +17 -3
- package/dist/actions/get-widget-user-stats.d.mts.map +1 -1
- package/dist/actions/get-widget-user-stats.mjs.map +1 -1
- package/dist/actions/list-images.cjs.map +1 -1
- package/dist/actions/list-images.d.cts +17 -3
- package/dist/actions/list-images.d.cts.map +1 -1
- package/dist/actions/list-images.d.mts +17 -3
- package/dist/actions/list-images.d.mts.map +1 -1
- package/dist/actions/list-images.mjs.map +1 -1
- package/dist/actions/list-maps.cjs.map +1 -1
- package/dist/actions/list-maps.d.cts +10 -3
- package/dist/actions/list-maps.d.cts.map +1 -1
- package/dist/actions/list-maps.d.mts +10 -3
- package/dist/actions/list-maps.d.mts.map +1 -1
- package/dist/actions/list-maps.mjs.map +1 -1
- package/dist/actions/list-widget-images.cjs.map +1 -1
- package/dist/actions/list-widget-images.d.cts +18 -3
- package/dist/actions/list-widget-images.d.cts.map +1 -1
- package/dist/actions/list-widget-images.d.mts +18 -3
- package/dist/actions/list-widget-images.d.mts.map +1 -1
- package/dist/actions/list-widget-images.mjs.map +1 -1
- package/dist/actions/list-widget-stats.cjs.map +1 -1
- package/dist/actions/list-widget-stats.d.cts +24 -3
- package/dist/actions/list-widget-stats.d.cts.map +1 -1
- package/dist/actions/list-widget-stats.d.mts +24 -3
- package/dist/actions/list-widget-stats.d.mts.map +1 -1
- package/dist/actions/list-widget-stats.mjs.map +1 -1
- package/dist/actions/list-widget-users.cjs.map +1 -1
- package/dist/actions/list-widget-users.d.cts +20 -3
- package/dist/actions/list-widget-users.d.cts.map +1 -1
- package/dist/actions/list-widget-users.d.mts +20 -3
- package/dist/actions/list-widget-users.d.mts.map +1 -1
- package/dist/actions/list-widget-users.mjs.map +1 -1
- package/dist/actions/list-widgets.cjs.map +1 -1
- package/dist/actions/list-widgets.d.cts +8 -3
- package/dist/actions/list-widgets.d.cts.map +1 -1
- package/dist/actions/list-widgets.d.mts +8 -3
- package/dist/actions/list-widgets.d.mts.map +1 -1
- package/dist/actions/list-widgets.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +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:
|
|
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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\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 as z.ZodTypeAny,\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.map
CHANGED
|
@@ -1 +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:
|
|
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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\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 as z.ZodTypeAny,\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"}
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for getting aggregated stats for all images.\");\nconst NiftyimagesGetImagesStats_ImageStatsItemSchema = 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.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,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAChI,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,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,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,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"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-images-stats.d.ts
|
|
4
|
-
declare const NiftyimagesGetImagesStatsInput: z.
|
|
5
|
-
declare const NiftyimagesGetImagesStatsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const NiftyimagesGetImagesStatsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const NiftyimagesGetImagesStatsOutput: z.ZodObject<{
|
|
6
|
+
stats: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7
|
+
views: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8
|
+
clicks: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
image_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
image_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
impressions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
}, z.core.$strip>>>>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const niftyimagesGetImagesStats: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { niftyimagesGetImagesStats };
|
|
9
17
|
//# sourceMappingURL=get-images-stats.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-images-stats.d.cts","names":[],"sources":["../../src/actions/get-images-stats.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"get-images-stats.d.cts","names":[],"sources":["../../src/actions/get-images-stats.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-images-stats.d.ts
|
|
4
|
-
declare const NiftyimagesGetImagesStatsInput: z.
|
|
5
|
-
declare const NiftyimagesGetImagesStatsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const NiftyimagesGetImagesStatsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const NiftyimagesGetImagesStatsOutput: z.ZodObject<{
|
|
6
|
+
stats: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7
|
+
views: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8
|
+
clicks: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
image_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
image_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
impressions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
}, z.core.$strip>>>>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const niftyimagesGetImagesStats: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { niftyimagesGetImagesStats };
|
|
9
17
|
//# sourceMappingURL=get-images-stats.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-images-stats.d.mts","names":[],"sources":["../../src/actions/get-images-stats.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"get-images-stats.d.mts","names":[],"sources":["../../src/actions/get-images-stats.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for getting aggregated stats for all images.\");\nconst NiftyimagesGetImagesStats_ImageStatsItemSchema = 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.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,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAChI,MAAM,iDAAiD,EAAE,OAAO;CAC9D,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,QAT6C,EAAE,OAAO,EACtD,OAAO,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpN,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
|
|
@@ -1 +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
|
|
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.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.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.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,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,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,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,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,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,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"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-widget-user-images.d.ts
|
|
4
|
-
declare const NiftyimagesGetWidgetUserImagesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NiftyimagesGetWidgetUserImagesInput: z.ZodObject<{
|
|
5
|
+
user: z.ZodString;
|
|
6
|
+
widget_key: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const NiftyimagesGetWidgetUserImagesOutput: z.ZodObject<{
|
|
9
|
+
images: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10
|
+
Url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
ImageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
}, z.core.$strip>>>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const niftyimagesGetWidgetUserImages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
user: string;
|
|
17
|
+
widget_key: string;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { niftyimagesGetWidgetUserImages };
|
|
9
21
|
//# sourceMappingURL=get-widget-user-images.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-widget-user-images.d.cts","names":[],"sources":["../../src/actions/get-widget-user-images.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"get-widget-user-images.d.cts","names":[],"sources":["../../src/actions/get-widget-user-images.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cASnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-widget-user-images.d.ts
|
|
4
|
-
declare const NiftyimagesGetWidgetUserImagesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NiftyimagesGetWidgetUserImagesInput: z.ZodObject<{
|
|
5
|
+
user: z.ZodString;
|
|
6
|
+
widget_key: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const NiftyimagesGetWidgetUserImagesOutput: z.ZodObject<{
|
|
9
|
+
images: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10
|
+
Url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
ImageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
}, z.core.$strip>>>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const niftyimagesGetWidgetUserImages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
user: string;
|
|
17
|
+
widget_key: string;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { niftyimagesGetWidgetUserImages };
|
|
9
21
|
//# sourceMappingURL=get-widget-user-images.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-widget-user-images.d.mts","names":[],"sources":["../../src/actions/get-widget-user-images.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"get-widget-user-images.d.mts","names":[],"sources":["../../src/actions/get-widget-user-images.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cASnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1 +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
|
|
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.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.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.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,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;AAChH,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,mDAAmD,EAAE,OAAO;CAChE,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,QATkD,EAAE,OAAO,EAC3D,QAAQ,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnL,CAAC,CAAC,CAAC,SAAS,+DAOF;AACV,CAAC"}
|
|
@@ -1 +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
|
|
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.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.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,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC7E,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,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"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-widget-user-stats.d.ts
|
|
4
|
-
declare const NiftyimagesGetWidgetUserStatsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NiftyimagesGetWidgetUserStatsInput: z.ZodObject<{
|
|
5
|
+
user: z.ZodString;
|
|
6
|
+
widget_key: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const NiftyimagesGetWidgetUserStatsOutput: z.ZodObject<{
|
|
9
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
last_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
widget_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
total_views: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
total_clicks: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
total_impressions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const niftyimagesGetWidgetUserStats: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
user: string;
|
|
19
|
+
widget_key: string;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { niftyimagesGetWidgetUserStats };
|
|
9
23
|
//# sourceMappingURL=get-widget-user-stats.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-widget-user-stats.d.cts","names":[],"sources":["../../src/actions/get-widget-user-stats.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"get-widget-user-stats.d.cts","names":[],"sources":["../../src/actions/get-widget-user-stats.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cAUnC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-widget-user-stats.d.ts
|
|
4
|
-
declare const NiftyimagesGetWidgetUserStatsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NiftyimagesGetWidgetUserStatsInput: z.ZodObject<{
|
|
5
|
+
user: z.ZodString;
|
|
6
|
+
widget_key: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const NiftyimagesGetWidgetUserStatsOutput: z.ZodObject<{
|
|
9
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
last_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
first_seen: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
widget_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
total_views: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
total_clicks: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
total_impressions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const niftyimagesGetWidgetUserStats: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
user: string;
|
|
19
|
+
widget_key: string;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { niftyimagesGetWidgetUserStats };
|
|
9
23
|
//# sourceMappingURL=get-widget-user-stats.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-widget-user-stats.d.mts","names":[],"sources":["../../src/actions/get-widget-user-stats.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"get-widget-user-stats.d.mts","names":[],"sources":["../../src/actions/get-widget-user-stats.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cAUnC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -1 +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
|
|
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.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.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,OAlBgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC7E,CAeS;CACP,QAfiD,EAAE,OAAO;EAC1D,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"}
|
|
@@ -1 +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
|
|
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.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.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.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,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,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,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,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,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-images.d.ts
|
|
4
|
-
declare const NiftyimagesListImagesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NiftyimagesListImagesInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const NiftyimagesListImagesOutput: z.ZodObject<{
|
|
9
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
10
|
+
images: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
ImageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
CreateDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
UpdateDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>>>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const niftyimagesListImages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
page?: number | undefined;
|
|
19
|
+
page_size?: number | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { niftyimagesListImages };
|
|
9
23
|
//# sourceMappingURL=list-images.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-images.d.cts","names":[],"sources":["../../src/actions/list-images.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"list-images.d.cts","names":[],"sources":["../../src/actions/list-images.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAU1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-images.d.ts
|
|
4
|
-
declare const NiftyimagesListImagesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NiftyimagesListImagesInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
page_size: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const NiftyimagesListImagesOutput: z.ZodObject<{
|
|
9
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
10
|
+
images: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
ImageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
CreateDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
UpdateDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>>>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const niftyimagesListImages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
page?: number | undefined;
|
|
19
|
+
page_size?: number | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { niftyimagesListImages };
|
|
9
23
|
//# sourceMappingURL=list-images.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-images.d.mts","names":[],"sources":["../../src/actions/list-images.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"list-images.d.mts","names":[],"sources":["../../src/actions/list-images.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAU1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1 +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
|
|
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.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.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.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,6BAA6B,EAAE,OAAO;CACjD,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,oCAAoC,EAAE,OAAO;CACjD,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,QAVyC,EAAE,OAAO;EAClD,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"}
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for listing all maps in your NiftyImages account.\\nNo parameters required.\");\nconst NiftyimagesListMaps_MapSchema = 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.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,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACxJ,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,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,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,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"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-maps.d.ts
|
|
4
|
-
declare const NiftyimagesListMapsInput: z.
|
|
5
|
-
declare const NiftyimagesListMapsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const NiftyimagesListMapsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const NiftyimagesListMapsOutput: z.ZodObject<{
|
|
6
|
+
maps: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
MapKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
CreatedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
ModifiedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
}, z.core.$strip>>>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const niftyimagesListMaps: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { niftyimagesListMaps };
|
|
9
16
|
//# sourceMappingURL=list-maps.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-maps.d.cts","names":[],"sources":["../../src/actions/list-maps.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"list-maps.d.cts","names":[],"sources":["../../src/actions/list-maps.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-maps.d.ts
|
|
4
|
-
declare const NiftyimagesListMapsInput: z.
|
|
5
|
-
declare const NiftyimagesListMapsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const NiftyimagesListMapsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const NiftyimagesListMapsOutput: z.ZodObject<{
|
|
6
|
+
maps: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
MapKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
CreatedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
ModifiedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
}, z.core.$strip>>>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const niftyimagesListMaps: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { niftyimagesListMaps };
|
|
9
16
|
//# sourceMappingURL=list-maps.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-maps.d.mts","names":[],"sources":["../../src/actions/list-maps.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"list-maps.d.mts","names":[],"sources":["../../src/actions/list-maps.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-maps.mjs","names":[],"sources":["../../src/actions/list-maps.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListMapsInput
|
|
1
|
+
{"version":3,"file":"list-maps.mjs","names":[],"sources":["../../src/actions/list-maps.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListMapsInput = z.object({}).describe(\"Request model for listing all maps in your NiftyImages account.\\nNo parameters required.\");\nconst NiftyimagesListMaps_MapSchema = 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.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,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACxJ,MAAM,gCAAgC,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAK1C,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,MAAM,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5G,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-widget-images.cjs","names":["z","action"],"sources":["../../src/actions/list-widget-images.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListWidgetImagesInput
|
|
1
|
+
{"version":3,"file":"list-widget-images.cjs","names":["z","action"],"sources":["../../src/actions/list-widget-images.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListWidgetImagesInput = z.object({\n end_date: z.string().describe(\"End date in ISO 8601 format (e.g., 2024-12-31T23:59:59Z). Filter images created on or before this date.\").optional(),\n start_date: z.string().describe(\"Start date in ISO 8601 format (e.g., 2024-01-01T00:00:00Z). Filter images created on or after this date.\").optional(),\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 time frame.\");\nconst NiftyimagesListWidgetImages_WidgetImageSchema = 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 CreatedAt: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n}).describe(\"Individual widget image item.\");\nexport const NiftyimagesListWidgetImagesOutput = z.object({\n images: z.array(NiftyimagesListWidgetImages_WidgetImageSchema).describe(\"List of widget images for the specified time frame. May be empty if no images exist.\").nullable().optional(),\n}).describe(\"Response model for listing widget images.\");\n\nexport const niftyimagesListWidgetImages = action(\"NIFTYIMAGES_LIST_WIDGET_IMAGES\", {\n slug: \"niftyimages-list-widget-images\",\n name: \"List Widget Images\",\n description: \"Tool to list widget images for a time frame. Use when you need to retrieve images generated by a specific widget within an optional date range.\",\n input: NiftyimagesListWidgetImagesInput,\n output: NiftyimagesListWidgetImagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAClJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACrJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;AAChH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtL,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-widget-images.d.ts
|
|
4
|
-
declare const NiftyimagesListWidgetImagesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NiftyimagesListWidgetImagesInput: z.ZodObject<{
|
|
5
|
+
end_date: z.ZodOptional<z.ZodString>;
|
|
6
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
7
|
+
widget_key: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const NiftyimagesListWidgetImagesOutput: z.ZodObject<{
|
|
10
|
+
images: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
Url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
ImageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
CreatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>>>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const niftyimagesListWidgetImages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
widget_key: string;
|
|
19
|
+
end_date?: string | undefined;
|
|
20
|
+
start_date?: string | undefined;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { niftyimagesListWidgetImages };
|
|
9
24
|
//# sourceMappingURL=list-widget-images.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-widget-images.d.cts","names":[],"sources":["../../src/actions/list-widget-images.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"list-widget-images.d.cts","names":[],"sources":["../../src/actions/list-widget-images.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-widget-images.d.ts
|
|
4
|
-
declare const NiftyimagesListWidgetImagesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NiftyimagesListWidgetImagesInput: z.ZodObject<{
|
|
5
|
+
end_date: z.ZodOptional<z.ZodString>;
|
|
6
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
7
|
+
widget_key: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const NiftyimagesListWidgetImagesOutput: z.ZodObject<{
|
|
10
|
+
images: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
Url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
ImageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
CreatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>>>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const niftyimagesListWidgetImages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
widget_key: string;
|
|
19
|
+
end_date?: string | undefined;
|
|
20
|
+
start_date?: string | undefined;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { niftyimagesListWidgetImages };
|
|
9
24
|
//# sourceMappingURL=list-widget-images.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-widget-images.d.mts","names":[],"sources":["../../src/actions/list-widget-images.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"list-widget-images.d.mts","names":[],"sources":["../../src/actions/list-widget-images.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-widget-images.mjs","names":[],"sources":["../../src/actions/list-widget-images.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListWidgetImagesInput
|
|
1
|
+
{"version":3,"file":"list-widget-images.mjs","names":[],"sources":["../../src/actions/list-widget-images.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListWidgetImagesInput = z.object({\n end_date: z.string().describe(\"End date in ISO 8601 format (e.g., 2024-12-31T23:59:59Z). Filter images created on or before this date.\").optional(),\n start_date: z.string().describe(\"Start date in ISO 8601 format (e.g., 2024-01-01T00:00:00Z). Filter images created on or after this date.\").optional(),\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 time frame.\");\nconst NiftyimagesListWidgetImages_WidgetImageSchema = 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 CreatedAt: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n}).describe(\"Individual widget image item.\");\nexport const NiftyimagesListWidgetImagesOutput = z.object({\n images: z.array(NiftyimagesListWidgetImages_WidgetImageSchema).describe(\"List of widget images for the specified time frame. May be empty if no images exist.\").nullable().optional(),\n}).describe(\"Response model for listing widget images.\");\n\nexport const niftyimagesListWidgetImages = action(\"NIFTYIMAGES_LIST_WIDGET_IMAGES\", {\n slug: \"niftyimages-list-widget-images\",\n name: \"List Widget Images\",\n description: \"Tool to list widget images for a time frame. Use when you need to retrieve images generated by a specific widget within an optional date range.\",\n input: NiftyimagesListWidgetImagesInput,\n output: NiftyimagesListWidgetImagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAClJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACrJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;AAChH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAK3C,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,QAAQ,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtL,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-widget-stats.cjs","names":["z","action"],"sources":["../../src/actions/list-widget-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListWidgetStatsInput
|
|
1
|
+
{"version":3,"file":"list-widget-stats.cjs","names":["z","action"],"sources":["../../src/actions/list-widget-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListWidgetStatsInput = z.object({\n endDate: z.string().describe(\"End date for the stats time frame in ISO 8601 format (e.g., 2016-03-10T08:00Z). If not provided, stats up to the current time will be included.\").optional(),\n startDate: z.string().describe(\"Start date for the stats time frame in ISO 8601 format (e.g., 2016-02-10T08:00Z). If not provided, stats from the beginning will be included.\").optional(),\n}).describe(\"Request model for retrieving widget statistics for a time frame.\");\nconst NiftyimagesListWidgetStats_WidgetStatsSchema = z.object({\n clicks: z.number().int().describe(\"Total number of clicks on the widget\").nullable().optional(),\n widgetId: z.string().describe(\"Unique identifier of the widget\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the widget was created\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the widget was last updated\").nullable().optional(),\n widgetName: z.string().describe(\"Name of the widget\").nullable().optional(),\n impressions: z.number().int().describe(\"Total number of impressions for the widget\").nullable().optional(),\n uniqueClicks: z.number().int().describe(\"Number of unique clicks on the widget\").nullable().optional(),\n uniqueImpressions: z.number().int().describe(\"Number of unique impressions for the widget\").nullable().optional(),\n}).describe(\"Statistics for a widget.\");\nexport const NiftyimagesListWidgetStatsOutput = z.object({\n stats: z.array(NiftyimagesListWidgetStats_WidgetStatsSchema).describe(\"Array of widget statistics objects\").nullable().optional(),\n total: z.number().int().describe(\"Total number of widgets with statistics\").nullable().optional(),\n endDate: z.string().describe(\"End date of the stats time frame\").nullable().optional(),\n startDate: z.string().describe(\"Start date of the stats time frame\").nullable().optional(),\n additionalData: z.record(z.string(), z.unknown()).describe(\"Any additional data returned by the API\").nullable().optional(),\n}).describe(\"Response model containing widget statistics.\");\n\nexport const niftyimagesListWidgetStats = action(\"NIFTYIMAGES_LIST_WIDGET_STATS\", {\n slug: \"niftyimages-list-widget-stats\",\n name: \"List widget stats\",\n description: \"Tool to retrieve widget statistics for a specified time frame from NiftyImages. Use when you need to view performance metrics such as impressions and clicks for your widgets.\",\n input: NiftyimagesListWidgetStatsInput,\n output: NiftyimagesListWidgetStatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACzL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;AAC3L,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,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,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,0BAA0B;AACtC,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-widget-stats.d.ts
|
|
4
|
-
declare const NiftyimagesListWidgetStatsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NiftyimagesListWidgetStatsInput: z.ZodObject<{
|
|
5
|
+
endDate: z.ZodOptional<z.ZodString>;
|
|
6
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const NiftyimagesListWidgetStatsOutput: z.ZodObject<{
|
|
9
|
+
stats: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10
|
+
clicks: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
widgetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
widgetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
impressions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
uniqueClicks: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
uniqueImpressions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
}, z.core.$strip>>>>;
|
|
19
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
additionalData: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
declare const niftyimagesListWidgetStats: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
endDate?: string | undefined;
|
|
26
|
+
startDate?: string | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { niftyimagesListWidgetStats };
|
|
9
30
|
//# sourceMappingURL=list-widget-stats.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-widget-stats.d.cts","names":[],"sources":["../../src/actions/list-widget-stats.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"list-widget-stats.d.cts","names":[],"sources":["../../src/actions/list-widget-stats.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAc/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-widget-stats.d.ts
|
|
4
|
-
declare const NiftyimagesListWidgetStatsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NiftyimagesListWidgetStatsInput: z.ZodObject<{
|
|
5
|
+
endDate: z.ZodOptional<z.ZodString>;
|
|
6
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const NiftyimagesListWidgetStatsOutput: z.ZodObject<{
|
|
9
|
+
stats: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10
|
+
clicks: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
widgetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
widgetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
impressions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
uniqueClicks: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
uniqueImpressions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
}, z.core.$strip>>>>;
|
|
19
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
additionalData: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
declare const niftyimagesListWidgetStats: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
endDate?: string | undefined;
|
|
26
|
+
startDate?: string | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { niftyimagesListWidgetStats };
|
|
9
30
|
//# sourceMappingURL=list-widget-stats.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-widget-stats.d.mts","names":[],"sources":["../../src/actions/list-widget-stats.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"list-widget-stats.d.mts","names":[],"sources":["../../src/actions/list-widget-stats.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAc/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-widget-stats.mjs","names":[],"sources":["../../src/actions/list-widget-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListWidgetStatsInput
|
|
1
|
+
{"version":3,"file":"list-widget-stats.mjs","names":[],"sources":["../../src/actions/list-widget-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListWidgetStatsInput = z.object({\n endDate: z.string().describe(\"End date for the stats time frame in ISO 8601 format (e.g., 2016-03-10T08:00Z). If not provided, stats up to the current time will be included.\").optional(),\n startDate: z.string().describe(\"Start date for the stats time frame in ISO 8601 format (e.g., 2016-02-10T08:00Z). If not provided, stats from the beginning will be included.\").optional(),\n}).describe(\"Request model for retrieving widget statistics for a time frame.\");\nconst NiftyimagesListWidgetStats_WidgetStatsSchema = z.object({\n clicks: z.number().int().describe(\"Total number of clicks on the widget\").nullable().optional(),\n widgetId: z.string().describe(\"Unique identifier of the widget\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the widget was created\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the widget was last updated\").nullable().optional(),\n widgetName: z.string().describe(\"Name of the widget\").nullable().optional(),\n impressions: z.number().int().describe(\"Total number of impressions for the widget\").nullable().optional(),\n uniqueClicks: z.number().int().describe(\"Number of unique clicks on the widget\").nullable().optional(),\n uniqueImpressions: z.number().int().describe(\"Number of unique impressions for the widget\").nullable().optional(),\n}).describe(\"Statistics for a widget.\");\nexport const NiftyimagesListWidgetStatsOutput = z.object({\n stats: z.array(NiftyimagesListWidgetStats_WidgetStatsSchema).describe(\"Array of widget statistics objects\").nullable().optional(),\n total: z.number().int().describe(\"Total number of widgets with statistics\").nullable().optional(),\n endDate: z.string().describe(\"End date of the stats time frame\").nullable().optional(),\n startDate: z.string().describe(\"Start date of the stats time frame\").nullable().optional(),\n additionalData: z.record(z.string(), z.unknown()).describe(\"Any additional data returned by the API\").nullable().optional(),\n}).describe(\"Response model containing widget statistics.\");\n\nexport const niftyimagesListWidgetStats = action(\"NIFTYIMAGES_LIST_WIDGET_STATS\", {\n slug: \"niftyimages-list-widget-stats\",\n name: \"List widget stats\",\n description: \"Tool to retrieve widget statistics for a specified time frame from NiftyImages. Use when you need to view performance metrics such as impressions and clicks for your widgets.\",\n input: NiftyimagesListWidgetStatsInput,\n output: NiftyimagesListWidgetStatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACzL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;AAC3L,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,+CAA+C,EAAE,OAAO;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,0BAA0B;AAStC,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb8C,EAAE,OAAO;EACvD,OAAO,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-widget-users.cjs","names":["z","action"],"sources":["../../src/actions/list-widget-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListWidgetUsersInput
|
|
1
|
+
{"version":3,"file":"list-widget-users.cjs","names":["z","action"],"sources":["../../src/actions/list-widget-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListWidgetUsersInput = z.object({\n endDate: z.string().describe(\"End date for the time frame in ISO 8601 format (e.g., 2026-02-13T23:59:59Z). If not specified, defaults to API's default end date.\").optional(),\n startDate: z.string().describe(\"Start date for the time frame in ISO 8601 format (e.g., 2026-01-01T00:00:00Z). If not specified, defaults to API's default start date.\").optional(),\n widgetKey: z.string().describe(\"The unique identifier (key) of the widget to retrieve users for.\"),\n}).describe(\"Request model for listing widget users for a time frame.\");\nconst NiftyimagesListWidgetUsers_WidgetUserSchema = z.object({\n name: z.string().describe(\"Name of the user.\").nullable().optional(),\n email: z.string().describe(\"Email address of the user.\").nullable().optional(),\n userId: z.string().describe(\"Unique identifier of the user.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when the user interacted with the widget in ISO 8601 format.\").nullable().optional(),\n interactions: z.number().int().describe(\"Number of times the user interacted with the widget.\").nullable().optional(),\n}).describe(\"Individual user who interacted with the widget.\");\nexport const NiftyimagesListWidgetUsersOutput = z.object({\n users: z.array(NiftyimagesListWidgetUsers_WidgetUserSchema).describe(\"List of users who interacted with the widget during the specified time frame.\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of users returned.\").nullable().optional(),\n}).describe(\"Response model for listing widget users.\");\n\nexport const niftyimagesListWidgetUsers = action(\"NIFTYIMAGES_LIST_WIDGET_USERS\", {\n slug: \"niftyimages-list-widget-users\",\n name: \"List Widget Users\",\n description: \"Tool to list widget users for a specified time frame from NiftyImages. Use when you need to retrieve users who interacted with a specific widget during a date range.\",\n input: NiftyimagesListWidgetUsersInput,\n output: NiftyimagesListWidgetUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;CAC5K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAClL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;AACnG,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-widget-users.d.ts
|
|
4
|
-
declare const NiftyimagesListWidgetUsersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NiftyimagesListWidgetUsersInput: z.ZodObject<{
|
|
5
|
+
endDate: z.ZodOptional<z.ZodString>;
|
|
6
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
7
|
+
widgetKey: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const NiftyimagesListWidgetUsersOutput: z.ZodObject<{
|
|
10
|
+
users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
interactions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
}, z.core.$strip>>>>;
|
|
17
|
+
totalCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const niftyimagesListWidgetUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
widgetKey: string;
|
|
21
|
+
endDate?: string | undefined;
|
|
22
|
+
startDate?: string | undefined;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { niftyimagesListWidgetUsers };
|
|
9
26
|
//# sourceMappingURL=list-widget-users.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-widget-users.d.cts","names":[],"sources":["../../src/actions/list-widget-users.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"list-widget-users.d.cts","names":[],"sources":["../../src/actions/list-widget-users.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-widget-users.d.ts
|
|
4
|
-
declare const NiftyimagesListWidgetUsersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NiftyimagesListWidgetUsersInput: z.ZodObject<{
|
|
5
|
+
endDate: z.ZodOptional<z.ZodString>;
|
|
6
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
7
|
+
widgetKey: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const NiftyimagesListWidgetUsersOutput: z.ZodObject<{
|
|
10
|
+
users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
interactions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
}, z.core.$strip>>>>;
|
|
17
|
+
totalCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const niftyimagesListWidgetUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
widgetKey: string;
|
|
21
|
+
endDate?: string | undefined;
|
|
22
|
+
startDate?: string | undefined;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { niftyimagesListWidgetUsers };
|
|
9
26
|
//# sourceMappingURL=list-widget-users.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-widget-users.d.mts","names":[],"sources":["../../src/actions/list-widget-users.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"list-widget-users.d.mts","names":[],"sources":["../../src/actions/list-widget-users.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-widget-users.mjs","names":[],"sources":["../../src/actions/list-widget-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListWidgetUsersInput
|
|
1
|
+
{"version":3,"file":"list-widget-users.mjs","names":[],"sources":["../../src/actions/list-widget-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListWidgetUsersInput = z.object({\n endDate: z.string().describe(\"End date for the time frame in ISO 8601 format (e.g., 2026-02-13T23:59:59Z). If not specified, defaults to API's default end date.\").optional(),\n startDate: z.string().describe(\"Start date for the time frame in ISO 8601 format (e.g., 2026-01-01T00:00:00Z). If not specified, defaults to API's default start date.\").optional(),\n widgetKey: z.string().describe(\"The unique identifier (key) of the widget to retrieve users for.\"),\n}).describe(\"Request model for listing widget users for a time frame.\");\nconst NiftyimagesListWidgetUsers_WidgetUserSchema = z.object({\n name: z.string().describe(\"Name of the user.\").nullable().optional(),\n email: z.string().describe(\"Email address of the user.\").nullable().optional(),\n userId: z.string().describe(\"Unique identifier of the user.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when the user interacted with the widget in ISO 8601 format.\").nullable().optional(),\n interactions: z.number().int().describe(\"Number of times the user interacted with the widget.\").nullable().optional(),\n}).describe(\"Individual user who interacted with the widget.\");\nexport const NiftyimagesListWidgetUsersOutput = z.object({\n users: z.array(NiftyimagesListWidgetUsers_WidgetUserSchema).describe(\"List of users who interacted with the widget during the specified time frame.\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of users returned.\").nullable().optional(),\n}).describe(\"Response model for listing widget users.\");\n\nexport const niftyimagesListWidgetUsers = action(\"NIFTYIMAGES_LIST_WIDGET_USERS\", {\n slug: \"niftyimages-list-widget-users\",\n name: \"List Widget Users\",\n description: \"Tool to list widget users for a specified time frame from NiftyImages. Use when you need to retrieve users who interacted with a specific widget during a date range.\",\n input: NiftyimagesListWidgetUsersInput,\n output: NiftyimagesListWidgetUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;CAC5K,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAClL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;AACnG,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAM7D,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8C,EAAE,OAAO;EACvD,OAAO,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1K,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-widgets.cjs","names":["z","action"],"sources":["../../src/actions/list-widgets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListWidgetsInput
|
|
1
|
+
{"version":3,"file":"list-widgets.cjs","names":["z","action"],"sources":["../../src/actions/list-widgets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListWidgetsInput = z.object({}).describe(\"Request model for listing widgets. No parameters required.\");\nconst NiftyimagesListWidgets_WidgetSchema = z.object({\n Name: z.string().describe(\"The name of the widget\").nullable().optional(),\n WidgetKey: z.string().describe(\"The unique identifier for the widget\").nullable().optional(),\n}).describe(\"Represents a single widget in NiftyImages.\");\nexport const NiftyimagesListWidgetsOutput = z.object({\n widgets: z.array(NiftyimagesListWidgets_WidgetSchema).describe(\"List of all widgets in the NiftyImages account\"),\n}).describe(\"Response model for listing widgets.\");\n\nexport const niftyimagesListWidgets = action(\"NIFTYIMAGES_LIST_WIDGETS\", {\n slug: \"niftyimages-list-widgets\",\n name: \"List Widgets\",\n description: \"Tool to list all widgets in your NiftyImages account. Use when you need to retrieve all available widgets.\",\n input: NiftyimagesListWidgetsInput,\n output: NiftyimagesListWidgetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAC7H,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,SAASA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,gDAAgD,EACjH,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-widgets.d.ts
|
|
4
|
-
declare const NiftyimagesListWidgetsInput: z.
|
|
5
|
-
declare const NiftyimagesListWidgetsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const NiftyimagesListWidgetsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const NiftyimagesListWidgetsOutput: z.ZodObject<{
|
|
6
|
+
widgets: z.ZodArray<z.ZodObject<{
|
|
7
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
WidgetKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const niftyimagesListWidgets: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { niftyimagesListWidgets };
|
|
9
14
|
//# sourceMappingURL=list-widgets.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-widgets.d.cts","names":[],"sources":["../../src/actions/list-widgets.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"list-widgets.d.cts","names":[],"sources":["../../src/actions/list-widgets.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-widgets.d.ts
|
|
4
|
-
declare const NiftyimagesListWidgetsInput: z.
|
|
5
|
-
declare const NiftyimagesListWidgetsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const NiftyimagesListWidgetsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const NiftyimagesListWidgetsOutput: z.ZodObject<{
|
|
6
|
+
widgets: z.ZodArray<z.ZodObject<{
|
|
7
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
WidgetKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const niftyimagesListWidgets: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { niftyimagesListWidgets };
|
|
9
14
|
//# sourceMappingURL=list-widgets.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-widgets.d.mts","names":[],"sources":["../../src/actions/list-widgets.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"list-widgets.d.mts","names":[],"sources":["../../src/actions/list-widgets.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-widgets.mjs","names":[],"sources":["../../src/actions/list-widgets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListWidgetsInput
|
|
1
|
+
{"version":3,"file":"list-widgets.mjs","names":[],"sources":["../../src/actions/list-widgets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NiftyimagesListWidgetsInput = z.object({}).describe(\"Request model for listing widgets. No parameters required.\");\nconst NiftyimagesListWidgets_WidgetSchema = z.object({\n Name: z.string().describe(\"The name of the widget\").nullable().optional(),\n WidgetKey: z.string().describe(\"The unique identifier for the widget\").nullable().optional(),\n}).describe(\"Represents a single widget in NiftyImages.\");\nexport const NiftyimagesListWidgetsOutput = z.object({\n widgets: z.array(NiftyimagesListWidgets_WidgetSchema).describe(\"List of all widgets in the NiftyImages account\"),\n}).describe(\"Response model for listing widgets.\");\n\nexport const niftyimagesListWidgets = action(\"NIFTYIMAGES_LIST_WIDGETS\", {\n slug: \"niftyimages-list-widgets\",\n name: \"List Widgets\",\n description: \"Tool to list all widgets in your NiftyImages account. Use when you need to retrieve all available widgets.\",\n input: NiftyimagesListWidgetsInput,\n output: NiftyimagesListWidgetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAC7H,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAKxD,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,SAAS,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,gDAAgD,EACjH,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -7,7 +7,13 @@ const niftyimagesCatalog = {
|
|
|
7
7
|
"category": "Marketing Automation",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/niftyimages",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Navigate to your NiftyImages account and sign in. Go to Settings > Integrations/Plugins > API to retrieve your API key."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
exports.niftyimagesCatalog = niftyimagesCatalog;
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const niftyimagesCatalog = {\n \"slug\": \"niftyimages\",\n \"name\": \"Niftyimages\",\n \"description\": \"Allowing marketers to create dynamic and personalized content for your email campaigns.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/niftyimages\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const niftyimagesCatalog = {\n \"slug\": \"niftyimages\",\n \"name\": \"Niftyimages\",\n \"description\": \"Allowing marketers to create dynamic and personalized content for your email campaigns.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/niftyimages\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Navigate to your NiftyImages account and sign in. Go to Settings > Integrations/Plugins > API to retrieve your API key.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -8,6 +8,14 @@ declare const niftyimagesCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/niftyimages";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Navigate to your NiftyImages account and sign in. Go to Settings > Integrations/Plugins > API to retrieve your API key.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { niftyimagesCatalog };
|
package/dist/catalog.d.mts
CHANGED
|
@@ -8,6 +8,14 @@ declare const niftyimagesCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/niftyimages";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Navigate to your NiftyImages account and sign in. Go to Settings > Integrations/Plugins > API to retrieve your API key.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { niftyimagesCatalog };
|
package/dist/catalog.mjs
CHANGED
|
@@ -7,7 +7,13 @@ const niftyimagesCatalog = {
|
|
|
7
7
|
"category": "Marketing Automation",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/niftyimages",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Navigate to your NiftyImages account and sign in. Go to Settings > Integrations/Plugins > API to retrieve your API key."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
export { niftyimagesCatalog };
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const niftyimagesCatalog = {\n \"slug\": \"niftyimages\",\n \"name\": \"Niftyimages\",\n \"description\": \"Allowing marketers to create dynamic and personalized content for your email campaigns.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/niftyimages\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const niftyimagesCatalog = {\n \"slug\": \"niftyimages\",\n \"name\": \"Niftyimages\",\n \"description\": \"Allowing marketers to create dynamic and personalized content for your email campaigns.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/niftyimages\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Navigate to your NiftyImages account and sign in. Go to Settings > Integrations/Plugins > API to retrieve your API key.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/niftyimages",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": "
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.4",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|