@keystrokehq/niftyimages 0.1.4 → 0.1.6

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 (85) 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 +1 -0
  4. package/dist/actions/get-images-stats.cjs.map +1 -1
  5. package/dist/actions/get-images-stats.d.cts +3 -1
  6. package/dist/actions/get-images-stats.d.cts.map +1 -1
  7. package/dist/actions/get-images-stats.d.mts +3 -1
  8. package/dist/actions/get-images-stats.d.mts.map +1 -1
  9. package/dist/actions/get-images-stats.mjs +1 -0
  10. package/dist/actions/get-images-stats.mjs.map +1 -1
  11. package/dist/actions/get-widget-user-images.cjs +1 -0
  12. package/dist/actions/get-widget-user-images.cjs.map +1 -1
  13. package/dist/actions/get-widget-user-images.d.cts +3 -4
  14. package/dist/actions/get-widget-user-images.d.cts.map +1 -1
  15. package/dist/actions/get-widget-user-images.d.mts +3 -4
  16. package/dist/actions/get-widget-user-images.d.mts.map +1 -1
  17. package/dist/actions/get-widget-user-images.mjs +1 -0
  18. package/dist/actions/get-widget-user-images.mjs.map +1 -1
  19. package/dist/actions/get-widget-user-stats.cjs +1 -0
  20. package/dist/actions/get-widget-user-stats.cjs.map +1 -1
  21. package/dist/actions/get-widget-user-stats.d.cts +3 -4
  22. package/dist/actions/get-widget-user-stats.d.cts.map +1 -1
  23. package/dist/actions/get-widget-user-stats.d.mts +3 -4
  24. package/dist/actions/get-widget-user-stats.d.mts.map +1 -1
  25. package/dist/actions/get-widget-user-stats.mjs +1 -0
  26. package/dist/actions/get-widget-user-stats.mjs.map +1 -1
  27. package/dist/actions/list-images.cjs +1 -0
  28. package/dist/actions/list-images.cjs.map +1 -1
  29. package/dist/actions/list-images.d.cts +3 -4
  30. package/dist/actions/list-images.d.cts.map +1 -1
  31. package/dist/actions/list-images.d.mts +3 -4
  32. package/dist/actions/list-images.d.mts.map +1 -1
  33. package/dist/actions/list-images.mjs +1 -0
  34. package/dist/actions/list-images.mjs.map +1 -1
  35. package/dist/actions/list-maps.cjs +1 -0
  36. package/dist/actions/list-maps.cjs.map +1 -1
  37. package/dist/actions/list-maps.d.cts +3 -1
  38. package/dist/actions/list-maps.d.cts.map +1 -1
  39. package/dist/actions/list-maps.d.mts +3 -1
  40. package/dist/actions/list-maps.d.mts.map +1 -1
  41. package/dist/actions/list-maps.mjs +1 -0
  42. package/dist/actions/list-maps.mjs.map +1 -1
  43. package/dist/actions/list-widget-images.cjs +1 -0
  44. package/dist/actions/list-widget-images.cjs.map +1 -1
  45. package/dist/actions/list-widget-images.d.cts +3 -5
  46. package/dist/actions/list-widget-images.d.cts.map +1 -1
  47. package/dist/actions/list-widget-images.d.mts +3 -5
  48. package/dist/actions/list-widget-images.d.mts.map +1 -1
  49. package/dist/actions/list-widget-images.mjs +1 -0
  50. package/dist/actions/list-widget-images.mjs.map +1 -1
  51. package/dist/actions/list-widget-stats.cjs +1 -0
  52. package/dist/actions/list-widget-stats.cjs.map +1 -1
  53. package/dist/actions/list-widget-stats.d.cts +3 -4
  54. package/dist/actions/list-widget-stats.d.cts.map +1 -1
  55. package/dist/actions/list-widget-stats.d.mts +3 -4
  56. package/dist/actions/list-widget-stats.d.mts.map +1 -1
  57. package/dist/actions/list-widget-stats.mjs +1 -0
  58. package/dist/actions/list-widget-stats.mjs.map +1 -1
  59. package/dist/actions/list-widget-users.cjs +1 -0
  60. package/dist/actions/list-widget-users.cjs.map +1 -1
  61. package/dist/actions/list-widget-users.d.cts +3 -5
  62. package/dist/actions/list-widget-users.d.cts.map +1 -1
  63. package/dist/actions/list-widget-users.d.mts +3 -5
  64. package/dist/actions/list-widget-users.d.mts.map +1 -1
  65. package/dist/actions/list-widget-users.mjs +1 -0
  66. package/dist/actions/list-widget-users.mjs.map +1 -1
  67. package/dist/actions/list-widgets.cjs +1 -0
  68. package/dist/actions/list-widgets.cjs.map +1 -1
  69. package/dist/actions/list-widgets.d.cts +3 -1
  70. package/dist/actions/list-widgets.d.cts.map +1 -1
  71. package/dist/actions/list-widgets.d.mts +3 -1
  72. package/dist/actions/list-widgets.d.mts.map +1 -1
  73. package/dist/actions/list-widgets.mjs +1 -0
  74. package/dist/actions/list-widgets.mjs.map +1 -1
  75. package/dist/app.cjs +5 -2
  76. package/dist/app.cjs.map +1 -1
  77. package/dist/app.d.cts +7 -1
  78. package/dist/app.d.cts.map +1 -1
  79. package/dist/app.d.mts +7 -1
  80. package/dist/app.d.mts.map +1 -1
  81. package/dist/app.mjs +3 -2
  82. package/dist/app.mjs.map +1 -1
  83. package/dist/index.d.cts +1 -1
  84. package/dist/index.d.mts +1 -1
  85. 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<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
+ {"version":3,"file":"action.cjs","names":["niftyimages","executeNiftyimagesTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof niftyimages.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAO2D;CAC3D,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<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
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof niftyimages.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAO2D;CAC3D,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,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-images-stats.ts
@@ -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.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
+ {"version":3,"file":"get-images-stats.cjs","names":["z","action"],"sources":["../../src/actions/get-images-stats.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { niftyimages } from \"../app\";\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: AppAction<\n typeof NiftyimagesGetImagesStatsInput,\n typeof NiftyimagesGetImagesStatsOutput,\n typeof niftyimages.credential\n> = 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":";;;;AAMA,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,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { niftyimages } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-images-stats.d.ts
@@ -11,7 +13,7 @@ declare const NiftyimagesGetImagesStatsOutput: z.ZodObject<{
11
13
  impressions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
14
  }, z.core.$loose>>>>;
13
15
  }, 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]>;
16
+ declare const niftyimagesGetImagesStats: AppAction<typeof NiftyimagesGetImagesStatsInput, typeof NiftyimagesGetImagesStatsOutput, typeof niftyimages.credential>;
15
17
  //#endregion
16
18
  export { niftyimagesGetImagesStats };
17
19
  //# 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,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
+ {"version":3,"file":"get-images-stats.d.cts","names":[],"sources":["../../src/actions/get-images-stats.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { niftyimages } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-images-stats.d.ts
@@ -11,7 +13,7 @@ declare const NiftyimagesGetImagesStatsOutput: z.ZodObject<{
11
13
  impressions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
14
  }, z.core.$loose>>>>;
13
15
  }, 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]>;
16
+ declare const niftyimagesGetImagesStats: AppAction<typeof NiftyimagesGetImagesStatsInput, typeof NiftyimagesGetImagesStatsOutput, typeof niftyimages.credential>;
15
17
  //#endregion
16
18
  export { niftyimagesGetImagesStats };
17
19
  //# 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,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
+ {"version":3,"file":"get-images-stats.d.mts","names":[],"sources":["../../src/actions/get-images-stats.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-images-stats.ts
@@ -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.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"}
1
+ {"version":3,"file":"get-images-stats.mjs","names":[],"sources":["../../src/actions/get-images-stats.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { niftyimages } from \"../app\";\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: AppAction<\n typeof NiftyimagesGetImagesStatsInput,\n typeof NiftyimagesGetImagesStatsOutput,\n typeof niftyimages.credential\n> = 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":";;;;AAMA,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,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,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,qDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-widget-user-images.ts
@@ -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.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
+ {"version":3,"file":"get-widget-user-images.cjs","names":["z","action"],"sources":["../../src/actions/get-widget-user-images.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { niftyimages } from \"../app\";\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: AppAction<\n typeof NiftyimagesGetWidgetUserImagesInput,\n typeof NiftyimagesGetWidgetUserImagesOutput,\n typeof niftyimages.credential\n> = 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":";;;;AAMA,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,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { niftyimages } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-widget-user-images.d.ts
@@ -12,10 +14,7 @@ declare const NiftyimagesGetWidgetUserImagesOutput: z.ZodObject<{
12
14
  ImageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  }, z.core.$loose>>>>;
14
16
  }, 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]>;
17
+ declare const niftyimagesGetWidgetUserImages: AppAction<typeof NiftyimagesGetWidgetUserImagesInput, typeof NiftyimagesGetWidgetUserImagesOutput, typeof niftyimages.credential>;
19
18
  //#endregion
20
19
  export { niftyimagesGetWidgetUserImages };
21
20
  //# 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,EAAmC,CAAA,CAAA,SAAA;;;;cASnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"get-widget-user-images.d.cts","names":[],"sources":["../../src/actions/get-widget-user-images.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cASnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;cAIpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { niftyimages } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-widget-user-images.d.ts
@@ -12,10 +14,7 @@ declare const NiftyimagesGetWidgetUserImagesOutput: z.ZodObject<{
12
14
  ImageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  }, z.core.$loose>>>>;
14
16
  }, 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]>;
17
+ declare const niftyimagesGetWidgetUserImages: AppAction<typeof NiftyimagesGetWidgetUserImagesInput, typeof NiftyimagesGetWidgetUserImagesOutput, typeof niftyimages.credential>;
19
18
  //#endregion
20
19
  export { niftyimagesGetWidgetUserImages };
21
20
  //# 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,EAAmC,CAAA,CAAA,SAAA;;;;cASnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"get-widget-user-images.d.mts","names":[],"sources":["../../src/actions/get-widget-user-images.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cASnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;cAIpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-widget-user-images.ts
@@ -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.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"}
1
+ {"version":3,"file":"get-widget-user-images.mjs","names":[],"sources":["../../src/actions/get-widget-user-images.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { niftyimages } from \"../app\";\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: AppAction<\n typeof NiftyimagesGetWidgetUserImagesInput,\n typeof NiftyimagesGetWidgetUserImagesOutput,\n typeof niftyimages.credential\n> = 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":";;;;AAMA,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,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkD,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,+DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-widget-user-stats.ts
@@ -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.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
+ {"version":3,"file":"get-widget-user-stats.cjs","names":["z","action"],"sources":["../../src/actions/get-widget-user-stats.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { niftyimages } from \"../app\";\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: AppAction<\n typeof NiftyimagesGetWidgetUserStatsInput,\n typeof NiftyimagesGetWidgetUserStatsOutput,\n typeof niftyimages.credential\n> = 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":";;;;AAMA,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,gCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { niftyimages } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-widget-user-stats.d.ts
@@ -14,10 +16,7 @@ declare const NiftyimagesGetWidgetUserStatsOutput: z.ZodObject<{
14
16
  total_clicks: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
17
  total_impressions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
18
  }, 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]>;
19
+ declare const niftyimagesGetWidgetUserStats: AppAction<typeof NiftyimagesGetWidgetUserStatsInput, typeof NiftyimagesGetWidgetUserStatsOutput, typeof niftyimages.credential>;
21
20
  //#endregion
22
21
  export { niftyimagesGetWidgetUserStats };
23
22
  //# 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,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cAUnC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"get-widget-user-stats.d.cts","names":[],"sources":["../../src/actions/get-widget-user-stats.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cAUnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { niftyimages } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-widget-user-stats.d.ts
@@ -14,10 +16,7 @@ declare const NiftyimagesGetWidgetUserStatsOutput: z.ZodObject<{
14
16
  total_clicks: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
17
  total_impressions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
18
  }, 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]>;
19
+ declare const niftyimagesGetWidgetUserStats: AppAction<typeof NiftyimagesGetWidgetUserStatsInput, typeof NiftyimagesGetWidgetUserStatsOutput, typeof niftyimages.credential>;
21
20
  //#endregion
22
21
  export { niftyimagesGetWidgetUserStats };
23
22
  //# 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,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cAUnC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"get-widget-user-stats.d.mts","names":[],"sources":["../../src/actions/get-widget-user-stats.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cAUnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const niftyimagesGetWidgetUserStats = action("NIFTYIMAGES_GET_WIDGET_USER_STATS", {
@@ -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.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"}
1
+ {"version":3,"file":"get-widget-user-stats.mjs","names":[],"sources":["../../src/actions/get-widget-user-stats.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { niftyimages } from \"../app\";\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: AppAction<\n typeof NiftyimagesGetWidgetUserStatsInput,\n typeof NiftyimagesGetWidgetUserStatsOutput,\n typeof niftyimages.credential\n> = 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":";;;AAoBA,MAAa,gCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC7E,CAmBS;CACP,QAnBiD,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,yDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-images.ts
@@ -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.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
+ {"version":3,"file":"list-images.cjs","names":["z","action"],"sources":["../../src/actions/list-images.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { niftyimages } from \"../app\";\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: AppAction<\n typeof NiftyimagesListImagesInput,\n typeof NiftyimagesListImagesOutput,\n typeof niftyimages.credential\n> = 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":";;;;AAMA,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,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { niftyimages } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-images.d.ts
@@ -14,10 +16,7 @@ declare const NiftyimagesListImagesOutput: z.ZodObject<{
14
16
  UpdateDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>>>>;
16
18
  }, 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]>;
19
+ declare const niftyimagesListImages: AppAction<typeof NiftyimagesListImagesInput, typeof NiftyimagesListImagesOutput, typeof niftyimages.credential>;
21
20
  //#endregion
22
21
  export { niftyimagesListImages };
23
22
  //# 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,EAA0B,CAAA,CAAA,SAAA;;;;cAU1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"list-images.d.cts","names":[],"sources":["../../src/actions/list-images.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAU1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { niftyimages } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-images.d.ts
@@ -14,10 +16,7 @@ declare const NiftyimagesListImagesOutput: z.ZodObject<{
14
16
  UpdateDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>>>>;
16
18
  }, 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]>;
19
+ declare const niftyimagesListImages: AppAction<typeof NiftyimagesListImagesInput, typeof NiftyimagesListImagesOutput, typeof niftyimages.credential>;
21
20
  //#endregion
22
21
  export { niftyimagesListImages };
23
22
  //# 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,EAA0B,CAAA,CAAA,SAAA;;;;cAU1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"list-images.d.mts","names":[],"sources":["../../src/actions/list-images.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAU1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-images.ts
@@ -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.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"}
1
+ {"version":3,"file":"list-images.mjs","names":[],"sources":["../../src/actions/list-images.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { niftyimages } from \"../app\";\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: AppAction<\n typeof NiftyimagesListImagesInput,\n typeof NiftyimagesListImagesOutput,\n typeof niftyimages.credential\n> = 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":";;;;AAMA,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,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdyC,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,oCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-maps.ts
@@ -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.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
+ {"version":3,"file":"list-maps.cjs","names":["z","action"],"sources":["../../src/actions/list-maps.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { niftyimages } from \"../app\";\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: AppAction<\n typeof NiftyimagesListMapsInput,\n typeof NiftyimagesListMapsOutput,\n typeof niftyimages.credential\n> = 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":";;;;AAMA,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,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { niftyimages } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-maps.d.ts
@@ -10,7 +12,7 @@ declare const NiftyimagesListMapsOutput: z.ZodObject<{
10
12
  ModifiedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  }, z.core.$loose>>>>;
12
14
  }, 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]>;
15
+ declare const niftyimagesListMaps: AppAction<typeof NiftyimagesListMapsInput, typeof NiftyimagesListMapsOutput, typeof niftyimages.credential>;
14
16
  //#endregion
15
17
  export { niftyimagesListMaps };
16
18
  //# 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,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
+ {"version":3,"file":"list-maps.d.cts","names":[],"sources":["../../src/actions/list-maps.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { niftyimages } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-maps.d.ts
@@ -10,7 +12,7 @@ declare const NiftyimagesListMapsOutput: z.ZodObject<{
10
12
  ModifiedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  }, z.core.$loose>>>>;
12
14
  }, 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]>;
15
+ declare const niftyimagesListMaps: AppAction<typeof NiftyimagesListMapsInput, typeof NiftyimagesListMapsOutput, typeof niftyimages.credential>;
14
16
  //#endregion
15
17
  export { niftyimagesListMaps };
16
18
  //# 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,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
+ {"version":3,"file":"list-maps.d.mts","names":[],"sources":["../../src/actions/list-maps.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-maps.ts
@@ -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 = 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,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,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAKxD,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,YAAY,CAAC,CAAC,SAAS,oEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-maps.mjs","names":[],"sources":["../../src/actions/list-maps.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { niftyimages } from \"../app\";\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: AppAction<\n typeof NiftyimagesListMapsInput,\n typeof NiftyimagesListMapsOutput,\n typeof niftyimages.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAKxD,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,MAAM,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-widget-images.ts
@@ -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 = 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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,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,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-widget-images.cjs","names":["z","action"],"sources":["../../src/actions/list-widget-images.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { niftyimages } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model for listing widget images.\");\n\nexport const niftyimagesListWidgetImages: AppAction<\n typeof NiftyimagesListWidgetImagesInput,\n typeof NiftyimagesListWidgetImagesOutput,\n typeof niftyimages.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,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,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { niftyimages } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-widget-images.d.ts
@@ -14,11 +16,7 @@ declare const NiftyimagesListWidgetImagesOutput: z.ZodObject<{
14
16
  CreatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>>>>;
16
18
  }, z.core.$loose>;
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]>;
19
+ declare const niftyimagesListWidgetImages: AppAction<typeof NiftyimagesListWidgetImagesInput, typeof NiftyimagesListWidgetImagesOutput, typeof niftyimages.credential>;
22
20
  //#endregion
23
21
  export { niftyimagesListWidgetImages };
24
22
  //# 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,EAAgC,CAAA,CAAA,SAAA;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"list-widget-images.d.cts","names":[],"sources":["../../src/actions/list-widget-images.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { niftyimages } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-widget-images.d.ts
@@ -14,11 +16,7 @@ declare const NiftyimagesListWidgetImagesOutput: z.ZodObject<{
14
16
  CreatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>>>>;
16
18
  }, z.core.$loose>;
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]>;
19
+ declare const niftyimagesListWidgetImages: AppAction<typeof NiftyimagesListWidgetImagesInput, typeof NiftyimagesListWidgetImagesOutput, typeof niftyimages.credential>;
22
20
  //#endregion
23
21
  export { niftyimagesListWidgetImages };
24
22
  //# 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,EAAgC,CAAA,CAAA,SAAA;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"list-widget-images.d.mts","names":[],"sources":["../../src/actions/list-widget-images.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-widget-images.ts
@@ -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 = 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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,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,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-widget-images.mjs","names":[],"sources":["../../src/actions/list-widget-images.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { niftyimages } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model for listing widget images.\");\n\nexport const niftyimagesListWidgetImages: AppAction<\n typeof NiftyimagesListWidgetImagesInput,\n typeof NiftyimagesListWidgetImagesOutput,\n typeof niftyimages.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO,EACxD,QAAQ,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-widget-stats.ts
@@ -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 = 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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,0BAA0B;AACpD,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,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-widget-stats.cjs","names":["z","action"],"sources":["../../src/actions/list-widget-stats.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { niftyimages } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model containing widget statistics.\");\n\nexport const niftyimagesListWidgetStats: AppAction<\n typeof NiftyimagesListWidgetStatsInput,\n typeof NiftyimagesListWidgetStatsOutput,\n typeof niftyimages.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,0BAA0B;AACpD,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,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { niftyimages } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-widget-stats.d.ts
@@ -21,10 +23,7 @@ declare const NiftyimagesListWidgetStatsOutput: z.ZodObject<{
21
23
  startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  additionalData: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
23
25
  }, z.core.$loose>;
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]>;
26
+ declare const niftyimagesListWidgetStats: AppAction<typeof NiftyimagesListWidgetStatsInput, typeof NiftyimagesListWidgetStatsOutput, typeof niftyimages.credential>;
28
27
  //#endregion
29
28
  export { niftyimagesListWidgetStats };
30
29
  //# 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,EAA+B,CAAA,CAAA,SAAA;;;;cAc/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"list-widget-stats.d.cts","names":[],"sources":["../../src/actions/list-widget-stats.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAc/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { niftyimages } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-widget-stats.d.ts
@@ -21,10 +23,7 @@ declare const NiftyimagesListWidgetStatsOutput: z.ZodObject<{
21
23
  startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  additionalData: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
23
25
  }, z.core.$loose>;
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]>;
26
+ declare const niftyimagesListWidgetStats: AppAction<typeof NiftyimagesListWidgetStatsInput, typeof NiftyimagesListWidgetStatsOutput, typeof niftyimages.credential>;
28
27
  //#endregion
29
28
  export { niftyimagesListWidgetStats };
30
29
  //# 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,EAA+B,CAAA,CAAA,SAAA;;;;cAc/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"list-widget-stats.d.mts","names":[],"sources":["../../src/actions/list-widget-stats.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAc/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-widget-stats.ts
@@ -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 = 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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,0BAA0B;AASpD,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,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-widget-stats.mjs","names":[],"sources":["../../src/actions/list-widget-stats.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { niftyimages } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model containing widget statistics.\");\n\nexport const niftyimagesListWidgetStats: AppAction<\n typeof NiftyimagesListWidgetStatsInput,\n typeof NiftyimagesListWidgetStatsOutput,\n typeof niftyimages.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,0BAA0B;AASpD,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjB8C,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,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-widget-users.ts
@@ -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 = 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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,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,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-widget-users.cjs","names":["z","action"],"sources":["../../src/actions/list-widget-users.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { niftyimages } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model for listing widget users.\");\n\nexport const niftyimagesListWidgetUsers: AppAction<\n typeof NiftyimagesListWidgetUsersInput,\n typeof NiftyimagesListWidgetUsersOutput,\n typeof niftyimages.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,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,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { niftyimages } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-widget-users.d.ts
@@ -16,11 +18,7 @@ declare const NiftyimagesListWidgetUsersOutput: z.ZodObject<{
16
18
  }, z.core.$loose>>>>;
17
19
  totalCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
20
  }, z.core.$loose>;
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]>;
21
+ declare const niftyimagesListWidgetUsers: AppAction<typeof NiftyimagesListWidgetUsersInput, typeof NiftyimagesListWidgetUsersOutput, typeof niftyimages.credential>;
24
22
  //#endregion
25
23
  export { niftyimagesListWidgetUsers };
26
24
  //# 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,EAA+B,CAAA,CAAA,SAAA;;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"list-widget-users.d.cts","names":[],"sources":["../../src/actions/list-widget-users.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { niftyimages } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-widget-users.d.ts
@@ -16,11 +18,7 @@ declare const NiftyimagesListWidgetUsersOutput: z.ZodObject<{
16
18
  }, z.core.$loose>>>>;
17
19
  totalCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
20
  }, z.core.$loose>;
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]>;
21
+ declare const niftyimagesListWidgetUsers: AppAction<typeof NiftyimagesListWidgetUsersInput, typeof NiftyimagesListWidgetUsersOutput, typeof niftyimages.credential>;
24
22
  //#endregion
25
23
  export { niftyimagesListWidgetUsers };
26
24
  //# 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,EAA+B,CAAA,CAAA,SAAA;;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"list-widget-users.d.mts","names":[],"sources":["../../src/actions/list-widget-users.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-widget-users.ts
@@ -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 = 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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAM3E,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,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-widget-users.mjs","names":[],"sources":["../../src/actions/list-widget-users.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { niftyimages } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model for listing widget users.\");\n\nexport const niftyimagesListWidgetUsers: AppAction<\n typeof NiftyimagesListWidgetUsersInput,\n typeof NiftyimagesListWidgetUsersOutput,\n typeof niftyimages.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAM3E,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd8C,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,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-widgets.ts
@@ -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 = 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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,SAASA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,gDAAgD,EACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-widgets.cjs","names":["z","action"],"sources":["../../src/actions/list-widgets.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { niftyimages } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model for listing widgets.\");\n\nexport const niftyimagesListWidgets: AppAction<\n typeof NiftyimagesListWidgetsInput,\n typeof NiftyimagesListWidgetsOutput,\n typeof niftyimages.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,SAASA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,gDAAgD,EACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { niftyimages } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-widgets.d.ts
@@ -8,7 +10,7 @@ declare const NiftyimagesListWidgetsOutput: z.ZodObject<{
8
10
  WidgetKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  }, z.core.$loose>>;
10
12
  }, z.core.$loose>;
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]>;
13
+ declare const niftyimagesListWidgets: AppAction<typeof NiftyimagesListWidgetsInput, typeof NiftyimagesListWidgetsOutput, typeof niftyimages.credential>;
12
14
  //#endregion
13
15
  export { niftyimagesListWidgets };
14
16
  //# 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,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
+ {"version":3,"file":"list-widgets.d.cts","names":[],"sources":["../../src/actions/list-widgets.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { niftyimages } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-widgets.d.ts
@@ -8,7 +10,7 @@ declare const NiftyimagesListWidgetsOutput: z.ZodObject<{
8
10
  WidgetKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  }, z.core.$loose>>;
10
12
  }, z.core.$loose>;
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]>;
13
+ declare const niftyimagesListWidgets: AppAction<typeof NiftyimagesListWidgetsInput, typeof NiftyimagesListWidgetsOutput, typeof niftyimages.credential>;
12
14
  //#endregion
13
15
  export { niftyimagesListWidgets };
14
16
  //# 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,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
+ {"version":3,"file":"list-widgets.d.mts","names":[],"sources":["../../src/actions/list-widgets.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,WAAA,CAAY,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-widgets.ts
@@ -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 = 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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,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,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-widgets.mjs","names":[],"sources":["../../src/actions/list-widgets.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { niftyimages } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response model for listing widgets.\");\n\nexport const niftyimagesListWidgets: AppAction<\n typeof NiftyimagesListWidgetsInput,\n typeof NiftyimagesListWidgetsOutput,\n typeof niftyimages.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,EAAE,OAAO,EACnD,SAAS,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,gDAAgD,EACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
1
2
  //#region src/app.ts
2
- const niftyimages = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
+ const niftyimages = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "niftyimages",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential
5
8
  });
6
9
  //#endregion
7
10
  exports.niftyimages = niftyimages;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const niftyimages = defineApp({\n slug: \"niftyimages\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,eAAA,uCAAA,CAAA,CAAA,UAAA,CAAwB;CACnC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const niftyimages: KeystrokeApp<\"niftyimages\", typeof credential> = defineApp({\n slug: \"niftyimages\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,eAAA,GAAA,2BAAA,UAAA,CAAwE;CACnF,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const niftyimages: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const niftyimages: KeystrokeApp<"niftyimages", typeof credential>;
3
9
  //#endregion
4
10
  export { niftyimages };
5
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,WAAA,6BAAW,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,WAAA,EAAa,YAAY,uBAAuB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const niftyimages: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const niftyimages: KeystrokeApp<"niftyimages", typeof credential>;
3
9
  //#endregion
4
10
  export { niftyimages };
5
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,WAAA,6BAAW,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,WAAA,EAAa,YAAY,uBAAuB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
- //#region src/app.ts
2
+ import { z } from "zod";
3
3
  const niftyimages = defineApp({
4
4
  slug: "niftyimages",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: { generic_api_key: z.string() }
6
7
  });
7
8
  //#endregion
8
9
  export { niftyimages };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const niftyimages = defineApp({\n slug: \"niftyimages\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,cAAc,UAAU;CACnC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const niftyimages: KeystrokeApp<\"niftyimages\", typeof credential> = defineApp({\n slug: \"niftyimages\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,cAA8D,UAAU;CACnF,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { niftyimages } from "./app.cjs";
1
2
  import { niftyimagesGetImagesStats } from "./actions/get-images-stats.cjs";
2
3
  import { niftyimagesGetWidgetUserImages } from "./actions/get-widget-user-images.cjs";
3
4
  import { niftyimagesGetWidgetUserStats } from "./actions/get-widget-user-stats.cjs";
@@ -7,6 +8,5 @@ import { niftyimagesListWidgetImages } from "./actions/list-widget-images.cjs";
7
8
  import { niftyimagesListWidgetStats } from "./actions/list-widget-stats.cjs";
8
9
  import { niftyimagesListWidgetUsers } from "./actions/list-widget-users.cjs";
9
10
  import { niftyimagesListWidgets } from "./actions/list-widgets.cjs";
10
- import { niftyimages } from "./app.cjs";
11
11
  import { niftyimagesCatalog } from "./catalog.cjs";
12
12
  export { niftyimages, niftyimagesCatalog, niftyimagesGetImagesStats, niftyimagesGetWidgetUserImages, niftyimagesGetWidgetUserStats, niftyimagesListImages, niftyimagesListMaps, niftyimagesListWidgetImages, niftyimagesListWidgetStats, niftyimagesListWidgetUsers, niftyimagesListWidgets };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { niftyimages } from "./app.mjs";
1
2
  import { niftyimagesGetImagesStats } from "./actions/get-images-stats.mjs";
2
3
  import { niftyimagesGetWidgetUserImages } from "./actions/get-widget-user-images.mjs";
3
4
  import { niftyimagesGetWidgetUserStats } from "./actions/get-widget-user-stats.mjs";
@@ -7,6 +8,5 @@ import { niftyimagesListWidgetImages } from "./actions/list-widget-images.mjs";
7
8
  import { niftyimagesListWidgetStats } from "./actions/list-widget-stats.mjs";
8
9
  import { niftyimagesListWidgetUsers } from "./actions/list-widget-users.mjs";
9
10
  import { niftyimagesListWidgets } from "./actions/list-widgets.mjs";
10
- import { niftyimages } from "./app.mjs";
11
11
  import { niftyimagesCatalog } from "./catalog.mjs";
12
12
  export { niftyimages, niftyimagesCatalog, niftyimagesGetImagesStats, niftyimagesGetWidgetUserImages, niftyimagesGetWidgetUserStats, niftyimagesListImages, niftyimagesListMaps, niftyimagesListWidgetImages, niftyimagesListWidgetStats, niftyimagesListWidgetUsers, niftyimagesListWidgets };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/niftyimages",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
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": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {