@keystrokehq/gan_ai 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-avatar-video-inference-details.cjs +1 -0
- package/dist/actions/get-avatar-video-inference-details.cjs.map +1 -1
- package/dist/actions/get-avatar-video-inference-details.d.cts +5 -17
- package/dist/actions/get-avatar-video-inference-details.d.cts.map +1 -1
- package/dist/actions/get-avatar-video-inference-details.d.mts +5 -17
- package/dist/actions/get-avatar-video-inference-details.d.mts.map +1 -1
- package/dist/actions/get-avatar-video-inference-details.mjs +1 -0
- package/dist/actions/get-avatar-video-inference-details.mjs.map +1 -1
- package/dist/actions/get-photo-avatar-details.cjs +1 -0
- package/dist/actions/get-photo-avatar-details.cjs.map +1 -1
- package/dist/actions/get-photo-avatar-details.d.cts +5 -17
- package/dist/actions/get-photo-avatar-details.d.cts.map +1 -1
- package/dist/actions/get-photo-avatar-details.d.mts +5 -17
- package/dist/actions/get-photo-avatar-details.d.mts.map +1 -1
- package/dist/actions/get-photo-avatar-details.mjs +1 -0
- package/dist/actions/get-photo-avatar-details.mjs.map +1 -1
- package/dist/actions/get-photo-avatar-inference-details.cjs +1 -0
- package/dist/actions/get-photo-avatar-inference-details.cjs.map +1 -1
- package/dist/actions/get-photo-avatar-inference-details.d.cts +5 -18
- package/dist/actions/get-photo-avatar-inference-details.d.cts.map +1 -1
- package/dist/actions/get-photo-avatar-inference-details.d.mts +5 -18
- package/dist/actions/get-photo-avatar-inference-details.d.mts.map +1 -1
- package/dist/actions/get-photo-avatar-inference-details.mjs +1 -0
- package/dist/actions/get-photo-avatar-inference-details.mjs.map +1 -1
- package/dist/actions/list-avatar-videos.cjs +1 -0
- package/dist/actions/list-avatar-videos.cjs.map +1 -1
- package/dist/actions/list-avatar-videos.d.cts +7 -26
- package/dist/actions/list-avatar-videos.d.cts.map +1 -1
- package/dist/actions/list-avatar-videos.d.mts +7 -26
- package/dist/actions/list-avatar-videos.d.mts.map +1 -1
- package/dist/actions/list-avatar-videos.mjs +1 -0
- package/dist/actions/list-avatar-videos.mjs.map +1 -1
- package/dist/actions/list-photo-avatar-inferences.cjs +1 -0
- package/dist/actions/list-photo-avatar-inferences.cjs.map +1 -1
- package/dist/actions/list-photo-avatar-inferences.d.cts +7 -25
- package/dist/actions/list-photo-avatar-inferences.d.cts.map +1 -1
- package/dist/actions/list-photo-avatar-inferences.d.mts +7 -25
- package/dist/actions/list-photo-avatar-inferences.d.mts.map +1 -1
- package/dist/actions/list-photo-avatar-inferences.mjs +1 -0
- package/dist/actions/list-photo-avatar-inferences.mjs.map +1 -1
- package/dist/actions/list-photo-avatars.cjs +1 -0
- package/dist/actions/list-photo-avatars.cjs.map +1 -1
- package/dist/actions/list-photo-avatars.d.cts +3 -20
- package/dist/actions/list-photo-avatars.d.cts.map +1 -1
- package/dist/actions/list-photo-avatars.d.mts +3 -20
- package/dist/actions/list-photo-avatars.d.mts.map +1 -1
- package/dist/actions/list-photo-avatars.mjs +1 -0
- package/dist/actions/list-photo-avatars.mjs.map +1 -1
- package/dist/actions/login.cjs +1 -0
- package/dist/actions/login.cjs.map +1 -1
- package/dist/actions/login.d.cts +3 -16
- package/dist/actions/login.d.cts.map +1 -1
- package/dist/actions/login.d.mts +3 -16
- package/dist/actions/login.d.mts.map +1 -1
- package/dist/actions/login.mjs +1 -0
- package/dist/actions/login.mjs.map +1 -1
- package/dist/actions/tts.cjs +1 -0
- package/dist/actions/tts.cjs.map +1 -1
- package/dist/actions/tts.d.cts +3 -16
- package/dist/actions/tts.d.cts.map +1 -1
- package/dist/actions/tts.d.mts +3 -16
- package/dist/actions/tts.d.mts.map +1 -1
- package/dist/actions/tts.mjs +1 -0
- package/dist/actions/tts.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-avatar-videos.mjs","names":[],"sources":["../../src/actions/list-avatar-videos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListAvatarVideosInput = z.object({\n skip: z.number().int().default(0).describe(\"Pagination offset (number of items to skip). Default is 0.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of items to return. Default is 10.\").optional(),\n status: z.array(z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"])).describe(\"Filter by one or more inference statuses.\").optional(),\n avatar_id: z.string().describe(\"UUID of the avatar to filter by.\").optional(),\n avatar_title: z.string().describe(\"Filter by avatar title.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end timestamp for filtering.\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start timestamp for filtering.\").optional(),\n inference_title: z.string().describe(\"Filter by inference/video title.\").optional(),\n}).describe(\"Request parameters for listing avatar video inferences.\");\nconst GanAiListAvatarVideos_AvatarInferenceDetailsSchema = z.object({\n title: z.string().describe(\"Inference/video title.\").nullable().optional(),\n video: z.string().describe(\"URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Status of the inference.\").nullable(),\n avatar_id: z.string().describe(\"UUID of the avatar.\").nullable(),\n thumbnail: z.string().describe(\"URL of the video thumbnail.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used for generation.\").nullable().optional(),\n avatar_title: z.string().describe(\"Title of the avatar.\").nullable().optional(),\n inference_id: z.string().describe(\"UUID of the generated video inference.\").nullable(),\n}).passthrough().describe(\"Details of a single avatar video inference.\");\nexport const GanAiListAvatarVideosOutput = z.object({\n data: z.array(GanAiListAvatarVideos_AvatarInferenceDetailsSchema).describe(\"List of avatar video inference objects.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of matching inferences.\").nullable(),\n}).passthrough().describe(\"Response schema for listing avatar video inferences.\");\n\nexport const ganAiListAvatarVideos = action(\"GAN_AI_LIST_AVATAR_VIDEOS\", {\n slug: \"gan_ai-list-avatar-videos\",\n name: \"List avatar video inferences\",\n description: \"Tool to list avatar video inferences. Use when you need to retrieve generated avatar videos with optional filtering by avatar ID, title, status, or date range.\",\n input: GanAiListAvatarVideosInput,\n output: GanAiListAvatarVideosOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-avatar-videos.mjs","names":[],"sources":["../../src/actions/list-avatar-videos.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiListAvatarVideosInput = z.object({\n skip: z.number().int().default(0).describe(\"Pagination offset (number of items to skip). Default is 0.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of items to return. Default is 10.\").optional(),\n status: z.array(z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"])).describe(\"Filter by one or more inference statuses.\").optional(),\n avatar_id: z.string().describe(\"UUID of the avatar to filter by.\").optional(),\n avatar_title: z.string().describe(\"Filter by avatar title.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end timestamp for filtering.\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start timestamp for filtering.\").optional(),\n inference_title: z.string().describe(\"Filter by inference/video title.\").optional(),\n}).describe(\"Request parameters for listing avatar video inferences.\");\nconst GanAiListAvatarVideos_AvatarInferenceDetailsSchema = z.object({\n title: z.string().describe(\"Inference/video title.\").nullable().optional(),\n video: z.string().describe(\"URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Status of the inference.\").nullable(),\n avatar_id: z.string().describe(\"UUID of the avatar.\").nullable(),\n thumbnail: z.string().describe(\"URL of the video thumbnail.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of creation.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used for generation.\").nullable().optional(),\n avatar_title: z.string().describe(\"Title of the avatar.\").nullable().optional(),\n inference_id: z.string().describe(\"UUID of the generated video inference.\").nullable(),\n}).passthrough().describe(\"Details of a single avatar video inference.\");\nexport const GanAiListAvatarVideosOutput = z.object({\n data: z.array(GanAiListAvatarVideos_AvatarInferenceDetailsSchema).describe(\"List of avatar video inference objects.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of matching inferences.\").nullable(),\n}).passthrough().describe(\"Response schema for listing avatar video inferences.\");\n\nexport const ganAiListAvatarVideos: AppAction<\n typeof GanAiListAvatarVideosInput,\n typeof GanAiListAvatarVideosOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_LIST_AVATAR_VIDEOS\", {\n slug: \"gan_ai-list-avatar-videos\",\n name: \"List avatar video inferences\",\n description: \"Tool to list avatar video inferences. Use when you need to retrieve generated avatar videos with optional filtering by avatar ID, title, status, or date range.\",\n input: GanAiListAvatarVideosInput,\n output: GanAiListAvatarVideosOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAClH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3G,QAAQ,EAAE,MAAM,EAAE,KAAK;EAAC;EAAS;EAAc;EAAU;EAAa;CAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACtE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACxF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,qDAAqD,EAAE,OAAO;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,KAAK;EAAC;EAAS;EAAc;EAAU;EAAa;CAAS,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACxH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAMvE,MAAa,wBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdyC,EAAE,OAAO;EAClD,MAAM,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-photo-avatar-inferences.cjs","names":["z","action"],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListPhotoAvatarInferencesInput = z.object({\n skip: z.number().int().default(0).describe(\"Pagination offset (number of items to skip).\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of items to return.\").optional(),\n title: z.string().describe(\"Filter by inference title.\").optional(),\n status: z.array(z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"])).describe(\"Filter by one or more inference statuses.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end of the creation time window, e.g., '2023-01-07T23:59:59Z'.\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start of the creation time window, e.g., '2023-01-01T00:00:00Z'.\").optional(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar to filter by.\").optional(),\n}).describe(\"Request parameters for listing photo avatar inferences.\");\nconst GanAiListPhotoAvatarInferences_CreditDetailsSchema = z.object({\n gan_cost: z.number().describe(\"Cost in credits for GAN processing.\").nullable(),\n tts_cost: z.number().describe(\"Cost in credits for text-to-speech processing.\").nullable(),\n}).passthrough().describe(\"Details about credit usage for an inference.\");\nconst GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema = z.object({\n title: z.string().describe(\"Inference title, if set.\").nullable().optional(),\n video: z.string().describe(\"CloudFront URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Status of the inference.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the inference was created.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used to generate this inference.\").nullable().optional(),\n credit_details: GanAiListPhotoAvatarInferences_CreditDetailsSchema.nullable(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar.\").nullable(),\n downloadable_video_link: z.string().describe(\"Direct download link for the video.\").nullable().optional(),\n photo_avatar_inference_id: z.string().describe(\"UUID of the inference.\").nullable(),\n}).passthrough().describe(\"Details of a single photo avatar inference.\");\nexport const GanAiListPhotoAvatarInferencesOutput = z.object({\n total: z.number().int().describe(\"Total number of matched inferences.\").nullable(),\n inference_list: z.array(GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema).describe(\"Page of inference detail objects.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing photo avatar inferences.\");\n\nexport const ganAiListPhotoAvatarInferences = action(\"GAN_AI_LIST_PHOTO_AVATAR_INFERENCES\", {\n slug: \"gan_ai-list-photo-avatar-inferences\",\n name: \"List photo avatar inferences\",\n description: \"Tool to list photo avatar inferences. Use when you need to retrieve inference videos with optional filtering by avatar, title, status, or date range.\",\n input: GanAiListPhotoAvatarInferencesInput,\n output: GanAiListPhotoAvatarInferencesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-photo-avatar-inferences.cjs","names":["z","action"],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiListPhotoAvatarInferencesInput = z.object({\n skip: z.number().int().default(0).describe(\"Pagination offset (number of items to skip).\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of items to return.\").optional(),\n title: z.string().describe(\"Filter by inference title.\").optional(),\n status: z.array(z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"])).describe(\"Filter by one or more inference statuses.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end of the creation time window, e.g., '2023-01-07T23:59:59Z'.\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start of the creation time window, e.g., '2023-01-01T00:00:00Z'.\").optional(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar to filter by.\").optional(),\n}).describe(\"Request parameters for listing photo avatar inferences.\");\nconst GanAiListPhotoAvatarInferences_CreditDetailsSchema = z.object({\n gan_cost: z.number().describe(\"Cost in credits for GAN processing.\").nullable(),\n tts_cost: z.number().describe(\"Cost in credits for text-to-speech processing.\").nullable(),\n}).passthrough().describe(\"Details about credit usage for an inference.\");\nconst GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema = z.object({\n title: z.string().describe(\"Inference title, if set.\").nullable().optional(),\n video: z.string().describe(\"CloudFront URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Status of the inference.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the inference was created.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used to generate this inference.\").nullable().optional(),\n credit_details: GanAiListPhotoAvatarInferences_CreditDetailsSchema.nullable(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar.\").nullable(),\n downloadable_video_link: z.string().describe(\"Direct download link for the video.\").nullable().optional(),\n photo_avatar_inference_id: z.string().describe(\"UUID of the inference.\").nullable(),\n}).passthrough().describe(\"Details of a single photo avatar inference.\");\nexport const GanAiListPhotoAvatarInferencesOutput = z.object({\n total: z.number().int().describe(\"Total number of matched inferences.\").nullable(),\n inference_list: z.array(GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema).describe(\"Page of inference detail objects.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing photo avatar inferences.\");\n\nexport const ganAiListPhotoAvatarInferences: AppAction<\n typeof GanAiListPhotoAvatarInferencesInput,\n typeof GanAiListPhotoAvatarInferencesOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_LIST_PHOTO_AVATAR_INFERENCES\", {\n slug: \"gan_ai-list-photo-avatar-inferences\",\n name: \"List photo avatar inferences\",\n description: \"Tool to list photo avatar inferences. Use when you need to retrieve inference videos with optional filtering by avatar, title, status, or date range.\",\n input: GanAiListPhotoAvatarInferencesInput,\n output: GanAiListPhotoAvatarInferencesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAc;EAAU;EAAa;CAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC1H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,mEAAmEA,IAAAA,EAAE,OAAO;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAc;EAAU;EAAa;CAAS,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,gBAAgB,mDAAmD,SAAS;CAC5E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC3E,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,gBAAgBA,IAAAA,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,iCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ganAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-photo-avatar-inferences.d.ts
|
|
@@ -7,10 +9,10 @@ declare const GanAiListPhotoAvatarInferencesInput: z.ZodObject<{
|
|
|
7
9
|
title: z.ZodOptional<z.ZodString>;
|
|
8
10
|
status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9
11
|
draft: "draft";
|
|
10
|
-
failed: "failed";
|
|
11
12
|
processing: "processing";
|
|
12
|
-
|
|
13
|
+
failed: "failed";
|
|
13
14
|
succeeded: "succeeded";
|
|
15
|
+
deleted: "deleted";
|
|
14
16
|
}>>>;
|
|
15
17
|
end_datetime: z.ZodOptional<z.ZodString>;
|
|
16
18
|
start_datetime: z.ZodOptional<z.ZodString>;
|
|
@@ -23,10 +25,10 @@ declare const GanAiListPhotoAvatarInferencesOutput: z.ZodObject<{
|
|
|
23
25
|
video: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
status: z.ZodNullable<z.ZodEnum<{
|
|
25
27
|
draft: "draft";
|
|
26
|
-
failed: "failed";
|
|
27
28
|
processing: "processing";
|
|
28
|
-
|
|
29
|
+
failed: "failed";
|
|
29
30
|
succeeded: "succeeded";
|
|
31
|
+
deleted: "deleted";
|
|
30
32
|
}>>;
|
|
31
33
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
34
|
input_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -39,27 +41,7 @@ declare const GanAiListPhotoAvatarInferencesOutput: z.ZodObject<{
|
|
|
39
41
|
photo_avatar_inference_id: z.ZodNullable<z.ZodString>;
|
|
40
42
|
}, z.core.$loose>>>>;
|
|
41
43
|
}, z.core.$loose>;
|
|
42
|
-
declare const ganAiListPhotoAvatarInferences:
|
|
43
|
-
skip?: number | undefined;
|
|
44
|
-
limit?: number | undefined;
|
|
45
|
-
title?: string | undefined;
|
|
46
|
-
status?: ("draft" | "failed" | "processing" | "deleted" | "succeeded")[] | undefined;
|
|
47
|
-
end_datetime?: string | undefined;
|
|
48
|
-
start_datetime?: string | undefined;
|
|
49
|
-
photo_avatar_id?: string | undefined;
|
|
50
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"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>>]>;
|
|
44
|
+
declare const ganAiListPhotoAvatarInferences: AppAction<typeof GanAiListPhotoAvatarInferencesInput, typeof GanAiListPhotoAvatarInferencesOutput, typeof ganAi.credential>;
|
|
63
45
|
//#endregion
|
|
64
46
|
export { ganAiListPhotoAvatarInferences };
|
|
65
47
|
//# sourceMappingURL=list-photo-avatar-inferences.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-photo-avatar-inferences.d.cts","names":[],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-photo-avatar-inferences.d.cts","names":[],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAwBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ganAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-photo-avatar-inferences.d.ts
|
|
@@ -7,10 +9,10 @@ declare const GanAiListPhotoAvatarInferencesInput: z.ZodObject<{
|
|
|
7
9
|
title: z.ZodOptional<z.ZodString>;
|
|
8
10
|
status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
9
11
|
draft: "draft";
|
|
10
|
-
failed: "failed";
|
|
11
12
|
processing: "processing";
|
|
12
|
-
|
|
13
|
+
failed: "failed";
|
|
13
14
|
succeeded: "succeeded";
|
|
15
|
+
deleted: "deleted";
|
|
14
16
|
}>>>;
|
|
15
17
|
end_datetime: z.ZodOptional<z.ZodString>;
|
|
16
18
|
start_datetime: z.ZodOptional<z.ZodString>;
|
|
@@ -23,10 +25,10 @@ declare const GanAiListPhotoAvatarInferencesOutput: z.ZodObject<{
|
|
|
23
25
|
video: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
status: z.ZodNullable<z.ZodEnum<{
|
|
25
27
|
draft: "draft";
|
|
26
|
-
failed: "failed";
|
|
27
28
|
processing: "processing";
|
|
28
|
-
|
|
29
|
+
failed: "failed";
|
|
29
30
|
succeeded: "succeeded";
|
|
31
|
+
deleted: "deleted";
|
|
30
32
|
}>>;
|
|
31
33
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
34
|
input_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -39,27 +41,7 @@ declare const GanAiListPhotoAvatarInferencesOutput: z.ZodObject<{
|
|
|
39
41
|
photo_avatar_inference_id: z.ZodNullable<z.ZodString>;
|
|
40
42
|
}, z.core.$loose>>>>;
|
|
41
43
|
}, z.core.$loose>;
|
|
42
|
-
declare const ganAiListPhotoAvatarInferences:
|
|
43
|
-
skip?: number | undefined;
|
|
44
|
-
limit?: number | undefined;
|
|
45
|
-
title?: string | undefined;
|
|
46
|
-
status?: ("draft" | "failed" | "processing" | "deleted" | "succeeded")[] | undefined;
|
|
47
|
-
end_datetime?: string | undefined;
|
|
48
|
-
start_datetime?: string | undefined;
|
|
49
|
-
photo_avatar_id?: string | undefined;
|
|
50
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"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>>]>;
|
|
44
|
+
declare const ganAiListPhotoAvatarInferences: AppAction<typeof GanAiListPhotoAvatarInferencesInput, typeof GanAiListPhotoAvatarInferencesOutput, typeof ganAi.credential>;
|
|
63
45
|
//#endregion
|
|
64
46
|
export { ganAiListPhotoAvatarInferences };
|
|
65
47
|
//# sourceMappingURL=list-photo-avatar-inferences.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-photo-avatar-inferences.d.mts","names":[],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-photo-avatar-inferences.d.mts","names":[],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAwBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-photo-avatar-inferences.mjs","names":[],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListPhotoAvatarInferencesInput = z.object({\n skip: z.number().int().default(0).describe(\"Pagination offset (number of items to skip).\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of items to return.\").optional(),\n title: z.string().describe(\"Filter by inference title.\").optional(),\n status: z.array(z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"])).describe(\"Filter by one or more inference statuses.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end of the creation time window, e.g., '2023-01-07T23:59:59Z'.\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start of the creation time window, e.g., '2023-01-01T00:00:00Z'.\").optional(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar to filter by.\").optional(),\n}).describe(\"Request parameters for listing photo avatar inferences.\");\nconst GanAiListPhotoAvatarInferences_CreditDetailsSchema = z.object({\n gan_cost: z.number().describe(\"Cost in credits for GAN processing.\").nullable(),\n tts_cost: z.number().describe(\"Cost in credits for text-to-speech processing.\").nullable(),\n}).passthrough().describe(\"Details about credit usage for an inference.\");\nconst GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema = z.object({\n title: z.string().describe(\"Inference title, if set.\").nullable().optional(),\n video: z.string().describe(\"CloudFront URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Status of the inference.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the inference was created.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used to generate this inference.\").nullable().optional(),\n credit_details: GanAiListPhotoAvatarInferences_CreditDetailsSchema.nullable(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar.\").nullable(),\n downloadable_video_link: z.string().describe(\"Direct download link for the video.\").nullable().optional(),\n photo_avatar_inference_id: z.string().describe(\"UUID of the inference.\").nullable(),\n}).passthrough().describe(\"Details of a single photo avatar inference.\");\nexport const GanAiListPhotoAvatarInferencesOutput = z.object({\n total: z.number().int().describe(\"Total number of matched inferences.\").nullable(),\n inference_list: z.array(GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema).describe(\"Page of inference detail objects.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing photo avatar inferences.\");\n\nexport const ganAiListPhotoAvatarInferences = action(\"GAN_AI_LIST_PHOTO_AVATAR_INFERENCES\", {\n slug: \"gan_ai-list-photo-avatar-inferences\",\n name: \"List photo avatar inferences\",\n description: \"Tool to list photo avatar inferences. Use when you need to retrieve inference videos with optional filtering by avatar, title, status, or date range.\",\n input: GanAiListPhotoAvatarInferencesInput,\n output: GanAiListPhotoAvatarInferencesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-photo-avatar-inferences.mjs","names":[],"sources":["../../src/actions/list-photo-avatar-inferences.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiListPhotoAvatarInferencesInput = z.object({\n skip: z.number().int().default(0).describe(\"Pagination offset (number of items to skip).\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of items to return.\").optional(),\n title: z.string().describe(\"Filter by inference title.\").optional(),\n status: z.array(z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"])).describe(\"Filter by one or more inference statuses.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end of the creation time window, e.g., '2023-01-07T23:59:59Z'.\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start of the creation time window, e.g., '2023-01-01T00:00:00Z'.\").optional(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar to filter by.\").optional(),\n}).describe(\"Request parameters for listing photo avatar inferences.\");\nconst GanAiListPhotoAvatarInferences_CreditDetailsSchema = z.object({\n gan_cost: z.number().describe(\"Cost in credits for GAN processing.\").nullable(),\n tts_cost: z.number().describe(\"Cost in credits for text-to-speech processing.\").nullable(),\n}).passthrough().describe(\"Details about credit usage for an inference.\");\nconst GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema = z.object({\n title: z.string().describe(\"Inference title, if set.\").nullable().optional(),\n video: z.string().describe(\"CloudFront URL of the generated video.\").nullable().optional(),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Status of the inference.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the inference was created.\").nullable().optional(),\n input_text: z.string().describe(\"Input text used to generate this inference.\").nullable().optional(),\n credit_details: GanAiListPhotoAvatarInferences_CreditDetailsSchema.nullable(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar.\").nullable(),\n downloadable_video_link: z.string().describe(\"Direct download link for the video.\").nullable().optional(),\n photo_avatar_inference_id: z.string().describe(\"UUID of the inference.\").nullable(),\n}).passthrough().describe(\"Details of a single photo avatar inference.\");\nexport const GanAiListPhotoAvatarInferencesOutput = z.object({\n total: z.number().int().describe(\"Total number of matched inferences.\").nullable(),\n inference_list: z.array(GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema).describe(\"Page of inference detail objects.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing photo avatar inferences.\");\n\nexport const ganAiListPhotoAvatarInferences: AppAction<\n typeof GanAiListPhotoAvatarInferencesInput,\n typeof GanAiListPhotoAvatarInferencesOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_LIST_PHOTO_AVATAR_INFERENCES\", {\n slug: \"gan_ai-list-photo-avatar-inferences\",\n name: \"List photo avatar inferences\",\n description: \"Tool to list photo avatar inferences. Use when you need to retrieve inference videos with optional filtering by avatar, title, status, or date range.\",\n input: GanAiListPhotoAvatarInferencesInput,\n output: GanAiListPhotoAvatarInferencesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;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,iCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdkD,EAAE,OAAO;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACjF,gBAAgB,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-photo-avatars.cjs","names":["z","action"],"sources":["../../src/actions/list-photo-avatars.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListPhotoAvatarsInput = z.object({\n skip: z.number().int().default(0).describe(\"Number of records to skip for pagination (offset). Default is 0.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of records to return. Default is 10.\").optional(),\n title: z.string().describe(\"Filter by avatar title (exact match).\").optional(),\n status: z.array(z.string()).describe(\"Filter by one or more statuses; common values include: consent_pending, processing, consent_failed, failed, published, deleted, draft.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end timestamp for filtering (inclusive).\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start timestamp for filtering (inclusive).\").optional(),\n}).describe(\"Request model for listing avatars with optional filters and pagination.\");\nconst GanAiListPhotoAvatars_AvatarWebhookSchema = z.object({\n webhook_url: z.string().describe(\"Webhook URL registered for the avatar\").nullable(),\n}).passthrough();\nconst GanAiListPhotoAvatars_AvatarListItemSchema = z.object({\n title: z.string().describe(\"User-defined title of the avatar.\").nullable().optional(),\n status: z.string().describe(\"Current status of the avatar.\").nullable().optional(),\n avatar_id: z.string().describe(\"Unique UUID of the avatar.\").nullable(),\n thumbnail: z.string().describe(\"URL for the avatar thumbnail.\").nullable().optional(),\n base_video: z.string().describe(\"URL for the avatar base video.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the avatar was created.\").nullable().optional(),\n avatar_webhook: GanAiListPhotoAvatars_AvatarWebhookSchema.nullable().optional(),\n}).passthrough().describe(\"Representation of a single avatar record.\");\nexport const GanAiListPhotoAvatarsOutput = z.object({\n avatars_list: z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe(\"Array of avatar objects (may be null if none).\").nullable().optional(),\n total_avatars: z.number().int().describe(\"Total number of avatars matching the query.\").nullable(),\n}).passthrough().describe(\"Response model containing total count and list of avatars.\");\n\nexport const ganAiListPhotoAvatars = action(\"GAN_AI_LIST_PHOTO_AVATARS\", {\n slug: \"gan_ai-list-photo-avatars\",\n name: \"List Photo Avatars\",\n description: \"Tool to list avatars. Use when you need a paginated collection of avatars with filters. Example: \\\"List the first 10 published avatars created after 2023-01-01\\\".\",\n input: GanAiListPhotoAvatarsInput,\n output: GanAiListPhotoAvatarsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-photo-avatars.cjs","names":["z","action"],"sources":["../../src/actions/list-photo-avatars.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiListPhotoAvatarsInput = z.object({\n skip: z.number().int().default(0).describe(\"Number of records to skip for pagination (offset). Default is 0.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of records to return. Default is 10.\").optional(),\n title: z.string().describe(\"Filter by avatar title (exact match).\").optional(),\n status: z.array(z.string()).describe(\"Filter by one or more statuses; common values include: consent_pending, processing, consent_failed, failed, published, deleted, draft.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end timestamp for filtering (inclusive).\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start timestamp for filtering (inclusive).\").optional(),\n}).describe(\"Request model for listing avatars with optional filters and pagination.\");\nconst GanAiListPhotoAvatars_AvatarWebhookSchema = z.object({\n webhook_url: z.string().describe(\"Webhook URL registered for the avatar\").nullable(),\n}).passthrough();\nconst GanAiListPhotoAvatars_AvatarListItemSchema = z.object({\n title: z.string().describe(\"User-defined title of the avatar.\").nullable().optional(),\n status: z.string().describe(\"Current status of the avatar.\").nullable().optional(),\n avatar_id: z.string().describe(\"Unique UUID of the avatar.\").nullable(),\n thumbnail: z.string().describe(\"URL for the avatar thumbnail.\").nullable().optional(),\n base_video: z.string().describe(\"URL for the avatar base video.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the avatar was created.\").nullable().optional(),\n avatar_webhook: GanAiListPhotoAvatars_AvatarWebhookSchema.nullable().optional(),\n}).passthrough().describe(\"Representation of a single avatar record.\");\nexport const GanAiListPhotoAvatarsOutput = z.object({\n avatars_list: z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe(\"Array of avatar objects (may be null if none).\").nullable().optional(),\n total_avatars: z.number().int().describe(\"Total number of avatars matching the query.\").nullable(),\n}).passthrough().describe(\"Response model containing total count and list of avatars.\");\n\nexport const ganAiListPhotoAvatars: AppAction<\n typeof GanAiListPhotoAvatarsInput,\n typeof GanAiListPhotoAvatarsOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_LIST_PHOTO_AVATARS\", {\n slug: \"gan_ai-list-photo-avatars\",\n name: \"List Photo Avatars\",\n description: \"Tool to list avatars. Use when you need a paginated collection of avatars with filters. Example: \\\"List the first 10 published avatars created after 2023-01-01\\\".\",\n input: GanAiListPhotoAvatarsInput,\n output: GanAiListPhotoAvatarsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,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,wBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ganAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-photo-avatars.d.ts
|
|
@@ -23,26 +25,7 @@ declare const GanAiListPhotoAvatarsOutput: z.ZodObject<{
|
|
|
23
25
|
}, z.core.$loose>>>>;
|
|
24
26
|
total_avatars: z.ZodNullable<z.ZodNumber>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const ganAiListPhotoAvatars:
|
|
27
|
-
skip?: number | undefined;
|
|
28
|
-
limit?: number | undefined;
|
|
29
|
-
title?: string | undefined;
|
|
30
|
-
status?: string[] | undefined;
|
|
31
|
-
end_datetime?: string | undefined;
|
|
32
|
-
start_datetime?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"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>>]>;
|
|
28
|
+
declare const ganAiListPhotoAvatars: AppAction<typeof GanAiListPhotoAvatarsInput, typeof GanAiListPhotoAvatarsOutput, typeof ganAi.credential>;
|
|
46
29
|
//#endregion
|
|
47
30
|
export { ganAiListPhotoAvatars };
|
|
48
31
|
//# sourceMappingURL=list-photo-avatars.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-photo-avatars.d.cts","names":[],"sources":["../../src/actions/list-photo-avatars.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-photo-avatars.d.cts","names":[],"sources":["../../src/actions/list-photo-avatars.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAoB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ganAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-photo-avatars.d.ts
|
|
@@ -23,26 +25,7 @@ declare const GanAiListPhotoAvatarsOutput: z.ZodObject<{
|
|
|
23
25
|
}, z.core.$loose>>>>;
|
|
24
26
|
total_avatars: z.ZodNullable<z.ZodNumber>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const ganAiListPhotoAvatars:
|
|
27
|
-
skip?: number | undefined;
|
|
28
|
-
limit?: number | undefined;
|
|
29
|
-
title?: string | undefined;
|
|
30
|
-
status?: string[] | undefined;
|
|
31
|
-
end_datetime?: string | undefined;
|
|
32
|
-
start_datetime?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"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>>]>;
|
|
28
|
+
declare const ganAiListPhotoAvatars: AppAction<typeof GanAiListPhotoAvatarsInput, typeof GanAiListPhotoAvatarsOutput, typeof ganAi.credential>;
|
|
46
29
|
//#endregion
|
|
47
30
|
export { ganAiListPhotoAvatars };
|
|
48
31
|
//# sourceMappingURL=list-photo-avatars.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-photo-avatars.d.mts","names":[],"sources":["../../src/actions/list-photo-avatars.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-photo-avatars.d.mts","names":[],"sources":["../../src/actions/list-photo-avatars.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAoB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-photo-avatars.mjs","names":[],"sources":["../../src/actions/list-photo-avatars.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiListPhotoAvatarsInput = z.object({\n skip: z.number().int().default(0).describe(\"Number of records to skip for pagination (offset). Default is 0.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of records to return. Default is 10.\").optional(),\n title: z.string().describe(\"Filter by avatar title (exact match).\").optional(),\n status: z.array(z.string()).describe(\"Filter by one or more statuses; common values include: consent_pending, processing, consent_failed, failed, published, deleted, draft.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end timestamp for filtering (inclusive).\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start timestamp for filtering (inclusive).\").optional(),\n}).describe(\"Request model for listing avatars with optional filters and pagination.\");\nconst GanAiListPhotoAvatars_AvatarWebhookSchema = z.object({\n webhook_url: z.string().describe(\"Webhook URL registered for the avatar\").nullable(),\n}).passthrough();\nconst GanAiListPhotoAvatars_AvatarListItemSchema = z.object({\n title: z.string().describe(\"User-defined title of the avatar.\").nullable().optional(),\n status: z.string().describe(\"Current status of the avatar.\").nullable().optional(),\n avatar_id: z.string().describe(\"Unique UUID of the avatar.\").nullable(),\n thumbnail: z.string().describe(\"URL for the avatar thumbnail.\").nullable().optional(),\n base_video: z.string().describe(\"URL for the avatar base video.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the avatar was created.\").nullable().optional(),\n avatar_webhook: GanAiListPhotoAvatars_AvatarWebhookSchema.nullable().optional(),\n}).passthrough().describe(\"Representation of a single avatar record.\");\nexport const GanAiListPhotoAvatarsOutput = z.object({\n avatars_list: z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe(\"Array of avatar objects (may be null if none).\").nullable().optional(),\n total_avatars: z.number().int().describe(\"Total number of avatars matching the query.\").nullable(),\n}).passthrough().describe(\"Response model containing total count and list of avatars.\");\n\nexport const ganAiListPhotoAvatars = action(\"GAN_AI_LIST_PHOTO_AVATARS\", {\n slug: \"gan_ai-list-photo-avatars\",\n name: \"List Photo Avatars\",\n description: \"Tool to list avatars. Use when you need a paginated collection of avatars with filters. Example: \\\"List the first 10 published avatars created after 2023-01-01\\\".\",\n input: GanAiListPhotoAvatarsInput,\n output: GanAiListPhotoAvatarsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-photo-avatars.mjs","names":[],"sources":["../../src/actions/list-photo-avatars.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiListPhotoAvatarsInput = z.object({\n skip: z.number().int().default(0).describe(\"Number of records to skip for pagination (offset). Default is 0.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of records to return. Default is 10.\").optional(),\n title: z.string().describe(\"Filter by avatar title (exact match).\").optional(),\n status: z.array(z.string()).describe(\"Filter by one or more statuses; common values include: consent_pending, processing, consent_failed, failed, published, deleted, draft.\").optional(),\n end_datetime: z.string().describe(\"ISO 8601 end timestamp for filtering (inclusive).\").optional(),\n start_datetime: z.string().describe(\"ISO 8601 start timestamp for filtering (inclusive).\").optional(),\n}).describe(\"Request model for listing avatars with optional filters and pagination.\");\nconst GanAiListPhotoAvatars_AvatarWebhookSchema = z.object({\n webhook_url: z.string().describe(\"Webhook URL registered for the avatar\").nullable(),\n}).passthrough();\nconst GanAiListPhotoAvatars_AvatarListItemSchema = z.object({\n title: z.string().describe(\"User-defined title of the avatar.\").nullable().optional(),\n status: z.string().describe(\"Current status of the avatar.\").nullable().optional(),\n avatar_id: z.string().describe(\"Unique UUID of the avatar.\").nullable(),\n thumbnail: z.string().describe(\"URL for the avatar thumbnail.\").nullable().optional(),\n base_video: z.string().describe(\"URL for the avatar base video.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the avatar was created.\").nullable().optional(),\n avatar_webhook: GanAiListPhotoAvatars_AvatarWebhookSchema.nullable().optional(),\n}).passthrough().describe(\"Representation of a single avatar record.\");\nexport const GanAiListPhotoAvatarsOutput = z.object({\n avatars_list: z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe(\"Array of avatar objects (may be null if none).\").nullable().optional(),\n total_avatars: z.number().int().describe(\"Total number of avatars matching the query.\").nullable(),\n}).passthrough().describe(\"Response model containing total count and list of avatars.\");\n\nexport const ganAiListPhotoAvatars: AppAction<\n typeof GanAiListPhotoAvatarsInput,\n typeof GanAiListPhotoAvatarsOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_LIST_PHOTO_AVATARS\", {\n slug: \"gan_ai-list-photo-avatars\",\n name: \"List Photo Avatars\",\n description: \"Tool to list avatars. Use when you need a paginated collection of avatars with filters. Example: \\\"List the first 10 published avatars created after 2023-01-01\\\".\",\n input: GanAiListPhotoAvatarsInput,\n output: GanAiListPhotoAvatarsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACxL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,4CAA4C,EAAE,OAAO,EACzD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,6CAA6C,EAAE,OAAO;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,gBAAgB,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAMrE,MAAa,wBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdyC,EAAE,OAAO;EAClD,cAAc,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;AACV,CAAC"}
|
package/dist/actions/login.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.cjs","names":["z","action"],"sources":["../../src/actions/login.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiLoginInput = z.object({\n email: z.string().describe(\"User's email address.\"),\n password: z.string().describe(\"User's password.\"),\n}).describe(\"Request model for user login.\");\nexport const GanAiLoginOutput = z.object({\n access_token: z.string().describe(\"JWT access token.\").nullable(),\n refresh_token: z.string().describe(\"JWT refresh token.\").nullable(),\n}).passthrough().describe(\"Response model containing JWT tokens from login.\");\n\nexport const ganAiLogin = action(\"GAN_AI_LOGIN\", {\n slug: \"gan_ai-login\",\n name: \"Login\",\n description: \"Tool to authenticate a user and retrieve access and refresh tokens. Use when you need to login before calling other GAN.AI API actions.\",\n input: GanAiLoginInput,\n output: GanAiLoginOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"login.cjs","names":["z","action"],"sources":["../../src/actions/login.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiLoginInput = z.object({\n email: z.string().describe(\"User's email address.\"),\n password: z.string().describe(\"User's password.\"),\n}).describe(\"Request model for user login.\");\nexport const GanAiLoginOutput = z.object({\n access_token: z.string().describe(\"JWT access token.\").nullable(),\n refresh_token: z.string().describe(\"JWT refresh token.\").nullable(),\n}).passthrough().describe(\"Response model containing JWT tokens from login.\");\n\nexport const ganAiLogin: AppAction<\n typeof GanAiLoginInput,\n typeof GanAiLoginOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_LOGIN\", {\n slug: \"gan_ai-login\",\n name: \"Login\",\n description: \"Tool to authenticate a user and retrieve access and refresh tokens. Use when you need to login before calling other GAN.AI API actions.\",\n input: GanAiLoginInput,\n output: GanAiLoginOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kBAAkBA,IAAAA,EAAE,OAAO;CACtC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AAClD,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAa,mBAAmBA,IAAAA,EAAE,OAAO;CACvC,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAChE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,aAITC,eAAAA,OAAO,gBAAgB;CACzB,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
package/dist/actions/login.d.cts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ganAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/login.d.ts
|
|
@@ -9,22 +11,7 @@ declare const GanAiLoginOutput: z.ZodObject<{
|
|
|
9
11
|
access_token: z.ZodNullable<z.ZodString>;
|
|
10
12
|
refresh_token: z.ZodNullable<z.ZodString>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const ganAiLogin:
|
|
13
|
-
email: string;
|
|
14
|
-
password: string;
|
|
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>>]>;
|
|
14
|
+
declare const ganAiLogin: AppAction<typeof GanAiLoginInput, typeof GanAiLoginOutput, typeof ganAi.credential>;
|
|
28
15
|
//#endregion
|
|
29
16
|
export { ganAiLogin };
|
|
30
17
|
//# sourceMappingURL=login.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.d.cts","names":[],"sources":["../../src/actions/login.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"login.d.cts","names":[],"sources":["../../src/actions/login.ts"],"mappings":";;;;;cAMa,eAAA,EAAe,CAAA,CAAA,SAAA;;;;cAIf,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;;cAKhB,UAAA,EAAY,SAAA,QAChB,eAAA,SACA,gBAAA,SACA,KAAA,CAAM,UAAA"}
|
package/dist/actions/login.d.mts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ganAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/login.d.ts
|
|
@@ -9,22 +11,7 @@ declare const GanAiLoginOutput: z.ZodObject<{
|
|
|
9
11
|
access_token: z.ZodNullable<z.ZodString>;
|
|
10
12
|
refresh_token: z.ZodNullable<z.ZodString>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const ganAiLogin:
|
|
13
|
-
email: string;
|
|
14
|
-
password: string;
|
|
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>>]>;
|
|
14
|
+
declare const ganAiLogin: AppAction<typeof GanAiLoginInput, typeof GanAiLoginOutput, typeof ganAi.credential>;
|
|
28
15
|
//#endregion
|
|
29
16
|
export { ganAiLogin };
|
|
30
17
|
//# sourceMappingURL=login.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.d.mts","names":[],"sources":["../../src/actions/login.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"login.d.mts","names":[],"sources":["../../src/actions/login.ts"],"mappings":";;;;;cAMa,eAAA,EAAe,CAAA,CAAA,SAAA;;;;cAIf,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;;cAKhB,UAAA,EAAY,SAAA,QAChB,eAAA,SACA,gBAAA,SACA,KAAA,CAAM,UAAA"}
|
package/dist/actions/login.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.mjs","names":[],"sources":["../../src/actions/login.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GanAiLoginInput = z.object({\n email: z.string().describe(\"User's email address.\"),\n password: z.string().describe(\"User's password.\"),\n}).describe(\"Request model for user login.\");\nexport const GanAiLoginOutput = z.object({\n access_token: z.string().describe(\"JWT access token.\").nullable(),\n refresh_token: z.string().describe(\"JWT refresh token.\").nullable(),\n}).passthrough().describe(\"Response model containing JWT tokens from login.\");\n\nexport const ganAiLogin = action(\"GAN_AI_LOGIN\", {\n slug: \"gan_ai-login\",\n name: \"Login\",\n description: \"Tool to authenticate a user and retrieve access and refresh tokens. Use when you need to login before calling other GAN.AI API actions.\",\n input: GanAiLoginInput,\n output: GanAiLoginOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"login.mjs","names":[],"sources":["../../src/actions/login.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiLoginInput = z.object({\n email: z.string().describe(\"User's email address.\"),\n password: z.string().describe(\"User's password.\"),\n}).describe(\"Request model for user login.\");\nexport const GanAiLoginOutput = z.object({\n access_token: z.string().describe(\"JWT access token.\").nullable(),\n refresh_token: z.string().describe(\"JWT refresh token.\").nullable(),\n}).passthrough().describe(\"Response model containing JWT tokens from login.\");\n\nexport const ganAiLogin: AppAction<\n typeof GanAiLoginInput,\n typeof GanAiLoginOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_LOGIN\", {\n slug: \"gan_ai-login\",\n name: \"Login\",\n description: \"Tool to authenticate a user and retrieve access and refresh tokens. Use when you need to login before calling other GAN.AI API actions.\",\n input: GanAiLoginInput,\n output: GanAiLoginOutput,\n});\n"],"mappings":";;;AAeA,MAAa,aAIT,OAAO,gBAAgB;CACzB,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6B,EAAE,OAAO;EACtC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAClD,CAAC,CAAC,CAAC,SAAS,+BAcH;CACP,QAd8B,EAAE,OAAO;EACvC,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAChE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
package/dist/actions/tts.cjs
CHANGED
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}).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":"
|
|
1
|
+
{"version":3,"file":"tts.cjs","names":["z","action"],"sources":["../../src/actions/tts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiTtsInput = z.object({\n text: z.string().describe(\"The text content to convert to speech. Must be between 40 and 500 characters for optimal synthesis quality.\"),\n voice_id: z.string().describe(\"Unique identifier (UUID) of the voice to use for speech synthesis. Obtain valid voice IDs from the GAN.AI Get Voices endpoint or dashboard.\"),\n}).describe(\"Request model for GAN.AI Text-to-Speech synchronous API.\\nConverts text to speech using a specified voice.\");\nexport const GanAiTtsOutput = z.object({\n audio: z.string().describe(\"Binary audio data in WAV format containing the synthesized speech.\").nullable(),\n audio_size_bytes: z.number().int().describe(\"Size of the audio data in bytes.\").nullable(),\n}).passthrough().describe(\"Response model for GAN.AI Text-to-Speech synchronous API.\\nReturns the synthesized audio in WAV format.\");\n\nexport const ganAiTts: AppAction<\n typeof GanAiTtsInput,\n typeof GanAiTtsOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_TTS\", {\n slug: \"gan_ai-tts\",\n name: \"GAN AI Text-to-Speech\",\n description: \"Convert text to speech using GAN.AI's Text-to-Speech API. This tool synthesizes speech from text using a specified voice. The voice_id must be obtained from the GAN.AI Get Voices endpoint or from your GAN.AI dashboard. Returns audio in WAV format.\",\n input: GanAiTtsInput,\n output: GanAiTtsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gBAAgBA,IAAAA,EAAE,OAAO;CACpC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACvI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;AAC7K,CAAC,CAAC,CAAC,SAAS,4GAA4G;AACxH,MAAa,iBAAiBA,IAAAA,EAAE,OAAO;CACrC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yGAAyG;AAEnI,MAAa,WAITC,eAAAA,OAAO,cAAc;CACvB,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
package/dist/actions/tts.d.cts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ganAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/tts.d.ts
|
|
@@ -9,22 +11,7 @@ declare const GanAiTtsOutput: z.ZodObject<{
|
|
|
9
11
|
audio: z.ZodNullable<z.ZodString>;
|
|
10
12
|
audio_size_bytes: z.ZodNullable<z.ZodNumber>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const ganAiTts:
|
|
13
|
-
text: string;
|
|
14
|
-
voice_id: string;
|
|
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>>]>;
|
|
14
|
+
declare const ganAiTts: AppAction<typeof GanAiTtsInput, typeof GanAiTtsOutput, typeof ganAi.credential>;
|
|
28
15
|
//#endregion
|
|
29
16
|
export { ganAiTts };
|
|
30
17
|
//# sourceMappingURL=tts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tts.d.cts","names":[],"sources":["../../src/actions/tts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tts.d.cts","names":[],"sources":["../../src/actions/tts.ts"],"mappings":";;;;;cAMa,aAAA,EAAa,CAAA,CAAA,SAAA;;;;cAIb,cAAA,EAAc,CAAA,CAAA,SAAA;;;;cAKd,QAAA,EAAU,SAAA,QACd,aAAA,SACA,cAAA,SACA,KAAA,CAAM,UAAA"}
|
package/dist/actions/tts.d.mts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ganAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/tts.d.ts
|
|
@@ -9,22 +11,7 @@ declare const GanAiTtsOutput: z.ZodObject<{
|
|
|
9
11
|
audio: z.ZodNullable<z.ZodString>;
|
|
10
12
|
audio_size_bytes: z.ZodNullable<z.ZodNumber>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const ganAiTts:
|
|
13
|
-
text: string;
|
|
14
|
-
voice_id: string;
|
|
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>>]>;
|
|
14
|
+
declare const ganAiTts: AppAction<typeof GanAiTtsInput, typeof GanAiTtsOutput, typeof ganAi.credential>;
|
|
28
15
|
//#endregion
|
|
29
16
|
export { ganAiTts };
|
|
30
17
|
//# sourceMappingURL=tts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tts.d.mts","names":[],"sources":["../../src/actions/tts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tts.d.mts","names":[],"sources":["../../src/actions/tts.ts"],"mappings":";;;;;cAMa,aAAA,EAAa,CAAA,CAAA,SAAA;;;;cAIb,cAAA,EAAc,CAAA,CAAA,SAAA;;;;cAKd,QAAA,EAAU,SAAA,QACd,aAAA,SACA,cAAA,SACA,KAAA,CAAM,UAAA"}
|
package/dist/actions/tts.mjs
CHANGED
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}).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":"
|
|
1
|
+
{"version":3,"file":"tts.mjs","names":[],"sources":["../../src/actions/tts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ganAi } from \"../app\";\n\nexport const GanAiTtsInput = z.object({\n text: z.string().describe(\"The text content to convert to speech. Must be between 40 and 500 characters for optimal synthesis quality.\"),\n voice_id: z.string().describe(\"Unique identifier (UUID) of the voice to use for speech synthesis. Obtain valid voice IDs from the GAN.AI Get Voices endpoint or dashboard.\"),\n}).describe(\"Request model for GAN.AI Text-to-Speech synchronous API.\\nConverts text to speech using a specified voice.\");\nexport const GanAiTtsOutput = z.object({\n audio: z.string().describe(\"Binary audio data in WAV format containing the synthesized speech.\").nullable(),\n audio_size_bytes: z.number().int().describe(\"Size of the audio data in bytes.\").nullable(),\n}).passthrough().describe(\"Response model for GAN.AI Text-to-Speech synchronous API.\\nReturns the synthesized audio in WAV format.\");\n\nexport const ganAiTts: AppAction<\n typeof GanAiTtsInput,\n typeof GanAiTtsOutput,\n typeof ganAi.credential\n> = action(\"GAN_AI_TTS\", {\n slug: \"gan_ai-tts\",\n name: \"GAN AI Text-to-Speech\",\n description: \"Convert text to speech using GAN.AI's Text-to-Speech API. This tool synthesizes speech from text using a specified voice. The voice_id must be obtained from the GAN.AI Get Voices endpoint or from your GAN.AI dashboard. Returns audio in WAV format.\",\n input: GanAiTtsInput,\n output: GanAiTtsOutput,\n});\n"],"mappings":";;;AAeA,MAAa,WAIT,OAAO,cAAc;CACvB,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB2B,EAAE,OAAO;EACpC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;EACvI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;CAC7K,CAAC,CAAC,CAAC,SAAS,4GAcH;CACP,QAd4B,EAAE,OAAO;EACrC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC1G,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yGAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
-
let zod = require("zod");
|
|
3
2
|
//#region src/app.ts
|
|
3
|
+
const credential = { bearer_token: require("zod").z.string() };
|
|
4
4
|
const ganAi = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "gan_ai",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.ganAi = ganAi;
|