@embedpdf/engine-core 3.0.0-next.13 → 3.0.0-next.14

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 (58) hide show
  1. package/dist/{AbortError-DHqPBnYc.js → AbortError-DwuHPK_I.js} +2 -2
  2. package/dist/{AbortError-DHqPBnYc.js.map → AbortError-DwuHPK_I.js.map} +1 -1
  3. package/dist/{AbortError-Cq2igpZ6.cjs → AbortError-P0RU0Mgg.cjs} +4 -4
  4. package/dist/{AbortError-Cq2igpZ6.cjs.map → AbortError-P0RU0Mgg.cjs.map} +1 -1
  5. package/dist/{AnnotationListSnapshot-D3mFut1e.d.cts → AnnotationListSnapshot-D9R5n2Kf.d.cts} +237 -7
  6. package/dist/{AnnotationListSnapshot-D3mFut1e.d.ts → AnnotationListSnapshot-D9R5n2Kf.d.ts} +237 -7
  7. package/dist/{DocumentSecurityService-ClTZc0zO.d.cts → DocumentSecurityService-CIx1MT0T.d.cts} +2 -2
  8. package/dist/{DocumentSecurityService-_JRjqvoI.d.ts → DocumentSecurityService-Ca6EK3-3.d.ts} +2 -2
  9. package/dist/{Engine-Bx0NOfmd.d.cts → Engine-EWWHhEIi.d.ts} +17 -4
  10. package/dist/{Engine-DxtpCYcP.d.ts → Engine-FNaAEjfb.d.cts} +17 -4
  11. package/dist/conformance.cjs +382 -95
  12. package/dist/conformance.cjs.map +1 -1
  13. package/dist/conformance.d.cts +7 -3
  14. package/dist/conformance.d.ts +7 -3
  15. package/dist/conformance.js +302 -16
  16. package/dist/conformance.js.map +1 -1
  17. package/dist/derive-BbsDk_Kz.cjs +880 -0
  18. package/dist/derive-BbsDk_Kz.cjs.map +1 -0
  19. package/dist/derive-DAFJolWu.js +647 -0
  20. package/dist/derive-DAFJolWu.js.map +1 -0
  21. package/dist/{PageInsertBlankInput-cHq9-i-z.js → format-Bbphf4zR.js} +59 -2
  22. package/dist/format-Bbphf4zR.js.map +1 -0
  23. package/dist/{PageInsertBlankInput-CqXBmFhN.cjs → format-D_epWlob.cjs} +70 -1
  24. package/dist/format-D_epWlob.cjs.map +1 -0
  25. package/dist/index.cjs +127 -107
  26. package/dist/index.d.cts +2 -2
  27. package/dist/index.d.ts +2 -2
  28. package/dist/index.js +4 -4
  29. package/dist/runtime.cjs +137 -117
  30. package/dist/runtime.cjs.map +1 -1
  31. package/dist/runtime.d.cts +29 -5
  32. package/dist/runtime.d.ts +29 -5
  33. package/dist/runtime.js +5 -5
  34. package/dist/{schemas-BLARNCgx.js → schemas-CFQGvWiu.js} +134 -4
  35. package/dist/schemas-CFQGvWiu.js.map +1 -0
  36. package/dist/{schemas-DIqFMmrC.cjs → schemas-D0g6tKa9.cjs} +250 -24
  37. package/dist/schemas-D0g6tKa9.cjs.map +1 -0
  38. package/dist/{builders-Bqm8yTpi.cjs → viewport-BWeNHZmb.cjs} +71 -132
  39. package/dist/viewport-BWeNHZmb.cjs.map +1 -0
  40. package/dist/{builders-Dqo2X-dt.js → viewport-CvMcadfQ.js} +39 -88
  41. package/dist/viewport-CvMcadfQ.js.map +1 -0
  42. package/dist/wire.cjs +25 -2
  43. package/dist/wire.cjs.map +1 -1
  44. package/dist/wire.d.cts +2739 -8
  45. package/dist/wire.d.ts +2739 -8
  46. package/dist/wire.js +10 -3
  47. package/dist/wire.js.map +1 -1
  48. package/package.json +1 -1
  49. package/dist/PageInsertBlankInput-CqXBmFhN.cjs.map +0 -1
  50. package/dist/PageInsertBlankInput-cHq9-i-z.js.map +0 -1
  51. package/dist/builders-Bqm8yTpi.cjs.map +0 -1
  52. package/dist/builders-Dqo2X-dt.js.map +0 -1
  53. package/dist/fold-2V29cxCV.cjs +0 -447
  54. package/dist/fold-2V29cxCV.cjs.map +0 -1
  55. package/dist/fold-CdEJTBTn.js +0 -334
  56. package/dist/fold-CdEJTBTn.js.map +0 -1
  57. package/dist/schemas-BLARNCgx.js.map +0 -1
  58. package/dist/schemas-DIqFMmrC.cjs.map +0 -1
package/dist/wire.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as checkCapability, t as checkAnyCapability } from "./resolver-inAVzsWt.js";
2
- import { $ as PageBoxesSchema, $n as LineDTOSchema, $r as PdfAnnotationActionsSchema, $t as FormFieldDTOSchema, A as DocumentVersionRefSchema, An as StrikeoutDraftSchema, Ar as AnnotationPatchBaseShape, At as SearchModeSchema, B as FormImportResultSchema, Bn as SquareDraftSchema, Br as PdfRectDifferencesSchema, Bt as SignaturePrepareBodySchema, C as ChangeAnalysisSchema, Cn as UnderlineDraftSchema, Cr as CaretDraftSchema, Ct as PageTextSnapshotSchema, D as DocumentMetadataSchema, Dn as TextDraftSchema, Dr as AnnotationDraftBaseShape, Dt as RedactionApplyScopeSchema, E as DocumentManifestSchema, En as TextDTOSchema, Er as AnnotationBorderStyleSchema, Et as RedactionApplyResultSchema, F as FormEffectSchema, Fn as StampWirePatchSchema, Fr as ColorSchema, Ft as SignatureAbortResultSchema, G as LayerScopesSchema, Gn as PolygonDTOSchema, Gr as StrikeoutIntentSchema, Gt as WeakAnnotationSessionPagesRequestSchema, H as FormSetValueResultSchema, Hn as PolylineDTOSchema, Hr as RectSchema, Ht as SignatureSeedValueSchema, I as FormEffectsResultSchema, In as SquigglyDTOSchema, Ir as FreeTextIntentSchema, It as SignatureAppearanceBodySchema, J as MetadataUpdateResultSchema, Jn as LinkDTOSchema, Jr as PdfActionNodeSchema, Jt as decodePrepared, K as ManifestPageSchema, Kn as PolygonDraftSchema, Kr as TextAlignmentSchema, Kt as WeakAnnotationSessionResponseSchema, L as FormFieldCreateResultSchema, Ln as SquigglyDraftSchema, Lr as InkIntentSchema, Lt as SignatureCompleteBodySchema, M as DocumentVersionsSchema, Mn as ResourceRefSchema, Mr as AnnotationStableIdSchema, Mt as SearchRequestSchema, N as EngineErrorPayloadSchema, Nn as StampDTOSchema, Nr as BlendModeSchema, Nt as SearchSliceSchema, O as DocumentProtectionSchema, On as TextPatchSchema, Or as AnnotationFlagsPartialSchema, Ot as RefetchReasonSchema, P as FieldLockSpecSchema, Pn as StampWireDraftSchema, Pr as CaretIntentSchema, Pt as SearchSnippetSchema, Q as OpenDocumentResponseSchema, Qn as PdfLinkTargetWritableSchema, Qr as PdfActionWireComponents, Qt as FormDataFormatSchema, R as FormFieldDeleteResultSchema, Rn as SquigglyPatchSchema, Rr as LineEndingSchema, Rt as SignatureCompleteResultSchema, S as CachePinsSchema, Sn as UnderlineDTOSchema, Sr as CaretDTOSchema, St as PageStructureCacheSchema, T as DocumentHeadSchema, Tn as NoteIconSchema, Tr as AnnotationBaseShape, Tt as PdfSaveModeSchema, U as FormWidgetLinkResultSchema, Un as PolylineDraftSchema, Ur as RevisionTokenSchema, Ut as SignatureSnapshotSchema, V as FormRepairResultSchema, Vn as SquarePatchSchema, Vr as PointSchema, Vt as SignaturePreparedWireSchema, W as LayerAnalysisQuerySchema, Wn as PolylinePatchSchema, Wr as StandardFontSchema, Wt as VersionAnalysisQuerySchema, X as MutationMetaSchema, Xn as LinkPatchSchema, Xr as PdfActionTreeSchema, Xt as fromBase64, Y as ModificationLevelSchema, Yn as LinkDraftSchema, Yr as PdfActionTargetRefSchema, Yt as encodePrepared, Z as NamedPageEntrySchema, Zn as PdfLinkTargetSchema, Zr as PdfActionTypeSchema, Zt as toBase64, _ as AttachmentDeleteResultSchema, _n as KIND_BY_SUBTYPE, _r as EmbeddedFileItemSchema, _t as PageRenderAnnotatedQuerySchema, a as AnnotationAppearancesQuerySchema, ai as LinePointsSchema, an as FormFieldRefSchema, ar as HighlightDTOSchema, at as PageGeometrySnapshotSchema, b as ByteRangeSchema, bn as UnsupportedDraftSchema, br as CircleDraftSchema, bt as PageRotateResultSchema, c as AnnotationFlattenInputSchema, ci as PdfRectSchema, cn as FormSnapshotSchema, cr as FreeTextDTOSchema, ct as PageInsertResultSchema, d as AnnotationListPageSnapshotSchema, dn as ToggleFieldWidgetSchema, dr as FileAttachmentDTOSchema, dt as PageMoveInputSchema, ei as PdfFieldActionsSchema, en as FormFieldDraftSchema, er as LineDraftSchema, et as PageDeleteInputSchema, f as AnnotationListSnapshotAllPagesSchema, fn as WidgetPlacementSchema, fr as FileAttachmentIconSchema, ft as PageMoveResultSchema, g as AttachmentCreateResultSchema, gn as AnnotationPatchSchema, gr as AttachmentFileInfoSchema, gt as PageRemoveNameInputSchema, h as AppearanceOutcomeSchema, hn as AnnotationDraftSchema, hr as WireAttachmentFileSchema, ht as PageNetworkRenderFormatSchema, i as AnnotationAppearanceManifestSchema, ii as InkListSchema, in as FormFieldPatchSchema, ir as InkPatchSchema, it as PageFlattenResultSchema, j as DocumentVersionSchema, jn as StrikeoutPatchSchema, jr as AnnotationRefSchema, jt as SearchQuerySchema, k as DocumentSecurityStateSchema, kn as StrikeoutDTOSchema, kr as AnnotationFlagsSchema, kt as SearchMatchSchema, l as AnnotationFlattenResultSchema, li as PdfRotationSchema, ln as FormValueEntrySchema, lr as FreeTextDraftSchema, lt as PageLayoutSchema, m as AnnotationUpdateResultSchema, mn as AnnotationDTOSchema, mr as FileAttachmentWireDraftSchema, mt as PageNameResultSchema, n as AccessResponseSchema, ni as PdfDestinationSchema, nn as FormFieldOptionInputSchema, nr as InkDTOSchema, nt as PageExtractInputSchema, o as AnnotationCreateResultSchema, oi as PdfPointSchema, on as FormFieldValueSchema, or as HighlightDraftSchema, ot as PageInsertBlankInputSchema, p as AnnotationMoveResultSchema, pn as ANNOTATION_KINDS, pr as FileAttachmentPatchSchema, pt as PageNameInputSchema, q as MetadataPatchSchema, qn as PolygonPatchSchema, qr as DocumentActionsSnapshotSchema, qt as analyzeInputFromQuery, r as AnnotationAppearanceExportInputSchema, ri as CalloutLineSchema, rn as FormFieldOptionSchema, rr as InkDraftSchema, rt as PageFlattenInputSchema, s as AnnotationDeleteResultSchema, si as PdfQuadSchema, sn as FormKindSchema, sr as HighlightPatchSchema, st as PageInsertInputSchema, t as AccessRequestSchema, ti as PdfPageActionsSchema, tn as FormFieldFlagsSchema, tr as LinePatchSchema, tt as PageDeleteResultSchema, u as AnnotationListMutationMetaSchema, ui as PdfSizeSchema, un as FormWidgetRefSchema, ur as FreeTextPatchSchema, ut as PageListSnapshotSchema, v as AttachmentsCacheSchema, vn as WidgetAppearanceSchema, vr as EmbeddedFileRefSchema, vt as PageRenderQuerySchema, w as DigestAlgorithmSchema, wn as UnderlinePatchSchema, wr as CaretPatchSchema, wt as PdfRevisionSchema, x as CacheDeltaSchema, xn as UnsupportedPatchSchema, xr as CirclePatchSchema, xt as PageStateSchema, y as BaseVersionInfoSchema, yn as UnsupportedDTOSchema, yr as CircleDTOSchema, yt as PageRotateInputSchema, z as FormFieldUpdateResultSchema, zn as SquareDTOSchema, zr as LineEndingsSchema, zt as SignatureDTOSchema } from "./schemas-BLARNCgx.js";
2
+ import { $ as PageBoxesSchema, $n as PdfLinkTargetWritableSchema, $r as InkIntentSchema, $t as FormDataFormatSchema, A as DocumentVersionRefSchema, An as StrikeoutDTOSchema, Ar as FileAttachmentWireDraftSchema, At as SearchMatchSchema, B as FormImportResultSchema, Bn as SquareDTOSchema, Br as CaretPatchSchema, Bt as SignatureDTOSchema, C as ChangeAnalysisSchema, Ci as PdfQuadSchema, Cn as UnderlineDTOSchema, Cr as HighlightPatchSchema, Ct as PageStructureCacheSchema, D as DocumentMetadataSchema, Dn as TextDTOSchema, Dr as FileAttachmentDTOSchema, Dt as RedactionApplyResultSchema, E as DocumentManifestSchema, Ei as PdfSizeSchema, En as NoteIconSchema, Er as FreeTextPatchSchema, Et as PdfSaveModeSchema, F as FormEffectSchema, Fn as StampWireDraftSchema, Fr as CircleDTOSchema, Ft as SearchSnippetSchema, G as LayerScopesSchema, Gn as PolylinePatchSchema, Gr as AnnotationFlagsSchema, Gt as VersionAnalysisQuerySchema, H as FormSetValueResultSchema, Hn as SquarePatchSchema, Hr as AnnotationBorderStyleSchema, Ht as SignaturePreparedWireSchema, I as FormEffectsResultSchema, In as StampWirePatchSchema, Ir as CircleDraftSchema, It as SignatureAbortResultSchema, J as MetadataUpdateResultSchema, Jn as PolygonPatchSchema, Jr as AnnotationStableIdSchema, Jt as analyzeInputFromQuery, K as ManifestPageSchema, Kn as PolygonDTOSchema, Kr as AnnotationPatchBaseShape, Kt as WeakAnnotationSessionPagesRequestSchema, L as FormFieldCreateResultSchema, Ln as SquigglyDTOSchema, Lr as CirclePatchSchema, Lt as SignatureAppearanceBodySchema, M as DocumentVersionsSchema, Mn as StrikeoutPatchSchema, Mr as AttachmentFileInfoSchema, Mt as SearchQuerySchema, N as EngineErrorPayloadSchema, Nn as ResourceRefSchema, Nr as EmbeddedFileItemSchema, Nt as SearchRequestSchema, O as DocumentProtectionSchema, On as TextDraftSchema, Or as FileAttachmentIconSchema, Ot as RedactionApplyScopeSchema, P as FieldLockSpecSchema, Pn as StampDTOSchema, Pr as EmbeddedFileRefSchema, Pt as SearchSliceSchema, Q as OpenDocumentResponseSchema, Qn as PdfLinkTargetSchema, Qr as FreeTextIntentSchema, Qt as toBase64, R as FormFieldDeleteResultSchema, Rn as SquigglyDraftSchema, Rr as CaretDTOSchema, Rt as SignatureCompleteBodySchema, S as CachePinsSchema, Si as PdfPointSchema, Sn as UnsupportedPatchSchema, Sr as HighlightDraftSchema, St as PageStateSchema, T as DocumentHeadSchema, Ti as PdfRotationSchema, Tn as UnderlinePatchSchema, Tr as FreeTextDraftSchema, Tt as PdfRevisionSchema, U as FormWidgetLinkResultSchema, Un as PolylineDTOSchema, Ur as AnnotationDraftBaseShape, Ut as SignatureSeedValueSchema, V as FormRepairResultSchema, Vn as SquareDraftSchema, Vr as AnnotationBaseShape, Vt as SignaturePrepareBodySchema, W as LayerAnalysisQuerySchema, Wn as PolylineDraftSchema, Wr as AnnotationFlagsPartialSchema, Wt as SignatureSnapshotSchema, X as MutationMetaSchema, Xn as LinkDraftSchema, Xr as CaretIntentSchema, Xt as encodePrepared, Y as ModificationLevelSchema, Yn as LinkDTOSchema, Yr as BlendModeSchema, Yt as decodePrepared, Z as NamedPageEntrySchema, Zn as LinkPatchSchema, Zr as ColorSchema, Zt as fromBase64, _ as AttachmentDeleteResultSchema, _i as PdfPageActionsSchema, _n as AnnotationPatchSchema, _r as ShapeDimensionCaptionSchema, _t as PageRenderAnnotatedQuerySchema, a as AnnotationAppearancesQuerySchema, ai as RevisionTokenSchema, an as FormFieldPatchSchema, ar as LineIntentSchema, at as PageGeometrySnapshotSchema, b as ByteRangeSchema, bi as InkListSchema, bn as UnsupportedDTOSchema, br as InkPatchSchema, bt as PageRotateResultSchema, c as AnnotationFlattenInputSchema, ci as TextAlignmentSchema, cn as FormKindSchema, cr as PageScaleInputSchema, ct as PageInsertResultSchema, d as AnnotationListPageSnapshotSchema, di as PdfActionTargetRefSchema, dn as FormWidgetRefSchema, dr as PdfMeasureWriteSchema, dt as PageMoveInputSchema, ei as LineEndingSchema, en as FormFieldDTOSchema, er as LineDTOSchema, et as PageDeleteInputSchema, f as AnnotationListSnapshotAllPagesSchema, fi as PdfActionTreeSchema, fn as ToggleFieldWidgetSchema, fr as PdfMeasurementSchema, ft as PageMoveResultSchema, g as AttachmentCreateResultSchema, gi as PdfFieldActionsSchema, gn as AnnotationDraftSchema, gr as ShapeCaptionPatchSchema, gt as PageRemoveNameInputSchema, h as AppearanceOutcomeSchema, hi as PdfAnnotationActionsSchema, hn as AnnotationDTOSchema, hr as PolylineIntentSchema, ht as PageNetworkRenderFormatSchema, i as AnnotationAppearanceManifestSchema, ii as RectSchema, in as FormFieldOptionSchema, ir as LineDimensionCaptionSchema, it as PageFlattenResultSchema, j as DocumentVersionSchema, jn as StrikeoutDraftSchema, jr as WireAttachmentFileSchema, jt as SearchModeSchema, k as DocumentSecurityStateSchema, kn as TextPatchSchema, kr as FileAttachmentPatchSchema, kt as RefetchReasonSchema, l as AnnotationFlattenResultSchema, li as DocumentActionsSnapshotSchema, ln as FormSnapshotSchema, lr as PdfForeignMeasureSchema, lt as PageLayoutSchema, m as AnnotationUpdateResultSchema, mi as PdfActionWireComponents, mn as ANNOTATION_KINDS, mr as PolygonIntentSchema, mt as PageNameResultSchema, n as AccessResponseSchema, ni as PdfRectDifferencesSchema, nn as FormFieldFlagsSchema, nr as LinePatchSchema, nt as PageExtractInputSchema, o as AnnotationCreateResultSchema, oi as StandardFontSchema, on as FormFieldRefSchema, or as LineLeaderSchema, ot as PageInsertBlankInputSchema, p as AnnotationMoveResultSchema, pi as PdfActionTypeSchema, pn as WidgetPlacementSchema, pr as PdfNumberFormatSchema, pt as PageNameInputSchema, q as MetadataPatchSchema, qn as PolygonDraftSchema, qr as AnnotationRefSchema, qt as WeakAnnotationSessionResponseSchema, r as AnnotationAppearanceExportInputSchema, ri as PointSchema, rn as FormFieldOptionInputSchema, rr as LineCaptionPatchSchema, rt as PageFlattenInputSchema, s as AnnotationDeleteResultSchema, si as StrikeoutIntentSchema, sn as FormFieldValueSchema, sr as PageMeasurementViewportSchema, st as PageInsertInputSchema, t as AccessRequestSchema, ti as LineEndingsSchema, tn as FormFieldDraftSchema, tr as LineDraftSchema, tt as PageDeleteResultSchema, u as AnnotationListMutationMetaSchema, ui as PdfActionNodeSchema, un as FormValueEntrySchema, ur as PdfMeasureSchema, ut as PageListSnapshotSchema, v as AttachmentsCacheSchema, vi as PdfDestinationSchema, vn as KIND_BY_SUBTYPE, vr as InkDTOSchema, vt as PageRenderQuerySchema, w as DigestAlgorithmSchema, wi as PdfRectSchema, wn as UnderlineDraftSchema, wr as FreeTextDTOSchema, wt as PageTextSnapshotSchema, x as CacheDeltaSchema, xi as LinePointsSchema, xn as UnsupportedDraftSchema, xr as HighlightDTOSchema, xt as PageScaleResultSchema, y as BaseVersionInfoSchema, yi as CalloutLineSchema, yn as WidgetAppearanceSchema, yr as InkDraftSchema, yt as PageRotateInputSchema, z as FormFieldUpdateResultSchema, zn as SquigglyPatchSchema, zr as CaretDraftSchema, zt as SignatureCompleteResultSchema } from "./schemas-CFQGvWiu.js";
3
3
  import { z } from "zod";
4
4
  //#region src/forms/submission.ts
5
5
  const FormSubmissionEntrySchema = z.object({
@@ -180,6 +180,7 @@ const SearchTokenSchema = {
180
180
  fields: [
181
181
  "epoch",
182
182
  "format",
183
+ "ignoreWhitespace",
183
184
  "matchCase",
184
185
  "matchDiacritics",
185
186
  "maxMatches",
@@ -322,6 +323,7 @@ const encodeSearchToken = (input) => {
322
323
  matchCase: q.matchCase ? true : void 0,
323
324
  matchDiacritics: q.matchDiacritics ? true : void 0,
324
325
  wholeWord: q.wholeWord ? true : void 0,
326
+ ignoreWhitespace: q.ignoreWhitespace ? true : void 0,
325
327
  startPage: input.startPage,
326
328
  skip: input.skip > 0 ? input.skip : void 0,
327
329
  maxPages: input.budget?.maxPages,
@@ -338,7 +340,8 @@ const decodeSearchToken = (raw) => {
338
340
  ...t.regex === "true" ? { regex: true } : {},
339
341
  ...t.matchCase === "true" ? { matchCase: true } : {},
340
342
  ...t.matchDiacritics === "true" ? { matchDiacritics: true } : {},
341
- ...t.wholeWord === "true" ? { wholeWord: true } : {}
343
+ ...t.wholeWord === "true" ? { wholeWord: true } : {},
344
+ ...t.ignoreWhitespace === "true" ? { ignoreWhitespace: true } : {}
342
345
  };
343
346
  const maxPages = t.maxPages === void 0 ? void 0 : decodePositiveInteger(t.maxPages, "maxPages");
344
347
  const maxMatches = t.maxMatches === void 0 ? void 0 : decodePositiveInteger(t.maxMatches, "maxMatches");
@@ -720,6 +723,8 @@ const wirePaths = {
720
723
  */
721
724
  layerSearchRectsCurrent: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/search/rects/data`,
722
725
  layerSearchFullCurrent: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/search/full/data`,
726
+ layerPageViewports: (docId, layerName, pon) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/${pon}/viewports`,
727
+ layerPageScale: (docId, layerName, pon) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/${pon}/scale`,
723
728
  layerPagesMove: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/move`,
724
729
  layerPagesRotate: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/rotate`,
725
730
  layerPagesDelete: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/delete`,
@@ -788,6 +793,8 @@ const wireTemplates = {
788
793
  layerFormFieldReset: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/reset",
789
794
  layerFormFieldSignatureAppearance: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/signature-appearance",
790
795
  layerFormData: "/v1/docs/:docId/layers/:layerName/form/data",
796
+ layerPageViewports: "/v1/docs/:docId/layers/:layerName/pages/:pon/viewports",
797
+ layerPageScale: "/v1/docs/:docId/layers/:layerName/pages/:pon/scale",
791
798
  layerPagesMove: "/v1/docs/:docId/layers/:layerName/pages/move",
792
799
  layerPagesRotate: "/v1/docs/:docId/layers/:layerName/pages/rotate",
793
800
  layerPagesDelete: "/v1/docs/:docId/layers/:layerName/pages/delete",
@@ -1619,6 +1626,6 @@ function annotationRenderOptionsFromImageOptions(options) {
1619
1626
  };
1620
1627
  }
1621
1628
  //#endregion
1622
- export { ANNOTATION_KINDS, AccessRequestSchema, AccessResponseSchema, ActionsTokenSchema, AnnotationAppearanceExportInputSchema, AnnotationAppearanceManifestSchema, AnnotationAppearancesQuerySchema, AnnotationAppearancesRenderTokenSchema, AnnotationBaseShape, AnnotationBorderStyleSchema, AnnotationCreateResultSchema, AnnotationDTOSchema, AnnotationDeleteResultSchema, AnnotationDraftBaseShape, AnnotationDraftSchema, AnnotationFlagsPartialSchema, AnnotationFlagsSchema, AnnotationFlattenInputSchema, AnnotationFlattenResultSchema, AnnotationListMutationMetaSchema, AnnotationListPageSnapshotSchema, AnnotationListSnapshotAllPagesSchema, AnnotationMoveResultSchema, AnnotationPatchBaseShape, AnnotationPatchSchema, AnnotationRefSchema, AnnotationStableIdSchema, AnnotationTokenSchema, AnnotationUpdateResultSchema, AppearanceOutcomeSchema, AttachmentCreateResultSchema, AttachmentDeleteResultSchema, AttachmentFileInfoSchema, AttachmentsCacheSchema, BaseVersionInfoSchema, BlendModeSchema, ByteRangeSchema, CacheDeltaSchema, CachePinsSchema, CalloutLineSchema, CaretDTOSchema, CaretDraftSchema, CaretIntentSchema, CaretPatchSchema, ChangeAnalysisSchema, CircleDTOSchema, CircleDraftSchema, CirclePatchSchema, ColorSchema, ContentTokenSchema, DEFAULT_LAYER_NAME, DOC_RESOURCES, DigestAlgorithmSchema, DocTokenSchema, DocumentActionsSnapshotSchema, DocumentHeadSchema, DocumentManifestSchema, DocumentMetadataSchema, DocumentProtectionSchema, DocumentSecurityStateSchema, DocumentVersionRefSchema, DocumentVersionSchema, DocumentVersionsSchema, EmbeddedFileItemSchema, EmbeddedFileRefSchema, EngineErrorPayloadSchema, FieldLockSpecSchema, FileAttachmentDTOSchema, FileAttachmentIconSchema, FileAttachmentPatchSchema, FileAttachmentWireDraftSchema, FormDataFormatSchema, FormEffectSchema, FormEffectsResultSchema, FormFieldCreateResultSchema, FormFieldDTOSchema, FormFieldDeleteResultSchema, FormFieldDraftSchema, FormFieldFlagsSchema, FormFieldOptionInputSchema, FormFieldOptionSchema, FormFieldPatchSchema, FormFieldRefSchema, FormFieldUpdateResultSchema, FormFieldValueSchema, FormImportResultSchema, FormKindSchema, FormRepairResultSchema, FormSetValueResultSchema, FormSnapshotSchema, FormSubmissionEntrySchema, FormSubmissionReceiptSchema, FormSubmissionRequestSchema, FormValueEntrySchema, FormWidgetLinkResultSchema, FormWidgetRefSchema, FreeTextDTOSchema, FreeTextDraftSchema, FreeTextIntentSchema, FreeTextPatchSchema, HighlightDTOSchema, HighlightDraftSchema, HighlightPatchSchema, InkDTOSchema, InkDraftSchema, InkIntentSchema, InkListSchema, InkPatchSchema, KIND_BY_SUBTYPE, LayerAnalysisQuerySchema, LayerScopesSchema, LayoutTokenSchema, LineDTOSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, ModificationLevelSchema, MutationMetaSchema, NamedPageEntrySchema, NoteIconSchema, OpenDocumentResponseSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageExtractInputSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageInsertBlankInputSchema, PageInsertInputSchema, PageInsertResultSchema, PageLayoutSchema, PageListSnapshotSchema, PageMoveInputSchema, PageMoveResultSchema, PageNameInputSchema, PageNameResultSchema, PageNetworkRenderFormatSchema, PageRemoveNameInputSchema, PageRenderAnnotatedQuerySchema, PageRenderQuerySchema, PageRotateInputSchema, PageRotateResultSchema, PageStateSchema, PageStructureCacheSchema, PageTextSnapshotSchema, PdfActionNodeSchema, PdfActionTargetRefSchema, PdfActionTreeSchema, PdfActionTypeSchema, PdfActionWireComponents, PdfAnnotationActionsSchema, PdfDestinationSchema, PdfFieldActionsSchema, PdfLinkTargetSchema, PdfLinkTargetWritableSchema, PdfPageActionsSchema, PdfPointSchema, PdfQuadSchema, PdfRectDifferencesSchema, PdfRectSchema, PdfRevisionSchema, 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, SignatureAbortResultSchema, SignatureAppearanceBodySchema, SignatureCompleteBodySchema, SignatureCompleteResultSchema, SignatureDTOSchema, SignaturePrepareBodySchema, SignaturePreparedWireSchema, SignatureSeedValueSchema, SignatureSnapshotSchema, 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, VersionAnalysisQuerySchema, WeakAnnotationSessionPagesRequestSchema, WeakAnnotationSessionResponseSchema, WidgetAppearanceSchema, WidgetPlacementSchema, WireAttachmentFileSchema, analysisQueryString, analyzeInputFromQuery, annotationAppearancesImageOptionsToToken, annotationAppearancesImageOptionsToWire, annotationRenderOptionsFromImageOptions, applyCdnAccess, cdnCoverageForScope, checkResourceAccess, decodeActionsToken, decodeAnalysisToken, decodeAnnotationAppearancesRenderToken, decodeAnnotationToken, decodeAnnotationsAllToken, decodeAttachmentsToken, decodeContentToken, decodeDocToken, decodeDownloadToken, decodeLayoutToken, decodeMetadataToken, decodePrepared, decodeRenderToken, decodeSearchToken, decodeToken, decodeTokenText, encodeActionsToken, encodeAnalysisToken, encodeAnnotationAppearancesRenderToken, encodeAnnotationToken, encodeAnnotationsAllToken, encodeAttachmentsToken, encodeContentToken, encodeDocToken, encodeDownloadToken, encodeLayoutToken, encodeMetadataToken, encodePrepared, encodeRenderToken, encodeSearchToken, encodeToken, encodeTokenText, flatten, fromBase64, pageRenderOptionsFromImageOptions, renderImageOptionsToToken, renderImageOptionsToWire, resolveResourceIdForPath, toBase64, unflatten, wirePaths, wireTemplates };
1629
+ export { ANNOTATION_KINDS, AccessRequestSchema, AccessResponseSchema, ActionsTokenSchema, AnnotationAppearanceExportInputSchema, AnnotationAppearanceManifestSchema, AnnotationAppearancesQuerySchema, AnnotationAppearancesRenderTokenSchema, AnnotationBaseShape, AnnotationBorderStyleSchema, AnnotationCreateResultSchema, AnnotationDTOSchema, AnnotationDeleteResultSchema, AnnotationDraftBaseShape, AnnotationDraftSchema, AnnotationFlagsPartialSchema, AnnotationFlagsSchema, AnnotationFlattenInputSchema, AnnotationFlattenResultSchema, AnnotationListMutationMetaSchema, AnnotationListPageSnapshotSchema, AnnotationListSnapshotAllPagesSchema, AnnotationMoveResultSchema, AnnotationPatchBaseShape, AnnotationPatchSchema, AnnotationRefSchema, AnnotationStableIdSchema, AnnotationTokenSchema, AnnotationUpdateResultSchema, AppearanceOutcomeSchema, AttachmentCreateResultSchema, AttachmentDeleteResultSchema, AttachmentFileInfoSchema, AttachmentsCacheSchema, BaseVersionInfoSchema, BlendModeSchema, ByteRangeSchema, CacheDeltaSchema, CachePinsSchema, CalloutLineSchema, CaretDTOSchema, CaretDraftSchema, CaretIntentSchema, CaretPatchSchema, ChangeAnalysisSchema, CircleDTOSchema, CircleDraftSchema, CirclePatchSchema, ColorSchema, ContentTokenSchema, DEFAULT_LAYER_NAME, DOC_RESOURCES, DigestAlgorithmSchema, DocTokenSchema, DocumentActionsSnapshotSchema, DocumentHeadSchema, DocumentManifestSchema, DocumentMetadataSchema, DocumentProtectionSchema, DocumentSecurityStateSchema, DocumentVersionRefSchema, DocumentVersionSchema, DocumentVersionsSchema, EmbeddedFileItemSchema, EmbeddedFileRefSchema, EngineErrorPayloadSchema, FieldLockSpecSchema, FileAttachmentDTOSchema, FileAttachmentIconSchema, FileAttachmentPatchSchema, FileAttachmentWireDraftSchema, FormDataFormatSchema, FormEffectSchema, FormEffectsResultSchema, FormFieldCreateResultSchema, FormFieldDTOSchema, FormFieldDeleteResultSchema, FormFieldDraftSchema, FormFieldFlagsSchema, FormFieldOptionInputSchema, FormFieldOptionSchema, FormFieldPatchSchema, FormFieldRefSchema, FormFieldUpdateResultSchema, FormFieldValueSchema, FormImportResultSchema, FormKindSchema, FormRepairResultSchema, FormSetValueResultSchema, FormSnapshotSchema, FormSubmissionEntrySchema, FormSubmissionReceiptSchema, FormSubmissionRequestSchema, FormValueEntrySchema, FormWidgetLinkResultSchema, FormWidgetRefSchema, FreeTextDTOSchema, FreeTextDraftSchema, FreeTextIntentSchema, FreeTextPatchSchema, HighlightDTOSchema, HighlightDraftSchema, HighlightPatchSchema, InkDTOSchema, InkDraftSchema, InkIntentSchema, InkListSchema, InkPatchSchema, KIND_BY_SUBTYPE, LayerAnalysisQuerySchema, LayerScopesSchema, LayoutTokenSchema, LineCaptionPatchSchema, LineDTOSchema, LineDimensionCaptionSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LineIntentSchema, LineLeaderSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, ModificationLevelSchema, MutationMetaSchema, NamedPageEntrySchema, NoteIconSchema, OpenDocumentResponseSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageExtractInputSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageInsertBlankInputSchema, PageInsertInputSchema, PageInsertResultSchema, PageLayoutSchema, PageListSnapshotSchema, PageMeasurementViewportSchema, PageMoveInputSchema, PageMoveResultSchema, PageNameInputSchema, PageNameResultSchema, PageNetworkRenderFormatSchema, PageRemoveNameInputSchema, PageRenderAnnotatedQuerySchema, PageRenderQuerySchema, PageRotateInputSchema, PageRotateResultSchema, PageScaleInputSchema, PageScaleResultSchema, PageStateSchema, PageStructureCacheSchema, PageTextSnapshotSchema, PdfActionNodeSchema, PdfActionTargetRefSchema, PdfActionTreeSchema, PdfActionTypeSchema, PdfActionWireComponents, PdfAnnotationActionsSchema, PdfDestinationSchema, PdfFieldActionsSchema, PdfForeignMeasureSchema, PdfLinkTargetSchema, PdfLinkTargetWritableSchema, PdfMeasureSchema, PdfMeasureWriteSchema, PdfMeasurementSchema, PdfNumberFormatSchema, PdfPageActionsSchema, PdfPointSchema, PdfQuadSchema, PdfRectDifferencesSchema, PdfRectSchema, PdfRevisionSchema, PdfRotationSchema, PdfSaveModeSchema, PdfSizeSchema, PointSchema, PolygonDTOSchema, PolygonDraftSchema, PolygonIntentSchema, PolygonPatchSchema, PolylineDTOSchema, PolylineDraftSchema, PolylineIntentSchema, PolylinePatchSchema, RectSchema, RedactionApplyResultSchema, RedactionApplyScopeSchema, RefetchReasonSchema, RenderTokenSchema, ResourceRefSchema, RevisionTokenSchema, SEARCH_RESULT_FORMAT, SearchMatchSchema, SearchModeSchema, SearchQuerySchema, SearchRequestSchema, SearchSliceSchema, SearchSnippetSchema, SearchTokenSchema, ShapeCaptionPatchSchema, ShapeDimensionCaptionSchema, SignatureAbortResultSchema, SignatureAppearanceBodySchema, SignatureCompleteBodySchema, SignatureCompleteResultSchema, SignatureDTOSchema, SignaturePrepareBodySchema, SignaturePreparedWireSchema, SignatureSeedValueSchema, SignatureSnapshotSchema, 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, VersionAnalysisQuerySchema, WeakAnnotationSessionPagesRequestSchema, WeakAnnotationSessionResponseSchema, WidgetAppearanceSchema, WidgetPlacementSchema, WireAttachmentFileSchema, analysisQueryString, analyzeInputFromQuery, annotationAppearancesImageOptionsToToken, annotationAppearancesImageOptionsToWire, annotationRenderOptionsFromImageOptions, applyCdnAccess, cdnCoverageForScope, checkResourceAccess, decodeActionsToken, decodeAnalysisToken, decodeAnnotationAppearancesRenderToken, decodeAnnotationToken, decodeAnnotationsAllToken, decodeAttachmentsToken, decodeContentToken, decodeDocToken, decodeDownloadToken, decodeLayoutToken, decodeMetadataToken, decodePrepared, decodeRenderToken, decodeSearchToken, decodeToken, decodeTokenText, encodeActionsToken, encodeAnalysisToken, encodeAnnotationAppearancesRenderToken, encodeAnnotationToken, encodeAnnotationsAllToken, encodeAttachmentsToken, encodeContentToken, encodeDocToken, encodeDownloadToken, encodeLayoutToken, encodeMetadataToken, encodePrepared, encodeRenderToken, encodeSearchToken, encodeToken, encodeTokenText, flatten, fromBase64, pageRenderOptionsFromImageOptions, renderImageOptionsToToken, renderImageOptionsToWire, resolveResourceIdForPath, toBase64, unflatten, wirePaths, wireTemplates };
1623
1630
 
1624
1631
  //# sourceMappingURL=wire.js.map