@magiclabs.ai/magicbook-client 0.7.7-canary → 0.7.8-canary
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/index.cjs +125 -6
- package/index.cjs.map +1 -1
- package/index.d.cts +320 -11
- package/index.d.ts +320 -11
- package/index.js +125 -6
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.cts
CHANGED
|
@@ -523,8 +523,311 @@ declare const styles: {
|
|
|
523
523
|
6156: {
|
|
524
524
|
slug: string;
|
|
525
525
|
};
|
|
526
|
+
be5f79d7525f4717844db77a2f1b5e50: {
|
|
527
|
+
slug: string;
|
|
528
|
+
};
|
|
529
|
+
'519bf5f2b6734103a9a359469be4961b': {
|
|
530
|
+
slug: string;
|
|
531
|
+
};
|
|
532
|
+
'029a2ebd65b448bf93753c813b7b7363': {
|
|
533
|
+
slug: string;
|
|
534
|
+
};
|
|
535
|
+
'16d0d436594b4171bd9688876a85c9c1': {
|
|
536
|
+
slug: string;
|
|
537
|
+
};
|
|
538
|
+
'5b95e1d678584558b2c3397ab996da7b': {
|
|
539
|
+
slug: string;
|
|
540
|
+
};
|
|
541
|
+
a2c088e32541429ba8e5e15d09991264: {
|
|
542
|
+
slug: string;
|
|
543
|
+
};
|
|
544
|
+
'0ddec2b965094c8ea03d669e771ff1a6': {
|
|
545
|
+
slug: string;
|
|
546
|
+
};
|
|
547
|
+
'339699fedd3743f69c5b05587fbfd41a': {
|
|
548
|
+
slug: string;
|
|
549
|
+
};
|
|
550
|
+
'091f9a6a83c349b2a9732177d89f8664': {
|
|
551
|
+
slug: string;
|
|
552
|
+
};
|
|
553
|
+
e768ec11406545809ca9598be3bda88c: {
|
|
554
|
+
slug: string;
|
|
555
|
+
};
|
|
556
|
+
'0c55a3eb5cc6414c9f2570886132d331': {
|
|
557
|
+
slug: string;
|
|
558
|
+
};
|
|
559
|
+
'9c49df50d76b4789834ca7abaabe2bc6': {
|
|
560
|
+
slug: string;
|
|
561
|
+
};
|
|
562
|
+
fd7cf7c4dc244705ad391334d76f7229: {
|
|
563
|
+
slug: string;
|
|
564
|
+
};
|
|
565
|
+
'363ceab4906b47a09dd287f53dc1d30f': {
|
|
566
|
+
slug: string;
|
|
567
|
+
};
|
|
568
|
+
e47017576d0e451180ff4591d2aee2fa: {
|
|
569
|
+
slug: string;
|
|
570
|
+
};
|
|
571
|
+
d9743da5f46843aab84b1f90ff776ee0: {
|
|
572
|
+
slug: string;
|
|
573
|
+
};
|
|
574
|
+
'13039c15c81b4e50af5e39cd99f4e274': {
|
|
575
|
+
slug: string;
|
|
576
|
+
};
|
|
577
|
+
'0c98757783874104a488a1a88747344d': {
|
|
578
|
+
slug: string;
|
|
579
|
+
};
|
|
580
|
+
'5b0d80d6ca164919b7ee558c0bc2537b': {
|
|
581
|
+
slug: string;
|
|
582
|
+
};
|
|
583
|
+
eb734aa7c87a4db1ac9695e935f13489: {
|
|
584
|
+
slug: string;
|
|
585
|
+
};
|
|
586
|
+
'7ed9132a96484ed2b200cf30e73cf049': {
|
|
587
|
+
slug: string;
|
|
588
|
+
};
|
|
589
|
+
'3e15106389764a3cb2b6a6c29c065993': {
|
|
590
|
+
slug: string;
|
|
591
|
+
};
|
|
592
|
+
'47f9e28d811842a5870c74bb4c6b3608': {
|
|
593
|
+
slug: string;
|
|
594
|
+
};
|
|
595
|
+
bef3d3bc49f3476aa6f39ad073294a04: {
|
|
596
|
+
slug: string;
|
|
597
|
+
};
|
|
598
|
+
'496138703d5346bd9678a2fa487b54fd': {
|
|
599
|
+
slug: string;
|
|
600
|
+
};
|
|
601
|
+
'303773eee9934e8ba9f676b339c84d39': {
|
|
602
|
+
slug: string;
|
|
603
|
+
};
|
|
604
|
+
'02c52e4cdccd40b0b99cf2215a6b8fe1': {
|
|
605
|
+
slug: string;
|
|
606
|
+
};
|
|
607
|
+
c59f05e866344332b2953199fd2972fa: {
|
|
608
|
+
slug: string;
|
|
609
|
+
};
|
|
610
|
+
'5a2d025aaa3746b2b047daa6206ba8ad': {
|
|
611
|
+
slug: string;
|
|
612
|
+
};
|
|
613
|
+
'1c8784e76020435d88ddab7bc8d72cae': {
|
|
614
|
+
slug: string;
|
|
615
|
+
};
|
|
616
|
+
'1735277701d6483e9934074f25053f3a': {
|
|
617
|
+
slug: string;
|
|
618
|
+
};
|
|
619
|
+
'9c35a7f890204c38adb4255571377114': {
|
|
620
|
+
slug: string;
|
|
621
|
+
};
|
|
622
|
+
'9c946c20f0dc45adb3f85735690f3395': {
|
|
623
|
+
slug: string;
|
|
624
|
+
};
|
|
625
|
+
c216373996d945c186cc6db5a53e10b1: {
|
|
626
|
+
slug: string;
|
|
627
|
+
};
|
|
628
|
+
'6f7cd5c4e4e247f2bdf7c44ace0fdad5': {
|
|
629
|
+
slug: string;
|
|
630
|
+
};
|
|
631
|
+
'7eae47a7cbd743d4a47ca94f7a6b87a7': {
|
|
632
|
+
slug: string;
|
|
633
|
+
};
|
|
634
|
+
ac7a649cbd27433c9d0b405f34ff29f5: {
|
|
635
|
+
slug: string;
|
|
636
|
+
};
|
|
637
|
+
'3aa989376bc5414eb2a35f2cb930f57c': {
|
|
638
|
+
slug: string;
|
|
639
|
+
};
|
|
640
|
+
d86767aacb4f464892702ed3ffac1a98: {
|
|
641
|
+
slug: string;
|
|
642
|
+
};
|
|
643
|
+
c5d1654a989d4f2f87594e486239e77b: {
|
|
644
|
+
slug: string;
|
|
645
|
+
};
|
|
646
|
+
'73e54769af5f4943a8403c6a5e38f5fb': {
|
|
647
|
+
slug: string;
|
|
648
|
+
};
|
|
649
|
+
'7d15aef8b54d41ee82a99d327d571020': {
|
|
650
|
+
slug: string;
|
|
651
|
+
};
|
|
652
|
+
'46594aace0ca42b1bdd086d1b8ac0ad4': {
|
|
653
|
+
slug: string;
|
|
654
|
+
};
|
|
655
|
+
'77c78fbe2b4b4c7fb37e34a9515912d2': {
|
|
656
|
+
slug: string;
|
|
657
|
+
};
|
|
658
|
+
'659893fcc6c24fef9ea1a3a8ccf2539e': {
|
|
659
|
+
slug: string;
|
|
660
|
+
};
|
|
661
|
+
'0f1182fcc18c428fb7c3d80c5a637c3b': {
|
|
662
|
+
slug: string;
|
|
663
|
+
};
|
|
664
|
+
'54b7a8ca59774060835fdd48653dba9a': {
|
|
665
|
+
slug: string;
|
|
666
|
+
};
|
|
667
|
+
'2d56caccc29a40b5bd16334937de0083': {
|
|
668
|
+
slug: string;
|
|
669
|
+
};
|
|
670
|
+
'3c12993b18ff473fa6fc7f695bd64180': {
|
|
671
|
+
slug: string;
|
|
672
|
+
};
|
|
673
|
+
c4393a1da2e54ca4ab9a3ec0aeb682e4: {
|
|
674
|
+
slug: string;
|
|
675
|
+
};
|
|
676
|
+
ee9fd665523c41078a65c5389896d0ab: {
|
|
677
|
+
slug: string;
|
|
678
|
+
};
|
|
679
|
+
b84d0171dbb748e1ab2fb535fd318830: {
|
|
680
|
+
slug: string;
|
|
681
|
+
};
|
|
682
|
+
'4d61b18d992c4d8eb33a331e4201ae05': {
|
|
683
|
+
slug: string;
|
|
684
|
+
};
|
|
685
|
+
bdbe9158b33343c6ae11217fde9c8a57: {
|
|
686
|
+
slug: string;
|
|
687
|
+
};
|
|
688
|
+
'790a78454af94287b2a84c2324d6956e': {
|
|
689
|
+
slug: string;
|
|
690
|
+
};
|
|
691
|
+
'4211083b4bad4fee87e04dd65e5fed5d': {
|
|
692
|
+
slug: string;
|
|
693
|
+
};
|
|
694
|
+
'47bb41bb9e174657aa0c48ec140ed2c8': {
|
|
695
|
+
slug: string;
|
|
696
|
+
};
|
|
697
|
+
bac69bcc341c445d9c5c81f04231c685: {
|
|
698
|
+
slug: string;
|
|
699
|
+
};
|
|
700
|
+
'2d561db2b849457f8f830c2e977ced6c': {
|
|
701
|
+
slug: string;
|
|
702
|
+
};
|
|
703
|
+
e2727f32f9e248a3a7fd02f50cf493ab: {
|
|
704
|
+
slug: string;
|
|
705
|
+
};
|
|
706
|
+
'85005f9b9c1c4a4485508c52465b7110': {
|
|
707
|
+
slug: string;
|
|
708
|
+
};
|
|
709
|
+
df1eded2d6e24c81a9e9bd66567b39f0: {
|
|
710
|
+
slug: string;
|
|
711
|
+
};
|
|
712
|
+
bfdc9b325b1a4471a948eccb7c76fd2e: {
|
|
713
|
+
slug: string;
|
|
714
|
+
};
|
|
715
|
+
'7cb42c74e4704c08a51f0930703fff34': {
|
|
716
|
+
slug: string;
|
|
717
|
+
};
|
|
718
|
+
c88a62c1e3584591b278fe0ccfe3b02b: {
|
|
719
|
+
slug: string;
|
|
720
|
+
};
|
|
721
|
+
'2a682e5b38d64f77b7c1b6c0a8a06670': {
|
|
722
|
+
slug: string;
|
|
723
|
+
};
|
|
724
|
+
'5eddabc29f704c66ba03deff870f2c18': {
|
|
725
|
+
slug: string;
|
|
726
|
+
};
|
|
727
|
+
'18f048f0a07f40c09495fdc3830f7228': {
|
|
728
|
+
slug: string;
|
|
729
|
+
};
|
|
730
|
+
f2fd5fd83bbb4e9ebf3af33ba4589561: {
|
|
731
|
+
slug: string;
|
|
732
|
+
};
|
|
733
|
+
'31ed7e06afb347f2a302ba35267c8a0a': {
|
|
734
|
+
slug: string;
|
|
735
|
+
};
|
|
736
|
+
'17e8062b9ed749ba8428cbb3924e719d': {
|
|
737
|
+
slug: string;
|
|
738
|
+
};
|
|
739
|
+
'7573b1a594e8405295adfcf145c5322a': {
|
|
740
|
+
slug: string;
|
|
741
|
+
};
|
|
742
|
+
acc3ac3b7e724c288a849b471616e373: {
|
|
743
|
+
slug: string;
|
|
744
|
+
};
|
|
745
|
+
ddb203e3ae0443209ada75135e13a63e: {
|
|
746
|
+
slug: string;
|
|
747
|
+
};
|
|
748
|
+
bdee0a45e5144156b88621238cd31bbe: {
|
|
749
|
+
slug: string;
|
|
750
|
+
};
|
|
751
|
+
dc0d15f9aa474bd89c49e6da49bb3cc5: {
|
|
752
|
+
slug: string;
|
|
753
|
+
};
|
|
754
|
+
'55cebda93e1c4f52b07d824a57f8677b': {
|
|
755
|
+
slug: string;
|
|
756
|
+
};
|
|
757
|
+
'2172f706eedf4c36a3fba10a0fe5448d': {
|
|
758
|
+
slug: string;
|
|
759
|
+
};
|
|
760
|
+
'0964a6d8e0234df7ad7df8e56c33ff2b': {
|
|
761
|
+
slug: string;
|
|
762
|
+
};
|
|
763
|
+
e47b1860677e45909de56915a350a84e: {
|
|
764
|
+
slug: string;
|
|
765
|
+
};
|
|
766
|
+
'0b8fcc5f30cb4649bb4d8ea9cf35578c': {
|
|
767
|
+
slug: string;
|
|
768
|
+
};
|
|
769
|
+
'2972e73653da4dc5805853e22717f1ee': {
|
|
770
|
+
slug: string;
|
|
771
|
+
};
|
|
772
|
+
f292a52aff774e698fe26dc61a7a3f71: {
|
|
773
|
+
slug: string;
|
|
774
|
+
};
|
|
775
|
+
b9192bf9df6b4984b29f4731b5f0bb63: {
|
|
776
|
+
slug: string;
|
|
777
|
+
};
|
|
778
|
+
d2dd8fe6e2e44c78935206323ee89af1: {
|
|
779
|
+
slug: string;
|
|
780
|
+
};
|
|
781
|
+
'61f74eec39ff425b85e4f1c7e9e15ef6': {
|
|
782
|
+
slug: string;
|
|
783
|
+
};
|
|
784
|
+
'148b777f385c4df2bc1b4900a4208e82': {
|
|
785
|
+
slug: string;
|
|
786
|
+
};
|
|
787
|
+
'77550e4c36b34454bac2ae9c4d9d2bd1': {
|
|
788
|
+
slug: string;
|
|
789
|
+
};
|
|
790
|
+
'6aac0d2309744e9ea8fd4621f8213dbd': {
|
|
791
|
+
slug: string;
|
|
792
|
+
};
|
|
793
|
+
f5ef0aaddd294a0ba37ebc76012858ff: {
|
|
794
|
+
slug: string;
|
|
795
|
+
};
|
|
796
|
+
'73966e2885a544ed9ba8e0a314a6528c': {
|
|
797
|
+
slug: string;
|
|
798
|
+
};
|
|
799
|
+
'33242c4285024ccfafc57d72a7292ea9': {
|
|
800
|
+
slug: string;
|
|
801
|
+
};
|
|
802
|
+
'605f06522caa449ba93b7c5fa4d8e54b': {
|
|
803
|
+
slug: string;
|
|
804
|
+
};
|
|
805
|
+
c154e4664672441fa640f1ddff883db1: {
|
|
806
|
+
slug: string;
|
|
807
|
+
};
|
|
808
|
+
'86024d3f1def489495cc7525d8232bea': {
|
|
809
|
+
slug: string;
|
|
810
|
+
};
|
|
811
|
+
f52d1dd24f9c49ae82d8f70449fe40b7: {
|
|
812
|
+
slug: string;
|
|
813
|
+
};
|
|
814
|
+
'1cbbd20a3a4542f38d2f9932016c4584': {
|
|
815
|
+
slug: string;
|
|
816
|
+
};
|
|
817
|
+
fdf4b31ea3434b03a5c3ddaab1579084: {
|
|
818
|
+
slug: string;
|
|
819
|
+
};
|
|
820
|
+
'1b104c3a036e4825bd60a5c7ceac4e66': {
|
|
821
|
+
slug: string;
|
|
822
|
+
};
|
|
823
|
+
'03f332e3b2b947ebae73b67a9a22b6f4': {
|
|
824
|
+
slug: string;
|
|
825
|
+
};
|
|
826
|
+
'97f70f6cdb5244a08d45772cccfa2788': {
|
|
827
|
+
slug: string;
|
|
828
|
+
};
|
|
526
829
|
};
|
|
527
|
-
declare const bookSizes: readonly ["8x8", "10x10", "12x12", "8x11", "11x8", "11x14"];
|
|
830
|
+
declare const bookSizes: readonly ["5x7", "6x6", "8x8", "10x10", "12x12", "8x11", "11x8", "11x14"];
|
|
528
831
|
declare const coverTypes: readonly ["sc", "hc", "pl"];
|
|
529
832
|
declare const pageTypes: readonly ["sp", "sl", "dl"];
|
|
530
833
|
declare const imageDensities: readonly ["low", "medium", "high"];
|
|
@@ -618,7 +921,7 @@ declare class BooksEndpoints {
|
|
|
618
921
|
declare class DesignOptionsEndpoints {
|
|
619
922
|
private readonly engineAPI;
|
|
620
923
|
constructor(engineAPI: EngineAPI);
|
|
621
|
-
retrieve(bookSize: BookSize, imageCount: number, imageFilteringLevel: ImageFilteringLevel): Promise<{
|
|
924
|
+
retrieve(bookSize: BookSize, imageCount: number, imageFilteringLevel: ImageFilteringLevel, sku?: string): Promise<{
|
|
622
925
|
densities: {
|
|
623
926
|
low: {
|
|
624
927
|
max_page_count: number;
|
|
@@ -1015,7 +1318,7 @@ type TextStickerLevel = (typeof textStickerLevels)[number];
|
|
|
1015
1318
|
declare const DesignRequestOptions: {
|
|
1016
1319
|
occasion: readonly ["baby", "birthday", "default", "everyday", "family", "kids", "life-stories", "portfolio", "school-memories", "seasonal-holidays", "special-celebrations", "sports-and-hobbies", "travel", "wedding", "year-in-review"];
|
|
1017
1320
|
style: number[];
|
|
1018
|
-
bookSize: readonly ["8x8", "10x10", "12x12", "8x11", "11x8", "11x14"];
|
|
1321
|
+
bookSize: readonly ["5x7", "6x6", "8x8", "10x10", "12x12", "8x11", "11x8", "11x14"];
|
|
1019
1322
|
coverType: readonly ["sc", "hc", "pl"];
|
|
1020
1323
|
pageType: readonly ["sp", "sl", "dl"];
|
|
1021
1324
|
imageDensity: readonly ["low", "medium", "high"];
|
|
@@ -1029,6 +1332,7 @@ type DesignRequestProps = {
|
|
|
1029
1332
|
state?: State;
|
|
1030
1333
|
occasion?: Occasion;
|
|
1031
1334
|
style?: Style;
|
|
1335
|
+
sku?: string;
|
|
1032
1336
|
bookSize?: BookSize;
|
|
1033
1337
|
coverType?: CoverType;
|
|
1034
1338
|
pageType?: PageType;
|
|
@@ -1054,6 +1358,7 @@ declare class DesignRequest {
|
|
|
1054
1358
|
subtitle?: string;
|
|
1055
1359
|
occasion: Occasion;
|
|
1056
1360
|
style: Style;
|
|
1361
|
+
sku?: string;
|
|
1057
1362
|
bookSize: BookSize;
|
|
1058
1363
|
coverType: CoverType;
|
|
1059
1364
|
pageType: PageType;
|
|
@@ -1230,7 +1535,7 @@ declare class BookDesignRequest {
|
|
|
1230
1535
|
declare const bookDesignRequestSchema: z.ZodObject<{
|
|
1231
1536
|
occasion: z.ZodEnum<["baby", "birthday", "default", "everyday", "family", "kids", "life-stories", "portfolio", "school-memories", "seasonal-holidays", "special-celebrations", "sports-and-hobbies", "travel", "wedding", "year-in-review"]>;
|
|
1232
1537
|
style: z.ZodString;
|
|
1233
|
-
book_size: z.ZodEnum<["8x8", "10x10", "12x12", "8x11", "11x8", "11x14"]>;
|
|
1538
|
+
book_size: z.ZodEnum<["5x7", "6x6", "8x8", "10x10", "12x12", "8x11", "11x8", "11x14"]>;
|
|
1234
1539
|
cover_type: z.ZodEnum<["sc", "hc", "pl"]>;
|
|
1235
1540
|
page_type: z.ZodEnum<["sp", "sl", "dl"]>;
|
|
1236
1541
|
image_density: z.ZodEnum<["low", "medium", "high"]>;
|
|
@@ -1240,7 +1545,7 @@ declare const bookDesignRequestSchema: z.ZodObject<{
|
|
|
1240
1545
|
}, "strip", z.ZodTypeAny, {
|
|
1241
1546
|
occasion: "baby" | "birthday" | "default" | "everyday" | "family" | "kids" | "life-stories" | "portfolio" | "school-memories" | "seasonal-holidays" | "special-celebrations" | "sports-and-hobbies" | "travel" | "wedding" | "year-in-review";
|
|
1242
1547
|
style: string;
|
|
1243
|
-
book_size: "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
|
|
1548
|
+
book_size: "5x7" | "6x6" | "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
|
|
1244
1549
|
cover_type: "sc" | "hc" | "pl";
|
|
1245
1550
|
page_type: "sp" | "sl" | "dl";
|
|
1246
1551
|
image_density: "low" | "medium" | "high";
|
|
@@ -1250,7 +1555,7 @@ declare const bookDesignRequestSchema: z.ZodObject<{
|
|
|
1250
1555
|
}, {
|
|
1251
1556
|
occasion: "baby" | "birthday" | "default" | "everyday" | "family" | "kids" | "life-stories" | "portfolio" | "school-memories" | "seasonal-holidays" | "special-celebrations" | "sports-and-hobbies" | "travel" | "wedding" | "year-in-review";
|
|
1252
1557
|
style: string;
|
|
1253
|
-
book_size: "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
|
|
1558
|
+
book_size: "5x7" | "6x6" | "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
|
|
1254
1559
|
cover_type: "sc" | "hc" | "pl";
|
|
1255
1560
|
page_type: "sp" | "sl" | "dl";
|
|
1256
1561
|
image_density: "low" | "medium" | "high";
|
|
@@ -1265,7 +1570,7 @@ declare const bookPropsSchema: z.ZodObject<{
|
|
|
1265
1570
|
design_request: z.ZodObject<{
|
|
1266
1571
|
occasion: z.ZodEnum<["baby", "birthday", "default", "everyday", "family", "kids", "life-stories", "portfolio", "school-memories", "seasonal-holidays", "special-celebrations", "sports-and-hobbies", "travel", "wedding", "year-in-review"]>;
|
|
1267
1572
|
style: z.ZodString;
|
|
1268
|
-
book_size: z.ZodEnum<["8x8", "10x10", "12x12", "8x11", "11x8", "11x14"]>;
|
|
1573
|
+
book_size: z.ZodEnum<["5x7", "6x6", "8x8", "10x10", "12x12", "8x11", "11x8", "11x14"]>;
|
|
1269
1574
|
cover_type: z.ZodEnum<["sc", "hc", "pl"]>;
|
|
1270
1575
|
page_type: z.ZodEnum<["sp", "sl", "dl"]>;
|
|
1271
1576
|
image_density: z.ZodEnum<["low", "medium", "high"]>;
|
|
@@ -1275,7 +1580,7 @@ declare const bookPropsSchema: z.ZodObject<{
|
|
|
1275
1580
|
}, "strip", z.ZodTypeAny, {
|
|
1276
1581
|
occasion: "baby" | "birthday" | "default" | "everyday" | "family" | "kids" | "life-stories" | "portfolio" | "school-memories" | "seasonal-holidays" | "special-celebrations" | "sports-and-hobbies" | "travel" | "wedding" | "year-in-review";
|
|
1277
1582
|
style: string;
|
|
1278
|
-
book_size: "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
|
|
1583
|
+
book_size: "5x7" | "6x6" | "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
|
|
1279
1584
|
cover_type: "sc" | "hc" | "pl";
|
|
1280
1585
|
page_type: "sp" | "sl" | "dl";
|
|
1281
1586
|
image_density: "low" | "medium" | "high";
|
|
@@ -1285,7 +1590,7 @@ declare const bookPropsSchema: z.ZodObject<{
|
|
|
1285
1590
|
}, {
|
|
1286
1591
|
occasion: "baby" | "birthday" | "default" | "everyday" | "family" | "kids" | "life-stories" | "portfolio" | "school-memories" | "seasonal-holidays" | "special-celebrations" | "sports-and-hobbies" | "travel" | "wedding" | "year-in-review";
|
|
1287
1592
|
style: string;
|
|
1288
|
-
book_size: "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
|
|
1593
|
+
book_size: "5x7" | "6x6" | "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
|
|
1289
1594
|
cover_type: "sc" | "hc" | "pl";
|
|
1290
1595
|
page_type: "sp" | "sl" | "dl";
|
|
1291
1596
|
image_density: "low" | "medium" | "high";
|
|
@@ -1293,6 +1598,7 @@ declare const bookPropsSchema: z.ZodObject<{
|
|
|
1293
1598
|
embellishment_level: "none" | "few" | "lots";
|
|
1294
1599
|
text_sticker_level: "none" | "few" | "lots";
|
|
1295
1600
|
}>;
|
|
1601
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
1296
1602
|
state: z.ZodOptional<z.ZodEnum<["new", "ingesting", "submitted", "storyboarding", "deduplication", "image-selection", "designing", "layouting", "embellishing", "polishing", "ready", "timeout", "error", "cancelled"]>>;
|
|
1297
1603
|
guid: z.ZodOptional<z.ZodString>;
|
|
1298
1604
|
cancelled_at: z.ZodOptional<z.ZodString>;
|
|
@@ -1304,7 +1610,7 @@ declare const bookPropsSchema: z.ZodObject<{
|
|
|
1304
1610
|
design_request: {
|
|
1305
1611
|
occasion: "baby" | "birthday" | "default" | "everyday" | "family" | "kids" | "life-stories" | "portfolio" | "school-memories" | "seasonal-holidays" | "special-celebrations" | "sports-and-hobbies" | "travel" | "wedding" | "year-in-review";
|
|
1306
1612
|
style: string;
|
|
1307
|
-
book_size: "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
|
|
1613
|
+
book_size: "5x7" | "6x6" | "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
|
|
1308
1614
|
cover_type: "sc" | "hc" | "pl";
|
|
1309
1615
|
page_type: "sp" | "sl" | "dl";
|
|
1310
1616
|
image_density: "low" | "medium" | "high";
|
|
@@ -1314,6 +1620,7 @@ declare const bookPropsSchema: z.ZodObject<{
|
|
|
1314
1620
|
};
|
|
1315
1621
|
id?: string | undefined;
|
|
1316
1622
|
subtitle?: string | undefined;
|
|
1623
|
+
sku?: string | undefined;
|
|
1317
1624
|
state?: "new" | "ingesting" | "submitted" | "storyboarding" | "deduplication" | "image-selection" | "designing" | "layouting" | "embellishing" | "polishing" | "ready" | "timeout" | "error" | "cancelled" | undefined;
|
|
1318
1625
|
guid?: string | undefined;
|
|
1319
1626
|
cancelled_at?: string | undefined;
|
|
@@ -1325,7 +1632,7 @@ declare const bookPropsSchema: z.ZodObject<{
|
|
|
1325
1632
|
design_request: {
|
|
1326
1633
|
occasion: "baby" | "birthday" | "default" | "everyday" | "family" | "kids" | "life-stories" | "portfolio" | "school-memories" | "seasonal-holidays" | "special-celebrations" | "sports-and-hobbies" | "travel" | "wedding" | "year-in-review";
|
|
1327
1634
|
style: string;
|
|
1328
|
-
book_size: "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
|
|
1635
|
+
book_size: "5x7" | "6x6" | "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
|
|
1329
1636
|
cover_type: "sc" | "hc" | "pl";
|
|
1330
1637
|
page_type: "sp" | "sl" | "dl";
|
|
1331
1638
|
image_density: "low" | "medium" | "high";
|
|
@@ -1335,6 +1642,7 @@ declare const bookPropsSchema: z.ZodObject<{
|
|
|
1335
1642
|
};
|
|
1336
1643
|
id?: string | undefined;
|
|
1337
1644
|
subtitle?: string | undefined;
|
|
1645
|
+
sku?: string | undefined;
|
|
1338
1646
|
state?: "new" | "ingesting" | "submitted" | "storyboarding" | "deduplication" | "image-selection" | "designing" | "layouting" | "embellishing" | "polishing" | "ready" | "timeout" | "error" | "cancelled" | undefined;
|
|
1339
1647
|
guid?: string | undefined;
|
|
1340
1648
|
cancelled_at?: string | undefined;
|
|
@@ -1349,6 +1657,7 @@ declare class Book {
|
|
|
1349
1657
|
revision?: number;
|
|
1350
1658
|
subtitle?: string;
|
|
1351
1659
|
design_request: BookDesignRequest;
|
|
1660
|
+
sku?: string;
|
|
1352
1661
|
state?: State;
|
|
1353
1662
|
guid?: string;
|
|
1354
1663
|
cancelled_at?: string;
|