@purpleschool/gptbot-tools 0.2.80-stage-2 → 0.2.80
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 +38 -131
- package/build/image-generation/commands/execute-image-generation.command.js +1 -2
- package/build/image-generation/commands/forward-image-generation-job.command.d.ts +2 -15
- package/build/image-generation/commands/forward-image-generation-job.command.js +0 -1
- package/build/image-generation/commands/retry-image-generation-job.command.d.ts +2 -14
- package/build/image-generation/commands/save-image-generation-job.command.d.ts +2 -14
- package/build/image-generation/commands/set-reaction-to-image-generation-job.command.d.ts +2 -14
- package/build/image-generation/commands/update-image-generation-job-favorite.command.d.ts +2 -14
- package/build/image-generation/commands/update-image-generation-job-title.command.d.ts +2 -14
- package/build/image-generation/commands/update-published-status-image-generation-jobs.command.d.ts +2 -14
- package/build/image-generation/enums/index.d.ts +0 -1
- package/build/image-generation/enums/index.js +0 -1
- package/build/image-generation/models/image-generation-job.schema.d.ts +3 -9
- package/build/image-generation/models/image-generation-job.schema.js +3 -9
- package/build/image-generation/models/index.d.ts +0 -1
- package/build/image-generation/models/index.js +0 -1
- package/build/image-generation/queries/find-image-generation-job-by-id.query.d.ts +38 -130
- package/build/image-generation/queries/find-image-generation-job-by-id.query.js +1 -1
- package/build/image-generation/queries/find-image-generation-jobs.query.d.ts +40 -133
- package/build/image-generation/queries/find-image-generation-jobs.query.js +2 -3
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +0 -4
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +0 -1
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +0 -3
- package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +1 -1
- package/build/photo-sessions/enums/photo-session-strategy.enum.js +1 -1
- package/build/photo-sessions/models/photo-session-config.schema.d.ts +2 -2
- package/build/photo-sessions/models/photo-session-config.schema.js +1 -1
- package/build/photo-sessions/models/photo-session-style.schema.d.ts +0 -30
- package/build/photo-sessions/models/photo-session-style.schema.js +1 -10
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +0 -2
- package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +0 -2
- package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +4 -4
- package/build/tools/models/global-tools-config.schema.d.ts +2 -2
- package/build/tools/queries/get-global-tools-config.query.d.ts +4 -4
- package/package.json +1 -1
- package/build/image-generation/enums/image-generation-group-status.enum.d.ts +0 -6
- package/build/image-generation/enums/image-generation-group-status.enum.js +0 -10
- package/build/image-generation/models/image-generation-group.schema.d.ts +0 -95
- package/build/image-generation/models/image-generation-group.schema.js +0 -33
|
@@ -9,7 +9,6 @@ export declare namespace ExecuteImageGenerationCommand {
|
|
|
9
9
|
scope: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof JOB_SCOPE>>>;
|
|
10
10
|
prompt: z.ZodString;
|
|
11
11
|
modelId: z.ZodUUID;
|
|
12
|
-
groupId: z.ZodOptional<z.ZodUUID>;
|
|
13
12
|
params: z.ZodObject<{
|
|
14
13
|
aspectRatio: z.ZodString;
|
|
15
14
|
attachedFiles: z.ZodArray<z.ZodObject<{
|
|
@@ -39,13 +38,15 @@ export declare namespace ExecuteImageGenerationCommand {
|
|
|
39
38
|
isSuccess: z.ZodBoolean;
|
|
40
39
|
data: z.ZodOptional<z.ZodType<{
|
|
41
40
|
uuid: string;
|
|
42
|
-
title: string;
|
|
43
41
|
prompt: string;
|
|
44
|
-
|
|
42
|
+
title: string;
|
|
43
|
+
status: import("../..").JOB_STATUS;
|
|
45
44
|
error: string | null;
|
|
46
|
-
modelId: string;
|
|
47
|
-
presetId: string | null;
|
|
48
45
|
price: number;
|
|
46
|
+
previewUrl: string | null;
|
|
47
|
+
reaction: import("../..").USER_REACTION | null;
|
|
48
|
+
dislikeReason: string | null;
|
|
49
|
+
externalId: string | null;
|
|
49
50
|
params: {
|
|
50
51
|
aspectRatio: string;
|
|
51
52
|
attachedFiles: {
|
|
@@ -63,79 +64,33 @@ export declare namespace ExecuteImageGenerationCommand {
|
|
|
63
64
|
resolution?: import("..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
64
65
|
batching?: number | undefined;
|
|
65
66
|
};
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
67
|
+
output: string[];
|
|
68
|
+
presetId?: string | null | undefined;
|
|
69
|
+
modelId: string;
|
|
70
|
+
attempts: any[];
|
|
71
|
+
userId?: string | null | undefined;
|
|
72
|
+
unregisteredUserId?: string | null | undefined;
|
|
73
|
+
isPublished: boolean;
|
|
74
|
+
origin: string;
|
|
75
|
+
callOrigin: STATISTICS_CALL_ORIGIN;
|
|
76
|
+
postId: string | null;
|
|
75
77
|
isDeleted: boolean;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
title: string;
|
|
80
|
-
status: import("../..").JOB_STATUS;
|
|
81
|
-
error: string | null;
|
|
82
|
-
price: number;
|
|
83
|
-
previewUrl: string | null;
|
|
84
|
-
reaction: import("../..").USER_REACTION | null;
|
|
85
|
-
dislikeReason: string | null;
|
|
86
|
-
externalId: string | null;
|
|
87
|
-
params: {
|
|
88
|
-
aspectRatio: string;
|
|
89
|
-
attachedFiles: {
|
|
90
|
-
uuid: string;
|
|
91
|
-
url: string;
|
|
92
|
-
name: string;
|
|
93
|
-
mimeType: string;
|
|
94
|
-
type: string;
|
|
95
|
-
size: number;
|
|
96
|
-
duration?: number | null | undefined;
|
|
97
|
-
content?: string | null | undefined;
|
|
98
|
-
contentLength?: number | null | undefined;
|
|
99
|
-
}[];
|
|
100
|
-
enhancePrompt: boolean;
|
|
101
|
-
resolution?: import("..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
102
|
-
batching?: number | undefined;
|
|
103
|
-
};
|
|
104
|
-
output: string[];
|
|
105
|
-
presetId?: string | null | undefined;
|
|
106
|
-
modelId: string;
|
|
107
|
-
groupId: string | null;
|
|
108
|
-
attempts: {
|
|
109
|
-
order: number;
|
|
110
|
-
status: string;
|
|
111
|
-
error: string | null;
|
|
112
|
-
timestamp: Date;
|
|
113
|
-
}[];
|
|
114
|
-
userId?: string | null | undefined;
|
|
115
|
-
unregisteredUserId?: string | null | undefined;
|
|
116
|
-
isPublished: boolean;
|
|
117
|
-
origin: string;
|
|
118
|
-
callOrigin: STATISTICS_CALL_ORIGIN;
|
|
119
|
-
postId: string | null;
|
|
120
|
-
isDeleted: boolean;
|
|
121
|
-
isFavorite: boolean;
|
|
122
|
-
internalError: string | null;
|
|
123
|
-
tokenReservationId?: string | null | undefined;
|
|
124
|
-
createdAt: Date;
|
|
125
|
-
updatedAt: Date;
|
|
126
|
-
}[];
|
|
78
|
+
isFavorite: boolean;
|
|
79
|
+
internalError: string | null;
|
|
80
|
+
tokenReservationId?: string | null | undefined;
|
|
127
81
|
createdAt: Date;
|
|
128
|
-
completedAt: Date | null;
|
|
129
82
|
updatedAt: Date;
|
|
130
83
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
131
84
|
uuid: string;
|
|
132
|
-
title: string;
|
|
133
85
|
prompt: string;
|
|
134
|
-
|
|
86
|
+
title: string;
|
|
87
|
+
status: import("../..").JOB_STATUS;
|
|
135
88
|
error: string | null;
|
|
136
|
-
modelId: string;
|
|
137
|
-
presetId: string | null;
|
|
138
89
|
price: number;
|
|
90
|
+
previewUrl: string | null;
|
|
91
|
+
reaction: import("../..").USER_REACTION | null;
|
|
92
|
+
dislikeReason: string | null;
|
|
93
|
+
externalId: string | null;
|
|
139
94
|
params: {
|
|
140
95
|
aspectRatio: string;
|
|
141
96
|
attachedFiles: {
|
|
@@ -153,69 +108,21 @@ export declare namespace ExecuteImageGenerationCommand {
|
|
|
153
108
|
resolution?: import("..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
154
109
|
batching?: number | undefined;
|
|
155
110
|
};
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
111
|
+
output: string[];
|
|
112
|
+
presetId?: string | null | undefined;
|
|
113
|
+
modelId: string;
|
|
114
|
+
attempts: any[];
|
|
115
|
+
userId?: string | null | undefined;
|
|
116
|
+
unregisteredUserId?: string | null | undefined;
|
|
117
|
+
isPublished: boolean;
|
|
118
|
+
origin: string;
|
|
119
|
+
callOrigin: STATISTICS_CALL_ORIGIN;
|
|
120
|
+
postId: string | null;
|
|
165
121
|
isDeleted: boolean;
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
title: string;
|
|
170
|
-
status: import("../..").JOB_STATUS;
|
|
171
|
-
error: string | null;
|
|
172
|
-
price: number;
|
|
173
|
-
previewUrl: string | null;
|
|
174
|
-
reaction: import("../..").USER_REACTION | null;
|
|
175
|
-
dislikeReason: string | null;
|
|
176
|
-
externalId: string | null;
|
|
177
|
-
params: {
|
|
178
|
-
aspectRatio: string;
|
|
179
|
-
attachedFiles: {
|
|
180
|
-
uuid: string;
|
|
181
|
-
url: string;
|
|
182
|
-
name: string;
|
|
183
|
-
mimeType: string;
|
|
184
|
-
type: string;
|
|
185
|
-
size: number;
|
|
186
|
-
duration?: number | null | undefined;
|
|
187
|
-
content?: string | null | undefined;
|
|
188
|
-
contentLength?: number | null | undefined;
|
|
189
|
-
}[];
|
|
190
|
-
enhancePrompt: boolean;
|
|
191
|
-
resolution?: import("..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
192
|
-
batching?: number | undefined;
|
|
193
|
-
};
|
|
194
|
-
output: string[];
|
|
195
|
-
presetId?: string | null | undefined;
|
|
196
|
-
modelId: string;
|
|
197
|
-
groupId: string | null;
|
|
198
|
-
attempts: {
|
|
199
|
-
order: number;
|
|
200
|
-
status: string;
|
|
201
|
-
error: string | null;
|
|
202
|
-
timestamp: Date;
|
|
203
|
-
}[];
|
|
204
|
-
userId?: string | null | undefined;
|
|
205
|
-
unregisteredUserId?: string | null | undefined;
|
|
206
|
-
isPublished: boolean;
|
|
207
|
-
origin: string;
|
|
208
|
-
callOrigin: STATISTICS_CALL_ORIGIN;
|
|
209
|
-
postId: string | null;
|
|
210
|
-
isDeleted: boolean;
|
|
211
|
-
isFavorite: boolean;
|
|
212
|
-
internalError: string | null;
|
|
213
|
-
tokenReservationId?: string | null | undefined;
|
|
214
|
-
createdAt: Date;
|
|
215
|
-
updatedAt: Date;
|
|
216
|
-
}[];
|
|
122
|
+
isFavorite: boolean;
|
|
123
|
+
internalError: string | null;
|
|
124
|
+
tokenReservationId?: string | null | undefined;
|
|
217
125
|
createdAt: Date;
|
|
218
|
-
completedAt: Date | null;
|
|
219
126
|
updatedAt: Date;
|
|
220
127
|
}, unknown>>>;
|
|
221
128
|
code: z.ZodOptional<z.ZodString>;
|
|
@@ -16,7 +16,6 @@ var ExecuteImageGenerationCommand;
|
|
|
16
16
|
scope: zod_1.z.enum(common_1.JOB_SCOPE).optional().default(common_1.JOB_SCOPE.TOOL),
|
|
17
17
|
prompt: zod_1.z.string(),
|
|
18
18
|
modelId: zod_1.z.uuid(),
|
|
19
|
-
groupId: zod_1.z.uuid().optional(),
|
|
20
19
|
params: models_1.ImageGenerationRequestParamsSchema,
|
|
21
20
|
presetId: zod_1.z.uuid().nullable().optional(),
|
|
22
21
|
callOrigin: zod_1.z.enum(rugpt_lib_common_1.STATISTICS_CALL_ORIGIN).default(rugpt_lib_common_1.STATISTICS_CALL_ORIGIN.WEB),
|
|
@@ -25,5 +24,5 @@ var ExecuteImageGenerationCommand;
|
|
|
25
24
|
precalculatedPrice: zod_1.z.number(),
|
|
26
25
|
mock: zod_1.z.boolean().optional(),
|
|
27
26
|
});
|
|
28
|
-
ExecuteImageGenerationCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.
|
|
27
|
+
ExecuteImageGenerationCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.ImageGenerationJobSchema);
|
|
29
28
|
})(ExecuteImageGenerationCommand || (exports.ExecuteImageGenerationCommand = ExecuteImageGenerationCommand = {}));
|
|
@@ -32,7 +32,6 @@ export declare namespace ForwardImageGenerationJobCommand {
|
|
|
32
32
|
batching: z.ZodOptional<z.ZodNumber>;
|
|
33
33
|
}, z.core.$strip>;
|
|
34
34
|
modelId: z.ZodUUID;
|
|
35
|
-
groupId: z.ZodOptional<z.ZodUUID>;
|
|
36
35
|
presetId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
37
36
|
userId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
38
37
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -75,13 +74,7 @@ export declare namespace ForwardImageGenerationJobCommand {
|
|
|
75
74
|
output: string[];
|
|
76
75
|
presetId?: string | null | undefined;
|
|
77
76
|
modelId: string;
|
|
78
|
-
|
|
79
|
-
attempts: {
|
|
80
|
-
order: number;
|
|
81
|
-
status: string;
|
|
82
|
-
error: string | null;
|
|
83
|
-
timestamp: Date;
|
|
84
|
-
}[];
|
|
77
|
+
attempts: any[];
|
|
85
78
|
userId?: string | null | undefined;
|
|
86
79
|
unregisteredUserId?: string | null | undefined;
|
|
87
80
|
isPublished: boolean;
|
|
@@ -125,13 +118,7 @@ export declare namespace ForwardImageGenerationJobCommand {
|
|
|
125
118
|
output: string[];
|
|
126
119
|
presetId?: string | null | undefined;
|
|
127
120
|
modelId: string;
|
|
128
|
-
|
|
129
|
-
attempts: {
|
|
130
|
-
order: number;
|
|
131
|
-
status: string;
|
|
132
|
-
error: string | null;
|
|
133
|
-
timestamp: Date;
|
|
134
|
-
}[];
|
|
121
|
+
attempts: any[];
|
|
135
122
|
userId?: string | null | undefined;
|
|
136
123
|
unregisteredUserId?: string | null | undefined;
|
|
137
124
|
isPublished: boolean;
|
|
@@ -22,7 +22,6 @@ var ForwardImageGenerationJobCommand;
|
|
|
22
22
|
output: zod_1.z.array(zod_1.z.string()),
|
|
23
23
|
params: models_1.ImageGenerationJobParamsSchema,
|
|
24
24
|
modelId: zod_1.z.uuid(),
|
|
25
|
-
groupId: zod_1.z.uuid().optional(),
|
|
26
25
|
presetId: zod_1.z.uuid().nullable().optional(),
|
|
27
26
|
userId: zod_1.z.uuid().nullable().optional(),
|
|
28
27
|
unregisteredUserId: zod_1.z.uuid().nullable().optional(),
|
|
@@ -64,13 +64,7 @@ export declare namespace RetryImageGenerationJobCommand {
|
|
|
64
64
|
output: string[];
|
|
65
65
|
presetId?: string | null | undefined;
|
|
66
66
|
modelId: string;
|
|
67
|
-
|
|
68
|
-
attempts: {
|
|
69
|
-
order: number;
|
|
70
|
-
status: string;
|
|
71
|
-
error: string | null;
|
|
72
|
-
timestamp: Date;
|
|
73
|
-
}[];
|
|
67
|
+
attempts: any[];
|
|
74
68
|
userId?: string | null | undefined;
|
|
75
69
|
unregisteredUserId?: string | null | undefined;
|
|
76
70
|
isPublished: boolean;
|
|
@@ -114,13 +108,7 @@ export declare namespace RetryImageGenerationJobCommand {
|
|
|
114
108
|
output: string[];
|
|
115
109
|
presetId?: string | null | undefined;
|
|
116
110
|
modelId: string;
|
|
117
|
-
|
|
118
|
-
attempts: {
|
|
119
|
-
order: number;
|
|
120
|
-
status: string;
|
|
121
|
-
error: string | null;
|
|
122
|
-
timestamp: Date;
|
|
123
|
-
}[];
|
|
111
|
+
attempts: any[];
|
|
124
112
|
userId?: string | null | undefined;
|
|
125
113
|
unregisteredUserId?: string | null | undefined;
|
|
126
114
|
isPublished: boolean;
|
|
@@ -41,13 +41,7 @@ export declare namespace SaveImageGenerationJobCommand {
|
|
|
41
41
|
output: string[];
|
|
42
42
|
presetId?: string | null | undefined;
|
|
43
43
|
modelId: string;
|
|
44
|
-
|
|
45
|
-
attempts: {
|
|
46
|
-
order: number;
|
|
47
|
-
status: string;
|
|
48
|
-
error: string | null;
|
|
49
|
-
timestamp: Date;
|
|
50
|
-
}[];
|
|
44
|
+
attempts: any[];
|
|
51
45
|
userId?: string | null | undefined;
|
|
52
46
|
unregisteredUserId?: string | null | undefined;
|
|
53
47
|
isPublished: boolean;
|
|
@@ -91,13 +85,7 @@ export declare namespace SaveImageGenerationJobCommand {
|
|
|
91
85
|
output: string[];
|
|
92
86
|
presetId?: string | null | undefined;
|
|
93
87
|
modelId: string;
|
|
94
|
-
|
|
95
|
-
attempts: {
|
|
96
|
-
order: number;
|
|
97
|
-
status: string;
|
|
98
|
-
error: string | null;
|
|
99
|
-
timestamp: Date;
|
|
100
|
-
}[];
|
|
88
|
+
attempts: any[];
|
|
101
89
|
userId?: string | null | undefined;
|
|
102
90
|
unregisteredUserId?: string | null | undefined;
|
|
103
91
|
isPublished: boolean;
|
|
@@ -42,13 +42,7 @@ export declare namespace SetReactionToImageGenerationJobCommand {
|
|
|
42
42
|
output: string[];
|
|
43
43
|
presetId?: string | null | undefined;
|
|
44
44
|
modelId: string;
|
|
45
|
-
|
|
46
|
-
attempts: {
|
|
47
|
-
order: number;
|
|
48
|
-
status: string;
|
|
49
|
-
error: string | null;
|
|
50
|
-
timestamp: Date;
|
|
51
|
-
}[];
|
|
45
|
+
attempts: any[];
|
|
52
46
|
userId?: string | null | undefined;
|
|
53
47
|
unregisteredUserId?: string | null | undefined;
|
|
54
48
|
isPublished: boolean;
|
|
@@ -92,13 +86,7 @@ export declare namespace SetReactionToImageGenerationJobCommand {
|
|
|
92
86
|
output: string[];
|
|
93
87
|
presetId?: string | null | undefined;
|
|
94
88
|
modelId: string;
|
|
95
|
-
|
|
96
|
-
attempts: {
|
|
97
|
-
order: number;
|
|
98
|
-
status: string;
|
|
99
|
-
error: string | null;
|
|
100
|
-
timestamp: Date;
|
|
101
|
-
}[];
|
|
89
|
+
attempts: any[];
|
|
102
90
|
userId?: string | null | undefined;
|
|
103
91
|
unregisteredUserId?: string | null | undefined;
|
|
104
92
|
isPublished: boolean;
|
|
@@ -40,13 +40,7 @@ export declare namespace UpdateImageGenerationJobFavoriteCommand {
|
|
|
40
40
|
output: string[];
|
|
41
41
|
presetId?: string | null | undefined;
|
|
42
42
|
modelId: string;
|
|
43
|
-
|
|
44
|
-
attempts: {
|
|
45
|
-
order: number;
|
|
46
|
-
status: string;
|
|
47
|
-
error: string | null;
|
|
48
|
-
timestamp: Date;
|
|
49
|
-
}[];
|
|
43
|
+
attempts: any[];
|
|
50
44
|
userId?: string | null | undefined;
|
|
51
45
|
unregisteredUserId?: string | null | undefined;
|
|
52
46
|
isPublished: boolean;
|
|
@@ -90,13 +84,7 @@ export declare namespace UpdateImageGenerationJobFavoriteCommand {
|
|
|
90
84
|
output: string[];
|
|
91
85
|
presetId?: string | null | undefined;
|
|
92
86
|
modelId: string;
|
|
93
|
-
|
|
94
|
-
attempts: {
|
|
95
|
-
order: number;
|
|
96
|
-
status: string;
|
|
97
|
-
error: string | null;
|
|
98
|
-
timestamp: Date;
|
|
99
|
-
}[];
|
|
87
|
+
attempts: any[];
|
|
100
88
|
userId?: string | null | undefined;
|
|
101
89
|
unregisteredUserId?: string | null | undefined;
|
|
102
90
|
isPublished: boolean;
|
|
@@ -40,13 +40,7 @@ export declare namespace UpdateImageGenerationJobTitleCommand {
|
|
|
40
40
|
output: string[];
|
|
41
41
|
presetId?: string | null | undefined;
|
|
42
42
|
modelId: string;
|
|
43
|
-
|
|
44
|
-
attempts: {
|
|
45
|
-
order: number;
|
|
46
|
-
status: string;
|
|
47
|
-
error: string | null;
|
|
48
|
-
timestamp: Date;
|
|
49
|
-
}[];
|
|
43
|
+
attempts: any[];
|
|
50
44
|
userId?: string | null | undefined;
|
|
51
45
|
unregisteredUserId?: string | null | undefined;
|
|
52
46
|
isPublished: boolean;
|
|
@@ -90,13 +84,7 @@ export declare namespace UpdateImageGenerationJobTitleCommand {
|
|
|
90
84
|
output: string[];
|
|
91
85
|
presetId?: string | null | undefined;
|
|
92
86
|
modelId: string;
|
|
93
|
-
|
|
94
|
-
attempts: {
|
|
95
|
-
order: number;
|
|
96
|
-
status: string;
|
|
97
|
-
error: string | null;
|
|
98
|
-
timestamp: Date;
|
|
99
|
-
}[];
|
|
87
|
+
attempts: any[];
|
|
100
88
|
userId?: string | null | undefined;
|
|
101
89
|
unregisteredUserId?: string | null | undefined;
|
|
102
90
|
isPublished: boolean;
|
package/build/image-generation/commands/update-published-status-image-generation-jobs.command.d.ts
CHANGED
|
@@ -45,13 +45,7 @@ export declare namespace UpdatePublishedStatusImageGenerationJobsCommand {
|
|
|
45
45
|
output: string[];
|
|
46
46
|
presetId?: string | null | undefined;
|
|
47
47
|
modelId: string;
|
|
48
|
-
|
|
49
|
-
attempts: {
|
|
50
|
-
order: number;
|
|
51
|
-
status: string;
|
|
52
|
-
error: string | null;
|
|
53
|
-
timestamp: Date;
|
|
54
|
-
}[];
|
|
48
|
+
attempts: any[];
|
|
55
49
|
userId?: string | null | undefined;
|
|
56
50
|
unregisteredUserId?: string | null | undefined;
|
|
57
51
|
isPublished: boolean;
|
|
@@ -95,13 +89,7 @@ export declare namespace UpdatePublishedStatusImageGenerationJobsCommand {
|
|
|
95
89
|
output: string[];
|
|
96
90
|
presetId?: string | null | undefined;
|
|
97
91
|
modelId: string;
|
|
98
|
-
|
|
99
|
-
attempts: {
|
|
100
|
-
order: number;
|
|
101
|
-
status: string;
|
|
102
|
-
error: string | null;
|
|
103
|
-
timestamp: Date;
|
|
104
|
-
}[];
|
|
92
|
+
attempts: any[];
|
|
105
93
|
userId?: string | null | undefined;
|
|
106
94
|
unregisteredUserId?: string | null | undefined;
|
|
107
95
|
isPublished: boolean;
|
|
@@ -17,4 +17,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./image-generation-model-strategy.enum"), exports);
|
|
18
18
|
__exportStar(require("./image-generation-resolution.enum"), exports);
|
|
19
19
|
__exportStar(require("./image-generation-models.enum"), exports);
|
|
20
|
-
__exportStar(require("./image-generation-group-status.enum"), exports);
|
|
@@ -52,13 +52,7 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
|
|
|
52
52
|
output: z.ZodArray<z.ZodString>;
|
|
53
53
|
presetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
modelId: z.ZodString;
|
|
55
|
-
|
|
56
|
-
attempts: z.ZodArray<z.ZodObject<{
|
|
57
|
-
order: z.ZodNumber;
|
|
58
|
-
status: z.ZodString;
|
|
59
|
-
error: z.ZodNullable<z.ZodString>;
|
|
60
|
-
timestamp: z.ZodCoercedDate<unknown>;
|
|
61
|
-
}, z.core.$strip>>;
|
|
55
|
+
attempts: z.ZodArray<z.ZodAny>;
|
|
62
56
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
57
|
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
58
|
isPublished: z.ZodBoolean;
|
|
@@ -69,7 +63,7 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
|
|
|
69
63
|
isFavorite: z.ZodBoolean;
|
|
70
64
|
internalError: z.ZodNullable<z.ZodString>;
|
|
71
65
|
tokenReservationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
-
createdAt: z.
|
|
73
|
-
updatedAt: z.
|
|
66
|
+
createdAt: z.ZodDate;
|
|
67
|
+
updatedAt: z.ZodDate;
|
|
74
68
|
}, z.core.$strip>;
|
|
75
69
|
export type ImageGenerationJob = z.infer<typeof ImageGenerationJobSchema>;
|
|
@@ -28,13 +28,7 @@ exports.ImageGenerationJobSchema = zod_1.z.object({
|
|
|
28
28
|
output: zod_1.z.array(zod_1.z.string()),
|
|
29
29
|
presetId: zod_1.z.string().nullable().optional(),
|
|
30
30
|
modelId: zod_1.z.string(),
|
|
31
|
-
|
|
32
|
-
attempts: zod_1.z.array(zod_1.z.object({
|
|
33
|
-
order: zod_1.z.number(),
|
|
34
|
-
status: zod_1.z.string(),
|
|
35
|
-
error: zod_1.z.string().nullable(),
|
|
36
|
-
timestamp: zod_1.z.coerce.date(),
|
|
37
|
-
})),
|
|
31
|
+
attempts: zod_1.z.array(zod_1.z.any()),
|
|
38
32
|
userId: zod_1.z.string().nullable().optional(),
|
|
39
33
|
unregisteredUserId: zod_1.z.string().nullable().optional(),
|
|
40
34
|
isPublished: zod_1.z.boolean(),
|
|
@@ -45,6 +39,6 @@ exports.ImageGenerationJobSchema = zod_1.z.object({
|
|
|
45
39
|
isFavorite: zod_1.z.boolean(),
|
|
46
40
|
internalError: zod_1.z.string().nullable(),
|
|
47
41
|
tokenReservationId: zod_1.z.string().nullable().optional(),
|
|
48
|
-
createdAt: zod_1.z.
|
|
49
|
-
updatedAt: zod_1.z.
|
|
42
|
+
createdAt: zod_1.z.date(),
|
|
43
|
+
updatedAt: zod_1.z.date(),
|
|
50
44
|
});
|
|
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./image-generation-job.schema"), exports);
|
|
18
|
-
__exportStar(require("./image-generation-group.schema"), exports);
|
|
19
18
|
__exportStar(require("./image-generation-model.schema"), exports);
|
|
20
19
|
__exportStar(require("./image-generation-preset.schema"), exports);
|
|
21
20
|
__exportStar(require("./image-generation-config.schema"), exports);
|