@purpleschool/gptbot-tools 0.4.15 → 0.4.17-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.
Files changed (34) hide show
  1. package/build/image-generation/commands/image-generation-model/get-image-generation-model-by-uuid.command.d.ts +0 -2
  2. package/build/image-generation/enums/index.d.ts +0 -1
  3. package/build/image-generation/enums/index.js +0 -1
  4. package/build/image-generation/models/image-generation-config.schema.d.ts +0 -1
  5. package/build/image-generation/models/image-generation-model.schema.d.ts +1 -2
  6. package/build/image-generation/models/image-generation-model.schema.js +0 -1
  7. package/build/image-generation/queries/get-image-generation-config.query.d.ts +0 -2
  8. package/build/index.d.ts +3 -0
  9. package/build/index.js +3 -0
  10. package/build/motion-control/commands.d.ts +669 -0
  11. package/build/motion-control/commands.js +128 -0
  12. package/build/motion-control/index.d.ts +5 -0
  13. package/build/motion-control/index.js +21 -0
  14. package/build/motion-control/models.d.ts +297 -0
  15. package/build/motion-control/models.js +93 -0
  16. package/build/motion-control/queries.d.ts +504 -0
  17. package/build/motion-control/queries.js +41 -0
  18. package/build/motion-control/routes.d.ts +18 -0
  19. package/build/motion-control/routes.js +21 -0
  20. package/build/motion-control/utils.d.ts +4 -0
  21. package/build/motion-control/utils.js +23 -0
  22. package/build/tools/enums/tool-content-type.enum.d.ts +1 -0
  23. package/build/tools/enums/tool-content-type.enum.js +1 -0
  24. package/build/tools/enums/tool-type.enum.d.ts +1 -0
  25. package/build/tools/enums/tool-type.enum.js +1 -0
  26. package/build/tools/models/global-tools-config.schema.d.ts +81 -1
  27. package/build/tools/models/global-tools-config.schema.js +8 -6
  28. package/build/tools/models/tools-with-configs.schema.d.ts +186 -2
  29. package/build/tools/models/tools-with-configs.schema.js +11 -6
  30. package/build/tools/queries/get-global-tools-config.query.d.ts +144 -2
  31. package/build/tools/queries/get-tools-with-configs.query.d.ts +168 -2
  32. package/package.json +2 -2
  33. package/build/image-generation/enums/image-generation-model-strategy.enum.d.ts +0 -21
  34. package/build/image-generation/enums/image-generation-model-strategy.enum.js +0 -35
@@ -0,0 +1,669 @@
1
+ import { z } from 'zod';
2
+ import { JOB_SCOPE, USER_REACTION } from '../common';
3
+ export declare const MotionControlOwnerSchema: z.ZodObject<{
4
+ userId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
5
+ unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
6
+ }, z.core.$strip>;
7
+ export declare const MotionControlInputSchema: z.ZodObject<{
8
+ modelId: z.ZodUUID;
9
+ motionVideoFileId: z.ZodUUID;
10
+ motionVideoUrl: z.ZodURL;
11
+ characterImageFileId: z.ZodUUID;
12
+ characterImageUrl: z.ZodURL;
13
+ duration: z.ZodNumber;
14
+ resolution: z.ZodEnum<{
15
+ "1080p": "1080p";
16
+ "720p": "720p";
17
+ }>;
18
+ backgroundSource: z.ZodEnum<{
19
+ image: "image";
20
+ video: "video";
21
+ }>;
22
+ prompt: z.ZodDefault<z.ZodString>;
23
+ }, z.core.$strip>;
24
+ export declare namespace ExecuteMotionControlCommand {
25
+ const RequestSchema: z.ZodObject<{
26
+ modelId: z.ZodUUID;
27
+ motionVideoFileId: z.ZodUUID;
28
+ motionVideoUrl: z.ZodURL;
29
+ characterImageFileId: z.ZodUUID;
30
+ characterImageUrl: z.ZodURL;
31
+ duration: z.ZodNumber;
32
+ resolution: z.ZodEnum<{
33
+ "1080p": "1080p";
34
+ "720p": "720p";
35
+ }>;
36
+ backgroundSource: z.ZodEnum<{
37
+ image: "image";
38
+ video: "video";
39
+ }>;
40
+ prompt: z.ZodDefault<z.ZodString>;
41
+ userId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
42
+ unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
43
+ scope: z.ZodDefault<z.ZodEnum<typeof JOB_SCOPE>>;
44
+ mock: z.ZodOptional<z.ZodBoolean>;
45
+ tokenReservationId: z.ZodUUID;
46
+ precalculatedPrice: z.ZodNumber;
47
+ }, z.core.$strip>;
48
+ type Request = z.infer<typeof RequestSchema>;
49
+ const ResponseSchema: z.ZodObject<{
50
+ isSuccess: z.ZodBoolean;
51
+ data: z.ZodOptional<z.ZodType<{
52
+ uuid: string;
53
+ modelId: string;
54
+ userId: string | null;
55
+ unregisteredUserId: string | null;
56
+ scope: JOB_SCOPE;
57
+ prompt: string;
58
+ title: string;
59
+ status: import("..").JOB_STATUS;
60
+ error: string | null;
61
+ externalId: string | null;
62
+ price: number;
63
+ tokenReservationId: string | null;
64
+ motionVideoFileId: string;
65
+ motionVideoUrl: string;
66
+ characterImageFileId: string;
67
+ characterImageUrl: string;
68
+ duration: number;
69
+ resolution: "1080p" | "720p";
70
+ backgroundSource: "image" | "video";
71
+ params: {
72
+ resolution: "1080p" | "720p";
73
+ backgroundSource: "image" | "video";
74
+ };
75
+ outputVideoUrl: string | null;
76
+ outputVideoId: string | null;
77
+ previewUrl: string | null;
78
+ previewId: string | null;
79
+ reaction: USER_REACTION | null;
80
+ dislikeReason: string | null;
81
+ isFavorite: boolean;
82
+ isDeleted: boolean;
83
+ isPublished: boolean;
84
+ postId: string | null;
85
+ createdAt: Date;
86
+ updatedAt: Date;
87
+ completedAt: Date | null;
88
+ }, unknown, z.core.$ZodTypeInternals<{
89
+ uuid: string;
90
+ modelId: string;
91
+ userId: string | null;
92
+ unregisteredUserId: string | null;
93
+ scope: JOB_SCOPE;
94
+ prompt: string;
95
+ title: string;
96
+ status: import("..").JOB_STATUS;
97
+ error: string | null;
98
+ externalId: string | null;
99
+ price: number;
100
+ tokenReservationId: string | null;
101
+ motionVideoFileId: string;
102
+ motionVideoUrl: string;
103
+ characterImageFileId: string;
104
+ characterImageUrl: string;
105
+ duration: number;
106
+ resolution: "1080p" | "720p";
107
+ backgroundSource: "image" | "video";
108
+ params: {
109
+ resolution: "1080p" | "720p";
110
+ backgroundSource: "image" | "video";
111
+ };
112
+ outputVideoUrl: string | null;
113
+ outputVideoId: string | null;
114
+ previewUrl: string | null;
115
+ previewId: string | null;
116
+ reaction: USER_REACTION | null;
117
+ dislikeReason: string | null;
118
+ isFavorite: boolean;
119
+ isDeleted: boolean;
120
+ isPublished: boolean;
121
+ postId: string | null;
122
+ createdAt: Date;
123
+ updatedAt: Date;
124
+ completedAt: Date | null;
125
+ }, unknown>>>;
126
+ code: z.ZodOptional<z.ZodString>;
127
+ message: z.ZodOptional<z.ZodString>;
128
+ }, z.core.$strip>;
129
+ type Response = z.infer<typeof ResponseSchema>;
130
+ }
131
+ export declare namespace GetMotionControlPriceCommand {
132
+ const RequestSchema: z.ZodObject<{
133
+ modelId: z.ZodUUID;
134
+ params: z.ZodObject<{
135
+ duration: z.ZodNumber;
136
+ resolution: z.ZodEnum<{
137
+ "1080p": "1080p";
138
+ "720p": "720p";
139
+ }>;
140
+ backgroundSource: z.ZodEnum<{
141
+ image: "image";
142
+ video: "video";
143
+ }>;
144
+ }, z.core.$strip>;
145
+ }, z.core.$strip>;
146
+ type Request = z.infer<typeof RequestSchema>;
147
+ const ResponseSchema: z.ZodObject<{
148
+ isSuccess: z.ZodBoolean;
149
+ data: z.ZodOptional<z.ZodType<{
150
+ price: number;
151
+ totalPrice: number;
152
+ ratePerSecond: number;
153
+ duration: number;
154
+ }, unknown, z.core.$ZodTypeInternals<{
155
+ price: number;
156
+ totalPrice: number;
157
+ ratePerSecond: number;
158
+ duration: number;
159
+ }, unknown>>>;
160
+ code: z.ZodOptional<z.ZodString>;
161
+ message: z.ZodOptional<z.ZodString>;
162
+ }, z.core.$strip>;
163
+ type Response = z.infer<typeof ResponseSchema>;
164
+ }
165
+ export declare namespace RetryMotionControlJobCommand {
166
+ const RequestSchema: z.ZodObject<{
167
+ modelId: z.ZodOptional<z.ZodUUID>;
168
+ motionVideoFileId: z.ZodOptional<z.ZodUUID>;
169
+ motionVideoUrl: z.ZodOptional<z.ZodURL>;
170
+ characterImageFileId: z.ZodOptional<z.ZodUUID>;
171
+ characterImageUrl: z.ZodOptional<z.ZodURL>;
172
+ duration: z.ZodOptional<z.ZodNumber>;
173
+ resolution: z.ZodOptional<z.ZodEnum<{
174
+ "1080p": "1080p";
175
+ "720p": "720p";
176
+ }>>;
177
+ backgroundSource: z.ZodOptional<z.ZodEnum<{
178
+ image: "image";
179
+ video: "video";
180
+ }>>;
181
+ prompt: z.ZodOptional<z.ZodString>;
182
+ uuid: z.ZodUUID;
183
+ userId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
184
+ unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
185
+ mock: z.ZodOptional<z.ZodBoolean>;
186
+ tokenReservationId: z.ZodUUID;
187
+ precalculatedPrice: z.ZodNumber;
188
+ }, z.core.$strip>;
189
+ type Request = z.infer<typeof RequestSchema>;
190
+ const ResponseSchema: z.ZodObject<{
191
+ isSuccess: z.ZodBoolean;
192
+ data: z.ZodOptional<z.ZodType<{
193
+ uuid: string;
194
+ modelId: string;
195
+ userId: string | null;
196
+ unregisteredUserId: string | null;
197
+ scope: JOB_SCOPE;
198
+ prompt: string;
199
+ title: string;
200
+ status: import("..").JOB_STATUS;
201
+ error: string | null;
202
+ externalId: string | null;
203
+ price: number;
204
+ tokenReservationId: string | null;
205
+ motionVideoFileId: string;
206
+ motionVideoUrl: string;
207
+ characterImageFileId: string;
208
+ characterImageUrl: string;
209
+ duration: number;
210
+ resolution: "1080p" | "720p";
211
+ backgroundSource: "image" | "video";
212
+ params: {
213
+ resolution: "1080p" | "720p";
214
+ backgroundSource: "image" | "video";
215
+ };
216
+ outputVideoUrl: string | null;
217
+ outputVideoId: string | null;
218
+ previewUrl: string | null;
219
+ previewId: string | null;
220
+ reaction: USER_REACTION | null;
221
+ dislikeReason: string | null;
222
+ isFavorite: boolean;
223
+ isDeleted: boolean;
224
+ isPublished: boolean;
225
+ postId: string | null;
226
+ createdAt: Date;
227
+ updatedAt: Date;
228
+ completedAt: Date | null;
229
+ }, unknown, z.core.$ZodTypeInternals<{
230
+ uuid: string;
231
+ modelId: string;
232
+ userId: string | null;
233
+ unregisteredUserId: string | null;
234
+ scope: JOB_SCOPE;
235
+ prompt: string;
236
+ title: string;
237
+ status: import("..").JOB_STATUS;
238
+ error: string | null;
239
+ externalId: string | null;
240
+ price: number;
241
+ tokenReservationId: string | null;
242
+ motionVideoFileId: string;
243
+ motionVideoUrl: string;
244
+ characterImageFileId: string;
245
+ characterImageUrl: string;
246
+ duration: number;
247
+ resolution: "1080p" | "720p";
248
+ backgroundSource: "image" | "video";
249
+ params: {
250
+ resolution: "1080p" | "720p";
251
+ backgroundSource: "image" | "video";
252
+ };
253
+ outputVideoUrl: string | null;
254
+ outputVideoId: string | null;
255
+ previewUrl: string | null;
256
+ previewId: string | null;
257
+ reaction: USER_REACTION | null;
258
+ dislikeReason: string | null;
259
+ isFavorite: boolean;
260
+ isDeleted: boolean;
261
+ isPublished: boolean;
262
+ postId: string | null;
263
+ createdAt: Date;
264
+ updatedAt: Date;
265
+ completedAt: Date | null;
266
+ }, unknown>>>;
267
+ code: z.ZodOptional<z.ZodString>;
268
+ message: z.ZodOptional<z.ZodString>;
269
+ }, z.core.$strip>;
270
+ type Response = z.infer<typeof ResponseSchema>;
271
+ }
272
+ export declare namespace DeleteMotionControlJobByUuidCommand {
273
+ const RequestSchema: z.ZodObject<{
274
+ userId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
275
+ unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
276
+ uuid: z.ZodUUID;
277
+ }, z.core.$strip>;
278
+ type Request = z.infer<typeof RequestSchema>;
279
+ const ResponseSchema: z.ZodObject<{
280
+ isSuccess: z.ZodBoolean;
281
+ data: z.ZodOptional<z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>>;
282
+ code: z.ZodOptional<z.ZodString>;
283
+ message: z.ZodOptional<z.ZodString>;
284
+ }, z.core.$strip>;
285
+ type Response = z.infer<typeof ResponseSchema>;
286
+ }
287
+ export declare namespace DeleteAllMotionControlJobsCommand {
288
+ const RequestSchema: z.ZodObject<{
289
+ userId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
290
+ unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
291
+ scope: z.ZodDefault<z.ZodEnum<typeof JOB_SCOPE>>;
292
+ }, z.core.$strip>;
293
+ type Request = z.infer<typeof RequestSchema>;
294
+ const ResponseSchema: z.ZodObject<{
295
+ isSuccess: z.ZodBoolean;
296
+ data: z.ZodOptional<z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>>;
297
+ code: z.ZodOptional<z.ZodString>;
298
+ message: z.ZodOptional<z.ZodString>;
299
+ }, z.core.$strip>;
300
+ type Response = z.infer<typeof ResponseSchema>;
301
+ }
302
+ export declare namespace UpdateMotionControlJobTitleCommand {
303
+ const RequestSchema: z.ZodObject<{
304
+ userId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
305
+ unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
306
+ uuid: z.ZodUUID;
307
+ title: z.ZodString;
308
+ }, z.core.$strip>;
309
+ type Request = z.infer<typeof RequestSchema>;
310
+ const ResponseSchema: z.ZodObject<{
311
+ isSuccess: z.ZodBoolean;
312
+ data: z.ZodOptional<z.ZodType<{
313
+ uuid: string;
314
+ modelId: string;
315
+ userId: string | null;
316
+ unregisteredUserId: string | null;
317
+ scope: JOB_SCOPE;
318
+ prompt: string;
319
+ title: string;
320
+ status: import("..").JOB_STATUS;
321
+ error: string | null;
322
+ externalId: string | null;
323
+ price: number;
324
+ tokenReservationId: string | null;
325
+ motionVideoFileId: string;
326
+ motionVideoUrl: string;
327
+ characterImageFileId: string;
328
+ characterImageUrl: string;
329
+ duration: number;
330
+ resolution: "1080p" | "720p";
331
+ backgroundSource: "image" | "video";
332
+ params: {
333
+ resolution: "1080p" | "720p";
334
+ backgroundSource: "image" | "video";
335
+ };
336
+ outputVideoUrl: string | null;
337
+ outputVideoId: string | null;
338
+ previewUrl: string | null;
339
+ previewId: string | null;
340
+ reaction: USER_REACTION | null;
341
+ dislikeReason: string | null;
342
+ isFavorite: boolean;
343
+ isDeleted: boolean;
344
+ isPublished: boolean;
345
+ postId: string | null;
346
+ createdAt: Date;
347
+ updatedAt: Date;
348
+ completedAt: Date | null;
349
+ }, unknown, z.core.$ZodTypeInternals<{
350
+ uuid: string;
351
+ modelId: string;
352
+ userId: string | null;
353
+ unregisteredUserId: string | null;
354
+ scope: JOB_SCOPE;
355
+ prompt: string;
356
+ title: string;
357
+ status: import("..").JOB_STATUS;
358
+ error: string | null;
359
+ externalId: string | null;
360
+ price: number;
361
+ tokenReservationId: string | null;
362
+ motionVideoFileId: string;
363
+ motionVideoUrl: string;
364
+ characterImageFileId: string;
365
+ characterImageUrl: string;
366
+ duration: number;
367
+ resolution: "1080p" | "720p";
368
+ backgroundSource: "image" | "video";
369
+ params: {
370
+ resolution: "1080p" | "720p";
371
+ backgroundSource: "image" | "video";
372
+ };
373
+ outputVideoUrl: string | null;
374
+ outputVideoId: string | null;
375
+ previewUrl: string | null;
376
+ previewId: string | null;
377
+ reaction: USER_REACTION | null;
378
+ dislikeReason: string | null;
379
+ isFavorite: boolean;
380
+ isDeleted: boolean;
381
+ isPublished: boolean;
382
+ postId: string | null;
383
+ createdAt: Date;
384
+ updatedAt: Date;
385
+ completedAt: Date | null;
386
+ }, unknown>>>;
387
+ code: z.ZodOptional<z.ZodString>;
388
+ message: z.ZodOptional<z.ZodString>;
389
+ }, z.core.$strip>;
390
+ type Response = z.infer<typeof ResponseSchema>;
391
+ }
392
+ export declare namespace UpdateMotionControlJobFavoriteCommand {
393
+ const RequestSchema: z.ZodObject<{
394
+ userId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
395
+ unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
396
+ uuid: z.ZodUUID;
397
+ isFavorite: z.ZodBoolean;
398
+ }, z.core.$strip>;
399
+ type Request = z.infer<typeof RequestSchema>;
400
+ const ResponseSchema: z.ZodObject<{
401
+ isSuccess: z.ZodBoolean;
402
+ data: z.ZodOptional<z.ZodType<{
403
+ uuid: string;
404
+ modelId: string;
405
+ userId: string | null;
406
+ unregisteredUserId: string | null;
407
+ scope: JOB_SCOPE;
408
+ prompt: string;
409
+ title: string;
410
+ status: import("..").JOB_STATUS;
411
+ error: string | null;
412
+ externalId: string | null;
413
+ price: number;
414
+ tokenReservationId: string | null;
415
+ motionVideoFileId: string;
416
+ motionVideoUrl: string;
417
+ characterImageFileId: string;
418
+ characterImageUrl: string;
419
+ duration: number;
420
+ resolution: "1080p" | "720p";
421
+ backgroundSource: "image" | "video";
422
+ params: {
423
+ resolution: "1080p" | "720p";
424
+ backgroundSource: "image" | "video";
425
+ };
426
+ outputVideoUrl: string | null;
427
+ outputVideoId: string | null;
428
+ previewUrl: string | null;
429
+ previewId: string | null;
430
+ reaction: USER_REACTION | null;
431
+ dislikeReason: string | null;
432
+ isFavorite: boolean;
433
+ isDeleted: boolean;
434
+ isPublished: boolean;
435
+ postId: string | null;
436
+ createdAt: Date;
437
+ updatedAt: Date;
438
+ completedAt: Date | null;
439
+ }, unknown, z.core.$ZodTypeInternals<{
440
+ uuid: string;
441
+ modelId: string;
442
+ userId: string | null;
443
+ unregisteredUserId: string | null;
444
+ scope: JOB_SCOPE;
445
+ prompt: string;
446
+ title: string;
447
+ status: import("..").JOB_STATUS;
448
+ error: string | null;
449
+ externalId: string | null;
450
+ price: number;
451
+ tokenReservationId: string | null;
452
+ motionVideoFileId: string;
453
+ motionVideoUrl: string;
454
+ characterImageFileId: string;
455
+ characterImageUrl: string;
456
+ duration: number;
457
+ resolution: "1080p" | "720p";
458
+ backgroundSource: "image" | "video";
459
+ params: {
460
+ resolution: "1080p" | "720p";
461
+ backgroundSource: "image" | "video";
462
+ };
463
+ outputVideoUrl: string | null;
464
+ outputVideoId: string | null;
465
+ previewUrl: string | null;
466
+ previewId: string | null;
467
+ reaction: USER_REACTION | null;
468
+ dislikeReason: string | null;
469
+ isFavorite: boolean;
470
+ isDeleted: boolean;
471
+ isPublished: boolean;
472
+ postId: string | null;
473
+ createdAt: Date;
474
+ updatedAt: Date;
475
+ completedAt: Date | null;
476
+ }, unknown>>>;
477
+ code: z.ZodOptional<z.ZodString>;
478
+ message: z.ZodOptional<z.ZodString>;
479
+ }, z.core.$strip>;
480
+ type Response = z.infer<typeof ResponseSchema>;
481
+ }
482
+ export declare namespace SetReactionToMotionControlJobCommand {
483
+ const RequestSchema: z.ZodObject<{
484
+ userId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
485
+ unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
486
+ uuid: z.ZodUUID;
487
+ reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
488
+ dislikeReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
489
+ }, z.core.$strip>;
490
+ type Request = z.infer<typeof RequestSchema>;
491
+ const ResponseSchema: z.ZodObject<{
492
+ isSuccess: z.ZodBoolean;
493
+ data: z.ZodOptional<z.ZodType<{
494
+ uuid: string;
495
+ modelId: string;
496
+ userId: string | null;
497
+ unregisteredUserId: string | null;
498
+ scope: JOB_SCOPE;
499
+ prompt: string;
500
+ title: string;
501
+ status: import("..").JOB_STATUS;
502
+ error: string | null;
503
+ externalId: string | null;
504
+ price: number;
505
+ tokenReservationId: string | null;
506
+ motionVideoFileId: string;
507
+ motionVideoUrl: string;
508
+ characterImageFileId: string;
509
+ characterImageUrl: string;
510
+ duration: number;
511
+ resolution: "1080p" | "720p";
512
+ backgroundSource: "image" | "video";
513
+ params: {
514
+ resolution: "1080p" | "720p";
515
+ backgroundSource: "image" | "video";
516
+ };
517
+ outputVideoUrl: string | null;
518
+ outputVideoId: string | null;
519
+ previewUrl: string | null;
520
+ previewId: string | null;
521
+ reaction: USER_REACTION | null;
522
+ dislikeReason: string | null;
523
+ isFavorite: boolean;
524
+ isDeleted: boolean;
525
+ isPublished: boolean;
526
+ postId: string | null;
527
+ createdAt: Date;
528
+ updatedAt: Date;
529
+ completedAt: Date | null;
530
+ }, unknown, z.core.$ZodTypeInternals<{
531
+ uuid: string;
532
+ modelId: string;
533
+ userId: string | null;
534
+ unregisteredUserId: string | null;
535
+ scope: JOB_SCOPE;
536
+ prompt: string;
537
+ title: string;
538
+ status: import("..").JOB_STATUS;
539
+ error: string | null;
540
+ externalId: string | null;
541
+ price: number;
542
+ tokenReservationId: string | null;
543
+ motionVideoFileId: string;
544
+ motionVideoUrl: string;
545
+ characterImageFileId: string;
546
+ characterImageUrl: string;
547
+ duration: number;
548
+ resolution: "1080p" | "720p";
549
+ backgroundSource: "image" | "video";
550
+ params: {
551
+ resolution: "1080p" | "720p";
552
+ backgroundSource: "image" | "video";
553
+ };
554
+ outputVideoUrl: string | null;
555
+ outputVideoId: string | null;
556
+ previewUrl: string | null;
557
+ previewId: string | null;
558
+ reaction: USER_REACTION | null;
559
+ dislikeReason: string | null;
560
+ isFavorite: boolean;
561
+ isDeleted: boolean;
562
+ isPublished: boolean;
563
+ postId: string | null;
564
+ createdAt: Date;
565
+ updatedAt: Date;
566
+ completedAt: Date | null;
567
+ }, unknown>>>;
568
+ code: z.ZodOptional<z.ZodString>;
569
+ message: z.ZodOptional<z.ZodString>;
570
+ }, z.core.$strip>;
571
+ type Response = z.infer<typeof ResponseSchema>;
572
+ }
573
+ export declare namespace UpdatePublishedStatusMotionControlJobsCommand {
574
+ const RequestSchema: z.ZodObject<{
575
+ criteria: z.ZodObject<{
576
+ userId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
577
+ unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
578
+ uuid: z.ZodUUID;
579
+ }, z.core.$strip>;
580
+ data: z.ZodObject<{
581
+ isPublished: z.ZodBoolean;
582
+ postId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
583
+ outputVideoId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
584
+ previewId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
585
+ }, z.core.$strip>;
586
+ }, z.core.$strip>;
587
+ type Request = z.infer<typeof RequestSchema>;
588
+ const ResponseSchema: z.ZodObject<{
589
+ isSuccess: z.ZodBoolean;
590
+ data: z.ZodOptional<z.ZodType<{
591
+ uuid: string;
592
+ modelId: string;
593
+ userId: string | null;
594
+ unregisteredUserId: string | null;
595
+ scope: JOB_SCOPE;
596
+ prompt: string;
597
+ title: string;
598
+ status: import("..").JOB_STATUS;
599
+ error: string | null;
600
+ externalId: string | null;
601
+ price: number;
602
+ tokenReservationId: string | null;
603
+ motionVideoFileId: string;
604
+ motionVideoUrl: string;
605
+ characterImageFileId: string;
606
+ characterImageUrl: string;
607
+ duration: number;
608
+ resolution: "1080p" | "720p";
609
+ backgroundSource: "image" | "video";
610
+ params: {
611
+ resolution: "1080p" | "720p";
612
+ backgroundSource: "image" | "video";
613
+ };
614
+ outputVideoUrl: string | null;
615
+ outputVideoId: string | null;
616
+ previewUrl: string | null;
617
+ previewId: string | null;
618
+ reaction: USER_REACTION | null;
619
+ dislikeReason: string | null;
620
+ isFavorite: boolean;
621
+ isDeleted: boolean;
622
+ isPublished: boolean;
623
+ postId: string | null;
624
+ createdAt: Date;
625
+ updatedAt: Date;
626
+ completedAt: Date | null;
627
+ }, unknown, z.core.$ZodTypeInternals<{
628
+ uuid: string;
629
+ modelId: string;
630
+ userId: string | null;
631
+ unregisteredUserId: string | null;
632
+ scope: JOB_SCOPE;
633
+ prompt: string;
634
+ title: string;
635
+ status: import("..").JOB_STATUS;
636
+ error: string | null;
637
+ externalId: string | null;
638
+ price: number;
639
+ tokenReservationId: string | null;
640
+ motionVideoFileId: string;
641
+ motionVideoUrl: string;
642
+ characterImageFileId: string;
643
+ characterImageUrl: string;
644
+ duration: number;
645
+ resolution: "1080p" | "720p";
646
+ backgroundSource: "image" | "video";
647
+ params: {
648
+ resolution: "1080p" | "720p";
649
+ backgroundSource: "image" | "video";
650
+ };
651
+ outputVideoUrl: string | null;
652
+ outputVideoId: string | null;
653
+ previewUrl: string | null;
654
+ previewId: string | null;
655
+ reaction: USER_REACTION | null;
656
+ dislikeReason: string | null;
657
+ isFavorite: boolean;
658
+ isDeleted: boolean;
659
+ isPublished: boolean;
660
+ postId: string | null;
661
+ createdAt: Date;
662
+ updatedAt: Date;
663
+ completedAt: Date | null;
664
+ }, unknown>>>;
665
+ code: z.ZodOptional<z.ZodString>;
666
+ message: z.ZodOptional<z.ZodString>;
667
+ }, z.core.$strip>;
668
+ type Response = z.infer<typeof ResponseSchema>;
669
+ }