@keystrokehq/gan_ai 0.1.4 → 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 +5 -17
  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 +5 -17
  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 +5 -17
  14. package/dist/actions/get-photo-avatar-details.d.cts.map +1 -1
  15. package/dist/actions/get-photo-avatar-details.d.mts +5 -17
  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 +5 -18
  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 +5 -18
  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 +7 -26
  30. package/dist/actions/list-avatar-videos.d.cts.map +1 -1
  31. package/dist/actions/list-avatar-videos.d.mts +7 -26
  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 +7 -25
  38. package/dist/actions/list-photo-avatar-inferences.d.cts.map +1 -1
  39. package/dist/actions/list-photo-avatar-inferences.d.mts +7 -25
  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 -20
  46. package/dist/actions/list-photo-avatars.d.cts.map +1 -1
  47. package/dist/actions/list-photo-avatars.d.mts +3 -20
  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 -16
  54. package/dist/actions/login.d.cts.map +1 -1
  55. package/dist/actions/login.d.mts +3 -16
  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 -16
  62. package/dist/actions/tts.d.cts.map +1 -1
  63. package/dist/actions/tts.d.mts +3 -16
  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 +2 -2
  68. package/dist/app.cjs.map +1 -1
  69. package/dist/app.d.cts +4 -6
  70. package/dist/app.d.cts.map +1 -1
  71. package/dist/app.d.mts +4 -6
  72. package/dist/app.d.mts.map +1 -1
  73. package/dist/app.mjs +0 -1
  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
@@ -9,10 +11,10 @@ declare const GanAiGetAvatarVideoInferenceDetailsOutput: z.ZodObject<{
9
11
  video: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  status: z.ZodNullable<z.ZodEnum<{
11
13
  draft: "draft";
12
- failed: "failed";
13
14
  processing: "processing";
14
- deleted: "deleted";
15
+ failed: "failed";
15
16
  succeeded: "succeeded";
17
+ deleted: "deleted";
16
18
  }>>;
17
19
  avatar_id: z.ZodNullable<z.ZodString>;
18
20
  thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -21,21 +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<"gan_ai", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- bearer_token: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- bearer_token: z.ZodString;
38
- }, z.core.$strip>>]>;
26
+ declare const ganAiGetAvatarVideoInferenceDetails: AppAction<typeof GanAiGetAvatarVideoInferenceDetailsInput, typeof GanAiGetAvatarVideoInferenceDetailsOutput, typeof ganAi.credential>;
39
27
  //#endregion
40
28
  export { ganAiGetAvatarVideoInferenceDetails };
41
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
@@ -9,10 +11,10 @@ declare const GanAiGetAvatarVideoInferenceDetailsOutput: z.ZodObject<{
9
11
  video: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  status: z.ZodNullable<z.ZodEnum<{
11
13
  draft: "draft";
12
- failed: "failed";
13
14
  processing: "processing";
14
- deleted: "deleted";
15
+ failed: "failed";
15
16
  succeeded: "succeeded";
17
+ deleted: "deleted";
16
18
  }>>;
17
19
  avatar_id: z.ZodNullable<z.ZodString>;
18
20
  thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -21,21 +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<"gan_ai", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- bearer_token: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- bearer_token: z.ZodString;
38
- }, z.core.$strip>>]>;
26
+ declare const ganAiGetAvatarVideoInferenceDetails: AppAction<typeof GanAiGetAvatarVideoInferenceDetailsInput, typeof GanAiGetAvatarVideoInferenceDetailsOutput, typeof ganAi.credential>;
39
27
  //#endregion
40
28
  export { ganAiGetAvatarVideoInferenceDetails };
41
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
@@ -8,30 +10,16 @@ declare const GanAiGetPhotoAvatarDetailsOutput: z.ZodObject<{
8
10
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  status: z.ZodNullable<z.ZodEnum<{
10
12
  draft: "draft";
11
- failed: "failed";
12
13
  processing: "processing";
13
- published: "published";
14
+ failed: "failed";
14
15
  deleted: "deleted";
16
+ published: "published";
15
17
  }>>;
16
18
  base_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<"gan_ai", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- bearer_token: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- bearer_token: z.ZodString;
34
- }, z.core.$strip>>]>;
22
+ declare const ganAiGetPhotoAvatarDetails: AppAction<typeof GanAiGetPhotoAvatarDetailsInput, typeof GanAiGetPhotoAvatarDetailsOutput, typeof ganAi.credential>;
35
23
  //#endregion
36
24
  export { ganAiGetPhotoAvatarDetails };
37
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
@@ -8,30 +10,16 @@ declare const GanAiGetPhotoAvatarDetailsOutput: z.ZodObject<{
8
10
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  status: z.ZodNullable<z.ZodEnum<{
10
12
  draft: "draft";
11
- failed: "failed";
12
13
  processing: "processing";
13
- published: "published";
14
+ failed: "failed";
14
15
  deleted: "deleted";
16
+ published: "published";
15
17
  }>>;
16
18
  base_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<"gan_ai", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- bearer_token: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- bearer_token: z.ZodString;
34
- }, z.core.$strip>>]>;
22
+ declare const ganAiGetPhotoAvatarDetails: AppAction<typeof GanAiGetPhotoAvatarDetailsInput, typeof GanAiGetPhotoAvatarDetailsOutput, typeof ganAi.credential>;
35
23
  //#endregion
36
24
  export { ganAiGetPhotoAvatarDetails };
37
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.\",\n input: GanAiGetPhotoAvatarInferenceDetailsInput,\n output: GanAiGetPhotoAvatarInferenceDetailsOutput,\n});\n"],"mappings":";;;AAIA,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,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
@@ -10,10 +12,10 @@ declare const GanAiGetPhotoAvatarInferenceDetailsOutput: z.ZodObject<{
10
12
  video: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  status: z.ZodNullable<z.ZodEnum<{
12
14
  draft: "draft";
13
- failed: "failed";
14
15
  processing: "processing";
15
- deleted: "deleted";
16
+ failed: "failed";
16
17
  succeeded: "succeeded";
18
+ deleted: "deleted";
17
19
  }>>;
18
20
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  input_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25,22 +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<"gan_ai", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- bearer_token: z.ZodString;
37
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
38
- connectionId: z.ZodString;
39
- entityId: z.ZodString;
40
- instanceId: z.ZodString;
41
- }, z.core.$strip>, z.ZodObject<{
42
- bearer_token: z.ZodString;
43
- }, z.core.$strip>>]>;
30
+ declare const ganAiGetPhotoAvatarInferenceDetails: AppAction<typeof GanAiGetPhotoAvatarInferenceDetailsInput, typeof GanAiGetPhotoAvatarInferenceDetailsOutput, typeof ganAi.credential>;
44
31
  //#endregion
45
32
  export { ganAiGetPhotoAvatarInferenceDetails };
46
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
@@ -10,10 +12,10 @@ declare const GanAiGetPhotoAvatarInferenceDetailsOutput: z.ZodObject<{
10
12
  video: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  status: z.ZodNullable<z.ZodEnum<{
12
14
  draft: "draft";
13
- failed: "failed";
14
15
  processing: "processing";
15
- deleted: "deleted";
16
+ failed: "failed";
16
17
  succeeded: "succeeded";
18
+ deleted: "deleted";
17
19
  }>>;
18
20
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  input_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25,22 +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<"gan_ai", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- bearer_token: z.ZodString;
37
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
38
- connectionId: z.ZodString;
39
- entityId: z.ZodString;
40
- instanceId: z.ZodString;
41
- }, z.core.$strip>, z.ZodObject<{
42
- bearer_token: z.ZodString;
43
- }, z.core.$strip>>]>;
30
+ declare const ganAiGetPhotoAvatarInferenceDetails: AppAction<typeof GanAiGetPhotoAvatarInferenceDetailsInput, typeof GanAiGetPhotoAvatarInferenceDetailsOutput, typeof ganAi.credential>;
44
31
  //#endregion
45
32
  export { ganAiGetPhotoAvatarInferenceDetails };
46
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: GanAiListAvatarVideosInput,\n output: GanAiListAvatarVideosOutput,\n});\n"],"mappings":";;;AAIA,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,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,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,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,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,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-avatar-videos.d.ts
@@ -6,10 +8,10 @@ declare const GanAiListAvatarVideosInput: z.ZodObject<{
6
8
  limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
9
  status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
8
10
  draft: "draft";
9
- failed: "failed";
10
11
  processing: "processing";
11
- deleted: "deleted";
12
+ failed: "failed";
12
13
  succeeded: "succeeded";
14
+ deleted: "deleted";
13
15
  }>>>;
14
16
  avatar_id: z.ZodOptional<z.ZodString>;
15
17
  avatar_title: z.ZodOptional<z.ZodString>;
@@ -23,10 +25,10 @@ declare const GanAiListAvatarVideosOutput: z.ZodObject<{
23
25
  video: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
26
  status: z.ZodNullable<z.ZodEnum<{
25
27
  draft: "draft";
26
- failed: "failed";
27
28
  processing: "processing";
28
- deleted: "deleted";
29
+ failed: "failed";
29
30
  succeeded: "succeeded";
31
+ deleted: "deleted";
30
32
  }>>;
31
33
  avatar_id: z.ZodNullable<z.ZodString>;
32
34
  thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -37,28 +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" | "failed" | "processing" | "deleted" | "succeeded")[] | 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<"gan_ai", z.ZodObject<{
50
- connectionId: z.ZodString;
51
- entityId: z.ZodString;
52
- instanceId: z.ZodString;
53
- }, z.core.$strip>, z.ZodObject<{
54
- bearer_token: z.ZodString;
55
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
56
- connectionId: z.ZodString;
57
- entityId: z.ZodString;
58
- instanceId: z.ZodString;
59
- }, z.core.$strip>, z.ZodObject<{
60
- bearer_token: z.ZodString;
61
- }, z.core.$strip>>]>;
42
+ declare const ganAiListAvatarVideos: AppAction<typeof GanAiListAvatarVideosInput, typeof GanAiListAvatarVideosOutput, typeof ganAi.credential>;
62
43
  //#endregion
63
44
  export { ganAiListAvatarVideos };
64
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
@@ -6,10 +8,10 @@ declare const GanAiListAvatarVideosInput: z.ZodObject<{
6
8
  limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
9
  status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
8
10
  draft: "draft";
9
- failed: "failed";
10
11
  processing: "processing";
11
- deleted: "deleted";
12
+ failed: "failed";
12
13
  succeeded: "succeeded";
14
+ deleted: "deleted";
13
15
  }>>>;
14
16
  avatar_id: z.ZodOptional<z.ZodString>;
15
17
  avatar_title: z.ZodOptional<z.ZodString>;
@@ -23,10 +25,10 @@ declare const GanAiListAvatarVideosOutput: z.ZodObject<{
23
25
  video: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
26
  status: z.ZodNullable<z.ZodEnum<{
25
27
  draft: "draft";
26
- failed: "failed";
27
28
  processing: "processing";
28
- deleted: "deleted";
29
+ failed: "failed";
29
30
  succeeded: "succeeded";
31
+ deleted: "deleted";
30
32
  }>>;
31
33
  avatar_id: z.ZodNullable<z.ZodString>;
32
34
  thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -37,28 +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" | "failed" | "processing" | "deleted" | "succeeded")[] | 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<"gan_ai", z.ZodObject<{
50
- connectionId: z.ZodString;
51
- entityId: z.ZodString;
52
- instanceId: z.ZodString;
53
- }, z.core.$strip>, z.ZodObject<{
54
- bearer_token: z.ZodString;
55
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
56
- connectionId: z.ZodString;
57
- entityId: z.ZodString;
58
- instanceId: z.ZodString;
59
- }, z.core.$strip>, z.ZodObject<{
60
- bearer_token: z.ZodString;
61
- }, z.core.$strip>>]>;
42
+ declare const ganAiListAvatarVideos: AppAction<typeof GanAiListAvatarVideosInput, typeof GanAiListAvatarVideosOutput, typeof ganAi.credential>;
62
43
  //#endregion
63
44
  export { ganAiListAvatarVideos };
64
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"}