@purpleschool/gptbot-tools 0.2.54 → 0.2.56-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.
- package/build/ai-proxy/routes/ai-proxy.routes.d.ts +1 -0
- package/build/ai-proxy/routes/ai-proxy.routes.js +1 -0
- package/build/index.d.ts +3 -0
- package/build/index.js +3 -0
- 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/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +58 -0
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +21 -0
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.d.ts +14 -0
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.js +12 -0
- package/build/photo-sessions/commands/admin/index.d.ts +3 -0
- package/build/photo-sessions/commands/admin/index.js +19 -0
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +55 -0
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +28 -0
- package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts +17 -0
- package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +15 -0
- package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts +16 -0
- package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.js +14 -0
- package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +46 -0
- package/build/photo-sessions/commands/get-photo-sessions-price.command.js +30 -0
- package/build/photo-sessions/commands/index.d.ts +10 -0
- package/build/photo-sessions/commands/index.js +26 -0
- package/build/photo-sessions/commands/photo-sessions.command.d.ts +147 -0
- package/build/photo-sessions/commands/photo-sessions.command.js +41 -0
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +142 -0
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +23 -0
- package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +115 -0
- package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js +27 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +113 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.js +16 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +113 -0
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +16 -0
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +118 -0
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.js +26 -0
- package/build/photo-sessions/enums/index.d.ts +2 -0
- package/build/photo-sessions/enums/index.js +18 -0
- package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +5 -0
- package/build/photo-sessions/enums/photo-session-look-type.enum.js +9 -0
- package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +4 -0
- package/build/photo-sessions/enums/photo-session-strategy.enum.js +8 -0
- package/build/photo-sessions/index.d.ts +5 -0
- package/build/photo-sessions/index.js +21 -0
- package/build/photo-sessions/models/index.d.ts +4 -0
- package/build/photo-sessions/models/index.js +20 -0
- package/build/photo-sessions/models/photo-session-config.schema.d.ts +72 -0
- package/build/photo-sessions/models/photo-session-config.schema.js +16 -0
- package/build/photo-sessions/models/photo-session-job.schema.d.ts +78 -0
- package/build/photo-sessions/models/photo-session-job.schema.js +46 -0
- package/build/photo-sessions/models/photo-session-model.schema.d.ts +69 -0
- package/build/photo-sessions/models/photo-session-model.schema.js +42 -0
- package/build/photo-sessions/models/photo-session-style.schema.d.ts +29 -0
- package/build/photo-sessions/models/photo-session-style.schema.js +22 -0
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +46 -0
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +10 -0
- package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +57 -0
- package/build/photo-sessions/queries/find-photo-session-styles.query.js +19 -0
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +110 -0
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +10 -0
- package/build/photo-sessions/queries/find-photo-sessions-jobs.query.d.ts +130 -0
- package/build/photo-sessions/queries/find-photo-sessions-jobs.query.js +28 -0
- package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +142 -0
- package/build/photo-sessions/queries/get-photo-sessions-config.query.js +10 -0
- package/build/photo-sessions/queries/index.d.ts +5 -0
- package/build/photo-sessions/queries/index.js +21 -0
- package/build/photo-sessions/routes/index.d.ts +2 -0
- package/build/photo-sessions/routes/index.js +18 -0
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +19 -0
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +22 -0
- package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +1 -0
- package/build/photo-sessions/routes/photo-sessions.http.routes.js +4 -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/enums/tool-content-type.enum.d.ts +1 -0
- package/build/tools/enums/tool-content-type.enum.js +1 -0
- package/build/tools/enums/tool-type.enum.d.ts +1 -0
- package/build/tools/enums/tool-type.enum.js +1 -0
- package/build/tools/models/global-tools-config.schema.d.ts +98 -1
- package/build/tools/models/global-tools-config.schema.js +2 -0
- package/build/tools/models/tools-with-configs.schema.d.ts +66 -2
- package/build/tools/queries/get-global-tools-config.query.d.ts +196 -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
|
@@ -31,8 +31,27 @@ export declare namespace UpdatePublishedStatusVideoEditorJobsCommand {
|
|
|
31
31
|
outputVideoId: string | null;
|
|
32
32
|
previewUrl: string | null;
|
|
33
33
|
params?: {
|
|
34
|
+
attachedFiles?: {
|
|
35
|
+
uuid: string;
|
|
36
|
+
url: string;
|
|
37
|
+
name: string;
|
|
38
|
+
mimeType: string;
|
|
39
|
+
type: string;
|
|
40
|
+
size: number;
|
|
41
|
+
duration?: number | null | undefined;
|
|
42
|
+
content?: string | null | undefined;
|
|
43
|
+
contentLength?: number | null | undefined;
|
|
44
|
+
}[] | undefined;
|
|
45
|
+
imageUrls?: string[] | undefined;
|
|
46
|
+
imageIds?: string[] | undefined;
|
|
47
|
+
videoUrls?: undefined;
|
|
48
|
+
referenceImages?: string[] | undefined;
|
|
49
|
+
referenceImageIds?: string[] | undefined;
|
|
50
|
+
audioUrls?: string[] | undefined;
|
|
51
|
+
audioIds?: string[] | undefined;
|
|
34
52
|
duration?: number | undefined;
|
|
35
53
|
resolution?: string | undefined;
|
|
54
|
+
aspectRatio?: string | undefined;
|
|
36
55
|
} | undefined;
|
|
37
56
|
duration: number;
|
|
38
57
|
attempts: any[];
|
|
@@ -63,8 +82,27 @@ export declare namespace UpdatePublishedStatusVideoEditorJobsCommand {
|
|
|
63
82
|
outputVideoId: string | null;
|
|
64
83
|
previewUrl: string | null;
|
|
65
84
|
params?: {
|
|
85
|
+
attachedFiles?: {
|
|
86
|
+
uuid: string;
|
|
87
|
+
url: string;
|
|
88
|
+
name: string;
|
|
89
|
+
mimeType: string;
|
|
90
|
+
type: string;
|
|
91
|
+
size: number;
|
|
92
|
+
duration?: number | null | undefined;
|
|
93
|
+
content?: string | null | undefined;
|
|
94
|
+
contentLength?: number | null | undefined;
|
|
95
|
+
}[] | undefined;
|
|
96
|
+
imageUrls?: string[] | undefined;
|
|
97
|
+
imageIds?: string[] | undefined;
|
|
98
|
+
videoUrls?: undefined;
|
|
99
|
+
referenceImages?: string[] | undefined;
|
|
100
|
+
referenceImageIds?: string[] | undefined;
|
|
101
|
+
audioUrls?: string[] | undefined;
|
|
102
|
+
audioIds?: string[] | undefined;
|
|
66
103
|
duration?: number | undefined;
|
|
67
104
|
resolution?: string | undefined;
|
|
105
|
+
aspectRatio?: string | undefined;
|
|
68
106
|
} | undefined;
|
|
69
107
|
duration: number;
|
|
70
108
|
attempts: any[];
|
|
@@ -26,8 +26,27 @@ export declare namespace UpdateVideoEditorJobFavoriteCommand {
|
|
|
26
26
|
outputVideoId: string | null;
|
|
27
27
|
previewUrl: string | null;
|
|
28
28
|
params?: {
|
|
29
|
+
attachedFiles?: {
|
|
30
|
+
uuid: string;
|
|
31
|
+
url: string;
|
|
32
|
+
name: string;
|
|
33
|
+
mimeType: string;
|
|
34
|
+
type: string;
|
|
35
|
+
size: number;
|
|
36
|
+
duration?: number | null | undefined;
|
|
37
|
+
content?: string | null | undefined;
|
|
38
|
+
contentLength?: number | null | undefined;
|
|
39
|
+
}[] | undefined;
|
|
40
|
+
imageUrls?: string[] | undefined;
|
|
41
|
+
imageIds?: string[] | undefined;
|
|
42
|
+
videoUrls?: undefined;
|
|
43
|
+
referenceImages?: string[] | undefined;
|
|
44
|
+
referenceImageIds?: string[] | undefined;
|
|
45
|
+
audioUrls?: string[] | undefined;
|
|
46
|
+
audioIds?: string[] | undefined;
|
|
29
47
|
duration?: number | undefined;
|
|
30
48
|
resolution?: string | undefined;
|
|
49
|
+
aspectRatio?: string | undefined;
|
|
31
50
|
} | undefined;
|
|
32
51
|
duration: number;
|
|
33
52
|
attempts: any[];
|
|
@@ -58,8 +77,27 @@ export declare namespace UpdateVideoEditorJobFavoriteCommand {
|
|
|
58
77
|
outputVideoId: string | null;
|
|
59
78
|
previewUrl: string | null;
|
|
60
79
|
params?: {
|
|
80
|
+
attachedFiles?: {
|
|
81
|
+
uuid: string;
|
|
82
|
+
url: string;
|
|
83
|
+
name: string;
|
|
84
|
+
mimeType: string;
|
|
85
|
+
type: string;
|
|
86
|
+
size: number;
|
|
87
|
+
duration?: number | null | undefined;
|
|
88
|
+
content?: string | null | undefined;
|
|
89
|
+
contentLength?: number | null | undefined;
|
|
90
|
+
}[] | undefined;
|
|
91
|
+
imageUrls?: string[] | undefined;
|
|
92
|
+
imageIds?: string[] | undefined;
|
|
93
|
+
videoUrls?: undefined;
|
|
94
|
+
referenceImages?: string[] | undefined;
|
|
95
|
+
referenceImageIds?: string[] | undefined;
|
|
96
|
+
audioUrls?: string[] | undefined;
|
|
97
|
+
audioIds?: string[] | undefined;
|
|
61
98
|
duration?: number | undefined;
|
|
62
99
|
resolution?: string | undefined;
|
|
100
|
+
aspectRatio?: string | undefined;
|
|
63
101
|
} | undefined;
|
|
64
102
|
duration: number;
|
|
65
103
|
attempts: any[];
|
|
@@ -26,8 +26,27 @@ export declare namespace UpdateVideoEditorJobTitleCommand {
|
|
|
26
26
|
outputVideoId: string | null;
|
|
27
27
|
previewUrl: string | null;
|
|
28
28
|
params?: {
|
|
29
|
+
attachedFiles?: {
|
|
30
|
+
uuid: string;
|
|
31
|
+
url: string;
|
|
32
|
+
name: string;
|
|
33
|
+
mimeType: string;
|
|
34
|
+
type: string;
|
|
35
|
+
size: number;
|
|
36
|
+
duration?: number | null | undefined;
|
|
37
|
+
content?: string | null | undefined;
|
|
38
|
+
contentLength?: number | null | undefined;
|
|
39
|
+
}[] | undefined;
|
|
40
|
+
imageUrls?: string[] | undefined;
|
|
41
|
+
imageIds?: string[] | undefined;
|
|
42
|
+
videoUrls?: undefined;
|
|
43
|
+
referenceImages?: string[] | undefined;
|
|
44
|
+
referenceImageIds?: string[] | undefined;
|
|
45
|
+
audioUrls?: string[] | undefined;
|
|
46
|
+
audioIds?: string[] | undefined;
|
|
29
47
|
duration?: number | undefined;
|
|
30
48
|
resolution?: string | undefined;
|
|
49
|
+
aspectRatio?: string | undefined;
|
|
31
50
|
} | undefined;
|
|
32
51
|
duration: number;
|
|
33
52
|
attempts: any[];
|
|
@@ -58,8 +77,27 @@ export declare namespace UpdateVideoEditorJobTitleCommand {
|
|
|
58
77
|
outputVideoId: string | null;
|
|
59
78
|
previewUrl: string | null;
|
|
60
79
|
params?: {
|
|
80
|
+
attachedFiles?: {
|
|
81
|
+
uuid: string;
|
|
82
|
+
url: string;
|
|
83
|
+
name: string;
|
|
84
|
+
mimeType: string;
|
|
85
|
+
type: string;
|
|
86
|
+
size: number;
|
|
87
|
+
duration?: number | null | undefined;
|
|
88
|
+
content?: string | null | undefined;
|
|
89
|
+
contentLength?: number | null | undefined;
|
|
90
|
+
}[] | undefined;
|
|
91
|
+
imageUrls?: string[] | undefined;
|
|
92
|
+
imageIds?: string[] | undefined;
|
|
93
|
+
videoUrls?: undefined;
|
|
94
|
+
referenceImages?: string[] | undefined;
|
|
95
|
+
referenceImageIds?: string[] | undefined;
|
|
96
|
+
audioUrls?: string[] | undefined;
|
|
97
|
+
audioIds?: string[] | undefined;
|
|
61
98
|
duration?: number | undefined;
|
|
62
99
|
resolution?: string | undefined;
|
|
100
|
+
aspectRatio?: string | undefined;
|
|
63
101
|
} | undefined;
|
|
64
102
|
duration: number;
|
|
65
103
|
attempts: any[];
|
|
@@ -30,18 +30,49 @@ export declare namespace GetVideoEditorModelByUuidCommand {
|
|
|
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
|
}[];
|
|
@@ -73,18 +104,49 @@ export declare namespace GetVideoEditorModelByUuidCommand {
|
|
|
73
104
|
maxInputVideoDurationInSeconds: number;
|
|
74
105
|
supportedFormats: string[];
|
|
75
106
|
params: {
|
|
107
|
+
imageAttachment?: {
|
|
108
|
+
supported: boolean;
|
|
109
|
+
maxImages: number;
|
|
110
|
+
maxFileSizeMb?: number | undefined;
|
|
111
|
+
} | undefined;
|
|
112
|
+
referenceImageAttachment?: {
|
|
113
|
+
supported: boolean;
|
|
114
|
+
maxImages: number;
|
|
115
|
+
formats?: string[] | undefined;
|
|
116
|
+
minWidthToHeightRatio?: number | undefined;
|
|
117
|
+
maxWidthToHeightRatio?: number | undefined;
|
|
118
|
+
minWidthPx?: number | undefined;
|
|
119
|
+
maxWidthPx?: number | undefined;
|
|
120
|
+
minHeightPx?: number | undefined;
|
|
121
|
+
maxHeightPx?: number | undefined;
|
|
122
|
+
maxFileSizeMb?: number | undefined;
|
|
123
|
+
} | undefined;
|
|
124
|
+
audioAttachment?: {
|
|
125
|
+
supported: boolean;
|
|
126
|
+
maxAudios: number;
|
|
127
|
+
maxDurationSeconds: number;
|
|
128
|
+
minDurationSeconds?: number | undefined;
|
|
129
|
+
maxTotalDurationSeconds?: number | undefined;
|
|
130
|
+
maxFileSizeMb?: number | undefined;
|
|
131
|
+
formats?: string[] | undefined;
|
|
132
|
+
mimeTypes?: string[] | undefined;
|
|
133
|
+
} | undefined;
|
|
76
134
|
duration?: {
|
|
77
135
|
options: number[];
|
|
78
136
|
} | undefined;
|
|
79
137
|
resolution?: {
|
|
80
138
|
options: string[];
|
|
81
139
|
} | undefined;
|
|
140
|
+
aspectRatio?: {
|
|
141
|
+
options: string[];
|
|
142
|
+
} | undefined;
|
|
82
143
|
};
|
|
83
144
|
pricingRules: {
|
|
84
145
|
type: import("../..").VIDEO_EDITOR_PRICING_RULE_TYPE;
|
|
85
146
|
condition: {
|
|
86
147
|
duration?: number | undefined;
|
|
87
148
|
resolution?: string | undefined;
|
|
149
|
+
aspectRatio?: string | undefined;
|
|
88
150
|
};
|
|
89
151
|
value: number;
|
|
90
152
|
}[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare enum VIDEO_EDITOR_MODEL_LIMITATION {
|
|
2
2
|
OUTPUT_VIDEO_LENGTH_CAPPED_TO_5_SECONDS = "OUTPUT_VIDEO_LENGTH_CAPPED_TO_5_SECONDS",
|
|
3
|
-
DOES_NOT_AFFECT_AUDIO = "DOES_NOT_AFFECT_AUDIO"
|
|
3
|
+
DOES_NOT_AFFECT_AUDIO = "DOES_NOT_AFFECT_AUDIO",
|
|
4
|
+
AUDIO_WITH_NO_REFERENCE_FORBIDDEN = "AUDIO_WITH_NO_REFERENCE_FORBIDDEN"
|
|
4
5
|
}
|
|
@@ -5,4 +5,5 @@ var VIDEO_EDITOR_MODEL_LIMITATION;
|
|
|
5
5
|
(function (VIDEO_EDITOR_MODEL_LIMITATION) {
|
|
6
6
|
VIDEO_EDITOR_MODEL_LIMITATION["OUTPUT_VIDEO_LENGTH_CAPPED_TO_5_SECONDS"] = "OUTPUT_VIDEO_LENGTH_CAPPED_TO_5_SECONDS";
|
|
7
7
|
VIDEO_EDITOR_MODEL_LIMITATION["DOES_NOT_AFFECT_AUDIO"] = "DOES_NOT_AFFECT_AUDIO";
|
|
8
|
+
VIDEO_EDITOR_MODEL_LIMITATION["AUDIO_WITH_NO_REFERENCE_FORBIDDEN"] = "AUDIO_WITH_NO_REFERENCE_FORBIDDEN";
|
|
8
9
|
})(VIDEO_EDITOR_MODEL_LIMITATION || (exports.VIDEO_EDITOR_MODEL_LIMITATION = VIDEO_EDITOR_MODEL_LIMITATION = {}));
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
export declare enum VIDEO_EDITOR_MODEL_STRATEGY {
|
|
2
|
-
LUMA_MODIFY_POLLING = "LUMA_MODIFY_POLLING",
|
|
3
|
-
ALEPH_EDITING_POLLING = "ALEPH_EDITING_POLLING",
|
|
4
|
-
LUMA_MODIFY_CALLBACK = "LUMA_MODIFY_CALLBACK",
|
|
5
|
-
ALEPH_EDITING_CALLBACK = "ALEPH_EDITING_CALLBACK",
|
|
6
2
|
WAN_2_6_VIDEO_TO_VIDEO_CALLBACK = "WAN_2_6_VIDEO_TO_VIDEO_CALLBACK",
|
|
7
|
-
|
|
3
|
+
SEEDANCE_2_0_VIDEO_EDITING_CALLBACK = "SEEDANCE_2_0_VIDEO_EDITING_CALLBACK",
|
|
4
|
+
GEMINI_OMNI_VIDEO_EDITING_CALLBACK = "GEMINI_OMNI_VIDEO_EDITING_CALLBACK"
|
|
8
5
|
}
|
|
@@ -3,10 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.VIDEO_EDITOR_MODEL_STRATEGY = void 0;
|
|
4
4
|
var VIDEO_EDITOR_MODEL_STRATEGY;
|
|
5
5
|
(function (VIDEO_EDITOR_MODEL_STRATEGY) {
|
|
6
|
-
VIDEO_EDITOR_MODEL_STRATEGY["LUMA_MODIFY_POLLING"] = "LUMA_MODIFY_POLLING";
|
|
7
|
-
VIDEO_EDITOR_MODEL_STRATEGY["ALEPH_EDITING_POLLING"] = "ALEPH_EDITING_POLLING";
|
|
8
|
-
VIDEO_EDITOR_MODEL_STRATEGY["LUMA_MODIFY_CALLBACK"] = "LUMA_MODIFY_CALLBACK";
|
|
9
|
-
VIDEO_EDITOR_MODEL_STRATEGY["ALEPH_EDITING_CALLBACK"] = "ALEPH_EDITING_CALLBACK";
|
|
10
6
|
VIDEO_EDITOR_MODEL_STRATEGY["WAN_2_6_VIDEO_TO_VIDEO_CALLBACK"] = "WAN_2_6_VIDEO_TO_VIDEO_CALLBACK";
|
|
11
|
-
VIDEO_EDITOR_MODEL_STRATEGY["
|
|
7
|
+
VIDEO_EDITOR_MODEL_STRATEGY["SEEDANCE_2_0_VIDEO_EDITING_CALLBACK"] = "SEEDANCE_2_0_VIDEO_EDITING_CALLBACK";
|
|
8
|
+
VIDEO_EDITOR_MODEL_STRATEGY["GEMINI_OMNI_VIDEO_EDITING_CALLBACK"] = "GEMINI_OMNI_VIDEO_EDITING_CALLBACK";
|
|
12
9
|
})(VIDEO_EDITOR_MODEL_STRATEGY || (exports.VIDEO_EDITOR_MODEL_STRATEGY = VIDEO_EDITOR_MODEL_STRATEGY = {}));
|
|
@@ -23,18 +23,49 @@ export declare const VideoEditorConfigSchema: z.ZodObject<{
|
|
|
23
23
|
maxInputVideoDurationInSeconds: z.ZodNumber;
|
|
24
24
|
supportedFormats: z.ZodArray<z.ZodString>;
|
|
25
25
|
params: z.ZodObject<{
|
|
26
|
+
imageAttachment: z.ZodOptional<z.ZodObject<{
|
|
27
|
+
supported: z.ZodBoolean;
|
|
28
|
+
maxImages: z.ZodNumber;
|
|
29
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
referenceImageAttachment: z.ZodOptional<z.ZodObject<{
|
|
32
|
+
supported: z.ZodBoolean;
|
|
33
|
+
maxImages: z.ZodNumber;
|
|
34
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35
|
+
minWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
|
|
36
|
+
maxWidthToHeightRatio: z.ZodOptional<z.ZodNumber>;
|
|
37
|
+
minWidthPx: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
maxWidthPx: z.ZodOptional<z.ZodNumber>;
|
|
39
|
+
minHeightPx: z.ZodOptional<z.ZodNumber>;
|
|
40
|
+
maxHeightPx: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
}, z.core.$strip>>;
|
|
43
|
+
audioAttachment: z.ZodOptional<z.ZodObject<{
|
|
44
|
+
supported: z.ZodBoolean;
|
|
45
|
+
maxAudios: z.ZodNumber;
|
|
46
|
+
maxDurationSeconds: z.ZodNumber;
|
|
47
|
+
minDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
48
|
+
maxTotalDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
49
|
+
maxFileSizeMb: z.ZodOptional<z.ZodNumber>;
|
|
50
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
51
|
+
mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
52
|
+
}, z.core.$strip>>;
|
|
26
53
|
duration: z.ZodOptional<z.ZodObject<{
|
|
27
54
|
options: z.ZodArray<z.ZodNumber>;
|
|
28
55
|
}, z.core.$strip>>;
|
|
29
56
|
resolution: z.ZodOptional<z.ZodObject<{
|
|
30
57
|
options: z.ZodArray<z.ZodString>;
|
|
31
58
|
}, z.core.$strip>>;
|
|
59
|
+
aspectRatio: z.ZodOptional<z.ZodObject<{
|
|
60
|
+
options: z.ZodArray<z.ZodString>;
|
|
61
|
+
}, z.core.$strip>>;
|
|
32
62
|
}, z.core.$strip>;
|
|
33
63
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
34
64
|
type: z.ZodEnum<typeof import("..").VIDEO_EDITOR_PRICING_RULE_TYPE>;
|
|
35
65
|
condition: z.ZodObject<{
|
|
36
66
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
37
67
|
resolution: z.ZodOptional<z.ZodString>;
|
|
68
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
38
69
|
}, z.core.$strip>;
|
|
39
70
|
value: z.ZodNumber;
|
|
40
71
|
}, z.core.$strip>>;
|
|
@@ -2,8 +2,27 @@ import { z } from 'zod';
|
|
|
2
2
|
import { JOB_STATUS } from '../../tools';
|
|
3
3
|
import { USER_REACTION } from '../../common';
|
|
4
4
|
export declare const VideoEditorJobParamsSchema: z.ZodObject<{
|
|
5
|
+
attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6
|
+
uuid: z.ZodString;
|
|
7
|
+
url: z.ZodString;
|
|
8
|
+
name: z.ZodString;
|
|
9
|
+
mimeType: z.ZodString;
|
|
10
|
+
type: z.ZodString;
|
|
11
|
+
size: z.ZodNumber;
|
|
12
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
13
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
14
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
15
|
+
}, z.core.$strip>>>;
|
|
16
|
+
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17
|
+
imageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18
|
+
videoUrls: z.ZodOptional<z.ZodNever>;
|
|
19
|
+
referenceImages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20
|
+
referenceImageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21
|
+
audioUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22
|
+
audioIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5
23
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
6
24
|
resolution: z.ZodOptional<z.ZodString>;
|
|
25
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
7
26
|
}, z.core.$strip>;
|
|
8
27
|
export type VideoEditorJobParams = z.infer<typeof VideoEditorJobParamsSchema>;
|
|
9
28
|
export declare const VideoEditorJobSchema: z.ZodObject<{
|
|
@@ -23,8 +42,27 @@ export declare const VideoEditorJobSchema: z.ZodObject<{
|
|
|
23
42
|
outputVideoId: z.ZodNullable<z.ZodString>;
|
|
24
43
|
previewUrl: z.ZodNullable<z.ZodString>;
|
|
25
44
|
params: z.ZodOptional<z.ZodObject<{
|
|
45
|
+
attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
46
|
+
uuid: z.ZodString;
|
|
47
|
+
url: z.ZodString;
|
|
48
|
+
name: z.ZodString;
|
|
49
|
+
mimeType: z.ZodString;
|
|
50
|
+
type: z.ZodString;
|
|
51
|
+
size: z.ZodNumber;
|
|
52
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
53
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
54
|
+
contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
55
|
+
}, z.core.$strip>>>;
|
|
56
|
+
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
57
|
+
imageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
58
|
+
videoUrls: z.ZodOptional<z.ZodNever>;
|
|
59
|
+
referenceImages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
60
|
+
referenceImageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
61
|
+
audioUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
62
|
+
audioIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
63
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
27
64
|
resolution: z.ZodOptional<z.ZodString>;
|
|
65
|
+
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
28
66
|
}, z.core.$strip>>;
|
|
29
67
|
duration: z.ZodNumber;
|
|
30
68
|
attempts: z.ZodArray<z.ZodAny>;
|
|
@@ -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[];
|