@keystrokehq/gan_ai 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/get-avatar-video-inference-details.cjs +1 -0
  4. package/dist/actions/get-avatar-video-inference-details.cjs.map +1 -1
  5. package/dist/actions/get-avatar-video-inference-details.d.cts +3 -3
  6. package/dist/actions/get-avatar-video-inference-details.d.cts.map +1 -1
  7. package/dist/actions/get-avatar-video-inference-details.d.mts +3 -3
  8. package/dist/actions/get-avatar-video-inference-details.d.mts.map +1 -1
  9. package/dist/actions/get-avatar-video-inference-details.mjs +1 -0
  10. package/dist/actions/get-avatar-video-inference-details.mjs.map +1 -1
  11. package/dist/actions/get-photo-avatar-details.cjs +1 -0
  12. package/dist/actions/get-photo-avatar-details.cjs.map +1 -1
  13. package/dist/actions/get-photo-avatar-details.d.cts +3 -3
  14. package/dist/actions/get-photo-avatar-details.d.cts.map +1 -1
  15. package/dist/actions/get-photo-avatar-details.d.mts +3 -3
  16. package/dist/actions/get-photo-avatar-details.d.mts.map +1 -1
  17. package/dist/actions/get-photo-avatar-details.mjs +1 -0
  18. package/dist/actions/get-photo-avatar-details.mjs.map +1 -1
  19. package/dist/actions/get-photo-avatar-inference-details.cjs +1 -0
  20. package/dist/actions/get-photo-avatar-inference-details.cjs.map +1 -1
  21. package/dist/actions/get-photo-avatar-inference-details.d.cts +3 -4
  22. package/dist/actions/get-photo-avatar-inference-details.d.cts.map +1 -1
  23. package/dist/actions/get-photo-avatar-inference-details.d.mts +3 -4
  24. package/dist/actions/get-photo-avatar-inference-details.d.mts.map +1 -1
  25. package/dist/actions/get-photo-avatar-inference-details.mjs +1 -0
  26. package/dist/actions/get-photo-avatar-inference-details.mjs.map +1 -1
  27. package/dist/actions/list-avatar-videos.cjs +1 -0
  28. package/dist/actions/list-avatar-videos.cjs.map +1 -1
  29. package/dist/actions/list-avatar-videos.d.cts +3 -10
  30. package/dist/actions/list-avatar-videos.d.cts.map +1 -1
  31. package/dist/actions/list-avatar-videos.d.mts +3 -10
  32. package/dist/actions/list-avatar-videos.d.mts.map +1 -1
  33. package/dist/actions/list-avatar-videos.mjs +1 -0
  34. package/dist/actions/list-avatar-videos.mjs.map +1 -1
  35. package/dist/actions/list-photo-avatar-inferences.cjs +1 -0
  36. package/dist/actions/list-photo-avatar-inferences.cjs.map +1 -1
  37. package/dist/actions/list-photo-avatar-inferences.d.cts +3 -9
  38. package/dist/actions/list-photo-avatar-inferences.d.cts.map +1 -1
  39. package/dist/actions/list-photo-avatar-inferences.d.mts +3 -9
  40. package/dist/actions/list-photo-avatar-inferences.d.mts.map +1 -1
  41. package/dist/actions/list-photo-avatar-inferences.mjs +1 -0
  42. package/dist/actions/list-photo-avatar-inferences.mjs.map +1 -1
  43. package/dist/actions/list-photo-avatars.cjs +1 -0
  44. package/dist/actions/list-photo-avatars.cjs.map +1 -1
  45. package/dist/actions/list-photo-avatars.d.cts +3 -8
  46. package/dist/actions/list-photo-avatars.d.cts.map +1 -1
  47. package/dist/actions/list-photo-avatars.d.mts +3 -8
  48. package/dist/actions/list-photo-avatars.d.mts.map +1 -1
  49. package/dist/actions/list-photo-avatars.mjs +1 -0
  50. package/dist/actions/list-photo-avatars.mjs.map +1 -1
  51. package/dist/actions/login.cjs +1 -0
  52. package/dist/actions/login.cjs.map +1 -1
  53. package/dist/actions/login.d.cts +3 -4
  54. package/dist/actions/login.d.cts.map +1 -1
  55. package/dist/actions/login.d.mts +3 -4
  56. package/dist/actions/login.d.mts.map +1 -1
  57. package/dist/actions/login.mjs +1 -0
  58. package/dist/actions/login.mjs.map +1 -1
  59. package/dist/actions/tts.cjs +1 -0
  60. package/dist/actions/tts.cjs.map +1 -1
  61. package/dist/actions/tts.d.cts +3 -4
  62. package/dist/actions/tts.d.cts.map +1 -1
  63. package/dist/actions/tts.d.mts +3 -4
  64. package/dist/actions/tts.d.mts.map +1 -1
  65. package/dist/actions/tts.mjs +1 -0
  66. package/dist/actions/tts.mjs.map +1 -1
  67. package/dist/app.cjs +5 -2
  68. package/dist/app.cjs.map +1 -1
  69. package/dist/app.d.cts +7 -1
  70. package/dist/app.d.cts.map +1 -1
  71. package/dist/app.d.mts +7 -1
  72. package/dist/app.d.mts.map +1 -1
  73. package/dist/app.mjs +3 -2
  74. package/dist/app.mjs.map +1 -1
  75. package/dist/index.d.cts +1 -1
  76. package/dist/index.d.mts +1 -1
  77. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["ganAi","executeGanAiTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { ganAi } from \"./app\";\nimport { executeGanAiTool } 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 ganAi.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 executeGanAiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,MAAM,OAAO;EAClB,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,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["ganAi","executeGanAiTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { ganAi } from \"./app\";\nimport { executeGanAiTool } 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 ganAi.credential> {\n return ganAi.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 executeGanAiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOqD;CACrD,OAAOA,YAAAA,MAAM,OAAO;EAClB,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,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { ganAi } from \"./app\";\nimport { executeGanAiTool } 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 ganAi.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 executeGanAiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,iBAAiB,MAAM,KAAgC,CAAC;EACxF;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 { ganAi } from \"./app\";\nimport { executeGanAiTool } 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 ganAi.credential> {\n return ganAi.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 executeGanAiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOqD;CACrD,OAAO,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,iBAAiB,MAAM,KAAgC,CAAC;EACxF;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-avatar-video-inference-details.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-avatar-video-inference-details.cjs","names":["z","action"],"sources":["../../src/actions/get-avatar-video-inference-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiGetAvatarVideoInferenceDetailsInput = z.object({\n inference_id: z.string().describe(\"The unique identifier (UUID) of the avatar video inference to retrieve.\"),\n});\nexport const GanAiGetAvatarVideoInferenceDetailsOutput = z.object({\n title: z.string().describe(\"Inference title, if available.\").nullable().optional(),\n video: z.string().describe(\"URL of the generated video, if ready.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Current state of the inference.\").nullable(),\n avatar_id: z.string().describe(\"Avatar ID (UUID).\").nullable(),\n thumbnail: z.string().describe(\"URL of the thumbnail image, if ready.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the inference was created.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used for the inference, if any.\").nullable().optional(),\n avatar_title: z.string().describe(\"Avatar title, if available.\").nullable().optional(),\n inference_id: z.string().describe(\"Inference ID (UUID).\").nullable(),\n}).passthrough();\n\nexport const ganAiGetAvatarVideoInferenceDetails = action(\"GAN_AI_GET_AVATAR_VIDEO_INFERENCE_DETAILS\", {\n slug: \"gan_ai-get-avatar-video-inference-details\",\n name: \"Get Avatar Video Inference Details\",\n description: \"Tool to retrieve detailed status and metadata for a specific avatar video inference. Use when you have an inference_id and need to check its processing status and access video URLs.\",\n input: GanAiGetAvatarVideoInferenceDetailsInput,\n output: GanAiGetAvatarVideoInferenceDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EAC7G,CAAC;AACD,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAc;EAAU;EAAa;CAAS,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC/H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sCAAsCC,eAAAA,OAAO,6CAA6C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-avatar-video-inference-details.cjs","names":["z","action"],"sources":["../../src/actions/get-avatar-video-inference-details.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiGetAvatarVideoInferenceDetailsInput = z.object({\n inference_id: z.string().describe(\"The unique identifier (UUID) of the avatar video inference to retrieve.\"),\n});\nexport const GanAiGetAvatarVideoInferenceDetailsOutput = z.object({\n title: z.string().describe(\"Inference title, if available.\").nullable().optional(),\n video: z.string().describe(\"URL of the generated video, if ready.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Current state of the inference.\").nullable(),\n avatar_id: z.string().describe(\"Avatar ID (UUID).\").nullable(),\n thumbnail: z.string().describe(\"URL of the thumbnail image, if ready.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the inference was created.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used for the inference, if any.\").nullable().optional(),\n avatar_title: z.string().describe(\"Avatar title, if available.\").nullable().optional(),\n inference_id: z.string().describe(\"Inference ID (UUID).\").nullable(),\n}).passthrough();\n\nexport const ganAiGetAvatarVideoInferenceDetails: AppAction<\n typeof GanAiGetAvatarVideoInferenceDetailsInput,\n typeof GanAiGetAvatarVideoInferenceDetailsOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_GET_AVATAR_VIDEO_INFERENCE_DETAILS\", {\n slug: \"gan_ai-get-avatar-video-inference-details\",\n name: \"Get Avatar Video Inference Details\",\n description: \"Tool to retrieve detailed status and metadata for a specific avatar video inference. Use when you have an inference_id and need to check its processing status and access video URLs.\",\n input: GanAiGetAvatarVideoInferenceDetailsInput,\n output: GanAiGetAvatarVideoInferenceDetailsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EAC7G,CAAC;AACD,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAc;EAAU;EAAa;CAAS,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC/H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sCAITC,eAAAA,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ganAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-avatar-video-inference-details.d.ts
@@ -21,9 +23,7 @@ declare const GanAiGetAvatarVideoInferenceDetailsOutput: z.ZodObject<{
21
23
  avatar_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  inference_id: z.ZodNullable<z.ZodString>;
23
25
  }, z.core.$loose>;
24
- declare const ganAiGetAvatarVideoInferenceDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- inference_id: string;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const ganAiGetAvatarVideoInferenceDetails: AppAction<typeof GanAiGetAvatarVideoInferenceDetailsInput, typeof GanAiGetAvatarVideoInferenceDetailsOutput, typeof ganAi.credential>;
27
27
  //#endregion
28
28
  export { ganAiGetAvatarVideoInferenceDetails };
29
29
  //# sourceMappingURL=get-avatar-video-inference-details.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-avatar-video-inference-details.d.cts","names":[],"sources":["../../src/actions/get-avatar-video-inference-details.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;cAGxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAYzC,mCAAA,gCAAmC,wBAAA"}
1
+ {"version":3,"file":"get-avatar-video-inference-details.d.cts","names":[],"sources":["../../src/actions/get-avatar-video-inference-details.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;cAGxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAYzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ganAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-avatar-video-inference-details.d.ts
@@ -21,9 +23,7 @@ declare const GanAiGetAvatarVideoInferenceDetailsOutput: z.ZodObject<{
21
23
  avatar_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  inference_id: z.ZodNullable<z.ZodString>;
23
25
  }, z.core.$loose>;
24
- declare const ganAiGetAvatarVideoInferenceDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- inference_id: string;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const ganAiGetAvatarVideoInferenceDetails: AppAction<typeof GanAiGetAvatarVideoInferenceDetailsInput, typeof GanAiGetAvatarVideoInferenceDetailsOutput, typeof ganAi.credential>;
27
27
  //#endregion
28
28
  export { ganAiGetAvatarVideoInferenceDetails };
29
29
  //# sourceMappingURL=get-avatar-video-inference-details.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-avatar-video-inference-details.d.mts","names":[],"sources":["../../src/actions/get-avatar-video-inference-details.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;cAGxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAYzC,mCAAA,gCAAmC,wBAAA"}
1
+ {"version":3,"file":"get-avatar-video-inference-details.d.mts","names":[],"sources":["../../src/actions/get-avatar-video-inference-details.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;cAGxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAYzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,KAAA,CAAM,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 ganAiGetAvatarVideoInferenceDetails = action("GAN_AI_GET_AVATAR_VIDEO_INFERENCE_DETAILS", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-avatar-video-inference-details.mjs","names":[],"sources":["../../src/actions/get-avatar-video-inference-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiGetAvatarVideoInferenceDetailsInput = z.object({\n inference_id: z.string().describe(\"The unique identifier (UUID) of the avatar video inference to retrieve.\"),\n});\nexport const GanAiGetAvatarVideoInferenceDetailsOutput = z.object({\n title: z.string().describe(\"Inference title, if available.\").nullable().optional(),\n video: z.string().describe(\"URL of the generated video, if ready.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Current state of the inference.\").nullable(),\n avatar_id: z.string().describe(\"Avatar ID (UUID).\").nullable(),\n thumbnail: z.string().describe(\"URL of the thumbnail image, if ready.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the inference was created.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used for the inference, if any.\").nullable().optional(),\n avatar_title: z.string().describe(\"Avatar title, if available.\").nullable().optional(),\n inference_id: z.string().describe(\"Inference ID (UUID).\").nullable(),\n}).passthrough();\n\nexport const ganAiGetAvatarVideoInferenceDetails = action(\"GAN_AI_GET_AVATAR_VIDEO_INFERENCE_DETAILS\", {\n slug: \"gan_ai-get-avatar-video-inference-details\",\n name: \"Get Avatar Video Inference Details\",\n description: \"Tool to retrieve detailed status and metadata for a specific avatar video inference. Use when you have an inference_id and need to check its processing status and access video URLs.\",\n input: GanAiGetAvatarVideoInferenceDetailsInput,\n output: GanAiGetAvatarVideoInferenceDetailsOutput,\n});\n"],"mappings":";;AAmBA,MAAa,sCAAsC,OAAO,6CAA6C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBsD,EAAE,OAAO,EAC/D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EAC7G,CAiBS;CACP,QAjBuD,EAAE,OAAO;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,QAAQ,EAAE,KAAK;GAAC;GAAS;GAAc;GAAU;GAAa;EAAS,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC/H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACrE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-avatar-video-inference-details.mjs","names":[],"sources":["../../src/actions/get-avatar-video-inference-details.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiGetAvatarVideoInferenceDetailsInput = z.object({\n inference_id: z.string().describe(\"The unique identifier (UUID) of the avatar video inference to retrieve.\"),\n});\nexport const GanAiGetAvatarVideoInferenceDetailsOutput = z.object({\n title: z.string().describe(\"Inference title, if available.\").nullable().optional(),\n video: z.string().describe(\"URL of the generated video, if ready.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Current state of the inference.\").nullable(),\n avatar_id: z.string().describe(\"Avatar ID (UUID).\").nullable(),\n thumbnail: z.string().describe(\"URL of the thumbnail image, if ready.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the inference was created.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used for the inference, if any.\").nullable().optional(),\n avatar_title: z.string().describe(\"Avatar title, if available.\").nullable().optional(),\n inference_id: z.string().describe(\"Inference ID (UUID).\").nullable(),\n}).passthrough();\n\nexport const ganAiGetAvatarVideoInferenceDetails: AppAction<\n typeof GanAiGetAvatarVideoInferenceDetailsInput,\n typeof GanAiGetAvatarVideoInferenceDetailsOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_GET_AVATAR_VIDEO_INFERENCE_DETAILS\", {\n slug: \"gan_ai-get-avatar-video-inference-details\",\n name: \"Get Avatar Video Inference Details\",\n description: \"Tool to retrieve detailed status and metadata for a specific avatar video inference. Use when you have an inference_id and need to check its processing status and access video URLs.\",\n input: GanAiGetAvatarVideoInferenceDetailsInput,\n output: GanAiGetAvatarVideoInferenceDetailsOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,sCAIT,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBsD,EAAE,OAAO,EAC/D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EAC7G,CAqBS;CACP,QArBuD,EAAE,OAAO;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,QAAQ,EAAE,KAAK;GAAC;GAAS;GAAc;GAAU;GAAa;EAAS,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC/H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACrE,CAAC,CAAC,CAAC,YAWO;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-photo-avatar-details.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-photo-avatar-details.cjs","names":["z","action"],"sources":["../../src/actions/get-photo-avatar-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiGetPhotoAvatarDetailsInput = z.object({\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar to retrieve details for\"),\n});\nexport const GanAiGetPhotoAvatarDetailsOutput = z.object({\n title: z.string().describe(\"Avatar title if set\").nullable().optional(),\n status: z.enum([\"draft\", \"failed\", \"processing\", \"published\", \"deleted\"]).describe(\"Current status of the photo avatar\").nullable(),\n base_image: z.string().describe(\"Presigned URL of the processed base image\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the avatar was created\").nullable().optional(),\n photo_avatar_id: z.string().describe(\"The avatar's unique identifier\").nullable(),\n}).passthrough();\n\nexport const ganAiGetPhotoAvatarDetails = action(\"GAN_AI_GET_PHOTO_AVATAR_DETAILS\", {\n slug: \"gan_ai-get-photo-avatar-details\",\n name: \"Get Photo Avatar Details\",\n description: \"Tool to retrieve detailed information for a specific photo avatar by ID. Use when you need to check photo avatar processing status and access its metadata and image URL.\",\n input: GanAiGetPhotoAvatarDetailsInput,\n output: GanAiGetPhotoAvatarDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACzF,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAU;EAAc;EAAa;CAAS,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-photo-avatar-details.cjs","names":["z","action"],"sources":["../../src/actions/get-photo-avatar-details.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiGetPhotoAvatarDetailsInput = z.object({\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar to retrieve details for\"),\n});\nexport const GanAiGetPhotoAvatarDetailsOutput = z.object({\n title: z.string().describe(\"Avatar title if set\").nullable().optional(),\n status: z.enum([\"draft\", \"failed\", \"processing\", \"published\", \"deleted\"]).describe(\"Current status of the photo avatar\").nullable(),\n base_image: z.string().describe(\"Presigned URL of the processed base image\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the avatar was created\").nullable().optional(),\n photo_avatar_id: z.string().describe(\"The avatar's unique identifier\").nullable(),\n}).passthrough();\n\nexport const ganAiGetPhotoAvatarDetails: AppAction<\n typeof GanAiGetPhotoAvatarDetailsInput,\n typeof GanAiGetPhotoAvatarDetailsOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_GET_PHOTO_AVATAR_DETAILS\", {\n slug: \"gan_ai-get-photo-avatar-details\",\n name: \"Get Photo Avatar Details\",\n description: \"Tool to retrieve detailed information for a specific photo avatar by ID. Use when you need to check photo avatar processing status and access its metadata and image URL.\",\n input: GanAiGetPhotoAvatarDetailsInput,\n output: GanAiGetPhotoAvatarDetailsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACzF,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAU;EAAc;EAAa;CAAS,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ganAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-photo-avatar-details.d.ts
@@ -17,9 +19,7 @@ declare const GanAiGetPhotoAvatarDetailsOutput: z.ZodObject<{
17
19
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  photo_avatar_id: z.ZodNullable<z.ZodString>;
19
21
  }, z.core.$loose>;
20
- declare const ganAiGetPhotoAvatarDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- photo_avatar_id: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const ganAiGetPhotoAvatarDetails: AppAction<typeof GanAiGetPhotoAvatarDetailsInput, typeof GanAiGetPhotoAvatarDetailsOutput, typeof ganAi.credential>;
23
23
  //#endregion
24
24
  export { ganAiGetPhotoAvatarDetails };
25
25
  //# sourceMappingURL=get-photo-avatar-details.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-photo-avatar-details.d.cts","names":[],"sources":["../../src/actions/get-photo-avatar-details.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAQhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"get-photo-avatar-details.d.cts","names":[],"sources":["../../src/actions/get-photo-avatar-details.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAQhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ganAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-photo-avatar-details.d.ts
@@ -17,9 +19,7 @@ declare const GanAiGetPhotoAvatarDetailsOutput: z.ZodObject<{
17
19
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  photo_avatar_id: z.ZodNullable<z.ZodString>;
19
21
  }, z.core.$loose>;
20
- declare const ganAiGetPhotoAvatarDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- photo_avatar_id: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const ganAiGetPhotoAvatarDetails: AppAction<typeof GanAiGetPhotoAvatarDetailsInput, typeof GanAiGetPhotoAvatarDetailsOutput, typeof ganAi.credential>;
23
23
  //#endregion
24
24
  export { ganAiGetPhotoAvatarDetails };
25
25
  //# sourceMappingURL=get-photo-avatar-details.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-photo-avatar-details.d.mts","names":[],"sources":["../../src/actions/get-photo-avatar-details.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAQhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"get-photo-avatar-details.d.mts","names":[],"sources":["../../src/actions/get-photo-avatar-details.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAQhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,KAAA,CAAM,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 ganAiGetPhotoAvatarDetails = action("GAN_AI_GET_PHOTO_AVATAR_DETAILS", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-photo-avatar-details.mjs","names":[],"sources":["../../src/actions/get-photo-avatar-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiGetPhotoAvatarDetailsInput = z.object({\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar to retrieve details for\"),\n});\nexport const GanAiGetPhotoAvatarDetailsOutput = z.object({\n title: z.string().describe(\"Avatar title if set\").nullable().optional(),\n status: z.enum([\"draft\", \"failed\", \"processing\", \"published\", \"deleted\"]).describe(\"Current status of the photo avatar\").nullable(),\n base_image: z.string().describe(\"Presigned URL of the processed base image\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the avatar was created\").nullable().optional(),\n photo_avatar_id: z.string().describe(\"The avatar's unique identifier\").nullable(),\n}).passthrough();\n\nexport const ganAiGetPhotoAvatarDetails = action(\"GAN_AI_GET_PHOTO_AVATAR_DETAILS\", {\n slug: \"gan_ai-get-photo-avatar-details\",\n name: \"Get Photo Avatar Details\",\n description: \"Tool to retrieve detailed information for a specific photo avatar by ID. Use when you need to check photo avatar processing status and access its metadata and image URL.\",\n input: GanAiGetPhotoAvatarDetailsInput,\n output: GanAiGetPhotoAvatarDetailsOutput,\n});\n"],"mappings":";;AAeA,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf6C,EAAE,OAAO,EACtD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACzF,CAaS;CACP,QAb8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,KAAK;GAAC;GAAS;GAAU;GAAc;GAAa;EAAS,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAClI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-photo-avatar-details.mjs","names":[],"sources":["../../src/actions/get-photo-avatar-details.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiGetPhotoAvatarDetailsInput = z.object({\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar to retrieve details for\"),\n});\nexport const GanAiGetPhotoAvatarDetailsOutput = z.object({\n title: z.string().describe(\"Avatar title if set\").nullable().optional(),\n status: z.enum([\"draft\", \"failed\", \"processing\", \"published\", \"deleted\"]).describe(\"Current status of the photo avatar\").nullable(),\n base_image: z.string().describe(\"Presigned URL of the processed base image\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the avatar was created\").nullable().optional(),\n photo_avatar_id: z.string().describe(\"The avatar's unique identifier\").nullable(),\n}).passthrough();\n\nexport const ganAiGetPhotoAvatarDetails: AppAction<\n typeof GanAiGetPhotoAvatarDetailsInput,\n typeof GanAiGetPhotoAvatarDetailsOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_GET_PHOTO_AVATAR_DETAILS\", {\n slug: \"gan_ai-get-photo-avatar-details\",\n name: \"Get Photo Avatar Details\",\n description: \"Tool to retrieve detailed information for a specific photo avatar by ID. Use when you need to check photo avatar processing status and access its metadata and image URL.\",\n input: GanAiGetPhotoAvatarDetailsInput,\n output: GanAiGetPhotoAvatarDetailsOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,6BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB6C,EAAE,OAAO,EACtD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACzF,CAiBS;CACP,QAjB8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,KAAK;GAAC;GAAS;GAAU;GAAc;GAAa;EAAS,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAClI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,YAWO;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-photo-avatar-inference-details.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-photo-avatar-inference-details.cjs","names":["z","action"],"sources":["../../src/actions/get-photo-avatar-inference-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiGetPhotoAvatarInferenceDetailsInput = z.object({\n downloadable_link: z.boolean().default(false).describe(\"Include downloadable video link when true (default: false).\").optional(),\n photo_avatar_inference_id: z.string().describe(\"The photo avatar inference ID to fetch.\"),\n});\nconst GanAiGetPhotoAvatarInferenceDetails_CreditDetailsSchema = z.object({\n gan_cost: z.number().describe(\"GAN processing cost used in the inference.\").nullable(),\n tts_cost: z.number().describe(\"Text-to-speech cost used in the inference.\").nullable(),\n}).passthrough();\nexport const GanAiGetPhotoAvatarInferenceDetailsOutput = z.object({\n title: z.string().describe(\"Title of the inference.\").nullable().optional(),\n video: z.string().describe(\"CloudFront URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Current status of the inference.\").nullable(),\n created_at: z.string().describe(\"Creation timestamp of the inference.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used for generation.\").nullable().optional(),\n credit_details: GanAiGetPhotoAvatarInferenceDetails_CreditDetailsSchema.nullable(),\n photo_avatar_id: z.string().describe(\"Photo avatar ID.\").nullable(),\n downloadable_video_link: z.string().describe(\"Download URL if requested.\").nullable().optional(),\n photo_avatar_inference_id: z.string().describe(\"Inference ID.\").nullable(),\n}).passthrough();\n\nexport const ganAiGetPhotoAvatarInferenceDetails = action(\"GAN_AI_GET_PHOTO_AVATAR_INFERENCE_DETAILS\", {\n slug: \"gan_ai-get-photo-avatar-inference-details\",\n name: \"Get photo avatar inference details\",\n description: \"Tool to fetch photo avatar inference details. Use after obtaining a valid inference ID to retrieve detailed information.\",\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SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sCAAsCC,eAAAA,OAAO,6CAA6C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-photo-avatar-inference-details.cjs","names":["z","action"],"sources":["../../src/actions/get-photo-avatar-inference-details.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiGetPhotoAvatarInferenceDetailsInput = z.object({\n downloadable_link: z.boolean().default(false).describe(\"Include downloadable video link when true (default: false).\").optional(),\n photo_avatar_inference_id: z.string().describe(\"The photo avatar inference ID to fetch.\"),\n});\nconst GanAiGetPhotoAvatarInferenceDetails_CreditDetailsSchema = z.object({\n gan_cost: z.number().describe(\"GAN processing cost used in the inference.\").nullable(),\n tts_cost: z.number().describe(\"Text-to-speech cost used in the inference.\").nullable(),\n}).passthrough();\nexport const GanAiGetPhotoAvatarInferenceDetailsOutput = z.object({\n title: z.string().describe(\"Title of the inference.\").nullable().optional(),\n video: z.string().describe(\"CloudFront URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Current status of the inference.\").nullable(),\n created_at: z.string().describe(\"Creation timestamp of the inference.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used for generation.\").nullable().optional(),\n credit_details: GanAiGetPhotoAvatarInferenceDetails_CreditDetailsSchema.nullable(),\n photo_avatar_id: z.string().describe(\"Photo avatar ID.\").nullable(),\n downloadable_video_link: z.string().describe(\"Download URL if requested.\").nullable().optional(),\n photo_avatar_inference_id: z.string().describe(\"Inference ID.\").nullable(),\n}).passthrough();\n\nexport const ganAiGetPhotoAvatarInferenceDetails: AppAction<\n typeof GanAiGetPhotoAvatarInferenceDetailsInput,\n typeof GanAiGetPhotoAvatarInferenceDetailsOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_GET_PHOTO_AVATAR_INFERENCE_DETAILS\", {\n slug: \"gan_ai-get-photo-avatar-inference-details\",\n name: \"Get photo avatar inference details\",\n description: \"Tool to fetch photo avatar inference details. Use after obtaining a valid inference ID to retrieve detailed information.\",\n input: GanAiGetPhotoAvatarInferenceDetailsInput,\n output: GanAiGetPhotoAvatarInferenceDetailsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC/H,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AAC1F,CAAC;AACD,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAc;EAAU;EAAa;CAAS,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAChI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgB,wDAAwD,SAAS;CACjF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAClE,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sCAITC,eAAAA,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ganAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-photo-avatar-inference-details.d.ts
@@ -25,10 +27,7 @@ declare const GanAiGetPhotoAvatarInferenceDetailsOutput: z.ZodObject<{
25
27
  downloadable_video_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  photo_avatar_inference_id: z.ZodNullable<z.ZodString>;
27
29
  }, z.core.$loose>;
28
- declare const ganAiGetPhotoAvatarInferenceDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- photo_avatar_inference_id: string;
30
- downloadable_link?: boolean | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ declare const ganAiGetPhotoAvatarInferenceDetails: AppAction<typeof GanAiGetPhotoAvatarInferenceDetailsInput, typeof GanAiGetPhotoAvatarInferenceDetailsOutput, typeof ganAi.credential>;
32
31
  //#endregion
33
32
  export { ganAiGetPhotoAvatarInferenceDetails };
34
33
  //# sourceMappingURL=get-photo-avatar-inference-details.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-photo-avatar-inference-details.d.cts","names":[],"sources":["../../src/actions/get-photo-avatar-inference-details.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAQxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAYzC,mCAAA,gCAAmC,wBAAA"}
1
+ {"version":3,"file":"get-photo-avatar-inference-details.d.cts","names":[],"sources":["../../src/actions/get-photo-avatar-inference-details.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAQxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAYzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ganAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-photo-avatar-inference-details.d.ts
@@ -25,10 +27,7 @@ declare const GanAiGetPhotoAvatarInferenceDetailsOutput: z.ZodObject<{
25
27
  downloadable_video_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  photo_avatar_inference_id: z.ZodNullable<z.ZodString>;
27
29
  }, z.core.$loose>;
28
- declare const ganAiGetPhotoAvatarInferenceDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- photo_avatar_inference_id: string;
30
- downloadable_link?: boolean | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ declare const ganAiGetPhotoAvatarInferenceDetails: AppAction<typeof GanAiGetPhotoAvatarInferenceDetailsInput, typeof GanAiGetPhotoAvatarInferenceDetailsOutput, typeof ganAi.credential>;
32
31
  //#endregion
33
32
  export { ganAiGetPhotoAvatarInferenceDetails };
34
33
  //# sourceMappingURL=get-photo-avatar-inference-details.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-photo-avatar-inference-details.d.mts","names":[],"sources":["../../src/actions/get-photo-avatar-inference-details.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAQxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAYzC,mCAAA,gCAAmC,wBAAA"}
1
+ {"version":3,"file":"get-photo-avatar-inference-details.d.mts","names":[],"sources":["../../src/actions/get-photo-avatar-inference-details.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAQxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAYzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,KAAA,CAAM,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-photo-avatar-inference-details.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-photo-avatar-inference-details.mjs","names":[],"sources":["../../src/actions/get-photo-avatar-inference-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiGetPhotoAvatarInferenceDetailsInput = z.object({\n downloadable_link: z.boolean().default(false).describe(\"Include downloadable video link when true (default: false).\").optional(),\n photo_avatar_inference_id: z.string().describe(\"The photo avatar inference ID to fetch.\"),\n});\nconst GanAiGetPhotoAvatarInferenceDetails_CreditDetailsSchema = z.object({\n gan_cost: z.number().describe(\"GAN processing cost used in the inference.\").nullable(),\n tts_cost: z.number().describe(\"Text-to-speech cost used in the inference.\").nullable(),\n}).passthrough();\nexport const GanAiGetPhotoAvatarInferenceDetailsOutput = z.object({\n title: z.string().describe(\"Title of the inference.\").nullable().optional(),\n video: z.string().describe(\"CloudFront URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Current status of the inference.\").nullable(),\n created_at: z.string().describe(\"Creation timestamp of the inference.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used for generation.\").nullable().optional(),\n credit_details: GanAiGetPhotoAvatarInferenceDetails_CreditDetailsSchema.nullable(),\n photo_avatar_id: z.string().describe(\"Photo avatar ID.\").nullable(),\n downloadable_video_link: z.string().describe(\"Download URL if requested.\").nullable().optional(),\n photo_avatar_inference_id: z.string().describe(\"Inference ID.\").nullable(),\n}).passthrough();\n\nexport const ganAiGetPhotoAvatarInferenceDetails = action(\"GAN_AI_GET_PHOTO_AVATAR_INFERENCE_DETAILS\", {\n slug: \"gan_ai-get-photo-avatar-inference-details\",\n name: \"Get photo avatar inference details\",\n description: \"Tool to fetch photo avatar inference details. Use after obtaining a valid inference ID to retrieve detailed information.\",\n input: GanAiGetPhotoAvatarInferenceDetailsInput,\n output: GanAiGetPhotoAvatarInferenceDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2C,EAAE,OAAO;CAC/D,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC/H,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AAC1F,CAAC;AACD,MAAM,0DAA0D,EAAE,OAAO;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY;AAaf,MAAa,sCAAsC,OAAO,6CAA6C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBuD,EAAE,OAAO;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,QAAQ,EAAE,KAAK;GAAC;GAAS;GAAc;GAAU;GAAa;EAAS,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAChI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,gBAAgB,wDAAwD,SAAS;EACjF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAClE,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-photo-avatar-inference-details.mjs","names":[],"sources":["../../src/actions/get-photo-avatar-inference-details.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiGetPhotoAvatarInferenceDetailsInput = z.object({\n downloadable_link: z.boolean().default(false).describe(\"Include downloadable video link when true (default: false).\").optional(),\n photo_avatar_inference_id: z.string().describe(\"The photo avatar inference ID to fetch.\"),\n});\nconst GanAiGetPhotoAvatarInferenceDetails_CreditDetailsSchema = z.object({\n gan_cost: z.number().describe(\"GAN processing cost used in the inference.\").nullable(),\n tts_cost: z.number().describe(\"Text-to-speech cost used in the inference.\").nullable(),\n}).passthrough();\nexport const GanAiGetPhotoAvatarInferenceDetailsOutput = z.object({\n title: z.string().describe(\"Title of the inference.\").nullable().optional(),\n video: z.string().describe(\"CloudFront URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Current status of the inference.\").nullable(),\n created_at: z.string().describe(\"Creation timestamp of the inference.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used for generation.\").nullable().optional(),\n credit_details: GanAiGetPhotoAvatarInferenceDetails_CreditDetailsSchema.nullable(),\n photo_avatar_id: z.string().describe(\"Photo avatar ID.\").nullable(),\n downloadable_video_link: z.string().describe(\"Download URL if requested.\").nullable().optional(),\n photo_avatar_inference_id: z.string().describe(\"Inference ID.\").nullable(),\n}).passthrough();\n\nexport const ganAiGetPhotoAvatarInferenceDetails: AppAction<\n typeof GanAiGetPhotoAvatarInferenceDetailsInput,\n typeof GanAiGetPhotoAvatarInferenceDetailsOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_GET_PHOTO_AVATAR_INFERENCE_DETAILS\", {\n slug: \"gan_ai-get-photo-avatar-inference-details\",\n name: \"Get photo avatar inference details\",\n description: \"Tool to fetch photo avatar inference details. Use after obtaining a valid inference ID to retrieve detailed information.\",\n input: GanAiGetPhotoAvatarInferenceDetailsInput,\n output: GanAiGetPhotoAvatarInferenceDetailsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2CAA2C,EAAE,OAAO;CAC/D,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC/H,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AAC1F,CAAC;AACD,MAAM,0DAA0D,EAAE,OAAO;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY;AAaf,MAAa,sCAIT,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QArBuD,EAAE,OAAO;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,QAAQ,EAAE,KAAK;GAAC;GAAS;GAAc;GAAU;GAAa;EAAS,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAChI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,gBAAgB,wDAAwD,SAAS;EACjF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAClE,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,YAWO;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-avatar-videos.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-avatar-videos.cjs","names":["z","action"],"sources":["../../src/actions/list-avatar-videos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListAvatarVideosInput = z.object({\n skip: z.number().int().default(0).describe(\"Pagination offset (number of items to skip). Default is 0.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of items to return. Default is 10.\").optional(),\n status: z.array(z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"])).describe(\"Filter by one or more inference statuses.\").optional(),\n avatar_id: z.string().describe(\"UUID of the avatar to filter by.\").optional(),\n avatar_title: z.string().describe(\"Filter by avatar title.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end timestamp for filtering.\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start timestamp for filtering.\").optional(),\n inference_title: z.string().describe(\"Filter by inference/video title.\").optional(),\n}).describe(\"Request parameters for listing avatar video inferences.\");\nconst GanAiListAvatarVideos_AvatarInferenceDetailsSchema = z.object({\n title: z.string().describe(\"Inference/video title.\").nullable().optional(),\n video: z.string().describe(\"URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Status of the inference.\").nullable(),\n avatar_id: z.string().describe(\"UUID of the avatar.\").nullable(),\n thumbnail: z.string().describe(\"URL of the video thumbnail.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used for generation.\").nullable().optional(),\n avatar_title: z.string().describe(\"Title of the avatar.\").nullable().optional(),\n inference_id: z.string().describe(\"UUID of the generated video inference.\").nullable(),\n}).passthrough().describe(\"Details of a single avatar video inference.\");\nexport const GanAiListAvatarVideosOutput = z.object({\n data: z.array(GanAiListAvatarVideos_AvatarInferenceDetailsSchema).describe(\"List of avatar video inference objects.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of matching inferences.\").nullable(),\n}).passthrough().describe(\"Response schema for listing avatar video inferences.\");\n\nexport const ganAiListAvatarVideos = action(\"GAN_AI_LIST_AVATAR_VIDEOS\", {\n slug: \"gan_ai-list-avatar-videos\",\n name: \"List avatar video inferences\",\n description: \"Tool to list avatar video inferences. Use when you need to retrieve generated avatar videos with optional filtering by avatar ID, title, status, or date range.\",\n input: G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AAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACxH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-avatar-videos.cjs","names":["z","action"],"sources":["../../src/actions/list-avatar-videos.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiListAvatarVideosInput = z.object({\n skip: z.number().int().default(0).describe(\"Pagination offset (number of items to skip). Default is 0.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of items to return. Default is 10.\").optional(),\n status: z.array(z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"])).describe(\"Filter by one or more inference statuses.\").optional(),\n avatar_id: z.string().describe(\"UUID of the avatar to filter by.\").optional(),\n avatar_title: z.string().describe(\"Filter by avatar title.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end timestamp for filtering.\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start timestamp for filtering.\").optional(),\n inference_title: z.string().describe(\"Filter by inference/video title.\").optional(),\n}).describe(\"Request parameters for listing avatar video inferences.\");\nconst GanAiListAvatarVideos_AvatarInferenceDetailsSchema = z.object({\n title: z.string().describe(\"Inference/video title.\").nullable().optional(),\n video: z.string().describe(\"URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Status of the inference.\").nullable(),\n avatar_id: z.string().describe(\"UUID of the avatar.\").nullable(),\n thumbnail: z.string().describe(\"URL of the video thumbnail.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used for generation.\").nullable().optional(),\n avatar_title: z.string().describe(\"Title of the avatar.\").nullable().optional(),\n inference_id: z.string().describe(\"UUID of the generated video inference.\").nullable(),\n}).passthrough().describe(\"Details of a single avatar video inference.\");\nexport const GanAiListAvatarVideosOutput = z.object({\n data: z.array(GanAiListAvatarVideos_AvatarInferenceDetailsSchema).describe(\"List of avatar video inference objects.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of matching inferences.\").nullable(),\n}).passthrough().describe(\"Response schema for listing avatar video inferences.\");\n\nexport const ganAiListAvatarVideos: AppAction<\n typeof GanAiListAvatarVideosInput,\n typeof GanAiListAvatarVideosOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_LIST_AVATAR_VIDEOS\", {\n slug: \"gan_ai-list-avatar-videos\",\n name: \"List avatar video inferences\",\n description: \"Tool to list avatar video inferences. Use when you need to retrieve generated avatar videos with optional filtering by avatar ID, title, status, or date range.\",\n input: GanAiListAvatarVideosInput,\n output: GanAiListAvatarVideosOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAClH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAc;EAAU;EAAa;CAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACpF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACxF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAA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2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-avatar-videos.d.ts
@@ -37,16 +39,7 @@ declare const GanAiListAvatarVideosOutput: z.ZodObject<{
37
39
  }, z.core.$loose>>>>;
38
40
  total: z.ZodNullable<z.ZodNumber>;
39
41
  }, z.core.$loose>;
40
- declare const ganAiListAvatarVideos: import("@keystrokehq/action").WorkflowActionDefinition<{
41
- skip?: number | undefined;
42
- limit?: number | undefined;
43
- status?: ("draft" | "processing" | "failed" | "succeeded" | "deleted")[] | undefined;
44
- avatar_id?: string | undefined;
45
- avatar_title?: string | undefined;
46
- end_datetime?: string | undefined;
47
- start_datetime?: string | undefined;
48
- inference_title?: string | undefined;
49
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
42
+ declare const ganAiListAvatarVideos: AppAction<typeof GanAiListAvatarVideosInput, typeof GanAiListAvatarVideosOutput, typeof ganAi.credential>;
50
43
  //#endregion
51
44
  export { ganAiListAvatarVideos };
52
45
  //# sourceMappingURL=list-avatar-videos.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-avatar-videos.d.cts","names":[],"sources":["../../src/actions/list-avatar-videos.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAqB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"list-avatar-videos.d.cts","names":[],"sources":["../../src/actions/list-avatar-videos.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAqB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ganAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-avatar-videos.d.ts
@@ -37,16 +39,7 @@ declare const GanAiListAvatarVideosOutput: z.ZodObject<{
37
39
  }, z.core.$loose>>>>;
38
40
  total: z.ZodNullable<z.ZodNumber>;
39
41
  }, z.core.$loose>;
40
- declare const ganAiListAvatarVideos: import("@keystrokehq/action").WorkflowActionDefinition<{
41
- skip?: number | undefined;
42
- limit?: number | undefined;
43
- status?: ("draft" | "processing" | "failed" | "succeeded" | "deleted")[] | undefined;
44
- avatar_id?: string | undefined;
45
- avatar_title?: string | undefined;
46
- end_datetime?: string | undefined;
47
- start_datetime?: string | undefined;
48
- inference_title?: string | undefined;
49
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
42
+ declare const ganAiListAvatarVideos: AppAction<typeof GanAiListAvatarVideosInput, typeof GanAiListAvatarVideosOutput, typeof ganAi.credential>;
50
43
  //#endregion
51
44
  export { ganAiListAvatarVideos };
52
45
  //# sourceMappingURL=list-avatar-videos.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-avatar-videos.d.mts","names":[],"sources":["../../src/actions/list-avatar-videos.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAqB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"list-avatar-videos.d.mts","names":[],"sources":["../../src/actions/list-avatar-videos.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAqB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,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-avatar-videos.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-avatar-videos.mjs","names":[],"sources":["../../src/actions/list-avatar-videos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListAvatarVideosInput = z.object({\n skip: z.number().int().default(0).describe(\"Pagination offset (number of items to skip). Default is 0.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of items to return. Default is 10.\").optional(),\n status: z.array(z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"])).describe(\"Filter by one or more inference statuses.\").optional(),\n avatar_id: z.string().describe(\"UUID of the avatar to filter by.\").optional(),\n avatar_title: z.string().describe(\"Filter by avatar title.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end timestamp for filtering.\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start timestamp for filtering.\").optional(),\n inference_title: z.string().describe(\"Filter by inference/video title.\").optional(),\n}).describe(\"Request parameters for listing avatar video inferences.\");\nconst GanAiListAvatarVideos_AvatarInferenceDetailsSchema = z.object({\n title: z.string().describe(\"Inference/video title.\").nullable().optional(),\n video: z.string().describe(\"URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Status of the inference.\").nullable(),\n avatar_id: z.string().describe(\"UUID of the avatar.\").nullable(),\n thumbnail: z.string().describe(\"URL of the video thumbnail.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used for generation.\").nullable().optional(),\n avatar_title: z.string().describe(\"Title of the avatar.\").nullable().optional(),\n inference_id: z.string().describe(\"UUID of the generated video inference.\").nullable(),\n}).passthrough().describe(\"Details of a single avatar video inference.\");\nexport const GanAiListAvatarVideosOutput = z.object({\n data: z.array(GanAiListAvatarVideos_AvatarInferenceDetailsSchema).describe(\"List of avatar video inference objects.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of matching inferences.\").nullable(),\n}).passthrough().describe(\"Response schema for listing avatar video inferences.\");\n\nexport const ganAiListAvatarVideos = action(\"GAN_AI_LIST_AVATAR_VIDEOS\", {\n slug: \"gan_ai-list-avatar-videos\",\n name: \"List avatar video inferences\",\n description: \"Tool to list avatar video inferences. Use when you need to retrieve generated avatar videos with optional filtering by avatar ID, title, status, or date range.\",\n input: GanAiListAvatarVideosInput,\n output: GanAiListAvatarVideosOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAClH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3G,QAAQ,EAAE,MAAM,EAAE,KAAK;EAAC;EAAS;EAAc;EAAU;EAAa;CAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACtE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACxF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,yDA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":3,"file":"list-avatar-videos.mjs","names":[],"sources":["../../src/actions/list-avatar-videos.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiListAvatarVideosInput = z.object({\n skip: z.number().int().default(0).describe(\"Pagination offset (number of items to skip). Default is 0.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of items to return. Default is 10.\").optional(),\n status: z.array(z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"])).describe(\"Filter by one or more inference statuses.\").optional(),\n avatar_id: z.string().describe(\"UUID of the avatar to filter by.\").optional(),\n avatar_title: z.string().describe(\"Filter by avatar title.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end timestamp for filtering.\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start timestamp for filtering.\").optional(),\n inference_title: z.string().describe(\"Filter by inference/video title.\").optional(),\n}).describe(\"Request parameters for listing avatar video inferences.\");\nconst GanAiListAvatarVideos_AvatarInferenceDetailsSchema = z.object({\n title: z.string().describe(\"Inference/video title.\").nullable().optional(),\n video: z.string().describe(\"URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Status of the inference.\").nullable(),\n avatar_id: z.string().describe(\"UUID of the avatar.\").nullable(),\n thumbnail: z.string().describe(\"URL of the video thumbnail.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used for generation.\").nullable().optional(),\n avatar_title: z.string().describe(\"Title of the avatar.\").nullable().optional(),\n inference_id: z.string().describe(\"UUID of the generated video inference.\").nullable(),\n}).passthrough().describe(\"Details of a single avatar video inference.\");\nexport const GanAiListAvatarVideosOutput = z.object({\n data: z.array(GanAiListAvatarVideos_AvatarInferenceDetailsSchema).describe(\"List of avatar video inference objects.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of matching inferences.\").nullable(),\n}).passthrough().describe(\"Response schema for listing avatar video inferences.\");\n\nexport const ganAiListAvatarVideos: AppAction<\n typeof GanAiListAvatarVideosInput,\n typeof GanAiListAvatarVideosOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_LIST_AVATAR_VIDEOS\", {\n slug: \"gan_ai-list-avatar-videos\",\n name: \"List avatar video inferences\",\n description: \"Tool to list avatar video inferences. Use when you need to retrieve generated avatar videos with optional filtering by avatar ID, title, status, or date range.\",\n input: GanAiListAvatarVideosInput,\n output: GanAiListAvatarVideosOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAClH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3G,QAAQ,EAAE,MAAM,EAAE,KAAK;EAAC;EAAS;EAAc;EAAU;EAAa;CAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACtE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACxF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,qDAAqD,EAAE,OAAO;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAA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region src/actions/list-photo-avatar-inferences.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-photo-avatar-inferences.cjs","names":["z","action"],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListPhotoAvatarInferencesInput = z.object({\n skip: z.number().int().default(0).describe(\"Pagination offset (number of items to skip).\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of items to return.\").optional(),\n title: z.string().describe(\"Filter by inference title.\").optional(),\n status: z.array(z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"])).describe(\"Filter by one or more inference statuses.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end of the creation time window, e.g., '2023-01-07T23:59:59Z'.\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start of the creation time window, e.g., '2023-01-01T00:00:00Z'.\").optional(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar to filter by.\").optional(),\n}).describe(\"Request parameters for listing photo avatar inferences.\");\nconst GanAiListPhotoAvatarInferences_CreditDetailsSchema = z.object({\n gan_cost: z.number().describe(\"Cost in credits for GAN processing.\").nullable(),\n tts_cost: z.number().describe(\"Cost in credits for text-to-speech processing.\").nullable(),\n}).passthrough().describe(\"Details about credit usage for an inference.\");\nconst GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema = z.object({\n title: z.string().describe(\"Inference title, if set.\").nullable().optional(),\n video: z.string().describe(\"CloudFront URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Status of the inference.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the inference was created.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used to generate this inference.\").nullable().optional(),\n credit_details: GanAiListPhotoAvatarInferences_CreditDetailsSchema.nullable(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar.\").nullable(),\n downloadable_video_link: z.string().describe(\"Direct download link for the video.\").nullable().optional(),\n photo_avatar_inference_id: z.string().describe(\"UUID of the inference.\").nullable(),\n}).passthrough().describe(\"Details of a single photo avatar inference.\");\nexport const GanAiListPhotoAvatarInferencesOutput = z.object({\n total: z.number().int().describe(\"Total number of matched inferences.\").nullable(),\n inference_list: z.array(GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema).describe(\"Page of inference detail objects.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing photo avatar inferences.\");\n\nexport const ganAiListPhotoAvatarInferences = action(\"GAN_AI_LIST_PHOTO_AVATAR_INFERENCES\", {\n slug: \"gan_ai-list-photo-avatar-inferences\",\n name: \"List photo avatar inferences\",\n description: \"Tool to list photo avatar inferences. Use when you need to retrieve inference videos with optional filtering by avatar, title, status, or date range.\",\n input: GanAiListPhotoAvatarInferencesInput,\n output: GanAiListPhotoAvatarInferencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAc;EAAU;EAAa;CAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SA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YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,gBAAgBA,IAAAA,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-photo-avatar-inferences.cjs","names":["z","action"],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiListPhotoAvatarInferencesInput = z.object({\n skip: z.number().int().default(0).describe(\"Pagination offset (number of items to skip).\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of items to return.\").optional(),\n title: z.string().describe(\"Filter by inference title.\").optional(),\n status: z.array(z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"])).describe(\"Filter by one or more inference statuses.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end of the creation time window, e.g., '2023-01-07T23:59:59Z'.\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start of the creation time window, e.g., '2023-01-01T00:00:00Z'.\").optional(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar to filter by.\").optional(),\n}).describe(\"Request parameters for listing photo avatar inferences.\");\nconst GanAiListPhotoAvatarInferences_CreditDetailsSchema = z.object({\n gan_cost: z.number().describe(\"Cost in credits for GAN processing.\").nullable(),\n tts_cost: z.number().describe(\"Cost in credits for text-to-speech processing.\").nullable(),\n}).passthrough().describe(\"Details about credit usage for an inference.\");\nconst GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema = z.object({\n title: z.string().describe(\"Inference title, if set.\").nullable().optional(),\n video: z.string().describe(\"CloudFront URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Status of the inference.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the inference was created.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used to generate this inference.\").nullable().optional(),\n credit_details: GanAiListPhotoAvatarInferences_CreditDetailsSchema.nullable(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar.\").nullable(),\n downloadable_video_link: z.string().describe(\"Direct download link for the video.\").nullable().optional(),\n photo_avatar_inference_id: z.string().describe(\"UUID of the inference.\").nullable(),\n}).passthrough().describe(\"Details of a single photo avatar inference.\");\nexport const GanAiListPhotoAvatarInferencesOutput = z.object({\n total: z.number().int().describe(\"Total number of matched inferences.\").nullable(),\n inference_list: z.array(GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema).describe(\"Page of inference detail objects.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing photo avatar inferences.\");\n\nexport const ganAiListPhotoAvatarInferences: AppAction<\n typeof GanAiListPhotoAvatarInferencesInput,\n typeof GanAiListPhotoAvatarInferencesOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_LIST_PHOTO_AVATAR_INFERENCES\", {\n slug: \"gan_ai-list-photo-avatar-inferences\",\n name: \"List photo avatar inferences\",\n description: \"Tool to list photo avatar inferences. Use when you need to retrieve inference videos with optional filtering by avatar, title, status, or date range.\",\n input: GanAiListPhotoAvatarInferencesInput,\n output: GanAiListPhotoAvatarInferencesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QA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CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,gBAAgB,mDAAmD,SAAS;CAC5E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC3E,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,gBAAgBA,IAAAA,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,iCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ganAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-photo-avatar-inferences.d.ts
@@ -39,15 +41,7 @@ declare const GanAiListPhotoAvatarInferencesOutput: z.ZodObject<{
39
41
  photo_avatar_inference_id: z.ZodNullable<z.ZodString>;
40
42
  }, z.core.$loose>>>>;
41
43
  }, z.core.$loose>;
42
- declare const ganAiListPhotoAvatarInferences: import("@keystrokehq/action").WorkflowActionDefinition<{
43
- skip?: number | undefined;
44
- limit?: number | undefined;
45
- title?: string | undefined;
46
- status?: ("draft" | "processing" | "failed" | "succeeded" | "deleted")[] | undefined;
47
- end_datetime?: string | undefined;
48
- start_datetime?: string | undefined;
49
- photo_avatar_id?: string | undefined;
50
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
44
+ declare const ganAiListPhotoAvatarInferences: AppAction<typeof GanAiListPhotoAvatarInferencesInput, typeof GanAiListPhotoAvatarInferencesOutput, typeof ganAi.credential>;
51
45
  //#endregion
52
46
  export { ganAiListPhotoAvatarInferences };
53
47
  //# sourceMappingURL=list-photo-avatar-inferences.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-photo-avatar-inferences.d.cts","names":[],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAwBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"list-photo-avatar-inferences.d.cts","names":[],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAwBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ganAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-photo-avatar-inferences.d.ts
@@ -39,15 +41,7 @@ declare const GanAiListPhotoAvatarInferencesOutput: z.ZodObject<{
39
41
  photo_avatar_inference_id: z.ZodNullable<z.ZodString>;
40
42
  }, z.core.$loose>>>>;
41
43
  }, z.core.$loose>;
42
- declare const ganAiListPhotoAvatarInferences: import("@keystrokehq/action").WorkflowActionDefinition<{
43
- skip?: number | undefined;
44
- limit?: number | undefined;
45
- title?: string | undefined;
46
- status?: ("draft" | "processing" | "failed" | "succeeded" | "deleted")[] | undefined;
47
- end_datetime?: string | undefined;
48
- start_datetime?: string | undefined;
49
- photo_avatar_id?: string | undefined;
50
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
44
+ declare const ganAiListPhotoAvatarInferences: AppAction<typeof GanAiListPhotoAvatarInferencesInput, typeof GanAiListPhotoAvatarInferencesOutput, typeof ganAi.credential>;
51
45
  //#endregion
52
46
  export { ganAiListPhotoAvatarInferences };
53
47
  //# sourceMappingURL=list-photo-avatar-inferences.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-photo-avatar-inferences.d.mts","names":[],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAwBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"list-photo-avatar-inferences.d.mts","names":[],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAwBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,KAAA,CAAM,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-photo-avatar-inferences.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-photo-avatar-inferences.mjs","names":[],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListPhotoAvatarInferencesInput = z.object({\n skip: z.number().int().default(0).describe(\"Pagination offset (number of items to skip).\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of items to return.\").optional(),\n title: z.string().describe(\"Filter by inference title.\").optional(),\n status: z.array(z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"])).describe(\"Filter by one or more inference statuses.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end of the creation time window, e.g., '2023-01-07T23:59:59Z'.\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start of the creation time window, e.g., '2023-01-01T00:00:00Z'.\").optional(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar to filter by.\").optional(),\n}).describe(\"Request parameters for listing photo avatar inferences.\");\nconst GanAiListPhotoAvatarInferences_CreditDetailsSchema = z.object({\n gan_cost: z.number().describe(\"Cost in credits for GAN processing.\").nullable(),\n tts_cost: z.number().describe(\"Cost in credits for text-to-speech processing.\").nullable(),\n}).passthrough().describe(\"Details about credit usage for an inference.\");\nconst GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema = z.object({\n title: z.string().describe(\"Inference title, if set.\").nullable().optional(),\n video: z.string().describe(\"CloudFront URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Status of the inference.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the inference was created.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used to generate this inference.\").nullable().optional(),\n credit_details: GanAiListPhotoAvatarInferences_CreditDetailsSchema.nullable(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar.\").nullable(),\n downloadable_video_link: z.string().describe(\"Direct download link for the video.\").nullable().optional(),\n photo_avatar_inference_id: z.string().describe(\"UUID of the inference.\").nullable(),\n}).passthrough().describe(\"Details of a single photo avatar inference.\");\nexport const GanAiListPhotoAvatarInferencesOutput = z.object({\n total: z.number().int().describe(\"Total number of matched inferences.\").nullable(),\n inference_list: z.array(GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema).describe(\"Page of inference detail objects.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing photo avatar inferences.\");\n\nexport const ganAiListPhotoAvatarInferences = action(\"GAN_AI_LIST_PHOTO_AVATAR_INFERENCES\", {\n slug: \"gan_ai-list-photo-avatar-inferences\",\n name: \"List photo avatar inferences\",\n description: \"Tool to list photo avatar inferences. Use when you need to retrieve inference videos with optional filtering by avatar, title, status, or date range.\",\n input: GanAiListPhotoAvatarInferencesInput,\n output: GanAiListPhotoAvatarInferencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,QAAQ,EAAE,MAAM,EAAE,KAAK;EAAC;EAAS;EAAc;EAAU;EAAa;CAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,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ACN,aAAa;CACb,OAAO;CACP,QAVkD,EAAE,OAAO;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACjF,gBAAgB,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-photo-avatar-inferences.mjs","names":[],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiListPhotoAvatarInferencesInput = z.object({\n skip: z.number().int().default(0).describe(\"Pagination offset (number of items to skip).\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of items to return.\").optional(),\n title: z.string().describe(\"Filter by inference title.\").optional(),\n status: z.array(z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"])).describe(\"Filter by one or more inference statuses.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end of the creation time window, e.g., '2023-01-07T23:59:59Z'.\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start of the creation time window, e.g., '2023-01-01T00:00:00Z'.\").optional(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar to filter by.\").optional(),\n}).describe(\"Request parameters for listing photo avatar inferences.\");\nconst GanAiListPhotoAvatarInferences_CreditDetailsSchema = z.object({\n gan_cost: z.number().describe(\"Cost in credits for GAN processing.\").nullable(),\n tts_cost: z.number().describe(\"Cost in credits for text-to-speech processing.\").nullable(),\n}).passthrough().describe(\"Details about credit usage for an inference.\");\nconst GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema = z.object({\n title: z.string().describe(\"Inference title, if set.\").nullable().optional(),\n video: z.string().describe(\"CloudFront URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Status of the inference.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the inference was created.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used to generate this inference.\").nullable().optional(),\n credit_details: GanAiListPhotoAvatarInferences_CreditDetailsSchema.nullable(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar.\").nullable(),\n downloadable_video_link: z.string().describe(\"Direct download link for the video.\").nullable().optional(),\n photo_avatar_inference_id: z.string().describe(\"UUID of the inference.\").nullable(),\n}).passthrough().describe(\"Details of a single photo avatar inference.\");\nexport const GanAiListPhotoAvatarInferencesOutput = z.object({\n total: z.number().int().describe(\"Total number of matched inferences.\").nullable(),\n inference_list: z.array(GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema).describe(\"Page of inference detail objects.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing photo avatar inferences.\");\n\nexport const ganAiListPhotoAvatarInferences: AppAction<\n typeof GanAiListPhotoAvatarInferencesInput,\n typeof GanAiListPhotoAvatarInferencesOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_LIST_PHOTO_AVATAR_INFERENCES\", {\n slug: \"gan_ai-list-photo-avatar-inferences\",\n name: \"List photo avatar inferences\",\n description: \"Tool to list photo avatar inferences. Use when you need to retrieve inference videos with optional filtering by avatar, title, status, or date range.\",\n input: GanAiListPhotoAvatarInferencesInput,\n output: GanAiListPhotoAvatarInferencesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CA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C,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC3E,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAMvE,MAAa,iCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdkD,EAAE,OAAO;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACjF,gBAAgB,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;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-photo-avatars.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-photo-avatars.cjs","names":["z","action"],"sources":["../../src/actions/list-photo-avatars.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListPhotoAvatarsInput = z.object({\n skip: z.number().int().default(0).describe(\"Number of records to skip for pagination (offset). Default is 0.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of records to return. Default is 10.\").optional(),\n title: z.string().describe(\"Filter by avatar title (exact match).\").optional(),\n status: z.array(z.string()).describe(\"Filter by one or more statuses; common values include: consent_pending, processing, consent_failed, failed, published, deleted, draft.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end timestamp for filtering (inclusive).\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start timestamp for filtering (inclusive).\").optional(),\n}).describe(\"Request model for listing avatars with optional filters and pagination.\");\nconst GanAiListPhotoAvatars_AvatarWebhookSchema = z.object({\n webhook_url: z.string().describe(\"Webhook URL registered for the avatar\").nullable(),\n}).passthrough();\nconst GanAiListPhotoAvatars_AvatarListItemSchema = z.object({\n title: z.string().describe(\"User-defined title of the avatar.\").nullable().optional(),\n status: z.string().describe(\"Current status of the avatar.\").nullable().optional(),\n avatar_id: z.string().describe(\"Unique UUID of the avatar.\").nullable(),\n thumbnail: z.string().describe(\"URL for the avatar thumbnail.\").nullable().optional(),\n base_video: z.string().describe(\"URL for the avatar base video.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the avatar was created.\").nullable().optional(),\n avatar_webhook: GanAiListPhotoAvatars_AvatarWebhookSchema.nullable().optional(),\n}).passthrough().describe(\"Representation of a single avatar record.\");\nexport const GanAiListPhotoAvatarsOutput = z.object({\n avatars_list: z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe(\"Array of avatar objects (may be null if none).\").nullable().optional(),\n total_avatars: z.number().int().describe(\"Total number of avatars matching the query.\").nullable(),\n}).passthrough().describe(\"Response model containing total count and list of avatars.\");\n\nexport const ganAiListPhotoAvatars = action(\"GAN_AI_LIST_PHOTO_AVATARS\", {\n slug: \"gan_ai-list-photo-avatars\",\n name: \"List Photo Avatars\",\n description: \"Tool to list avatars. Use when you need a paginated collection of avatars with filters. Example: \\\"List the first 10 published avatars created after 2023-01-01\\\".\",\n input: GanAiListPhotoAvatarsInput,\n output: GanAiListPhotoAvatarsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qDAAqD,CAA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A2C;AACrE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,cAAcA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-photo-avatars.cjs","names":["z","action"],"sources":["../../src/actions/list-photo-avatars.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiListPhotoAvatarsInput = z.object({\n skip: z.number().int().default(0).describe(\"Number of records to skip for pagination (offset). Default is 0.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of records to return. Default is 10.\").optional(),\n title: z.string().describe(\"Filter by avatar title (exact match).\").optional(),\n status: z.array(z.string()).describe(\"Filter by one or more statuses; common values include: consent_pending, processing, consent_failed, failed, published, deleted, draft.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end timestamp for filtering (inclusive).\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start timestamp for filtering (inclusive).\").optional(),\n}).describe(\"Request model for listing avatars with optional filters and pagination.\");\nconst GanAiListPhotoAvatars_AvatarWebhookSchema = z.object({\n webhook_url: z.string().describe(\"Webhook URL registered for the avatar\").nullable(),\n}).passthrough();\nconst GanAiListPhotoAvatars_AvatarListItemSchema = z.object({\n title: z.string().describe(\"User-defined title of the avatar.\").nullable().optional(),\n status: z.string().describe(\"Current status of the avatar.\").nullable().optional(),\n avatar_id: z.string().describe(\"Unique UUID of the avatar.\").nullable(),\n thumbnail: z.string().describe(\"URL for the avatar thumbnail.\").nullable().optional(),\n base_video: z.string().describe(\"URL for the avatar base video.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the avatar was created.\").nullable().optional(),\n avatar_webhook: GanAiListPhotoAvatars_AvatarWebhookSchema.nullable().optional(),\n}).passthrough().describe(\"Representation of a single avatar record.\");\nexport const GanAiListPhotoAvatarsOutput = z.object({\n avatars_list: z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe(\"Array of avatar objects (may be null if none).\").nullable().optional(),\n total_avatars: z.number().int().describe(\"Total number of avatars matching the query.\").nullable(),\n}).passthrough().describe(\"Response model containing total count and list of avatars.\");\n\nexport const ganAiListPhotoAvatars: AppAction<\n typeof GanAiListPhotoAvatarsInput,\n typeof GanAiListPhotoAvatarsOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_LIST_PHOTO_AVATARS\", {\n slug: \"gan_ai-list-photo-avatars\",\n name: \"List Photo Avatars\",\n description: \"Tool to list avatars. Use when you need a paginated collection of avatars with filters. Example: \\\"List the first 10 published avatars created after 2023-01-01\\\".\",\n input: GanAiListPhotoAvatarsInput,\n output: GanAiListPhotoAvatarsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,C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C,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,wBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ganAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-photo-avatars.d.ts
@@ -23,14 +25,7 @@ declare const GanAiListPhotoAvatarsOutput: z.ZodObject<{
23
25
  }, z.core.$loose>>>>;
24
26
  total_avatars: z.ZodNullable<z.ZodNumber>;
25
27
  }, z.core.$loose>;
26
- declare const ganAiListPhotoAvatars: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- skip?: number | undefined;
28
- limit?: number | undefined;
29
- title?: string | undefined;
30
- status?: string[] | undefined;
31
- end_datetime?: string | undefined;
32
- start_datetime?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const ganAiListPhotoAvatars: AppAction<typeof GanAiListPhotoAvatarsInput, typeof GanAiListPhotoAvatarsOutput, typeof ganAi.credential>;
34
29
  //#endregion
35
30
  export { ganAiListPhotoAvatars };
36
31
  //# sourceMappingURL=list-photo-avatars.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-photo-avatars.d.cts","names":[],"sources":["../../src/actions/list-photo-avatars.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAoB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"list-photo-avatars.d.cts","names":[],"sources":["../../src/actions/list-photo-avatars.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAoB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ganAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-photo-avatars.d.ts
@@ -23,14 +25,7 @@ declare const GanAiListPhotoAvatarsOutput: z.ZodObject<{
23
25
  }, z.core.$loose>>>>;
24
26
  total_avatars: z.ZodNullable<z.ZodNumber>;
25
27
  }, z.core.$loose>;
26
- declare const ganAiListPhotoAvatars: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- skip?: number | undefined;
28
- limit?: number | undefined;
29
- title?: string | undefined;
30
- status?: string[] | undefined;
31
- end_datetime?: string | undefined;
32
- start_datetime?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const ganAiListPhotoAvatars: AppAction<typeof GanAiListPhotoAvatarsInput, typeof GanAiListPhotoAvatarsOutput, typeof ganAi.credential>;
34
29
  //#endregion
35
30
  export { ganAiListPhotoAvatars };
36
31
  //# sourceMappingURL=list-photo-avatars.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-photo-avatars.d.mts","names":[],"sources":["../../src/actions/list-photo-avatars.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAoB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"list-photo-avatars.d.mts","names":[],"sources":["../../src/actions/list-photo-avatars.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAoB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,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-photo-avatars.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-photo-avatars.mjs","names":[],"sources":["../../src/actions/list-photo-avatars.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListPhotoAvatarsInput = z.object({\n skip: z.number().int().default(0).describe(\"Number of records to skip for pagination (offset). Default is 0.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of records to return. Default is 10.\").optional(),\n title: z.string().describe(\"Filter by avatar title (exact match).\").optional(),\n status: z.array(z.string()).describe(\"Filter by one or more statuses; common values include: consent_pending, processing, consent_failed, failed, published, deleted, draft.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end timestamp for filtering (inclusive).\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start timestamp for filtering (inclusive).\").optional(),\n}).describe(\"Request model for listing avatars with optional filters and pagination.\");\nconst GanAiListPhotoAvatars_AvatarWebhookSchema = z.object({\n webhook_url: z.string().describe(\"Webhook URL registered for the avatar\").nullable(),\n}).passthrough();\nconst GanAiListPhotoAvatars_AvatarListItemSchema = z.object({\n title: z.string().describe(\"User-defined title of the avatar.\").nullable().optional(),\n status: z.string().describe(\"Current status of the avatar.\").nullable().optional(),\n avatar_id: z.string().describe(\"Unique UUID of the avatar.\").nullable(),\n thumbnail: z.string().describe(\"URL for the avatar thumbnail.\").nullable().optional(),\n base_video: z.string().describe(\"URL for the avatar base video.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the avatar was created.\").nullable().optional(),\n avatar_webhook: GanAiListPhotoAvatars_AvatarWebhookSchema.nullable().optional(),\n}).passthrough().describe(\"Representation of a single avatar record.\");\nexport const GanAiListPhotoAvatarsOutput = z.object({\n avatars_list: z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe(\"Array of avatar objects (may be null if none).\").nullable().optional(),\n total_avatars: z.number().int().describe(\"Total number of avatars matching the query.\").nullable(),\n}).passthrough().describe(\"Response model containing total count and list of avatars.\");\n\nexport const ganAiListPhotoAvatars = action(\"GAN_AI_LIST_PHOTO_AVATARS\", {\n slug: \"gan_ai-list-photo-avatars\",\n name: \"List Photo Avatars\",\n description: \"Tool to list avatars. Use when you need a paginated collection of avatars with filters. Example: \\\"List the first 10 published avatars created after 2023-01-01\\\".\",\n input: GanAiListPhotoAvatarsInput,\n output: GanAiListPhotoAvatarsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACxL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,4CAA4C,EAAE,OAAO,EACzD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,6CAA6C,EAAE,OAAO;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgB,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAMrE,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyC,EAAE,OAAO;EAClD,cAAc,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-photo-avatars.mjs","names":[],"sources":["../../src/actions/list-photo-avatars.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiListPhotoAvatarsInput = z.object({\n skip: z.number().int().default(0).describe(\"Number of records to skip for pagination (offset). Default is 0.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of records to return. Default is 10.\").optional(),\n title: z.string().describe(\"Filter by avatar title (exact match).\").optional(),\n status: z.array(z.string()).describe(\"Filter by one or more statuses; common values include: consent_pending, processing, consent_failed, failed, published, deleted, draft.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end timestamp for filtering (inclusive).\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start timestamp for filtering (inclusive).\").optional(),\n}).describe(\"Request model for listing avatars with optional filters and pagination.\");\nconst GanAiListPhotoAvatars_AvatarWebhookSchema = z.object({\n webhook_url: z.string().describe(\"Webhook URL registered for the avatar\").nullable(),\n}).passthrough();\nconst GanAiListPhotoAvatars_AvatarListItemSchema = z.object({\n title: z.string().describe(\"User-defined title of the avatar.\").nullable().optional(),\n status: z.string().describe(\"Current status of the avatar.\").nullable().optional(),\n avatar_id: z.string().describe(\"Unique UUID of the avatar.\").nullable(),\n thumbnail: z.string().describe(\"URL for the avatar thumbnail.\").nullable().optional(),\n base_video: z.string().describe(\"URL for the avatar base video.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the avatar was created.\").nullable().optional(),\n avatar_webhook: GanAiListPhotoAvatars_AvatarWebhookSchema.nullable().optional(),\n}).passthrough().describe(\"Representation of a single avatar record.\");\nexport const GanAiListPhotoAvatarsOutput = z.object({\n avatars_list: z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe(\"Array of avatar objects (may be null if none).\").nullable().optional(),\n total_avatars: z.number().int().describe(\"Total number of avatars matching the query.\").nullable(),\n}).passthrough().describe(\"Response model containing total count and list of avatars.\");\n\nexport const ganAiListPhotoAvatars: AppAction<\n typeof GanAiListPhotoAvatarsInput,\n typeof GanAiListPhotoAvatarsOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_LIST_PHOTO_AVATARS\", {\n slug: \"gan_ai-list-photo-avatars\",\n name: \"List Photo Avatars\",\n description: \"Tool to list avatars. Use when you need a paginated collection of avatars with filters. Example: \\\"List the first 10 published avatars created after 2023-01-01\\\".\",\n input: GanAiListPhotoAvatarsInput,\n output: GanAiListPhotoAvatarsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACxL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,4CAA4C,EAAE,OAAO,EACzD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,6CAA6C,EAAE,OAAO;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgB,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAMrE,MAAa,wBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdyC,EAAE,OAAO;EAClD,cAAc,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;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/login.ts
@@ -1 +1 @@
1
- {"version":3,"file":"login.cjs","names":["z","action"],"sources":["../../src/actions/login.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiLoginInput = z.object({\n email: z.string().describe(\"User's email address.\"),\n password: z.string().describe(\"User's password.\"),\n}).describe(\"Request model for user login.\");\nexport const GanAiLoginOutput = z.object({\n access_token: z.string().describe(\"JWT access token.\").nullable(),\n refresh_token: z.string().describe(\"JWT refresh token.\").nullable(),\n}).passthrough().describe(\"Response model containing JWT tokens from login.\");\n\nexport const ganAiLogin = action(\"GAN_AI_LOGIN\", {\n slug: \"gan_ai-login\",\n name: \"Login\",\n description: \"Tool to authenticate a user and retrieve access and refresh tokens. Use when you need to login before calling other GAN.AI API actions.\",\n input: GanAiLoginInput,\n output: GanAiLoginOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kBAAkBA,IAAAA,EAAE,OAAO;CACtC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AAClD,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAa,mBAAmBA,IAAAA,EAAE,OAAO;CACvC,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAChE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,aAAaC,eAAAA,OAAO,gBAAgB;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"login.cjs","names":["z","action"],"sources":["../../src/actions/login.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiLoginInput = z.object({\n email: z.string().describe(\"User's email address.\"),\n password: z.string().describe(\"User's password.\"),\n}).describe(\"Request model for user login.\");\nexport const GanAiLoginOutput = z.object({\n access_token: z.string().describe(\"JWT access token.\").nullable(),\n refresh_token: z.string().describe(\"JWT refresh token.\").nullable(),\n}).passthrough().describe(\"Response model containing JWT tokens from login.\");\n\nexport const ganAiLogin: AppAction<\n typeof GanAiLoginInput,\n typeof GanAiLoginOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_LOGIN\", {\n slug: \"gan_ai-login\",\n name: \"Login\",\n description: \"Tool to authenticate a user and retrieve access and refresh tokens. Use when you need to login before calling other GAN.AI API actions.\",\n input: GanAiLoginInput,\n output: GanAiLoginOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kBAAkBA,IAAAA,EAAE,OAAO;CACtC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AAClD,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAa,mBAAmBA,IAAAA,EAAE,OAAO;CACvC,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAChE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,aAITC,eAAAA,OAAO,gBAAgB;CACzB,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ganAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/login.d.ts
@@ -9,10 +11,7 @@ declare const GanAiLoginOutput: z.ZodObject<{
9
11
  access_token: z.ZodNullable<z.ZodString>;
10
12
  refresh_token: z.ZodNullable<z.ZodString>;
11
13
  }, z.core.$loose>;
12
- declare const ganAiLogin: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- email: string;
14
- password: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const ganAiLogin: AppAction<typeof GanAiLoginInput, typeof GanAiLoginOutput, typeof ganAi.credential>;
16
15
  //#endregion
17
16
  export { ganAiLogin };
18
17
  //# sourceMappingURL=login.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"login.d.cts","names":[],"sources":["../../src/actions/login.ts"],"mappings":";;;cAIa,eAAA,EAAe,CAAA,CAAA,SAAA;;;;cAIf,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;;cAKhB,UAAA,gCAAU,wBAAA"}
1
+ {"version":3,"file":"login.d.cts","names":[],"sources":["../../src/actions/login.ts"],"mappings":";;;;;cAMa,eAAA,EAAe,CAAA,CAAA,SAAA;;;;cAIf,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;;cAKhB,UAAA,EAAY,SAAA,QAChB,eAAA,SACA,gBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ganAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/login.d.ts
@@ -9,10 +11,7 @@ declare const GanAiLoginOutput: z.ZodObject<{
9
11
  access_token: z.ZodNullable<z.ZodString>;
10
12
  refresh_token: z.ZodNullable<z.ZodString>;
11
13
  }, z.core.$loose>;
12
- declare const ganAiLogin: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- email: string;
14
- password: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const ganAiLogin: AppAction<typeof GanAiLoginInput, typeof GanAiLoginOutput, typeof ganAi.credential>;
16
15
  //#endregion
17
16
  export { ganAiLogin };
18
17
  //# sourceMappingURL=login.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"login.d.mts","names":[],"sources":["../../src/actions/login.ts"],"mappings":";;;cAIa,eAAA,EAAe,CAAA,CAAA,SAAA;;;;cAIf,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;;cAKhB,UAAA,gCAAU,wBAAA"}
1
+ {"version":3,"file":"login.d.mts","names":[],"sources":["../../src/actions/login.ts"],"mappings":";;;;;cAMa,eAAA,EAAe,CAAA,CAAA,SAAA;;;;cAIf,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;;cAKhB,UAAA,EAAY,SAAA,QAChB,eAAA,SACA,gBAAA,SACA,KAAA,CAAM,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 ganAiLogin = action("GAN_AI_LOGIN", {
@@ -1 +1 @@
1
- {"version":3,"file":"login.mjs","names":[],"sources":["../../src/actions/login.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiLoginInput = z.object({\n email: z.string().describe(\"User's email address.\"),\n password: z.string().describe(\"User's password.\"),\n}).describe(\"Request model for user login.\");\nexport const GanAiLoginOutput = z.object({\n access_token: z.string().describe(\"JWT access token.\").nullable(),\n refresh_token: z.string().describe(\"JWT refresh token.\").nullable(),\n}).passthrough().describe(\"Response model containing JWT tokens from login.\");\n\nexport const ganAiLogin = action(\"GAN_AI_LOGIN\", {\n slug: \"gan_ai-login\",\n name: \"Login\",\n description: \"Tool to authenticate a user and retrieve access and refresh tokens. Use when you need to login before calling other GAN.AI API actions.\",\n input: GanAiLoginInput,\n output: GanAiLoginOutput,\n});\n"],"mappings":";;AAaA,MAAa,aAAa,OAAO,gBAAgB;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6B,EAAE,OAAO;EACtC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAClD,CAAC,CAAC,CAAC,SAAS,+BAUH;CACP,QAV8B,EAAE,OAAO;EACvC,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAChE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"login.mjs","names":[],"sources":["../../src/actions/login.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiLoginInput = z.object({\n email: z.string().describe(\"User's email address.\"),\n password: z.string().describe(\"User's password.\"),\n}).describe(\"Request model for user login.\");\nexport const GanAiLoginOutput = z.object({\n access_token: z.string().describe(\"JWT access token.\").nullable(),\n refresh_token: z.string().describe(\"JWT refresh token.\").nullable(),\n}).passthrough().describe(\"Response model containing JWT tokens from login.\");\n\nexport const ganAiLogin: AppAction<\n typeof GanAiLoginInput,\n typeof GanAiLoginOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_LOGIN\", {\n slug: \"gan_ai-login\",\n name: \"Login\",\n description: \"Tool to authenticate a user and retrieve access and refresh tokens. Use when you need to login before calling other GAN.AI API actions.\",\n input: GanAiLoginInput,\n output: GanAiLoginOutput,\n});\n"],"mappings":";;;AAeA,MAAa,aAIT,OAAO,gBAAgB;CACzB,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6B,EAAE,OAAO;EACtC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAClD,CAAC,CAAC,CAAC,SAAS,+BAcH;CACP,QAd8B,EAAE,OAAO;EACvC,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAChE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;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/tts.ts
@@ -1 +1 @@
1
- {"version":3,"file":"tts.cjs","names":["z","action"],"sources":["../../src/actions/tts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiTtsInput = z.object({\n text: z.string().describe(\"The text content to convert to speech. Must be between 40 and 500 characters for optimal synthesis quality.\"),\n voice_id: z.string().describe(\"Unique identifier (UUID) of the voice to use for speech synthesis. Obtain valid voice IDs from the GAN.AI Get Voices endpoint or dashboard.\"),\n}).describe(\"Request model for GAN.AI Text-to-Speech synchronous API.\\nConverts text to speech using a specified voice.\");\nexport const GanAiTtsOutput = z.object({\n audio: z.string().describe(\"Binary audio data in WAV format containing the synthesized speech.\").nullable(),\n audio_size_bytes: z.number().int().describe(\"Size of the audio data in bytes.\").nullable(),\n}).passthrough().describe(\"Response model for GAN.AI Text-to-Speech synchronous API.\\nReturns the synthesized audio in WAV format.\");\n\nexport const ganAiTts = action(\"GAN_AI_TTS\", {\n slug: \"gan_ai-tts\",\n name: \"GAN AI Text-to-Speech\",\n description: \"Convert text to speech using GAN.AI's Text-to-Speech API. This tool synthesizes speech from text using a specified voice. The voice_id must be obtained from the GAN.AI Get Voices endpoint or from your GAN.AI dashboard. Returns audio in WAV format.\",\n input: GanAiTtsInput,\n output: GanAiTtsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gBAAgBA,IAAAA,EAAE,OAAO;CACpC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACvI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;AAC7K,CAAC,CAAC,CAAC,SAAS,4GAA4G;AACxH,MAAa,iBAAiBA,IAAAA,EAAE,OAAO;CACrC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yGAAyG;AAEnI,MAAa,WAAWC,eAAAA,OAAO,cAAc;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"tts.cjs","names":["z","action"],"sources":["../../src/actions/tts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiTtsInput = z.object({\n text: z.string().describe(\"The text content to convert to speech. Must be between 40 and 500 characters for optimal synthesis quality.\"),\n voice_id: z.string().describe(\"Unique identifier (UUID) of the voice to use for speech synthesis. Obtain valid voice IDs from the GAN.AI Get Voices endpoint or dashboard.\"),\n}).describe(\"Request model for GAN.AI Text-to-Speech synchronous API.\\nConverts text to speech using a specified voice.\");\nexport const GanAiTtsOutput = z.object({\n audio: z.string().describe(\"Binary audio data in WAV format containing the synthesized speech.\").nullable(),\n audio_size_bytes: z.number().int().describe(\"Size of the audio data in bytes.\").nullable(),\n}).passthrough().describe(\"Response model for GAN.AI Text-to-Speech synchronous API.\\nReturns the synthesized audio in WAV format.\");\n\nexport const ganAiTts: AppAction<\n typeof GanAiTtsInput,\n typeof GanAiTtsOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_TTS\", {\n slug: \"gan_ai-tts\",\n name: \"GAN AI Text-to-Speech\",\n description: \"Convert text to speech using GAN.AI's Text-to-Speech API. This tool synthesizes speech from text using a specified voice. The voice_id must be obtained from the GAN.AI Get Voices endpoint or from your GAN.AI dashboard. Returns audio in WAV format.\",\n input: GanAiTtsInput,\n output: GanAiTtsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gBAAgBA,IAAAA,EAAE,OAAO;CACpC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACvI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;AAC7K,CAAC,CAAC,CAAC,SAAS,4GAA4G;AACxH,MAAa,iBAAiBA,IAAAA,EAAE,OAAO;CACrC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yGAAyG;AAEnI,MAAa,WAITC,eAAAA,OAAO,cAAc;CACvB,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ganAi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/tts.d.ts
@@ -9,10 +11,7 @@ declare const GanAiTtsOutput: z.ZodObject<{
9
11
  audio: z.ZodNullable<z.ZodString>;
10
12
  audio_size_bytes: z.ZodNullable<z.ZodNumber>;
11
13
  }, z.core.$loose>;
12
- declare const ganAiTts: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- text: string;
14
- voice_id: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const ganAiTts: AppAction<typeof GanAiTtsInput, typeof GanAiTtsOutput, typeof ganAi.credential>;
16
15
  //#endregion
17
16
  export { ganAiTts };
18
17
  //# sourceMappingURL=tts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tts.d.cts","names":[],"sources":["../../src/actions/tts.ts"],"mappings":";;;cAIa,aAAA,EAAa,CAAA,CAAA,SAAA;;;;cAIb,cAAA,EAAc,CAAA,CAAA,SAAA;;;;cAKd,QAAA,gCAAQ,wBAAA"}
1
+ {"version":3,"file":"tts.d.cts","names":[],"sources":["../../src/actions/tts.ts"],"mappings":";;;;;cAMa,aAAA,EAAa,CAAA,CAAA,SAAA;;;;cAIb,cAAA,EAAc,CAAA,CAAA,SAAA;;;;cAKd,QAAA,EAAU,SAAA,QACd,aAAA,SACA,cAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ganAi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/tts.d.ts
@@ -9,10 +11,7 @@ declare const GanAiTtsOutput: z.ZodObject<{
9
11
  audio: z.ZodNullable<z.ZodString>;
10
12
  audio_size_bytes: z.ZodNullable<z.ZodNumber>;
11
13
  }, z.core.$loose>;
12
- declare const ganAiTts: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- text: string;
14
- voice_id: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const ganAiTts: AppAction<typeof GanAiTtsInput, typeof GanAiTtsOutput, typeof ganAi.credential>;
16
15
  //#endregion
17
16
  export { ganAiTts };
18
17
  //# sourceMappingURL=tts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tts.d.mts","names":[],"sources":["../../src/actions/tts.ts"],"mappings":";;;cAIa,aAAA,EAAa,CAAA,CAAA,SAAA;;;;cAIb,cAAA,EAAc,CAAA,CAAA,SAAA;;;;cAKd,QAAA,gCAAQ,wBAAA"}
1
+ {"version":3,"file":"tts.d.mts","names":[],"sources":["../../src/actions/tts.ts"],"mappings":";;;;;cAMa,aAAA,EAAa,CAAA,CAAA,SAAA;;;;cAIb,cAAA,EAAc,CAAA,CAAA,SAAA;;;;cAKd,QAAA,EAAU,SAAA,QACd,aAAA,SACA,cAAA,SACA,KAAA,CAAM,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 ganAiTts = action("GAN_AI_TTS", {
@@ -1 +1 @@
1
- {"version":3,"file":"tts.mjs","names":[],"sources":["../../src/actions/tts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiTtsInput = z.object({\n text: z.string().describe(\"The text content to convert to speech. Must be between 40 and 500 characters for optimal synthesis quality.\"),\n voice_id: z.string().describe(\"Unique identifier (UUID) of the voice to use for speech synthesis. Obtain valid voice IDs from the GAN.AI Get Voices endpoint or dashboard.\"),\n}).describe(\"Request model for GAN.AI Text-to-Speech synchronous API.\\nConverts text to speech using a specified voice.\");\nexport const GanAiTtsOutput = z.object({\n audio: z.string().describe(\"Binary audio data in WAV format containing the synthesized speech.\").nullable(),\n audio_size_bytes: z.number().int().describe(\"Size of the audio data in bytes.\").nullable(),\n}).passthrough().describe(\"Response model for GAN.AI Text-to-Speech synchronous API.\\nReturns the synthesized audio in WAV format.\");\n\nexport const ganAiTts = action(\"GAN_AI_TTS\", {\n slug: \"gan_ai-tts\",\n name: \"GAN AI Text-to-Speech\",\n description: \"Convert text to speech using GAN.AI's Text-to-Speech API. This tool synthesizes speech from text using a specified voice. The voice_id must be obtained from the GAN.AI Get Voices endpoint or from your GAN.AI dashboard. Returns audio in WAV format.\",\n input: GanAiTtsInput,\n output: GanAiTtsOutput,\n});\n"],"mappings":";;AAaA,MAAa,WAAW,OAAO,cAAc;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb2B,EAAE,OAAO;EACpC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;EACvI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;CAC7K,CAAC,CAAC,CAAC,SAAS,4GAUH;CACP,QAV4B,EAAE,OAAO;EACrC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC1G,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yGAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"tts.mjs","names":[],"sources":["../../src/actions/tts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiTtsInput = z.object({\n text: z.string().describe(\"The text content to convert to speech. Must be between 40 and 500 characters for optimal synthesis quality.\"),\n voice_id: z.string().describe(\"Unique identifier (UUID) of the voice to use for speech synthesis. Obtain valid voice IDs from the GAN.AI Get Voices endpoint or dashboard.\"),\n}).describe(\"Request model for GAN.AI Text-to-Speech synchronous API.\\nConverts text to speech using a specified voice.\");\nexport const GanAiTtsOutput = z.object({\n audio: z.string().describe(\"Binary audio data in WAV format containing the synthesized speech.\").nullable(),\n audio_size_bytes: z.number().int().describe(\"Size of the audio data in bytes.\").nullable(),\n}).passthrough().describe(\"Response model for GAN.AI Text-to-Speech synchronous API.\\nReturns the synthesized audio in WAV format.\");\n\nexport const ganAiTts: AppAction<\n typeof GanAiTtsInput,\n typeof GanAiTtsOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_TTS\", {\n slug: \"gan_ai-tts\",\n name: \"GAN AI Text-to-Speech\",\n description: \"Convert text to speech using GAN.AI's Text-to-Speech API. This tool synthesizes speech from text using a specified voice. The voice_id must be obtained from the GAN.AI Get Voices endpoint or from your GAN.AI dashboard. Returns audio in WAV format.\",\n input: GanAiTtsInput,\n output: GanAiTtsOutput,\n});\n"],"mappings":";;;AAeA,MAAa,WAIT,OAAO,cAAc;CACvB,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB2B,EAAE,OAAO;EACpC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;EACvI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;CAC7K,CAAC,CAAC,CAAC,SAAS,4GAcH;CACP,QAd4B,EAAE,OAAO;EACrC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC1G,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yGAWhB;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 ganAi = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ const credential = { bearer_token: require("zod").z.string() };
4
+ const ganAi = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "gan_ai",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential
5
8
  });
6
9
  //#endregion
7
10
  exports.ganAi = ganAi;
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 ganAi = defineApp({\n slug: \"gan_ai\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,SAAA,uCAAA,CAAA,CAAA,UAAA,CAAkB;CAC7B,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 bearer_token: z.string(),\n};\n\nexport const ganAi: KeystrokeApp<\"gan_ai\", typeof credential> = defineApp({\n slug: \"gan_ai\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,2BAAcA,CAAAA,CAAAA,EAAE,OAAO,EACzB;AAEA,MAAa,SAAA,GAAA,2BAAA,UAAA,CAA6D;CACxE,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 ganAi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ bearer_token: z.ZodString;
7
+ };
8
+ declare const ganAi: KeystrokeApp<"gan_ai", typeof credential>;
3
9
  //#endregion
4
10
  export { ganAi };
5
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,KAAA,6BAAK,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;gBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,KAAA,EAAO,YAAY,kBAAkB,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 ganAi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ bearer_token: z.ZodString;
7
+ };
8
+ declare const ganAi: KeystrokeApp<"gan_ai", typeof credential>;
3
9
  //#endregion
4
10
  export { ganAi };
5
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,KAAA,6BAAK,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;gBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,KAAA,EAAO,YAAY,kBAAkB,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 ganAi = defineApp({
4
4
  slug: "gan_ai",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: { bearer_token: z.string() }
6
7
  });
7
8
  //#endregion
8
9
  export { ganAi };
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 ganAi = defineApp({\n slug: \"gan_ai\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,QAAQ,UAAU;CAC7B,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 bearer_token: z.string(),\n};\n\nexport const ganAi: KeystrokeApp<\"gan_ai\", typeof credential> = defineApp({\n slug: \"gan_ai\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,QAAmD,UAAU;CACxE,MAAM;CACN,MAAM;CACN,cANA,cAAc,EAAE,OAAO,EAMvB;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { ganAi } from "./app.cjs";
1
2
  import { ganAiGetAvatarVideoInferenceDetails } from "./actions/get-avatar-video-inference-details.cjs";
2
3
  import { ganAiGetPhotoAvatarDetails } from "./actions/get-photo-avatar-details.cjs";
3
4
  import { ganAiGetPhotoAvatarInferenceDetails } from "./actions/get-photo-avatar-inference-details.cjs";
@@ -6,6 +7,5 @@ import { ganAiListPhotoAvatarInferences } from "./actions/list-photo-avatar-infe
6
7
  import { ganAiListPhotoAvatars } from "./actions/list-photo-avatars.cjs";
7
8
  import { ganAiLogin } from "./actions/login.cjs";
8
9
  import { ganAiTts } from "./actions/tts.cjs";
9
- import { ganAi } from "./app.cjs";
10
10
  import { ganAiCatalog } from "./catalog.cjs";
11
11
  export { ganAi, ganAiCatalog, ganAiGetAvatarVideoInferenceDetails, ganAiGetPhotoAvatarDetails, ganAiGetPhotoAvatarInferenceDetails, ganAiListAvatarVideos, ganAiListPhotoAvatarInferences, ganAiListPhotoAvatars, ganAiLogin, ganAiTts };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { ganAi } from "./app.mjs";
1
2
  import { ganAiGetAvatarVideoInferenceDetails } from "./actions/get-avatar-video-inference-details.mjs";
2
3
  import { ganAiGetPhotoAvatarDetails } from "./actions/get-photo-avatar-details.mjs";
3
4
  import { ganAiGetPhotoAvatarInferenceDetails } from "./actions/get-photo-avatar-inference-details.mjs";
@@ -6,6 +7,5 @@ import { ganAiListPhotoAvatarInferences } from "./actions/list-photo-avatar-infe
6
7
  import { ganAiListPhotoAvatars } from "./actions/list-photo-avatars.mjs";
7
8
  import { ganAiLogin } from "./actions/login.mjs";
8
9
  import { ganAiTts } from "./actions/tts.mjs";
9
- import { ganAi } from "./app.mjs";
10
10
  import { ganAiCatalog } from "./catalog.mjs";
11
11
  export { ganAi, ganAiCatalog, ganAiGetAvatarVideoInferenceDetails, ganAiGetPhotoAvatarDetails, ganAiGetPhotoAvatarInferenceDetails, ganAiListAvatarVideos, ganAiListPhotoAvatarInferences, ganAiListPhotoAvatars, ganAiLogin, ganAiTts };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/gan_ai",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
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": {