@purpleschool/gptbot 0.14.48 → 0.14.50
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/commands/ai-studio/canvas-node/find-canvas-node-definitions-with-configs.query.d.ts +31 -2
- package/build/commands/community/create-community-post.command.d.ts +10 -0
- package/build/commands/community/get-all-community-posts-by-criteria.command.d.ts +10 -0
- package/build/commands/community/get-community-post-by-uuid.command.d.ts +10 -0
- package/build/commands/community/get-my-community-posts-by-criteria.command.d.ts +10 -0
- package/build/commands/community/get-my-favorite-community-posts.command.d.ts +10 -0
- package/build/commands/community/get-my-likes-community-posts.command.d.ts +10 -0
- package/build/commands/community/set-like-community-post.command.d.ts +10 -0
- package/build/commands/tools/marketplace-card/get-marketplace-card-config.command.d.ts +6 -1
- package/build/commands/tools/solving-edu-task/get-solving-edu-task-tool-config.command.d.ts +5 -0
- package/build/commands/tools/video-editor/edit-video.command.d.ts +13 -0
- package/build/commands/tools/video-editor/edit-video.command.js +1 -0
- package/build/commands/tools/video-editor/find-video-editor-job-by-id.command.d.ts +5 -0
- package/build/commands/tools/video-editor/find-video-editor-jobs.command.d.ts +5 -0
- package/build/commands/tools/video-editor/get-video-editor-config.command.d.ts +31 -2
- package/build/commands/tools/video-editor/retry-video-editor-job.command.d.ts +13 -0
- package/build/commands/tools/video-editor/retry-video-editor-job.command.js +1 -0
- package/build/commands/tools/video-editor/set-reaction-to-video-editor-job.command.d.ts +5 -0
- package/build/commands/tools/video-editor/update-video-editor-job-favorite.command.d.ts +5 -0
- package/build/commands/tools/video-editor/update-video-editor-job-title.command.d.ts +5 -0
- package/build/constants/tool-video-editor/enums/index.d.ts +0 -1
- package/build/constants/tool-video-editor/enums/index.js +0 -1
- package/build/constants/tool-video-editor/enums/video-editor-model-limitation.enum.d.ts +2 -1
- package/build/constants/tool-video-editor/enums/video-editor-model-limitation.enum.js +1 -0
- package/build/models/canvas-node-definition.schema.d.ts +93 -6
- package/build/models/community/community-post-media-data.schema.d.ts +20 -0
- package/build/models/community/community-post-media-data.schema.js +4 -0
- package/build/models/community/community-post.schema.d.ts +30 -0
- package/build/models/tools/marketplace-card/marketplace-card-config.schema.d.ts +13 -2
- package/build/models/tools/marketplace-card/marketplace-card-config.schema.js +5 -1
- package/build/models/tools/solving-edu-task/solving-edu-task-config.schema.d.ts +5 -0
- package/build/models/tools/solving-edu-task/solving-edu-task-model.schema.d.ts +5 -0
- package/build/models/tools/solving-edu-task/solving-edu-task-model.schema.js +3 -0
- package/build/models/tools/video-editor/video-editor-config.schema.d.ts +31 -2
- package/build/models/tools/video-editor/video-editor-job.schema.d.ts +9 -0
- package/build/models/tools/video-editor/video-editor-job.schema.js +5 -0
- package/build/models/tools/video-editor/video-editor-model.schema.d.ts +65 -2
- package/build/models/tools/video-editor/video-editor-model.schema.js +40 -2
- package/package.json +1 -1
- package/build/constants/tool-video-editor/enums/video-editor-model-strategy.enum.d.ts +0 -3
- package/build/constants/tool-video-editor/enums/video-editor-model-strategy.enum.js +0 -7
|
@@ -7,6 +7,39 @@ const video_editor_pricing_rule_type_enum_1 = require("../../../constants/tool-v
|
|
|
7
7
|
const icon_variants_schema_1 = require("../../icon-variants.schema");
|
|
8
8
|
const unlocked_by_subscription_schema_1 = require("../../unlocked-by-subscription.schema");
|
|
9
9
|
exports.VideoEditorModelParamsSchema = zod_1.z.object({
|
|
10
|
+
imageAttachment: zod_1.z
|
|
11
|
+
.object({
|
|
12
|
+
supported: zod_1.z.boolean(),
|
|
13
|
+
maxImages: zod_1.z.number(),
|
|
14
|
+
maxFileSizeMb: zod_1.z.number().optional(),
|
|
15
|
+
})
|
|
16
|
+
.optional(),
|
|
17
|
+
referenceImageAttachment: zod_1.z
|
|
18
|
+
.object({
|
|
19
|
+
supported: zod_1.z.boolean(),
|
|
20
|
+
maxImages: zod_1.z.number(),
|
|
21
|
+
formats: zod_1.z.array(zod_1.z.string()).optional(),
|
|
22
|
+
minWidthToHeightRatio: zod_1.z.number().optional(),
|
|
23
|
+
maxWidthToHeightRatio: zod_1.z.number().optional(),
|
|
24
|
+
minWidthPx: zod_1.z.number().optional(),
|
|
25
|
+
maxWidthPx: zod_1.z.number().optional(),
|
|
26
|
+
minHeightPx: zod_1.z.number().optional(),
|
|
27
|
+
maxHeightPx: zod_1.z.number().optional(),
|
|
28
|
+
maxFileSizeMb: zod_1.z.number().optional(),
|
|
29
|
+
})
|
|
30
|
+
.optional(),
|
|
31
|
+
audioAttachment: zod_1.z
|
|
32
|
+
.object({
|
|
33
|
+
supported: zod_1.z.boolean(),
|
|
34
|
+
maxAudios: zod_1.z.number(),
|
|
35
|
+
maxDurationSeconds: zod_1.z.number(),
|
|
36
|
+
minDurationSeconds: zod_1.z.number().optional(),
|
|
37
|
+
maxTotalDurationSeconds: zod_1.z.number().optional(),
|
|
38
|
+
maxFileSizeMb: zod_1.z.number().optional(),
|
|
39
|
+
formats: zod_1.z.array(zod_1.z.string()).optional(),
|
|
40
|
+
mimeTypes: zod_1.z.array(zod_1.z.string()).optional(),
|
|
41
|
+
})
|
|
42
|
+
.optional(),
|
|
10
43
|
duration: zod_1.z
|
|
11
44
|
.object({
|
|
12
45
|
options: zod_1.z.array(zod_1.z.number()),
|
|
@@ -17,14 +50,21 @@ exports.VideoEditorModelParamsSchema = zod_1.z.object({
|
|
|
17
50
|
options: zod_1.z.array(zod_1.z.string()),
|
|
18
51
|
})
|
|
19
52
|
.optional(),
|
|
53
|
+
aspectRatio: zod_1.z
|
|
54
|
+
.object({
|
|
55
|
+
options: zod_1.z.array(zod_1.z.string()),
|
|
56
|
+
})
|
|
57
|
+
.optional(),
|
|
20
58
|
});
|
|
21
59
|
exports.VideoEditorPricingRequestParamsSchema = zod_1.z.object({
|
|
22
60
|
duration: zod_1.z.number(),
|
|
23
61
|
resolution: zod_1.z.string().optional(),
|
|
62
|
+
aspectRatio: zod_1.z.string().optional(),
|
|
24
63
|
});
|
|
25
64
|
exports.VideoEditorModelPricingRuleConditionSchema = zod_1.z.object({
|
|
26
65
|
duration: zod_1.z.number().optional(),
|
|
27
66
|
resolution: zod_1.z.string().optional(),
|
|
67
|
+
aspectRatio: zod_1.z.string().optional(),
|
|
28
68
|
});
|
|
29
69
|
exports.VideoEditorModelPricingRulesSchema = zod_1.z.array(zod_1.z.object({
|
|
30
70
|
type: zod_1.z.nativeEnum(video_editor_pricing_rule_type_enum_1.VIDEO_EDITOR_PRICING_RULE_TYPE),
|
|
@@ -36,7 +76,6 @@ exports.VideoEditorModelSchema = zod_1.z.object({
|
|
|
36
76
|
title: zod_1.z.string(),
|
|
37
77
|
description: zod_1.z.string(),
|
|
38
78
|
aiModel: zod_1.z.string(),
|
|
39
|
-
pricePerCall: zod_1.z.number(),
|
|
40
79
|
order: zod_1.z.number(),
|
|
41
80
|
icons: icon_variants_schema_1.IconVariantsSchema,
|
|
42
81
|
maxPromptLength: zod_1.z.number(),
|
|
@@ -50,5 +89,4 @@ exports.VideoEditorModelSchema = zod_1.z.object({
|
|
|
50
89
|
unlockedBy: unlocked_by_subscription_schema_1.UnlockedBySchema.nullable(),
|
|
51
90
|
limitations: zod_1.z.array(zod_1.z.nativeEnum(video_editor_model_limitation_enum_1.VIDEO_EDITOR_MODEL_LIMITATION)),
|
|
52
91
|
canUse: zod_1.z.boolean(),
|
|
53
|
-
status: zod_1.z.string(),
|
|
54
92
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VIDEO_EDITOR_MODEL_STRATEGY = void 0;
|
|
4
|
-
var VIDEO_EDITOR_MODEL_STRATEGY;
|
|
5
|
-
(function (VIDEO_EDITOR_MODEL_STRATEGY) {
|
|
6
|
-
VIDEO_EDITOR_MODEL_STRATEGY["LUMA_MODIFY_POLLING"] = "LUMA_MODIFY_POLLING";
|
|
7
|
-
})(VIDEO_EDITOR_MODEL_STRATEGY || (exports.VIDEO_EDITOR_MODEL_STRATEGY = VIDEO_EDITOR_MODEL_STRATEGY = {}));
|