@keystrokehq/gan_ai 0.1.2 → 0.1.4
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/README.md +1 -1
- package/dist/actions/get-avatar-video-inference-details.cjs +1 -1
- package/dist/actions/get-avatar-video-inference-details.cjs.map +1 -1
- package/dist/actions/get-avatar-video-inference-details.d.cts +14 -2
- package/dist/actions/get-avatar-video-inference-details.d.mts +14 -2
- package/dist/actions/get-avatar-video-inference-details.mjs +1 -1
- package/dist/actions/get-avatar-video-inference-details.mjs.map +1 -1
- package/dist/actions/get-photo-avatar-details.cjs +1 -1
- package/dist/actions/get-photo-avatar-details.cjs.map +1 -1
- package/dist/actions/get-photo-avatar-details.d.cts +14 -2
- package/dist/actions/get-photo-avatar-details.d.mts +14 -2
- package/dist/actions/get-photo-avatar-details.mjs +1 -1
- package/dist/actions/get-photo-avatar-details.mjs.map +1 -1
- package/dist/actions/get-photo-avatar-inference-details.cjs +2 -2
- package/dist/actions/get-photo-avatar-inference-details.cjs.map +1 -1
- package/dist/actions/get-photo-avatar-inference-details.d.cts +15 -3
- package/dist/actions/get-photo-avatar-inference-details.d.mts +15 -3
- package/dist/actions/get-photo-avatar-inference-details.mjs +2 -2
- package/dist/actions/get-photo-avatar-inference-details.mjs.map +1 -1
- package/dist/actions/list-avatar-videos.cjs +2 -2
- package/dist/actions/list-avatar-videos.cjs.map +1 -1
- package/dist/actions/list-avatar-videos.d.cts +15 -3
- package/dist/actions/list-avatar-videos.d.mts +15 -3
- package/dist/actions/list-avatar-videos.mjs +2 -2
- package/dist/actions/list-avatar-videos.mjs.map +1 -1
- package/dist/actions/list-photo-avatar-inferences.cjs +3 -3
- package/dist/actions/list-photo-avatar-inferences.cjs.map +1 -1
- package/dist/actions/list-photo-avatar-inferences.d.cts +16 -4
- package/dist/actions/list-photo-avatar-inferences.d.mts +16 -4
- package/dist/actions/list-photo-avatar-inferences.mjs +3 -3
- package/dist/actions/list-photo-avatar-inferences.mjs.map +1 -1
- package/dist/actions/list-photo-avatars.cjs +3 -3
- package/dist/actions/list-photo-avatars.cjs.map +1 -1
- package/dist/actions/list-photo-avatars.d.cts +16 -4
- package/dist/actions/list-photo-avatars.d.mts +16 -4
- package/dist/actions/list-photo-avatars.mjs +3 -3
- package/dist/actions/list-photo-avatars.mjs.map +1 -1
- package/dist/actions/login.cjs +1 -1
- package/dist/actions/login.cjs.map +1 -1
- package/dist/actions/login.d.cts +14 -2
- package/dist/actions/login.d.mts +14 -2
- package/dist/actions/login.mjs +1 -1
- package/dist/actions/login.mjs.map +1 -1
- package/dist/actions/tts.cjs +1 -1
- package/dist/actions/tts.cjs.map +1 -1
- package/dist/actions/tts.d.cts +14 -2
- package/dist/actions/tts.d.mts +14 -2
- package/dist/actions/tts.mjs +1 -1
- package/dist/actions/tts.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -33,12 +33,12 @@ declare const GanAiListPhotoAvatarInferencesOutput: z.ZodObject<{
|
|
|
33
33
|
credit_details: z.ZodNullable<z.ZodObject<{
|
|
34
34
|
gan_cost: z.ZodNullable<z.ZodNumber>;
|
|
35
35
|
tts_cost: z.ZodNullable<z.ZodNumber>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>;
|
|
37
37
|
photo_avatar_id: z.ZodNullable<z.ZodString>;
|
|
38
38
|
downloadable_video_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
photo_avatar_inference_id: z.ZodNullable<z.ZodString>;
|
|
40
|
-
}, z.core.$
|
|
41
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>>;
|
|
41
|
+
}, z.core.$loose>;
|
|
42
42
|
declare const ganAiListPhotoAvatarInferences: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
43
|
skip?: number | undefined;
|
|
44
44
|
limit?: number | undefined;
|
|
@@ -47,7 +47,19 @@ declare const ganAiListPhotoAvatarInferences: import("@keystrokehq/action").Work
|
|
|
47
47
|
end_datetime?: string | undefined;
|
|
48
48
|
start_datetime?: string | undefined;
|
|
49
49
|
photo_avatar_id?: string | undefined;
|
|
50
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
50
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
|
|
51
|
+
connectionId: z.ZodString;
|
|
52
|
+
entityId: z.ZodString;
|
|
53
|
+
instanceId: z.ZodString;
|
|
54
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
+
bearer_token: z.ZodString;
|
|
56
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
|
|
57
|
+
connectionId: z.ZodString;
|
|
58
|
+
entityId: z.ZodString;
|
|
59
|
+
instanceId: z.ZodString;
|
|
60
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
+
bearer_token: z.ZodString;
|
|
62
|
+
}, z.core.$strip>>]>;
|
|
51
63
|
//#endregion
|
|
52
64
|
export { ganAiListPhotoAvatarInferences };
|
|
53
65
|
//# sourceMappingURL=list-photo-avatar-inferences.d.mts.map
|
|
@@ -19,7 +19,7 @@ const GanAiListPhotoAvatarInferencesInput = z.object({
|
|
|
19
19
|
const GanAiListPhotoAvatarInferences_CreditDetailsSchema = z.object({
|
|
20
20
|
gan_cost: z.number().describe("Cost in credits for GAN processing.").nullable(),
|
|
21
21
|
tts_cost: z.number().describe("Cost in credits for text-to-speech processing.").nullable()
|
|
22
|
-
}).describe("Details about credit usage for an inference.");
|
|
22
|
+
}).passthrough().describe("Details about credit usage for an inference.");
|
|
23
23
|
const GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema = z.object({
|
|
24
24
|
title: z.string().describe("Inference title, if set.").nullable().optional(),
|
|
25
25
|
video: z.string().describe("CloudFront URL of the generated video.").nullable().optional(),
|
|
@@ -36,7 +36,7 @@ const GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema = z.objec
|
|
|
36
36
|
photo_avatar_id: z.string().describe("UUID of the photo avatar.").nullable(),
|
|
37
37
|
downloadable_video_link: z.string().describe("Direct download link for the video.").nullable().optional(),
|
|
38
38
|
photo_avatar_inference_id: z.string().describe("UUID of the inference.").nullable()
|
|
39
|
-
}).describe("Details of a single photo avatar inference.");
|
|
39
|
+
}).passthrough().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",
|
|
42
42
|
name: "List photo avatar inferences",
|
|
@@ -45,7 +45,7 @@ const ganAiListPhotoAvatarInferences = action("GAN_AI_LIST_PHOTO_AVATAR_INFERENC
|
|
|
45
45
|
output: z.object({
|
|
46
46
|
total: z.number().int().describe("Total number of matched inferences.").nullable(),
|
|
47
47
|
inference_list: z.array(GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema).describe("Page of inference detail objects.").nullable().optional()
|
|
48
|
-
}).describe("Response schema for listing photo avatar inferences.")
|
|
48
|
+
}).passthrough().describe("Response schema for listing photo avatar inferences.")
|
|
49
49
|
});
|
|
50
50
|
//#endregion
|
|
51
51
|
export { ganAiListPhotoAvatarInferences };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-photo-avatar-inferences.mjs","names":[],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListPhotoAvatarInferencesInput = z.object({\n skip: z.number().int().default(0).describe(\"Pagination offset (number of items to skip).\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of items to return.\").optional(),\n title: z.string().describe(\"Filter by inference title.\").optional(),\n status: z.array(z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"])).describe(\"Filter by one or more inference statuses.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end of the creation time window, e.g., '2023-01-07T23:59:59Z'.\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start of the creation time window, e.g., '2023-01-01T00:00:00Z'.\").optional(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar to filter by.\").optional(),\n}).describe(\"Request parameters for listing photo avatar inferences.\");\nconst GanAiListPhotoAvatarInferences_CreditDetailsSchema = z.object({\n gan_cost: z.number().describe(\"Cost in credits for GAN processing.\").nullable(),\n tts_cost: z.number().describe(\"Cost in credits for text-to-speech processing.\").nullable(),\n}).describe(\"Details about credit usage for an inference.\");\nconst GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema = z.object({\n title: z.string().describe(\"Inference title, if set.\").nullable().optional(),\n video: z.string().describe(\"CloudFront URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Status of the inference.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the inference was created.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used to generate this inference.\").nullable().optional(),\n credit_details: GanAiListPhotoAvatarInferences_CreditDetailsSchema.nullable(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar.\").nullable(),\n downloadable_video_link: z.string().describe(\"Direct download link for the video.\").nullable().optional(),\n photo_avatar_inference_id: z.string().describe(\"UUID of the inference.\").nullable(),\n}).describe(\"Details of a single photo avatar inference.\");\nexport const GanAiListPhotoAvatarInferencesOutput = z.object({\n total: z.number().int().describe(\"Total number of matched inferences.\").nullable(),\n inference_list: z.array(GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema).describe(\"Page of inference detail objects.\").nullable().optional(),\n}).describe(\"Response schema for listing photo avatar inferences.\");\n\nexport const ganAiListPhotoAvatarInferences = action(\"GAN_AI_LIST_PHOTO_AVATAR_INFERENCES\", {\n slug: \"gan_ai-list-photo-avatar-inferences\",\n name: \"List photo avatar inferences\",\n description: \"Tool to list photo avatar inferences. Use when you need to retrieve inference videos with optional filtering by avatar, title, status, or date range.\",\n input: GanAiListPhotoAvatarInferencesInput,\n output: GanAiListPhotoAvatarInferencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,QAAQ,EAAE,MAAM,EAAE,KAAK;EAAC;EAAS;EAAc;EAAU;EAAa;CAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC1H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,qDAAqD,EAAE,OAAO;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"list-photo-avatar-inferences.mjs","names":[],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListPhotoAvatarInferencesInput = z.object({\n skip: z.number().int().default(0).describe(\"Pagination offset (number of items to skip).\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of items to return.\").optional(),\n title: z.string().describe(\"Filter by inference title.\").optional(),\n status: z.array(z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"])).describe(\"Filter by one or more inference statuses.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end of the creation time window, e.g., '2023-01-07T23:59:59Z'.\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start of the creation time window, e.g., '2023-01-01T00:00:00Z'.\").optional(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar to filter by.\").optional(),\n}).describe(\"Request parameters for listing photo avatar inferences.\");\nconst GanAiListPhotoAvatarInferences_CreditDetailsSchema = z.object({\n gan_cost: z.number().describe(\"Cost in credits for GAN processing.\").nullable(),\n tts_cost: z.number().describe(\"Cost in credits for text-to-speech processing.\").nullable(),\n}).passthrough().describe(\"Details about credit usage for an inference.\");\nconst GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema = z.object({\n title: z.string().describe(\"Inference title, if set.\").nullable().optional(),\n video: z.string().describe(\"CloudFront URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Status of the inference.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the inference was created.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used to generate this inference.\").nullable().optional(),\n credit_details: GanAiListPhotoAvatarInferences_CreditDetailsSchema.nullable(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar.\").nullable(),\n downloadable_video_link: z.string().describe(\"Direct download link for the video.\").nullable().optional(),\n photo_avatar_inference_id: z.string().describe(\"UUID of the inference.\").nullable(),\n}).passthrough().describe(\"Details of a single photo avatar inference.\");\nexport const GanAiListPhotoAvatarInferencesOutput = z.object({\n total: z.number().int().describe(\"Total number of matched inferences.\").nullable(),\n inference_list: z.array(GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema).describe(\"Page of inference detail objects.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing photo avatar inferences.\");\n\nexport const ganAiListPhotoAvatarInferences = action(\"GAN_AI_LIST_PHOTO_AVATAR_INFERENCES\", {\n slug: \"gan_ai-list-photo-avatar-inferences\",\n name: \"List photo avatar inferences\",\n description: \"Tool to list photo avatar inferences. Use when you need to retrieve inference videos with optional filtering by avatar, title, status, or date range.\",\n input: GanAiListPhotoAvatarInferencesInput,\n output: GanAiListPhotoAvatarInferencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,QAAQ,EAAE,MAAM,EAAE,KAAK;EAAC;EAAS;EAAc;EAAU;EAAa;CAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC1H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,qDAAqD,EAAE,OAAO;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,mEAAmE,EAAE,OAAO;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQ,EAAE,KAAK;EAAC;EAAS;EAAc;EAAU;EAAa;CAAS,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,gBAAgB,mDAAmD,SAAS;CAC5E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC3E,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAMvE,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkD,EAAE,OAAO;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACjF,gBAAgB,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const GanAiListPhotoAvatarsInput = zod.z.object({
|
|
|
9
9
|
end_datetime: zod.z.string().describe("ISO 8601 end timestamp for filtering (inclusive).").optional(),
|
|
10
10
|
start_datetime: zod.z.string().describe("ISO 8601 start timestamp for filtering (inclusive).").optional()
|
|
11
11
|
}).describe("Request model for listing avatars with optional filters and pagination.");
|
|
12
|
-
const GanAiListPhotoAvatars_AvatarWebhookSchema = zod.z.object({ webhook_url: zod.z.string().describe("Webhook URL registered for the avatar").nullable() });
|
|
12
|
+
const GanAiListPhotoAvatars_AvatarWebhookSchema = zod.z.object({ webhook_url: zod.z.string().describe("Webhook URL registered for the avatar").nullable() }).passthrough();
|
|
13
13
|
const GanAiListPhotoAvatars_AvatarListItemSchema = zod.z.object({
|
|
14
14
|
title: zod.z.string().describe("User-defined title of the avatar.").nullable().optional(),
|
|
15
15
|
status: zod.z.string().describe("Current status of the avatar.").nullable().optional(),
|
|
@@ -18,11 +18,11 @@ const GanAiListPhotoAvatars_AvatarListItemSchema = zod.z.object({
|
|
|
18
18
|
base_video: zod.z.string().describe("URL for the avatar base video.").nullable().optional(),
|
|
19
19
|
created_at: zod.z.string().describe("ISO 8601 timestamp when the avatar was created.").nullable().optional(),
|
|
20
20
|
avatar_webhook: GanAiListPhotoAvatars_AvatarWebhookSchema.nullable().optional()
|
|
21
|
-
}).describe("Representation of a single avatar record.");
|
|
21
|
+
}).passthrough().describe("Representation of a single avatar record.");
|
|
22
22
|
const GanAiListPhotoAvatarsOutput = zod.z.object({
|
|
23
23
|
avatars_list: zod.z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe("Array of avatar objects (may be null if none).").nullable().optional(),
|
|
24
24
|
total_avatars: zod.z.number().int().describe("Total number of avatars matching the query.").nullable()
|
|
25
|
-
}).describe("Response model containing total count and list of avatars.");
|
|
25
|
+
}).passthrough().describe("Response model containing total count and list of avatars.");
|
|
26
26
|
const ganAiListPhotoAvatars = require_action.action("GAN_AI_LIST_PHOTO_AVATARS", {
|
|
27
27
|
slug: "gan_ai-list-photo-avatars",
|
|
28
28
|
name: "List Photo Avatars",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-photo-avatars.cjs","names":["z","action"],"sources":["../../src/actions/list-photo-avatars.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListPhotoAvatarsInput = z.object({\n skip: z.number().int().default(0).describe(\"Number of records to skip for pagination (offset). Default is 0.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of records to return. Default is 10.\").optional(),\n title: z.string().describe(\"Filter by avatar title (exact match).\").optional(),\n status: z.array(z.string()).describe(\"Filter by one or more statuses; common values include: consent_pending, processing, consent_failed, failed, published, deleted, draft.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end timestamp for filtering (inclusive).\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start timestamp for filtering (inclusive).\").optional(),\n}).describe(\"Request model for listing avatars with optional filters and pagination.\");\nconst GanAiListPhotoAvatars_AvatarWebhookSchema = z.object({\n webhook_url: z.string().describe(\"Webhook URL registered for the avatar\").nullable(),\n});\nconst GanAiListPhotoAvatars_AvatarListItemSchema = z.object({\n title: z.string().describe(\"User-defined title of the avatar.\").nullable().optional(),\n status: z.string().describe(\"Current status of the avatar.\").nullable().optional(),\n avatar_id: z.string().describe(\"Unique UUID of the avatar.\").nullable(),\n thumbnail: z.string().describe(\"URL for the avatar thumbnail.\").nullable().optional(),\n base_video: z.string().describe(\"URL for the avatar base video.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the avatar was created.\").nullable().optional(),\n avatar_webhook: GanAiListPhotoAvatars_AvatarWebhookSchema.nullable().optional(),\n}).describe(\"Representation of a single avatar record.\");\nexport const GanAiListPhotoAvatarsOutput = z.object({\n avatars_list: z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe(\"Array of avatar objects (may be null if none).\").nullable().optional(),\n total_avatars: z.number().int().describe(\"Total number of avatars matching the query.\").nullable(),\n}).describe(\"Response model containing total count and list of avatars.\");\n\nexport const ganAiListPhotoAvatars = action(\"GAN_AI_LIST_PHOTO_AVATARS\", {\n slug: \"gan_ai-list-photo-avatars\",\n name: \"List Photo Avatars\",\n description: \"Tool to list avatars. Use when you need a paginated collection of avatars with filters. Example: \\\"List the first 10 published avatars created after 2023-01-01\\\".\",\n input: GanAiListPhotoAvatarsInput,\n output: GanAiListPhotoAvatarsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACxL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,4CAA4CA,IAAAA,EAAE,OAAO,EACzD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EACrF,CAAC;
|
|
1
|
+
{"version":3,"file":"list-photo-avatars.cjs","names":["z","action"],"sources":["../../src/actions/list-photo-avatars.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListPhotoAvatarsInput = z.object({\n skip: z.number().int().default(0).describe(\"Number of records to skip for pagination (offset). Default is 0.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of records to return. Default is 10.\").optional(),\n title: z.string().describe(\"Filter by avatar title (exact match).\").optional(),\n status: z.array(z.string()).describe(\"Filter by one or more statuses; common values include: consent_pending, processing, consent_failed, failed, published, deleted, draft.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end timestamp for filtering (inclusive).\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start timestamp for filtering (inclusive).\").optional(),\n}).describe(\"Request model for listing avatars with optional filters and pagination.\");\nconst GanAiListPhotoAvatars_AvatarWebhookSchema = z.object({\n webhook_url: z.string().describe(\"Webhook URL registered for the avatar\").nullable(),\n}).passthrough();\nconst GanAiListPhotoAvatars_AvatarListItemSchema = z.object({\n title: z.string().describe(\"User-defined title of the avatar.\").nullable().optional(),\n status: z.string().describe(\"Current status of the avatar.\").nullable().optional(),\n avatar_id: z.string().describe(\"Unique UUID of the avatar.\").nullable(),\n thumbnail: z.string().describe(\"URL for the avatar thumbnail.\").nullable().optional(),\n base_video: z.string().describe(\"URL for the avatar base video.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the avatar was created.\").nullable().optional(),\n avatar_webhook: GanAiListPhotoAvatars_AvatarWebhookSchema.nullable().optional(),\n}).passthrough().describe(\"Representation of a single avatar record.\");\nexport const GanAiListPhotoAvatarsOutput = z.object({\n avatars_list: z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe(\"Array of avatar objects (may be null if none).\").nullable().optional(),\n total_avatars: z.number().int().describe(\"Total number of avatars matching the query.\").nullable(),\n}).passthrough().describe(\"Response model containing total count and list of avatars.\");\n\nexport const ganAiListPhotoAvatars = action(\"GAN_AI_LIST_PHOTO_AVATARS\", {\n slug: \"gan_ai-list-photo-avatars\",\n name: \"List Photo Avatars\",\n description: \"Tool to list avatars. Use when you need a paginated collection of avatars with filters. Example: \\\"List the first 10 published avatars created after 2023-01-01\\\".\",\n input: GanAiListPhotoAvatarsInput,\n output: GanAiListPhotoAvatarsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACxL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,4CAA4CA,IAAAA,EAAE,OAAO,EACzD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgB,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,cAAcA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -19,10 +19,10 @@ declare const GanAiListPhotoAvatarsOutput: z.ZodObject<{
|
|
|
19
19
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
avatar_webhook: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
21
21
|
webhook_url: z.ZodNullable<z.ZodString>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
24
|
total_avatars: z.ZodNullable<z.ZodNumber>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const ganAiListPhotoAvatars: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
skip?: number | undefined;
|
|
28
28
|
limit?: number | undefined;
|
|
@@ -30,7 +30,19 @@ declare const ganAiListPhotoAvatars: import("@keystrokehq/action").WorkflowActio
|
|
|
30
30
|
status?: string[] | undefined;
|
|
31
31
|
end_datetime?: string | undefined;
|
|
32
32
|
start_datetime?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
|
|
34
|
+
connectionId: z.ZodString;
|
|
35
|
+
entityId: z.ZodString;
|
|
36
|
+
instanceId: z.ZodString;
|
|
37
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
+
bearer_token: z.ZodString;
|
|
39
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
|
|
40
|
+
connectionId: z.ZodString;
|
|
41
|
+
entityId: z.ZodString;
|
|
42
|
+
instanceId: z.ZodString;
|
|
43
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
+
bearer_token: z.ZodString;
|
|
45
|
+
}, z.core.$strip>>]>;
|
|
34
46
|
//#endregion
|
|
35
47
|
export { ganAiListPhotoAvatars };
|
|
36
48
|
//# sourceMappingURL=list-photo-avatars.d.cts.map
|
|
@@ -19,10 +19,10 @@ declare const GanAiListPhotoAvatarsOutput: z.ZodObject<{
|
|
|
19
19
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
avatar_webhook: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
21
21
|
webhook_url: z.ZodNullable<z.ZodString>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
24
|
total_avatars: z.ZodNullable<z.ZodNumber>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const ganAiListPhotoAvatars: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
skip?: number | undefined;
|
|
28
28
|
limit?: number | undefined;
|
|
@@ -30,7 +30,19 @@ declare const ganAiListPhotoAvatars: import("@keystrokehq/action").WorkflowActio
|
|
|
30
30
|
status?: string[] | undefined;
|
|
31
31
|
end_datetime?: string | undefined;
|
|
32
32
|
start_datetime?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
|
|
34
|
+
connectionId: z.ZodString;
|
|
35
|
+
entityId: z.ZodString;
|
|
36
|
+
instanceId: z.ZodString;
|
|
37
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
+
bearer_token: z.ZodString;
|
|
39
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
|
|
40
|
+
connectionId: z.ZodString;
|
|
41
|
+
entityId: z.ZodString;
|
|
42
|
+
instanceId: z.ZodString;
|
|
43
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
+
bearer_token: z.ZodString;
|
|
45
|
+
}, z.core.$strip>>]>;
|
|
34
46
|
//#endregion
|
|
35
47
|
export { ganAiListPhotoAvatars };
|
|
36
48
|
//# sourceMappingURL=list-photo-avatars.d.mts.map
|
|
@@ -9,7 +9,7 @@ const GanAiListPhotoAvatarsInput = z.object({
|
|
|
9
9
|
end_datetime: z.string().describe("ISO 8601 end timestamp for filtering (inclusive).").optional(),
|
|
10
10
|
start_datetime: z.string().describe("ISO 8601 start timestamp for filtering (inclusive).").optional()
|
|
11
11
|
}).describe("Request model for listing avatars with optional filters and pagination.");
|
|
12
|
-
const GanAiListPhotoAvatars_AvatarWebhookSchema = z.object({ webhook_url: z.string().describe("Webhook URL registered for the avatar").nullable() });
|
|
12
|
+
const GanAiListPhotoAvatars_AvatarWebhookSchema = z.object({ webhook_url: z.string().describe("Webhook URL registered for the avatar").nullable() }).passthrough();
|
|
13
13
|
const GanAiListPhotoAvatars_AvatarListItemSchema = z.object({
|
|
14
14
|
title: z.string().describe("User-defined title of the avatar.").nullable().optional(),
|
|
15
15
|
status: z.string().describe("Current status of the avatar.").nullable().optional(),
|
|
@@ -18,7 +18,7 @@ const GanAiListPhotoAvatars_AvatarListItemSchema = z.object({
|
|
|
18
18
|
base_video: z.string().describe("URL for the avatar base video.").nullable().optional(),
|
|
19
19
|
created_at: z.string().describe("ISO 8601 timestamp when the avatar was created.").nullable().optional(),
|
|
20
20
|
avatar_webhook: GanAiListPhotoAvatars_AvatarWebhookSchema.nullable().optional()
|
|
21
|
-
}).describe("Representation of a single avatar record.");
|
|
21
|
+
}).passthrough().describe("Representation of a single avatar record.");
|
|
22
22
|
const ganAiListPhotoAvatars = action("GAN_AI_LIST_PHOTO_AVATARS", {
|
|
23
23
|
slug: "gan_ai-list-photo-avatars",
|
|
24
24
|
name: "List Photo Avatars",
|
|
@@ -27,7 +27,7 @@ const ganAiListPhotoAvatars = action("GAN_AI_LIST_PHOTO_AVATARS", {
|
|
|
27
27
|
output: z.object({
|
|
28
28
|
avatars_list: z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe("Array of avatar objects (may be null if none).").nullable().optional(),
|
|
29
29
|
total_avatars: z.number().int().describe("Total number of avatars matching the query.").nullable()
|
|
30
|
-
}).describe("Response model containing total count and list of avatars.")
|
|
30
|
+
}).passthrough().describe("Response model containing total count and list of avatars.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { ganAiListPhotoAvatars };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-photo-avatars.mjs","names":[],"sources":["../../src/actions/list-photo-avatars.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListPhotoAvatarsInput = z.object({\n skip: z.number().int().default(0).describe(\"Number of records to skip for pagination (offset). Default is 0.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of records to return. Default is 10.\").optional(),\n title: z.string().describe(\"Filter by avatar title (exact match).\").optional(),\n status: z.array(z.string()).describe(\"Filter by one or more statuses; common values include: consent_pending, processing, consent_failed, failed, published, deleted, draft.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end timestamp for filtering (inclusive).\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start timestamp for filtering (inclusive).\").optional(),\n}).describe(\"Request model for listing avatars with optional filters and pagination.\");\nconst GanAiListPhotoAvatars_AvatarWebhookSchema = z.object({\n webhook_url: z.string().describe(\"Webhook URL registered for the avatar\").nullable(),\n});\nconst GanAiListPhotoAvatars_AvatarListItemSchema = z.object({\n title: z.string().describe(\"User-defined title of the avatar.\").nullable().optional(),\n status: z.string().describe(\"Current status of the avatar.\").nullable().optional(),\n avatar_id: z.string().describe(\"Unique UUID of the avatar.\").nullable(),\n thumbnail: z.string().describe(\"URL for the avatar thumbnail.\").nullable().optional(),\n base_video: z.string().describe(\"URL for the avatar base video.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the avatar was created.\").nullable().optional(),\n avatar_webhook: GanAiListPhotoAvatars_AvatarWebhookSchema.nullable().optional(),\n}).describe(\"Representation of a single avatar record.\");\nexport const GanAiListPhotoAvatarsOutput = z.object({\n avatars_list: z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe(\"Array of avatar objects (may be null if none).\").nullable().optional(),\n total_avatars: z.number().int().describe(\"Total number of avatars matching the query.\").nullable(),\n}).describe(\"Response model containing total count and list of avatars.\");\n\nexport const ganAiListPhotoAvatars = action(\"GAN_AI_LIST_PHOTO_AVATARS\", {\n slug: \"gan_ai-list-photo-avatars\",\n name: \"List Photo Avatars\",\n description: \"Tool to list avatars. Use when you need a paginated collection of avatars with filters. Example: \\\"List the first 10 published avatars created after 2023-01-01\\\".\",\n input: GanAiListPhotoAvatarsInput,\n output: GanAiListPhotoAvatarsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACxL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,4CAA4C,EAAE,OAAO,EACzD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EACrF,CAAC;
|
|
1
|
+
{"version":3,"file":"list-photo-avatars.mjs","names":[],"sources":["../../src/actions/list-photo-avatars.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListPhotoAvatarsInput = z.object({\n skip: z.number().int().default(0).describe(\"Number of records to skip for pagination (offset). Default is 0.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of records to return. Default is 10.\").optional(),\n title: z.string().describe(\"Filter by avatar title (exact match).\").optional(),\n status: z.array(z.string()).describe(\"Filter by one or more statuses; common values include: consent_pending, processing, consent_failed, failed, published, deleted, draft.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end timestamp for filtering (inclusive).\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start timestamp for filtering (inclusive).\").optional(),\n}).describe(\"Request model for listing avatars with optional filters and pagination.\");\nconst GanAiListPhotoAvatars_AvatarWebhookSchema = z.object({\n webhook_url: z.string().describe(\"Webhook URL registered for the avatar\").nullable(),\n}).passthrough();\nconst GanAiListPhotoAvatars_AvatarListItemSchema = z.object({\n title: z.string().describe(\"User-defined title of the avatar.\").nullable().optional(),\n status: z.string().describe(\"Current status of the avatar.\").nullable().optional(),\n avatar_id: z.string().describe(\"Unique UUID of the avatar.\").nullable(),\n thumbnail: z.string().describe(\"URL for the avatar thumbnail.\").nullable().optional(),\n base_video: z.string().describe(\"URL for the avatar base video.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the avatar was created.\").nullable().optional(),\n avatar_webhook: GanAiListPhotoAvatars_AvatarWebhookSchema.nullable().optional(),\n}).passthrough().describe(\"Representation of a single avatar record.\");\nexport const GanAiListPhotoAvatarsOutput = z.object({\n avatars_list: z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe(\"Array of avatar objects (may be null if none).\").nullable().optional(),\n total_avatars: z.number().int().describe(\"Total number of avatars matching the query.\").nullable(),\n}).passthrough().describe(\"Response model containing total count and list of avatars.\");\n\nexport const ganAiListPhotoAvatars = action(\"GAN_AI_LIST_PHOTO_AVATARS\", {\n slug: \"gan_ai-list-photo-avatars\",\n name: \"List Photo Avatars\",\n description: \"Tool to list avatars. Use when you need a paginated collection of avatars with filters. Example: \\\"List the first 10 published avatars created after 2023-01-01\\\".\",\n input: GanAiListPhotoAvatarsInput,\n output: GanAiListPhotoAvatarsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACxL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,4CAA4C,EAAE,OAAO,EACzD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,6CAA6C,EAAE,OAAO;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgB,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAMrE,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyC,EAAE,OAAO;EAClD,cAAc,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
|
package/dist/actions/login.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const GanAiLoginInput = zod.z.object({
|
|
|
8
8
|
const GanAiLoginOutput = zod.z.object({
|
|
9
9
|
access_token: zod.z.string().describe("JWT access token.").nullable(),
|
|
10
10
|
refresh_token: zod.z.string().describe("JWT refresh token.").nullable()
|
|
11
|
-
}).describe("Response model containing JWT tokens from login.");
|
|
11
|
+
}).passthrough().describe("Response model containing JWT tokens from login.");
|
|
12
12
|
const ganAiLogin = require_action.action("GAN_AI_LOGIN", {
|
|
13
13
|
slug: "gan_ai-login",
|
|
14
14
|
name: "Login",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.cjs","names":["z","action"],"sources":["../../src/actions/login.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiLoginInput = z.object({\n email: z.string().describe(\"User's email address.\"),\n password: z.string().describe(\"User's password.\"),\n}).describe(\"Request model for user login.\");\nexport const GanAiLoginOutput = z.object({\n access_token: z.string().describe(\"JWT access token.\").nullable(),\n refresh_token: z.string().describe(\"JWT refresh token.\").nullable(),\n}).describe(\"Response model containing JWT tokens from login.\");\n\nexport const ganAiLogin = action(\"GAN_AI_LOGIN\", {\n slug: \"gan_ai-login\",\n name: \"Login\",\n description: \"Tool to authenticate a user and retrieve access and refresh tokens. Use when you need to login before calling other GAN.AI API actions.\",\n input: GanAiLoginInput,\n output: GanAiLoginOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kBAAkBA,IAAAA,EAAE,OAAO;CACtC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AAClD,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAa,mBAAmBA,IAAAA,EAAE,OAAO;CACvC,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAChE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,SAAS,kDAAkD;
|
|
1
|
+
{"version":3,"file":"login.cjs","names":["z","action"],"sources":["../../src/actions/login.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiLoginInput = z.object({\n email: z.string().describe(\"User's email address.\"),\n password: z.string().describe(\"User's password.\"),\n}).describe(\"Request model for user login.\");\nexport const GanAiLoginOutput = z.object({\n access_token: z.string().describe(\"JWT access token.\").nullable(),\n refresh_token: z.string().describe(\"JWT refresh token.\").nullable(),\n}).passthrough().describe(\"Response model containing JWT tokens from login.\");\n\nexport const ganAiLogin = action(\"GAN_AI_LOGIN\", {\n slug: \"gan_ai-login\",\n name: \"Login\",\n description: \"Tool to authenticate a user and retrieve access and refresh tokens. Use when you need to login before calling other GAN.AI API actions.\",\n input: GanAiLoginInput,\n output: GanAiLoginOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kBAAkBA,IAAAA,EAAE,OAAO;CACtC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AAClD,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAa,mBAAmBA,IAAAA,EAAE,OAAO;CACvC,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAChE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,aAAaC,eAAAA,OAAO,gBAAgB;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
package/dist/actions/login.d.cts
CHANGED
|
@@ -8,11 +8,23 @@ declare const GanAiLoginInput: z.ZodObject<{
|
|
|
8
8
|
declare const GanAiLoginOutput: z.ZodObject<{
|
|
9
9
|
access_token: z.ZodNullable<z.ZodString>;
|
|
10
10
|
refresh_token: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const ganAiLogin: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
email: string;
|
|
14
14
|
password: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
|
|
16
|
+
connectionId: z.ZodString;
|
|
17
|
+
entityId: z.ZodString;
|
|
18
|
+
instanceId: z.ZodString;
|
|
19
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
+
bearer_token: z.ZodString;
|
|
21
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
|
|
22
|
+
connectionId: z.ZodString;
|
|
23
|
+
entityId: z.ZodString;
|
|
24
|
+
instanceId: z.ZodString;
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
+
bearer_token: z.ZodString;
|
|
27
|
+
}, z.core.$strip>>]>;
|
|
16
28
|
//#endregion
|
|
17
29
|
export { ganAiLogin };
|
|
18
30
|
//# sourceMappingURL=login.d.cts.map
|
package/dist/actions/login.d.mts
CHANGED
|
@@ -8,11 +8,23 @@ declare const GanAiLoginInput: z.ZodObject<{
|
|
|
8
8
|
declare const GanAiLoginOutput: z.ZodObject<{
|
|
9
9
|
access_token: z.ZodNullable<z.ZodString>;
|
|
10
10
|
refresh_token: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const ganAiLogin: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
email: string;
|
|
14
14
|
password: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
|
|
16
|
+
connectionId: z.ZodString;
|
|
17
|
+
entityId: z.ZodString;
|
|
18
|
+
instanceId: z.ZodString;
|
|
19
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
+
bearer_token: z.ZodString;
|
|
21
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
|
|
22
|
+
connectionId: z.ZodString;
|
|
23
|
+
entityId: z.ZodString;
|
|
24
|
+
instanceId: z.ZodString;
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
+
bearer_token: z.ZodString;
|
|
27
|
+
}, z.core.$strip>>]>;
|
|
16
28
|
//#endregion
|
|
17
29
|
export { ganAiLogin };
|
|
18
30
|
//# sourceMappingURL=login.d.mts.map
|
package/dist/actions/login.mjs
CHANGED
|
@@ -11,7 +11,7 @@ const ganAiLogin = action("GAN_AI_LOGIN", {
|
|
|
11
11
|
output: z.object({
|
|
12
12
|
access_token: z.string().describe("JWT access token.").nullable(),
|
|
13
13
|
refresh_token: z.string().describe("JWT refresh token.").nullable()
|
|
14
|
-
}).describe("Response model containing JWT tokens from login.")
|
|
14
|
+
}).passthrough().describe("Response model containing JWT tokens from login.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { ganAiLogin };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.mjs","names":[],"sources":["../../src/actions/login.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiLoginInput = z.object({\n email: z.string().describe(\"User's email address.\"),\n password: z.string().describe(\"User's password.\"),\n}).describe(\"Request model for user login.\");\nexport const GanAiLoginOutput = z.object({\n access_token: z.string().describe(\"JWT access token.\").nullable(),\n refresh_token: z.string().describe(\"JWT refresh token.\").nullable(),\n}).describe(\"Response model containing JWT tokens from login.\");\n\nexport const ganAiLogin = action(\"GAN_AI_LOGIN\", {\n slug: \"gan_ai-login\",\n name: \"Login\",\n description: \"Tool to authenticate a user and retrieve access and refresh tokens. Use when you need to login before calling other GAN.AI API actions.\",\n input: GanAiLoginInput,\n output: GanAiLoginOutput,\n});\n"],"mappings":";;AAaA,MAAa,aAAa,OAAO,gBAAgB;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6B,EAAE,OAAO;EACtC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAClD,CAAC,CAAC,CAAC,SAAS,+BAUH;CACP,QAV8B,EAAE,OAAO;EACvC,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAChE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACpE,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"login.mjs","names":[],"sources":["../../src/actions/login.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiLoginInput = z.object({\n email: z.string().describe(\"User's email address.\"),\n password: z.string().describe(\"User's password.\"),\n}).describe(\"Request model for user login.\");\nexport const GanAiLoginOutput = z.object({\n access_token: z.string().describe(\"JWT access token.\").nullable(),\n refresh_token: z.string().describe(\"JWT refresh token.\").nullable(),\n}).passthrough().describe(\"Response model containing JWT tokens from login.\");\n\nexport const ganAiLogin = action(\"GAN_AI_LOGIN\", {\n slug: \"gan_ai-login\",\n name: \"Login\",\n description: \"Tool to authenticate a user and retrieve access and refresh tokens. Use when you need to login before calling other GAN.AI API actions.\",\n input: GanAiLoginInput,\n output: GanAiLoginOutput,\n});\n"],"mappings":";;AAaA,MAAa,aAAa,OAAO,gBAAgB;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6B,EAAE,OAAO;EACtC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAClD,CAAC,CAAC,CAAC,SAAS,+BAUH;CACP,QAV8B,EAAE,OAAO;EACvC,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAChE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
package/dist/actions/tts.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const GanAiTtsInput = zod.z.object({
|
|
|
8
8
|
const GanAiTtsOutput = zod.z.object({
|
|
9
9
|
audio: zod.z.string().describe("Binary audio data in WAV format containing the synthesized speech.").nullable(),
|
|
10
10
|
audio_size_bytes: zod.z.number().int().describe("Size of the audio data in bytes.").nullable()
|
|
11
|
-
}).describe("Response model for GAN.AI Text-to-Speech synchronous API.\nReturns the synthesized audio in WAV format.");
|
|
11
|
+
}).passthrough().describe("Response model for GAN.AI Text-to-Speech synchronous API.\nReturns the synthesized audio in WAV format.");
|
|
12
12
|
const ganAiTts = require_action.action("GAN_AI_TTS", {
|
|
13
13
|
slug: "gan_ai-tts",
|
|
14
14
|
name: "GAN AI Text-to-Speech",
|
package/dist/actions/tts.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tts.cjs","names":["z","action"],"sources":["../../src/actions/tts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiTtsInput = z.object({\n text: z.string().describe(\"The text content to convert to speech. Must be between 40 and 500 characters for optimal synthesis quality.\"),\n voice_id: z.string().describe(\"Unique identifier (UUID) of the voice to use for speech synthesis. Obtain valid voice IDs from the GAN.AI Get Voices endpoint or dashboard.\"),\n}).describe(\"Request model for GAN.AI Text-to-Speech synchronous API.\\nConverts text to speech using a specified voice.\");\nexport const GanAiTtsOutput = z.object({\n audio: z.string().describe(\"Binary audio data in WAV format containing the synthesized speech.\").nullable(),\n audio_size_bytes: z.number().int().describe(\"Size of the audio data in bytes.\").nullable(),\n}).describe(\"Response model for GAN.AI Text-to-Speech synchronous API.\\nReturns the synthesized audio in WAV format.\");\n\nexport const ganAiTts = action(\"GAN_AI_TTS\", {\n slug: \"gan_ai-tts\",\n name: \"GAN AI Text-to-Speech\",\n description: \"Convert text to speech using GAN.AI's Text-to-Speech API. This tool synthesizes speech from text using a specified voice. The voice_id must be obtained from the GAN.AI Get Voices endpoint or from your GAN.AI dashboard. Returns audio in WAV format.\",\n input: GanAiTtsInput,\n output: GanAiTtsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gBAAgBA,IAAAA,EAAE,OAAO;CACpC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACvI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;AAC7K,CAAC,CAAC,CAAC,SAAS,4GAA4G;AACxH,MAAa,iBAAiBA,IAAAA,EAAE,OAAO;CACrC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,yGAAyG;
|
|
1
|
+
{"version":3,"file":"tts.cjs","names":["z","action"],"sources":["../../src/actions/tts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiTtsInput = z.object({\n text: z.string().describe(\"The text content to convert to speech. Must be between 40 and 500 characters for optimal synthesis quality.\"),\n voice_id: z.string().describe(\"Unique identifier (UUID) of the voice to use for speech synthesis. Obtain valid voice IDs from the GAN.AI Get Voices endpoint or dashboard.\"),\n}).describe(\"Request model for GAN.AI Text-to-Speech synchronous API.\\nConverts text to speech using a specified voice.\");\nexport const GanAiTtsOutput = z.object({\n audio: z.string().describe(\"Binary audio data in WAV format containing the synthesized speech.\").nullable(),\n audio_size_bytes: z.number().int().describe(\"Size of the audio data in bytes.\").nullable(),\n}).passthrough().describe(\"Response model for GAN.AI Text-to-Speech synchronous API.\\nReturns the synthesized audio in WAV format.\");\n\nexport const ganAiTts = action(\"GAN_AI_TTS\", {\n slug: \"gan_ai-tts\",\n name: \"GAN AI Text-to-Speech\",\n description: \"Convert text to speech using GAN.AI's Text-to-Speech API. This tool synthesizes speech from text using a specified voice. The voice_id must be obtained from the GAN.AI Get Voices endpoint or from your GAN.AI dashboard. Returns audio in WAV format.\",\n input: GanAiTtsInput,\n output: GanAiTtsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gBAAgBA,IAAAA,EAAE,OAAO;CACpC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACvI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;AAC7K,CAAC,CAAC,CAAC,SAAS,4GAA4G;AACxH,MAAa,iBAAiBA,IAAAA,EAAE,OAAO;CACrC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yGAAyG;AAEnI,MAAa,WAAWC,eAAAA,OAAO,cAAc;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
package/dist/actions/tts.d.cts
CHANGED
|
@@ -8,11 +8,23 @@ declare const GanAiTtsInput: z.ZodObject<{
|
|
|
8
8
|
declare const GanAiTtsOutput: z.ZodObject<{
|
|
9
9
|
audio: z.ZodNullable<z.ZodString>;
|
|
10
10
|
audio_size_bytes: z.ZodNullable<z.ZodNumber>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const ganAiTts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
text: string;
|
|
14
14
|
voice_id: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
|
|
16
|
+
connectionId: z.ZodString;
|
|
17
|
+
entityId: z.ZodString;
|
|
18
|
+
instanceId: z.ZodString;
|
|
19
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
+
bearer_token: z.ZodString;
|
|
21
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
|
|
22
|
+
connectionId: z.ZodString;
|
|
23
|
+
entityId: z.ZodString;
|
|
24
|
+
instanceId: z.ZodString;
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
+
bearer_token: z.ZodString;
|
|
27
|
+
}, z.core.$strip>>]>;
|
|
16
28
|
//#endregion
|
|
17
29
|
export { ganAiTts };
|
|
18
30
|
//# sourceMappingURL=tts.d.cts.map
|
package/dist/actions/tts.d.mts
CHANGED
|
@@ -8,11 +8,23 @@ declare const GanAiTtsInput: z.ZodObject<{
|
|
|
8
8
|
declare const GanAiTtsOutput: z.ZodObject<{
|
|
9
9
|
audio: z.ZodNullable<z.ZodString>;
|
|
10
10
|
audio_size_bytes: z.ZodNullable<z.ZodNumber>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const ganAiTts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
text: string;
|
|
14
14
|
voice_id: string;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
15
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
|
|
16
|
+
connectionId: z.ZodString;
|
|
17
|
+
entityId: z.ZodString;
|
|
18
|
+
instanceId: z.ZodString;
|
|
19
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
+
bearer_token: z.ZodString;
|
|
21
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
|
|
22
|
+
connectionId: z.ZodString;
|
|
23
|
+
entityId: z.ZodString;
|
|
24
|
+
instanceId: z.ZodString;
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
+
bearer_token: z.ZodString;
|
|
27
|
+
}, z.core.$strip>>]>;
|
|
16
28
|
//#endregion
|
|
17
29
|
export { ganAiTts };
|
|
18
30
|
//# sourceMappingURL=tts.d.mts.map
|
package/dist/actions/tts.mjs
CHANGED
|
@@ -11,7 +11,7 @@ const ganAiTts = action("GAN_AI_TTS", {
|
|
|
11
11
|
output: z.object({
|
|
12
12
|
audio: z.string().describe("Binary audio data in WAV format containing the synthesized speech.").nullable(),
|
|
13
13
|
audio_size_bytes: z.number().int().describe("Size of the audio data in bytes.").nullable()
|
|
14
|
-
}).describe("Response model for GAN.AI Text-to-Speech synchronous API.\nReturns the synthesized audio in WAV format.")
|
|
14
|
+
}).passthrough().describe("Response model for GAN.AI Text-to-Speech synchronous API.\nReturns the synthesized audio in WAV format.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { ganAiTts };
|
package/dist/actions/tts.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tts.mjs","names":[],"sources":["../../src/actions/tts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiTtsInput = z.object({\n text: z.string().describe(\"The text content to convert to speech. Must be between 40 and 500 characters for optimal synthesis quality.\"),\n voice_id: z.string().describe(\"Unique identifier (UUID) of the voice to use for speech synthesis. Obtain valid voice IDs from the GAN.AI Get Voices endpoint or dashboard.\"),\n}).describe(\"Request model for GAN.AI Text-to-Speech synchronous API.\\nConverts text to speech using a specified voice.\");\nexport const GanAiTtsOutput = z.object({\n audio: z.string().describe(\"Binary audio data in WAV format containing the synthesized speech.\").nullable(),\n audio_size_bytes: z.number().int().describe(\"Size of the audio data in bytes.\").nullable(),\n}).describe(\"Response model for GAN.AI Text-to-Speech synchronous API.\\nReturns the synthesized audio in WAV format.\");\n\nexport const ganAiTts = action(\"GAN_AI_TTS\", {\n slug: \"gan_ai-tts\",\n name: \"GAN AI Text-to-Speech\",\n description: \"Convert text to speech using GAN.AI's Text-to-Speech API. This tool synthesizes speech from text using a specified voice. The voice_id must be obtained from the GAN.AI Get Voices endpoint or from your GAN.AI dashboard. Returns audio in WAV format.\",\n input: GanAiTtsInput,\n output: GanAiTtsOutput,\n});\n"],"mappings":";;AAaA,MAAa,WAAW,OAAO,cAAc;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb2B,EAAE,OAAO;EACpC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;EACvI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;CAC7K,CAAC,CAAC,CAAC,SAAS,4GAUH;CACP,QAV4B,EAAE,OAAO;EACrC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC1G,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"tts.mjs","names":[],"sources":["../../src/actions/tts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiTtsInput = z.object({\n text: z.string().describe(\"The text content to convert to speech. Must be between 40 and 500 characters for optimal synthesis quality.\"),\n voice_id: z.string().describe(\"Unique identifier (UUID) of the voice to use for speech synthesis. Obtain valid voice IDs from the GAN.AI Get Voices endpoint or dashboard.\"),\n}).describe(\"Request model for GAN.AI Text-to-Speech synchronous API.\\nConverts text to speech using a specified voice.\");\nexport const GanAiTtsOutput = z.object({\n audio: z.string().describe(\"Binary audio data in WAV format containing the synthesized speech.\").nullable(),\n audio_size_bytes: z.number().int().describe(\"Size of the audio data in bytes.\").nullable(),\n}).passthrough().describe(\"Response model for GAN.AI Text-to-Speech synchronous API.\\nReturns the synthesized audio in WAV format.\");\n\nexport const ganAiTts = action(\"GAN_AI_TTS\", {\n slug: \"gan_ai-tts\",\n name: \"GAN AI Text-to-Speech\",\n description: \"Convert text to speech using GAN.AI's Text-to-Speech API. This tool synthesizes speech from text using a specified voice. The voice_id must be obtained from the GAN.AI Get Voices endpoint or from your GAN.AI dashboard. Returns audio in WAV format.\",\n input: GanAiTtsInput,\n output: GanAiTtsOutput,\n});\n"],"mappings":";;AAaA,MAAa,WAAW,OAAO,cAAc;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb2B,EAAE,OAAO;EACpC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;EACvI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;CAC7K,CAAC,CAAC,CAAC,SAAS,4GAUH;CACP,QAV4B,EAAE,OAAO;EACrC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC1G,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yGAOhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
+
let zod = require("zod");
|
|
1
3
|
//#region src/app.ts
|
|
2
|
-
const ganAi = (0,
|
|
4
|
+
const ganAi = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "gan_ai",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential: { bearer_token: zod.z.string() }
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.ganAi = ganAi;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const ganAi = defineApp({\n slug: \"gan_ai\",\n auth: \"keystroke\",\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const ganAi = defineApp({\n slug: \"gan_ai\",\n auth: \"keystroke\",\n credential: {\n bearer_token: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,SAAA,GAAA,2BAAA,UAAA,CAAkB;CAC7B,MAAM;CACN,MAAM;CACN,YAAY,EACV,cAAcA,IAAAA,EAAE,OAAO,EACzB;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
1
3
|
//#region src/app.d.ts
|
|
2
|
-
declare const ganAi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential
|
|
4
|
+
declare const ganAi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
|
|
5
|
+
connectionId: z.ZodString;
|
|
6
|
+
entityId: z.ZodString;
|
|
7
|
+
instanceId: z.ZodString;
|
|
8
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9
|
+
bearer_token: z.ZodString;
|
|
10
|
+
}, z.core.$strip>>>;
|
|
3
11
|
//#endregion
|
|
4
12
|
export { ganAi };
|
|
5
13
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,KAAA,6BAAK,GAAA,+BAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
1
3
|
//#region src/app.d.ts
|
|
2
|
-
declare const ganAi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential
|
|
4
|
+
declare const ganAi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"gan_ai", z.ZodObject<{
|
|
5
|
+
connectionId: z.ZodString;
|
|
6
|
+
entityId: z.ZodString;
|
|
7
|
+
instanceId: z.ZodString;
|
|
8
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9
|
+
bearer_token: z.ZodString;
|
|
10
|
+
}, z.core.$strip>>>;
|
|
3
11
|
//#endregion
|
|
4
12
|
export { ganAi };
|
|
5
13
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,KAAA,6BAAK,GAAA,+BAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
2
3
|
//#region src/app.ts
|
|
3
4
|
const ganAi = defineApp({
|
|
4
5
|
slug: "gan_ai",
|
|
5
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential: { bearer_token: z.string() }
|
|
6
8
|
});
|
|
7
9
|
//#endregion
|
|
8
10
|
export { ganAi };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const ganAi = defineApp({\n slug: \"gan_ai\",\n auth: \"keystroke\",\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const ganAi = defineApp({\n slug: \"gan_ai\",\n auth: \"keystroke\",\n credential: {\n bearer_token: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,QAAQ,UAAU;CAC7B,MAAM;CACN,MAAM;CACN,YAAY,EACV,cAAc,EAAE,OAAO,EACzB;AACF,CAAC"}
|
package/dist/execute.cjs
CHANGED
|
@@ -2,7 +2,7 @@ let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
|
2
2
|
//#region src/execute.ts
|
|
3
3
|
const APP_SLUG = "gan_ai";
|
|
4
4
|
/** Pinned app version — updated on regeneration. */
|
|
5
|
-
const APP_VERSION = "
|
|
5
|
+
const APP_VERSION = "20260707_00";
|
|
6
6
|
async function executeGanAiTool(tool, args) {
|
|
7
7
|
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
8
|
app: APP_SLUG,
|
package/dist/execute.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"gan_ai\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"gan_ai\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260707_00\";\n\nexport async function executeGanAiTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,iBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
|
2
2
|
//#region src/execute.ts
|
|
3
3
|
const APP_SLUG = "gan_ai";
|
|
4
4
|
/** Pinned app version — updated on regeneration. */
|
|
5
|
-
const APP_VERSION = "
|
|
5
|
+
const APP_VERSION = "20260707_00";
|
|
6
6
|
async function executeGanAiTool(tool, args) {
|
|
7
7
|
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
8
|
app: APP_SLUG,
|
package/dist/execute.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"gan_ai\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"gan_ai\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260707_00\";\n\nexport async function executeGanAiTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,iBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|