@magiclabs.ai/magicbook-client 0.7.8-canary → 0.7.9-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.cjs +80 -80
- package/index.cjs.map +1 -1
- package/index.d.cts +84 -216
- package/index.d.ts +84 -216
- package/index.js +80 -80
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -849,73 +849,7 @@ declare class BooksEndpoints {
|
|
|
849
849
|
cancel(bookId: string): Promise<Book>;
|
|
850
850
|
report(bookId: string, report: BookReport): Promise<void>;
|
|
851
851
|
delete(bookId: string): Promise<void>;
|
|
852
|
-
format(bookId: string, format: Format): Promise<
|
|
853
|
-
title: string;
|
|
854
|
-
binding: string;
|
|
855
|
-
coverSpecId: string;
|
|
856
|
-
styleId: number;
|
|
857
|
-
userId: string;
|
|
858
|
-
magicShopBook: {
|
|
859
|
-
pages: {
|
|
860
|
-
type: string;
|
|
861
|
-
pageNum: number;
|
|
862
|
-
canvas: {
|
|
863
|
-
backgroundId: string | null;
|
|
864
|
-
assets?: {
|
|
865
|
-
type: string;
|
|
866
|
-
position: {
|
|
867
|
-
x: number;
|
|
868
|
-
y: number;
|
|
869
|
-
rotation: number;
|
|
870
|
-
width?: number | undefined;
|
|
871
|
-
height?: number | undefined;
|
|
872
|
-
};
|
|
873
|
-
seqNum: number;
|
|
874
|
-
z: number;
|
|
875
|
-
id?: string | undefined;
|
|
876
|
-
imageAssignment?: {
|
|
877
|
-
photoRefId: string;
|
|
878
|
-
finalCrop: number[];
|
|
879
|
-
} | undefined;
|
|
880
|
-
horizJustification?: string | undefined;
|
|
881
|
-
vertJustification?: string | null | undefined;
|
|
882
|
-
text?: string | undefined;
|
|
883
|
-
fontId?: string | undefined;
|
|
884
|
-
fontSize?: number | undefined;
|
|
885
|
-
fontColor?: string | undefined;
|
|
886
|
-
frame?: string | undefined;
|
|
887
|
-
}[] | undefined;
|
|
888
|
-
};
|
|
889
|
-
}[];
|
|
890
|
-
photoStrip: {
|
|
891
|
-
photoRefId: string;
|
|
892
|
-
url: string;
|
|
893
|
-
encryptId: string;
|
|
894
|
-
photoId: string;
|
|
895
|
-
photoMetadata: {
|
|
896
|
-
width: number;
|
|
897
|
-
height: number;
|
|
898
|
-
rotation: number;
|
|
899
|
-
id: string;
|
|
900
|
-
llx: number;
|
|
901
|
-
lly: number;
|
|
902
|
-
urx: number;
|
|
903
|
-
ury: number;
|
|
904
|
-
data: string | null;
|
|
905
|
-
title: string;
|
|
906
|
-
effect: string;
|
|
907
|
-
source: string;
|
|
908
|
-
uploadTime: string;
|
|
909
|
-
};
|
|
910
|
-
}[];
|
|
911
|
-
};
|
|
912
|
-
reportingData: {
|
|
913
|
-
properties: {
|
|
914
|
-
key: string;
|
|
915
|
-
value?: any;
|
|
916
|
-
}[];
|
|
917
|
-
};
|
|
918
|
-
}>;
|
|
852
|
+
format(bookId: string, format: Format): Promise<any>;
|
|
919
853
|
}
|
|
920
854
|
|
|
921
855
|
declare class DesignOptionsEndpoints {
|
|
@@ -974,10 +908,10 @@ declare class ImagesEndpoints {
|
|
|
974
908
|
private readonly engineAPI;
|
|
975
909
|
constructor(engineAPI: EngineAPI);
|
|
976
910
|
list(bookId: string): Promise<{
|
|
911
|
+
handle: string;
|
|
912
|
+
url: string;
|
|
977
913
|
width: number;
|
|
978
914
|
height: number;
|
|
979
|
-
url: string;
|
|
980
|
-
handle: string;
|
|
981
915
|
orientation: number;
|
|
982
916
|
taken_at: string;
|
|
983
917
|
filename: string;
|
|
@@ -986,10 +920,10 @@ declare class ImagesEndpoints {
|
|
|
986
920
|
camera?: string | undefined;
|
|
987
921
|
}[]>;
|
|
988
922
|
retrieve(imageId: string, bookId: string): Promise<{
|
|
923
|
+
handle: string;
|
|
924
|
+
url: string;
|
|
989
925
|
width: number;
|
|
990
926
|
height: number;
|
|
991
|
-
url: string;
|
|
992
|
-
handle: string;
|
|
993
927
|
orientation: number;
|
|
994
928
|
taken_at: string;
|
|
995
929
|
filename: string;
|
|
@@ -998,10 +932,10 @@ declare class ImagesEndpoints {
|
|
|
998
932
|
camera?: string | undefined;
|
|
999
933
|
}>;
|
|
1000
934
|
update(imageId: string, bookId: string, image: ImageServer): Promise<{
|
|
935
|
+
handle: string;
|
|
936
|
+
url: string;
|
|
1001
937
|
width: number;
|
|
1002
938
|
height: number;
|
|
1003
|
-
url: string;
|
|
1004
|
-
handle: string;
|
|
1005
939
|
orientation: number;
|
|
1006
940
|
taken_at: string;
|
|
1007
941
|
filename: string;
|
|
@@ -1011,10 +945,10 @@ declare class ImagesEndpoints {
|
|
|
1011
945
|
}>;
|
|
1012
946
|
delete(imageId: string, bookId: string): Promise<void>;
|
|
1013
947
|
addToBook(bookId: string, image: ImageServer): Promise<{
|
|
948
|
+
handle: string;
|
|
949
|
+
url: string;
|
|
1014
950
|
width: number;
|
|
1015
951
|
height: number;
|
|
1016
|
-
url: string;
|
|
1017
|
-
handle: string;
|
|
1018
952
|
orientation: number;
|
|
1019
953
|
taken_at: string;
|
|
1020
954
|
filename: string;
|
|
@@ -1048,10 +982,10 @@ declare const spreadServerSchema: z.ZodObject<{
|
|
|
1048
982
|
laid_out_at: string | null;
|
|
1049
983
|
embellished_at: string | null;
|
|
1050
984
|
polished_at: string | null;
|
|
1051
|
-
width?: number | undefined;
|
|
1052
|
-
height?: number | undefined;
|
|
1053
985
|
id?: string | undefined;
|
|
1054
986
|
url?: string | null | undefined;
|
|
987
|
+
width?: number | undefined;
|
|
988
|
+
height?: number | undefined;
|
|
1055
989
|
background?: unknown;
|
|
1056
990
|
metadata?: unknown;
|
|
1057
991
|
}, {
|
|
@@ -1063,10 +997,10 @@ declare const spreadServerSchema: z.ZodObject<{
|
|
|
1063
997
|
laid_out_at: string | null;
|
|
1064
998
|
embellished_at: string | null;
|
|
1065
999
|
polished_at: string | null;
|
|
1066
|
-
width?: number | undefined;
|
|
1067
|
-
height?: number | undefined;
|
|
1068
1000
|
id?: string | undefined;
|
|
1069
1001
|
url?: string | null | undefined;
|
|
1002
|
+
width?: number | undefined;
|
|
1003
|
+
height?: number | undefined;
|
|
1070
1004
|
background?: unknown;
|
|
1071
1005
|
metadata?: unknown;
|
|
1072
1006
|
}>;
|
|
@@ -1084,10 +1018,10 @@ declare class SpreadsEndpoints {
|
|
|
1084
1018
|
laid_out_at: string | null;
|
|
1085
1019
|
embellished_at: string | null;
|
|
1086
1020
|
polished_at: string | null;
|
|
1087
|
-
width?: number | undefined;
|
|
1088
|
-
height?: number | undefined;
|
|
1089
1021
|
id?: string | undefined;
|
|
1090
1022
|
url?: string | null | undefined;
|
|
1023
|
+
width?: number | undefined;
|
|
1024
|
+
height?: number | undefined;
|
|
1091
1025
|
background?: unknown;
|
|
1092
1026
|
metadata?: unknown;
|
|
1093
1027
|
}[]>;
|
|
@@ -1100,10 +1034,10 @@ declare class SpreadsEndpoints {
|
|
|
1100
1034
|
laid_out_at: string | null;
|
|
1101
1035
|
embellished_at: string | null;
|
|
1102
1036
|
polished_at: string | null;
|
|
1103
|
-
width?: number | undefined;
|
|
1104
|
-
height?: number | undefined;
|
|
1105
1037
|
id?: string | undefined;
|
|
1106
1038
|
url?: string | null | undefined;
|
|
1039
|
+
width?: number | undefined;
|
|
1040
|
+
height?: number | undefined;
|
|
1107
1041
|
background?: unknown;
|
|
1108
1042
|
metadata?: unknown;
|
|
1109
1043
|
}>;
|
|
@@ -1116,10 +1050,10 @@ declare class SpreadsEndpoints {
|
|
|
1116
1050
|
laid_out_at: string | null;
|
|
1117
1051
|
embellished_at: string | null;
|
|
1118
1052
|
polished_at: string | null;
|
|
1119
|
-
width?: number | undefined;
|
|
1120
|
-
height?: number | undefined;
|
|
1121
1053
|
id?: string | undefined;
|
|
1122
1054
|
url?: string | null | undefined;
|
|
1055
|
+
width?: number | undefined;
|
|
1056
|
+
height?: number | undefined;
|
|
1123
1057
|
background?: unknown;
|
|
1124
1058
|
metadata?: unknown;
|
|
1125
1059
|
}>;
|
|
@@ -1132,10 +1066,10 @@ declare class SpreadsEndpoints {
|
|
|
1132
1066
|
laid_out_at: string | null;
|
|
1133
1067
|
embellished_at: string | null;
|
|
1134
1068
|
polished_at: string | null;
|
|
1135
|
-
width?: number | undefined;
|
|
1136
|
-
height?: number | undefined;
|
|
1137
1069
|
id?: string | undefined;
|
|
1138
1070
|
url?: string | null | undefined;
|
|
1071
|
+
width?: number | undefined;
|
|
1072
|
+
height?: number | undefined;
|
|
1139
1073
|
background?: unknown;
|
|
1140
1074
|
metadata?: unknown;
|
|
1141
1075
|
}>;
|
|
@@ -1183,20 +1117,20 @@ declare class StoryboardItemsEndpoints {
|
|
|
1183
1117
|
scene: number;
|
|
1184
1118
|
subscene: number;
|
|
1185
1119
|
image: {
|
|
1186
|
-
width: number;
|
|
1187
|
-
height: number;
|
|
1188
1120
|
id: string;
|
|
1189
1121
|
url: string;
|
|
1122
|
+
width: number;
|
|
1123
|
+
height: number;
|
|
1190
1124
|
taken_at: number;
|
|
1191
1125
|
category: string;
|
|
1192
1126
|
aesthetic_score: number;
|
|
1193
1127
|
faces: {
|
|
1194
1128
|
score: number;
|
|
1195
1129
|
bounding_box: {
|
|
1196
|
-
x: number;
|
|
1197
|
-
y: number;
|
|
1198
1130
|
width: number;
|
|
1199
1131
|
height: number;
|
|
1132
|
+
x: number;
|
|
1133
|
+
y: number;
|
|
1200
1134
|
};
|
|
1201
1135
|
size: number;
|
|
1202
1136
|
eyes_open_score: number;
|
|
@@ -1204,10 +1138,10 @@ declare class StoryboardItemsEndpoints {
|
|
|
1204
1138
|
facing_camera_score: number;
|
|
1205
1139
|
}[];
|
|
1206
1140
|
roi: {
|
|
1207
|
-
x: number;
|
|
1208
|
-
y: number;
|
|
1209
1141
|
width: number;
|
|
1210
1142
|
height: number;
|
|
1143
|
+
x: number;
|
|
1144
|
+
y: number;
|
|
1211
1145
|
};
|
|
1212
1146
|
};
|
|
1213
1147
|
front_cover?: boolean | undefined;
|
|
@@ -1270,10 +1204,10 @@ declare const imageServerSchema: z.ZodObject<{
|
|
|
1270
1204
|
camera: z.ZodOptional<z.ZodString>;
|
|
1271
1205
|
filename: z.ZodString;
|
|
1272
1206
|
}, "strip", z.ZodTypeAny, {
|
|
1207
|
+
handle: string;
|
|
1208
|
+
url: string;
|
|
1273
1209
|
width: number;
|
|
1274
1210
|
height: number;
|
|
1275
|
-
url: string;
|
|
1276
|
-
handle: string;
|
|
1277
1211
|
orientation: number;
|
|
1278
1212
|
taken_at: string;
|
|
1279
1213
|
filename: string;
|
|
@@ -1281,10 +1215,10 @@ declare const imageServerSchema: z.ZodObject<{
|
|
|
1281
1215
|
camera_make?: string | undefined;
|
|
1282
1216
|
camera?: string | undefined;
|
|
1283
1217
|
}, {
|
|
1218
|
+
handle: string;
|
|
1219
|
+
url: string;
|
|
1284
1220
|
width: number;
|
|
1285
1221
|
height: number;
|
|
1286
|
-
url: string;
|
|
1287
|
-
handle: string;
|
|
1288
1222
|
orientation: number;
|
|
1289
1223
|
taken_at: string;
|
|
1290
1224
|
filename: string;
|
|
@@ -1428,73 +1362,7 @@ declare class DesignRequest {
|
|
|
1428
1362
|
submit(submitDesignRequestProps?: Partial<DesignRequestProps>): Promise<this>;
|
|
1429
1363
|
setGuid(guid: string): Promise<string>;
|
|
1430
1364
|
cancel(): Promise<this>;
|
|
1431
|
-
getJSON(format: Format): Promise<
|
|
1432
|
-
title: string;
|
|
1433
|
-
binding: string;
|
|
1434
|
-
coverSpecId: string;
|
|
1435
|
-
styleId: number;
|
|
1436
|
-
userId: string;
|
|
1437
|
-
magicShopBook: {
|
|
1438
|
-
pages: {
|
|
1439
|
-
type: string;
|
|
1440
|
-
pageNum: number;
|
|
1441
|
-
canvas: {
|
|
1442
|
-
backgroundId: string | null;
|
|
1443
|
-
assets?: {
|
|
1444
|
-
type: string;
|
|
1445
|
-
position: {
|
|
1446
|
-
x: number;
|
|
1447
|
-
y: number;
|
|
1448
|
-
rotation: number;
|
|
1449
|
-
width?: number | undefined;
|
|
1450
|
-
height?: number | undefined;
|
|
1451
|
-
};
|
|
1452
|
-
seqNum: number;
|
|
1453
|
-
z: number;
|
|
1454
|
-
id?: string | undefined;
|
|
1455
|
-
imageAssignment?: {
|
|
1456
|
-
photoRefId: string;
|
|
1457
|
-
finalCrop: number[];
|
|
1458
|
-
} | undefined;
|
|
1459
|
-
horizJustification?: string | undefined;
|
|
1460
|
-
vertJustification?: string | null | undefined;
|
|
1461
|
-
text?: string | undefined;
|
|
1462
|
-
fontId?: string | undefined;
|
|
1463
|
-
fontSize?: number | undefined;
|
|
1464
|
-
fontColor?: string | undefined;
|
|
1465
|
-
frame?: string | undefined;
|
|
1466
|
-
}[] | undefined;
|
|
1467
|
-
};
|
|
1468
|
-
}[];
|
|
1469
|
-
photoStrip: {
|
|
1470
|
-
photoRefId: string;
|
|
1471
|
-
url: string;
|
|
1472
|
-
encryptId: string;
|
|
1473
|
-
photoId: string;
|
|
1474
|
-
photoMetadata: {
|
|
1475
|
-
width: number;
|
|
1476
|
-
height: number;
|
|
1477
|
-
rotation: number;
|
|
1478
|
-
id: string;
|
|
1479
|
-
llx: number;
|
|
1480
|
-
lly: number;
|
|
1481
|
-
urx: number;
|
|
1482
|
-
ury: number;
|
|
1483
|
-
data: string | null;
|
|
1484
|
-
title: string;
|
|
1485
|
-
effect: string;
|
|
1486
|
-
source: string;
|
|
1487
|
-
uploadTime: string;
|
|
1488
|
-
};
|
|
1489
|
-
}[];
|
|
1490
|
-
};
|
|
1491
|
-
reportingData: {
|
|
1492
|
-
properties: {
|
|
1493
|
-
key: string;
|
|
1494
|
-
value?: any;
|
|
1495
|
-
}[];
|
|
1496
|
-
};
|
|
1497
|
-
}>;
|
|
1365
|
+
getJSON(format: Format): Promise<any>;
|
|
1498
1366
|
logEvent(name: string, data?: EventContext): Promise<{
|
|
1499
1367
|
name: string;
|
|
1500
1368
|
context?: Record<string, unknown> | undefined;
|
|
@@ -2271,30 +2139,30 @@ declare const photoMetadataSchema: z.ZodObject<{
|
|
|
2271
2139
|
rotation: z.ZodNumber;
|
|
2272
2140
|
uploadTime: z.ZodString;
|
|
2273
2141
|
}, "strip", z.ZodTypeAny, {
|
|
2142
|
+
id: string;
|
|
2143
|
+
title: string;
|
|
2274
2144
|
width: number;
|
|
2275
2145
|
height: number;
|
|
2276
2146
|
rotation: number;
|
|
2277
|
-
id: string;
|
|
2278
2147
|
llx: number;
|
|
2279
2148
|
lly: number;
|
|
2280
2149
|
urx: number;
|
|
2281
2150
|
ury: number;
|
|
2282
2151
|
data: string | null;
|
|
2283
|
-
title: string;
|
|
2284
2152
|
effect: string;
|
|
2285
2153
|
source: string;
|
|
2286
2154
|
uploadTime: string;
|
|
2287
2155
|
}, {
|
|
2156
|
+
id: string;
|
|
2157
|
+
title: string;
|
|
2288
2158
|
width: number;
|
|
2289
2159
|
height: number;
|
|
2290
2160
|
rotation: number;
|
|
2291
|
-
id: string;
|
|
2292
2161
|
llx: number;
|
|
2293
2162
|
lly: number;
|
|
2294
2163
|
urx: number;
|
|
2295
2164
|
ury: number;
|
|
2296
2165
|
data: string | null;
|
|
2297
|
-
title: string;
|
|
2298
2166
|
effect: string;
|
|
2299
2167
|
source: string;
|
|
2300
2168
|
uploadTime: string;
|
|
@@ -2420,70 +2288,70 @@ declare const photoStripSchema: z.ZodObject<{
|
|
|
2420
2288
|
rotation: z.ZodNumber;
|
|
2421
2289
|
uploadTime: z.ZodString;
|
|
2422
2290
|
}, "strip", z.ZodTypeAny, {
|
|
2291
|
+
id: string;
|
|
2292
|
+
title: string;
|
|
2423
2293
|
width: number;
|
|
2424
2294
|
height: number;
|
|
2425
2295
|
rotation: number;
|
|
2426
|
-
id: string;
|
|
2427
2296
|
llx: number;
|
|
2428
2297
|
lly: number;
|
|
2429
2298
|
urx: number;
|
|
2430
2299
|
ury: number;
|
|
2431
2300
|
data: string | null;
|
|
2432
|
-
title: string;
|
|
2433
2301
|
effect: string;
|
|
2434
2302
|
source: string;
|
|
2435
2303
|
uploadTime: string;
|
|
2436
2304
|
}, {
|
|
2305
|
+
id: string;
|
|
2306
|
+
title: string;
|
|
2437
2307
|
width: number;
|
|
2438
2308
|
height: number;
|
|
2439
2309
|
rotation: number;
|
|
2440
|
-
id: string;
|
|
2441
2310
|
llx: number;
|
|
2442
2311
|
lly: number;
|
|
2443
2312
|
urx: number;
|
|
2444
2313
|
ury: number;
|
|
2445
2314
|
data: string | null;
|
|
2446
|
-
title: string;
|
|
2447
2315
|
effect: string;
|
|
2448
2316
|
source: string;
|
|
2449
2317
|
uploadTime: string;
|
|
2450
2318
|
}>;
|
|
2451
2319
|
}, "strip", z.ZodTypeAny, {
|
|
2452
|
-
photoRefId: string;
|
|
2453
2320
|
url: string;
|
|
2321
|
+
photoRefId: string;
|
|
2454
2322
|
encryptId: string;
|
|
2455
2323
|
photoId: string;
|
|
2456
2324
|
photoMetadata: {
|
|
2325
|
+
id: string;
|
|
2326
|
+
title: string;
|
|
2457
2327
|
width: number;
|
|
2458
2328
|
height: number;
|
|
2459
2329
|
rotation: number;
|
|
2460
|
-
id: string;
|
|
2461
2330
|
llx: number;
|
|
2462
2331
|
lly: number;
|
|
2463
2332
|
urx: number;
|
|
2464
2333
|
ury: number;
|
|
2465
2334
|
data: string | null;
|
|
2466
|
-
title: string;
|
|
2467
2335
|
effect: string;
|
|
2468
2336
|
source: string;
|
|
2469
2337
|
uploadTime: string;
|
|
2470
2338
|
};
|
|
2471
2339
|
}, {
|
|
2472
|
-
photoRefId: string;
|
|
2473
2340
|
url: string;
|
|
2341
|
+
photoRefId: string;
|
|
2474
2342
|
encryptId: string;
|
|
2475
2343
|
photoId: string;
|
|
2476
2344
|
photoMetadata: {
|
|
2345
|
+
id: string;
|
|
2346
|
+
title: string;
|
|
2477
2347
|
width: number;
|
|
2478
2348
|
height: number;
|
|
2479
2349
|
rotation: number;
|
|
2480
|
-
id: string;
|
|
2481
2350
|
llx: number;
|
|
2482
2351
|
lly: number;
|
|
2483
2352
|
urx: number;
|
|
2484
2353
|
ury: number;
|
|
2485
2354
|
data: string | null;
|
|
2486
|
-
title: string;
|
|
2487
2355
|
effect: string;
|
|
2488
2356
|
source: string;
|
|
2489
2357
|
uploadTime: string;
|
|
@@ -3093,70 +2961,70 @@ declare const magicShopBookSchema: z.ZodObject<{
|
|
|
3093
2961
|
rotation: z.ZodNumber;
|
|
3094
2962
|
uploadTime: z.ZodString;
|
|
3095
2963
|
}, "strip", z.ZodTypeAny, {
|
|
2964
|
+
id: string;
|
|
2965
|
+
title: string;
|
|
3096
2966
|
width: number;
|
|
3097
2967
|
height: number;
|
|
3098
2968
|
rotation: number;
|
|
3099
|
-
id: string;
|
|
3100
2969
|
llx: number;
|
|
3101
2970
|
lly: number;
|
|
3102
2971
|
urx: number;
|
|
3103
2972
|
ury: number;
|
|
3104
2973
|
data: string | null;
|
|
3105
|
-
title: string;
|
|
3106
2974
|
effect: string;
|
|
3107
2975
|
source: string;
|
|
3108
2976
|
uploadTime: string;
|
|
3109
2977
|
}, {
|
|
2978
|
+
id: string;
|
|
2979
|
+
title: string;
|
|
3110
2980
|
width: number;
|
|
3111
2981
|
height: number;
|
|
3112
2982
|
rotation: number;
|
|
3113
|
-
id: string;
|
|
3114
2983
|
llx: number;
|
|
3115
2984
|
lly: number;
|
|
3116
2985
|
urx: number;
|
|
3117
2986
|
ury: number;
|
|
3118
2987
|
data: string | null;
|
|
3119
|
-
title: string;
|
|
3120
2988
|
effect: string;
|
|
3121
2989
|
source: string;
|
|
3122
2990
|
uploadTime: string;
|
|
3123
2991
|
}>;
|
|
3124
2992
|
}, "strip", z.ZodTypeAny, {
|
|
3125
|
-
photoRefId: string;
|
|
3126
2993
|
url: string;
|
|
2994
|
+
photoRefId: string;
|
|
3127
2995
|
encryptId: string;
|
|
3128
2996
|
photoId: string;
|
|
3129
2997
|
photoMetadata: {
|
|
2998
|
+
id: string;
|
|
2999
|
+
title: string;
|
|
3130
3000
|
width: number;
|
|
3131
3001
|
height: number;
|
|
3132
3002
|
rotation: number;
|
|
3133
|
-
id: string;
|
|
3134
3003
|
llx: number;
|
|
3135
3004
|
lly: number;
|
|
3136
3005
|
urx: number;
|
|
3137
3006
|
ury: number;
|
|
3138
3007
|
data: string | null;
|
|
3139
|
-
title: string;
|
|
3140
3008
|
effect: string;
|
|
3141
3009
|
source: string;
|
|
3142
3010
|
uploadTime: string;
|
|
3143
3011
|
};
|
|
3144
3012
|
}, {
|
|
3145
|
-
photoRefId: string;
|
|
3146
3013
|
url: string;
|
|
3014
|
+
photoRefId: string;
|
|
3147
3015
|
encryptId: string;
|
|
3148
3016
|
photoId: string;
|
|
3149
3017
|
photoMetadata: {
|
|
3018
|
+
id: string;
|
|
3019
|
+
title: string;
|
|
3150
3020
|
width: number;
|
|
3151
3021
|
height: number;
|
|
3152
3022
|
rotation: number;
|
|
3153
|
-
id: string;
|
|
3154
3023
|
llx: number;
|
|
3155
3024
|
lly: number;
|
|
3156
3025
|
urx: number;
|
|
3157
3026
|
ury: number;
|
|
3158
3027
|
data: string | null;
|
|
3159
|
-
title: string;
|
|
3160
3028
|
effect: string;
|
|
3161
3029
|
source: string;
|
|
3162
3030
|
uploadTime: string;
|
|
@@ -3195,21 +3063,21 @@ declare const magicShopBookSchema: z.ZodObject<{
|
|
|
3195
3063
|
};
|
|
3196
3064
|
}[];
|
|
3197
3065
|
photoStrip: {
|
|
3198
|
-
photoRefId: string;
|
|
3199
3066
|
url: string;
|
|
3067
|
+
photoRefId: string;
|
|
3200
3068
|
encryptId: string;
|
|
3201
3069
|
photoId: string;
|
|
3202
3070
|
photoMetadata: {
|
|
3071
|
+
id: string;
|
|
3072
|
+
title: string;
|
|
3203
3073
|
width: number;
|
|
3204
3074
|
height: number;
|
|
3205
3075
|
rotation: number;
|
|
3206
|
-
id: string;
|
|
3207
3076
|
llx: number;
|
|
3208
3077
|
lly: number;
|
|
3209
3078
|
urx: number;
|
|
3210
3079
|
ury: number;
|
|
3211
3080
|
data: string | null;
|
|
3212
|
-
title: string;
|
|
3213
3081
|
effect: string;
|
|
3214
3082
|
source: string;
|
|
3215
3083
|
uploadTime: string;
|
|
@@ -3248,21 +3116,21 @@ declare const magicShopBookSchema: z.ZodObject<{
|
|
|
3248
3116
|
};
|
|
3249
3117
|
}[];
|
|
3250
3118
|
photoStrip: {
|
|
3251
|
-
photoRefId: string;
|
|
3252
3119
|
url: string;
|
|
3120
|
+
photoRefId: string;
|
|
3253
3121
|
encryptId: string;
|
|
3254
3122
|
photoId: string;
|
|
3255
3123
|
photoMetadata: {
|
|
3124
|
+
id: string;
|
|
3125
|
+
title: string;
|
|
3256
3126
|
width: number;
|
|
3257
3127
|
height: number;
|
|
3258
3128
|
rotation: number;
|
|
3259
|
-
id: string;
|
|
3260
3129
|
llx: number;
|
|
3261
3130
|
lly: number;
|
|
3262
3131
|
urx: number;
|
|
3263
3132
|
ury: number;
|
|
3264
3133
|
data: string | null;
|
|
3265
|
-
title: string;
|
|
3266
3134
|
effect: string;
|
|
3267
3135
|
source: string;
|
|
3268
3136
|
uploadTime: string;
|
|
@@ -3504,70 +3372,70 @@ declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
3504
3372
|
rotation: z.ZodNumber;
|
|
3505
3373
|
uploadTime: z.ZodString;
|
|
3506
3374
|
}, "strip", z.ZodTypeAny, {
|
|
3375
|
+
id: string;
|
|
3376
|
+
title: string;
|
|
3507
3377
|
width: number;
|
|
3508
3378
|
height: number;
|
|
3509
3379
|
rotation: number;
|
|
3510
|
-
id: string;
|
|
3511
3380
|
llx: number;
|
|
3512
3381
|
lly: number;
|
|
3513
3382
|
urx: number;
|
|
3514
3383
|
ury: number;
|
|
3515
3384
|
data: string | null;
|
|
3516
|
-
title: string;
|
|
3517
3385
|
effect: string;
|
|
3518
3386
|
source: string;
|
|
3519
3387
|
uploadTime: string;
|
|
3520
3388
|
}, {
|
|
3389
|
+
id: string;
|
|
3390
|
+
title: string;
|
|
3521
3391
|
width: number;
|
|
3522
3392
|
height: number;
|
|
3523
3393
|
rotation: number;
|
|
3524
|
-
id: string;
|
|
3525
3394
|
llx: number;
|
|
3526
3395
|
lly: number;
|
|
3527
3396
|
urx: number;
|
|
3528
3397
|
ury: number;
|
|
3529
3398
|
data: string | null;
|
|
3530
|
-
title: string;
|
|
3531
3399
|
effect: string;
|
|
3532
3400
|
source: string;
|
|
3533
3401
|
uploadTime: string;
|
|
3534
3402
|
}>;
|
|
3535
3403
|
}, "strip", z.ZodTypeAny, {
|
|
3536
|
-
photoRefId: string;
|
|
3537
3404
|
url: string;
|
|
3405
|
+
photoRefId: string;
|
|
3538
3406
|
encryptId: string;
|
|
3539
3407
|
photoId: string;
|
|
3540
3408
|
photoMetadata: {
|
|
3409
|
+
id: string;
|
|
3410
|
+
title: string;
|
|
3541
3411
|
width: number;
|
|
3542
3412
|
height: number;
|
|
3543
3413
|
rotation: number;
|
|
3544
|
-
id: string;
|
|
3545
3414
|
llx: number;
|
|
3546
3415
|
lly: number;
|
|
3547
3416
|
urx: number;
|
|
3548
3417
|
ury: number;
|
|
3549
3418
|
data: string | null;
|
|
3550
|
-
title: string;
|
|
3551
3419
|
effect: string;
|
|
3552
3420
|
source: string;
|
|
3553
3421
|
uploadTime: string;
|
|
3554
3422
|
};
|
|
3555
3423
|
}, {
|
|
3556
|
-
photoRefId: string;
|
|
3557
3424
|
url: string;
|
|
3425
|
+
photoRefId: string;
|
|
3558
3426
|
encryptId: string;
|
|
3559
3427
|
photoId: string;
|
|
3560
3428
|
photoMetadata: {
|
|
3429
|
+
id: string;
|
|
3430
|
+
title: string;
|
|
3561
3431
|
width: number;
|
|
3562
3432
|
height: number;
|
|
3563
3433
|
rotation: number;
|
|
3564
|
-
id: string;
|
|
3565
3434
|
llx: number;
|
|
3566
3435
|
lly: number;
|
|
3567
3436
|
urx: number;
|
|
3568
3437
|
ury: number;
|
|
3569
3438
|
data: string | null;
|
|
3570
|
-
title: string;
|
|
3571
3439
|
effect: string;
|
|
3572
3440
|
source: string;
|
|
3573
3441
|
uploadTime: string;
|
|
@@ -3606,21 +3474,21 @@ declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
3606
3474
|
};
|
|
3607
3475
|
}[];
|
|
3608
3476
|
photoStrip: {
|
|
3609
|
-
photoRefId: string;
|
|
3610
3477
|
url: string;
|
|
3478
|
+
photoRefId: string;
|
|
3611
3479
|
encryptId: string;
|
|
3612
3480
|
photoId: string;
|
|
3613
3481
|
photoMetadata: {
|
|
3482
|
+
id: string;
|
|
3483
|
+
title: string;
|
|
3614
3484
|
width: number;
|
|
3615
3485
|
height: number;
|
|
3616
3486
|
rotation: number;
|
|
3617
|
-
id: string;
|
|
3618
3487
|
llx: number;
|
|
3619
3488
|
lly: number;
|
|
3620
3489
|
urx: number;
|
|
3621
3490
|
ury: number;
|
|
3622
3491
|
data: string | null;
|
|
3623
|
-
title: string;
|
|
3624
3492
|
effect: string;
|
|
3625
3493
|
source: string;
|
|
3626
3494
|
uploadTime: string;
|
|
@@ -3659,21 +3527,21 @@ declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
3659
3527
|
};
|
|
3660
3528
|
}[];
|
|
3661
3529
|
photoStrip: {
|
|
3662
|
-
photoRefId: string;
|
|
3663
3530
|
url: string;
|
|
3531
|
+
photoRefId: string;
|
|
3664
3532
|
encryptId: string;
|
|
3665
3533
|
photoId: string;
|
|
3666
3534
|
photoMetadata: {
|
|
3535
|
+
id: string;
|
|
3536
|
+
title: string;
|
|
3667
3537
|
width: number;
|
|
3668
3538
|
height: number;
|
|
3669
3539
|
rotation: number;
|
|
3670
|
-
id: string;
|
|
3671
3540
|
llx: number;
|
|
3672
3541
|
lly: number;
|
|
3673
3542
|
urx: number;
|
|
3674
3543
|
ury: number;
|
|
3675
3544
|
data: string | null;
|
|
3676
|
-
title: string;
|
|
3677
3545
|
effect: string;
|
|
3678
3546
|
source: string;
|
|
3679
3547
|
uploadTime: string;
|
|
@@ -3741,21 +3609,21 @@ declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
3741
3609
|
};
|
|
3742
3610
|
}[];
|
|
3743
3611
|
photoStrip: {
|
|
3744
|
-
photoRefId: string;
|
|
3745
3612
|
url: string;
|
|
3613
|
+
photoRefId: string;
|
|
3746
3614
|
encryptId: string;
|
|
3747
3615
|
photoId: string;
|
|
3748
3616
|
photoMetadata: {
|
|
3617
|
+
id: string;
|
|
3618
|
+
title: string;
|
|
3749
3619
|
width: number;
|
|
3750
3620
|
height: number;
|
|
3751
3621
|
rotation: number;
|
|
3752
|
-
id: string;
|
|
3753
3622
|
llx: number;
|
|
3754
3623
|
lly: number;
|
|
3755
3624
|
urx: number;
|
|
3756
3625
|
ury: number;
|
|
3757
3626
|
data: string | null;
|
|
3758
|
-
title: string;
|
|
3759
3627
|
effect: string;
|
|
3760
3628
|
source: string;
|
|
3761
3629
|
uploadTime: string;
|
|
@@ -3807,21 +3675,21 @@ declare const bookCreationRequestSchema: z.ZodObject<{
|
|
|
3807
3675
|
};
|
|
3808
3676
|
}[];
|
|
3809
3677
|
photoStrip: {
|
|
3810
|
-
photoRefId: string;
|
|
3811
3678
|
url: string;
|
|
3679
|
+
photoRefId: string;
|
|
3812
3680
|
encryptId: string;
|
|
3813
3681
|
photoId: string;
|
|
3814
3682
|
photoMetadata: {
|
|
3683
|
+
id: string;
|
|
3684
|
+
title: string;
|
|
3815
3685
|
width: number;
|
|
3816
3686
|
height: number;
|
|
3817
3687
|
rotation: number;
|
|
3818
|
-
id: string;
|
|
3819
3688
|
llx: number;
|
|
3820
3689
|
lly: number;
|
|
3821
3690
|
urx: number;
|
|
3822
3691
|
ury: number;
|
|
3823
3692
|
data: string | null;
|
|
3824
|
-
title: string;
|
|
3825
3693
|
effect: string;
|
|
3826
3694
|
source: string;
|
|
3827
3695
|
uploadTime: string;
|