@purpleschool/gptbot 0.14.53 → 0.14.59-stage2

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 (138) hide show
  1. package/build/api/controllers/http/index.d.ts +1 -0
  2. package/build/api/controllers/http/index.js +1 -0
  3. package/build/api/controllers/http/photo-session.d.ts +20 -0
  4. package/build/api/controllers/http/photo-session.js +23 -0
  5. package/build/api/controllers/http/tts.d.ts +9 -0
  6. package/build/api/controllers/http/tts.js +9 -0
  7. package/build/api/routes.d.ts +44 -0
  8. package/build/api/routes.js +44 -0
  9. package/build/commands/ai-studio/canvas-node/find-canvas-node-definitions-with-configs.query.d.ts +11 -0
  10. package/build/commands/tools/index.d.ts +1 -0
  11. package/build/commands/tools/index.js +1 -0
  12. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.d.ts +39 -0
  13. package/build/commands/tools/photo-session/admin/create-photo-session-style.command.js +22 -0
  14. package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.d.ts +9 -0
  15. package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.js +11 -0
  16. package/build/commands/tools/photo-session/admin/index.d.ts +3 -0
  17. package/build/commands/tools/photo-session/admin/index.js +19 -0
  18. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.d.ts +45 -0
  19. package/build/commands/tools/photo-session/admin/update-photo-session-style.command.js +31 -0
  20. package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.d.ts +5 -0
  21. package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.js +8 -0
  22. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.d.ts +9 -0
  23. package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.js +11 -0
  24. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.d.ts +61 -0
  25. package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.js +14 -0
  26. package/build/commands/tools/photo-session/find-photo-session-jobs.command.d.ts +70 -0
  27. package/build/commands/tools/photo-session/find-photo-session-jobs.command.js +24 -0
  28. package/build/commands/tools/photo-session/get-photo-session-config.command.d.ts +76 -0
  29. package/build/commands/tools/photo-session/get-photo-session-config.command.js +11 -0
  30. package/build/commands/tools/photo-session/get-photo-session-price.command.d.ts +32 -0
  31. package/build/commands/tools/photo-session/get-photo-session-price.command.js +27 -0
  32. package/build/commands/tools/photo-session/index.d.ts +12 -0
  33. package/build/commands/tools/photo-session/index.js +28 -0
  34. package/build/commands/tools/photo-session/photo-session.command.d.ts +87 -0
  35. package/build/commands/tools/photo-session/photo-session.command.js +33 -0
  36. package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +85 -0
  37. package/build/commands/tools/photo-session/retry-photo-session-job.command.js +32 -0
  38. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +67 -0
  39. package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.js +28 -0
  40. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.d.ts +65 -0
  41. package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.js +17 -0
  42. package/build/commands/tools/photo-session/update-photo-session-job-title.command.d.ts +65 -0
  43. package/build/commands/tools/photo-session/update-photo-session-job-title.command.js +17 -0
  44. package/build/commands/tools/tts/create-voice-clone.command.d.ts +32 -0
  45. package/build/commands/tools/tts/create-voice-clone.command.js +17 -0
  46. package/build/commands/tools/tts/create-voice-design.command.d.ts +22 -0
  47. package/build/commands/tools/tts/create-voice-design.command.js +17 -0
  48. package/build/commands/tools/tts/delete-voice.command.d.ts +9 -0
  49. package/build/commands/tools/tts/delete-voice.command.js +11 -0
  50. package/build/commands/tools/tts/download-tts-job.command.d.ts +18 -0
  51. package/build/commands/tools/tts/download-tts-job.command.js +17 -0
  52. package/build/commands/tools/tts/find-tts-job-by-uuid.command.d.ts +13 -1
  53. package/build/commands/tools/tts/find-tts-jobs.command.d.ts +13 -1
  54. package/build/commands/tools/tts/find-voice-by-uuid.query.d.ts +29 -0
  55. package/build/commands/tools/tts/find-voice-by-uuid.query.js +14 -0
  56. package/build/commands/tools/tts/find-voices.query.d.ts +37 -0
  57. package/build/commands/tools/tts/find-voices.query.js +18 -0
  58. package/build/commands/tools/tts/get-tts-tool-config.command.d.ts +11 -0
  59. package/build/commands/tools/tts/improve-tts-text.command.d.ts +13 -0
  60. package/build/commands/tools/tts/improve-tts-text.command.js +13 -0
  61. package/build/commands/tools/tts/index.d.ts +9 -0
  62. package/build/commands/tools/tts/index.js +9 -0
  63. package/build/commands/tools/tts/retry-tts-job.command.d.ts +13 -1
  64. package/build/commands/tools/tts/select-voice-design.command.d.ts +33 -0
  65. package/build/commands/tools/tts/select-voice-design.command.js +17 -0
  66. package/build/commands/tools/tts/set-reaction-to-tts-job.command.d.ts +13 -1
  67. package/build/commands/tools/tts/tts.command.d.ts +6 -1
  68. package/build/commands/tools/tts/tts.command.js +7 -1
  69. package/build/commands/tools/tts/update-tts-job-favorite.command.d.ts +13 -1
  70. package/build/commands/tools/tts/update-tts-job-title.command.d.ts +13 -1
  71. package/build/commands/tools/tts/update-voice.command.d.ts +33 -0
  72. package/build/commands/tools/tts/update-voice.command.js +17 -0
  73. package/build/constants/index.d.ts +2 -0
  74. package/build/constants/index.js +2 -0
  75. package/build/constants/tool/enums/tool-content-type.enum.d.ts +1 -1
  76. package/build/constants/tool/enums/tool-content-type.enum.js +1 -1
  77. package/build/constants/tool-photo-session/enums/index.d.ts +3 -0
  78. package/build/constants/tool-photo-session/enums/index.js +19 -0
  79. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.d.ts +5 -0
  80. package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.js +9 -0
  81. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.d.ts +3 -0
  82. package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.js +7 -0
  83. package/build/constants/tool-photo-session/enums/photo-session-strategy.enum.d.ts +4 -0
  84. package/build/constants/tool-photo-session/enums/photo-session-strategy.enum.js +8 -0
  85. package/build/constants/tool-photo-session/index.d.ts +1 -0
  86. package/build/constants/tool-photo-session/index.js +17 -0
  87. package/build/constants/tool-tts/enums/index.d.ts +7 -0
  88. package/build/constants/tool-tts/enums/index.js +23 -0
  89. package/build/constants/tool-tts/enums/tts-download-format.enum.d.ts +5 -0
  90. package/build/constants/tool-tts/enums/tts-download-format.enum.js +9 -0
  91. package/build/constants/tool-tts/enums/voice-category.enum.d.ts +14 -0
  92. package/build/constants/tool-tts/enums/voice-category.enum.js +18 -0
  93. package/build/constants/tool-tts/enums/voice-gender.enum.d.ts +4 -0
  94. package/build/constants/tool-tts/enums/voice-gender.enum.js +8 -0
  95. package/build/constants/tool-tts/enums/voice-source.enum.d.ts +5 -0
  96. package/build/constants/tool-tts/enums/voice-source.enum.js +9 -0
  97. package/build/constants/tool-tts/enums/voice-status.enum.d.ts +5 -0
  98. package/build/constants/tool-tts/enums/voice-status.enum.js +9 -0
  99. package/build/constants/tool-tts/enums/voice-tag-group.enum.d.ts +5 -0
  100. package/build/constants/tool-tts/enums/voice-tag-group.enum.js +9 -0
  101. package/build/constants/tool-tts/enums/voice-tag.enum.d.ts +20 -0
  102. package/build/constants/tool-tts/enums/voice-tag.enum.js +24 -0
  103. package/build/constants/tool-tts/index.d.ts +1 -0
  104. package/build/constants/tool-tts/index.js +17 -0
  105. package/build/helpers/index.d.ts +1 -0
  106. package/build/helpers/index.js +1 -0
  107. package/build/helpers/photo-session/calculate-photo-session-price.helper.d.ts +6 -0
  108. package/build/helpers/photo-session/calculate-photo-session-price.helper.js +13 -0
  109. package/build/helpers/photo-session/index.d.ts +1 -0
  110. package/build/helpers/photo-session/index.js +17 -0
  111. package/build/models/canvas-node-definition.schema.d.ts +33 -0
  112. package/build/models/tools/index.d.ts +1 -0
  113. package/build/models/tools/index.js +1 -0
  114. package/build/models/tools/photo-session/index.d.ts +4 -0
  115. package/build/models/tools/photo-session/index.js +20 -0
  116. package/build/models/tools/photo-session/photo-session-config.schema.d.ts +77 -0
  117. package/build/models/tools/photo-session/photo-session-config.schema.js +16 -0
  118. package/build/models/tools/photo-session/photo-session-job.schema.d.ts +77 -0
  119. package/build/models/tools/photo-session/photo-session-job.schema.js +45 -0
  120. package/build/models/tools/photo-session/photo-session-model.schema.d.ts +73 -0
  121. package/build/models/tools/photo-session/photo-session-model.schema.js +45 -0
  122. package/build/models/tools/photo-session/photo-session-style.schema.d.ts +29 -0
  123. package/build/models/tools/photo-session/photo-session-style.schema.js +22 -0
  124. package/build/models/tools/tts/index.d.ts +3 -0
  125. package/build/models/tools/tts/index.js +3 -0
  126. package/build/models/tools/tts/tts-config.schema.d.ts +23 -0
  127. package/build/models/tools/tts/tts-config.schema.js +14 -1
  128. package/build/models/tools/tts/tts-job.schema.d.ts +26 -1
  129. package/build/models/tools/tts/tts-job.schema.js +16 -2
  130. package/build/models/tools/tts/tts-model.schema.d.ts +1 -0
  131. package/build/models/tools/tts/tts-model.schema.js +1 -0
  132. package/build/models/tools/tts/voice-design-draft.schema.d.ts +12 -0
  133. package/build/models/tools/tts/voice-design-draft.schema.js +12 -0
  134. package/build/models/tools/tts/voice-design-sample.schema.d.ts +6 -0
  135. package/build/models/tools/tts/voice-design-sample.schema.js +8 -0
  136. package/build/models/tools/tts/voice.schema.d.ts +22 -0
  137. package/build/models/tools/tts/voice.schema.js +24 -0
  138. package/package.json +1 -1
@@ -0,0 +1,22 @@
1
+ import { z } from 'zod';
2
+ import { VOICE_CATEGORY, VOICE_GENDER, VOICE_SOURCE, VOICE_STATUS } from '../../../constants';
3
+ export declare const VoiceSchema: z.ZodObject<{
4
+ uuid: z.ZodString;
5
+ source: z.ZodEnum<typeof VOICE_SOURCE>;
6
+ title: z.ZodString;
7
+ description: z.ZodString;
8
+ gender: z.ZodNullable<z.ZodEnum<typeof VOICE_GENDER>>;
9
+ trait: z.ZodNullable<z.ZodString>;
10
+ ageRange: z.ZodNullable<z.ZodString>;
11
+ categories: z.ZodArray<z.ZodEnum<typeof VOICE_CATEGORY>>;
12
+ previewUrl: z.ZodString;
13
+ status: z.ZodEnum<typeof VOICE_STATUS>;
14
+ error: z.ZodNullable<z.ZodString>;
15
+ order: z.ZodNumber;
16
+ isDeleted: z.ZodBoolean;
17
+ userId: z.ZodNullable<z.ZodString>;
18
+ unregisteredUserId: z.ZodNullable<z.ZodString>;
19
+ createdAt: z.ZodDate;
20
+ updatedAt: z.ZodDate;
21
+ }, z.core.$strip>;
22
+ export type Voice = z.infer<typeof VoiceSchema>;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VoiceSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const constants_1 = require("../../../constants");
6
+ exports.VoiceSchema = zod_1.z.object({
7
+ uuid: zod_1.z.string().uuid(),
8
+ source: zod_1.z.nativeEnum(constants_1.VOICE_SOURCE),
9
+ title: zod_1.z.string(),
10
+ description: zod_1.z.string(),
11
+ gender: zod_1.z.nativeEnum(constants_1.VOICE_GENDER).nullable(),
12
+ trait: zod_1.z.string().nullable(),
13
+ ageRange: zod_1.z.string().nullable(),
14
+ categories: zod_1.z.array(zod_1.z.nativeEnum(constants_1.VOICE_CATEGORY)),
15
+ previewUrl: zod_1.z.string(),
16
+ status: zod_1.z.nativeEnum(constants_1.VOICE_STATUS),
17
+ error: zod_1.z.string().nullable(),
18
+ order: zod_1.z.number(),
19
+ isDeleted: zod_1.z.boolean(),
20
+ userId: zod_1.z.string().uuid().nullable(),
21
+ unregisteredUserId: zod_1.z.string().uuid().nullable(),
22
+ createdAt: zod_1.z.date(),
23
+ updatedAt: zod_1.z.date(),
24
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.14.53",
3
+ "version": "0.14.59-stage2",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",