@embedpdf/engine-core 3.0.0-next.8 → 3.0.0-next.9

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 (50) hide show
  1. package/dist/{AbortError-BsHuCO1S.js → AbortError-8-9JAX1Y.js} +2 -2
  2. package/dist/{AbortError-BsHuCO1S.js.map → AbortError-8-9JAX1Y.js.map} +1 -1
  3. package/dist/{AbortError-DmWeq9sx.cjs → AbortError-CRSooKsk.cjs} +2 -2
  4. package/dist/{AbortError-DmWeq9sx.cjs.map → AbortError-CRSooKsk.cjs.map} +1 -1
  5. package/dist/{AnnotationListSnapshot-CHjkcIaL.d.cts → AnnotationListSnapshot-Bwfnb1i-.d.cts} +25 -2
  6. package/dist/{AnnotationListSnapshot-CHjkcIaL.d.ts → AnnotationListSnapshot-Bwfnb1i-.d.ts} +25 -2
  7. package/dist/{DocumentSecurityService-CrxGktMI.d.ts → DocumentSecurityService-CqLXyTVM.d.ts} +2 -2
  8. package/dist/{DocumentSecurityService-B1uv4FaK.d.cts → DocumentSecurityService-DQNpYCXs.d.cts} +2 -2
  9. package/dist/{Engine-BE6r06QI.d.ts → Engine-C25gzAFz.d.ts} +26 -16
  10. package/dist/{Engine-BOaRwtKa.d.cts → Engine-COFJU7sA.d.cts} +26 -16
  11. package/dist/{charmap-D6PLtRiC.cjs → PageInsertBlankInput-CzShuSJI.cjs} +16 -1
  12. package/dist/PageInsertBlankInput-CzShuSJI.cjs.map +1 -0
  13. package/dist/{charmap-CUukAMhR.js → PageInsertBlankInput-WKY0tr6S.js} +11 -2
  14. package/dist/PageInsertBlankInput-WKY0tr6S.js.map +1 -0
  15. package/dist/{builders-BsUc2A1U.cjs → builders-B5CgvJ3j.cjs} +6 -6
  16. package/dist/{builders-BsUc2A1U.cjs.map → builders-B5CgvJ3j.cjs.map} +1 -1
  17. package/dist/{builders-CF5gKkOa.js → builders-CGcBlTrv.js} +3 -3
  18. package/dist/{builders-CF5gKkOa.js.map → builders-CGcBlTrv.js.map} +1 -1
  19. package/dist/conformance.cjs +337 -178
  20. package/dist/conformance.cjs.map +1 -1
  21. package/dist/conformance.d.cts +26 -6
  22. package/dist/conformance.d.ts +26 -6
  23. package/dist/conformance.js +292 -134
  24. package/dist/conformance.js.map +1 -1
  25. package/dist/{fold-DemV94jf.js → fold-BfyxxwS6.js} +2 -2
  26. package/dist/{fold-DemV94jf.js.map → fold-BfyxxwS6.js.map} +1 -1
  27. package/dist/{fold-BeT1GxLP.cjs → fold-C7I5GpBz.cjs} +4 -4
  28. package/dist/{fold-BeT1GxLP.cjs.map → fold-C7I5GpBz.cjs.map} +1 -1
  29. package/dist/index.cjs +15 -14
  30. package/dist/index.d.cts +2 -2
  31. package/dist/index.d.ts +2 -2
  32. package/dist/index.js +4 -4
  33. package/dist/runtime.cjs +20 -19
  34. package/dist/runtime.cjs.map +1 -1
  35. package/dist/runtime.d.cts +24 -5
  36. package/dist/runtime.d.ts +24 -5
  37. package/dist/runtime.js +5 -5
  38. package/dist/{schemas-BCuQlwdg.js → schemas-BKRZZ-g1.js} +37 -5
  39. package/dist/{schemas-BCuQlwdg.js.map → schemas-BKRZZ-g1.js.map} +1 -1
  40. package/dist/{schemas-BPA_F2HV.cjs → schemas-DlxjcDIl.cjs} +81 -25
  41. package/dist/{schemas-BPA_F2HV.cjs.map → schemas-DlxjcDIl.cjs.map} +1 -1
  42. package/dist/wire.cjs +32 -8
  43. package/dist/wire.cjs.map +1 -1
  44. package/dist/wire.d.cts +64 -12
  45. package/dist/wire.d.ts +64 -12
  46. package/dist/wire.js +29 -9
  47. package/dist/wire.js.map +1 -1
  48. package/package.json +1 -1
  49. package/dist/charmap-CUukAMhR.js.map +0 -1
  50. package/dist/charmap-D6PLtRiC.cjs.map +0 -1
package/dist/wire.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as CaretDraftSchema, $c as PdfQuad, $o as PageRenderQuery, $r as FormDataFormat, $t as CircleDraftSchema, A as FileAttachmentWireDraftSchema, Ao as AnnotationAppearanceManifest, Ba as AttachmentFileInfo, Bc as PdfRectDifferences, Ca as AttachmentsCache, Cc as AnnotationRef, D as FileAttachmentDTOSchema, Di as FormFieldFlags, Dn as HighlightPatchSchema, Dr as SearchSliceBudget, Dt as LinePatchSchema, En as HighlightDraftSchema, Eo as CachePins, Er as SearchSlice, Et as LineDraftSchema, F as StampDTOSchema, Fc as FreeTextIntent, Fi as ToggleFieldWidget, Fn as RedactionApplyScope, Fo as AnnotationAppearancesQuery, Fs as MetadataPatch, G as TextDTOSchema, Gc as StandardFont, Gi as AnnotationUpdateResult, Gn as PageRotateResult, Gr as FormRepairResult, Ha as EmbeddedFileItem, Hi as AnnotationCreateResult, Hr as FormFieldDeleteResult, I as StampWireDraftSchema, Ic as InkIntent, Jc as CalloutLine, Ji as AppearanceOutcome, Jn as PageMoveResult, Jr as FormEffect, Jt as SquarePatchSchema, K as TextDraftSchema, Kc as StrikeoutIntent, Kn as PageRotateInput, Kr as FormSetValueResult, Kt as SquareDTOSchema, L as StampWirePatchSchema, Lc as LineEnding, Li as FormValueEntry, Ln as PageFlattenInput, Lo as PageState, Lt as PolygonDTOSchema, Mc as CaretIntent, Mn as MetadataUpdateResult, Ms as PageBoxes, Mt as PolylineDraftSchema, Nc as Color, Ns as PageLayout, Nt as PolylinePatchSchema, O as FileAttachmentIconSchema, Oc as AnnotationBorderStyle, Oi as FormFieldOption, Oo as AnnotationAppearanceImageOptions, Or as SearchSnippet, P as ResourceRefSchema, Pn as RedactionApplyResult, Po as AnnotationAppearanceRenderOptions, Q as CaretDTOSchema, Qc as PdfPoint, Qo as PageRenderOptions, Qt as CircleDTOSchema, Rc as LineEndings, Ri as FormFieldRef, Rt as PolygonDraftSchema, Sa as AttachmentDeleteResult, Sr as SearchMatch, Ti as FormFieldDTO, Tn as HighlightDTOSchema, To as PdfSaveMode, Tr as SearchRequest, Tt as LineDTOSchema, Ua as EmbeddedFileRef, Ui as AnnotationDeleteResult, Un as PageDeleteResult, Ur as FormFieldUpdateResult, Vr as FormFieldCreateResult, W as NoteIconSchema, Wi as AnnotationMoveResult, Wn as PageDeleteInput, Wo as PageImageOptions, Wr as FormImportResult, Xn as PageMoveInput, Yc as InkList, Yn as PageStructureCache, Zc as LinePoints, Zr as FormEffectsResult, _ as UnsupportedPatchSchema, _o as SerializedEngineError, _t as LinkDraftSchema, a as AnnotationDTOSchema, as as PageGeometrySnapshot, at as FreeTextDraftSchema, bn as UnderlineDraftSchema, bt as PdfLinkTargetSchema, ca as DocumentManifest, cn as StrikeoutDraftSchema, da as LayerScopes, dl as PdfFieldActions, dt as InkDraftSchema, ei as FormFieldValue, el as PdfRect, en as CirclePatchSchema, et as CaretPatchSchema, f as KIND_BY_SUBTYPE, fl as PdfPageActions, fo as AnnotationStableId, fs as PageTextSnapshot, ft as InkPatchSchema, g as UnsupportedDraftSchema, gi as FormSnapshot, gt as LinkDTOSchema, h as UnsupportedDTOSchema, hi as FormKind, hn as SquigglyPatchSchema, ia as MutationMeta, il as DocumentActionsSnapshot, it as FreeTextDTOSchema, j as WireAttachmentFileSchema, jc as BlendMode, js as PageListSnapshot, jt as PolylineDTOSchema, k as FileAttachmentPatchSchema, kc as AnnotationFlags, la as ManifestPage, li as FormFieldDraft, ln as StrikeoutPatchSchema, mc as DocCapability, mi as WidgetPlacement, mn as SquigglyDraftSchema, n as AnnotationListSnapshotAllPages, na as RefetchReason, nl as PdfSize, ol as PdfActionNode, ot as FreeTextPatchSchema, pl as DocumentMetadata, pn as SquigglyDTOSchema, q as TextPatchSchema, qc as TextAlignment, qo as PageNetworkRenderFormat, qr as FormWidgetLinkResult, qt as SquareDraftSchema, r as ANNOTATION_KINDS, ra as CacheDelta, ri as FormFieldPatch, s as AnnotationDraftSchema, sl as PdfActionTree, sn as StrikeoutDTOSchema, t as AnnotationListPageSnapshot, ta as AnnotationListMutationMeta, tl as PdfRotation, u as AnnotationPatchSchema, ua as LayerScopePlane, ui as FormFieldOptionInput, ul as PdfAnnotationActions, ut as InkDTOSchema, vi as WidgetAppearanceSchema, vt as LinkPatchSchema, wc as RevisionToken, wr as SearchQuery, xa as AttachmentCreateResult, xc as PdfBits, xn as UnderlinePatchSchema, xt as PdfLinkTargetWritableSchema, yn as UnderlineDTOSchema, yt as PdfDestinationSchema, zi as FormWidgetRef, zn as PageFlattenResult, zt as PolygonPatchSchema } from "./AnnotationListSnapshot-CHjkcIaL.cjs";
2
- import { c as DocumentSecurityState, f as PdfPermissionInfo } from "./DocumentSecurityService-B1uv4FaK.cjs";
1
+ import { $ as CaretDraftSchema, $c as LinePoints, $r as FormEffectsResult, $t as CircleDraftSchema, A as FileAttachmentWireDraftSchema, Ac as AnnotationBorderStyle, Ai as FormFieldOption, Ao as AnnotationAppearanceImageOptions, Ar as SearchSnippet, Bc as LineEndings, Bi as FormFieldRef, Ca as AttachmentCreateResult, Cc as PdfBits, D as FileAttachmentDTOSchema, Di as FormFieldDTO, Dn as HighlightPatchSchema, Do as PdfSaveMode, Dr as SearchRequest, Dt as LinePatchSchema, Ec as RevisionToken, En as HighlightDraftSchema, Er as SearchQuery, Et as LineDraftSchema, F as StampDTOSchema, Fc as Color, Fn as RedactionApplyScope, Fs as PageLayout, G as TextDTOSchema, Ga as EmbeddedFileRef, Gi as AnnotationDeleteResult, Gn as PageDeleteResult, Gr as FormFieldUpdateResult, Ha as AttachmentFileInfo, Hc as PdfRectDifferences, I as StampWireDraftSchema, Io as AnnotationAppearanceRenderOptions, Jc as StrikeoutIntent, Jn as PageRotateInput, Jr as FormSetValueResult, Jt as SquarePatchSchema, K as TextDraftSchema, Ki as AnnotationMoveResult, Kn as PageDeleteInput, Ko as PageImageOptions, Kr as FormImportResult, Kt as SquareDTOSchema, L as StampWirePatchSchema, Lc as FreeTextIntent, Li as ToggleFieldWidget, Ln as PageFlattenInput, Lo as AnnotationAppearancesQuery, Ls as MetadataPatch, Lt as PolygonDTOSchema, Mn as MetadataUpdateResult, Mo as AnnotationAppearanceManifest, Mt as PolylineDraftSchema, Nc as BlendMode, Ns as PageListSnapshot, Nt as PolylinePatchSchema, O as FileAttachmentIconSchema, Oo as CachePins, Or as SearchSlice, P as ResourceRefSchema, Pc as CaretIntent, Pn as RedactionApplyResult, Ps as PageBoxes, Q as CaretDTOSchema, Qn as PageMoveInput, Qt as CircleDTOSchema, Rc as InkIntent, Rt as PolygonDraftSchema, Ta as AttachmentsCache, Tc as AnnotationRef, Tn as HighlightDTOSchema, Tt as LineDTOSchema, Ur as FormFieldCreateResult, Vi as FormWidgetRef, W as NoteIconSchema, Wa as EmbeddedFileItem, Wi as AnnotationCreateResult, Wn as PageInsertResult, Wr as FormFieldDeleteResult, Xc as CalloutLine, Xi as AppearanceOutcome, Xn as PageMoveResult, Xr as FormEffect, Yc as TextAlignment, Yo as PageNetworkRenderFormat, Yr as FormWidgetLinkResult, Zc as InkList, Zn as PageStructureCache, _ as UnsupportedPatchSchema, _i as FormKind, _t as LinkDraftSchema, a as AnnotationDTOSchema, aa as CacheDelta, ai as FormFieldPatch, at as FreeTextDraftSchema, bi as WidgetAppearanceSchema, bn as UnderlineDraftSchema, bt as PdfLinkTargetSchema, cl as PdfActionNode, cn as StrikeoutDraftSchema, da as ManifestPage, di as FormFieldDraft, dt as InkDraftSchema, el as PdfPoint, en as CirclePatchSchema, es as PageRenderOptions, et as CaretPatchSchema, f as KIND_BY_SUBTYPE, fa as LayerScopePlane, fi as FormFieldOptionInput, fl as PdfAnnotationActions, ft as InkPatchSchema, g as UnsupportedDraftSchema, gc as DocCapability, gi as WidgetPlacement, gt as LinkDTOSchema, h as UnsupportedDTOSchema, hl as DocumentMetadata, hn as SquigglyPatchSchema, ia as RefetchReason, il as PdfSize, it as FreeTextDTOSchema, j as WireAttachmentFileSchema, jc as AnnotationFlags, jt as PolylineDTOSchema, k as FileAttachmentPatchSchema, ki as FormFieldFlags, kr as SearchSliceBudget, ll as PdfActionTree, ln as StrikeoutPatchSchema, ml as PdfPageActions, mn as SquigglyDraftSchema, mo as AnnotationStableId, ms as PageTextSnapshot, n as AnnotationListSnapshotAllPages, ni as FormFieldValue, nl as PdfRect, oa as MutationMeta, ol as DocumentActionsSnapshot, ot as FreeTextPatchSchema, pa as LayerScopes, pl as PdfFieldActions, pn as SquigglyDTOSchema, q as TextPatchSchema, qc as StandardFont, qi as AnnotationUpdateResult, qn as PageRotateResult, qr as FormRepairResult, qt as SquareDraftSchema, r as ANNOTATION_KINDS, ra as AnnotationListMutationMeta, rl as PdfRotation, s as AnnotationDraftSchema, sn as StrikeoutDTOSchema, ss as PageGeometrySnapshot, t as AnnotationListPageSnapshot, ti as FormDataFormat, tl as PdfQuad, ts as PageRenderQuery, u as AnnotationPatchSchema, ua as DocumentManifest, ut as InkDTOSchema, vi as FormSnapshot, vt as LinkPatchSchema, wa as AttachmentDeleteResult, wr as SearchMatch, xn as UnderlinePatchSchema, xt as PdfLinkTargetWritableSchema, yn as UnderlineDTOSchema, yo as SerializedEngineError, yt as PdfDestinationSchema, zc as LineEnding, zi as FormValueEntry, zn as PageFlattenResult, zo as PageState, zt as PolygonPatchSchema } from "./AnnotationListSnapshot-Bwfnb1i-.cjs";
2
+ import { c as DocumentSecurityState, f as PdfPermissionInfo } from "./DocumentSecurityService-DQNpYCXs.cjs";
3
3
  import { z } from "zod";
4
4
  //#region src/geometry/schemas.d.ts
5
5
  declare const PdfPointSchema: z.ZodType<PdfPoint>;
@@ -142,8 +142,9 @@ declare const DocumentHeadSchema: z.ZodObject<{
142
142
  }>;
143
143
  type DocumentHead = z.infer<typeof DocumentHeadSchema>;
144
144
  declare const AccessRequestSchema: z.ZodObject<{
145
- /** Deprecated: the docId now rides the PATH (`/v1/docs/:docId/access`).
146
- * Kept optional for the legacy `/v1/access` alias, which requires it. */
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. */
147
148
  docId: z.ZodOptional<z.ZodString>;
148
149
  layerName: z.ZodOptional<z.ZodString>;
149
150
  password: z.ZodOptional<z.ZodString>;
@@ -672,6 +673,37 @@ declare const PageDeleteInputSchema: z.ZodType<PageDeleteInput>;
672
673
  * pages keep identity + revisions (see `PageDeleteResult`).
673
674
  */
674
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>;
675
707
  /**
676
708
  * Metadata write result. The Info dict is rewritten in place, so the
677
709
  * result returns the re-read `metadata` plus cloud coherence pins. No
@@ -834,14 +866,17 @@ declare function decodeTokenText(encoded: string): string;
834
866
  declare const DEFAULT_LAYER_NAME = "default";
835
867
  declare const wirePaths: {
836
868
  /**
837
- * POST: grant document access/caching credentials for the current
838
- * bearer, on the document the path names (cross-checked against the
839
- * token like every doc route). Doc-scoped BY PATH so the affinity tier
840
- * — the `X-CloudPDF-Doc` header derivation AND the chart's uri-mode
841
- * regex — pins the session bootstrap to the document's pod: the very
842
- * first request of a session opens on the right replica.
869
+ * POST: grant access/caching credentials for the current bearer on
870
+ * the document + layer namespace the path names (cross-checked
871
+ * against the token like every layer route — the grant is
872
+ * layer-scoped in substance: CDN coverage, scopes, and the client's
873
+ * binding all carry the layer). Path-addressed so the affinity tier —
874
+ * the `X-CloudPDF-Doc` header derivation AND the chart's uri-mode
875
+ * regex — pins the session bootstrap to the document's pod from the
876
+ * very first request. Default-layer callers spell `layers/default/`,
877
+ * same as every other layer route.
843
878
  */
844
- readonly access: (docId: string) => string;
879
+ readonly access: (docId: string, layerName: string) => string;
845
880
  /** Deprecated alias (docId in the BODY) — served for one prerelease
846
881
  * cycle so pre-rename clients keep working; remove after. */
847
882
  readonly accessLegacy: "/v1/access";
@@ -1069,6 +1104,20 @@ declare const wirePaths: {
1069
1104
  readonly layerPagesRotate: (docId: string, layerName: string) => string;
1070
1105
  readonly layerPagesDelete: (docId: string, layerName: string) => string;
1071
1106
  readonly layerPagesFlatten: (docId: string, layerName: string) => string;
1107
+ /**
1108
+ * POST (multipart mutation envelope): copy every page of the `source`
1109
+ * resource part (a standalone PDF) in at the body's `destIndex`.
1110
+ */
1111
+ readonly layerPagesInsert: (docId: string, layerName: string) => string;
1112
+ /** POST (plain JSON): create blank pages — pages.insert minus the bytes. */
1113
+ readonly layerPagesInsertBlank: (docId: string, layerName: string) => string;
1114
+ /**
1115
+ * POST (plain JSON → `application/pdf` bytes): export the listed pages,
1116
+ * in caller order, as a standalone PDF. A READ over the current layer
1117
+ * state (gated like /download), so it is a POST only for its body —
1118
+ * nothing mutates and no event is published.
1119
+ */
1120
+ readonly layerPagesExtract: (docId: string, layerName: string) => string;
1072
1121
  readonly layerRedactionsApply: (docId: string, layerName: string) => string;
1073
1122
  readonly layerEvents: (docId: string, layerName: string) => string;
1074
1123
  readonly layerDownload: (docId: string, layerName: string) => string;
@@ -1113,6 +1162,9 @@ declare const wireTemplates: {
1113
1162
  readonly layerPagesRotate: "/v1/docs/:docId/layers/:layerName/pages/rotate";
1114
1163
  readonly layerPagesDelete: "/v1/docs/:docId/layers/:layerName/pages/delete";
1115
1164
  readonly layerPagesFlatten: "/v1/docs/:docId/layers/:layerName/pages/flatten";
1165
+ readonly layerPagesInsert: "/v1/docs/:docId/layers/:layerName/pages/insert";
1166
+ readonly layerPagesInsertBlank: "/v1/docs/:docId/layers/:layerName/pages/insert-blank";
1167
+ readonly layerPagesExtract: "/v1/docs/:docId/layers/:layerName/pages/extract";
1116
1168
  readonly layerRedactionsApply: "/v1/docs/:docId/layers/:layerName/redactions/apply";
1117
1169
  readonly layerDownload: "/v1/docs/:docId/layers/:layerName/download";
1118
1170
  };
@@ -1592,5 +1644,5 @@ declare const AttachmentFileInfoSchema: z.ZodType<AttachmentFileInfo>;
1592
1644
  declare const EmbeddedFileRefSchema: z.ZodType<EmbeddedFileRef>;
1593
1645
  declare const EmbeddedFileItemSchema: z.ZodType<EmbeddedFileItem>;
1594
1646
  //#endregion
1595
- 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, 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, 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 };
1647
+ 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, 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 };
1596
1648
  //# sourceMappingURL=wire.d.cts.map
package/dist/wire.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as CaretDraftSchema, $c as PdfQuad, $o as PageRenderQuery, $r as FormDataFormat, $t as CircleDraftSchema, A as FileAttachmentWireDraftSchema, Ao as AnnotationAppearanceManifest, Ba as AttachmentFileInfo, Bc as PdfRectDifferences, Ca as AttachmentsCache, Cc as AnnotationRef, D as FileAttachmentDTOSchema, Di as FormFieldFlags, Dn as HighlightPatchSchema, Dr as SearchSliceBudget, Dt as LinePatchSchema, En as HighlightDraftSchema, Eo as CachePins, Er as SearchSlice, Et as LineDraftSchema, F as StampDTOSchema, Fc as FreeTextIntent, Fi as ToggleFieldWidget, Fn as RedactionApplyScope, Fo as AnnotationAppearancesQuery, Fs as MetadataPatch, G as TextDTOSchema, Gc as StandardFont, Gi as AnnotationUpdateResult, Gn as PageRotateResult, Gr as FormRepairResult, Ha as EmbeddedFileItem, Hi as AnnotationCreateResult, Hr as FormFieldDeleteResult, I as StampWireDraftSchema, Ic as InkIntent, Jc as CalloutLine, Ji as AppearanceOutcome, Jn as PageMoveResult, Jr as FormEffect, Jt as SquarePatchSchema, K as TextDraftSchema, Kc as StrikeoutIntent, Kn as PageRotateInput, Kr as FormSetValueResult, Kt as SquareDTOSchema, L as StampWirePatchSchema, Lc as LineEnding, Li as FormValueEntry, Ln as PageFlattenInput, Lo as PageState, Lt as PolygonDTOSchema, Mc as CaretIntent, Mn as MetadataUpdateResult, Ms as PageBoxes, Mt as PolylineDraftSchema, Nc as Color, Ns as PageLayout, Nt as PolylinePatchSchema, O as FileAttachmentIconSchema, Oc as AnnotationBorderStyle, Oi as FormFieldOption, Oo as AnnotationAppearanceImageOptions, Or as SearchSnippet, P as ResourceRefSchema, Pn as RedactionApplyResult, Po as AnnotationAppearanceRenderOptions, Q as CaretDTOSchema, Qc as PdfPoint, Qo as PageRenderOptions, Qt as CircleDTOSchema, Rc as LineEndings, Ri as FormFieldRef, Rt as PolygonDraftSchema, Sa as AttachmentDeleteResult, Sr as SearchMatch, Ti as FormFieldDTO, Tn as HighlightDTOSchema, To as PdfSaveMode, Tr as SearchRequest, Tt as LineDTOSchema, Ua as EmbeddedFileRef, Ui as AnnotationDeleteResult, Un as PageDeleteResult, Ur as FormFieldUpdateResult, Vr as FormFieldCreateResult, W as NoteIconSchema, Wi as AnnotationMoveResult, Wn as PageDeleteInput, Wo as PageImageOptions, Wr as FormImportResult, Xn as PageMoveInput, Yc as InkList, Yn as PageStructureCache, Zc as LinePoints, Zr as FormEffectsResult, _ as UnsupportedPatchSchema, _o as SerializedEngineError, _t as LinkDraftSchema, a as AnnotationDTOSchema, as as PageGeometrySnapshot, at as FreeTextDraftSchema, bn as UnderlineDraftSchema, bt as PdfLinkTargetSchema, ca as DocumentManifest, cn as StrikeoutDraftSchema, da as LayerScopes, dl as PdfFieldActions, dt as InkDraftSchema, ei as FormFieldValue, el as PdfRect, en as CirclePatchSchema, et as CaretPatchSchema, f as KIND_BY_SUBTYPE, fl as PdfPageActions, fo as AnnotationStableId, fs as PageTextSnapshot, ft as InkPatchSchema, g as UnsupportedDraftSchema, gi as FormSnapshot, gt as LinkDTOSchema, h as UnsupportedDTOSchema, hi as FormKind, hn as SquigglyPatchSchema, ia as MutationMeta, il as DocumentActionsSnapshot, it as FreeTextDTOSchema, j as WireAttachmentFileSchema, jc as BlendMode, js as PageListSnapshot, jt as PolylineDTOSchema, k as FileAttachmentPatchSchema, kc as AnnotationFlags, la as ManifestPage, li as FormFieldDraft, ln as StrikeoutPatchSchema, mc as DocCapability, mi as WidgetPlacement, mn as SquigglyDraftSchema, n as AnnotationListSnapshotAllPages, na as RefetchReason, nl as PdfSize, ol as PdfActionNode, ot as FreeTextPatchSchema, pl as DocumentMetadata, pn as SquigglyDTOSchema, q as TextPatchSchema, qc as TextAlignment, qo as PageNetworkRenderFormat, qr as FormWidgetLinkResult, qt as SquareDraftSchema, r as ANNOTATION_KINDS, ra as CacheDelta, ri as FormFieldPatch, s as AnnotationDraftSchema, sl as PdfActionTree, sn as StrikeoutDTOSchema, t as AnnotationListPageSnapshot, ta as AnnotationListMutationMeta, tl as PdfRotation, u as AnnotationPatchSchema, ua as LayerScopePlane, ui as FormFieldOptionInput, ul as PdfAnnotationActions, ut as InkDTOSchema, vi as WidgetAppearanceSchema, vt as LinkPatchSchema, wc as RevisionToken, wr as SearchQuery, xa as AttachmentCreateResult, xc as PdfBits, xn as UnderlinePatchSchema, xt as PdfLinkTargetWritableSchema, yn as UnderlineDTOSchema, yt as PdfDestinationSchema, zi as FormWidgetRef, zn as PageFlattenResult, zt as PolygonPatchSchema } from "./AnnotationListSnapshot-CHjkcIaL.js";
2
- import { c as DocumentSecurityState, f as PdfPermissionInfo } from "./DocumentSecurityService-CrxGktMI.js";
1
+ import { $ as CaretDraftSchema, $c as LinePoints, $r as FormEffectsResult, $t as CircleDraftSchema, A as FileAttachmentWireDraftSchema, Ac as AnnotationBorderStyle, Ai as FormFieldOption, Ao as AnnotationAppearanceImageOptions, Ar as SearchSnippet, Bc as LineEndings, Bi as FormFieldRef, Ca as AttachmentCreateResult, Cc as PdfBits, D as FileAttachmentDTOSchema, Di as FormFieldDTO, Dn as HighlightPatchSchema, Do as PdfSaveMode, Dr as SearchRequest, Dt as LinePatchSchema, Ec as RevisionToken, En as HighlightDraftSchema, Er as SearchQuery, Et as LineDraftSchema, F as StampDTOSchema, Fc as Color, Fn as RedactionApplyScope, Fs as PageLayout, G as TextDTOSchema, Ga as EmbeddedFileRef, Gi as AnnotationDeleteResult, Gn as PageDeleteResult, Gr as FormFieldUpdateResult, Ha as AttachmentFileInfo, Hc as PdfRectDifferences, I as StampWireDraftSchema, Io as AnnotationAppearanceRenderOptions, Jc as StrikeoutIntent, Jn as PageRotateInput, Jr as FormSetValueResult, Jt as SquarePatchSchema, K as TextDraftSchema, Ki as AnnotationMoveResult, Kn as PageDeleteInput, Ko as PageImageOptions, Kr as FormImportResult, Kt as SquareDTOSchema, L as StampWirePatchSchema, Lc as FreeTextIntent, Li as ToggleFieldWidget, Ln as PageFlattenInput, Lo as AnnotationAppearancesQuery, Ls as MetadataPatch, Lt as PolygonDTOSchema, Mn as MetadataUpdateResult, Mo as AnnotationAppearanceManifest, Mt as PolylineDraftSchema, Nc as BlendMode, Ns as PageListSnapshot, Nt as PolylinePatchSchema, O as FileAttachmentIconSchema, Oo as CachePins, Or as SearchSlice, P as ResourceRefSchema, Pc as CaretIntent, Pn as RedactionApplyResult, Ps as PageBoxes, Q as CaretDTOSchema, Qn as PageMoveInput, Qt as CircleDTOSchema, Rc as InkIntent, Rt as PolygonDraftSchema, Ta as AttachmentsCache, Tc as AnnotationRef, Tn as HighlightDTOSchema, Tt as LineDTOSchema, Ur as FormFieldCreateResult, Vi as FormWidgetRef, W as NoteIconSchema, Wa as EmbeddedFileItem, Wi as AnnotationCreateResult, Wn as PageInsertResult, Wr as FormFieldDeleteResult, Xc as CalloutLine, Xi as AppearanceOutcome, Xn as PageMoveResult, Xr as FormEffect, Yc as TextAlignment, Yo as PageNetworkRenderFormat, Yr as FormWidgetLinkResult, Zc as InkList, Zn as PageStructureCache, _ as UnsupportedPatchSchema, _i as FormKind, _t as LinkDraftSchema, a as AnnotationDTOSchema, aa as CacheDelta, ai as FormFieldPatch, at as FreeTextDraftSchema, bi as WidgetAppearanceSchema, bn as UnderlineDraftSchema, bt as PdfLinkTargetSchema, cl as PdfActionNode, cn as StrikeoutDraftSchema, da as ManifestPage, di as FormFieldDraft, dt as InkDraftSchema, el as PdfPoint, en as CirclePatchSchema, es as PageRenderOptions, et as CaretPatchSchema, f as KIND_BY_SUBTYPE, fa as LayerScopePlane, fi as FormFieldOptionInput, fl as PdfAnnotationActions, ft as InkPatchSchema, g as UnsupportedDraftSchema, gc as DocCapability, gi as WidgetPlacement, gt as LinkDTOSchema, h as UnsupportedDTOSchema, hl as DocumentMetadata, hn as SquigglyPatchSchema, ia as RefetchReason, il as PdfSize, it as FreeTextDTOSchema, j as WireAttachmentFileSchema, jc as AnnotationFlags, jt as PolylineDTOSchema, k as FileAttachmentPatchSchema, ki as FormFieldFlags, kr as SearchSliceBudget, ll as PdfActionTree, ln as StrikeoutPatchSchema, ml as PdfPageActions, mn as SquigglyDraftSchema, mo as AnnotationStableId, ms as PageTextSnapshot, n as AnnotationListSnapshotAllPages, ni as FormFieldValue, nl as PdfRect, oa as MutationMeta, ol as DocumentActionsSnapshot, ot as FreeTextPatchSchema, pa as LayerScopes, pl as PdfFieldActions, pn as SquigglyDTOSchema, q as TextPatchSchema, qc as StandardFont, qi as AnnotationUpdateResult, qn as PageRotateResult, qr as FormRepairResult, qt as SquareDraftSchema, r as ANNOTATION_KINDS, ra as AnnotationListMutationMeta, rl as PdfRotation, s as AnnotationDraftSchema, sn as StrikeoutDTOSchema, ss as PageGeometrySnapshot, t as AnnotationListPageSnapshot, ti as FormDataFormat, tl as PdfQuad, ts as PageRenderQuery, u as AnnotationPatchSchema, ua as DocumentManifest, ut as InkDTOSchema, vi as FormSnapshot, vt as LinkPatchSchema, wa as AttachmentDeleteResult, wr as SearchMatch, xn as UnderlinePatchSchema, xt as PdfLinkTargetWritableSchema, yn as UnderlineDTOSchema, yo as SerializedEngineError, yt as PdfDestinationSchema, zc as LineEnding, zi as FormValueEntry, zn as PageFlattenResult, zo as PageState, zt as PolygonPatchSchema } from "./AnnotationListSnapshot-Bwfnb1i-.js";
2
+ import { c as DocumentSecurityState, f as PdfPermissionInfo } from "./DocumentSecurityService-CqLXyTVM.js";
3
3
  import { z } from "zod";
4
4
  //#region src/geometry/schemas.d.ts
5
5
  declare const PdfPointSchema: z.ZodType<PdfPoint>;
@@ -142,8 +142,9 @@ declare const DocumentHeadSchema: z.ZodObject<{
142
142
  }>;
143
143
  type DocumentHead = z.infer<typeof DocumentHeadSchema>;
144
144
  declare const AccessRequestSchema: z.ZodObject<{
145
- /** Deprecated: the docId now rides the PATH (`/v1/docs/:docId/access`).
146
- * Kept optional for the legacy `/v1/access` alias, which requires it. */
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. */
147
148
  docId: z.ZodOptional<z.ZodString>;
148
149
  layerName: z.ZodOptional<z.ZodString>;
149
150
  password: z.ZodOptional<z.ZodString>;
@@ -672,6 +673,37 @@ declare const PageDeleteInputSchema: z.ZodType<PageDeleteInput>;
672
673
  * pages keep identity + revisions (see `PageDeleteResult`).
673
674
  */
674
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>;
675
707
  /**
676
708
  * Metadata write result. The Info dict is rewritten in place, so the
677
709
  * result returns the re-read `metadata` plus cloud coherence pins. No
@@ -834,14 +866,17 @@ declare function decodeTokenText(encoded: string): string;
834
866
  declare const DEFAULT_LAYER_NAME = "default";
835
867
  declare const wirePaths: {
836
868
  /**
837
- * POST: grant document access/caching credentials for the current
838
- * bearer, on the document the path names (cross-checked against the
839
- * token like every doc route). Doc-scoped BY PATH so the affinity tier
840
- * — the `X-CloudPDF-Doc` header derivation AND the chart's uri-mode
841
- * regex — pins the session bootstrap to the document's pod: the very
842
- * first request of a session opens on the right replica.
869
+ * POST: grant access/caching credentials for the current bearer on
870
+ * the document + layer namespace the path names (cross-checked
871
+ * against the token like every layer route — the grant is
872
+ * layer-scoped in substance: CDN coverage, scopes, and the client's
873
+ * binding all carry the layer). Path-addressed so the affinity tier —
874
+ * the `X-CloudPDF-Doc` header derivation AND the chart's uri-mode
875
+ * regex — pins the session bootstrap to the document's pod from the
876
+ * very first request. Default-layer callers spell `layers/default/`,
877
+ * same as every other layer route.
843
878
  */
844
- readonly access: (docId: string) => string;
879
+ readonly access: (docId: string, layerName: string) => string;
845
880
  /** Deprecated alias (docId in the BODY) — served for one prerelease
846
881
  * cycle so pre-rename clients keep working; remove after. */
847
882
  readonly accessLegacy: "/v1/access";
@@ -1069,6 +1104,20 @@ declare const wirePaths: {
1069
1104
  readonly layerPagesRotate: (docId: string, layerName: string) => string;
1070
1105
  readonly layerPagesDelete: (docId: string, layerName: string) => string;
1071
1106
  readonly layerPagesFlatten: (docId: string, layerName: string) => string;
1107
+ /**
1108
+ * POST (multipart mutation envelope): copy every page of the `source`
1109
+ * resource part (a standalone PDF) in at the body's `destIndex`.
1110
+ */
1111
+ readonly layerPagesInsert: (docId: string, layerName: string) => string;
1112
+ /** POST (plain JSON): create blank pages — pages.insert minus the bytes. */
1113
+ readonly layerPagesInsertBlank: (docId: string, layerName: string) => string;
1114
+ /**
1115
+ * POST (plain JSON → `application/pdf` bytes): export the listed pages,
1116
+ * in caller order, as a standalone PDF. A READ over the current layer
1117
+ * state (gated like /download), so it is a POST only for its body —
1118
+ * nothing mutates and no event is published.
1119
+ */
1120
+ readonly layerPagesExtract: (docId: string, layerName: string) => string;
1072
1121
  readonly layerRedactionsApply: (docId: string, layerName: string) => string;
1073
1122
  readonly layerEvents: (docId: string, layerName: string) => string;
1074
1123
  readonly layerDownload: (docId: string, layerName: string) => string;
@@ -1113,6 +1162,9 @@ declare const wireTemplates: {
1113
1162
  readonly layerPagesRotate: "/v1/docs/:docId/layers/:layerName/pages/rotate";
1114
1163
  readonly layerPagesDelete: "/v1/docs/:docId/layers/:layerName/pages/delete";
1115
1164
  readonly layerPagesFlatten: "/v1/docs/:docId/layers/:layerName/pages/flatten";
1165
+ readonly layerPagesInsert: "/v1/docs/:docId/layers/:layerName/pages/insert";
1166
+ readonly layerPagesInsertBlank: "/v1/docs/:docId/layers/:layerName/pages/insert-blank";
1167
+ readonly layerPagesExtract: "/v1/docs/:docId/layers/:layerName/pages/extract";
1116
1168
  readonly layerRedactionsApply: "/v1/docs/:docId/layers/:layerName/redactions/apply";
1117
1169
  readonly layerDownload: "/v1/docs/:docId/layers/:layerName/download";
1118
1170
  };
@@ -1592,5 +1644,5 @@ declare const AttachmentFileInfoSchema: z.ZodType<AttachmentFileInfo>;
1592
1644
  declare const EmbeddedFileRefSchema: z.ZodType<EmbeddedFileRef>;
1593
1645
  declare const EmbeddedFileItemSchema: z.ZodType<EmbeddedFileItem>;
1594
1646
  //#endregion
1595
- 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, 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, 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 };
1647
+ 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, 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 };
1596
1648
  //# sourceMappingURL=wire.d.ts.map
package/dist/wire.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as checkCapability, t as checkAnyCapability } from "./resolver-DiPMTfcy.js";
2
- import { $ as PageStateSchema, $n as FreeTextIntentSchema, $t as SquigglyDraftSchema, A as FormSetValueResultSchema, An as FileAttachmentPatchSchema, At as AnnotationDTOSchema, B as PageDeleteResultSchema, Bn as CaretDraftSchema, Bt as UnderlinePatchSchema, C as FormEffectSchema, Cn as HighlightDraftSchema, Cr as PdfRotationSchema, Ct as FormKindSchema, D as FormFieldUpdateResultSchema, Dn as FreeTextPatchSchema, Dt as ToggleFieldWidgetSchema, E as FormFieldDeleteResultSchema, En as FreeTextDraftSchema, Et as FormWidgetRefSchema, F as MetadataUpdateResultSchema, Fn as EmbeddedFileRefSchema, Ft as UnsupportedDTOSchema, G as PageListSnapshotSchema, Gn as AnnotationFlagsPartialSchema, Gt as StrikeoutDTOSchema, H as PageFlattenResultSchema, Hn as AnnotationBaseShape, Ht as TextDTOSchema, I as MutationMetaSchema, In as CircleDTOSchema, It as UnsupportedDraftSchema, J as PageNetworkRenderFormatSchema, Jn as AnnotationRefSchema, Jt as ResourceRefSchema, K as PageMoveInputSchema, Kn as AnnotationFlagsSchema, Kt as StrikeoutDraftSchema, L as OpenDocumentResponseSchema, Ln as CircleDraftSchema, Lt as UnsupportedPatchSchema, M as LayerScopesSchema, Mn as WireAttachmentFileSchema, Mt as AnnotationPatchSchema, N as ManifestPageSchema, Nn as AttachmentFileInfoSchema, Nt as KIND_BY_SUBTYPE, O as FormImportResultSchema, On as FileAttachmentDTOSchema, Ot as WidgetPlacementSchema, P as MetadataPatchSchema, Pn as EmbeddedFileItemSchema, Pt as WidgetAppearanceSchema, Q as PageRotateResultSchema, Qn as ColorSchema, Qt as SquigglyDTOSchema, R as PageBoxesSchema, Rn as CirclePatchSchema, Rt as UnderlineDTOSchema, S as EngineErrorPayloadSchema, Sn as HighlightDTOSchema, Sr as PdfRectSchema, St as FormFieldValueSchema, T as FormFieldCreateResultSchema, Tn as FreeTextDTOSchema, Tt as FormValueEntrySchema, U as PageGeometrySnapshotSchema, Un as AnnotationBorderStyleSchema, Ut as TextDraftSchema, V as PageFlattenInputSchema, Vn as CaretPatchSchema, Vt as NoteIconSchema, W as PageLayoutSchema, Wn as AnnotationDraftBaseShape, Wt as TextPatchSchema, X as PageRenderQuerySchema, Xn as BlendModeSchema, Xt as StampWireDraftSchema, Y as PageRenderAnnotatedQuerySchema, Yn as AnnotationStableIdSchema, Yt as StampDTOSchema, Z as PageRotateInputSchema, Zn as CaretIntentSchema, Zt as StampWirePatchSchema, _ as CachePinsSchema, _n as LineDraftSchema, _r as CalloutLineSchema, _t as FormFieldFlagsSchema, a as AnnotationCreateResultSchema, an as PolylineDraftSchema, ar as RectSchema, at as RefetchReasonSchema, b as DocumentMetadataSchema, bn as InkDraftSchema, br as PdfPointSchema, bt as FormFieldPatchSchema, c as AnnotationListPageSnapshotSchema, cn as PolygonDraftSchema, cr as StrikeoutIntentSchema, ct as SearchQuerySchema, d as AnnotationUpdateResultSchema, dn as LinkDraftSchema, dr as PdfActionNodeSchema, dt as SearchSnippetSchema, en as SquigglyPatchSchema, er as InkIntentSchema, et as PageStructureCacheSchema, f as AppearanceOutcomeSchema, fn as LinkPatchSchema, fr as PdfActionTreeSchema, ft as WeakAnnotationSessionPagesRequestSchema, g as CacheDeltaSchema, gn as LineDTOSchema, gr as PdfPageActionsSchema, gt as FormFieldDraftSchema, h as AttachmentsCacheSchema, hn as PdfLinkTargetWritableSchema, hr as PdfFieldActionsSchema, ht as FormFieldDTOSchema, i as AnnotationAppearancesQuerySchema, in as PolylineDTOSchema, ir as PointSchema, it as RedactionApplyScopeSchema, j as FormWidgetLinkResultSchema, jn as FileAttachmentWireDraftSchema, jt as AnnotationDraftSchema, k as FormRepairResultSchema, kn as FileAttachmentIconSchema, kt as ANNOTATION_KINDS, l as AnnotationListSnapshotAllPagesSchema, ln as PolygonPatchSchema, lr as TextAlignmentSchema, lt as SearchRequestSchema, m as AttachmentDeleteResultSchema, mn as PdfLinkTargetSchema, mr as PdfAnnotationActionsSchema, mt as FormDataFormatSchema, n as AccessResponseSchema, nn as SquareDraftSchema, nr as LineEndingsSchema, nt as PdfSaveModeSchema, o as AnnotationDeleteResultSchema, on as PolylinePatchSchema, or as RevisionTokenSchema, ot as SearchMatchSchema, p as AttachmentCreateResultSchema, pn as PdfDestinationSchema, pr as PdfActionTypeSchema, pt as WeakAnnotationSessionResponseSchema, q as PageMoveResultSchema, qn as AnnotationPatchBaseShape, qt as StrikeoutPatchSchema, r as AnnotationAppearanceManifestSchema, rn as SquarePatchSchema, rr as PdfRectDifferencesSchema, rt as RedactionApplyResultSchema, s as AnnotationListMutationMetaSchema, sn as PolygonDTOSchema, sr as StandardFontSchema, st as SearchModeSchema, t as AccessRequestSchema, tn as SquareDTOSchema, tr as LineEndingSchema, tt as PageTextSnapshotSchema, u as AnnotationMoveResultSchema, un as LinkDTOSchema, ur as DocumentActionsSnapshotSchema, ut as SearchSliceSchema, v as DocumentHeadSchema, vn as LinePatchSchema, vr as InkListSchema, vt as FormFieldOptionInputSchema, w as FormEffectsResultSchema, wn as HighlightPatchSchema, wr as PdfSizeSchema, wt as FormSnapshotSchema, x as DocumentSecurityStateSchema, xn as InkPatchSchema, xr as PdfQuadSchema, xt as FormFieldRefSchema, y as DocumentManifestSchema, yn as InkDTOSchema, yr as LinePointsSchema, yt as FormFieldOptionSchema, z as PageDeleteInputSchema, zn as CaretDTOSchema, zt as UnderlineDraftSchema } from "./schemas-BCuQlwdg.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-BKRZZ-g1.js";
3
3
  //#region src/wire/token.ts
4
4
  const DEFAULT_MAX_TOKEN_LENGTH = 256;
5
5
  const FIELD_NAME_RE = /^[A-Za-z][A-Za-z0-9]*(?:\.[A-Za-z][A-Za-z0-9]*)*$/;
@@ -354,14 +354,17 @@ function decodePdfSaveMode(raw) {
354
354
  const DEFAULT_LAYER_NAME = "default";
355
355
  const wirePaths = {
356
356
  /**
357
- * POST: grant document access/caching credentials for the current
358
- * bearer, on the document the path names (cross-checked against the
359
- * token like every doc route). Doc-scoped BY PATH so the affinity tier
360
- * — the `X-CloudPDF-Doc` header derivation AND the chart's uri-mode
361
- * regex — pins the session bootstrap to the document's pod: the very
362
- * first request of a session opens on the right replica.
357
+ * POST: grant access/caching credentials for the current bearer on
358
+ * the document + layer namespace the path names (cross-checked
359
+ * against the token like every layer route — the grant is
360
+ * layer-scoped in substance: CDN coverage, scopes, and the client's
361
+ * binding all carry the layer). Path-addressed so the affinity tier —
362
+ * the `X-CloudPDF-Doc` header derivation AND the chart's uri-mode
363
+ * regex — pins the session bootstrap to the document's pod from the
364
+ * very first request. Default-layer callers spell `layers/default/`,
365
+ * same as every other layer route.
363
366
  */
364
- access: (docId) => `/v1/docs/${encodeURIComponent(docId)}/access`,
367
+ access: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/access`,
365
368
  /** Deprecated alias (docId in the BODY) — served for one prerelease
366
369
  * cycle so pre-rename clients keep working; remove after. */
367
370
  accessLegacy: "/v1/access",
@@ -589,6 +592,20 @@ const wirePaths = {
589
592
  layerPagesRotate: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/rotate`,
590
593
  layerPagesDelete: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/delete`,
591
594
  layerPagesFlatten: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/flatten`,
595
+ /**
596
+ * POST (multipart mutation envelope): copy every page of the `source`
597
+ * resource part (a standalone PDF) in at the body's `destIndex`.
598
+ */
599
+ layerPagesInsert: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/insert`,
600
+ /** POST (plain JSON): create blank pages — pages.insert minus the bytes. */
601
+ layerPagesInsertBlank: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/insert-blank`,
602
+ /**
603
+ * POST (plain JSON → `application/pdf` bytes): export the listed pages,
604
+ * in caller order, as a standalone PDF. A READ over the current layer
605
+ * state (gated like /download), so it is a POST only for its body —
606
+ * nothing mutates and no event is published.
607
+ */
608
+ layerPagesExtract: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/extract`,
592
609
  layerRedactionsApply: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/redactions/apply`,
593
610
  layerEvents: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/events`,
594
611
  layerDownload: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/download`,
@@ -633,6 +650,9 @@ const wireTemplates = {
633
650
  layerPagesRotate: "/v1/docs/:docId/layers/:layerName/pages/rotate",
634
651
  layerPagesDelete: "/v1/docs/:docId/layers/:layerName/pages/delete",
635
652
  layerPagesFlatten: "/v1/docs/:docId/layers/:layerName/pages/flatten",
653
+ layerPagesInsert: "/v1/docs/:docId/layers/:layerName/pages/insert",
654
+ layerPagesInsertBlank: "/v1/docs/:docId/layers/:layerName/pages/insert-blank",
655
+ layerPagesExtract: "/v1/docs/:docId/layers/:layerName/pages/extract",
636
656
  layerRedactionsApply: "/v1/docs/:docId/layers/:layerName/redactions/apply",
637
657
  layerDownload: "/v1/docs/:docId/layers/:layerName/download"
638
658
  };
@@ -1325,6 +1345,6 @@ function annotationRenderOptionsFromImageOptions(options) {
1325
1345
  };
1326
1346
  }
1327
1347
  //#endregion
1328
- 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, 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, 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, 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 };
1348
+ 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, 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 };
1329
1349
 
1330
1350
  //# sourceMappingURL=wire.js.map