@purpleschool/gptbot-tools 0.2.54 → 0.2.56
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/marketplace-card/models/marketplace-card-config.schema.d.ts +0 -1
- package/build/marketplace-card/models/marketplace-card-model.schema.d.ts +0 -1
- package/build/marketplace-card/models/marketplace-card-model.schema.js +0 -1
- package/build/marketplace-card/queries/get-marketplace-card-config.query.d.ts +0 -2
- package/build/paraphrase/models/paraphrase-tool-config.schema.d.ts +1 -0
- package/build/paraphrase/models/paraphrase-type.schema.d.ts +2 -1
- package/build/paraphrase/models/paraphrase-type.schema.js +1 -0
- package/build/paraphrase/queries/get-paraphrase-tool-config.query.d.ts +2 -0
- package/build/spell-corrector/models/spell-corrector-model.schema.d.ts +2 -1
- package/build/spell-corrector/models/spell-corrector-model.schema.js +1 -0
- package/build/spell-corrector/models/spell-corrector-tool-config.schema.d.ts +1 -0
- package/build/spell-corrector/queries/get-spell-corrector-tool-config.query.d.ts +2 -0
- package/build/tools/models/global-tools-config.schema.d.ts +33 -1
- package/build/tools/models/tools-with-configs.schema.d.ts +66 -2
- package/build/tools/queries/get-global-tools-config.query.d.ts +66 -2
- package/build/tools/queries/get-tools-with-configs.query.d.ts +66 -2
- package/build/video-editor/commands/edit-video.command.d.ts +57 -0
- package/build/video-editor/commands/edit-video.command.js +1 -1
- package/build/video-editor/commands/get-video-editor-price.command.d.ts +1 -0
- package/build/video-editor/commands/retry-video-editor-job.command.d.ts +57 -0
- package/build/video-editor/commands/set-reaction-to-video-editor-job.command.d.ts +38 -0
- package/build/video-editor/commands/update-published-status-video-editor-jobs.command.d.ts +38 -0
- package/build/video-editor/commands/update-video-editor-job-favorite.command.d.ts +38 -0
- package/build/video-editor/commands/update-video-editor-job-title.command.d.ts +38 -0
- package/build/video-editor/commands/video-editor-model/get-video-editor-model.command.d.ts +62 -0
- package/build/video-editor/enums/video-editor-model-limitation.enum.d.ts +2 -1
- package/build/video-editor/enums/video-editor-model-limitation.enum.js +1 -0
- package/build/video-editor/enums/video-editor-model-strategy.enum.d.ts +2 -5
- package/build/video-editor/enums/video-editor-model-strategy.enum.js +2 -5
- package/build/video-editor/models/video-editor-config.schema.d.ts +31 -0
- package/build/video-editor/models/video-editor-job.schema.d.ts +38 -0
- package/build/video-editor/models/video-editor-job.schema.js +9 -0
- package/build/video-editor/models/video-editor-model.schema.d.ts +64 -0
- package/build/video-editor/models/video-editor-model.schema.js +40 -0
- package/build/video-editor/queries/find-video-editor-job-by-id.query.d.ts +38 -0
- package/build/video-editor/queries/find-video-editor-jobs.query.d.ts +38 -0
- package/build/video-editor/queries/get-video-editor-config.query.d.ts +62 -0
- package/package.json +1 -1
|
@@ -5,8 +5,17 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const tools_1 = require("../../tools");
|
|
6
6
|
const common_1 = require("../../common");
|
|
7
7
|
exports.VideoEditorJobParamsSchema = zod_1.z.object({
|
|
8
|
+
attachedFiles: zod_1.z.array(common_1.AttachedFileSchema).optional(),
|
|
9
|
+
imageUrls: zod_1.z.string().array().optional(),
|
|
10
|
+
imageIds: zod_1.z.array(zod_1.z.string()).optional(),
|
|
11
|
+
videoUrls: zod_1.z.never().optional(),
|
|
12
|
+
referenceImages: zod_1.z.string().array().optional(),
|
|
13
|
+
referenceImageIds: zod_1.z.array(zod_1.z.string()).optional(),
|
|
14
|
+
audioUrls: zod_1.z.array(zod_1.z.string().url()).optional(),
|
|
15
|
+
audioIds: zod_1.z.array(zod_1.z.string()).optional(),
|
|
8
16
|
duration: zod_1.z.number().optional(),
|
|
9
17
|
resolution: zod_1.z.string().optional(),
|
|
18
|
+
aspectRatio: zod_1.z.string().optional(),
|
|
10
19
|
});
|
|
11
20
|
exports.VideoEditorJobSchema = zod_1.z.object({
|
|
12
21
|
uuid: zod_1.z.string(),
|
|
@@ -2,22 +2,54 @@ import { z } from 'zod';
|
|
|
2
2
|
import { TOOL_MODEL_STATUS } from '../../common';
|
|
3
3
|
import { VIDEO_EDITOR_MODEL_LIMITATION, VIDEO_EDITOR_MODEL_STRATEGY, VIDEO_EDITOR_PRICING_RULE_TYPE } from '../enums';
|
|
4
4
|
export declare const VideoEditorModelParamsSchema: z.ZodObject<{
|
|
5
|
+
imageAttachment: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
supported: z.ZodBoolean;
|
|
7
|
+
maxImages: z.ZodNumber;
|
|
8
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
referenceImageAttachment: z.ZodOptional<z.ZodObject<{
|
|
11
|
+
supported: z.ZodBoolean;
|
|
12
|
+
maxImages: z.ZodNumber;
|
|
13
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
|
+
minWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
maxWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
minWidthPx: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
maxWidthPx: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
minHeightPx: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
maxHeightPx: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
audioAttachment: z.ZodOptional<z.ZodObject<{
|
|
23
|
+
supported: z.ZodBoolean;
|
|
24
|
+
maxAudios: z.ZodNumber;
|
|
25
|
+
maxDurationSeconds: z.ZodNumber;
|
|
26
|
+
minDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
maxTotalDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
28
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
30
|
+
mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31
|
+
}, z.core.$strip>>;
|
|
5
32
|
duration: z.ZodOptional<z.ZodObject<{
|
|
6
33
|
options: z.ZodArray<z.ZodNumber>;
|
|
7
34
|
}, z.core.$strip>>;
|
|
8
35
|
resolution: z.ZodOptional<z.ZodObject<{
|
|
9
36
|
options: z.ZodArray<z.ZodString>;
|
|
10
37
|
}, z.core.$strip>>;
|
|
38
|
+
aspectRatio: z.ZodOptional<z.ZodObject<{
|
|
39
|
+
options: z.ZodArray<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
11
41
|
}, z.core.$strip>;
|
|
12
42
|
export type VideoEditorModelParams = z.infer<typeof VideoEditorModelParamsSchema>;
|
|
13
43
|
export declare const VideoEditorPricingRequestParamsSchema: z.ZodObject<{
|
|
14
44
|
duration: z.ZodNumber;
|
|
15
45
|
resolution: z.ZodOptional<z.ZodString>;
|
|
46
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
16
47
|
}, z.core.$strip>;
|
|
17
48
|
export type VideoEditorPricingRequestParams = z.infer<typeof VideoEditorPricingRequestParamsSchema>;
|
|
18
49
|
export declare const VideoEditorModelPricingRuleConditionSchema: z.ZodObject<{
|
|
19
50
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
20
51
|
resolution: z.ZodOptional<z.ZodString>;
|
|
52
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
21
53
|
}, z.core.$strip>;
|
|
22
54
|
export type VideoEditorModelPricingRuleCondition = z.infer<typeof VideoEditorModelPricingRuleConditionSchema>;
|
|
23
55
|
export declare const VideoEditorModelPricingRulesSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -25,6 +57,7 @@ export declare const VideoEditorModelPricingRulesSchema: z.ZodArray<z.ZodObject<
|
|
|
25
57
|
condition: z.ZodObject<{
|
|
26
58
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
27
59
|
resolution: z.ZodOptional<z.ZodString>;
|
|
60
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
28
61
|
}, z.core.$strip>;
|
|
29
62
|
value: z.ZodNumber;
|
|
30
63
|
}, z.core.$strip>>;
|
|
@@ -52,18 +85,49 @@ export declare const VideoEditorModelSchema: z.ZodObject<{
|
|
|
52
85
|
maxInputVideoDurationInSeconds: z.ZodNumber;
|
|
53
86
|
supportedFormats: z.ZodArray<z.ZodString>;
|
|
54
87
|
params: z.ZodObject<{
|
|
88
|
+
imageAttachment: z.ZodOptional<z.ZodObject<{
|
|
89
|
+
supported: z.ZodBoolean;
|
|
90
|
+
maxImages: z.ZodNumber;
|
|
91
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
92
|
+
}, z.core.$strip>>;
|
|
93
|
+
referenceImageAttachment: z.ZodOptional<z.ZodObject<{
|
|
94
|
+
supported: z.ZodBoolean;
|
|
95
|
+
maxImages: z.ZodNumber;
|
|
96
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
97
|
+
minWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
|
|
98
|
+
maxWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
|
|
99
|
+
minWidthPx: z.ZodOptional<z.ZodNumber>;
|
|
100
|
+
maxWidthPx: z.ZodOptional<z.ZodNumber>;
|
|
101
|
+
minHeightPx: z.ZodOptional<z.ZodNumber>;
|
|
102
|
+
maxHeightPx: z.ZodOptional<z.ZodNumber>;
|
|
103
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
104
|
+
}, z.core.$strip>>;
|
|
105
|
+
audioAttachment: z.ZodOptional<z.ZodObject<{
|
|
106
|
+
supported: z.ZodBoolean;
|
|
107
|
+
maxAudios: z.ZodNumber;
|
|
108
|
+
maxDurationSeconds: z.ZodNumber;
|
|
109
|
+
minDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
110
|
+
maxTotalDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
112
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
113
|
+
mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
114
|
+
}, z.core.$strip>>;
|
|
55
115
|
duration: z.ZodOptional<z.ZodObject<{
|
|
56
116
|
options: z.ZodArray<z.ZodNumber>;
|
|
57
117
|
}, z.core.$strip>>;
|
|
58
118
|
resolution: z.ZodOptional<z.ZodObject<{
|
|
59
119
|
options: z.ZodArray<z.ZodString>;
|
|
60
120
|
}, z.core.$strip>>;
|
|
121
|
+
aspectRatio: z.ZodOptional<z.ZodObject<{
|
|
122
|
+
options: z.ZodArray<z.ZodString>;
|
|
123
|
+
}, z.core.$strip>>;
|
|
61
124
|
}, z.core.$strip>;
|
|
62
125
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
63
126
|
type: z.ZodEnum<typeof VIDEO_EDITOR_PRICING_RULE_TYPE>;
|
|
64
127
|
condition: z.ZodObject<{
|
|
65
128
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
66
129
|
resolution: z.ZodOptional<z.ZodString>;
|
|
130
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
67
131
|
}, z.core.$strip>;
|
|
68
132
|
value: z.ZodNumber;
|
|
69
133
|
}, z.core.$strip>>;
|
|
@@ -5,6 +5,39 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const common_1 = require("../../common");
|
|
6
6
|
const enums_1 = require("../enums");
|
|
7
7
|
exports.VideoEditorModelParamsSchema = zod_1.z.object({
|
|
8
|
+
imageAttachment: zod_1.z
|
|
9
|
+
.object({
|
|
10
|
+
supported: zod_1.z.boolean(),
|
|
11
|
+
maxImages: zod_1.z.number(),
|
|
12
|
+
maxFileSizeMb: zod_1.z.number().optional(),
|
|
13
|
+
})
|
|
14
|
+
.optional(),
|
|
15
|
+
referenceImageAttachment: zod_1.z
|
|
16
|
+
.object({
|
|
17
|
+
supported: zod_1.z.boolean(),
|
|
18
|
+
maxImages: zod_1.z.number(),
|
|
19
|
+
formats: zod_1.z.array(zod_1.z.string()).optional(),
|
|
20
|
+
minWidthToHeightRatio: zod_1.z.number().optional(),
|
|
21
|
+
maxWidthToHeightRatio: zod_1.z.number().optional(),
|
|
22
|
+
minWidthPx: zod_1.z.number().optional(),
|
|
23
|
+
maxWidthPx: zod_1.z.number().optional(),
|
|
24
|
+
minHeightPx: zod_1.z.number().optional(),
|
|
25
|
+
maxHeightPx: zod_1.z.number().optional(),
|
|
26
|
+
maxFileSizeMb: zod_1.z.number().optional(),
|
|
27
|
+
})
|
|
28
|
+
.optional(),
|
|
29
|
+
audioAttachment: zod_1.z
|
|
30
|
+
.object({
|
|
31
|
+
supported: zod_1.z.boolean(),
|
|
32
|
+
maxAudios: zod_1.z.number(),
|
|
33
|
+
maxDurationSeconds: zod_1.z.number(),
|
|
34
|
+
minDurationSeconds: zod_1.z.number().optional(),
|
|
35
|
+
maxTotalDurationSeconds: zod_1.z.number().optional(),
|
|
36
|
+
maxFileSizeMb: zod_1.z.number().optional(),
|
|
37
|
+
formats: zod_1.z.array(zod_1.z.string()).optional(),
|
|
38
|
+
mimeTypes: zod_1.z.array(zod_1.z.string()).optional(),
|
|
39
|
+
})
|
|
40
|
+
.optional(),
|
|
8
41
|
duration: zod_1.z
|
|
9
42
|
.object({
|
|
10
43
|
options: zod_1.z.array(zod_1.z.number()),
|
|
@@ -15,14 +48,21 @@ exports.VideoEditorModelParamsSchema = zod_1.z.object({
|
|
|
15
48
|
options: zod_1.z.array(zod_1.z.string()),
|
|
16
49
|
})
|
|
17
50
|
.optional(),
|
|
51
|
+
aspectRatio: zod_1.z
|
|
52
|
+
.object({
|
|
53
|
+
options: zod_1.z.array(zod_1.z.string()),
|
|
54
|
+
})
|
|
55
|
+
.optional(),
|
|
18
56
|
});
|
|
19
57
|
exports.VideoEditorPricingRequestParamsSchema = zod_1.z.object({
|
|
20
58
|
duration: zod_1.z.number(),
|
|
21
59
|
resolution: zod_1.z.string().optional(),
|
|
60
|
+
aspectRatio: zod_1.z.string().optional(),
|
|
22
61
|
});
|
|
23
62
|
exports.VideoEditorModelPricingRuleConditionSchema = zod_1.z.object({
|
|
24
63
|
duration: zod_1.z.number().optional(),
|
|
25
64
|
resolution: zod_1.z.string().optional(),
|
|
65
|
+
aspectRatio: zod_1.z.string().optional(),
|
|
26
66
|
});
|
|
27
67
|
exports.VideoEditorModelPricingRulesSchema = zod_1.z.array(zod_1.z.object({
|
|
28
68
|
type: zod_1.z.nativeEnum(enums_1.VIDEO_EDITOR_PRICING_RULE_TYPE),
|
|
@@ -25,8 +25,27 @@ export declare namespace FindVideoEditorJobByIdQuery {
|
|
|
25
25
|
outputVideoId: string | null;
|
|
26
26
|
previewUrl: string | null;
|
|
27
27
|
params?: {
|
|
28
|
+
attachedFiles?: {
|
|
29
|
+
uuid: string;
|
|
30
|
+
url: string;
|
|
31
|
+
name: string;
|
|
32
|
+
mimeType: string;
|
|
33
|
+
type: string;
|
|
34
|
+
size: number;
|
|
35
|
+
duration?: number | null | undefined;
|
|
36
|
+
content?: string | null | undefined;
|
|
37
|
+
contentLength?: number | null | undefined;
|
|
38
|
+
}[] | undefined;
|
|
39
|
+
imageUrls?: string[] | undefined;
|
|
40
|
+
imageIds?: string[] | undefined;
|
|
41
|
+
videoUrls?: undefined;
|
|
42
|
+
referenceImages?: string[] | undefined;
|
|
43
|
+
referenceImageIds?: string[] | undefined;
|
|
44
|
+
audioUrls?: string[] | undefined;
|
|
45
|
+
audioIds?: string[] | undefined;
|
|
28
46
|
duration?: number | undefined;
|
|
29
47
|
resolution?: string | undefined;
|
|
48
|
+
aspectRatio?: string | undefined;
|
|
30
49
|
} | undefined;
|
|
31
50
|
duration: number;
|
|
32
51
|
attempts: any[];
|
|
@@ -57,8 +76,27 @@ export declare namespace FindVideoEditorJobByIdQuery {
|
|
|
57
76
|
outputVideoId: string | null;
|
|
58
77
|
previewUrl: string | null;
|
|
59
78
|
params?: {
|
|
79
|
+
attachedFiles?: {
|
|
80
|
+
uuid: string;
|
|
81
|
+
url: string;
|
|
82
|
+
name: string;
|
|
83
|
+
mimeType: string;
|
|
84
|
+
type: string;
|
|
85
|
+
size: number;
|
|
86
|
+
duration?: number | null | undefined;
|
|
87
|
+
content?: string | null | undefined;
|
|
88
|
+
contentLength?: number | null | undefined;
|
|
89
|
+
}[] | undefined;
|
|
90
|
+
imageUrls?: string[] | undefined;
|
|
91
|
+
imageIds?: string[] | undefined;
|
|
92
|
+
videoUrls?: undefined;
|
|
93
|
+
referenceImages?: string[] | undefined;
|
|
94
|
+
referenceImageIds?: string[] | undefined;
|
|
95
|
+
audioUrls?: string[] | undefined;
|
|
96
|
+
audioIds?: string[] | undefined;
|
|
60
97
|
duration?: number | undefined;
|
|
61
98
|
resolution?: string | undefined;
|
|
99
|
+
aspectRatio?: string | undefined;
|
|
62
100
|
} | undefined;
|
|
63
101
|
duration: number;
|
|
64
102
|
attempts: any[];
|
|
@@ -34,8 +34,27 @@ export declare namespace FindVideoEditorJobsQuery {
|
|
|
34
34
|
outputVideoId: string | null;
|
|
35
35
|
previewUrl: string | null;
|
|
36
36
|
params?: {
|
|
37
|
+
attachedFiles?: {
|
|
38
|
+
uuid: string;
|
|
39
|
+
url: string;
|
|
40
|
+
name: string;
|
|
41
|
+
mimeType: string;
|
|
42
|
+
type: string;
|
|
43
|
+
size: number;
|
|
44
|
+
duration?: number | null | undefined;
|
|
45
|
+
content?: string | null | undefined;
|
|
46
|
+
contentLength?: number | null | undefined;
|
|
47
|
+
}[] | undefined;
|
|
48
|
+
imageUrls?: string[] | undefined;
|
|
49
|
+
imageIds?: string[] | undefined;
|
|
50
|
+
videoUrls?: undefined;
|
|
51
|
+
referenceImages?: string[] | undefined;
|
|
52
|
+
referenceImageIds?: string[] | undefined;
|
|
53
|
+
audioUrls?: string[] | undefined;
|
|
54
|
+
audioIds?: string[] | undefined;
|
|
37
55
|
duration?: number | undefined;
|
|
38
56
|
resolution?: string | undefined;
|
|
57
|
+
aspectRatio?: string | undefined;
|
|
39
58
|
} | undefined;
|
|
40
59
|
duration: number;
|
|
41
60
|
attempts: any[];
|
|
@@ -71,8 +90,27 @@ export declare namespace FindVideoEditorJobsQuery {
|
|
|
71
90
|
outputVideoId: string | null;
|
|
72
91
|
previewUrl: string | null;
|
|
73
92
|
params?: {
|
|
93
|
+
attachedFiles?: {
|
|
94
|
+
uuid: string;
|
|
95
|
+
url: string;
|
|
96
|
+
name: string;
|
|
97
|
+
mimeType: string;
|
|
98
|
+
type: string;
|
|
99
|
+
size: number;
|
|
100
|
+
duration?: number | null | undefined;
|
|
101
|
+
content?: string | null | undefined;
|
|
102
|
+
contentLength?: number | null | undefined;
|
|
103
|
+
}[] | undefined;
|
|
104
|
+
imageUrls?: string[] | undefined;
|
|
105
|
+
imageIds?: string[] | undefined;
|
|
106
|
+
videoUrls?: undefined;
|
|
107
|
+
referenceImages?: string[] | undefined;
|
|
108
|
+
referenceImageIds?: string[] | undefined;
|
|
109
|
+
audioUrls?: string[] | undefined;
|
|
110
|
+
audioIds?: string[] | undefined;
|
|
74
111
|
duration?: number | undefined;
|
|
75
112
|
resolution?: string | undefined;
|
|
113
|
+
aspectRatio?: string | undefined;
|
|
76
114
|
} | undefined;
|
|
77
115
|
duration: number;
|
|
78
116
|
attempts: any[];
|
|
@@ -30,18 +30,49 @@ export declare namespace GetVideoEditorConfigQuery {
|
|
|
30
30
|
maxInputVideoDurationInSeconds: number;
|
|
31
31
|
supportedFormats: string[];
|
|
32
32
|
params: {
|
|
33
|
+
imageAttachment?: {
|
|
34
|
+
supported: boolean;
|
|
35
|
+
maxImages: number;
|
|
36
|
+
maxFileSizeMb?: number | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
referenceImageAttachment?: {
|
|
39
|
+
supported: boolean;
|
|
40
|
+
maxImages: number;
|
|
41
|
+
formats?: string[] | undefined;
|
|
42
|
+
minWidthToHeightRatio?: number | undefined;
|
|
43
|
+
maxWidthToHeightRatio?: number | undefined;
|
|
44
|
+
minWidthPx?: number | undefined;
|
|
45
|
+
maxWidthPx?: number | undefined;
|
|
46
|
+
minHeightPx?: number | undefined;
|
|
47
|
+
maxHeightPx?: number | undefined;
|
|
48
|
+
maxFileSizeMb?: number | undefined;
|
|
49
|
+
} | undefined;
|
|
50
|
+
audioAttachment?: {
|
|
51
|
+
supported: boolean;
|
|
52
|
+
maxAudios: number;
|
|
53
|
+
maxDurationSeconds: number;
|
|
54
|
+
minDurationSeconds?: number | undefined;
|
|
55
|
+
maxTotalDurationSeconds?: number | undefined;
|
|
56
|
+
maxFileSizeMb?: number | undefined;
|
|
57
|
+
formats?: string[] | undefined;
|
|
58
|
+
mimeTypes?: string[] | undefined;
|
|
59
|
+
} | undefined;
|
|
33
60
|
duration?: {
|
|
34
61
|
options: number[];
|
|
35
62
|
} | undefined;
|
|
36
63
|
resolution?: {
|
|
37
64
|
options: string[];
|
|
38
65
|
} | undefined;
|
|
66
|
+
aspectRatio?: {
|
|
67
|
+
options: string[];
|
|
68
|
+
} | undefined;
|
|
39
69
|
};
|
|
40
70
|
pricingRules: {
|
|
41
71
|
type: import("..").VIDEO_EDITOR_PRICING_RULE_TYPE;
|
|
42
72
|
condition: {
|
|
43
73
|
duration?: number | undefined;
|
|
44
74
|
resolution?: string | undefined;
|
|
75
|
+
aspectRatio?: string | undefined;
|
|
45
76
|
};
|
|
46
77
|
value: number;
|
|
47
78
|
}[];
|
|
@@ -75,18 +106,49 @@ export declare namespace GetVideoEditorConfigQuery {
|
|
|
75
106
|
maxInputVideoDurationInSeconds: number;
|
|
76
107
|
supportedFormats: string[];
|
|
77
108
|
params: {
|
|
109
|
+
imageAttachment?: {
|
|
110
|
+
supported: boolean;
|
|
111
|
+
maxImages: number;
|
|
112
|
+
maxFileSizeMb?: number | undefined;
|
|
113
|
+
} | undefined;
|
|
114
|
+
referenceImageAttachment?: {
|
|
115
|
+
supported: boolean;
|
|
116
|
+
maxImages: number;
|
|
117
|
+
formats?: string[] | undefined;
|
|
118
|
+
minWidthToHeightRatio?: number | undefined;
|
|
119
|
+
maxWidthToHeightRatio?: number | undefined;
|
|
120
|
+
minWidthPx?: number | undefined;
|
|
121
|
+
maxWidthPx?: number | undefined;
|
|
122
|
+
minHeightPx?: number | undefined;
|
|
123
|
+
maxHeightPx?: number | undefined;
|
|
124
|
+
maxFileSizeMb?: number | undefined;
|
|
125
|
+
} | undefined;
|
|
126
|
+
audioAttachment?: {
|
|
127
|
+
supported: boolean;
|
|
128
|
+
maxAudios: number;
|
|
129
|
+
maxDurationSeconds: number;
|
|
130
|
+
minDurationSeconds?: number | undefined;
|
|
131
|
+
maxTotalDurationSeconds?: number | undefined;
|
|
132
|
+
maxFileSizeMb?: number | undefined;
|
|
133
|
+
formats?: string[] | undefined;
|
|
134
|
+
mimeTypes?: string[] | undefined;
|
|
135
|
+
} | undefined;
|
|
78
136
|
duration?: {
|
|
79
137
|
options: number[];
|
|
80
138
|
} | undefined;
|
|
81
139
|
resolution?: {
|
|
82
140
|
options: string[];
|
|
83
141
|
} | undefined;
|
|
142
|
+
aspectRatio?: {
|
|
143
|
+
options: string[];
|
|
144
|
+
} | undefined;
|
|
84
145
|
};
|
|
85
146
|
pricingRules: {
|
|
86
147
|
type: import("..").VIDEO_EDITOR_PRICING_RULE_TYPE;
|
|
87
148
|
condition: {
|
|
88
149
|
duration?: number | undefined;
|
|
89
150
|
resolution?: string | undefined;
|
|
151
|
+
aspectRatio?: string | undefined;
|
|
90
152
|
};
|
|
91
153
|
value: number;
|
|
92
154
|
}[];
|