@embedpdf/engine-core 3.0.0-next.10 → 3.0.0-next.12

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.
Files changed (45) hide show
  1. package/dist/{AnnotationListSnapshot-DDxHpJQU.d.cts → AnnotationListSnapshot-x6tKulNV.d.cts} +461 -114
  2. package/dist/{AnnotationListSnapshot-DDxHpJQU.d.ts → AnnotationListSnapshot-x6tKulNV.d.ts} +461 -114
  3. package/dist/{DocumentSecurityService-o9aeTHwT.d.ts → DocumentSecurityService-9MawYxP-.d.ts} +2 -2
  4. package/dist/{DocumentSecurityService-BV4_YXkU.d.cts → DocumentSecurityService-CK0pejAK.d.cts} +2 -2
  5. package/dist/{Engine-DOoVem7_.d.ts → Engine--0XF0UAK.d.cts} +68 -3
  6. package/dist/{Engine-D9je6GdU.d.cts → Engine-Ds0ytbl6.d.ts} +68 -3
  7. package/dist/{builders-Cp_rlGob.cjs → builders-8Hl1AYNU.cjs} +44 -8
  8. package/dist/builders-8Hl1AYNU.cjs.map +1 -0
  9. package/dist/{builders-B_KufGJ9.js → builders-DOjcKDWQ.js} +39 -9
  10. package/dist/builders-DOjcKDWQ.js.map +1 -0
  11. package/dist/conformance.cjs +769 -101
  12. package/dist/conformance.cjs.map +1 -1
  13. package/dist/conformance.d.cts +56 -3
  14. package/dist/conformance.d.ts +56 -3
  15. package/dist/conformance.js +767 -102
  16. package/dist/conformance.js.map +1 -1
  17. package/dist/index.cjs +3 -2
  18. package/dist/index.d.cts +2 -2
  19. package/dist/index.d.ts +2 -2
  20. package/dist/index.js +3 -3
  21. package/dist/{resolver-DiPMTfcy.js → resolver-CHG4waXL.js} +2 -1
  22. package/dist/resolver-CHG4waXL.js.map +1 -0
  23. package/dist/{resolver-DAZWVoJL.cjs → resolver-D-jumvgM.cjs} +2 -1
  24. package/dist/resolver-D-jumvgM.cjs.map +1 -0
  25. package/dist/runtime.cjs +3 -2
  26. package/dist/runtime.d.cts +66 -5
  27. package/dist/runtime.d.ts +66 -5
  28. package/dist/runtime.js +3 -3
  29. package/dist/{schemas-DAnu8tuW.js → schemas-DOyVEPk7.js} +206 -84
  30. package/dist/schemas-DOyVEPk7.js.map +1 -0
  31. package/dist/{schemas-D1pxEv3t.cjs → schemas-RChsAMWw.cjs} +259 -83
  32. package/dist/schemas-RChsAMWw.cjs.map +1 -0
  33. package/dist/wire.cjs +65 -2
  34. package/dist/wire.cjs.map +1 -1
  35. package/dist/wire.d.cts +210 -8
  36. package/dist/wire.d.ts +210 -8
  37. package/dist/wire.js +54 -3
  38. package/dist/wire.js.map +1 -1
  39. package/package.json +1 -1
  40. package/dist/builders-B_KufGJ9.js.map +0 -1
  41. package/dist/builders-Cp_rlGob.cjs.map +0 -1
  42. package/dist/resolver-DAZWVoJL.cjs.map +0 -1
  43. package/dist/resolver-DiPMTfcy.js.map +0 -1
  44. package/dist/schemas-D1pxEv3t.cjs.map +0 -1
  45. package/dist/schemas-DAnu8tuW.js.map +0 -1
package/dist/wire.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as CaretDraftSchema, $c as StandardFont, $r as FormEffectsResult, $t as CircleDraftSchema, A as FileAttachmentWireDraftSchema, Aa as AttachmentDeleteResult, Ai as FormFieldOption, Ar as SearchSnippet, Bc as CaretIntent, Bi as FormFieldRef, Bs as PageBoxes, D as FileAttachmentDTOSchema, Di as FormFieldDTO, Dn as HighlightPatchSchema, Dr as SearchRequest, Dt as LinePatchSchema, En as HighlightDraftSchema, Er as SearchQuery, Et as LineDraftSchema, F as StampDTOSchema, Fn as RedactionApplyScope, G as TextDTOSchema, Gc as LineEnding, Gi as AnnotationDeleteResult, Gn as PageDeleteResult, Go as PageState, Gr as FormFieldUpdateResult, Ho as AnnotationAppearanceRenderOptions, I as StampWireDraftSchema, Ic as AnnotationBorderStyle, Io as AnnotationAppearanceImageOptions, Ja as AttachmentFileInfo, Jc as PdfRectDifferences, Jn as PageRotateInput, Jr as FormSetValueResult, Jt as SquarePatchSchema, K as TextDraftSchema, Kc as LineEndings, Ki as AnnotationMoveResult, Kn as PageDeleteInput, Kr as FormImportResult, Kt as SquareDTOSchema, L as StampWirePatchSchema, Lc as AnnotationFlags, Li as ToggleFieldWidget, Ln as PageFlattenInput, Lt as PolygonDTOSchema, Mc as RevisionToken, Mn as MetadataUpdateResult, Mt as PolylineDraftSchema, No as PdfSaveMode, Nt as PolylinePatchSchema, O as FileAttachmentIconSchema, Or as SearchSlice, P as ResourceRefSchema, Pn as RedactionApplyResult, Po as CachePins, Q as CaretDTOSchema, Qn as PageMoveInput, Qo as PageImageOptions, Qt as CircleDTOSchema, Ro as AnnotationAppearanceManifest, Rt as PolygonDraftSchema, Sc as DocCapability, Tn as HighlightDTOSchema, To as SerializedEngineError, Tt as LineDTOSchema, Uc as FreeTextIntent, Uo as AnnotationAppearancesQuery, Ur as FormFieldCreateResult, Us as MetadataPatch, Vc as Color, Vi as FormWidgetRef, Vs as PageLayout, W as NoteIconSchema, Wc as InkIntent, Wi as AnnotationCreateResult, Wn as PageInsertResult, Wr as FormFieldDeleteResult, Xa as EmbeddedFileItem, Xi as AppearanceOutcome, Xn as PageMoveResult, Xr as FormEffect, Yr as FormWidgetLinkResult, Za as EmbeddedFileRef, Zn as PageStructureCache, _ as UnsupportedPatchSchema, _i as FormKind, _t as LinkDraftSchema, a as AnnotationDTOSchema, aa as CacheDelta, ai as FormFieldPatch, al as LinePoints, at as FreeTextDraftSchema, bi as WidgetAppearanceSchema, bl as PdfPageActions, bn as UnderlineDraftSchema, bo as AnnotationStableId, bs as PageTextSnapshot, bt as PdfLinkTargetSchema, cl as PdfRect, cn as StrikeoutDraftSchema, da as ManifestPage, di as FormFieldDraft, dt as InkDraftSchema, el as StrikeoutIntent, en as CirclePatchSchema, et as CaretPatchSchema, f as KIND_BY_SUBTYPE, fa as LayerScopePlane, fi as FormFieldOptionInput, fl as DocumentActionsSnapshot, ft as InkPatchSchema, g as UnsupportedDraftSchema, gi as WidgetPlacement, gt as LinkDTOSchema, h as UnsupportedDTOSchema, hl as PdfActionTree, hn as SquigglyPatchSchema, ia as RefetchReason, it as FreeTextDTOSchema, j as WireAttachmentFileSchema, ja as AttachmentsCache, jc as AnnotationRef, jt as PolylineDTOSchema, k as FileAttachmentPatchSchema, ka as AttachmentCreateResult, kc as PdfBits, ki as FormFieldFlags, kr as SearchSliceBudget, ll as PdfRotation, ln as StrikeoutPatchSchema, ml as PdfActionNode, mn as SquigglyDraftSchema, n as AnnotationListSnapshotAllPages, ni as FormFieldValue, nl as CalloutLine, oa as MutationMeta, ol as PdfPoint, os as PageRenderOptions, ot as FreeTextPatchSchema, pa as LayerScopes, pn as SquigglyDTOSchema, ps as PageGeometrySnapshot, q as TextPatchSchema, qi as AnnotationUpdateResult, qn as PageRotateResult, qr as FormRepairResult, qt as SquareDraftSchema, r as ANNOTATION_KINDS, ra as AnnotationListMutationMeta, rl as InkList, s as AnnotationDraftSchema, sl as PdfQuad, sn as StrikeoutDTOSchema, ss as PageRenderQuery, t as AnnotationListPageSnapshot, ti as FormDataFormat, tl as TextAlignment, ts as PageNetworkRenderFormat, u as AnnotationPatchSchema, ua as DocumentManifest, ul as PdfSize, ut as InkDTOSchema, vi as FormSnapshot, vl as PdfAnnotationActions, vt as LinkPatchSchema, wr as SearchMatch, xl as DocumentMetadata, xn as UnderlinePatchSchema, xt as PdfLinkTargetWritableSchema, yl as PdfFieldActions, yn as UnderlineDTOSchema, yt as PdfDestinationSchema, zc as BlendMode, zi as FormValueEntry, zn as PageFlattenResult, zs as PageListSnapshot, zt as PolygonPatchSchema } from "./AnnotationListSnapshot-DDxHpJQU.js";
2
- import { c as DocumentSecurityState, f as PdfPermissionInfo } from "./DocumentSecurityService-o9aeTHwT.js";
1
+ import { $ as CaretDraftSchema, $c as Color, $i as FormFieldRef, $n as PageNameResult, $r as FormImportResult, $s as PageLayout, $t as CircleDraftSchema, A as FileAttachmentWireDraftSchema, Ai as FormKind, Bi as FormFieldDTO, Bl as DocumentMetadata, Bn as PageDeleteResult, Ca as ManifestPage, D as FileAttachmentDTOSchema, Dl as PdfActionTargetRef, Dn as HighlightPatchSchema, Dt as LinePatchSchema, El as PdfActionNode, En as HighlightDraftSchema, Et as LineDraftSchema, F as StampDTOSchema, Fn as RedactionApplyScope, Fr as SearchSlice, G as TextDTOSchema, Gc as AnnotationRef, Gn as AnnotationFlattenInput, Go as PdfSaveMode, Ha as AttachmentDeleteResult, Hi as FormFieldFlags, Hn as PageRotateResult, I as StampWireDraftSchema, Ic as DocCapability, Ir as SearchSliceBudget, Jc as AnnotationBorderStyle, Jn as PageFlattenInput, Jo as AnnotationAppearanceImageOptions, Jt as SquarePatchSchema, K as TextDraftSchema, Kc as RevisionToken, Ko as CachePins, Kt as SquareDTOSchema, L as StampWirePatchSchema, Ll as PdfDestination, Lo as SerializedEngineError, Lr as SearchSnippet, Lt as PolygonDTOSchema, Mn as MetadataUpdateResult, Mo as AnnotationStableId, Ms as PageTextSnapshot, Mt as PolylineDraftSchema, Ni as WidgetAppearanceSchema, Nr as SearchQuery, Nt as PolylinePatchSchema, O as FileAttachmentIconSchema, Ol as PdfActionTree, P as ResourceRefSchema, Pn as RedactionApplyResult, Pr as SearchRequest, Q as CaretDTOSchema, Qc as CaretIntent, Qi as FormValueEntry, Qr as FormFieldUpdateResult, Qs as PageBoxes, Qt as CircleDTOSchema, Rt as PolygonDraftSchema, Sa as DocumentManifest, Sl as PdfSize, Ta as LayerScopes, Ti as FormFieldOptionInput, Tn as HighlightDTOSchema, Ts as PageGeometrySnapshot, Tt as LineDTOSchema, Ua as AttachmentsCache, Uc as PdfBits, Ui as FormFieldOption, Un as PageRotateInput, Va as AttachmentCreateResult, Vn as PageDeleteInput, W as NoteIconSchema, Wn as AnnotationAppearanceExportInput, Xi as ToggleFieldWidget, Xn as PageFlattenResult, Xo as AnnotationAppearanceManifest, Xr as FormFieldCreateResult, Yc as AnnotationFlags, Zc as BlendMode, Zr as FormFieldDeleteResult, Zs as PageListSnapshot, _ as UnsupportedPatchSchema, _a as RefetchReason, _l as LinePoints, _t as LinkDraftSchema, a as AnnotationDTOSchema, aa as AnnotationMoveResult, ar as PageMoveInput, at as FreeTextDraftSchema, bl as PdfRect, bn as UnderlineDraftSchema, bt as PdfLinkTargetWritableSchema, cn as StrikeoutDraftSchema, co as EmbeddedFileItem, di as FormSubmissionReceiptSchema, dl as StandardFont, dt as InkDraftSchema, ea as FormWidgetRef, ei as FormRepairResult, en as CirclePatchSchema, er as PageNameInput, es as AnnotationAppearanceRenderOptions, et as CaretPatchSchema, f as KIND_BY_SUBTYPE, fl as StrikeoutIntent, ft as InkPatchSchema, g as UnsupportedDraftSchema, ga as AnnotationListMutationMeta, gt as LinkDTOSchema, h as UnsupportedDTOSchema, hi as FormFieldValue, hl as InkList, hn as SquigglyPatchSchema, ia as AnnotationDeleteResult, il as LineEndings, ir as PageStructureCache, it as FreeTextDTOSchema, j as WireAttachmentFileSchema, ji as FormSnapshot, jr as SearchMatch, jt as PolylineDTOSchema, k as FileAttachmentPatchSchema, ki as WidgetPlacement, kl as PdfActionType, la as AppearanceOutcome, li as FormSubmissionEntrySchema, ln as StrikeoutPatchSchema, lo as EmbeddedFileRef, mi as FormDataFormat, ml as CalloutLine, mn as SquigglyDraftSchema, n as AnnotationListSnapshotAllPages, ni as FormWidgetLinkResult, nl as InkIntent, oa as AnnotationUpdateResult, oi as FormEffectsResult, ol as PdfRectDifferences, oo as AttachmentFileInfo, ot as FreeTextPatchSchema, pi as FormSubmissionRequestSchema, pl as TextAlignment, pn as SquigglyDTOSchema, ps as PageNetworkRenderFormat, q as TextPatchSchema, qn as AnnotationFlattenResult, qt as SquareDraftSchema, r as ANNOTATION_KINDS, ra as AnnotationCreateResult, rc as MetadataPatch, ri as FormEffect, rl as LineEnding, rr as PageMoveResult, rs as PageState, s as AnnotationDraftSchema, sn as StrikeoutDTOSchema, t as AnnotationListPageSnapshot, tc as NamedPageEntry, ti as FormSetValueResult, tl as FreeTextIntent, tr as PageRemoveNameInput, ts as AnnotationAppearancesQuery, u as AnnotationPatchSchema, us as PageImageOptions, ut as InkDTOSchema, va as CacheDelta, vi as FormFieldPatch, vl as PdfPoint, vs as PageRenderOptions, vt as LinkPatchSchema, wa as LayerScopePlane, wi as FormFieldDraft, wl as DocumentActionsSnapshot, xl as PdfRotation, xn as UnderlinePatchSchema, xt as PdfDestinationSchema, ya as MutationMeta, yl as PdfQuad, yn as UnderlineDTOSchema, ys as PageRenderQuery, yt as PdfLinkTargetSchema, zn as PageInsertResult, zt as PolygonPatchSchema } from "./AnnotationListSnapshot-x6tKulNV.js";
2
+ import { c as DocumentSecurityState, f as PdfPermissionInfo } from "./DocumentSecurityService-9MawYxP-.js";
3
3
  import { z } from "zod";
4
4
  //#region src/geometry/schemas.d.ts
5
5
  declare const PdfPointSchema: z.ZodType<PdfPoint>;
@@ -630,6 +630,12 @@ declare const PageBoxesSchema: z.ZodType<PageBoxes>;
630
630
  */
631
631
  declare const PageLayoutSchema: z.ZodType<PageLayout>;
632
632
  declare const PageFlattenResultSchema: z.ZodType<PageFlattenResult>;
633
+ /** See `AnnotationFlattenResult`. */
634
+ declare const AnnotationFlattenResultSchema: z.ZodType<AnnotationFlattenResult>;
635
+ /** `annotations.flatten` input — see `AnnotationFlattenInput`. */
636
+ declare const AnnotationFlattenInputSchema: z.ZodType<AnnotationFlattenInput>;
637
+ /** `annotations.exportAppearance` input — see `AnnotationAppearanceExportInput`. */
638
+ declare const AnnotationAppearanceExportInputSchema: z.ZodType<AnnotationAppearanceExportInput>;
633
639
  declare const PageFlattenInputSchema: z.ZodType<PageFlattenInput>;
634
640
  declare const RedactionApplyScopeSchema: z.ZodType<RedactionApplyScope>;
635
641
  declare const RedactionApplyResultSchema: z.ZodType<RedactionApplyResult>;
@@ -638,7 +644,13 @@ declare const RedactionApplyResultSchema: z.ZodType<RedactionApplyResult>;
638
644
  * `pageObjectNumber` everywhere except the per-element `index`, which is
639
645
  * display order and intentionally not an identity. Carries geometry only.
640
646
  */
647
+ /** See `NamedPageEntry`: decoded key + what it resolves to. */
648
+ declare const NamedPageEntrySchema: z.ZodType<NamedPageEntry>;
641
649
  declare const PageListSnapshotSchema: z.ZodType<PageListSnapshot>;
650
+ /** `pages.setName` input — see `PageNameInput`. */
651
+ declare const PageNameInputSchema: z.ZodType<PageNameInput>;
652
+ /** `pages.removeName` input — see `PageRemoveNameInput`. */
653
+ declare const PageRemoveNameInputSchema: z.ZodType<PageRemoveNameInput>;
642
654
  /**
643
655
  * Page reorder input. Pages are always addressed by `pageObjectNumber`;
644
656
  * `destIndex` is the insertion point in the post-removal index space.
@@ -655,6 +667,8 @@ declare const PageStructureCacheSchema: z.ZodType<PageStructureCache>;
655
667
  * post-move order is returned so callers can swap their snapshot directly.
656
668
  */
657
669
  declare const PageMoveResultSchema: z.ZodType<PageMoveResult>;
670
+ /** Named-page mutation result — layout-shaped, see `PageNameResult`. */
671
+ declare const PageNameResultSchema: z.ZodType<PageNameResult>;
658
672
  /**
659
673
  * Page rotate input. ABSOLUTE rotation (idempotent — see `PageRotateInput`),
660
674
  * one value applied to every listed page.
@@ -741,13 +755,150 @@ declare const WeakAnnotationSessionPagesRequestSchema: z.ZodObject<{
741
755
  type WeakAnnotationSessionPagesRequest = z.infer<typeof WeakAnnotationSessionPagesRequestSchema>;
742
756
  //#endregion
743
757
  //#region src/dto/PdfAction.schema.d.ts
744
- declare const PdfActionTypeSchema: z.ZodEnum<["unknown", "goto", "goto-remote", "goto-embedded", "launch", "thread", "uri", "sound", "movie", "hide", "named", "submit-form", "reset-form", "import-data", "javascript", "set-ocg-state", "rendition", "transition", "goto-3d-view"]>;
758
+ declare const PdfActionTargetRefSchema: z.ZodType<PdfActionTargetRef>;
745
759
  declare const PdfActionNodeSchema: z.ZodType<PdfActionNode>;
760
+ /** The `/S` vocabulary, derived from the union arms so it cannot drift. */
761
+ declare const PdfActionTypeSchema: z.ZodType<PdfActionType>;
746
762
  declare const PdfActionTreeSchema: z.ZodType<PdfActionTree>;
747
- declare const PdfFieldActionsSchema: z.ZodType<PdfFieldActions>;
748
- declare const PdfPageActionsSchema: z.ZodType<PdfPageActions>;
749
- declare const PdfAnnotationActionsSchema: z.ZodType<PdfAnnotationActions>;
763
+ declare const PdfFieldActionsSchema: z.ZodObject<{
764
+ keystroke: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
765
+ format: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
766
+ validate: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
767
+ calculate: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
768
+ }, "strip", z.ZodTypeAny, {
769
+ keystroke?: PdfActionTree | undefined;
770
+ format?: PdfActionTree | undefined;
771
+ validate?: PdfActionTree | undefined;
772
+ calculate?: PdfActionTree | undefined;
773
+ }, {
774
+ keystroke?: PdfActionTree | undefined;
775
+ format?: PdfActionTree | undefined;
776
+ validate?: PdfActionTree | undefined;
777
+ calculate?: PdfActionTree | undefined;
778
+ }>;
779
+ declare const PdfPageActionsSchema: z.ZodObject<{
780
+ open: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
781
+ close: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
782
+ }, "strip", z.ZodTypeAny, {
783
+ open?: PdfActionTree | undefined;
784
+ close?: PdfActionTree | undefined;
785
+ }, {
786
+ open?: PdfActionTree | undefined;
787
+ close?: PdfActionTree | undefined;
788
+ }>;
789
+ declare const PdfAnnotationActionsSchema: z.ZodObject<{
790
+ activate: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
791
+ cursorEnter: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
792
+ cursorExit: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
793
+ mouseDown: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
794
+ mouseUp: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
795
+ focus: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
796
+ blur: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
797
+ pageOpen: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
798
+ pageClose: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
799
+ pageVisible: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
800
+ pageInvisible: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
801
+ }, "strip", z.ZodTypeAny, {
802
+ activate?: PdfActionTree | undefined;
803
+ cursorEnter?: PdfActionTree | undefined;
804
+ cursorExit?: PdfActionTree | undefined;
805
+ mouseDown?: PdfActionTree | undefined;
806
+ mouseUp?: PdfActionTree | undefined;
807
+ focus?: PdfActionTree | undefined;
808
+ blur?: PdfActionTree | undefined;
809
+ pageOpen?: PdfActionTree | undefined;
810
+ pageClose?: PdfActionTree | undefined;
811
+ pageVisible?: PdfActionTree | undefined;
812
+ pageInvisible?: PdfActionTree | undefined;
813
+ }, {
814
+ activate?: PdfActionTree | undefined;
815
+ cursorEnter?: PdfActionTree | undefined;
816
+ cursorExit?: PdfActionTree | undefined;
817
+ mouseDown?: PdfActionTree | undefined;
818
+ mouseUp?: PdfActionTree | undefined;
819
+ focus?: PdfActionTree | undefined;
820
+ blur?: PdfActionTree | undefined;
821
+ pageOpen?: PdfActionTree | undefined;
822
+ pageClose?: PdfActionTree | undefined;
823
+ pageVisible?: PdfActionTree | undefined;
824
+ pageInvisible?: PdfActionTree | undefined;
825
+ }>;
750
826
  declare const DocumentActionsSnapshotSchema: z.ZodType<DocumentActionsSnapshot>;
827
+ /**
828
+ * Stable public component names for generators that project the action wire
829
+ * model into OpenAPI or another schema format. Keep reusable boundaries here;
830
+ * individual action arms remain owned by `PdfActionNodeSchema`.
831
+ */
832
+ declare const PdfActionWireComponents: {
833
+ readonly PdfActionTargetRef: z.ZodType<PdfActionTargetRef, z.ZodTypeDef, PdfActionTargetRef>;
834
+ readonly PdfDestination: z.ZodType<PdfDestination, z.ZodTypeDef, PdfDestination>;
835
+ readonly PdfActionNode: z.ZodType<PdfActionNode, z.ZodTypeDef, PdfActionNode>;
836
+ readonly PdfActionTree: z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>;
837
+ readonly PdfFieldActions: z.ZodObject<{
838
+ keystroke: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
839
+ format: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
840
+ validate: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
841
+ calculate: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
842
+ }, "strip", z.ZodTypeAny, {
843
+ keystroke?: PdfActionTree | undefined;
844
+ format?: PdfActionTree | undefined;
845
+ validate?: PdfActionTree | undefined;
846
+ calculate?: PdfActionTree | undefined;
847
+ }, {
848
+ keystroke?: PdfActionTree | undefined;
849
+ format?: PdfActionTree | undefined;
850
+ validate?: PdfActionTree | undefined;
851
+ calculate?: PdfActionTree | undefined;
852
+ }>;
853
+ readonly PdfPageActions: z.ZodObject<{
854
+ open: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
855
+ close: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
856
+ }, "strip", z.ZodTypeAny, {
857
+ open?: PdfActionTree | undefined;
858
+ close?: PdfActionTree | undefined;
859
+ }, {
860
+ open?: PdfActionTree | undefined;
861
+ close?: PdfActionTree | undefined;
862
+ }>;
863
+ readonly PdfAnnotationActions: z.ZodObject<{
864
+ activate: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
865
+ cursorEnter: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
866
+ cursorExit: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
867
+ mouseDown: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
868
+ mouseUp: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
869
+ focus: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
870
+ blur: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
871
+ pageOpen: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
872
+ pageClose: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
873
+ pageVisible: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
874
+ pageInvisible: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
875
+ }, "strip", z.ZodTypeAny, {
876
+ activate?: PdfActionTree | undefined;
877
+ cursorEnter?: PdfActionTree | undefined;
878
+ cursorExit?: PdfActionTree | undefined;
879
+ mouseDown?: PdfActionTree | undefined;
880
+ mouseUp?: PdfActionTree | undefined;
881
+ focus?: PdfActionTree | undefined;
882
+ blur?: PdfActionTree | undefined;
883
+ pageOpen?: PdfActionTree | undefined;
884
+ pageClose?: PdfActionTree | undefined;
885
+ pageVisible?: PdfActionTree | undefined;
886
+ pageInvisible?: PdfActionTree | undefined;
887
+ }, {
888
+ activate?: PdfActionTree | undefined;
889
+ cursorEnter?: PdfActionTree | undefined;
890
+ cursorExit?: PdfActionTree | undefined;
891
+ mouseDown?: PdfActionTree | undefined;
892
+ mouseUp?: PdfActionTree | undefined;
893
+ focus?: PdfActionTree | undefined;
894
+ blur?: PdfActionTree | undefined;
895
+ pageOpen?: PdfActionTree | undefined;
896
+ pageClose?: PdfActionTree | undefined;
897
+ pageVisible?: PdfActionTree | undefined;
898
+ pageInvisible?: PdfActionTree | undefined;
899
+ }>;
900
+ readonly DocumentActionsSnapshot: z.ZodType<DocumentActionsSnapshot, z.ZodTypeDef, DocumentActionsSnapshot>;
901
+ };
751
902
  //#endregion
752
903
  //#region src/forms/schema.d.ts
753
904
  declare const FormFieldRefSchema: z.ZodType<FormFieldRef>;
@@ -1050,6 +1201,12 @@ declare const wirePaths: {
1050
1201
  readonly layerPageAnnotationsCreate: (docId: string, layerName: string, pageObjectNumber: number) => string;
1051
1202
  readonly layerAnnotationByKey: (docId: string, layerName: string, pageObjectNumber: number, key: string) => string;
1052
1203
  readonly layerPageAnnotationsMove: (docId: string, layerName: string, pageObjectNumber: number) => string;
1204
+ /** POST: flatten a chosen set of the page's annotations into its content
1205
+ * (a content + annotation mutation of that page). */
1206
+ readonly layerPageAnnotationsFlatten: (docId: string, layerName: string, pageObjectNumber: number) => string;
1207
+ /** POST: the chosen annotations' appearances as one single-page PDF — a
1208
+ * derived read (application/pdf, no-store), gated like pages/extract. */
1209
+ readonly layerPageAnnotationsAppearance: (docId: string, layerName: string, pageObjectNumber: number) => string;
1053
1210
  /**
1054
1211
  * GET: the reconciled form snapshot (field tree + widget joins) for the
1055
1212
  * layer's CURRENT state. Forms are document-scoped (one AcroForm per
@@ -1109,6 +1266,11 @@ declare const wirePaths: {
1109
1266
  readonly layerPagesMove: (docId: string, layerName: string) => string;
1110
1267
  readonly layerPagesRotate: (docId: string, layerName: string) => string;
1111
1268
  readonly layerPagesDelete: (docId: string, layerName: string) => string;
1269
+ /** POST: register/rename a `/Names /Pages` entry — a page-STRUCTURE
1270
+ * mutation (docVersion + layoutVersion advance; reads ride `/layout`). */
1271
+ readonly layerPagesNames: (docId: string, layerName: string) => string;
1272
+ /** POST: remove a `/Names /Pages` entry (the page stays). */
1273
+ readonly layerPagesNamesDelete: (docId: string, layerName: string) => string;
1112
1274
  readonly layerPagesFlatten: (docId: string, layerName: string) => string;
1113
1275
  /**
1114
1276
  * POST (multipart mutation envelope): copy every page of the `source`
@@ -1161,6 +1323,8 @@ declare const wireTemplates: {
1161
1323
  readonly layerAnnotationItemsAll: "/v1/docs/:docId/layers/:layerName/annotations/items";
1162
1324
  readonly layerAnnotationItems: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items";
1163
1325
  readonly layerAnnotationItem: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/:annotKey";
1326
+ readonly layerAnnotationItemsFlatten: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/flatten";
1327
+ readonly layerAnnotationItemsAppearance: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/appearance";
1164
1328
  readonly layerForm: "/v1/docs/:docId/layers/:layerName/form";
1165
1329
  readonly layerFormFieldValue: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/value";
1166
1330
  readonly layerFormFieldReset: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/reset";
@@ -1168,6 +1332,8 @@ declare const wireTemplates: {
1168
1332
  readonly layerPagesMove: "/v1/docs/:docId/layers/:layerName/pages/move";
1169
1333
  readonly layerPagesRotate: "/v1/docs/:docId/layers/:layerName/pages/rotate";
1170
1334
  readonly layerPagesDelete: "/v1/docs/:docId/layers/:layerName/pages/delete";
1335
+ readonly layerPagesNames: "/v1/docs/:docId/layers/:layerName/pages/names";
1336
+ readonly layerPagesNamesDelete: "/v1/docs/:docId/layers/:layerName/pages/names/delete";
1171
1337
  readonly layerPagesFlatten: "/v1/docs/:docId/layers/:layerName/pages/flatten";
1172
1338
  readonly layerPagesInsert: "/v1/docs/:docId/layers/:layerName/pages/insert";
1173
1339
  readonly layerPagesInsertBlank: "/v1/docs/:docId/layers/:layerName/pages/insert-blank";
@@ -1604,7 +1770,43 @@ declare const AnnotationBaseShape: {
1604
1770
  readonly groupId: z.ZodOptional<z.ZodString>;
1605
1771
  readonly createdBy: z.ZodOptional<z.ZodString>;
1606
1772
  readonly updatedBy: z.ZodOptional<z.ZodString>;
1607
- readonly actions: z.ZodOptional<z.ZodType<PdfAnnotationActions, z.ZodTypeDef, PdfAnnotationActions>>;
1773
+ readonly actions: z.ZodOptional<z.ZodObject<{
1774
+ activate: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
1775
+ cursorEnter: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
1776
+ cursorExit: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
1777
+ mouseDown: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
1778
+ mouseUp: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
1779
+ focus: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
1780
+ blur: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
1781
+ pageOpen: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
1782
+ pageClose: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
1783
+ pageVisible: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
1784
+ pageInvisible: z.ZodOptional<z.ZodType<PdfActionTree, z.ZodTypeDef, PdfActionTree>>;
1785
+ }, "strip", z.ZodTypeAny, {
1786
+ activate?: PdfActionTree | undefined;
1787
+ cursorEnter?: PdfActionTree | undefined;
1788
+ cursorExit?: PdfActionTree | undefined;
1789
+ mouseDown?: PdfActionTree | undefined;
1790
+ mouseUp?: PdfActionTree | undefined;
1791
+ focus?: PdfActionTree | undefined;
1792
+ blur?: PdfActionTree | undefined;
1793
+ pageOpen?: PdfActionTree | undefined;
1794
+ pageClose?: PdfActionTree | undefined;
1795
+ pageVisible?: PdfActionTree | undefined;
1796
+ pageInvisible?: PdfActionTree | undefined;
1797
+ }, {
1798
+ activate?: PdfActionTree | undefined;
1799
+ cursorEnter?: PdfActionTree | undefined;
1800
+ cursorExit?: PdfActionTree | undefined;
1801
+ mouseDown?: PdfActionTree | undefined;
1802
+ mouseUp?: PdfActionTree | undefined;
1803
+ focus?: PdfActionTree | undefined;
1804
+ blur?: PdfActionTree | undefined;
1805
+ pageOpen?: PdfActionTree | undefined;
1806
+ pageClose?: PdfActionTree | undefined;
1807
+ pageVisible?: PdfActionTree | undefined;
1808
+ pageInvisible?: PdfActionTree | undefined;
1809
+ }>>;
1608
1810
  };
1609
1811
  /**
1610
1812
  * Annotation-wide fields shared by every Draft. Per-kind draft schemas
@@ -1654,5 +1856,5 @@ declare const AttachmentFileInfoSchema: z.ZodType<AttachmentFileInfo>;
1654
1856
  declare const EmbeddedFileRefSchema: z.ZodType<EmbeddedFileRef>;
1655
1857
  declare const EmbeddedFileItemSchema: z.ZodType<EmbeddedFileItem>;
1656
1858
  //#endregion
1657
- 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, PageExtractInputSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageInsertBlankInputSchema, PageInsertInputSchema, PageInsertResultSchema, 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, 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 };
1859
+ export { ANNOTATION_KINDS, type AccessRequest, AccessRequestSchema, type AccessResponse, AccessResponseSchema, ActionsTokenSchema, AnnotationAppearanceExportInputSchema, AnnotationAppearanceManifestSchema, AnnotationAppearancesQuerySchema, AnnotationAppearancesRenderTokenSchema, AnnotationBaseShape, AnnotationBorderStyleSchema, AnnotationCreateResultSchema, AnnotationDTOSchema, AnnotationDeleteResultSchema, AnnotationDraftBaseShape, AnnotationDraftSchema, AnnotationFlagsPartialSchema, AnnotationFlagsSchema, AnnotationFlattenInputSchema, AnnotationFlattenResultSchema, 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, NamedPageEntrySchema, NoteIconSchema, type OpenDocumentResponse, OpenDocumentResponseSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageExtractInputSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageInsertBlankInputSchema, PageInsertInputSchema, PageInsertResultSchema, PageLayoutSchema, PageListSnapshotSchema, PageMoveInputSchema, PageMoveResultSchema, PageNameInputSchema, PageNameResultSchema, PageNetworkRenderFormatSchema, PageRemoveNameInputSchema, 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 };
1658
1860
  //# sourceMappingURL=wire.d.ts.map
package/dist/wire.js CHANGED
@@ -1,5 +1,41 @@
1
- import { n as checkCapability, t as checkAnyCapability } from "./resolver-DiPMTfcy.js";
2
- import { $ as PageRenderAnnotatedQuerySchema, $n as AnnotationStableIdSchema, $t as StampDTOSchema, A as FormSetValueResultSchema, An as FreeTextDraftSchema, At as FormWidgetRefSchema, B as PageDeleteResultSchema, Bn as CircleDTOSchema, Bt as UnsupportedDraftSchema, C as FormEffectSchema, Cn as InkDTOSchema, Cr as LinePointsSchema, Ct as FormFieldOptionSchema, D as FormFieldUpdateResultSchema, Dn as HighlightDraftSchema, Dr as PdfRotationSchema, Dt as FormKindSchema, E as FormFieldDeleteResultSchema, En as HighlightDTOSchema, Er as PdfRectSchema, Et as FormFieldValueSchema, F as MetadataUpdateResultSchema, Fn as FileAttachmentWireDraftSchema, Ft as AnnotationDraftSchema, G as PageInsertBlankInputSchema, Gn as CaretPatchSchema, Gt as NoteIconSchema, H as PageFlattenInputSchema, Hn as CirclePatchSchema, Ht as UnderlineDTOSchema, I as MutationMetaSchema, In as WireAttachmentFileSchema, It as AnnotationPatchSchema, J as PageLayoutSchema, Jn as AnnotationDraftBaseShape, Jt as TextPatchSchema, K as PageInsertInputSchema, Kn as AnnotationBaseShape, Kt as TextDTOSchema, L as OpenDocumentResponseSchema, Ln as AttachmentFileInfoSchema, Lt as KIND_BY_SUBTYPE, M as LayerScopesSchema, Mn as FileAttachmentDTOSchema, Mt as WidgetPlacementSchema, N as ManifestPageSchema, Nn as FileAttachmentIconSchema, Nt as ANNOTATION_KINDS, O as FormImportResultSchema, On as HighlightPatchSchema, Or as PdfSizeSchema, Ot as FormSnapshotSchema, P as MetadataPatchSchema, Pn as FileAttachmentPatchSchema, Pt as AnnotationDTOSchema, Q as PageNetworkRenderFormatSchema, Qn as AnnotationRefSchema, Qt as ResourceRefSchema, R as PageBoxesSchema, Rn as EmbeddedFileItemSchema, Rt as WidgetAppearanceSchema, S as EngineErrorPayloadSchema, Sn as LinePatchSchema, Sr as InkListSchema, St as FormFieldOptionInputSchema, T as FormFieldCreateResultSchema, Tn as InkPatchSchema, Tr as PdfQuadSchema, Tt as FormFieldRefSchema, U as PageFlattenResultSchema, Un as CaretDTOSchema, Ut as UnderlineDraftSchema, V as PageExtractInputSchema, Vn as CircleDraftSchema, Vt as UnsupportedPatchSchema, W as PageGeometrySnapshotSchema, Wn as CaretDraftSchema, Wt as UnderlinePatchSchema, X as PageMoveInputSchema, Xn as AnnotationFlagsSchema, Xt as StrikeoutDraftSchema, Y as PageListSnapshotSchema, Yn as AnnotationFlagsPartialSchema, Yt as StrikeoutDTOSchema, Z as PageMoveResultSchema, Zn as AnnotationPatchBaseShape, Zt as StrikeoutPatchSchema, _ as CachePinsSchema, _n as PdfDestinationSchema, _r as PdfActionTypeSchema, _t as WeakAnnotationSessionResponseSchema, a as AnnotationCreateResultSchema, an as SquareDTOSchema, ar as LineEndingSchema, at as PageTextSnapshotSchema, b as DocumentMetadataSchema, bn as LineDTOSchema, br as PdfPageActionsSchema, bt as FormFieldDraftSchema, c as AnnotationListPageSnapshotSchema, cn as PolylineDTOSchema, cr as PointSchema, ct as RedactionApplyScopeSchema, d as AnnotationUpdateResultSchema, dn as PolygonDTOSchema, dr as StandardFontSchema, dt as SearchModeSchema, en as StampWireDraftSchema, er as BlendModeSchema, et as PageRenderQuerySchema, f as AppearanceOutcomeSchema, fn as PolygonDraftSchema, fr as StrikeoutIntentSchema, ft as SearchQuerySchema, g as CacheDeltaSchema, gn as LinkPatchSchema, gr as PdfActionTreeSchema, gt as WeakAnnotationSessionPagesRequestSchema, h as AttachmentsCacheSchema, hn as LinkDraftSchema, hr as PdfActionNodeSchema, ht as SearchSnippetSchema, i as AnnotationAppearancesQuerySchema, in as SquigglyPatchSchema, ir as InkIntentSchema, it as PageStructureCacheSchema, j as FormWidgetLinkResultSchema, jn as FreeTextPatchSchema, jt as ToggleFieldWidgetSchema, k as FormRepairResultSchema, kn as FreeTextDTOSchema, kt as FormValueEntrySchema, l as AnnotationListSnapshotAllPagesSchema, ln as PolylineDraftSchema, lr as RectSchema, lt as RefetchReasonSchema, m as AttachmentDeleteResultSchema, mn as LinkDTOSchema, mr as DocumentActionsSnapshotSchema, mt as SearchSliceSchema, n as AccessResponseSchema, nn as SquigglyDTOSchema, nr as ColorSchema, nt as PageRotateResultSchema, o as AnnotationDeleteResultSchema, on as SquareDraftSchema, or as LineEndingsSchema, ot as PdfSaveModeSchema, p as AttachmentCreateResultSchema, pn as PolygonPatchSchema, pr as TextAlignmentSchema, pt as SearchRequestSchema, q as PageInsertResultSchema, qn as AnnotationBorderStyleSchema, qt as TextDraftSchema, r as AnnotationAppearanceManifestSchema, rn as SquigglyDraftSchema, rr as FreeTextIntentSchema, rt as PageStateSchema, s as AnnotationListMutationMetaSchema, sn as SquarePatchSchema, sr as PdfRectDifferencesSchema, st as RedactionApplyResultSchema, t as AccessRequestSchema, tn as StampWirePatchSchema, tr as CaretIntentSchema, tt as PageRotateInputSchema, u as AnnotationMoveResultSchema, un as PolylinePatchSchema, ur as RevisionTokenSchema, ut as SearchMatchSchema, v as DocumentHeadSchema, vn as PdfLinkTargetSchema, vr as PdfAnnotationActionsSchema, vt as FormDataFormatSchema, w as FormEffectsResultSchema, wn as InkDraftSchema, wr as PdfPointSchema, wt as FormFieldPatchSchema, x as DocumentSecurityStateSchema, xn as LineDraftSchema, xr as CalloutLineSchema, xt as FormFieldFlagsSchema, y as DocumentManifestSchema, yn as PdfLinkTargetWritableSchema, yr as PdfFieldActionsSchema, yt as FormFieldDTOSchema, z as PageDeleteInputSchema, zn as EmbeddedFileRefSchema, zt as UnsupportedDTOSchema } from "./schemas-DAnu8tuW.js";
1
+ import { n as checkCapability, t as checkAnyCapability } from "./resolver-CHG4waXL.js";
2
+ import { $ as PageListSnapshotSchema, $n as AnnotationBorderStyleSchema, $t as TextDTOSchema, A as FormFieldUpdateResultSchema, An as InkDraftSchema, Ar as CalloutLineSchema, At as FormFieldOptionSchema, B as NamedPageEntrySchema, Bn as FileAttachmentPatchSchema, Bt as ANNOTATION_KINDS, C as DocumentMetadataSchema, Cn as LinkPatchSchema, Cr as PdfActionTreeSchema, Ct as WeakAnnotationSessionPagesRequestSchema, D as FormEffectsResultSchema, Dn as LineDraftSchema, Dr as PdfFieldActionsSchema, Dt as FormFieldDraftSchema, E as FormEffectSchema, En as LineDTOSchema, Er as PdfAnnotationActionsSchema, Et as FormFieldDTOSchema, F as LayerScopesSchema, Fn as FreeTextDTOSchema, Fr as PdfRectSchema, Ft as FormSnapshotSchema, G as PageExtractInputSchema, Gn as EmbeddedFileRefSchema, Gt as WidgetAppearanceSchema, H as PageBoxesSchema, Hn as WireAttachmentFileSchema, Ht as AnnotationDraftSchema, I as ManifestPageSchema, In as FreeTextDraftSchema, Ir as PdfRotationSchema, It as FormValueEntrySchema, J as PageGeometrySnapshotSchema, Jn as CirclePatchSchema, Jt as UnsupportedPatchSchema, K as PageFlattenInputSchema, Kn as CircleDTOSchema, Kt as UnsupportedDTOSchema, L as MetadataPatchSchema, Ln as FreeTextPatchSchema, Lr as PdfSizeSchema, Lt as FormWidgetRefSchema, M as FormRepairResultSchema, Mn as HighlightDTOSchema, Mr as LinePointsSchema, Mt as FormFieldRefSchema, N as FormSetValueResultSchema, Nn as HighlightDraftSchema, Nr as PdfPointSchema, Nt as FormFieldValueSchema, O as FormFieldCreateResultSchema, On as LinePatchSchema, Or as PdfPageActionsSchema, Ot as FormFieldFlagsSchema, P as FormWidgetLinkResultSchema, Pn as HighlightPatchSchema, Pr as PdfQuadSchema, Pt as FormKindSchema, Q as PageLayoutSchema, Qn as AnnotationBaseShape, Qt as NoteIconSchema, R as MetadataUpdateResultSchema, Rn as FileAttachmentDTOSchema, Rt as ToggleFieldWidgetSchema, S as DocumentManifestSchema, Sn as LinkDraftSchema, Sr as PdfActionTargetRefSchema, St as SearchSnippetSchema, T as EngineErrorPayloadSchema, Tn as PdfLinkTargetWritableSchema, Tr as PdfActionWireComponents, Tt as FormDataFormatSchema, U as PageDeleteInputSchema, Un as AttachmentFileInfoSchema, Ut as AnnotationPatchSchema, V as OpenDocumentResponseSchema, Vn as FileAttachmentWireDraftSchema, Vt as AnnotationDTOSchema, W as PageDeleteResultSchema, Wn as EmbeddedFileItemSchema, Wt as KIND_BY_SUBTYPE, X as PageInsertInputSchema, Xn as CaretDraftSchema, Xt as UnderlineDraftSchema, Y as PageInsertBlankInputSchema, Yn as CaretDTOSchema, Yt as UnderlineDTOSchema, Z as PageInsertResultSchema, Zn as CaretPatchSchema, Zt as UnderlinePatchSchema, _ as AttachmentDeleteResultSchema, _n as PolylinePatchSchema, _r as StandardFontSchema, _t as SearchMatchSchema, a as AnnotationAppearancesQuerySchema, an as ResourceRefSchema, ar as AnnotationStableIdSchema, at as PageRemoveNameInputSchema, b as CachePinsSchema, bn as PolygonPatchSchema, br as DocumentActionsSnapshotSchema, bt as SearchRequestSchema, c as AnnotationFlattenInputSchema, cn as StampWirePatchSchema, cr as ColorSchema, ct as PageRotateInputSchema, d as AnnotationListPageSnapshotSchema, dn as SquigglyPatchSchema, dr as LineEndingSchema, dt as PageStructureCacheSchema, en as TextDraftSchema, er as AnnotationDraftBaseShape, et as PageMoveInputSchema, f as AnnotationListSnapshotAllPagesSchema, fn as SquareDTOSchema, fr as LineEndingsSchema, ft as PageTextSnapshotSchema, g as AttachmentCreateResultSchema, gn as PolylineDraftSchema, gr as RevisionTokenSchema, gt as RefetchReasonSchema, h as AppearanceOutcomeSchema, hn as PolylineDTOSchema, hr as RectSchema, ht as RedactionApplyScopeSchema, i as AnnotationAppearanceManifestSchema, in as StrikeoutPatchSchema, ir as AnnotationRefSchema, it as PageNetworkRenderFormatSchema, j as FormImportResultSchema, jn as InkPatchSchema, jr as InkListSchema, jt as FormFieldPatchSchema, k as FormFieldDeleteResultSchema, kn as InkDTOSchema, kr as PdfDestinationSchema, kt as FormFieldOptionInputSchema, l as AnnotationFlattenResultSchema, ln as SquigglyDTOSchema, lr as FreeTextIntentSchema, lt as PageRotateResultSchema, m as AnnotationUpdateResultSchema, mn as SquarePatchSchema, mr as PointSchema, mt as RedactionApplyResultSchema, n as AccessResponseSchema, nn as StrikeoutDTOSchema, nr as AnnotationFlagsSchema, nt as PageNameInputSchema, o as AnnotationCreateResultSchema, on as StampDTOSchema, or as BlendModeSchema, ot as PageRenderAnnotatedQuerySchema, p as AnnotationMoveResultSchema, pn as SquareDraftSchema, pr as PdfRectDifferencesSchema, pt as PdfSaveModeSchema, q as PageFlattenResultSchema, qn as CircleDraftSchema, qt as UnsupportedDraftSchema, r as AnnotationAppearanceExportInputSchema, rn as StrikeoutDraftSchema, rr as AnnotationPatchBaseShape, rt as PageNameResultSchema, s as AnnotationDeleteResultSchema, sn as StampWireDraftSchema, sr as CaretIntentSchema, st as PageRenderQuerySchema, t as AccessRequestSchema, tn as TextPatchSchema, tr as AnnotationFlagsPartialSchema, tt as PageMoveResultSchema, u as AnnotationListMutationMetaSchema, un as SquigglyDraftSchema, ur as InkIntentSchema, ut as PageStateSchema, v as AttachmentsCacheSchema, vn as PolygonDTOSchema, vr as StrikeoutIntentSchema, vt as SearchModeSchema, w as DocumentSecurityStateSchema, wn as PdfLinkTargetSchema, wr as PdfActionTypeSchema, wt as WeakAnnotationSessionResponseSchema, x as DocumentHeadSchema, xn as LinkDTOSchema, xr as PdfActionNodeSchema, xt as SearchSliceSchema, y as CacheDeltaSchema, yn as PolygonDraftSchema, yr as TextAlignmentSchema, yt as SearchQuerySchema, z as MutationMetaSchema, zn as FileAttachmentIconSchema, zt as WidgetPlacementSchema } from "./schemas-DOyVEPk7.js";
3
+ import { z } from "zod";
4
+ //#region src/forms/submission.ts
5
+ const FormSubmissionEntrySchema = z.object({
6
+ name: z.string(),
7
+ value: z.union([
8
+ z.string(),
9
+ z.array(z.string()),
10
+ z.null()
11
+ ])
12
+ });
13
+ const FormSubmissionRequestSchema = z.object({
14
+ entries: z.array(FormSubmissionEntrySchema),
15
+ intent: z.object({
16
+ url: z.string().nullable(),
17
+ format: z.enum([
18
+ "fdf",
19
+ "html",
20
+ "xfdf",
21
+ "pdf"
22
+ ]),
23
+ method: z.enum(["post", "get"]),
24
+ flagsRaw: z.number().int().nonnegative(),
25
+ charSet: z.string().optional()
26
+ }),
27
+ origin: z.enum([
28
+ "user",
29
+ "hover",
30
+ "lifecycle"
31
+ ]),
32
+ clientTimeMs: z.number().finite()
33
+ });
34
+ const FormSubmissionReceiptSchema = z.object({
35
+ submissionId: z.string().min(1),
36
+ receivedAt: z.string().min(1)
37
+ });
38
+ //#endregion
3
39
  //#region src/wire/token.ts
4
40
  const DEFAULT_MAX_TOKEN_LENGTH = 256;
5
41
  const FIELD_NAME_RE = /^[A-Za-z][A-Za-z0-9]*(?:\.[A-Za-z][A-Za-z0-9]*)*$/;
@@ -541,6 +577,12 @@ const wirePaths = {
541
577
  layerPageAnnotationsCreate: (docId, layerName, pageObjectNumber) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/annotations/pages/${pageObjectNumber}/items`,
542
578
  layerAnnotationByKey: (docId, layerName, pageObjectNumber, key) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/annotations/pages/${pageObjectNumber}/items/${encodeURIComponent(key)}`,
543
579
  layerPageAnnotationsMove: (docId, layerName, pageObjectNumber) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/annotations/pages/${pageObjectNumber}/items/move`,
580
+ /** POST: flatten a chosen set of the page's annotations into its content
581
+ * (a content + annotation mutation of that page). */
582
+ layerPageAnnotationsFlatten: (docId, layerName, pageObjectNumber) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/annotations/pages/${pageObjectNumber}/items/flatten`,
583
+ /** POST: the chosen annotations' appearances as one single-page PDF — a
584
+ * derived read (application/pdf, no-store), gated like pages/extract. */
585
+ layerPageAnnotationsAppearance: (docId, layerName, pageObjectNumber) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/annotations/pages/${pageObjectNumber}/items/appearance`,
544
586
  /**
545
587
  * GET: the reconciled form snapshot (field tree + widget joins) for the
546
588
  * layer's CURRENT state. Forms are document-scoped (one AcroForm per
@@ -600,6 +642,11 @@ const wirePaths = {
600
642
  layerPagesMove: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/move`,
601
643
  layerPagesRotate: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/rotate`,
602
644
  layerPagesDelete: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/delete`,
645
+ /** POST: register/rename a `/Names /Pages` entry — a page-STRUCTURE
646
+ * mutation (docVersion + layoutVersion advance; reads ride `/layout`). */
647
+ layerPagesNames: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/names`,
648
+ /** POST: remove a `/Names /Pages` entry (the page stays). */
649
+ layerPagesNamesDelete: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/names/delete`,
603
650
  layerPagesFlatten: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/flatten`,
604
651
  /**
605
652
  * POST (multipart mutation envelope): copy every page of the `source`
@@ -652,6 +699,8 @@ const wireTemplates = {
652
699
  layerAnnotationItemsAll: "/v1/docs/:docId/layers/:layerName/annotations/items",
653
700
  layerAnnotationItems: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items",
654
701
  layerAnnotationItem: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/:annotKey",
702
+ layerAnnotationItemsFlatten: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/flatten",
703
+ layerAnnotationItemsAppearance: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/appearance",
655
704
  layerForm: "/v1/docs/:docId/layers/:layerName/form",
656
705
  layerFormFieldValue: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/value",
657
706
  layerFormFieldReset: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/reset",
@@ -659,6 +708,8 @@ const wireTemplates = {
659
708
  layerPagesMove: "/v1/docs/:docId/layers/:layerName/pages/move",
660
709
  layerPagesRotate: "/v1/docs/:docId/layers/:layerName/pages/rotate",
661
710
  layerPagesDelete: "/v1/docs/:docId/layers/:layerName/pages/delete",
711
+ layerPagesNames: "/v1/docs/:docId/layers/:layerName/pages/names",
712
+ layerPagesNamesDelete: "/v1/docs/:docId/layers/:layerName/pages/names/delete",
662
713
  layerPagesFlatten: "/v1/docs/:docId/layers/:layerName/pages/flatten",
663
714
  layerPagesInsert: "/v1/docs/:docId/layers/:layerName/pages/insert",
664
715
  layerPagesInsertBlank: "/v1/docs/:docId/layers/:layerName/pages/insert-blank",
@@ -1382,6 +1433,6 @@ function annotationRenderOptionsFromImageOptions(options) {
1382
1433
  };
1383
1434
  }
1384
1435
  //#endregion
1385
- export { ANNOTATION_KINDS, AccessRequestSchema, AccessResponseSchema, ActionsTokenSchema, AnnotationAppearanceManifestSchema, AnnotationAppearancesQuerySchema, AnnotationAppearancesRenderTokenSchema, AnnotationBaseShape, AnnotationBorderStyleSchema, AnnotationCreateResultSchema, AnnotationDTOSchema, AnnotationDeleteResultSchema, AnnotationDraftBaseShape, AnnotationDraftSchema, AnnotationFlagsPartialSchema, AnnotationFlagsSchema, AnnotationListMutationMetaSchema, AnnotationListPageSnapshotSchema, AnnotationListSnapshotAllPagesSchema, AnnotationMoveResultSchema, AnnotationPatchBaseShape, AnnotationPatchSchema, AnnotationRefSchema, AnnotationStableIdSchema, AnnotationTokenSchema, AnnotationUpdateResultSchema, AppearanceOutcomeSchema, AttachmentCreateResultSchema, AttachmentDeleteResultSchema, AttachmentFileInfoSchema, AttachmentsCacheSchema, BlendModeSchema, CacheDeltaSchema, CachePinsSchema, CalloutLineSchema, CaretDTOSchema, CaretDraftSchema, CaretIntentSchema, CaretPatchSchema, CircleDTOSchema, CircleDraftSchema, CirclePatchSchema, ColorSchema, ContentTokenSchema, DEFAULT_LAYER_NAME, DOC_RESOURCES, DocTokenSchema, DocumentActionsSnapshotSchema, DocumentHeadSchema, DocumentManifestSchema, DocumentMetadataSchema, DocumentSecurityStateSchema, 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, LayerScopesSchema, LayoutTokenSchema, LineDTOSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, MutationMetaSchema, NoteIconSchema, OpenDocumentResponseSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageExtractInputSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageInsertBlankInputSchema, PageInsertInputSchema, PageInsertResultSchema, 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, RenderTokenSchema, ResourceRefSchema, RevisionTokenSchema, SEARCH_RESULT_FORMAT, SearchMatchSchema, SearchModeSchema, SearchQuerySchema, SearchRequestSchema, SearchSliceSchema, SearchSnippetSchema, SearchTokenSchema, SquareDTOSchema, SquareDraftSchema, SquarePatchSchema, SquigglyDTOSchema, SquigglyDraftSchema, SquigglyPatchSchema, StampDTOSchema, StampWireDraftSchema, StampWirePatchSchema, StandardFontSchema, StrikeoutDTOSchema, StrikeoutDraftSchema, StrikeoutIntentSchema, StrikeoutPatchSchema, TextAlignmentSchema, TextDTOSchema, TextDraftSchema, TextPatchSchema, ToggleFieldWidgetSchema, UnderlineDTOSchema, UnderlineDraftSchema, UnderlinePatchSchema, UnsupportedDTOSchema, UnsupportedDraftSchema, UnsupportedPatchSchema, WeakAnnotationSessionPagesRequestSchema, WeakAnnotationSessionResponseSchema, WidgetAppearanceSchema, WidgetPlacementSchema, WireAttachmentFileSchema, 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 };
1436
+ export { ANNOTATION_KINDS, AccessRequestSchema, AccessResponseSchema, ActionsTokenSchema, AnnotationAppearanceExportInputSchema, AnnotationAppearanceManifestSchema, AnnotationAppearancesQuerySchema, AnnotationAppearancesRenderTokenSchema, AnnotationBaseShape, AnnotationBorderStyleSchema, AnnotationCreateResultSchema, AnnotationDTOSchema, AnnotationDeleteResultSchema, AnnotationDraftBaseShape, AnnotationDraftSchema, AnnotationFlagsPartialSchema, AnnotationFlagsSchema, AnnotationFlattenInputSchema, AnnotationFlattenResultSchema, AnnotationListMutationMetaSchema, AnnotationListPageSnapshotSchema, AnnotationListSnapshotAllPagesSchema, AnnotationMoveResultSchema, AnnotationPatchBaseShape, AnnotationPatchSchema, AnnotationRefSchema, AnnotationStableIdSchema, AnnotationTokenSchema, AnnotationUpdateResultSchema, AppearanceOutcomeSchema, AttachmentCreateResultSchema, AttachmentDeleteResultSchema, AttachmentFileInfoSchema, AttachmentsCacheSchema, BlendModeSchema, CacheDeltaSchema, CachePinsSchema, CalloutLineSchema, CaretDTOSchema, CaretDraftSchema, CaretIntentSchema, CaretPatchSchema, CircleDTOSchema, CircleDraftSchema, CirclePatchSchema, ColorSchema, ContentTokenSchema, DEFAULT_LAYER_NAME, DOC_RESOURCES, DocTokenSchema, DocumentActionsSnapshotSchema, DocumentHeadSchema, DocumentManifestSchema, DocumentMetadataSchema, DocumentSecurityStateSchema, 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, LayerScopesSchema, LayoutTokenSchema, LineDTOSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, MutationMetaSchema, NamedPageEntrySchema, NoteIconSchema, OpenDocumentResponseSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageExtractInputSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageInsertBlankInputSchema, PageInsertInputSchema, PageInsertResultSchema, PageLayoutSchema, PageListSnapshotSchema, PageMoveInputSchema, PageMoveResultSchema, PageNameInputSchema, PageNameResultSchema, PageNetworkRenderFormatSchema, PageRemoveNameInputSchema, 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, RenderTokenSchema, ResourceRefSchema, RevisionTokenSchema, SEARCH_RESULT_FORMAT, SearchMatchSchema, SearchModeSchema, SearchQuerySchema, SearchRequestSchema, SearchSliceSchema, SearchSnippetSchema, SearchTokenSchema, SquareDTOSchema, SquareDraftSchema, SquarePatchSchema, SquigglyDTOSchema, SquigglyDraftSchema, SquigglyPatchSchema, StampDTOSchema, StampWireDraftSchema, StampWirePatchSchema, StandardFontSchema, StrikeoutDTOSchema, StrikeoutDraftSchema, StrikeoutIntentSchema, StrikeoutPatchSchema, TextAlignmentSchema, TextDTOSchema, TextDraftSchema, TextPatchSchema, ToggleFieldWidgetSchema, UnderlineDTOSchema, UnderlineDraftSchema, UnderlinePatchSchema, UnsupportedDTOSchema, UnsupportedDraftSchema, UnsupportedPatchSchema, WeakAnnotationSessionPagesRequestSchema, WeakAnnotationSessionResponseSchema, WidgetAppearanceSchema, WidgetPlacementSchema, WireAttachmentFileSchema, 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 };
1386
1437
 
1387
1438
  //# sourceMappingURL=wire.js.map