document-operations 1.1.203 → 1.1.205

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/dist/index.d.cts CHANGED
@@ -82,15 +82,15 @@ declare const DocumentInputSchema: z.ZodUnion<readonly [z.ZodObject<{
82
82
  ods: "ods";
83
83
  odg: "odg";
84
84
  svg: "svg";
85
+ odf: "odf";
85
86
  csv: "csv";
86
87
  markdown: "markdown";
87
88
  rtf: "rtf";
88
89
  doc: "doc";
89
90
  xls: "xls";
90
91
  ppt: "ppt";
91
- epub: "epub";
92
92
  wpd: "wpd";
93
- odf: "odf";
93
+ epub: "epub";
94
94
  pdf: "pdf";
95
95
  }>;
96
96
  }, z.core.$strip>]>;
@@ -144,15 +144,15 @@ declare const ComputeFormulaOutputSchema: z.ZodObject<{
144
144
  ods: "ods";
145
145
  odg: "odg";
146
146
  svg: "svg";
147
+ odf: "odf";
147
148
  csv: "csv";
148
149
  markdown: "markdown";
149
150
  rtf: "rtf";
150
151
  doc: "doc";
151
152
  xls: "xls";
152
153
  ppt: "ppt";
153
- epub: "epub";
154
154
  wpd: "wpd";
155
- odf: "odf";
155
+ epub: "epub";
156
156
  pdf: "pdf";
157
157
  }>;
158
158
  documentKind: z.ZodEnum<{
@@ -174,9 +174,9 @@ declare const ComputeFormulaOutputSchema: z.ZodObject<{
174
174
  kind: z.ZodLiteral<"quantity">;
175
175
  magnitude: z.ZodNumber;
176
176
  dimension: z.ZodRecord<z.ZodEnum<{
177
+ time: "time";
177
178
  length: "length";
178
179
  mass: "mass";
179
- time: "time";
180
180
  electricCurrent: "electricCurrent";
181
181
  thermodynamicTemperature: "thermodynamicTemperature";
182
182
  amountOfSubstance: "amountOfSubstance";
@@ -187,9 +187,9 @@ declare const ComputeFormulaOutputSchema: z.ZodObject<{
187
187
  min: z.ZodNumber;
188
188
  max: z.ZodNumber;
189
189
  dimension: z.ZodRecord<z.ZodEnum<{
190
+ time: "time";
190
191
  length: "length";
191
192
  mass: "mass";
192
- time: "time";
193
193
  electricCurrent: "electricCurrent";
194
194
  thermodynamicTemperature: "thermodynamicTemperature";
195
195
  amountOfSubstance: "amountOfSubstance";
@@ -207,7 +207,7 @@ declare const ComputeFormulaOutputSchema: z.ZodObject<{
207
207
  }, z.core.$strip>;
208
208
  declare const computeFormulaOperation: {
209
209
  run: (input: unknown, context?: DocumentOperationContext) => Promise<{
210
- sourceFormat: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "svg" | "csv" | "markdown" | "rtf" | "doc" | "xls" | "ppt" | "epub" | "wpd" | "odf" | "pdf";
210
+ sourceFormat: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "svg" | "odf" | "csv" | "markdown" | "rtf" | "doc" | "xls" | "ppt" | "wpd" | "epub" | "pdf";
211
211
  documentKind: "wordprocessing" | "presentation" | "spreadsheet" | "drawing" | "formula";
212
212
  formulaCount: number;
213
213
  formulas: {
@@ -218,12 +218,12 @@ declare const computeFormulaOperation: {
218
218
  result: {
219
219
  kind: "quantity";
220
220
  magnitude: number;
221
- dimension: Partial<Record<"length" | "mass" | "time" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
221
+ dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
222
222
  } | {
223
223
  kind: "interval";
224
224
  min: number;
225
225
  max: number;
226
- dimension: Partial<Record<"length" | "mass" | "time" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
226
+ dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
227
227
  };
228
228
  } | {
229
229
  status: "no-content";
@@ -253,15 +253,15 @@ declare const computeFormulaOperation: {
253
253
  ods: "ods";
254
254
  odg: "odg";
255
255
  svg: "svg";
256
+ odf: "odf";
256
257
  csv: "csv";
257
258
  markdown: "markdown";
258
259
  rtf: "rtf";
259
260
  doc: "doc";
260
261
  xls: "xls";
261
262
  ppt: "ppt";
262
- epub: "epub";
263
263
  wpd: "wpd";
264
- odf: "odf";
264
+ epub: "epub";
265
265
  pdf: "pdf";
266
266
  }>;
267
267
  }, z.core.$strip>]>;
@@ -269,9 +269,9 @@ declare const computeFormulaOperation: {
269
269
  kind: z.ZodLiteral<"quantity">;
270
270
  magnitude: z.ZodNumber;
271
271
  dimension: z.ZodRecord<z.ZodEnum<{
272
+ time: "time";
272
273
  length: "length";
273
274
  mass: "mass";
274
- time: "time";
275
275
  electricCurrent: "electricCurrent";
276
276
  thermodynamicTemperature: "thermodynamicTemperature";
277
277
  amountOfSubstance: "amountOfSubstance";
@@ -282,9 +282,9 @@ declare const computeFormulaOperation: {
282
282
  min: z.ZodNumber;
283
283
  max: z.ZodNumber;
284
284
  dimension: z.ZodRecord<z.ZodEnum<{
285
+ time: "time";
285
286
  length: "length";
286
287
  mass: "mass";
287
- time: "time";
288
288
  electricCurrent: "electricCurrent";
289
289
  thermodynamicTemperature: "thermodynamicTemperature";
290
290
  amountOfSubstance: "amountOfSubstance";
@@ -302,15 +302,15 @@ declare const computeFormulaOperation: {
302
302
  ods: "ods";
303
303
  odg: "odg";
304
304
  svg: "svg";
305
+ odf: "odf";
305
306
  csv: "csv";
306
307
  markdown: "markdown";
307
308
  rtf: "rtf";
308
309
  doc: "doc";
309
310
  xls: "xls";
310
311
  ppt: "ppt";
311
- epub: "epub";
312
312
  wpd: "wpd";
313
- odf: "odf";
313
+ epub: "epub";
314
314
  pdf: "pdf";
315
315
  }>;
316
316
  documentKind: z.ZodEnum<{
@@ -332,9 +332,9 @@ declare const computeFormulaOperation: {
332
332
  kind: z.ZodLiteral<"quantity">;
333
333
  magnitude: z.ZodNumber;
334
334
  dimension: z.ZodRecord<z.ZodEnum<{
335
+ time: "time";
335
336
  length: "length";
336
337
  mass: "mass";
337
- time: "time";
338
338
  electricCurrent: "electricCurrent";
339
339
  thermodynamicTemperature: "thermodynamicTemperature";
340
340
  amountOfSubstance: "amountOfSubstance";
@@ -345,9 +345,9 @@ declare const computeFormulaOperation: {
345
345
  min: z.ZodNumber;
346
346
  max: z.ZodNumber;
347
347
  dimension: z.ZodRecord<z.ZodEnum<{
348
+ time: "time";
348
349
  length: "length";
349
350
  mass: "mass";
350
- time: "time";
351
351
  electricCurrent: "electricCurrent";
352
352
  thermodynamicTemperature: "thermodynamicTemperature";
353
353
  amountOfSubstance: "amountOfSubstance";
@@ -382,15 +382,15 @@ declare const ConvertDocumentOutputSchema: z.ZodObject<{
382
382
  ods: "ods";
383
383
  odg: "odg";
384
384
  svg: "svg";
385
+ odf: "odf";
385
386
  csv: "csv";
386
387
  markdown: "markdown";
387
388
  rtf: "rtf";
388
389
  doc: "doc";
389
390
  xls: "xls";
390
391
  ppt: "ppt";
391
- epub: "epub";
392
392
  wpd: "wpd";
393
- odf: "odf";
393
+ epub: "epub";
394
394
  pdf: "pdf";
395
395
  }>;
396
396
  output: z.ZodUnion<readonly [z.ZodObject<{
@@ -432,15 +432,15 @@ declare const ListDocumentConversionsOutputSchema: z.ZodObject<{
432
432
  ods: "ods";
433
433
  odg: "odg";
434
434
  svg: "svg";
435
+ odf: "odf";
435
436
  csv: "csv";
436
437
  markdown: "markdown";
437
438
  rtf: "rtf";
438
439
  doc: "doc";
439
440
  xls: "xls";
440
441
  ppt: "ppt";
441
- epub: "epub";
442
442
  wpd: "wpd";
443
- odf: "odf";
443
+ epub: "epub";
444
444
  pdf: "pdf";
445
445
  }>;
446
446
  target: z.ZodEnum<{
@@ -452,22 +452,22 @@ declare const ListDocumentConversionsOutputSchema: z.ZodObject<{
452
452
  ods: "ods";
453
453
  odg: "odg";
454
454
  svg: "svg";
455
+ odf: "odf";
455
456
  csv: "csv";
456
457
  markdown: "markdown";
457
458
  rtf: "rtf";
458
459
  doc: "doc";
459
460
  xls: "xls";
460
461
  ppt: "ppt";
461
- epub: "epub";
462
462
  wpd: "wpd";
463
- odf: "odf";
463
+ epub: "epub";
464
464
  pdf: "pdf";
465
465
  }>;
466
466
  }, z.core.$strip>>;
467
467
  }, z.core.$strip>;
468
468
  declare const convertDocumentOperation: {
469
469
  run: (input: unknown, context?: DocumentOperationContext) => Promise<{
470
- targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "svg" | "csv" | "markdown" | "rtf" | "doc" | "xls" | "ppt" | "epub" | "wpd" | "odf" | "pdf";
470
+ targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "svg" | "odf" | "csv" | "markdown" | "rtf" | "doc" | "xls" | "ppt" | "wpd" | "epub" | "pdf";
471
471
  output: {
472
472
  path: string;
473
473
  byteLength: number;
@@ -507,15 +507,15 @@ declare const convertDocumentOperation: {
507
507
  ods: "ods";
508
508
  odg: "odg";
509
509
  svg: "svg";
510
+ odf: "odf";
510
511
  csv: "csv";
511
512
  markdown: "markdown";
512
513
  rtf: "rtf";
513
514
  doc: "doc";
514
515
  xls: "xls";
515
516
  ppt: "ppt";
516
- epub: "epub";
517
517
  wpd: "wpd";
518
- odf: "odf";
518
+ epub: "epub";
519
519
  pdf: "pdf";
520
520
  }>;
521
521
  }, z.core.$strip>]>;
@@ -528,15 +528,15 @@ declare const convertDocumentOperation: {
528
528
  ods: "ods";
529
529
  odg: "odg";
530
530
  svg: "svg";
531
+ odf: "odf";
531
532
  csv: "csv";
532
533
  markdown: "markdown";
533
534
  rtf: "rtf";
534
535
  doc: "doc";
535
536
  xls: "xls";
536
537
  ppt: "ppt";
537
- epub: "epub";
538
538
  wpd: "wpd";
539
- odf: "odf";
539
+ epub: "epub";
540
540
  pdf: "pdf";
541
541
  }>;
542
542
  output: z.ZodOptional<z.ZodObject<{
@@ -561,15 +561,15 @@ declare const convertDocumentOperation: {
561
561
  ods: "ods";
562
562
  odg: "odg";
563
563
  svg: "svg";
564
+ odf: "odf";
564
565
  csv: "csv";
565
566
  markdown: "markdown";
566
567
  rtf: "rtf";
567
568
  doc: "doc";
568
569
  xls: "xls";
569
570
  ppt: "ppt";
570
- epub: "epub";
571
571
  wpd: "wpd";
572
- odf: "odf";
572
+ epub: "epub";
573
573
  pdf: "pdf";
574
574
  }>;
575
575
  output: z.ZodUnion<readonly [z.ZodObject<{
@@ -604,8 +604,8 @@ declare const convertDocumentOperation: {
604
604
  declare const listDocumentConversionsOperation: {
605
605
  run: (input: unknown, context?: DocumentOperationContext) => Promise<{
606
606
  conversions: {
607
- source: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "svg" | "csv" | "markdown" | "rtf" | "doc" | "xls" | "ppt" | "epub" | "wpd" | "odf" | "pdf";
608
- target: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "svg" | "csv" | "markdown" | "rtf" | "doc" | "xls" | "ppt" | "epub" | "wpd" | "odf" | "pdf";
607
+ source: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "svg" | "odf" | "csv" | "markdown" | "rtf" | "doc" | "xls" | "ppt" | "wpd" | "epub" | "pdf";
608
+ target: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "svg" | "odf" | "csv" | "markdown" | "rtf" | "doc" | "xls" | "ppt" | "wpd" | "epub" | "pdf";
609
609
  }[];
610
610
  }>;
611
611
  name: string;
@@ -623,15 +623,15 @@ declare const listDocumentConversionsOperation: {
623
623
  ods: "ods";
624
624
  odg: "odg";
625
625
  svg: "svg";
626
+ odf: "odf";
626
627
  csv: "csv";
627
628
  markdown: "markdown";
628
629
  rtf: "rtf";
629
630
  doc: "doc";
630
631
  xls: "xls";
631
632
  ppt: "ppt";
632
- epub: "epub";
633
633
  wpd: "wpd";
634
- odf: "odf";
634
+ epub: "epub";
635
635
  pdf: "pdf";
636
636
  }>;
637
637
  target: z.ZodEnum<{
@@ -643,15 +643,15 @@ declare const listDocumentConversionsOperation: {
643
643
  ods: "ods";
644
644
  odg: "odg";
645
645
  svg: "svg";
646
+ odf: "odf";
646
647
  csv: "csv";
647
648
  markdown: "markdown";
648
649
  rtf: "rtf";
649
650
  doc: "doc";
650
651
  xls: "xls";
651
652
  ppt: "ppt";
652
- epub: "epub";
653
653
  wpd: "wpd";
654
- odf: "odf";
654
+ epub: "epub";
655
655
  pdf: "pdf";
656
656
  }>;
657
657
  }, z.core.$strip>>;
@@ -678,15 +678,15 @@ declare const docxExtrasOperation: {
678
678
  ods: "ods";
679
679
  odg: "odg";
680
680
  svg: "svg";
681
+ odf: "odf";
681
682
  csv: "csv";
682
683
  markdown: "markdown";
683
684
  rtf: "rtf";
684
685
  doc: "doc";
685
686
  xls: "xls";
686
687
  ppt: "ppt";
687
- epub: "epub";
688
688
  wpd: "wpd";
689
- odf: "odf";
689
+ epub: "epub";
690
690
  pdf: "pdf";
691
691
  }>;
692
692
  }, z.core.$strip>]>;
@@ -756,15 +756,15 @@ declare const documentAppendParagraphsOperation: {
756
756
  ods: "ods";
757
757
  odg: "odg";
758
758
  svg: "svg";
759
+ odf: "odf";
759
760
  csv: "csv";
760
761
  markdown: "markdown";
761
762
  rtf: "rtf";
762
763
  doc: "doc";
763
764
  xls: "xls";
764
765
  ppt: "ppt";
765
- epub: "epub";
766
766
  wpd: "wpd";
767
- odf: "odf";
767
+ epub: "epub";
768
768
  pdf: "pdf";
769
769
  }>;
770
770
  }, z.core.$strip>]>;
@@ -779,8 +779,8 @@ declare const documentAppendParagraphsOperation: {
779
779
  headingLevel: z.ZodOptional<z.ZodNumber>;
780
780
  alignment: z.ZodOptional<z.ZodEnum<{
781
781
  left: "left";
782
- right: "right";
783
782
  center: "center";
783
+ right: "right";
784
784
  justify: "justify";
785
785
  }>>;
786
786
  runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -837,15 +837,15 @@ declare const fontsOperation: {
837
837
  ods: "ods";
838
838
  odg: "odg";
839
839
  svg: "svg";
840
+ odf: "odf";
840
841
  csv: "csv";
841
842
  markdown: "markdown";
842
843
  rtf: "rtf";
843
844
  doc: "doc";
844
845
  xls: "xls";
845
846
  ppt: "ppt";
846
- epub: "epub";
847
847
  wpd: "wpd";
848
- odf: "odf";
848
+ epub: "epub";
849
849
  pdf: "pdf";
850
850
  }>;
851
851
  }, z.core.$strip>]>;
@@ -909,15 +909,15 @@ declare const fromPackageOperation: {
909
909
  ods: "ods";
910
910
  odg: "odg";
911
911
  svg: "svg";
912
+ odf: "odf";
912
913
  csv: "csv";
913
914
  markdown: "markdown";
914
915
  rtf: "rtf";
915
916
  doc: "doc";
916
917
  xls: "xls";
917
918
  ppt: "ppt";
918
- epub: "epub";
919
919
  wpd: "wpd";
920
- odf: "odf";
920
+ epub: "epub";
921
921
  pdf: "pdf";
922
922
  }>;
923
923
  }, z.core.$strip>]>;
@@ -930,15 +930,15 @@ declare const fromPackageOperation: {
930
930
  ods: "ods";
931
931
  odg: "odg";
932
932
  svg: "svg";
933
+ odf: "odf";
933
934
  csv: "csv";
934
935
  markdown: "markdown";
935
936
  rtf: "rtf";
936
937
  doc: "doc";
937
938
  xls: "xls";
938
939
  ppt: "ppt";
939
- epub: "epub";
940
940
  wpd: "wpd";
941
- odf: "odf";
941
+ epub: "epub";
942
942
  pdf: "pdf";
943
943
  }>;
944
944
  output: z.ZodOptional<z.ZodObject<{
@@ -994,15 +994,15 @@ declare const metadataReadOperation: {
994
994
  ods: "ods";
995
995
  odg: "odg";
996
996
  svg: "svg";
997
+ odf: "odf";
997
998
  csv: "csv";
998
999
  markdown: "markdown";
999
1000
  rtf: "rtf";
1000
1001
  doc: "doc";
1001
1002
  xls: "xls";
1002
1003
  ppt: "ppt";
1003
- epub: "epub";
1004
1004
  wpd: "wpd";
1005
- odf: "odf";
1005
+ epub: "epub";
1006
1006
  pdf: "pdf";
1007
1007
  }>;
1008
1008
  }, z.core.$strip>]>;
@@ -1034,15 +1034,15 @@ declare const metadataWriteOperation: {
1034
1034
  ods: "ods";
1035
1035
  odg: "odg";
1036
1036
  svg: "svg";
1037
+ odf: "odf";
1037
1038
  csv: "csv";
1038
1039
  markdown: "markdown";
1039
1040
  rtf: "rtf";
1040
1041
  doc: "doc";
1041
1042
  xls: "xls";
1042
1043
  ppt: "ppt";
1043
- epub: "epub";
1044
1044
  wpd: "wpd";
1045
- odf: "odf";
1045
+ epub: "epub";
1046
1046
  pdf: "pdf";
1047
1047
  }>;
1048
1048
  }, z.core.$strip>]>;
@@ -1055,15 +1055,15 @@ declare const metadataWriteOperation: {
1055
1055
  ods: "ods";
1056
1056
  odg: "odg";
1057
1057
  svg: "svg";
1058
+ odf: "odf";
1058
1059
  csv: "csv";
1059
1060
  markdown: "markdown";
1060
1061
  rtf: "rtf";
1061
1062
  doc: "doc";
1062
1063
  xls: "xls";
1063
1064
  ppt: "ppt";
1064
- epub: "epub";
1065
1065
  wpd: "wpd";
1066
- odf: "odf";
1066
+ epub: "epub";
1067
1067
  pdf: "pdf";
1068
1068
  }>;
1069
1069
  output: z.ZodOptional<z.ZodObject<{
@@ -1199,15 +1199,15 @@ declare const odbTablesOperation: {
1199
1199
  ods: "ods";
1200
1200
  odg: "odg";
1201
1201
  svg: "svg";
1202
+ odf: "odf";
1202
1203
  csv: "csv";
1203
1204
  markdown: "markdown";
1204
1205
  rtf: "rtf";
1205
1206
  doc: "doc";
1206
1207
  xls: "xls";
1207
1208
  ppt: "ppt";
1208
- epub: "epub";
1209
1209
  wpd: "wpd";
1210
- odf: "odf";
1210
+ epub: "epub";
1211
1211
  pdf: "pdf";
1212
1212
  }>;
1213
1213
  }, z.core.$strip>]>;
@@ -1232,15 +1232,15 @@ declare const odbFormsOperation: {
1232
1232
  ods: "ods";
1233
1233
  odg: "odg";
1234
1234
  svg: "svg";
1235
+ odf: "odf";
1235
1236
  csv: "csv";
1236
1237
  markdown: "markdown";
1237
1238
  rtf: "rtf";
1238
1239
  doc: "doc";
1239
1240
  xls: "xls";
1240
1241
  ppt: "ppt";
1241
- epub: "epub";
1242
1242
  wpd: "wpd";
1243
- odf: "odf";
1243
+ epub: "epub";
1244
1244
  pdf: "pdf";
1245
1245
  }>;
1246
1246
  }, z.core.$strip>]>;
@@ -1265,15 +1265,15 @@ declare const odbReportsOperation: {
1265
1265
  ods: "ods";
1266
1266
  odg: "odg";
1267
1267
  svg: "svg";
1268
+ odf: "odf";
1268
1269
  csv: "csv";
1269
1270
  markdown: "markdown";
1270
1271
  rtf: "rtf";
1271
1272
  doc: "doc";
1272
1273
  xls: "xls";
1273
1274
  ppt: "ppt";
1274
- epub: "epub";
1275
1275
  wpd: "wpd";
1276
- odf: "odf";
1276
+ epub: "epub";
1277
1277
  pdf: "pdf";
1278
1278
  }>;
1279
1279
  }, z.core.$strip>]>;
@@ -1298,15 +1298,15 @@ declare const odbQueryOperation: {
1298
1298
  ods: "ods";
1299
1299
  odg: "odg";
1300
1300
  svg: "svg";
1301
+ odf: "odf";
1301
1302
  csv: "csv";
1302
1303
  markdown: "markdown";
1303
1304
  rtf: "rtf";
1304
1305
  doc: "doc";
1305
1306
  xls: "xls";
1306
1307
  ppt: "ppt";
1307
- epub: "epub";
1308
1308
  wpd: "wpd";
1309
- odf: "odf";
1309
+ epub: "epub";
1310
1310
  pdf: "pdf";
1311
1311
  }>;
1312
1312
  }, z.core.$strip>]>;
@@ -1333,15 +1333,15 @@ declare const odbToCsvOperation: {
1333
1333
  ods: "ods";
1334
1334
  odg: "odg";
1335
1335
  svg: "svg";
1336
+ odf: "odf";
1336
1337
  csv: "csv";
1337
1338
  markdown: "markdown";
1338
1339
  rtf: "rtf";
1339
1340
  doc: "doc";
1340
1341
  xls: "xls";
1341
1342
  ppt: "ppt";
1342
- epub: "epub";
1343
1343
  wpd: "wpd";
1344
- odf: "odf";
1344
+ epub: "epub";
1345
1345
  pdf: "pdf";
1346
1346
  }>;
1347
1347
  }, z.core.$strip>]>;
@@ -1370,15 +1370,15 @@ declare const odbToXlsxOperation: {
1370
1370
  ods: "ods";
1371
1371
  odg: "odg";
1372
1372
  svg: "svg";
1373
+ odf: "odf";
1373
1374
  csv: "csv";
1374
1375
  markdown: "markdown";
1375
1376
  rtf: "rtf";
1376
1377
  doc: "doc";
1377
1378
  xls: "xls";
1378
1379
  ppt: "ppt";
1379
- epub: "epub";
1380
1380
  wpd: "wpd";
1381
- odf: "odf";
1381
+ epub: "epub";
1382
1382
  pdf: "pdf";
1383
1383
  }>;
1384
1384
  }, z.core.$strip>]>;
@@ -1503,15 +1503,15 @@ declare const odbRenderReportOperation: {
1503
1503
  ods: "ods";
1504
1504
  odg: "odg";
1505
1505
  svg: "svg";
1506
+ odf: "odf";
1506
1507
  csv: "csv";
1507
1508
  markdown: "markdown";
1508
1509
  rtf: "rtf";
1509
1510
  doc: "doc";
1510
1511
  xls: "xls";
1511
1512
  ppt: "ppt";
1512
- epub: "epub";
1513
1513
  wpd: "wpd";
1514
- odf: "odf";
1514
+ epub: "epub";
1515
1515
  pdf: "pdf";
1516
1516
  }>;
1517
1517
  }, z.core.$strip>]>;
@@ -1629,15 +1629,15 @@ declare const odmToPdfOperation: {
1629
1629
  ods: "ods";
1630
1630
  odg: "odg";
1631
1631
  svg: "svg";
1632
+ odf: "odf";
1632
1633
  csv: "csv";
1633
1634
  markdown: "markdown";
1634
1635
  rtf: "rtf";
1635
1636
  doc: "doc";
1636
1637
  xls: "xls";
1637
1638
  ppt: "ppt";
1638
- epub: "epub";
1639
1639
  wpd: "wpd";
1640
- odf: "odf";
1640
+ epub: "epub";
1641
1641
  pdf: "pdf";
1642
1642
  }>;
1643
1643
  }, z.core.$strip>]>;
@@ -1691,15 +1691,15 @@ declare const outlineDocumentOperation: {
1691
1691
  ods: "ods";
1692
1692
  odg: "odg";
1693
1693
  svg: "svg";
1694
+ odf: "odf";
1694
1695
  csv: "csv";
1695
1696
  markdown: "markdown";
1696
1697
  rtf: "rtf";
1697
1698
  doc: "doc";
1698
1699
  xls: "xls";
1699
1700
  ppt: "ppt";
1700
- epub: "epub";
1701
1701
  wpd: "wpd";
1702
- odf: "odf";
1702
+ epub: "epub";
1703
1703
  pdf: "pdf";
1704
1704
  }>;
1705
1705
  }, z.core.$strip>]>;
@@ -1786,7 +1786,7 @@ declare const pdfInspectOperation: {
1786
1786
  font: {
1787
1787
  family: string;
1788
1788
  weight: "bold" | "normal";
1789
- style: "italic" | "normal";
1789
+ style: "normal" | "italic";
1790
1790
  };
1791
1791
  sizePt: number;
1792
1792
  color: {
@@ -1953,7 +1953,7 @@ declare const pdfInspectOperation: {
1953
1953
  yPt: number;
1954
1954
  }][] | undefined;
1955
1955
  source?: {
1956
- format: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "markdown" | "rtf" | "epub" | "wpd" | "odf" | "pdf" | "odm" | "odb";
1956
+ format: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "odf" | "markdown" | "rtf" | "wpd" | "epub" | "pdf" | "odm" | "odb";
1957
1957
  xml: string;
1958
1958
  } | undefined;
1959
1959
  }[] | undefined;
@@ -1998,7 +1998,7 @@ declare const pdfInspectOperation: {
1998
1998
  structure?: LayoutStructureElement[] | undefined;
1999
1999
  form?: LayoutFormField[] | undefined;
2000
2000
  source?: Record<string, {
2001
- format: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "markdown" | "rtf" | "epub" | "wpd" | "odf" | "pdf" | "odm" | "odb";
2001
+ format: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "odf" | "markdown" | "rtf" | "wpd" | "epub" | "pdf" | "odm" | "odb";
2002
2002
  xml: string;
2003
2003
  }> | undefined;
2004
2004
  skippedSurfaces?: ("images" | "destinations" | "outline" | "layers" | "structure" | "form" | "residue")[] | undefined;
@@ -2020,15 +2020,15 @@ declare const pdfInspectOperation: {
2020
2020
  ods: "ods";
2021
2021
  odg: "odg";
2022
2022
  svg: "svg";
2023
+ odf: "odf";
2023
2024
  csv: "csv";
2024
2025
  markdown: "markdown";
2025
2026
  rtf: "rtf";
2026
2027
  doc: "doc";
2027
2028
  xls: "xls";
2028
2029
  ppt: "ppt";
2029
- epub: "epub";
2030
2030
  wpd: "wpd";
2031
- odf: "odf";
2031
+ epub: "epub";
2032
2032
  pdf: "pdf";
2033
2033
  }>;
2034
2034
  }, z.core.$strip>]>;
package/dist/index.d.ts CHANGED
@@ -82,15 +82,15 @@ declare const DocumentInputSchema: z.ZodUnion<readonly [z.ZodObject<{
82
82
  ods: "ods";
83
83
  odg: "odg";
84
84
  svg: "svg";
85
+ odf: "odf";
85
86
  csv: "csv";
86
87
  markdown: "markdown";
87
88
  rtf: "rtf";
88
89
  doc: "doc";
89
90
  xls: "xls";
90
91
  ppt: "ppt";
91
- epub: "epub";
92
92
  wpd: "wpd";
93
- odf: "odf";
93
+ epub: "epub";
94
94
  pdf: "pdf";
95
95
  }>;
96
96
  }, z.core.$strip>]>;
@@ -144,15 +144,15 @@ declare const ComputeFormulaOutputSchema: z.ZodObject<{
144
144
  ods: "ods";
145
145
  odg: "odg";
146
146
  svg: "svg";
147
+ odf: "odf";
147
148
  csv: "csv";
148
149
  markdown: "markdown";
149
150
  rtf: "rtf";
150
151
  doc: "doc";
151
152
  xls: "xls";
152
153
  ppt: "ppt";
153
- epub: "epub";
154
154
  wpd: "wpd";
155
- odf: "odf";
155
+ epub: "epub";
156
156
  pdf: "pdf";
157
157
  }>;
158
158
  documentKind: z.ZodEnum<{
@@ -174,9 +174,9 @@ declare const ComputeFormulaOutputSchema: z.ZodObject<{
174
174
  kind: z.ZodLiteral<"quantity">;
175
175
  magnitude: z.ZodNumber;
176
176
  dimension: z.ZodRecord<z.ZodEnum<{
177
+ time: "time";
177
178
  length: "length";
178
179
  mass: "mass";
179
- time: "time";
180
180
  electricCurrent: "electricCurrent";
181
181
  thermodynamicTemperature: "thermodynamicTemperature";
182
182
  amountOfSubstance: "amountOfSubstance";
@@ -187,9 +187,9 @@ declare const ComputeFormulaOutputSchema: z.ZodObject<{
187
187
  min: z.ZodNumber;
188
188
  max: z.ZodNumber;
189
189
  dimension: z.ZodRecord<z.ZodEnum<{
190
+ time: "time";
190
191
  length: "length";
191
192
  mass: "mass";
192
- time: "time";
193
193
  electricCurrent: "electricCurrent";
194
194
  thermodynamicTemperature: "thermodynamicTemperature";
195
195
  amountOfSubstance: "amountOfSubstance";
@@ -207,7 +207,7 @@ declare const ComputeFormulaOutputSchema: z.ZodObject<{
207
207
  }, z.core.$strip>;
208
208
  declare const computeFormulaOperation: {
209
209
  run: (input: unknown, context?: DocumentOperationContext) => Promise<{
210
- sourceFormat: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "svg" | "csv" | "markdown" | "rtf" | "doc" | "xls" | "ppt" | "epub" | "wpd" | "odf" | "pdf";
210
+ sourceFormat: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "svg" | "odf" | "csv" | "markdown" | "rtf" | "doc" | "xls" | "ppt" | "wpd" | "epub" | "pdf";
211
211
  documentKind: "wordprocessing" | "presentation" | "spreadsheet" | "drawing" | "formula";
212
212
  formulaCount: number;
213
213
  formulas: {
@@ -218,12 +218,12 @@ declare const computeFormulaOperation: {
218
218
  result: {
219
219
  kind: "quantity";
220
220
  magnitude: number;
221
- dimension: Partial<Record<"length" | "mass" | "time" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
221
+ dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
222
222
  } | {
223
223
  kind: "interval";
224
224
  min: number;
225
225
  max: number;
226
- dimension: Partial<Record<"length" | "mass" | "time" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
226
+ dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
227
227
  };
228
228
  } | {
229
229
  status: "no-content";
@@ -253,15 +253,15 @@ declare const computeFormulaOperation: {
253
253
  ods: "ods";
254
254
  odg: "odg";
255
255
  svg: "svg";
256
+ odf: "odf";
256
257
  csv: "csv";
257
258
  markdown: "markdown";
258
259
  rtf: "rtf";
259
260
  doc: "doc";
260
261
  xls: "xls";
261
262
  ppt: "ppt";
262
- epub: "epub";
263
263
  wpd: "wpd";
264
- odf: "odf";
264
+ epub: "epub";
265
265
  pdf: "pdf";
266
266
  }>;
267
267
  }, z.core.$strip>]>;
@@ -269,9 +269,9 @@ declare const computeFormulaOperation: {
269
269
  kind: z.ZodLiteral<"quantity">;
270
270
  magnitude: z.ZodNumber;
271
271
  dimension: z.ZodRecord<z.ZodEnum<{
272
+ time: "time";
272
273
  length: "length";
273
274
  mass: "mass";
274
- time: "time";
275
275
  electricCurrent: "electricCurrent";
276
276
  thermodynamicTemperature: "thermodynamicTemperature";
277
277
  amountOfSubstance: "amountOfSubstance";
@@ -282,9 +282,9 @@ declare const computeFormulaOperation: {
282
282
  min: z.ZodNumber;
283
283
  max: z.ZodNumber;
284
284
  dimension: z.ZodRecord<z.ZodEnum<{
285
+ time: "time";
285
286
  length: "length";
286
287
  mass: "mass";
287
- time: "time";
288
288
  electricCurrent: "electricCurrent";
289
289
  thermodynamicTemperature: "thermodynamicTemperature";
290
290
  amountOfSubstance: "amountOfSubstance";
@@ -302,15 +302,15 @@ declare const computeFormulaOperation: {
302
302
  ods: "ods";
303
303
  odg: "odg";
304
304
  svg: "svg";
305
+ odf: "odf";
305
306
  csv: "csv";
306
307
  markdown: "markdown";
307
308
  rtf: "rtf";
308
309
  doc: "doc";
309
310
  xls: "xls";
310
311
  ppt: "ppt";
311
- epub: "epub";
312
312
  wpd: "wpd";
313
- odf: "odf";
313
+ epub: "epub";
314
314
  pdf: "pdf";
315
315
  }>;
316
316
  documentKind: z.ZodEnum<{
@@ -332,9 +332,9 @@ declare const computeFormulaOperation: {
332
332
  kind: z.ZodLiteral<"quantity">;
333
333
  magnitude: z.ZodNumber;
334
334
  dimension: z.ZodRecord<z.ZodEnum<{
335
+ time: "time";
335
336
  length: "length";
336
337
  mass: "mass";
337
- time: "time";
338
338
  electricCurrent: "electricCurrent";
339
339
  thermodynamicTemperature: "thermodynamicTemperature";
340
340
  amountOfSubstance: "amountOfSubstance";
@@ -345,9 +345,9 @@ declare const computeFormulaOperation: {
345
345
  min: z.ZodNumber;
346
346
  max: z.ZodNumber;
347
347
  dimension: z.ZodRecord<z.ZodEnum<{
348
+ time: "time";
348
349
  length: "length";
349
350
  mass: "mass";
350
- time: "time";
351
351
  electricCurrent: "electricCurrent";
352
352
  thermodynamicTemperature: "thermodynamicTemperature";
353
353
  amountOfSubstance: "amountOfSubstance";
@@ -382,15 +382,15 @@ declare const ConvertDocumentOutputSchema: z.ZodObject<{
382
382
  ods: "ods";
383
383
  odg: "odg";
384
384
  svg: "svg";
385
+ odf: "odf";
385
386
  csv: "csv";
386
387
  markdown: "markdown";
387
388
  rtf: "rtf";
388
389
  doc: "doc";
389
390
  xls: "xls";
390
391
  ppt: "ppt";
391
- epub: "epub";
392
392
  wpd: "wpd";
393
- odf: "odf";
393
+ epub: "epub";
394
394
  pdf: "pdf";
395
395
  }>;
396
396
  output: z.ZodUnion<readonly [z.ZodObject<{
@@ -432,15 +432,15 @@ declare const ListDocumentConversionsOutputSchema: z.ZodObject<{
432
432
  ods: "ods";
433
433
  odg: "odg";
434
434
  svg: "svg";
435
+ odf: "odf";
435
436
  csv: "csv";
436
437
  markdown: "markdown";
437
438
  rtf: "rtf";
438
439
  doc: "doc";
439
440
  xls: "xls";
440
441
  ppt: "ppt";
441
- epub: "epub";
442
442
  wpd: "wpd";
443
- odf: "odf";
443
+ epub: "epub";
444
444
  pdf: "pdf";
445
445
  }>;
446
446
  target: z.ZodEnum<{
@@ -452,22 +452,22 @@ declare const ListDocumentConversionsOutputSchema: z.ZodObject<{
452
452
  ods: "ods";
453
453
  odg: "odg";
454
454
  svg: "svg";
455
+ odf: "odf";
455
456
  csv: "csv";
456
457
  markdown: "markdown";
457
458
  rtf: "rtf";
458
459
  doc: "doc";
459
460
  xls: "xls";
460
461
  ppt: "ppt";
461
- epub: "epub";
462
462
  wpd: "wpd";
463
- odf: "odf";
463
+ epub: "epub";
464
464
  pdf: "pdf";
465
465
  }>;
466
466
  }, z.core.$strip>>;
467
467
  }, z.core.$strip>;
468
468
  declare const convertDocumentOperation: {
469
469
  run: (input: unknown, context?: DocumentOperationContext) => Promise<{
470
- targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "svg" | "csv" | "markdown" | "rtf" | "doc" | "xls" | "ppt" | "epub" | "wpd" | "odf" | "pdf";
470
+ targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "svg" | "odf" | "csv" | "markdown" | "rtf" | "doc" | "xls" | "ppt" | "wpd" | "epub" | "pdf";
471
471
  output: {
472
472
  path: string;
473
473
  byteLength: number;
@@ -507,15 +507,15 @@ declare const convertDocumentOperation: {
507
507
  ods: "ods";
508
508
  odg: "odg";
509
509
  svg: "svg";
510
+ odf: "odf";
510
511
  csv: "csv";
511
512
  markdown: "markdown";
512
513
  rtf: "rtf";
513
514
  doc: "doc";
514
515
  xls: "xls";
515
516
  ppt: "ppt";
516
- epub: "epub";
517
517
  wpd: "wpd";
518
- odf: "odf";
518
+ epub: "epub";
519
519
  pdf: "pdf";
520
520
  }>;
521
521
  }, z.core.$strip>]>;
@@ -528,15 +528,15 @@ declare const convertDocumentOperation: {
528
528
  ods: "ods";
529
529
  odg: "odg";
530
530
  svg: "svg";
531
+ odf: "odf";
531
532
  csv: "csv";
532
533
  markdown: "markdown";
533
534
  rtf: "rtf";
534
535
  doc: "doc";
535
536
  xls: "xls";
536
537
  ppt: "ppt";
537
- epub: "epub";
538
538
  wpd: "wpd";
539
- odf: "odf";
539
+ epub: "epub";
540
540
  pdf: "pdf";
541
541
  }>;
542
542
  output: z.ZodOptional<z.ZodObject<{
@@ -561,15 +561,15 @@ declare const convertDocumentOperation: {
561
561
  ods: "ods";
562
562
  odg: "odg";
563
563
  svg: "svg";
564
+ odf: "odf";
564
565
  csv: "csv";
565
566
  markdown: "markdown";
566
567
  rtf: "rtf";
567
568
  doc: "doc";
568
569
  xls: "xls";
569
570
  ppt: "ppt";
570
- epub: "epub";
571
571
  wpd: "wpd";
572
- odf: "odf";
572
+ epub: "epub";
573
573
  pdf: "pdf";
574
574
  }>;
575
575
  output: z.ZodUnion<readonly [z.ZodObject<{
@@ -604,8 +604,8 @@ declare const convertDocumentOperation: {
604
604
  declare const listDocumentConversionsOperation: {
605
605
  run: (input: unknown, context?: DocumentOperationContext) => Promise<{
606
606
  conversions: {
607
- source: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "svg" | "csv" | "markdown" | "rtf" | "doc" | "xls" | "ppt" | "epub" | "wpd" | "odf" | "pdf";
608
- target: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "svg" | "csv" | "markdown" | "rtf" | "doc" | "xls" | "ppt" | "epub" | "wpd" | "odf" | "pdf";
607
+ source: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "svg" | "odf" | "csv" | "markdown" | "rtf" | "doc" | "xls" | "ppt" | "wpd" | "epub" | "pdf";
608
+ target: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "svg" | "odf" | "csv" | "markdown" | "rtf" | "doc" | "xls" | "ppt" | "wpd" | "epub" | "pdf";
609
609
  }[];
610
610
  }>;
611
611
  name: string;
@@ -623,15 +623,15 @@ declare const listDocumentConversionsOperation: {
623
623
  ods: "ods";
624
624
  odg: "odg";
625
625
  svg: "svg";
626
+ odf: "odf";
626
627
  csv: "csv";
627
628
  markdown: "markdown";
628
629
  rtf: "rtf";
629
630
  doc: "doc";
630
631
  xls: "xls";
631
632
  ppt: "ppt";
632
- epub: "epub";
633
633
  wpd: "wpd";
634
- odf: "odf";
634
+ epub: "epub";
635
635
  pdf: "pdf";
636
636
  }>;
637
637
  target: z.ZodEnum<{
@@ -643,15 +643,15 @@ declare const listDocumentConversionsOperation: {
643
643
  ods: "ods";
644
644
  odg: "odg";
645
645
  svg: "svg";
646
+ odf: "odf";
646
647
  csv: "csv";
647
648
  markdown: "markdown";
648
649
  rtf: "rtf";
649
650
  doc: "doc";
650
651
  xls: "xls";
651
652
  ppt: "ppt";
652
- epub: "epub";
653
653
  wpd: "wpd";
654
- odf: "odf";
654
+ epub: "epub";
655
655
  pdf: "pdf";
656
656
  }>;
657
657
  }, z.core.$strip>>;
@@ -678,15 +678,15 @@ declare const docxExtrasOperation: {
678
678
  ods: "ods";
679
679
  odg: "odg";
680
680
  svg: "svg";
681
+ odf: "odf";
681
682
  csv: "csv";
682
683
  markdown: "markdown";
683
684
  rtf: "rtf";
684
685
  doc: "doc";
685
686
  xls: "xls";
686
687
  ppt: "ppt";
687
- epub: "epub";
688
688
  wpd: "wpd";
689
- odf: "odf";
689
+ epub: "epub";
690
690
  pdf: "pdf";
691
691
  }>;
692
692
  }, z.core.$strip>]>;
@@ -756,15 +756,15 @@ declare const documentAppendParagraphsOperation: {
756
756
  ods: "ods";
757
757
  odg: "odg";
758
758
  svg: "svg";
759
+ odf: "odf";
759
760
  csv: "csv";
760
761
  markdown: "markdown";
761
762
  rtf: "rtf";
762
763
  doc: "doc";
763
764
  xls: "xls";
764
765
  ppt: "ppt";
765
- epub: "epub";
766
766
  wpd: "wpd";
767
- odf: "odf";
767
+ epub: "epub";
768
768
  pdf: "pdf";
769
769
  }>;
770
770
  }, z.core.$strip>]>;
@@ -779,8 +779,8 @@ declare const documentAppendParagraphsOperation: {
779
779
  headingLevel: z.ZodOptional<z.ZodNumber>;
780
780
  alignment: z.ZodOptional<z.ZodEnum<{
781
781
  left: "left";
782
- right: "right";
783
782
  center: "center";
783
+ right: "right";
784
784
  justify: "justify";
785
785
  }>>;
786
786
  runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -837,15 +837,15 @@ declare const fontsOperation: {
837
837
  ods: "ods";
838
838
  odg: "odg";
839
839
  svg: "svg";
840
+ odf: "odf";
840
841
  csv: "csv";
841
842
  markdown: "markdown";
842
843
  rtf: "rtf";
843
844
  doc: "doc";
844
845
  xls: "xls";
845
846
  ppt: "ppt";
846
- epub: "epub";
847
847
  wpd: "wpd";
848
- odf: "odf";
848
+ epub: "epub";
849
849
  pdf: "pdf";
850
850
  }>;
851
851
  }, z.core.$strip>]>;
@@ -909,15 +909,15 @@ declare const fromPackageOperation: {
909
909
  ods: "ods";
910
910
  odg: "odg";
911
911
  svg: "svg";
912
+ odf: "odf";
912
913
  csv: "csv";
913
914
  markdown: "markdown";
914
915
  rtf: "rtf";
915
916
  doc: "doc";
916
917
  xls: "xls";
917
918
  ppt: "ppt";
918
- epub: "epub";
919
919
  wpd: "wpd";
920
- odf: "odf";
920
+ epub: "epub";
921
921
  pdf: "pdf";
922
922
  }>;
923
923
  }, z.core.$strip>]>;
@@ -930,15 +930,15 @@ declare const fromPackageOperation: {
930
930
  ods: "ods";
931
931
  odg: "odg";
932
932
  svg: "svg";
933
+ odf: "odf";
933
934
  csv: "csv";
934
935
  markdown: "markdown";
935
936
  rtf: "rtf";
936
937
  doc: "doc";
937
938
  xls: "xls";
938
939
  ppt: "ppt";
939
- epub: "epub";
940
940
  wpd: "wpd";
941
- odf: "odf";
941
+ epub: "epub";
942
942
  pdf: "pdf";
943
943
  }>;
944
944
  output: z.ZodOptional<z.ZodObject<{
@@ -994,15 +994,15 @@ declare const metadataReadOperation: {
994
994
  ods: "ods";
995
995
  odg: "odg";
996
996
  svg: "svg";
997
+ odf: "odf";
997
998
  csv: "csv";
998
999
  markdown: "markdown";
999
1000
  rtf: "rtf";
1000
1001
  doc: "doc";
1001
1002
  xls: "xls";
1002
1003
  ppt: "ppt";
1003
- epub: "epub";
1004
1004
  wpd: "wpd";
1005
- odf: "odf";
1005
+ epub: "epub";
1006
1006
  pdf: "pdf";
1007
1007
  }>;
1008
1008
  }, z.core.$strip>]>;
@@ -1034,15 +1034,15 @@ declare const metadataWriteOperation: {
1034
1034
  ods: "ods";
1035
1035
  odg: "odg";
1036
1036
  svg: "svg";
1037
+ odf: "odf";
1037
1038
  csv: "csv";
1038
1039
  markdown: "markdown";
1039
1040
  rtf: "rtf";
1040
1041
  doc: "doc";
1041
1042
  xls: "xls";
1042
1043
  ppt: "ppt";
1043
- epub: "epub";
1044
1044
  wpd: "wpd";
1045
- odf: "odf";
1045
+ epub: "epub";
1046
1046
  pdf: "pdf";
1047
1047
  }>;
1048
1048
  }, z.core.$strip>]>;
@@ -1055,15 +1055,15 @@ declare const metadataWriteOperation: {
1055
1055
  ods: "ods";
1056
1056
  odg: "odg";
1057
1057
  svg: "svg";
1058
+ odf: "odf";
1058
1059
  csv: "csv";
1059
1060
  markdown: "markdown";
1060
1061
  rtf: "rtf";
1061
1062
  doc: "doc";
1062
1063
  xls: "xls";
1063
1064
  ppt: "ppt";
1064
- epub: "epub";
1065
1065
  wpd: "wpd";
1066
- odf: "odf";
1066
+ epub: "epub";
1067
1067
  pdf: "pdf";
1068
1068
  }>;
1069
1069
  output: z.ZodOptional<z.ZodObject<{
@@ -1199,15 +1199,15 @@ declare const odbTablesOperation: {
1199
1199
  ods: "ods";
1200
1200
  odg: "odg";
1201
1201
  svg: "svg";
1202
+ odf: "odf";
1202
1203
  csv: "csv";
1203
1204
  markdown: "markdown";
1204
1205
  rtf: "rtf";
1205
1206
  doc: "doc";
1206
1207
  xls: "xls";
1207
1208
  ppt: "ppt";
1208
- epub: "epub";
1209
1209
  wpd: "wpd";
1210
- odf: "odf";
1210
+ epub: "epub";
1211
1211
  pdf: "pdf";
1212
1212
  }>;
1213
1213
  }, z.core.$strip>]>;
@@ -1232,15 +1232,15 @@ declare const odbFormsOperation: {
1232
1232
  ods: "ods";
1233
1233
  odg: "odg";
1234
1234
  svg: "svg";
1235
+ odf: "odf";
1235
1236
  csv: "csv";
1236
1237
  markdown: "markdown";
1237
1238
  rtf: "rtf";
1238
1239
  doc: "doc";
1239
1240
  xls: "xls";
1240
1241
  ppt: "ppt";
1241
- epub: "epub";
1242
1242
  wpd: "wpd";
1243
- odf: "odf";
1243
+ epub: "epub";
1244
1244
  pdf: "pdf";
1245
1245
  }>;
1246
1246
  }, z.core.$strip>]>;
@@ -1265,15 +1265,15 @@ declare const odbReportsOperation: {
1265
1265
  ods: "ods";
1266
1266
  odg: "odg";
1267
1267
  svg: "svg";
1268
+ odf: "odf";
1268
1269
  csv: "csv";
1269
1270
  markdown: "markdown";
1270
1271
  rtf: "rtf";
1271
1272
  doc: "doc";
1272
1273
  xls: "xls";
1273
1274
  ppt: "ppt";
1274
- epub: "epub";
1275
1275
  wpd: "wpd";
1276
- odf: "odf";
1276
+ epub: "epub";
1277
1277
  pdf: "pdf";
1278
1278
  }>;
1279
1279
  }, z.core.$strip>]>;
@@ -1298,15 +1298,15 @@ declare const odbQueryOperation: {
1298
1298
  ods: "ods";
1299
1299
  odg: "odg";
1300
1300
  svg: "svg";
1301
+ odf: "odf";
1301
1302
  csv: "csv";
1302
1303
  markdown: "markdown";
1303
1304
  rtf: "rtf";
1304
1305
  doc: "doc";
1305
1306
  xls: "xls";
1306
1307
  ppt: "ppt";
1307
- epub: "epub";
1308
1308
  wpd: "wpd";
1309
- odf: "odf";
1309
+ epub: "epub";
1310
1310
  pdf: "pdf";
1311
1311
  }>;
1312
1312
  }, z.core.$strip>]>;
@@ -1333,15 +1333,15 @@ declare const odbToCsvOperation: {
1333
1333
  ods: "ods";
1334
1334
  odg: "odg";
1335
1335
  svg: "svg";
1336
+ odf: "odf";
1336
1337
  csv: "csv";
1337
1338
  markdown: "markdown";
1338
1339
  rtf: "rtf";
1339
1340
  doc: "doc";
1340
1341
  xls: "xls";
1341
1342
  ppt: "ppt";
1342
- epub: "epub";
1343
1343
  wpd: "wpd";
1344
- odf: "odf";
1344
+ epub: "epub";
1345
1345
  pdf: "pdf";
1346
1346
  }>;
1347
1347
  }, z.core.$strip>]>;
@@ -1370,15 +1370,15 @@ declare const odbToXlsxOperation: {
1370
1370
  ods: "ods";
1371
1371
  odg: "odg";
1372
1372
  svg: "svg";
1373
+ odf: "odf";
1373
1374
  csv: "csv";
1374
1375
  markdown: "markdown";
1375
1376
  rtf: "rtf";
1376
1377
  doc: "doc";
1377
1378
  xls: "xls";
1378
1379
  ppt: "ppt";
1379
- epub: "epub";
1380
1380
  wpd: "wpd";
1381
- odf: "odf";
1381
+ epub: "epub";
1382
1382
  pdf: "pdf";
1383
1383
  }>;
1384
1384
  }, z.core.$strip>]>;
@@ -1503,15 +1503,15 @@ declare const odbRenderReportOperation: {
1503
1503
  ods: "ods";
1504
1504
  odg: "odg";
1505
1505
  svg: "svg";
1506
+ odf: "odf";
1506
1507
  csv: "csv";
1507
1508
  markdown: "markdown";
1508
1509
  rtf: "rtf";
1509
1510
  doc: "doc";
1510
1511
  xls: "xls";
1511
1512
  ppt: "ppt";
1512
- epub: "epub";
1513
1513
  wpd: "wpd";
1514
- odf: "odf";
1514
+ epub: "epub";
1515
1515
  pdf: "pdf";
1516
1516
  }>;
1517
1517
  }, z.core.$strip>]>;
@@ -1629,15 +1629,15 @@ declare const odmToPdfOperation: {
1629
1629
  ods: "ods";
1630
1630
  odg: "odg";
1631
1631
  svg: "svg";
1632
+ odf: "odf";
1632
1633
  csv: "csv";
1633
1634
  markdown: "markdown";
1634
1635
  rtf: "rtf";
1635
1636
  doc: "doc";
1636
1637
  xls: "xls";
1637
1638
  ppt: "ppt";
1638
- epub: "epub";
1639
1639
  wpd: "wpd";
1640
- odf: "odf";
1640
+ epub: "epub";
1641
1641
  pdf: "pdf";
1642
1642
  }>;
1643
1643
  }, z.core.$strip>]>;
@@ -1691,15 +1691,15 @@ declare const outlineDocumentOperation: {
1691
1691
  ods: "ods";
1692
1692
  odg: "odg";
1693
1693
  svg: "svg";
1694
+ odf: "odf";
1694
1695
  csv: "csv";
1695
1696
  markdown: "markdown";
1696
1697
  rtf: "rtf";
1697
1698
  doc: "doc";
1698
1699
  xls: "xls";
1699
1700
  ppt: "ppt";
1700
- epub: "epub";
1701
1701
  wpd: "wpd";
1702
- odf: "odf";
1702
+ epub: "epub";
1703
1703
  pdf: "pdf";
1704
1704
  }>;
1705
1705
  }, z.core.$strip>]>;
@@ -1786,7 +1786,7 @@ declare const pdfInspectOperation: {
1786
1786
  font: {
1787
1787
  family: string;
1788
1788
  weight: "bold" | "normal";
1789
- style: "italic" | "normal";
1789
+ style: "normal" | "italic";
1790
1790
  };
1791
1791
  sizePt: number;
1792
1792
  color: {
@@ -1953,7 +1953,7 @@ declare const pdfInspectOperation: {
1953
1953
  yPt: number;
1954
1954
  }][] | undefined;
1955
1955
  source?: {
1956
- format: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "markdown" | "rtf" | "epub" | "wpd" | "odf" | "pdf" | "odm" | "odb";
1956
+ format: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "odf" | "markdown" | "rtf" | "wpd" | "epub" | "pdf" | "odm" | "odb";
1957
1957
  xml: string;
1958
1958
  } | undefined;
1959
1959
  }[] | undefined;
@@ -1998,7 +1998,7 @@ declare const pdfInspectOperation: {
1998
1998
  structure?: LayoutStructureElement[] | undefined;
1999
1999
  form?: LayoutFormField[] | undefined;
2000
2000
  source?: Record<string, {
2001
- format: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "markdown" | "rtf" | "epub" | "wpd" | "odf" | "pdf" | "odm" | "odb";
2001
+ format: "docx" | "pptx" | "xlsx" | "odt" | "odp" | "ods" | "odg" | "odf" | "markdown" | "rtf" | "wpd" | "epub" | "pdf" | "odm" | "odb";
2002
2002
  xml: string;
2003
2003
  }> | undefined;
2004
2004
  skippedSurfaces?: ("images" | "destinations" | "outline" | "layers" | "structure" | "form" | "residue")[] | undefined;
@@ -2020,15 +2020,15 @@ declare const pdfInspectOperation: {
2020
2020
  ods: "ods";
2021
2021
  odg: "odg";
2022
2022
  svg: "svg";
2023
+ odf: "odf";
2023
2024
  csv: "csv";
2024
2025
  markdown: "markdown";
2025
2026
  rtf: "rtf";
2026
2027
  doc: "doc";
2027
2028
  xls: "xls";
2028
2029
  ppt: "ppt";
2029
- epub: "epub";
2030
2030
  wpd: "wpd";
2031
- odf: "odf";
2031
+ epub: "epub";
2032
2032
  pdf: "pdf";
2033
2033
  }>;
2034
2034
  }, z.core.$strip>]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "document-operations",
3
- "version": "1.1.203",
3
+ "version": "1.1.205",
4
4
  "description": "The canonical set of document-conversion, editing, inspection, and .odb operations documents.js exposes — one Zod input/output schema and one transport-agnostic run() function per operation, shared by document-mcp, document-cli, and a REST API server rather than each defining its own copy.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -82,10 +82,10 @@
82
82
  "license": "MIT",
83
83
  "packageManager": "pnpm@12.4.1+sha512.2e81e399d73fe8390dab25e06aa788ab7a5908248d2f5a370f82b481147a6a7a367bf8048f9a6fdb6460f21a66f0542dedb8b94ca2c8723596741920b1656d4c",
84
84
  "dependencies": {
85
- "document-compute.js": "1.6.150",
85
+ "document-compute.js": "1.6.152",
86
86
  "document-outline.js": "3.10.70",
87
87
  "document-schema.js": "7.16.2",
88
- "documents.js": "14.7.2",
88
+ "documents.js": "14.9.0",
89
89
  "zod": "4.4.3"
90
90
  },
91
91
  "devDependencies": {