@embedpdf/engine-core 3.0.0-next.1 → 3.0.0-next.11
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-CjSasIlL.js → AbortError-8-9JAX1Y.js} +2 -2
- package/dist/{AbortError-CjSasIlL.js.map → AbortError-8-9JAX1Y.js.map} +1 -1
- package/dist/{AbortError-ByBflvEl.cjs → AbortError-CRSooKsk.cjs} +2 -2
- package/dist/{AbortError-ByBflvEl.cjs.map → AbortError-CRSooKsk.cjs.map} +1 -1
- package/dist/{AnnotationListSnapshot-W0RCsyDE.d.cts → AnnotationListSnapshot-C1U3XUxP.d.cts} +846 -127
- package/dist/{AnnotationListSnapshot-W0RCsyDE.d.ts → AnnotationListSnapshot-C1U3XUxP.d.ts} +846 -127
- package/dist/{DocumentSecurityService-Df79fgpe.d.cts → DocumentSecurityService-6rhztZlz.d.cts} +33 -2
- package/dist/{DocumentSecurityService-B-tULKNY.d.ts → DocumentSecurityService-7nL9aY75.d.ts} +33 -2
- package/dist/{Engine-B7Oe7f5i.d.ts → Engine-CWnAKccD.d.ts} +62 -19
- package/dist/{Engine-D9loFZc1.d.cts → Engine-D3868xIU.d.cts} +62 -19
- package/dist/{subtype-qejjVr6h.cjs → PageInsertBlankInput-CzShuSJI.cjs} +184 -1
- package/dist/PageInsertBlankInput-CzShuSJI.cjs.map +1 -0
- package/dist/{subtype-BvAzLCGC.js → PageInsertBlankInput-WKY0tr6S.js} +149 -2
- package/dist/PageInsertBlankInput-WKY0tr6S.js.map +1 -0
- package/dist/{builders-C548U47M.js → builders-Cdz34nbF.js} +566 -164
- package/dist/builders-Cdz34nbF.js.map +1 -0
- package/dist/{builders-BvikWRuO.cjs → builders-Do6_4KnS.cjs} +628 -220
- package/dist/builders-Do6_4KnS.cjs.map +1 -0
- package/dist/conformance.cjs +1039 -204
- package/dist/conformance.cjs.map +1 -1
- package/dist/conformance.d.cts +130 -6
- package/dist/conformance.d.ts +130 -6
- package/dist/conformance.js +994 -163
- package/dist/conformance.js.map +1 -1
- package/dist/{fold-CB4fAOOy.js → fold-BfyxxwS6.js} +162 -3
- package/dist/fold-BfyxxwS6.js.map +1 -0
- package/dist/{fold-IaMph3CO.cjs → fold-C7I5GpBz.cjs} +235 -4
- package/dist/fold-C7I5GpBz.cjs.map +1 -0
- package/dist/index.cjs +38 -19
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/{resolver-DiPMTfcy.js → resolver-CHG4waXL.js} +2 -1
- package/dist/resolver-CHG4waXL.js.map +1 -0
- package/dist/{resolver-DAZWVoJL.cjs → resolver-D-jumvgM.cjs} +2 -1
- package/dist/resolver-D-jumvgM.cjs.map +1 -0
- package/dist/runtime.cjs +43 -24
- package/dist/runtime.cjs.map +1 -1
- package/dist/runtime.d.cts +103 -5
- package/dist/runtime.d.ts +103 -5
- package/dist/runtime.js +6 -6
- package/dist/{schemas-B_1VyFsm.cjs → schemas-CS5iPpX5.cjs} +305 -111
- package/dist/schemas-CS5iPpX5.cjs.map +1 -0
- package/dist/{schemas-9OpSSeM6.js → schemas-XGrNVMDd.js} +250 -92
- package/dist/schemas-XGrNVMDd.js.map +1 -0
- package/dist/wire.cjs +131 -4
- package/dist/wire.cjs.map +1 -1
- package/dist/wire.d.cts +277 -20
- package/dist/wire.d.ts +277 -20
- package/dist/wire.js +120 -5
- package/dist/wire.js.map +1 -1
- package/package.json +1 -1
- package/dist/builders-BvikWRuO.cjs.map +0 -1
- package/dist/builders-C548U47M.js.map +0 -1
- package/dist/fold-CB4fAOOy.js.map +0 -1
- package/dist/fold-IaMph3CO.cjs.map +0 -1
- package/dist/resolver-DAZWVoJL.cjs.map +0 -1
- package/dist/resolver-DiPMTfcy.js.map +0 -1
- package/dist/schemas-9OpSSeM6.js.map +0 -1
- package/dist/schemas-B_1VyFsm.cjs.map +0 -1
- package/dist/subtype-BvAzLCGC.js.map +0 -1
- package/dist/subtype-qejjVr6h.cjs.map +0 -1
package/dist/wire.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as CaretDraftSchema, $
|
|
2
|
-
import { c as DocumentSecurityState, f as PdfPermissionInfo } from "./DocumentSecurityService-
|
|
1
|
+
import { $ as CaretDraftSchema, $a as AttachmentFileInfo, $i as AnnotationUpdateResult, $r as FormEffectsResult, $t as CircleDraftSchema, A as FileAttachmentWireDraftSchema, Ao as SerializedEngineError, Ar as SearchSnippet, Bc as AnnotationFlags, Ci as FormKind, D as FileAttachmentDTOSchema, Dc as DocCapability, Dn as HighlightPatchSchema, Dr as SearchRequest, Dt as LinePatchSchema, Ei as WidgetAppearanceSchema, En as HighlightDraftSchema, Er as SearchQuery, Et as LineDraftSchema, F as StampDTOSchema, Fa as AttachmentDeleteResult, Fi as FormFieldFlags, Fn as RedactionApplyScope, G as TextDTOSchema, Gi as FormValueEntry, Gn as PageDeleteResult, Gr as FormFieldUpdateResult, Gs as PageBoxes, Hc as BlendMode, I as StampWireDraftSchema, Ia as AttachmentsCache, Ic as AnnotationRef, Ii as FormFieldOption, Jc as LineEnding, Jn as PageRotateInput, Jo as AnnotationAppearancesQuery, Jr as FormSetValueResult, Js as MetadataPatch, Jt as SquarePatchSchema, K as TextDraftSchema, Kc as FreeTextIntent, Ki as FormFieldRef, Kn as PageDeleteInput, Kr as FormImportResult, Ks as PageLayout, Kt as SquareDTOSchema, L as StampWirePatchSchema, Lc as RevisionToken, Ln as PageFlattenInput, Lt as PolygonDTOSchema, Mn as MetadataUpdateResult, Mt as PolylineDraftSchema, Ni as FormFieldDTO, Nt as PolylinePatchSchema, O as FileAttachmentIconSchema, Ol as PdfDestination, Or as SearchSlice, P as ResourceRefSchema, Pa as AttachmentCreateResult, Pc as PdfBits, Pn as RedactionApplyResult, Q as CaretDTOSchema, Qi as AnnotationMoveResult, Qn as PageMoveInput, Qt as CircleDTOSchema, Ro as PdfSaveMode, Rt as PolygonDraftSchema, Si as WidgetPlacement, Tn as HighlightDTOSchema, To as AnnotationStableId, Ts as PageTextSnapshot, Tt as LineDTOSchema, Uc as CaretIntent, Ui as ToggleFieldWidget, Uo as AnnotationAppearanceManifest, Ur as FormFieldCreateResult, Vo as AnnotationAppearanceImageOptions, W as NoteIconSchema, Wc as Color, Wn as PageInsertResult, Wr as FormFieldDeleteResult, Ws as PageListSnapshot, Xi as AnnotationCreateResult, Xn as PageMoveResult, Xo as PageState, Xr as FormEffect, Yc as LineEndings, Yr as FormWidgetLinkResult, Zc as PdfRectDifferences, Zi as AnnotationDeleteResult, Zn as PageStructureCache, _ as UnsupportedPatchSchema, _a as LayerScopePlane, _i as FormFieldDraft, _l as PdfActionNode, _t as LinkDraftSchema, a as AnnotationDTOSchema, al as CalloutLine, at as FreeTextDraftSchema, bl as PdfActionType, bn as UnderlineDraftSchema, bt as PdfLinkTargetWritableSchema, ci as FormFieldValue, cl as LinePoints, cn as StrikeoutDraftSchema, da as CacheDelta, di as FormFieldPatch, dl as PdfRect, ds as PageRenderOptions, dt as InkDraftSchema, en as CirclePatchSchema, et as CaretPatchSchema, f as KIND_BY_SUBTYPE, fa as MutationMeta, fl as PdfRotation, fs as PageRenderQuery, ft as InkPatchSchema, g as UnsupportedDraftSchema, ga as ManifestPage, gt as LinkDTOSchema, h as UnsupportedDTOSchema, ha as DocumentManifest, hl as DocumentActionsSnapshot, hn as SquigglyPatchSchema, ii as FormSubmissionReceiptSchema, il as TextAlignment, it as FreeTextDTOSchema, j as WireAttachmentFileSchema, jl as DocumentMetadata, jt as PolylineDTOSchema, k as FileAttachmentPatchSchema, kr as SearchSliceBudget, la as AnnotationListMutationMeta, ll as PdfPoint, ln as StrikeoutPatchSchema, mn as SquigglyDraftSchema, n as AnnotationListSnapshotAllPages, na as AppearanceOutcome, ni as FormSubmissionEntrySchema, nl as StandardFont, no as EmbeddedFileRef, oi as FormSubmissionRequestSchema, ol as InkList, os as PageNetworkRenderFormat, ot as FreeTextPatchSchema, pl as PdfSize, pn as SquigglyDTOSchema, q as TextPatchSchema, qc as InkIntent, qi as FormWidgetRef, qn as PageRotateResult, qo as AnnotationAppearanceRenderOptions, qr as FormRepairResult, qt as SquareDraftSchema, r as ANNOTATION_KINDS, rl as StrikeoutIntent, rs as PageImageOptions, s as AnnotationDraftSchema, si as FormDataFormat, sn as StrikeoutDTOSchema, t as AnnotationListPageSnapshot, to as EmbeddedFileItem, u as AnnotationPatchSchema, ua as RefetchReason, ul as PdfQuad, ut as InkDTOSchema, va as LayerScopes, vi as FormFieldOptionInput, vl as PdfActionTargetRef, vs as PageGeometrySnapshot, vt as LinkPatchSchema, wi as FormSnapshot, wr as SearchMatch, xn as UnderlinePatchSchema, xt as PdfDestinationSchema, yl as PdfActionTree, yn as UnderlineDTOSchema, yt as PdfLinkTargetSchema, zc as AnnotationBorderStyle, zn as PageFlattenResult, zo as CachePins, zt as PolygonPatchSchema } from "./AnnotationListSnapshot-C1U3XUxP.cjs";
|
|
2
|
+
import { c as DocumentSecurityState, f as PdfPermissionInfo } from "./DocumentSecurityService-6rhztZlz.cjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/geometry/schemas.d.ts
|
|
5
5
|
declare const PdfPointSchema: z.ZodType<PdfPoint>;
|
|
@@ -142,20 +142,23 @@ declare const DocumentHeadSchema: z.ZodObject<{
|
|
|
142
142
|
}>;
|
|
143
143
|
type DocumentHead = z.infer<typeof DocumentHeadSchema>;
|
|
144
144
|
declare const AccessRequestSchema: z.ZodObject<{
|
|
145
|
-
|
|
145
|
+
/** Deprecated: identity now rides the PATH
|
|
146
|
+
* (`/v1/docs/:docId/layers/:layerName/access`). Kept optional for the
|
|
147
|
+
* legacy `/v1/access` alias, which requires `docId` in the body. */
|
|
148
|
+
docId: z.ZodOptional<z.ZodString>;
|
|
146
149
|
layerName: z.ZodOptional<z.ZodString>;
|
|
147
150
|
password: z.ZodOptional<z.ZodString>;
|
|
148
151
|
passwordGrant: z.ZodOptional<z.ZodString>;
|
|
149
152
|
mode: z.ZodOptional<z.ZodEnum<["any", "owner"]>>;
|
|
150
153
|
}, "strip", z.ZodTypeAny, {
|
|
151
|
-
docId: string;
|
|
152
154
|
password?: string | undefined;
|
|
155
|
+
docId?: string | undefined;
|
|
153
156
|
layerName?: string | undefined;
|
|
154
157
|
passwordGrant?: string | undefined;
|
|
155
158
|
mode?: "owner" | "any" | undefined;
|
|
156
159
|
}, {
|
|
157
|
-
docId: string;
|
|
158
160
|
password?: string | undefined;
|
|
161
|
+
docId?: string | undefined;
|
|
159
162
|
layerName?: string | undefined;
|
|
160
163
|
passwordGrant?: string | undefined;
|
|
161
164
|
mode?: "owner" | "any" | undefined;
|
|
@@ -538,11 +541,12 @@ declare const DocumentManifestSchema: z.ZodType<DocumentManifest>;
|
|
|
538
541
|
declare const AnnotationListPageSnapshotSchema: z.ZodType<AnnotationListPageSnapshot>;
|
|
539
542
|
declare const AnnotationListSnapshotAllPagesSchema: z.ZodType<AnnotationListSnapshotAllPages>;
|
|
540
543
|
/**
|
|
541
|
-
* Wire shape of `GET /
|
|
542
|
-
* `pages.text` worker result
|
|
543
|
-
*
|
|
544
|
-
*
|
|
545
|
-
*
|
|
544
|
+
* Wire shape of `GET …/text/pages/:pon/data@<contentVersion>` and the
|
|
545
|
+
* `pages.text` worker result: the UTF-16-faithful extraction, the CHARACTER
|
|
546
|
+
* space size (`charCount` — the space geometry runs tile; NOT `text.length`),
|
|
547
|
+
* and the optional character→text anchor map. Malformed maps are rejected
|
|
548
|
+
* here with the shared `charMapViolation` invariants — absent/empty map
|
|
549
|
+
* REQUIRES `charCount === text.length` (identity).
|
|
546
550
|
*/
|
|
547
551
|
declare const PageTextSnapshotSchema: z.ZodType<PageTextSnapshot>;
|
|
548
552
|
declare const PageGeometrySnapshotSchema: z.ZodType<PageGeometrySnapshot>;
|
|
@@ -669,6 +673,37 @@ declare const PageDeleteInputSchema: z.ZodType<PageDeleteInput>;
|
|
|
669
673
|
* pages keep identity + revisions (see `PageDeleteResult`).
|
|
670
674
|
*/
|
|
671
675
|
declare const PageDeleteResultSchema: z.ZodType<PageDeleteResult>;
|
|
676
|
+
/**
|
|
677
|
+
* Page insert (bytes) input — the JSON `body` part of the multipart
|
|
678
|
+
* mutation envelope; the PDF itself rides the `resource:source` part.
|
|
679
|
+
* `destIndex` omitted → append.
|
|
680
|
+
*/
|
|
681
|
+
declare const PageInsertInputSchema: z.ZodType<{
|
|
682
|
+
destIndex?: number;
|
|
683
|
+
}>;
|
|
684
|
+
/**
|
|
685
|
+
* Blank-page insert input — plain JSON, pages.insert minus the bytes.
|
|
686
|
+
* `size` is in PDF points (un-rotated); `count` shares the contract cap
|
|
687
|
+
* with the worker so a request the schema accepts cannot then fail the
|
|
688
|
+
* worker's own guard.
|
|
689
|
+
*/
|
|
690
|
+
declare const PageInsertBlankInputSchema: z.ZodType<{
|
|
691
|
+
size: {
|
|
692
|
+
width: number;
|
|
693
|
+
height: number;
|
|
694
|
+
};
|
|
695
|
+
count?: number;
|
|
696
|
+
destIndex?: number;
|
|
697
|
+
}>;
|
|
698
|
+
/** Page extract input: the pages to export, in the order they should appear. */
|
|
699
|
+
declare const PageExtractInputSchema: z.ZodType<{
|
|
700
|
+
pageObjectNumbers: number[];
|
|
701
|
+
}>;
|
|
702
|
+
/**
|
|
703
|
+
* Page insert result — shared by bytes-insert and blank-insert: the fresh
|
|
704
|
+
* PONs in insertion order plus the full new layout (see `PageInsertResult`).
|
|
705
|
+
*/
|
|
706
|
+
declare const PageInsertResultSchema: z.ZodType<PageInsertResult>;
|
|
672
707
|
/**
|
|
673
708
|
* Metadata write result. The Info dict is rewritten in place, so the
|
|
674
709
|
* result returns the re-read `metadata` plus cloud coherence pins. No
|
|
@@ -706,13 +741,150 @@ declare const WeakAnnotationSessionPagesRequestSchema: z.ZodObject<{
|
|
|
706
741
|
type WeakAnnotationSessionPagesRequest = z.infer<typeof WeakAnnotationSessionPagesRequestSchema>;
|
|
707
742
|
//#endregion
|
|
708
743
|
//#region src/dto/PdfAction.schema.d.ts
|
|
709
|
-
declare const
|
|
744
|
+
declare const PdfActionTargetRefSchema: z.ZodType<PdfActionTargetRef>;
|
|
710
745
|
declare const PdfActionNodeSchema: z.ZodType<PdfActionNode>;
|
|
746
|
+
/** The `/S` vocabulary, derived from the union arms so it cannot drift. */
|
|
747
|
+
declare const PdfActionTypeSchema: z.ZodType<PdfActionType>;
|
|
711
748
|
declare const PdfActionTreeSchema: z.ZodType<PdfActionTree>;
|
|
712
|
-
declare const PdfFieldActionsSchema: z.
|
|
713
|
-
|
|
714
|
-
|
|
749
|
+
declare const PdfFieldActionsSchema: z.ZodObject<{
|
|
750
|
+
keystroke: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
751
|
+
format: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
752
|
+
validate: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
753
|
+
calculate: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
754
|
+
}, "strip", z.ZodTypeAny, {
|
|
755
|
+
keystroke?: PdfActionTree | undefined;
|
|
756
|
+
format?: PdfActionTree | undefined;
|
|
757
|
+
validate?: PdfActionTree | undefined;
|
|
758
|
+
calculate?: PdfActionTree | undefined;
|
|
759
|
+
}, {
|
|
760
|
+
keystroke?: PdfActionTree | undefined;
|
|
761
|
+
format?: PdfActionTree | undefined;
|
|
762
|
+
validate?: PdfActionTree | undefined;
|
|
763
|
+
calculate?: PdfActionTree | undefined;
|
|
764
|
+
}>;
|
|
765
|
+
declare const PdfPageActionsSchema: z.ZodObject<{
|
|
766
|
+
open: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
767
|
+
close: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
768
|
+
}, "strip", z.ZodTypeAny, {
|
|
769
|
+
open?: PdfActionTree | undefined;
|
|
770
|
+
close?: PdfActionTree | undefined;
|
|
771
|
+
}, {
|
|
772
|
+
open?: PdfActionTree | undefined;
|
|
773
|
+
close?: PdfActionTree | undefined;
|
|
774
|
+
}>;
|
|
775
|
+
declare const PdfAnnotationActionsSchema: z.ZodObject<{
|
|
776
|
+
activate: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
777
|
+
cursorEnter: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
778
|
+
cursorExit: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
779
|
+
mouseDown: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
780
|
+
mouseUp: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
781
|
+
focus: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
782
|
+
blur: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
783
|
+
pageOpen: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
784
|
+
pageClose: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
785
|
+
pageVisible: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
786
|
+
pageInvisible: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
787
|
+
}, "strip", z.ZodTypeAny, {
|
|
788
|
+
activate?: PdfActionTree | undefined;
|
|
789
|
+
cursorEnter?: PdfActionTree | undefined;
|
|
790
|
+
cursorExit?: PdfActionTree | undefined;
|
|
791
|
+
mouseDown?: PdfActionTree | undefined;
|
|
792
|
+
mouseUp?: PdfActionTree | undefined;
|
|
793
|
+
focus?: PdfActionTree | undefined;
|
|
794
|
+
blur?: PdfActionTree | undefined;
|
|
795
|
+
pageOpen?: PdfActionTree | undefined;
|
|
796
|
+
pageClose?: PdfActionTree | undefined;
|
|
797
|
+
pageVisible?: PdfActionTree | undefined;
|
|
798
|
+
pageInvisible?: PdfActionTree | undefined;
|
|
799
|
+
}, {
|
|
800
|
+
activate?: PdfActionTree | undefined;
|
|
801
|
+
cursorEnter?: PdfActionTree | undefined;
|
|
802
|
+
cursorExit?: PdfActionTree | undefined;
|
|
803
|
+
mouseDown?: PdfActionTree | undefined;
|
|
804
|
+
mouseUp?: PdfActionTree | undefined;
|
|
805
|
+
focus?: PdfActionTree | undefined;
|
|
806
|
+
blur?: PdfActionTree | undefined;
|
|
807
|
+
pageOpen?: PdfActionTree | undefined;
|
|
808
|
+
pageClose?: PdfActionTree | undefined;
|
|
809
|
+
pageVisible?: PdfActionTree | undefined;
|
|
810
|
+
pageInvisible?: PdfActionTree | undefined;
|
|
811
|
+
}>;
|
|
715
812
|
declare const DocumentActionsSnapshotSchema: z.ZodType<DocumentActionsSnapshot>;
|
|
813
|
+
/**
|
|
814
|
+
* Stable public component names for generators that project the action wire
|
|
815
|
+
* model into OpenAPI or another schema format. Keep reusable boundaries here;
|
|
816
|
+
* individual action arms remain owned by `PdfActionNodeSchema`.
|
|
817
|
+
*/
|
|
818
|
+
declare const PdfActionWireComponents: {
|
|
819
|
+
readonly PdfActionTargetRef: z.ZodType<PdfActionTargetRef, z.ZodTypeDef, PdfActionTargetRef>;
|
|
820
|
+
readonly PdfDestination: z.ZodType<PdfDestination, z.ZodTypeDef, PdfDestination>;
|
|
821
|
+
readonly PdfActionNode: z.ZodType<PdfActionNode, z.ZodTypeDef, PdfActionNode>;
|
|
822
|
+
readonly PdfActionTree: z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>;
|
|
823
|
+
readonly PdfFieldActions: z.ZodObject<{
|
|
824
|
+
keystroke: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
825
|
+
format: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
826
|
+
validate: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
827
|
+
calculate: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
828
|
+
}, "strip", z.ZodTypeAny, {
|
|
829
|
+
keystroke?: PdfActionTree | undefined;
|
|
830
|
+
format?: PdfActionTree | undefined;
|
|
831
|
+
validate?: PdfActionTree | undefined;
|
|
832
|
+
calculate?: PdfActionTree | undefined;
|
|
833
|
+
}, {
|
|
834
|
+
keystroke?: PdfActionTree | undefined;
|
|
835
|
+
format?: PdfActionTree | undefined;
|
|
836
|
+
validate?: PdfActionTree | undefined;
|
|
837
|
+
calculate?: PdfActionTree | undefined;
|
|
838
|
+
}>;
|
|
839
|
+
readonly PdfPageActions: z.ZodObject<{
|
|
840
|
+
open: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
841
|
+
close: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
842
|
+
}, "strip", z.ZodTypeAny, {
|
|
843
|
+
open?: PdfActionTree | undefined;
|
|
844
|
+
close?: PdfActionTree | undefined;
|
|
845
|
+
}, {
|
|
846
|
+
open?: PdfActionTree | undefined;
|
|
847
|
+
close?: PdfActionTree | undefined;
|
|
848
|
+
}>;
|
|
849
|
+
readonly PdfAnnotationActions: z.ZodObject<{
|
|
850
|
+
activate: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
851
|
+
cursorEnter: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
852
|
+
cursorExit: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
853
|
+
mouseDown: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
854
|
+
mouseUp: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
855
|
+
focus: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
856
|
+
blur: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
857
|
+
pageOpen: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
858
|
+
pageClose: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
859
|
+
pageVisible: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
860
|
+
pageInvisible: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
861
|
+
}, "strip", z.ZodTypeAny, {
|
|
862
|
+
activate?: PdfActionTree | undefined;
|
|
863
|
+
cursorEnter?: PdfActionTree | undefined;
|
|
864
|
+
cursorExit?: PdfActionTree | undefined;
|
|
865
|
+
mouseDown?: PdfActionTree | undefined;
|
|
866
|
+
mouseUp?: PdfActionTree | undefined;
|
|
867
|
+
focus?: PdfActionTree | undefined;
|
|
868
|
+
blur?: PdfActionTree | undefined;
|
|
869
|
+
pageOpen?: PdfActionTree | undefined;
|
|
870
|
+
pageClose?: PdfActionTree | undefined;
|
|
871
|
+
pageVisible?: PdfActionTree | undefined;
|
|
872
|
+
pageInvisible?: PdfActionTree | undefined;
|
|
873
|
+
}, {
|
|
874
|
+
activate?: PdfActionTree | undefined;
|
|
875
|
+
cursorEnter?: PdfActionTree | undefined;
|
|
876
|
+
cursorExit?: PdfActionTree | undefined;
|
|
877
|
+
mouseDown?: PdfActionTree | undefined;
|
|
878
|
+
mouseUp?: PdfActionTree | undefined;
|
|
879
|
+
focus?: PdfActionTree | undefined;
|
|
880
|
+
blur?: PdfActionTree | undefined;
|
|
881
|
+
pageOpen?: PdfActionTree | undefined;
|
|
882
|
+
pageClose?: PdfActionTree | undefined;
|
|
883
|
+
pageVisible?: PdfActionTree | undefined;
|
|
884
|
+
pageInvisible?: PdfActionTree | undefined;
|
|
885
|
+
}>;
|
|
886
|
+
readonly DocumentActionsSnapshot: z.ZodType<DocumentActionsSnapshot, z.ZodTypeDef, DocumentActionsSnapshot>;
|
|
887
|
+
};
|
|
716
888
|
//#endregion
|
|
717
889
|
//#region src/forms/schema.d.ts
|
|
718
890
|
declare const FormFieldRefSchema: z.ZodType<FormFieldRef>;
|
|
@@ -769,6 +941,8 @@ declare const encodeMetadataToken: (metadataVersion: number) => string;
|
|
|
769
941
|
declare const decodeMetadataToken: (raw: string) => number;
|
|
770
942
|
declare const encodeAnnotationToken: (annotationVersion: number) => string;
|
|
771
943
|
declare const decodeAnnotationToken: (raw: string) => number;
|
|
944
|
+
declare const encodeAnnotationsAllToken: (annotationsVersion: number) => string;
|
|
945
|
+
declare const decodeAnnotationsAllToken: (raw: string) => number;
|
|
772
946
|
declare const encodeActionsToken: (actionsVersion: number) => string;
|
|
773
947
|
declare const decodeActionsToken: (raw: string) => number;
|
|
774
948
|
declare const encodeAttachmentsToken: (attachmentsVersion: number) => string;
|
|
@@ -813,6 +987,15 @@ interface SearchToken {
|
|
|
813
987
|
skip: number;
|
|
814
988
|
budget?: SearchSliceBudget;
|
|
815
989
|
}
|
|
990
|
+
/**
|
|
991
|
+
* The search RESULT representation this client speaks — part of the token
|
|
992
|
+
* (and therefore the versioned URL), so a response-shape change can never
|
|
993
|
+
* serve a stale CDN body to a newer client: new tokens are new cache keys,
|
|
994
|
+
* and old tokens fail decode on new servers. Deliberately ALWAYS encoded —
|
|
995
|
+
* an exception to the omit-defaults rule, because its entire job is to
|
|
996
|
+
* change the token bytes when the format changes.
|
|
997
|
+
*/
|
|
998
|
+
declare const SEARCH_RESULT_FORMAT = "segments1";
|
|
816
999
|
declare const encodeSearchToken: (input: SearchToken) => string;
|
|
817
1000
|
declare const decodeSearchToken: (raw: string) => SearchToken;
|
|
818
1001
|
declare function encodeTokenText(text: string): string;
|
|
@@ -821,8 +1004,21 @@ declare function decodeTokenText(encoded: string): string;
|
|
|
821
1004
|
//#region src/wire/paths.d.ts
|
|
822
1005
|
declare const DEFAULT_LAYER_NAME = "default";
|
|
823
1006
|
declare const wirePaths: {
|
|
824
|
-
/**
|
|
825
|
-
|
|
1007
|
+
/**
|
|
1008
|
+
* POST: grant access/caching credentials for the current bearer on
|
|
1009
|
+
* the document + layer namespace the path names (cross-checked
|
|
1010
|
+
* against the token like every layer route — the grant is
|
|
1011
|
+
* layer-scoped in substance: CDN coverage, scopes, and the client's
|
|
1012
|
+
* binding all carry the layer). Path-addressed so the affinity tier —
|
|
1013
|
+
* the `X-CloudPDF-Doc` header derivation AND the chart's uri-mode
|
|
1014
|
+
* regex — pins the session bootstrap to the document's pod from the
|
|
1015
|
+
* very first request. Default-layer callers spell `layers/default/`,
|
|
1016
|
+
* same as every other layer route.
|
|
1017
|
+
*/
|
|
1018
|
+
readonly access: (docId: string, layerName: string) => string;
|
|
1019
|
+
/** Deprecated alias (docId in the BODY) — served for one prerelease
|
|
1020
|
+
* cycle so pre-rename clients keep working; remove after. */
|
|
1021
|
+
readonly accessLegacy: "/v1/access";
|
|
826
1022
|
/**
|
|
827
1023
|
* GET: open the document referenced by the doc-scoped JWT and
|
|
828
1024
|
* return its `DocumentHead`. The server materialises the base
|
|
@@ -959,6 +1155,8 @@ declare const wirePaths: {
|
|
|
959
1155
|
* object served from the base worker session.
|
|
960
1156
|
*/
|
|
961
1157
|
readonly docPageAnnotations: (docId: string, pageObjectNumber: number, annotationVersion: number) => string;
|
|
1158
|
+
/** Immutable BASE whole-document annotation listing (bulk hydration). */
|
|
1159
|
+
readonly docAnnotationsAll: (docId: string, annotationsVersion: number) => string;
|
|
962
1160
|
/** Immutable BASE appearance batch (twin of
|
|
963
1161
|
* `layerPageAnnotationAppearances` — same `annotations` plane gate). */
|
|
964
1162
|
readonly docPageAnnotationAppearances: (docId: string, pageObjectNumber: number, token: TokenInput) => string;
|
|
@@ -969,6 +1167,8 @@ declare const wirePaths: {
|
|
|
969
1167
|
* collection name — see file-level docstring.
|
|
970
1168
|
*/
|
|
971
1169
|
readonly layerPageAnnotations: (docId: string, layerName: string, pageObjectNumber: number, annotationVersion: number) => string;
|
|
1170
|
+
/** Immutable LAYER whole-document annotation listing (bulk hydration). */
|
|
1171
|
+
readonly layerAnnotationsAll: (docId: string, layerName: string, annotationsVersion: number) => string;
|
|
972
1172
|
readonly layerPageAnnotationsCurrent: (docId: string, layerName: string, pageObjectNumber: number) => string;
|
|
973
1173
|
/**
|
|
974
1174
|
* GET: batch-rendered annotation appearance bitmaps for a single page as a
|
|
@@ -1047,6 +1247,20 @@ declare const wirePaths: {
|
|
|
1047
1247
|
readonly layerPagesRotate: (docId: string, layerName: string) => string;
|
|
1048
1248
|
readonly layerPagesDelete: (docId: string, layerName: string) => string;
|
|
1049
1249
|
readonly layerPagesFlatten: (docId: string, layerName: string) => string;
|
|
1250
|
+
/**
|
|
1251
|
+
* POST (multipart mutation envelope): copy every page of the `source`
|
|
1252
|
+
* resource part (a standalone PDF) in at the body's `destIndex`.
|
|
1253
|
+
*/
|
|
1254
|
+
readonly layerPagesInsert: (docId: string, layerName: string) => string;
|
|
1255
|
+
/** POST (plain JSON): create blank pages — pages.insert minus the bytes. */
|
|
1256
|
+
readonly layerPagesInsertBlank: (docId: string, layerName: string) => string;
|
|
1257
|
+
/**
|
|
1258
|
+
* POST (plain JSON → `application/pdf` bytes): export the listed pages,
|
|
1259
|
+
* in caller order, as a standalone PDF. A READ over the current layer
|
|
1260
|
+
* state (gated like /download), so it is a POST only for its body —
|
|
1261
|
+
* nothing mutates and no event is published.
|
|
1262
|
+
*/
|
|
1263
|
+
readonly layerPagesExtract: (docId: string, layerName: string) => string;
|
|
1050
1264
|
readonly layerRedactionsApply: (docId: string, layerName: string) => string;
|
|
1051
1265
|
readonly layerEvents: (docId: string, layerName: string) => string;
|
|
1052
1266
|
readonly layerDownload: (docId: string, layerName: string) => string;
|
|
@@ -1081,6 +1295,7 @@ declare const wireTemplates: {
|
|
|
1081
1295
|
readonly layerMetadata: "/v1/docs/:docId/layers/:layerName/metadata";
|
|
1082
1296
|
readonly layerRenderPage: "/v1/docs/:docId/layers/:layerName/render/pages/:pon/data";
|
|
1083
1297
|
readonly layerTextPage: "/v1/docs/:docId/layers/:layerName/text/pages/:pon/data";
|
|
1298
|
+
readonly layerAnnotationItemsAll: "/v1/docs/:docId/layers/:layerName/annotations/items";
|
|
1084
1299
|
readonly layerAnnotationItems: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items";
|
|
1085
1300
|
readonly layerAnnotationItem: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/:annotKey";
|
|
1086
1301
|
readonly layerForm: "/v1/docs/:docId/layers/:layerName/form";
|
|
@@ -1091,6 +1306,9 @@ declare const wireTemplates: {
|
|
|
1091
1306
|
readonly layerPagesRotate: "/v1/docs/:docId/layers/:layerName/pages/rotate";
|
|
1092
1307
|
readonly layerPagesDelete: "/v1/docs/:docId/layers/:layerName/pages/delete";
|
|
1093
1308
|
readonly layerPagesFlatten: "/v1/docs/:docId/layers/:layerName/pages/flatten";
|
|
1309
|
+
readonly layerPagesInsert: "/v1/docs/:docId/layers/:layerName/pages/insert";
|
|
1310
|
+
readonly layerPagesInsertBlank: "/v1/docs/:docId/layers/:layerName/pages/insert-blank";
|
|
1311
|
+
readonly layerPagesExtract: "/v1/docs/:docId/layers/:layerName/pages/extract";
|
|
1094
1312
|
readonly layerRedactionsApply: "/v1/docs/:docId/layers/:layerName/redactions/apply";
|
|
1095
1313
|
readonly layerDownload: "/v1/docs/:docId/layers/:layerName/download";
|
|
1096
1314
|
};
|
|
@@ -1105,7 +1323,7 @@ declare const wireTemplates: {
|
|
|
1105
1323
|
* 3. Update the route handler to call `requireResource(req, docId, '<id>', pdfBits)`
|
|
1106
1324
|
* 4. CDN signer automatically considers it
|
|
1107
1325
|
*/
|
|
1108
|
-
type DocResourceId = 'head' | 'manifest' | 'page-render' | 'page-render-annotated' | 'page-text' | 'page-geometry' | 'page-annotations' | 'layout' | 'metadata' | 'actions' | 'attachments' | 'attachment-files' | 'layer-manifest' | 'layer-layout' | 'layer-metadata' | 'layer-actions' | 'layer-page-render' | 'layer-page-render-annotated' | 'layer-page-text' | 'layer-page-geometry' | 'layer-search-rects' | 'layer-search-full' | 'annotations-read' | 'layer-attachments' | 'layer-attachment-files' | 'download-current' | 'download-versioned';
|
|
1326
|
+
type DocResourceId = 'head' | 'manifest' | 'page-render' | 'page-render-annotated' | 'page-text' | 'page-geometry' | 'page-annotations' | 'annotations-all' | 'layout' | 'metadata' | 'actions' | 'attachments' | 'attachment-files' | 'layer-manifest' | 'layer-layout' | 'layer-metadata' | 'layer-actions' | 'layer-page-render' | 'layer-page-render-annotated' | 'layer-page-text' | 'layer-page-geometry' | 'layer-search-rects' | 'layer-search-full' | 'annotations-read' | 'layer-annotations-all' | 'layer-attachments' | 'layer-attachment-files' | 'download-current' | 'download-versioned';
|
|
1109
1327
|
/**
|
|
1110
1328
|
* 'origin' — unversioned URL, response can change over time. CDN must
|
|
1111
1329
|
* not cache (the bytes are not immutable). Routed straight to origin
|
|
@@ -1351,7 +1569,7 @@ declare const RenderTokenSchema: {
|
|
|
1351
1569
|
* permission tiers must never share cache entries).
|
|
1352
1570
|
*/
|
|
1353
1571
|
declare const SearchTokenSchema: {
|
|
1354
|
-
readonly fields: readonly ["epoch", "matchCase", "matchDiacritics", "maxMatches", "maxPages", "q", "regex", "skip", "startPage", "wholeWord"];
|
|
1572
|
+
readonly fields: readonly ["epoch", "format", "matchCase", "matchDiacritics", "maxMatches", "maxPages", "q", "regex", "skip", "startPage", "wholeWord"];
|
|
1355
1573
|
readonly maxLength: 2048;
|
|
1356
1574
|
};
|
|
1357
1575
|
/**
|
|
@@ -1512,6 +1730,7 @@ declare const AnnotationBaseShape: {
|
|
|
1512
1730
|
readonly flags: z.ZodType<AnnotationFlags, z.ZodTypeDef, AnnotationFlags>;
|
|
1513
1731
|
readonly rect: z.ZodType<PdfRect, z.ZodTypeDef, PdfRect>;
|
|
1514
1732
|
readonly contents: z.ZodNullable<z.ZodString>;
|
|
1733
|
+
readonly subject: z.ZodNullable<z.ZodString>;
|
|
1515
1734
|
readonly author: z.ZodNullable<z.ZodString>;
|
|
1516
1735
|
readonly created: z.ZodNullable<z.ZodString>;
|
|
1517
1736
|
readonly modified: z.ZodNullable<z.ZodString>;
|
|
@@ -1522,7 +1741,43 @@ declare const AnnotationBaseShape: {
|
|
|
1522
1741
|
readonly groupId: z.ZodOptional<z.ZodString>;
|
|
1523
1742
|
readonly createdBy: z.ZodOptional<z.ZodString>;
|
|
1524
1743
|
readonly updatedBy: z.ZodOptional<z.ZodString>;
|
|
1525
|
-
readonly actions: z.ZodOptional<z.
|
|
1744
|
+
readonly actions: z.ZodOptional<z.ZodObject<{
|
|
1745
|
+
activate: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
1746
|
+
cursorEnter: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
1747
|
+
cursorExit: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
1748
|
+
mouseDown: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
1749
|
+
mouseUp: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
1750
|
+
focus: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
1751
|
+
blur: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
1752
|
+
pageOpen: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
1753
|
+
pageClose: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
1754
|
+
pageVisible: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
1755
|
+
pageInvisible: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
|
|
1756
|
+
}, "strip", z.ZodTypeAny, {
|
|
1757
|
+
activate?: PdfActionTree | undefined;
|
|
1758
|
+
cursorEnter?: PdfActionTree | undefined;
|
|
1759
|
+
cursorExit?: PdfActionTree | undefined;
|
|
1760
|
+
mouseDown?: PdfActionTree | undefined;
|
|
1761
|
+
mouseUp?: PdfActionTree | undefined;
|
|
1762
|
+
focus?: PdfActionTree | undefined;
|
|
1763
|
+
blur?: PdfActionTree | undefined;
|
|
1764
|
+
pageOpen?: PdfActionTree | undefined;
|
|
1765
|
+
pageClose?: PdfActionTree | undefined;
|
|
1766
|
+
pageVisible?: PdfActionTree | undefined;
|
|
1767
|
+
pageInvisible?: PdfActionTree | undefined;
|
|
1768
|
+
}, {
|
|
1769
|
+
activate?: PdfActionTree | undefined;
|
|
1770
|
+
cursorEnter?: PdfActionTree | undefined;
|
|
1771
|
+
cursorExit?: PdfActionTree | undefined;
|
|
1772
|
+
mouseDown?: PdfActionTree | undefined;
|
|
1773
|
+
mouseUp?: PdfActionTree | undefined;
|
|
1774
|
+
focus?: PdfActionTree | undefined;
|
|
1775
|
+
blur?: PdfActionTree | undefined;
|
|
1776
|
+
pageOpen?: PdfActionTree | undefined;
|
|
1777
|
+
pageClose?: PdfActionTree | undefined;
|
|
1778
|
+
pageVisible?: PdfActionTree | undefined;
|
|
1779
|
+
pageInvisible?: PdfActionTree | undefined;
|
|
1780
|
+
}>>;
|
|
1526
1781
|
};
|
|
1527
1782
|
/**
|
|
1528
1783
|
* Annotation-wide fields shared by every Draft. Per-kind draft schemas
|
|
@@ -1534,6 +1789,7 @@ declare const AnnotationBaseShape: {
|
|
|
1534
1789
|
*/
|
|
1535
1790
|
declare const AnnotationDraftBaseShape: {
|
|
1536
1791
|
readonly contents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1792
|
+
readonly subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1537
1793
|
readonly blendMode: z.ZodOptional<z.ZodType<BlendMode, z.ZodTypeDef, BlendMode>>;
|
|
1538
1794
|
readonly nm: z.ZodOptional<z.ZodString>;
|
|
1539
1795
|
readonly flags: z.ZodOptional<z.ZodType<Partial<AnnotationFlags>, z.ZodTypeDef, Partial<AnnotationFlags>>>;
|
|
@@ -1552,6 +1808,7 @@ declare const AnnotationDraftBaseShape: {
|
|
|
1552
1808
|
*/
|
|
1553
1809
|
declare const AnnotationPatchBaseShape: {
|
|
1554
1810
|
readonly contents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1811
|
+
readonly subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1555
1812
|
readonly blendMode: z.ZodOptional<z.ZodType<BlendMode, z.ZodTypeDef, BlendMode>>;
|
|
1556
1813
|
readonly groupId: z.ZodOptional<z.ZodString>;
|
|
1557
1814
|
readonly flags: z.ZodOptional<z.ZodType<Partial<AnnotationFlags>, z.ZodTypeDef, Partial<AnnotationFlags>>>;
|
|
@@ -1570,5 +1827,5 @@ declare const AttachmentFileInfoSchema: z.ZodType<AttachmentFileInfo>;
|
|
|
1570
1827
|
declare const EmbeddedFileRefSchema: z.ZodType<EmbeddedFileRef>;
|
|
1571
1828
|
declare const EmbeddedFileItemSchema: z.ZodType<EmbeddedFileItem>;
|
|
1572
1829
|
//#endregion
|
|
1573
|
-
export { ANNOTATION_KINDS, type AccessRequest, AccessRequestSchema, type AccessResponse, AccessResponseSchema, ActionsTokenSchema, AnnotationAppearanceManifestSchema, AnnotationAppearancesQuerySchema, AnnotationAppearancesRenderTokenSchema, AnnotationBaseShape, AnnotationBorderStyleSchema, AnnotationCreateResultSchema, AnnotationDTOSchema, AnnotationDeleteResultSchema, AnnotationDraftBaseShape, AnnotationDraftSchema, AnnotationFlagsPartialSchema, AnnotationFlagsSchema, AnnotationListMutationMetaSchema, AnnotationListPageSnapshotSchema, AnnotationListSnapshotAllPagesSchema, AnnotationMoveResultSchema, AnnotationPatchBaseShape, AnnotationPatchSchema, AnnotationRefSchema, type AnnotationRenderVersion, AnnotationStableIdSchema, AnnotationTokenSchema, AnnotationUpdateResultSchema, AppearanceOutcomeSchema, type ApplyCdnAccessInput, type ApplyCdnAccessResult, AttachmentCreateResultSchema, AttachmentDeleteResultSchema, AttachmentFileInfoSchema, AttachmentsCacheSchema, BlendModeSchema, type CacheDelta, CacheDeltaSchema, CachePinsSchema, CalloutLineSchema, type CapabilityRequirement, CaretDTOSchema, CaretDraftSchema, CaretIntentSchema, CaretPatchSchema, type CdnAccessInfoForApply, type CdnCoverageEntry, CircleDTOSchema, CircleDraftSchema, CirclePatchSchema, ColorSchema, ContentTokenSchema, DEFAULT_LAYER_NAME, DOC_RESOURCES, type DocResourceDescriptor, type DocResourceId, DocTokenSchema, DocumentActionsSnapshotSchema, type DocumentHead, DocumentHeadSchema, type DocumentManifest, DocumentManifestSchema, DocumentMetadataSchema, DocumentSecurityStateSchema, type DownloadToken, EmbeddedFileItemSchema, EmbeddedFileRefSchema, EngineErrorPayloadSchema, FileAttachmentDTOSchema, FileAttachmentIconSchema, FileAttachmentPatchSchema, FileAttachmentWireDraftSchema, FormDataFormatSchema, FormEffectSchema, FormEffectsResultSchema, FormFieldCreateResultSchema, FormFieldDTOSchema, FormFieldDeleteResultSchema, FormFieldDraftSchema, FormFieldFlagsSchema, FormFieldOptionInputSchema, FormFieldOptionSchema, FormFieldPatchSchema, FormFieldRefSchema, FormFieldUpdateResultSchema, FormFieldValueSchema, FormImportResultSchema, FormKindSchema, FormRepairResultSchema, FormSetValueResultSchema, FormSnapshotSchema, FormValueEntrySchema, FormWidgetLinkResultSchema, FormWidgetRefSchema, FreeTextDTOSchema, FreeTextDraftSchema, FreeTextIntentSchema, FreeTextPatchSchema, HighlightDTOSchema, HighlightDraftSchema, HighlightPatchSchema, InkDTOSchema, InkDraftSchema, InkIntentSchema, InkListSchema, InkPatchSchema, KIND_BY_SUBTYPE, type LayerScopePlane, type LayerScopes, LayerScopesSchema, LayoutTokenSchema, LineDTOSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, type ManifestPage, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, type MutationMeta, MutationMetaSchema, NoteIconSchema, type OpenDocumentResponse, OpenDocumentResponseSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageLayoutSchema, PageListSnapshotSchema, PageMoveInputSchema, PageMoveResultSchema, PageNetworkRenderFormatSchema, PageRenderAnnotatedQuerySchema, PageRenderQuerySchema, PageRotateInputSchema, PageRotateResultSchema, PageStateSchema, PageStructureCacheSchema, PageTextSnapshotSchema, PdfActionNodeSchema, PdfActionTreeSchema, PdfActionTypeSchema, PdfAnnotationActionsSchema, PdfDestinationSchema, PdfFieldActionsSchema, PdfLinkTargetSchema, PdfLinkTargetWritableSchema, PdfPageActionsSchema, PdfPointSchema, PdfQuadSchema, PdfRectDifferencesSchema, PdfRectSchema, PdfRotationSchema, PdfSaveModeSchema, PdfSizeSchema, PointSchema, PolygonDTOSchema, PolygonDraftSchema, PolygonPatchSchema, PolylineDTOSchema, PolylineDraftSchema, PolylinePatchSchema, RectSchema, RedactionApplyResultSchema, RedactionApplyScopeSchema, RefetchReasonSchema, type RenderPolicy, RenderTokenSchema, type RenderVersions, ResourceRefSchema, RevisionTokenSchema, type RouteKind, SearchMatchSchema, SearchModeSchema, SearchQuerySchema, SearchRequestSchema, SearchSliceSchema, SearchSnippetSchema, type SearchToken, SearchTokenSchema, SquareDTOSchema, SquareDraftSchema, SquarePatchSchema, SquigglyDTOSchema, SquigglyDraftSchema, SquigglyPatchSchema, StampDTOSchema, StampWireDraftSchema, StampWirePatchSchema, StandardFontSchema, StrikeoutDTOSchema, StrikeoutDraftSchema, StrikeoutIntentSchema, StrikeoutPatchSchema, TextAlignmentSchema, TextDTOSchema, TextDraftSchema, TextPatchSchema, ToggleFieldWidgetSchema, type TokenInput, type TokenQuery, type TokenScalar, type TokenSchema, UnderlineDTOSchema, UnderlineDraftSchema, UnderlinePatchSchema, UnsupportedDTOSchema, UnsupportedDraftSchema, UnsupportedPatchSchema, type WeakAnnotationSessionPagesRequest, WeakAnnotationSessionPagesRequestSchema, type WeakAnnotationSessionResponse, WeakAnnotationSessionResponseSchema, WidgetAppearanceSchema, WidgetPlacementSchema, WireAttachmentFileSchema, type WireFlat, type WireScalar, annotationAppearancesImageOptionsToToken, annotationAppearancesImageOptionsToWire, annotationRenderOptionsFromImageOptions, applyCdnAccess, cdnCoverageForScope, checkResourceAccess, decodeActionsToken, decodeAnnotationAppearancesRenderToken, decodeAnnotationToken, decodeAttachmentsToken, decodeContentToken, decodeDocToken, decodeDownloadToken, decodeLayoutToken, decodeMetadataToken, decodeRenderToken, decodeSearchToken, decodeToken, decodeTokenText, encodeActionsToken, encodeAnnotationAppearancesRenderToken, encodeAnnotationToken, encodeAttachmentsToken, encodeContentToken, encodeDocToken, encodeDownloadToken, encodeLayoutToken, encodeMetadataToken, encodeRenderToken, encodeSearchToken, encodeToken, encodeTokenText, flatten, pageRenderOptionsFromImageOptions, renderImageOptionsToToken, renderImageOptionsToWire, resolveResourceIdForPath, unflatten, wirePaths, wireTemplates };
|
|
1830
|
+
export { ANNOTATION_KINDS, type AccessRequest, AccessRequestSchema, type AccessResponse, AccessResponseSchema, ActionsTokenSchema, AnnotationAppearanceManifestSchema, AnnotationAppearancesQuerySchema, AnnotationAppearancesRenderTokenSchema, AnnotationBaseShape, AnnotationBorderStyleSchema, AnnotationCreateResultSchema, AnnotationDTOSchema, AnnotationDeleteResultSchema, AnnotationDraftBaseShape, AnnotationDraftSchema, AnnotationFlagsPartialSchema, AnnotationFlagsSchema, AnnotationListMutationMetaSchema, AnnotationListPageSnapshotSchema, AnnotationListSnapshotAllPagesSchema, AnnotationMoveResultSchema, AnnotationPatchBaseShape, AnnotationPatchSchema, AnnotationRefSchema, type AnnotationRenderVersion, AnnotationStableIdSchema, AnnotationTokenSchema, AnnotationUpdateResultSchema, AppearanceOutcomeSchema, type ApplyCdnAccessInput, type ApplyCdnAccessResult, AttachmentCreateResultSchema, AttachmentDeleteResultSchema, AttachmentFileInfoSchema, AttachmentsCacheSchema, BlendModeSchema, type CacheDelta, CacheDeltaSchema, CachePinsSchema, CalloutLineSchema, type CapabilityRequirement, CaretDTOSchema, CaretDraftSchema, CaretIntentSchema, CaretPatchSchema, type CdnAccessInfoForApply, type CdnCoverageEntry, CircleDTOSchema, CircleDraftSchema, CirclePatchSchema, ColorSchema, ContentTokenSchema, DEFAULT_LAYER_NAME, DOC_RESOURCES, type DocResourceDescriptor, type DocResourceId, DocTokenSchema, DocumentActionsSnapshotSchema, type DocumentHead, DocumentHeadSchema, type DocumentManifest, DocumentManifestSchema, DocumentMetadataSchema, DocumentSecurityStateSchema, type DownloadToken, EmbeddedFileItemSchema, EmbeddedFileRefSchema, EngineErrorPayloadSchema, FileAttachmentDTOSchema, FileAttachmentIconSchema, FileAttachmentPatchSchema, FileAttachmentWireDraftSchema, FormDataFormatSchema, FormEffectSchema, FormEffectsResultSchema, FormFieldCreateResultSchema, FormFieldDTOSchema, FormFieldDeleteResultSchema, FormFieldDraftSchema, FormFieldFlagsSchema, FormFieldOptionInputSchema, FormFieldOptionSchema, FormFieldPatchSchema, FormFieldRefSchema, FormFieldUpdateResultSchema, FormFieldValueSchema, FormImportResultSchema, FormKindSchema, FormRepairResultSchema, FormSetValueResultSchema, FormSnapshotSchema, FormSubmissionEntrySchema, FormSubmissionReceiptSchema, FormSubmissionRequestSchema, FormValueEntrySchema, FormWidgetLinkResultSchema, FormWidgetRefSchema, FreeTextDTOSchema, FreeTextDraftSchema, FreeTextIntentSchema, FreeTextPatchSchema, HighlightDTOSchema, HighlightDraftSchema, HighlightPatchSchema, InkDTOSchema, InkDraftSchema, InkIntentSchema, InkListSchema, InkPatchSchema, KIND_BY_SUBTYPE, type LayerScopePlane, type LayerScopes, LayerScopesSchema, LayoutTokenSchema, LineDTOSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, type ManifestPage, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, type MutationMeta, MutationMetaSchema, NoteIconSchema, type OpenDocumentResponse, OpenDocumentResponseSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageExtractInputSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageInsertBlankInputSchema, PageInsertInputSchema, PageInsertResultSchema, PageLayoutSchema, PageListSnapshotSchema, PageMoveInputSchema, PageMoveResultSchema, PageNetworkRenderFormatSchema, PageRenderAnnotatedQuerySchema, PageRenderQuerySchema, PageRotateInputSchema, PageRotateResultSchema, PageStateSchema, PageStructureCacheSchema, PageTextSnapshotSchema, PdfActionNodeSchema, PdfActionTargetRefSchema, PdfActionTreeSchema, PdfActionTypeSchema, PdfActionWireComponents, PdfAnnotationActionsSchema, PdfDestinationSchema, PdfFieldActionsSchema, PdfLinkTargetSchema, PdfLinkTargetWritableSchema, PdfPageActionsSchema, PdfPointSchema, PdfQuadSchema, PdfRectDifferencesSchema, PdfRectSchema, PdfRotationSchema, PdfSaveModeSchema, PdfSizeSchema, PointSchema, PolygonDTOSchema, PolygonDraftSchema, PolygonPatchSchema, PolylineDTOSchema, PolylineDraftSchema, PolylinePatchSchema, RectSchema, RedactionApplyResultSchema, RedactionApplyScopeSchema, RefetchReasonSchema, type RenderPolicy, RenderTokenSchema, type RenderVersions, ResourceRefSchema, RevisionTokenSchema, type RouteKind, SEARCH_RESULT_FORMAT, SearchMatchSchema, SearchModeSchema, SearchQuerySchema, SearchRequestSchema, SearchSliceSchema, SearchSnippetSchema, type SearchToken, SearchTokenSchema, SquareDTOSchema, SquareDraftSchema, SquarePatchSchema, SquigglyDTOSchema, SquigglyDraftSchema, SquigglyPatchSchema, StampDTOSchema, StampWireDraftSchema, StampWirePatchSchema, StandardFontSchema, StrikeoutDTOSchema, StrikeoutDraftSchema, StrikeoutIntentSchema, StrikeoutPatchSchema, TextAlignmentSchema, TextDTOSchema, TextDraftSchema, TextPatchSchema, ToggleFieldWidgetSchema, type TokenInput, type TokenQuery, type TokenScalar, type TokenSchema, UnderlineDTOSchema, UnderlineDraftSchema, UnderlinePatchSchema, UnsupportedDTOSchema, UnsupportedDraftSchema, UnsupportedPatchSchema, type WeakAnnotationSessionPagesRequest, WeakAnnotationSessionPagesRequestSchema, type WeakAnnotationSessionResponse, WeakAnnotationSessionResponseSchema, WidgetAppearanceSchema, WidgetPlacementSchema, WireAttachmentFileSchema, type WireFlat, type WireScalar, annotationAppearancesImageOptionsToToken, annotationAppearancesImageOptionsToWire, annotationRenderOptionsFromImageOptions, applyCdnAccess, cdnCoverageForScope, checkResourceAccess, decodeActionsToken, decodeAnnotationAppearancesRenderToken, decodeAnnotationToken, decodeAnnotationsAllToken, decodeAttachmentsToken, decodeContentToken, decodeDocToken, decodeDownloadToken, decodeLayoutToken, decodeMetadataToken, decodeRenderToken, decodeSearchToken, decodeToken, decodeTokenText, encodeActionsToken, encodeAnnotationAppearancesRenderToken, encodeAnnotationToken, encodeAnnotationsAllToken, encodeAttachmentsToken, encodeContentToken, encodeDocToken, encodeDownloadToken, encodeLayoutToken, encodeMetadataToken, encodeRenderToken, encodeSearchToken, encodeToken, encodeTokenText, flatten, pageRenderOptionsFromImageOptions, renderImageOptionsToToken, renderImageOptionsToWire, resolveResourceIdForPath, unflatten, wirePaths, wireTemplates };
|
|
1574
1831
|
//# sourceMappingURL=wire.d.cts.map
|