@embedpdf/engine-core 3.0.0-next.11 → 3.0.0-next.13
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-CRSooKsk.cjs → AbortError-Cq2igpZ6.cjs} +2 -2
- package/dist/{AbortError-CRSooKsk.cjs.map → AbortError-Cq2igpZ6.cjs.map} +1 -1
- package/dist/{AbortError-8-9JAX1Y.js → AbortError-DHqPBnYc.js} +2 -2
- package/dist/{AbortError-8-9JAX1Y.js.map → AbortError-DHqPBnYc.js.map} +1 -1
- package/dist/{AnnotationListSnapshot-C1U3XUxP.d.cts → AnnotationListSnapshot-D3mFut1e.d.cts} +1323 -214
- package/dist/{AnnotationListSnapshot-C1U3XUxP.d.ts → AnnotationListSnapshot-D3mFut1e.d.ts} +1323 -214
- package/dist/{DocumentSecurityService-6rhztZlz.d.cts → DocumentSecurityService-ClTZc0zO.d.cts} +2 -2
- package/dist/{DocumentSecurityService-7nL9aY75.d.ts → DocumentSecurityService-_JRjqvoI.d.ts} +2 -2
- package/dist/{Engine-D3868xIU.d.cts → Engine-Bx0NOfmd.d.cts} +219 -11
- package/dist/{Engine-CWnAKccD.d.ts → Engine-DxtpCYcP.d.ts} +219 -11
- package/dist/{PageInsertBlankInput-CzShuSJI.cjs → PageInsertBlankInput-CqXBmFhN.cjs} +37 -2
- package/dist/PageInsertBlankInput-CqXBmFhN.cjs.map +1 -0
- package/dist/{PageInsertBlankInput-WKY0tr6S.js → PageInsertBlankInput-cHq9-i-z.js} +37 -2
- package/dist/PageInsertBlankInput-cHq9-i-z.js.map +1 -0
- package/dist/{builders-Do6_4KnS.cjs → builders-Bqm8yTpi.cjs} +1483 -11
- package/dist/builders-Bqm8yTpi.cjs.map +1 -0
- package/dist/{builders-Cdz34nbF.js → builders-Dqo2X-dt.js} +1364 -12
- package/dist/builders-Dqo2X-dt.js.map +1 -0
- package/dist/conformance.cjs +1630 -107
- package/dist/conformance.cjs.map +1 -1
- package/dist/conformance.d.cts +117 -3
- package/dist/conformance.d.ts +117 -3
- package/dist/conformance.js +1627 -108
- package/dist/conformance.js.map +1 -1
- package/dist/{fold-C7I5GpBz.cjs → fold-2V29cxCV.cjs} +2 -2
- package/dist/{fold-C7I5GpBz.cjs.map → fold-2V29cxCV.cjs.map} +1 -1
- package/dist/{fold-BfyxxwS6.js → fold-CdEJTBTn.js} +2 -2
- package/dist/{fold-BfyxxwS6.js.map → fold-CdEJTBTn.js.map} +1 -1
- package/dist/index.cjs +33 -4
- 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 +34 -5
- package/dist/runtime.d.cts +253 -5
- package/dist/runtime.d.ts +253 -5
- package/dist/runtime.js +6 -6
- package/dist/{schemas-XGrNVMDd.js → schemas-BLARNCgx.js} +469 -7
- package/dist/schemas-BLARNCgx.js.map +1 -0
- package/dist/{schemas-CS5iPpX5.cjs → schemas-DIqFMmrC.cjs} +672 -6
- package/dist/schemas-DIqFMmrC.cjs.map +1 -0
- package/dist/wire.cjs +250 -12
- package/dist/wire.cjs.map +1 -1
- package/dist/wire.d.cts +444 -4
- package/dist/wire.d.ts +444 -4
- package/dist/wire.js +214 -13
- 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-Cdz34nbF.js.map +0 -1
- package/dist/builders-Do6_4KnS.cjs.map +0 -1
- package/dist/resolver-CHG4waXL.js.map +0 -1
- package/dist/resolver-D-jumvgM.cjs.map +0 -1
- package/dist/schemas-CS5iPpX5.cjs.map +0 -1
- package/dist/schemas-XGrNVMDd.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_PageInsertBlankInput = require("./PageInsertBlankInput-
|
|
1
|
+
const require_PageInsertBlankInput = require("./PageInsertBlankInput-CqXBmFhN.cjs");
|
|
2
2
|
let zod = require("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 = zod.z.string().min(1);
|
|
669
|
+
const HexColorSchema = zod.z.string().regex(/^#[0-9a-fA-F]{6}$/);
|
|
670
|
+
const RichTextRunStyleShape = {
|
|
671
|
+
family: zod.z.string().min(1),
|
|
672
|
+
weight: zod.z.number().int().min(100).max(900),
|
|
673
|
+
italic: zod.z.boolean(),
|
|
674
|
+
size: zod.z.number().nonnegative(),
|
|
675
|
+
color: HexColorSchema,
|
|
676
|
+
decoration: zod.z.array(zod.z.enum([
|
|
677
|
+
"underline",
|
|
678
|
+
"line-through",
|
|
679
|
+
"word"
|
|
680
|
+
])),
|
|
681
|
+
script: zod.z.enum([
|
|
682
|
+
"normal",
|
|
683
|
+
"sub",
|
|
684
|
+
"super"
|
|
685
|
+
]),
|
|
686
|
+
letterSpacing: zod.z.number(),
|
|
687
|
+
horizontalScale: zod.z.number().positive(),
|
|
688
|
+
unknown: zod.z.string().optional()
|
|
689
|
+
};
|
|
690
|
+
const RichTextParagraphPropsShape = {
|
|
691
|
+
align: zod.z.enum([
|
|
692
|
+
"left",
|
|
693
|
+
"center",
|
|
694
|
+
"right",
|
|
695
|
+
"justify"
|
|
696
|
+
]),
|
|
697
|
+
dir: zod.z.enum(["ltr", "rtl"]),
|
|
698
|
+
lineHeight: zod.z.number().positive().optional(),
|
|
699
|
+
margins: zod.z.object({
|
|
700
|
+
top: zod.z.number(),
|
|
701
|
+
bottom: zod.z.number(),
|
|
702
|
+
left: zod.z.number(),
|
|
703
|
+
right: zod.z.number()
|
|
704
|
+
}).optional(),
|
|
705
|
+
textIndent: zod.z.number().optional(),
|
|
706
|
+
unknown: zod.z.string().optional()
|
|
707
|
+
};
|
|
708
|
+
const RichTextRunStyleDeltaSchema = zod.z.object(RichTextRunStyleShape).partial();
|
|
709
|
+
const RichTextParagraphSchema = zod.z.object({
|
|
710
|
+
...RichTextParagraphPropsShape,
|
|
711
|
+
runs: zod.z.array(zod.z.object({
|
|
712
|
+
text: zod.z.string(),
|
|
713
|
+
style: RichTextRunStyleDeltaSchema.optional()
|
|
714
|
+
}))
|
|
715
|
+
}).partial({
|
|
716
|
+
align: true,
|
|
717
|
+
dir: true
|
|
718
|
+
});
|
|
719
|
+
const RichTextDocumentSchema = zod.z.object({
|
|
720
|
+
body: zod.z.object({
|
|
721
|
+
...RichTextRunStyleShape,
|
|
722
|
+
...RichTextParagraphPropsShape
|
|
723
|
+
}),
|
|
724
|
+
paragraphs: zod.z.array(RichTextParagraphSchema)
|
|
725
|
+
});
|
|
726
|
+
const RichTextDocumentInputSchema = zod.z.object({
|
|
727
|
+
body: zod.z.object({
|
|
728
|
+
...RichTextRunStyleShape,
|
|
729
|
+
...RichTextParagraphPropsShape
|
|
730
|
+
}).partial().optional(),
|
|
731
|
+
paragraphs: zod.z.array(RichTextParagraphSchema)
|
|
732
|
+
});
|
|
669
733
|
const FreeTextDTOSchema = zod.z.object({
|
|
670
734
|
...AnnotationBaseShape,
|
|
671
735
|
intent: FreeTextIntentSchema,
|
|
672
|
-
fontFamily:
|
|
736
|
+
fontFamily: FreeTextFontSchema,
|
|
673
737
|
fontSize: zod.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 = zod.z.object({
|
|
|
692
757
|
fontFamily: FreeTextFontSchema,
|
|
693
758
|
fontSize: zod.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 = zod.z.object({
|
|
|
713
779
|
fontFamily: FreeTextFontSchema.optional(),
|
|
714
780
|
fontSize: zod.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(),
|
|
@@ -1126,7 +1193,7 @@ const StampWireDraftSchema = zod.z.object({
|
|
|
1126
1193
|
...AnnotationDraftBaseShape,
|
|
1127
1194
|
rect: PdfRectSchema,
|
|
1128
1195
|
source: ResourceRefSchema,
|
|
1129
|
-
name: zod.z.string().optional(),
|
|
1196
|
+
name: zod.z.string().min(1).optional(),
|
|
1130
1197
|
fit: StampFitSchema.optional(),
|
|
1131
1198
|
rotation: zod.z.number().nullable().optional(),
|
|
1132
1199
|
unrotatedRect: PdfRectSchema.nullable().optional(),
|
|
@@ -1136,7 +1203,7 @@ const StampWirePatchSchema = zod.z.object({
|
|
|
1136
1203
|
...AnnotationPatchBaseShape,
|
|
1137
1204
|
rect: PdfRectSchema.optional(),
|
|
1138
1205
|
source: ResourceRefSchema.optional(),
|
|
1139
|
-
name: zod.z.string().optional(),
|
|
1206
|
+
name: zod.z.string().min(1).nullable().optional(),
|
|
1140
1207
|
fit: StampFitSchema.optional(),
|
|
1141
1208
|
rotation: zod.z.number().nullable().optional(),
|
|
1142
1209
|
unrotatedRect: PdfRectSchema.nullable().optional(),
|
|
@@ -1644,6 +1711,11 @@ const FormFieldDraftSchema = zod.z.discriminatedUnion("family", [
|
|
|
1644
1711
|
multiSelect: zod.z.boolean().optional(),
|
|
1645
1712
|
options: zod.z.array(FormFieldOptionInputSchema).optional(),
|
|
1646
1713
|
widget: WidgetPlacementSchema.optional()
|
|
1714
|
+
}),
|
|
1715
|
+
zod.z.object({
|
|
1716
|
+
...FormFieldDraftBaseShape,
|
|
1717
|
+
family: zod.z.literal("signature"),
|
|
1718
|
+
widget: WidgetPlacementSchema.optional()
|
|
1647
1719
|
})
|
|
1648
1720
|
]);
|
|
1649
1721
|
const FormFieldPatchBaseShape = {
|
|
@@ -2042,6 +2114,9 @@ const DocumentManifestSchema = zod.z.object({
|
|
|
2042
2114
|
annotationsVersion: zod.z.number().int().positive().default(1),
|
|
2043
2115
|
auditHead: zod.z.number().int().nonnegative(),
|
|
2044
2116
|
baseSha: zod.z.string(),
|
|
2117
|
+
layerVersion: zod.z.number().int().nonnegative().default(0),
|
|
2118
|
+
working: zod.z.boolean().default(false),
|
|
2119
|
+
baseByteLength: zod.z.number().int().nonnegative().default(0),
|
|
2045
2120
|
scopes: LayerScopesSchema.optional(),
|
|
2046
2121
|
pages: zod.z.array(ManifestPageSchema)
|
|
2047
2122
|
});
|
|
@@ -2313,6 +2388,8 @@ const CacheDeltaSchema = zod.z.object({
|
|
|
2313
2388
|
previousDocVersion: zod.z.number().int().positive(),
|
|
2314
2389
|
docVersion: zod.z.number().int().positive(),
|
|
2315
2390
|
annotationsVersion: zod.z.number().int().positive().optional(),
|
|
2391
|
+
layerVersion: zod.z.number().int().nonnegative().optional(),
|
|
2392
|
+
working: zod.z.boolean().optional(),
|
|
2316
2393
|
pages: zod.z.array(zod.z.object({
|
|
2317
2394
|
pageObjectNumber: zod.z.number().int().positive(),
|
|
2318
2395
|
cache: CachePinsSchema
|
|
@@ -2491,6 +2568,23 @@ const PageFlattenResultSchema = zod.z.object({
|
|
|
2491
2568
|
})),
|
|
2492
2569
|
meta: MutationMetaSchema.nullable()
|
|
2493
2570
|
});
|
|
2571
|
+
/** See `AnnotationFlattenResult`. */
|
|
2572
|
+
const AnnotationFlattenResultSchema = zod.z.object({
|
|
2573
|
+
pageObjectNumber: zod.z.number().int().positive(),
|
|
2574
|
+
usage: zod.z.enum(["display", "print"]),
|
|
2575
|
+
results: zod.z.array(zod.z.object({
|
|
2576
|
+
ref: AnnotationRefSchema,
|
|
2577
|
+
status: zod.z.enum(["applied", "skipped"])
|
|
2578
|
+
})),
|
|
2579
|
+
meta: MutationMetaSchema.nullable()
|
|
2580
|
+
});
|
|
2581
|
+
/** `annotations.flatten` input — see `AnnotationFlattenInput`. */
|
|
2582
|
+
const AnnotationFlattenInputSchema = zod.z.object({
|
|
2583
|
+
refs: zod.z.array(AnnotationRefSchema).min(1),
|
|
2584
|
+
usage: zod.z.enum(["display", "print"])
|
|
2585
|
+
});
|
|
2586
|
+
/** `annotations.exportAppearance` input — see `AnnotationAppearanceExportInput`. */
|
|
2587
|
+
const AnnotationAppearanceExportInputSchema = zod.z.object({ refs: zod.z.array(AnnotationRefSchema).min(1) });
|
|
2494
2588
|
const PageFlattenInputSchema = zod.z.object({
|
|
2495
2589
|
pageObjectNumbers: zod.z.array(zod.z.number().int().positive()),
|
|
2496
2590
|
usage: zod.z.enum(["display", "print"])
|
|
@@ -2523,10 +2617,34 @@ const RedactionApplyResultSchema = zod.z.object({
|
|
|
2523
2617
|
* `pageObjectNumber` everywhere except the per-element `index`, which is
|
|
2524
2618
|
* display order and intentionally not an identity. Carries geometry only.
|
|
2525
2619
|
*/
|
|
2620
|
+
/** See `NamedPageEntry`: decoded key + what it resolves to. */
|
|
2621
|
+
const NamedPageEntrySchema = zod.z.object({
|
|
2622
|
+
name: zod.z.string(),
|
|
2623
|
+
target: zod.z.discriminatedUnion("kind", [
|
|
2624
|
+
zod.z.object({
|
|
2625
|
+
kind: zod.z.literal("page"),
|
|
2626
|
+
pageObjectNumber: zod.z.number().int().positive()
|
|
2627
|
+
}),
|
|
2628
|
+
zod.z.object({
|
|
2629
|
+
kind: zod.z.literal("template"),
|
|
2630
|
+
objectNumber: zod.z.number().int().positive()
|
|
2631
|
+
}),
|
|
2632
|
+
zod.z.object({ kind: zod.z.literal("dangling") })
|
|
2633
|
+
])
|
|
2634
|
+
});
|
|
2526
2635
|
const PageListSnapshotSchema = zod.z.object({
|
|
2527
2636
|
pageCount: zod.z.number().int().nonnegative(),
|
|
2528
|
-
pages: zod.z.array(PageLayoutSchema)
|
|
2637
|
+
pages: zod.z.array(PageLayoutSchema),
|
|
2638
|
+
namedPages: zod.z.array(NamedPageEntrySchema).optional()
|
|
2639
|
+
});
|
|
2640
|
+
/** `pages.setName` input — see `PageNameInput`. */
|
|
2641
|
+
const PageNameInputSchema = zod.z.object({
|
|
2642
|
+
name: zod.z.string().min(1),
|
|
2643
|
+
pageObjectNumber: zod.z.number().int().positive(),
|
|
2644
|
+
replace: zod.z.string().min(1).optional()
|
|
2529
2645
|
});
|
|
2646
|
+
/** `pages.removeName` input — see `PageRemoveNameInput`. */
|
|
2647
|
+
const PageRemoveNameInputSchema = zod.z.object({ name: zod.z.string().min(1) });
|
|
2530
2648
|
/**
|
|
2531
2649
|
* Page reorder input. Pages are always addressed by `pageObjectNumber`;
|
|
2532
2650
|
* `destIndex` is the insertion point in the post-removal index space.
|
|
@@ -2553,6 +2671,11 @@ const PageMoveResultSchema = zod.z.object({
|
|
|
2553
2671
|
layout: PageListSnapshotSchema,
|
|
2554
2672
|
cache: PageStructureCacheSchema.nullable()
|
|
2555
2673
|
});
|
|
2674
|
+
/** Named-page mutation result — layout-shaped, see `PageNameResult`. */
|
|
2675
|
+
const PageNameResultSchema = zod.z.object({
|
|
2676
|
+
layout: PageListSnapshotSchema,
|
|
2677
|
+
cache: PageStructureCacheSchema.nullable()
|
|
2678
|
+
});
|
|
2556
2679
|
/**
|
|
2557
2680
|
* Page rotate input. ABSOLUTE rotation (idempotent — see `PageRotateInput`),
|
|
2558
2681
|
* one value applied to every listed page.
|
|
@@ -2645,6 +2768,345 @@ const WeakAnnotationSessionResponseSchema = zod.z.object({
|
|
|
2645
2768
|
pageObjectNumbers: zod.z.array(zod.z.number().int().positive())
|
|
2646
2769
|
});
|
|
2647
2770
|
const WeakAnnotationSessionPagesRequestSchema = zod.z.object({ pageObjectNumbers: zod.z.array(zod.z.number().int().positive()).transform((pages) => [...new Set(pages)]) });
|
|
2771
|
+
const BASE64_ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
2772
|
+
/** Standard base64 (padded). Dependency-free: no Buffer, runs in browsers too. */
|
|
2773
|
+
function toBase64(bytes) {
|
|
2774
|
+
let out = "";
|
|
2775
|
+
for (let i = 0; i < bytes.length; i += 3) {
|
|
2776
|
+
const b0 = bytes[i];
|
|
2777
|
+
const b1 = bytes[i + 1];
|
|
2778
|
+
const b2 = bytes[i + 2];
|
|
2779
|
+
out += BASE64_ALPHABET[b0 >> 2];
|
|
2780
|
+
out += BASE64_ALPHABET[(b0 & 3) << 4 | (b1 ?? 0) >> 4];
|
|
2781
|
+
out += b1 === void 0 ? "=" : BASE64_ALPHABET[(b1 & 15) << 2 | (b2 ?? 0) >> 6];
|
|
2782
|
+
out += b2 === void 0 ? "=" : BASE64_ALPHABET[b2 & 63];
|
|
2783
|
+
}
|
|
2784
|
+
return out;
|
|
2785
|
+
}
|
|
2786
|
+
function fromBase64(encoded) {
|
|
2787
|
+
let end = encoded.length;
|
|
2788
|
+
while (end > 0 && encoded[end - 1] === "=") end -= 1;
|
|
2789
|
+
const clean = encoded.slice(0, end);
|
|
2790
|
+
if (clean.length % 4 === 1 || /[^A-Za-z0-9+/]/.test(clean)) throw new Error("malformed base64");
|
|
2791
|
+
const bytes = [];
|
|
2792
|
+
let buffer = 0;
|
|
2793
|
+
let bits = 0;
|
|
2794
|
+
for (const ch of clean) {
|
|
2795
|
+
buffer = buffer << 6 | BASE64_ALPHABET.indexOf(ch);
|
|
2796
|
+
bits += 6;
|
|
2797
|
+
if (bits >= 8) {
|
|
2798
|
+
bits -= 8;
|
|
2799
|
+
bytes.push(buffer >> bits & 255);
|
|
2800
|
+
}
|
|
2801
|
+
}
|
|
2802
|
+
return Uint8Array.from(bytes);
|
|
2803
|
+
}
|
|
2804
|
+
const Base64Schema = zod.z.string().regex(/^[A-Za-z0-9+/]*={0,2}$/, "base64");
|
|
2805
|
+
const DocumentVersionRefSchema = zod.z.object({
|
|
2806
|
+
baseSha256: zod.z.string().regex(/^[0-9a-f]{64}$/),
|
|
2807
|
+
editsVersion: zod.z.number().int().nonnegative()
|
|
2808
|
+
});
|
|
2809
|
+
const ByteRangeSchema = zod.z.tuple([
|
|
2810
|
+
zod.z.number().int().nonnegative(),
|
|
2811
|
+
zod.z.number().int().nonnegative(),
|
|
2812
|
+
zod.z.number().int().nonnegative(),
|
|
2813
|
+
zod.z.number().int().nonnegative()
|
|
2814
|
+
]);
|
|
2815
|
+
/** `SignaturePrepared` with the digest as base64. */
|
|
2816
|
+
const SignaturePreparedWireSchema = zod.z.object({
|
|
2817
|
+
signingId: zod.z.string().min(1),
|
|
2818
|
+
digest: Base64Schema,
|
|
2819
|
+
algorithm: zod.z.enum([
|
|
2820
|
+
"sha256",
|
|
2821
|
+
"sha384",
|
|
2822
|
+
"sha512"
|
|
2823
|
+
]),
|
|
2824
|
+
byteRange: ByteRangeSchema,
|
|
2825
|
+
contentsSize: zod.z.number().int().positive(),
|
|
2826
|
+
subFilter: zod.z.string(),
|
|
2827
|
+
expectedVersion: DocumentVersionRefSchema,
|
|
2828
|
+
expiresAt: zod.z.string().nullable()
|
|
2829
|
+
});
|
|
2830
|
+
function encodePrepared(prepared) {
|
|
2831
|
+
return {
|
|
2832
|
+
...prepared,
|
|
2833
|
+
digest: toBase64(prepared.digest)
|
|
2834
|
+
};
|
|
2835
|
+
}
|
|
2836
|
+
function decodePrepared(wire) {
|
|
2837
|
+
return {
|
|
2838
|
+
...wire,
|
|
2839
|
+
digest: fromBase64(wire.digest),
|
|
2840
|
+
subFilter: wire.subFilter
|
|
2841
|
+
};
|
|
2842
|
+
}
|
|
2843
|
+
/** The JSON body of a completion: the CMS as base64 beside the fence. */
|
|
2844
|
+
const SignatureCompleteBodySchema = zod.z.object({
|
|
2845
|
+
cms: Base64Schema.refine((v) => v.length > 0, "cms is required"),
|
|
2846
|
+
expectedVersion: DocumentVersionRefSchema
|
|
2847
|
+
});
|
|
2848
|
+
const DocMdpPermissionSchema = zod.z.union([
|
|
2849
|
+
zod.z.literal(1),
|
|
2850
|
+
zod.z.literal(2),
|
|
2851
|
+
zod.z.literal(3)
|
|
2852
|
+
]);
|
|
2853
|
+
const ModificationLevelSchema = zod.z.enum([
|
|
2854
|
+
"none",
|
|
2855
|
+
"lta",
|
|
2856
|
+
"fill",
|
|
2857
|
+
"annotate"
|
|
2858
|
+
]);
|
|
2859
|
+
const DigestAlgorithmSchema = zod.z.enum([
|
|
2860
|
+
"sha1",
|
|
2861
|
+
"sha256",
|
|
2862
|
+
"sha384",
|
|
2863
|
+
"sha512"
|
|
2864
|
+
]);
|
|
2865
|
+
const FieldLockSpecSchema = zod.z.object({
|
|
2866
|
+
action: zod.z.enum([
|
|
2867
|
+
"all",
|
|
2868
|
+
"include",
|
|
2869
|
+
"exclude"
|
|
2870
|
+
]),
|
|
2871
|
+
fields: zod.z.array(zod.z.string()),
|
|
2872
|
+
permission: DocMdpPermissionSchema.optional()
|
|
2873
|
+
});
|
|
2874
|
+
const SignatureSeedValueSchema = zod.z.object({
|
|
2875
|
+
requiredFlags: zod.z.number().int(),
|
|
2876
|
+
presentFlags: zod.z.number().int(),
|
|
2877
|
+
version: zod.z.number().int().nullable(),
|
|
2878
|
+
mdp: zod.z.union([
|
|
2879
|
+
zod.z.literal(0),
|
|
2880
|
+
zod.z.literal(1),
|
|
2881
|
+
zod.z.literal(2),
|
|
2882
|
+
zod.z.literal(3)
|
|
2883
|
+
]).nullable(),
|
|
2884
|
+
filter: zod.z.string().nullable(),
|
|
2885
|
+
subFilters: zod.z.array(zod.z.string()),
|
|
2886
|
+
digestMethods: zod.z.array(zod.z.string()),
|
|
2887
|
+
reasons: zod.z.array(zod.z.string()),
|
|
2888
|
+
unsupportedRequired: zod.z.boolean()
|
|
2889
|
+
});
|
|
2890
|
+
const SignatureDTOSchema = zod.z.object({
|
|
2891
|
+
index: zod.z.number().int().nonnegative(),
|
|
2892
|
+
field: FormFieldRefSchema,
|
|
2893
|
+
fieldName: zod.z.string(),
|
|
2894
|
+
widget: FormWidgetRefSchema.nullable(),
|
|
2895
|
+
signed: zod.z.boolean(),
|
|
2896
|
+
kind: zod.z.enum(["signature", "timestamp"]),
|
|
2897
|
+
filter: zod.z.string().nullable(),
|
|
2898
|
+
subFilter: zod.z.string().nullable(),
|
|
2899
|
+
byteRange: ByteRangeSchema.nullable(),
|
|
2900
|
+
contentsSize: zod.z.number().int().nonnegative(),
|
|
2901
|
+
coverage: zod.z.enum([
|
|
2902
|
+
"whole-revision",
|
|
2903
|
+
"partial",
|
|
2904
|
+
"malformed"
|
|
2905
|
+
]).nullable(),
|
|
2906
|
+
revisionIndex: zod.z.number().int().nonnegative().nullable(),
|
|
2907
|
+
signer: zod.z.object({
|
|
2908
|
+
name: zod.z.string().nullable(),
|
|
2909
|
+
reason: zod.z.string().nullable(),
|
|
2910
|
+
location: zod.z.string().nullable(),
|
|
2911
|
+
contactInfo: zod.z.string().nullable(),
|
|
2912
|
+
claimedTime: zod.z.string().nullable()
|
|
2913
|
+
}),
|
|
2914
|
+
docMdp: DocMdpPermissionSchema.nullable(),
|
|
2915
|
+
catalogCertification: zod.z.boolean(),
|
|
2916
|
+
fieldMdp: FieldLockSpecSchema.nullable(),
|
|
2917
|
+
lock: FieldLockSpecSchema.nullable(),
|
|
2918
|
+
seedValue: SignatureSeedValueSchema.nullable()
|
|
2919
|
+
});
|
|
2920
|
+
const DocumentProtectionSchema = zod.z.object({
|
|
2921
|
+
enforced: ModificationLevelSchema.nullable(),
|
|
2922
|
+
judged: ModificationLevelSchema.nullable(),
|
|
2923
|
+
certification: zod.z.object({
|
|
2924
|
+
signatureIndex: zod.z.number().int().nonnegative(),
|
|
2925
|
+
permission: DocMdpPermissionSchema
|
|
2926
|
+
}).nullable(),
|
|
2927
|
+
fieldLocks: zod.z.array(zod.z.object({
|
|
2928
|
+
signatureIndex: zod.z.number().int().nonnegative(),
|
|
2929
|
+
source: zod.z.enum(["fieldmdp", "lock"]),
|
|
2930
|
+
spec: FieldLockSpecSchema
|
|
2931
|
+
})),
|
|
2932
|
+
policyVersion: zod.z.number().int()
|
|
2933
|
+
});
|
|
2934
|
+
const PdfRevisionSchema = zod.z.object({
|
|
2935
|
+
index: zod.z.number().int().nonnegative(),
|
|
2936
|
+
end: zod.z.number().int().nonnegative(),
|
|
2937
|
+
xrefOffset: zod.z.number().int().nonnegative(),
|
|
2938
|
+
signatureIndex: zod.z.number().int().nonnegative().nullable()
|
|
2939
|
+
});
|
|
2940
|
+
const SignatureSnapshotSchema = zod.z.object({
|
|
2941
|
+
chainValid: zod.z.boolean(),
|
|
2942
|
+
revisions: zod.z.array(PdfRevisionSchema),
|
|
2943
|
+
signatures: zod.z.array(SignatureDTOSchema),
|
|
2944
|
+
protection: DocumentProtectionSchema
|
|
2945
|
+
});
|
|
2946
|
+
const BaseVersionInfoSchema = zod.z.object({
|
|
2947
|
+
sha256: zod.z.string().regex(/^[0-9a-f]{64}$/),
|
|
2948
|
+
byteLength: zod.z.number().int().nonnegative()
|
|
2949
|
+
});
|
|
2950
|
+
const SignatureCompleteResultSchema = zod.z.object({
|
|
2951
|
+
status: zod.z.enum(["completed", "already-completed"]),
|
|
2952
|
+
signature: SignatureDTOSchema,
|
|
2953
|
+
version: BaseVersionInfoSchema,
|
|
2954
|
+
previous: DocumentVersionRefSchema,
|
|
2955
|
+
protection: DocumentProtectionSchema,
|
|
2956
|
+
meta: MutationMetaSchema
|
|
2957
|
+
});
|
|
2958
|
+
const SignatureAbortResultSchema = zod.z.object({ status: zod.z.enum([
|
|
2959
|
+
"aborted",
|
|
2960
|
+
"already-completed",
|
|
2961
|
+
"unknown"
|
|
2962
|
+
]) });
|
|
2963
|
+
const ChangeFindingSchema = zod.z.object({
|
|
2964
|
+
rule: zod.z.string(),
|
|
2965
|
+
verdict: zod.z.enum([
|
|
2966
|
+
"permitted",
|
|
2967
|
+
"forbidden",
|
|
2968
|
+
"incomplete"
|
|
2969
|
+
]),
|
|
2970
|
+
objectNumber: zod.z.number().int().nonnegative(),
|
|
2971
|
+
edge: zod.z.string().optional(),
|
|
2972
|
+
detail: zod.z.string().optional()
|
|
2973
|
+
});
|
|
2974
|
+
const AnalysisDetailSchema = zod.z.enum(["summary", "full"]);
|
|
2975
|
+
/** The analysis: one verdict (`current`) with its findings, the restrictions it was judged under, and facts about the revisions in between. */
|
|
2976
|
+
const ChangeAnalysisSchema = zod.z.object({
|
|
2977
|
+
mode: zod.z.enum(["authoritative", "exploratory"]),
|
|
2978
|
+
policyVersion: zod.z.number().int(),
|
|
2979
|
+
basis: zod.z.object({
|
|
2980
|
+
version: BaseVersionInfoSchema,
|
|
2981
|
+
editsVersion: zod.z.number().int().nonnegative(),
|
|
2982
|
+
source: zod.z.enum(["persisted", "working-copy"])
|
|
2983
|
+
}),
|
|
2984
|
+
since: zod.z.object({
|
|
2985
|
+
revisionIndex: zod.z.number().int().nonnegative(),
|
|
2986
|
+
signatureIndex: zod.z.number().int().nonnegative().nullable()
|
|
2987
|
+
}),
|
|
2988
|
+
until: zod.z.object({ revisionIndex: zod.z.number().int().nonnegative() }),
|
|
2989
|
+
restrictions: zod.z.array(zod.z.object({
|
|
2990
|
+
signatureIndex: zod.z.number().int().nonnegative(),
|
|
2991
|
+
revisionIndex: zod.z.number().int().nonnegative(),
|
|
2992
|
+
source: zod.z.enum([
|
|
2993
|
+
"docmdp",
|
|
2994
|
+
"fieldmdp",
|
|
2995
|
+
"lock"
|
|
2996
|
+
]),
|
|
2997
|
+
own: zod.z.boolean(),
|
|
2998
|
+
permission: zod.z.union([
|
|
2999
|
+
zod.z.literal(1),
|
|
3000
|
+
zod.z.literal(2),
|
|
3001
|
+
zod.z.literal(3)
|
|
3002
|
+
]).optional(),
|
|
3003
|
+
fields: zod.z.unknown().optional()
|
|
3004
|
+
})),
|
|
3005
|
+
current: zod.z.object({
|
|
3006
|
+
verdict: zod.z.enum([
|
|
3007
|
+
"unchanged",
|
|
3008
|
+
"permitted",
|
|
3009
|
+
"forbidden",
|
|
3010
|
+
"indeterminate"
|
|
3011
|
+
]),
|
|
3012
|
+
complete: zod.z.boolean(),
|
|
3013
|
+
primary: ChangeFindingSchema.optional(),
|
|
3014
|
+
findings: zod.z.array(ChangeFindingSchema),
|
|
3015
|
+
method: zod.z.enum(["net-state", "net-state+replay"])
|
|
3016
|
+
}),
|
|
3017
|
+
later: zod.z.object({
|
|
3018
|
+
revisionCount: zod.z.number().int().nonnegative(),
|
|
3019
|
+
undoneObjectNumbers: zod.z.array(zod.z.number().int().nonnegative())
|
|
3020
|
+
}),
|
|
3021
|
+
/** Equals `current.verdict`. */
|
|
3022
|
+
verdict: zod.z.enum([
|
|
3023
|
+
"unchanged",
|
|
3024
|
+
"permitted",
|
|
3025
|
+
"forbidden",
|
|
3026
|
+
"indeterminate"
|
|
3027
|
+
]),
|
|
3028
|
+
/** The step DTOs are large and evolving; carried verbatim. */
|
|
3029
|
+
steps: zod.z.array(zod.z.unknown())
|
|
3030
|
+
});
|
|
3031
|
+
const SignatureAttributionSchema = zod.z.object({
|
|
3032
|
+
name: zod.z.string().optional(),
|
|
3033
|
+
reason: zod.z.string().optional(),
|
|
3034
|
+
location: zod.z.string().optional(),
|
|
3035
|
+
contactInfo: zod.z.string().optional()
|
|
3036
|
+
});
|
|
3037
|
+
/** The JSON part of a visual signature fill (multipart envelope): which resource part holds the PDF, and its page. */
|
|
3038
|
+
const SignatureAppearanceBodySchema = zod.z.object({
|
|
3039
|
+
resource: zod.z.string().min(1),
|
|
3040
|
+
pageIndex: zod.z.number().int().nonnegative().optional()
|
|
3041
|
+
});
|
|
3042
|
+
/**
|
|
3043
|
+
* The JSON part of a prepare (multipart envelope): `SignaturePrepareInput`
|
|
3044
|
+
* with the appearance artwork referenced by its resource part instead of
|
|
3045
|
+
* inline bytes.
|
|
3046
|
+
*/
|
|
3047
|
+
const SignaturePrepareBodySchema = zod.z.object({
|
|
3048
|
+
field: FormFieldRefSchema,
|
|
3049
|
+
kind: zod.z.enum(["signature", "timestamp"]).optional(),
|
|
3050
|
+
subFilter: zod.z.enum(["adbe.pkcs7.detached", "ETSI.CAdES.detached"]).optional(),
|
|
3051
|
+
digest: zod.z.enum([
|
|
3052
|
+
"sha256",
|
|
3053
|
+
"sha384",
|
|
3054
|
+
"sha512"
|
|
3055
|
+
]).optional(),
|
|
3056
|
+
contentsSize: zod.z.number().int().positive().optional(),
|
|
3057
|
+
attribution: SignatureAttributionSchema.optional(),
|
|
3058
|
+
/** @deprecated the pre-rename spelling of `attribution`; servers read either. */
|
|
3059
|
+
signer: SignatureAttributionSchema.optional(),
|
|
3060
|
+
signingTime: zod.z.string().optional(),
|
|
3061
|
+
certify: zod.z.object({ permission: DocMdpPermissionSchema }).optional(),
|
|
3062
|
+
lock: FieldLockSpecSchema.optional(),
|
|
3063
|
+
appearance: zod.z.object({
|
|
3064
|
+
resource: zod.z.string().min(1),
|
|
3065
|
+
pageIndex: zod.z.number().int().nonnegative().optional()
|
|
3066
|
+
}).optional()
|
|
3067
|
+
});
|
|
3068
|
+
const optionalIndex = zod.z.coerce.number().int().nonnegative().optional();
|
|
3069
|
+
/** Layer analysis query (the current form): exactly one `since.*`; the working copy is the end. */
|
|
3070
|
+
const LayerAnalysisQuerySchema = zod.z.object({
|
|
3071
|
+
"since.signature": optionalIndex,
|
|
3072
|
+
"since.revision": optionalIndex,
|
|
3073
|
+
level: ModificationLevelSchema.optional(),
|
|
3074
|
+
detail: AnalysisDetailSchema.optional()
|
|
3075
|
+
}).refine((q) => q["since.signature"] === void 0 !== (q["since.revision"] === void 0), { message: "exactly one of since.signature / since.revision is required" });
|
|
3076
|
+
/** Version analysis query: as the layer's, plus `until` (a revision index; default the last). */
|
|
3077
|
+
const VersionAnalysisQuerySchema = zod.z.object({
|
|
3078
|
+
"since.signature": optionalIndex,
|
|
3079
|
+
"since.revision": optionalIndex,
|
|
3080
|
+
until: optionalIndex,
|
|
3081
|
+
level: ModificationLevelSchema.optional(),
|
|
3082
|
+
detail: AnalysisDetailSchema.optional(),
|
|
3083
|
+
/** The judging policy version the caller expects — a cache key, not an input (version responses are immutable). */
|
|
3084
|
+
policy: optionalIndex
|
|
3085
|
+
}).refine((q) => q["since.signature"] === void 0 !== (q["since.revision"] === void 0), { message: "exactly one of since.signature / since.revision is required" });
|
|
3086
|
+
function analyzeInputFromQuery(query, until) {
|
|
3087
|
+
return {
|
|
3088
|
+
since: query["since.signature"] !== void 0 ? { signatureIndex: query["since.signature"] } : { revisionIndex: query["since.revision"] ?? 0 },
|
|
3089
|
+
...until !== void 0 ? { until } : {},
|
|
3090
|
+
...query.level !== void 0 ? { exploratoryLevel: query.level } : {},
|
|
3091
|
+
...query.detail !== void 0 ? { detail: query.detail } : {}
|
|
3092
|
+
};
|
|
3093
|
+
}
|
|
3094
|
+
/** One row of the document's version catalog. */
|
|
3095
|
+
const DocumentVersionSchema = zod.z.object({
|
|
3096
|
+
sha256: zod.z.string().regex(/^[0-9a-f]{64}$/),
|
|
3097
|
+
byteLength: zod.z.number().int().nonnegative(),
|
|
3098
|
+
number: zod.z.number().int().positive(),
|
|
3099
|
+
parentSha256: zod.z.string().nullable(),
|
|
3100
|
+
producer: zod.z.enum(["upload", "signature"]),
|
|
3101
|
+
signingId: zod.z.string().nullable(),
|
|
3102
|
+
createdAt: zod.z.number().int()
|
|
3103
|
+
});
|
|
3104
|
+
const DocumentVersionsSchema = zod.z.object({
|
|
3105
|
+
/** `documents.base_sha`: the version every layer is over, or behind. */
|
|
3106
|
+
head: zod.z.string().regex(/^[0-9a-f]{64}$/),
|
|
3107
|
+
/** Oldest first. */
|
|
3108
|
+
versions: zod.z.array(DocumentVersionSchema)
|
|
3109
|
+
});
|
|
2648
3110
|
//#endregion
|
|
2649
3111
|
Object.defineProperty(exports, "ANNOTATION_KINDS", {
|
|
2650
3112
|
enumerable: true,
|
|
@@ -2664,6 +3126,12 @@ Object.defineProperty(exports, "AccessResponseSchema", {
|
|
|
2664
3126
|
return AccessResponseSchema;
|
|
2665
3127
|
}
|
|
2666
3128
|
});
|
|
3129
|
+
Object.defineProperty(exports, "AnnotationAppearanceExportInputSchema", {
|
|
3130
|
+
enumerable: true,
|
|
3131
|
+
get: function() {
|
|
3132
|
+
return AnnotationAppearanceExportInputSchema;
|
|
3133
|
+
}
|
|
3134
|
+
});
|
|
2667
3135
|
Object.defineProperty(exports, "AnnotationAppearanceManifestSchema", {
|
|
2668
3136
|
enumerable: true,
|
|
2669
3137
|
get: function() {
|
|
@@ -2730,6 +3198,18 @@ Object.defineProperty(exports, "AnnotationFlagsSchema", {
|
|
|
2730
3198
|
return AnnotationFlagsSchema;
|
|
2731
3199
|
}
|
|
2732
3200
|
});
|
|
3201
|
+
Object.defineProperty(exports, "AnnotationFlattenInputSchema", {
|
|
3202
|
+
enumerable: true,
|
|
3203
|
+
get: function() {
|
|
3204
|
+
return AnnotationFlattenInputSchema;
|
|
3205
|
+
}
|
|
3206
|
+
});
|
|
3207
|
+
Object.defineProperty(exports, "AnnotationFlattenResultSchema", {
|
|
3208
|
+
enumerable: true,
|
|
3209
|
+
get: function() {
|
|
3210
|
+
return AnnotationFlattenResultSchema;
|
|
3211
|
+
}
|
|
3212
|
+
});
|
|
2733
3213
|
Object.defineProperty(exports, "AnnotationListMutationMetaSchema", {
|
|
2734
3214
|
enumerable: true,
|
|
2735
3215
|
get: function() {
|
|
@@ -2814,12 +3294,24 @@ Object.defineProperty(exports, "AttachmentsCacheSchema", {
|
|
|
2814
3294
|
return AttachmentsCacheSchema;
|
|
2815
3295
|
}
|
|
2816
3296
|
});
|
|
3297
|
+
Object.defineProperty(exports, "BaseVersionInfoSchema", {
|
|
3298
|
+
enumerable: true,
|
|
3299
|
+
get: function() {
|
|
3300
|
+
return BaseVersionInfoSchema;
|
|
3301
|
+
}
|
|
3302
|
+
});
|
|
2817
3303
|
Object.defineProperty(exports, "BlendModeSchema", {
|
|
2818
3304
|
enumerable: true,
|
|
2819
3305
|
get: function() {
|
|
2820
3306
|
return BlendModeSchema;
|
|
2821
3307
|
}
|
|
2822
3308
|
});
|
|
3309
|
+
Object.defineProperty(exports, "ByteRangeSchema", {
|
|
3310
|
+
enumerable: true,
|
|
3311
|
+
get: function() {
|
|
3312
|
+
return ByteRangeSchema;
|
|
3313
|
+
}
|
|
3314
|
+
});
|
|
2823
3315
|
Object.defineProperty(exports, "CacheDeltaSchema", {
|
|
2824
3316
|
enumerable: true,
|
|
2825
3317
|
get: function() {
|
|
@@ -2862,6 +3354,12 @@ Object.defineProperty(exports, "CaretPatchSchema", {
|
|
|
2862
3354
|
return CaretPatchSchema;
|
|
2863
3355
|
}
|
|
2864
3356
|
});
|
|
3357
|
+
Object.defineProperty(exports, "ChangeAnalysisSchema", {
|
|
3358
|
+
enumerable: true,
|
|
3359
|
+
get: function() {
|
|
3360
|
+
return ChangeAnalysisSchema;
|
|
3361
|
+
}
|
|
3362
|
+
});
|
|
2865
3363
|
Object.defineProperty(exports, "CircleDTOSchema", {
|
|
2866
3364
|
enumerable: true,
|
|
2867
3365
|
get: function() {
|
|
@@ -2886,6 +3384,12 @@ Object.defineProperty(exports, "ColorSchema", {
|
|
|
2886
3384
|
return ColorSchema;
|
|
2887
3385
|
}
|
|
2888
3386
|
});
|
|
3387
|
+
Object.defineProperty(exports, "DigestAlgorithmSchema", {
|
|
3388
|
+
enumerable: true,
|
|
3389
|
+
get: function() {
|
|
3390
|
+
return DigestAlgorithmSchema;
|
|
3391
|
+
}
|
|
3392
|
+
});
|
|
2889
3393
|
Object.defineProperty(exports, "DocumentActionsSnapshotSchema", {
|
|
2890
3394
|
enumerable: true,
|
|
2891
3395
|
get: function() {
|
|
@@ -2910,12 +3414,36 @@ Object.defineProperty(exports, "DocumentMetadataSchema", {
|
|
|
2910
3414
|
return DocumentMetadataSchema;
|
|
2911
3415
|
}
|
|
2912
3416
|
});
|
|
3417
|
+
Object.defineProperty(exports, "DocumentProtectionSchema", {
|
|
3418
|
+
enumerable: true,
|
|
3419
|
+
get: function() {
|
|
3420
|
+
return DocumentProtectionSchema;
|
|
3421
|
+
}
|
|
3422
|
+
});
|
|
2913
3423
|
Object.defineProperty(exports, "DocumentSecurityStateSchema", {
|
|
2914
3424
|
enumerable: true,
|
|
2915
3425
|
get: function() {
|
|
2916
3426
|
return DocumentSecurityStateSchema;
|
|
2917
3427
|
}
|
|
2918
3428
|
});
|
|
3429
|
+
Object.defineProperty(exports, "DocumentVersionRefSchema", {
|
|
3430
|
+
enumerable: true,
|
|
3431
|
+
get: function() {
|
|
3432
|
+
return DocumentVersionRefSchema;
|
|
3433
|
+
}
|
|
3434
|
+
});
|
|
3435
|
+
Object.defineProperty(exports, "DocumentVersionSchema", {
|
|
3436
|
+
enumerable: true,
|
|
3437
|
+
get: function() {
|
|
3438
|
+
return DocumentVersionSchema;
|
|
3439
|
+
}
|
|
3440
|
+
});
|
|
3441
|
+
Object.defineProperty(exports, "DocumentVersionsSchema", {
|
|
3442
|
+
enumerable: true,
|
|
3443
|
+
get: function() {
|
|
3444
|
+
return DocumentVersionsSchema;
|
|
3445
|
+
}
|
|
3446
|
+
});
|
|
2919
3447
|
Object.defineProperty(exports, "EmbeddedFileItemSchema", {
|
|
2920
3448
|
enumerable: true,
|
|
2921
3449
|
get: function() {
|
|
@@ -2934,6 +3462,12 @@ Object.defineProperty(exports, "EngineErrorPayloadSchema", {
|
|
|
2934
3462
|
return EngineErrorPayloadSchema;
|
|
2935
3463
|
}
|
|
2936
3464
|
});
|
|
3465
|
+
Object.defineProperty(exports, "FieldLockSpecSchema", {
|
|
3466
|
+
enumerable: true,
|
|
3467
|
+
get: function() {
|
|
3468
|
+
return FieldLockSpecSchema;
|
|
3469
|
+
}
|
|
3470
|
+
});
|
|
2937
3471
|
Object.defineProperty(exports, "FileAttachmentDTOSchema", {
|
|
2938
3472
|
enumerable: true,
|
|
2939
3473
|
get: function() {
|
|
@@ -3168,6 +3702,12 @@ Object.defineProperty(exports, "KIND_BY_SUBTYPE", {
|
|
|
3168
3702
|
return KIND_BY_SUBTYPE;
|
|
3169
3703
|
}
|
|
3170
3704
|
});
|
|
3705
|
+
Object.defineProperty(exports, "LayerAnalysisQuerySchema", {
|
|
3706
|
+
enumerable: true,
|
|
3707
|
+
get: function() {
|
|
3708
|
+
return LayerAnalysisQuerySchema;
|
|
3709
|
+
}
|
|
3710
|
+
});
|
|
3171
3711
|
Object.defineProperty(exports, "LayerScopesSchema", {
|
|
3172
3712
|
enumerable: true,
|
|
3173
3713
|
get: function() {
|
|
@@ -3246,12 +3786,24 @@ Object.defineProperty(exports, "MetadataUpdateResultSchema", {
|
|
|
3246
3786
|
return MetadataUpdateResultSchema;
|
|
3247
3787
|
}
|
|
3248
3788
|
});
|
|
3789
|
+
Object.defineProperty(exports, "ModificationLevelSchema", {
|
|
3790
|
+
enumerable: true,
|
|
3791
|
+
get: function() {
|
|
3792
|
+
return ModificationLevelSchema;
|
|
3793
|
+
}
|
|
3794
|
+
});
|
|
3249
3795
|
Object.defineProperty(exports, "MutationMetaSchema", {
|
|
3250
3796
|
enumerable: true,
|
|
3251
3797
|
get: function() {
|
|
3252
3798
|
return MutationMetaSchema;
|
|
3253
3799
|
}
|
|
3254
3800
|
});
|
|
3801
|
+
Object.defineProperty(exports, "NamedPageEntrySchema", {
|
|
3802
|
+
enumerable: true,
|
|
3803
|
+
get: function() {
|
|
3804
|
+
return NamedPageEntrySchema;
|
|
3805
|
+
}
|
|
3806
|
+
});
|
|
3255
3807
|
Object.defineProperty(exports, "NoteIconSchema", {
|
|
3256
3808
|
enumerable: true,
|
|
3257
3809
|
get: function() {
|
|
@@ -3348,12 +3900,30 @@ Object.defineProperty(exports, "PageMoveResultSchema", {
|
|
|
3348
3900
|
return PageMoveResultSchema;
|
|
3349
3901
|
}
|
|
3350
3902
|
});
|
|
3903
|
+
Object.defineProperty(exports, "PageNameInputSchema", {
|
|
3904
|
+
enumerable: true,
|
|
3905
|
+
get: function() {
|
|
3906
|
+
return PageNameInputSchema;
|
|
3907
|
+
}
|
|
3908
|
+
});
|
|
3909
|
+
Object.defineProperty(exports, "PageNameResultSchema", {
|
|
3910
|
+
enumerable: true,
|
|
3911
|
+
get: function() {
|
|
3912
|
+
return PageNameResultSchema;
|
|
3913
|
+
}
|
|
3914
|
+
});
|
|
3351
3915
|
Object.defineProperty(exports, "PageNetworkRenderFormatSchema", {
|
|
3352
3916
|
enumerable: true,
|
|
3353
3917
|
get: function() {
|
|
3354
3918
|
return PageNetworkRenderFormatSchema;
|
|
3355
3919
|
}
|
|
3356
3920
|
});
|
|
3921
|
+
Object.defineProperty(exports, "PageRemoveNameInputSchema", {
|
|
3922
|
+
enumerable: true,
|
|
3923
|
+
get: function() {
|
|
3924
|
+
return PageRemoveNameInputSchema;
|
|
3925
|
+
}
|
|
3926
|
+
});
|
|
3357
3927
|
Object.defineProperty(exports, "PageRenderAnnotatedQuerySchema", {
|
|
3358
3928
|
enumerable: true,
|
|
3359
3929
|
get: function() {
|
|
@@ -3486,6 +4056,12 @@ Object.defineProperty(exports, "PdfRectSchema", {
|
|
|
3486
4056
|
return PdfRectSchema;
|
|
3487
4057
|
}
|
|
3488
4058
|
});
|
|
4059
|
+
Object.defineProperty(exports, "PdfRevisionSchema", {
|
|
4060
|
+
enumerable: true,
|
|
4061
|
+
get: function() {
|
|
4062
|
+
return PdfRevisionSchema;
|
|
4063
|
+
}
|
|
4064
|
+
});
|
|
3489
4065
|
Object.defineProperty(exports, "PdfRotationSchema", {
|
|
3490
4066
|
enumerable: true,
|
|
3491
4067
|
get: function() {
|
|
@@ -3618,6 +4194,60 @@ Object.defineProperty(exports, "SearchSnippetSchema", {
|
|
|
3618
4194
|
return SearchSnippetSchema;
|
|
3619
4195
|
}
|
|
3620
4196
|
});
|
|
4197
|
+
Object.defineProperty(exports, "SignatureAbortResultSchema", {
|
|
4198
|
+
enumerable: true,
|
|
4199
|
+
get: function() {
|
|
4200
|
+
return SignatureAbortResultSchema;
|
|
4201
|
+
}
|
|
4202
|
+
});
|
|
4203
|
+
Object.defineProperty(exports, "SignatureAppearanceBodySchema", {
|
|
4204
|
+
enumerable: true,
|
|
4205
|
+
get: function() {
|
|
4206
|
+
return SignatureAppearanceBodySchema;
|
|
4207
|
+
}
|
|
4208
|
+
});
|
|
4209
|
+
Object.defineProperty(exports, "SignatureCompleteBodySchema", {
|
|
4210
|
+
enumerable: true,
|
|
4211
|
+
get: function() {
|
|
4212
|
+
return SignatureCompleteBodySchema;
|
|
4213
|
+
}
|
|
4214
|
+
});
|
|
4215
|
+
Object.defineProperty(exports, "SignatureCompleteResultSchema", {
|
|
4216
|
+
enumerable: true,
|
|
4217
|
+
get: function() {
|
|
4218
|
+
return SignatureCompleteResultSchema;
|
|
4219
|
+
}
|
|
4220
|
+
});
|
|
4221
|
+
Object.defineProperty(exports, "SignatureDTOSchema", {
|
|
4222
|
+
enumerable: true,
|
|
4223
|
+
get: function() {
|
|
4224
|
+
return SignatureDTOSchema;
|
|
4225
|
+
}
|
|
4226
|
+
});
|
|
4227
|
+
Object.defineProperty(exports, "SignaturePrepareBodySchema", {
|
|
4228
|
+
enumerable: true,
|
|
4229
|
+
get: function() {
|
|
4230
|
+
return SignaturePrepareBodySchema;
|
|
4231
|
+
}
|
|
4232
|
+
});
|
|
4233
|
+
Object.defineProperty(exports, "SignaturePreparedWireSchema", {
|
|
4234
|
+
enumerable: true,
|
|
4235
|
+
get: function() {
|
|
4236
|
+
return SignaturePreparedWireSchema;
|
|
4237
|
+
}
|
|
4238
|
+
});
|
|
4239
|
+
Object.defineProperty(exports, "SignatureSeedValueSchema", {
|
|
4240
|
+
enumerable: true,
|
|
4241
|
+
get: function() {
|
|
4242
|
+
return SignatureSeedValueSchema;
|
|
4243
|
+
}
|
|
4244
|
+
});
|
|
4245
|
+
Object.defineProperty(exports, "SignatureSnapshotSchema", {
|
|
4246
|
+
enumerable: true,
|
|
4247
|
+
get: function() {
|
|
4248
|
+
return SignatureSnapshotSchema;
|
|
4249
|
+
}
|
|
4250
|
+
});
|
|
3621
4251
|
Object.defineProperty(exports, "SquareDTOSchema", {
|
|
3622
4252
|
enumerable: true,
|
|
3623
4253
|
get: function() {
|
|
@@ -3768,6 +4398,12 @@ Object.defineProperty(exports, "UnsupportedPatchSchema", {
|
|
|
3768
4398
|
return UnsupportedPatchSchema;
|
|
3769
4399
|
}
|
|
3770
4400
|
});
|
|
4401
|
+
Object.defineProperty(exports, "VersionAnalysisQuerySchema", {
|
|
4402
|
+
enumerable: true,
|
|
4403
|
+
get: function() {
|
|
4404
|
+
return VersionAnalysisQuerySchema;
|
|
4405
|
+
}
|
|
4406
|
+
});
|
|
3771
4407
|
Object.defineProperty(exports, "WeakAnnotationSessionPagesRequestSchema", {
|
|
3772
4408
|
enumerable: true,
|
|
3773
4409
|
get: function() {
|
|
@@ -3798,5 +4434,35 @@ Object.defineProperty(exports, "WireAttachmentFileSchema", {
|
|
|
3798
4434
|
return WireAttachmentFileSchema;
|
|
3799
4435
|
}
|
|
3800
4436
|
});
|
|
4437
|
+
Object.defineProperty(exports, "analyzeInputFromQuery", {
|
|
4438
|
+
enumerable: true,
|
|
4439
|
+
get: function() {
|
|
4440
|
+
return analyzeInputFromQuery;
|
|
4441
|
+
}
|
|
4442
|
+
});
|
|
4443
|
+
Object.defineProperty(exports, "decodePrepared", {
|
|
4444
|
+
enumerable: true,
|
|
4445
|
+
get: function() {
|
|
4446
|
+
return decodePrepared;
|
|
4447
|
+
}
|
|
4448
|
+
});
|
|
4449
|
+
Object.defineProperty(exports, "encodePrepared", {
|
|
4450
|
+
enumerable: true,
|
|
4451
|
+
get: function() {
|
|
4452
|
+
return encodePrepared;
|
|
4453
|
+
}
|
|
4454
|
+
});
|
|
4455
|
+
Object.defineProperty(exports, "fromBase64", {
|
|
4456
|
+
enumerable: true,
|
|
4457
|
+
get: function() {
|
|
4458
|
+
return fromBase64;
|
|
4459
|
+
}
|
|
4460
|
+
});
|
|
4461
|
+
Object.defineProperty(exports, "toBase64", {
|
|
4462
|
+
enumerable: true,
|
|
4463
|
+
get: function() {
|
|
4464
|
+
return toBase64;
|
|
4465
|
+
}
|
|
4466
|
+
});
|
|
3801
4467
|
|
|
3802
|
-
//# sourceMappingURL=schemas-
|
|
4468
|
+
//# sourceMappingURL=schemas-DIqFMmrC.cjs.map
|