@embedpdf/engine-core 3.0.0-next.15 → 3.0.0-next.16

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 (91) hide show
  1. package/dist/{AnnotationList-CkijRHet.d.cts → AnnotationList-DcyhF2kU.d.cts} +1836 -1308
  2. package/dist/{AnnotationList-CkijRHet.d.ts → AnnotationList-DcyhF2kU.d.ts} +1836 -1308
  3. package/dist/{Change-CjImsrN0.cjs → Change-Ct-dB8D5.cjs} +115 -2
  4. package/dist/Change-Ct-dB8D5.cjs.map +1 -0
  5. package/dist/{Change-CKoxfTNY.js → Change-tMR34hTU.js} +92 -3
  6. package/dist/Change-tMR34hTU.js.map +1 -0
  7. package/dist/{DocumentRenderService-BfFdFSwI.cjs → DocumentRenderService-9IjSQEIU.cjs} +2 -1
  8. package/dist/{DocumentRenderService-BfFdFSwI.cjs.map → DocumentRenderService-9IjSQEIU.cjs.map} +1 -1
  9. package/dist/{DocumentRenderService-DV3J9lMz.js → DocumentRenderService-DFrZ9wfW.js} +2 -1
  10. package/dist/{DocumentRenderService-DV3J9lMz.js.map → DocumentRenderService-DFrZ9wfW.js.map} +1 -1
  11. package/dist/{DocumentSecurityService-e6vp2de8.d.cts → DocumentSecurityService-D2zA4NKi.d.cts} +2 -2
  12. package/dist/{DocumentSecurityService-CU1M6Q7m.d.ts → DocumentSecurityService-YJV9df8P.d.ts} +2 -2
  13. package/dist/{LocalEngine-DFoBm4B3.d.cts → LocalEngine-DBt2-GWF.d.ts} +102 -18
  14. package/dist/{LocalEngine-DPriFujS.d.ts → LocalEngine-IA9zh3Jh.d.cts} +102 -18
  15. package/dist/{authority-DLMNR7ff.cjs → authority-BFp6XM04.cjs} +373 -52
  16. package/dist/authority-BFp6XM04.cjs.map +1 -0
  17. package/dist/{authority-B3BklsB4.js → authority-PuxpGFhJ.js} +320 -53
  18. package/dist/authority-PuxpGFhJ.js.map +1 -0
  19. package/dist/{builders-CNj0POeY.js → builders-DV62HA3I.js} +6 -2
  20. package/dist/builders-DV62HA3I.js.map +1 -0
  21. package/dist/{builders-Cgdp_YCn.cjs → builders-DgTAj_tP.cjs} +6 -2
  22. package/dist/builders-DgTAj_tP.cjs.map +1 -0
  23. package/dist/{calibrate-DJBXnhLE.cjs → calibrate-DJbi1wuK.cjs} +118 -25
  24. package/dist/calibrate-DJbi1wuK.cjs.map +1 -0
  25. package/dist/{calibrate-7T3fnP8-.js → calibrate-nQFgCuki.js} +83 -26
  26. package/dist/calibrate-nQFgCuki.js.map +1 -0
  27. package/dist/charmap-Cprti1ta.js.map +1 -1
  28. package/dist/charmap-aYlefQP9.cjs.map +1 -1
  29. package/dist/conformance.cjs +1744 -75
  30. package/dist/conformance.cjs.map +1 -1
  31. package/dist/conformance.d.cts +105 -10
  32. package/dist/conformance.d.ts +105 -10
  33. package/dist/conformance.js +1738 -76
  34. package/dist/conformance.js.map +1 -1
  35. package/dist/index.cjs +25 -6
  36. package/dist/index.d.cts +2 -2
  37. package/dist/index.d.ts +2 -2
  38. package/dist/index.js +7 -7
  39. package/dist/public.cjs +6 -4
  40. package/dist/public.d.cts +5 -5
  41. package/dist/public.d.ts +5 -5
  42. package/dist/public.js +5 -5
  43. package/dist/{resolver-CzxmD9Ck.js → resolver-BBggAxQc.js} +6 -3
  44. package/dist/resolver-BBggAxQc.js.map +1 -0
  45. package/dist/{resolver-D2OCtE8F.cjs → resolver-BWSWSF6R.cjs} +6 -3
  46. package/dist/resolver-BWSWSF6R.cjs.map +1 -0
  47. package/dist/{runtime-Cl0v56mm.d.ts → runtime-BaDKjxiu.d.ts} +67 -140
  48. package/dist/{runtime-p1WDzDo4.d.cts → runtime-CWEuiwbk.d.cts} +67 -140
  49. package/dist/runtime.cjs +267 -7
  50. package/dist/runtime.cjs.map +1 -1
  51. package/dist/runtime.d.cts +5 -5
  52. package/dist/runtime.d.ts +5 -5
  53. package/dist/runtime.js +246 -8
  54. package/dist/runtime.js.map +1 -1
  55. package/dist/{schema-DzlUNk38.js → schema-6S2VmlAj.js} +8 -2
  56. package/dist/schema-6S2VmlAj.js.map +1 -0
  57. package/dist/{schema-C-gU4vj7.cjs → schema-miH6tWQC.cjs} +13 -1
  58. package/dist/schema-miH6tWQC.cjs.map +1 -0
  59. package/dist/{schemas-D6xOGjqg.js → schemas-BE2QGOit.js} +256 -59
  60. package/dist/schemas-BE2QGOit.js.map +1 -0
  61. package/dist/{schemas-Berf1swF.cjs → schemas-DljJR9ut.cjs} +397 -80
  62. package/dist/schemas-DljJR9ut.cjs.map +1 -0
  63. package/dist/validation.cjs +1 -1
  64. package/dist/validation.d.cts +1 -1
  65. package/dist/validation.d.ts +1 -1
  66. package/dist/validation.js +1 -1
  67. package/dist/{viewport-DlL5Bxbg.cjs → viewport-CHG9qQUb.cjs} +2 -2
  68. package/dist/{viewport-DlL5Bxbg.cjs.map → viewport-CHG9qQUb.cjs.map} +1 -1
  69. package/dist/{viewport-BJW13EGZ.js → viewport-DQR5LyX3.js} +2 -2
  70. package/dist/{viewport-BJW13EGZ.js.map → viewport-DQR5LyX3.js.map} +1 -1
  71. package/dist/wire.cjs +225 -57
  72. package/dist/wire.cjs.map +1 -1
  73. package/dist/wire.d.cts +3548 -1151
  74. package/dist/wire.d.ts +3548 -1151
  75. package/dist/wire.js +198 -53
  76. package/dist/wire.js.map +1 -1
  77. package/package.json +1 -1
  78. package/dist/Change-CKoxfTNY.js.map +0 -1
  79. package/dist/Change-CjImsrN0.cjs.map +0 -1
  80. package/dist/authority-B3BklsB4.js.map +0 -1
  81. package/dist/authority-DLMNR7ff.cjs.map +0 -1
  82. package/dist/builders-CNj0POeY.js.map +0 -1
  83. package/dist/builders-Cgdp_YCn.cjs.map +0 -1
  84. package/dist/calibrate-7T3fnP8-.js.map +0 -1
  85. package/dist/calibrate-DJBXnhLE.cjs.map +0 -1
  86. package/dist/resolver-CzxmD9Ck.js.map +0 -1
  87. package/dist/resolver-D2OCtE8F.cjs.map +0 -1
  88. package/dist/schema-C-gU4vj7.cjs.map +0 -1
  89. package/dist/schema-DzlUNk38.js.map +0 -1
  90. package/dist/schemas-Berf1swF.cjs.map +0 -1
  91. package/dist/schemas-D6xOGjqg.js.map +0 -1
package/dist/wire.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { f as toPageRef, i as encodeFieldRefKey, r as decodeFieldRefKey, u as encodePageKey } from "./format-Dgg428Kb.js";
2
- import { D as decodeAnnotKey, O as encodeAnnotKey, r as checkCapability, t as checkAnyCapability } from "./resolver-CzxmD9Ck.js";
2
+ import { D as decodeAnnotKey, O as encodeAnnotKey, r as checkCapability, t as checkAnyCapability } from "./resolver-BBggAxQc.js";
3
3
  import { c as toBase64, s as fromBase64, u as appearanceModesOf } from "./charmap-Cprti1ta.js";
4
- import { $ as PolylineDTOSchema, $t as PolylineIntentSchema, A as UnderlineDTOSchema, An as LineEndingSchema, At as FileResourceKeysSchema, B as StampDTOSchema, Bn as CalloutLineSchema, Bt as LineCaptionPatchSchema, Cn as BlendModeSchema, Ct as FileAttachmentIconSchema, D as UnsupportedDTOSchema, Dn as FreeTextIntentSchema, Dt as WireAttachmentFileSchema, E as FormFieldRefSchema, En as DrawnBorderStyleSchema, Et as AttachmentSchema, F as TextPatchSchema, Fn as StrikeoutIntentSchema, Ft as CircleDraftSchema, G as SquigglyDraftSchema, Gn as PageQuadSchema, Gt as PageMeasurementViewportSchema, H as StampPatchSchema, Hn as LinePointsSchema, Ht as LineIntentSchema, I as NoteIconSchema, In as TextAlignmentSchema, It as CirclePatchSchema, J as SquareDraftSchema, Jn as PdfRectSchema, Jt as PdfMeasureSchema, K as SquigglyPatchSchema, Kn as PdfPointSchema, Kt as PageScaleInputSchema, L as StrikeoutDTOSchema, Ln as VerticalAlignmentSchema, Lt as CaretDTOSchema, M as UnderlinePatchSchema, Mn as PointSchema, Mt as ResourceKeySchema, N as TextDTOSchema, Nn as RectSchema, Nt as SourceResourceKeysSchema, O as UnsupportedDraftSchema, On as FreeTextIntentWriteSchema, Ot as AnnotationResourceKeysSchema, P as TextDraftSchema, Pn as StandardFontSchema, Pt as CircleDTOSchema, Q as PopupPatchSchema, Qt as PolygonIntentSchema, R as StrikeoutDraftSchema, Rn as WidgetBorderStyleSchema, Rt as CaretDraftSchema, S as WidgetAppearanceSchema, Sn as AnnotationRefSchema, St as FileAttachmentPatchSchema, T as WidgetPatchSchema, Tn as ColorSchema, Tt as AttachmentRefSchema, U as StampFitSchema, Un as PageBoxSchema, Ut as LineLeaderSchema, V as StampDraftSchema, Vn as InkListSchema, Vt as LineDimensionCaptionSchema, W as SquigglyDTOSchema, Wn as PagePointSchema, Wt as PageMeasurementViewportListSchema, X as PopupDTOSchema, Xn as PdfSizeSchema, Xt as PdfMeasurementSchema, Y as SquarePatchSchema, Yn as PdfRotationSchema, Yt as PdfMeasureWriteSchema, Z as PopupDraftSchema, Zn as PageRefSchema, Zt as PdfNumberFormatSchema, _ as AnnotationSchema, _n as WidgetActionsPatchSchema, _t as FreeTextDTOSchema, a as FormFieldPatchSchema, an as FieldActionsPatchSchema, at as LinkDTOSchema, b as annotationPatchSchemaOf, bn as PdfDestinationSchema, bt as FileAttachmentDTOSchema, c as FormKindSchema, cn as PdfActionNodeSchema, ct as LineDTOSchema, d as FormWidgetSchema, dn as PdfActionTypeSchema, dt as InkDTOSchema, en as ShapeCaptionPatchSchema, et as PolylineDraftSchema, f as ToggleFieldWidgetSchema, fn as PdfActionWireComponents, ft as InkDraftSchema, g as AnnotationPatchSchema, gn as PdfPageActionsSchema, gt as HighlightPatchSchema, h as AnnotationDraftSchema, hn as PdfFieldActionsSchema, ht as HighlightDraftSchema, i as FormFieldOptionSchema, in as DocumentActionsSnapshotSchema, it as PolygonPatchSchema, j as UnderlineDraftSchema, jn as LineEndingsSchema, jt as ImageResourceKeysSchema, k as UnsupportedPatchSchema, kn as InkIntentSchema, kt as AppearanceResourceKeysSchema, l as FormSnapshotSchema, ln as PdfActionTargetRefSchema, lt as LineDraftSchema, m as ANNOTATION_KINDS, mn as PdfAnnotationActionsSchema, mt as HighlightDTOSchema, n as FormFieldDraftSchema, nn as DateInputSchema, nt as PolygonDTOSchema, o as FormFieldValueSchema, on as FieldScriptWriteSchema, ot as LinkDraftSchema, p as WidgetPlacementSchema, pn as PdfActionWriteSchema, pt as InkPatchSchema, q as SquareDTOSchema, qn as PdfQuadSchema, qt as PdfForeignMeasureSchema, r as FormFieldOptionInputSchema, rn as IsoDateTimeSchema, rt as PolygonDraftSchema, sn as FileWidgetActionsPatchSchema, st as LinkPatchSchema, t as FormFieldDTOSchema, tn as ShapeDimensionCaptionSchema, tt as PolylinePatchSchema, u as FormValueEntrySchema, un as PdfActionTreeSchema, ut as LinePatchSchema, vn as PdfLinkTargetSchema, vt as FreeTextDraftSchema, w as WidgetDTOSchema, wn as CaretIntentSchema, wt as AttachmentFileInfoSchema, xn as AnnotationBorderStyleSchema, xt as FileAttachmentDraftSchema, y as KIND_BY_SUBTYPE, yn as PdfLinkTargetWritableSchema, yt as FreeTextPatchSchema, z as StrikeoutPatchSchema, zn as WidgetCheckStyleSchema, zt as CaretPatchSchema } from "./schema-DzlUNk38.js";
5
- import { $ as FormExportRequestSchema, $t as PageRenderQuerySchemas, A as CacheDeltaSchema, An as pageRenderFamilyOf, At as MutationMetaSchema, B as DocumentProtectionSchema, Bt as PageFlattenInputSchema, C as AttachmentCreateResultSchema, Cn as SignatureSnapshotSchema, Ct as IdentitySchema, D as BaseVersionInfoSchema, Dn as decodePrepared, Dt as MetadataPatchSchema, E as AttachmentMutationMetaSchema, En as analyzeInputFromQuery, Et as ManifestPageSchema, F as CustomMetadataUpdateResultSchema, Ft as OpenDocumentResponseSchema, G as DocumentWireComponents, Gt as PageInsertResultSchema, H as DocumentVersionRefSchema, Ht as PageGeometrySnapshotSchema, I as DigestAlgorithmSchema, It as PageBoxesSchema, J as EngineErrorPayloadSchema, Jt as PageNameInputSchema, K as EditSessionAccessSchema, Kt as PageLayoutSchema, L as DocumentHeadSchema, Lt as PageDeleteInputSchema, M as ChangeAnalysisSchema, Mt as ObjectNumberRangeSchema, N as CustomMetadataPatchSchema, Nt as ObjectNumberReservationRequestSchema, O as BundleLimitsSchema, On as encodePrepared, Ot as MetadataUpdateResultSchema, P as CustomMetadataSchema, Pt as ObjectNumberReservationResponseSchema, Q as FormCalculationsReorderResultSchema, Qt as PageRemoveNameInputSchema, R as DocumentManifestSchema, Rt as PageDeleteResultSchema, S as AppearanceOutcomeSchema, Sn as SignatureSeedValueSchema, St as FormWireComponents, T as AttachmentListSchema, Tn as WidgetAppearancesQuerySchema, Tt as LayerScopesSchema, U as DocumentVersionSchema, Ut as PageInsertBlankInputSchema, V as DocumentSecurityStateSchema, Vt as PageFlattenResultSchema, W as DocumentVersionsSchema, Wt as PageInsertInputSchema, X as FieldPositionSchema, Xt as PageNetworkRenderFormatSchema, Y as FieldLockSpecSchema, Yt as PageNameResultSchema, Z as FormCalculationsReorderBodySchema, Zt as PagePositionSchema, _ as AnnotationReorderBodySchema, _n as SignatureCompleteBodySchema, _t as FormWidgetRestoreResultSchema, a as AnnotationAppearancesQuerySchema, an as PageTextSnapshotSchema, at as FormImportOptionsSchema, b as AnnotationWireComponents, bn as SignaturePrepareBodySchema, bt as FormWidgetsReorderBodySchema, c as AnnotationExportSelectionSchema, cn as RedactionApplyResultSchema, ct as FormRepairResultSchema, d as AnnotationImportBodySchema, dn as SearchQuerySchema, dt as FormSetValueResultSchema, en as PageReorderInputSchema, et as FormExportSelectionSchema, f as AnnotationImportOptionsSchema, fn as SearchRequestSchema, ft as FormValuesImportBodySchema, g as AnnotationPositionSchema, gn as SignatureCancelResultSchema, gt as FormWidgetLinkResultSchema, h as AnnotationListSchema, hn as SignatureAppearanceBodySchema, ht as FormWidgetDeleteResultSchema, i as AnnotationAppearanceExportInputSchema, in as PageScaleResultSchema, it as FormImportBodySchema, j as CachePinsSchema, jt as NamedPageEntrySchema, k as ByteRangeSchema, kn as PAGE_RENDER_FAMILIES, kt as ModificationLevelSchema, l as AnnotationFlattenInputSchema, ln as RedactionApplyScopeSchema, lt as FormResetBodySchema, m as AnnotationListMutationMetaSchema, mn as SearchSnippetSchema, mt as FormValuesImportResultSchema, n as AccessResponseSchema, nn as PageRotateInputSchema, nt as FormFieldDeleteResultSchema, o as AnnotationCreateResultSchema, on as PdfRevisionSchema, ot as FormImportResultSchema, p as AnnotationImportResultSchema, pn as SearchSliceSchema, pt as FormValuesImportOptionsSchema, q as EditSessionStatusSchema, qt as PageListSnapshotSchema, r as AnnotationAppearanceBatchSchema, rn as PageRotateResultSchema, rt as FormFieldUpdateResultSchema, s as AnnotationDeleteResultSchema, sn as PdfSaveModeSchema, st as FormMutationMetaSchema, t as AccessRequestSchema, tn as PageReorderResultSchema, tt as FormFieldCreateResultSchema, u as AnnotationFlattenResultSchema, un as SearchMatchSchema, ut as FormResetResultSchema, v as AnnotationReorderResultSchema, vn as SignatureCompleteResultSchema, vt as FormWidgetUpdateBodySchema, w as AttachmentDeleteResultSchema, wn as VersionAnalysisQuerySchema, wt as LayerAnalysisQuerySchema, x as AnnotationsExportRequestSchema, xn as SignaturePreparedWireSchema, xt as FormWidgetsReorderResultSchema, y as AnnotationUpdateResultSchema, yn as SignatureDTOSchema, yt as FormWidgetUpdateResultSchema, z as DocumentMetadataSchema, zt as PageExtractInputSchema } from "./schemas-D6xOGjqg.js";
4
+ import { $ as PolylineDTOSchema, $t as PolygonIntentSchema, A as UnderlineDTOSchema, An as InkIntentSchema, At as AppearanceResourceKeysSchema, B as StampDTOSchema, Bn as WidgetCheckStyleSchema, Bt as CaretPatchSchema, Cn as AnnotationRefSchema, Ct as FileAttachmentIconSchema, D as UnsupportedDTOSchema, Dn as DrawnBorderStyleSchema, Dt as AttachmentSchema, E as FormFieldRefSchema, En as ColorSchema, Et as AttachmentRefSchema, F as TextPatchSchema, Fn as StandardFontSchema, Ft as CircleDTOSchema, G as SquigglyDraftSchema, Gn as PagePointSchema, Gt as PageMeasurementViewportListSchema, H as StampPatchSchema, Hn as InkListSchema, Ht as LineDimensionCaptionSchema, I as NoteIconSchema, In as StrikeoutIntentSchema, It as CircleDraftSchema, J as SquareDraftSchema, Jn as PdfQuadSchema, Jt as PdfForeignMeasureSchema, K as SquigglyPatchSchema, Kn as PageQuadSchema, Kt as PageMeasurementViewportSchema, L as StrikeoutDTOSchema, Ln as TextAlignmentSchema, Lt as CirclePatchSchema, M as UnderlinePatchSchema, Mn as LineEndingsSchema, Mt as ImageResourceKeysSchema, N as TextDTOSchema, Nn as PointSchema, Nt as ResourceKeySchema, O as UnsupportedDraftSchema, On as FreeTextIntentSchema, Ot as WireAttachmentFileSchema, P as TextDraftSchema, Pn as RectSchema, Pt as SourceResourceKeysSchema, Q as PopupPatchSchema, Qn as PageRefSchema, Qt as PdfNumberFormatSchema, R as StrikeoutDraftSchema, Rn as VerticalAlignmentSchema, Rt as CaretDTOSchema, S as WidgetAppearanceSchema, Sn as AnnotationBorderStyleSchema, St as FileAttachmentPatchSchema, T as WidgetPatchSchema, Tn as CaretIntentSchema, Tt as AttachmentFileInfoSchema, U as StampFitSchema, Un as LinePointsSchema, Ut as LineIntentSchema, V as StampDraftSchema, Vn as CalloutLineSchema, Vt as LineCaptionPatchSchema, W as SquigglyDTOSchema, Wn as PageBoxSchema, Wt as LineLeaderSchema, X as PopupDTOSchema, Xn as PdfRotationSchema, Xt as PdfMeasureWriteSchema, Y as SquarePatchSchema, Yn as PdfRectSchema, Yt as PdfMeasureSchema, Z as PopupDraftSchema, Zn as PdfSizeSchema, Zt as PdfMeasurementSchema, _ as AnnotationSchema, _n as PdfPageActionsSchema, _t as FreeTextDTOSchema, a as FormFieldPatchSchema, an as DocumentActionsSnapshotSchema, at as LinkDTOSchema, b as annotationPatchSchemaOf, bn as PdfLinkTargetWritableSchema, bt as FileAttachmentDTOSchema, c as FormKindSchema, cn as FileWidgetActionsPatchSchema, ct as LineDTOSchema, d as FormWidgetSchema, dn as PdfActionTreeSchema, dt as InkDTOSchema, en as PolylineIntentSchema, et as PolylineDraftSchema, f as ToggleFieldWidgetSchema, fn as PdfActionTypeSchema, ft as InkDraftSchema, g as AnnotationPatchSchema, gn as PdfFieldActionsSchema, gt as HighlightPatchSchema, h as AnnotationDraftSchema, hn as PdfAnnotationActionsSchema, ht as HighlightDraftSchema, i as FormFieldOptionSchema, in as IsoDateTimeSchema, it as PolygonPatchSchema, j as UnderlineDraftSchema, jn as LineEndingSchema, jt as FileResourceKeysSchema, k as UnsupportedPatchSchema, kn as FreeTextIntentWriteSchema, kt as AnnotationResourceKeysSchema, l as FormSnapshotSchema, ln as PdfActionNodeSchema, lt as LineDraftSchema, m as ANNOTATION_KINDS, mn as PdfActionWriteSchema, mt as HighlightDTOSchema, n as FormFieldDraftSchema, nn as ShapeDimensionCaptionSchema, nt as PolygonDTOSchema, o as FormFieldValueSchema, on as FieldActionsPatchSchema, ot as LinkDraftSchema, p as WidgetPlacementSchema, pn as PdfActionWireComponents, pt as InkPatchSchema, q as SquareDTOSchema, qn as PdfPointSchema, qt as PageScaleInputSchema, r as FormFieldOptionInputSchema, rn as DateInputSchema, rt as PolygonDraftSchema, sn as FieldScriptWriteSchema, st as LinkPatchSchema, t as FormFieldDTOSchema, tn as ShapeCaptionPatchSchema, tt as PolylinePatchSchema, u as FormValueEntrySchema, un as PdfActionTargetRefSchema, ut as LinePatchSchema, vn as WidgetActionsPatchSchema, vt as FreeTextDraftSchema, w as WidgetDTOSchema, wn as BlendModeSchema, wt as AttachmentFileBaseSchema, xn as PdfDestinationSchema, xt as FileAttachmentDraftSchema, y as KIND_BY_SUBTYPE, yn as PdfLinkTargetSchema, yt as FreeTextPatchSchema, z as StrikeoutPatchSchema, zn as WidgetBorderStyleSchema, zt as CaretDraftSchema } from "./schema-6S2VmlAj.js";
5
+ import { $ as FormCalculationsReorderBodySchema, $t as PageInsertBlankSpecSchema, A as BundleLimitsSchema, An as SignaturePreparedWireSchema, At as MetadataUpdateResultSchema, B as DocumentManifestSchema, Bn as OutlineItemDraftSchema, Bt as OutlineMoveResultSchema, C as AttachmentCreateResultSchema, Cn as SearchSnippetSchema, Ct as FormWidgetsReorderResultSchema, D as AttachmentRestoreResultSchema, Dn as SignatureCompleteResultSchema, Dt as LayerScopesSchema, E as AttachmentMutationMetaSchema, En as SignatureCompleteBodySchema, Et as LayerAnalysisQuerySchema, F as CustomMetadataPatchSchema, Fn as analyzeInputFromQuery, Ft as ObjectNumberReservationRequestSchema, G as DocumentVersionSchema, Gn as PAGE_PRINT_FAMILIES, Gt as OutlineUpdateResultSchema, H as DocumentProtectionSchema, Hn as OutlineItemSchema, Ht as OutlineOrderSchema, I as CustomMetadataSchema, In as decodePrepared, It as ObjectNumberReservationResponseSchema, J as EditSessionAccessSchema, Jn as pagePictureOf, Jt as PageDeleteResultSchema, K as DocumentVersionsSchema, Kn as PAGE_PRINT_TIERS, Kt as OutlineWireComponents, L as CustomMetadataUpdateResultSchema, Ln as encodePrepared, Lt as OpenDocumentResponseSchema, M as CacheDeltaSchema, Mn as SignatureSnapshotSchema, Mt as MutationMetaSchema, N as CachePinsSchema, Nn as VersionAnalysisQuerySchema, Nt as NamedPageEntrySchema, O as AttachmentWireComponents, On as SignatureDTOSchema, Ot as ManifestPageSchema, P as ChangeAnalysisSchema, Pn as WidgetAppearancesQuerySchema, Pt as ObjectNumberRangeSchema, Q as FieldPositionSchema, Qt as PageGeometrySnapshotSchema, R as DigestAlgorithmSchema, Rn as pagePictureQuerySchema, Rt as OutlineCreateResultSchema, S as AppearanceOutcomeSchema, Sn as SearchSliceSchema, St as FormWidgetsReorderBodySchema, T as AttachmentListSchema, Tn as SignatureCancelResultSchema, Tt as IdentitySchema, U as DocumentSecurityStateSchema, Un as OutlineItemRefSchema, Ut as OutlinePositionSchema, V as DocumentMetadataSchema, Vn as OutlineItemPatchSchema, Vt as OutlineMutationMetaSchema, W as DocumentVersionRefSchema, Wn as PAGE_PICTURES, Wt as OutlineRestoreResultSchema, X as EngineErrorPayloadSchema, Xn as pageRenderFamilyOf, Xt as PageFlattenInputSchema, Y as EditSessionStatusSchema, Yn as pagePrintTierOf, Yt as PageExtractInputSchema, Z as FieldLockSpecSchema, Zt as PageFlattenResultSchema, _ as AnnotationReorderBodySchema, _n as RedactionApplyResultSchema, _t as FormWidgetDeleteResultSchema, a as AnnotationAppearancesQuerySchema, an as PageNetworkRenderFormatSchema, at as FormFieldUpdateResultSchema, b as AnnotationWireComponents, bn as SearchQuerySchema, bt as FormWidgetUpdateBodySchema, c as AnnotationExportSelectionSchema, cn as PageRemoveNameInputSchema, ct as FormImportResultSchema, d as AnnotationImportBodySchema, dn as PageRestoreResultSchema, dt as FormResetBodySchema, en as PageInsertResultSchema, et as FormCalculationsReorderResultSchema, f as AnnotationImportOptionsSchema, fn as PageRotateResultSchema, ft as FormResetResultSchema, g as AnnotationPositionSchema, gn as PdfSaveModeSchema, gt as FormValuesImportResultSchema, h as AnnotationListSchema, hn as PdfRevisionSchema, ht as FormValuesImportOptionsSchema, i as AnnotationAppearanceExportInputSchema, in as PageNameResultSchema, it as FormFieldDeleteResultSchema, j as ByteRangeSchema, jn as SignatureSeedValueSchema, jt as ModificationLevelSchema, k as BaseVersionInfoSchema, kn as SignaturePrepareBodySchema, kt as MetadataPatchSchema, l as AnnotationFlattenInputSchema, ln as PageRenderQuerySchemas, lt as FormMutationMetaSchema, m as AnnotationListMutationMetaSchema, mn as PageTextSnapshotSchema, mt as FormValuesImportBodySchema, n as AccessResponseSchema, nn as PageListSnapshotSchema, nt as FormExportSelectionSchema, o as AnnotationCreateResultSchema, on as PagePositionSchema, ot as FormImportBodySchema, p as AnnotationImportResultSchema, pn as PageScaleResultSchema, pt as FormSetValueResultSchema, q as DocumentWireComponents, qn as PAGE_RENDER_FAMILIES, qt as PageBoxesSchema, r as AnnotationAppearanceBatchSchema, rn as PageNameInputSchema, rt as FormFieldCreateResultSchema, s as AnnotationDeleteResultSchema, sn as PagePrintQuerySchemas, st as FormImportOptionsSchema, t as AccessRequestSchema, tn as PageLayoutSchema, tt as FormExportRequestSchema, u as AnnotationFlattenResultSchema, un as PageReorderResultSchema, ut as FormRepairResultSchema, v as AnnotationReorderResultSchema, vn as RedactionApplyScopeSchema, vt as FormWidgetLinkResultSchema, w as AttachmentDeleteResultSchema, wn as SignatureAppearanceBodySchema, wt as FormWireComponents, x as AnnotationsExportRequestSchema, xn as SearchRequestSchema, xt as FormWidgetUpdateResultSchema, y as AnnotationUpdateResultSchema, yn as SearchMatchSchema, yt as FormWidgetRestoreResultSchema, z as DocumentHeadSchema, zn as DocumentOutlineSchema, zt as OutlineDeleteResultSchema } from "./schemas-BE2QGOit.js";
6
6
  import { z } from "zod";
7
7
  //#region src/forms/submission.ts
8
8
  const FormSubmissionEntrySchema = z.object({
@@ -144,6 +144,11 @@ const FormExportTokenSchema = {
144
144
  const ActionsTokenSchema = { fields: ["actionsVersion"] };
145
145
  const AttachmentsTokenSchema = { fields: ["attachmentsVersion"] };
146
146
  /**
147
+ * The outline leaf: its own pin and the layout pin. The outline is read in
148
+ * page space, so a page delete or a box change moves what it reads.
149
+ */
150
+ const OutlineTokenSchema = { fields: ["layoutVersion", "outlineVersion"] };
151
+ /**
147
152
  * Layer signature analysis: the working copy judged against the base,
148
153
  * pinned by `docVersion`; `since.signature` XOR `since.revision`; `level`
149
154
  * only in exploratory mode.
@@ -407,6 +412,17 @@ const decodeFormExportToken = (raw) => {
407
412
  };
408
413
  const encodeActionsToken = (actionsVersion) => encodeToken(ActionsTokenSchema, { actionsVersion });
409
414
  const decodeActionsToken = (raw) => decodePositiveInteger(decodeToken(ActionsTokenSchema, raw).actionsVersion, "actionsVersion");
415
+ const encodeOutlineToken = (token) => encodeToken(OutlineTokenSchema, {
416
+ layoutVersion: token.layoutVersion,
417
+ outlineVersion: token.outlineVersion
418
+ });
419
+ const decodeOutlineToken = (raw) => {
420
+ const query = decodeToken(OutlineTokenSchema, raw);
421
+ return {
422
+ outlineVersion: decodePositiveInteger(query.outlineVersion, "outlineVersion"),
423
+ layoutVersion: decodePositiveInteger(query.layoutVersion, "layoutVersion")
424
+ };
425
+ };
410
426
  const encodeAttachmentsToken = (attachmentsVersion) => encodeToken(AttachmentsTokenSchema, { attachmentsVersion });
411
427
  const decodeAttachmentsToken = (raw) => decodePositiveInteger(decodeToken(AttachmentsTokenSchema, raw).attachmentsVersion, "attachmentsVersion");
412
428
  const encodeDownloadToken = (input) => encodeToken(DownloadTokenSchema, {
@@ -565,6 +581,7 @@ function decodePdfSaveMode(raw) {
565
581
  * /v1/docs/{id}/manifest@{ver} — doc-level read
566
582
  * /v1/docs/{id}/render/pages/{N}/data@{ver} — render is its own prefix
567
583
  * /v1/docs/{id}/render/{annotations,fields,all}/pages/{N}/data@{ver} — and each picture family
584
+ * /v1/docs/{id}/render/{print,print-high}/…/pages/{N}/data@{ver} — and each print tier of each
568
585
  * /v1/docs/{id}/text/pages/{N}/data@{ver} — text is its own prefix
569
586
  * /v1/docs/{id}/geometry/pages/{N}/data@{ver} — geometry is its own prefix
570
587
  * /v1/docs/{id}/layers/{L}/manifest@{ver}
@@ -577,9 +594,6 @@ function decodePdfSaveMode(raw) {
577
594
  * /v1/docs/{id}/layers/{L}/annotations/pages/{N}/items — collection (create)
578
595
  * /v1/docs/{id}/layers/{L}/annotations/pages/{N}/items/{key} — member
579
596
  * /v1/docs/{id}/layers/{L}/annotations/pages/{N}/items/reorder — stacking order
580
- * /v1/docs/{id}/layers/{L}/pages/reorder — page order
581
- * /v1/docs/{id}/layers/{L}/pages/rotate — batch absolute rotation
582
- * /v1/docs/{id}/layers/{L}/pages/delete — batch page delete
583
597
  * /v1/docs/{id}/form@{ver} — the form: fields + widget rows (read)
584
598
  * /v1/docs/{id}/form/pages/{N}/appearances@{ver} — a page's widget images (read)
585
599
  * /v1/docs/{id}/layers/{L}/form@{ver}
@@ -693,6 +707,15 @@ const wirePaths = {
693
707
  layerCustomMetadataCurrent: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/metadata/custom`,
694
708
  /** Immutable base custom keys: the shared-URL twin of `layerCustomMetadata`. */
695
709
  docCustomMetadata: (docId, metadataVersion) => `/v1/docs/${encodeURIComponent(docId)}/metadata/custom@${encodeMetadataToken(metadataVersion)}`,
710
+ /**
711
+ * GET: the layer's outline at its `outlineVersion` and `layoutVersion`
712
+ * (the outline is read in page space). Content-addressed: a stale pin 404s
713
+ * and the client refreshes its manifest.
714
+ */
715
+ layerOutline: (docId, layerName, token) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/outline@${encodeOutlineToken(token)}`,
716
+ layerOutlineCurrent: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/outline`,
717
+ /** Immutable base outline: the shared-URL twin an outline-inheriting layer resolves at. */
718
+ docOutline: (docId, token) => `/v1/docs/${encodeURIComponent(docId)}/outline@${encodeOutlineToken(token)}`,
696
719
  /** Immutable catalog-owned actions, independently pinned in the manifest. */
697
720
  layerActions: (docId, layerName, actionsVersion) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/actions@${encodeActionsToken(actionsVersion)}`,
698
721
  /** Immutable base catalog actions (plane-scope model): the shared-URL
@@ -741,10 +764,6 @@ const wirePaths = {
741
764
  docAttachmentFile: (docId, key, attachmentsVersion) => `/v1/docs/${encodeURIComponent(docId)}/attachment-files/${encodeTokenText(key)}/data@${encodeAttachmentsToken(attachmentsVersion)}`,
742
765
  /** Immutable /EmbeddedFiles listing, pinned by `attachmentsVersion`. */
743
766
  layerAttachments: (docId, layerName, attachmentsVersion) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/attachments@${encodeAttachmentsToken(attachmentsVersion)}`,
744
- /** POST: create a document-level embedded file (multipart mutation envelope). */
745
- layerAttachmentsCollection: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/attachments`,
746
- /** DELETE: remove a document-level embedded file by name-tree key. */
747
- layerAttachmentItem: (docId, layerName, key) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/attachments/${encodeTokenText(key)}`,
748
767
  /**
749
768
  * Immutable decoded bytes of one document-level embedded file. Lives
750
769
  * under its own `attachment-files` prefix — a stronger capability tier
@@ -781,10 +800,20 @@ const wirePaths = {
781
800
  */
782
801
  docPageRender: (docId, family, page, token) => `/v1/docs/${encodeURIComponent(docId)}/${PAGE_RENDER_FAMILIES[family].path}/${encodeURIComponent(encodePageKey(page))}/data@${encodeRenderToken(token)}`,
783
802
  docPageRenderCurrent: (docId, family, page) => `/v1/docs/${encodeURIComponent(docId)}/${PAGE_RENDER_FAMILIES[family].path}/${encodeURIComponent(encodePageKey(page))}/data`,
803
+ /**
804
+ * A print picture (`PAGE_PRINT_FAMILIES`): a family printed at a tier. The
805
+ * tier is a right, so it is in the path like the family; the token carries
806
+ * the family's pins and the image format, nothing that sizes the picture.
807
+ */
808
+ docPagePrint: (docId, tier, family, page, token) => `/v1/docs/${encodeURIComponent(docId)}/${PAGE_PRINT_FAMILIES[tier][family].path}/${encodeURIComponent(encodePageKey(page))}/data@${encodeRenderToken(token)}`,
809
+ docPagePrintCurrent: (docId, tier, family, page) => `/v1/docs/${encodeURIComponent(docId)}/${PAGE_PRINT_FAMILIES[tier][family].path}/${encodeURIComponent(encodePageKey(page))}/data`,
784
810
  layerPageGeometry: (docId, layerName, page, contentVersion) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/geometry/pages/${encodeURIComponent(encodePageKey(page))}/data@${encodeContentToken(contentVersion)}`,
785
811
  layerPageGeometryCurrent: (docId, layerName, page) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/geometry/pages/${encodeURIComponent(encodePageKey(page))}/data`,
786
812
  layerPageRender: (docId, layerName, family, page, token) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/${PAGE_RENDER_FAMILIES[family].path}/${encodeURIComponent(encodePageKey(page))}/data@${encodeRenderToken(token)}`,
787
813
  layerPageRenderCurrent: (docId, layerName, family, page) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/${PAGE_RENDER_FAMILIES[family].path}/${encodeURIComponent(encodePageKey(page))}/data`,
814
+ /** Layer twin of `docPagePrint`. */
815
+ layerPagePrint: (docId, layerName, tier, family, page, token) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/${PAGE_PRINT_FAMILIES[tier][family].path}/${encodeURIComponent(encodePageKey(page))}/data@${encodeRenderToken(token)}`,
816
+ layerPagePrintCurrent: (docId, layerName, tier, family, page) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/${PAGE_PRINT_FAMILIES[tier][family].path}/${encodeURIComponent(encodePageKey(page))}/data`,
788
817
  /**
789
818
  * Immutable base annotation list for a single page (plane-scope model):
790
819
  * the shared-URL variant an annotations-inheriting layer resolves at — a
@@ -930,9 +959,6 @@ const wirePaths = {
930
959
  layerSearchFullCurrent: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/search/full/data`,
931
960
  layerPageViewports: (docId, layerName, page) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/${encodeURIComponent(encodePageKey(page))}/viewports`,
932
961
  layerPageScale: (docId, layerName, page) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/${encodeURIComponent(encodePageKey(page))}/scale`,
933
- layerPagesReorder: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/reorder`,
934
- layerPagesRotate: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/rotate`,
935
- layerPagesDelete: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/delete`,
936
962
  /** POST: register/rename a `/Names /Pages` entry — a page-structure
937
963
  * mutation (docVersion + layoutVersion advance; reads ride `/layout`). */
938
964
  layerPagesNames: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/names`,
@@ -940,13 +966,6 @@ const wirePaths = {
940
966
  layerPagesNamesDelete: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/names/delete`,
941
967
  layerPagesFlatten: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/flatten`,
942
968
  /**
943
- * POST (multipart mutation envelope): copy every page of the `source`
944
- * resource part (a standalone PDF) in at the body's `toIndex`.
945
- */
946
- layerPagesInsert: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/insert`,
947
- /** POST (plain JSON): create blank pages — pages.insert minus the bytes. */
948
- layerPagesInsertBlank: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/insert-blank`,
949
- /**
950
969
  * POST (plain JSON → `application/pdf` bytes): export the listed pages,
951
970
  * in caller order, as a standalone PDF. A read over the current layer
952
971
  * state (gated like /download), so it is a POST only for its body —
@@ -979,6 +998,9 @@ const wireTemplates = {
979
998
  layerChanges: "/v1/docs/:docId/layers/:layerName/changes",
980
999
  layerMetadata: "/v1/docs/:docId/layers/:layerName/metadata",
981
1000
  layerCustomMetadata: "/v1/docs/:docId/layers/:layerName/metadata/custom",
1001
+ layerOutline: "/v1/docs/:docId/layers/:layerName/outline",
1002
+ layerAttachments: "/v1/docs/:docId/layers/:layerName/attachments",
1003
+ layerAttachmentFile: "/v1/docs/:docId/layers/:layerName/attachment-files/:fileKey/data",
982
1004
  layerRenderPage: "/v1/docs/:docId/layers/:layerName/render/pages/:pageKey/data",
983
1005
  layerTextPage: "/v1/docs/:docId/layers/:layerName/text/pages/:pageKey/data",
984
1006
  layerAnnotationItemsAll: "/v1/docs/:docId/layers/:layerName/annotations/items",
@@ -988,6 +1010,7 @@ const wireTemplates = {
988
1010
  layerAnnotationItemsFlatten: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pageKey/items/flatten",
989
1011
  layerAnnotationItemsAppearance: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pageKey/items/appearance",
990
1012
  layerAnnotationItemAppearanceResource: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pageKey/items/:annotKey/resources/appearance",
1013
+ layerAnnotationItemFileResource: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pageKey/items/:annotKey/resources/file",
991
1014
  layerForm: "/v1/docs/:docId/layers/:layerName/form",
992
1015
  layerFormWidget: "/v1/docs/:docId/layers/:layerName/form/widgets/:pageKey/:annotKey",
993
1016
  layerFormWidgetsReorder: "/v1/docs/:docId/layers/:layerName/form/widgets/:pageKey/reorder",
@@ -999,14 +1022,9 @@ const wireTemplates = {
999
1022
  layerFormImportValues: "/v1/docs/:docId/layers/:layerName/form/import-values",
1000
1023
  layerPageViewports: "/v1/docs/:docId/layers/:layerName/pages/:pageKey/viewports",
1001
1024
  layerPageScale: "/v1/docs/:docId/layers/:layerName/pages/:pageKey/scale",
1002
- layerPagesReorder: "/v1/docs/:docId/layers/:layerName/pages/reorder",
1003
- layerPagesRotate: "/v1/docs/:docId/layers/:layerName/pages/rotate",
1004
- layerPagesDelete: "/v1/docs/:docId/layers/:layerName/pages/delete",
1005
1025
  layerPagesNames: "/v1/docs/:docId/layers/:layerName/pages/names",
1006
1026
  layerPagesNamesDelete: "/v1/docs/:docId/layers/:layerName/pages/names/delete",
1007
1027
  layerPagesFlatten: "/v1/docs/:docId/layers/:layerName/pages/flatten",
1008
- layerPagesInsert: "/v1/docs/:docId/layers/:layerName/pages/insert",
1009
- layerPagesInsertBlank: "/v1/docs/:docId/layers/:layerName/pages/insert-blank",
1010
1028
  layerPagesExtract: "/v1/docs/:docId/layers/:layerName/pages/extract",
1011
1029
  layerRedactionsApply: "/v1/docs/:docId/layers/:layerName/redactions/apply",
1012
1030
  layerDownload: "/v1/docs/:docId/layers/:layerName/download",
@@ -1026,8 +1044,8 @@ const wireTemplates = {
1026
1044
  //#endregion
1027
1045
  //#region src/wire/resources.ts
1028
1046
  /** A page picture of one family, at the document's shared path. */
1029
- function pageRenderResource(family) {
1030
- const { resource, path, needs } = PAGE_RENDER_FAMILIES[family];
1047
+ function pageRenderResource(picture) {
1048
+ const { resource, path, needs } = picture;
1031
1049
  return {
1032
1050
  id: resource,
1033
1051
  pathPattern: `/v1/docs/{docId}/${path}/*/data@*`,
@@ -1040,8 +1058,8 @@ function pageRenderResource(family) {
1040
1058
  };
1041
1059
  }
1042
1060
  /** A page picture of one family, at a layer's path. */
1043
- function layerPageRenderResource(family) {
1044
- const { layerResource, path, needs } = PAGE_RENDER_FAMILIES[family];
1061
+ function layerPageRenderResource(picture) {
1062
+ const { layerResource, path, needs } = picture;
1045
1063
  return {
1046
1064
  id: layerResource,
1047
1065
  pathPattern: `/v1/docs/{docId}/layers/{layerName}/${path}/*/data@*`,
@@ -1108,10 +1126,18 @@ const DOC_RESOURCES = {
1108
1126
  routeKind: "versioned-read",
1109
1127
  cdnCacheable: true
1110
1128
  },
1111
- "page-render": pageRenderResource("pages"),
1112
- "page-render-annotations": pageRenderResource("annotations"),
1113
- "page-render-fields": pageRenderResource("fields"),
1114
- "page-render-all": pageRenderResource("all"),
1129
+ "page-render": pageRenderResource(PAGE_RENDER_FAMILIES.pages),
1130
+ "page-render-annotations": pageRenderResource(PAGE_RENDER_FAMILIES.annotations),
1131
+ "page-render-fields": pageRenderResource(PAGE_RENDER_FAMILIES.fields),
1132
+ "page-render-all": pageRenderResource(PAGE_RENDER_FAMILIES.all),
1133
+ "page-print": pageRenderResource(PAGE_PRINT_FAMILIES.print.pages),
1134
+ "page-print-annotations": pageRenderResource(PAGE_PRINT_FAMILIES.print.annotations),
1135
+ "page-print-fields": pageRenderResource(PAGE_PRINT_FAMILIES.print.fields),
1136
+ "page-print-all": pageRenderResource(PAGE_PRINT_FAMILIES.print.all),
1137
+ "page-print-high": pageRenderResource(PAGE_PRINT_FAMILIES["print-high"].pages),
1138
+ "page-print-high-annotations": pageRenderResource(PAGE_PRINT_FAMILIES["print-high"].annotations),
1139
+ "page-print-high-fields": pageRenderResource(PAGE_PRINT_FAMILIES["print-high"].fields),
1140
+ "page-print-high-all": pageRenderResource(PAGE_PRINT_FAMILIES["print-high"].all),
1115
1141
  "page-annotations": {
1116
1142
  id: "page-annotations",
1117
1143
  pathPattern: "/v1/docs/{docId}/annotations/pages/*/items@*",
@@ -1307,6 +1333,19 @@ const DOC_RESOURCES = {
1307
1333
  routeKind: "versioned-read",
1308
1334
  cdnCacheable: true
1309
1335
  },
1336
+ outline: {
1337
+ id: "outline",
1338
+ pathPattern: "/v1/docs/{docId}/outline@*",
1339
+ resolvePathPattern: (docId) => `/v1/docs/${docId}/outline@*`,
1340
+ pathPrefix: "/v1/docs/{docId}/outline@",
1341
+ resolvePathPrefix: (docId) => `/v1/docs/${docId}/outline@`,
1342
+ requirement: {
1343
+ kind: "single",
1344
+ capability: "doc.open"
1345
+ },
1346
+ routeKind: "versioned-read",
1347
+ cdnCacheable: true
1348
+ },
1310
1349
  "attachment-files": {
1311
1350
  id: "attachment-files",
1312
1351
  pathPattern: "/v1/docs/{docId}/attachment-files/*",
@@ -1333,6 +1372,19 @@ const DOC_RESOURCES = {
1333
1372
  routeKind: "versioned-read",
1334
1373
  cdnCacheable: true
1335
1374
  },
1375
+ "layer-outline": {
1376
+ id: "layer-outline",
1377
+ pathPattern: "/v1/docs/{docId}/layers/{layerName}/outline@*",
1378
+ resolvePathPattern: (docId, layerName = "default") => `/v1/docs/${docId}/layers/${layerName}/outline@*`,
1379
+ pathPrefix: "/v1/docs/{docId}/layers/{layerName}/outline@",
1380
+ resolvePathPrefix: (docId, layerName = "default") => `/v1/docs/${docId}/layers/${layerName}/outline@`,
1381
+ requirement: {
1382
+ kind: "single",
1383
+ capability: "doc.open"
1384
+ },
1385
+ routeKind: "versioned-read",
1386
+ cdnCacheable: true
1387
+ },
1336
1388
  "layer-attachment-files": {
1337
1389
  id: "layer-attachment-files",
1338
1390
  pathPattern: "/v1/docs/{docId}/layers/{layerName}/attachment-files/*",
@@ -1346,10 +1398,18 @@ const DOC_RESOURCES = {
1346
1398
  routeKind: "versioned-read",
1347
1399
  cdnCacheable: true
1348
1400
  },
1349
- "layer-page-render": layerPageRenderResource("pages"),
1350
- "layer-page-render-annotations": layerPageRenderResource("annotations"),
1351
- "layer-page-render-fields": layerPageRenderResource("fields"),
1352
- "layer-page-render-all": layerPageRenderResource("all"),
1401
+ "layer-page-render": layerPageRenderResource(PAGE_RENDER_FAMILIES.pages),
1402
+ "layer-page-render-annotations": layerPageRenderResource(PAGE_RENDER_FAMILIES.annotations),
1403
+ "layer-page-render-fields": layerPageRenderResource(PAGE_RENDER_FAMILIES.fields),
1404
+ "layer-page-render-all": layerPageRenderResource(PAGE_RENDER_FAMILIES.all),
1405
+ "layer-page-print": layerPageRenderResource(PAGE_PRINT_FAMILIES.print.pages),
1406
+ "layer-page-print-annotations": layerPageRenderResource(PAGE_PRINT_FAMILIES.print.annotations),
1407
+ "layer-page-print-fields": layerPageRenderResource(PAGE_PRINT_FAMILIES.print.fields),
1408
+ "layer-page-print-all": layerPageRenderResource(PAGE_PRINT_FAMILIES.print.all),
1409
+ "layer-page-print-high": layerPageRenderResource(PAGE_PRINT_FAMILIES["print-high"].pages),
1410
+ "layer-page-print-high-annotations": layerPageRenderResource(PAGE_PRINT_FAMILIES["print-high"].annotations),
1411
+ "layer-page-print-high-fields": layerPageRenderResource(PAGE_PRINT_FAMILIES["print-high"].fields),
1412
+ "layer-page-print-high-all": layerPageRenderResource(PAGE_PRINT_FAMILIES["print-high"].all),
1353
1413
  "page-text": {
1354
1414
  id: "page-text",
1355
1415
  pathPattern: "/v1/docs/{docId}/text/pages/*/data@*",
@@ -1674,10 +1734,7 @@ function checkResourceAccess(resourceId, rawScope, pdfBits) {
1674
1734
  * as every edge grant.
1675
1735
  */
1676
1736
  const RESOURCE_PLANES = {
1677
- "page-render": PAGE_RENDER_FAMILIES.pages.planes,
1678
- "page-render-annotations": PAGE_RENDER_FAMILIES.annotations.planes,
1679
- "page-render-fields": PAGE_RENDER_FAMILIES.fields.planes,
1680
- "page-render-all": PAGE_RENDER_FAMILIES.all.planes,
1737
+ ...Object.fromEntries(PAGE_PICTURES.map((picture) => [picture.resource, picture.planes])),
1681
1738
  "page-text": ["content"],
1682
1739
  "page-geometry": ["content"],
1683
1740
  "page-annotations": ["annotations"],
@@ -1690,7 +1747,8 @@ const RESOURCE_PLANES = {
1690
1747
  "metadata-custom": ["metadata"],
1691
1748
  actions: ["actions"],
1692
1749
  attachments: ["attachments"],
1693
- "attachment-files": ["attachments"]
1750
+ "attachment-files": ["attachments"],
1751
+ outline: ["outline", "layout"]
1694
1752
  };
1695
1753
  function cdnCoverageForScope(rawScope, pdfBits, context) {
1696
1754
  const out = [];
@@ -1884,16 +1942,19 @@ function unflatten(flat) {
1884
1942
  * extending `PageImageOptions`, the render query schemas, and
1885
1943
  * `RenderTokenSchema.fields`; this function does not change.
1886
1944
  *
1887
- * What the picture draws is never in the token: the caller picks the
1888
- * family's path (`PAGE_RENDER_FAMILIES`) and passes that family's pins.
1945
+ * What the picture draws, and whether and at which DPI it prints, is never
1946
+ * in the token: the caller picks the picture's path (`PAGE_RENDER_FAMILIES`,
1947
+ * `PAGE_PRINT_FAMILIES`) and passes that family's pins.
1889
1948
  * Each family's query schema checks its own pins when the URL is decoded
1890
1949
  * server-side. Round-tripping (flatten → encode → decode → unflatten →
1891
1950
  * schema parse) recovers the original SDK options.
1892
1951
  */
1893
1952
  function renderImageOptionsToWire(options, versions) {
1894
- const { includeAnnotations: _inThePath, includeFormFields: _alsoInThePath, ...wireOptions } = options;
1953
+ const { includeAnnotations: _inThePath, includeFormFields: _alsoInThePath, usage, viewport, ...wireOptions } = options;
1954
+ const sized = usage === "print" || viewport === void 0 ? {} : { viewport };
1895
1955
  return flatten({
1896
1956
  ...wireOptions,
1957
+ ...sized,
1897
1958
  ...versions
1898
1959
  });
1899
1960
  }
@@ -1906,8 +1967,9 @@ function renderImageOptionsToToken(options, versions) {
1906
1967
  }
1907
1968
  /**
1908
1969
  * The worker-side `PageRenderOptions` of a parsed picture request: the
1909
- * render options, and what its family draws (stamped by the family's query
1910
- * schema). Pure shape transform; image encoding stays out.
1970
+ * render options, and what its family draws and whether it prints (stamped
1971
+ * by the picture's query schema). Pure shape transform; image encoding stays
1972
+ * out.
1911
1973
  */
1912
1974
  function pageRenderOptionsFromImageOptions(options) {
1913
1975
  return {
@@ -1916,7 +1978,8 @@ function pageRenderOptionsFromImageOptions(options) {
1916
1978
  ...options.rotation !== void 0 ? { rotation: options.rotation } : {},
1917
1979
  ...options.background !== void 0 ? { background: options.background } : {},
1918
1980
  includeAnnotations: options.includeAnnotations ?? false,
1919
- includeFormFields: options.includeFormFields ?? false
1981
+ includeFormFields: options.includeFormFields ?? false,
1982
+ ...options.usage !== void 0 ? { usage: options.usage } : {}
1920
1983
  };
1921
1984
  }
1922
1985
  /**
@@ -1970,8 +2033,9 @@ function annotationRenderOptionsFromImageOptions(options) {
1970
2033
  /**
1971
2034
  * `POST /v1/docs/{docId}/layers/{layerName}/changes`: a request's changes and
1972
2035
  * their answers. A change's bytes (a stamp's drawing, an attached file, a
1973
- * signature's artwork) travel as multipart parts beside the JSON
1974
- * (`resource:{key}`), which names them by key where the change takes them.
2036
+ * signature's artwork, a PDF whose pages come in) travel as multipart parts
2037
+ * beside the JSON (`resource:{key}`), which names them by key where the change
2038
+ * takes them.
1975
2039
  */
1976
2040
  /** An op's id for its change: 1 to 255 visible ASCII characters, as `opId` always is. */
1977
2041
  const OpIdSchema = z.string().regex(/^[\x21-\x7e]{1,255}$/);
@@ -2093,6 +2157,66 @@ const ChangeOpWireSchema = z.discriminatedUnion("type", [
2093
2157
  z.object({
2094
2158
  type: z.literal("metadata.updateCustom"),
2095
2159
  patch: CustomMetadataPatchSchema
2160
+ }),
2161
+ z.object({
2162
+ type: z.literal("outline.create"),
2163
+ parent: OutlineItemRefSchema.nullable(),
2164
+ position: OutlinePositionSchema.optional(),
2165
+ data: OutlineItemDraftSchema,
2166
+ objectNumber: z.number().int().positive().optional()
2167
+ }),
2168
+ z.object({
2169
+ type: z.literal("outline.update"),
2170
+ ref: OutlineItemRefSchema,
2171
+ patch: OutlineItemPatchSchema,
2172
+ expect: OutlineItemPatchSchema.optional()
2173
+ }),
2174
+ z.object({
2175
+ type: z.literal("outline.move"),
2176
+ refs: z.array(OutlineItemRefSchema).min(1),
2177
+ parent: OutlineItemRefSchema.nullable(),
2178
+ position: OutlinePositionSchema
2179
+ }),
2180
+ z.object({
2181
+ type: z.literal("outline.delete"),
2182
+ ref: OutlineItemRefSchema,
2183
+ expect: OutlineItemPatchSchema.optional()
2184
+ }),
2185
+ z.object({
2186
+ type: z.literal("pages.rotate"),
2187
+ pages: z.array(PageRefSchema).min(1),
2188
+ rotation: PdfRotationSchema
2189
+ }),
2190
+ z.object({
2191
+ type: z.literal("pages.reorder"),
2192
+ pages: z.array(PageRefSchema).min(1),
2193
+ position: PagePositionSchema
2194
+ }),
2195
+ z.object({
2196
+ type: z.literal("pages.delete"),
2197
+ pages: z.array(PageRefSchema).min(1)
2198
+ }),
2199
+ z.object({
2200
+ type: z.literal("pages.insertBlank"),
2201
+ spec: PageInsertBlankSpecSchema,
2202
+ position: PagePositionSchema.optional(),
2203
+ objectNumbers: z.array(z.number().int().positive()).optional()
2204
+ }),
2205
+ z.object({
2206
+ type: z.literal("pages.insert"),
2207
+ /** The PDF whose pages come in, as the key of its multipart part. */
2208
+ resources: SourceResourceKeysSchema,
2209
+ position: PagePositionSchema.optional()
2210
+ }),
2211
+ z.object({
2212
+ type: z.literal("attachments.create"),
2213
+ file: AttachmentFileBaseSchema,
2214
+ /** The file's bytes, as the key of their multipart part. */
2215
+ resources: FileResourceKeysSchema
2216
+ }),
2217
+ z.object({
2218
+ type: z.literal("attachments.delete"),
2219
+ ref: AttachmentRefSchema
2096
2220
  })
2097
2221
  ]);
2098
2222
  /**
@@ -2118,7 +2242,11 @@ const ChangeRequestSchema = z.object({ changes: z.array(ChangeEntryWireSchema).m
2118
2242
  const ChangeItemTypeSchema = z.enum([
2119
2243
  ...ChangeOpWireSchema.options.map((op) => op.shape.type.value),
2120
2244
  "annotations.restore",
2121
- "forms.restore"
2245
+ "forms.restore",
2246
+ "forms.restoreWidget",
2247
+ "outline.restore",
2248
+ "pages.restore",
2249
+ "attachments.restore"
2122
2250
  ]);
2123
2251
  /** What an undo left alone, by name. */
2124
2252
  const SkippedFieldsSchema = z.array(z.string()).optional();
@@ -2175,7 +2303,24 @@ const ChangeItemSchema = z.union([
2175
2303
  itemOf("forms.reorderCalculations", FormCalculationsReorderResultSchema),
2176
2304
  itemOf("forms.updateWidget", FormWidgetUpdateResultSchema, { skipped: SkippedFieldsSchema }),
2177
2305
  itemOf("metadata.update", MetadataUpdateResultSchema, { skipped: SkippedFieldsSchema }),
2178
- itemOf("metadata.updateCustom", CustomMetadataUpdateResultSchema, { skipped: SkippedFieldsSchema })
2306
+ itemOf("metadata.updateCustom", CustomMetadataUpdateResultSchema, { skipped: SkippedFieldsSchema }),
2307
+ itemOf("outline.create", OutlineCreateResultSchema),
2308
+ itemOf("outline.update", OutlineUpdateResultSchema, { skipped: SkippedFieldsSchema }),
2309
+ itemOf("outline.move", OutlineMoveResultSchema),
2310
+ itemOf("outline.delete", OutlineDeleteResultSchema),
2311
+ itemOf("outline.restore", OutlineRestoreResultSchema),
2312
+ itemOf("pages.rotate", PageRotateResultSchema, {
2313
+ pages: z.array(PageRefSchema),
2314
+ rotation: PdfRotationSchema
2315
+ }),
2316
+ itemOf("pages.reorder", PageReorderResultSchema),
2317
+ itemOf("pages.delete", PageDeleteResultSchema, { pages: z.array(PageRefSchema) }),
2318
+ itemOf("pages.insertBlank", PageInsertResultSchema),
2319
+ itemOf("pages.insert", PageInsertResultSchema),
2320
+ itemOf("pages.restore", PageRestoreResultSchema),
2321
+ itemOf("attachments.create", AttachmentCreateResultSchema),
2322
+ itemOf("attachments.delete", AttachmentDeleteResultSchema),
2323
+ itemOf("attachments.restore", AttachmentRestoreResultSchema)
2179
2324
  ]);
2180
2325
  /** What a change did: one item per op (per step of an undo), and its meta. */
2181
2326
  const ChangeResultSchema = z.object({
@@ -2205,6 +2350,6 @@ const ChangeWireComponents = {
2205
2350
  ChangeResult: ChangeResultSchema
2206
2351
  };
2207
2352
  //#endregion
2208
- export { ANNOTATION_KINDS, AccessRequestSchema, AccessResponseSchema, ActionsTokenSchema, AnnotationAppearanceBatchSchema, AnnotationAppearanceExportInputSchema, AnnotationAppearancesQuerySchema, AnnotationAppearancesRenderTokenSchema, AnnotationBorderStyleSchema, AnnotationCreateResultSchema, AnnotationDeleteResultSchema, AnnotationDraftSchema, AnnotationExportSelectionSchema, AnnotationFlattenInputSchema, AnnotationFlattenResultSchema, AnnotationImportBodySchema, AnnotationImportOptionsSchema, AnnotationImportResultSchema, AnnotationListMutationMetaSchema, AnnotationListSchema, AnnotationPatchSchema, AnnotationPositionSchema, AnnotationRefSchema, AnnotationReorderBodySchema, AnnotationReorderResultSchema, AnnotationResourceKeysSchema, AnnotationSchema, AnnotationTokenSchema, AnnotationUpdateResultSchema, AnnotationWireComponents, AnnotationsExportRequestSchema, AppearanceOutcomeSchema, AppearanceResourceKeysSchema, AttachmentCreateResultSchema, AttachmentDeleteResultSchema, AttachmentFileInfoSchema, AttachmentListSchema, AttachmentMutationMetaSchema, AttachmentRefSchema, AttachmentSchema, BaseVersionInfoSchema, BlendModeSchema, BundleLimitsSchema, ByteRangeSchema, CHANGE_REQUEST_LIMITS, CacheDeltaSchema, CachePinsSchema, CalloutLineSchema, CaretDTOSchema, CaretDraftSchema, CaretIntentSchema, CaretPatchSchema, ChangeAnalysisSchema, ChangeAnswerSchema, ChangeEntryWireSchema, ChangeItemSchema, ChangeOpWireSchema, ChangeRequestSchema, ChangeResponseSchema, ChangeResultSchema, ChangeWireComponents, CircleDTOSchema, CircleDraftSchema, CirclePatchSchema, ColorSchema, ContentTokenSchema, CustomMetadataPatchSchema, CustomMetadataSchema, CustomMetadataUpdateResultSchema, DEFAULT_LAYER_NAME, DOC_RESOURCES, DateInputSchema, DigestAlgorithmSchema, DocTokenSchema, DocumentActionsSnapshotSchema, DocumentHeadSchema, DocumentManifestSchema, DocumentMetadataSchema, DocumentProtectionSchema, DocumentSecurityStateSchema, DocumentVersionRefSchema, DocumentVersionSchema, DocumentVersionsSchema, DocumentWireComponents, DrawnBorderStyleSchema, EditSessionAccessSchema, EditSessionStatusSchema, EngineErrorPayloadSchema, FieldActionsPatchSchema, FieldLockSpecSchema, FieldPositionSchema, FieldScriptWriteSchema, FileAttachmentDTOSchema, FileAttachmentDraftSchema, FileAttachmentIconSchema, FileAttachmentPatchSchema, FileResourceKeysSchema, FileWidgetActionsPatchSchema, FormCalculationsReorderBodySchema, FormCalculationsReorderResultSchema, FormExportRequestSchema, FormExportSelectionSchema, FormFieldCreateResultSchema, FormFieldDTOSchema, FormFieldDeleteResultSchema, FormFieldDraftSchema, FormFieldOptionInputSchema, FormFieldOptionSchema, FormFieldPatchSchema, FormFieldRefSchema, FormFieldUpdateResultSchema, FormFieldValueSchema, FormImportBodySchema, FormImportOptionsSchema, FormImportResultSchema, FormKindSchema, FormMutationMetaSchema, FormRepairResultSchema, FormResetBodySchema, FormResetResultSchema, FormSetValueResultSchema, FormSnapshotSchema, FormSubmissionEntrySchema, FormSubmissionReceiptSchema, FormSubmissionRequestSchema, FormTokenSchema, FormValueEntrySchema, FormValuesImportBodySchema, FormValuesImportOptionsSchema, FormValuesImportResultSchema, FormWidgetDeleteResultSchema, FormWidgetLinkResultSchema, FormWidgetRestoreResultSchema, FormWidgetSchema, FormWidgetUpdateBodySchema, FormWidgetUpdateResultSchema, FormWidgetsReorderBodySchema, FormWidgetsReorderResultSchema, FormWireComponents, FreeTextDTOSchema, FreeTextDraftSchema, FreeTextIntentSchema, FreeTextIntentWriteSchema, FreeTextPatchSchema, HighlightDTOSchema, HighlightDraftSchema, HighlightPatchSchema, IdentitySchema, ImageResourceKeysSchema, InkDTOSchema, InkDraftSchema, InkIntentSchema, InkListSchema, InkPatchSchema, IsoDateTimeSchema, KIND_BY_SUBTYPE, LayerAnalysisQuerySchema, LayerScopesSchema, LayoutTokenSchema, LineCaptionPatchSchema, LineDTOSchema, LineDimensionCaptionSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LineIntentSchema, LineLeaderSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, ModificationLevelSchema, MutationMetaSchema, NamedPageEntrySchema, NoteIconSchema, ObjectNumberRangeSchema, ObjectNumberReservationRequestSchema, ObjectNumberReservationResponseSchema, OpenDocumentResponseSchema, PAGE_RENDER_FAMILIES, PageBoxSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageExtractInputSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageInsertBlankInputSchema, PageInsertInputSchema, PageInsertResultSchema, PageLayoutSchema, PageListSnapshotSchema, PageMeasurementViewportListSchema, PageMeasurementViewportSchema, PageNameInputSchema, PageNameResultSchema, PageNetworkRenderFormatSchema, PagePointSchema, PagePositionSchema, PageQuadSchema, PageRefSchema, PageRemoveNameInputSchema, PageRenderQuerySchemas, PageReorderInputSchema, PageReorderResultSchema, PageRotateInputSchema, PageRotateResultSchema, PageScaleInputSchema, PageScaleResultSchema, PageTextSnapshotSchema, PdfActionNodeSchema, PdfActionTargetRefSchema, PdfActionTreeSchema, PdfActionTypeSchema, PdfActionWireComponents, PdfActionWriteSchema, PdfAnnotationActionsSchema, PdfDestinationSchema, PdfFieldActionsSchema, PdfForeignMeasureSchema, PdfLinkTargetSchema, PdfLinkTargetWritableSchema, PdfMeasureSchema, PdfMeasureWriteSchema, PdfMeasurementSchema, PdfNumberFormatSchema, PdfPageActionsSchema, PdfPointSchema, PdfQuadSchema, PdfRectSchema, PdfRevisionSchema, PdfRotationSchema, PdfSaveModeSchema, PdfSizeSchema, PointSchema, PolygonDTOSchema, PolygonDraftSchema, PolygonIntentSchema, PolygonPatchSchema, PolylineDTOSchema, PolylineDraftSchema, PolylineIntentSchema, PolylinePatchSchema, PopupDTOSchema, PopupDraftSchema, PopupPatchSchema, RectSchema, RedactionApplyResultSchema, RedactionApplyScopeSchema, RenderTokenSchema, ResourceKeySchema, SEARCH_RESULT_FORMAT, SearchMatchSchema, SearchQuerySchema, SearchRequestSchema, SearchSliceSchema, SearchSnippetSchema, SearchTokenSchema, ShapeCaptionPatchSchema, ShapeDimensionCaptionSchema, SignatureAppearanceBodySchema, SignatureCancelResultSchema, SignatureCompleteBodySchema, SignatureCompleteResultSchema, SignatureDTOSchema, SignaturePrepareBodySchema, SignaturePreparedWireSchema, SignatureSeedValueSchema, SignatureSnapshotSchema, SourceResourceKeysSchema, SquareDTOSchema, SquareDraftSchema, SquarePatchSchema, SquigglyDTOSchema, SquigglyDraftSchema, SquigglyPatchSchema, StampDTOSchema, StampDraftSchema, StampFitSchema, StampPatchSchema, StandardFontSchema, StrikeoutDTOSchema, StrikeoutDraftSchema, StrikeoutIntentSchema, StrikeoutPatchSchema, TextAlignmentSchema, TextDTOSchema, TextDraftSchema, TextPatchSchema, ToggleFieldWidgetSchema, UnderlineDTOSchema, UnderlineDraftSchema, UnderlinePatchSchema, UnsupportedDTOSchema, UnsupportedDraftSchema, UnsupportedPatchSchema, VersionAnalysisQuerySchema, VerticalAlignmentSchema, WidgetActionsPatchSchema, WidgetAppearanceSchema, WidgetAppearancesQuerySchema, WidgetAppearancesRenderTokenSchema, WidgetBorderStyleSchema, WidgetCheckStyleSchema, WidgetDTOSchema, WidgetPatchSchema, WidgetPlacementSchema, WireAttachmentFileSchema, analysisQueryString, analyzeInputFromQuery, annotationAppearancesImageOptionsToToken, annotationAppearancesImageOptionsToWire, annotationPatchSchemaOf, annotationRenderOptionsFromImageOptions, applyCdnAccess, cdnCoverageForScope, checkResourceAccess, decodeActionsToken, decodeAnalysisToken, decodeAnnotationAppearancesRenderToken, decodeAnnotationToken, decodeAnnotationsAllToken, decodeAnnotationsExportToken, decodeAttachmentsToken, decodeContentToken, decodeDocToken, decodeDownloadToken, decodeFormExportToken, decodeFormToken, decodeLayoutToken, decodeMetadataToken, decodePrepared, decodeRenderToken, decodeSearchToken, decodeToken, decodeTokenText, decodeWidgetAppearancesRenderToken, encodeActionsToken, encodeAnalysisToken, encodeAnnotationAppearancesRenderToken, encodeAnnotationToken, encodeAnnotationsAllToken, encodeAnnotationsExportToken, encodeAppearanceModes, encodeAttachmentsToken, encodeContentToken, encodeDocToken, encodeDownloadToken, encodeFormExportToken, encodeFormToken, encodeLayoutToken, encodeMetadataToken, encodePrepared, encodeRenderToken, encodeSearchToken, encodeToken, encodeTokenText, encodeWidgetAppearancesRenderToken, flatten, fromBase64, pageRenderFamilyOf, pageRenderOptionsFromImageOptions, renderImageOptionsToToken, renderImageOptionsToWire, resolveResourceIdForPath, toBase64, unflatten, widgetAppearancesImageOptionsToToken, widgetAppearancesImageOptionsToWire, wirePaths, wireTemplates };
2353
+ export { ANNOTATION_KINDS, AccessRequestSchema, AccessResponseSchema, ActionsTokenSchema, AnnotationAppearanceBatchSchema, AnnotationAppearanceExportInputSchema, AnnotationAppearancesQuerySchema, AnnotationAppearancesRenderTokenSchema, AnnotationBorderStyleSchema, AnnotationCreateResultSchema, AnnotationDeleteResultSchema, AnnotationDraftSchema, AnnotationExportSelectionSchema, AnnotationFlattenInputSchema, AnnotationFlattenResultSchema, AnnotationImportBodySchema, AnnotationImportOptionsSchema, AnnotationImportResultSchema, AnnotationListMutationMetaSchema, AnnotationListSchema, AnnotationPatchSchema, AnnotationPositionSchema, AnnotationRefSchema, AnnotationReorderBodySchema, AnnotationReorderResultSchema, AnnotationResourceKeysSchema, AnnotationSchema, AnnotationTokenSchema, AnnotationUpdateResultSchema, AnnotationWireComponents, AnnotationsExportRequestSchema, AppearanceOutcomeSchema, AppearanceResourceKeysSchema, AttachmentCreateResultSchema, AttachmentDeleteResultSchema, AttachmentFileBaseSchema, AttachmentFileInfoSchema, AttachmentListSchema, AttachmentMutationMetaSchema, AttachmentRefSchema, AttachmentRestoreResultSchema, AttachmentSchema, AttachmentWireComponents, BaseVersionInfoSchema, BlendModeSchema, BundleLimitsSchema, ByteRangeSchema, CHANGE_REQUEST_LIMITS, CacheDeltaSchema, CachePinsSchema, CalloutLineSchema, CaretDTOSchema, CaretDraftSchema, CaretIntentSchema, CaretPatchSchema, ChangeAnalysisSchema, ChangeAnswerSchema, ChangeEntryWireSchema, ChangeItemSchema, ChangeOpWireSchema, ChangeRequestSchema, ChangeResponseSchema, ChangeResultSchema, ChangeWireComponents, CircleDTOSchema, CircleDraftSchema, CirclePatchSchema, ColorSchema, ContentTokenSchema, CustomMetadataPatchSchema, CustomMetadataSchema, CustomMetadataUpdateResultSchema, DEFAULT_LAYER_NAME, DOC_RESOURCES, DateInputSchema, DigestAlgorithmSchema, DocTokenSchema, DocumentActionsSnapshotSchema, DocumentHeadSchema, DocumentManifestSchema, DocumentMetadataSchema, DocumentOutlineSchema, DocumentProtectionSchema, DocumentSecurityStateSchema, DocumentVersionRefSchema, DocumentVersionSchema, DocumentVersionsSchema, DocumentWireComponents, DrawnBorderStyleSchema, EditSessionAccessSchema, EditSessionStatusSchema, EngineErrorPayloadSchema, FieldActionsPatchSchema, FieldLockSpecSchema, FieldPositionSchema, FieldScriptWriteSchema, FileAttachmentDTOSchema, FileAttachmentDraftSchema, FileAttachmentIconSchema, FileAttachmentPatchSchema, FileResourceKeysSchema, FileWidgetActionsPatchSchema, FormCalculationsReorderBodySchema, FormCalculationsReorderResultSchema, FormExportRequestSchema, FormExportSelectionSchema, FormFieldCreateResultSchema, FormFieldDTOSchema, FormFieldDeleteResultSchema, FormFieldDraftSchema, FormFieldOptionInputSchema, FormFieldOptionSchema, FormFieldPatchSchema, FormFieldRefSchema, FormFieldUpdateResultSchema, FormFieldValueSchema, FormImportBodySchema, FormImportOptionsSchema, FormImportResultSchema, FormKindSchema, FormMutationMetaSchema, FormRepairResultSchema, FormResetBodySchema, FormResetResultSchema, FormSetValueResultSchema, FormSnapshotSchema, FormSubmissionEntrySchema, FormSubmissionReceiptSchema, FormSubmissionRequestSchema, FormTokenSchema, FormValueEntrySchema, FormValuesImportBodySchema, FormValuesImportOptionsSchema, FormValuesImportResultSchema, FormWidgetDeleteResultSchema, FormWidgetLinkResultSchema, FormWidgetRestoreResultSchema, FormWidgetSchema, FormWidgetUpdateBodySchema, FormWidgetUpdateResultSchema, FormWidgetsReorderBodySchema, FormWidgetsReorderResultSchema, FormWireComponents, FreeTextDTOSchema, FreeTextDraftSchema, FreeTextIntentSchema, FreeTextIntentWriteSchema, FreeTextPatchSchema, HighlightDTOSchema, HighlightDraftSchema, HighlightPatchSchema, IdentitySchema, ImageResourceKeysSchema, InkDTOSchema, InkDraftSchema, InkIntentSchema, InkListSchema, InkPatchSchema, IsoDateTimeSchema, KIND_BY_SUBTYPE, LayerAnalysisQuerySchema, LayerScopesSchema, LayoutTokenSchema, LineCaptionPatchSchema, LineDTOSchema, LineDimensionCaptionSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LineIntentSchema, LineLeaderSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, ModificationLevelSchema, MutationMetaSchema, NamedPageEntrySchema, NoteIconSchema, ObjectNumberRangeSchema, ObjectNumberReservationRequestSchema, ObjectNumberReservationResponseSchema, OpenDocumentResponseSchema, OutlineCreateResultSchema, OutlineDeleteResultSchema, OutlineItemDraftSchema, OutlineItemPatchSchema, OutlineItemRefSchema, OutlineItemSchema, OutlineMoveResultSchema, OutlineMutationMetaSchema, OutlineOrderSchema, OutlinePositionSchema, OutlineRestoreResultSchema, OutlineUpdateResultSchema, OutlineWireComponents, PAGE_PICTURES, PAGE_PRINT_FAMILIES, PAGE_PRINT_TIERS, PAGE_RENDER_FAMILIES, PageBoxSchema, PageBoxesSchema, PageDeleteResultSchema, PageExtractInputSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageInsertBlankSpecSchema, PageInsertResultSchema, PageLayoutSchema, PageListSnapshotSchema, PageMeasurementViewportListSchema, PageMeasurementViewportSchema, PageNameInputSchema, PageNameResultSchema, PageNetworkRenderFormatSchema, PagePointSchema, PagePositionSchema, PagePrintQuerySchemas, PageQuadSchema, PageRefSchema, PageRemoveNameInputSchema, PageRenderQuerySchemas, PageReorderResultSchema, PageRestoreResultSchema, PageRotateResultSchema, PageScaleInputSchema, PageScaleResultSchema, PageTextSnapshotSchema, PdfActionNodeSchema, PdfActionTargetRefSchema, PdfActionTreeSchema, PdfActionTypeSchema, PdfActionWireComponents, PdfActionWriteSchema, PdfAnnotationActionsSchema, PdfDestinationSchema, PdfFieldActionsSchema, PdfForeignMeasureSchema, PdfLinkTargetSchema, PdfLinkTargetWritableSchema, PdfMeasureSchema, PdfMeasureWriteSchema, PdfMeasurementSchema, PdfNumberFormatSchema, PdfPageActionsSchema, PdfPointSchema, PdfQuadSchema, PdfRectSchema, PdfRevisionSchema, PdfRotationSchema, PdfSaveModeSchema, PdfSizeSchema, PointSchema, PolygonDTOSchema, PolygonDraftSchema, PolygonIntentSchema, PolygonPatchSchema, PolylineDTOSchema, PolylineDraftSchema, PolylineIntentSchema, PolylinePatchSchema, PopupDTOSchema, PopupDraftSchema, PopupPatchSchema, RectSchema, RedactionApplyResultSchema, RedactionApplyScopeSchema, RenderTokenSchema, ResourceKeySchema, SEARCH_RESULT_FORMAT, SearchMatchSchema, SearchQuerySchema, SearchRequestSchema, SearchSliceSchema, SearchSnippetSchema, SearchTokenSchema, ShapeCaptionPatchSchema, ShapeDimensionCaptionSchema, SignatureAppearanceBodySchema, SignatureCancelResultSchema, SignatureCompleteBodySchema, SignatureCompleteResultSchema, SignatureDTOSchema, SignaturePrepareBodySchema, SignaturePreparedWireSchema, SignatureSeedValueSchema, SignatureSnapshotSchema, SourceResourceKeysSchema, SquareDTOSchema, SquareDraftSchema, SquarePatchSchema, SquigglyDTOSchema, SquigglyDraftSchema, SquigglyPatchSchema, StampDTOSchema, StampDraftSchema, StampFitSchema, StampPatchSchema, StandardFontSchema, StrikeoutDTOSchema, StrikeoutDraftSchema, StrikeoutIntentSchema, StrikeoutPatchSchema, TextAlignmentSchema, TextDTOSchema, TextDraftSchema, TextPatchSchema, ToggleFieldWidgetSchema, UnderlineDTOSchema, UnderlineDraftSchema, UnderlinePatchSchema, UnsupportedDTOSchema, UnsupportedDraftSchema, UnsupportedPatchSchema, VersionAnalysisQuerySchema, VerticalAlignmentSchema, WidgetActionsPatchSchema, WidgetAppearanceSchema, WidgetAppearancesQuerySchema, WidgetAppearancesRenderTokenSchema, WidgetBorderStyleSchema, WidgetCheckStyleSchema, WidgetDTOSchema, WidgetPatchSchema, WidgetPlacementSchema, WireAttachmentFileSchema, analysisQueryString, analyzeInputFromQuery, annotationAppearancesImageOptionsToToken, annotationAppearancesImageOptionsToWire, annotationPatchSchemaOf, annotationRenderOptionsFromImageOptions, applyCdnAccess, cdnCoverageForScope, checkResourceAccess, decodeActionsToken, decodeAnalysisToken, decodeAnnotationAppearancesRenderToken, decodeAnnotationToken, decodeAnnotationsAllToken, decodeAnnotationsExportToken, decodeAttachmentsToken, decodeContentToken, decodeDocToken, decodeDownloadToken, decodeFormExportToken, decodeFormToken, decodeLayoutToken, decodeMetadataToken, decodeOutlineToken, decodePrepared, decodeRenderToken, decodeSearchToken, decodeToken, decodeTokenText, decodeWidgetAppearancesRenderToken, encodeActionsToken, encodeAnalysisToken, encodeAnnotationAppearancesRenderToken, encodeAnnotationToken, encodeAnnotationsAllToken, encodeAnnotationsExportToken, encodeAppearanceModes, encodeAttachmentsToken, encodeContentToken, encodeDocToken, encodeDownloadToken, encodeFormExportToken, encodeFormToken, encodeLayoutToken, encodeMetadataToken, encodeOutlineToken, encodePrepared, encodeRenderToken, encodeSearchToken, encodeToken, encodeTokenText, encodeWidgetAppearancesRenderToken, flatten, fromBase64, pagePictureOf, pagePictureQuerySchema, pagePrintTierOf, pageRenderFamilyOf, pageRenderOptionsFromImageOptions, renderImageOptionsToToken, renderImageOptionsToWire, resolveResourceIdForPath, toBase64, unflatten, widgetAppearancesImageOptionsToToken, widgetAppearancesImageOptionsToWire, wirePaths, wireTemplates };
2209
2354
 
2210
2355
  //# sourceMappingURL=wire.js.map