@embedpdf/engine-core 3.0.0-next.12 → 3.0.0-next.14
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/{AbortError-8-9JAX1Y.js → AbortError-DwuHPK_I.js} +2 -2
- package/dist/{AbortError-8-9JAX1Y.js.map → AbortError-DwuHPK_I.js.map} +1 -1
- package/dist/{AbortError-CRSooKsk.cjs → AbortError-P0RU0Mgg.cjs} +4 -4
- package/dist/{AbortError-CRSooKsk.cjs.map → AbortError-P0RU0Mgg.cjs.map} +1 -1
- package/dist/{AnnotationListSnapshot-x6tKulNV.d.cts → AnnotationListSnapshot-D9R5n2Kf.d.cts} +1390 -176
- package/dist/{AnnotationListSnapshot-x6tKulNV.d.ts → AnnotationListSnapshot-D9R5n2Kf.d.ts} +1390 -176
- package/dist/{DocumentSecurityService-CK0pejAK.d.cts → DocumentSecurityService-CIx1MT0T.d.cts} +2 -2
- package/dist/{DocumentSecurityService-9MawYxP-.d.ts → DocumentSecurityService-Ca6EK3-3.d.ts} +2 -2
- package/dist/{Engine--0XF0UAK.d.cts → Engine-EWWHhEIi.d.ts} +179 -11
- package/dist/{Engine-Ds0ytbl6.d.ts → Engine-FNaAEjfb.d.cts} +179 -11
- package/dist/conformance.cjs +1441 -88
- package/dist/conformance.cjs.map +1 -1
- package/dist/conformance.d.cts +74 -3
- package/dist/conformance.d.ts +74 -3
- package/dist/conformance.js +1376 -25
- package/dist/conformance.js.map +1 -1
- package/dist/derive-BbsDk_Kz.cjs +880 -0
- package/dist/derive-BbsDk_Kz.cjs.map +1 -0
- package/dist/derive-DAFJolWu.js +647 -0
- package/dist/derive-DAFJolWu.js.map +1 -0
- package/dist/{PageInsertBlankInput-WKY0tr6S.js → format-Bbphf4zR.js} +95 -3
- package/dist/format-Bbphf4zR.js.map +1 -0
- package/dist/{PageInsertBlankInput-CzShuSJI.cjs → format-D_epWlob.cjs} +106 -2
- package/dist/format-D_epWlob.cjs.map +1 -0
- package/dist/index.cjs +137 -88
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/{resolver-D-jumvgM.cjs → resolver-CYVNV4hn.cjs} +216 -10
- package/dist/resolver-CYVNV4hn.cjs.map +1 -0
- package/dist/{resolver-CHG4waXL.js → resolver-inAVzsWt.js} +157 -11
- package/dist/resolver-inAVzsWt.js.map +1 -0
- package/dist/runtime.cjs +147 -98
- package/dist/runtime.cjs.map +1 -1
- package/dist/runtime.d.cts +216 -5
- package/dist/runtime.d.ts +216 -5
- package/dist/runtime.js +6 -6
- package/dist/{schemas-DOyVEPk7.js → schemas-CFQGvWiu.js} +551 -5
- package/dist/schemas-CFQGvWiu.js.map +1 -0
- package/dist/{schemas-RChsAMWw.cjs → schemas-D0g6tKa9.cjs} +829 -25
- package/dist/schemas-D0g6tKa9.cjs.map +1 -0
- package/dist/{builders-8Hl1AYNU.cjs → viewport-BWeNHZmb.cjs} +1522 -117
- package/dist/viewport-BWeNHZmb.cjs.map +1 -0
- package/dist/{builders-DOjcKDWQ.js → viewport-CvMcadfQ.js} +1386 -89
- package/dist/viewport-CvMcadfQ.js.map +1 -0
- package/dist/wire.cjs +252 -13
- package/dist/wire.cjs.map +1 -1
- package/dist/wire.d.cts +3147 -5
- package/dist/wire.d.ts +3147 -5
- package/dist/wire.js +207 -14
- package/dist/wire.js.map +1 -1
- package/package.json +1 -1
- package/dist/PageInsertBlankInput-CzShuSJI.cjs.map +0 -1
- package/dist/PageInsertBlankInput-WKY0tr6S.js.map +0 -1
- package/dist/builders-8Hl1AYNU.cjs.map +0 -1
- package/dist/builders-DOjcKDWQ.js.map +0 -1
- package/dist/fold-BfyxxwS6.js +0 -334
- package/dist/fold-BfyxxwS6.js.map +0 -1
- package/dist/fold-C7I5GpBz.cjs +0 -447
- package/dist/fold-C7I5GpBz.cjs.map +0 -1
- package/dist/resolver-CHG4waXL.js.map +0 -1
- package/dist/resolver-D-jumvgM.cjs.map +0 -1
- package/dist/schemas-DOyVEPk7.js.map +0 -1
- package/dist/schemas-RChsAMWw.cjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as EngineErrorCode,
|
|
1
|
+
import { f as PdfAnnotationSubtypeCode, m as EngineErrorCode, n as validNumberFormat, o as charMapViolation } from "./format-Bbphf4zR.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/geometry/schemas.ts
|
|
4
4
|
/**
|
|
@@ -666,12 +666,77 @@ const FileAttachmentKind = {
|
|
|
666
666
|
* key that was never registered fails loud there). The read-back DTO keeps the
|
|
667
667
|
* narrower {@link StandardFontSchema}. */
|
|
668
668
|
const FreeTextFontSchema = z.string().min(1);
|
|
669
|
+
const HexColorSchema = z.string().regex(/^#[0-9a-fA-F]{6}$/);
|
|
670
|
+
const RichTextRunStyleShape = {
|
|
671
|
+
family: z.string().min(1),
|
|
672
|
+
weight: z.number().int().min(100).max(900),
|
|
673
|
+
italic: z.boolean(),
|
|
674
|
+
size: z.number().nonnegative(),
|
|
675
|
+
color: HexColorSchema,
|
|
676
|
+
decoration: z.array(z.enum([
|
|
677
|
+
"underline",
|
|
678
|
+
"line-through",
|
|
679
|
+
"word"
|
|
680
|
+
])),
|
|
681
|
+
script: z.enum([
|
|
682
|
+
"normal",
|
|
683
|
+
"sub",
|
|
684
|
+
"super"
|
|
685
|
+
]),
|
|
686
|
+
letterSpacing: z.number(),
|
|
687
|
+
horizontalScale: z.number().positive(),
|
|
688
|
+
unknown: z.string().optional()
|
|
689
|
+
};
|
|
690
|
+
const RichTextParagraphPropsShape = {
|
|
691
|
+
align: z.enum([
|
|
692
|
+
"left",
|
|
693
|
+
"center",
|
|
694
|
+
"right",
|
|
695
|
+
"justify"
|
|
696
|
+
]),
|
|
697
|
+
dir: z.enum(["ltr", "rtl"]),
|
|
698
|
+
lineHeight: z.number().positive().optional(),
|
|
699
|
+
margins: z.object({
|
|
700
|
+
top: z.number(),
|
|
701
|
+
bottom: z.number(),
|
|
702
|
+
left: z.number(),
|
|
703
|
+
right: z.number()
|
|
704
|
+
}).optional(),
|
|
705
|
+
textIndent: z.number().optional(),
|
|
706
|
+
unknown: z.string().optional()
|
|
707
|
+
};
|
|
708
|
+
const RichTextRunStyleDeltaSchema = z.object(RichTextRunStyleShape).partial();
|
|
709
|
+
const RichTextParagraphSchema = z.object({
|
|
710
|
+
...RichTextParagraphPropsShape,
|
|
711
|
+
runs: z.array(z.object({
|
|
712
|
+
text: z.string(),
|
|
713
|
+
style: RichTextRunStyleDeltaSchema.optional()
|
|
714
|
+
}))
|
|
715
|
+
}).partial({
|
|
716
|
+
align: true,
|
|
717
|
+
dir: true
|
|
718
|
+
});
|
|
719
|
+
const RichTextDocumentSchema = z.object({
|
|
720
|
+
body: z.object({
|
|
721
|
+
...RichTextRunStyleShape,
|
|
722
|
+
...RichTextParagraphPropsShape
|
|
723
|
+
}),
|
|
724
|
+
paragraphs: z.array(RichTextParagraphSchema)
|
|
725
|
+
});
|
|
726
|
+
const RichTextDocumentInputSchema = z.object({
|
|
727
|
+
body: z.object({
|
|
728
|
+
...RichTextRunStyleShape,
|
|
729
|
+
...RichTextParagraphPropsShape
|
|
730
|
+
}).partial().optional(),
|
|
731
|
+
paragraphs: z.array(RichTextParagraphSchema)
|
|
732
|
+
});
|
|
669
733
|
const FreeTextDTOSchema = z.object({
|
|
670
734
|
...AnnotationBaseShape,
|
|
671
735
|
intent: FreeTextIntentSchema,
|
|
672
|
-
fontFamily:
|
|
736
|
+
fontFamily: FreeTextFontSchema,
|
|
673
737
|
fontSize: z.number().positive(),
|
|
674
738
|
textAlign: TextAlignmentSchema,
|
|
739
|
+
richText: RichTextDocumentSchema,
|
|
675
740
|
color: ColorSchema,
|
|
676
741
|
fontColor: ColorSchema.optional(),
|
|
677
742
|
interiorColor: ColorSchema.nullable(),
|
|
@@ -692,6 +757,7 @@ const FreeTextDraftSchema = z.object({
|
|
|
692
757
|
fontFamily: FreeTextFontSchema,
|
|
693
758
|
fontSize: z.number().positive(),
|
|
694
759
|
textAlign: TextAlignmentSchema,
|
|
760
|
+
richText: RichTextDocumentInputSchema.optional(),
|
|
695
761
|
rect: PdfRectSchema,
|
|
696
762
|
color: ColorSchema.optional(),
|
|
697
763
|
fontColor: ColorSchema.optional(),
|
|
@@ -713,6 +779,7 @@ const FreeTextPatchSchema = z.object({
|
|
|
713
779
|
fontFamily: FreeTextFontSchema.optional(),
|
|
714
780
|
fontSize: z.number().positive().optional(),
|
|
715
781
|
textAlign: TextAlignmentSchema.optional(),
|
|
782
|
+
richText: RichTextDocumentInputSchema.optional(),
|
|
716
783
|
rect: PdfRectSchema.optional(),
|
|
717
784
|
color: ColorSchema.optional(),
|
|
718
785
|
fontColor: ColorSchema.optional(),
|
|
@@ -815,8 +882,107 @@ const InkKind = {
|
|
|
815
882
|
patchSchema: InkPatchSchema
|
|
816
883
|
};
|
|
817
884
|
//#endregion
|
|
885
|
+
//#region src/dto/Measure.schema.ts
|
|
886
|
+
const float = z.number().finite().refine((n) => Number.isFinite(Math.fround(n)), "Outside PDF float range");
|
|
887
|
+
const point = z.object({
|
|
888
|
+
x: float,
|
|
889
|
+
y: float
|
|
890
|
+
}).strict();
|
|
891
|
+
const positive = float.refine((n) => Math.fround(n) > 0, "Must be positive in PDF float precision");
|
|
892
|
+
const PdfNumberFormatSchema = z.object({
|
|
893
|
+
unit: z.string(),
|
|
894
|
+
conversion: float.optional(),
|
|
895
|
+
fraction: z.enum([
|
|
896
|
+
"decimal",
|
|
897
|
+
"fraction",
|
|
898
|
+
"round",
|
|
899
|
+
"truncate"
|
|
900
|
+
]).optional(),
|
|
901
|
+
precision: z.number().int().optional(),
|
|
902
|
+
fixed: z.boolean().optional(),
|
|
903
|
+
thousands: z.string().optional(),
|
|
904
|
+
decimal: z.string().optional(),
|
|
905
|
+
prefixSpacing: z.string().optional(),
|
|
906
|
+
suffixSpacing: z.string().optional(),
|
|
907
|
+
labelPosition: z.enum(["suffix", "prefix"]).optional()
|
|
908
|
+
});
|
|
909
|
+
const PdfMeasureSchema = z.object({
|
|
910
|
+
subtype: z.literal("RL"),
|
|
911
|
+
ratio: z.string().optional(),
|
|
912
|
+
x: z.array(PdfNumberFormatSchema),
|
|
913
|
+
y: z.array(PdfNumberFormatSchema).optional(),
|
|
914
|
+
distance: z.array(PdfNumberFormatSchema),
|
|
915
|
+
area: z.array(PdfNumberFormatSchema),
|
|
916
|
+
angle: z.array(PdfNumberFormatSchema).optional(),
|
|
917
|
+
slope: z.array(PdfNumberFormatSchema).optional(),
|
|
918
|
+
origin: point.optional(),
|
|
919
|
+
cyx: float.optional()
|
|
920
|
+
});
|
|
921
|
+
const writableFormat = PdfNumberFormatSchema.extend({
|
|
922
|
+
conversion: positive,
|
|
923
|
+
precision: z.number().int().min(1).max(2147483647).optional()
|
|
924
|
+
}).refine(validNumberFormat, "Invalid number format precision");
|
|
925
|
+
const PdfMeasureWriteSchema = PdfMeasureSchema.extend({
|
|
926
|
+
x: z.array(writableFormat),
|
|
927
|
+
y: z.array(writableFormat).optional(),
|
|
928
|
+
distance: z.array(writableFormat),
|
|
929
|
+
area: z.array(writableFormat),
|
|
930
|
+
angle: z.array(writableFormat).optional(),
|
|
931
|
+
slope: z.array(writableFormat).optional(),
|
|
932
|
+
cyx: positive.optional()
|
|
933
|
+
});
|
|
934
|
+
const geoMeasure = z.object({ subtype: z.literal("GEO") });
|
|
935
|
+
const unknownMeasure = z.object({ subtype: z.literal("unknown") });
|
|
936
|
+
const PdfForeignMeasureSchema = z.union([geoMeasure, unknownMeasure]);
|
|
937
|
+
const PageScaleInputSchema = z.object({ measure: PdfMeasureWriteSchema.nullable() });
|
|
938
|
+
const PdfMeasurementSchema = z.discriminatedUnion("subtype", [
|
|
939
|
+
PdfMeasureSchema,
|
|
940
|
+
geoMeasure,
|
|
941
|
+
unknownMeasure
|
|
942
|
+
]);
|
|
943
|
+
const PageMeasurementViewportSchema = z.object({
|
|
944
|
+
bbox: PdfRectSchema,
|
|
945
|
+
name: z.string().optional(),
|
|
946
|
+
measure: PdfMeasurementSchema.optional(),
|
|
947
|
+
owned: z.boolean()
|
|
948
|
+
});
|
|
949
|
+
const LineIntentSchema = z.enum(["LineArrow", "LineDimension"]);
|
|
950
|
+
const PolygonIntentSchema = z.enum(["PolygonCloud", "PolygonDimension"]);
|
|
951
|
+
const PolylineIntentSchema = z.literal("PolyLineDimension");
|
|
952
|
+
const offset = z.object({
|
|
953
|
+
along: float,
|
|
954
|
+
perpendicular: float
|
|
955
|
+
}).strict();
|
|
956
|
+
const LineDimensionCaptionSchema = z.object({
|
|
957
|
+
enabled: z.boolean(),
|
|
958
|
+
position: z.enum(["inline", "top"]).optional(),
|
|
959
|
+
offset: offset.optional()
|
|
960
|
+
}).strict();
|
|
961
|
+
const ShapeDimensionCaptionSchema = z.object({
|
|
962
|
+
enabled: z.boolean(),
|
|
963
|
+
center: point.optional()
|
|
964
|
+
}).strict();
|
|
965
|
+
const LineCaptionPatchSchema = z.object({
|
|
966
|
+
enabled: z.boolean().optional(),
|
|
967
|
+
position: z.enum(["inline", "top"]).nullable().optional(),
|
|
968
|
+
offset: offset.nullable().optional()
|
|
969
|
+
}).strict();
|
|
970
|
+
const ShapeCaptionPatchSchema = z.object({
|
|
971
|
+
enabled: z.boolean().optional(),
|
|
972
|
+
center: point.nullable().optional()
|
|
973
|
+
}).strict();
|
|
974
|
+
const LineLeaderSchema = z.object({
|
|
975
|
+
length: float,
|
|
976
|
+
extension: float.refine((n) => n >= 0).optional(),
|
|
977
|
+
offset: float.refine((n) => n >= 0).optional()
|
|
978
|
+
}).strict();
|
|
979
|
+
//#endregion
|
|
818
980
|
//#region src/annotation/kinds/line/schema.ts
|
|
819
981
|
const LineDTOSchema = z.object({
|
|
982
|
+
intent: LineIntentSchema.optional(),
|
|
983
|
+
measure: PdfMeasurementSchema.optional(),
|
|
984
|
+
caption: LineDimensionCaptionSchema.optional(),
|
|
985
|
+
leader: LineLeaderSchema.optional(),
|
|
820
986
|
...AnnotationBaseShape,
|
|
821
987
|
...FilledStyleDTOShape,
|
|
822
988
|
linePoints: LinePointsSchema,
|
|
@@ -825,6 +991,10 @@ const LineDTOSchema = z.object({
|
|
|
825
991
|
subtype: z.literal("line")
|
|
826
992
|
});
|
|
827
993
|
const LineDraftSchema = z.object({
|
|
994
|
+
intent: LineIntentSchema.nullable().optional(),
|
|
995
|
+
measure: PdfMeasureWriteSchema.nullable().optional(),
|
|
996
|
+
caption: LineDimensionCaptionSchema.nullable().optional(),
|
|
997
|
+
leader: LineLeaderSchema.nullable().optional(),
|
|
828
998
|
...FilledStyleDraftShape,
|
|
829
999
|
...AnnotationDraftBaseShape,
|
|
830
1000
|
linePoints: LinePointsSchema,
|
|
@@ -834,6 +1004,10 @@ const LineDraftSchema = z.object({
|
|
|
834
1004
|
subtype: z.literal("line")
|
|
835
1005
|
});
|
|
836
1006
|
const LinePatchSchema = z.object({
|
|
1007
|
+
intent: LineIntentSchema.nullable().optional(),
|
|
1008
|
+
measure: PdfMeasureWriteSchema.nullable().optional(),
|
|
1009
|
+
caption: LineCaptionPatchSchema.nullable().optional(),
|
|
1010
|
+
leader: LineLeaderSchema.nullable().optional(),
|
|
837
1011
|
...FilledStylePatchShape,
|
|
838
1012
|
...AnnotationPatchBaseShape,
|
|
839
1013
|
linePoints: LinePointsSchema.optional(),
|
|
@@ -930,12 +1104,18 @@ const VertexPatchShape = {
|
|
|
930
1104
|
//#endregion
|
|
931
1105
|
//#region src/annotation/kinds/polygon/schema.ts
|
|
932
1106
|
const PolygonDTOSchema = z.object({
|
|
1107
|
+
intent: PolygonIntentSchema.optional(),
|
|
1108
|
+
measure: PdfMeasurementSchema.optional(),
|
|
1109
|
+
caption: ShapeDimensionCaptionSchema.optional(),
|
|
933
1110
|
...VertexDTOShape,
|
|
934
1111
|
vertices: z.array(PdfPointSchema).min(3),
|
|
935
1112
|
cloudyIntensity: z.number().positive().nullable(),
|
|
936
1113
|
subtype: z.literal("polygon")
|
|
937
1114
|
});
|
|
938
1115
|
const PolygonDraftSchema = z.object({
|
|
1116
|
+
intent: PolygonIntentSchema.nullable().optional(),
|
|
1117
|
+
measure: PdfMeasureWriteSchema.nullable().optional(),
|
|
1118
|
+
caption: ShapeDimensionCaptionSchema.nullable().optional(),
|
|
939
1119
|
...VertexDraftShape,
|
|
940
1120
|
...AnnotationDraftBaseShape,
|
|
941
1121
|
vertices: z.array(PdfPointSchema).min(3),
|
|
@@ -943,6 +1123,9 @@ const PolygonDraftSchema = z.object({
|
|
|
943
1123
|
subtype: z.literal("polygon")
|
|
944
1124
|
});
|
|
945
1125
|
const PolygonPatchSchema = z.object({
|
|
1126
|
+
intent: PolygonIntentSchema.nullable().optional(),
|
|
1127
|
+
measure: PdfMeasureWriteSchema.nullable().optional(),
|
|
1128
|
+
caption: ShapeCaptionPatchSchema.nullable().optional(),
|
|
946
1129
|
...VertexPatchShape,
|
|
947
1130
|
...AnnotationPatchBaseShape,
|
|
948
1131
|
vertices: z.array(PdfPointSchema).min(3).optional(),
|
|
@@ -961,12 +1144,18 @@ const PolygonKind = {
|
|
|
961
1144
|
//#endregion
|
|
962
1145
|
//#region src/annotation/kinds/polyline/schema.ts
|
|
963
1146
|
const PolylineDTOSchema = z.object({
|
|
1147
|
+
intent: PolylineIntentSchema.optional(),
|
|
1148
|
+
measure: PdfMeasurementSchema.optional(),
|
|
1149
|
+
caption: ShapeDimensionCaptionSchema.optional(),
|
|
964
1150
|
...VertexDTOShape,
|
|
965
1151
|
vertices: z.array(PdfPointSchema).min(2),
|
|
966
1152
|
lineEndings: LineEndingsSchema,
|
|
967
1153
|
subtype: z.literal("polyline")
|
|
968
1154
|
});
|
|
969
1155
|
const PolylineDraftSchema = z.object({
|
|
1156
|
+
intent: PolylineIntentSchema.nullable().optional(),
|
|
1157
|
+
measure: PdfMeasureWriteSchema.nullable().optional(),
|
|
1158
|
+
caption: ShapeDimensionCaptionSchema.nullable().optional(),
|
|
970
1159
|
...VertexDraftShape,
|
|
971
1160
|
...AnnotationDraftBaseShape,
|
|
972
1161
|
vertices: z.array(PdfPointSchema).min(2),
|
|
@@ -974,6 +1163,9 @@ const PolylineDraftSchema = z.object({
|
|
|
974
1163
|
subtype: z.literal("polyline")
|
|
975
1164
|
});
|
|
976
1165
|
const PolylinePatchSchema = z.object({
|
|
1166
|
+
intent: PolylineIntentSchema.nullable().optional(),
|
|
1167
|
+
measure: PdfMeasureWriteSchema.nullable().optional(),
|
|
1168
|
+
caption: ShapeCaptionPatchSchema.nullable().optional(),
|
|
977
1169
|
...VertexPatchShape,
|
|
978
1170
|
...AnnotationPatchBaseShape,
|
|
979
1171
|
vertices: z.array(PdfPointSchema).min(2).optional(),
|
|
@@ -1644,6 +1836,11 @@ const FormFieldDraftSchema = z.discriminatedUnion("family", [
|
|
|
1644
1836
|
multiSelect: z.boolean().optional(),
|
|
1645
1837
|
options: z.array(FormFieldOptionInputSchema).optional(),
|
|
1646
1838
|
widget: WidgetPlacementSchema.optional()
|
|
1839
|
+
}),
|
|
1840
|
+
z.object({
|
|
1841
|
+
...FormFieldDraftBaseShape,
|
|
1842
|
+
family: z.literal("signature"),
|
|
1843
|
+
widget: WidgetPlacementSchema.optional()
|
|
1647
1844
|
})
|
|
1648
1845
|
]);
|
|
1649
1846
|
const FormFieldPatchBaseShape = {
|
|
@@ -2042,6 +2239,9 @@ const DocumentManifestSchema = z.object({
|
|
|
2042
2239
|
annotationsVersion: z.number().int().positive().default(1),
|
|
2043
2240
|
auditHead: z.number().int().nonnegative(),
|
|
2044
2241
|
baseSha: z.string(),
|
|
2242
|
+
layerVersion: z.number().int().nonnegative().default(0),
|
|
2243
|
+
working: z.boolean().default(false),
|
|
2244
|
+
baseByteLength: z.number().int().nonnegative().default(0),
|
|
2045
2245
|
scopes: LayerScopesSchema.optional(),
|
|
2046
2246
|
pages: z.array(ManifestPageSchema)
|
|
2047
2247
|
});
|
|
@@ -2110,7 +2310,8 @@ const SearchQuerySchema = z.object({
|
|
|
2110
2310
|
regex: z.boolean().optional(),
|
|
2111
2311
|
matchCase: z.boolean().optional(),
|
|
2112
2312
|
wholeWord: z.boolean().optional(),
|
|
2113
|
-
matchDiacritics: z.boolean().optional()
|
|
2313
|
+
matchDiacritics: z.boolean().optional(),
|
|
2314
|
+
ignoreWhitespace: z.boolean().optional()
|
|
2114
2315
|
});
|
|
2115
2316
|
const SearchModeSchema = z.enum(["rects", "full"]);
|
|
2116
2317
|
const SearchRequestSchema = z.object({
|
|
@@ -2313,6 +2514,8 @@ const CacheDeltaSchema = z.object({
|
|
|
2313
2514
|
previousDocVersion: z.number().int().positive(),
|
|
2314
2515
|
docVersion: z.number().int().positive(),
|
|
2315
2516
|
annotationsVersion: z.number().int().positive().optional(),
|
|
2517
|
+
layerVersion: z.number().int().nonnegative().optional(),
|
|
2518
|
+
working: z.boolean().optional(),
|
|
2316
2519
|
pages: z.array(z.object({
|
|
2317
2520
|
pageObjectNumber: z.number().int().positive(),
|
|
2318
2521
|
cache: CachePinsSchema
|
|
@@ -2691,7 +2894,350 @@ const WeakAnnotationSessionResponseSchema = z.object({
|
|
|
2691
2894
|
pageObjectNumbers: z.array(z.number().int().positive())
|
|
2692
2895
|
});
|
|
2693
2896
|
const WeakAnnotationSessionPagesRequestSchema = z.object({ pageObjectNumbers: z.array(z.number().int().positive()).transform((pages) => [...new Set(pages)]) });
|
|
2897
|
+
const BASE64_ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
2898
|
+
/** Standard base64 (padded). Dependency-free: no Buffer, runs in browsers too. */
|
|
2899
|
+
function toBase64(bytes) {
|
|
2900
|
+
let out = "";
|
|
2901
|
+
for (let i = 0; i < bytes.length; i += 3) {
|
|
2902
|
+
const b0 = bytes[i];
|
|
2903
|
+
const b1 = bytes[i + 1];
|
|
2904
|
+
const b2 = bytes[i + 2];
|
|
2905
|
+
out += BASE64_ALPHABET[b0 >> 2];
|
|
2906
|
+
out += BASE64_ALPHABET[(b0 & 3) << 4 | (b1 ?? 0) >> 4];
|
|
2907
|
+
out += b1 === void 0 ? "=" : BASE64_ALPHABET[(b1 & 15) << 2 | (b2 ?? 0) >> 6];
|
|
2908
|
+
out += b2 === void 0 ? "=" : BASE64_ALPHABET[b2 & 63];
|
|
2909
|
+
}
|
|
2910
|
+
return out;
|
|
2911
|
+
}
|
|
2912
|
+
function fromBase64(encoded) {
|
|
2913
|
+
let end = encoded.length;
|
|
2914
|
+
while (end > 0 && encoded[end - 1] === "=") end -= 1;
|
|
2915
|
+
const clean = encoded.slice(0, end);
|
|
2916
|
+
if (clean.length % 4 === 1 || /[^A-Za-z0-9+/]/.test(clean)) throw new Error("malformed base64");
|
|
2917
|
+
const bytes = [];
|
|
2918
|
+
let buffer = 0;
|
|
2919
|
+
let bits = 0;
|
|
2920
|
+
for (const ch of clean) {
|
|
2921
|
+
buffer = buffer << 6 | BASE64_ALPHABET.indexOf(ch);
|
|
2922
|
+
bits += 6;
|
|
2923
|
+
if (bits >= 8) {
|
|
2924
|
+
bits -= 8;
|
|
2925
|
+
bytes.push(buffer >> bits & 255);
|
|
2926
|
+
}
|
|
2927
|
+
}
|
|
2928
|
+
return Uint8Array.from(bytes);
|
|
2929
|
+
}
|
|
2930
|
+
const Base64Schema = z.string().regex(/^[A-Za-z0-9+/]*={0,2}$/, "base64");
|
|
2931
|
+
const DocumentVersionRefSchema = z.object({
|
|
2932
|
+
baseSha256: z.string().regex(/^[0-9a-f]{64}$/),
|
|
2933
|
+
editsVersion: z.number().int().nonnegative()
|
|
2934
|
+
});
|
|
2935
|
+
const ByteRangeSchema = z.tuple([
|
|
2936
|
+
z.number().int().nonnegative(),
|
|
2937
|
+
z.number().int().nonnegative(),
|
|
2938
|
+
z.number().int().nonnegative(),
|
|
2939
|
+
z.number().int().nonnegative()
|
|
2940
|
+
]);
|
|
2941
|
+
/** `SignaturePrepared` with the digest as base64. */
|
|
2942
|
+
const SignaturePreparedWireSchema = z.object({
|
|
2943
|
+
signingId: z.string().min(1),
|
|
2944
|
+
digest: Base64Schema,
|
|
2945
|
+
algorithm: z.enum([
|
|
2946
|
+
"sha256",
|
|
2947
|
+
"sha384",
|
|
2948
|
+
"sha512"
|
|
2949
|
+
]),
|
|
2950
|
+
byteRange: ByteRangeSchema,
|
|
2951
|
+
contentsSize: z.number().int().positive(),
|
|
2952
|
+
subFilter: z.string(),
|
|
2953
|
+
expectedVersion: DocumentVersionRefSchema,
|
|
2954
|
+
expiresAt: z.string().nullable()
|
|
2955
|
+
});
|
|
2956
|
+
function encodePrepared(prepared) {
|
|
2957
|
+
return {
|
|
2958
|
+
...prepared,
|
|
2959
|
+
digest: toBase64(prepared.digest)
|
|
2960
|
+
};
|
|
2961
|
+
}
|
|
2962
|
+
function decodePrepared(wire) {
|
|
2963
|
+
return {
|
|
2964
|
+
...wire,
|
|
2965
|
+
digest: fromBase64(wire.digest),
|
|
2966
|
+
subFilter: wire.subFilter
|
|
2967
|
+
};
|
|
2968
|
+
}
|
|
2969
|
+
/** The JSON body of a completion: the CMS as base64 beside the fence. */
|
|
2970
|
+
const SignatureCompleteBodySchema = z.object({
|
|
2971
|
+
cms: Base64Schema.refine((v) => v.length > 0, "cms is required"),
|
|
2972
|
+
expectedVersion: DocumentVersionRefSchema
|
|
2973
|
+
});
|
|
2974
|
+
const DocMdpPermissionSchema = z.union([
|
|
2975
|
+
z.literal(1),
|
|
2976
|
+
z.literal(2),
|
|
2977
|
+
z.literal(3)
|
|
2978
|
+
]);
|
|
2979
|
+
const ModificationLevelSchema = z.enum([
|
|
2980
|
+
"none",
|
|
2981
|
+
"lta",
|
|
2982
|
+
"fill",
|
|
2983
|
+
"annotate"
|
|
2984
|
+
]);
|
|
2985
|
+
const DigestAlgorithmSchema = z.enum([
|
|
2986
|
+
"sha1",
|
|
2987
|
+
"sha256",
|
|
2988
|
+
"sha384",
|
|
2989
|
+
"sha512"
|
|
2990
|
+
]);
|
|
2991
|
+
const FieldLockSpecSchema = z.object({
|
|
2992
|
+
action: z.enum([
|
|
2993
|
+
"all",
|
|
2994
|
+
"include",
|
|
2995
|
+
"exclude"
|
|
2996
|
+
]),
|
|
2997
|
+
fields: z.array(z.string()),
|
|
2998
|
+
permission: DocMdpPermissionSchema.optional()
|
|
2999
|
+
});
|
|
3000
|
+
const SignatureSeedValueSchema = z.object({
|
|
3001
|
+
requiredFlags: z.number().int(),
|
|
3002
|
+
presentFlags: z.number().int(),
|
|
3003
|
+
version: z.number().int().nullable(),
|
|
3004
|
+
mdp: z.union([
|
|
3005
|
+
z.literal(0),
|
|
3006
|
+
z.literal(1),
|
|
3007
|
+
z.literal(2),
|
|
3008
|
+
z.literal(3)
|
|
3009
|
+
]).nullable(),
|
|
3010
|
+
filter: z.string().nullable(),
|
|
3011
|
+
subFilters: z.array(z.string()),
|
|
3012
|
+
digestMethods: z.array(z.string()),
|
|
3013
|
+
reasons: z.array(z.string()),
|
|
3014
|
+
unsupportedRequired: z.boolean()
|
|
3015
|
+
});
|
|
3016
|
+
const SignatureDTOSchema = z.object({
|
|
3017
|
+
index: z.number().int().nonnegative(),
|
|
3018
|
+
field: FormFieldRefSchema,
|
|
3019
|
+
fieldName: z.string(),
|
|
3020
|
+
widget: FormWidgetRefSchema.nullable(),
|
|
3021
|
+
signed: z.boolean(),
|
|
3022
|
+
kind: z.enum(["signature", "timestamp"]),
|
|
3023
|
+
filter: z.string().nullable(),
|
|
3024
|
+
subFilter: z.string().nullable(),
|
|
3025
|
+
byteRange: ByteRangeSchema.nullable(),
|
|
3026
|
+
contentsSize: z.number().int().nonnegative(),
|
|
3027
|
+
coverage: z.enum([
|
|
3028
|
+
"whole-revision",
|
|
3029
|
+
"partial",
|
|
3030
|
+
"malformed"
|
|
3031
|
+
]).nullable(),
|
|
3032
|
+
revisionIndex: z.number().int().nonnegative().nullable(),
|
|
3033
|
+
signer: z.object({
|
|
3034
|
+
name: z.string().nullable(),
|
|
3035
|
+
reason: z.string().nullable(),
|
|
3036
|
+
location: z.string().nullable(),
|
|
3037
|
+
contactInfo: z.string().nullable(),
|
|
3038
|
+
claimedTime: z.string().nullable()
|
|
3039
|
+
}),
|
|
3040
|
+
docMdp: DocMdpPermissionSchema.nullable(),
|
|
3041
|
+
catalogCertification: z.boolean(),
|
|
3042
|
+
fieldMdp: FieldLockSpecSchema.nullable(),
|
|
3043
|
+
lock: FieldLockSpecSchema.nullable(),
|
|
3044
|
+
seedValue: SignatureSeedValueSchema.nullable()
|
|
3045
|
+
});
|
|
3046
|
+
const DocumentProtectionSchema = z.object({
|
|
3047
|
+
enforced: ModificationLevelSchema.nullable(),
|
|
3048
|
+
judged: ModificationLevelSchema.nullable(),
|
|
3049
|
+
certification: z.object({
|
|
3050
|
+
signatureIndex: z.number().int().nonnegative(),
|
|
3051
|
+
permission: DocMdpPermissionSchema
|
|
3052
|
+
}).nullable(),
|
|
3053
|
+
fieldLocks: z.array(z.object({
|
|
3054
|
+
signatureIndex: z.number().int().nonnegative(),
|
|
3055
|
+
source: z.enum(["fieldmdp", "lock"]),
|
|
3056
|
+
spec: FieldLockSpecSchema
|
|
3057
|
+
})),
|
|
3058
|
+
policyVersion: z.number().int()
|
|
3059
|
+
});
|
|
3060
|
+
const PdfRevisionSchema = z.object({
|
|
3061
|
+
index: z.number().int().nonnegative(),
|
|
3062
|
+
end: z.number().int().nonnegative(),
|
|
3063
|
+
xrefOffset: z.number().int().nonnegative(),
|
|
3064
|
+
signatureIndex: z.number().int().nonnegative().nullable()
|
|
3065
|
+
});
|
|
3066
|
+
const SignatureSnapshotSchema = z.object({
|
|
3067
|
+
chainValid: z.boolean(),
|
|
3068
|
+
revisions: z.array(PdfRevisionSchema),
|
|
3069
|
+
signatures: z.array(SignatureDTOSchema),
|
|
3070
|
+
protection: DocumentProtectionSchema
|
|
3071
|
+
});
|
|
3072
|
+
const BaseVersionInfoSchema = z.object({
|
|
3073
|
+
sha256: z.string().regex(/^[0-9a-f]{64}$/),
|
|
3074
|
+
byteLength: z.number().int().nonnegative()
|
|
3075
|
+
});
|
|
3076
|
+
const SignatureCompleteResultSchema = z.object({
|
|
3077
|
+
status: z.enum(["completed", "already-completed"]),
|
|
3078
|
+
signature: SignatureDTOSchema,
|
|
3079
|
+
version: BaseVersionInfoSchema,
|
|
3080
|
+
previous: DocumentVersionRefSchema,
|
|
3081
|
+
protection: DocumentProtectionSchema,
|
|
3082
|
+
meta: MutationMetaSchema
|
|
3083
|
+
});
|
|
3084
|
+
const SignatureAbortResultSchema = z.object({ status: z.enum([
|
|
3085
|
+
"aborted",
|
|
3086
|
+
"already-completed",
|
|
3087
|
+
"unknown"
|
|
3088
|
+
]) });
|
|
3089
|
+
const ChangeFindingSchema = z.object({
|
|
3090
|
+
rule: z.string(),
|
|
3091
|
+
verdict: z.enum([
|
|
3092
|
+
"permitted",
|
|
3093
|
+
"forbidden",
|
|
3094
|
+
"incomplete"
|
|
3095
|
+
]),
|
|
3096
|
+
objectNumber: z.number().int().nonnegative(),
|
|
3097
|
+
edge: z.string().optional(),
|
|
3098
|
+
detail: z.string().optional()
|
|
3099
|
+
});
|
|
3100
|
+
const AnalysisDetailSchema = z.enum(["summary", "full"]);
|
|
3101
|
+
/** The analysis: one verdict (`current`) with its findings, the restrictions it was judged under, and facts about the revisions in between. */
|
|
3102
|
+
const ChangeAnalysisSchema = z.object({
|
|
3103
|
+
mode: z.enum(["authoritative", "exploratory"]),
|
|
3104
|
+
policyVersion: z.number().int(),
|
|
3105
|
+
basis: z.object({
|
|
3106
|
+
version: BaseVersionInfoSchema,
|
|
3107
|
+
editsVersion: z.number().int().nonnegative(),
|
|
3108
|
+
source: z.enum(["persisted", "working-copy"])
|
|
3109
|
+
}),
|
|
3110
|
+
since: z.object({
|
|
3111
|
+
revisionIndex: z.number().int().nonnegative(),
|
|
3112
|
+
signatureIndex: z.number().int().nonnegative().nullable()
|
|
3113
|
+
}),
|
|
3114
|
+
until: z.object({ revisionIndex: z.number().int().nonnegative() }),
|
|
3115
|
+
restrictions: z.array(z.object({
|
|
3116
|
+
signatureIndex: z.number().int().nonnegative(),
|
|
3117
|
+
revisionIndex: z.number().int().nonnegative(),
|
|
3118
|
+
source: z.enum([
|
|
3119
|
+
"docmdp",
|
|
3120
|
+
"fieldmdp",
|
|
3121
|
+
"lock"
|
|
3122
|
+
]),
|
|
3123
|
+
own: z.boolean(),
|
|
3124
|
+
permission: z.union([
|
|
3125
|
+
z.literal(1),
|
|
3126
|
+
z.literal(2),
|
|
3127
|
+
z.literal(3)
|
|
3128
|
+
]).optional(),
|
|
3129
|
+
fields: z.unknown().optional()
|
|
3130
|
+
})),
|
|
3131
|
+
current: z.object({
|
|
3132
|
+
verdict: z.enum([
|
|
3133
|
+
"unchanged",
|
|
3134
|
+
"permitted",
|
|
3135
|
+
"forbidden",
|
|
3136
|
+
"indeterminate"
|
|
3137
|
+
]),
|
|
3138
|
+
complete: z.boolean(),
|
|
3139
|
+
primary: ChangeFindingSchema.optional(),
|
|
3140
|
+
findings: z.array(ChangeFindingSchema),
|
|
3141
|
+
method: z.enum(["net-state", "net-state+replay"])
|
|
3142
|
+
}),
|
|
3143
|
+
later: z.object({
|
|
3144
|
+
revisionCount: z.number().int().nonnegative(),
|
|
3145
|
+
undoneObjectNumbers: z.array(z.number().int().nonnegative())
|
|
3146
|
+
}),
|
|
3147
|
+
/** Equals `current.verdict`. */
|
|
3148
|
+
verdict: z.enum([
|
|
3149
|
+
"unchanged",
|
|
3150
|
+
"permitted",
|
|
3151
|
+
"forbidden",
|
|
3152
|
+
"indeterminate"
|
|
3153
|
+
]),
|
|
3154
|
+
/** The step DTOs are large and evolving; carried verbatim. */
|
|
3155
|
+
steps: z.array(z.unknown())
|
|
3156
|
+
});
|
|
3157
|
+
const SignatureAttributionSchema = z.object({
|
|
3158
|
+
name: z.string().optional(),
|
|
3159
|
+
reason: z.string().optional(),
|
|
3160
|
+
location: z.string().optional(),
|
|
3161
|
+
contactInfo: z.string().optional()
|
|
3162
|
+
});
|
|
3163
|
+
/** The JSON part of a visual signature fill (multipart envelope): which resource part holds the PDF, and its page. */
|
|
3164
|
+
const SignatureAppearanceBodySchema = z.object({
|
|
3165
|
+
resource: z.string().min(1),
|
|
3166
|
+
pageIndex: z.number().int().nonnegative().optional()
|
|
3167
|
+
});
|
|
3168
|
+
/**
|
|
3169
|
+
* The JSON part of a prepare (multipart envelope): `SignaturePrepareInput`
|
|
3170
|
+
* with the appearance artwork referenced by its resource part instead of
|
|
3171
|
+
* inline bytes.
|
|
3172
|
+
*/
|
|
3173
|
+
const SignaturePrepareBodySchema = z.object({
|
|
3174
|
+
field: FormFieldRefSchema,
|
|
3175
|
+
kind: z.enum(["signature", "timestamp"]).optional(),
|
|
3176
|
+
subFilter: z.enum(["adbe.pkcs7.detached", "ETSI.CAdES.detached"]).optional(),
|
|
3177
|
+
digest: z.enum([
|
|
3178
|
+
"sha256",
|
|
3179
|
+
"sha384",
|
|
3180
|
+
"sha512"
|
|
3181
|
+
]).optional(),
|
|
3182
|
+
contentsSize: z.number().int().positive().optional(),
|
|
3183
|
+
attribution: SignatureAttributionSchema.optional(),
|
|
3184
|
+
/** @deprecated the pre-rename spelling of `attribution`; servers read either. */
|
|
3185
|
+
signer: SignatureAttributionSchema.optional(),
|
|
3186
|
+
signingTime: z.string().optional(),
|
|
3187
|
+
certify: z.object({ permission: DocMdpPermissionSchema }).optional(),
|
|
3188
|
+
lock: FieldLockSpecSchema.optional(),
|
|
3189
|
+
appearance: z.object({
|
|
3190
|
+
resource: z.string().min(1),
|
|
3191
|
+
pageIndex: z.number().int().nonnegative().optional()
|
|
3192
|
+
}).optional()
|
|
3193
|
+
});
|
|
3194
|
+
const optionalIndex = z.coerce.number().int().nonnegative().optional();
|
|
3195
|
+
/** Layer analysis query (the current form): exactly one `since.*`; the working copy is the end. */
|
|
3196
|
+
const LayerAnalysisQuerySchema = z.object({
|
|
3197
|
+
"since.signature": optionalIndex,
|
|
3198
|
+
"since.revision": optionalIndex,
|
|
3199
|
+
level: ModificationLevelSchema.optional(),
|
|
3200
|
+
detail: AnalysisDetailSchema.optional()
|
|
3201
|
+
}).refine((q) => q["since.signature"] === void 0 !== (q["since.revision"] === void 0), { message: "exactly one of since.signature / since.revision is required" });
|
|
3202
|
+
/** Version analysis query: as the layer's, plus `until` (a revision index; default the last). */
|
|
3203
|
+
const VersionAnalysisQuerySchema = z.object({
|
|
3204
|
+
"since.signature": optionalIndex,
|
|
3205
|
+
"since.revision": optionalIndex,
|
|
3206
|
+
until: optionalIndex,
|
|
3207
|
+
level: ModificationLevelSchema.optional(),
|
|
3208
|
+
detail: AnalysisDetailSchema.optional(),
|
|
3209
|
+
/** The judging policy version the caller expects — a cache key, not an input (version responses are immutable). */
|
|
3210
|
+
policy: optionalIndex
|
|
3211
|
+
}).refine((q) => q["since.signature"] === void 0 !== (q["since.revision"] === void 0), { message: "exactly one of since.signature / since.revision is required" });
|
|
3212
|
+
function analyzeInputFromQuery(query, until) {
|
|
3213
|
+
return {
|
|
3214
|
+
since: query["since.signature"] !== void 0 ? { signatureIndex: query["since.signature"] } : { revisionIndex: query["since.revision"] ?? 0 },
|
|
3215
|
+
...until !== void 0 ? { until } : {},
|
|
3216
|
+
...query.level !== void 0 ? { exploratoryLevel: query.level } : {},
|
|
3217
|
+
...query.detail !== void 0 ? { detail: query.detail } : {}
|
|
3218
|
+
};
|
|
3219
|
+
}
|
|
3220
|
+
/** One row of the document's version catalog. */
|
|
3221
|
+
const DocumentVersionSchema = z.object({
|
|
3222
|
+
sha256: z.string().regex(/^[0-9a-f]{64}$/),
|
|
3223
|
+
byteLength: z.number().int().nonnegative(),
|
|
3224
|
+
number: z.number().int().positive(),
|
|
3225
|
+
parentSha256: z.string().nullable(),
|
|
3226
|
+
producer: z.enum(["upload", "signature"]),
|
|
3227
|
+
signingId: z.string().nullable(),
|
|
3228
|
+
createdAt: z.number().int()
|
|
3229
|
+
});
|
|
3230
|
+
const DocumentVersionsSchema = z.object({
|
|
3231
|
+
/** `documents.base_sha`: the version every layer is over, or behind. */
|
|
3232
|
+
head: z.string().regex(/^[0-9a-f]{64}$/),
|
|
3233
|
+
/** Oldest first. */
|
|
3234
|
+
versions: z.array(DocumentVersionSchema)
|
|
3235
|
+
});
|
|
3236
|
+
const PageScaleResultSchema = z.object({
|
|
3237
|
+
pageObjectNumber: z.number().int().positive(),
|
|
3238
|
+
meta: MutationMetaSchema
|
|
3239
|
+
});
|
|
2694
3240
|
//#endregion
|
|
2695
|
-
export {
|
|
3241
|
+
export { PageBoxesSchema as $, PdfLinkTargetWritableSchema as $n, InkIntentSchema as $r, FormDataFormatSchema as $t, DocumentVersionRefSchema as A, StrikeoutDTOSchema as An, FileAttachmentWireDraftSchema as Ar, SearchMatchSchema as At, FormImportResultSchema as B, SquareDTOSchema as Bn, CaretPatchSchema as Br, SignatureDTOSchema as Bt, ChangeAnalysisSchema as C, PdfQuadSchema as Ci, UnderlineDTOSchema as Cn, HighlightPatchSchema as Cr, PageStructureCacheSchema as Ct, DocumentMetadataSchema as D, TextDTOSchema as Dn, FileAttachmentDTOSchema as Dr, RedactionApplyResultSchema as Dt, DocumentManifestSchema as E, PdfSizeSchema as Ei, NoteIconSchema as En, FreeTextPatchSchema as Er, PdfSaveModeSchema as Et, FormEffectSchema as F, StampWireDraftSchema as Fn, CircleDTOSchema as Fr, SearchSnippetSchema as Ft, LayerScopesSchema as G, PolylinePatchSchema as Gn, AnnotationFlagsSchema as Gr, VersionAnalysisQuerySchema as Gt, FormSetValueResultSchema as H, SquarePatchSchema as Hn, AnnotationBorderStyleSchema as Hr, SignaturePreparedWireSchema as Ht, FormEffectsResultSchema as I, StampWirePatchSchema as In, CircleDraftSchema as Ir, SignatureAbortResultSchema as It, MetadataUpdateResultSchema as J, PolygonPatchSchema as Jn, AnnotationStableIdSchema as Jr, analyzeInputFromQuery as Jt, ManifestPageSchema as K, PolygonDTOSchema as Kn, AnnotationPatchBaseShape as Kr, WeakAnnotationSessionPagesRequestSchema as Kt, FormFieldCreateResultSchema as L, SquigglyDTOSchema as Ln, CirclePatchSchema as Lr, SignatureAppearanceBodySchema as Lt, DocumentVersionsSchema as M, StrikeoutPatchSchema as Mn, AttachmentFileInfoSchema as Mr, SearchQuerySchema as Mt, EngineErrorPayloadSchema as N, ResourceRefSchema as Nn, EmbeddedFileItemSchema as Nr, SearchRequestSchema as Nt, DocumentProtectionSchema as O, TextDraftSchema as On, FileAttachmentIconSchema as Or, RedactionApplyScopeSchema as Ot, FieldLockSpecSchema as P, StampDTOSchema as Pn, EmbeddedFileRefSchema as Pr, SearchSliceSchema as Pt, OpenDocumentResponseSchema as Q, PdfLinkTargetSchema as Qn, FreeTextIntentSchema as Qr, toBase64 as Qt, FormFieldDeleteResultSchema as R, SquigglyDraftSchema as Rn, CaretDTOSchema as Rr, SignatureCompleteBodySchema as Rt, CachePinsSchema as S, PdfPointSchema as Si, UnsupportedPatchSchema as Sn, HighlightDraftSchema as Sr, PageStateSchema as St, DocumentHeadSchema as T, PdfRotationSchema as Ti, UnderlinePatchSchema as Tn, FreeTextDraftSchema as Tr, PdfRevisionSchema as Tt, FormWidgetLinkResultSchema as U, PolylineDTOSchema as Un, AnnotationDraftBaseShape as Ur, SignatureSeedValueSchema as Ut, FormRepairResultSchema as V, SquareDraftSchema as Vn, AnnotationBaseShape as Vr, SignaturePrepareBodySchema as Vt, LayerAnalysisQuerySchema as W, PolylineDraftSchema as Wn, AnnotationFlagsPartialSchema as Wr, SignatureSnapshotSchema as Wt, MutationMetaSchema as X, LinkDraftSchema as Xn, CaretIntentSchema as Xr, encodePrepared as Xt, ModificationLevelSchema as Y, LinkDTOSchema as Yn, BlendModeSchema as Yr, decodePrepared as Yt, NamedPageEntrySchema as Z, LinkPatchSchema as Zn, ColorSchema as Zr, fromBase64 as Zt, AttachmentDeleteResultSchema as _, PdfPageActionsSchema as _i, AnnotationPatchSchema as _n, ShapeDimensionCaptionSchema as _r, PageRenderAnnotatedQuerySchema as _t, AnnotationAppearancesQuerySchema as a, RevisionTokenSchema as ai, FormFieldPatchSchema as an, LineIntentSchema as ar, PageGeometrySnapshotSchema as at, ByteRangeSchema as b, InkListSchema as bi, UnsupportedDTOSchema as bn, InkPatchSchema as br, PageRotateResultSchema as bt, AnnotationFlattenInputSchema as c, TextAlignmentSchema as ci, FormKindSchema as cn, PageScaleInputSchema as cr, PageInsertResultSchema as ct, AnnotationListPageSnapshotSchema as d, PdfActionTargetRefSchema as di, FormWidgetRefSchema as dn, PdfMeasureWriteSchema as dr, PageMoveInputSchema as dt, LineEndingSchema as ei, FormFieldDTOSchema as en, LineDTOSchema as er, PageDeleteInputSchema as et, AnnotationListSnapshotAllPagesSchema as f, PdfActionTreeSchema as fi, ToggleFieldWidgetSchema as fn, PdfMeasurementSchema as fr, PageMoveResultSchema as ft, AttachmentCreateResultSchema as g, PdfFieldActionsSchema as gi, AnnotationDraftSchema as gn, ShapeCaptionPatchSchema as gr, PageRemoveNameInputSchema as gt, AppearanceOutcomeSchema as h, PdfAnnotationActionsSchema as hi, AnnotationDTOSchema as hn, PolylineIntentSchema as hr, PageNetworkRenderFormatSchema as ht, AnnotationAppearanceManifestSchema as i, RectSchema as ii, FormFieldOptionSchema as in, LineDimensionCaptionSchema as ir, PageFlattenResultSchema as it, DocumentVersionSchema as j, StrikeoutDraftSchema as jn, WireAttachmentFileSchema as jr, SearchModeSchema as jt, DocumentSecurityStateSchema as k, TextPatchSchema as kn, FileAttachmentPatchSchema as kr, RefetchReasonSchema as kt, AnnotationFlattenResultSchema as l, DocumentActionsSnapshotSchema as li, FormSnapshotSchema as ln, PdfForeignMeasureSchema as lr, PageLayoutSchema as lt, AnnotationUpdateResultSchema as m, PdfActionWireComponents as mi, ANNOTATION_KINDS as mn, PolygonIntentSchema as mr, PageNameResultSchema as mt, AccessResponseSchema as n, PdfRectDifferencesSchema as ni, FormFieldFlagsSchema as nn, LinePatchSchema as nr, PageExtractInputSchema as nt, AnnotationCreateResultSchema as o, StandardFontSchema as oi, FormFieldRefSchema as on, LineLeaderSchema as or, PageInsertBlankInputSchema as ot, AnnotationMoveResultSchema as p, PdfActionTypeSchema as pi, WidgetPlacementSchema as pn, PdfNumberFormatSchema as pr, PageNameInputSchema as pt, MetadataPatchSchema as q, PolygonDraftSchema as qn, AnnotationRefSchema as qr, WeakAnnotationSessionResponseSchema as qt, AnnotationAppearanceExportInputSchema as r, PointSchema as ri, FormFieldOptionInputSchema as rn, LineCaptionPatchSchema as rr, PageFlattenInputSchema as rt, AnnotationDeleteResultSchema as s, StrikeoutIntentSchema as si, FormFieldValueSchema as sn, PageMeasurementViewportSchema as sr, PageInsertInputSchema as st, AccessRequestSchema as t, LineEndingsSchema as ti, FormFieldDraftSchema as tn, LineDraftSchema as tr, PageDeleteResultSchema as tt, AnnotationListMutationMetaSchema as u, PdfActionNodeSchema as ui, FormValueEntrySchema as un, PdfMeasureSchema as ur, PageListSnapshotSchema as ut, AttachmentsCacheSchema as v, PdfDestinationSchema as vi, KIND_BY_SUBTYPE as vn, InkDTOSchema as vr, PageRenderQuerySchema as vt, DigestAlgorithmSchema as w, PdfRectSchema as wi, UnderlineDraftSchema as wn, FreeTextDTOSchema as wr, PageTextSnapshotSchema as wt, CacheDeltaSchema as x, LinePointsSchema as xi, UnsupportedDraftSchema as xn, HighlightDTOSchema as xr, PageScaleResultSchema as xt, BaseVersionInfoSchema as y, CalloutLineSchema as yi, WidgetAppearanceSchema as yn, InkDraftSchema as yr, PageRotateInputSchema as yt, FormFieldUpdateResultSchema as z, SquigglyPatchSchema as zn, CaretDraftSchema as zr, SignatureCompleteResultSchema as zt };
|
|
2696
3242
|
|
|
2697
|
-
//# sourceMappingURL=schemas-
|
|
3243
|
+
//# sourceMappingURL=schemas-CFQGvWiu.js.map
|