@purpleschool/gptbot-tools 0.2.39 → 0.2.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/common/enums/job-scope.enum.js +1 -0
- package/build/stt/models/stt-model.schema.js +1 -0
- package/build/stt/queries/get-stt-config.query.js +4 -1
- package/build/tts/models/tts-model.schema.js +1 -0
- package/build/tts/queries/get-tts-config.query.js +4 -1
- package/build/video/models/video-model.schema.js +1 -0
- package/build/video/queries/get-video-config.query.js +4 -1
- package/common/enums/job-scope.enum.ts +1 -0
- package/package.json +1 -1
- package/stt/models/stt-model.schema.ts +1 -0
- package/stt/queries/get-stt-config.query.ts +3 -1
- package/tts/models/tts-model.schema.ts +1 -0
- package/tts/queries/get-tts-config.query.ts +3 -1
- package/video/models/video-model.schema.ts +1 -0
- package/video/queries/get-video-config.query.ts +3 -1
|
@@ -11,6 +11,7 @@ exports.STTModelSchema = zod_1.z.object({
|
|
|
11
11
|
pricePerSecond: zod_1.z.number(),
|
|
12
12
|
order: zod_1.z.number(),
|
|
13
13
|
status: zod_1.z.nativeEnum(common_1.TOOL_MODEL_STATUS),
|
|
14
|
+
isHidden: zod_1.z.boolean(),
|
|
14
15
|
icons: common_1.IconVariantsSchema,
|
|
15
16
|
strategy: zod_1.z.string().optional(),
|
|
16
17
|
maxDurationSeconds: zod_1.z.number(),
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetSTTConfigQuery = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
4
5
|
const common_1 = require("../../common");
|
|
5
6
|
const models_1 = require("../models");
|
|
6
7
|
var GetSTTConfigQuery;
|
|
7
8
|
(function (GetSTTConfigQuery) {
|
|
8
|
-
GetSTTConfigQuery.RequestSchema = common_1.LocaleRequestSchema
|
|
9
|
+
GetSTTConfigQuery.RequestSchema = common_1.LocaleRequestSchema.extend({
|
|
10
|
+
includeHidden: zod_1.z.boolean().optional(),
|
|
11
|
+
});
|
|
9
12
|
GetSTTConfigQuery.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.STTConfigSchema);
|
|
10
13
|
})(GetSTTConfigQuery || (exports.GetSTTConfigQuery = GetSTTConfigQuery = {}));
|
|
@@ -45,6 +45,7 @@ exports.TTSModelSchema = zod_1.z.object({
|
|
|
45
45
|
pricePerSymbol: zod_1.z.number(),
|
|
46
46
|
order: zod_1.z.number(),
|
|
47
47
|
status: zod_1.z.nativeEnum(common_1.TOOL_MODEL_STATUS),
|
|
48
|
+
isHidden: zod_1.z.boolean(),
|
|
48
49
|
icons: common_1.IconVariantsSchema,
|
|
49
50
|
strategy: zod_1.z.string().optional(),
|
|
50
51
|
maxInputLength: zod_1.z.number(),
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetTTSConfigQuery = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
4
5
|
const common_1 = require("../../common");
|
|
5
6
|
const models_1 = require("../models");
|
|
6
7
|
var GetTTSConfigQuery;
|
|
7
8
|
(function (GetTTSConfigQuery) {
|
|
8
|
-
GetTTSConfigQuery.RequestSchema = common_1.LocaleRequestSchema
|
|
9
|
+
GetTTSConfigQuery.RequestSchema = common_1.LocaleRequestSchema.extend({
|
|
10
|
+
includeHidden: zod_1.z.boolean().optional(),
|
|
11
|
+
});
|
|
9
12
|
GetTTSConfigQuery.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.TTSConfigSchema);
|
|
10
13
|
})(GetTTSConfigQuery || (exports.GetTTSConfigQuery = GetTTSConfigQuery = {}));
|
|
@@ -102,6 +102,7 @@ exports.VideoModelSchema = zod_1.z.object({
|
|
|
102
102
|
pricePerSecond: zod_1.z.number(),
|
|
103
103
|
order: zod_1.z.number(),
|
|
104
104
|
isNew: zod_1.z.boolean(),
|
|
105
|
+
isHidden: zod_1.z.boolean(),
|
|
105
106
|
status: zod_1.z.nativeEnum(common_1.TOOL_MODEL_STATUS),
|
|
106
107
|
icons: common_1.IconVariantsSchema,
|
|
107
108
|
strategy: zod_1.z.nativeEnum(enums_1.VIDEO_GENERATION_STRATEGY),
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetVideoConfigQuery = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
4
5
|
const common_1 = require("../../common");
|
|
5
6
|
const models_1 = require("../models");
|
|
6
7
|
var GetVideoConfigQuery;
|
|
7
8
|
(function (GetVideoConfigQuery) {
|
|
8
|
-
GetVideoConfigQuery.RequestSchema = common_1.LocaleRequestSchema
|
|
9
|
+
GetVideoConfigQuery.RequestSchema = common_1.LocaleRequestSchema.extend({
|
|
10
|
+
includeHidden: zod_1.z.boolean().optional(),
|
|
11
|
+
});
|
|
9
12
|
GetVideoConfigQuery.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.VideoConfigSchema);
|
|
10
13
|
})(GetVideoConfigQuery || (exports.GetVideoConfigQuery = GetVideoConfigQuery = {}));
|
package/package.json
CHANGED
|
@@ -3,7 +3,9 @@ import { ICommandResponseSchema, LocaleRequestSchema } from '../../common';
|
|
|
3
3
|
import { STTConfigSchema } from '../models';
|
|
4
4
|
|
|
5
5
|
export namespace GetSTTConfigQuery {
|
|
6
|
-
export const RequestSchema = LocaleRequestSchema
|
|
6
|
+
export const RequestSchema = LocaleRequestSchema.extend({
|
|
7
|
+
includeHidden: z.boolean().optional(),
|
|
8
|
+
});
|
|
7
9
|
export type Request = z.infer<typeof RequestSchema>;
|
|
8
10
|
|
|
9
11
|
export const ResponseSchema = ICommandResponseSchema(STTConfigSchema);
|
|
@@ -3,7 +3,9 @@ import { ICommandResponseSchema, LocaleRequestSchema } from '../../common';
|
|
|
3
3
|
import { TTSConfigSchema } from '../models';
|
|
4
4
|
|
|
5
5
|
export namespace GetTTSConfigQuery {
|
|
6
|
-
export const RequestSchema = LocaleRequestSchema
|
|
6
|
+
export const RequestSchema = LocaleRequestSchema.extend({
|
|
7
|
+
includeHidden: z.boolean().optional(),
|
|
8
|
+
});
|
|
7
9
|
export type Request = z.infer<typeof RequestSchema>;
|
|
8
10
|
|
|
9
11
|
export const ResponseSchema = ICommandResponseSchema(TTSConfigSchema);
|
|
@@ -120,6 +120,7 @@ export const VideoModelSchema = z.object({
|
|
|
120
120
|
pricePerSecond: z.number(),
|
|
121
121
|
order: z.number(),
|
|
122
122
|
isNew: z.boolean(),
|
|
123
|
+
isHidden: z.boolean(),
|
|
123
124
|
status: z.nativeEnum(TOOL_MODEL_STATUS),
|
|
124
125
|
icons: IconVariantsSchema,
|
|
125
126
|
strategy: z.nativeEnum(VIDEO_GENERATION_STRATEGY),
|
|
@@ -3,7 +3,9 @@ import { ICommandResponseSchema, LocaleRequestSchema } from '../../common';
|
|
|
3
3
|
import { VideoConfigSchema } from '../models';
|
|
4
4
|
|
|
5
5
|
export namespace GetVideoConfigQuery {
|
|
6
|
-
export const RequestSchema = LocaleRequestSchema
|
|
6
|
+
export const RequestSchema = LocaleRequestSchema.extend({
|
|
7
|
+
includeHidden: z.boolean().optional(),
|
|
8
|
+
});
|
|
7
9
|
export type Request = z.infer<typeof RequestSchema>;
|
|
8
10
|
|
|
9
11
|
export const ResponseSchema = ICommandResponseSchema(VideoConfigSchema);
|