document-operations 1.1.142 → 1.1.144
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";
|
|
80
79
|
odt: "odt";
|
|
81
80
|
odp: "odp";
|
|
82
81
|
ods: "ods";
|
|
83
82
|
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";
|
|
142
141
|
odt: "odt";
|
|
143
142
|
odp: "odp";
|
|
144
143
|
ods: "ods";
|
|
145
144
|
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";
|
|
178
177
|
length: "length";
|
|
179
178
|
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";
|
|
191
190
|
length: "length";
|
|
192
191
|
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" | "
|
|
210
|
+
sourceFormat: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
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" | "mass" | "time" | "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" | "mass" | "time" | "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";
|
|
251
250
|
odt: "odt";
|
|
252
251
|
odp: "odp";
|
|
253
252
|
ods: "ods";
|
|
254
253
|
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";
|
|
273
272
|
length: "length";
|
|
274
273
|
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";
|
|
286
285
|
length: "length";
|
|
287
286
|
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";
|
|
300
299
|
odt: "odt";
|
|
301
300
|
odp: "odp";
|
|
302
301
|
ods: "ods";
|
|
303
302
|
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";
|
|
336
335
|
length: "length";
|
|
337
336
|
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";
|
|
349
348
|
length: "length";
|
|
350
349
|
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";
|
|
380
379
|
odt: "odt";
|
|
381
380
|
odp: "odp";
|
|
382
381
|
ods: "ods";
|
|
383
382
|
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";
|
|
430
429
|
odt: "odt";
|
|
431
430
|
odp: "odp";
|
|
432
431
|
ods: "ods";
|
|
433
432
|
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";
|
|
450
449
|
odt: "odt";
|
|
451
450
|
odp: "odp";
|
|
452
451
|
ods: "ods";
|
|
453
452
|
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" | "xlsx" | "odt" | "
|
|
470
|
+
targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
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";
|
|
505
504
|
odt: "odt";
|
|
506
505
|
odp: "odp";
|
|
507
506
|
ods: "ods";
|
|
508
507
|
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";
|
|
526
525
|
odt: "odt";
|
|
527
526
|
odp: "odp";
|
|
528
527
|
ods: "ods";
|
|
529
528
|
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";
|
|
559
558
|
odt: "odt";
|
|
560
559
|
odp: "odp";
|
|
561
560
|
ods: "ods";
|
|
562
561
|
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" | "xlsx" | "odt" | "
|
|
608
|
-
target: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
607
|
+
source: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
608
|
+
target: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
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";
|
|
621
620
|
odt: "odt";
|
|
622
621
|
odp: "odp";
|
|
623
622
|
ods: "ods";
|
|
624
623
|
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";
|
|
641
640
|
odt: "odt";
|
|
642
641
|
odp: "odp";
|
|
643
642
|
ods: "ods";
|
|
644
643
|
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";
|
|
676
675
|
odt: "odt";
|
|
677
676
|
odp: "odp";
|
|
678
677
|
ods: "ods";
|
|
679
678
|
odg: "odg";
|
|
679
|
+
xlsx: "xlsx";
|
|
680
680
|
svg: "svg";
|
|
681
681
|
odf: "odf";
|
|
682
682
|
csv: "csv";
|
|
@@ -711,8 +711,8 @@ declare const documentCreateOperation: {
|
|
|
711
711
|
docx: "docx";
|
|
712
712
|
pptx: "pptx";
|
|
713
713
|
odt: "odt";
|
|
714
|
-
odp: "odp";
|
|
715
714
|
ods: "ods";
|
|
715
|
+
odp: "odp";
|
|
716
716
|
odg: "odg";
|
|
717
717
|
markdown: "markdown";
|
|
718
718
|
pdf: "pdf";
|
|
@@ -750,11 +750,11 @@ declare const documentAppendParagraphsOperation: {
|
|
|
750
750
|
format: z.ZodEnum<{
|
|
751
751
|
docx: "docx";
|
|
752
752
|
pptx: "pptx";
|
|
753
|
-
xlsx: "xlsx";
|
|
754
753
|
odt: "odt";
|
|
755
754
|
odp: "odp";
|
|
756
755
|
ods: "ods";
|
|
757
756
|
odg: "odg";
|
|
757
|
+
xlsx: "xlsx";
|
|
758
758
|
svg: "svg";
|
|
759
759
|
odf: "odf";
|
|
760
760
|
csv: "csv";
|
|
@@ -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<{
|
|
@@ -831,11 +831,11 @@ declare const fontsOperation: {
|
|
|
831
831
|
format: z.ZodEnum<{
|
|
832
832
|
docx: "docx";
|
|
833
833
|
pptx: "pptx";
|
|
834
|
-
xlsx: "xlsx";
|
|
835
834
|
odt: "odt";
|
|
836
835
|
odp: "odp";
|
|
837
836
|
ods: "ods";
|
|
838
837
|
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";
|
|
907
906
|
odt: "odt";
|
|
908
907
|
odp: "odp";
|
|
909
908
|
ods: "ods";
|
|
910
909
|
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";
|
|
928
927
|
odt: "odt";
|
|
929
928
|
odp: "odp";
|
|
930
929
|
ods: "ods";
|
|
931
930
|
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";
|
|
992
991
|
odt: "odt";
|
|
993
992
|
odp: "odp";
|
|
994
993
|
ods: "ods";
|
|
995
994
|
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";
|
|
1032
1031
|
odt: "odt";
|
|
1033
1032
|
odp: "odp";
|
|
1034
1033
|
ods: "ods";
|
|
1035
1034
|
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";
|
|
1053
1052
|
odt: "odt";
|
|
1054
1053
|
odp: "odp";
|
|
1055
1054
|
ods: "ods";
|
|
1056
1055
|
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";
|
|
1197
1196
|
odt: "odt";
|
|
1198
1197
|
odp: "odp";
|
|
1199
1198
|
ods: "ods";
|
|
1200
1199
|
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";
|
|
1230
1229
|
odt: "odt";
|
|
1231
1230
|
odp: "odp";
|
|
1232
1231
|
ods: "ods";
|
|
1233
1232
|
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";
|
|
1263
1262
|
odt: "odt";
|
|
1264
1263
|
odp: "odp";
|
|
1265
1264
|
ods: "ods";
|
|
1266
1265
|
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";
|
|
1296
1295
|
odt: "odt";
|
|
1297
1296
|
odp: "odp";
|
|
1298
1297
|
ods: "ods";
|
|
1299
1298
|
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";
|
|
1331
1330
|
odt: "odt";
|
|
1332
1331
|
odp: "odp";
|
|
1333
1332
|
ods: "ods";
|
|
1334
1333
|
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";
|
|
1368
1367
|
odt: "odt";
|
|
1369
1368
|
odp: "odp";
|
|
1370
1369
|
ods: "ods";
|
|
1371
1370
|
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";
|
|
1501
1500
|
odt: "odt";
|
|
1502
1501
|
odp: "odp";
|
|
1503
1502
|
ods: "ods";
|
|
1504
1503
|
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";
|
|
1627
1626
|
odt: "odt";
|
|
1628
1627
|
odp: "odp";
|
|
1629
1628
|
ods: "ods";
|
|
1630
1629
|
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";
|
|
1689
1688
|
odt: "odt";
|
|
1690
1689
|
odp: "odp";
|
|
1691
1690
|
ods: "ods";
|
|
1692
1691
|
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: "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" | "
|
|
1956
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odm" | "odb" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd";
|
|
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" | "xlsx" | "odt" | "
|
|
1999
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odm" | "odb" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd";
|
|
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";
|
|
2015
2014
|
odt: "odt";
|
|
2016
2015
|
odp: "odp";
|
|
2017
2016
|
ods: "ods";
|
|
2018
2017
|
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";
|
|
80
79
|
odt: "odt";
|
|
81
80
|
odp: "odp";
|
|
82
81
|
ods: "ods";
|
|
83
82
|
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";
|
|
142
141
|
odt: "odt";
|
|
143
142
|
odp: "odp";
|
|
144
143
|
ods: "ods";
|
|
145
144
|
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";
|
|
178
177
|
length: "length";
|
|
179
178
|
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";
|
|
191
190
|
length: "length";
|
|
192
191
|
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" | "
|
|
210
|
+
sourceFormat: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
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" | "mass" | "time" | "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" | "mass" | "time" | "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";
|
|
251
250
|
odt: "odt";
|
|
252
251
|
odp: "odp";
|
|
253
252
|
ods: "ods";
|
|
254
253
|
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";
|
|
273
272
|
length: "length";
|
|
274
273
|
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";
|
|
286
285
|
length: "length";
|
|
287
286
|
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";
|
|
300
299
|
odt: "odt";
|
|
301
300
|
odp: "odp";
|
|
302
301
|
ods: "ods";
|
|
303
302
|
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";
|
|
336
335
|
length: "length";
|
|
337
336
|
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";
|
|
349
348
|
length: "length";
|
|
350
349
|
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";
|
|
380
379
|
odt: "odt";
|
|
381
380
|
odp: "odp";
|
|
382
381
|
ods: "ods";
|
|
383
382
|
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";
|
|
430
429
|
odt: "odt";
|
|
431
430
|
odp: "odp";
|
|
432
431
|
ods: "ods";
|
|
433
432
|
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";
|
|
450
449
|
odt: "odt";
|
|
451
450
|
odp: "odp";
|
|
452
451
|
ods: "ods";
|
|
453
452
|
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" | "xlsx" | "odt" | "
|
|
470
|
+
targetFormat: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
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";
|
|
505
504
|
odt: "odt";
|
|
506
505
|
odp: "odp";
|
|
507
506
|
ods: "ods";
|
|
508
507
|
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";
|
|
526
525
|
odt: "odt";
|
|
527
526
|
odp: "odp";
|
|
528
527
|
ods: "ods";
|
|
529
528
|
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";
|
|
559
558
|
odt: "odt";
|
|
560
559
|
odp: "odp";
|
|
561
560
|
ods: "ods";
|
|
562
561
|
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" | "xlsx" | "odt" | "
|
|
608
|
-
target: "docx" | "pptx" | "xlsx" | "odt" | "
|
|
607
|
+
source: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
608
|
+
target: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd" | "svg" | "csv" | "doc" | "xls" | "ppt";
|
|
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";
|
|
621
620
|
odt: "odt";
|
|
622
621
|
odp: "odp";
|
|
623
622
|
ods: "ods";
|
|
624
623
|
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";
|
|
641
640
|
odt: "odt";
|
|
642
641
|
odp: "odp";
|
|
643
642
|
ods: "ods";
|
|
644
643
|
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";
|
|
676
675
|
odt: "odt";
|
|
677
676
|
odp: "odp";
|
|
678
677
|
ods: "ods";
|
|
679
678
|
odg: "odg";
|
|
679
|
+
xlsx: "xlsx";
|
|
680
680
|
svg: "svg";
|
|
681
681
|
odf: "odf";
|
|
682
682
|
csv: "csv";
|
|
@@ -711,8 +711,8 @@ declare const documentCreateOperation: {
|
|
|
711
711
|
docx: "docx";
|
|
712
712
|
pptx: "pptx";
|
|
713
713
|
odt: "odt";
|
|
714
|
-
odp: "odp";
|
|
715
714
|
ods: "ods";
|
|
715
|
+
odp: "odp";
|
|
716
716
|
odg: "odg";
|
|
717
717
|
markdown: "markdown";
|
|
718
718
|
pdf: "pdf";
|
|
@@ -750,11 +750,11 @@ declare const documentAppendParagraphsOperation: {
|
|
|
750
750
|
format: z.ZodEnum<{
|
|
751
751
|
docx: "docx";
|
|
752
752
|
pptx: "pptx";
|
|
753
|
-
xlsx: "xlsx";
|
|
754
753
|
odt: "odt";
|
|
755
754
|
odp: "odp";
|
|
756
755
|
ods: "ods";
|
|
757
756
|
odg: "odg";
|
|
757
|
+
xlsx: "xlsx";
|
|
758
758
|
svg: "svg";
|
|
759
759
|
odf: "odf";
|
|
760
760
|
csv: "csv";
|
|
@@ -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<{
|
|
@@ -831,11 +831,11 @@ declare const fontsOperation: {
|
|
|
831
831
|
format: z.ZodEnum<{
|
|
832
832
|
docx: "docx";
|
|
833
833
|
pptx: "pptx";
|
|
834
|
-
xlsx: "xlsx";
|
|
835
834
|
odt: "odt";
|
|
836
835
|
odp: "odp";
|
|
837
836
|
ods: "ods";
|
|
838
837
|
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";
|
|
907
906
|
odt: "odt";
|
|
908
907
|
odp: "odp";
|
|
909
908
|
ods: "ods";
|
|
910
909
|
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";
|
|
928
927
|
odt: "odt";
|
|
929
928
|
odp: "odp";
|
|
930
929
|
ods: "ods";
|
|
931
930
|
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";
|
|
992
991
|
odt: "odt";
|
|
993
992
|
odp: "odp";
|
|
994
993
|
ods: "ods";
|
|
995
994
|
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";
|
|
1032
1031
|
odt: "odt";
|
|
1033
1032
|
odp: "odp";
|
|
1034
1033
|
ods: "ods";
|
|
1035
1034
|
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";
|
|
1053
1052
|
odt: "odt";
|
|
1054
1053
|
odp: "odp";
|
|
1055
1054
|
ods: "ods";
|
|
1056
1055
|
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";
|
|
1197
1196
|
odt: "odt";
|
|
1198
1197
|
odp: "odp";
|
|
1199
1198
|
ods: "ods";
|
|
1200
1199
|
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";
|
|
1230
1229
|
odt: "odt";
|
|
1231
1230
|
odp: "odp";
|
|
1232
1231
|
ods: "ods";
|
|
1233
1232
|
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";
|
|
1263
1262
|
odt: "odt";
|
|
1264
1263
|
odp: "odp";
|
|
1265
1264
|
ods: "ods";
|
|
1266
1265
|
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";
|
|
1296
1295
|
odt: "odt";
|
|
1297
1296
|
odp: "odp";
|
|
1298
1297
|
ods: "ods";
|
|
1299
1298
|
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";
|
|
1331
1330
|
odt: "odt";
|
|
1332
1331
|
odp: "odp";
|
|
1333
1332
|
ods: "ods";
|
|
1334
1333
|
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";
|
|
1368
1367
|
odt: "odt";
|
|
1369
1368
|
odp: "odp";
|
|
1370
1369
|
ods: "ods";
|
|
1371
1370
|
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";
|
|
1501
1500
|
odt: "odt";
|
|
1502
1501
|
odp: "odp";
|
|
1503
1502
|
ods: "ods";
|
|
1504
1503
|
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";
|
|
1627
1626
|
odt: "odt";
|
|
1628
1627
|
odp: "odp";
|
|
1629
1628
|
ods: "ods";
|
|
1630
1629
|
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";
|
|
1689
1688
|
odt: "odt";
|
|
1690
1689
|
odp: "odp";
|
|
1691
1690
|
ods: "ods";
|
|
1692
1691
|
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: "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" | "
|
|
1956
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odm" | "odb" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd";
|
|
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" | "xlsx" | "odt" | "
|
|
1999
|
+
format: "docx" | "pptx" | "xlsx" | "odt" | "ods" | "odp" | "odg" | "odm" | "odb" | "odf" | "markdown" | "pdf" | "epub" | "rtf" | "wpd";
|
|
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";
|
|
2015
2014
|
odt: "odt";
|
|
2016
2015
|
odp: "odp";
|
|
2017
2016
|
ods: "ods";
|
|
2018
2017
|
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.144",
|
|
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.91",
|
|
86
|
+
"document-outline.js": "3.10.50",
|
|
87
87
|
"document-schema.js": "7.16.0",
|
|
88
|
-
"documents.js": "14.4.
|
|
88
|
+
"documents.js": "14.4.81",
|
|
89
89
|
"zod": "4.4.3"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|