@keystrokehq/niftyimages 0.1.0 → 0.1.3

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.
Files changed (81) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/get-images-stats.cjs +2 -2
  4. package/dist/actions/get-images-stats.cjs.map +1 -1
  5. package/dist/actions/get-images-stats.d.cts +11 -3
  6. package/dist/actions/get-images-stats.d.cts.map +1 -1
  7. package/dist/actions/get-images-stats.d.mts +11 -3
  8. package/dist/actions/get-images-stats.d.mts.map +1 -1
  9. package/dist/actions/get-images-stats.mjs +2 -2
  10. package/dist/actions/get-images-stats.mjs.map +1 -1
  11. package/dist/actions/get-widget-user-images.cjs +2 -2
  12. package/dist/actions/get-widget-user-images.cjs.map +1 -1
  13. package/dist/actions/get-widget-user-images.d.cts +15 -3
  14. package/dist/actions/get-widget-user-images.d.cts.map +1 -1
  15. package/dist/actions/get-widget-user-images.d.mts +15 -3
  16. package/dist/actions/get-widget-user-images.d.mts.map +1 -1
  17. package/dist/actions/get-widget-user-images.mjs +2 -2
  18. package/dist/actions/get-widget-user-images.mjs.map +1 -1
  19. package/dist/actions/get-widget-user-stats.cjs +1 -1
  20. package/dist/actions/get-widget-user-stats.cjs.map +1 -1
  21. package/dist/actions/get-widget-user-stats.d.cts +17 -3
  22. package/dist/actions/get-widget-user-stats.d.cts.map +1 -1
  23. package/dist/actions/get-widget-user-stats.d.mts +17 -3
  24. package/dist/actions/get-widget-user-stats.d.mts.map +1 -1
  25. package/dist/actions/get-widget-user-stats.mjs +1 -1
  26. package/dist/actions/get-widget-user-stats.mjs.map +1 -1
  27. package/dist/actions/list-images.cjs +2 -2
  28. package/dist/actions/list-images.cjs.map +1 -1
  29. package/dist/actions/list-images.d.cts +17 -3
  30. package/dist/actions/list-images.d.cts.map +1 -1
  31. package/dist/actions/list-images.d.mts +17 -3
  32. package/dist/actions/list-images.d.mts.map +1 -1
  33. package/dist/actions/list-images.mjs +2 -2
  34. package/dist/actions/list-images.mjs.map +1 -1
  35. package/dist/actions/list-maps.cjs +2 -2
  36. package/dist/actions/list-maps.cjs.map +1 -1
  37. package/dist/actions/list-maps.d.cts +10 -3
  38. package/dist/actions/list-maps.d.cts.map +1 -1
  39. package/dist/actions/list-maps.d.mts +10 -3
  40. package/dist/actions/list-maps.d.mts.map +1 -1
  41. package/dist/actions/list-maps.mjs +2 -2
  42. package/dist/actions/list-maps.mjs.map +1 -1
  43. package/dist/actions/list-widget-images.cjs +2 -2
  44. package/dist/actions/list-widget-images.cjs.map +1 -1
  45. package/dist/actions/list-widget-images.d.cts +18 -3
  46. package/dist/actions/list-widget-images.d.cts.map +1 -1
  47. package/dist/actions/list-widget-images.d.mts +18 -3
  48. package/dist/actions/list-widget-images.d.mts.map +1 -1
  49. package/dist/actions/list-widget-images.mjs +2 -2
  50. package/dist/actions/list-widget-images.mjs.map +1 -1
  51. package/dist/actions/list-widget-stats.cjs +2 -2
  52. package/dist/actions/list-widget-stats.cjs.map +1 -1
  53. package/dist/actions/list-widget-stats.d.cts +24 -3
  54. package/dist/actions/list-widget-stats.d.cts.map +1 -1
  55. package/dist/actions/list-widget-stats.d.mts +24 -3
  56. package/dist/actions/list-widget-stats.d.mts.map +1 -1
  57. package/dist/actions/list-widget-stats.mjs +2 -2
  58. package/dist/actions/list-widget-stats.mjs.map +1 -1
  59. package/dist/actions/list-widget-users.cjs +2 -2
  60. package/dist/actions/list-widget-users.cjs.map +1 -1
  61. package/dist/actions/list-widget-users.d.cts +20 -3
  62. package/dist/actions/list-widget-users.d.cts.map +1 -1
  63. package/dist/actions/list-widget-users.d.mts +20 -3
  64. package/dist/actions/list-widget-users.d.mts.map +1 -1
  65. package/dist/actions/list-widget-users.mjs +2 -2
  66. package/dist/actions/list-widget-users.mjs.map +1 -1
  67. package/dist/actions/list-widgets.cjs +2 -2
  68. package/dist/actions/list-widgets.cjs.map +1 -1
  69. package/dist/actions/list-widgets.d.cts +8 -3
  70. package/dist/actions/list-widgets.d.cts.map +1 -1
  71. package/dist/actions/list-widgets.d.mts +8 -3
  72. package/dist/actions/list-widgets.d.mts.map +1 -1
  73. package/dist/actions/list-widgets.mjs +2 -2
  74. package/dist/actions/list-widgets.mjs.map +1 -1
  75. package/dist/catalog.cjs +7 -1
  76. package/dist/catalog.cjs.map +1 -1
  77. package/dist/catalog.d.cts +8 -0
  78. package/dist/catalog.d.mts +8 -0
  79. package/dist/catalog.mjs +7 -1
  80. package/dist/catalog.mjs.map +1 -1
  81. package/package.json +2 -2
@@ -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: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return niftyimages.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeNiftyimagesTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
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"}
@@ -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: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return niftyimages.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeNiftyimagesTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
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"}
@@ -8,8 +8,8 @@ const NiftyimagesGetImagesStats_ImageStatsItemSchema = zod.z.object({
8
8
  image_id: zod.z.string().describe("Unique identifier for the image.").nullable().optional(),
9
9
  image_name: zod.z.string().describe("Name or title of the image.").nullable().optional(),
10
10
  impressions: zod.z.number().int().describe("Total number of impressions for the image.").nullable().optional()
11
- }).describe("Model for individual image statistics.");
12
- const NiftyimagesGetImagesStatsOutput = zod.z.object({ stats: zod.z.array(NiftyimagesGetImagesStats_ImageStatsItemSchema).describe("Array of aggregated statistics for all images. Each entry contains metrics such as views, clicks, and impressions.").nullable().optional() }).describe("Response model for aggregated stats for all images.");
11
+ }).passthrough().describe("Model for individual image statistics.");
12
+ const NiftyimagesGetImagesStatsOutput = zod.z.object({ stats: zod.z.array(NiftyimagesGetImagesStats_ImageStatsItemSchema).describe("Array of aggregated statistics for all images. Each entry contains metrics such as views, clicks, and impressions.").nullable().optional() }).passthrough().describe("Response model for aggregated stats for all images.");
13
13
  const niftyimagesGetImagesStats = require_action.action("NIFTYIMAGES_GET_IMAGES_STATS", {
14
14
  slug: "niftyimages-get-images-stats",
15
15
  name: "Get Images Stats",
@@ -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: z.ZodTypeAny = z.object({}).describe(\"Request model for getting aggregated stats for all images.\");\nconst NiftyimagesGetImagesStats_ImageStatsItemSchema: z.ZodTypeAny = z.object({\n views: z.number().int().describe(\"Total number of views for the image.\").nullable().optional(),\n clicks: z.number().int().describe(\"Total number of clicks on the image.\").nullable().optional(),\n image_id: z.string().describe(\"Unique identifier for the image.\").nullable().optional(),\n image_name: z.string().describe(\"Name or title of the image.\").nullable().optional(),\n impressions: z.number().int().describe(\"Total number of impressions for the image.\").nullable().optional(),\n}).describe(\"Model for individual image statistics.\");\nexport const NiftyimagesGetImagesStatsOutput: z.ZodTypeAny = z.object({\n stats: z.array(NiftyimagesGetImagesStats_ImageStatsItemSchema).describe(\"Array of aggregated statistics for all images. Each entry contains metrics such as views, clicks, and impressions.\").nullable().optional(),\n}).describe(\"Response model for aggregated stats for all images.\");\n\nexport const niftyimagesGetImagesStats = action(\"NIFTYIMAGES_GET_IMAGES_STATS\", {\n slug: \"niftyimages-get-images-stats\",\n name: \"Get Images Stats\",\n description: \"Tool to get aggregated stats for all images. Use when you need to retrieve statistical data and performance metrics for all images in the account.\",\n input: NiftyimagesGetImagesStatsInput,\n output: NiftyimagesGetImagesStatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAC9I,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,OAAOA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpN,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,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,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,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.ZodTypeAny;
5
- declare const NiftyimagesGetImagesStatsOutput: z.ZodTypeAny;
6
- declare const niftyimagesGetImagesStats: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$loose>>>>;
13
+ }, z.core.$loose>;
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,EAAgC,CAAA,CAAE,UAAgG;AAAA,cAQlI,+BAAA,EAAiC,CAAA,CAAE,UAEkB;AAAA,cAErD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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.ZodTypeAny;
5
- declare const NiftyimagesGetImagesStatsOutput: z.ZodTypeAny;
6
- declare const niftyimagesGetImagesStats: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$loose>>>>;
13
+ }, z.core.$loose>;
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,EAAgC,CAAA,CAAE,UAAgG;AAAA,cAQlI,+BAAA,EAAiC,CAAA,CAAE,UAEkB;AAAA,cAErD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -8,13 +8,13 @@ const NiftyimagesGetImagesStats_ImageStatsItemSchema = z.object({
8
8
  image_id: z.string().describe("Unique identifier for the image.").nullable().optional(),
9
9
  image_name: z.string().describe("Name or title of the image.").nullable().optional(),
10
10
  impressions: z.number().int().describe("Total number of impressions for the image.").nullable().optional()
11
- }).describe("Model for individual image statistics.");
11
+ }).passthrough().describe("Model for individual image statistics.");
12
12
  const niftyimagesGetImagesStats = action("NIFTYIMAGES_GET_IMAGES_STATS", {
13
13
  slug: "niftyimages-get-images-stats",
14
14
  name: "Get Images Stats",
15
15
  description: "Tool to get aggregated stats for all images. Use when you need to retrieve statistical data and performance metrics for all images in the account.",
16
16
  input: NiftyimagesGetImagesStatsInput,
17
- output: z.object({ stats: z.array(NiftyimagesGetImagesStats_ImageStatsItemSchema).describe("Array of aggregated statistics for all images. Each entry contains metrics such as views, clicks, and impressions.").nullable().optional() }).describe("Response model for aggregated stats for all images.")
17
+ output: z.object({ stats: z.array(NiftyimagesGetImagesStats_ImageStatsItemSchema).describe("Array of aggregated statistics for all images. Each entry contains metrics such as views, clicks, and impressions.").nullable().optional() }).passthrough().describe("Response model for aggregated stats for all images.")
18
18
  });
19
19
  //#endregion
20
20
  export { niftyimagesGetImagesStats };
@@ -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: z.ZodTypeAny = z.object({}).describe(\"Request model for getting aggregated stats for all images.\");\nconst NiftyimagesGetImagesStats_ImageStatsItemSchema: z.ZodTypeAny = z.object({\n views: z.number().int().describe(\"Total number of views for the image.\").nullable().optional(),\n clicks: z.number().int().describe(\"Total number of clicks on the image.\").nullable().optional(),\n image_id: z.string().describe(\"Unique identifier for the image.\").nullable().optional(),\n image_name: z.string().describe(\"Name or title of the image.\").nullable().optional(),\n impressions: z.number().int().describe(\"Total number of impressions for the image.\").nullable().optional(),\n}).describe(\"Model for individual image statistics.\");\nexport const NiftyimagesGetImagesStatsOutput: z.ZodTypeAny = z.object({\n stats: z.array(NiftyimagesGetImagesStats_ImageStatsItemSchema).describe(\"Array of aggregated statistics for all images. Each entry contains metrics such as views, clicks, and impressions.\").nullable().optional(),\n}).describe(\"Response model for aggregated stats for all images.\");\n\nexport const niftyimagesGetImagesStats = action(\"NIFTYIMAGES_GET_IMAGES_STATS\", {\n slug: \"niftyimages-get-images-stats\",\n name: \"Get Images Stats\",\n description: \"Tool to get aggregated stats for all images. Use when you need to retrieve statistical data and performance metrics for all images in the account.\",\n input: NiftyimagesGetImagesStatsInput,\n output: NiftyimagesGetImagesStatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAC9I,MAAM,iDAA+D,EAAE,OAAO;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAKpD,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,OAAO,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpN,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,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,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
@@ -9,8 +9,8 @@ const NiftyimagesGetWidgetUserImages_WidgetImageSchema = zod.z.object({
9
9
  Url: zod.z.string().describe("The URL of the image.").nullable().optional(),
10
10
  Name: zod.z.string().describe("The name of the image.").nullable().optional(),
11
11
  ImageKey: zod.z.string().describe("The unique identifier for the image.").nullable().optional()
12
- }).describe("Representation of a widget image.");
13
- const NiftyimagesGetWidgetUserImagesOutput = zod.z.object({ images: zod.z.array(NiftyimagesGetWidgetUserImages_WidgetImageSchema).describe("List of widget images for the specified user. May be empty if no images exist.").nullable().optional() }).describe("Response model for listing widget images for a specific user.");
12
+ }).passthrough().describe("Representation of a widget image.");
13
+ const NiftyimagesGetWidgetUserImagesOutput = zod.z.object({ images: zod.z.array(NiftyimagesGetWidgetUserImages_WidgetImageSchema).describe("List of widget images for the specified user. May be empty if no images exist.").nullable().optional() }).passthrough().describe("Response model for listing widget images for a specific user.");
14
14
  const niftyimagesGetWidgetUserImages = require_action.action("NIFTYIMAGES_GET_WIDGET_USER_IMAGES", {
15
15
  slug: "niftyimages-get-widget-user-images",
16
16
  name: "Get Widget User Images",
@@ -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: z.ZodTypeAny = z.object({\n user: z.string().describe(\"The user identifier to retrieve images for.\"),\n widget_key: z.string().describe(\"The unique identifier (key) of the widget. This is a UUID format identifier.\"),\n}).describe(\"Request model for listing widget images for a specific user.\");\nconst NiftyimagesGetWidgetUserImages_WidgetImageSchema: z.ZodTypeAny = z.object({\n Url: z.string().describe(\"The URL of the image.\").nullable().optional(),\n Name: z.string().describe(\"The name of the image.\").nullable().optional(),\n ImageKey: z.string().describe(\"The unique identifier for the image.\").nullable().optional(),\n}).describe(\"Representation of a widget image.\");\nexport const NiftyimagesGetWidgetUserImagesOutput: z.ZodTypeAny = z.object({\n images: z.array(NiftyimagesGetWidgetUserImages_WidgetImageSchema).describe(\"List of widget images for the specified user. May be empty if no images exist.\").nullable().optional(),\n}).describe(\"Response model for listing widget images for a specific user.\");\n\nexport const niftyimagesGetWidgetUserImages = action(\"NIFTYIMAGES_GET_WIDGET_USER_IMAGES\", {\n slug: \"niftyimages-get-widget-user-images\",\n name: \"Get Widget User Images\",\n description: \"Tool to list widget images for a specific user. Use when you need to retrieve all images associated with a particular user and widget combination.\",\n input: NiftyimagesGetWidgetUserImagesInput,\n output: NiftyimagesGetWidgetUserImagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;AAChH,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,QAAQA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnL,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,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,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,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.ZodTypeAny;
5
- declare const NiftyimagesGetWidgetUserImagesOutput: z.ZodTypeAny;
6
- declare const niftyimagesGetWidgetUserImages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$loose>>>>;
14
+ }, z.core.$loose>;
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,EAAqC,CAAA,CAAE,UAGuB;AAAA,cAM9D,oCAAA,EAAsC,CAAA,CAAE,UAEuB;AAAA,cAE/D,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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.ZodTypeAny;
5
- declare const NiftyimagesGetWidgetUserImagesOutput: z.ZodTypeAny;
6
- declare const niftyimagesGetWidgetUserImages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$loose>>>>;
14
+ }, z.core.$loose>;
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,EAAqC,CAAA,CAAE,UAGuB;AAAA,cAM9D,oCAAA,EAAsC,CAAA,CAAE,UAEuB;AAAA,cAE/D,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -9,13 +9,13 @@ const NiftyimagesGetWidgetUserImages_WidgetImageSchema = z.object({
9
9
  Url: z.string().describe("The URL of the image.").nullable().optional(),
10
10
  Name: z.string().describe("The name of the image.").nullable().optional(),
11
11
  ImageKey: z.string().describe("The unique identifier for the image.").nullable().optional()
12
- }).describe("Representation of a widget image.");
12
+ }).passthrough().describe("Representation of a widget image.");
13
13
  const niftyimagesGetWidgetUserImages = action("NIFTYIMAGES_GET_WIDGET_USER_IMAGES", {
14
14
  slug: "niftyimages-get-widget-user-images",
15
15
  name: "Get Widget User Images",
16
16
  description: "Tool to list widget images for a specific user. Use when you need to retrieve all images associated with a particular user and widget combination.",
17
17
  input: NiftyimagesGetWidgetUserImagesInput,
18
- output: z.object({ images: z.array(NiftyimagesGetWidgetUserImages_WidgetImageSchema).describe("List of widget images for the specified user. May be empty if no images exist.").nullable().optional() }).describe("Response model for listing widget images for a specific user.")
18
+ output: z.object({ images: z.array(NiftyimagesGetWidgetUserImages_WidgetImageSchema).describe("List of widget images for the specified user. May be empty if no images exist.").nullable().optional() }).passthrough().describe("Response model for listing widget images for a specific user.")
19
19
  });
20
20
  //#endregion
21
21
  export { niftyimagesGetWidgetUserImages };
@@ -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: z.ZodTypeAny = z.object({\n user: z.string().describe(\"The user identifier to retrieve images for.\"),\n widget_key: z.string().describe(\"The unique identifier (key) of the widget. This is a UUID format identifier.\"),\n}).describe(\"Request model for listing widget images for a specific user.\");\nconst NiftyimagesGetWidgetUserImages_WidgetImageSchema: z.ZodTypeAny = z.object({\n Url: z.string().describe(\"The URL of the image.\").nullable().optional(),\n Name: z.string().describe(\"The name of the image.\").nullable().optional(),\n ImageKey: z.string().describe(\"The unique identifier for the image.\").nullable().optional(),\n}).describe(\"Representation of a widget image.\");\nexport const NiftyimagesGetWidgetUserImagesOutput: z.ZodTypeAny = z.object({\n images: z.array(NiftyimagesGetWidgetUserImages_WidgetImageSchema).describe(\"List of widget images for the specified user. May be empty if no images exist.\").nullable().optional(),\n}).describe(\"Response model for listing widget images for a specific user.\");\n\nexport const niftyimagesGetWidgetUserImages = action(\"NIFTYIMAGES_GET_WIDGET_USER_IMAGES\", {\n slug: \"niftyimages-get-widget-user-images\",\n name: \"Get Widget User Images\",\n description: \"Tool to list widget images for a specific user. Use when you need to retrieve all images associated with a particular user and widget combination.\",\n input: NiftyimagesGetWidgetUserImagesInput,\n output: NiftyimagesGetWidgetUserImagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoD,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;AAChH,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,mDAAiE,EAAE,OAAO;CAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAK/C,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgE,EAAE,OAAO,EACzE,QAAQ,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnL,CAAC,CAAC,CAAC,SAAS,+DAOF;AACV,CAAC"}
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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,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,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
@@ -13,7 +13,7 @@ const NiftyimagesGetWidgetUserStatsOutput = zod.z.object({
13
13
  total_views: zod.z.number().int().describe("Total number of views for this user").nullable().optional(),
14
14
  total_clicks: zod.z.number().int().describe("Total number of clicks for this user").nullable().optional(),
15
15
  total_impressions: zod.z.number().int().describe("Total number of impressions for this user").nullable().optional()
16
- }).describe("Response containing aggregated user stats for a widget.");
16
+ }).passthrough().describe("Response containing aggregated user stats for a widget.");
17
17
  const niftyimagesGetWidgetUserStats = require_action.action("NIFTYIMAGES_GET_WIDGET_USER_STATS", {
18
18
  slug: "niftyimages-get-widget-user-stats",
19
19
  name: "Get Widget User Stats",
@@ -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: z.ZodTypeAny = z.object({\n user: z.string().describe(\"The user identifier for which to retrieve aggregated stats\"),\n widget_key: z.string().describe(\"The unique identifier (key) of the widget\"),\n});\nexport const NiftyimagesGetWidgetUserStatsOutput: z.ZodTypeAny = z.object({\n user: z.string().describe(\"The user identifier\").nullable().optional(),\n last_seen: z.string().describe(\"ISO 8601 formatted timestamp of when user was last seen\").nullable().optional(),\n first_seen: z.string().describe(\"ISO 8601 formatted timestamp of when user was first seen\").nullable().optional(),\n widget_key: z.string().describe(\"The widget key\").nullable().optional(),\n total_views: z.number().int().describe(\"Total number of views for this user\").nullable().optional(),\n total_clicks: z.number().int().describe(\"Total number of clicks for this user\").nullable().optional(),\n total_impressions: z.number().int().describe(\"Total number of impressions for this user\").nullable().optional(),\n}).describe(\"Response containing aggregated user stats for a widget.\");\n\nexport const niftyimagesGetWidgetUserStats = action(\"NIFTYIMAGES_GET_WIDGET_USER_STATS\", {\n slug: \"niftyimages-get-widget-user-stats\",\n name: \"Get Widget User Stats\",\n description: \"Tool to get aggregated stats for a specific user on a widget. Use when you need to retrieve performance metrics for a particular user's interaction with a widget.\",\n input: NiftyimagesGetWidgetUserStatsInput,\n output: NiftyimagesGetWidgetUserStatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC7E,CAAC;AACD,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,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.ZodTypeAny;
5
- declare const NiftyimagesGetWidgetUserStatsOutput: z.ZodTypeAny;
6
- declare const niftyimagesGetWidgetUserStats: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$loose>;
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,EAAoC,CAAA,CAAE,UAGjD;AAAA,cACW,mCAAA,EAAqC,CAAA,CAAE,UAQkB;AAAA,cAEzD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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.ZodTypeAny;
5
- declare const NiftyimagesGetWidgetUserStatsOutput: z.ZodTypeAny;
6
- declare const niftyimagesGetWidgetUserStats: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$loose>;
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,EAAoC,CAAA,CAAE,UAGjD;AAAA,cACW,mCAAA,EAAqC,CAAA,CAAE,UAQkB;AAAA,cAEzD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -16,7 +16,7 @@ const niftyimagesGetWidgetUserStats = action("NIFTYIMAGES_GET_WIDGET_USER_STATS"
16
16
  total_views: z.number().int().describe("Total number of views for this user").nullable().optional(),
17
17
  total_clicks: z.number().int().describe("Total number of clicks for this user").nullable().optional(),
18
18
  total_impressions: z.number().int().describe("Total number of impressions for this user").nullable().optional()
19
- }).describe("Response containing aggregated user stats for a widget.")
19
+ }).passthrough().describe("Response containing aggregated user stats for a widget.")
20
20
  });
21
21
  //#endregion
22
22
  export { niftyimagesGetWidgetUserStats };
@@ -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: z.ZodTypeAny = z.object({\n user: z.string().describe(\"The user identifier for which to retrieve aggregated stats\"),\n widget_key: z.string().describe(\"The unique identifier (key) of the widget\"),\n});\nexport const NiftyimagesGetWidgetUserStatsOutput: z.ZodTypeAny = z.object({\n user: z.string().describe(\"The user identifier\").nullable().optional(),\n last_seen: z.string().describe(\"ISO 8601 formatted timestamp of when user was last seen\").nullable().optional(),\n first_seen: z.string().describe(\"ISO 8601 formatted timestamp of when user was first seen\").nullable().optional(),\n widget_key: z.string().describe(\"The widget key\").nullable().optional(),\n total_views: z.number().int().describe(\"Total number of views for this user\").nullable().optional(),\n total_clicks: z.number().int().describe(\"Total number of clicks for this user\").nullable().optional(),\n total_impressions: z.number().int().describe(\"Total number of impressions for this user\").nullable().optional(),\n}).describe(\"Response containing aggregated user stats for a widget.\");\n\nexport const niftyimagesGetWidgetUserStats = action(\"NIFTYIMAGES_GET_WIDGET_USER_STATS\", {\n slug: \"niftyimages-get-widget-user-stats\",\n name: \"Get Widget User Stats\",\n description: \"Tool to get aggregated stats for a specific user on a widget. Use when you need to retrieve performance metrics for a particular user's interaction with a widget.\",\n input: NiftyimagesGetWidgetUserStatsInput,\n output: NiftyimagesGetWidgetUserStatsOutput,\n});\n"],"mappings":";;AAkBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB8D,EAAE,OAAO;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC7E,CAeS;CACP,QAf+D,EAAE,OAAO;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -10,11 +10,11 @@ const NiftyimagesListImages_ImageSchema = zod.z.object({
10
10
  ImageKey: zod.z.string().describe("Unique identifier of the image").nullable().optional(),
11
11
  CreateDate: zod.z.string().describe("ISO 8601 formatted date when the image was created").nullable().optional(),
12
12
  UpdateDate: zod.z.string().describe("ISO 8601 formatted date when the image was last updated").nullable().optional()
13
- }).describe("Represents a single image in the NiftyImages account.");
13
+ }).passthrough().describe("Represents a single image in the NiftyImages account.");
14
14
  const NiftyimagesListImagesOutput = zod.z.object({
15
15
  total: zod.z.number().int().default(0).describe("Total number of images returned").nullable().optional(),
16
16
  images: zod.z.array(NiftyimagesListImages_ImageSchema).describe("Array of images in the account").nullable().optional()
17
- }).describe("Response model for listing images.");
17
+ }).passthrough().describe("Response model for listing images.");
18
18
  const niftyimagesListImages = require_action.action("NIFTYIMAGES_LIST_IMAGES", {
19
19
  slug: "niftyimages-list-images",
20
20
  name: "List Images",
@@ -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: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number to retrieve (1-based). Defaults to the first page when not specified.\").optional(),\n page_size: z.number().int().describe(\"Number of images to return per page. Defaults to the API default when not specified.\").optional(),\n}).describe(\"Request model for listing/paging through images.\");\nconst NiftyimagesListImages_ImageSchema: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"Name of the image\").nullable().optional(),\n ImageKey: z.string().describe(\"Unique identifier of the image\").nullable().optional(),\n CreateDate: z.string().describe(\"ISO 8601 formatted date when the image was created\").nullable().optional(),\n UpdateDate: z.string().describe(\"ISO 8601 formatted date when the image was last updated\").nullable().optional(),\n}).describe(\"Represents a single image in the NiftyImages account.\");\nexport const NiftyimagesListImagesOutput: z.ZodTypeAny = z.object({\n total: z.number().int().default(0).describe(\"Total number of images returned\").nullable().optional(),\n images: z.array(NiftyimagesListImages_ImageSchema).describe(\"Array of images in the account\").nullable().optional(),\n}).describe(\"Response model for listing images.\");\n\nexport const niftyimagesListImages = action(\"NIFTYIMAGES_LIST_IMAGES\", {\n slug: \"niftyimages-list-images\",\n name: \"List Images\",\n description: \"Tool to page through images in your NiftyImages account. Use when you need to retrieve a list of all available images.\",\n input: NiftyimagesListImagesInput,\n output: NiftyimagesListImagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,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,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,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.ZodTypeAny;
5
- declare const NiftyimagesListImagesOutput: z.ZodTypeAny;
6
- declare const niftyimagesListImages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$loose>>>>;
16
+ }, z.core.$loose>;
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,EAA4B,CAAA,CAAE,UAGoB;AAAA,cAOlD,2BAAA,EAA6B,CAAA,CAAE,UAGK;AAAA,cAEpC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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.ZodTypeAny;
5
- declare const NiftyimagesListImagesOutput: z.ZodTypeAny;
6
- declare const niftyimagesListImages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$loose>>>>;
16
+ }, z.core.$loose>;
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,EAA4B,CAAA,CAAE,UAGoB;AAAA,cAOlD,2BAAA,EAA6B,CAAA,CAAE,UAGK;AAAA,cAEpC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -10,7 +10,7 @@ const NiftyimagesListImages_ImageSchema = z.object({
10
10
  ImageKey: z.string().describe("Unique identifier of the image").nullable().optional(),
11
11
  CreateDate: z.string().describe("ISO 8601 formatted date when the image was created").nullable().optional(),
12
12
  UpdateDate: z.string().describe("ISO 8601 formatted date when the image was last updated").nullable().optional()
13
- }).describe("Represents a single image in the NiftyImages account.");
13
+ }).passthrough().describe("Represents a single image in the NiftyImages account.");
14
14
  const niftyimagesListImages = action("NIFTYIMAGES_LIST_IMAGES", {
15
15
  slug: "niftyimages-list-images",
16
16
  name: "List Images",
@@ -19,7 +19,7 @@ const niftyimagesListImages = action("NIFTYIMAGES_LIST_IMAGES", {
19
19
  output: z.object({
20
20
  total: z.number().int().default(0).describe("Total number of images returned").nullable().optional(),
21
21
  images: z.array(NiftyimagesListImages_ImageSchema).describe("Array of images in the account").nullable().optional()
22
- }).describe("Response model for listing images.")
22
+ }).passthrough().describe("Response model for listing images.")
23
23
  });
24
24
  //#endregion
25
25
  export { niftyimagesListImages };
@@ -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: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number to retrieve (1-based). Defaults to the first page when not specified.\").optional(),\n page_size: z.number().int().describe(\"Number of images to return per page. Defaults to the API default when not specified.\").optional(),\n}).describe(\"Request model for listing/paging through images.\");\nconst NiftyimagesListImages_ImageSchema: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"Name of the image\").nullable().optional(),\n ImageKey: z.string().describe(\"Unique identifier of the image\").nullable().optional(),\n CreateDate: z.string().describe(\"ISO 8601 formatted date when the image was created\").nullable().optional(),\n UpdateDate: z.string().describe(\"ISO 8601 formatted date when the image was last updated\").nullable().optional(),\n}).describe(\"Represents a single image in the NiftyImages account.\");\nexport const NiftyimagesListImagesOutput: z.ZodTypeAny = z.object({\n total: z.number().int().default(0).describe(\"Total number of images returned\").nullable().optional(),\n images: z.array(NiftyimagesListImages_ImageSchema).describe(\"Array of images in the account\").nullable().optional(),\n}).describe(\"Response model for listing images.\");\n\nexport const niftyimagesListImages = action(\"NIFTYIMAGES_LIST_IMAGES\", {\n slug: \"niftyimages-list-images\",\n name: \"List Images\",\n description: \"Tool to page through images in your NiftyImages account. Use when you need to retrieve a list of all available images.\",\n input: NiftyimagesListImagesInput,\n output: NiftyimagesListImagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,oCAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAMnE,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuD,EAAE,OAAO;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAMjF,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,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
@@ -7,8 +7,8 @@ const NiftyimagesListMaps_MapSchema = zod.z.object({
7
7
  MapKey: zod.z.string().describe("Unique identifier for the map").nullable().optional(),
8
8
  CreatedDate: zod.z.string().describe("Date when the map was created (ISO 8601 format)").nullable().optional(),
9
9
  ModifiedDate: zod.z.string().describe("Date when the map was last modified (ISO 8601 format)").nullable().optional()
10
- }).describe("A map object in NiftyImages.");
11
- const NiftyimagesListMapsOutput = zod.z.object({ maps: zod.z.array(NiftyimagesListMaps_MapSchema).describe("List of maps in your account").nullable().optional() }).describe("Response model for listing maps.\nReturns an array of map objects.");
10
+ }).passthrough().describe("A map object in NiftyImages.");
11
+ const NiftyimagesListMapsOutput = zod.z.object({ maps: zod.z.array(NiftyimagesListMaps_MapSchema).describe("List of maps in your account").nullable().optional() }).passthrough().describe("Response model for listing maps.\nReturns an array of map objects.");
12
12
  const niftyimagesListMaps = require_action.action("NIFTYIMAGES_LIST_MAPS", {
13
13
  slug: "niftyimages-list-maps",
14
14
  name: "List Maps",
@@ -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: z.ZodTypeAny = z.object({}).describe(\"Request model for listing all maps in your NiftyImages account.\\nNo parameters required.\");\nconst NiftyimagesListMaps_MapSchema: z.ZodTypeAny = z.object({\n Name: z.string().describe(\"The name of the map\").nullable().optional(),\n MapKey: z.string().describe(\"Unique identifier for the map\").nullable().optional(),\n CreatedDate: z.string().describe(\"Date when the map was created (ISO 8601 format)\").nullable().optional(),\n ModifiedDate: z.string().describe(\"Date when the map was last modified (ISO 8601 format)\").nullable().optional(),\n}).describe(\"A map object in NiftyImages.\");\nexport const NiftyimagesListMapsOutput: z.ZodTypeAny = z.object({\n maps: z.array(NiftyimagesListMaps_MapSchema).describe(\"List of maps in your account\").nullable().optional(),\n}).describe(\"Response model for listing maps.\\nReturns an array of map objects.\");\n\nexport const niftyimagesListMaps = action(\"NIFTYIMAGES_LIST_MAPS\", {\n slug: \"niftyimages-list-maps\",\n name: \"List Maps\",\n description: \"Tool to retrieve all maps in your NiftyImages account. Use when you need to view all available maps for geo-targeting or location-based email content.\",\n input: NiftyimagesListMapsInput,\n output: NiftyimagesListMapsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0FAA0F;AACtK,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,MAAMA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5G,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,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,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,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.ZodTypeAny;
5
- declare const NiftyimagesListMapsOutput: z.ZodTypeAny;
6
- declare const niftyimagesListMaps: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$loose>>>>;
12
+ }, z.core.$loose>;
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,EAA0B,CAAA,CAAE,UAA8H;AAAA,cAO1J,yBAAA,EAA2B,CAAA,CAAE,UAEuC;AAAA,cAEpE,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}