@purpleschool/gptbot-tools 0.2.81 → 0.2.83-stage-2
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/image-generation/commands/execute-image-generation.command.d.ts +2 -0
- package/build/image-generation/commands/update-image-generation-job-favorite.command.d.ts +118 -36
- package/build/image-generation/commands/update-image-generation-job-favorite.command.js +2 -2
- package/build/image-generation/models/image-generation-group.schema.d.ts +1 -0
- package/build/image-generation/models/image-generation-group.schema.js +1 -0
- package/build/image-generation/queries/find-image-generation-job-by-id.query.d.ts +2 -0
- package/build/image-generation/queries/find-image-generation-jobs.query.d.ts +2 -0
- package/build/tool-workspace/models/tool-workspace-contents.schema.d.ts +1 -0
- package/build/tool-workspace/models/tool-workspace-item.schema.d.ts +1 -0
- package/build/tool-workspace/models/tool-workspace-job.schema.d.ts +1 -0
- package/build/tool-workspace/queries/find-tool-workspace-by-uuid.query.d.ts +2 -0
- package/build/video/commands/retry-video-job.command.d.ts +2 -0
- package/build/video/commands/set-reaction-to-video-job.command.d.ts +2 -0
- package/build/video/commands/update-published-status-video-jobs.command.d.ts +2 -0
- package/build/video/commands/update-video-job-favorite.command.d.ts +118 -32
- package/build/video/commands/update-video-job-favorite.command.js +2 -2
- package/build/video/commands/update-video-job-title.command.d.ts +2 -0
- package/build/video/commands/video.command.d.ts +119 -32
- package/build/video/commands/video.command.js +3 -2
- package/build/video/enums/index.d.ts +1 -0
- package/build/video/enums/index.js +1 -0
- package/build/video/enums/video-group-status.enum.d.ts +6 -0
- package/build/video/enums/video-group-status.enum.js +10 -0
- package/build/video/models/index.d.ts +1 -0
- package/build/video/models/index.js +1 -0
- package/build/video/models/video-group.schema.d.ts +93 -0
- package/build/video/models/video-group.schema.js +32 -0
- package/build/video/models/video-job.schema.d.ts +1 -0
- package/build/video/models/video-job.schema.js +1 -0
- package/build/video/queries/find-video-job-by-id.query.d.ts +118 -32
- package/build/video/queries/find-video-job-by-id.query.js +2 -2
- package/build/video/queries/find-video-jobs.query.d.ts +120 -34
- package/build/video/queries/find-video-jobs.query.js +4 -4
- package/package.json +1 -1
|
@@ -73,6 +73,7 @@ export declare namespace ExecuteImageGenerationCommand {
|
|
|
73
73
|
userId: string | null;
|
|
74
74
|
unregisteredUserId: string | null;
|
|
75
75
|
isDeleted: boolean;
|
|
76
|
+
isFavorite: boolean;
|
|
76
77
|
subJobs: {
|
|
77
78
|
uuid: string;
|
|
78
79
|
prompt: string;
|
|
@@ -163,6 +164,7 @@ export declare namespace ExecuteImageGenerationCommand {
|
|
|
163
164
|
userId: string | null;
|
|
164
165
|
unregisteredUserId: string | null;
|
|
165
166
|
isDeleted: boolean;
|
|
167
|
+
isFavorite: boolean;
|
|
166
168
|
subJobs: {
|
|
167
169
|
uuid: string;
|
|
168
170
|
prompt: string;
|
|
@@ -11,15 +11,13 @@ export declare namespace UpdateImageGenerationJobFavoriteCommand {
|
|
|
11
11
|
isSuccess: z.ZodBoolean;
|
|
12
12
|
data: z.ZodOptional<z.ZodType<{
|
|
13
13
|
uuid: string;
|
|
14
|
-
prompt: string;
|
|
15
14
|
title: string;
|
|
16
|
-
|
|
15
|
+
prompt: string;
|
|
16
|
+
status: import("..").IMAGE_GENERATION_GROUP_STATUS;
|
|
17
17
|
error: string | null;
|
|
18
|
+
modelId: string;
|
|
19
|
+
presetId: string | null;
|
|
18
20
|
price: number;
|
|
19
|
-
previewUrl: string | null;
|
|
20
|
-
reaction: import("../..").USER_REACTION | null;
|
|
21
|
-
dislikeReason: string | null;
|
|
22
|
-
externalId: string | null;
|
|
23
21
|
params: {
|
|
24
22
|
aspectRatio: string;
|
|
25
23
|
attachedFiles: {
|
|
@@ -37,39 +35,80 @@ export declare namespace UpdateImageGenerationJobFavoriteCommand {
|
|
|
37
35
|
resolution?: import("..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
38
36
|
batching?: number | undefined;
|
|
39
37
|
};
|
|
40
|
-
output: string[];
|
|
41
|
-
presetId?: string | null | undefined;
|
|
42
|
-
modelId: string;
|
|
43
|
-
groupId: string | null;
|
|
44
38
|
attempts: {
|
|
45
39
|
order: number;
|
|
46
40
|
status: string;
|
|
47
41
|
error: string | null;
|
|
48
42
|
timestamp: Date;
|
|
49
43
|
}[];
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
origin: string;
|
|
54
|
-
callOrigin: import("@purpleschool/rugpt-lib-common").STATISTICS_CALL_ORIGIN;
|
|
55
|
-
postId: string | null;
|
|
44
|
+
scope: import("../..").JOB_SCOPE;
|
|
45
|
+
userId: string | null;
|
|
46
|
+
unregisteredUserId: string | null;
|
|
56
47
|
isDeleted: boolean;
|
|
57
48
|
isFavorite: boolean;
|
|
58
|
-
|
|
59
|
-
|
|
49
|
+
subJobs: {
|
|
50
|
+
uuid: string;
|
|
51
|
+
prompt: string;
|
|
52
|
+
title: string;
|
|
53
|
+
status: import("../..").JOB_STATUS;
|
|
54
|
+
error: string | null;
|
|
55
|
+
price: number;
|
|
56
|
+
previewUrl: string | null;
|
|
57
|
+
reaction: import("../..").USER_REACTION | null;
|
|
58
|
+
dislikeReason: string | null;
|
|
59
|
+
externalId: string | null;
|
|
60
|
+
params: {
|
|
61
|
+
aspectRatio: string;
|
|
62
|
+
attachedFiles: {
|
|
63
|
+
uuid: string;
|
|
64
|
+
url: string;
|
|
65
|
+
name: string;
|
|
66
|
+
mimeType: string;
|
|
67
|
+
type: string;
|
|
68
|
+
size: number;
|
|
69
|
+
duration?: number | null | undefined;
|
|
70
|
+
content?: string | null | undefined;
|
|
71
|
+
contentLength?: number | null | undefined;
|
|
72
|
+
}[];
|
|
73
|
+
enhancePrompt: boolean;
|
|
74
|
+
resolution?: import("..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
75
|
+
batching?: number | undefined;
|
|
76
|
+
};
|
|
77
|
+
output: string[];
|
|
78
|
+
presetId?: string | null | undefined;
|
|
79
|
+
modelId: string;
|
|
80
|
+
groupId: string | null;
|
|
81
|
+
attempts: {
|
|
82
|
+
order: number;
|
|
83
|
+
status: string;
|
|
84
|
+
error: string | null;
|
|
85
|
+
timestamp: Date;
|
|
86
|
+
}[];
|
|
87
|
+
userId?: string | null | undefined;
|
|
88
|
+
unregisteredUserId?: string | null | undefined;
|
|
89
|
+
isPublished: boolean;
|
|
90
|
+
origin: string;
|
|
91
|
+
callOrigin: import("@purpleschool/rugpt-lib-common").STATISTICS_CALL_ORIGIN;
|
|
92
|
+
postId: string | null;
|
|
93
|
+
isDeleted: boolean;
|
|
94
|
+
isFavorite: boolean;
|
|
95
|
+
internalError: string | null;
|
|
96
|
+
tokenReservationId?: string | null | undefined;
|
|
97
|
+
createdAt: Date;
|
|
98
|
+
updatedAt: Date;
|
|
99
|
+
}[];
|
|
60
100
|
createdAt: Date;
|
|
101
|
+
completedAt: Date | null;
|
|
61
102
|
updatedAt: Date;
|
|
62
103
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
63
104
|
uuid: string;
|
|
64
|
-
prompt: string;
|
|
65
105
|
title: string;
|
|
66
|
-
|
|
106
|
+
prompt: string;
|
|
107
|
+
status: import("..").IMAGE_GENERATION_GROUP_STATUS;
|
|
67
108
|
error: string | null;
|
|
109
|
+
modelId: string;
|
|
110
|
+
presetId: string | null;
|
|
68
111
|
price: number;
|
|
69
|
-
previewUrl: string | null;
|
|
70
|
-
reaction: import("../..").USER_REACTION | null;
|
|
71
|
-
dislikeReason: string | null;
|
|
72
|
-
externalId: string | null;
|
|
73
112
|
params: {
|
|
74
113
|
aspectRatio: string;
|
|
75
114
|
attachedFiles: {
|
|
@@ -87,27 +126,70 @@ export declare namespace UpdateImageGenerationJobFavoriteCommand {
|
|
|
87
126
|
resolution?: import("..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
88
127
|
batching?: number | undefined;
|
|
89
128
|
};
|
|
90
|
-
output: string[];
|
|
91
|
-
presetId?: string | null | undefined;
|
|
92
|
-
modelId: string;
|
|
93
|
-
groupId: string | null;
|
|
94
129
|
attempts: {
|
|
95
130
|
order: number;
|
|
96
131
|
status: string;
|
|
97
132
|
error: string | null;
|
|
98
133
|
timestamp: Date;
|
|
99
134
|
}[];
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
origin: string;
|
|
104
|
-
callOrigin: import("@purpleschool/rugpt-lib-common").STATISTICS_CALL_ORIGIN;
|
|
105
|
-
postId: string | null;
|
|
135
|
+
scope: import("../..").JOB_SCOPE;
|
|
136
|
+
userId: string | null;
|
|
137
|
+
unregisteredUserId: string | null;
|
|
106
138
|
isDeleted: boolean;
|
|
107
139
|
isFavorite: boolean;
|
|
108
|
-
|
|
109
|
-
|
|
140
|
+
subJobs: {
|
|
141
|
+
uuid: string;
|
|
142
|
+
prompt: string;
|
|
143
|
+
title: string;
|
|
144
|
+
status: import("../..").JOB_STATUS;
|
|
145
|
+
error: string | null;
|
|
146
|
+
price: number;
|
|
147
|
+
previewUrl: string | null;
|
|
148
|
+
reaction: import("../..").USER_REACTION | null;
|
|
149
|
+
dislikeReason: string | null;
|
|
150
|
+
externalId: string | null;
|
|
151
|
+
params: {
|
|
152
|
+
aspectRatio: string;
|
|
153
|
+
attachedFiles: {
|
|
154
|
+
uuid: string;
|
|
155
|
+
url: string;
|
|
156
|
+
name: string;
|
|
157
|
+
mimeType: string;
|
|
158
|
+
type: string;
|
|
159
|
+
size: number;
|
|
160
|
+
duration?: number | null | undefined;
|
|
161
|
+
content?: string | null | undefined;
|
|
162
|
+
contentLength?: number | null | undefined;
|
|
163
|
+
}[];
|
|
164
|
+
enhancePrompt: boolean;
|
|
165
|
+
resolution?: import("..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
166
|
+
batching?: number | undefined;
|
|
167
|
+
};
|
|
168
|
+
output: string[];
|
|
169
|
+
presetId?: string | null | undefined;
|
|
170
|
+
modelId: string;
|
|
171
|
+
groupId: string | null;
|
|
172
|
+
attempts: {
|
|
173
|
+
order: number;
|
|
174
|
+
status: string;
|
|
175
|
+
error: string | null;
|
|
176
|
+
timestamp: Date;
|
|
177
|
+
}[];
|
|
178
|
+
userId?: string | null | undefined;
|
|
179
|
+
unregisteredUserId?: string | null | undefined;
|
|
180
|
+
isPublished: boolean;
|
|
181
|
+
origin: string;
|
|
182
|
+
callOrigin: import("@purpleschool/rugpt-lib-common").STATISTICS_CALL_ORIGIN;
|
|
183
|
+
postId: string | null;
|
|
184
|
+
isDeleted: boolean;
|
|
185
|
+
isFavorite: boolean;
|
|
186
|
+
internalError: string | null;
|
|
187
|
+
tokenReservationId?: string | null | undefined;
|
|
188
|
+
createdAt: Date;
|
|
189
|
+
updatedAt: Date;
|
|
190
|
+
}[];
|
|
110
191
|
createdAt: Date;
|
|
192
|
+
completedAt: Date | null;
|
|
111
193
|
updatedAt: Date;
|
|
112
194
|
}, unknown>>>;
|
|
113
195
|
code: z.ZodOptional<z.ZodString>;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateImageGenerationJobFavoriteCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const command_response_schema_1 = require("../../common/models/command-response.schema");
|
|
6
|
-
const
|
|
6
|
+
const image_generation_group_schema_1 = require("../models/image-generation-group.schema");
|
|
7
7
|
var UpdateImageGenerationJobFavoriteCommand;
|
|
8
8
|
(function (UpdateImageGenerationJobFavoriteCommand) {
|
|
9
9
|
UpdateImageGenerationJobFavoriteCommand.RequestSchema = zod_1.z.object({
|
|
@@ -12,5 +12,5 @@ var UpdateImageGenerationJobFavoriteCommand;
|
|
|
12
12
|
unregisteredUserId: zod_1.z.uuid().nullable().optional(),
|
|
13
13
|
isFavorite: zod_1.z.boolean(),
|
|
14
14
|
});
|
|
15
|
-
UpdateImageGenerationJobFavoriteCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(
|
|
15
|
+
UpdateImageGenerationJobFavoriteCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(image_generation_group_schema_1.ImageGenerationGroupSchema);
|
|
16
16
|
})(UpdateImageGenerationJobFavoriteCommand || (exports.UpdateImageGenerationJobFavoriteCommand = UpdateImageGenerationJobFavoriteCommand = {}));
|
|
@@ -37,6 +37,7 @@ export declare const ImageGenerationGroupSchema: z.ZodObject<{
|
|
|
37
37
|
userId: z.ZodNullable<z.ZodString>;
|
|
38
38
|
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
39
39
|
isDeleted: z.ZodBoolean;
|
|
40
|
+
isFavorite: z.ZodBoolean;
|
|
40
41
|
subJobs: z.ZodArray<z.ZodObject<{
|
|
41
42
|
uuid: z.ZodString;
|
|
42
43
|
prompt: z.ZodString;
|
|
@@ -26,6 +26,7 @@ exports.ImageGenerationGroupSchema = zod_1.z.object({
|
|
|
26
26
|
userId: zod_1.z.string().nullable(),
|
|
27
27
|
unregisteredUserId: zod_1.z.string().nullable(),
|
|
28
28
|
isDeleted: zod_1.z.boolean(),
|
|
29
|
+
isFavorite: zod_1.z.boolean(),
|
|
29
30
|
subJobs: zod_1.z.array(image_generation_job_schema_1.ImageGenerationJobSchema),
|
|
30
31
|
createdAt: zod_1.z.coerce.date(),
|
|
31
32
|
completedAt: zod_1.z.coerce.date().nullable(),
|
|
@@ -44,6 +44,7 @@ export declare namespace FindImageGenerationJobByIdQuery {
|
|
|
44
44
|
userId: string | null;
|
|
45
45
|
unregisteredUserId: string | null;
|
|
46
46
|
isDeleted: boolean;
|
|
47
|
+
isFavorite: boolean;
|
|
47
48
|
subJobs: {
|
|
48
49
|
uuid: string;
|
|
49
50
|
prompt: string;
|
|
@@ -134,6 +135,7 @@ export declare namespace FindImageGenerationJobByIdQuery {
|
|
|
134
135
|
userId: string | null;
|
|
135
136
|
unregisteredUserId: string | null;
|
|
136
137
|
isDeleted: boolean;
|
|
138
|
+
isFavorite: boolean;
|
|
137
139
|
subJobs: {
|
|
138
140
|
uuid: string;
|
|
139
141
|
prompt: string;
|
|
@@ -56,6 +56,7 @@ export declare namespace FindImageGenerationJobsQuery {
|
|
|
56
56
|
userId: string | null;
|
|
57
57
|
unregisteredUserId: string | null;
|
|
58
58
|
isDeleted: boolean;
|
|
59
|
+
isFavorite: boolean;
|
|
59
60
|
subJobs: {
|
|
60
61
|
uuid: string;
|
|
61
62
|
prompt: string;
|
|
@@ -151,6 +152,7 @@ export declare namespace FindImageGenerationJobsQuery {
|
|
|
151
152
|
userId: string | null;
|
|
152
153
|
unregisteredUserId: string | null;
|
|
153
154
|
isDeleted: boolean;
|
|
155
|
+
isFavorite: boolean;
|
|
154
156
|
subJobs: {
|
|
155
157
|
uuid: string;
|
|
156
158
|
prompt: string;
|
|
@@ -137,6 +137,7 @@ export declare const ToolWorkspaceContentsSchema: z.ZodObject<{
|
|
|
137
137
|
status: z.ZodEnum<typeof import("../..").JOB_STATUS>;
|
|
138
138
|
error: z.ZodNullable<z.ZodString>;
|
|
139
139
|
modelId: z.ZodString;
|
|
140
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
140
141
|
price: z.ZodNumber;
|
|
141
142
|
params: z.ZodObject<{
|
|
142
143
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -127,6 +127,7 @@ export declare const ToolWorkspaceItemSchema: z.ZodObject<{
|
|
|
127
127
|
status: z.ZodEnum<typeof import("../..").JOB_STATUS>;
|
|
128
128
|
error: z.ZodNullable<z.ZodString>;
|
|
129
129
|
modelId: z.ZodString;
|
|
130
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
130
131
|
price: z.ZodNumber;
|
|
131
132
|
params: z.ZodObject<{
|
|
132
133
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -120,6 +120,7 @@ export declare const ToolWorkspaceJobSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
120
120
|
status: z.ZodEnum<typeof import("../..").JOB_STATUS>;
|
|
121
121
|
error: z.ZodNullable<z.ZodString>;
|
|
122
122
|
modelId: z.ZodString;
|
|
123
|
+
groupId: z.ZodNullable<z.ZodString>;
|
|
123
124
|
price: z.ZodNumber;
|
|
124
125
|
params: z.ZodObject<{
|
|
125
126
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -146,6 +146,7 @@ export declare namespace FindToolWorkspaceByUuidQuery {
|
|
|
146
146
|
status: import("../..").JOB_STATUS;
|
|
147
147
|
error: string | null;
|
|
148
148
|
modelId: string;
|
|
149
|
+
groupId: string | null;
|
|
149
150
|
price: number;
|
|
150
151
|
params: {
|
|
151
152
|
imageUrls?: string[] | undefined;
|
|
@@ -321,6 +322,7 @@ export declare namespace FindToolWorkspaceByUuidQuery {
|
|
|
321
322
|
status: import("../..").JOB_STATUS;
|
|
322
323
|
error: string | null;
|
|
323
324
|
modelId: string;
|
|
325
|
+
groupId: string | null;
|
|
324
326
|
price: number;
|
|
325
327
|
params: {
|
|
326
328
|
imageUrls?: string[] | undefined;
|
|
@@ -57,6 +57,7 @@ export declare namespace RetryVideoJobCommand {
|
|
|
57
57
|
status: import("../..").JOB_STATUS;
|
|
58
58
|
error: string | null;
|
|
59
59
|
modelId: string;
|
|
60
|
+
groupId: string | null;
|
|
60
61
|
price: number;
|
|
61
62
|
params: {
|
|
62
63
|
imageUrls?: string[] | undefined;
|
|
@@ -102,6 +103,7 @@ export declare namespace RetryVideoJobCommand {
|
|
|
102
103
|
status: import("../..").JOB_STATUS;
|
|
103
104
|
error: string | null;
|
|
104
105
|
modelId: string;
|
|
106
|
+
groupId: string | null;
|
|
105
107
|
price: number;
|
|
106
108
|
params: {
|
|
107
109
|
imageUrls?: string[] | undefined;
|
|
@@ -24,6 +24,7 @@ export declare namespace SetReactionToVideoJobCommand {
|
|
|
24
24
|
status: import("../..").JOB_STATUS;
|
|
25
25
|
error: string | null;
|
|
26
26
|
modelId: string;
|
|
27
|
+
groupId: string | null;
|
|
27
28
|
price: number;
|
|
28
29
|
params: {
|
|
29
30
|
imageUrls?: string[] | undefined;
|
|
@@ -69,6 +70,7 @@ export declare namespace SetReactionToVideoJobCommand {
|
|
|
69
70
|
status: import("../..").JOB_STATUS;
|
|
70
71
|
error: string | null;
|
|
71
72
|
modelId: string;
|
|
73
|
+
groupId: string | null;
|
|
72
74
|
price: number;
|
|
73
75
|
params: {
|
|
74
76
|
imageUrls?: string[] | undefined;
|
|
@@ -27,6 +27,7 @@ export declare namespace UpdatePublishedStatusVideoJobsCommand {
|
|
|
27
27
|
status: import("../..").JOB_STATUS;
|
|
28
28
|
error: string | null;
|
|
29
29
|
modelId: string;
|
|
30
|
+
groupId: string | null;
|
|
30
31
|
price: number;
|
|
31
32
|
params: {
|
|
32
33
|
imageUrls?: string[] | undefined;
|
|
@@ -72,6 +73,7 @@ export declare namespace UpdatePublishedStatusVideoJobsCommand {
|
|
|
72
73
|
status: import("../..").JOB_STATUS;
|
|
73
74
|
error: string | null;
|
|
74
75
|
modelId: string;
|
|
76
|
+
groupId: string | null;
|
|
75
77
|
price: number;
|
|
76
78
|
params: {
|
|
77
79
|
imageUrls?: string[] | undefined;
|
|
@@ -11,15 +11,9 @@ export declare namespace UpdateVideoJobFavoriteCommand {
|
|
|
11
11
|
isSuccess: z.ZodBoolean;
|
|
12
12
|
data: z.ZodOptional<z.ZodType<{
|
|
13
13
|
uuid: string;
|
|
14
|
-
prompt: string;
|
|
15
|
-
reaction: import("../..").USER_REACTION | null;
|
|
16
|
-
isPublished: boolean;
|
|
17
|
-
publishModerationStatus: import("..").VIDEO_PUBLISH_MODERATION_STATUS;
|
|
18
|
-
postId: string | null;
|
|
19
|
-
dislikeReason: string | null;
|
|
20
|
-
externalId: string | null;
|
|
21
14
|
title: string;
|
|
22
|
-
|
|
15
|
+
prompt: string;
|
|
16
|
+
status: import("..").VIDEO_GROUP_STATUS;
|
|
23
17
|
error: string | null;
|
|
24
18
|
modelId: string;
|
|
25
19
|
price: number;
|
|
@@ -42,29 +36,72 @@ export declare namespace UpdateVideoJobFavoriteCommand {
|
|
|
42
36
|
multiShots?: boolean | undefined;
|
|
43
37
|
batching?: number | undefined;
|
|
44
38
|
};
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
39
|
+
attempts: {
|
|
40
|
+
order: number;
|
|
41
|
+
status: string;
|
|
42
|
+
error: string | null;
|
|
43
|
+
timestamp: Date;
|
|
44
|
+
}[];
|
|
45
|
+
scope: import("../..").JOB_SCOPE;
|
|
46
|
+
userId: string | null;
|
|
47
|
+
unregisteredUserId: string | null;
|
|
52
48
|
isDeleted: boolean;
|
|
53
49
|
isFavorite: boolean;
|
|
50
|
+
subJobs: {
|
|
51
|
+
uuid: string;
|
|
52
|
+
prompt: string;
|
|
53
|
+
reaction: import("../..").USER_REACTION | null;
|
|
54
|
+
isPublished: boolean;
|
|
55
|
+
publishModerationStatus: import("..").VIDEO_PUBLISH_MODERATION_STATUS;
|
|
56
|
+
postId: string | null;
|
|
57
|
+
dislikeReason: string | null;
|
|
58
|
+
externalId: string | null;
|
|
59
|
+
title: string;
|
|
60
|
+
status: import("../..").JOB_STATUS;
|
|
61
|
+
error: string | null;
|
|
62
|
+
modelId: string;
|
|
63
|
+
groupId: string | null;
|
|
64
|
+
price: number;
|
|
65
|
+
params: {
|
|
66
|
+
imageUrls?: string[] | undefined;
|
|
67
|
+
imageIds?: string[] | undefined;
|
|
68
|
+
referenceImages?: string[] | undefined;
|
|
69
|
+
referenceImageIds?: string[] | undefined;
|
|
70
|
+
firstFrameUrl?: string | undefined;
|
|
71
|
+
lastFrameUrl?: string | undefined;
|
|
72
|
+
audioUrls?: string[] | undefined;
|
|
73
|
+
audioIds?: string[] | undefined;
|
|
74
|
+
firstFrameId?: string | undefined;
|
|
75
|
+
lastFrameId?: string | undefined;
|
|
76
|
+
duration: number;
|
|
77
|
+
aspectRatio?: string | undefined;
|
|
78
|
+
quality?: string | undefined;
|
|
79
|
+
resolution?: string | undefined;
|
|
80
|
+
sound?: boolean | undefined;
|
|
81
|
+
multiShots?: boolean | undefined;
|
|
82
|
+
batching?: number | undefined;
|
|
83
|
+
};
|
|
84
|
+
videoUrl: string | null;
|
|
85
|
+
previewUrl: string | null;
|
|
86
|
+
attempts: any[];
|
|
87
|
+
userId?: string | null | undefined;
|
|
88
|
+
unregisteredUserId?: string | null | undefined;
|
|
89
|
+
tokenReservationId?: string | null | undefined;
|
|
90
|
+
workspaceId?: string | null | undefined;
|
|
91
|
+
isDeleted: boolean;
|
|
92
|
+
isFavorite: boolean;
|
|
93
|
+
createdAt: Date;
|
|
94
|
+
completedAt?: Date | null | undefined;
|
|
95
|
+
updatedAt: Date;
|
|
96
|
+
}[];
|
|
54
97
|
createdAt: Date;
|
|
55
|
-
completedAt
|
|
98
|
+
completedAt: Date | null;
|
|
56
99
|
updatedAt: Date;
|
|
57
100
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
58
101
|
uuid: string;
|
|
59
|
-
prompt: string;
|
|
60
|
-
reaction: import("../..").USER_REACTION | null;
|
|
61
|
-
isPublished: boolean;
|
|
62
|
-
publishModerationStatus: import("..").VIDEO_PUBLISH_MODERATION_STATUS;
|
|
63
|
-
postId: string | null;
|
|
64
|
-
dislikeReason: string | null;
|
|
65
|
-
externalId: string | null;
|
|
66
102
|
title: string;
|
|
67
|
-
|
|
103
|
+
prompt: string;
|
|
104
|
+
status: import("..").VIDEO_GROUP_STATUS;
|
|
68
105
|
error: string | null;
|
|
69
106
|
modelId: string;
|
|
70
107
|
price: number;
|
|
@@ -87,17 +124,66 @@ export declare namespace UpdateVideoJobFavoriteCommand {
|
|
|
87
124
|
multiShots?: boolean | undefined;
|
|
88
125
|
batching?: number | undefined;
|
|
89
126
|
};
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
127
|
+
attempts: {
|
|
128
|
+
order: number;
|
|
129
|
+
status: string;
|
|
130
|
+
error: string | null;
|
|
131
|
+
timestamp: Date;
|
|
132
|
+
}[];
|
|
133
|
+
scope: import("../..").JOB_SCOPE;
|
|
134
|
+
userId: string | null;
|
|
135
|
+
unregisteredUserId: string | null;
|
|
97
136
|
isDeleted: boolean;
|
|
98
137
|
isFavorite: boolean;
|
|
138
|
+
subJobs: {
|
|
139
|
+
uuid: string;
|
|
140
|
+
prompt: string;
|
|
141
|
+
reaction: import("../..").USER_REACTION | null;
|
|
142
|
+
isPublished: boolean;
|
|
143
|
+
publishModerationStatus: import("..").VIDEO_PUBLISH_MODERATION_STATUS;
|
|
144
|
+
postId: string | null;
|
|
145
|
+
dislikeReason: string | null;
|
|
146
|
+
externalId: string | null;
|
|
147
|
+
title: string;
|
|
148
|
+
status: import("../..").JOB_STATUS;
|
|
149
|
+
error: string | null;
|
|
150
|
+
modelId: string;
|
|
151
|
+
groupId: string | null;
|
|
152
|
+
price: number;
|
|
153
|
+
params: {
|
|
154
|
+
imageUrls?: string[] | undefined;
|
|
155
|
+
imageIds?: string[] | undefined;
|
|
156
|
+
referenceImages?: string[] | undefined;
|
|
157
|
+
referenceImageIds?: string[] | undefined;
|
|
158
|
+
firstFrameUrl?: string | undefined;
|
|
159
|
+
lastFrameUrl?: string | undefined;
|
|
160
|
+
audioUrls?: string[] | undefined;
|
|
161
|
+
audioIds?: string[] | undefined;
|
|
162
|
+
firstFrameId?: string | undefined;
|
|
163
|
+
lastFrameId?: string | undefined;
|
|
164
|
+
duration: number;
|
|
165
|
+
aspectRatio?: string | undefined;
|
|
166
|
+
quality?: string | undefined;
|
|
167
|
+
resolution?: string | undefined;
|
|
168
|
+
sound?: boolean | undefined;
|
|
169
|
+
multiShots?: boolean | undefined;
|
|
170
|
+
batching?: number | undefined;
|
|
171
|
+
};
|
|
172
|
+
videoUrl: string | null;
|
|
173
|
+
previewUrl: string | null;
|
|
174
|
+
attempts: any[];
|
|
175
|
+
userId?: string | null | undefined;
|
|
176
|
+
unregisteredUserId?: string | null | undefined;
|
|
177
|
+
tokenReservationId?: string | null | undefined;
|
|
178
|
+
workspaceId?: string | null | undefined;
|
|
179
|
+
isDeleted: boolean;
|
|
180
|
+
isFavorite: boolean;
|
|
181
|
+
createdAt: Date;
|
|
182
|
+
completedAt?: Date | null | undefined;
|
|
183
|
+
updatedAt: Date;
|
|
184
|
+
}[];
|
|
99
185
|
createdAt: Date;
|
|
100
|
-
completedAt
|
|
186
|
+
completedAt: Date | null;
|
|
101
187
|
updatedAt: Date;
|
|
102
188
|
}, unknown>>>;
|
|
103
189
|
code: z.ZodOptional<z.ZodString>;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateVideoJobFavoriteCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const command_response_schema_1 = require("../../common/models/command-response.schema");
|
|
6
|
-
const
|
|
6
|
+
const video_group_schema_1 = require("../models/video-group.schema");
|
|
7
7
|
var UpdateVideoJobFavoriteCommand;
|
|
8
8
|
(function (UpdateVideoJobFavoriteCommand) {
|
|
9
9
|
UpdateVideoJobFavoriteCommand.RequestSchema = zod_1.z.object({
|
|
@@ -12,5 +12,5 @@ var UpdateVideoJobFavoriteCommand;
|
|
|
12
12
|
unregisteredUserId: zod_1.z.uuid().nullable().optional(),
|
|
13
13
|
isFavorite: zod_1.z.boolean(),
|
|
14
14
|
});
|
|
15
|
-
UpdateVideoJobFavoriteCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(
|
|
15
|
+
UpdateVideoJobFavoriteCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(video_group_schema_1.VideoGroupSchema);
|
|
16
16
|
})(UpdateVideoJobFavoriteCommand || (exports.UpdateVideoJobFavoriteCommand = UpdateVideoJobFavoriteCommand = {}));
|
|
@@ -22,6 +22,7 @@ export declare namespace UpdateVideoJobTitleCommand {
|
|
|
22
22
|
status: import("../..").JOB_STATUS;
|
|
23
23
|
error: string | null;
|
|
24
24
|
modelId: string;
|
|
25
|
+
groupId: string | null;
|
|
25
26
|
price: number;
|
|
26
27
|
params: {
|
|
27
28
|
imageUrls?: string[] | undefined;
|
|
@@ -67,6 +68,7 @@ export declare namespace UpdateVideoJobTitleCommand {
|
|
|
67
68
|
status: import("../..").JOB_STATUS;
|
|
68
69
|
error: string | null;
|
|
69
70
|
modelId: string;
|
|
71
|
+
groupId: string | null;
|
|
70
72
|
price: number;
|
|
71
73
|
params: {
|
|
72
74
|
imageUrls?: string[] | undefined;
|