@magiclabs.ai/magicbook-client 0.7.13-canary → 0.7.14-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/index.d.cts CHANGED
@@ -827,7 +827,7 @@ declare const styles: {
827
827
  slug: string;
828
828
  };
829
829
  };
830
- declare const bookSizes: readonly ["5x7", "6x6", "8x8", "10x10", "12x12", "8x11", "11x8", "11x14"];
830
+ declare const bookSizes: readonly ["4.5x4", "5x7", "6x6", "6x8", "7x5", "8x8", "8x11", "10x10", "11x8", "11x14", "12x12"];
831
831
  declare const coverTypes: readonly ["sc", "hc", "pl"];
832
832
  declare const pageTypes: readonly ["sp", "sl", "dl"];
833
833
  declare const imageDensities: readonly ["low", "medium", "high"];
@@ -1270,7 +1270,7 @@ type TextStickerLevel = (typeof textStickerLevels)[number];
1270
1270
  declare const DesignRequestOptions: {
1271
1271
  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"];
1272
1272
  style: number[];
1273
- bookSize: readonly ["5x7", "6x6", "8x8", "10x10", "12x12", "8x11", "11x8", "11x14"];
1273
+ bookSize: readonly ["4.5x4", "5x7", "6x6", "6x8", "7x5", "8x8", "8x11", "10x10", "11x8", "11x14", "12x12"];
1274
1274
  coverType: readonly ["sc", "hc", "pl"];
1275
1275
  pageType: readonly ["sp", "sl", "dl"];
1276
1276
  imageDensity: readonly ["low", "medium", "high"];
@@ -1425,7 +1425,7 @@ declare class BookDesignRequest {
1425
1425
  declare const bookDesignRequestSchema: z.ZodObject<{
1426
1426
  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"]>;
1427
1427
  style: z.ZodString;
1428
- book_size: z.ZodEnum<["5x7", "6x6", "8x8", "10x10", "12x12", "8x11", "11x8", "11x14"]>;
1428
+ book_size: z.ZodEnum<["4.5x4", "5x7", "6x6", "6x8", "7x5", "8x8", "8x11", "10x10", "11x8", "11x14", "12x12"]>;
1429
1429
  cover_type: z.ZodEnum<["sc", "hc", "pl"]>;
1430
1430
  page_type: z.ZodEnum<["sp", "sl", "dl"]>;
1431
1431
  image_density: z.ZodEnum<["low", "medium", "high"]>;
@@ -1435,7 +1435,7 @@ declare const bookDesignRequestSchema: z.ZodObject<{
1435
1435
  }, "strip", z.ZodTypeAny, {
1436
1436
  occasion: "baby" | "birthday" | "default" | "everyday" | "family" | "kids" | "life-stories" | "portfolio" | "school-memories" | "seasonal-holidays" | "special-celebrations" | "sports-and-hobbies" | "travel" | "wedding" | "year-in-review";
1437
1437
  style: string;
1438
- book_size: "5x7" | "6x6" | "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
1438
+ book_size: "4.5x4" | "5x7" | "6x6" | "6x8" | "7x5" | "8x8" | "8x11" | "10x10" | "11x8" | "11x14" | "12x12";
1439
1439
  cover_type: "sc" | "hc" | "pl";
1440
1440
  page_type: "sp" | "sl" | "dl";
1441
1441
  image_density: "low" | "medium" | "high";
@@ -1445,7 +1445,7 @@ declare const bookDesignRequestSchema: z.ZodObject<{
1445
1445
  }, {
1446
1446
  occasion: "baby" | "birthday" | "default" | "everyday" | "family" | "kids" | "life-stories" | "portfolio" | "school-memories" | "seasonal-holidays" | "special-celebrations" | "sports-and-hobbies" | "travel" | "wedding" | "year-in-review";
1447
1447
  style: string;
1448
- book_size: "5x7" | "6x6" | "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
1448
+ book_size: "4.5x4" | "5x7" | "6x6" | "6x8" | "7x5" | "8x8" | "8x11" | "10x10" | "11x8" | "11x14" | "12x12";
1449
1449
  cover_type: "sc" | "hc" | "pl";
1450
1450
  page_type: "sp" | "sl" | "dl";
1451
1451
  image_density: "low" | "medium" | "high";
@@ -1460,7 +1460,7 @@ declare const bookPropsSchema: z.ZodObject<{
1460
1460
  design_request: z.ZodObject<{
1461
1461
  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"]>;
1462
1462
  style: z.ZodString;
1463
- book_size: z.ZodEnum<["5x7", "6x6", "8x8", "10x10", "12x12", "8x11", "11x8", "11x14"]>;
1463
+ book_size: z.ZodEnum<["4.5x4", "5x7", "6x6", "6x8", "7x5", "8x8", "8x11", "10x10", "11x8", "11x14", "12x12"]>;
1464
1464
  cover_type: z.ZodEnum<["sc", "hc", "pl"]>;
1465
1465
  page_type: z.ZodEnum<["sp", "sl", "dl"]>;
1466
1466
  image_density: z.ZodEnum<["low", "medium", "high"]>;
@@ -1470,7 +1470,7 @@ declare const bookPropsSchema: z.ZodObject<{
1470
1470
  }, "strip", z.ZodTypeAny, {
1471
1471
  occasion: "baby" | "birthday" | "default" | "everyday" | "family" | "kids" | "life-stories" | "portfolio" | "school-memories" | "seasonal-holidays" | "special-celebrations" | "sports-and-hobbies" | "travel" | "wedding" | "year-in-review";
1472
1472
  style: string;
1473
- book_size: "5x7" | "6x6" | "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
1473
+ book_size: "4.5x4" | "5x7" | "6x6" | "6x8" | "7x5" | "8x8" | "8x11" | "10x10" | "11x8" | "11x14" | "12x12";
1474
1474
  cover_type: "sc" | "hc" | "pl";
1475
1475
  page_type: "sp" | "sl" | "dl";
1476
1476
  image_density: "low" | "medium" | "high";
@@ -1480,7 +1480,7 @@ declare const bookPropsSchema: z.ZodObject<{
1480
1480
  }, {
1481
1481
  occasion: "baby" | "birthday" | "default" | "everyday" | "family" | "kids" | "life-stories" | "portfolio" | "school-memories" | "seasonal-holidays" | "special-celebrations" | "sports-and-hobbies" | "travel" | "wedding" | "year-in-review";
1482
1482
  style: string;
1483
- book_size: "5x7" | "6x6" | "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
1483
+ book_size: "4.5x4" | "5x7" | "6x6" | "6x8" | "7x5" | "8x8" | "8x11" | "10x10" | "11x8" | "11x14" | "12x12";
1484
1484
  cover_type: "sc" | "hc" | "pl";
1485
1485
  page_type: "sp" | "sl" | "dl";
1486
1486
  image_density: "low" | "medium" | "high";
@@ -1500,7 +1500,7 @@ declare const bookPropsSchema: z.ZodObject<{
1500
1500
  design_request: {
1501
1501
  occasion: "baby" | "birthday" | "default" | "everyday" | "family" | "kids" | "life-stories" | "portfolio" | "school-memories" | "seasonal-holidays" | "special-celebrations" | "sports-and-hobbies" | "travel" | "wedding" | "year-in-review";
1502
1502
  style: string;
1503
- book_size: "5x7" | "6x6" | "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
1503
+ book_size: "4.5x4" | "5x7" | "6x6" | "6x8" | "7x5" | "8x8" | "8x11" | "10x10" | "11x8" | "11x14" | "12x12";
1504
1504
  cover_type: "sc" | "hc" | "pl";
1505
1505
  page_type: "sp" | "sl" | "dl";
1506
1506
  image_density: "low" | "medium" | "high";
@@ -1522,7 +1522,7 @@ declare const bookPropsSchema: z.ZodObject<{
1522
1522
  design_request: {
1523
1523
  occasion: "baby" | "birthday" | "default" | "everyday" | "family" | "kids" | "life-stories" | "portfolio" | "school-memories" | "seasonal-holidays" | "special-celebrations" | "sports-and-hobbies" | "travel" | "wedding" | "year-in-review";
1524
1524
  style: string;
1525
- book_size: "5x7" | "6x6" | "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
1525
+ book_size: "4.5x4" | "5x7" | "6x6" | "6x8" | "7x5" | "8x8" | "8x11" | "10x10" | "11x8" | "11x14" | "12x12";
1526
1526
  cover_type: "sc" | "hc" | "pl";
1527
1527
  page_type: "sp" | "sl" | "dl";
1528
1528
  image_density: "low" | "medium" | "high";
package/index.d.ts CHANGED
@@ -827,7 +827,7 @@ declare const styles: {
827
827
  slug: string;
828
828
  };
829
829
  };
830
- declare const bookSizes: readonly ["5x7", "6x6", "8x8", "10x10", "12x12", "8x11", "11x8", "11x14"];
830
+ declare const bookSizes: readonly ["4.5x4", "5x7", "6x6", "6x8", "7x5", "8x8", "8x11", "10x10", "11x8", "11x14", "12x12"];
831
831
  declare const coverTypes: readonly ["sc", "hc", "pl"];
832
832
  declare const pageTypes: readonly ["sp", "sl", "dl"];
833
833
  declare const imageDensities: readonly ["low", "medium", "high"];
@@ -1270,7 +1270,7 @@ type TextStickerLevel = (typeof textStickerLevels)[number];
1270
1270
  declare const DesignRequestOptions: {
1271
1271
  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"];
1272
1272
  style: number[];
1273
- bookSize: readonly ["5x7", "6x6", "8x8", "10x10", "12x12", "8x11", "11x8", "11x14"];
1273
+ bookSize: readonly ["4.5x4", "5x7", "6x6", "6x8", "7x5", "8x8", "8x11", "10x10", "11x8", "11x14", "12x12"];
1274
1274
  coverType: readonly ["sc", "hc", "pl"];
1275
1275
  pageType: readonly ["sp", "sl", "dl"];
1276
1276
  imageDensity: readonly ["low", "medium", "high"];
@@ -1425,7 +1425,7 @@ declare class BookDesignRequest {
1425
1425
  declare const bookDesignRequestSchema: z.ZodObject<{
1426
1426
  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"]>;
1427
1427
  style: z.ZodString;
1428
- book_size: z.ZodEnum<["5x7", "6x6", "8x8", "10x10", "12x12", "8x11", "11x8", "11x14"]>;
1428
+ book_size: z.ZodEnum<["4.5x4", "5x7", "6x6", "6x8", "7x5", "8x8", "8x11", "10x10", "11x8", "11x14", "12x12"]>;
1429
1429
  cover_type: z.ZodEnum<["sc", "hc", "pl"]>;
1430
1430
  page_type: z.ZodEnum<["sp", "sl", "dl"]>;
1431
1431
  image_density: z.ZodEnum<["low", "medium", "high"]>;
@@ -1435,7 +1435,7 @@ declare const bookDesignRequestSchema: z.ZodObject<{
1435
1435
  }, "strip", z.ZodTypeAny, {
1436
1436
  occasion: "baby" | "birthday" | "default" | "everyday" | "family" | "kids" | "life-stories" | "portfolio" | "school-memories" | "seasonal-holidays" | "special-celebrations" | "sports-and-hobbies" | "travel" | "wedding" | "year-in-review";
1437
1437
  style: string;
1438
- book_size: "5x7" | "6x6" | "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
1438
+ book_size: "4.5x4" | "5x7" | "6x6" | "6x8" | "7x5" | "8x8" | "8x11" | "10x10" | "11x8" | "11x14" | "12x12";
1439
1439
  cover_type: "sc" | "hc" | "pl";
1440
1440
  page_type: "sp" | "sl" | "dl";
1441
1441
  image_density: "low" | "medium" | "high";
@@ -1445,7 +1445,7 @@ declare const bookDesignRequestSchema: z.ZodObject<{
1445
1445
  }, {
1446
1446
  occasion: "baby" | "birthday" | "default" | "everyday" | "family" | "kids" | "life-stories" | "portfolio" | "school-memories" | "seasonal-holidays" | "special-celebrations" | "sports-and-hobbies" | "travel" | "wedding" | "year-in-review";
1447
1447
  style: string;
1448
- book_size: "5x7" | "6x6" | "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
1448
+ book_size: "4.5x4" | "5x7" | "6x6" | "6x8" | "7x5" | "8x8" | "8x11" | "10x10" | "11x8" | "11x14" | "12x12";
1449
1449
  cover_type: "sc" | "hc" | "pl";
1450
1450
  page_type: "sp" | "sl" | "dl";
1451
1451
  image_density: "low" | "medium" | "high";
@@ -1460,7 +1460,7 @@ declare const bookPropsSchema: z.ZodObject<{
1460
1460
  design_request: z.ZodObject<{
1461
1461
  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"]>;
1462
1462
  style: z.ZodString;
1463
- book_size: z.ZodEnum<["5x7", "6x6", "8x8", "10x10", "12x12", "8x11", "11x8", "11x14"]>;
1463
+ book_size: z.ZodEnum<["4.5x4", "5x7", "6x6", "6x8", "7x5", "8x8", "8x11", "10x10", "11x8", "11x14", "12x12"]>;
1464
1464
  cover_type: z.ZodEnum<["sc", "hc", "pl"]>;
1465
1465
  page_type: z.ZodEnum<["sp", "sl", "dl"]>;
1466
1466
  image_density: z.ZodEnum<["low", "medium", "high"]>;
@@ -1470,7 +1470,7 @@ declare const bookPropsSchema: z.ZodObject<{
1470
1470
  }, "strip", z.ZodTypeAny, {
1471
1471
  occasion: "baby" | "birthday" | "default" | "everyday" | "family" | "kids" | "life-stories" | "portfolio" | "school-memories" | "seasonal-holidays" | "special-celebrations" | "sports-and-hobbies" | "travel" | "wedding" | "year-in-review";
1472
1472
  style: string;
1473
- book_size: "5x7" | "6x6" | "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
1473
+ book_size: "4.5x4" | "5x7" | "6x6" | "6x8" | "7x5" | "8x8" | "8x11" | "10x10" | "11x8" | "11x14" | "12x12";
1474
1474
  cover_type: "sc" | "hc" | "pl";
1475
1475
  page_type: "sp" | "sl" | "dl";
1476
1476
  image_density: "low" | "medium" | "high";
@@ -1480,7 +1480,7 @@ declare const bookPropsSchema: z.ZodObject<{
1480
1480
  }, {
1481
1481
  occasion: "baby" | "birthday" | "default" | "everyday" | "family" | "kids" | "life-stories" | "portfolio" | "school-memories" | "seasonal-holidays" | "special-celebrations" | "sports-and-hobbies" | "travel" | "wedding" | "year-in-review";
1482
1482
  style: string;
1483
- book_size: "5x7" | "6x6" | "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
1483
+ book_size: "4.5x4" | "5x7" | "6x6" | "6x8" | "7x5" | "8x8" | "8x11" | "10x10" | "11x8" | "11x14" | "12x12";
1484
1484
  cover_type: "sc" | "hc" | "pl";
1485
1485
  page_type: "sp" | "sl" | "dl";
1486
1486
  image_density: "low" | "medium" | "high";
@@ -1500,7 +1500,7 @@ declare const bookPropsSchema: z.ZodObject<{
1500
1500
  design_request: {
1501
1501
  occasion: "baby" | "birthday" | "default" | "everyday" | "family" | "kids" | "life-stories" | "portfolio" | "school-memories" | "seasonal-holidays" | "special-celebrations" | "sports-and-hobbies" | "travel" | "wedding" | "year-in-review";
1502
1502
  style: string;
1503
- book_size: "5x7" | "6x6" | "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
1503
+ book_size: "4.5x4" | "5x7" | "6x6" | "6x8" | "7x5" | "8x8" | "8x11" | "10x10" | "11x8" | "11x14" | "12x12";
1504
1504
  cover_type: "sc" | "hc" | "pl";
1505
1505
  page_type: "sp" | "sl" | "dl";
1506
1506
  image_density: "low" | "medium" | "high";
@@ -1522,7 +1522,7 @@ declare const bookPropsSchema: z.ZodObject<{
1522
1522
  design_request: {
1523
1523
  occasion: "baby" | "birthday" | "default" | "everyday" | "family" | "kids" | "life-stories" | "portfolio" | "school-memories" | "seasonal-holidays" | "special-celebrations" | "sports-and-hobbies" | "travel" | "wedding" | "year-in-review";
1524
1524
  style: string;
1525
- book_size: "5x7" | "6x6" | "8x8" | "10x10" | "12x12" | "8x11" | "11x8" | "11x14";
1525
+ book_size: "4.5x4" | "5x7" | "6x6" | "6x8" | "7x5" | "8x8" | "8x11" | "10x10" | "11x8" | "11x14" | "12x12";
1526
1526
  cover_type: "sc" | "hc" | "pl";
1527
1527
  page_type: "sp" | "sl" | "dl";
1528
1528
  image_density: "low" | "medium" | "high";
package/index.iife.js CHANGED
@@ -387,7 +387,19 @@ var MagicLabs = (() => {
387
387
  "03f332e3b2b947ebae73b67a9a22b6f4": { slug: "winter-sparkle-snap" },
388
388
  "97f70f6cdb5244a08d45772cccfa2788": { slug: "year-of-memories-snap" }
389
389
  };
390
- var bookSizes = ["5x7", "6x6", "8x8", "10x10", "12x12", "8x11", "11x8", "11x14"];
390
+ var bookSizes = [
391
+ "4.5x4",
392
+ "5x7",
393
+ "6x6",
394
+ "6x8",
395
+ "7x5",
396
+ "8x8",
397
+ "8x11",
398
+ "10x10",
399
+ "11x8",
400
+ "11x14",
401
+ "12x12"
402
+ ];
391
403
  var coverTypes = ["sc", "hc", "pl"];
392
404
  var pageTypes = ["sp", "sl", "dl"];
393
405
  var imageDensities = ["low", "medium", "high"];
package/index.js CHANGED
@@ -317,7 +317,19 @@ var styles = {
317
317
  "03f332e3b2b947ebae73b67a9a22b6f4": { slug: "winter-sparkle-snap" },
318
318
  "97f70f6cdb5244a08d45772cccfa2788": { slug: "year-of-memories-snap" }
319
319
  };
320
- var bookSizes = ["5x7", "6x6", "8x8", "10x10", "12x12", "8x11", "11x8", "11x14"];
320
+ var bookSizes = [
321
+ "4.5x4",
322
+ "5x7",
323
+ "6x6",
324
+ "6x8",
325
+ "7x5",
326
+ "8x8",
327
+ "8x11",
328
+ "10x10",
329
+ "11x8",
330
+ "11x14",
331
+ "12x12"
332
+ ];
321
333
  var coverTypes = ["sc", "hc", "pl"];
322
334
  var pageTypes = ["sp", "sl", "dl"];
323
335
  var imageDensities = ["low", "medium", "high"];