@purpleschool/gptbot 0.20.4 → 0.20.6-stage-2

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 (75) hide show
  1. package/build/api/controllers/http/photo-session.d.ts +2 -0
  2. package/build/api/controllers/http/photo-session.js +2 -0
  3. package/build/api/routes.d.ts +4 -0
  4. package/build/api/routes.js +4 -0
  5. package/build/commands/ai-studio/canvas-node/find-canvas-node-definitions-with-configs.query.d.ts +3 -0
  6. package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.d.ts +1 -0
  7. package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.d.ts +1 -0
  8. package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.d.ts +1 -0
  9. package/build/commands/avatar-studio/voice/update-avatar-studio-voice.command.d.ts +1 -0
  10. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.d.ts +187 -1
  11. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.js +3 -1
  12. package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.d.ts +113 -1
  13. package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.js +4 -5
  14. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.d.ts +187 -1
  15. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.js +3 -1
  16. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.d.ts +93 -54
  17. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.js +1 -1
  18. package/build/commands/tools/photo-session/find-photo-session-jobs.command.d.ts +93 -54
  19. package/build/commands/tools/photo-session/find-photo-session-jobs.command.js +1 -1
  20. package/build/commands/tools/photo-session/get-photo-session-config.command.d.ts +78 -20
  21. package/build/commands/tools/photo-session/get-photo-session-styles.command.d.ts +78 -0
  22. package/build/commands/tools/photo-session/get-photo-session-styles.command.js +8 -0
  23. package/build/commands/tools/photo-session/index.d.ts +1 -0
  24. package/build/commands/tools/photo-session/index.js +1 -0
  25. package/build/commands/tools/photo-session/photo-session-recovery.command.d.ts +172 -0
  26. package/build/commands/tools/photo-session/photo-session-recovery.command.js +17 -0
  27. package/build/commands/tools/photo-session/photo-session.command.d.ts +207 -67
  28. package/build/commands/tools/photo-session/photo-session.command.js +14 -6
  29. package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +9 -43
  30. package/build/commands/tools/photo-session/retry-photo-session-job.command.js +3 -2
  31. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +8 -43
  32. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.js +1 -1
  33. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.d.ts +8 -43
  34. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.js +1 -1
  35. package/build/commands/tools/photo-session/update-photo-session-job-title.command.d.ts +93 -54
  36. package/build/commands/tools/photo-session/update-photo-session-job-title.command.js +1 -1
  37. package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.d.ts +8 -43
  38. package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.js +1 -1
  39. package/build/commands/tools/tts/create-voice-clone.command.d.ts +1 -0
  40. package/build/commands/tools/tts/find-voice-by-uuid.query.d.ts +1 -0
  41. package/build/commands/tools/tts/find-voices.query.d.ts +4 -1
  42. package/build/commands/tools/tts/find-voices.query.js +4 -0
  43. package/build/commands/tools/tts/get-tts-tool-config.command.d.ts +2 -0
  44. package/build/commands/tools/tts/retry-tts-job.command.js +1 -0
  45. package/build/commands/tools/tts/select-voice-design.command.d.ts +1 -0
  46. package/build/commands/tools/tts/update-voice.command.d.ts +1 -0
  47. package/build/constants/tool-tts/enums/index.d.ts +2 -0
  48. package/build/constants/tool-tts/enums/index.js +2 -0
  49. package/build/constants/tool-tts/enums/voice-provider-filter.enum.d.ts +6 -0
  50. package/build/constants/tool-tts/enums/voice-provider-filter.enum.js +10 -0
  51. package/build/constants/tool-tts/enums/voice-provider.enum.d.ts +5 -0
  52. package/build/constants/tool-tts/enums/voice-provider.enum.js +9 -0
  53. package/build/models/canvas-node-definition.schema.d.ts +12 -0
  54. package/build/models/tools/photo-session/identity.schema.d.ts +4 -0
  55. package/build/models/tools/photo-session/identity.schema.js +14 -0
  56. package/build/models/tools/photo-session/index.d.ts +2 -0
  57. package/build/models/tools/photo-session/index.js +2 -0
  58. package/build/models/tools/photo-session/photo-session-config.schema.d.ts +216 -28
  59. package/build/models/tools/photo-session/photo-session-config.schema.js +51 -9
  60. package/build/models/tools/photo-session/photo-session-group.schema.d.ts +176 -0
  61. package/build/models/tools/photo-session/photo-session-group.schema.js +2 -0
  62. package/build/models/tools/photo-session/photo-session-job.schema.d.ts +11 -0
  63. package/build/models/tools/photo-session/photo-session-job.schema.js +3 -0
  64. package/build/models/tools/photo-session/photo-session-model.schema.d.ts +16 -2
  65. package/build/models/tools/photo-session/photo-session-model.schema.js +5 -12
  66. package/build/models/tools/photo-session/photo-session-public.schema.d.ts +326 -0
  67. package/build/models/tools/photo-session/photo-session-public.schema.js +87 -0
  68. package/build/models/tools/photo-session/photo-session-style.schema.d.ts +148 -0
  69. package/build/models/tools/photo-session/photo-session-style.schema.js +3 -0
  70. package/build/models/tools/tts/tts-config.schema.d.ts +2 -0
  71. package/build/models/tools/tts/tts-model.schema.d.ts +3 -0
  72. package/build/models/tools/tts/tts-model.schema.js +5 -0
  73. package/build/models/tools/tts/voice.schema.d.ts +2 -1
  74. package/build/models/tools/tts/voice.schema.js +1 -0
  75. package/package.json +4 -3
@@ -14,6 +14,8 @@ export type TTSVoiceCategory = z.infer<typeof TTSVoiceCategorySchema>;
14
14
  export declare const TTSConfigSchema: z.ZodObject<{
15
15
  models: z.ZodArray<z.ZodObject<{
16
16
  uuid: z.ZodString;
17
+ provider: z.ZodNullable<z.ZodEnum<typeof import("../../..").VOICE_PROVIDER>>;
18
+ aiModel: z.ZodString;
17
19
  title: z.ZodString;
18
20
  description: z.ZodString;
19
21
  pricePerSymbol: z.ZodNumber;
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { VOICE_PROVIDER } from '../../../constants';
2
3
  export declare const TTSVoiceSchema: z.ZodObject<{
3
4
  id: z.ZodString;
4
5
  icon: z.ZodString;
@@ -117,6 +118,8 @@ export declare const TTSModelParams: z.ZodObject<{
117
118
  }, z.core.$strip>;
118
119
  export declare const TTSModelSchema: z.ZodObject<{
119
120
  uuid: z.ZodString;
121
+ provider: z.ZodNullable<z.ZodEnum<typeof VOICE_PROVIDER>>;
122
+ aiModel: z.ZodString;
120
123
  title: z.ZodString;
121
124
  description: z.ZodString;
122
125
  pricePerSymbol: z.ZodNumber;
@@ -4,6 +4,7 @@ exports.TTSModelSchema = exports.TTSModelParams = exports.TTSSliderSchema = expo
4
4
  const zod_1 = require("zod");
5
5
  const icon_variants_schema_1 = require("../../icon-variants.schema");
6
6
  const unlocked_by_subscription_schema_1 = require("../../unlocked-by-subscription.schema");
7
+ const constants_1 = require("../../../constants");
7
8
  exports.TTSVoiceSchema = zod_1.z.object({
8
9
  id: zod_1.z.string(),
9
10
  icon: zod_1.z.string(),
@@ -39,6 +40,10 @@ exports.TTSModelParams = zod_1.z
39
40
  .partial();
40
41
  exports.TTSModelSchema = zod_1.z.object({
41
42
  uuid: zod_1.z.string(),
43
+ /** Провайдер совместимых голосов; null для неизвестной стратегии. */
44
+ provider: zod_1.z.enum(constants_1.VOICE_PROVIDER).nullable(),
45
+ /** Идентификатор модели для определения поддерживаемой разметки текста. */
46
+ aiModel: zod_1.z.string(),
42
47
  title: zod_1.z.string(),
43
48
  description: zod_1.z.string(),
44
49
  pricePerSymbol: zod_1.z.number(),
@@ -1,8 +1,9 @@
1
1
  import { z } from 'zod';
2
- import { JOB_SCOPE, VOICE_CATEGORY, VOICE_GENDER, VOICE_SOURCE, VOICE_STATUS } from '../../../constants';
2
+ import { JOB_SCOPE, VOICE_CATEGORY, VOICE_GENDER, VOICE_SOURCE, VOICE_STATUS, VOICE_PROVIDER } from '../../../constants';
3
3
  export declare const VoiceSchema: z.ZodObject<{
4
4
  uuid: z.ZodUUID;
5
5
  scope: z.ZodEnum<typeof JOB_SCOPE>;
6
+ provider: z.ZodEnum<typeof VOICE_PROVIDER>;
6
7
  source: z.ZodObject<{
7
8
  id: z.ZodEnum<typeof VOICE_SOURCE>;
8
9
  label: z.ZodString;
@@ -6,6 +6,7 @@ const constants_1 = require("../../../constants");
6
6
  exports.VoiceSchema = zod_1.z.object({
7
7
  uuid: zod_1.z.uuid(),
8
8
  scope: zod_1.z.enum(constants_1.JOB_SCOPE),
9
+ provider: zod_1.z.enum(constants_1.VOICE_PROVIDER),
9
10
  source: zod_1.z.object({
10
11
  id: zod_1.z.enum(constants_1.VOICE_SOURCE),
11
12
  label: zod_1.z.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.20.4",
3
+ "version": "0.20.6-stage-2",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -15,7 +15,8 @@
15
15
  "author": "",
16
16
  "license": "ISC",
17
17
  "dependencies": {
18
- "@purpleschool/rugpt-lib-common": "^0.0.112",
19
- "zod": "4.6.5"
18
+ "@purpleschool/rugpt-lib-common": "0.0.115",
19
+ "zod": "4.6.5",
20
+ "@purpleschool/gptbot-tools": "0.4.27-stage-2"
20
21
  }
21
22
  }