@keystrokehq/gan_ai 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/get-avatar-video-inference-details.cjs +9 -9
  4. package/dist/actions/get-avatar-video-inference-details.cjs.map +1 -1
  5. package/dist/actions/get-avatar-video-inference-details.d.cts +33 -3
  6. package/dist/actions/get-avatar-video-inference-details.d.cts.map +1 -1
  7. package/dist/actions/get-avatar-video-inference-details.d.mts +33 -3
  8. package/dist/actions/get-avatar-video-inference-details.d.mts.map +1 -1
  9. package/dist/actions/get-avatar-video-inference-details.mjs +9 -9
  10. package/dist/actions/get-avatar-video-inference-details.mjs.map +1 -1
  11. package/dist/actions/get-photo-avatar-details.cjs +5 -5
  12. package/dist/actions/get-photo-avatar-details.cjs.map +1 -1
  13. package/dist/actions/get-photo-avatar-details.d.cts +25 -3
  14. package/dist/actions/get-photo-avatar-details.d.cts.map +1 -1
  15. package/dist/actions/get-photo-avatar-details.d.mts +25 -3
  16. package/dist/actions/get-photo-avatar-details.d.mts.map +1 -1
  17. package/dist/actions/get-photo-avatar-details.mjs +5 -5
  18. package/dist/actions/get-photo-avatar-details.mjs.map +1 -1
  19. package/dist/actions/get-photo-avatar-inference-details.cjs +10 -10
  20. package/dist/actions/get-photo-avatar-inference-details.cjs.map +1 -1
  21. package/dist/actions/get-photo-avatar-inference-details.d.cts +41 -3
  22. package/dist/actions/get-photo-avatar-inference-details.d.cts.map +1 -1
  23. package/dist/actions/get-photo-avatar-inference-details.d.mts +41 -3
  24. package/dist/actions/get-photo-avatar-inference-details.d.mts.map +1 -1
  25. package/dist/actions/get-photo-avatar-inference-details.mjs +10 -10
  26. package/dist/actions/get-photo-avatar-inference-details.mjs.map +1 -1
  27. package/dist/actions/list-avatar-videos.cjs +11 -11
  28. package/dist/actions/list-avatar-videos.cjs.map +1 -1
  29. package/dist/actions/list-avatar-videos.d.cts +59 -3
  30. package/dist/actions/list-avatar-videos.d.cts.map +1 -1
  31. package/dist/actions/list-avatar-videos.d.mts +59 -3
  32. package/dist/actions/list-avatar-videos.d.mts.map +1 -1
  33. package/dist/actions/list-avatar-videos.mjs +11 -11
  34. package/dist/actions/list-avatar-videos.mjs.map +1 -1
  35. package/dist/actions/list-photo-avatar-inferences.cjs +12 -12
  36. package/dist/actions/list-photo-avatar-inferences.cjs.map +1 -1
  37. package/dist/actions/list-photo-avatar-inferences.d.cts +63 -3
  38. package/dist/actions/list-photo-avatar-inferences.d.cts.map +1 -1
  39. package/dist/actions/list-photo-avatar-inferences.d.mts +63 -3
  40. package/dist/actions/list-photo-avatar-inferences.d.mts.map +1 -1
  41. package/dist/actions/list-photo-avatar-inferences.mjs +12 -12
  42. package/dist/actions/list-photo-avatar-inferences.mjs.map +1 -1
  43. package/dist/actions/list-photo-avatars.cjs +10 -10
  44. package/dist/actions/list-photo-avatars.cjs.map +1 -1
  45. package/dist/actions/list-photo-avatars.d.cts +43 -3
  46. package/dist/actions/list-photo-avatars.d.cts.map +1 -1
  47. package/dist/actions/list-photo-avatars.d.mts +43 -3
  48. package/dist/actions/list-photo-avatars.d.mts.map +1 -1
  49. package/dist/actions/list-photo-avatars.mjs +10 -10
  50. package/dist/actions/list-photo-avatars.mjs.map +1 -1
  51. package/dist/actions/login.cjs +2 -2
  52. package/dist/actions/login.cjs.map +1 -1
  53. package/dist/actions/login.d.cts +15 -3
  54. package/dist/actions/login.d.cts.map +1 -1
  55. package/dist/actions/login.d.mts +15 -3
  56. package/dist/actions/login.d.mts.map +1 -1
  57. package/dist/actions/login.mjs +2 -2
  58. package/dist/actions/login.mjs.map +1 -1
  59. package/dist/actions/tts.cjs +2 -2
  60. package/dist/actions/tts.cjs.map +1 -1
  61. package/dist/actions/tts.d.cts +15 -3
  62. package/dist/actions/tts.d.cts.map +1 -1
  63. package/dist/actions/tts.d.mts +15 -3
  64. package/dist/actions/tts.d.mts.map +1 -1
  65. package/dist/actions/tts.mjs +2 -2
  66. package/dist/actions/tts.mjs.map +1 -1
  67. package/dist/catalog.cjs +7 -1
  68. package/dist/catalog.cjs.map +1 -1
  69. package/dist/catalog.d.cts +8 -0
  70. package/dist/catalog.d.mts +8 -0
  71. package/dist/catalog.mjs +7 -1
  72. package/dist/catalog.mjs.map +1 -1
  73. package/package.json +2 -2
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n gan_cost: z.number().describe(\"Cost in credits for GAN processing.\"),\n tts_cost: z.number().describe(\"Cost in credits for text-to-speech processing.\"),\n}).describe(\"Details about credit usage for an inference.\");\nconst GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema: z.ZodTypeAny = 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.\"),\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.\"),\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.\"),\n}).describe(\"Details of a single photo avatar inference.\");\nexport const GanAiListPhotoAvatarInferencesOutput: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total number of matched inferences.\"),\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,sCAAoD,EAAE,OAAO;CACxE,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,SA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;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgE,EAAE,OAAO;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;EACtE,gBAAgB,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Inference title, if set.\").optional()),\n video: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"CloudFront URL of the generated video.\").optional()),\n status: z.enum([\"draft\", \"processing\", \"failed\", \"succeeded\", \"deleted\"]).describe(\"Status of the inference.\").nullable(),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp when the inference was created.\").optional()),\n input_text: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Input text used to generate this inference.\").optional()),\n credit_details: GanAiListPhotoAvatarInferences_CreditDetailsSchema.nullable(),\n photo_avatar_id: z.string().describe(\"UUID of the photo avatar.\").nullable(),\n downloadable_video_link: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Direct download link for the video.\").optional()),\n photo_avatar_inference_id: z.string().describe(\"UUID of the inference.\").nullable(),\n}).describe(\"Details of a single photo avatar inference.\");\nexport const GanAiListPhotoAvatarInferencesOutput = z.object({\n total: z.number().int().describe(\"Total number of matched inferences.\").nullable(),\n inference_list: z.preprocess((value) => (value === null ? undefined : value), z.array(GanAiListPhotoAvatarInferences_PhotoAvatarInferenceDetailsSchema).describe(\"Page of inference detail objects.\").optional()),\n}).describe(\"Response schema for listing photo avatar inferences.\");\n\nexport const ganAiListPhotoAvatarInferences = action(\"GAN_AI_LIST_PHOTO_AVATAR_INFERENCES\", {\n slug: \"gan_ai-list-photo-avatar-inferences\",\n name: \"List photo avatar inferences\",\n description: \"Tool to list photo avatar inferences. Use when you need to retrieve inference videos with optional filtering by avatar, title, status, or date range.\",\n input: GanAiListPhotoAvatarInferencesInput,\n output: GanAiListPhotoAvatarInferencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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,4BA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AAC;CACvJ,gBAAgB,mDAAmD,SAAS;CAC5E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC3E,yBAAyB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC;CAC5J,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAMzD,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,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC;CAClN,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
@@ -9,19 +9,19 @@ 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") });
12
+ const GanAiListPhotoAvatars_AvatarWebhookSchema = zod.z.object({ webhook_url: zod.z.string().describe("Webhook URL registered for the avatar").nullable() });
13
13
  const GanAiListPhotoAvatars_AvatarListItemSchema = zod.z.object({
14
- title: zod.z.string().describe("User-defined title of the avatar.").nullable().optional(),
15
- status: zod.z.string().describe("Current status of the avatar.").nullable().optional(),
16
- avatar_id: zod.z.string().describe("Unique UUID of the avatar."),
17
- thumbnail: zod.z.string().describe("URL for the avatar thumbnail.").nullable().optional(),
18
- base_video: zod.z.string().describe("URL for the avatar base video.").nullable().optional(),
19
- created_at: zod.z.string().describe("ISO 8601 timestamp when the avatar was created.").nullable().optional(),
20
- avatar_webhook: GanAiListPhotoAvatars_AvatarWebhookSchema.nullable().optional()
14
+ title: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("User-defined title of the avatar.").optional()),
15
+ status: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Current status of the avatar.").optional()),
16
+ avatar_id: zod.z.string().describe("Unique UUID of the avatar.").nullable(),
17
+ thumbnail: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("URL for the avatar thumbnail.").optional()),
18
+ base_video: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("URL for the avatar base video.").optional()),
19
+ created_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ISO 8601 timestamp when the avatar was created.").optional()),
20
+ avatar_webhook: zod.z.preprocess((value) => value === null ? void 0 : value, GanAiListPhotoAvatars_AvatarWebhookSchema.optional())
21
21
  }).describe("Representation of a single avatar record.");
22
22
  const GanAiListPhotoAvatarsOutput = zod.z.object({
23
- avatars_list: zod.z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe("Array of avatar objects (may be null if none).").nullable().optional(),
24
- total_avatars: zod.z.number().int().describe("Total number of avatars matching the query.")
23
+ avatars_list: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe("Array of avatar objects (may be null if none).").optional()),
24
+ total_avatars: zod.z.number().int().describe("Total number of avatars matching the query.").nullable()
25
25
  }).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",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n webhook_url: z.string().describe(\"Webhook URL registered for the avatar\"),\n});\nconst GanAiListPhotoAvatars_AvatarListItemSchema: z.ZodTypeAny = 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.\"),\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.ZodTypeAny = 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.\"),\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,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,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,4CAA0DA,IAAAA,EAAE,OAAO,EACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EAC1E,CAAC;AACD,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,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;CAC3D,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,SAAS,2CAA2C;AACvD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,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;AACxF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,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});\nconst GanAiListPhotoAvatars_AvatarListItemSchema = z.object({\n title: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"User-defined title of the avatar.\").optional()),\n status: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Current status of the avatar.\").optional()),\n avatar_id: z.string().describe(\"Unique UUID of the avatar.\").nullable(),\n thumbnail: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL for the avatar thumbnail.\").optional()),\n base_video: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL for the avatar base video.\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp when the avatar was created.\").optional()),\n avatar_webhook: z.preprocess((value) => (value === null ? undefined : value), GanAiListPhotoAvatars_AvatarWebhookSchema.optional()),\n}).describe(\"Representation of a single avatar record.\");\nexport const GanAiListPhotoAvatarsOutput = z.object({\n avatars_list: z.preprocess((value) => (value === null ? undefined : value), z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe(\"Array of avatar objects (may be null if none).\").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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AC;CACxI,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC;CAC1I,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC;CAC3J,gBAAgBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,0CAA0C,SAAS,CAAC;AACpI,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,cAAcA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC;CACrM,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,49 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-photo-avatars.d.ts
4
- declare const GanAiListPhotoAvatarsInput: z.ZodTypeAny;
5
- declare const GanAiListPhotoAvatarsOutput: z.ZodTypeAny;
6
- declare const ganAiListPhotoAvatars: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GanAiListPhotoAvatarsInput: z.ZodObject<{
5
+ skip: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
+ title: z.ZodOptional<z.ZodString>;
8
+ status: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
+ end_datetime: z.ZodOptional<z.ZodString>;
10
+ start_datetime: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const GanAiListPhotoAvatarsOutput: z.ZodObject<{
13
+ avatars_list: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
14
+ title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
+ status: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
+ avatar_id: z.ZodNullable<z.ZodString>;
17
+ thumbnail: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
+ base_video: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
19
+ created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
+ avatar_webhook: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
21
+ webhook_url: z.ZodNullable<z.ZodString>;
22
+ }, z.core.$strip>>>;
23
+ }, z.core.$strip>>>>;
24
+ total_avatars: z.ZodNullable<z.ZodNumber>;
25
+ }, z.core.$strip>;
26
+ declare const ganAiListPhotoAvatars: import("@keystrokehq/action").WorkflowActionDefinition<{
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
+ }, {
34
+ total_avatars: number | null;
35
+ avatars_list?: {
36
+ avatar_id: string | null;
37
+ title?: string | undefined;
38
+ status?: string | undefined;
39
+ thumbnail?: string | undefined;
40
+ base_video?: string | undefined;
41
+ created_at?: string | undefined;
42
+ avatar_webhook?: {
43
+ webhook_url: string | null;
44
+ } | undefined;
45
+ }[] | undefined;
46
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
47
  //#endregion
8
48
  export { ganAiListPhotoAvatars };
9
49
  //# 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":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAO2C;AAAA,cAazE,2BAAA,EAA6B,CAAA,CAAE,UAG6B;AAAA,cAE5D,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-photo-avatars.d.cts","names":[],"sources":["../../src/actions/list-photo-avatars.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAoB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,49 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-photo-avatars.d.ts
4
- declare const GanAiListPhotoAvatarsInput: z.ZodTypeAny;
5
- declare const GanAiListPhotoAvatarsOutput: z.ZodTypeAny;
6
- declare const ganAiListPhotoAvatars: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GanAiListPhotoAvatarsInput: z.ZodObject<{
5
+ skip: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
+ title: z.ZodOptional<z.ZodString>;
8
+ status: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
+ end_datetime: z.ZodOptional<z.ZodString>;
10
+ start_datetime: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const GanAiListPhotoAvatarsOutput: z.ZodObject<{
13
+ avatars_list: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
14
+ title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
+ status: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
+ avatar_id: z.ZodNullable<z.ZodString>;
17
+ thumbnail: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
+ base_video: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
19
+ created_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
+ avatar_webhook: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
21
+ webhook_url: z.ZodNullable<z.ZodString>;
22
+ }, z.core.$strip>>>;
23
+ }, z.core.$strip>>>>;
24
+ total_avatars: z.ZodNullable<z.ZodNumber>;
25
+ }, z.core.$strip>;
26
+ declare const ganAiListPhotoAvatars: import("@keystrokehq/action").WorkflowActionDefinition<{
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
+ }, {
34
+ total_avatars: number | null;
35
+ avatars_list?: {
36
+ avatar_id: string | null;
37
+ title?: string | undefined;
38
+ status?: string | undefined;
39
+ thumbnail?: string | undefined;
40
+ base_video?: string | undefined;
41
+ created_at?: string | undefined;
42
+ avatar_webhook?: {
43
+ webhook_url: string | null;
44
+ } | undefined;
45
+ }[] | undefined;
46
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
47
  //#endregion
8
48
  export { ganAiListPhotoAvatars };
9
49
  //# 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":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAO2C;AAAA,cAazE,2BAAA,EAA6B,CAAA,CAAE,UAG6B;AAAA,cAE5D,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-photo-avatars.d.mts","names":[],"sources":["../../src/actions/list-photo-avatars.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAoB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
@@ -9,15 +9,15 @@ 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") });
12
+ const GanAiListPhotoAvatars_AvatarWebhookSchema = z.object({ webhook_url: z.string().describe("Webhook URL registered for the avatar").nullable() });
13
13
  const GanAiListPhotoAvatars_AvatarListItemSchema = z.object({
14
- title: z.string().describe("User-defined title of the avatar.").nullable().optional(),
15
- status: z.string().describe("Current status of the avatar.").nullable().optional(),
16
- avatar_id: z.string().describe("Unique UUID of the avatar."),
17
- thumbnail: z.string().describe("URL for the avatar thumbnail.").nullable().optional(),
18
- base_video: z.string().describe("URL for the avatar base video.").nullable().optional(),
19
- created_at: z.string().describe("ISO 8601 timestamp when the avatar was created.").nullable().optional(),
20
- avatar_webhook: GanAiListPhotoAvatars_AvatarWebhookSchema.nullable().optional()
14
+ title: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("User-defined title of the avatar.").optional()),
15
+ status: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Current status of the avatar.").optional()),
16
+ avatar_id: z.string().describe("Unique UUID of the avatar.").nullable(),
17
+ thumbnail: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("URL for the avatar thumbnail.").optional()),
18
+ base_video: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("URL for the avatar base video.").optional()),
19
+ created_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO 8601 timestamp when the avatar was created.").optional()),
20
+ avatar_webhook: z.preprocess((value) => value === null ? void 0 : value, GanAiListPhotoAvatars_AvatarWebhookSchema.optional())
21
21
  }).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",
@@ -25,8 +25,8 @@ const ganAiListPhotoAvatars = action("GAN_AI_LIST_PHOTO_AVATARS", {
25
25
  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\".",
26
26
  input: GanAiListPhotoAvatarsInput,
27
27
  output: z.object({
28
- avatars_list: z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe("Array of avatar objects (may be null if none).").nullable().optional(),
29
- total_avatars: z.number().int().describe("Total number of avatars matching the query.")
28
+ avatars_list: z.preprocess((value) => value === null ? void 0 : value, z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe("Array of avatar objects (may be null if none).").optional()),
29
+ total_avatars: z.number().int().describe("Total number of avatars matching the query.").nullable()
30
30
  }).describe("Response model containing total count and list of avatars.")
31
31
  });
32
32
  //#endregion
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n webhook_url: z.string().describe(\"Webhook URL registered for the avatar\"),\n});\nconst GanAiListPhotoAvatars_AvatarListItemSchema: z.ZodTypeAny = 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.\"),\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.ZodTypeAny = 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.\"),\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,6BAA2C,EAAE,OAAO;CAC/D,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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AA0C,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CACxF,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,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});\nconst GanAiListPhotoAvatars_AvatarListItemSchema = z.object({\n title: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"User-defined title of the avatar.\").optional()),\n status: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Current status of the avatar.\").optional()),\n avatar_id: z.string().describe(\"Unique UUID of the avatar.\").nullable(),\n thumbnail: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL for the avatar thumbnail.\").optional()),\n base_video: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL for the avatar base video.\").optional()),\n created_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 timestamp when the avatar was created.\").optional()),\n avatar_webhook: z.preprocess((value) => (value === null ? undefined : value), GanAiListPhotoAvatars_AvatarWebhookSchema.optional()),\n}).describe(\"Representation of a single avatar record.\");\nexport const GanAiListPhotoAvatarsOutput = z.object({\n avatars_list: z.preprocess((value) => (value === null ? undefined : value), z.array(GanAiListPhotoAvatars_AvatarListItemSchema).describe(\"Array of avatar objects (may be null if none).\").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,SA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.object({
6
6
  password: zod.z.string().describe("User's password.")
7
7
  }).describe("Request model for user login.");
8
8
  const GanAiLoginOutput = zod.z.object({
9
- access_token: zod.z.string().describe("JWT access token."),
10
- refresh_token: zod.z.string().describe("JWT refresh token.")
9
+ access_token: zod.z.string().describe("JWT access token.").nullable(),
10
+ refresh_token: zod.z.string().describe("JWT refresh token.").nullable()
11
11
  }).describe("Response model containing JWT tokens from login.");
12
12
  const ganAiLogin = require_action.action("GAN_AI_LOGIN", {
13
13
  slug: "gan_ai-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.ZodTypeAny = 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.ZodTypeAny = z.object({\n access_token: z.string().describe(\"JWT access token.\"),\n refresh_token: z.string().describe(\"JWT refresh token.\"),\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,kBAAgCA,IAAAA,EAAE,OAAO;CACpD,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,mBAAiCA,IAAAA,EAAE,OAAO;CACrD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CACrD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;AACzD,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,aAAaC,eAAAA,OAAO,gBAAgB;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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;AAE9D,MAAa,aAAaC,eAAAA,OAAO,gBAAgB;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/login.d.ts
4
- declare const GanAiLoginInput: z.ZodTypeAny;
5
- declare const GanAiLoginOutput: z.ZodTypeAny;
6
- declare const ganAiLogin: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GanAiLoginInput: z.ZodObject<{
5
+ email: z.ZodString;
6
+ password: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const GanAiLoginOutput: z.ZodObject<{
9
+ access_token: z.ZodNullable<z.ZodString>;
10
+ refresh_token: z.ZodNullable<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const ganAiLogin: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ email: string;
14
+ password: string;
15
+ }, {
16
+ access_token: string | null;
17
+ refresh_token: string | null;
18
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { ganAiLogin };
9
21
  //# sourceMappingURL=login.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"login.d.cts","names":[],"sources":["../../src/actions/login.ts"],"mappings":";;;cAIa,eAAA,EAAiB,CAAA,CAAE,UAGY;AAAA,cAC/B,gBAAA,EAAkB,CAAA,CAAE,UAG8B;AAAA,cAElD,UAAA,gCAAU,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"login.d.cts","names":[],"sources":["../../src/actions/login.ts"],"mappings":";;;cAIa,eAAA,EAAe,CAAA,CAAA,SAAA;;;;cAIf,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;;cAKhB,UAAA,gCAAU,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/login.d.ts
4
- declare const GanAiLoginInput: z.ZodTypeAny;
5
- declare const GanAiLoginOutput: z.ZodTypeAny;
6
- declare const ganAiLogin: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GanAiLoginInput: z.ZodObject<{
5
+ email: z.ZodString;
6
+ password: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const GanAiLoginOutput: z.ZodObject<{
9
+ access_token: z.ZodNullable<z.ZodString>;
10
+ refresh_token: z.ZodNullable<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const ganAiLogin: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ email: string;
14
+ password: string;
15
+ }, {
16
+ access_token: string | null;
17
+ refresh_token: string | null;
18
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { ganAiLogin };
9
21
  //# sourceMappingURL=login.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"login.d.mts","names":[],"sources":["../../src/actions/login.ts"],"mappings":";;;cAIa,eAAA,EAAiB,CAAA,CAAE,UAGY;AAAA,cAC/B,gBAAA,EAAkB,CAAA,CAAE,UAG8B;AAAA,cAElD,UAAA,gCAAU,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"login.d.mts","names":[],"sources":["../../src/actions/login.ts"],"mappings":";;;cAIa,eAAA,EAAe,CAAA,CAAA,SAAA;;;;cAIf,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;;cAKhB,UAAA,gCAAU,wBAAA"}
@@ -9,8 +9,8 @@ const ganAiLogin = action("GAN_AI_LOGIN", {
9
9
  password: z.string().describe("User's password.")
10
10
  }).describe("Request model for user login."),
11
11
  output: z.object({
12
- access_token: z.string().describe("JWT access token."),
13
- refresh_token: z.string().describe("JWT refresh token.")
12
+ access_token: z.string().describe("JWT access token.").nullable(),
13
+ refresh_token: z.string().describe("JWT refresh token.").nullable()
14
14
  }).describe("Response model containing JWT tokens from login.")
15
15
  });
16
16
  //#endregion
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n access_token: z.string().describe(\"JWT access token.\"),\n refresh_token: z.string().describe(\"JWT refresh token.\"),\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,OAb2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAClD,CAAC,CAAC,CAAC,SAAS,+BAUH;CACP,QAV4C,EAAE,OAAO;EACrD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EACrD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACzD,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
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,kDAOF;AACV,CAAC"}
@@ -6,8 +6,8 @@ const GanAiTtsInput = zod.z.object({
6
6
  voice_id: zod.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.")
7
7
  }).describe("Request model for GAN.AI Text-to-Speech synchronous API.\nConverts text to speech using a specified voice.");
8
8
  const GanAiTtsOutput = zod.z.object({
9
- audio: zod.z.string().describe("Binary audio data in WAV format containing the synthesized speech."),
10
- audio_size_bytes: zod.z.number().int().describe("Size of the audio data in bytes.")
9
+ audio: zod.z.string().describe("Binary audio data in WAV format containing the synthesized speech.").nullable(),
10
+ audio_size_bytes: zod.z.number().int().describe("Size of the audio data in bytes.").nullable()
11
11
  }).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",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n audio: z.string().describe(\"Binary audio data in WAV format containing the synthesized speech.\"),\n audio_size_bytes: z.number().int().describe(\"Size of the audio data in bytes.\"),\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,gBAA8BA,IAAAA,EAAE,OAAO;CAClD,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,iBAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CAC/F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;AAChF,CAAC,CAAC,CAAC,SAAS,yGAAyG;AAErH,MAAa,WAAWC,eAAAA,OAAO,cAAc;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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;AAErH,MAAa,WAAWC,eAAAA,OAAO,cAAc;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/tts.d.ts
4
- declare const GanAiTtsInput: z.ZodTypeAny;
5
- declare const GanAiTtsOutput: z.ZodTypeAny;
6
- declare const ganAiTts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GanAiTtsInput: z.ZodObject<{
5
+ text: z.ZodString;
6
+ voice_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const GanAiTtsOutput: z.ZodObject<{
9
+ audio: z.ZodNullable<z.ZodString>;
10
+ audio_size_bytes: z.ZodNullable<z.ZodNumber>;
11
+ }, z.core.$strip>;
12
+ declare const ganAiTts: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ text: string;
14
+ voice_id: string;
15
+ }, {
16
+ audio: string | null;
17
+ audio_size_bytes: number | null;
18
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { ganAiTts };
9
21
  //# sourceMappingURL=tts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tts.d.cts","names":[],"sources":["../../src/actions/tts.ts"],"mappings":";;;cAIa,aAAA,EAAe,CAAA,CAAE,UAG2F;AAAA,cAC5G,cAAA,EAAgB,CAAA,CAAE,UAGuF;AAAA,cAEzG,QAAA,gCAAQ,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"tts.d.cts","names":[],"sources":["../../src/actions/tts.ts"],"mappings":";;;cAIa,aAAA,EAAa,CAAA,CAAA,SAAA;;;;cAIb,cAAA,EAAc,CAAA,CAAA,SAAA;;;;cAKd,QAAA,gCAAQ,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/tts.d.ts
4
- declare const GanAiTtsInput: z.ZodTypeAny;
5
- declare const GanAiTtsOutput: z.ZodTypeAny;
6
- declare const ganAiTts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GanAiTtsInput: z.ZodObject<{
5
+ text: z.ZodString;
6
+ voice_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const GanAiTtsOutput: z.ZodObject<{
9
+ audio: z.ZodNullable<z.ZodString>;
10
+ audio_size_bytes: z.ZodNullable<z.ZodNumber>;
11
+ }, z.core.$strip>;
12
+ declare const ganAiTts: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ text: string;
14
+ voice_id: string;
15
+ }, {
16
+ audio: string | null;
17
+ audio_size_bytes: number | null;
18
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { ganAiTts };
9
21
  //# sourceMappingURL=tts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tts.d.mts","names":[],"sources":["../../src/actions/tts.ts"],"mappings":";;;cAIa,aAAA,EAAe,CAAA,CAAE,UAG2F;AAAA,cAC5G,cAAA,EAAgB,CAAA,CAAE,UAGuF;AAAA,cAEzG,QAAA,gCAAQ,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"tts.d.mts","names":[],"sources":["../../src/actions/tts.ts"],"mappings":";;;cAIa,aAAA,EAAa,CAAA,CAAA,SAAA;;;;cAIb,cAAA,EAAc,CAAA,CAAA,SAAA;;;;cAKd,QAAA,gCAAQ,wBAAA"}
@@ -9,8 +9,8 @@ const ganAiTts = action("GAN_AI_TTS", {
9
9
  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.")
10
10
  }).describe("Request model for GAN.AI Text-to-Speech synchronous API.\nConverts text to speech using a specified voice."),
11
11
  output: z.object({
12
- audio: z.string().describe("Binary audio data in WAV format containing the synthesized speech."),
13
- audio_size_bytes: z.number().int().describe("Size of the audio data in bytes.")
12
+ audio: z.string().describe("Binary audio data in WAV format containing the synthesized speech.").nullable(),
13
+ audio_size_bytes: z.number().int().describe("Size of the audio data in bytes.").nullable()
14
14
  }).describe("Response model for GAN.AI Text-to-Speech synchronous API.\nReturns the synthesized audio in WAV format.")
15
15
  });
16
16
  //#endregion
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n audio: z.string().describe(\"Binary audio data in WAV format containing the synthesized speech.\"),\n audio_size_bytes: z.number().int().describe(\"Size of the audio data in bytes.\"),\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,OAbyC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;EACvI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I;CAC7K,CAAC,CAAC,CAAC,SAAS,4GAUH;CACP,QAV0C,EAAE,OAAO;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EAC/F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CAChF,CAAC,CAAC,CAAC,SAAS,yGAOF;AACV,CAAC"}
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,yGAOF;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const ganAiCatalog = {
7
7
  "category": "Artificial Intelligence",
8
8
  "logo": "https://logos.composio.dev/api/gan_ai",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "bearer_token": {
12
+ "label": "Gan.AI API Key",
13
+ "secret": true,
14
+ "description": "The API key generated from Gan.AI's platform, used to authenticate API requests."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.ganAiCatalog = ganAiCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const ganAiCatalog = {\n \"slug\": \"gan_ai\",\n \"name\": \"Gan.AI\",\n \"description\": \"Gan.AI provides advanced APIs for text-to-speech, voice cloning, and video personalization, enabling developers to integrate natural and expressive speech synthesis into their applications.\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/gan_ai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const ganAiCatalog = {\n \"slug\": \"gan_ai\",\n \"name\": \"Gan.AI\",\n \"description\": \"Gan.AI provides advanced APIs for text-to-speech, voice cloning, and video personalization, enabling developers to integrate natural and expressive speech synthesis into their applications.\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/gan_ai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"bearer_token\": {\n \"label\": \"Gan.AI API Key\",\n \"secret\": true,\n \"description\": \"The API key generated from Gan.AI's platform, used to authenticate API requests.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,gBAAgB;EACd,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const ganAiCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/gan_ai";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly bearer_token: {
13
+ readonly label: "Gan.AI API Key";
14
+ readonly secret: true;
15
+ readonly description: "The API key generated from Gan.AI's platform, used to authenticate API requests.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { ganAiCatalog };
@@ -8,6 +8,14 @@ declare const ganAiCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/gan_ai";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly bearer_token: {
13
+ readonly label: "Gan.AI API Key";
14
+ readonly secret: true;
15
+ readonly description: "The API key generated from Gan.AI's platform, used to authenticate API requests.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { ganAiCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const ganAiCatalog = {
7
7
  "category": "Artificial Intelligence",
8
8
  "logo": "https://logos.composio.dev/api/gan_ai",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "bearer_token": {
12
+ "label": "Gan.AI API Key",
13
+ "secret": true,
14
+ "description": "The API key generated from Gan.AI's platform, used to authenticate API requests."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { ganAiCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const ganAiCatalog = {\n \"slug\": \"gan_ai\",\n \"name\": \"Gan.AI\",\n \"description\": \"Gan.AI provides advanced APIs for text-to-speech, voice cloning, and video personalization, enabling developers to integrate natural and expressive speech synthesis into their applications.\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/gan_ai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const ganAiCatalog = {\n \"slug\": \"gan_ai\",\n \"name\": \"Gan.AI\",\n \"description\": \"Gan.AI provides advanced APIs for text-to-speech, voice cloning, and video personalization, enabling developers to integrate natural and expressive speech synthesis into their applications.\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/gan_ai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"bearer_token\": {\n \"label\": \"Gan.AI API Key\",\n \"secret\": true,\n \"description\": \"The API key generated from Gan.AI's platform, used to authenticate API requests.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,gBAAgB;EACd,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/gan_ai",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {