@liforma/publisher 0.4.0 → 0.6.0

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 (67) hide show
  1. package/README.md +34 -6
  2. package/dist/createPublisher.d.ts +22 -350
  3. package/dist/createPublisher.d.ts.map +1 -1
  4. package/dist/createPublisher.js +19 -316
  5. package/dist/createPublisher.js.map +1 -1
  6. package/dist/index.d.ts +11 -3
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js.map +1 -1
  9. package/dist/jobs.d.ts +11 -13
  10. package/dist/jobs.d.ts.map +1 -1
  11. package/dist/jobs.js +10 -23
  12. package/dist/jobs.js.map +1 -1
  13. package/dist/options.d.ts +11 -0
  14. package/dist/options.d.ts.map +1 -0
  15. package/dist/options.js +2 -0
  16. package/dist/options.js.map +1 -0
  17. package/dist/publishStart.d.ts +7 -0
  18. package/dist/publishStart.d.ts.map +1 -0
  19. package/dist/publishStart.js +10 -0
  20. package/dist/publishStart.js.map +1 -0
  21. package/dist/resources/avatars.d.ts +8 -0
  22. package/dist/resources/avatars.d.ts.map +1 -0
  23. package/dist/resources/avatars.js +11 -0
  24. package/dist/resources/avatars.js.map +1 -0
  25. package/dist/resources/backdrops.d.ts +25 -0
  26. package/dist/resources/backdrops.d.ts.map +1 -0
  27. package/dist/resources/backdrops.js +62 -0
  28. package/dist/resources/backdrops.js.map +1 -0
  29. package/dist/resources/characters.d.ts +42 -0
  30. package/dist/resources/characters.d.ts.map +1 -0
  31. package/dist/resources/characters.js +73 -0
  32. package/dist/resources/characters.js.map +1 -0
  33. package/dist/resources/clothes.d.ts +28 -0
  34. package/dist/resources/clothes.d.ts.map +1 -0
  35. package/dist/resources/clothes.js +55 -0
  36. package/dist/resources/clothes.js.map +1 -0
  37. package/dist/resources/costumes.d.ts +19 -0
  38. package/dist/resources/costumes.d.ts.map +1 -0
  39. package/dist/resources/costumes.js +43 -0
  40. package/dist/resources/costumes.js.map +1 -0
  41. package/dist/resources/experiences.d.ts +36 -0
  42. package/dist/resources/experiences.d.ts.map +1 -0
  43. package/dist/resources/experiences.js +71 -0
  44. package/dist/resources/experiences.js.map +1 -0
  45. package/dist/resources/hair.d.ts +19 -0
  46. package/dist/resources/hair.d.ts.map +1 -0
  47. package/dist/resources/hair.js +43 -0
  48. package/dist/resources/hair.js.map +1 -0
  49. package/dist/resources/sets.d.ts +22 -0
  50. package/dist/resources/sets.d.ts.map +1 -0
  51. package/dist/resources/sets.js +49 -0
  52. package/dist/resources/sets.js.map +1 -0
  53. package/dist/schemas.d.ts +924 -19
  54. package/dist/schemas.d.ts.map +1 -1
  55. package/dist/schemas.js +92 -4
  56. package/dist/schemas.js.map +1 -1
  57. package/dist/spatial.d.ts +3 -0
  58. package/dist/spatial.d.ts.map +1 -0
  59. package/dist/spatial.js +13 -0
  60. package/dist/spatial.js.map +1 -0
  61. package/dist/validate.d.ts +3 -0
  62. package/dist/validate.d.ts.map +1 -0
  63. package/dist/validate.js +13 -0
  64. package/dist/validate.js.map +1 -0
  65. package/dist/version.d.ts +1 -1
  66. package/dist/version.js +1 -1
  67. package/package.json +1 -1
package/dist/schemas.d.ts CHANGED
@@ -53,11 +53,28 @@ export declare const experienceStatusSchema: z.ZodEnum<{
53
53
  draft: "draft";
54
54
  published: "published";
55
55
  }>;
56
+ export declare const PUBLISH_JOB_ERROR_CATEGORIES: readonly ["input", "dependency", "capacity", "infrastructure", "internal"];
57
+ export declare const publishJobErrorCategorySchema: z.ZodEnum<{
58
+ input: "input";
59
+ dependency: "dependency";
60
+ capacity: "capacity";
61
+ infrastructure: "infrastructure";
62
+ internal: "internal";
63
+ }>;
64
+ export type PublishJobErrorCategory = (typeof PUBLISH_JOB_ERROR_CATEGORIES)[number];
56
65
  export declare const publishJobErrorSchema: z.ZodObject<{
57
66
  code: z.ZodString;
67
+ category: z.ZodEnum<{
68
+ input: "input";
69
+ dependency: "dependency";
70
+ capacity: "capacity";
71
+ infrastructure: "infrastructure";
72
+ internal: "internal";
73
+ }>;
74
+ retryable: z.ZodBoolean;
58
75
  message: z.ZodString;
59
76
  }, z.core.$strict>;
60
- export declare const publishJobSchema: z.ZodObject<{
77
+ export declare const publishJobSchema: z.ZodPipe<z.ZodObject<{
61
78
  id: z.ZodString;
62
79
  status: z.ZodEnum<{
63
80
  failed: "failed";
@@ -69,7 +86,9 @@ export declare const publishJobSchema: z.ZodObject<{
69
86
  kind: z.ZodEnum<{
70
87
  clothes: "clothes";
71
88
  hair: "hair";
89
+ costume: "costume";
72
90
  location: "location";
91
+ backdrop: "backdrop";
73
92
  }>;
74
93
  pollUrl: z.ZodString;
75
94
  targetId: z.ZodString;
@@ -81,9 +100,53 @@ export declare const publishJobSchema: z.ZodObject<{
81
100
  }, z.core.$strict>;
82
101
  error: z.ZodNullable<z.ZodObject<{
83
102
  code: z.ZodString;
103
+ category: z.ZodEnum<{
104
+ input: "input";
105
+ dependency: "dependency";
106
+ capacity: "capacity";
107
+ infrastructure: "infrastructure";
108
+ internal: "internal";
109
+ }>;
110
+ retryable: z.ZodBoolean;
84
111
  message: z.ZodString;
85
112
  }, z.core.$strict>>;
86
- }, z.core.$strict>;
113
+ }, z.core.$strict>, z.ZodTransform<{
114
+ id: string;
115
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
116
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
117
+ pollUrl: string;
118
+ targetId: string;
119
+ requiredOk: boolean;
120
+ stage: string | null;
121
+ progress: {
122
+ requiredVerified: number;
123
+ requiredTotal: number;
124
+ };
125
+ error: {
126
+ code: string;
127
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
128
+ retryable: boolean;
129
+ message: string;
130
+ } | null;
131
+ }, {
132
+ id: string;
133
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
134
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
135
+ pollUrl: string;
136
+ targetId: string;
137
+ requiredOk: boolean;
138
+ stage: string | null;
139
+ progress: {
140
+ requiredVerified: number;
141
+ requiredTotal: number;
142
+ };
143
+ error: {
144
+ code: string;
145
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
146
+ retryable: boolean;
147
+ message: string;
148
+ } | null;
149
+ }>>;
87
150
  export declare const publishStubSchema: z.ZodObject<{
88
151
  id: z.ZodString;
89
152
  status: z.ZodEnum<{
@@ -93,7 +156,7 @@ export declare const publishStubSchema: z.ZodObject<{
93
156
  }>;
94
157
  }, z.core.$strict>;
95
158
  export declare const createClothesPublishResponseSchema: z.ZodObject<{
96
- job: z.ZodObject<{
159
+ job: z.ZodPipe<z.ZodObject<{
97
160
  id: z.ZodString;
98
161
  status: z.ZodEnum<{
99
162
  failed: "failed";
@@ -105,7 +168,9 @@ export declare const createClothesPublishResponseSchema: z.ZodObject<{
105
168
  kind: z.ZodEnum<{
106
169
  clothes: "clothes";
107
170
  hair: "hair";
171
+ costume: "costume";
108
172
  location: "location";
173
+ backdrop: "backdrop";
109
174
  }>;
110
175
  pollUrl: z.ZodString;
111
176
  targetId: z.ZodString;
@@ -117,9 +182,53 @@ export declare const createClothesPublishResponseSchema: z.ZodObject<{
117
182
  }, z.core.$strict>;
118
183
  error: z.ZodNullable<z.ZodObject<{
119
184
  code: z.ZodString;
185
+ category: z.ZodEnum<{
186
+ input: "input";
187
+ dependency: "dependency";
188
+ capacity: "capacity";
189
+ infrastructure: "infrastructure";
190
+ internal: "internal";
191
+ }>;
192
+ retryable: z.ZodBoolean;
120
193
  message: z.ZodString;
121
194
  }, z.core.$strict>>;
122
- }, z.core.$strict>;
195
+ }, z.core.$strict>, z.ZodTransform<{
196
+ id: string;
197
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
198
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
199
+ pollUrl: string;
200
+ targetId: string;
201
+ requiredOk: boolean;
202
+ stage: string | null;
203
+ progress: {
204
+ requiredVerified: number;
205
+ requiredTotal: number;
206
+ };
207
+ error: {
208
+ code: string;
209
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
210
+ retryable: boolean;
211
+ message: string;
212
+ } | null;
213
+ }, {
214
+ id: string;
215
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
216
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
217
+ pollUrl: string;
218
+ targetId: string;
219
+ requiredOk: boolean;
220
+ stage: string | null;
221
+ progress: {
222
+ requiredVerified: number;
223
+ requiredTotal: number;
224
+ };
225
+ error: {
226
+ code: string;
227
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
228
+ retryable: boolean;
229
+ message: string;
230
+ } | null;
231
+ }>>;
123
232
  clothes: z.ZodObject<{
124
233
  id: z.ZodString;
125
234
  status: z.ZodEnum<{
@@ -130,7 +239,7 @@ export declare const createClothesPublishResponseSchema: z.ZodObject<{
130
239
  }, z.core.$strict>;
131
240
  }, z.core.$strict>;
132
241
  export declare const createHairPublishResponseSchema: z.ZodObject<{
133
- job: z.ZodObject<{
242
+ job: z.ZodPipe<z.ZodObject<{
134
243
  id: z.ZodString;
135
244
  status: z.ZodEnum<{
136
245
  failed: "failed";
@@ -142,7 +251,9 @@ export declare const createHairPublishResponseSchema: z.ZodObject<{
142
251
  kind: z.ZodEnum<{
143
252
  clothes: "clothes";
144
253
  hair: "hair";
254
+ costume: "costume";
145
255
  location: "location";
256
+ backdrop: "backdrop";
146
257
  }>;
147
258
  pollUrl: z.ZodString;
148
259
  targetId: z.ZodString;
@@ -154,9 +265,53 @@ export declare const createHairPublishResponseSchema: z.ZodObject<{
154
265
  }, z.core.$strict>;
155
266
  error: z.ZodNullable<z.ZodObject<{
156
267
  code: z.ZodString;
268
+ category: z.ZodEnum<{
269
+ input: "input";
270
+ dependency: "dependency";
271
+ capacity: "capacity";
272
+ infrastructure: "infrastructure";
273
+ internal: "internal";
274
+ }>;
275
+ retryable: z.ZodBoolean;
157
276
  message: z.ZodString;
158
277
  }, z.core.$strict>>;
159
- }, z.core.$strict>;
278
+ }, z.core.$strict>, z.ZodTransform<{
279
+ id: string;
280
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
281
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
282
+ pollUrl: string;
283
+ targetId: string;
284
+ requiredOk: boolean;
285
+ stage: string | null;
286
+ progress: {
287
+ requiredVerified: number;
288
+ requiredTotal: number;
289
+ };
290
+ error: {
291
+ code: string;
292
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
293
+ retryable: boolean;
294
+ message: string;
295
+ } | null;
296
+ }, {
297
+ id: string;
298
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
299
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
300
+ pollUrl: string;
301
+ targetId: string;
302
+ requiredOk: boolean;
303
+ stage: string | null;
304
+ progress: {
305
+ requiredVerified: number;
306
+ requiredTotal: number;
307
+ };
308
+ error: {
309
+ code: string;
310
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
311
+ retryable: boolean;
312
+ message: string;
313
+ } | null;
314
+ }>>;
160
315
  hair: z.ZodObject<{
161
316
  id: z.ZodString;
162
317
  status: z.ZodEnum<{
@@ -166,8 +321,8 @@ export declare const createHairPublishResponseSchema: z.ZodObject<{
166
321
  }>;
167
322
  }, z.core.$strict>;
168
323
  }, z.core.$strict>;
169
- export declare const createLocationPublishResponseSchema: z.ZodObject<{
170
- job: z.ZodObject<{
324
+ export declare const createCostumePublishResponseSchema: z.ZodObject<{
325
+ job: z.ZodPipe<z.ZodObject<{
171
326
  id: z.ZodString;
172
327
  status: z.ZodEnum<{
173
328
  failed: "failed";
@@ -179,7 +334,9 @@ export declare const createLocationPublishResponseSchema: z.ZodObject<{
179
334
  kind: z.ZodEnum<{
180
335
  clothes: "clothes";
181
336
  hair: "hair";
337
+ costume: "costume";
182
338
  location: "location";
339
+ backdrop: "backdrop";
183
340
  }>;
184
341
  pollUrl: z.ZodString;
185
342
  targetId: z.ZodString;
@@ -191,9 +348,136 @@ export declare const createLocationPublishResponseSchema: z.ZodObject<{
191
348
  }, z.core.$strict>;
192
349
  error: z.ZodNullable<z.ZodObject<{
193
350
  code: z.ZodString;
351
+ category: z.ZodEnum<{
352
+ input: "input";
353
+ dependency: "dependency";
354
+ capacity: "capacity";
355
+ infrastructure: "infrastructure";
356
+ internal: "internal";
357
+ }>;
358
+ retryable: z.ZodBoolean;
194
359
  message: z.ZodString;
195
360
  }, z.core.$strict>>;
361
+ }, z.core.$strict>, z.ZodTransform<{
362
+ id: string;
363
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
364
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
365
+ pollUrl: string;
366
+ targetId: string;
367
+ requiredOk: boolean;
368
+ stage: string | null;
369
+ progress: {
370
+ requiredVerified: number;
371
+ requiredTotal: number;
372
+ };
373
+ error: {
374
+ code: string;
375
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
376
+ retryable: boolean;
377
+ message: string;
378
+ } | null;
379
+ }, {
380
+ id: string;
381
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
382
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
383
+ pollUrl: string;
384
+ targetId: string;
385
+ requiredOk: boolean;
386
+ stage: string | null;
387
+ progress: {
388
+ requiredVerified: number;
389
+ requiredTotal: number;
390
+ };
391
+ error: {
392
+ code: string;
393
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
394
+ retryable: boolean;
395
+ message: string;
396
+ } | null;
397
+ }>>;
398
+ costume: z.ZodObject<{
399
+ id: z.ZodString;
400
+ status: z.ZodEnum<{
401
+ processing: "processing";
402
+ ready: "ready";
403
+ failed: "failed";
404
+ }>;
196
405
  }, z.core.$strict>;
406
+ }, z.core.$strict>;
407
+ export declare const createLocationPublishResponseSchema: z.ZodObject<{
408
+ job: z.ZodPipe<z.ZodObject<{
409
+ id: z.ZodString;
410
+ status: z.ZodEnum<{
411
+ failed: "failed";
412
+ queued: "queued";
413
+ running: "running";
414
+ waiting_processor: "waiting_processor";
415
+ succeeded: "succeeded";
416
+ }>;
417
+ kind: z.ZodEnum<{
418
+ clothes: "clothes";
419
+ hair: "hair";
420
+ costume: "costume";
421
+ location: "location";
422
+ backdrop: "backdrop";
423
+ }>;
424
+ pollUrl: z.ZodString;
425
+ targetId: z.ZodString;
426
+ requiredOk: z.ZodBoolean;
427
+ stage: z.ZodNullable<z.ZodString>;
428
+ progress: z.ZodObject<{
429
+ requiredVerified: z.ZodNumber;
430
+ requiredTotal: z.ZodNumber;
431
+ }, z.core.$strict>;
432
+ error: z.ZodNullable<z.ZodObject<{
433
+ code: z.ZodString;
434
+ category: z.ZodEnum<{
435
+ input: "input";
436
+ dependency: "dependency";
437
+ capacity: "capacity";
438
+ infrastructure: "infrastructure";
439
+ internal: "internal";
440
+ }>;
441
+ retryable: z.ZodBoolean;
442
+ message: z.ZodString;
443
+ }, z.core.$strict>>;
444
+ }, z.core.$strict>, z.ZodTransform<{
445
+ id: string;
446
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
447
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
448
+ pollUrl: string;
449
+ targetId: string;
450
+ requiredOk: boolean;
451
+ stage: string | null;
452
+ progress: {
453
+ requiredVerified: number;
454
+ requiredTotal: number;
455
+ };
456
+ error: {
457
+ code: string;
458
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
459
+ retryable: boolean;
460
+ message: string;
461
+ } | null;
462
+ }, {
463
+ id: string;
464
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
465
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
466
+ pollUrl: string;
467
+ targetId: string;
468
+ requiredOk: boolean;
469
+ stage: string | null;
470
+ progress: {
471
+ requiredVerified: number;
472
+ requiredTotal: number;
473
+ };
474
+ error: {
475
+ code: string;
476
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
477
+ retryable: boolean;
478
+ message: string;
479
+ } | null;
480
+ }>>;
197
481
  location: z.ZodObject<{
198
482
  id: z.ZodString;
199
483
  status: z.ZodEnum<{
@@ -203,8 +487,8 @@ export declare const createLocationPublishResponseSchema: z.ZodObject<{
203
487
  }>;
204
488
  }, z.core.$strict>;
205
489
  }, z.core.$strict>;
206
- export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
207
- job: z.ZodObject<{
490
+ export declare const createBackdropPublishResponseSchema: z.ZodObject<{
491
+ job: z.ZodPipe<z.ZodObject<{
208
492
  id: z.ZodString;
209
493
  status: z.ZodEnum<{
210
494
  failed: "failed";
@@ -216,7 +500,9 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
216
500
  kind: z.ZodEnum<{
217
501
  clothes: "clothes";
218
502
  hair: "hair";
503
+ costume: "costume";
219
504
  location: "location";
505
+ backdrop: "backdrop";
220
506
  }>;
221
507
  pollUrl: z.ZodString;
222
508
  targetId: z.ZodString;
@@ -228,9 +514,136 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
228
514
  }, z.core.$strict>;
229
515
  error: z.ZodNullable<z.ZodObject<{
230
516
  code: z.ZodString;
517
+ category: z.ZodEnum<{
518
+ input: "input";
519
+ dependency: "dependency";
520
+ capacity: "capacity";
521
+ infrastructure: "infrastructure";
522
+ internal: "internal";
523
+ }>;
524
+ retryable: z.ZodBoolean;
231
525
  message: z.ZodString;
232
526
  }, z.core.$strict>>;
527
+ }, z.core.$strict>, z.ZodTransform<{
528
+ id: string;
529
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
530
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
531
+ pollUrl: string;
532
+ targetId: string;
533
+ requiredOk: boolean;
534
+ stage: string | null;
535
+ progress: {
536
+ requiredVerified: number;
537
+ requiredTotal: number;
538
+ };
539
+ error: {
540
+ code: string;
541
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
542
+ retryable: boolean;
543
+ message: string;
544
+ } | null;
545
+ }, {
546
+ id: string;
547
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
548
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
549
+ pollUrl: string;
550
+ targetId: string;
551
+ requiredOk: boolean;
552
+ stage: string | null;
553
+ progress: {
554
+ requiredVerified: number;
555
+ requiredTotal: number;
556
+ };
557
+ error: {
558
+ code: string;
559
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
560
+ retryable: boolean;
561
+ message: string;
562
+ } | null;
563
+ }>>;
564
+ backdrop: z.ZodObject<{
565
+ id: z.ZodString;
566
+ status: z.ZodEnum<{
567
+ processing: "processing";
568
+ ready: "ready";
569
+ failed: "failed";
570
+ }>;
233
571
  }, z.core.$strict>;
572
+ }, z.core.$strict>;
573
+ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
574
+ job: z.ZodPipe<z.ZodObject<{
575
+ id: z.ZodString;
576
+ status: z.ZodEnum<{
577
+ failed: "failed";
578
+ queued: "queued";
579
+ running: "running";
580
+ waiting_processor: "waiting_processor";
581
+ succeeded: "succeeded";
582
+ }>;
583
+ kind: z.ZodEnum<{
584
+ clothes: "clothes";
585
+ hair: "hair";
586
+ costume: "costume";
587
+ location: "location";
588
+ backdrop: "backdrop";
589
+ }>;
590
+ pollUrl: z.ZodString;
591
+ targetId: z.ZodString;
592
+ requiredOk: z.ZodBoolean;
593
+ stage: z.ZodNullable<z.ZodString>;
594
+ progress: z.ZodObject<{
595
+ requiredVerified: z.ZodNumber;
596
+ requiredTotal: z.ZodNumber;
597
+ }, z.core.$strict>;
598
+ error: z.ZodNullable<z.ZodObject<{
599
+ code: z.ZodString;
600
+ category: z.ZodEnum<{
601
+ input: "input";
602
+ dependency: "dependency";
603
+ capacity: "capacity";
604
+ infrastructure: "infrastructure";
605
+ internal: "internal";
606
+ }>;
607
+ retryable: z.ZodBoolean;
608
+ message: z.ZodString;
609
+ }, z.core.$strict>>;
610
+ }, z.core.$strict>, z.ZodTransform<{
611
+ id: string;
612
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
613
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
614
+ pollUrl: string;
615
+ targetId: string;
616
+ requiredOk: boolean;
617
+ stage: string | null;
618
+ progress: {
619
+ requiredVerified: number;
620
+ requiredTotal: number;
621
+ };
622
+ error: {
623
+ code: string;
624
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
625
+ retryable: boolean;
626
+ message: string;
627
+ } | null;
628
+ }, {
629
+ id: string;
630
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
631
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
632
+ pollUrl: string;
633
+ targetId: string;
634
+ requiredOk: boolean;
635
+ stage: string | null;
636
+ progress: {
637
+ requiredVerified: number;
638
+ requiredTotal: number;
639
+ };
640
+ error: {
641
+ code: string;
642
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
643
+ retryable: boolean;
644
+ message: string;
645
+ } | null;
646
+ }>>;
234
647
  clothes: z.ZodObject<{
235
648
  id: z.ZodString;
236
649
  status: z.ZodEnum<{
@@ -240,7 +653,7 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
240
653
  }>;
241
654
  }, z.core.$strict>;
242
655
  }, z.core.$strict>, z.ZodObject<{
243
- job: z.ZodObject<{
656
+ job: z.ZodPipe<z.ZodObject<{
244
657
  id: z.ZodString;
245
658
  status: z.ZodEnum<{
246
659
  failed: "failed";
@@ -252,7 +665,9 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
252
665
  kind: z.ZodEnum<{
253
666
  clothes: "clothes";
254
667
  hair: "hair";
668
+ costume: "costume";
255
669
  location: "location";
670
+ backdrop: "backdrop";
256
671
  }>;
257
672
  pollUrl: z.ZodString;
258
673
  targetId: z.ZodString;
@@ -264,9 +679,53 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
264
679
  }, z.core.$strict>;
265
680
  error: z.ZodNullable<z.ZodObject<{
266
681
  code: z.ZodString;
682
+ category: z.ZodEnum<{
683
+ input: "input";
684
+ dependency: "dependency";
685
+ capacity: "capacity";
686
+ infrastructure: "infrastructure";
687
+ internal: "internal";
688
+ }>;
689
+ retryable: z.ZodBoolean;
267
690
  message: z.ZodString;
268
691
  }, z.core.$strict>>;
269
- }, z.core.$strict>;
692
+ }, z.core.$strict>, z.ZodTransform<{
693
+ id: string;
694
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
695
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
696
+ pollUrl: string;
697
+ targetId: string;
698
+ requiredOk: boolean;
699
+ stage: string | null;
700
+ progress: {
701
+ requiredVerified: number;
702
+ requiredTotal: number;
703
+ };
704
+ error: {
705
+ code: string;
706
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
707
+ retryable: boolean;
708
+ message: string;
709
+ } | null;
710
+ }, {
711
+ id: string;
712
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
713
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
714
+ pollUrl: string;
715
+ targetId: string;
716
+ requiredOk: boolean;
717
+ stage: string | null;
718
+ progress: {
719
+ requiredVerified: number;
720
+ requiredTotal: number;
721
+ };
722
+ error: {
723
+ code: string;
724
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
725
+ retryable: boolean;
726
+ message: string;
727
+ } | null;
728
+ }>>;
270
729
  hair: z.ZodObject<{
271
730
  id: z.ZodString;
272
731
  status: z.ZodEnum<{
@@ -276,7 +735,7 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
276
735
  }>;
277
736
  }, z.core.$strict>;
278
737
  }, z.core.$strict>, z.ZodObject<{
279
- job: z.ZodObject<{
738
+ job: z.ZodPipe<z.ZodObject<{
280
739
  id: z.ZodString;
281
740
  status: z.ZodEnum<{
282
741
  failed: "failed";
@@ -288,7 +747,9 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
288
747
  kind: z.ZodEnum<{
289
748
  clothes: "clothes";
290
749
  hair: "hair";
750
+ costume: "costume";
291
751
  location: "location";
752
+ backdrop: "backdrop";
292
753
  }>;
293
754
  pollUrl: z.ZodString;
294
755
  targetId: z.ZodString;
@@ -300,9 +761,135 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
300
761
  }, z.core.$strict>;
301
762
  error: z.ZodNullable<z.ZodObject<{
302
763
  code: z.ZodString;
764
+ category: z.ZodEnum<{
765
+ input: "input";
766
+ dependency: "dependency";
767
+ capacity: "capacity";
768
+ infrastructure: "infrastructure";
769
+ internal: "internal";
770
+ }>;
771
+ retryable: z.ZodBoolean;
303
772
  message: z.ZodString;
304
773
  }, z.core.$strict>>;
774
+ }, z.core.$strict>, z.ZodTransform<{
775
+ id: string;
776
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
777
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
778
+ pollUrl: string;
779
+ targetId: string;
780
+ requiredOk: boolean;
781
+ stage: string | null;
782
+ progress: {
783
+ requiredVerified: number;
784
+ requiredTotal: number;
785
+ };
786
+ error: {
787
+ code: string;
788
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
789
+ retryable: boolean;
790
+ message: string;
791
+ } | null;
792
+ }, {
793
+ id: string;
794
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
795
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
796
+ pollUrl: string;
797
+ targetId: string;
798
+ requiredOk: boolean;
799
+ stage: string | null;
800
+ progress: {
801
+ requiredVerified: number;
802
+ requiredTotal: number;
803
+ };
804
+ error: {
805
+ code: string;
806
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
807
+ retryable: boolean;
808
+ message: string;
809
+ } | null;
810
+ }>>;
811
+ costume: z.ZodObject<{
812
+ id: z.ZodString;
813
+ status: z.ZodEnum<{
814
+ processing: "processing";
815
+ ready: "ready";
816
+ failed: "failed";
817
+ }>;
305
818
  }, z.core.$strict>;
819
+ }, z.core.$strict>, z.ZodObject<{
820
+ job: z.ZodPipe<z.ZodObject<{
821
+ id: z.ZodString;
822
+ status: z.ZodEnum<{
823
+ failed: "failed";
824
+ queued: "queued";
825
+ running: "running";
826
+ waiting_processor: "waiting_processor";
827
+ succeeded: "succeeded";
828
+ }>;
829
+ kind: z.ZodEnum<{
830
+ clothes: "clothes";
831
+ hair: "hair";
832
+ costume: "costume";
833
+ location: "location";
834
+ backdrop: "backdrop";
835
+ }>;
836
+ pollUrl: z.ZodString;
837
+ targetId: z.ZodString;
838
+ requiredOk: z.ZodBoolean;
839
+ stage: z.ZodNullable<z.ZodString>;
840
+ progress: z.ZodObject<{
841
+ requiredVerified: z.ZodNumber;
842
+ requiredTotal: z.ZodNumber;
843
+ }, z.core.$strict>;
844
+ error: z.ZodNullable<z.ZodObject<{
845
+ code: z.ZodString;
846
+ category: z.ZodEnum<{
847
+ input: "input";
848
+ dependency: "dependency";
849
+ capacity: "capacity";
850
+ infrastructure: "infrastructure";
851
+ internal: "internal";
852
+ }>;
853
+ retryable: z.ZodBoolean;
854
+ message: z.ZodString;
855
+ }, z.core.$strict>>;
856
+ }, z.core.$strict>, z.ZodTransform<{
857
+ id: string;
858
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
859
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
860
+ pollUrl: string;
861
+ targetId: string;
862
+ requiredOk: boolean;
863
+ stage: string | null;
864
+ progress: {
865
+ requiredVerified: number;
866
+ requiredTotal: number;
867
+ };
868
+ error: {
869
+ code: string;
870
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
871
+ retryable: boolean;
872
+ message: string;
873
+ } | null;
874
+ }, {
875
+ id: string;
876
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
877
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
878
+ pollUrl: string;
879
+ targetId: string;
880
+ requiredOk: boolean;
881
+ stage: string | null;
882
+ progress: {
883
+ requiredVerified: number;
884
+ requiredTotal: number;
885
+ };
886
+ error: {
887
+ code: string;
888
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
889
+ retryable: boolean;
890
+ message: string;
891
+ } | null;
892
+ }>>;
306
893
  location: z.ZodObject<{
307
894
  id: z.ZodString;
308
895
  status: z.ZodEnum<{
@@ -311,9 +898,91 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
311
898
  failed: "failed";
312
899
  }>;
313
900
  }, z.core.$strict>;
901
+ }, z.core.$strict>, z.ZodObject<{
902
+ job: z.ZodPipe<z.ZodObject<{
903
+ id: z.ZodString;
904
+ status: z.ZodEnum<{
905
+ failed: "failed";
906
+ queued: "queued";
907
+ running: "running";
908
+ waiting_processor: "waiting_processor";
909
+ succeeded: "succeeded";
910
+ }>;
911
+ kind: z.ZodEnum<{
912
+ clothes: "clothes";
913
+ hair: "hair";
914
+ costume: "costume";
915
+ location: "location";
916
+ backdrop: "backdrop";
917
+ }>;
918
+ pollUrl: z.ZodString;
919
+ targetId: z.ZodString;
920
+ requiredOk: z.ZodBoolean;
921
+ stage: z.ZodNullable<z.ZodString>;
922
+ progress: z.ZodObject<{
923
+ requiredVerified: z.ZodNumber;
924
+ requiredTotal: z.ZodNumber;
925
+ }, z.core.$strict>;
926
+ error: z.ZodNullable<z.ZodObject<{
927
+ code: z.ZodString;
928
+ category: z.ZodEnum<{
929
+ input: "input";
930
+ dependency: "dependency";
931
+ capacity: "capacity";
932
+ infrastructure: "infrastructure";
933
+ internal: "internal";
934
+ }>;
935
+ retryable: z.ZodBoolean;
936
+ message: z.ZodString;
937
+ }, z.core.$strict>>;
938
+ }, z.core.$strict>, z.ZodTransform<{
939
+ id: string;
940
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
941
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
942
+ pollUrl: string;
943
+ targetId: string;
944
+ requiredOk: boolean;
945
+ stage: string | null;
946
+ progress: {
947
+ requiredVerified: number;
948
+ requiredTotal: number;
949
+ };
950
+ error: {
951
+ code: string;
952
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
953
+ retryable: boolean;
954
+ message: string;
955
+ } | null;
956
+ }, {
957
+ id: string;
958
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
959
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
960
+ pollUrl: string;
961
+ targetId: string;
962
+ requiredOk: boolean;
963
+ stage: string | null;
964
+ progress: {
965
+ requiredVerified: number;
966
+ requiredTotal: number;
967
+ };
968
+ error: {
969
+ code: string;
970
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
971
+ retryable: boolean;
972
+ message: string;
973
+ } | null;
974
+ }>>;
975
+ backdrop: z.ZodObject<{
976
+ id: z.ZodString;
977
+ status: z.ZodEnum<{
978
+ processing: "processing";
979
+ ready: "ready";
980
+ failed: "failed";
981
+ }>;
982
+ }, z.core.$strict>;
314
983
  }, z.core.$strict>]>;
315
984
  export declare const getJobResponseSchema: z.ZodObject<{
316
- job: z.ZodObject<{
985
+ job: z.ZodPipe<z.ZodObject<{
317
986
  id: z.ZodString;
318
987
  status: z.ZodEnum<{
319
988
  failed: "failed";
@@ -325,7 +994,9 @@ export declare const getJobResponseSchema: z.ZodObject<{
325
994
  kind: z.ZodEnum<{
326
995
  clothes: "clothes";
327
996
  hair: "hair";
997
+ costume: "costume";
328
998
  location: "location";
999
+ backdrop: "backdrop";
329
1000
  }>;
330
1001
  pollUrl: z.ZodString;
331
1002
  targetId: z.ZodString;
@@ -337,9 +1008,53 @@ export declare const getJobResponseSchema: z.ZodObject<{
337
1008
  }, z.core.$strict>;
338
1009
  error: z.ZodNullable<z.ZodObject<{
339
1010
  code: z.ZodString;
1011
+ category: z.ZodEnum<{
1012
+ input: "input";
1013
+ dependency: "dependency";
1014
+ capacity: "capacity";
1015
+ infrastructure: "infrastructure";
1016
+ internal: "internal";
1017
+ }>;
1018
+ retryable: z.ZodBoolean;
340
1019
  message: z.ZodString;
341
1020
  }, z.core.$strict>>;
342
- }, z.core.$strict>;
1021
+ }, z.core.$strict>, z.ZodTransform<{
1022
+ id: string;
1023
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
1024
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
1025
+ pollUrl: string;
1026
+ targetId: string;
1027
+ requiredOk: boolean;
1028
+ stage: string | null;
1029
+ progress: {
1030
+ requiredVerified: number;
1031
+ requiredTotal: number;
1032
+ };
1033
+ error: {
1034
+ code: string;
1035
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
1036
+ retryable: boolean;
1037
+ message: string;
1038
+ } | null;
1039
+ }, {
1040
+ id: string;
1041
+ status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
1042
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
1043
+ pollUrl: string;
1044
+ targetId: string;
1045
+ requiredOk: boolean;
1046
+ stage: string | null;
1047
+ progress: {
1048
+ requiredVerified: number;
1049
+ requiredTotal: number;
1050
+ };
1051
+ error: {
1052
+ code: string;
1053
+ category: "input" | "dependency" | "capacity" | "infrastructure" | "internal";
1054
+ retryable: boolean;
1055
+ message: string;
1056
+ } | null;
1057
+ }>>;
343
1058
  }, z.core.$strict>;
344
1059
  export declare const createUploadResponseSchema: z.ZodObject<{
345
1060
  upload: z.ZodObject<{
@@ -395,6 +1110,22 @@ export declare const hairResourceSchema: z.ZodObject<{
395
1110
  createdAt: z.ZodString;
396
1111
  updatedAt: z.ZodString;
397
1112
  }, z.core.$strict>;
1113
+ export declare const costumeResourceSchema: z.ZodObject<{
1114
+ kind: z.ZodLiteral<"costume">;
1115
+ id: z.ZodString;
1116
+ avatarId: z.ZodString;
1117
+ name: z.ZodString;
1118
+ status: z.ZodEnum<{
1119
+ processing: "processing";
1120
+ ready: "ready";
1121
+ failed: "failed";
1122
+ archived: "archived";
1123
+ }>;
1124
+ source: z.ZodString;
1125
+ externalId: z.ZodNullable<z.ZodString>;
1126
+ createdAt: z.ZodString;
1127
+ updatedAt: z.ZodString;
1128
+ }, z.core.$strict>;
398
1129
  export declare const locationResourceSchema: z.ZodObject<{
399
1130
  kind: z.ZodLiteral<"location">;
400
1131
  id: z.ZodString;
@@ -409,6 +1140,20 @@ export declare const locationResourceSchema: z.ZodObject<{
409
1140
  style: z.ZodOptional<z.ZodNullable<z.ZodString>>;
410
1141
  externalId: z.ZodNullable<z.ZodString>;
411
1142
  }, z.core.$strict>;
1143
+ export declare const backdropResourceSchema: z.ZodObject<{
1144
+ kind: z.ZodLiteral<"backdrop">;
1145
+ id: z.ZodString;
1146
+ status: z.ZodEnum<{
1147
+ processing: "processing";
1148
+ ready: "ready";
1149
+ failed: "failed";
1150
+ archived: "archived";
1151
+ }>;
1152
+ name: z.ZodString;
1153
+ depthEncoding: z.ZodNullable<z.ZodString>;
1154
+ style: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1155
+ externalId: z.ZodNullable<z.ZodString>;
1156
+ }, z.core.$strict>;
412
1157
  export declare const getClothesResponseSchema: z.ZodObject<{
413
1158
  clothes: z.ZodObject<{
414
1159
  kind: z.ZodLiteral<"clothes">;
@@ -445,6 +1190,24 @@ export declare const getHairResponseSchema: z.ZodObject<{
445
1190
  updatedAt: z.ZodString;
446
1191
  }, z.core.$strict>;
447
1192
  }, z.core.$strict>;
1193
+ export declare const getCostumeResponseSchema: z.ZodObject<{
1194
+ costume: z.ZodObject<{
1195
+ kind: z.ZodLiteral<"costume">;
1196
+ id: z.ZodString;
1197
+ avatarId: z.ZodString;
1198
+ name: z.ZodString;
1199
+ status: z.ZodEnum<{
1200
+ processing: "processing";
1201
+ ready: "ready";
1202
+ failed: "failed";
1203
+ archived: "archived";
1204
+ }>;
1205
+ source: z.ZodString;
1206
+ externalId: z.ZodNullable<z.ZodString>;
1207
+ createdAt: z.ZodString;
1208
+ updatedAt: z.ZodString;
1209
+ }, z.core.$strict>;
1210
+ }, z.core.$strict>;
448
1211
  export declare const getLocationResponseSchema: z.ZodObject<{
449
1212
  location: z.ZodObject<{
450
1213
  kind: z.ZodLiteral<"location">;
@@ -461,6 +1224,22 @@ export declare const getLocationResponseSchema: z.ZodObject<{
461
1224
  externalId: z.ZodNullable<z.ZodString>;
462
1225
  }, z.core.$strict>;
463
1226
  }, z.core.$strict>;
1227
+ export declare const getBackdropResponseSchema: z.ZodObject<{
1228
+ backdrop: z.ZodObject<{
1229
+ kind: z.ZodLiteral<"backdrop">;
1230
+ id: z.ZodString;
1231
+ status: z.ZodEnum<{
1232
+ processing: "processing";
1233
+ ready: "ready";
1234
+ failed: "failed";
1235
+ archived: "archived";
1236
+ }>;
1237
+ name: z.ZodString;
1238
+ depthEncoding: z.ZodNullable<z.ZodString>;
1239
+ style: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1240
+ externalId: z.ZodNullable<z.ZodString>;
1241
+ }, z.core.$strict>;
1242
+ }, z.core.$strict>;
464
1243
  export declare const characterSchema: z.ZodObject<{
465
1244
  id: z.ZodString;
466
1245
  projectId: z.ZodString;
@@ -468,6 +1247,7 @@ export declare const characterSchema: z.ZodObject<{
468
1247
  avatarId: z.ZodString;
469
1248
  voice: z.ZodString;
470
1249
  sttLang: z.ZodString;
1250
+ costumeId: z.ZodNullable<z.ZodString>;
471
1251
  clothesId: z.ZodNullable<z.ZodString>;
472
1252
  hairId: z.ZodNullable<z.ZodString>;
473
1253
  personality: z.ZodNullable<z.ZodString>;
@@ -513,7 +1293,20 @@ export declare const placeSchema: z.ZodObject<{
513
1293
  createdAt: z.ZodString;
514
1294
  updatedAt: z.ZodString;
515
1295
  }, z.core.$strict>;
516
- export declare const experienceSchema: z.ZodObject<{
1296
+ export declare const setSchema: z.ZodObject<{
1297
+ id: z.ZodString;
1298
+ name: z.ZodString;
1299
+ backdropId: z.ZodString;
1300
+ style: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1301
+ status: z.ZodEnum<{
1302
+ archived: "archived";
1303
+ active: "active";
1304
+ }>;
1305
+ externalId: z.ZodNullable<z.ZodString>;
1306
+ createdAt: z.ZodString;
1307
+ updatedAt: z.ZodString;
1308
+ }, z.core.$strict>;
1309
+ export declare const experienceSchema: z.ZodPipe<z.ZodObject<{
517
1310
  id: z.ZodString;
518
1311
  projectId: z.ZodString;
519
1312
  title: z.ZodString;
@@ -529,13 +1322,52 @@ export declare const experienceSchema: z.ZodObject<{
529
1322
  attributes: z.ZodRecord<z.ZodString, z.ZodString>;
530
1323
  characterId: z.ZodNullable<z.ZodString>;
531
1324
  placeId: z.ZodNullable<z.ZodString>;
1325
+ setId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
532
1326
  startingMessage: z.ZodNullable<z.ZodString>;
533
1327
  systemInstructions: z.ZodNullable<z.ZodString>;
534
1328
  introduction: z.ZodNullable<z.ZodString>;
535
1329
  externalId: z.ZodNullable<z.ZodString>;
536
1330
  createdAt: z.ZodString;
537
1331
  updatedAt: z.ZodString;
538
- }, z.core.$strict>;
1332
+ }, z.core.$strict>, z.ZodTransform<{
1333
+ setId: string | null;
1334
+ id: string;
1335
+ projectId: string;
1336
+ title: string;
1337
+ slug: string;
1338
+ status: "archived" | "draft" | "published";
1339
+ hasPublishedRevision: boolean;
1340
+ hasUnpublishedChanges: boolean;
1341
+ published: boolean;
1342
+ attributes: Record<string, string>;
1343
+ characterId: string | null;
1344
+ placeId: string | null;
1345
+ startingMessage: string | null;
1346
+ systemInstructions: string | null;
1347
+ introduction: string | null;
1348
+ externalId: string | null;
1349
+ createdAt: string;
1350
+ updatedAt: string;
1351
+ }, {
1352
+ id: string;
1353
+ projectId: string;
1354
+ title: string;
1355
+ slug: string;
1356
+ status: "archived" | "draft" | "published";
1357
+ hasPublishedRevision: boolean;
1358
+ hasUnpublishedChanges: boolean;
1359
+ published: boolean;
1360
+ attributes: Record<string, string>;
1361
+ characterId: string | null;
1362
+ placeId: string | null;
1363
+ startingMessage: string | null;
1364
+ systemInstructions: string | null;
1365
+ introduction: string | null;
1366
+ externalId: string | null;
1367
+ createdAt: string;
1368
+ updatedAt: string;
1369
+ setId?: string | null | undefined;
1370
+ }>>;
539
1371
  export declare const createCharacterResponseSchema: z.ZodObject<{
540
1372
  character: z.ZodObject<{
541
1373
  id: z.ZodString;
@@ -544,6 +1376,7 @@ export declare const createCharacterResponseSchema: z.ZodObject<{
544
1376
  avatarId: z.ZodString;
545
1377
  voice: z.ZodString;
546
1378
  sttLang: z.ZodString;
1379
+ costumeId: z.ZodNullable<z.ZodString>;
547
1380
  clothesId: z.ZodNullable<z.ZodString>;
548
1381
  hairId: z.ZodNullable<z.ZodString>;
549
1382
  personality: z.ZodNullable<z.ZodString>;
@@ -592,8 +1425,23 @@ export declare const createPlaceResponseSchema: z.ZodObject<{
592
1425
  updatedAt: z.ZodString;
593
1426
  }, z.core.$strict>;
594
1427
  }, z.core.$strict>;
1428
+ export declare const createSetResponseSchema: z.ZodObject<{
1429
+ set: z.ZodObject<{
1430
+ id: z.ZodString;
1431
+ name: z.ZodString;
1432
+ backdropId: z.ZodString;
1433
+ style: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1434
+ status: z.ZodEnum<{
1435
+ archived: "archived";
1436
+ active: "active";
1437
+ }>;
1438
+ externalId: z.ZodNullable<z.ZodString>;
1439
+ createdAt: z.ZodString;
1440
+ updatedAt: z.ZodString;
1441
+ }, z.core.$strict>;
1442
+ }, z.core.$strict>;
595
1443
  export declare const experienceResponseSchema: z.ZodObject<{
596
- experience: z.ZodObject<{
1444
+ experience: z.ZodPipe<z.ZodObject<{
597
1445
  id: z.ZodString;
598
1446
  projectId: z.ZodString;
599
1447
  title: z.ZodString;
@@ -609,13 +1457,52 @@ export declare const experienceResponseSchema: z.ZodObject<{
609
1457
  attributes: z.ZodRecord<z.ZodString, z.ZodString>;
610
1458
  characterId: z.ZodNullable<z.ZodString>;
611
1459
  placeId: z.ZodNullable<z.ZodString>;
1460
+ setId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
612
1461
  startingMessage: z.ZodNullable<z.ZodString>;
613
1462
  systemInstructions: z.ZodNullable<z.ZodString>;
614
1463
  introduction: z.ZodNullable<z.ZodString>;
615
1464
  externalId: z.ZodNullable<z.ZodString>;
616
1465
  createdAt: z.ZodString;
617
1466
  updatedAt: z.ZodString;
618
- }, z.core.$strict>;
1467
+ }, z.core.$strict>, z.ZodTransform<{
1468
+ setId: string | null;
1469
+ id: string;
1470
+ projectId: string;
1471
+ title: string;
1472
+ slug: string;
1473
+ status: "archived" | "draft" | "published";
1474
+ hasPublishedRevision: boolean;
1475
+ hasUnpublishedChanges: boolean;
1476
+ published: boolean;
1477
+ attributes: Record<string, string>;
1478
+ characterId: string | null;
1479
+ placeId: string | null;
1480
+ startingMessage: string | null;
1481
+ systemInstructions: string | null;
1482
+ introduction: string | null;
1483
+ externalId: string | null;
1484
+ createdAt: string;
1485
+ updatedAt: string;
1486
+ }, {
1487
+ id: string;
1488
+ projectId: string;
1489
+ title: string;
1490
+ slug: string;
1491
+ status: "archived" | "draft" | "published";
1492
+ hasPublishedRevision: boolean;
1493
+ hasUnpublishedChanges: boolean;
1494
+ published: boolean;
1495
+ attributes: Record<string, string>;
1496
+ characterId: string | null;
1497
+ placeId: string | null;
1498
+ startingMessage: string | null;
1499
+ systemInstructions: string | null;
1500
+ introduction: string | null;
1501
+ externalId: string | null;
1502
+ createdAt: string;
1503
+ updatedAt: string;
1504
+ setId?: string | null | undefined;
1505
+ }>>;
619
1506
  }, z.core.$strict>;
620
1507
  export declare const libraryUsageSchema: z.ZodObject<{
621
1508
  draftExperienceIds: z.ZodArray<z.ZodString>;
@@ -660,6 +1547,12 @@ export declare const avatarSchema: z.ZodObject<{
660
1547
  }>>>;
661
1548
  species: z.ZodOptional<z.ZodNullable<z.ZodString>>;
662
1549
  style: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1550
+ costumes: z.ZodArray<z.ZodObject<{
1551
+ id: z.ZodString;
1552
+ name: z.ZodString;
1553
+ source: z.ZodString;
1554
+ libraryScope: z.ZodString;
1555
+ }, z.core.$strict>>;
663
1556
  clothes: z.ZodArray<z.ZodObject<{
664
1557
  id: z.ZodString;
665
1558
  name: z.ZodString;
@@ -700,6 +1593,12 @@ export declare const listAvatarsResponseSchema: z.ZodObject<{
700
1593
  }>>>;
701
1594
  species: z.ZodOptional<z.ZodNullable<z.ZodString>>;
702
1595
  style: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1596
+ costumes: z.ZodArray<z.ZodObject<{
1597
+ id: z.ZodString;
1598
+ name: z.ZodString;
1599
+ source: z.ZodString;
1600
+ libraryScope: z.ZodString;
1601
+ }, z.core.$strict>>;
703
1602
  clothes: z.ZodArray<z.ZodObject<{
704
1603
  id: z.ZodString;
705
1604
  name: z.ZodString;
@@ -715,6 +1614,7 @@ export declare const listAvatarsResponseSchema: z.ZodObject<{
715
1614
  }, z.core.$strict>>;
716
1615
  }, z.core.$strict>;
717
1616
  export type PublishJob = z.infer<typeof publishJobSchema>;
1617
+ export type PublishJobError = z.infer<typeof publishJobErrorSchema>;
718
1618
  export type PublishJobStatus = PublishJob['status'];
719
1619
  export type PublishResourceStatus = z.infer<typeof publishResourceStatusSchema>;
720
1620
  export type AppearanceResourceStatus = z.infer<typeof appearanceResourceStatusSchema>;
@@ -722,14 +1622,19 @@ export type LocationResourceStatus = z.infer<typeof locationResourceStatusSchema
722
1622
  export type ExperienceStatus = z.infer<typeof experienceStatusSchema>;
723
1623
  export type ClothesResource = z.infer<typeof clothesResourceSchema>;
724
1624
  export type HairResource = z.infer<typeof hairResourceSchema>;
1625
+ export type CostumeResource = z.infer<typeof costumeResourceSchema>;
725
1626
  export type LocationResource = z.infer<typeof locationResourceSchema>;
1627
+ export type BackdropResource = z.infer<typeof backdropResourceSchema>;
726
1628
  export type CharacterResource = z.infer<typeof characterSchema>;
727
1629
  export type PlaceResource = z.infer<typeof placeSchema>;
1630
+ export type SetResource = z.infer<typeof setSchema>;
728
1631
  export type ExperienceResource = z.infer<typeof experienceSchema>;
729
1632
  export type Avatar = z.infer<typeof avatarSchema>;
730
1633
  export type CreateClothesPublishResponse = z.infer<typeof createClothesPublishResponseSchema>;
731
1634
  export type CreateHairPublishResponse = z.infer<typeof createHairPublishResponseSchema>;
1635
+ export type CreateCostumePublishResponse = z.infer<typeof createCostumePublishResponseSchema>;
732
1636
  export type CreateLocationPublishResponse = z.infer<typeof createLocationPublishResponseSchema>;
1637
+ export type CreateBackdropPublishResponse = z.infer<typeof createBackdropPublishResponseSchema>;
733
1638
  export type CreatePublishResponse = z.infer<typeof createPublishResponseSchema>;
734
1639
  export type DeletedResource = z.infer<typeof deletedResourceResponseSchema>;
735
1640
  export type LibraryUsage = z.infer<typeof libraryUsageSchema>;