document-operations 1.1.32 → 1.1.34
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 +43 -43
- package/dist/index.d.ts +43 -43
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -172,9 +172,9 @@ declare const ComputeFormulaOutputSchema: z.ZodObject<{
|
|
|
172
172
|
kind: z.ZodLiteral<"quantity">;
|
|
173
173
|
magnitude: z.ZodNumber;
|
|
174
174
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
175
|
+
time: "time";
|
|
175
176
|
length: "length";
|
|
176
177
|
mass: "mass";
|
|
177
|
-
time: "time";
|
|
178
178
|
electricCurrent: "electricCurrent";
|
|
179
179
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
180
180
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -185,9 +185,9 @@ declare const ComputeFormulaOutputSchema: z.ZodObject<{
|
|
|
185
185
|
min: z.ZodNumber;
|
|
186
186
|
max: z.ZodNumber;
|
|
187
187
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
188
|
+
time: "time";
|
|
188
189
|
length: "length";
|
|
189
190
|
mass: "mass";
|
|
190
|
-
time: "time";
|
|
191
191
|
electricCurrent: "electricCurrent";
|
|
192
192
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
193
193
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -237,9 +237,9 @@ declare const computeFormulaOperation: {
|
|
|
237
237
|
kind: z.ZodLiteral<"quantity">;
|
|
238
238
|
magnitude: z.ZodNumber;
|
|
239
239
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
240
|
+
time: "time";
|
|
240
241
|
length: "length";
|
|
241
242
|
mass: "mass";
|
|
242
|
-
time: "time";
|
|
243
243
|
electricCurrent: "electricCurrent";
|
|
244
244
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
245
245
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -250,9 +250,9 @@ declare const computeFormulaOperation: {
|
|
|
250
250
|
min: z.ZodNumber;
|
|
251
251
|
max: z.ZodNumber;
|
|
252
252
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
253
|
+
time: "time";
|
|
253
254
|
length: "length";
|
|
254
255
|
mass: "mass";
|
|
255
|
-
time: "time";
|
|
256
256
|
electricCurrent: "electricCurrent";
|
|
257
257
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
258
258
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -300,9 +300,9 @@ declare const computeFormulaOperation: {
|
|
|
300
300
|
kind: z.ZodLiteral<"quantity">;
|
|
301
301
|
magnitude: z.ZodNumber;
|
|
302
302
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
303
|
+
time: "time";
|
|
303
304
|
length: "length";
|
|
304
305
|
mass: "mass";
|
|
305
|
-
time: "time";
|
|
306
306
|
electricCurrent: "electricCurrent";
|
|
307
307
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
308
308
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -313,9 +313,9 @@ declare const computeFormulaOperation: {
|
|
|
313
313
|
min: z.ZodNumber;
|
|
314
314
|
max: z.ZodNumber;
|
|
315
315
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
316
|
+
time: "time";
|
|
316
317
|
length: "length";
|
|
317
318
|
mass: "mass";
|
|
318
|
-
time: "time";
|
|
319
319
|
electricCurrent: "electricCurrent";
|
|
320
320
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
321
321
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -336,20 +336,20 @@ declare const computeFormulaOperation: {
|
|
|
336
336
|
path: string;
|
|
337
337
|
} | {
|
|
338
338
|
bytesBase64: string;
|
|
339
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
339
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
340
340
|
};
|
|
341
341
|
bindings?: Record<string, {
|
|
342
342
|
kind: "quantity";
|
|
343
343
|
magnitude: number;
|
|
344
|
-
dimension: Partial<Record<"length" | "
|
|
344
|
+
dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
|
|
345
345
|
} | {
|
|
346
346
|
kind: "interval";
|
|
347
347
|
min: number;
|
|
348
348
|
max: number;
|
|
349
|
-
dimension: Partial<Record<"length" | "
|
|
349
|
+
dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
|
|
350
350
|
}> | undefined;
|
|
351
351
|
}, context?: DocumentOperationContext): Promise<{
|
|
352
|
-
sourceFormat: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
352
|
+
sourceFormat: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
353
353
|
documentKind: "wordprocessing" | "presentation" | "spreadsheet" | "drawing" | "formula";
|
|
354
354
|
formulaCount: number;
|
|
355
355
|
formulas: {
|
|
@@ -360,12 +360,12 @@ declare const computeFormulaOperation: {
|
|
|
360
360
|
result: {
|
|
361
361
|
kind: "quantity";
|
|
362
362
|
magnitude: number;
|
|
363
|
-
dimension: Partial<Record<"length" | "
|
|
363
|
+
dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
|
|
364
364
|
} | {
|
|
365
365
|
kind: "interval";
|
|
366
366
|
min: number;
|
|
367
367
|
max: number;
|
|
368
|
-
dimension: Partial<Record<"length" | "
|
|
368
|
+
dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
|
|
369
369
|
};
|
|
370
370
|
} | {
|
|
371
371
|
status: "no-content";
|
|
@@ -418,8 +418,8 @@ declare const ConvertDocumentOutputSchema: z.ZodObject<{
|
|
|
418
418
|
}, z.core.$strip>]>;
|
|
419
419
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
420
420
|
severity: z.ZodEnum<{
|
|
421
|
-
warning: "warning";
|
|
422
421
|
info: "info";
|
|
422
|
+
warning: "warning";
|
|
423
423
|
}>;
|
|
424
424
|
code: z.ZodString;
|
|
425
425
|
message: z.ZodString;
|
|
@@ -573,8 +573,8 @@ declare const convertDocumentOperation: {
|
|
|
573
573
|
}, z.core.$strip>]>;
|
|
574
574
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
575
575
|
severity: z.ZodEnum<{
|
|
576
|
-
warning: "warning";
|
|
577
576
|
info: "info";
|
|
577
|
+
warning: "warning";
|
|
578
578
|
}>;
|
|
579
579
|
code: z.ZodString;
|
|
580
580
|
message: z.ZodString;
|
|
@@ -596,9 +596,9 @@ declare const convertDocumentOperation: {
|
|
|
596
596
|
path: string;
|
|
597
597
|
} | {
|
|
598
598
|
bytesBase64: string;
|
|
599
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
599
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
600
600
|
};
|
|
601
|
-
targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
601
|
+
targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
602
602
|
output?: {
|
|
603
603
|
outputPath?: string | undefined;
|
|
604
604
|
} | undefined;
|
|
@@ -611,7 +611,7 @@ declare const convertDocumentOperation: {
|
|
|
611
611
|
onSubstitutionDiagnostics?: boolean | undefined;
|
|
612
612
|
images?: Record<string, string> | undefined;
|
|
613
613
|
}, context?: DocumentOperationContext): Promise<{
|
|
614
|
-
targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
614
|
+
targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
615
615
|
output: {
|
|
616
616
|
path: string;
|
|
617
617
|
byteLength: number;
|
|
@@ -621,7 +621,7 @@ declare const convertDocumentOperation: {
|
|
|
621
621
|
large?: true | undefined;
|
|
622
622
|
};
|
|
623
623
|
diagnostics: {
|
|
624
|
-
severity: "
|
|
624
|
+
severity: "info" | "warning";
|
|
625
625
|
code: string;
|
|
626
626
|
message: string;
|
|
627
627
|
pageIndex?: number | undefined;
|
|
@@ -686,8 +686,8 @@ declare const listDocumentConversionsOperation: {
|
|
|
686
686
|
}, z.core.$strip>;
|
|
687
687
|
run(input: Record<string, never>, context?: DocumentOperationContext): Promise<{
|
|
688
688
|
conversions: {
|
|
689
|
-
source: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
690
|
-
target: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
689
|
+
source: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
690
|
+
target: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
691
691
|
}[];
|
|
692
692
|
}>;
|
|
693
693
|
};
|
|
@@ -729,7 +729,7 @@ declare const docxExtrasOperation: {
|
|
|
729
729
|
path: string;
|
|
730
730
|
} | {
|
|
731
731
|
bytesBase64: string;
|
|
732
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
732
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
733
733
|
};
|
|
734
734
|
}, context?: DocumentOperationContext): Promise<import("documents.js").DocxExtras>;
|
|
735
735
|
};
|
|
@@ -744,8 +744,8 @@ declare const documentCreateOperation: {
|
|
|
744
744
|
docx: "docx";
|
|
745
745
|
pptx: "pptx";
|
|
746
746
|
odt: "odt";
|
|
747
|
-
odp: "odp";
|
|
748
747
|
ods: "ods";
|
|
748
|
+
odp: "odp";
|
|
749
749
|
odg: "odg";
|
|
750
750
|
markdown: "markdown";
|
|
751
751
|
pdf: "pdf";
|
|
@@ -763,7 +763,7 @@ declare const documentCreateOperation: {
|
|
|
763
763
|
large: z.ZodOptional<z.ZodLiteral<true>>;
|
|
764
764
|
}, z.core.$strip>]>;
|
|
765
765
|
run(input: {
|
|
766
|
-
format: "docx" | "pptx" | "odt" | "
|
|
766
|
+
format: "docx" | "pptx" | "odt" | "ods" | "odp" | "odg" | "markdown" | "pdf";
|
|
767
767
|
output?: {
|
|
768
768
|
outputPath?: string | undefined;
|
|
769
769
|
} | undefined;
|
|
@@ -851,7 +851,7 @@ declare const documentAppendParagraphsOperation: {
|
|
|
851
851
|
path: string;
|
|
852
852
|
} | {
|
|
853
853
|
bytesBase64: string;
|
|
854
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
854
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
855
855
|
};
|
|
856
856
|
targetFormat: "docx" | "odt" | "markdown";
|
|
857
857
|
paragraphs: {
|
|
@@ -930,7 +930,7 @@ declare const fontsOperation: {
|
|
|
930
930
|
path: string;
|
|
931
931
|
} | {
|
|
932
932
|
bytesBase64: string;
|
|
933
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
933
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
934
934
|
};
|
|
935
935
|
}, context?: DocumentOperationContext): Promise<{
|
|
936
936
|
faces: {
|
|
@@ -1038,9 +1038,9 @@ declare const fromPackageOperation: {
|
|
|
1038
1038
|
path: string;
|
|
1039
1039
|
} | {
|
|
1040
1040
|
bytesBase64: string;
|
|
1041
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1041
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1042
1042
|
};
|
|
1043
|
-
targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1043
|
+
targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1044
1044
|
output?: {
|
|
1045
1045
|
outputPath?: string | undefined;
|
|
1046
1046
|
} | undefined;
|
|
@@ -1091,7 +1091,7 @@ declare const metadataReadOperation: {
|
|
|
1091
1091
|
path: string;
|
|
1092
1092
|
} | {
|
|
1093
1093
|
bytesBase64: string;
|
|
1094
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1094
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1095
1095
|
};
|
|
1096
1096
|
}, context?: DocumentOperationContext): Promise<{
|
|
1097
1097
|
title?: string | undefined;
|
|
@@ -1185,9 +1185,9 @@ declare const metadataWriteOperation: {
|
|
|
1185
1185
|
path: string;
|
|
1186
1186
|
} | {
|
|
1187
1187
|
bytesBase64: string;
|
|
1188
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1188
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1189
1189
|
};
|
|
1190
|
-
targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1190
|
+
targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1191
1191
|
output?: {
|
|
1192
1192
|
outputPath?: string | undefined;
|
|
1193
1193
|
} | undefined;
|
|
@@ -1337,7 +1337,7 @@ declare const odbTablesOperation: {
|
|
|
1337
1337
|
path: string;
|
|
1338
1338
|
} | {
|
|
1339
1339
|
bytesBase64: string;
|
|
1340
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1340
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1341
1341
|
};
|
|
1342
1342
|
}, context?: DocumentOperationContext): Promise<readonly import("documents.js").HsqldbTable[]>;
|
|
1343
1343
|
};
|
|
@@ -1377,7 +1377,7 @@ declare const odbFormsOperation: {
|
|
|
1377
1377
|
path: string;
|
|
1378
1378
|
} | {
|
|
1379
1379
|
bytesBase64: string;
|
|
1380
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1380
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1381
1381
|
};
|
|
1382
1382
|
}, context?: DocumentOperationContext): Promise<readonly OdbForm[]>;
|
|
1383
1383
|
};
|
|
@@ -1417,7 +1417,7 @@ declare const odbReportsOperation: {
|
|
|
1417
1417
|
path: string;
|
|
1418
1418
|
} | {
|
|
1419
1419
|
bytesBase64: string;
|
|
1420
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1420
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1421
1421
|
};
|
|
1422
1422
|
}, context?: DocumentOperationContext): Promise<readonly OdbReport[]>;
|
|
1423
1423
|
};
|
|
@@ -1459,7 +1459,7 @@ declare const odbQueryOperation: {
|
|
|
1459
1459
|
path: string;
|
|
1460
1460
|
} | {
|
|
1461
1461
|
bytesBase64: string;
|
|
1462
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1462
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1463
1463
|
};
|
|
1464
1464
|
sql?: string | undefined;
|
|
1465
1465
|
query?: string | undefined;
|
|
@@ -1505,7 +1505,7 @@ declare const odbToCsvOperation: {
|
|
|
1505
1505
|
path: string;
|
|
1506
1506
|
} | {
|
|
1507
1507
|
bytesBase64: string;
|
|
1508
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1508
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1509
1509
|
};
|
|
1510
1510
|
table?: string | undefined;
|
|
1511
1511
|
output?: {
|
|
@@ -1552,7 +1552,7 @@ declare const odbToXlsxOperation: {
|
|
|
1552
1552
|
path: string;
|
|
1553
1553
|
} | {
|
|
1554
1554
|
bytesBase64: string;
|
|
1555
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1555
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1556
1556
|
};
|
|
1557
1557
|
output?: {
|
|
1558
1558
|
outputPath?: string | undefined;
|
|
@@ -1720,7 +1720,7 @@ declare const odbRenderReportOperation: {
|
|
|
1720
1720
|
path: string;
|
|
1721
1721
|
} | {
|
|
1722
1722
|
bytesBase64: string;
|
|
1723
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1723
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1724
1724
|
};
|
|
1725
1725
|
targetFormat: "docx" | "odt" | "pdf";
|
|
1726
1726
|
report?: string | undefined;
|
|
@@ -1849,7 +1849,7 @@ declare const odmToPdfOperation: {
|
|
|
1849
1849
|
path: string;
|
|
1850
1850
|
} | {
|
|
1851
1851
|
bytesBase64: string;
|
|
1852
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1852
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1853
1853
|
};
|
|
1854
1854
|
}[];
|
|
1855
1855
|
output: {
|
|
@@ -1917,7 +1917,7 @@ declare const outlineDocumentOperation: {
|
|
|
1917
1917
|
path: string;
|
|
1918
1918
|
} | {
|
|
1919
1919
|
bytesBase64: string;
|
|
1920
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1920
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1921
1921
|
};
|
|
1922
1922
|
}, context?: DocumentOperationContext): Promise<OutlineDocumentOutput>;
|
|
1923
1923
|
};
|
|
@@ -2005,7 +2005,7 @@ declare const pdfInspectOperation: {
|
|
|
2005
2005
|
path: string;
|
|
2006
2006
|
} | {
|
|
2007
2007
|
bytesBase64: string;
|
|
2008
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
2008
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
2009
2009
|
};
|
|
2010
2010
|
full?: boolean | undefined;
|
|
2011
2011
|
}, context?: DocumentOperationContext): Promise<{
|
|
@@ -2041,7 +2041,7 @@ declare const pdfInspectOperation: {
|
|
|
2041
2041
|
font: {
|
|
2042
2042
|
family: string;
|
|
2043
2043
|
weight: "bold" | "normal";
|
|
2044
|
-
style: "
|
|
2044
|
+
style: "normal" | "italic";
|
|
2045
2045
|
};
|
|
2046
2046
|
sizePt: number;
|
|
2047
2047
|
color: {
|
|
@@ -2207,7 +2207,7 @@ declare const pdfInspectOperation: {
|
|
|
2207
2207
|
yPt: number;
|
|
2208
2208
|
}][] | undefined;
|
|
2209
2209
|
source?: {
|
|
2210
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
2210
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odm" | "odb" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd";
|
|
2211
2211
|
xml: string;
|
|
2212
2212
|
} | undefined;
|
|
2213
2213
|
}[] | undefined;
|
|
@@ -2250,7 +2250,7 @@ declare const pdfInspectOperation: {
|
|
|
2250
2250
|
structure?: LayoutStructureElement[] | undefined;
|
|
2251
2251
|
form?: LayoutFormField[] | undefined;
|
|
2252
2252
|
source?: Record<string, {
|
|
2253
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
2253
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odm" | "odb" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd";
|
|
2254
2254
|
xml: string;
|
|
2255
2255
|
}> | undefined;
|
|
2256
2256
|
} | PdfInspectSummary>;
|
package/dist/index.d.ts
CHANGED
|
@@ -172,9 +172,9 @@ declare const ComputeFormulaOutputSchema: z.ZodObject<{
|
|
|
172
172
|
kind: z.ZodLiteral<"quantity">;
|
|
173
173
|
magnitude: z.ZodNumber;
|
|
174
174
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
175
|
+
time: "time";
|
|
175
176
|
length: "length";
|
|
176
177
|
mass: "mass";
|
|
177
|
-
time: "time";
|
|
178
178
|
electricCurrent: "electricCurrent";
|
|
179
179
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
180
180
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -185,9 +185,9 @@ declare const ComputeFormulaOutputSchema: z.ZodObject<{
|
|
|
185
185
|
min: z.ZodNumber;
|
|
186
186
|
max: z.ZodNumber;
|
|
187
187
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
188
|
+
time: "time";
|
|
188
189
|
length: "length";
|
|
189
190
|
mass: "mass";
|
|
190
|
-
time: "time";
|
|
191
191
|
electricCurrent: "electricCurrent";
|
|
192
192
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
193
193
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -237,9 +237,9 @@ declare const computeFormulaOperation: {
|
|
|
237
237
|
kind: z.ZodLiteral<"quantity">;
|
|
238
238
|
magnitude: z.ZodNumber;
|
|
239
239
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
240
|
+
time: "time";
|
|
240
241
|
length: "length";
|
|
241
242
|
mass: "mass";
|
|
242
|
-
time: "time";
|
|
243
243
|
electricCurrent: "electricCurrent";
|
|
244
244
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
245
245
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -250,9 +250,9 @@ declare const computeFormulaOperation: {
|
|
|
250
250
|
min: z.ZodNumber;
|
|
251
251
|
max: z.ZodNumber;
|
|
252
252
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
253
|
+
time: "time";
|
|
253
254
|
length: "length";
|
|
254
255
|
mass: "mass";
|
|
255
|
-
time: "time";
|
|
256
256
|
electricCurrent: "electricCurrent";
|
|
257
257
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
258
258
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -300,9 +300,9 @@ declare const computeFormulaOperation: {
|
|
|
300
300
|
kind: z.ZodLiteral<"quantity">;
|
|
301
301
|
magnitude: z.ZodNumber;
|
|
302
302
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
303
|
+
time: "time";
|
|
303
304
|
length: "length";
|
|
304
305
|
mass: "mass";
|
|
305
|
-
time: "time";
|
|
306
306
|
electricCurrent: "electricCurrent";
|
|
307
307
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
308
308
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -313,9 +313,9 @@ declare const computeFormulaOperation: {
|
|
|
313
313
|
min: z.ZodNumber;
|
|
314
314
|
max: z.ZodNumber;
|
|
315
315
|
dimension: z.ZodRecord<z.ZodEnum<{
|
|
316
|
+
time: "time";
|
|
316
317
|
length: "length";
|
|
317
318
|
mass: "mass";
|
|
318
|
-
time: "time";
|
|
319
319
|
electricCurrent: "electricCurrent";
|
|
320
320
|
thermodynamicTemperature: "thermodynamicTemperature";
|
|
321
321
|
amountOfSubstance: "amountOfSubstance";
|
|
@@ -336,20 +336,20 @@ declare const computeFormulaOperation: {
|
|
|
336
336
|
path: string;
|
|
337
337
|
} | {
|
|
338
338
|
bytesBase64: string;
|
|
339
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
339
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
340
340
|
};
|
|
341
341
|
bindings?: Record<string, {
|
|
342
342
|
kind: "quantity";
|
|
343
343
|
magnitude: number;
|
|
344
|
-
dimension: Partial<Record<"length" | "
|
|
344
|
+
dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
|
|
345
345
|
} | {
|
|
346
346
|
kind: "interval";
|
|
347
347
|
min: number;
|
|
348
348
|
max: number;
|
|
349
|
-
dimension: Partial<Record<"length" | "
|
|
349
|
+
dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
|
|
350
350
|
}> | undefined;
|
|
351
351
|
}, context?: DocumentOperationContext): Promise<{
|
|
352
|
-
sourceFormat: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
352
|
+
sourceFormat: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
353
353
|
documentKind: "wordprocessing" | "presentation" | "spreadsheet" | "drawing" | "formula";
|
|
354
354
|
formulaCount: number;
|
|
355
355
|
formulas: {
|
|
@@ -360,12 +360,12 @@ declare const computeFormulaOperation: {
|
|
|
360
360
|
result: {
|
|
361
361
|
kind: "quantity";
|
|
362
362
|
magnitude: number;
|
|
363
|
-
dimension: Partial<Record<"length" | "
|
|
363
|
+
dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
|
|
364
364
|
} | {
|
|
365
365
|
kind: "interval";
|
|
366
366
|
min: number;
|
|
367
367
|
max: number;
|
|
368
|
-
dimension: Partial<Record<"length" | "
|
|
368
|
+
dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
|
|
369
369
|
};
|
|
370
370
|
} | {
|
|
371
371
|
status: "no-content";
|
|
@@ -418,8 +418,8 @@ declare const ConvertDocumentOutputSchema: z.ZodObject<{
|
|
|
418
418
|
}, z.core.$strip>]>;
|
|
419
419
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
420
420
|
severity: z.ZodEnum<{
|
|
421
|
-
warning: "warning";
|
|
422
421
|
info: "info";
|
|
422
|
+
warning: "warning";
|
|
423
423
|
}>;
|
|
424
424
|
code: z.ZodString;
|
|
425
425
|
message: z.ZodString;
|
|
@@ -573,8 +573,8 @@ declare const convertDocumentOperation: {
|
|
|
573
573
|
}, z.core.$strip>]>;
|
|
574
574
|
diagnostics: z.ZodArray<z.ZodObject<{
|
|
575
575
|
severity: z.ZodEnum<{
|
|
576
|
-
warning: "warning";
|
|
577
576
|
info: "info";
|
|
577
|
+
warning: "warning";
|
|
578
578
|
}>;
|
|
579
579
|
code: z.ZodString;
|
|
580
580
|
message: z.ZodString;
|
|
@@ -596,9 +596,9 @@ declare const convertDocumentOperation: {
|
|
|
596
596
|
path: string;
|
|
597
597
|
} | {
|
|
598
598
|
bytesBase64: string;
|
|
599
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
599
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
600
600
|
};
|
|
601
|
-
targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
601
|
+
targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
602
602
|
output?: {
|
|
603
603
|
outputPath?: string | undefined;
|
|
604
604
|
} | undefined;
|
|
@@ -611,7 +611,7 @@ declare const convertDocumentOperation: {
|
|
|
611
611
|
onSubstitutionDiagnostics?: boolean | undefined;
|
|
612
612
|
images?: Record<string, string> | undefined;
|
|
613
613
|
}, context?: DocumentOperationContext): Promise<{
|
|
614
|
-
targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
614
|
+
targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
615
615
|
output: {
|
|
616
616
|
path: string;
|
|
617
617
|
byteLength: number;
|
|
@@ -621,7 +621,7 @@ declare const convertDocumentOperation: {
|
|
|
621
621
|
large?: true | undefined;
|
|
622
622
|
};
|
|
623
623
|
diagnostics: {
|
|
624
|
-
severity: "
|
|
624
|
+
severity: "info" | "warning";
|
|
625
625
|
code: string;
|
|
626
626
|
message: string;
|
|
627
627
|
pageIndex?: number | undefined;
|
|
@@ -686,8 +686,8 @@ declare const listDocumentConversionsOperation: {
|
|
|
686
686
|
}, z.core.$strip>;
|
|
687
687
|
run(input: Record<string, never>, context?: DocumentOperationContext): Promise<{
|
|
688
688
|
conversions: {
|
|
689
|
-
source: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
690
|
-
target: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
689
|
+
source: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
690
|
+
target: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
691
691
|
}[];
|
|
692
692
|
}>;
|
|
693
693
|
};
|
|
@@ -729,7 +729,7 @@ declare const docxExtrasOperation: {
|
|
|
729
729
|
path: string;
|
|
730
730
|
} | {
|
|
731
731
|
bytesBase64: string;
|
|
732
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
732
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
733
733
|
};
|
|
734
734
|
}, context?: DocumentOperationContext): Promise<import("documents.js").DocxExtras>;
|
|
735
735
|
};
|
|
@@ -744,8 +744,8 @@ declare const documentCreateOperation: {
|
|
|
744
744
|
docx: "docx";
|
|
745
745
|
pptx: "pptx";
|
|
746
746
|
odt: "odt";
|
|
747
|
-
odp: "odp";
|
|
748
747
|
ods: "ods";
|
|
748
|
+
odp: "odp";
|
|
749
749
|
odg: "odg";
|
|
750
750
|
markdown: "markdown";
|
|
751
751
|
pdf: "pdf";
|
|
@@ -763,7 +763,7 @@ declare const documentCreateOperation: {
|
|
|
763
763
|
large: z.ZodOptional<z.ZodLiteral<true>>;
|
|
764
764
|
}, z.core.$strip>]>;
|
|
765
765
|
run(input: {
|
|
766
|
-
format: "docx" | "pptx" | "odt" | "
|
|
766
|
+
format: "docx" | "pptx" | "odt" | "ods" | "odp" | "odg" | "markdown" | "pdf";
|
|
767
767
|
output?: {
|
|
768
768
|
outputPath?: string | undefined;
|
|
769
769
|
} | undefined;
|
|
@@ -851,7 +851,7 @@ declare const documentAppendParagraphsOperation: {
|
|
|
851
851
|
path: string;
|
|
852
852
|
} | {
|
|
853
853
|
bytesBase64: string;
|
|
854
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
854
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
855
855
|
};
|
|
856
856
|
targetFormat: "docx" | "odt" | "markdown";
|
|
857
857
|
paragraphs: {
|
|
@@ -930,7 +930,7 @@ declare const fontsOperation: {
|
|
|
930
930
|
path: string;
|
|
931
931
|
} | {
|
|
932
932
|
bytesBase64: string;
|
|
933
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
933
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
934
934
|
};
|
|
935
935
|
}, context?: DocumentOperationContext): Promise<{
|
|
936
936
|
faces: {
|
|
@@ -1038,9 +1038,9 @@ declare const fromPackageOperation: {
|
|
|
1038
1038
|
path: string;
|
|
1039
1039
|
} | {
|
|
1040
1040
|
bytesBase64: string;
|
|
1041
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1041
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1042
1042
|
};
|
|
1043
|
-
targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1043
|
+
targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1044
1044
|
output?: {
|
|
1045
1045
|
outputPath?: string | undefined;
|
|
1046
1046
|
} | undefined;
|
|
@@ -1091,7 +1091,7 @@ declare const metadataReadOperation: {
|
|
|
1091
1091
|
path: string;
|
|
1092
1092
|
} | {
|
|
1093
1093
|
bytesBase64: string;
|
|
1094
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1094
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1095
1095
|
};
|
|
1096
1096
|
}, context?: DocumentOperationContext): Promise<{
|
|
1097
1097
|
title?: string | undefined;
|
|
@@ -1185,9 +1185,9 @@ declare const metadataWriteOperation: {
|
|
|
1185
1185
|
path: string;
|
|
1186
1186
|
} | {
|
|
1187
1187
|
bytesBase64: string;
|
|
1188
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1188
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1189
1189
|
};
|
|
1190
|
-
targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1190
|
+
targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1191
1191
|
output?: {
|
|
1192
1192
|
outputPath?: string | undefined;
|
|
1193
1193
|
} | undefined;
|
|
@@ -1337,7 +1337,7 @@ declare const odbTablesOperation: {
|
|
|
1337
1337
|
path: string;
|
|
1338
1338
|
} | {
|
|
1339
1339
|
bytesBase64: string;
|
|
1340
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1340
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1341
1341
|
};
|
|
1342
1342
|
}, context?: DocumentOperationContext): Promise<readonly import("documents.js").HsqldbTable[]>;
|
|
1343
1343
|
};
|
|
@@ -1377,7 +1377,7 @@ declare const odbFormsOperation: {
|
|
|
1377
1377
|
path: string;
|
|
1378
1378
|
} | {
|
|
1379
1379
|
bytesBase64: string;
|
|
1380
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1380
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1381
1381
|
};
|
|
1382
1382
|
}, context?: DocumentOperationContext): Promise<readonly OdbForm[]>;
|
|
1383
1383
|
};
|
|
@@ -1417,7 +1417,7 @@ declare const odbReportsOperation: {
|
|
|
1417
1417
|
path: string;
|
|
1418
1418
|
} | {
|
|
1419
1419
|
bytesBase64: string;
|
|
1420
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1420
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1421
1421
|
};
|
|
1422
1422
|
}, context?: DocumentOperationContext): Promise<readonly OdbReport[]>;
|
|
1423
1423
|
};
|
|
@@ -1459,7 +1459,7 @@ declare const odbQueryOperation: {
|
|
|
1459
1459
|
path: string;
|
|
1460
1460
|
} | {
|
|
1461
1461
|
bytesBase64: string;
|
|
1462
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1462
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1463
1463
|
};
|
|
1464
1464
|
sql?: string | undefined;
|
|
1465
1465
|
query?: string | undefined;
|
|
@@ -1505,7 +1505,7 @@ declare const odbToCsvOperation: {
|
|
|
1505
1505
|
path: string;
|
|
1506
1506
|
} | {
|
|
1507
1507
|
bytesBase64: string;
|
|
1508
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1508
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1509
1509
|
};
|
|
1510
1510
|
table?: string | undefined;
|
|
1511
1511
|
output?: {
|
|
@@ -1552,7 +1552,7 @@ declare const odbToXlsxOperation: {
|
|
|
1552
1552
|
path: string;
|
|
1553
1553
|
} | {
|
|
1554
1554
|
bytesBase64: string;
|
|
1555
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1555
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1556
1556
|
};
|
|
1557
1557
|
output?: {
|
|
1558
1558
|
outputPath?: string | undefined;
|
|
@@ -1720,7 +1720,7 @@ declare const odbRenderReportOperation: {
|
|
|
1720
1720
|
path: string;
|
|
1721
1721
|
} | {
|
|
1722
1722
|
bytesBase64: string;
|
|
1723
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1723
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1724
1724
|
};
|
|
1725
1725
|
targetFormat: "docx" | "odt" | "pdf";
|
|
1726
1726
|
report?: string | undefined;
|
|
@@ -1849,7 +1849,7 @@ declare const odmToPdfOperation: {
|
|
|
1849
1849
|
path: string;
|
|
1850
1850
|
} | {
|
|
1851
1851
|
bytesBase64: string;
|
|
1852
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1852
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1853
1853
|
};
|
|
1854
1854
|
}[];
|
|
1855
1855
|
output: {
|
|
@@ -1917,7 +1917,7 @@ declare const outlineDocumentOperation: {
|
|
|
1917
1917
|
path: string;
|
|
1918
1918
|
} | {
|
|
1919
1919
|
bytesBase64: string;
|
|
1920
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
1920
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
1921
1921
|
};
|
|
1922
1922
|
}, context?: DocumentOperationContext): Promise<OutlineDocumentOutput>;
|
|
1923
1923
|
};
|
|
@@ -2005,7 +2005,7 @@ declare const pdfInspectOperation: {
|
|
|
2005
2005
|
path: string;
|
|
2006
2006
|
} | {
|
|
2007
2007
|
bytesBase64: string;
|
|
2008
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
2008
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
2009
2009
|
};
|
|
2010
2010
|
full?: boolean | undefined;
|
|
2011
2011
|
}, context?: DocumentOperationContext): Promise<{
|
|
@@ -2041,7 +2041,7 @@ declare const pdfInspectOperation: {
|
|
|
2041
2041
|
font: {
|
|
2042
2042
|
family: string;
|
|
2043
2043
|
weight: "bold" | "normal";
|
|
2044
|
-
style: "
|
|
2044
|
+
style: "normal" | "italic";
|
|
2045
2045
|
};
|
|
2046
2046
|
sizePt: number;
|
|
2047
2047
|
color: {
|
|
@@ -2207,7 +2207,7 @@ declare const pdfInspectOperation: {
|
|
|
2207
2207
|
yPt: number;
|
|
2208
2208
|
}][] | undefined;
|
|
2209
2209
|
source?: {
|
|
2210
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
2210
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odm" | "odb" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd";
|
|
2211
2211
|
xml: string;
|
|
2212
2212
|
} | undefined;
|
|
2213
2213
|
}[] | undefined;
|
|
@@ -2250,7 +2250,7 @@ declare const pdfInspectOperation: {
|
|
|
2250
2250
|
structure?: LayoutStructureElement[] | undefined;
|
|
2251
2251
|
form?: LayoutFormField[] | undefined;
|
|
2252
2252
|
source?: Record<string, {
|
|
2253
|
-
format: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
2253
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odm" | "odb" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd";
|
|
2254
2254
|
xml: string;
|
|
2255
2255
|
}> | undefined;
|
|
2256
2256
|
} | PdfInspectSummary>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-operations",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.34",
|
|
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.5.
|
|
85
|
+
"document-compute.js": "1.5.36",
|
|
86
86
|
"document-outline.js": "3.9.15",
|
|
87
87
|
"document-schema.js": "7.11.4",
|
|
88
|
-
"documents.js": "7.20.
|
|
88
|
+
"documents.js": "7.20.33",
|
|
89
89
|
"zod": "4.4.3"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|