@keystrokehq/gan_ai 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/get-avatar-video-inference-details.cjs +32 -0
  7. package/dist/actions/get-avatar-video-inference-details.cjs.map +1 -0
  8. package/dist/actions/get-avatar-video-inference-details.d.cts +9 -0
  9. package/dist/actions/get-avatar-video-inference-details.d.cts.map +1 -0
  10. package/dist/actions/get-avatar-video-inference-details.d.mts +9 -0
  11. package/dist/actions/get-avatar-video-inference-details.d.mts.map +1 -0
  12. package/dist/actions/get-avatar-video-inference-details.mjs +29 -0
  13. package/dist/actions/get-avatar-video-inference-details.mjs.map +1 -0
  14. package/dist/actions/get-photo-avatar-details.cjs +28 -0
  15. package/dist/actions/get-photo-avatar-details.cjs.map +1 -0
  16. package/dist/actions/get-photo-avatar-details.d.cts +9 -0
  17. package/dist/actions/get-photo-avatar-details.d.cts.map +1 -0
  18. package/dist/actions/get-photo-avatar-details.d.mts +9 -0
  19. package/dist/actions/get-photo-avatar-details.d.mts.map +1 -0
  20. package/dist/actions/get-photo-avatar-details.mjs +25 -0
  21. package/dist/actions/get-photo-avatar-details.mjs.map +1 -0
  22. package/dist/actions/get-photo-avatar-inference-details.cjs +39 -0
  23. package/dist/actions/get-photo-avatar-inference-details.cjs.map +1 -0
  24. package/dist/actions/get-photo-avatar-inference-details.d.cts +9 -0
  25. package/dist/actions/get-photo-avatar-inference-details.d.cts.map +1 -0
  26. package/dist/actions/get-photo-avatar-inference-details.d.mts +9 -0
  27. package/dist/actions/get-photo-avatar-inference-details.d.mts.map +1 -0
  28. package/dist/actions/get-photo-avatar-inference-details.mjs +38 -0
  29. package/dist/actions/get-photo-avatar-inference-details.mjs.map +1 -0
  30. package/dist/actions/index.cjs +17 -0
  31. package/dist/actions/index.d.cts +9 -0
  32. package/dist/actions/index.d.mts +9 -0
  33. package/dist/actions/index.mjs +9 -0
  34. package/dist/actions/list-avatar-videos.cjs +51 -0
  35. package/dist/actions/list-avatar-videos.cjs.map +1 -0
  36. package/dist/actions/list-avatar-videos.d.cts +9 -0
  37. package/dist/actions/list-avatar-videos.d.cts.map +1 -0
  38. package/dist/actions/list-avatar-videos.d.mts +9 -0
  39. package/dist/actions/list-avatar-videos.d.mts.map +1 -0
  40. package/dist/actions/list-avatar-videos.mjs +50 -0
  41. package/dist/actions/list-avatar-videos.mjs.map +1 -0
  42. package/dist/actions/list-photo-avatar-inferences.cjs +54 -0
  43. package/dist/actions/list-photo-avatar-inferences.cjs.map +1 -0
  44. package/dist/actions/list-photo-avatar-inferences.d.cts +9 -0
  45. package/dist/actions/list-photo-avatar-inferences.d.cts.map +1 -0
  46. package/dist/actions/list-photo-avatar-inferences.d.mts +9 -0
  47. package/dist/actions/list-photo-avatar-inferences.d.mts.map +1 -0
  48. package/dist/actions/list-photo-avatar-inferences.mjs +53 -0
  49. package/dist/actions/list-photo-avatar-inferences.mjs.map +1 -0
  50. package/dist/actions/list-photo-avatars.cjs +36 -0
  51. package/dist/actions/list-photo-avatars.cjs.map +1 -0
  52. package/dist/actions/list-photo-avatars.d.cts +9 -0
  53. package/dist/actions/list-photo-avatars.d.cts.map +1 -0
  54. package/dist/actions/list-photo-avatars.d.mts +9 -0
  55. package/dist/actions/list-photo-avatars.d.mts.map +1 -0
  56. package/dist/actions/list-photo-avatars.mjs +35 -0
  57. package/dist/actions/list-photo-avatars.mjs.map +1 -0
  58. package/dist/actions/login.cjs +22 -0
  59. package/dist/actions/login.cjs.map +1 -0
  60. package/dist/actions/login.d.cts +9 -0
  61. package/dist/actions/login.d.cts.map +1 -0
  62. package/dist/actions/login.d.mts +9 -0
  63. package/dist/actions/login.d.mts.map +1 -0
  64. package/dist/actions/login.mjs +19 -0
  65. package/dist/actions/login.mjs.map +1 -0
  66. package/dist/actions/tts.cjs +22 -0
  67. package/dist/actions/tts.cjs.map +1 -0
  68. package/dist/actions/tts.d.cts +9 -0
  69. package/dist/actions/tts.d.cts.map +1 -0
  70. package/dist/actions/tts.d.mts +9 -0
  71. package/dist/actions/tts.d.mts.map +1 -0
  72. package/dist/actions/tts.mjs +19 -0
  73. package/dist/actions/tts.mjs.map +1 -0
  74. package/dist/app.cjs +9 -0
  75. package/dist/app.cjs.map +1 -0
  76. package/dist/app.d.cts +5 -0
  77. package/dist/app.d.cts.map +1 -0
  78. package/dist/app.d.mts +5 -0
  79. package/dist/app.d.mts.map +1 -0
  80. package/dist/app.mjs +10 -0
  81. package/dist/app.mjs.map +1 -0
  82. package/dist/catalog.cjs +15 -0
  83. package/dist/catalog.cjs.map +1 -0
  84. package/dist/catalog.d.cts +14 -0
  85. package/dist/catalog.d.cts.map +1 -0
  86. package/dist/catalog.d.mts +14 -0
  87. package/dist/catalog.d.mts.map +1 -0
  88. package/dist/catalog.mjs +15 -0
  89. package/dist/catalog.mjs.map +1 -0
  90. package/dist/execute.cjs +18 -0
  91. package/dist/execute.cjs.map +1 -0
  92. package/dist/execute.mjs +18 -0
  93. package/dist/execute.mjs.map +1 -0
  94. package/dist/index.cjs +22 -0
  95. package/dist/index.d.cts +11 -0
  96. package/dist/index.d.mts +11 -0
  97. package/dist/index.mjs +12 -0
  98. package/package.json +49 -0
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @keystrokehq/gan_ai
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `gan_ai`
6
+ **Version:** `20260615_00`
7
+ **Actions:** 8
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { ganAiGetAvatarVideoInferenceDetails } from "@keystrokehq/gan_ai/actions";
12
+
13
+ export default defineAgent({
14
+ key: "gan_ai-agent",
15
+ tools: [ganAiGetAvatarVideoInferenceDetails],
16
+ });
17
+ ```
@@ -0,0 +1,21 @@
1
+ const require_app = require("./app.cjs");
2
+ const require_execute = require("./execute.cjs");
3
+ require("zod");
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return require_app.ganAi.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await require_execute.executeGanAiTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ exports.action = action;
20
+
21
+ //# sourceMappingURL=action.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.cjs","names":["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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return 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":";;;;;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"}
@@ -0,0 +1,21 @@
1
+ import { ganAi } from "./app.mjs";
2
+ import { executeGanAiTool } from "./execute.mjs";
3
+ import "zod";
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return ganAi.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await executeGanAiTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ export { action };
20
+
21
+ //# sourceMappingURL=action.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { 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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return 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":";;;;;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"}
@@ -0,0 +1,32 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-avatar-video-inference-details.ts
4
+ const GanAiGetAvatarVideoInferenceDetailsInput = zod.z.object({ inference_id: zod.z.string().describe("The unique identifier (UUID) of the avatar video inference to retrieve.") });
5
+ const GanAiGetAvatarVideoInferenceDetailsOutput = zod.z.object({
6
+ title: zod.z.string().describe("Inference title, if available.").nullable().optional(),
7
+ video: zod.z.string().describe("URL of the generated video, if ready.").nullable().optional(),
8
+ status: zod.z.enum([
9
+ "draft",
10
+ "processing",
11
+ "failed",
12
+ "succeeded",
13
+ "deleted"
14
+ ]).describe("Current state of the inference."),
15
+ avatar_id: zod.z.string().describe("Avatar ID (UUID)."),
16
+ thumbnail: zod.z.string().describe("URL of the thumbnail image, if ready.").nullable().optional(),
17
+ created_at: zod.z.string().describe("Timestamp when the inference was created.").nullable().optional(),
18
+ input_text: zod.z.string().describe("Input text used for the inference, if any.").nullable().optional(),
19
+ avatar_title: zod.z.string().describe("Avatar title, if available.").nullable().optional(),
20
+ inference_id: zod.z.string().describe("Inference ID (UUID).")
21
+ });
22
+ const ganAiGetAvatarVideoInferenceDetails = require_action.action("GAN_AI_GET_AVATAR_VIDEO_INFERENCE_DETAILS", {
23
+ slug: "gan_ai-get-avatar-video-inference-details",
24
+ name: "Get Avatar Video Inference Details",
25
+ 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.",
26
+ input: GanAiGetAvatarVideoInferenceDetailsInput,
27
+ output: GanAiGetAvatarVideoInferenceDetailsOutput
28
+ });
29
+ //#endregion
30
+ exports.ganAiGetAvatarVideoInferenceDetails = ganAiGetAvatarVideoInferenceDetails;
31
+
32
+ //# sourceMappingURL=get-avatar-video-inference-details.cjs.map
@@ -0,0 +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.ZodTypeAny = z.object({\n inference_id: z.string().describe(\"The unique identifier (UUID) of the avatar video inference to retrieve.\"),\n});\nexport const GanAiGetAvatarVideoInferenceDetailsOutput: z.ZodTypeAny = 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.\"),\n avatar_id: z.string().describe(\"Avatar ID (UUID).\"),\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).\"),\n});\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,2CAAyDA,IAAAA,EAAE,OAAO,EAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EAC7G,CAAC;AACD,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,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;CACpH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAClD,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;AAC1D,CAAC;AAED,MAAa,sCAAsCC,eAAAA,OAAO,6CAA6C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-avatar-video-inference-details.d.ts
4
+ declare const GanAiGetAvatarVideoInferenceDetailsInput: z.ZodTypeAny;
5
+ declare const GanAiGetAvatarVideoInferenceDetailsOutput: z.ZodTypeAny;
6
+ declare const ganAiGetAvatarVideoInferenceDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { ganAiGetAvatarVideoInferenceDetails };
9
+ //# sourceMappingURL=get-avatar-video-inference-details.d.cts.map
@@ -0,0 +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,EAA0C,CAAA,CAAE,UAEvD;AAAA,cACW,yCAAA,EAA2C,CAAA,CAAE,UAUxD;AAAA,cAEW,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-avatar-video-inference-details.d.ts
4
+ declare const GanAiGetAvatarVideoInferenceDetailsInput: z.ZodTypeAny;
5
+ declare const GanAiGetAvatarVideoInferenceDetailsOutput: z.ZodTypeAny;
6
+ declare const ganAiGetAvatarVideoInferenceDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { ganAiGetAvatarVideoInferenceDetails };
9
+ //# sourceMappingURL=get-avatar-video-inference-details.d.mts.map
@@ -0,0 +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,EAA0C,CAAA,CAAE,UAEvD;AAAA,cACW,yCAAA,EAA2C,CAAA,CAAE,UAUxD;AAAA,cAEW,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,29 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const ganAiGetAvatarVideoInferenceDetails = action("GAN_AI_GET_AVATAR_VIDEO_INFERENCE_DETAILS", {
4
+ slug: "gan_ai-get-avatar-video-inference-details",
5
+ name: "Get Avatar Video Inference Details",
6
+ 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.",
7
+ input: z.object({ inference_id: z.string().describe("The unique identifier (UUID) of the avatar video inference to retrieve.") }),
8
+ output: z.object({
9
+ title: z.string().describe("Inference title, if available.").nullable().optional(),
10
+ video: z.string().describe("URL of the generated video, if ready.").nullable().optional(),
11
+ status: z.enum([
12
+ "draft",
13
+ "processing",
14
+ "failed",
15
+ "succeeded",
16
+ "deleted"
17
+ ]).describe("Current state of the inference."),
18
+ avatar_id: z.string().describe("Avatar ID (UUID)."),
19
+ thumbnail: z.string().describe("URL of the thumbnail image, if ready.").nullable().optional(),
20
+ created_at: z.string().describe("Timestamp when the inference was created.").nullable().optional(),
21
+ input_text: z.string().describe("Input text used for the inference, if any.").nullable().optional(),
22
+ avatar_title: z.string().describe("Avatar title, if available.").nullable().optional(),
23
+ inference_id: z.string().describe("Inference ID (UUID).")
24
+ })
25
+ });
26
+ //#endregion
27
+ export { ganAiGetAvatarVideoInferenceDetails };
28
+
29
+ //# sourceMappingURL=get-avatar-video-inference-details.mjs.map
@@ -0,0 +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.ZodTypeAny = z.object({\n inference_id: z.string().describe(\"The unique identifier (UUID) of the avatar video inference to retrieve.\"),\n});\nexport const GanAiGetAvatarVideoInferenceDetailsOutput: z.ZodTypeAny = 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.\"),\n avatar_id: z.string().describe(\"Avatar ID (UUID).\"),\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).\"),\n});\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,OAnBoE,EAAE,OAAO,EAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EAC7G,CAiBS;CACP,QAjBqE,EAAE,OAAO;EAC9E,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;EACpH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EAClD,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;CAC1D,CAOU;AACV,CAAC"}
@@ -0,0 +1,28 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-photo-avatar-details.ts
4
+ const GanAiGetPhotoAvatarDetailsInput = zod.z.object({ photo_avatar_id: zod.z.string().describe("UUID of the photo avatar to retrieve details for") });
5
+ const GanAiGetPhotoAvatarDetailsOutput = zod.z.object({
6
+ title: zod.z.string().describe("Avatar title if set").nullable().optional(),
7
+ status: zod.z.enum([
8
+ "draft",
9
+ "failed",
10
+ "processing",
11
+ "published",
12
+ "deleted"
13
+ ]).describe("Current status of the photo avatar"),
14
+ base_image: zod.z.string().describe("Presigned URL of the processed base image").nullable().optional(),
15
+ created_at: zod.z.string().describe("ISO 8601 timestamp when the avatar was created").nullable().optional(),
16
+ photo_avatar_id: zod.z.string().describe("The avatar's unique identifier")
17
+ });
18
+ const ganAiGetPhotoAvatarDetails = require_action.action("GAN_AI_GET_PHOTO_AVATAR_DETAILS", {
19
+ slug: "gan_ai-get-photo-avatar-details",
20
+ name: "Get Photo Avatar Details",
21
+ 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.",
22
+ input: GanAiGetPhotoAvatarDetailsInput,
23
+ output: GanAiGetPhotoAvatarDetailsOutput
24
+ });
25
+ //#endregion
26
+ exports.ganAiGetPhotoAvatarDetails = ganAiGetPhotoAvatarDetails;
27
+
28
+ //# sourceMappingURL=get-photo-avatar-details.cjs.map
@@ -0,0 +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.ZodTypeAny = z.object({\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar to retrieve details for\"),\n});\nexport const GanAiGetPhotoAvatarDetailsOutput: z.ZodTypeAny = 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\"),\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\"),\n});\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,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACzF,CAAC;AACD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,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;CACvH,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;AACvE,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-photo-avatar-details.d.ts
4
+ declare const GanAiGetPhotoAvatarDetailsInput: z.ZodTypeAny;
5
+ declare const GanAiGetPhotoAvatarDetailsOutput: z.ZodTypeAny;
6
+ declare const ganAiGetPhotoAvatarDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { ganAiGetPhotoAvatarDetails };
9
+ //# sourceMappingURL=get-photo-avatar-details.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-photo-avatar-details.d.cts","names":[],"sources":["../../src/actions/get-photo-avatar-details.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAM/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-photo-avatar-details.d.ts
4
+ declare const GanAiGetPhotoAvatarDetailsInput: z.ZodTypeAny;
5
+ declare const GanAiGetPhotoAvatarDetailsOutput: z.ZodTypeAny;
6
+ declare const ganAiGetPhotoAvatarDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { ganAiGetPhotoAvatarDetails };
9
+ //# sourceMappingURL=get-photo-avatar-details.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-photo-avatar-details.d.mts","names":[],"sources":["../../src/actions/get-photo-avatar-details.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAM/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,25 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const ganAiGetPhotoAvatarDetails = action("GAN_AI_GET_PHOTO_AVATAR_DETAILS", {
4
+ slug: "gan_ai-get-photo-avatar-details",
5
+ name: "Get Photo Avatar Details",
6
+ 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.",
7
+ input: z.object({ photo_avatar_id: z.string().describe("UUID of the photo avatar to retrieve details for") }),
8
+ output: z.object({
9
+ title: z.string().describe("Avatar title if set").nullable().optional(),
10
+ status: z.enum([
11
+ "draft",
12
+ "failed",
13
+ "processing",
14
+ "published",
15
+ "deleted"
16
+ ]).describe("Current status of the photo avatar"),
17
+ base_image: z.string().describe("Presigned URL of the processed base image").nullable().optional(),
18
+ created_at: z.string().describe("ISO 8601 timestamp when the avatar was created").nullable().optional(),
19
+ photo_avatar_id: z.string().describe("The avatar's unique identifier")
20
+ })
21
+ });
22
+ //#endregion
23
+ export { ganAiGetPhotoAvatarDetails };
24
+
25
+ //# sourceMappingURL=get-photo-avatar-details.mjs.map
@@ -0,0 +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.ZodTypeAny = z.object({\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar to retrieve details for\"),\n});\nexport const GanAiGetPhotoAvatarDetailsOutput: z.ZodTypeAny = 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\"),\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\"),\n});\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,OAf2D,EAAE,OAAO,EACpE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACzF,CAaS;CACP,QAb4D,EAAE,OAAO;EACrE,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;EACvH,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;CACvE,CAOU;AACV,CAAC"}
@@ -0,0 +1,39 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-photo-avatar-inference-details.ts
4
+ const GanAiGetPhotoAvatarInferenceDetailsInput = zod.z.object({
5
+ downloadable_link: zod.z.boolean().default(false).describe("Include downloadable video link when true (default: false).").optional(),
6
+ photo_avatar_inference_id: zod.z.string().describe("The photo avatar inference ID to fetch.")
7
+ });
8
+ const GanAiGetPhotoAvatarInferenceDetails_CreditDetailsSchema = zod.z.object({
9
+ gan_cost: zod.z.number().describe("GAN processing cost used in the inference."),
10
+ tts_cost: zod.z.number().describe("Text-to-speech cost used in the inference.")
11
+ });
12
+ const GanAiGetPhotoAvatarInferenceDetailsOutput = zod.z.object({
13
+ title: zod.z.string().describe("Title of the inference.").nullable().optional(),
14
+ video: zod.z.string().describe("CloudFront URL of the generated video.").nullable().optional(),
15
+ status: zod.z.enum([
16
+ "draft",
17
+ "processing",
18
+ "failed",
19
+ "succeeded",
20
+ "deleted"
21
+ ]).describe("Current status of the inference."),
22
+ created_at: zod.z.string().describe("Creation timestamp of the inference.").nullable().optional(),
23
+ input_text: zod.z.string().describe("Input text used for generation.").nullable().optional(),
24
+ credit_details: GanAiGetPhotoAvatarInferenceDetails_CreditDetailsSchema.nullable(),
25
+ photo_avatar_id: zod.z.string().describe("Photo avatar ID."),
26
+ downloadable_video_link: zod.z.string().describe("Download URL if requested.").nullable().optional(),
27
+ photo_avatar_inference_id: zod.z.string().describe("Inference ID.")
28
+ });
29
+ const ganAiGetPhotoAvatarInferenceDetails = require_action.action("GAN_AI_GET_PHOTO_AVATAR_INFERENCE_DETAILS", {
30
+ slug: "gan_ai-get-photo-avatar-inference-details",
31
+ name: "Get photo avatar inference details",
32
+ description: "Tool to fetch photo avatar inference details. Use after obtaining a valid inference ID to retrieve detailed information.",
33
+ input: GanAiGetPhotoAvatarInferenceDetailsInput,
34
+ output: GanAiGetPhotoAvatarInferenceDetailsOutput
35
+ });
36
+ //#endregion
37
+ exports.ganAiGetPhotoAvatarInferenceDetails = ganAiGetPhotoAvatarInferenceDetails;
38
+
39
+ //# sourceMappingURL=get-photo-avatar-inference-details.cjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n gan_cost: z.number().describe(\"GAN processing cost used in the inference.\"),\n tts_cost: z.number().describe(\"Text-to-speech cost used in the inference.\"),\n});\nexport const GanAiGetPhotoAvatarInferenceDetailsOutput: z.ZodTypeAny = 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.\"),\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.\"),\n downloadable_video_link: z.string().describe(\"Download URL if requested.\").nullable().optional(),\n photo_avatar_inference_id: z.string().describe(\"Inference ID.\"),\n});\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,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,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,0DAAwEA,IAAAA,EAAE,OAAO;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC5E,CAAC;AACD,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,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;CACrH,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;CACvD,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;AAChE,CAAC;AAED,MAAa,sCAAsCC,eAAAA,OAAO,6CAA6C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-photo-avatar-inference-details.d.ts
4
+ declare const GanAiGetPhotoAvatarInferenceDetailsInput: z.ZodTypeAny;
5
+ declare const GanAiGetPhotoAvatarInferenceDetailsOutput: z.ZodTypeAny;
6
+ declare const ganAiGetPhotoAvatarInferenceDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { ganAiGetPhotoAvatarInferenceDetails };
9
+ //# sourceMappingURL=get-photo-avatar-inference-details.d.cts.map
@@ -0,0 +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,EAA0C,CAAA,CAAE,UAGvD;AAAA,cAKW,yCAAA,EAA2C,CAAA,CAAE,UAUxD;AAAA,cAEW,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-photo-avatar-inference-details.d.ts
4
+ declare const GanAiGetPhotoAvatarInferenceDetailsInput: z.ZodTypeAny;
5
+ declare const GanAiGetPhotoAvatarInferenceDetailsOutput: z.ZodTypeAny;
6
+ declare const ganAiGetPhotoAvatarInferenceDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { ganAiGetPhotoAvatarInferenceDetails };
9
+ //# sourceMappingURL=get-photo-avatar-inference-details.d.mts.map
@@ -0,0 +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,EAA0C,CAAA,CAAE,UAGvD;AAAA,cAKW,yCAAA,EAA2C,CAAA,CAAE,UAUxD;AAAA,cAEW,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,38 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-photo-avatar-inference-details.ts
4
+ const GanAiGetPhotoAvatarInferenceDetailsInput = z.object({
5
+ downloadable_link: z.boolean().default(false).describe("Include downloadable video link when true (default: false).").optional(),
6
+ photo_avatar_inference_id: z.string().describe("The photo avatar inference ID to fetch.")
7
+ });
8
+ const GanAiGetPhotoAvatarInferenceDetails_CreditDetailsSchema = z.object({
9
+ gan_cost: z.number().describe("GAN processing cost used in the inference."),
10
+ tts_cost: z.number().describe("Text-to-speech cost used in the inference.")
11
+ });
12
+ const ganAiGetPhotoAvatarInferenceDetails = action("GAN_AI_GET_PHOTO_AVATAR_INFERENCE_DETAILS", {
13
+ slug: "gan_ai-get-photo-avatar-inference-details",
14
+ name: "Get photo avatar inference details",
15
+ description: "Tool to fetch photo avatar inference details. Use after obtaining a valid inference ID to retrieve detailed information.",
16
+ input: GanAiGetPhotoAvatarInferenceDetailsInput,
17
+ output: z.object({
18
+ title: z.string().describe("Title of the inference.").nullable().optional(),
19
+ video: z.string().describe("CloudFront URL of the generated video.").nullable().optional(),
20
+ status: z.enum([
21
+ "draft",
22
+ "processing",
23
+ "failed",
24
+ "succeeded",
25
+ "deleted"
26
+ ]).describe("Current status of the inference."),
27
+ created_at: z.string().describe("Creation timestamp of the inference.").nullable().optional(),
28
+ input_text: z.string().describe("Input text used for generation.").nullable().optional(),
29
+ credit_details: GanAiGetPhotoAvatarInferenceDetails_CreditDetailsSchema.nullable(),
30
+ photo_avatar_id: z.string().describe("Photo avatar ID."),
31
+ downloadable_video_link: z.string().describe("Download URL if requested.").nullable().optional(),
32
+ photo_avatar_inference_id: z.string().describe("Inference ID.")
33
+ })
34
+ });
35
+ //#endregion
36
+ export { ganAiGetPhotoAvatarInferenceDetails };
37
+
38
+ //# sourceMappingURL=get-photo-avatar-inference-details.mjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n gan_cost: z.number().describe(\"GAN processing cost used in the inference.\"),\n tts_cost: z.number().describe(\"Text-to-speech cost used in the inference.\"),\n});\nexport const GanAiGetPhotoAvatarInferenceDetailsOutput: z.ZodTypeAny = 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.\"),\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.\"),\n downloadable_video_link: z.string().describe(\"Download URL if requested.\").nullable().optional(),\n photo_avatar_inference_id: z.string().describe(\"Inference ID.\"),\n});\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,2CAAyD,EAAE,OAAO;CAC7E,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,0DAAwE,EAAE,OAAO;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC5E,CAAC;AAaD,MAAa,sCAAsC,OAAO,6CAA6C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBqE,EAAE,OAAO;EAC9E,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;EACrH,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;EACvD,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CAChE,CAOU;AACV,CAAC"}
@@ -0,0 +1,17 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_get_avatar_video_inference_details = require("./get-avatar-video-inference-details.cjs");
3
+ const require_get_photo_avatar_details = require("./get-photo-avatar-details.cjs");
4
+ const require_get_photo_avatar_inference_details = require("./get-photo-avatar-inference-details.cjs");
5
+ const require_list_avatar_videos = require("./list-avatar-videos.cjs");
6
+ const require_list_photo_avatar_inferences = require("./list-photo-avatar-inferences.cjs");
7
+ const require_list_photo_avatars = require("./list-photo-avatars.cjs");
8
+ const require_login = require("./login.cjs");
9
+ const require_tts = require("./tts.cjs");
10
+ exports.ganAiGetAvatarVideoInferenceDetails = require_get_avatar_video_inference_details.ganAiGetAvatarVideoInferenceDetails;
11
+ exports.ganAiGetPhotoAvatarDetails = require_get_photo_avatar_details.ganAiGetPhotoAvatarDetails;
12
+ exports.ganAiGetPhotoAvatarInferenceDetails = require_get_photo_avatar_inference_details.ganAiGetPhotoAvatarInferenceDetails;
13
+ exports.ganAiListAvatarVideos = require_list_avatar_videos.ganAiListAvatarVideos;
14
+ exports.ganAiListPhotoAvatarInferences = require_list_photo_avatar_inferences.ganAiListPhotoAvatarInferences;
15
+ exports.ganAiListPhotoAvatars = require_list_photo_avatars.ganAiListPhotoAvatars;
16
+ exports.ganAiLogin = require_login.ganAiLogin;
17
+ exports.ganAiTts = require_tts.ganAiTts;
@@ -0,0 +1,9 @@
1
+ import { ganAiGetAvatarVideoInferenceDetails } from "./get-avatar-video-inference-details.cjs";
2
+ import { ganAiGetPhotoAvatarDetails } from "./get-photo-avatar-details.cjs";
3
+ import { ganAiGetPhotoAvatarInferenceDetails } from "./get-photo-avatar-inference-details.cjs";
4
+ import { ganAiListAvatarVideos } from "./list-avatar-videos.cjs";
5
+ import { ganAiListPhotoAvatarInferences } from "./list-photo-avatar-inferences.cjs";
6
+ import { ganAiListPhotoAvatars } from "./list-photo-avatars.cjs";
7
+ import { ganAiLogin } from "./login.cjs";
8
+ import { ganAiTts } from "./tts.cjs";
9
+ export { ganAiGetAvatarVideoInferenceDetails, ganAiGetPhotoAvatarDetails, ganAiGetPhotoAvatarInferenceDetails, ganAiListAvatarVideos, ganAiListPhotoAvatarInferences, ganAiListPhotoAvatars, ganAiLogin, ganAiTts };
@@ -0,0 +1,9 @@
1
+ import { ganAiGetAvatarVideoInferenceDetails } from "./get-avatar-video-inference-details.mjs";
2
+ import { ganAiGetPhotoAvatarDetails } from "./get-photo-avatar-details.mjs";
3
+ import { ganAiGetPhotoAvatarInferenceDetails } from "./get-photo-avatar-inference-details.mjs";
4
+ import { ganAiListAvatarVideos } from "./list-avatar-videos.mjs";
5
+ import { ganAiListPhotoAvatarInferences } from "./list-photo-avatar-inferences.mjs";
6
+ import { ganAiListPhotoAvatars } from "./list-photo-avatars.mjs";
7
+ import { ganAiLogin } from "./login.mjs";
8
+ import { ganAiTts } from "./tts.mjs";
9
+ export { ganAiGetAvatarVideoInferenceDetails, ganAiGetPhotoAvatarDetails, ganAiGetPhotoAvatarInferenceDetails, ganAiListAvatarVideos, ganAiListPhotoAvatarInferences, ganAiListPhotoAvatars, ganAiLogin, ganAiTts };
@@ -0,0 +1,9 @@
1
+ import { ganAiGetAvatarVideoInferenceDetails } from "./get-avatar-video-inference-details.mjs";
2
+ import { ganAiGetPhotoAvatarDetails } from "./get-photo-avatar-details.mjs";
3
+ import { ganAiGetPhotoAvatarInferenceDetails } from "./get-photo-avatar-inference-details.mjs";
4
+ import { ganAiListAvatarVideos } from "./list-avatar-videos.mjs";
5
+ import { ganAiListPhotoAvatarInferences } from "./list-photo-avatar-inferences.mjs";
6
+ import { ganAiListPhotoAvatars } from "./list-photo-avatars.mjs";
7
+ import { ganAiLogin } from "./login.mjs";
8
+ import { ganAiTts } from "./tts.mjs";
9
+ export { ganAiGetAvatarVideoInferenceDetails, ganAiGetPhotoAvatarDetails, ganAiGetPhotoAvatarInferenceDetails, ganAiListAvatarVideos, ganAiListPhotoAvatarInferences, ganAiListPhotoAvatars, ganAiLogin, ganAiTts };
@@ -0,0 +1,51 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-avatar-videos.ts
4
+ const GanAiListAvatarVideosInput = zod.z.object({
5
+ skip: zod.z.number().int().default(0).describe("Pagination offset (number of items to skip). Default is 0.").optional(),
6
+ limit: zod.z.number().int().default(10).describe("Maximum number of items to return. Default is 10.").optional(),
7
+ status: zod.z.array(zod.z.enum([
8
+ "draft",
9
+ "processing",
10
+ "failed",
11
+ "succeeded",
12
+ "deleted"
13
+ ])).describe("Filter by one or more inference statuses.").optional(),
14
+ avatar_id: zod.z.string().describe("UUID of the avatar to filter by.").optional(),
15
+ avatar_title: zod.z.string().describe("Filter by avatar title.").optional(),
16
+ end_datetime: zod.z.string().describe("ISO 8601 end timestamp for filtering.").optional(),
17
+ start_datetime: zod.z.string().describe("ISO 8601 start timestamp for filtering.").optional(),
18
+ inference_title: zod.z.string().describe("Filter by inference/video title.").optional()
19
+ }).describe("Request parameters for listing avatar video inferences.");
20
+ const GanAiListAvatarVideos_AvatarInferenceDetailsSchema = zod.z.object({
21
+ title: zod.z.string().describe("Inference/video title.").nullable().optional(),
22
+ video: zod.z.string().describe("URL of the generated video.").nullable().optional(),
23
+ status: zod.z.enum([
24
+ "draft",
25
+ "processing",
26
+ "failed",
27
+ "succeeded",
28
+ "deleted"
29
+ ]).describe("Status of the inference."),
30
+ avatar_id: zod.z.string().describe("UUID of the avatar."),
31
+ thumbnail: zod.z.string().describe("URL of the video thumbnail.").nullable().optional(),
32
+ created_at: zod.z.string().describe("ISO 8601 timestamp of creation.").nullable().optional(),
33
+ input_text: zod.z.string().describe("Input text used for generation.").nullable().optional(),
34
+ avatar_title: zod.z.string().describe("Title of the avatar.").nullable().optional(),
35
+ inference_id: zod.z.string().describe("UUID of the generated video inference.")
36
+ }).describe("Details of a single avatar video inference.");
37
+ const GanAiListAvatarVideosOutput = zod.z.object({
38
+ data: zod.z.array(GanAiListAvatarVideos_AvatarInferenceDetailsSchema).describe("List of avatar video inference objects.").nullable().optional(),
39
+ total: zod.z.number().int().describe("Total number of matching inferences.")
40
+ }).describe("Response schema for listing avatar video inferences.");
41
+ const ganAiListAvatarVideos = require_action.action("GAN_AI_LIST_AVATAR_VIDEOS", {
42
+ slug: "gan_ai-list-avatar-videos",
43
+ name: "List avatar video inferences",
44
+ 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.",
45
+ input: GanAiListAvatarVideosInput,
46
+ output: GanAiListAvatarVideosOutput
47
+ });
48
+ //#endregion
49
+ exports.ganAiListAvatarVideos = ganAiListAvatarVideos;
50
+
51
+ //# sourceMappingURL=list-avatar-videos.cjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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.\"),\n avatar_id: z.string().describe(\"UUID of the avatar.\"),\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.\"),\n}).describe(\"Details of a single avatar video inference.\");\nexport const GanAiListAvatarVideosOutput: z.ZodTypeAny = 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.\"),\n}).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,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,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,qDAAmEA,IAAAA,EAAE,OAAO;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAc;EAAU;EAAa;CAAS,CAAC,CAAC,CAAC,SAAS,0BAA0B;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACpD,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;AAC5E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,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;AACzE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-avatar-videos.d.ts
4
+ declare const GanAiListAvatarVideosInput: z.ZodTypeAny;
5
+ declare const GanAiListAvatarVideosOutput: z.ZodTypeAny;
6
+ declare const ganAiListAvatarVideos: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { ganAiListAvatarVideos };
9
+ //# sourceMappingURL=list-avatar-videos.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-avatar-videos.d.cts","names":[],"sources":["../../src/actions/list-avatar-videos.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAS2B;AAAA,cAYzD,2BAAA,EAA6B,CAAA,CAAE,UAGuB;AAAA,cAEtD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-avatar-videos.d.ts
4
+ declare const GanAiListAvatarVideosInput: z.ZodTypeAny;
5
+ declare const GanAiListAvatarVideosOutput: z.ZodTypeAny;
6
+ declare const ganAiListAvatarVideos: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { ganAiListAvatarVideos };
9
+ //# sourceMappingURL=list-avatar-videos.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-avatar-videos.d.mts","names":[],"sources":["../../src/actions/list-avatar-videos.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAS2B;AAAA,cAYzD,2BAAA,EAA6B,CAAA,CAAE,UAGuB;AAAA,cAEtD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}