@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.
Files changed (38) hide show
  1. package/build/marketplace-card/models/marketplace-card-config.schema.d.ts +0 -1
  2. package/build/marketplace-card/models/marketplace-card-model.schema.d.ts +0 -1
  3. package/build/marketplace-card/models/marketplace-card-model.schema.js +0 -1
  4. package/build/marketplace-card/queries/get-marketplace-card-config.query.d.ts +0 -2
  5. package/build/paraphrase/models/paraphrase-tool-config.schema.d.ts +1 -0
  6. package/build/paraphrase/models/paraphrase-type.schema.d.ts +2 -1
  7. package/build/paraphrase/models/paraphrase-type.schema.js +1 -0
  8. package/build/paraphrase/queries/get-paraphrase-tool-config.query.d.ts +2 -0
  9. package/build/spell-corrector/models/spell-corrector-model.schema.d.ts +2 -1
  10. package/build/spell-corrector/models/spell-corrector-model.schema.js +1 -0
  11. package/build/spell-corrector/models/spell-corrector-tool-config.schema.d.ts +1 -0
  12. package/build/spell-corrector/queries/get-spell-corrector-tool-config.query.d.ts +2 -0
  13. package/build/tools/models/global-tools-config.schema.d.ts +33 -1
  14. package/build/tools/models/tools-with-configs.schema.d.ts +66 -2
  15. package/build/tools/queries/get-global-tools-config.query.d.ts +66 -2
  16. package/build/tools/queries/get-tools-with-configs.query.d.ts +66 -2
  17. package/build/video-editor/commands/edit-video.command.d.ts +57 -0
  18. package/build/video-editor/commands/edit-video.command.js +1 -1
  19. package/build/video-editor/commands/get-video-editor-price.command.d.ts +1 -0
  20. package/build/video-editor/commands/retry-video-editor-job.command.d.ts +57 -0
  21. package/build/video-editor/commands/set-reaction-to-video-editor-job.command.d.ts +38 -0
  22. package/build/video-editor/commands/update-published-status-video-editor-jobs.command.d.ts +38 -0
  23. package/build/video-editor/commands/update-video-editor-job-favorite.command.d.ts +38 -0
  24. package/build/video-editor/commands/update-video-editor-job-title.command.d.ts +38 -0
  25. package/build/video-editor/commands/video-editor-model/get-video-editor-model.command.d.ts +62 -0
  26. package/build/video-editor/enums/video-editor-model-limitation.enum.d.ts +2 -1
  27. package/build/video-editor/enums/video-editor-model-limitation.enum.js +1 -0
  28. package/build/video-editor/enums/video-editor-model-strategy.enum.d.ts +2 -5
  29. package/build/video-editor/enums/video-editor-model-strategy.enum.js +2 -5
  30. package/build/video-editor/models/video-editor-config.schema.d.ts +31 -0
  31. package/build/video-editor/models/video-editor-job.schema.d.ts +38 -0
  32. package/build/video-editor/models/video-editor-job.schema.js +9 -0
  33. package/build/video-editor/models/video-editor-model.schema.d.ts +64 -0
  34. package/build/video-editor/models/video-editor-model.schema.js +40 -0
  35. package/build/video-editor/queries/find-video-editor-job-by-id.query.d.ts +38 -0
  36. package/build/video-editor/queries/find-video-editor-jobs.query.d.ts +38 -0
  37. package/build/video-editor/queries/get-video-editor-config.query.d.ts +62 -0
  38. package/package.json +1 -1
@@ -13,8 +13,27 @@ export declare namespace EditVideoCommand {
13
13
  tokenReservationId: z.ZodString;
14
14
  precalculatedPrice: z.ZodNumber;
15
15
  params: z.ZodOptional<z.ZodObject<{
16
+ attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
17
+ uuid: z.ZodString;
18
+ url: z.ZodString;
19
+ name: z.ZodString;
20
+ mimeType: z.ZodString;
21
+ type: z.ZodString;
22
+ size: z.ZodNumber;
23
+ duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
24
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
25
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
26
+ }, z.core.$strip>>>;
27
+ imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
28
+ imageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
29
+ videoUrls: z.ZodOptional<z.ZodNever>;
30
+ referenceImages: z.ZodOptional<z.ZodArray<z.ZodString>>;
31
+ referenceImageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
32
+ audioUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
33
+ audioIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
16
34
  duration: z.ZodOptional<z.ZodNumber>;
17
35
  resolution: z.ZodOptional<z.ZodString>;
36
+ aspectRatio: z.ZodOptional<z.ZodString>;
18
37
  }, z.core.$strip>>;
19
38
  }, z.core.$strip>;
20
39
  type Request = z.infer<typeof RequestSchema>;
@@ -37,8 +56,27 @@ export declare namespace EditVideoCommand {
37
56
  outputVideoId: string | null;
38
57
  previewUrl: string | null;
39
58
  params?: {
59
+ attachedFiles?: {
60
+ uuid: string;
61
+ url: string;
62
+ name: string;
63
+ mimeType: string;
64
+ type: string;
65
+ size: number;
66
+ duration?: number | null | undefined;
67
+ content?: string | null | undefined;
68
+ contentLength?: number | null | undefined;
69
+ }[] | undefined;
70
+ imageUrls?: string[] | undefined;
71
+ imageIds?: string[] | undefined;
72
+ videoUrls?: undefined;
73
+ referenceImages?: string[] | undefined;
74
+ referenceImageIds?: string[] | undefined;
75
+ audioUrls?: string[] | undefined;
76
+ audioIds?: string[] | undefined;
40
77
  duration?: number | undefined;
41
78
  resolution?: string | undefined;
79
+ aspectRatio?: string | undefined;
42
80
  } | undefined;
43
81
  duration: number;
44
82
  attempts: any[];
@@ -69,8 +107,27 @@ export declare namespace EditVideoCommand {
69
107
  outputVideoId: string | null;
70
108
  previewUrl: string | null;
71
109
  params?: {
110
+ attachedFiles?: {
111
+ uuid: string;
112
+ url: string;
113
+ name: string;
114
+ mimeType: string;
115
+ type: string;
116
+ size: number;
117
+ duration?: number | null | undefined;
118
+ content?: string | null | undefined;
119
+ contentLength?: number | null | undefined;
120
+ }[] | undefined;
121
+ imageUrls?: string[] | undefined;
122
+ imageIds?: string[] | undefined;
123
+ videoUrls?: undefined;
124
+ referenceImages?: string[] | undefined;
125
+ referenceImageIds?: string[] | undefined;
126
+ audioUrls?: string[] | undefined;
127
+ audioIds?: string[] | undefined;
72
128
  duration?: number | undefined;
73
129
  resolution?: string | undefined;
130
+ aspectRatio?: string | undefined;
74
131
  } | undefined;
75
132
  duration: number;
76
133
  attempts: any[];
@@ -13,7 +13,7 @@ var EditVideoCommand;
13
13
  scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
14
14
  prompt: zod_1.z.string(),
15
15
  inputVideoId: zod_1.z.string().uuid(),
16
- inputVideoUrl: zod_1.z.string(),
16
+ inputVideoUrl: zod_1.z.string().min(1),
17
17
  duration: zod_1.z.number(),
18
18
  modelId: zod_1.z.string().uuid(),
19
19
  tokenReservationId: zod_1.z.string().uuid(),
@@ -5,6 +5,7 @@ export declare namespace GetVideoEditorPriceCommand {
5
5
  params: z.ZodObject<{
6
6
  duration: z.ZodNumber;
7
7
  resolution: z.ZodOptional<z.ZodString>;
8
+ aspectRatio: z.ZodOptional<z.ZodString>;
8
9
  }, z.core.$strip>;
9
10
  }, z.core.$strip>;
10
11
  type Request = z.infer<typeof RequestSchema>;
@@ -12,8 +12,27 @@ export declare namespace RetryVideoEditorJobCommand {
12
12
  tokenReservationId: z.ZodString;
13
13
  precalculatedPrice: z.ZodNumber;
14
14
  params: z.ZodOptional<z.ZodObject<{
15
+ attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
16
+ uuid: z.ZodString;
17
+ url: z.ZodString;
18
+ name: z.ZodString;
19
+ mimeType: z.ZodString;
20
+ type: z.ZodString;
21
+ size: z.ZodNumber;
22
+ duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
23
+ content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
24
+ contentLength: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
25
+ }, z.core.$strip>>>;
26
+ imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
27
+ imageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
28
+ videoUrls: z.ZodOptional<z.ZodNever>;
29
+ referenceImages: z.ZodOptional<z.ZodArray<z.ZodString>>;
30
+ referenceImageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
31
+ audioUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
32
+ audioIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
33
  duration: z.ZodOptional<z.ZodNumber>;
16
34
  resolution: z.ZodOptional<z.ZodString>;
35
+ aspectRatio: z.ZodOptional<z.ZodString>;
17
36
  }, z.core.$strip>>;
18
37
  }, z.core.$strip>;
19
38
  type Request = z.infer<typeof RequestSchema>;
@@ -36,8 +55,27 @@ export declare namespace RetryVideoEditorJobCommand {
36
55
  outputVideoId: string | null;
37
56
  previewUrl: string | null;
38
57
  params?: {
58
+ attachedFiles?: {
59
+ uuid: string;
60
+ url: string;
61
+ name: string;
62
+ mimeType: string;
63
+ type: string;
64
+ size: number;
65
+ duration?: number | null | undefined;
66
+ content?: string | null | undefined;
67
+ contentLength?: number | null | undefined;
68
+ }[] | undefined;
69
+ imageUrls?: string[] | undefined;
70
+ imageIds?: string[] | undefined;
71
+ videoUrls?: undefined;
72
+ referenceImages?: string[] | undefined;
73
+ referenceImageIds?: string[] | undefined;
74
+ audioUrls?: string[] | undefined;
75
+ audioIds?: string[] | undefined;
39
76
  duration?: number | undefined;
40
77
  resolution?: string | undefined;
78
+ aspectRatio?: string | undefined;
41
79
  } | undefined;
42
80
  duration: number;
43
81
  attempts: any[];
@@ -68,8 +106,27 @@ export declare namespace RetryVideoEditorJobCommand {
68
106
  outputVideoId: string | null;
69
107
  previewUrl: string | null;
70
108
  params?: {
109
+ attachedFiles?: {
110
+ uuid: string;
111
+ url: string;
112
+ name: string;
113
+ mimeType: string;
114
+ type: string;
115
+ size: number;
116
+ duration?: number | null | undefined;
117
+ content?: string | null | undefined;
118
+ contentLength?: number | null | undefined;
119
+ }[] | undefined;
120
+ imageUrls?: string[] | undefined;
121
+ imageIds?: string[] | undefined;
122
+ videoUrls?: undefined;
123
+ referenceImages?: string[] | undefined;
124
+ referenceImageIds?: string[] | undefined;
125
+ audioUrls?: string[] | undefined;
126
+ audioIds?: string[] | undefined;
71
127
  duration?: number | undefined;
72
128
  resolution?: string | undefined;
129
+ aspectRatio?: string | undefined;
73
130
  } | undefined;
74
131
  duration: number;
75
132
  attempts: any[];
@@ -28,8 +28,27 @@ export declare namespace SetReactionToVideoEditorJobCommand {
28
28
  outputVideoId: string | null;
29
29
  previewUrl: string | null;
30
30
  params?: {
31
+ attachedFiles?: {
32
+ uuid: string;
33
+ url: string;
34
+ name: string;
35
+ mimeType: string;
36
+ type: string;
37
+ size: number;
38
+ duration?: number | null | undefined;
39
+ content?: string | null | undefined;
40
+ contentLength?: number | null | undefined;
41
+ }[] | undefined;
42
+ imageUrls?: string[] | undefined;
43
+ imageIds?: string[] | undefined;
44
+ videoUrls?: undefined;
45
+ referenceImages?: string[] | undefined;
46
+ referenceImageIds?: string[] | undefined;
47
+ audioUrls?: string[] | undefined;
48
+ audioIds?: string[] | undefined;
31
49
  duration?: number | undefined;
32
50
  resolution?: string | undefined;
51
+ aspectRatio?: string | undefined;
33
52
  } | undefined;
34
53
  duration: number;
35
54
  attempts: any[];
@@ -60,8 +79,27 @@ export declare namespace SetReactionToVideoEditorJobCommand {
60
79
  outputVideoId: string | null;
61
80
  previewUrl: string | null;
62
81
  params?: {
82
+ attachedFiles?: {
83
+ uuid: string;
84
+ url: string;
85
+ name: string;
86
+ mimeType: string;
87
+ type: string;
88
+ size: number;
89
+ duration?: number | null | undefined;
90
+ content?: string | null | undefined;
91
+ contentLength?: number | null | undefined;
92
+ }[] | undefined;
93
+ imageUrls?: string[] | undefined;
94
+ imageIds?: string[] | undefined;
95
+ videoUrls?: undefined;
96
+ referenceImages?: string[] | undefined;
97
+ referenceImageIds?: string[] | undefined;
98
+ audioUrls?: string[] | undefined;
99
+ audioIds?: string[] | undefined;
63
100
  duration?: number | undefined;
64
101
  resolution?: string | undefined;
102
+ aspectRatio?: string | undefined;
65
103
  } | undefined;
66
104
  duration: number;
67
105
  attempts: any[];
@@ -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
- WAN_2_7_VIDEO_TO_VIDEO_CALLBACK = "WAN_2_7_VIDEO_TO_VIDEO_CALLBACK"
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["WAN_2_7_VIDEO_TO_VIDEO_CALLBACK"] = "WAN_2_7_VIDEO_TO_VIDEO_CALLBACK";
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>;