@liforma/publisher 0.5.0 → 0.7.1

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 (48) hide show
  1. package/README.md +47 -4
  2. package/dist/createPublisher.d.ts +3 -1
  3. package/dist/createPublisher.d.ts.map +1 -1
  4. package/dist/createPublisher.js +2 -0
  5. package/dist/createPublisher.js.map +1 -1
  6. package/dist/errors.d.ts +6 -0
  7. package/dist/errors.d.ts.map +1 -1
  8. package/dist/errors.js +2 -0
  9. package/dist/errors.js.map +1 -1
  10. package/dist/imageSource.d.ts +28 -0
  11. package/dist/imageSource.d.ts.map +1 -0
  12. package/dist/imageSource.js +155 -0
  13. package/dist/imageSource.js.map +1 -0
  14. package/dist/index.d.ts +7 -3
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +1 -0
  17. package/dist/index.js.map +1 -1
  18. package/dist/publishStart.d.ts +9 -0
  19. package/dist/publishStart.d.ts.map +1 -1
  20. package/dist/publishStart.js +10 -2
  21. package/dist/publishStart.js.map +1 -1
  22. package/dist/resources/characters.d.ts +2 -0
  23. package/dist/resources/characters.d.ts.map +1 -1
  24. package/dist/resources/characters.js +2 -0
  25. package/dist/resources/characters.js.map +1 -1
  26. package/dist/resources/costumes.d.ts +19 -0
  27. package/dist/resources/costumes.d.ts.map +1 -0
  28. package/dist/resources/costumes.js +43 -0
  29. package/dist/resources/costumes.js.map +1 -0
  30. package/dist/resources/createFrom.d.ts +93 -0
  31. package/dist/resources/createFrom.d.ts.map +1 -0
  32. package/dist/resources/createFrom.js +494 -0
  33. package/dist/resources/createFrom.js.map +1 -0
  34. package/dist/resources/experiences.d.ts +6 -1
  35. package/dist/resources/experiences.d.ts.map +1 -1
  36. package/dist/resources/experiences.js +5 -1
  37. package/dist/resources/experiences.js.map +1 -1
  38. package/dist/resources/sets.d.ts +2 -0
  39. package/dist/resources/sets.d.ts.map +1 -1
  40. package/dist/resources/sets.js +2 -0
  41. package/dist/resources/sets.js.map +1 -1
  42. package/dist/schemas.d.ts +369 -20
  43. package/dist/schemas.d.ts.map +1 -1
  44. package/dist/schemas.js +55 -1
  45. package/dist/schemas.js.map +1 -1
  46. package/dist/version.d.ts +1 -1
  47. package/dist/version.js +1 -1
  48. package/package.json +1 -1
package/dist/schemas.d.ts CHANGED
@@ -86,6 +86,7 @@ export declare const publishJobSchema: z.ZodPipe<z.ZodObject<{
86
86
  kind: z.ZodEnum<{
87
87
  clothes: "clothes";
88
88
  hair: "hair";
89
+ costume: "costume";
89
90
  location: "location";
90
91
  backdrop: "backdrop";
91
92
  }>;
@@ -112,7 +113,7 @@ export declare const publishJobSchema: z.ZodPipe<z.ZodObject<{
112
113
  }, z.core.$strict>, z.ZodTransform<{
113
114
  id: string;
114
115
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
115
- kind: "clothes" | "hair" | "location" | "backdrop";
116
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
116
117
  pollUrl: string;
117
118
  targetId: string;
118
119
  requiredOk: boolean;
@@ -130,7 +131,7 @@ export declare const publishJobSchema: z.ZodPipe<z.ZodObject<{
130
131
  }, {
131
132
  id: string;
132
133
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
133
- kind: "clothes" | "hair" | "location" | "backdrop";
134
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
134
135
  pollUrl: string;
135
136
  targetId: string;
136
137
  requiredOk: boolean;
@@ -167,6 +168,7 @@ export declare const createClothesPublishResponseSchema: z.ZodObject<{
167
168
  kind: z.ZodEnum<{
168
169
  clothes: "clothes";
169
170
  hair: "hair";
171
+ costume: "costume";
170
172
  location: "location";
171
173
  backdrop: "backdrop";
172
174
  }>;
@@ -193,7 +195,7 @@ export declare const createClothesPublishResponseSchema: z.ZodObject<{
193
195
  }, z.core.$strict>, z.ZodTransform<{
194
196
  id: string;
195
197
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
196
- kind: "clothes" | "hair" | "location" | "backdrop";
198
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
197
199
  pollUrl: string;
198
200
  targetId: string;
199
201
  requiredOk: boolean;
@@ -211,7 +213,7 @@ export declare const createClothesPublishResponseSchema: z.ZodObject<{
211
213
  }, {
212
214
  id: string;
213
215
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
214
- kind: "clothes" | "hair" | "location" | "backdrop";
216
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
215
217
  pollUrl: string;
216
218
  targetId: string;
217
219
  requiredOk: boolean;
@@ -249,6 +251,7 @@ export declare const createHairPublishResponseSchema: z.ZodObject<{
249
251
  kind: z.ZodEnum<{
250
252
  clothes: "clothes";
251
253
  hair: "hair";
254
+ costume: "costume";
252
255
  location: "location";
253
256
  backdrop: "backdrop";
254
257
  }>;
@@ -275,7 +278,7 @@ export declare const createHairPublishResponseSchema: z.ZodObject<{
275
278
  }, z.core.$strict>, z.ZodTransform<{
276
279
  id: string;
277
280
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
278
- kind: "clothes" | "hair" | "location" | "backdrop";
281
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
279
282
  pollUrl: string;
280
283
  targetId: string;
281
284
  requiredOk: boolean;
@@ -293,7 +296,7 @@ export declare const createHairPublishResponseSchema: z.ZodObject<{
293
296
  }, {
294
297
  id: string;
295
298
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
296
- kind: "clothes" | "hair" | "location" | "backdrop";
299
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
297
300
  pollUrl: string;
298
301
  targetId: string;
299
302
  requiredOk: boolean;
@@ -318,6 +321,89 @@ export declare const createHairPublishResponseSchema: z.ZodObject<{
318
321
  }>;
319
322
  }, z.core.$strict>;
320
323
  }, z.core.$strict>;
324
+ export declare const createCostumePublishResponseSchema: z.ZodObject<{
325
+ job: z.ZodPipe<z.ZodObject<{
326
+ id: z.ZodString;
327
+ status: z.ZodEnum<{
328
+ failed: "failed";
329
+ queued: "queued";
330
+ running: "running";
331
+ waiting_processor: "waiting_processor";
332
+ succeeded: "succeeded";
333
+ }>;
334
+ kind: z.ZodEnum<{
335
+ clothes: "clothes";
336
+ hair: "hair";
337
+ costume: "costume";
338
+ location: "location";
339
+ backdrop: "backdrop";
340
+ }>;
341
+ pollUrl: z.ZodString;
342
+ targetId: z.ZodString;
343
+ requiredOk: z.ZodBoolean;
344
+ stage: z.ZodNullable<z.ZodString>;
345
+ progress: z.ZodObject<{
346
+ requiredVerified: z.ZodNumber;
347
+ requiredTotal: z.ZodNumber;
348
+ }, z.core.$strict>;
349
+ error: z.ZodNullable<z.ZodObject<{
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;
359
+ message: z.ZodString;
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
+ }>;
405
+ }, z.core.$strict>;
406
+ }, z.core.$strict>;
321
407
  export declare const createLocationPublishResponseSchema: z.ZodObject<{
322
408
  job: z.ZodPipe<z.ZodObject<{
323
409
  id: z.ZodString;
@@ -331,6 +417,7 @@ export declare const createLocationPublishResponseSchema: z.ZodObject<{
331
417
  kind: z.ZodEnum<{
332
418
  clothes: "clothes";
333
419
  hair: "hair";
420
+ costume: "costume";
334
421
  location: "location";
335
422
  backdrop: "backdrop";
336
423
  }>;
@@ -357,7 +444,7 @@ export declare const createLocationPublishResponseSchema: z.ZodObject<{
357
444
  }, z.core.$strict>, z.ZodTransform<{
358
445
  id: string;
359
446
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
360
- kind: "clothes" | "hair" | "location" | "backdrop";
447
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
361
448
  pollUrl: string;
362
449
  targetId: string;
363
450
  requiredOk: boolean;
@@ -375,7 +462,7 @@ export declare const createLocationPublishResponseSchema: z.ZodObject<{
375
462
  }, {
376
463
  id: string;
377
464
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
378
- kind: "clothes" | "hair" | "location" | "backdrop";
465
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
379
466
  pollUrl: string;
380
467
  targetId: string;
381
468
  requiredOk: boolean;
@@ -413,6 +500,7 @@ export declare const createBackdropPublishResponseSchema: z.ZodObject<{
413
500
  kind: z.ZodEnum<{
414
501
  clothes: "clothes";
415
502
  hair: "hair";
503
+ costume: "costume";
416
504
  location: "location";
417
505
  backdrop: "backdrop";
418
506
  }>;
@@ -439,7 +527,7 @@ export declare const createBackdropPublishResponseSchema: z.ZodObject<{
439
527
  }, z.core.$strict>, z.ZodTransform<{
440
528
  id: string;
441
529
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
442
- kind: "clothes" | "hair" | "location" | "backdrop";
530
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
443
531
  pollUrl: string;
444
532
  targetId: string;
445
533
  requiredOk: boolean;
@@ -457,7 +545,7 @@ export declare const createBackdropPublishResponseSchema: z.ZodObject<{
457
545
  }, {
458
546
  id: string;
459
547
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
460
- kind: "clothes" | "hair" | "location" | "backdrop";
548
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
461
549
  pollUrl: string;
462
550
  targetId: string;
463
551
  requiredOk: boolean;
@@ -495,6 +583,7 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
495
583
  kind: z.ZodEnum<{
496
584
  clothes: "clothes";
497
585
  hair: "hair";
586
+ costume: "costume";
498
587
  location: "location";
499
588
  backdrop: "backdrop";
500
589
  }>;
@@ -521,7 +610,7 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
521
610
  }, z.core.$strict>, z.ZodTransform<{
522
611
  id: string;
523
612
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
524
- kind: "clothes" | "hair" | "location" | "backdrop";
613
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
525
614
  pollUrl: string;
526
615
  targetId: string;
527
616
  requiredOk: boolean;
@@ -539,7 +628,7 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
539
628
  }, {
540
629
  id: string;
541
630
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
542
- kind: "clothes" | "hair" | "location" | "backdrop";
631
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
543
632
  pollUrl: string;
544
633
  targetId: string;
545
634
  requiredOk: boolean;
@@ -576,6 +665,7 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
576
665
  kind: z.ZodEnum<{
577
666
  clothes: "clothes";
578
667
  hair: "hair";
668
+ costume: "costume";
579
669
  location: "location";
580
670
  backdrop: "backdrop";
581
671
  }>;
@@ -602,7 +692,7 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
602
692
  }, z.core.$strict>, z.ZodTransform<{
603
693
  id: string;
604
694
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
605
- kind: "clothes" | "hair" | "location" | "backdrop";
695
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
606
696
  pollUrl: string;
607
697
  targetId: string;
608
698
  requiredOk: boolean;
@@ -620,7 +710,7 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
620
710
  }, {
621
711
  id: string;
622
712
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
623
- kind: "clothes" | "hair" | "location" | "backdrop";
713
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
624
714
  pollUrl: string;
625
715
  targetId: string;
626
716
  requiredOk: boolean;
@@ -657,6 +747,89 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
657
747
  kind: z.ZodEnum<{
658
748
  clothes: "clothes";
659
749
  hair: "hair";
750
+ costume: "costume";
751
+ location: "location";
752
+ backdrop: "backdrop";
753
+ }>;
754
+ pollUrl: z.ZodString;
755
+ targetId: z.ZodString;
756
+ requiredOk: z.ZodBoolean;
757
+ stage: z.ZodNullable<z.ZodString>;
758
+ progress: z.ZodObject<{
759
+ requiredVerified: z.ZodNumber;
760
+ requiredTotal: z.ZodNumber;
761
+ }, z.core.$strict>;
762
+ error: z.ZodNullable<z.ZodObject<{
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;
772
+ message: z.ZodString;
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
+ }>;
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";
660
833
  location: "location";
661
834
  backdrop: "backdrop";
662
835
  }>;
@@ -683,7 +856,7 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
683
856
  }, z.core.$strict>, z.ZodTransform<{
684
857
  id: string;
685
858
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
686
- kind: "clothes" | "hair" | "location" | "backdrop";
859
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
687
860
  pollUrl: string;
688
861
  targetId: string;
689
862
  requiredOk: boolean;
@@ -701,7 +874,7 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
701
874
  }, {
702
875
  id: string;
703
876
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
704
- kind: "clothes" | "hair" | "location" | "backdrop";
877
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
705
878
  pollUrl: string;
706
879
  targetId: string;
707
880
  requiredOk: boolean;
@@ -738,6 +911,7 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
738
911
  kind: z.ZodEnum<{
739
912
  clothes: "clothes";
740
913
  hair: "hair";
914
+ costume: "costume";
741
915
  location: "location";
742
916
  backdrop: "backdrop";
743
917
  }>;
@@ -764,7 +938,7 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
764
938
  }, z.core.$strict>, z.ZodTransform<{
765
939
  id: string;
766
940
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
767
- kind: "clothes" | "hair" | "location" | "backdrop";
941
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
768
942
  pollUrl: string;
769
943
  targetId: string;
770
944
  requiredOk: boolean;
@@ -782,7 +956,7 @@ export declare const createPublishResponseSchema: z.ZodUnion<readonly [z.ZodObje
782
956
  }, {
783
957
  id: string;
784
958
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
785
- kind: "clothes" | "hair" | "location" | "backdrop";
959
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
786
960
  pollUrl: string;
787
961
  targetId: string;
788
962
  requiredOk: boolean;
@@ -820,6 +994,7 @@ export declare const getJobResponseSchema: z.ZodObject<{
820
994
  kind: z.ZodEnum<{
821
995
  clothes: "clothes";
822
996
  hair: "hair";
997
+ costume: "costume";
823
998
  location: "location";
824
999
  backdrop: "backdrop";
825
1000
  }>;
@@ -846,7 +1021,7 @@ export declare const getJobResponseSchema: z.ZodObject<{
846
1021
  }, z.core.$strict>, z.ZodTransform<{
847
1022
  id: string;
848
1023
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
849
- kind: "clothes" | "hair" | "location" | "backdrop";
1024
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
850
1025
  pollUrl: string;
851
1026
  targetId: string;
852
1027
  requiredOk: boolean;
@@ -864,7 +1039,7 @@ export declare const getJobResponseSchema: z.ZodObject<{
864
1039
  }, {
865
1040
  id: string;
866
1041
  status: "failed" | "queued" | "running" | "waiting_processor" | "succeeded";
867
- kind: "clothes" | "hair" | "location" | "backdrop";
1042
+ kind: "clothes" | "hair" | "costume" | "location" | "backdrop";
868
1043
  pollUrl: string;
869
1044
  targetId: string;
870
1045
  requiredOk: boolean;
@@ -935,6 +1110,22 @@ export declare const hairResourceSchema: z.ZodObject<{
935
1110
  createdAt: z.ZodString;
936
1111
  updatedAt: z.ZodString;
937
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>;
938
1129
  export declare const locationResourceSchema: z.ZodObject<{
939
1130
  kind: z.ZodLiteral<"location">;
940
1131
  id: z.ZodString;
@@ -999,6 +1190,24 @@ export declare const getHairResponseSchema: z.ZodObject<{
999
1190
  updatedAt: z.ZodString;
1000
1191
  }, z.core.$strict>;
1001
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>;
1002
1211
  export declare const getLocationResponseSchema: z.ZodObject<{
1003
1212
  location: z.ZodObject<{
1004
1213
  kind: z.ZodLiteral<"location">;
@@ -1038,6 +1247,7 @@ export declare const characterSchema: z.ZodObject<{
1038
1247
  avatarId: z.ZodString;
1039
1248
  voice: z.ZodString;
1040
1249
  sttLang: z.ZodString;
1250
+ costumeId: z.ZodNullable<z.ZodString>;
1041
1251
  clothesId: z.ZodNullable<z.ZodString>;
1042
1252
  hairId: z.ZodNullable<z.ZodString>;
1043
1253
  personality: z.ZodNullable<z.ZodString>;
@@ -1073,6 +1283,7 @@ export declare const characterSchema: z.ZodObject<{
1073
1283
  export declare const placeSchema: z.ZodObject<{
1074
1284
  id: z.ZodString;
1075
1285
  name: z.ZodString;
1286
+ description: z.ZodOptional<z.ZodString>;
1076
1287
  locationId: z.ZodString;
1077
1288
  style: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1078
1289
  status: z.ZodEnum<{
@@ -1086,6 +1297,7 @@ export declare const placeSchema: z.ZodObject<{
1086
1297
  export declare const setSchema: z.ZodObject<{
1087
1298
  id: z.ZodString;
1088
1299
  name: z.ZodString;
1300
+ description: z.ZodOptional<z.ZodString>;
1089
1301
  backdropId: z.ZodString;
1090
1302
  style: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1091
1303
  status: z.ZodEnum<{
@@ -1096,6 +1308,24 @@ export declare const setSchema: z.ZodObject<{
1096
1308
  createdAt: z.ZodString;
1097
1309
  updatedAt: z.ZodString;
1098
1310
  }, z.core.$strict>;
1311
+ export declare const experienceInteractionSchema: z.ZodObject<{
1312
+ allowTextInput: z.ZodOptional<z.ZodBoolean>;
1313
+ allowMicInput: z.ZodOptional<z.ZodBoolean>;
1314
+ allowRewind: z.ZodOptional<z.ZodBoolean>;
1315
+ showUserSpeech: z.ZodOptional<z.ZodBoolean>;
1316
+ showCharacterSpeech: z.ZodOptional<z.ZodBoolean>;
1317
+ playCharacterSpeech: z.ZodOptional<z.ZodBoolean>;
1318
+ textInputEnabled: z.ZodOptional<z.ZodBoolean>;
1319
+ micInputEnabled: z.ZodOptional<z.ZodBoolean>;
1320
+ visibleTurns: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodNumber]>>;
1321
+ controls: z.ZodOptional<z.ZodObject<{
1322
+ voice: z.ZodOptional<z.ZodBoolean>;
1323
+ captions: z.ZodOptional<z.ZodBoolean>;
1324
+ microphone: z.ZodOptional<z.ZodBoolean>;
1325
+ textInput: z.ZodOptional<z.ZodBoolean>;
1326
+ }, z.core.$strip>>;
1327
+ }, z.core.$strict>;
1328
+ export type ExperienceInteractionInput = z.infer<typeof experienceInteractionSchema>;
1099
1329
  export declare const experienceSchema: z.ZodPipe<z.ZodObject<{
1100
1330
  id: z.ZodString;
1101
1331
  projectId: z.ZodString;
@@ -1116,6 +1346,23 @@ export declare const experienceSchema: z.ZodPipe<z.ZodObject<{
1116
1346
  startingMessage: z.ZodNullable<z.ZodString>;
1117
1347
  systemInstructions: z.ZodNullable<z.ZodString>;
1118
1348
  introduction: z.ZodNullable<z.ZodString>;
1349
+ interaction: z.ZodNullable<z.ZodObject<{
1350
+ allowTextInput: z.ZodOptional<z.ZodBoolean>;
1351
+ allowMicInput: z.ZodOptional<z.ZodBoolean>;
1352
+ allowRewind: z.ZodOptional<z.ZodBoolean>;
1353
+ showUserSpeech: z.ZodOptional<z.ZodBoolean>;
1354
+ showCharacterSpeech: z.ZodOptional<z.ZodBoolean>;
1355
+ playCharacterSpeech: z.ZodOptional<z.ZodBoolean>;
1356
+ textInputEnabled: z.ZodOptional<z.ZodBoolean>;
1357
+ micInputEnabled: z.ZodOptional<z.ZodBoolean>;
1358
+ visibleTurns: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodNumber]>>;
1359
+ controls: z.ZodOptional<z.ZodObject<{
1360
+ voice: z.ZodOptional<z.ZodBoolean>;
1361
+ captions: z.ZodOptional<z.ZodBoolean>;
1362
+ microphone: z.ZodOptional<z.ZodBoolean>;
1363
+ textInput: z.ZodOptional<z.ZodBoolean>;
1364
+ }, z.core.$strip>>;
1365
+ }, z.core.$strict>>;
1119
1366
  externalId: z.ZodNullable<z.ZodString>;
1120
1367
  createdAt: z.ZodString;
1121
1368
  updatedAt: z.ZodString;
@@ -1135,6 +1382,23 @@ export declare const experienceSchema: z.ZodPipe<z.ZodObject<{
1135
1382
  startingMessage: string | null;
1136
1383
  systemInstructions: string | null;
1137
1384
  introduction: string | null;
1385
+ interaction: {
1386
+ allowTextInput?: boolean | undefined;
1387
+ allowMicInput?: boolean | undefined;
1388
+ allowRewind?: boolean | undefined;
1389
+ showUserSpeech?: boolean | undefined;
1390
+ showCharacterSpeech?: boolean | undefined;
1391
+ playCharacterSpeech?: boolean | undefined;
1392
+ textInputEnabled?: boolean | undefined;
1393
+ micInputEnabled?: boolean | undefined;
1394
+ visibleTurns?: number | "all" | undefined;
1395
+ controls?: {
1396
+ voice?: boolean | undefined;
1397
+ captions?: boolean | undefined;
1398
+ microphone?: boolean | undefined;
1399
+ textInput?: boolean | undefined;
1400
+ } | undefined;
1401
+ } | null;
1138
1402
  externalId: string | null;
1139
1403
  createdAt: string;
1140
1404
  updatedAt: string;
@@ -1153,6 +1417,23 @@ export declare const experienceSchema: z.ZodPipe<z.ZodObject<{
1153
1417
  startingMessage: string | null;
1154
1418
  systemInstructions: string | null;
1155
1419
  introduction: string | null;
1420
+ interaction: {
1421
+ allowTextInput?: boolean | undefined;
1422
+ allowMicInput?: boolean | undefined;
1423
+ allowRewind?: boolean | undefined;
1424
+ showUserSpeech?: boolean | undefined;
1425
+ showCharacterSpeech?: boolean | undefined;
1426
+ playCharacterSpeech?: boolean | undefined;
1427
+ textInputEnabled?: boolean | undefined;
1428
+ micInputEnabled?: boolean | undefined;
1429
+ visibleTurns?: number | "all" | undefined;
1430
+ controls?: {
1431
+ voice?: boolean | undefined;
1432
+ captions?: boolean | undefined;
1433
+ microphone?: boolean | undefined;
1434
+ textInput?: boolean | undefined;
1435
+ } | undefined;
1436
+ } | null;
1156
1437
  externalId: string | null;
1157
1438
  createdAt: string;
1158
1439
  updatedAt: string;
@@ -1166,6 +1447,7 @@ export declare const createCharacterResponseSchema: z.ZodObject<{
1166
1447
  avatarId: z.ZodString;
1167
1448
  voice: z.ZodString;
1168
1449
  sttLang: z.ZodString;
1450
+ costumeId: z.ZodNullable<z.ZodString>;
1169
1451
  clothesId: z.ZodNullable<z.ZodString>;
1170
1452
  hairId: z.ZodNullable<z.ZodString>;
1171
1453
  personality: z.ZodNullable<z.ZodString>;
@@ -1203,6 +1485,7 @@ export declare const createPlaceResponseSchema: z.ZodObject<{
1203
1485
  place: z.ZodObject<{
1204
1486
  id: z.ZodString;
1205
1487
  name: z.ZodString;
1488
+ description: z.ZodOptional<z.ZodString>;
1206
1489
  locationId: z.ZodString;
1207
1490
  style: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1208
1491
  status: z.ZodEnum<{
@@ -1218,6 +1501,7 @@ export declare const createSetResponseSchema: z.ZodObject<{
1218
1501
  set: z.ZodObject<{
1219
1502
  id: z.ZodString;
1220
1503
  name: z.ZodString;
1504
+ description: z.ZodOptional<z.ZodString>;
1221
1505
  backdropId: z.ZodString;
1222
1506
  style: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1223
1507
  status: z.ZodEnum<{
@@ -1250,6 +1534,23 @@ export declare const experienceResponseSchema: z.ZodObject<{
1250
1534
  startingMessage: z.ZodNullable<z.ZodString>;
1251
1535
  systemInstructions: z.ZodNullable<z.ZodString>;
1252
1536
  introduction: z.ZodNullable<z.ZodString>;
1537
+ interaction: z.ZodNullable<z.ZodObject<{
1538
+ allowTextInput: z.ZodOptional<z.ZodBoolean>;
1539
+ allowMicInput: z.ZodOptional<z.ZodBoolean>;
1540
+ allowRewind: z.ZodOptional<z.ZodBoolean>;
1541
+ showUserSpeech: z.ZodOptional<z.ZodBoolean>;
1542
+ showCharacterSpeech: z.ZodOptional<z.ZodBoolean>;
1543
+ playCharacterSpeech: z.ZodOptional<z.ZodBoolean>;
1544
+ textInputEnabled: z.ZodOptional<z.ZodBoolean>;
1545
+ micInputEnabled: z.ZodOptional<z.ZodBoolean>;
1546
+ visibleTurns: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodNumber]>>;
1547
+ controls: z.ZodOptional<z.ZodObject<{
1548
+ voice: z.ZodOptional<z.ZodBoolean>;
1549
+ captions: z.ZodOptional<z.ZodBoolean>;
1550
+ microphone: z.ZodOptional<z.ZodBoolean>;
1551
+ textInput: z.ZodOptional<z.ZodBoolean>;
1552
+ }, z.core.$strip>>;
1553
+ }, z.core.$strict>>;
1253
1554
  externalId: z.ZodNullable<z.ZodString>;
1254
1555
  createdAt: z.ZodString;
1255
1556
  updatedAt: z.ZodString;
@@ -1269,6 +1570,23 @@ export declare const experienceResponseSchema: z.ZodObject<{
1269
1570
  startingMessage: string | null;
1270
1571
  systemInstructions: string | null;
1271
1572
  introduction: string | null;
1573
+ interaction: {
1574
+ allowTextInput?: boolean | undefined;
1575
+ allowMicInput?: boolean | undefined;
1576
+ allowRewind?: boolean | undefined;
1577
+ showUserSpeech?: boolean | undefined;
1578
+ showCharacterSpeech?: boolean | undefined;
1579
+ playCharacterSpeech?: boolean | undefined;
1580
+ textInputEnabled?: boolean | undefined;
1581
+ micInputEnabled?: boolean | undefined;
1582
+ visibleTurns?: number | "all" | undefined;
1583
+ controls?: {
1584
+ voice?: boolean | undefined;
1585
+ captions?: boolean | undefined;
1586
+ microphone?: boolean | undefined;
1587
+ textInput?: boolean | undefined;
1588
+ } | undefined;
1589
+ } | null;
1272
1590
  externalId: string | null;
1273
1591
  createdAt: string;
1274
1592
  updatedAt: string;
@@ -1287,6 +1605,23 @@ export declare const experienceResponseSchema: z.ZodObject<{
1287
1605
  startingMessage: string | null;
1288
1606
  systemInstructions: string | null;
1289
1607
  introduction: string | null;
1608
+ interaction: {
1609
+ allowTextInput?: boolean | undefined;
1610
+ allowMicInput?: boolean | undefined;
1611
+ allowRewind?: boolean | undefined;
1612
+ showUserSpeech?: boolean | undefined;
1613
+ showCharacterSpeech?: boolean | undefined;
1614
+ playCharacterSpeech?: boolean | undefined;
1615
+ textInputEnabled?: boolean | undefined;
1616
+ micInputEnabled?: boolean | undefined;
1617
+ visibleTurns?: number | "all" | undefined;
1618
+ controls?: {
1619
+ voice?: boolean | undefined;
1620
+ captions?: boolean | undefined;
1621
+ microphone?: boolean | undefined;
1622
+ textInput?: boolean | undefined;
1623
+ } | undefined;
1624
+ } | null;
1290
1625
  externalId: string | null;
1291
1626
  createdAt: string;
1292
1627
  updatedAt: string;
@@ -1336,6 +1671,12 @@ export declare const avatarSchema: z.ZodObject<{
1336
1671
  }>>>;
1337
1672
  species: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1338
1673
  style: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1674
+ costumes: z.ZodArray<z.ZodObject<{
1675
+ id: z.ZodString;
1676
+ name: z.ZodString;
1677
+ source: z.ZodString;
1678
+ libraryScope: z.ZodString;
1679
+ }, z.core.$strict>>;
1339
1680
  clothes: z.ZodArray<z.ZodObject<{
1340
1681
  id: z.ZodString;
1341
1682
  name: z.ZodString;
@@ -1376,6 +1717,12 @@ export declare const listAvatarsResponseSchema: z.ZodObject<{
1376
1717
  }>>>;
1377
1718
  species: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1378
1719
  style: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1720
+ costumes: z.ZodArray<z.ZodObject<{
1721
+ id: z.ZodString;
1722
+ name: z.ZodString;
1723
+ source: z.ZodString;
1724
+ libraryScope: z.ZodString;
1725
+ }, z.core.$strict>>;
1379
1726
  clothes: z.ZodArray<z.ZodObject<{
1380
1727
  id: z.ZodString;
1381
1728
  name: z.ZodString;
@@ -1399,6 +1746,7 @@ export type LocationResourceStatus = z.infer<typeof locationResourceStatusSchema
1399
1746
  export type ExperienceStatus = z.infer<typeof experienceStatusSchema>;
1400
1747
  export type ClothesResource = z.infer<typeof clothesResourceSchema>;
1401
1748
  export type HairResource = z.infer<typeof hairResourceSchema>;
1749
+ export type CostumeResource = z.infer<typeof costumeResourceSchema>;
1402
1750
  export type LocationResource = z.infer<typeof locationResourceSchema>;
1403
1751
  export type BackdropResource = z.infer<typeof backdropResourceSchema>;
1404
1752
  export type CharacterResource = z.infer<typeof characterSchema>;
@@ -1408,6 +1756,7 @@ export type ExperienceResource = z.infer<typeof experienceSchema>;
1408
1756
  export type Avatar = z.infer<typeof avatarSchema>;
1409
1757
  export type CreateClothesPublishResponse = z.infer<typeof createClothesPublishResponseSchema>;
1410
1758
  export type CreateHairPublishResponse = z.infer<typeof createHairPublishResponseSchema>;
1759
+ export type CreateCostumePublishResponse = z.infer<typeof createCostumePublishResponseSchema>;
1411
1760
  export type CreateLocationPublishResponse = z.infer<typeof createLocationPublishResponseSchema>;
1412
1761
  export type CreateBackdropPublishResponse = z.infer<typeof createBackdropPublishResponseSchema>;
1413
1762
  export type CreatePublishResponse = z.infer<typeof createPublishResponseSchema>;