@ai-grator/api 0.3.86 → 0.3.88
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/admin/enums/ai-vendor.enum.ts +2 -0
- package/admin/enums/vendor-spend-unit.enum.ts +3 -0
- package/admin/models/admin-main-page-preset-response.schema.ts +2 -1
- package/build/admin/endpoints/commands/replace-admin-main-page-presets.command.d.ts +56 -0
- package/build/admin/endpoints/commands/replace-admin-main-page-presets.command.d.ts.map +1 -1
- package/build/admin/endpoints/queries/get-admin-main-page-presets.query.d.ts +40 -0
- package/build/admin/endpoints/queries/get-admin-main-page-presets.query.d.ts.map +1 -1
- package/build/admin/enums/ai-vendor.enum.d.ts +3 -1
- package/build/admin/enums/ai-vendor.enum.d.ts.map +1 -1
- package/build/admin/enums/ai-vendor.enum.js +2 -0
- package/build/admin/enums/vendor-spend-unit.enum.d.ts +2 -1
- package/build/admin/enums/vendor-spend-unit.enum.d.ts.map +1 -1
- package/build/admin/enums/vendor-spend-unit.enum.js +3 -0
- package/build/admin/models/admin-main-page-preset-response.schema.d.ts +20 -0
- package/build/admin/models/admin-main-page-preset-response.schema.d.ts.map +1 -1
- package/build/admin/models/admin-main-page-preset-response.schema.js +1 -0
- package/build/errors/errors.d.ts +15 -0
- package/build/errors/errors.d.ts.map +1 -1
- package/build/errors/errors.js +15 -0
- package/build/preset/endpoints/queries/list-main-page-presets.query.d.ts +0 -24
- package/build/preset/endpoints/queries/list-main-page-presets.query.d.ts.map +1 -1
- package/build/preset/models/main-page-preset.schema.d.ts +16 -12
- package/build/preset/models/main-page-preset.schema.d.ts.map +1 -1
- package/build/preset/models/main-page-preset.schema.js +2 -1
- package/build/preset/models/preset-media.schema.d.ts +30 -0
- package/build/preset/models/preset-media.schema.d.ts.map +1 -1
- package/build/preset/models/preset-media.schema.js +28 -19
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/video-generation-chain/endpoints/commands/cancel-video-generation-chain.command.d.ts +30 -0
- package/build/video-generation-chain/endpoints/commands/cancel-video-generation-chain.command.d.ts.map +1 -1
- package/build/video-generation-chain/endpoints/commands/create-video-generation-chain.command.d.ts +30 -0
- package/build/video-generation-chain/endpoints/commands/create-video-generation-chain.command.d.ts.map +1 -1
- package/build/video-generation-chain/endpoints/commands/index.d.ts +1 -0
- package/build/video-generation-chain/endpoints/commands/index.d.ts.map +1 -1
- package/build/video-generation-chain/endpoints/commands/index.js +1 -0
- package/build/video-generation-chain/endpoints/commands/merge-video-generation-chain.command.d.ts +142 -0
- package/build/video-generation-chain/endpoints/commands/merge-video-generation-chain.command.d.ts.map +1 -0
- package/build/video-generation-chain/endpoints/commands/merge-video-generation-chain.command.js +26 -0
- package/build/video-generation-chain/endpoints/commands/regenerate-video-generation-chain-scene.command.d.ts +30 -0
- package/build/video-generation-chain/endpoints/commands/regenerate-video-generation-chain-scene.command.d.ts.map +1 -1
- package/build/video-generation-chain/endpoints/commands/resume-video-generation-chain.command.d.ts +30 -0
- package/build/video-generation-chain/endpoints/commands/resume-video-generation-chain.command.d.ts.map +1 -1
- package/build/video-generation-chain/endpoints/commands/update-video-generation-chain-scene.command.d.ts +30 -0
- package/build/video-generation-chain/endpoints/commands/update-video-generation-chain-scene.command.d.ts.map +1 -1
- package/build/video-generation-chain/endpoints/queries/get-video-generation-chain-by-uuid.query.d.ts +30 -0
- package/build/video-generation-chain/endpoints/queries/get-video-generation-chain-by-uuid.query.d.ts.map +1 -1
- package/build/video-generation-chain/endpoints/video-generation-chain.d.ts +1 -0
- package/build/video-generation-chain/endpoints/video-generation-chain.d.ts.map +1 -1
- package/build/video-generation-chain/endpoints/video-generation-chain.js +1 -0
- package/build/video-generation-chain/enums/index.d.ts +1 -0
- package/build/video-generation-chain/enums/index.d.ts.map +1 -1
- package/build/video-generation-chain/enums/index.js +1 -0
- package/build/video-generation-chain/enums/video-generation-chain-merge-status.enum.d.ts +6 -0
- package/build/video-generation-chain/enums/video-generation-chain-merge-status.enum.d.ts.map +1 -0
- package/build/video-generation-chain/enums/video-generation-chain-merge-status.enum.js +9 -0
- package/build/video-generation-chain/models/index.d.ts +1 -0
- package/build/video-generation-chain/models/index.d.ts.map +1 -1
- package/build/video-generation-chain/models/index.js +1 -0
- package/build/video-generation-chain/models/video-generation-chain-merge-response.schema.d.ts +28 -0
- package/build/video-generation-chain/models/video-generation-chain-merge-response.schema.d.ts.map +1 -0
- package/build/video-generation-chain/models/video-generation-chain-merge-response.schema.js +22 -0
- package/build/video-generation-chain/models/video-generation-chain-response.schema.d.ts +15 -0
- package/build/video-generation-chain/models/video-generation-chain-response.schema.d.ts.map +1 -1
- package/build/video-generation-chain/models/video-generation-chain-response.schema.js +2 -0
- package/errors/errors.ts +15 -0
- package/package.json +1 -1
- package/preset/models/main-page-preset.schema.ts +3 -2
- package/preset/models/preset-media.schema.ts +35 -18
- package/video-generation-chain/endpoints/commands/index.ts +1 -0
- package/video-generation-chain/endpoints/commands/merge-video-generation-chain.command.ts +26 -0
- package/video-generation-chain/endpoints/video-generation-chain.ts +1 -0
- package/video-generation-chain/enums/index.ts +1 -0
- package/video-generation-chain/enums/video-generation-chain-merge-status.enum.ts +5 -0
- package/video-generation-chain/models/index.ts +1 -0
- package/video-generation-chain/models/video-generation-chain-merge-response.schema.ts +25 -0
- package/video-generation-chain/models/video-generation-chain-response.schema.ts +2 -0
package/build/video-generation-chain/endpoints/commands/cancel-video-generation-chain.command.d.ts
CHANGED
|
@@ -47,6 +47,21 @@ export declare const CancelVideoGenerationChainCommandResponse: z.ZodObject<{
|
|
|
47
47
|
startedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
48
48
|
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
49
49
|
}, z.core.$strip>>;
|
|
50
|
+
merge: z.ZodNullable<z.ZodObject<{
|
|
51
|
+
status: z.ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_MERGE_STATUS>;
|
|
52
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
53
|
+
uuid: z.ZodUUID;
|
|
54
|
+
url: z.ZodURL;
|
|
55
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
56
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
57
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
58
|
+
}, z.core.$strip>>;
|
|
59
|
+
isStale: z.ZodBoolean;
|
|
60
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
61
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
62
|
+
startedAt: z.ZodISODateTime;
|
|
63
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
64
|
+
}, z.core.$strip>>;
|
|
50
65
|
}, z.core.$strip>;
|
|
51
66
|
export declare const CancelVideoGenerationChainCommand: {
|
|
52
67
|
method: HTTP_METHODS.POST;
|
|
@@ -102,6 +117,21 @@ export declare const CancelVideoGenerationChainCommand: {
|
|
|
102
117
|
startedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
103
118
|
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
104
119
|
}, z.core.$strip>>;
|
|
120
|
+
merge: z.ZodNullable<z.ZodObject<{
|
|
121
|
+
status: z.ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_MERGE_STATUS>;
|
|
122
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
123
|
+
uuid: z.ZodUUID;
|
|
124
|
+
url: z.ZodURL;
|
|
125
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
126
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
127
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
128
|
+
}, z.core.$strip>>;
|
|
129
|
+
isStale: z.ZodBoolean;
|
|
130
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
131
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
132
|
+
startedAt: z.ZodISODateTime;
|
|
133
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
134
|
+
}, z.core.$strip>>;
|
|
105
135
|
}, z.core.$strip>;
|
|
106
136
|
401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
107
137
|
404: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-video-generation-chain.command.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/commands/cancel-video-generation-chain.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,uCAAuC;;iBAElD,CAAC;AAEH,eAAO,MAAM,yCAAyC
|
|
1
|
+
{"version":3,"file":"cancel-video-generation-chain.command.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/commands/cancel-video-generation-chain.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,uCAAuC;;iBAElD,CAAC;AAEH,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAqC,CAAC;AAE5F,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAc5C,CAAC"}
|
package/build/video-generation-chain/endpoints/commands/create-video-generation-chain.command.d.ts
CHANGED
|
@@ -51,6 +51,21 @@ export declare const CreateVideoGenerationChainCommandResponse: z.ZodObject<{
|
|
|
51
51
|
startedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
52
52
|
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
53
53
|
}, z.core.$strip>>;
|
|
54
|
+
merge: z.ZodNullable<z.ZodObject<{
|
|
55
|
+
status: z.ZodEnum<typeof import("../../enums").VIDEO_GENERATION_CHAIN_MERGE_STATUS>;
|
|
56
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
57
|
+
uuid: z.ZodUUID;
|
|
58
|
+
url: z.ZodURL;
|
|
59
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
60
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
61
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
62
|
+
}, z.core.$strip>>;
|
|
63
|
+
isStale: z.ZodBoolean;
|
|
64
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
65
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
66
|
+
startedAt: z.ZodISODateTime;
|
|
67
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
68
|
+
}, z.core.$strip>>;
|
|
54
69
|
}, z.core.$strip>;
|
|
55
70
|
export declare const CreateVideoGenerationChainCommand: {
|
|
56
71
|
method: HTTP_METHODS.POST;
|
|
@@ -110,6 +125,21 @@ export declare const CreateVideoGenerationChainCommand: {
|
|
|
110
125
|
startedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
111
126
|
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
112
127
|
}, z.core.$strip>>;
|
|
128
|
+
merge: z.ZodNullable<z.ZodObject<{
|
|
129
|
+
status: z.ZodEnum<typeof import("../../enums").VIDEO_GENERATION_CHAIN_MERGE_STATUS>;
|
|
130
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
131
|
+
uuid: z.ZodUUID;
|
|
132
|
+
url: z.ZodURL;
|
|
133
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
134
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
135
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
136
|
+
}, z.core.$strip>>;
|
|
137
|
+
isStale: z.ZodBoolean;
|
|
138
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
139
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
140
|
+
startedAt: z.ZodISODateTime;
|
|
141
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
142
|
+
}, z.core.$strip>>;
|
|
113
143
|
}, z.core.$strip>;
|
|
114
144
|
400: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
115
145
|
401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-video-generation-chain.command.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/commands/create-video-generation-chain.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AASzF,eAAO,MAAM,qCAAqC;;;;;;iBA8B5C,CAAC;AAEP,eAAO,MAAM,yCAAyC
|
|
1
|
+
{"version":3,"file":"create-video-generation-chain.command.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/commands/create-video-generation-chain.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AASzF,eAAO,MAAM,qCAAqC;;;;;;iBA8B5C,CAAC;AAEP,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAqC,CAAC;AAE5F,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAc5C,CAAC"}
|
|
@@ -3,4 +3,5 @@ export * from './update-video-generation-chain-scene.command';
|
|
|
3
3
|
export * from './resume-video-generation-chain.command';
|
|
4
4
|
export * from './cancel-video-generation-chain.command';
|
|
5
5
|
export * from './regenerate-video-generation-chain-scene.command';
|
|
6
|
+
export * from './merge-video-generation-chain.command';
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mDAAmD,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mDAAmD,CAAC;AAClE,cAAc,wCAAwC,CAAC"}
|
|
@@ -19,3 +19,4 @@ __exportStar(require("./update-video-generation-chain-scene.command"), exports);
|
|
|
19
19
|
__exportStar(require("./resume-video-generation-chain.command"), exports);
|
|
20
20
|
__exportStar(require("./cancel-video-generation-chain.command"), exports);
|
|
21
21
|
__exportStar(require("./regenerate-video-generation-chain-scene.command"), exports);
|
|
22
|
+
__exportStar(require("./merge-video-generation-chain.command"), exports);
|
package/build/video-generation-chain/endpoints/commands/merge-video-generation-chain.command.d.ts
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HTTP_METHODS } from '../../../_common';
|
|
3
|
+
export declare const MergeVideoGenerationChainCommandParams: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodUUID;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export declare const MergeVideoGenerationChainCommandResponse: z.ZodObject<{
|
|
7
|
+
uuid: z.ZodUUID;
|
|
8
|
+
modelId: z.ZodUUID;
|
|
9
|
+
status: z.ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_STATUS>;
|
|
10
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
11
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
12
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
13
|
+
createdAt: z.ZodISODateTime;
|
|
14
|
+
updatedAt: z.ZodISODateTime;
|
|
15
|
+
scenes: z.ZodArray<z.ZodObject<{
|
|
16
|
+
index: z.ZodNumber;
|
|
17
|
+
status: z.ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_SCENE_STATUS>;
|
|
18
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
19
|
+
attachments: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
20
|
+
uuid: z.ZodString;
|
|
21
|
+
url: z.ZodString;
|
|
22
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
23
|
+
fileType: z.ZodString;
|
|
24
|
+
mimeType: z.ZodString;
|
|
25
|
+
fileName: z.ZodString;
|
|
26
|
+
size: z.ZodNumber;
|
|
27
|
+
source: z.ZodEnum<{
|
|
28
|
+
context: "context";
|
|
29
|
+
user: "user";
|
|
30
|
+
}>;
|
|
31
|
+
}, z.core.$strip>>>;
|
|
32
|
+
generationJobId: z.ZodNullable<z.ZodUUID>;
|
|
33
|
+
output: z.ZodNullable<z.ZodObject<{
|
|
34
|
+
uuid: z.ZodUUID;
|
|
35
|
+
url: z.ZodURL;
|
|
36
|
+
title: z.ZodOptional<z.ZodString>;
|
|
37
|
+
tags: z.ZodOptional<z.ZodString>;
|
|
38
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
39
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
lastFrame: z.ZodNullable<z.ZodObject<{
|
|
42
|
+
uuid: z.ZodUUID;
|
|
43
|
+
url: z.ZodURL;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
46
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
47
|
+
startedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
48
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
merge: z.ZodNullable<z.ZodObject<{
|
|
51
|
+
status: z.ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_MERGE_STATUS>;
|
|
52
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
53
|
+
uuid: z.ZodUUID;
|
|
54
|
+
url: z.ZodURL;
|
|
55
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
56
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
57
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
58
|
+
}, z.core.$strip>>;
|
|
59
|
+
isStale: z.ZodBoolean;
|
|
60
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
61
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
62
|
+
startedAt: z.ZodISODateTime;
|
|
63
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
64
|
+
}, z.core.$strip>>;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
export declare const MergeVideoGenerationChainCommand: {
|
|
67
|
+
method: HTTP_METHODS.POST;
|
|
68
|
+
path: string;
|
|
69
|
+
summary: string;
|
|
70
|
+
request: {
|
|
71
|
+
params: z.ZodObject<{
|
|
72
|
+
uuid: z.ZodUUID;
|
|
73
|
+
}, z.core.$strip>;
|
|
74
|
+
};
|
|
75
|
+
responses: {
|
|
76
|
+
200: z.ZodObject<{
|
|
77
|
+
uuid: z.ZodUUID;
|
|
78
|
+
modelId: z.ZodUUID;
|
|
79
|
+
status: z.ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_STATUS>;
|
|
80
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
81
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
82
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
83
|
+
createdAt: z.ZodISODateTime;
|
|
84
|
+
updatedAt: z.ZodISODateTime;
|
|
85
|
+
scenes: z.ZodArray<z.ZodObject<{
|
|
86
|
+
index: z.ZodNumber;
|
|
87
|
+
status: z.ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_SCENE_STATUS>;
|
|
88
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
89
|
+
attachments: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
90
|
+
uuid: z.ZodString;
|
|
91
|
+
url: z.ZodString;
|
|
92
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
93
|
+
fileType: z.ZodString;
|
|
94
|
+
mimeType: z.ZodString;
|
|
95
|
+
fileName: z.ZodString;
|
|
96
|
+
size: z.ZodNumber;
|
|
97
|
+
source: z.ZodEnum<{
|
|
98
|
+
context: "context";
|
|
99
|
+
user: "user";
|
|
100
|
+
}>;
|
|
101
|
+
}, z.core.$strip>>>;
|
|
102
|
+
generationJobId: z.ZodNullable<z.ZodUUID>;
|
|
103
|
+
output: z.ZodNullable<z.ZodObject<{
|
|
104
|
+
uuid: z.ZodUUID;
|
|
105
|
+
url: z.ZodURL;
|
|
106
|
+
title: z.ZodOptional<z.ZodString>;
|
|
107
|
+
tags: z.ZodOptional<z.ZodString>;
|
|
108
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
109
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
110
|
+
}, z.core.$strip>>;
|
|
111
|
+
lastFrame: z.ZodNullable<z.ZodObject<{
|
|
112
|
+
uuid: z.ZodUUID;
|
|
113
|
+
url: z.ZodURL;
|
|
114
|
+
}, z.core.$strip>>;
|
|
115
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
116
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
117
|
+
startedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
118
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
119
|
+
}, z.core.$strip>>;
|
|
120
|
+
merge: z.ZodNullable<z.ZodObject<{
|
|
121
|
+
status: z.ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_MERGE_STATUS>;
|
|
122
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
123
|
+
uuid: z.ZodUUID;
|
|
124
|
+
url: z.ZodURL;
|
|
125
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
126
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
127
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
128
|
+
}, z.core.$strip>>;
|
|
129
|
+
isStale: z.ZodBoolean;
|
|
130
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
131
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
132
|
+
startedAt: z.ZodISODateTime;
|
|
133
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
134
|
+
}, z.core.$strip>>;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
137
|
+
404: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
138
|
+
409: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
139
|
+
500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
//# sourceMappingURL=merge-video-generation-chain.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"merge-video-generation-chain.command.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/commands/merge-video-generation-chain.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,sCAAsC;;iBAEjD,CAAC;AAEH,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAqC,CAAC;AAE3F,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAc3C,CAAC"}
|
package/build/video-generation-chain/endpoints/commands/merge-video-generation-chain.command.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MergeVideoGenerationChainCommand = exports.MergeVideoGenerationChainCommandResponse = exports.MergeVideoGenerationChainCommandParams = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const _common_1 = require("../../../_common");
|
|
6
|
+
const models_1 = require("../../models");
|
|
7
|
+
const video_generation_chain_1 = require("../video-generation-chain");
|
|
8
|
+
exports.MergeVideoGenerationChainCommandParams = zod_1.z.object({
|
|
9
|
+
uuid: zod_1.z.uuid(),
|
|
10
|
+
});
|
|
11
|
+
exports.MergeVideoGenerationChainCommandResponse = models_1.VideoGenerationChainResponseSchema;
|
|
12
|
+
exports.MergeVideoGenerationChainCommand = (0, _common_1.defineContract)({
|
|
13
|
+
method: _common_1.HTTP_METHODS.POST,
|
|
14
|
+
path: video_generation_chain_1.VIDEO_GENERATION_CHAIN_ROUTES.MERGE(':uuid'),
|
|
15
|
+
summary: 'Start merging all scenes of a completed chain into a single video; the result arrives asynchronously',
|
|
16
|
+
request: {
|
|
17
|
+
params: exports.MergeVideoGenerationChainCommandParams,
|
|
18
|
+
},
|
|
19
|
+
responses: {
|
|
20
|
+
200: exports.MergeVideoGenerationChainCommandResponse,
|
|
21
|
+
401: _common_1.HttpErrorResponseSchema,
|
|
22
|
+
404: _common_1.HttpErrorResponseSchema,
|
|
23
|
+
409: _common_1.HttpErrorResponseSchema,
|
|
24
|
+
500: _common_1.HttpErrorResponseSchema,
|
|
25
|
+
},
|
|
26
|
+
});
|
|
@@ -47,6 +47,21 @@ export declare const RegenerateVideoGenerationChainSceneCommandResponse: import(
|
|
|
47
47
|
startedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
|
|
48
48
|
finishedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
|
|
49
49
|
}, import("zod/v4/core").$strip>>;
|
|
50
|
+
merge: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
51
|
+
status: import("zod").ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_MERGE_STATUS>;
|
|
52
|
+
file: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
53
|
+
uuid: import("zod").ZodUUID;
|
|
54
|
+
url: import("zod").ZodURL;
|
|
55
|
+
durationMs: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
56
|
+
width: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
57
|
+
height: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
58
|
+
}, import("zod/v4/core").$strip>>;
|
|
59
|
+
isStale: import("zod").ZodBoolean;
|
|
60
|
+
errorCode: import("zod").ZodNullable<import("zod").ZodString>;
|
|
61
|
+
errorMessage: import("zod").ZodNullable<import("zod").ZodString>;
|
|
62
|
+
startedAt: import("zod").ZodISODateTime;
|
|
63
|
+
finishedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
|
|
64
|
+
}, import("zod/v4/core").$strip>>;
|
|
50
65
|
}, import("zod/v4/core").$strip>;
|
|
51
66
|
export declare const RegenerateVideoGenerationChainSceneCommand: {
|
|
52
67
|
method: HTTP_METHODS.POST;
|
|
@@ -103,6 +118,21 @@ export declare const RegenerateVideoGenerationChainSceneCommand: {
|
|
|
103
118
|
startedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
|
|
104
119
|
finishedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
|
|
105
120
|
}, import("zod/v4/core").$strip>>;
|
|
121
|
+
merge: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
122
|
+
status: import("zod").ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_MERGE_STATUS>;
|
|
123
|
+
file: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
124
|
+
uuid: import("zod").ZodUUID;
|
|
125
|
+
url: import("zod").ZodURL;
|
|
126
|
+
durationMs: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
127
|
+
width: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
128
|
+
height: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
129
|
+
}, import("zod/v4/core").$strip>>;
|
|
130
|
+
isStale: import("zod").ZodBoolean;
|
|
131
|
+
errorCode: import("zod").ZodNullable<import("zod").ZodString>;
|
|
132
|
+
errorMessage: import("zod").ZodNullable<import("zod").ZodString>;
|
|
133
|
+
startedAt: import("zod").ZodISODateTime;
|
|
134
|
+
finishedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
|
|
135
|
+
}, import("zod/v4/core").$strip>>;
|
|
106
136
|
}, import("zod/v4/core").$strip>;
|
|
107
137
|
400: import("zod").ZodType<import("../../../_common").HttpErrorResponse, unknown, import("zod/v4/core").$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
108
138
|
401: import("zod").ZodType<import("../../../_common").HttpErrorResponse, unknown, import("zod/v4/core").$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"regenerate-video-generation-chain-scene.command.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/commands/regenerate-video-generation-chain-scene.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAKzF,eAAO,MAAM,gDAAgD;;;gCAAkC,CAAC;AAEhG,eAAO,MAAM,kDAAkD
|
|
1
|
+
{"version":3,"file":"regenerate-video-generation-chain-scene.command.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/commands/regenerate-video-generation-chain-scene.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAKzF,eAAO,MAAM,gDAAgD;;;gCAAkC,CAAC;AAEhG,eAAO,MAAM,kDAAkD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAAqC,CAAC;AAErG,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAerD,CAAC"}
|
package/build/video-generation-chain/endpoints/commands/resume-video-generation-chain.command.d.ts
CHANGED
|
@@ -47,6 +47,21 @@ export declare const ResumeVideoGenerationChainCommandResponse: z.ZodObject<{
|
|
|
47
47
|
startedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
48
48
|
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
49
49
|
}, z.core.$strip>>;
|
|
50
|
+
merge: z.ZodNullable<z.ZodObject<{
|
|
51
|
+
status: z.ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_MERGE_STATUS>;
|
|
52
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
53
|
+
uuid: z.ZodUUID;
|
|
54
|
+
url: z.ZodURL;
|
|
55
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
56
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
57
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
58
|
+
}, z.core.$strip>>;
|
|
59
|
+
isStale: z.ZodBoolean;
|
|
60
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
61
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
62
|
+
startedAt: z.ZodISODateTime;
|
|
63
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
64
|
+
}, z.core.$strip>>;
|
|
50
65
|
}, z.core.$strip>;
|
|
51
66
|
export declare const ResumeVideoGenerationChainCommand: {
|
|
52
67
|
method: HTTP_METHODS.POST;
|
|
@@ -102,6 +117,21 @@ export declare const ResumeVideoGenerationChainCommand: {
|
|
|
102
117
|
startedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
103
118
|
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
104
119
|
}, z.core.$strip>>;
|
|
120
|
+
merge: z.ZodNullable<z.ZodObject<{
|
|
121
|
+
status: z.ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_MERGE_STATUS>;
|
|
122
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
123
|
+
uuid: z.ZodUUID;
|
|
124
|
+
url: z.ZodURL;
|
|
125
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
126
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
127
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
128
|
+
}, z.core.$strip>>;
|
|
129
|
+
isStale: z.ZodBoolean;
|
|
130
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
131
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
132
|
+
startedAt: z.ZodISODateTime;
|
|
133
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
134
|
+
}, z.core.$strip>>;
|
|
105
135
|
}, z.core.$strip>;
|
|
106
136
|
400: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
107
137
|
401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resume-video-generation-chain.command.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/commands/resume-video-generation-chain.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,uCAAuC;;iBAElD,CAAC;AAEH,eAAO,MAAM,yCAAyC
|
|
1
|
+
{"version":3,"file":"resume-video-generation-chain.command.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/commands/resume-video-generation-chain.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,uCAAuC;;iBAElD,CAAC;AAEH,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAqC,CAAC;AAE5F,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe5C,CAAC"}
|
|
@@ -56,6 +56,21 @@ export declare const UpdateVideoGenerationChainSceneCommandResponse: z.ZodObject
|
|
|
56
56
|
startedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
57
57
|
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
58
58
|
}, z.core.$strip>>;
|
|
59
|
+
merge: z.ZodNullable<z.ZodObject<{
|
|
60
|
+
status: z.ZodEnum<typeof import("../../enums").VIDEO_GENERATION_CHAIN_MERGE_STATUS>;
|
|
61
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
62
|
+
uuid: z.ZodUUID;
|
|
63
|
+
url: z.ZodURL;
|
|
64
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
65
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
66
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
67
|
+
}, z.core.$strip>>;
|
|
68
|
+
isStale: z.ZodBoolean;
|
|
69
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
70
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
71
|
+
startedAt: z.ZodISODateTime;
|
|
72
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
73
|
+
}, z.core.$strip>>;
|
|
59
74
|
}, z.core.$strip>;
|
|
60
75
|
export declare const UpdateVideoGenerationChainSceneCommand: {
|
|
61
76
|
method: HTTP_METHODS.PATCH;
|
|
@@ -116,6 +131,21 @@ export declare const UpdateVideoGenerationChainSceneCommand: {
|
|
|
116
131
|
startedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
117
132
|
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
118
133
|
}, z.core.$strip>>;
|
|
134
|
+
merge: z.ZodNullable<z.ZodObject<{
|
|
135
|
+
status: z.ZodEnum<typeof import("../../enums").VIDEO_GENERATION_CHAIN_MERGE_STATUS>;
|
|
136
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
137
|
+
uuid: z.ZodUUID;
|
|
138
|
+
url: z.ZodURL;
|
|
139
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
140
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
141
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
142
|
+
}, z.core.$strip>>;
|
|
143
|
+
isStale: z.ZodBoolean;
|
|
144
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
145
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
146
|
+
startedAt: z.ZodISODateTime;
|
|
147
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
148
|
+
}, z.core.$strip>>;
|
|
119
149
|
}, z.core.$strip>;
|
|
120
150
|
400: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
121
151
|
401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-video-generation-chain-scene.command.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/commands/update-video-generation-chain-scene.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AASzF,eAAO,MAAM,+BAA+B;;;iBAO1C,CAAC;AAEH,eAAO,MAAM,4CAA4C;;;iBAAkC,CAAC;AAE5F,eAAO,MAAM,0CAA0C;;;iBAOjD,CAAC;AAEP,eAAO,MAAM,8CAA8C
|
|
1
|
+
{"version":3,"file":"update-video-generation-chain-scene.command.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/commands/update-video-generation-chain-scene.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AASzF,eAAO,MAAM,+BAA+B;;;iBAO1C,CAAC;AAEH,eAAO,MAAM,4CAA4C;;;iBAAkC,CAAC;AAE5F,eAAO,MAAM,0CAA0C;;;iBAOjD,CAAC;AAEP,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAqC,CAAC;AAEjG,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBjD,CAAC"}
|
package/build/video-generation-chain/endpoints/queries/get-video-generation-chain-by-uuid.query.d.ts
CHANGED
|
@@ -47,6 +47,21 @@ export declare const GetVideoGenerationChainByUuidQueryResponse: z.ZodObject<{
|
|
|
47
47
|
startedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
48
48
|
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
49
49
|
}, z.core.$strip>>;
|
|
50
|
+
merge: z.ZodNullable<z.ZodObject<{
|
|
51
|
+
status: z.ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_MERGE_STATUS>;
|
|
52
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
53
|
+
uuid: z.ZodUUID;
|
|
54
|
+
url: z.ZodURL;
|
|
55
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
56
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
57
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
58
|
+
}, z.core.$strip>>;
|
|
59
|
+
isStale: z.ZodBoolean;
|
|
60
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
61
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
62
|
+
startedAt: z.ZodISODateTime;
|
|
63
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
64
|
+
}, z.core.$strip>>;
|
|
50
65
|
}, z.core.$strip>;
|
|
51
66
|
export declare const GetVideoGenerationChainByUuidQuery: {
|
|
52
67
|
method: HTTP_METHODS.GET;
|
|
@@ -102,6 +117,21 @@ export declare const GetVideoGenerationChainByUuidQuery: {
|
|
|
102
117
|
startedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
103
118
|
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
104
119
|
}, z.core.$strip>>;
|
|
120
|
+
merge: z.ZodNullable<z.ZodObject<{
|
|
121
|
+
status: z.ZodEnum<typeof import("../..").VIDEO_GENERATION_CHAIN_MERGE_STATUS>;
|
|
122
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
123
|
+
uuid: z.ZodUUID;
|
|
124
|
+
url: z.ZodURL;
|
|
125
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
126
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
127
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
128
|
+
}, z.core.$strip>>;
|
|
129
|
+
isStale: z.ZodBoolean;
|
|
130
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
131
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
132
|
+
startedAt: z.ZodISODateTime;
|
|
133
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
134
|
+
}, z.core.$strip>>;
|
|
105
135
|
}, z.core.$strip>;
|
|
106
136
|
401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
107
137
|
404: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-video-generation-chain-by-uuid.query.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/queries/get-video-generation-chain-by-uuid.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,wCAAwC;;iBAEnD,CAAC;AAEH,eAAO,MAAM,0CAA0C
|
|
1
|
+
{"version":3,"file":"get-video-generation-chain-by-uuid.query.d.ts","sourceRoot":"","sources":["../../../../video-generation-chain/endpoints/queries/get-video-generation-chain-by-uuid.query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,wCAAwC;;iBAEnD,CAAC;AAEH,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAqC,CAAC;AAE7F,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAa7C,CAAC"}
|
|
@@ -7,6 +7,7 @@ export declare const VIDEO_GENERATION_CHAIN_ROUTES: {
|
|
|
7
7
|
readonly RESUME: (uuid: string) => string;
|
|
8
8
|
readonly CANCEL: (uuid: string) => string;
|
|
9
9
|
readonly UPDATE_SCENE: (uuid: string, index: string) => string;
|
|
10
|
+
readonly MERGE: (uuid: string) => string;
|
|
10
11
|
readonly REGENERATE_SCENE: (uuid: string, index: string) => string;
|
|
11
12
|
};
|
|
12
13
|
//# sourceMappingURL=video-generation-chain.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"video-generation-chain.d.ts","sourceRoot":"","sources":["../../../video-generation-chain/endpoints/video-generation-chain.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iCAAiC,EAAG,yBAAkC,CAAC;AAEpF,eAAO,MAAM,6BAA6B;;;;iCAIlB,MAAM;4BACX,MAAM;4BACN,MAAM;kCACA,MAAM,SAAS,MAAM;
|
|
1
|
+
{"version":3,"file":"video-generation-chain.d.ts","sourceRoot":"","sources":["../../../video-generation-chain/endpoints/video-generation-chain.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iCAAiC,EAAG,yBAAkC,CAAC;AAEpF,eAAO,MAAM,6BAA6B;;;;iCAIlB,MAAM;4BACX,MAAM;4BACN,MAAM;kCACA,MAAM,SAAS,MAAM;2BAC5B,MAAM;sCACK,MAAM,SAAS,MAAM;CACxC,CAAC"}
|
|
@@ -10,5 +10,6 @@ exports.VIDEO_GENERATION_CHAIN_ROUTES = {
|
|
|
10
10
|
RESUME: (uuid) => `${uuid}/resume`,
|
|
11
11
|
CANCEL: (uuid) => `${uuid}/cancel`,
|
|
12
12
|
UPDATE_SCENE: (uuid, index) => `${uuid}/scenes/${index}`,
|
|
13
|
+
MERGE: (uuid) => `${uuid}/merge`,
|
|
13
14
|
REGENERATE_SCENE: (uuid, index) => `${uuid}/scenes/${index}/regenerate`,
|
|
14
15
|
};
|
|
@@ -2,4 +2,5 @@ export * from './video-generation-chain-status.enum';
|
|
|
2
2
|
export * from './video-generation-chain-scene-status.enum';
|
|
3
3
|
export * from './video-generation-chain-limits';
|
|
4
4
|
export * from './video-generation-chain-frame-slot.enum';
|
|
5
|
+
export * from './video-generation-chain-merge-status.enum';
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../video-generation-chain/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,iCAAiC,CAAC;AAChD,cAAc,0CAA0C,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../video-generation-chain/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,iCAAiC,CAAC;AAChD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC"}
|
|
@@ -18,3 +18,4 @@ __exportStar(require("./video-generation-chain-status.enum"), exports);
|
|
|
18
18
|
__exportStar(require("./video-generation-chain-scene-status.enum"), exports);
|
|
19
19
|
__exportStar(require("./video-generation-chain-limits"), exports);
|
|
20
20
|
__exportStar(require("./video-generation-chain-frame-slot.enum"), exports);
|
|
21
|
+
__exportStar(require("./video-generation-chain-merge-status.enum"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-generation-chain-merge-status.enum.d.ts","sourceRoot":"","sources":["../../../video-generation-chain/enums/video-generation-chain-merge-status.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,mCAAmC;IAC3C,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,MAAM,WAAW;CACpB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VIDEO_GENERATION_CHAIN_MERGE_STATUS = void 0;
|
|
4
|
+
var VIDEO_GENERATION_CHAIN_MERGE_STATUS;
|
|
5
|
+
(function (VIDEO_GENERATION_CHAIN_MERGE_STATUS) {
|
|
6
|
+
VIDEO_GENERATION_CHAIN_MERGE_STATUS["MERGING"] = "merging";
|
|
7
|
+
VIDEO_GENERATION_CHAIN_MERGE_STATUS["MERGED"] = "merged";
|
|
8
|
+
VIDEO_GENERATION_CHAIN_MERGE_STATUS["FAILED"] = "failed";
|
|
9
|
+
})(VIDEO_GENERATION_CHAIN_MERGE_STATUS || (exports.VIDEO_GENERATION_CHAIN_MERGE_STATUS = VIDEO_GENERATION_CHAIN_MERGE_STATUS = {}));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './video-generation-chain-scene-input.schema';
|
|
2
2
|
export * from './video-generation-chain-scene-response.schema';
|
|
3
|
+
export * from './video-generation-chain-merge-response.schema';
|
|
3
4
|
export * from './video-generation-chain-response.schema';
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../video-generation-chain/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,6CAA6C,CAAC;AAC5D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,0CAA0C,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../video-generation-chain/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,6CAA6C,CAAC;AAC5D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,0CAA0C,CAAC"}
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./video-generation-chain-scene-input.schema"), exports);
|
|
18
18
|
__exportStar(require("./video-generation-chain-scene-response.schema"), exports);
|
|
19
|
+
__exportStar(require("./video-generation-chain-merge-response.schema"), exports);
|
|
19
20
|
__exportStar(require("./video-generation-chain-response.schema"), exports);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { VIDEO_GENERATION_CHAIN_MERGE_STATUS } from '../enums';
|
|
3
|
+
export declare const VideoGenerationChainMergeStatusSchema: z.ZodEnum<typeof VIDEO_GENERATION_CHAIN_MERGE_STATUS>;
|
|
4
|
+
export declare const VideoGenerationChainMergedFileSchema: z.ZodObject<{
|
|
5
|
+
uuid: z.ZodUUID;
|
|
6
|
+
url: z.ZodURL;
|
|
7
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export declare const VideoGenerationChainMergeResponseSchema: z.ZodObject<{
|
|
12
|
+
status: z.ZodEnum<typeof VIDEO_GENERATION_CHAIN_MERGE_STATUS>;
|
|
13
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
14
|
+
uuid: z.ZodUUID;
|
|
15
|
+
url: z.ZodURL;
|
|
16
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
width: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
height: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
isStale: z.ZodBoolean;
|
|
21
|
+
errorCode: z.ZodNullable<z.ZodString>;
|
|
22
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
23
|
+
startedAt: z.ZodISODateTime;
|
|
24
|
+
finishedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
export type VideoGenerationChainMergedFileSchemaType = z.infer<typeof VideoGenerationChainMergedFileSchema>;
|
|
27
|
+
export type VideoGenerationChainMergeResponseSchemaType = z.infer<typeof VideoGenerationChainMergeResponseSchema>;
|
|
28
|
+
//# sourceMappingURL=video-generation-chain-merge-response.schema.d.ts.map
|
package/build/video-generation-chain/models/video-generation-chain-merge-response.schema.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-generation-chain-merge-response.schema.d.ts","sourceRoot":"","sources":["../../../video-generation-chain/models/video-generation-chain-merge-response.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mCAAmC,EAAE,MAAM,UAAU,CAAC;AAE/D,eAAO,MAAM,qCAAqC,uDAA8C,CAAC;AAEjG,eAAO,MAAM,oCAAoC;;;;;;iBAM/C,CAAC;AAEH,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;iBAQlD,CAAC;AAEH,MAAM,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAC5G,MAAM,MAAM,2CAA2C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uCAAuC,CAAC,CAAC"}
|