@keystrokehq/gan_ai 0.1.0 → 0.1.1
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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-avatar-video-inference-details.cjs +9 -9
- package/dist/actions/get-avatar-video-inference-details.cjs.map +1 -1
- package/dist/actions/get-avatar-video-inference-details.d.cts +33 -3
- package/dist/actions/get-avatar-video-inference-details.d.cts.map +1 -1
- package/dist/actions/get-avatar-video-inference-details.d.mts +33 -3
- package/dist/actions/get-avatar-video-inference-details.d.mts.map +1 -1
- package/dist/actions/get-avatar-video-inference-details.mjs +9 -9
- package/dist/actions/get-avatar-video-inference-details.mjs.map +1 -1
- package/dist/actions/get-photo-avatar-details.cjs +5 -5
- package/dist/actions/get-photo-avatar-details.cjs.map +1 -1
- package/dist/actions/get-photo-avatar-details.d.cts +25 -3
- package/dist/actions/get-photo-avatar-details.d.cts.map +1 -1
- package/dist/actions/get-photo-avatar-details.d.mts +25 -3
- package/dist/actions/get-photo-avatar-details.d.mts.map +1 -1
- package/dist/actions/get-photo-avatar-details.mjs +5 -5
- package/dist/actions/get-photo-avatar-details.mjs.map +1 -1
- package/dist/actions/get-photo-avatar-inference-details.cjs +10 -10
- package/dist/actions/get-photo-avatar-inference-details.cjs.map +1 -1
- package/dist/actions/get-photo-avatar-inference-details.d.cts +41 -3
- package/dist/actions/get-photo-avatar-inference-details.d.cts.map +1 -1
- package/dist/actions/get-photo-avatar-inference-details.d.mts +41 -3
- package/dist/actions/get-photo-avatar-inference-details.d.mts.map +1 -1
- package/dist/actions/get-photo-avatar-inference-details.mjs +10 -10
- package/dist/actions/get-photo-avatar-inference-details.mjs.map +1 -1
- package/dist/actions/list-avatar-videos.cjs +11 -11
- package/dist/actions/list-avatar-videos.cjs.map +1 -1
- package/dist/actions/list-avatar-videos.d.cts +59 -3
- package/dist/actions/list-avatar-videos.d.cts.map +1 -1
- package/dist/actions/list-avatar-videos.d.mts +59 -3
- package/dist/actions/list-avatar-videos.d.mts.map +1 -1
- package/dist/actions/list-avatar-videos.mjs +11 -11
- package/dist/actions/list-avatar-videos.mjs.map +1 -1
- package/dist/actions/list-photo-avatar-inferences.cjs +12 -12
- package/dist/actions/list-photo-avatar-inferences.cjs.map +1 -1
- package/dist/actions/list-photo-avatar-inferences.d.cts +63 -3
- package/dist/actions/list-photo-avatar-inferences.d.cts.map +1 -1
- package/dist/actions/list-photo-avatar-inferences.d.mts +63 -3
- package/dist/actions/list-photo-avatar-inferences.d.mts.map +1 -1
- package/dist/actions/list-photo-avatar-inferences.mjs +12 -12
- package/dist/actions/list-photo-avatar-inferences.mjs.map +1 -1
- package/dist/actions/list-photo-avatars.cjs +10 -10
- package/dist/actions/list-photo-avatars.cjs.map +1 -1
- package/dist/actions/list-photo-avatars.d.cts +43 -3
- package/dist/actions/list-photo-avatars.d.cts.map +1 -1
- package/dist/actions/list-photo-avatars.d.mts +43 -3
- package/dist/actions/list-photo-avatars.d.mts.map +1 -1
- package/dist/actions/list-photo-avatars.mjs +10 -10
- package/dist/actions/list-photo-avatars.mjs.map +1 -1
- package/dist/actions/login.cjs +2 -2
- package/dist/actions/login.cjs.map +1 -1
- package/dist/actions/login.d.cts +15 -3
- package/dist/actions/login.d.cts.map +1 -1
- package/dist/actions/login.d.mts +15 -3
- package/dist/actions/login.d.mts.map +1 -1
- package/dist/actions/login.mjs +2 -2
- package/dist/actions/login.mjs.map +1 -1
- package/dist/actions/tts.cjs +2 -2
- package/dist/actions/tts.cjs.map +1 -1
- package/dist/actions/tts.d.cts +15 -3
- package/dist/actions/tts.d.cts.map +1 -1
- package/dist/actions/tts.d.mts +15 -3
- package/dist/actions/tts.d.mts.map +1 -1
- package/dist/actions/tts.mjs +2 -2
- package/dist/actions/tts.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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
|
|
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});\nexport const GanAiGetPhotoAvatarInferenceDetailsOutput = z.object({\n title: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Title of the inference.\").optional()),\n video: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"CloudFront URL of the generated video.\").optional()),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Current status of the inference.\").nullable(),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Creation timestamp of the inference.\").optional()),\n input_text: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Input text used for generation.\").optional()),\n credit_details: GanAiGetPhotoAvatarInferenceDetails_CreditDetailsSchema.nullable(),\n photo_avatar_id: z.string().describe(\"Photo avatar ID.\").nullable(),\n downloadable_video_link: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Download URL if requested.\").optional()),\n photo_avatar_inference_id: z.string().describe(\"Inference ID.\").nullable(),\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,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;AAaD,MAAa,sCAAsC,OAAO,6CAA6C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBuD,EAAE,OAAO;EAChE,OAAO,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC;EAC9H,OAAO,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;EAC7I,QAAQ,EAAE,KAAK;GAAC;GAAS;GAAc;GAAU;GAAa;EAAS,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAChI,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC;EAChJ,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC;EAC3I,gBAAgB,wDAAwD,SAAS;EACjF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAClE,yBAAyB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC;EACnJ,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CAC3E,CAOU;AACV,CAAC"}
|
|
@@ -18,25 +18,25 @@ const GanAiListAvatarVideosInput = zod.z.object({
|
|
|
18
18
|
inference_title: zod.z.string().describe("Filter by inference/video title.").optional()
|
|
19
19
|
}).describe("Request parameters for listing avatar video inferences.");
|
|
20
20
|
const GanAiListAvatarVideos_AvatarInferenceDetailsSchema = zod.z.object({
|
|
21
|
-
title: zod.z.string().describe("Inference/video title.").
|
|
22
|
-
video: zod.z.string().describe("URL of the generated video.").
|
|
21
|
+
title: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Inference/video title.").optional()),
|
|
22
|
+
video: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("URL of the generated video.").optional()),
|
|
23
23
|
status: zod.z.enum([
|
|
24
24
|
"draft",
|
|
25
25
|
"processing",
|
|
26
26
|
"failed",
|
|
27
27
|
"succeeded",
|
|
28
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.").
|
|
32
|
-
created_at: zod.z.string().describe("ISO 8601 timestamp of creation.").
|
|
33
|
-
input_text: zod.z.string().describe("Input text used for generation.").
|
|
34
|
-
avatar_title: zod.z.string().describe("Title of the avatar.").
|
|
35
|
-
inference_id: zod.z.string().describe("UUID of the generated video inference.")
|
|
29
|
+
]).describe("Status of the inference.").nullable(),
|
|
30
|
+
avatar_id: zod.z.string().describe("UUID of the avatar.").nullable(),
|
|
31
|
+
thumbnail: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("URL of the video thumbnail.").optional()),
|
|
32
|
+
created_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ISO 8601 timestamp of creation.").optional()),
|
|
33
|
+
input_text: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Input text used for generation.").optional()),
|
|
34
|
+
avatar_title: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Title of the avatar.").optional()),
|
|
35
|
+
inference_id: zod.z.string().describe("UUID of the generated video inference.").nullable()
|
|
36
36
|
}).describe("Details of a single avatar video inference.");
|
|
37
37
|
const GanAiListAvatarVideosOutput = zod.z.object({
|
|
38
|
-
data: zod.z.array(GanAiListAvatarVideos_AvatarInferenceDetailsSchema).describe("List of avatar video inference objects.").
|
|
39
|
-
total: zod.z.number().int().describe("Total number of matching inferences.")
|
|
38
|
+
data: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(GanAiListAvatarVideos_AvatarInferenceDetailsSchema).describe("List of avatar video inference objects.").optional()),
|
|
39
|
+
total: zod.z.number().int().describe("Total number of matching inferences.").nullable()
|
|
40
40
|
}).describe("Response schema for listing avatar video inferences.");
|
|
41
41
|
const ganAiListAvatarVideos = require_action.action("GAN_AI_LIST_AVATAR_VIDEOS", {
|
|
42
42
|
slug: "gan_ai-list-avatar-videos",
|
|
@@ -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
|
|
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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Inference/video title.\").optional()),\n video: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL of the generated video.\").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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL of the video thumbnail.\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp of creation.\").optional()),\n input_text: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Input text used for generation.\").optional()),\n avatar_title: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Title of the avatar.\").optional()),\n inference_id: z.string().describe(\"UUID of the generated video inference.\").nullable(),\n}).describe(\"Details of a single avatar video inference.\");\nexport const GanAiListAvatarVideosOutput = z.object({\n data: z.preprocess((value) => (value === null ? undefined : value), z.array(GanAiListAvatarVideos_AvatarInferenceDetailsSchema).describe(\"List of avatar video inference objects.\").optional()),\n total: z.number().int().describe(\"Total number of matching inferences.\").nullable(),\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,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,CAA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AAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;CAC9L,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,65 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-avatar-videos.d.ts
|
|
4
|
-
declare const GanAiListAvatarVideosInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const GanAiListAvatarVideosInput: z.ZodObject<{
|
|
5
|
+
skip: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8
|
+
draft: "draft";
|
|
9
|
+
processing: "processing";
|
|
10
|
+
failed: "failed";
|
|
11
|
+
succeeded: "succeeded";
|
|
12
|
+
deleted: "deleted";
|
|
13
|
+
}>>>;
|
|
14
|
+
avatar_id: z.ZodOptional<z.ZodString>;
|
|
15
|
+
avatar_title: z.ZodOptional<z.ZodString>;
|
|
16
|
+
end_datetime: z.ZodOptional<z.ZodString>;
|
|
17
|
+
start_datetime: z.ZodOptional<z.ZodString>;
|
|
18
|
+
inference_title: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const GanAiListAvatarVideosOutput: z.ZodObject<{
|
|
21
|
+
data: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22
|
+
title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
23
|
+
video: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
24
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
25
|
+
draft: "draft";
|
|
26
|
+
processing: "processing";
|
|
27
|
+
failed: "failed";
|
|
28
|
+
succeeded: "succeeded";
|
|
29
|
+
deleted: "deleted";
|
|
30
|
+
}>>;
|
|
31
|
+
avatar_id: z.ZodNullable<z.ZodString>;
|
|
32
|
+
thumbnail: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
33
|
+
created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
34
|
+
input_text: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
35
|
+
avatar_title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
36
|
+
inference_id: z.ZodNullable<z.ZodString>;
|
|
37
|
+
}, z.core.$strip>>>>;
|
|
38
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
}, z.core.$strip>;
|
|
40
|
+
declare const ganAiListAvatarVideos: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
41
|
+
skip?: number | undefined;
|
|
42
|
+
limit?: number | undefined;
|
|
43
|
+
status?: ("draft" | "processing" | "failed" | "succeeded" | "deleted")[] | undefined;
|
|
44
|
+
avatar_id?: string | undefined;
|
|
45
|
+
avatar_title?: string | undefined;
|
|
46
|
+
end_datetime?: string | undefined;
|
|
47
|
+
start_datetime?: string | undefined;
|
|
48
|
+
inference_title?: string | undefined;
|
|
49
|
+
}, {
|
|
50
|
+
total: number | null;
|
|
51
|
+
data?: {
|
|
52
|
+
status: "draft" | "processing" | "failed" | "succeeded" | "deleted" | null;
|
|
53
|
+
avatar_id: string | null;
|
|
54
|
+
inference_id: string | null;
|
|
55
|
+
title?: string | undefined;
|
|
56
|
+
video?: string | undefined;
|
|
57
|
+
thumbnail?: string | undefined;
|
|
58
|
+
created_at?: string | undefined;
|
|
59
|
+
input_text?: string | undefined;
|
|
60
|
+
avatar_title?: string | undefined;
|
|
61
|
+
}[] | undefined;
|
|
62
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
63
|
//#endregion
|
|
8
64
|
export { ganAiListAvatarVideos };
|
|
9
65
|
//# 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,
|
|
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,9 +1,65 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-avatar-videos.d.ts
|
|
4
|
-
declare const GanAiListAvatarVideosInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const GanAiListAvatarVideosInput: z.ZodObject<{
|
|
5
|
+
skip: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
8
|
+
draft: "draft";
|
|
9
|
+
processing: "processing";
|
|
10
|
+
failed: "failed";
|
|
11
|
+
succeeded: "succeeded";
|
|
12
|
+
deleted: "deleted";
|
|
13
|
+
}>>>;
|
|
14
|
+
avatar_id: z.ZodOptional<z.ZodString>;
|
|
15
|
+
avatar_title: z.ZodOptional<z.ZodString>;
|
|
16
|
+
end_datetime: z.ZodOptional<z.ZodString>;
|
|
17
|
+
start_datetime: z.ZodOptional<z.ZodString>;
|
|
18
|
+
inference_title: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const GanAiListAvatarVideosOutput: z.ZodObject<{
|
|
21
|
+
data: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22
|
+
title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
23
|
+
video: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
24
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
25
|
+
draft: "draft";
|
|
26
|
+
processing: "processing";
|
|
27
|
+
failed: "failed";
|
|
28
|
+
succeeded: "succeeded";
|
|
29
|
+
deleted: "deleted";
|
|
30
|
+
}>>;
|
|
31
|
+
avatar_id: z.ZodNullable<z.ZodString>;
|
|
32
|
+
thumbnail: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
33
|
+
created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
34
|
+
input_text: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
35
|
+
avatar_title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
36
|
+
inference_id: z.ZodNullable<z.ZodString>;
|
|
37
|
+
}, z.core.$strip>>>>;
|
|
38
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
}, z.core.$strip>;
|
|
40
|
+
declare const ganAiListAvatarVideos: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
41
|
+
skip?: number | undefined;
|
|
42
|
+
limit?: number | undefined;
|
|
43
|
+
status?: ("draft" | "processing" | "failed" | "succeeded" | "deleted")[] | undefined;
|
|
44
|
+
avatar_id?: string | undefined;
|
|
45
|
+
avatar_title?: string | undefined;
|
|
46
|
+
end_datetime?: string | undefined;
|
|
47
|
+
start_datetime?: string | undefined;
|
|
48
|
+
inference_title?: string | undefined;
|
|
49
|
+
}, {
|
|
50
|
+
total: number | null;
|
|
51
|
+
data?: {
|
|
52
|
+
status: "draft" | "processing" | "failed" | "succeeded" | "deleted" | null;
|
|
53
|
+
avatar_id: string | null;
|
|
54
|
+
inference_id: string | null;
|
|
55
|
+
title?: string | undefined;
|
|
56
|
+
video?: string | undefined;
|
|
57
|
+
thumbnail?: string | undefined;
|
|
58
|
+
created_at?: string | undefined;
|
|
59
|
+
input_text?: string | undefined;
|
|
60
|
+
avatar_title?: string | undefined;
|
|
61
|
+
}[] | undefined;
|
|
62
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
63
|
//#endregion
|
|
8
64
|
export { ganAiListAvatarVideos };
|
|
9
65
|
//# 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,
|
|
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"}
|
|
@@ -18,21 +18,21 @@ const GanAiListAvatarVideosInput = z.object({
|
|
|
18
18
|
inference_title: z.string().describe("Filter by inference/video title.").optional()
|
|
19
19
|
}).describe("Request parameters for listing avatar video inferences.");
|
|
20
20
|
const GanAiListAvatarVideos_AvatarInferenceDetailsSchema = z.object({
|
|
21
|
-
title: z.string().describe("Inference/video title.").
|
|
22
|
-
video: z.string().describe("URL of the generated video.").
|
|
21
|
+
title: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Inference/video title.").optional()),
|
|
22
|
+
video: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("URL of the generated video.").optional()),
|
|
23
23
|
status: z.enum([
|
|
24
24
|
"draft",
|
|
25
25
|
"processing",
|
|
26
26
|
"failed",
|
|
27
27
|
"succeeded",
|
|
28
28
|
"deleted"
|
|
29
|
-
]).describe("Status of the inference."),
|
|
30
|
-
avatar_id: z.string().describe("UUID of the avatar."),
|
|
31
|
-
thumbnail: z.string().describe("URL of the video thumbnail.").
|
|
32
|
-
created_at: z.string().describe("ISO 8601 timestamp of creation.").
|
|
33
|
-
input_text: z.string().describe("Input text used for generation.").
|
|
34
|
-
avatar_title: z.string().describe("Title of the avatar.").
|
|
35
|
-
inference_id: z.string().describe("UUID of the generated video inference.")
|
|
29
|
+
]).describe("Status of the inference.").nullable(),
|
|
30
|
+
avatar_id: z.string().describe("UUID of the avatar.").nullable(),
|
|
31
|
+
thumbnail: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("URL of the video thumbnail.").optional()),
|
|
32
|
+
created_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO 8601 timestamp of creation.").optional()),
|
|
33
|
+
input_text: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Input text used for generation.").optional()),
|
|
34
|
+
avatar_title: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Title of the avatar.").optional()),
|
|
35
|
+
inference_id: z.string().describe("UUID of the generated video inference.").nullable()
|
|
36
36
|
}).describe("Details of a single avatar video inference.");
|
|
37
37
|
const ganAiListAvatarVideos = action("GAN_AI_LIST_AVATAR_VIDEOS", {
|
|
38
38
|
slug: "gan_ai-list-avatar-videos",
|
|
@@ -40,8 +40,8 @@ const ganAiListAvatarVideos = action("GAN_AI_LIST_AVATAR_VIDEOS", {
|
|
|
40
40
|
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.",
|
|
41
41
|
input: GanAiListAvatarVideosInput,
|
|
42
42
|
output: z.object({
|
|
43
|
-
data: z.array(GanAiListAvatarVideos_AvatarInferenceDetailsSchema).describe("List of avatar video inference objects.").
|
|
44
|
-
total: z.number().int().describe("Total number of matching inferences.")
|
|
43
|
+
data: z.preprocess((value) => value === null ? void 0 : value, z.array(GanAiListAvatarVideos_AvatarInferenceDetailsSchema).describe("List of avatar video inference objects.").optional()),
|
|
44
|
+
total: z.number().int().describe("Total number of matching inferences.").nullable()
|
|
45
45
|
}).describe("Response schema for listing avatar video inferences.")
|
|
46
46
|
});
|
|
47
47
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-avatar-videos.mjs","names":[],"sources":["../../src/actions/list-avatar-videos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListAvatarVideosInput
|
|
1
|
+
{"version":3,"file":"list-avatar-videos.mjs","names":[],"sources":["../../src/actions/list-avatar-videos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListAvatarVideosInput = z.object({\n skip: z.number().int().default(0).describe(\"Pagination offset (number of items to skip). Default is 0.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of items to return. Default is 10.\").optional(),\n status: z.array(z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"])).describe(\"Filter by one or more inference statuses.\").optional(),\n avatar_id: z.string().describe(\"UUID of the avatar to filter by.\").optional(),\n avatar_title: z.string().describe(\"Filter by avatar title.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end timestamp for filtering.\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start timestamp for filtering.\").optional(),\n inference_title: z.string().describe(\"Filter by inference/video title.\").optional(),\n}).describe(\"Request parameters for listing avatar video inferences.\");\nconst GanAiListAvatarVideos_AvatarInferenceDetailsSchema = z.object({\n title: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Inference/video title.\").optional()),\n video: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL of the generated video.\").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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL of the video thumbnail.\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp of creation.\").optional()),\n input_text: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Input text used for generation.\").optional()),\n avatar_title: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Title of the avatar.\").optional()),\n inference_id: z.string().describe(\"UUID of the generated video inference.\").nullable(),\n}).describe(\"Details of a single avatar video inference.\");\nexport const GanAiListAvatarVideosOutput = z.object({\n data: z.preprocess((value) => (value === null ? undefined : value), z.array(GanAiListAvatarVideos_AvatarInferenceDetailsSchema).describe(\"List of avatar video inference objects.\").optional()),\n total: z.number().int().describe(\"Total number of matching inferences.\").nullable(),\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,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAClH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3G,QAAQ,EAAE,MAAM,EAAE,KAAK;EAAC;EAAS;EAAc;EAAU;EAAa;CAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;C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AAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC;CAClI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAMzD,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyC,EAAE,OAAO;EAClD,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC;EAC9L,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
|
|
@@ -17,29 +17,29 @@ const GanAiListPhotoAvatarInferencesInput = zod.z.object({
|
|
|
17
17
|
photo_avatar_id: zod.z.string().describe("UUID of the photo avatar to filter by.").optional()
|
|
18
18
|
}).describe("Request parameters for listing photo avatar inferences.");
|
|
19
19
|
const GanAiListPhotoAvatarInferences_CreditDetailsSchema = zod.z.object({
|
|
20
|
-
gan_cost: zod.z.number().describe("Cost in credits for GAN processing."),
|
|
21
|
-
tts_cost: zod.z.number().describe("Cost in credits for text-to-speech processing.")
|
|
20
|
+
gan_cost: zod.z.number().describe("Cost in credits for GAN processing.").nullable(),
|
|
21
|
+
tts_cost: zod.z.number().describe("Cost in credits for text-to-speech processing.").nullable()
|
|
22
22
|
}).describe("Details about credit usage for an inference.");
|
|
23
23
|
const GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema = zod.z.object({
|
|
24
|
-
title: zod.z.string().describe("Inference title, if set.").
|
|
25
|
-
video: zod.z.string().describe("CloudFront URL of the generated video.").
|
|
24
|
+
title: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Inference title, if set.").optional()),
|
|
25
|
+
video: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("CloudFront URL of the generated video.").optional()),
|
|
26
26
|
status: zod.z.enum([
|
|
27
27
|
"draft",
|
|
28
28
|
"processing",
|
|
29
29
|
"failed",
|
|
30
30
|
"succeeded",
|
|
31
31
|
"deleted"
|
|
32
|
-
]).describe("Status of the inference."),
|
|
33
|
-
created_at: zod.z.string().describe("ISO 8601 timestamp when the inference was created.").
|
|
34
|
-
input_text: zod.z.string().describe("Input text used to generate this inference.").
|
|
32
|
+
]).describe("Status of the inference.").nullable(),
|
|
33
|
+
created_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ISO 8601 timestamp when the inference was created.").optional()),
|
|
34
|
+
input_text: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Input text used to generate this inference.").optional()),
|
|
35
35
|
credit_details: GanAiListPhotoAvatarInferences_CreditDetailsSchema.nullable(),
|
|
36
|
-
photo_avatar_id: zod.z.string().describe("UUID of the photo avatar."),
|
|
37
|
-
downloadable_video_link: zod.z.string().describe("Direct download link for the video.").
|
|
38
|
-
photo_avatar_inference_id: zod.z.string().describe("UUID of the inference.")
|
|
36
|
+
photo_avatar_id: zod.z.string().describe("UUID of the photo avatar.").nullable(),
|
|
37
|
+
downloadable_video_link: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Direct download link for the video.").optional()),
|
|
38
|
+
photo_avatar_inference_id: zod.z.string().describe("UUID of the inference.").nullable()
|
|
39
39
|
}).describe("Details of a single photo avatar inference.");
|
|
40
40
|
const GanAiListPhotoAvatarInferencesOutput = zod.z.object({
|
|
41
|
-
total: zod.z.number().int().describe("Total number of matched inferences."),
|
|
42
|
-
inference_list: zod.z.array(GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema).describe("Page of inference detail objects.").
|
|
41
|
+
total: zod.z.number().int().describe("Total number of matched inferences.").nullable(),
|
|
42
|
+
inference_list: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema).describe("Page of inference detail objects.").optional())
|
|
43
43
|
}).describe("Response schema for listing photo avatar inferences.");
|
|
44
44
|
const ganAiListPhotoAvatarInferences = require_action.action("GAN_AI_LIST_PHOTO_AVATAR_INFERENCES", {
|
|
45
45
|
slug: "gan_ai-list-photo-avatar-inferences",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-photo-avatar-inferences.cjs","names":["z","action"],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListPhotoAvatarInferencesInput
|
|
1
|
+
{"version":3,"file":"list-photo-avatar-inferences.cjs","names":["z","action"],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListPhotoAvatarInferencesInput = z.object({\n skip: z.number().int().default(0).describe(\"Pagination offset (number of items to skip).\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of items to return.\").optional(),\n title: z.string().describe(\"Filter by inference title.\").optional(),\n status: z.array(z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"])).describe(\"Filter by one or more inference statuses.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end of the creation time window, e.g., '2023-01-07T23:59:59Z'.\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start of the creation time window, e.g., '2023-01-01T00:00:00Z'.\").optional(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar to filter by.\").optional(),\n}).describe(\"Request parameters for listing photo avatar inferences.\");\nconst GanAiListPhotoAvatarInferences_CreditDetailsSchema = z.object({\n gan_cost: z.number().describe(\"Cost in credits for GAN processing.\").nullable(),\n tts_cost: z.number().describe(\"Cost in credits for text-to-speech processing.\").nullable(),\n}).describe(\"Details about credit usage for an inference.\");\nconst GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema = z.object({\n title: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Inference title, if set.\").optional()),\n video: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"CloudFront URL of the generated video.\").optional()),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Status of the inference.\").nullable(),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp when the inference was created.\").optional()),\n input_text: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Input text used to generate this inference.\").optional()),\n credit_details: GanAiListPhotoAvatarInferences_CreditDetailsSchema.nullable(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar.\").nullable(),\n downloadable_video_link: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Direct download link for the video.\").optional()),\n photo_avatar_inference_id: z.string().describe(\"UUID of the inference.\").nullable(),\n}).describe(\"Details of a single photo avatar inference.\");\nexport const GanAiListPhotoAvatarInferencesOutput = z.object({\n total: z.number().int().describe(\"Total number of matched inferences.\").nullable(),\n inference_list: z.preprocess((value) => (value === null ? undefined : value), z.array(GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema).describe(\"Page of inference detail objects.\").optional()),\n}).describe(\"Response schema for listing photo avatar inferences.\");\n\nexport const ganAiListPhotoAvatarInferences = action(\"GAN_AI_LIST_PHOTO_AVATAR_INFERENCES\", {\n slug: \"gan_ai-list-photo-avatar-inferences\",\n name: \"List photo avatar inferences\",\n description: \"Tool to list photo avatar inferences. Use when you need to retrieve inference videos with optional filtering by avatar, title, status, or date range.\",\n input: GanAiListPhotoAvatarInferencesInput,\n output: GanAiListPhotoAvatarInferencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,S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//#region src/actions/list-photo-avatar-inferences.d.ts
|
|
4
|
-
declare const GanAiListPhotoAvatarInferencesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const GanAiListPhotoAvatarInferencesInput: z.ZodObject<{
|
|
5
|
+
skip: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
title: z.ZodOptional<z.ZodString>;
|
|
8
|
+
status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9
|
+
draft: "draft";
|
|
10
|
+
processing: "processing";
|
|
11
|
+
failed: "failed";
|
|
12
|
+
succeeded: "succeeded";
|
|
13
|
+
deleted: "deleted";
|
|
14
|
+
}>>>;
|
|
15
|
+
end_datetime: z.ZodOptional<z.ZodString>;
|
|
16
|
+
start_datetime: z.ZodOptional<z.ZodString>;
|
|
17
|
+
photo_avatar_id: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const GanAiListPhotoAvatarInferencesOutput: z.ZodObject<{
|
|
20
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
inference_list: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22
|
+
title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
23
|
+
video: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
24
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
25
|
+
draft: "draft";
|
|
26
|
+
processing: "processing";
|
|
27
|
+
failed: "failed";
|
|
28
|
+
succeeded: "succeeded";
|
|
29
|
+
deleted: "deleted";
|
|
30
|
+
}>>;
|
|
31
|
+
created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
32
|
+
input_text: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
33
|
+
credit_details: z.ZodNullable<z.ZodObject<{
|
|
34
|
+
gan_cost: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
tts_cost: z.ZodNullable<z.ZodNumber>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
photo_avatar_id: z.ZodNullable<z.ZodString>;
|
|
38
|
+
downloadable_video_link: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
39
|
+
photo_avatar_inference_id: z.ZodNullable<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>>>>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
declare const ganAiListPhotoAvatarInferences: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
|
+
skip?: number | undefined;
|
|
44
|
+
limit?: number | undefined;
|
|
45
|
+
title?: string | undefined;
|
|
46
|
+
status?: ("draft" | "processing" | "failed" | "succeeded" | "deleted")[] | undefined;
|
|
47
|
+
end_datetime?: string | undefined;
|
|
48
|
+
start_datetime?: string | undefined;
|
|
49
|
+
photo_avatar_id?: string | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
total: number | null;
|
|
52
|
+
inference_list?: {
|
|
53
|
+
status: "draft" | "processing" | "failed" | "succeeded" | "deleted" | null;
|
|
54
|
+
credit_details: {
|
|
55
|
+
gan_cost: number | null;
|
|
56
|
+
tts_cost: number | null;
|
|
57
|
+
} | null;
|
|
58
|
+
photo_avatar_id: string | null;
|
|
59
|
+
photo_avatar_inference_id: string | null;
|
|
60
|
+
title?: string | undefined;
|
|
61
|
+
video?: string | undefined;
|
|
62
|
+
created_at?: string | undefined;
|
|
63
|
+
input_text?: string | undefined;
|
|
64
|
+
downloadable_video_link?: string | undefined;
|
|
65
|
+
}[] | undefined;
|
|
66
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
67
|
//#endregion
|
|
8
68
|
export { ganAiListPhotoAvatarInferences };
|
|
9
69
|
//# sourceMappingURL=list-photo-avatar-inferences.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-photo-avatar-inferences.d.cts","names":[],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"list-photo-avatar-inferences.d.cts","names":[],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAwBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1,9 +1,69 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-photo-avatar-inferences.d.ts
|
|
4
|
-
declare const GanAiListPhotoAvatarInferencesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const GanAiListPhotoAvatarInferencesInput: z.ZodObject<{
|
|
5
|
+
skip: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
title: z.ZodOptional<z.ZodString>;
|
|
8
|
+
status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9
|
+
draft: "draft";
|
|
10
|
+
processing: "processing";
|
|
11
|
+
failed: "failed";
|
|
12
|
+
succeeded: "succeeded";
|
|
13
|
+
deleted: "deleted";
|
|
14
|
+
}>>>;
|
|
15
|
+
end_datetime: z.ZodOptional<z.ZodString>;
|
|
16
|
+
start_datetime: z.ZodOptional<z.ZodString>;
|
|
17
|
+
photo_avatar_id: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const GanAiListPhotoAvatarInferencesOutput: z.ZodObject<{
|
|
20
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
inference_list: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22
|
+
title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
23
|
+
video: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
24
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
25
|
+
draft: "draft";
|
|
26
|
+
processing: "processing";
|
|
27
|
+
failed: "failed";
|
|
28
|
+
succeeded: "succeeded";
|
|
29
|
+
deleted: "deleted";
|
|
30
|
+
}>>;
|
|
31
|
+
created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
32
|
+
input_text: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
33
|
+
credit_details: z.ZodNullable<z.ZodObject<{
|
|
34
|
+
gan_cost: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
tts_cost: z.ZodNullable<z.ZodNumber>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
photo_avatar_id: z.ZodNullable<z.ZodString>;
|
|
38
|
+
downloadable_video_link: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
39
|
+
photo_avatar_inference_id: z.ZodNullable<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>>>>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
declare const ganAiListPhotoAvatarInferences: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
|
+
skip?: number | undefined;
|
|
44
|
+
limit?: number | undefined;
|
|
45
|
+
title?: string | undefined;
|
|
46
|
+
status?: ("draft" | "processing" | "failed" | "succeeded" | "deleted")[] | undefined;
|
|
47
|
+
end_datetime?: string | undefined;
|
|
48
|
+
start_datetime?: string | undefined;
|
|
49
|
+
photo_avatar_id?: string | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
total: number | null;
|
|
52
|
+
inference_list?: {
|
|
53
|
+
status: "draft" | "processing" | "failed" | "succeeded" | "deleted" | null;
|
|
54
|
+
credit_details: {
|
|
55
|
+
gan_cost: number | null;
|
|
56
|
+
tts_cost: number | null;
|
|
57
|
+
} | null;
|
|
58
|
+
photo_avatar_id: string | null;
|
|
59
|
+
photo_avatar_inference_id: string | null;
|
|
60
|
+
title?: string | undefined;
|
|
61
|
+
video?: string | undefined;
|
|
62
|
+
created_at?: string | undefined;
|
|
63
|
+
input_text?: string | undefined;
|
|
64
|
+
downloadable_video_link?: string | undefined;
|
|
65
|
+
}[] | undefined;
|
|
66
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
67
|
//#endregion
|
|
8
68
|
export { ganAiListPhotoAvatarInferences };
|
|
9
69
|
//# sourceMappingURL=list-photo-avatar-inferences.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-photo-avatar-inferences.d.mts","names":[],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"list-photo-avatar-inferences.d.mts","names":[],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAwBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -17,25 +17,25 @@ const GanAiListPhotoAvatarInferencesInput = z.object({
|
|
|
17
17
|
photo_avatar_id: z.string().describe("UUID of the photo avatar to filter by.").optional()
|
|
18
18
|
}).describe("Request parameters for listing photo avatar inferences.");
|
|
19
19
|
const GanAiListPhotoAvatarInferences_CreditDetailsSchema = z.object({
|
|
20
|
-
gan_cost: z.number().describe("Cost in credits for GAN processing."),
|
|
21
|
-
tts_cost: z.number().describe("Cost in credits for text-to-speech processing.")
|
|
20
|
+
gan_cost: z.number().describe("Cost in credits for GAN processing.").nullable(),
|
|
21
|
+
tts_cost: z.number().describe("Cost in credits for text-to-speech processing.").nullable()
|
|
22
22
|
}).describe("Details about credit usage for an inference.");
|
|
23
23
|
const GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema = z.object({
|
|
24
|
-
title: z.string().describe("Inference title, if set.").
|
|
25
|
-
video: z.string().describe("CloudFront URL of the generated video.").
|
|
24
|
+
title: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Inference title, if set.").optional()),
|
|
25
|
+
video: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("CloudFront URL of the generated video.").optional()),
|
|
26
26
|
status: z.enum([
|
|
27
27
|
"draft",
|
|
28
28
|
"processing",
|
|
29
29
|
"failed",
|
|
30
30
|
"succeeded",
|
|
31
31
|
"deleted"
|
|
32
|
-
]).describe("Status of the inference."),
|
|
33
|
-
created_at: z.string().describe("ISO 8601 timestamp when the inference was created.").
|
|
34
|
-
input_text: z.string().describe("Input text used to generate this inference.").
|
|
32
|
+
]).describe("Status of the inference.").nullable(),
|
|
33
|
+
created_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO 8601 timestamp when the inference was created.").optional()),
|
|
34
|
+
input_text: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Input text used to generate this inference.").optional()),
|
|
35
35
|
credit_details: GanAiListPhotoAvatarInferences_CreditDetailsSchema.nullable(),
|
|
36
|
-
photo_avatar_id: z.string().describe("UUID of the photo avatar."),
|
|
37
|
-
downloadable_video_link: z.string().describe("Direct download link for the video.").
|
|
38
|
-
photo_avatar_inference_id: z.string().describe("UUID of the inference.")
|
|
36
|
+
photo_avatar_id: z.string().describe("UUID of the photo avatar.").nullable(),
|
|
37
|
+
downloadable_video_link: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Direct download link for the video.").optional()),
|
|
38
|
+
photo_avatar_inference_id: z.string().describe("UUID of the inference.").nullable()
|
|
39
39
|
}).describe("Details of a single photo avatar inference.");
|
|
40
40
|
const ganAiListPhotoAvatarInferences = action("GAN_AI_LIST_PHOTO_AVATAR_INFERENCES", {
|
|
41
41
|
slug: "gan_ai-list-photo-avatar-inferences",
|
|
@@ -43,8 +43,8 @@ const ganAiListPhotoAvatarInferences = action("GAN_AI_LIST_PHOTO_AVATAR_INFERENC
|
|
|
43
43
|
description: "Tool to list photo avatar inferences. Use when you need to retrieve inference videos with optional filtering by avatar, title, status, or date range.",
|
|
44
44
|
input: GanAiListPhotoAvatarInferencesInput,
|
|
45
45
|
output: z.object({
|
|
46
|
-
total: z.number().int().describe("Total number of matched inferences."),
|
|
47
|
-
inference_list: z.array(GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema).describe("Page of inference detail objects.").
|
|
46
|
+
total: z.number().int().describe("Total number of matched inferences.").nullable(),
|
|
47
|
+
inference_list: z.preprocess((value) => value === null ? void 0 : value, z.array(GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema).describe("Page of inference detail objects.").optional())
|
|
48
48
|
}).describe("Response schema for listing photo avatar inferences.")
|
|
49
49
|
});
|
|
50
50
|
//#endregion
|