document-content-model 7.6.1 → 7.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/codec.d.cts +1 -1
  2. package/dist/codec.d.ts +1 -1
  3. package/dist/{construct-C9cYkjnd.d.cts → construct-GVdTKrE7.d.cts} +3 -3
  4. package/dist/{construct-C9cYkjnd.d.ts → construct-GVdTKrE7.d.ts} +3 -3
  5. package/dist/construct.d.cts +1 -1
  6. package/dist/construct.d.ts +1 -1
  7. package/dist/{content-PPcQWl8e.d.ts → content-DAc4O272.d.ts} +1934 -87
  8. package/dist/{content-JIKLIrji.d.cts → content-SgKmas45.d.cts} +1934 -87
  9. package/dist/content-json-schema-defs.cjs +158 -15
  10. package/dist/content-json-schema-defs.js +158 -15
  11. package/dist/content.cjs +106 -27
  12. package/dist/content.d.cts +2 -2
  13. package/dist/content.d.ts +2 -2
  14. package/dist/content.js +98 -28
  15. package/dist/decompose.d.cts +2 -2
  16. package/dist/decompose.d.ts +2 -2
  17. package/dist/definitions.cjs +1 -10
  18. package/dist/definitions.d.cts +1 -1
  19. package/dist/definitions.d.ts +1 -1
  20. package/dist/definitions.js +2 -11
  21. package/dist/factor-styles.cjs +1 -0
  22. package/dist/factor-styles.d.cts +1 -1
  23. package/dist/factor-styles.d.ts +1 -1
  24. package/dist/factor-styles.js +1 -0
  25. package/dist/flatten.cjs +1 -0
  26. package/dist/flatten.d.cts +1 -1
  27. package/dist/flatten.d.ts +1 -1
  28. package/dist/flatten.js +1 -0
  29. package/dist/index.cjs +9 -0
  30. package/dist/index.d.cts +4 -4
  31. package/dist/index.d.ts +4 -4
  32. package/dist/index.js +2 -2
  33. package/dist/{package-node-B4CHgiVQ.d.ts → package-node-BnFUnaa0.d.ts} +359 -49
  34. package/dist/{package-node-duDMdOvH.d.cts → package-node-DnUyGT61.d.cts} +359 -49
  35. package/dist/package-node.d.cts +1 -1
  36. package/dist/package-node.d.ts +1 -1
  37. package/dist/package.cjs +1 -0
  38. package/dist/package.d.cts +33 -1
  39. package/dist/package.d.ts +33 -1
  40. package/dist/package.js +2 -1
  41. package/dist/schema-io.cjs +2 -2
  42. package/dist/schema-io.d.cts +1 -1
  43. package/dist/schema-io.d.ts +1 -1
  44. package/dist/schema-io.js +2 -2
  45. package/package.json +1 -1
  46. package/schemas/content-document.schema.json +1296 -13
  47. package/schemas/document-tree.schema.json +292 -3
@@ -1,5 +1,5 @@
1
- import { Pt as ContentSheetImage, g as ContentConstructEnd, i as ContentBlock, ln as ContentVector, v as ContentConstructStart, w as ContentEmbeddedObject, z as ContentFormula } from "./content-JIKLIrji.cjs";
2
- import { a as ConstructDescriptor } from "./construct-C9cYkjnd.cjs";
1
+ import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-SgKmas45.cjs";
2
+ import { a as ConstructDescriptor } from "./construct-GVdTKrE7.cjs";
3
3
  import { z } from "zod";
4
4
  //#region src/package-node.d.ts
5
5
  declare const SectionDescriptorSchema: z.ZodObject<{
@@ -23,6 +23,33 @@ declare const SectionDescriptorSchema: z.ZodObject<{
23
23
  }>;
24
24
  xml: z.ZodString;
25
25
  }, z.core.$strict>>;
26
+ origin: z.ZodOptional<z.ZodEnum<{
27
+ body: "body";
28
+ chart: "chart";
29
+ diagram: "diagram";
30
+ table: "table";
31
+ image: "image";
32
+ notes: "notes";
33
+ }>>;
34
+ interpretation: z.ZodOptional<z.ZodObject<{
35
+ transcript: z.ZodOptional<z.ZodObject<{
36
+ text: z.ZodString;
37
+ confidence: z.ZodEnum<{
38
+ high: "high";
39
+ medium: "medium";
40
+ low: "low";
41
+ }>;
42
+ mechanism: z.ZodEnum<{
43
+ deterministic: "deterministic";
44
+ model: "model";
45
+ }>;
46
+ }, z.core.$strip>>;
47
+ description: z.ZodOptional<z.ZodString>;
48
+ by: z.ZodOptional<z.ZodObject<{
49
+ model: z.ZodString;
50
+ at: z.ZodString;
51
+ }, z.core.$strip>>;
52
+ }, z.core.$strip>>;
26
53
  pageSize: z.ZodObject<{
27
54
  widthPt: z.ZodNumber;
28
55
  heightPt: z.ZodNumber;
@@ -73,15 +100,43 @@ declare const SlideDescriptorSchema: z.ZodObject<{
73
100
  }>;
74
101
  xml: z.ZodString;
75
102
  }, z.core.$strict>>;
103
+ notes: z.ZodString;
104
+ origin: z.ZodOptional<z.ZodEnum<{
105
+ body: "body";
106
+ chart: "chart";
107
+ diagram: "diagram";
108
+ table: "table";
109
+ image: "image";
110
+ notes: "notes";
111
+ }>>;
112
+ interpretation: z.ZodOptional<z.ZodObject<{
113
+ transcript: z.ZodOptional<z.ZodObject<{
114
+ text: z.ZodString;
115
+ confidence: z.ZodEnum<{
116
+ high: "high";
117
+ medium: "medium";
118
+ low: "low";
119
+ }>;
120
+ mechanism: z.ZodEnum<{
121
+ deterministic: "deterministic";
122
+ model: "model";
123
+ }>;
124
+ }, z.core.$strip>>;
125
+ description: z.ZodOptional<z.ZodString>;
126
+ by: z.ZodOptional<z.ZodObject<{
127
+ model: z.ZodString;
128
+ at: z.ZodString;
129
+ }, z.core.$strip>>;
130
+ }, z.core.$strip>>;
76
131
  size: z.ZodObject<{
77
132
  widthPt: z.ZodNumber;
78
133
  heightPt: z.ZodNumber;
79
134
  }, z.core.$strip>;
80
- notes: z.ZodString;
81
135
  kind: z.ZodLiteral<"slide">;
82
136
  }, z.core.$strict>;
83
137
  type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
84
138
  declare const SheetDescriptorSchema: z.ZodObject<{
139
+ name: z.ZodString;
85
140
  source: z.ZodOptional<z.ZodObject<{
86
141
  format: z.ZodEnum<{
87
142
  docx: "docx";
@@ -102,7 +157,38 @@ declare const SheetDescriptorSchema: z.ZodObject<{
102
157
  }>;
103
158
  xml: z.ZodString;
104
159
  }, z.core.$strict>>;
105
- name: z.ZodString;
160
+ rows: z.ZodArray<z.ZodObject<{
161
+ index: z.ZodNumber;
162
+ heightPt: z.ZodOptional<z.ZodNumber>;
163
+ hidden: z.ZodOptional<z.ZodBoolean>;
164
+ }, z.core.$strip>>;
165
+ origin: z.ZodOptional<z.ZodEnum<{
166
+ body: "body";
167
+ chart: "chart";
168
+ diagram: "diagram";
169
+ table: "table";
170
+ image: "image";
171
+ notes: "notes";
172
+ }>>;
173
+ interpretation: z.ZodOptional<z.ZodObject<{
174
+ transcript: z.ZodOptional<z.ZodObject<{
175
+ text: z.ZodString;
176
+ confidence: z.ZodEnum<{
177
+ high: "high";
178
+ medium: "medium";
179
+ low: "low";
180
+ }>;
181
+ mechanism: z.ZodEnum<{
182
+ deterministic: "deterministic";
183
+ model: "model";
184
+ }>;
185
+ }, z.core.$strip>>;
186
+ description: z.ZodOptional<z.ZodString>;
187
+ by: z.ZodOptional<z.ZodObject<{
188
+ model: z.ZodString;
189
+ at: z.ZodString;
190
+ }, z.core.$strip>>;
191
+ }, z.core.$strip>>;
106
192
  printSettings: z.ZodObject<{
107
193
  pageSize: z.ZodObject<{
108
194
  widthPt: z.ZodNumber;
@@ -145,6 +231,33 @@ declare const SheetDescriptorSchema: z.ZodObject<{
145
231
  }, z.core.$strip>>;
146
232
  }, z.core.$strip>;
147
233
  cells: z.ZodArray<z.ZodObject<{
234
+ origin: z.ZodOptional<z.ZodEnum<{
235
+ body: "body";
236
+ chart: "chart";
237
+ diagram: "diagram";
238
+ table: "table";
239
+ image: "image";
240
+ notes: "notes";
241
+ }>>;
242
+ interpretation: z.ZodOptional<z.ZodObject<{
243
+ transcript: z.ZodOptional<z.ZodObject<{
244
+ text: z.ZodString;
245
+ confidence: z.ZodEnum<{
246
+ high: "high";
247
+ medium: "medium";
248
+ low: "low";
249
+ }>;
250
+ mechanism: z.ZodEnum<{
251
+ deterministic: "deterministic";
252
+ model: "model";
253
+ }>;
254
+ }, z.core.$strip>>;
255
+ description: z.ZodOptional<z.ZodString>;
256
+ by: z.ZodOptional<z.ZodObject<{
257
+ model: z.ZodString;
258
+ at: z.ZodString;
259
+ }, z.core.$strip>>;
260
+ }, z.core.$strip>>;
148
261
  row: z.ZodNumber;
149
262
  column: z.ZodNumber;
150
263
  value: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -184,8 +297,7 @@ declare const SheetDescriptorSchema: z.ZodObject<{
184
297
  formula: z.ZodOptional<z.ZodString>;
185
298
  displayText: z.ZodString;
186
299
  numberFormatCode: z.ZodOptional<z.ZodString>;
187
- runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
188
- text: z.ZodString;
300
+ font: z.ZodOptional<z.ZodObject<{
189
301
  bold: z.ZodOptional<z.ZodBoolean>;
190
302
  italic: z.ZodOptional<z.ZodBoolean>;
191
303
  underline: z.ZodOptional<z.ZodBoolean>;
@@ -197,6 +309,35 @@ declare const SheetDescriptorSchema: z.ZodObject<{
197
309
  g: z.ZodNumber;
198
310
  b: z.ZodNumber;
199
311
  }, z.core.$strip>>;
312
+ }, z.core.$strip>>;
313
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
314
+ origin: z.ZodOptional<z.ZodEnum<{
315
+ body: "body";
316
+ chart: "chart";
317
+ diagram: "diagram";
318
+ table: "table";
319
+ image: "image";
320
+ notes: "notes";
321
+ }>>;
322
+ interpretation: z.ZodOptional<z.ZodObject<{
323
+ transcript: z.ZodOptional<z.ZodObject<{
324
+ text: z.ZodString;
325
+ confidence: z.ZodEnum<{
326
+ high: "high";
327
+ medium: "medium";
328
+ low: "low";
329
+ }>;
330
+ mechanism: z.ZodEnum<{
331
+ deterministic: "deterministic";
332
+ model: "model";
333
+ }>;
334
+ }, z.core.$strip>>;
335
+ description: z.ZodOptional<z.ZodString>;
336
+ by: z.ZodOptional<z.ZodObject<{
337
+ model: z.ZodString;
338
+ at: z.ZodString;
339
+ }, z.core.$strip>>;
340
+ }, z.core.$strip>>;
200
341
  hyperlink: z.ZodOptional<z.ZodString>;
201
342
  verticalAlign: z.ZodOptional<z.ZodEnum<{
202
343
  superscript: "superscript";
@@ -234,6 +375,18 @@ declare const SheetDescriptorSchema: z.ZodObject<{
234
375
  widthPt: z.ZodNumber;
235
376
  heightPt: z.ZodNumber;
236
377
  }, z.core.$strip>>>;
378
+ bold: z.ZodOptional<z.ZodBoolean>;
379
+ italic: z.ZodOptional<z.ZodBoolean>;
380
+ underline: z.ZodOptional<z.ZodBoolean>;
381
+ strike: z.ZodOptional<z.ZodBoolean>;
382
+ fontFamily: z.ZodOptional<z.ZodString>;
383
+ sizePt: z.ZodOptional<z.ZodNumber>;
384
+ color: z.ZodOptional<z.ZodObject<{
385
+ r: z.ZodNumber;
386
+ g: z.ZodNumber;
387
+ b: z.ZodNumber;
388
+ }, z.core.$strip>>;
389
+ text: z.ZodString;
237
390
  }, z.core.$strip>>>;
238
391
  colSpan: z.ZodOptional<z.ZodNumber>;
239
392
  rowSpan: z.ZodOptional<z.ZodNumber>;
@@ -451,11 +604,6 @@ declare const SheetDescriptorSchema: z.ZodObject<{
451
604
  widthPt: z.ZodOptional<z.ZodNumber>;
452
605
  hidden: z.ZodOptional<z.ZodBoolean>;
453
606
  }, z.core.$strip>>;
454
- rows: z.ZodArray<z.ZodObject<{
455
- index: z.ZodNumber;
456
- heightPt: z.ZodOptional<z.ZodNumber>;
457
- hidden: z.ZodOptional<z.ZodBoolean>;
458
- }, z.core.$strip>>;
459
607
  dataValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
460
608
  ranges: z.ZodArray<z.ZodObject<{
461
609
  startRow: z.ZodNumber;
@@ -466,9 +614,9 @@ declare const SheetDescriptorSchema: z.ZodObject<{
466
614
  type: z.ZodEnum<{
467
615
  date: "date";
468
616
  custom: "custom";
617
+ time: "time";
469
618
  decimal: "decimal";
470
619
  list: "list";
471
- time: "time";
472
620
  whole: "whole";
473
621
  textLength: "textLength";
474
622
  }>;
@@ -939,11 +1087,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
939
1087
  stops: z.ZodArray<z.ZodObject<{
940
1088
  value: z.ZodObject<{
941
1089
  type: z.ZodEnum<{
942
- formula: "formula";
943
- percent: "percent";
944
1090
  num: "num";
945
- max: "max";
946
1091
  min: "min";
1092
+ max: "max";
1093
+ formula: "formula";
1094
+ percent: "percent";
947
1095
  percentile: "percentile";
948
1096
  }>;
949
1097
  value: z.ZodOptional<z.ZodString>;
@@ -986,22 +1134,22 @@ declare const SheetDescriptorSchema: z.ZodObject<{
986
1134
  }, z.core.$strip>, z.ZodObject<{
987
1135
  min: z.ZodObject<{
988
1136
  type: z.ZodEnum<{
989
- formula: "formula";
990
- percent: "percent";
991
1137
  num: "num";
992
- max: "max";
993
1138
  min: "min";
1139
+ max: "max";
1140
+ formula: "formula";
1141
+ percent: "percent";
994
1142
  percentile: "percentile";
995
1143
  }>;
996
1144
  value: z.ZodOptional<z.ZodString>;
997
1145
  }, z.core.$strip>;
998
1146
  max: z.ZodObject<{
999
1147
  type: z.ZodEnum<{
1000
- formula: "formula";
1001
- percent: "percent";
1002
1148
  num: "num";
1003
- max: "max";
1004
1149
  min: "min";
1150
+ max: "max";
1151
+ formula: "formula";
1152
+ percent: "percent";
1005
1153
  percentile: "percentile";
1006
1154
  }>;
1007
1155
  value: z.ZodOptional<z.ZodString>;
@@ -1045,11 +1193,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
1045
1193
  iconSetType: z.ZodString;
1046
1194
  thresholds: z.ZodArray<z.ZodObject<{
1047
1195
  type: z.ZodEnum<{
1048
- formula: "formula";
1049
- percent: "percent";
1050
1196
  num: "num";
1051
- max: "max";
1052
1197
  min: "min";
1198
+ max: "max";
1199
+ formula: "formula";
1200
+ percent: "percent";
1053
1201
  percentile: "percentile";
1054
1202
  }>;
1055
1203
  value: z.ZodOptional<z.ZodString>;
@@ -1110,6 +1258,33 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
1110
1258
  }>;
1111
1259
  xml: z.ZodString;
1112
1260
  }, z.core.$strict>>;
1261
+ origin: z.ZodOptional<z.ZodEnum<{
1262
+ body: "body";
1263
+ chart: "chart";
1264
+ diagram: "diagram";
1265
+ table: "table";
1266
+ image: "image";
1267
+ notes: "notes";
1268
+ }>>;
1269
+ interpretation: z.ZodOptional<z.ZodObject<{
1270
+ transcript: z.ZodOptional<z.ZodObject<{
1271
+ text: z.ZodString;
1272
+ confidence: z.ZodEnum<{
1273
+ high: "high";
1274
+ medium: "medium";
1275
+ low: "low";
1276
+ }>;
1277
+ mechanism: z.ZodEnum<{
1278
+ deterministic: "deterministic";
1279
+ model: "model";
1280
+ }>;
1281
+ }, z.core.$strip>>;
1282
+ description: z.ZodOptional<z.ZodString>;
1283
+ by: z.ZodOptional<z.ZodObject<{
1284
+ model: z.ZodString;
1285
+ at: z.ZodString;
1286
+ }, z.core.$strip>>;
1287
+ }, z.core.$strip>>;
1113
1288
  size: z.ZodObject<{
1114
1289
  widthPt: z.ZodNumber;
1115
1290
  heightPt: z.ZodNumber;
@@ -1118,6 +1293,7 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
1118
1293
  }, z.core.$strict>;
1119
1294
  type DrawPageDescriptor = z.infer<typeof DrawPageDescriptorSchema>;
1120
1295
  declare const ShapeDescriptorSchema: z.ZodObject<{
1296
+ name: z.ZodOptional<z.ZodString>;
1121
1297
  source: z.ZodOptional<z.ZodObject<{
1122
1298
  format: z.ZodEnum<{
1123
1299
  docx: "docx";
@@ -1138,7 +1314,6 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
1138
1314
  }>;
1139
1315
  xml: z.ZodString;
1140
1316
  }, z.core.$strict>>;
1141
- name: z.ZodOptional<z.ZodString>;
1142
1317
  sourcePath: z.ZodOptional<z.ZodString>;
1143
1318
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1144
1319
  pageIndex: z.ZodNumber;
@@ -1147,6 +1322,33 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
1147
1322
  widthPt: z.ZodNumber;
1148
1323
  heightPt: z.ZodNumber;
1149
1324
  }, z.core.$strip>>>;
1325
+ origin: z.ZodOptional<z.ZodEnum<{
1326
+ body: "body";
1327
+ chart: "chart";
1328
+ diagram: "diagram";
1329
+ table: "table";
1330
+ image: "image";
1331
+ notes: "notes";
1332
+ }>>;
1333
+ interpretation: z.ZodOptional<z.ZodObject<{
1334
+ transcript: z.ZodOptional<z.ZodObject<{
1335
+ text: z.ZodString;
1336
+ confidence: z.ZodEnum<{
1337
+ high: "high";
1338
+ medium: "medium";
1339
+ low: "low";
1340
+ }>;
1341
+ mechanism: z.ZodEnum<{
1342
+ deterministic: "deterministic";
1343
+ model: "model";
1344
+ }>;
1345
+ }, z.core.$strip>>;
1346
+ description: z.ZodOptional<z.ZodString>;
1347
+ by: z.ZodOptional<z.ZodObject<{
1348
+ model: z.ZodString;
1349
+ at: z.ZodString;
1350
+ }, z.core.$strip>>;
1351
+ }, z.core.$strip>>;
1150
1352
  frame: z.ZodObject<{
1151
1353
  xPt: z.ZodNumber;
1152
1354
  yPt: z.ZodNumber;
@@ -1164,19 +1366,61 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
1164
1366
  }, z.core.$strict>;
1165
1367
  type ShapeDescriptor = z.infer<typeof ShapeDescriptorSchema>;
1166
1368
  declare const HeadingParagraphSchema: z.ZodObject<{
1369
+ origin: z.ZodOptional<z.ZodEnum<{
1370
+ body: "body";
1371
+ chart: "chart";
1372
+ diagram: "diagram";
1373
+ table: "table";
1374
+ image: "image";
1375
+ notes: "notes";
1376
+ }>>;
1377
+ interpretation: z.ZodOptional<z.ZodObject<{
1378
+ transcript: z.ZodOptional<z.ZodObject<{
1379
+ text: z.ZodString;
1380
+ confidence: z.ZodEnum<{
1381
+ high: "high";
1382
+ medium: "medium";
1383
+ low: "low";
1384
+ }>;
1385
+ mechanism: z.ZodEnum<{
1386
+ deterministic: "deterministic";
1387
+ model: "model";
1388
+ }>;
1389
+ }, z.core.$strip>>;
1390
+ description: z.ZodOptional<z.ZodString>;
1391
+ by: z.ZodOptional<z.ZodObject<{
1392
+ model: z.ZodString;
1393
+ at: z.ZodString;
1394
+ }, z.core.$strip>>;
1395
+ }, z.core.$strip>>;
1167
1396
  kind: z.ZodLiteral<"paragraph">;
1168
1397
  runs: z.ZodArray<z.ZodObject<{
1169
- text: z.ZodString;
1170
- bold: z.ZodOptional<z.ZodBoolean>;
1171
- italic: z.ZodOptional<z.ZodBoolean>;
1172
- underline: z.ZodOptional<z.ZodBoolean>;
1173
- strike: z.ZodOptional<z.ZodBoolean>;
1174
- fontFamily: z.ZodOptional<z.ZodString>;
1175
- sizePt: z.ZodOptional<z.ZodNumber>;
1176
- color: z.ZodOptional<z.ZodObject<{
1177
- r: z.ZodNumber;
1178
- g: z.ZodNumber;
1179
- b: z.ZodNumber;
1398
+ origin: z.ZodOptional<z.ZodEnum<{
1399
+ body: "body";
1400
+ chart: "chart";
1401
+ diagram: "diagram";
1402
+ table: "table";
1403
+ image: "image";
1404
+ notes: "notes";
1405
+ }>>;
1406
+ interpretation: z.ZodOptional<z.ZodObject<{
1407
+ transcript: z.ZodOptional<z.ZodObject<{
1408
+ text: z.ZodString;
1409
+ confidence: z.ZodEnum<{
1410
+ high: "high";
1411
+ medium: "medium";
1412
+ low: "low";
1413
+ }>;
1414
+ mechanism: z.ZodEnum<{
1415
+ deterministic: "deterministic";
1416
+ model: "model";
1417
+ }>;
1418
+ }, z.core.$strip>>;
1419
+ description: z.ZodOptional<z.ZodString>;
1420
+ by: z.ZodOptional<z.ZodObject<{
1421
+ model: z.ZodString;
1422
+ at: z.ZodString;
1423
+ }, z.core.$strip>>;
1180
1424
  }, z.core.$strip>>;
1181
1425
  hyperlink: z.ZodOptional<z.ZodString>;
1182
1426
  verticalAlign: z.ZodOptional<z.ZodEnum<{
@@ -1215,17 +1459,29 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1215
1459
  widthPt: z.ZodNumber;
1216
1460
  heightPt: z.ZodNumber;
1217
1461
  }, z.core.$strip>>>;
1462
+ bold: z.ZodOptional<z.ZodBoolean>;
1463
+ italic: z.ZodOptional<z.ZodBoolean>;
1464
+ underline: z.ZodOptional<z.ZodBoolean>;
1465
+ strike: z.ZodOptional<z.ZodBoolean>;
1466
+ fontFamily: z.ZodOptional<z.ZodString>;
1467
+ sizePt: z.ZodOptional<z.ZodNumber>;
1468
+ color: z.ZodOptional<z.ZodObject<{
1469
+ r: z.ZodNumber;
1470
+ g: z.ZodNumber;
1471
+ b: z.ZodNumber;
1472
+ }, z.core.$strip>>;
1473
+ text: z.ZodString;
1218
1474
  }, z.core.$strip>>;
1219
1475
  constructs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1220
1476
  descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1221
1477
  kind: z.ZodLiteral<"contentControl">;
1222
1478
  controlType: z.ZodEnum<{
1479
+ date: "date";
1223
1480
  richText: "richText";
1224
1481
  plainText: "plainText";
1225
1482
  checkbox: "checkbox";
1226
1483
  dropDown: "dropDown";
1227
1484
  comboBox: "comboBox";
1228
- date: "date";
1229
1485
  picture: "picture";
1230
1486
  repeatingSection: "repeatingSection";
1231
1487
  button: "button";
@@ -1535,19 +1791,61 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1535
1791
  }, z.core.$strip>;
1536
1792
  type HeadingParagraph = z.infer<typeof HeadingParagraphSchema>;
1537
1793
  declare const ListParagraphSchema: z.ZodObject<{
1794
+ origin: z.ZodOptional<z.ZodEnum<{
1795
+ body: "body";
1796
+ chart: "chart";
1797
+ diagram: "diagram";
1798
+ table: "table";
1799
+ image: "image";
1800
+ notes: "notes";
1801
+ }>>;
1802
+ interpretation: z.ZodOptional<z.ZodObject<{
1803
+ transcript: z.ZodOptional<z.ZodObject<{
1804
+ text: z.ZodString;
1805
+ confidence: z.ZodEnum<{
1806
+ high: "high";
1807
+ medium: "medium";
1808
+ low: "low";
1809
+ }>;
1810
+ mechanism: z.ZodEnum<{
1811
+ deterministic: "deterministic";
1812
+ model: "model";
1813
+ }>;
1814
+ }, z.core.$strip>>;
1815
+ description: z.ZodOptional<z.ZodString>;
1816
+ by: z.ZodOptional<z.ZodObject<{
1817
+ model: z.ZodString;
1818
+ at: z.ZodString;
1819
+ }, z.core.$strip>>;
1820
+ }, z.core.$strip>>;
1538
1821
  kind: z.ZodLiteral<"paragraph">;
1539
1822
  runs: z.ZodArray<z.ZodObject<{
1540
- text: z.ZodString;
1541
- bold: z.ZodOptional<z.ZodBoolean>;
1542
- italic: z.ZodOptional<z.ZodBoolean>;
1543
- underline: z.ZodOptional<z.ZodBoolean>;
1544
- strike: z.ZodOptional<z.ZodBoolean>;
1545
- fontFamily: z.ZodOptional<z.ZodString>;
1546
- sizePt: z.ZodOptional<z.ZodNumber>;
1547
- color: z.ZodOptional<z.ZodObject<{
1548
- r: z.ZodNumber;
1549
- g: z.ZodNumber;
1550
- b: z.ZodNumber;
1823
+ origin: z.ZodOptional<z.ZodEnum<{
1824
+ body: "body";
1825
+ chart: "chart";
1826
+ diagram: "diagram";
1827
+ table: "table";
1828
+ image: "image";
1829
+ notes: "notes";
1830
+ }>>;
1831
+ interpretation: z.ZodOptional<z.ZodObject<{
1832
+ transcript: z.ZodOptional<z.ZodObject<{
1833
+ text: z.ZodString;
1834
+ confidence: z.ZodEnum<{
1835
+ high: "high";
1836
+ medium: "medium";
1837
+ low: "low";
1838
+ }>;
1839
+ mechanism: z.ZodEnum<{
1840
+ deterministic: "deterministic";
1841
+ model: "model";
1842
+ }>;
1843
+ }, z.core.$strip>>;
1844
+ description: z.ZodOptional<z.ZodString>;
1845
+ by: z.ZodOptional<z.ZodObject<{
1846
+ model: z.ZodString;
1847
+ at: z.ZodString;
1848
+ }, z.core.$strip>>;
1551
1849
  }, z.core.$strip>>;
1552
1850
  hyperlink: z.ZodOptional<z.ZodString>;
1553
1851
  verticalAlign: z.ZodOptional<z.ZodEnum<{
@@ -1586,17 +1884,29 @@ declare const ListParagraphSchema: z.ZodObject<{
1586
1884
  widthPt: z.ZodNumber;
1587
1885
  heightPt: z.ZodNumber;
1588
1886
  }, z.core.$strip>>>;
1887
+ bold: z.ZodOptional<z.ZodBoolean>;
1888
+ italic: z.ZodOptional<z.ZodBoolean>;
1889
+ underline: z.ZodOptional<z.ZodBoolean>;
1890
+ strike: z.ZodOptional<z.ZodBoolean>;
1891
+ fontFamily: z.ZodOptional<z.ZodString>;
1892
+ sizePt: z.ZodOptional<z.ZodNumber>;
1893
+ color: z.ZodOptional<z.ZodObject<{
1894
+ r: z.ZodNumber;
1895
+ g: z.ZodNumber;
1896
+ b: z.ZodNumber;
1897
+ }, z.core.$strip>>;
1898
+ text: z.ZodString;
1589
1899
  }, z.core.$strip>>;
1590
1900
  constructs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1591
1901
  descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
1592
1902
  kind: z.ZodLiteral<"contentControl">;
1593
1903
  controlType: z.ZodEnum<{
1904
+ date: "date";
1594
1905
  richText: "richText";
1595
1906
  plainText: "plainText";
1596
1907
  checkbox: "checkbox";
1597
1908
  dropDown: "dropDown";
1598
1909
  comboBox: "comboBox";
1599
- date: "date";
1600
1910
  picture: "picture";
1601
1911
  repeatingSection: "repeatingSection";
1602
1912
  button: "button";
@@ -1,2 +1,2 @@
1
- import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-duDMdOvH.cjs";
1
+ import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-DnUyGT61.cjs";
2
2
  export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, TreeBlockLeaf, TreeBlockLeafSchema, TreeGroup, TreeGroupSchema, TreeLeaf, TreeLeafSchema, TreeNode, TreeNodeSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode };
@@ -1,2 +1,2 @@
1
- import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-B4CHgiVQ.js";
1
+ import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-BnFUnaa0.js";
2
2
  export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, TreeBlockLeaf, TreeBlockLeafSchema, TreeGroup, TreeGroupSchema, TreeLeaf, TreeLeafSchema, TreeNode, TreeNodeSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode };
package/dist/package.cjs CHANGED
@@ -32,6 +32,7 @@ const DocumentTreeSchema = zod.z.discriminatedUnion("kind", [
32
32
  zod.z.object({
33
33
  kind: zod.z.literal("spreadsheet"),
34
34
  ...packageEnvelopeFields,
35
+ names: zod.z.array(require_content.ContentDefinedNameSchema).optional(),
35
36
  children: zod.z.array(require_package_node.SheetGroupSchema)
36
37
  }),
37
38
  zod.z.object({
@@ -1,6 +1,6 @@
1
1
  import { d as MathMlNode } from "./mathml-Czqc1mdZ.cjs";
2
2
  import { p as MathExpression } from "./math-BScHxedi.cjs";
3
- import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-duDMdOvH.cjs";
3
+ import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-DnUyGT61.cjs";
4
4
  import { z } from "zod";
5
5
  //#region src/package.d.ts
6
6
  declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -302,6 +302,11 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
302
302
  }, z.core.$strip>;
303
303
  kind: z.ZodLiteral<"presentation">;
304
304
  }, z.core.$strip>, z.ZodObject<{
305
+ names: z.ZodOptional<z.ZodArray<z.ZodObject<{
306
+ name: z.ZodString;
307
+ refersTo: z.ZodString;
308
+ scopeSheetIndex: z.ZodOptional<z.ZodNumber>;
309
+ }, z.core.$strip>>>;
305
310
  children: z.ZodArray<z.ZodCustom<SheetGroupNode, SheetGroupNode>>;
306
311
  pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
307
312
  widthPt: z.ZodNumber;
@@ -601,6 +606,33 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
601
606
  kind: z.ZodLiteral<"drawing">;
602
607
  }, z.core.$strip>, z.ZodObject<{
603
608
  children: z.ZodArray<z.ZodObject<{
609
+ origin: z.ZodOptional<z.ZodEnum<{
610
+ body: "body";
611
+ chart: "chart";
612
+ diagram: "diagram";
613
+ table: "table";
614
+ image: "image";
615
+ notes: "notes";
616
+ }>>;
617
+ interpretation: z.ZodOptional<z.ZodObject<{
618
+ transcript: z.ZodOptional<z.ZodObject<{
619
+ text: z.ZodString;
620
+ confidence: z.ZodEnum<{
621
+ high: "high";
622
+ medium: "medium";
623
+ low: "low";
624
+ }>;
625
+ mechanism: z.ZodEnum<{
626
+ deterministic: "deterministic";
627
+ model: "model";
628
+ }>;
629
+ }, z.core.$strip>>;
630
+ description: z.ZodOptional<z.ZodString>;
631
+ by: z.ZodOptional<z.ZodObject<{
632
+ model: z.ZodString;
633
+ at: z.ZodString;
634
+ }, z.core.$strip>>;
635
+ }, z.core.$strip>>;
604
636
  mathml: z.ZodArray<z.ZodType<MathMlNode, MathMlNode, z.core.$ZodTypeInternals<MathMlNode, MathMlNode>>>;
605
637
  starMath: z.ZodOptional<z.ZodString>;
606
638
  presentation: z.ZodOptional<z.ZodObject<{