document-operations 1.1.144 → 1.1.145
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 +47 -47
- package/dist/index.d.ts +47 -47
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -76,11 +76,11 @@ declare const DocumentInputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
76
76
|
format: z.ZodEnum<{
|
|
77
77
|
docx: "docx";
|
|
78
78
|
pptx: "pptx";
|
|
79
|
+
xlsx: "xlsx";
|
|
79
80
|
odt: "odt";
|
|
80
81
|
odp: "odp";
|
|
81
82
|
ods: "ods";
|
|
82
83
|
odg: "odg";
|
|
83
|
-
xlsx: "xlsx";
|
|
84
84
|
svg: "svg";
|
|
85
85
|
odf: "odf";
|
|
86
86
|
csv: "csv";
|
|
@@ -138,11 +138,11 @@ declare const ComputeFormulaOutputSchema: z.ZodObject<{
|
|
|
138
138
|
sourceFormat: z.ZodEnum<{
|
|
139
139
|
docx: "docx";
|
|
140
140
|
pptx: "pptx";
|
|
141
|
+
xlsx: "xlsx";
|
|
141
142
|
odt: "odt";
|
|
142
143
|
odp: "odp";
|
|
143
144
|
ods: "ods";
|
|
144
145
|
odg: "odg";
|
|
145
|
-
xlsx: "xlsx";
|
|
146
146
|
svg: "svg";
|
|
147
147
|
odf: "odf";
|
|
148
148
|
csv: "csv";
|
|
@@ -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" | "
|
|
210
|
+
sourceFormat: "docx" | "pptx" | "odt" | "odp" | "ods" | "odg" | "pdf" | "markdown" | "xlsx" | "svg" | "odf" | "csv" | "rtf" | "doc" | "xls" | "ppt" | "wpd" | "epub";
|
|
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" | "
|
|
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" | "
|
|
226
|
+
dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
|
|
227
227
|
};
|
|
228
228
|
} | {
|
|
229
229
|
status: "no-content";
|
|
@@ -247,11 +247,11 @@ declare const computeFormulaOperation: {
|
|
|
247
247
|
format: z.ZodEnum<{
|
|
248
248
|
docx: "docx";
|
|
249
249
|
pptx: "pptx";
|
|
250
|
+
xlsx: "xlsx";
|
|
250
251
|
odt: "odt";
|
|
251
252
|
odp: "odp";
|
|
252
253
|
ods: "ods";
|
|
253
254
|
odg: "odg";
|
|
254
|
-
xlsx: "xlsx";
|
|
255
255
|
svg: "svg";
|
|
256
256
|
odf: "odf";
|
|
257
257
|
csv: "csv";
|
|
@@ -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";
|
|
@@ -296,11 +296,11 @@ declare const computeFormulaOperation: {
|
|
|
296
296
|
sourceFormat: z.ZodEnum<{
|
|
297
297
|
docx: "docx";
|
|
298
298
|
pptx: "pptx";
|
|
299
|
+
xlsx: "xlsx";
|
|
299
300
|
odt: "odt";
|
|
300
301
|
odp: "odp";
|
|
301
302
|
ods: "ods";
|
|
302
303
|
odg: "odg";
|
|
303
|
-
xlsx: "xlsx";
|
|
304
304
|
svg: "svg";
|
|
305
305
|
odf: "odf";
|
|
306
306
|
csv: "csv";
|
|
@@ -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";
|
|
@@ -376,11 +376,11 @@ declare const ConvertDocumentOutputSchema: z.ZodObject<{
|
|
|
376
376
|
targetFormat: z.ZodEnum<{
|
|
377
377
|
docx: "docx";
|
|
378
378
|
pptx: "pptx";
|
|
379
|
+
xlsx: "xlsx";
|
|
379
380
|
odt: "odt";
|
|
380
381
|
odp: "odp";
|
|
381
382
|
ods: "ods";
|
|
382
383
|
odg: "odg";
|
|
383
|
-
xlsx: "xlsx";
|
|
384
384
|
svg: "svg";
|
|
385
385
|
odf: "odf";
|
|
386
386
|
csv: "csv";
|
|
@@ -426,11 +426,11 @@ declare const ListDocumentConversionsOutputSchema: z.ZodObject<{
|
|
|
426
426
|
source: z.ZodEnum<{
|
|
427
427
|
docx: "docx";
|
|
428
428
|
pptx: "pptx";
|
|
429
|
+
xlsx: "xlsx";
|
|
429
430
|
odt: "odt";
|
|
430
431
|
odp: "odp";
|
|
431
432
|
ods: "ods";
|
|
432
433
|
odg: "odg";
|
|
433
|
-
xlsx: "xlsx";
|
|
434
434
|
svg: "svg";
|
|
435
435
|
odf: "odf";
|
|
436
436
|
csv: "csv";
|
|
@@ -446,11 +446,11 @@ declare const ListDocumentConversionsOutputSchema: z.ZodObject<{
|
|
|
446
446
|
target: z.ZodEnum<{
|
|
447
447
|
docx: "docx";
|
|
448
448
|
pptx: "pptx";
|
|
449
|
+
xlsx: "xlsx";
|
|
449
450
|
odt: "odt";
|
|
450
451
|
odp: "odp";
|
|
451
452
|
ods: "ods";
|
|
452
453
|
odg: "odg";
|
|
453
|
-
xlsx: "xlsx";
|
|
454
454
|
svg: "svg";
|
|
455
455
|
odf: "odf";
|
|
456
456
|
csv: "csv";
|
|
@@ -467,7 +467,7 @@ declare const ListDocumentConversionsOutputSchema: z.ZodObject<{
|
|
|
467
467
|
}, z.core.$strip>;
|
|
468
468
|
declare const convertDocumentOperation: {
|
|
469
469
|
run: (input: unknown, context?: DocumentOperationContext) => Promise<{
|
|
470
|
-
targetFormat: "docx" | "pptx" | "
|
|
470
|
+
targetFormat: "docx" | "pptx" | "odt" | "odp" | "ods" | "odg" | "pdf" | "markdown" | "xlsx" | "svg" | "odf" | "csv" | "rtf" | "doc" | "xls" | "ppt" | "wpd" | "epub";
|
|
471
471
|
output: {
|
|
472
472
|
path: string;
|
|
473
473
|
byteLength: number;
|
|
@@ -501,11 +501,11 @@ declare const convertDocumentOperation: {
|
|
|
501
501
|
format: z.ZodEnum<{
|
|
502
502
|
docx: "docx";
|
|
503
503
|
pptx: "pptx";
|
|
504
|
+
xlsx: "xlsx";
|
|
504
505
|
odt: "odt";
|
|
505
506
|
odp: "odp";
|
|
506
507
|
ods: "ods";
|
|
507
508
|
odg: "odg";
|
|
508
|
-
xlsx: "xlsx";
|
|
509
509
|
svg: "svg";
|
|
510
510
|
odf: "odf";
|
|
511
511
|
csv: "csv";
|
|
@@ -522,11 +522,11 @@ declare const convertDocumentOperation: {
|
|
|
522
522
|
targetFormat: z.ZodEnum<{
|
|
523
523
|
docx: "docx";
|
|
524
524
|
pptx: "pptx";
|
|
525
|
+
xlsx: "xlsx";
|
|
525
526
|
odt: "odt";
|
|
526
527
|
odp: "odp";
|
|
527
528
|
ods: "ods";
|
|
528
529
|
odg: "odg";
|
|
529
|
-
xlsx: "xlsx";
|
|
530
530
|
svg: "svg";
|
|
531
531
|
odf: "odf";
|
|
532
532
|
csv: "csv";
|
|
@@ -555,11 +555,11 @@ declare const convertDocumentOperation: {
|
|
|
555
555
|
targetFormat: z.ZodEnum<{
|
|
556
556
|
docx: "docx";
|
|
557
557
|
pptx: "pptx";
|
|
558
|
+
xlsx: "xlsx";
|
|
558
559
|
odt: "odt";
|
|
559
560
|
odp: "odp";
|
|
560
561
|
ods: "ods";
|
|
561
562
|
odg: "odg";
|
|
562
|
-
xlsx: "xlsx";
|
|
563
563
|
svg: "svg";
|
|
564
564
|
odf: "odf";
|
|
565
565
|
csv: "csv";
|
|
@@ -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" | "
|
|
608
|
-
target: "docx" | "pptx" | "
|
|
607
|
+
source: "docx" | "pptx" | "odt" | "odp" | "ods" | "odg" | "pdf" | "markdown" | "xlsx" | "svg" | "odf" | "csv" | "rtf" | "doc" | "xls" | "ppt" | "wpd" | "epub";
|
|
608
|
+
target: "docx" | "pptx" | "odt" | "odp" | "ods" | "odg" | "pdf" | "markdown" | "xlsx" | "svg" | "odf" | "csv" | "rtf" | "doc" | "xls" | "ppt" | "wpd" | "epub";
|
|
609
609
|
}[];
|
|
610
610
|
}>;
|
|
611
611
|
name: string;
|
|
@@ -617,11 +617,11 @@ declare const listDocumentConversionsOperation: {
|
|
|
617
617
|
source: z.ZodEnum<{
|
|
618
618
|
docx: "docx";
|
|
619
619
|
pptx: "pptx";
|
|
620
|
+
xlsx: "xlsx";
|
|
620
621
|
odt: "odt";
|
|
621
622
|
odp: "odp";
|
|
622
623
|
ods: "ods";
|
|
623
624
|
odg: "odg";
|
|
624
|
-
xlsx: "xlsx";
|
|
625
625
|
svg: "svg";
|
|
626
626
|
odf: "odf";
|
|
627
627
|
csv: "csv";
|
|
@@ -637,11 +637,11 @@ declare const listDocumentConversionsOperation: {
|
|
|
637
637
|
target: z.ZodEnum<{
|
|
638
638
|
docx: "docx";
|
|
639
639
|
pptx: "pptx";
|
|
640
|
+
xlsx: "xlsx";
|
|
640
641
|
odt: "odt";
|
|
641
642
|
odp: "odp";
|
|
642
643
|
ods: "ods";
|
|
643
644
|
odg: "odg";
|
|
644
|
-
xlsx: "xlsx";
|
|
645
645
|
svg: "svg";
|
|
646
646
|
odf: "odf";
|
|
647
647
|
csv: "csv";
|
|
@@ -672,11 +672,11 @@ declare const docxExtrasOperation: {
|
|
|
672
672
|
format: z.ZodEnum<{
|
|
673
673
|
docx: "docx";
|
|
674
674
|
pptx: "pptx";
|
|
675
|
+
xlsx: "xlsx";
|
|
675
676
|
odt: "odt";
|
|
676
677
|
odp: "odp";
|
|
677
678
|
ods: "ods";
|
|
678
679
|
odg: "odg";
|
|
679
|
-
xlsx: "xlsx";
|
|
680
680
|
svg: "svg";
|
|
681
681
|
odf: "odf";
|
|
682
682
|
csv: "csv";
|
|
@@ -711,11 +711,11 @@ declare const documentCreateOperation: {
|
|
|
711
711
|
docx: "docx";
|
|
712
712
|
pptx: "pptx";
|
|
713
713
|
odt: "odt";
|
|
714
|
-
ods: "ods";
|
|
715
714
|
odp: "odp";
|
|
715
|
+
ods: "ods";
|
|
716
716
|
odg: "odg";
|
|
717
|
-
markdown: "markdown";
|
|
718
717
|
pdf: "pdf";
|
|
718
|
+
markdown: "markdown";
|
|
719
719
|
}>;
|
|
720
720
|
output: z.ZodOptional<z.ZodObject<{
|
|
721
721
|
outputPath: z.ZodOptional<z.ZodString>;
|
|
@@ -750,11 +750,11 @@ declare const documentAppendParagraphsOperation: {
|
|
|
750
750
|
format: z.ZodEnum<{
|
|
751
751
|
docx: "docx";
|
|
752
752
|
pptx: "pptx";
|
|
753
|
+
xlsx: "xlsx";
|
|
753
754
|
odt: "odt";
|
|
754
755
|
odp: "odp";
|
|
755
756
|
ods: "ods";
|
|
756
757
|
odg: "odg";
|
|
757
|
-
xlsx: "xlsx";
|
|
758
758
|
svg: "svg";
|
|
759
759
|
odf: "odf";
|
|
760
760
|
csv: "csv";
|
|
@@ -831,11 +831,11 @@ declare const fontsOperation: {
|
|
|
831
831
|
format: z.ZodEnum<{
|
|
832
832
|
docx: "docx";
|
|
833
833
|
pptx: "pptx";
|
|
834
|
+
xlsx: "xlsx";
|
|
834
835
|
odt: "odt";
|
|
835
836
|
odp: "odp";
|
|
836
837
|
ods: "ods";
|
|
837
838
|
odg: "odg";
|
|
838
|
-
xlsx: "xlsx";
|
|
839
839
|
svg: "svg";
|
|
840
840
|
odf: "odf";
|
|
841
841
|
csv: "csv";
|
|
@@ -903,11 +903,11 @@ declare const fromPackageOperation: {
|
|
|
903
903
|
format: z.ZodEnum<{
|
|
904
904
|
docx: "docx";
|
|
905
905
|
pptx: "pptx";
|
|
906
|
+
xlsx: "xlsx";
|
|
906
907
|
odt: "odt";
|
|
907
908
|
odp: "odp";
|
|
908
909
|
ods: "ods";
|
|
909
910
|
odg: "odg";
|
|
910
|
-
xlsx: "xlsx";
|
|
911
911
|
svg: "svg";
|
|
912
912
|
odf: "odf";
|
|
913
913
|
csv: "csv";
|
|
@@ -924,11 +924,11 @@ declare const fromPackageOperation: {
|
|
|
924
924
|
targetFormat: z.ZodEnum<{
|
|
925
925
|
docx: "docx";
|
|
926
926
|
pptx: "pptx";
|
|
927
|
+
xlsx: "xlsx";
|
|
927
928
|
odt: "odt";
|
|
928
929
|
odp: "odp";
|
|
929
930
|
ods: "ods";
|
|
930
931
|
odg: "odg";
|
|
931
|
-
xlsx: "xlsx";
|
|
932
932
|
svg: "svg";
|
|
933
933
|
odf: "odf";
|
|
934
934
|
csv: "csv";
|
|
@@ -988,11 +988,11 @@ declare const metadataReadOperation: {
|
|
|
988
988
|
format: z.ZodEnum<{
|
|
989
989
|
docx: "docx";
|
|
990
990
|
pptx: "pptx";
|
|
991
|
+
xlsx: "xlsx";
|
|
991
992
|
odt: "odt";
|
|
992
993
|
odp: "odp";
|
|
993
994
|
ods: "ods";
|
|
994
995
|
odg: "odg";
|
|
995
|
-
xlsx: "xlsx";
|
|
996
996
|
svg: "svg";
|
|
997
997
|
odf: "odf";
|
|
998
998
|
csv: "csv";
|
|
@@ -1028,11 +1028,11 @@ declare const metadataWriteOperation: {
|
|
|
1028
1028
|
format: z.ZodEnum<{
|
|
1029
1029
|
docx: "docx";
|
|
1030
1030
|
pptx: "pptx";
|
|
1031
|
+
xlsx: "xlsx";
|
|
1031
1032
|
odt: "odt";
|
|
1032
1033
|
odp: "odp";
|
|
1033
1034
|
ods: "ods";
|
|
1034
1035
|
odg: "odg";
|
|
1035
|
-
xlsx: "xlsx";
|
|
1036
1036
|
svg: "svg";
|
|
1037
1037
|
odf: "odf";
|
|
1038
1038
|
csv: "csv";
|
|
@@ -1049,11 +1049,11 @@ declare const metadataWriteOperation: {
|
|
|
1049
1049
|
targetFormat: z.ZodEnum<{
|
|
1050
1050
|
docx: "docx";
|
|
1051
1051
|
pptx: "pptx";
|
|
1052
|
+
xlsx: "xlsx";
|
|
1052
1053
|
odt: "odt";
|
|
1053
1054
|
odp: "odp";
|
|
1054
1055
|
ods: "ods";
|
|
1055
1056
|
odg: "odg";
|
|
1056
|
-
xlsx: "xlsx";
|
|
1057
1057
|
svg: "svg";
|
|
1058
1058
|
odf: "odf";
|
|
1059
1059
|
csv: "csv";
|
|
@@ -1193,11 +1193,11 @@ declare const odbTablesOperation: {
|
|
|
1193
1193
|
format: z.ZodEnum<{
|
|
1194
1194
|
docx: "docx";
|
|
1195
1195
|
pptx: "pptx";
|
|
1196
|
+
xlsx: "xlsx";
|
|
1196
1197
|
odt: "odt";
|
|
1197
1198
|
odp: "odp";
|
|
1198
1199
|
ods: "ods";
|
|
1199
1200
|
odg: "odg";
|
|
1200
|
-
xlsx: "xlsx";
|
|
1201
1201
|
svg: "svg";
|
|
1202
1202
|
odf: "odf";
|
|
1203
1203
|
csv: "csv";
|
|
@@ -1226,11 +1226,11 @@ declare const odbFormsOperation: {
|
|
|
1226
1226
|
format: z.ZodEnum<{
|
|
1227
1227
|
docx: "docx";
|
|
1228
1228
|
pptx: "pptx";
|
|
1229
|
+
xlsx: "xlsx";
|
|
1229
1230
|
odt: "odt";
|
|
1230
1231
|
odp: "odp";
|
|
1231
1232
|
ods: "ods";
|
|
1232
1233
|
odg: "odg";
|
|
1233
|
-
xlsx: "xlsx";
|
|
1234
1234
|
svg: "svg";
|
|
1235
1235
|
odf: "odf";
|
|
1236
1236
|
csv: "csv";
|
|
@@ -1259,11 +1259,11 @@ declare const odbReportsOperation: {
|
|
|
1259
1259
|
format: z.ZodEnum<{
|
|
1260
1260
|
docx: "docx";
|
|
1261
1261
|
pptx: "pptx";
|
|
1262
|
+
xlsx: "xlsx";
|
|
1262
1263
|
odt: "odt";
|
|
1263
1264
|
odp: "odp";
|
|
1264
1265
|
ods: "ods";
|
|
1265
1266
|
odg: "odg";
|
|
1266
|
-
xlsx: "xlsx";
|
|
1267
1267
|
svg: "svg";
|
|
1268
1268
|
odf: "odf";
|
|
1269
1269
|
csv: "csv";
|
|
@@ -1292,11 +1292,11 @@ declare const odbQueryOperation: {
|
|
|
1292
1292
|
format: z.ZodEnum<{
|
|
1293
1293
|
docx: "docx";
|
|
1294
1294
|
pptx: "pptx";
|
|
1295
|
+
xlsx: "xlsx";
|
|
1295
1296
|
odt: "odt";
|
|
1296
1297
|
odp: "odp";
|
|
1297
1298
|
ods: "ods";
|
|
1298
1299
|
odg: "odg";
|
|
1299
|
-
xlsx: "xlsx";
|
|
1300
1300
|
svg: "svg";
|
|
1301
1301
|
odf: "odf";
|
|
1302
1302
|
csv: "csv";
|
|
@@ -1327,11 +1327,11 @@ declare const odbToCsvOperation: {
|
|
|
1327
1327
|
format: z.ZodEnum<{
|
|
1328
1328
|
docx: "docx";
|
|
1329
1329
|
pptx: "pptx";
|
|
1330
|
+
xlsx: "xlsx";
|
|
1330
1331
|
odt: "odt";
|
|
1331
1332
|
odp: "odp";
|
|
1332
1333
|
ods: "ods";
|
|
1333
1334
|
odg: "odg";
|
|
1334
|
-
xlsx: "xlsx";
|
|
1335
1335
|
svg: "svg";
|
|
1336
1336
|
odf: "odf";
|
|
1337
1337
|
csv: "csv";
|
|
@@ -1364,11 +1364,11 @@ declare const odbToXlsxOperation: {
|
|
|
1364
1364
|
format: z.ZodEnum<{
|
|
1365
1365
|
docx: "docx";
|
|
1366
1366
|
pptx: "pptx";
|
|
1367
|
+
xlsx: "xlsx";
|
|
1367
1368
|
odt: "odt";
|
|
1368
1369
|
odp: "odp";
|
|
1369
1370
|
ods: "ods";
|
|
1370
1371
|
odg: "odg";
|
|
1371
|
-
xlsx: "xlsx";
|
|
1372
1372
|
svg: "svg";
|
|
1373
1373
|
odf: "odf";
|
|
1374
1374
|
csv: "csv";
|
|
@@ -1497,11 +1497,11 @@ declare const odbRenderReportOperation: {
|
|
|
1497
1497
|
format: z.ZodEnum<{
|
|
1498
1498
|
docx: "docx";
|
|
1499
1499
|
pptx: "pptx";
|
|
1500
|
+
xlsx: "xlsx";
|
|
1500
1501
|
odt: "odt";
|
|
1501
1502
|
odp: "odp";
|
|
1502
1503
|
ods: "ods";
|
|
1503
1504
|
odg: "odg";
|
|
1504
|
-
xlsx: "xlsx";
|
|
1505
1505
|
svg: "svg";
|
|
1506
1506
|
odf: "odf";
|
|
1507
1507
|
csv: "csv";
|
|
@@ -1623,11 +1623,11 @@ declare const odmToPdfOperation: {
|
|
|
1623
1623
|
format: z.ZodEnum<{
|
|
1624
1624
|
docx: "docx";
|
|
1625
1625
|
pptx: "pptx";
|
|
1626
|
+
xlsx: "xlsx";
|
|
1626
1627
|
odt: "odt";
|
|
1627
1628
|
odp: "odp";
|
|
1628
1629
|
ods: "ods";
|
|
1629
1630
|
odg: "odg";
|
|
1630
|
-
xlsx: "xlsx";
|
|
1631
1631
|
svg: "svg";
|
|
1632
1632
|
odf: "odf";
|
|
1633
1633
|
csv: "csv";
|
|
@@ -1685,11 +1685,11 @@ declare const outlineDocumentOperation: {
|
|
|
1685
1685
|
format: z.ZodEnum<{
|
|
1686
1686
|
docx: "docx";
|
|
1687
1687
|
pptx: "pptx";
|
|
1688
|
+
xlsx: "xlsx";
|
|
1688
1689
|
odt: "odt";
|
|
1689
1690
|
odp: "odp";
|
|
1690
1691
|
ods: "ods";
|
|
1691
1692
|
odg: "odg";
|
|
1692
|
-
xlsx: "xlsx";
|
|
1693
1693
|
svg: "svg";
|
|
1694
1694
|
odf: "odf";
|
|
1695
1695
|
csv: "csv";
|
|
@@ -1786,7 +1786,7 @@ declare const pdfInspectOperation: {
|
|
|
1786
1786
|
font: {
|
|
1787
1787
|
family: string;
|
|
1788
1788
|
weight: "bold" | "normal";
|
|
1789
|
-
style: "
|
|
1789
|
+
style: "italic" | "normal";
|
|
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" | "
|
|
1956
|
+
format: "docx" | "pptx" | "odt" | "odp" | "ods" | "odg" | "pdf" | "markdown" | "xlsx" | "odf" | "rtf" | "wpd" | "epub" | "odm" | "odb";
|
|
1957
1957
|
xml: string;
|
|
1958
1958
|
} | undefined;
|
|
1959
1959
|
}[] | undefined;
|
|
@@ -1996,7 +1996,7 @@ declare const pdfInspectOperation: {
|
|
|
1996
1996
|
structure?: LayoutStructureElement[] | undefined;
|
|
1997
1997
|
form?: LayoutFormField[] | undefined;
|
|
1998
1998
|
source?: Record<string, {
|
|
1999
|
-
format: "docx" | "pptx" | "
|
|
1999
|
+
format: "docx" | "pptx" | "odt" | "odp" | "ods" | "odg" | "pdf" | "markdown" | "xlsx" | "odf" | "rtf" | "wpd" | "epub" | "odm" | "odb";
|
|
2000
2000
|
xml: string;
|
|
2001
2001
|
}> | undefined;
|
|
2002
2002
|
} | PdfInspectSummary>;
|
|
@@ -2011,11 +2011,11 @@ declare const pdfInspectOperation: {
|
|
|
2011
2011
|
format: z.ZodEnum<{
|
|
2012
2012
|
docx: "docx";
|
|
2013
2013
|
pptx: "pptx";
|
|
2014
|
+
xlsx: "xlsx";
|
|
2014
2015
|
odt: "odt";
|
|
2015
2016
|
odp: "odp";
|
|
2016
2017
|
ods: "ods";
|
|
2017
2018
|
odg: "odg";
|
|
2018
|
-
xlsx: "xlsx";
|
|
2019
2019
|
svg: "svg";
|
|
2020
2020
|
odf: "odf";
|
|
2021
2021
|
csv: "csv";
|
package/dist/index.d.ts
CHANGED
|
@@ -76,11 +76,11 @@ declare const DocumentInputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
76
76
|
format: z.ZodEnum<{
|
|
77
77
|
docx: "docx";
|
|
78
78
|
pptx: "pptx";
|
|
79
|
+
xlsx: "xlsx";
|
|
79
80
|
odt: "odt";
|
|
80
81
|
odp: "odp";
|
|
81
82
|
ods: "ods";
|
|
82
83
|
odg: "odg";
|
|
83
|
-
xlsx: "xlsx";
|
|
84
84
|
svg: "svg";
|
|
85
85
|
odf: "odf";
|
|
86
86
|
csv: "csv";
|
|
@@ -138,11 +138,11 @@ declare const ComputeFormulaOutputSchema: z.ZodObject<{
|
|
|
138
138
|
sourceFormat: z.ZodEnum<{
|
|
139
139
|
docx: "docx";
|
|
140
140
|
pptx: "pptx";
|
|
141
|
+
xlsx: "xlsx";
|
|
141
142
|
odt: "odt";
|
|
142
143
|
odp: "odp";
|
|
143
144
|
ods: "ods";
|
|
144
145
|
odg: "odg";
|
|
145
|
-
xlsx: "xlsx";
|
|
146
146
|
svg: "svg";
|
|
147
147
|
odf: "odf";
|
|
148
148
|
csv: "csv";
|
|
@@ -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" | "
|
|
210
|
+
sourceFormat: "docx" | "pptx" | "odt" | "odp" | "ods" | "odg" | "pdf" | "markdown" | "xlsx" | "svg" | "odf" | "csv" | "rtf" | "doc" | "xls" | "ppt" | "wpd" | "epub";
|
|
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" | "
|
|
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" | "
|
|
226
|
+
dimension: Partial<Record<"length" | "time" | "mass" | "electricCurrent" | "thermodynamicTemperature" | "amountOfSubstance" | "luminousIntensity", number>>;
|
|
227
227
|
};
|
|
228
228
|
} | {
|
|
229
229
|
status: "no-content";
|
|
@@ -247,11 +247,11 @@ declare const computeFormulaOperation: {
|
|
|
247
247
|
format: z.ZodEnum<{
|
|
248
248
|
docx: "docx";
|
|
249
249
|
pptx: "pptx";
|
|
250
|
+
xlsx: "xlsx";
|
|
250
251
|
odt: "odt";
|
|
251
252
|
odp: "odp";
|
|
252
253
|
ods: "ods";
|
|
253
254
|
odg: "odg";
|
|
254
|
-
xlsx: "xlsx";
|
|
255
255
|
svg: "svg";
|
|
256
256
|
odf: "odf";
|
|
257
257
|
csv: "csv";
|
|
@@ -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";
|
|
@@ -296,11 +296,11 @@ declare const computeFormulaOperation: {
|
|
|
296
296
|
sourceFormat: z.ZodEnum<{
|
|
297
297
|
docx: "docx";
|
|
298
298
|
pptx: "pptx";
|
|
299
|
+
xlsx: "xlsx";
|
|
299
300
|
odt: "odt";
|
|
300
301
|
odp: "odp";
|
|
301
302
|
ods: "ods";
|
|
302
303
|
odg: "odg";
|
|
303
|
-
xlsx: "xlsx";
|
|
304
304
|
svg: "svg";
|
|
305
305
|
odf: "odf";
|
|
306
306
|
csv: "csv";
|
|
@@ -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";
|
|
@@ -376,11 +376,11 @@ declare const ConvertDocumentOutputSchema: z.ZodObject<{
|
|
|
376
376
|
targetFormat: z.ZodEnum<{
|
|
377
377
|
docx: "docx";
|
|
378
378
|
pptx: "pptx";
|
|
379
|
+
xlsx: "xlsx";
|
|
379
380
|
odt: "odt";
|
|
380
381
|
odp: "odp";
|
|
381
382
|
ods: "ods";
|
|
382
383
|
odg: "odg";
|
|
383
|
-
xlsx: "xlsx";
|
|
384
384
|
svg: "svg";
|
|
385
385
|
odf: "odf";
|
|
386
386
|
csv: "csv";
|
|
@@ -426,11 +426,11 @@ declare const ListDocumentConversionsOutputSchema: z.ZodObject<{
|
|
|
426
426
|
source: z.ZodEnum<{
|
|
427
427
|
docx: "docx";
|
|
428
428
|
pptx: "pptx";
|
|
429
|
+
xlsx: "xlsx";
|
|
429
430
|
odt: "odt";
|
|
430
431
|
odp: "odp";
|
|
431
432
|
ods: "ods";
|
|
432
433
|
odg: "odg";
|
|
433
|
-
xlsx: "xlsx";
|
|
434
434
|
svg: "svg";
|
|
435
435
|
odf: "odf";
|
|
436
436
|
csv: "csv";
|
|
@@ -446,11 +446,11 @@ declare const ListDocumentConversionsOutputSchema: z.ZodObject<{
|
|
|
446
446
|
target: z.ZodEnum<{
|
|
447
447
|
docx: "docx";
|
|
448
448
|
pptx: "pptx";
|
|
449
|
+
xlsx: "xlsx";
|
|
449
450
|
odt: "odt";
|
|
450
451
|
odp: "odp";
|
|
451
452
|
ods: "ods";
|
|
452
453
|
odg: "odg";
|
|
453
|
-
xlsx: "xlsx";
|
|
454
454
|
svg: "svg";
|
|
455
455
|
odf: "odf";
|
|
456
456
|
csv: "csv";
|
|
@@ -467,7 +467,7 @@ declare const ListDocumentConversionsOutputSchema: z.ZodObject<{
|
|
|
467
467
|
}, z.core.$strip>;
|
|
468
468
|
declare const convertDocumentOperation: {
|
|
469
469
|
run: (input: unknown, context?: DocumentOperationContext) => Promise<{
|
|
470
|
-
targetFormat: "docx" | "pptx" | "
|
|
470
|
+
targetFormat: "docx" | "pptx" | "odt" | "odp" | "ods" | "odg" | "pdf" | "markdown" | "xlsx" | "svg" | "odf" | "csv" | "rtf" | "doc" | "xls" | "ppt" | "wpd" | "epub";
|
|
471
471
|
output: {
|
|
472
472
|
path: string;
|
|
473
473
|
byteLength: number;
|
|
@@ -501,11 +501,11 @@ declare const convertDocumentOperation: {
|
|
|
501
501
|
format: z.ZodEnum<{
|
|
502
502
|
docx: "docx";
|
|
503
503
|
pptx: "pptx";
|
|
504
|
+
xlsx: "xlsx";
|
|
504
505
|
odt: "odt";
|
|
505
506
|
odp: "odp";
|
|
506
507
|
ods: "ods";
|
|
507
508
|
odg: "odg";
|
|
508
|
-
xlsx: "xlsx";
|
|
509
509
|
svg: "svg";
|
|
510
510
|
odf: "odf";
|
|
511
511
|
csv: "csv";
|
|
@@ -522,11 +522,11 @@ declare const convertDocumentOperation: {
|
|
|
522
522
|
targetFormat: z.ZodEnum<{
|
|
523
523
|
docx: "docx";
|
|
524
524
|
pptx: "pptx";
|
|
525
|
+
xlsx: "xlsx";
|
|
525
526
|
odt: "odt";
|
|
526
527
|
odp: "odp";
|
|
527
528
|
ods: "ods";
|
|
528
529
|
odg: "odg";
|
|
529
|
-
xlsx: "xlsx";
|
|
530
530
|
svg: "svg";
|
|
531
531
|
odf: "odf";
|
|
532
532
|
csv: "csv";
|
|
@@ -555,11 +555,11 @@ declare const convertDocumentOperation: {
|
|
|
555
555
|
targetFormat: z.ZodEnum<{
|
|
556
556
|
docx: "docx";
|
|
557
557
|
pptx: "pptx";
|
|
558
|
+
xlsx: "xlsx";
|
|
558
559
|
odt: "odt";
|
|
559
560
|
odp: "odp";
|
|
560
561
|
ods: "ods";
|
|
561
562
|
odg: "odg";
|
|
562
|
-
xlsx: "xlsx";
|
|
563
563
|
svg: "svg";
|
|
564
564
|
odf: "odf";
|
|
565
565
|
csv: "csv";
|
|
@@ -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" | "
|
|
608
|
-
target: "docx" | "pptx" | "
|
|
607
|
+
source: "docx" | "pptx" | "odt" | "odp" | "ods" | "odg" | "pdf" | "markdown" | "xlsx" | "svg" | "odf" | "csv" | "rtf" | "doc" | "xls" | "ppt" | "wpd" | "epub";
|
|
608
|
+
target: "docx" | "pptx" | "odt" | "odp" | "ods" | "odg" | "pdf" | "markdown" | "xlsx" | "svg" | "odf" | "csv" | "rtf" | "doc" | "xls" | "ppt" | "wpd" | "epub";
|
|
609
609
|
}[];
|
|
610
610
|
}>;
|
|
611
611
|
name: string;
|
|
@@ -617,11 +617,11 @@ declare const listDocumentConversionsOperation: {
|
|
|
617
617
|
source: z.ZodEnum<{
|
|
618
618
|
docx: "docx";
|
|
619
619
|
pptx: "pptx";
|
|
620
|
+
xlsx: "xlsx";
|
|
620
621
|
odt: "odt";
|
|
621
622
|
odp: "odp";
|
|
622
623
|
ods: "ods";
|
|
623
624
|
odg: "odg";
|
|
624
|
-
xlsx: "xlsx";
|
|
625
625
|
svg: "svg";
|
|
626
626
|
odf: "odf";
|
|
627
627
|
csv: "csv";
|
|
@@ -637,11 +637,11 @@ declare const listDocumentConversionsOperation: {
|
|
|
637
637
|
target: z.ZodEnum<{
|
|
638
638
|
docx: "docx";
|
|
639
639
|
pptx: "pptx";
|
|
640
|
+
xlsx: "xlsx";
|
|
640
641
|
odt: "odt";
|
|
641
642
|
odp: "odp";
|
|
642
643
|
ods: "ods";
|
|
643
644
|
odg: "odg";
|
|
644
|
-
xlsx: "xlsx";
|
|
645
645
|
svg: "svg";
|
|
646
646
|
odf: "odf";
|
|
647
647
|
csv: "csv";
|
|
@@ -672,11 +672,11 @@ declare const docxExtrasOperation: {
|
|
|
672
672
|
format: z.ZodEnum<{
|
|
673
673
|
docx: "docx";
|
|
674
674
|
pptx: "pptx";
|
|
675
|
+
xlsx: "xlsx";
|
|
675
676
|
odt: "odt";
|
|
676
677
|
odp: "odp";
|
|
677
678
|
ods: "ods";
|
|
678
679
|
odg: "odg";
|
|
679
|
-
xlsx: "xlsx";
|
|
680
680
|
svg: "svg";
|
|
681
681
|
odf: "odf";
|
|
682
682
|
csv: "csv";
|
|
@@ -711,11 +711,11 @@ declare const documentCreateOperation: {
|
|
|
711
711
|
docx: "docx";
|
|
712
712
|
pptx: "pptx";
|
|
713
713
|
odt: "odt";
|
|
714
|
-
ods: "ods";
|
|
715
714
|
odp: "odp";
|
|
715
|
+
ods: "ods";
|
|
716
716
|
odg: "odg";
|
|
717
|
-
markdown: "markdown";
|
|
718
717
|
pdf: "pdf";
|
|
718
|
+
markdown: "markdown";
|
|
719
719
|
}>;
|
|
720
720
|
output: z.ZodOptional<z.ZodObject<{
|
|
721
721
|
outputPath: z.ZodOptional<z.ZodString>;
|
|
@@ -750,11 +750,11 @@ declare const documentAppendParagraphsOperation: {
|
|
|
750
750
|
format: z.ZodEnum<{
|
|
751
751
|
docx: "docx";
|
|
752
752
|
pptx: "pptx";
|
|
753
|
+
xlsx: "xlsx";
|
|
753
754
|
odt: "odt";
|
|
754
755
|
odp: "odp";
|
|
755
756
|
ods: "ods";
|
|
756
757
|
odg: "odg";
|
|
757
|
-
xlsx: "xlsx";
|
|
758
758
|
svg: "svg";
|
|
759
759
|
odf: "odf";
|
|
760
760
|
csv: "csv";
|
|
@@ -831,11 +831,11 @@ declare const fontsOperation: {
|
|
|
831
831
|
format: z.ZodEnum<{
|
|
832
832
|
docx: "docx";
|
|
833
833
|
pptx: "pptx";
|
|
834
|
+
xlsx: "xlsx";
|
|
834
835
|
odt: "odt";
|
|
835
836
|
odp: "odp";
|
|
836
837
|
ods: "ods";
|
|
837
838
|
odg: "odg";
|
|
838
|
-
xlsx: "xlsx";
|
|
839
839
|
svg: "svg";
|
|
840
840
|
odf: "odf";
|
|
841
841
|
csv: "csv";
|
|
@@ -903,11 +903,11 @@ declare const fromPackageOperation: {
|
|
|
903
903
|
format: z.ZodEnum<{
|
|
904
904
|
docx: "docx";
|
|
905
905
|
pptx: "pptx";
|
|
906
|
+
xlsx: "xlsx";
|
|
906
907
|
odt: "odt";
|
|
907
908
|
odp: "odp";
|
|
908
909
|
ods: "ods";
|
|
909
910
|
odg: "odg";
|
|
910
|
-
xlsx: "xlsx";
|
|
911
911
|
svg: "svg";
|
|
912
912
|
odf: "odf";
|
|
913
913
|
csv: "csv";
|
|
@@ -924,11 +924,11 @@ declare const fromPackageOperation: {
|
|
|
924
924
|
targetFormat: z.ZodEnum<{
|
|
925
925
|
docx: "docx";
|
|
926
926
|
pptx: "pptx";
|
|
927
|
+
xlsx: "xlsx";
|
|
927
928
|
odt: "odt";
|
|
928
929
|
odp: "odp";
|
|
929
930
|
ods: "ods";
|
|
930
931
|
odg: "odg";
|
|
931
|
-
xlsx: "xlsx";
|
|
932
932
|
svg: "svg";
|
|
933
933
|
odf: "odf";
|
|
934
934
|
csv: "csv";
|
|
@@ -988,11 +988,11 @@ declare const metadataReadOperation: {
|
|
|
988
988
|
format: z.ZodEnum<{
|
|
989
989
|
docx: "docx";
|
|
990
990
|
pptx: "pptx";
|
|
991
|
+
xlsx: "xlsx";
|
|
991
992
|
odt: "odt";
|
|
992
993
|
odp: "odp";
|
|
993
994
|
ods: "ods";
|
|
994
995
|
odg: "odg";
|
|
995
|
-
xlsx: "xlsx";
|
|
996
996
|
svg: "svg";
|
|
997
997
|
odf: "odf";
|
|
998
998
|
csv: "csv";
|
|
@@ -1028,11 +1028,11 @@ declare const metadataWriteOperation: {
|
|
|
1028
1028
|
format: z.ZodEnum<{
|
|
1029
1029
|
docx: "docx";
|
|
1030
1030
|
pptx: "pptx";
|
|
1031
|
+
xlsx: "xlsx";
|
|
1031
1032
|
odt: "odt";
|
|
1032
1033
|
odp: "odp";
|
|
1033
1034
|
ods: "ods";
|
|
1034
1035
|
odg: "odg";
|
|
1035
|
-
xlsx: "xlsx";
|
|
1036
1036
|
svg: "svg";
|
|
1037
1037
|
odf: "odf";
|
|
1038
1038
|
csv: "csv";
|
|
@@ -1049,11 +1049,11 @@ declare const metadataWriteOperation: {
|
|
|
1049
1049
|
targetFormat: z.ZodEnum<{
|
|
1050
1050
|
docx: "docx";
|
|
1051
1051
|
pptx: "pptx";
|
|
1052
|
+
xlsx: "xlsx";
|
|
1052
1053
|
odt: "odt";
|
|
1053
1054
|
odp: "odp";
|
|
1054
1055
|
ods: "ods";
|
|
1055
1056
|
odg: "odg";
|
|
1056
|
-
xlsx: "xlsx";
|
|
1057
1057
|
svg: "svg";
|
|
1058
1058
|
odf: "odf";
|
|
1059
1059
|
csv: "csv";
|
|
@@ -1193,11 +1193,11 @@ declare const odbTablesOperation: {
|
|
|
1193
1193
|
format: z.ZodEnum<{
|
|
1194
1194
|
docx: "docx";
|
|
1195
1195
|
pptx: "pptx";
|
|
1196
|
+
xlsx: "xlsx";
|
|
1196
1197
|
odt: "odt";
|
|
1197
1198
|
odp: "odp";
|
|
1198
1199
|
ods: "ods";
|
|
1199
1200
|
odg: "odg";
|
|
1200
|
-
xlsx: "xlsx";
|
|
1201
1201
|
svg: "svg";
|
|
1202
1202
|
odf: "odf";
|
|
1203
1203
|
csv: "csv";
|
|
@@ -1226,11 +1226,11 @@ declare const odbFormsOperation: {
|
|
|
1226
1226
|
format: z.ZodEnum<{
|
|
1227
1227
|
docx: "docx";
|
|
1228
1228
|
pptx: "pptx";
|
|
1229
|
+
xlsx: "xlsx";
|
|
1229
1230
|
odt: "odt";
|
|
1230
1231
|
odp: "odp";
|
|
1231
1232
|
ods: "ods";
|
|
1232
1233
|
odg: "odg";
|
|
1233
|
-
xlsx: "xlsx";
|
|
1234
1234
|
svg: "svg";
|
|
1235
1235
|
odf: "odf";
|
|
1236
1236
|
csv: "csv";
|
|
@@ -1259,11 +1259,11 @@ declare const odbReportsOperation: {
|
|
|
1259
1259
|
format: z.ZodEnum<{
|
|
1260
1260
|
docx: "docx";
|
|
1261
1261
|
pptx: "pptx";
|
|
1262
|
+
xlsx: "xlsx";
|
|
1262
1263
|
odt: "odt";
|
|
1263
1264
|
odp: "odp";
|
|
1264
1265
|
ods: "ods";
|
|
1265
1266
|
odg: "odg";
|
|
1266
|
-
xlsx: "xlsx";
|
|
1267
1267
|
svg: "svg";
|
|
1268
1268
|
odf: "odf";
|
|
1269
1269
|
csv: "csv";
|
|
@@ -1292,11 +1292,11 @@ declare const odbQueryOperation: {
|
|
|
1292
1292
|
format: z.ZodEnum<{
|
|
1293
1293
|
docx: "docx";
|
|
1294
1294
|
pptx: "pptx";
|
|
1295
|
+
xlsx: "xlsx";
|
|
1295
1296
|
odt: "odt";
|
|
1296
1297
|
odp: "odp";
|
|
1297
1298
|
ods: "ods";
|
|
1298
1299
|
odg: "odg";
|
|
1299
|
-
xlsx: "xlsx";
|
|
1300
1300
|
svg: "svg";
|
|
1301
1301
|
odf: "odf";
|
|
1302
1302
|
csv: "csv";
|
|
@@ -1327,11 +1327,11 @@ declare const odbToCsvOperation: {
|
|
|
1327
1327
|
format: z.ZodEnum<{
|
|
1328
1328
|
docx: "docx";
|
|
1329
1329
|
pptx: "pptx";
|
|
1330
|
+
xlsx: "xlsx";
|
|
1330
1331
|
odt: "odt";
|
|
1331
1332
|
odp: "odp";
|
|
1332
1333
|
ods: "ods";
|
|
1333
1334
|
odg: "odg";
|
|
1334
|
-
xlsx: "xlsx";
|
|
1335
1335
|
svg: "svg";
|
|
1336
1336
|
odf: "odf";
|
|
1337
1337
|
csv: "csv";
|
|
@@ -1364,11 +1364,11 @@ declare const odbToXlsxOperation: {
|
|
|
1364
1364
|
format: z.ZodEnum<{
|
|
1365
1365
|
docx: "docx";
|
|
1366
1366
|
pptx: "pptx";
|
|
1367
|
+
xlsx: "xlsx";
|
|
1367
1368
|
odt: "odt";
|
|
1368
1369
|
odp: "odp";
|
|
1369
1370
|
ods: "ods";
|
|
1370
1371
|
odg: "odg";
|
|
1371
|
-
xlsx: "xlsx";
|
|
1372
1372
|
svg: "svg";
|
|
1373
1373
|
odf: "odf";
|
|
1374
1374
|
csv: "csv";
|
|
@@ -1497,11 +1497,11 @@ declare const odbRenderReportOperation: {
|
|
|
1497
1497
|
format: z.ZodEnum<{
|
|
1498
1498
|
docx: "docx";
|
|
1499
1499
|
pptx: "pptx";
|
|
1500
|
+
xlsx: "xlsx";
|
|
1500
1501
|
odt: "odt";
|
|
1501
1502
|
odp: "odp";
|
|
1502
1503
|
ods: "ods";
|
|
1503
1504
|
odg: "odg";
|
|
1504
|
-
xlsx: "xlsx";
|
|
1505
1505
|
svg: "svg";
|
|
1506
1506
|
odf: "odf";
|
|
1507
1507
|
csv: "csv";
|
|
@@ -1623,11 +1623,11 @@ declare const odmToPdfOperation: {
|
|
|
1623
1623
|
format: z.ZodEnum<{
|
|
1624
1624
|
docx: "docx";
|
|
1625
1625
|
pptx: "pptx";
|
|
1626
|
+
xlsx: "xlsx";
|
|
1626
1627
|
odt: "odt";
|
|
1627
1628
|
odp: "odp";
|
|
1628
1629
|
ods: "ods";
|
|
1629
1630
|
odg: "odg";
|
|
1630
|
-
xlsx: "xlsx";
|
|
1631
1631
|
svg: "svg";
|
|
1632
1632
|
odf: "odf";
|
|
1633
1633
|
csv: "csv";
|
|
@@ -1685,11 +1685,11 @@ declare const outlineDocumentOperation: {
|
|
|
1685
1685
|
format: z.ZodEnum<{
|
|
1686
1686
|
docx: "docx";
|
|
1687
1687
|
pptx: "pptx";
|
|
1688
|
+
xlsx: "xlsx";
|
|
1688
1689
|
odt: "odt";
|
|
1689
1690
|
odp: "odp";
|
|
1690
1691
|
ods: "ods";
|
|
1691
1692
|
odg: "odg";
|
|
1692
|
-
xlsx: "xlsx";
|
|
1693
1693
|
svg: "svg";
|
|
1694
1694
|
odf: "odf";
|
|
1695
1695
|
csv: "csv";
|
|
@@ -1786,7 +1786,7 @@ declare const pdfInspectOperation: {
|
|
|
1786
1786
|
font: {
|
|
1787
1787
|
family: string;
|
|
1788
1788
|
weight: "bold" | "normal";
|
|
1789
|
-
style: "
|
|
1789
|
+
style: "italic" | "normal";
|
|
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" | "
|
|
1956
|
+
format: "docx" | "pptx" | "odt" | "odp" | "ods" | "odg" | "pdf" | "markdown" | "xlsx" | "odf" | "rtf" | "wpd" | "epub" | "odm" | "odb";
|
|
1957
1957
|
xml: string;
|
|
1958
1958
|
} | undefined;
|
|
1959
1959
|
}[] | undefined;
|
|
@@ -1996,7 +1996,7 @@ declare const pdfInspectOperation: {
|
|
|
1996
1996
|
structure?: LayoutStructureElement[] | undefined;
|
|
1997
1997
|
form?: LayoutFormField[] | undefined;
|
|
1998
1998
|
source?: Record<string, {
|
|
1999
|
-
format: "docx" | "pptx" | "
|
|
1999
|
+
format: "docx" | "pptx" | "odt" | "odp" | "ods" | "odg" | "pdf" | "markdown" | "xlsx" | "odf" | "rtf" | "wpd" | "epub" | "odm" | "odb";
|
|
2000
2000
|
xml: string;
|
|
2001
2001
|
}> | undefined;
|
|
2002
2002
|
} | PdfInspectSummary>;
|
|
@@ -2011,11 +2011,11 @@ declare const pdfInspectOperation: {
|
|
|
2011
2011
|
format: z.ZodEnum<{
|
|
2012
2012
|
docx: "docx";
|
|
2013
2013
|
pptx: "pptx";
|
|
2014
|
+
xlsx: "xlsx";
|
|
2014
2015
|
odt: "odt";
|
|
2015
2016
|
odp: "odp";
|
|
2016
2017
|
ods: "ods";
|
|
2017
2018
|
odg: "odg";
|
|
2018
|
-
xlsx: "xlsx";
|
|
2019
2019
|
svg: "svg";
|
|
2020
2020
|
odf: "odf";
|
|
2021
2021
|
csv: "csv";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-operations",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.145",
|
|
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.
|
|
86
|
-
"document-outline.js": "3.10.
|
|
85
|
+
"document-compute.js": "1.6.92",
|
|
86
|
+
"document-outline.js": "3.10.51",
|
|
87
87
|
"document-schema.js": "7.16.0",
|
|
88
|
-
"documents.js": "14.4.
|
|
88
|
+
"documents.js": "14.4.82",
|
|
89
89
|
"zod": "4.4.3"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|