@embedpdf/engine-core 3.0.0-next.0 → 3.0.0-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/wire.d.cts CHANGED
@@ -52,10 +52,10 @@ declare const DocumentHeadSchema: z.ZodObject<{
52
52
  state: z.ZodEnum<["unknown", "none", "encrypted", "unsupported"]>;
53
53
  requiresPassword: z.ZodNullable<z.ZodBoolean>;
54
54
  }, "strip", z.ZodTypeAny, {
55
- state: "none" | "unknown" | "encrypted" | "unsupported";
55
+ state: "unknown" | "none" | "encrypted" | "unsupported";
56
56
  requiresPassword: boolean | null;
57
57
  }, {
58
- state: "none" | "unknown" | "encrypted" | "unsupported";
58
+ state: "unknown" | "none" | "encrypted" | "unsupported";
59
59
  requiresPassword: boolean | null;
60
60
  }>;
61
61
  permissions: z.ZodObject<{
@@ -94,13 +94,13 @@ declare const DocumentHeadSchema: z.ZodObject<{
94
94
  endpoint?: string | undefined;
95
95
  }>;
96
96
  }, "strip", z.ZodTypeAny, {
97
- docVersion: number;
98
97
  id: string;
99
98
  baseSha: string;
100
99
  storageSizeBytes: number;
100
+ docVersion: number;
101
101
  state: "pending" | "ready" | "failed" | "deleting";
102
102
  encryption: {
103
- state: "none" | "unknown" | "encrypted" | "unsupported";
103
+ state: "unknown" | "none" | "encrypted" | "unsupported";
104
104
  requiresPassword: boolean | null;
105
105
  };
106
106
  permissions: {
@@ -117,13 +117,13 @@ declare const DocumentHeadSchema: z.ZodObject<{
117
117
  endpoint?: string | undefined;
118
118
  };
119
119
  }, {
120
- docVersion: number;
121
120
  id: string;
122
121
  baseSha: string;
123
122
  storageSizeBytes: number;
123
+ docVersion: number;
124
124
  state: "pending" | "ready" | "failed" | "deleting";
125
125
  encryption: {
126
- state: "none" | "unknown" | "encrypted" | "unsupported";
126
+ state: "unknown" | "none" | "encrypted" | "unsupported";
127
127
  requiresPassword: boolean | null;
128
128
  };
129
129
  permissions: {
@@ -149,16 +149,16 @@ declare const AccessRequestSchema: z.ZodObject<{
149
149
  mode: z.ZodOptional<z.ZodEnum<["any", "owner"]>>;
150
150
  }, "strip", z.ZodTypeAny, {
151
151
  docId: string;
152
- mode?: "owner" | "any" | undefined;
153
152
  password?: string | undefined;
154
153
  layerName?: string | undefined;
155
154
  passwordGrant?: string | undefined;
155
+ mode?: "owner" | "any" | undefined;
156
156
  }, {
157
157
  docId: string;
158
- mode?: "owner" | "any" | undefined;
159
158
  password?: string | undefined;
160
159
  layerName?: string | undefined;
161
160
  passwordGrant?: string | undefined;
161
+ mode?: "owner" | "any" | undefined;
162
162
  }>;
163
163
  type AccessRequest = z.infer<typeof AccessRequestSchema>;
164
164
  declare const DocumentSecurityStateSchema: z.ZodType<DocumentSecurityState>;
@@ -361,11 +361,11 @@ declare const AccessResponseSchema: z.ZodObject<{
361
361
  background: z.ZodEnum<["white"]>;
362
362
  enforced: z.ZodBoolean;
363
363
  }, "strip", z.ZodTypeAny, {
364
- background: "white";
365
364
  fullPage: {
366
365
  widths: number[];
367
366
  };
368
367
  formats: ("webp" | "png")[];
368
+ background: "white";
369
369
  enforced: boolean;
370
370
  tiles?: {
371
371
  tileSizes: number[];
@@ -376,11 +376,11 @@ declare const AccessResponseSchema: z.ZodObject<{
376
376
  } | undefined;
377
377
  maxRenderPixels?: number | undefined;
378
378
  }, {
379
- background: "white";
380
379
  fullPage: {
381
380
  widths: number[];
382
381
  };
383
382
  formats: ("webp" | "png")[];
383
+ background: "white";
384
384
  enforced: boolean;
385
385
  tiles?: {
386
386
  tileSizes: number[];
@@ -433,11 +433,11 @@ declare const AccessResponseSchema: z.ZodObject<{
433
433
  mode: "not-needed" | "client-retry" | "server-session";
434
434
  };
435
435
  renderPolicy?: {
436
- background: "white";
437
436
  fullPage: {
438
437
  widths: number[];
439
438
  };
440
439
  formats: ("webp" | "png")[];
440
+ background: "white";
441
441
  enforced: boolean;
442
442
  tiles?: {
443
443
  tileSizes: number[];
@@ -490,11 +490,11 @@ declare const AccessResponseSchema: z.ZodObject<{
490
490
  mode: "not-needed" | "client-retry" | "server-session";
491
491
  };
492
492
  renderPolicy?: {
493
- background: "white";
494
493
  fullPage: {
495
494
  widths: number[];
496
495
  };
497
496
  formats: ("webp" | "png")[];
497
+ background: "white";
498
498
  enforced: boolean;
499
499
  tiles?: {
500
500
  tileSizes: number[];
@@ -1066,6 +1066,34 @@ declare const wirePaths: {
1066
1066
  */
1067
1067
  readonly docWarm: "/v1/warm";
1068
1068
  };
1069
+ /**
1070
+ * Fastify-style templates for the PLAIN (unversioned) doc-plane routes —
1071
+ * the backend-callable subset that the `@cloudpdf/contract` contract
1072
+ * documents. The immutable `@{version}` variants above remain viewer
1073
+ * protocol and are deliberately absent. These templates are the single
1074
+ * statement of those paths: the contract package imports them, and the
1075
+ * server's route table is pinned to them by the doc-plane registry
1076
+ * conformance test.
1077
+ */
1078
+ declare const wireTemplates: {
1079
+ readonly docHead: "/v1/docs/:docId/head";
1080
+ readonly layerManifest: "/v1/docs/:docId/layers/:layerName/manifest";
1081
+ readonly layerMetadata: "/v1/docs/:docId/layers/:layerName/metadata";
1082
+ readonly layerRenderPage: "/v1/docs/:docId/layers/:layerName/render/pages/:pon/data";
1083
+ readonly layerTextPage: "/v1/docs/:docId/layers/:layerName/text/pages/:pon/data";
1084
+ readonly layerAnnotationItems: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items";
1085
+ readonly layerAnnotationItem: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/:annotKey";
1086
+ readonly layerForm: "/v1/docs/:docId/layers/:layerName/form";
1087
+ readonly layerFormFieldValue: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/value";
1088
+ readonly layerFormFieldReset: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/reset";
1089
+ readonly layerFormData: "/v1/docs/:docId/layers/:layerName/form/data";
1090
+ readonly layerPagesMove: "/v1/docs/:docId/layers/:layerName/pages/move";
1091
+ readonly layerPagesRotate: "/v1/docs/:docId/layers/:layerName/pages/rotate";
1092
+ readonly layerPagesDelete: "/v1/docs/:docId/layers/:layerName/pages/delete";
1093
+ readonly layerPagesFlatten: "/v1/docs/:docId/layers/:layerName/pages/flatten";
1094
+ readonly layerRedactionsApply: "/v1/docs/:docId/layers/:layerName/redactions/apply";
1095
+ readonly layerDownload: "/v1/docs/:docId/layers/:layerName/download";
1096
+ };
1069
1097
  //#endregion
1070
1098
  //#region src/wire/resources.d.ts
1071
1099
  /**
@@ -1542,5 +1570,5 @@ declare const AttachmentFileInfoSchema: z.ZodType<AttachmentFileInfo>;
1542
1570
  declare const EmbeddedFileRefSchema: z.ZodType<EmbeddedFileRef>;
1543
1571
  declare const EmbeddedFileItemSchema: z.ZodType<EmbeddedFileItem>;
1544
1572
  //#endregion
1545
- export { ANNOTATION_KINDS, type AccessRequest, AccessRequestSchema, type AccessResponse, AccessResponseSchema, ActionsTokenSchema, AnnotationAppearanceManifestSchema, AnnotationAppearancesQuerySchema, AnnotationAppearancesRenderTokenSchema, AnnotationBaseShape, AnnotationBorderStyleSchema, AnnotationCreateResultSchema, AnnotationDTOSchema, AnnotationDeleteResultSchema, AnnotationDraftBaseShape, AnnotationDraftSchema, AnnotationFlagsPartialSchema, AnnotationFlagsSchema, AnnotationListMutationMetaSchema, AnnotationListPageSnapshotSchema, AnnotationListSnapshotAllPagesSchema, AnnotationMoveResultSchema, AnnotationPatchBaseShape, AnnotationPatchSchema, AnnotationRefSchema, type AnnotationRenderVersion, AnnotationStableIdSchema, AnnotationTokenSchema, AnnotationUpdateResultSchema, AppearanceOutcomeSchema, type ApplyCdnAccessInput, type ApplyCdnAccessResult, AttachmentCreateResultSchema, AttachmentDeleteResultSchema, AttachmentFileInfoSchema, AttachmentsCacheSchema, BlendModeSchema, type CacheDelta, CacheDeltaSchema, CachePinsSchema, CalloutLineSchema, type CapabilityRequirement, CaretDTOSchema, CaretDraftSchema, CaretIntentSchema, CaretPatchSchema, type CdnAccessInfoForApply, type CdnCoverageEntry, CircleDTOSchema, CircleDraftSchema, CirclePatchSchema, ColorSchema, ContentTokenSchema, DEFAULT_LAYER_NAME, DOC_RESOURCES, type DocResourceDescriptor, type DocResourceId, DocTokenSchema, DocumentActionsSnapshotSchema, type DocumentHead, DocumentHeadSchema, type DocumentManifest, DocumentManifestSchema, DocumentMetadataSchema, DocumentSecurityStateSchema, type DownloadToken, EmbeddedFileItemSchema, EmbeddedFileRefSchema, EngineErrorPayloadSchema, FileAttachmentDTOSchema, FileAttachmentIconSchema, FileAttachmentPatchSchema, FileAttachmentWireDraftSchema, FormDataFormatSchema, FormEffectSchema, FormEffectsResultSchema, FormFieldCreateResultSchema, FormFieldDTOSchema, FormFieldDeleteResultSchema, FormFieldDraftSchema, FormFieldFlagsSchema, FormFieldOptionInputSchema, FormFieldOptionSchema, FormFieldPatchSchema, FormFieldRefSchema, FormFieldUpdateResultSchema, FormFieldValueSchema, FormImportResultSchema, FormKindSchema, FormRepairResultSchema, FormSetValueResultSchema, FormSnapshotSchema, FormValueEntrySchema, FormWidgetLinkResultSchema, FormWidgetRefSchema, FreeTextDTOSchema, FreeTextDraftSchema, FreeTextIntentSchema, FreeTextPatchSchema, HighlightDTOSchema, HighlightDraftSchema, HighlightPatchSchema, InkDTOSchema, InkDraftSchema, InkIntentSchema, InkListSchema, InkPatchSchema, KIND_BY_SUBTYPE, type LayerScopePlane, type LayerScopes, LayerScopesSchema, LayoutTokenSchema, LineDTOSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, type ManifestPage, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, type MutationMeta, MutationMetaSchema, NoteIconSchema, type OpenDocumentResponse, OpenDocumentResponseSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageLayoutSchema, PageListSnapshotSchema, PageMoveInputSchema, PageMoveResultSchema, PageNetworkRenderFormatSchema, PageRenderAnnotatedQuerySchema, PageRenderQuerySchema, PageRotateInputSchema, PageRotateResultSchema, PageStateSchema, PageStructureCacheSchema, PageTextSnapshotSchema, PdfActionNodeSchema, PdfActionTreeSchema, PdfActionTypeSchema, PdfAnnotationActionsSchema, PdfDestinationSchema, PdfFieldActionsSchema, PdfLinkTargetSchema, PdfLinkTargetWritableSchema, PdfPageActionsSchema, PdfPointSchema, PdfQuadSchema, PdfRectDifferencesSchema, PdfRectSchema, PdfRotationSchema, PdfSaveModeSchema, PdfSizeSchema, PointSchema, PolygonDTOSchema, PolygonDraftSchema, PolygonPatchSchema, PolylineDTOSchema, PolylineDraftSchema, PolylinePatchSchema, RectSchema, RedactionApplyResultSchema, RedactionApplyScopeSchema, RefetchReasonSchema, type RenderPolicy, RenderTokenSchema, type RenderVersions, ResourceRefSchema, RevisionTokenSchema, type RouteKind, SearchMatchSchema, SearchModeSchema, SearchQuerySchema, SearchRequestSchema, SearchSliceSchema, SearchSnippetSchema, type SearchToken, SearchTokenSchema, SquareDTOSchema, SquareDraftSchema, SquarePatchSchema, SquigglyDTOSchema, SquigglyDraftSchema, SquigglyPatchSchema, StampDTOSchema, StampWireDraftSchema, StampWirePatchSchema, StandardFontSchema, StrikeoutDTOSchema, StrikeoutDraftSchema, StrikeoutIntentSchema, StrikeoutPatchSchema, TextAlignmentSchema, TextDTOSchema, TextDraftSchema, TextPatchSchema, ToggleFieldWidgetSchema, type TokenInput, type TokenQuery, type TokenScalar, type TokenSchema, UnderlineDTOSchema, UnderlineDraftSchema, UnderlinePatchSchema, UnsupportedDTOSchema, UnsupportedDraftSchema, UnsupportedPatchSchema, type WeakAnnotationSessionPagesRequest, WeakAnnotationSessionPagesRequestSchema, type WeakAnnotationSessionResponse, WeakAnnotationSessionResponseSchema, WidgetAppearanceSchema, WidgetPlacementSchema, WireAttachmentFileSchema, type WireFlat, type WireScalar, annotationAppearancesImageOptionsToToken, annotationAppearancesImageOptionsToWire, annotationRenderOptionsFromImageOptions, applyCdnAccess, cdnCoverageForScope, checkResourceAccess, decodeActionsToken, decodeAnnotationAppearancesRenderToken, decodeAnnotationToken, decodeAttachmentsToken, decodeContentToken, decodeDocToken, decodeDownloadToken, decodeLayoutToken, decodeMetadataToken, decodeRenderToken, decodeSearchToken, decodeToken, decodeTokenText, encodeActionsToken, encodeAnnotationAppearancesRenderToken, encodeAnnotationToken, encodeAttachmentsToken, encodeContentToken, encodeDocToken, encodeDownloadToken, encodeLayoutToken, encodeMetadataToken, encodeRenderToken, encodeSearchToken, encodeToken, encodeTokenText, flatten, pageRenderOptionsFromImageOptions, renderImageOptionsToToken, renderImageOptionsToWire, resolveResourceIdForPath, unflatten, wirePaths };
1573
+ export { ANNOTATION_KINDS, type AccessRequest, AccessRequestSchema, type AccessResponse, AccessResponseSchema, ActionsTokenSchema, AnnotationAppearanceManifestSchema, AnnotationAppearancesQuerySchema, AnnotationAppearancesRenderTokenSchema, AnnotationBaseShape, AnnotationBorderStyleSchema, AnnotationCreateResultSchema, AnnotationDTOSchema, AnnotationDeleteResultSchema, AnnotationDraftBaseShape, AnnotationDraftSchema, AnnotationFlagsPartialSchema, AnnotationFlagsSchema, AnnotationListMutationMetaSchema, AnnotationListPageSnapshotSchema, AnnotationListSnapshotAllPagesSchema, AnnotationMoveResultSchema, AnnotationPatchBaseShape, AnnotationPatchSchema, AnnotationRefSchema, type AnnotationRenderVersion, AnnotationStableIdSchema, AnnotationTokenSchema, AnnotationUpdateResultSchema, AppearanceOutcomeSchema, type ApplyCdnAccessInput, type ApplyCdnAccessResult, AttachmentCreateResultSchema, AttachmentDeleteResultSchema, AttachmentFileInfoSchema, AttachmentsCacheSchema, BlendModeSchema, type CacheDelta, CacheDeltaSchema, CachePinsSchema, CalloutLineSchema, type CapabilityRequirement, CaretDTOSchema, CaretDraftSchema, CaretIntentSchema, CaretPatchSchema, type CdnAccessInfoForApply, type CdnCoverageEntry, CircleDTOSchema, CircleDraftSchema, CirclePatchSchema, ColorSchema, ContentTokenSchema, DEFAULT_LAYER_NAME, DOC_RESOURCES, type DocResourceDescriptor, type DocResourceId, DocTokenSchema, DocumentActionsSnapshotSchema, type DocumentHead, DocumentHeadSchema, type DocumentManifest, DocumentManifestSchema, DocumentMetadataSchema, DocumentSecurityStateSchema, type DownloadToken, EmbeddedFileItemSchema, EmbeddedFileRefSchema, EngineErrorPayloadSchema, FileAttachmentDTOSchema, FileAttachmentIconSchema, FileAttachmentPatchSchema, FileAttachmentWireDraftSchema, FormDataFormatSchema, FormEffectSchema, FormEffectsResultSchema, FormFieldCreateResultSchema, FormFieldDTOSchema, FormFieldDeleteResultSchema, FormFieldDraftSchema, FormFieldFlagsSchema, FormFieldOptionInputSchema, FormFieldOptionSchema, FormFieldPatchSchema, FormFieldRefSchema, FormFieldUpdateResultSchema, FormFieldValueSchema, FormImportResultSchema, FormKindSchema, FormRepairResultSchema, FormSetValueResultSchema, FormSnapshotSchema, FormValueEntrySchema, FormWidgetLinkResultSchema, FormWidgetRefSchema, FreeTextDTOSchema, FreeTextDraftSchema, FreeTextIntentSchema, FreeTextPatchSchema, HighlightDTOSchema, HighlightDraftSchema, HighlightPatchSchema, InkDTOSchema, InkDraftSchema, InkIntentSchema, InkListSchema, InkPatchSchema, KIND_BY_SUBTYPE, type LayerScopePlane, type LayerScopes, LayerScopesSchema, LayoutTokenSchema, LineDTOSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, type ManifestPage, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, type MutationMeta, MutationMetaSchema, NoteIconSchema, type OpenDocumentResponse, OpenDocumentResponseSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageLayoutSchema, PageListSnapshotSchema, PageMoveInputSchema, PageMoveResultSchema, PageNetworkRenderFormatSchema, PageRenderAnnotatedQuerySchema, PageRenderQuerySchema, PageRotateInputSchema, PageRotateResultSchema, PageStateSchema, PageStructureCacheSchema, PageTextSnapshotSchema, PdfActionNodeSchema, PdfActionTreeSchema, PdfActionTypeSchema, PdfAnnotationActionsSchema, PdfDestinationSchema, PdfFieldActionsSchema, PdfLinkTargetSchema, PdfLinkTargetWritableSchema, PdfPageActionsSchema, PdfPointSchema, PdfQuadSchema, PdfRectDifferencesSchema, PdfRectSchema, PdfRotationSchema, PdfSaveModeSchema, PdfSizeSchema, PointSchema, PolygonDTOSchema, PolygonDraftSchema, PolygonPatchSchema, PolylineDTOSchema, PolylineDraftSchema, PolylinePatchSchema, RectSchema, RedactionApplyResultSchema, RedactionApplyScopeSchema, RefetchReasonSchema, type RenderPolicy, RenderTokenSchema, type RenderVersions, ResourceRefSchema, RevisionTokenSchema, type RouteKind, SearchMatchSchema, SearchModeSchema, SearchQuerySchema, SearchRequestSchema, SearchSliceSchema, SearchSnippetSchema, type SearchToken, SearchTokenSchema, SquareDTOSchema, SquareDraftSchema, SquarePatchSchema, SquigglyDTOSchema, SquigglyDraftSchema, SquigglyPatchSchema, StampDTOSchema, StampWireDraftSchema, StampWirePatchSchema, StandardFontSchema, StrikeoutDTOSchema, StrikeoutDraftSchema, StrikeoutIntentSchema, StrikeoutPatchSchema, TextAlignmentSchema, TextDTOSchema, TextDraftSchema, TextPatchSchema, ToggleFieldWidgetSchema, type TokenInput, type TokenQuery, type TokenScalar, type TokenSchema, UnderlineDTOSchema, UnderlineDraftSchema, UnderlinePatchSchema, UnsupportedDTOSchema, UnsupportedDraftSchema, UnsupportedPatchSchema, type WeakAnnotationSessionPagesRequest, WeakAnnotationSessionPagesRequestSchema, type WeakAnnotationSessionResponse, WeakAnnotationSessionResponseSchema, WidgetAppearanceSchema, WidgetPlacementSchema, WireAttachmentFileSchema, type WireFlat, type WireScalar, annotationAppearancesImageOptionsToToken, annotationAppearancesImageOptionsToWire, annotationRenderOptionsFromImageOptions, applyCdnAccess, cdnCoverageForScope, checkResourceAccess, decodeActionsToken, decodeAnnotationAppearancesRenderToken, decodeAnnotationToken, decodeAttachmentsToken, decodeContentToken, decodeDocToken, decodeDownloadToken, decodeLayoutToken, decodeMetadataToken, decodeRenderToken, decodeSearchToken, decodeToken, decodeTokenText, encodeActionsToken, encodeAnnotationAppearancesRenderToken, encodeAnnotationToken, encodeAttachmentsToken, encodeContentToken, encodeDocToken, encodeDownloadToken, encodeLayoutToken, encodeMetadataToken, encodeRenderToken, encodeSearchToken, encodeToken, encodeTokenText, flatten, pageRenderOptionsFromImageOptions, renderImageOptionsToToken, renderImageOptionsToWire, resolveResourceIdForPath, unflatten, wirePaths, wireTemplates };
1546
1574
  //# sourceMappingURL=wire.d.cts.map
package/dist/wire.d.ts CHANGED
@@ -52,10 +52,10 @@ declare const DocumentHeadSchema: z.ZodObject<{
52
52
  state: z.ZodEnum<["unknown", "none", "encrypted", "unsupported"]>;
53
53
  requiresPassword: z.ZodNullable<z.ZodBoolean>;
54
54
  }, "strip", z.ZodTypeAny, {
55
- state: "none" | "unknown" | "encrypted" | "unsupported";
55
+ state: "unknown" | "none" | "encrypted" | "unsupported";
56
56
  requiresPassword: boolean | null;
57
57
  }, {
58
- state: "none" | "unknown" | "encrypted" | "unsupported";
58
+ state: "unknown" | "none" | "encrypted" | "unsupported";
59
59
  requiresPassword: boolean | null;
60
60
  }>;
61
61
  permissions: z.ZodObject<{
@@ -94,13 +94,13 @@ declare const DocumentHeadSchema: z.ZodObject<{
94
94
  endpoint?: string | undefined;
95
95
  }>;
96
96
  }, "strip", z.ZodTypeAny, {
97
- docVersion: number;
98
97
  id: string;
99
98
  baseSha: string;
100
99
  storageSizeBytes: number;
100
+ docVersion: number;
101
101
  state: "pending" | "ready" | "failed" | "deleting";
102
102
  encryption: {
103
- state: "none" | "unknown" | "encrypted" | "unsupported";
103
+ state: "unknown" | "none" | "encrypted" | "unsupported";
104
104
  requiresPassword: boolean | null;
105
105
  };
106
106
  permissions: {
@@ -117,13 +117,13 @@ declare const DocumentHeadSchema: z.ZodObject<{
117
117
  endpoint?: string | undefined;
118
118
  };
119
119
  }, {
120
- docVersion: number;
121
120
  id: string;
122
121
  baseSha: string;
123
122
  storageSizeBytes: number;
123
+ docVersion: number;
124
124
  state: "pending" | "ready" | "failed" | "deleting";
125
125
  encryption: {
126
- state: "none" | "unknown" | "encrypted" | "unsupported";
126
+ state: "unknown" | "none" | "encrypted" | "unsupported";
127
127
  requiresPassword: boolean | null;
128
128
  };
129
129
  permissions: {
@@ -149,16 +149,16 @@ declare const AccessRequestSchema: z.ZodObject<{
149
149
  mode: z.ZodOptional<z.ZodEnum<["any", "owner"]>>;
150
150
  }, "strip", z.ZodTypeAny, {
151
151
  docId: string;
152
- mode?: "owner" | "any" | undefined;
153
152
  password?: string | undefined;
154
153
  layerName?: string | undefined;
155
154
  passwordGrant?: string | undefined;
155
+ mode?: "owner" | "any" | undefined;
156
156
  }, {
157
157
  docId: string;
158
- mode?: "owner" | "any" | undefined;
159
158
  password?: string | undefined;
160
159
  layerName?: string | undefined;
161
160
  passwordGrant?: string | undefined;
161
+ mode?: "owner" | "any" | undefined;
162
162
  }>;
163
163
  type AccessRequest = z.infer<typeof AccessRequestSchema>;
164
164
  declare const DocumentSecurityStateSchema: z.ZodType<DocumentSecurityState>;
@@ -361,11 +361,11 @@ declare const AccessResponseSchema: z.ZodObject<{
361
361
  background: z.ZodEnum<["white"]>;
362
362
  enforced: z.ZodBoolean;
363
363
  }, "strip", z.ZodTypeAny, {
364
- background: "white";
365
364
  fullPage: {
366
365
  widths: number[];
367
366
  };
368
367
  formats: ("webp" | "png")[];
368
+ background: "white";
369
369
  enforced: boolean;
370
370
  tiles?: {
371
371
  tileSizes: number[];
@@ -376,11 +376,11 @@ declare const AccessResponseSchema: z.ZodObject<{
376
376
  } | undefined;
377
377
  maxRenderPixels?: number | undefined;
378
378
  }, {
379
- background: "white";
380
379
  fullPage: {
381
380
  widths: number[];
382
381
  };
383
382
  formats: ("webp" | "png")[];
383
+ background: "white";
384
384
  enforced: boolean;
385
385
  tiles?: {
386
386
  tileSizes: number[];
@@ -433,11 +433,11 @@ declare const AccessResponseSchema: z.ZodObject<{
433
433
  mode: "not-needed" | "client-retry" | "server-session";
434
434
  };
435
435
  renderPolicy?: {
436
- background: "white";
437
436
  fullPage: {
438
437
  widths: number[];
439
438
  };
440
439
  formats: ("webp" | "png")[];
440
+ background: "white";
441
441
  enforced: boolean;
442
442
  tiles?: {
443
443
  tileSizes: number[];
@@ -490,11 +490,11 @@ declare const AccessResponseSchema: z.ZodObject<{
490
490
  mode: "not-needed" | "client-retry" | "server-session";
491
491
  };
492
492
  renderPolicy?: {
493
- background: "white";
494
493
  fullPage: {
495
494
  widths: number[];
496
495
  };
497
496
  formats: ("webp" | "png")[];
497
+ background: "white";
498
498
  enforced: boolean;
499
499
  tiles?: {
500
500
  tileSizes: number[];
@@ -1066,6 +1066,34 @@ declare const wirePaths: {
1066
1066
  */
1067
1067
  readonly docWarm: "/v1/warm";
1068
1068
  };
1069
+ /**
1070
+ * Fastify-style templates for the PLAIN (unversioned) doc-plane routes —
1071
+ * the backend-callable subset that the `@cloudpdf/contract` contract
1072
+ * documents. The immutable `@{version}` variants above remain viewer
1073
+ * protocol and are deliberately absent. These templates are the single
1074
+ * statement of those paths: the contract package imports them, and the
1075
+ * server's route table is pinned to them by the doc-plane registry
1076
+ * conformance test.
1077
+ */
1078
+ declare const wireTemplates: {
1079
+ readonly docHead: "/v1/docs/:docId/head";
1080
+ readonly layerManifest: "/v1/docs/:docId/layers/:layerName/manifest";
1081
+ readonly layerMetadata: "/v1/docs/:docId/layers/:layerName/metadata";
1082
+ readonly layerRenderPage: "/v1/docs/:docId/layers/:layerName/render/pages/:pon/data";
1083
+ readonly layerTextPage: "/v1/docs/:docId/layers/:layerName/text/pages/:pon/data";
1084
+ readonly layerAnnotationItems: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items";
1085
+ readonly layerAnnotationItem: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/:annotKey";
1086
+ readonly layerForm: "/v1/docs/:docId/layers/:layerName/form";
1087
+ readonly layerFormFieldValue: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/value";
1088
+ readonly layerFormFieldReset: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/reset";
1089
+ readonly layerFormData: "/v1/docs/:docId/layers/:layerName/form/data";
1090
+ readonly layerPagesMove: "/v1/docs/:docId/layers/:layerName/pages/move";
1091
+ readonly layerPagesRotate: "/v1/docs/:docId/layers/:layerName/pages/rotate";
1092
+ readonly layerPagesDelete: "/v1/docs/:docId/layers/:layerName/pages/delete";
1093
+ readonly layerPagesFlatten: "/v1/docs/:docId/layers/:layerName/pages/flatten";
1094
+ readonly layerRedactionsApply: "/v1/docs/:docId/layers/:layerName/redactions/apply";
1095
+ readonly layerDownload: "/v1/docs/:docId/layers/:layerName/download";
1096
+ };
1069
1097
  //#endregion
1070
1098
  //#region src/wire/resources.d.ts
1071
1099
  /**
@@ -1542,5 +1570,5 @@ declare const AttachmentFileInfoSchema: z.ZodType<AttachmentFileInfo>;
1542
1570
  declare const EmbeddedFileRefSchema: z.ZodType<EmbeddedFileRef>;
1543
1571
  declare const EmbeddedFileItemSchema: z.ZodType<EmbeddedFileItem>;
1544
1572
  //#endregion
1545
- export { ANNOTATION_KINDS, type AccessRequest, AccessRequestSchema, type AccessResponse, AccessResponseSchema, ActionsTokenSchema, AnnotationAppearanceManifestSchema, AnnotationAppearancesQuerySchema, AnnotationAppearancesRenderTokenSchema, AnnotationBaseShape, AnnotationBorderStyleSchema, AnnotationCreateResultSchema, AnnotationDTOSchema, AnnotationDeleteResultSchema, AnnotationDraftBaseShape, AnnotationDraftSchema, AnnotationFlagsPartialSchema, AnnotationFlagsSchema, AnnotationListMutationMetaSchema, AnnotationListPageSnapshotSchema, AnnotationListSnapshotAllPagesSchema, AnnotationMoveResultSchema, AnnotationPatchBaseShape, AnnotationPatchSchema, AnnotationRefSchema, type AnnotationRenderVersion, AnnotationStableIdSchema, AnnotationTokenSchema, AnnotationUpdateResultSchema, AppearanceOutcomeSchema, type ApplyCdnAccessInput, type ApplyCdnAccessResult, AttachmentCreateResultSchema, AttachmentDeleteResultSchema, AttachmentFileInfoSchema, AttachmentsCacheSchema, BlendModeSchema, type CacheDelta, CacheDeltaSchema, CachePinsSchema, CalloutLineSchema, type CapabilityRequirement, CaretDTOSchema, CaretDraftSchema, CaretIntentSchema, CaretPatchSchema, type CdnAccessInfoForApply, type CdnCoverageEntry, CircleDTOSchema, CircleDraftSchema, CirclePatchSchema, ColorSchema, ContentTokenSchema, DEFAULT_LAYER_NAME, DOC_RESOURCES, type DocResourceDescriptor, type DocResourceId, DocTokenSchema, DocumentActionsSnapshotSchema, type DocumentHead, DocumentHeadSchema, type DocumentManifest, DocumentManifestSchema, DocumentMetadataSchema, DocumentSecurityStateSchema, type DownloadToken, EmbeddedFileItemSchema, EmbeddedFileRefSchema, EngineErrorPayloadSchema, FileAttachmentDTOSchema, FileAttachmentIconSchema, FileAttachmentPatchSchema, FileAttachmentWireDraftSchema, FormDataFormatSchema, FormEffectSchema, FormEffectsResultSchema, FormFieldCreateResultSchema, FormFieldDTOSchema, FormFieldDeleteResultSchema, FormFieldDraftSchema, FormFieldFlagsSchema, FormFieldOptionInputSchema, FormFieldOptionSchema, FormFieldPatchSchema, FormFieldRefSchema, FormFieldUpdateResultSchema, FormFieldValueSchema, FormImportResultSchema, FormKindSchema, FormRepairResultSchema, FormSetValueResultSchema, FormSnapshotSchema, FormValueEntrySchema, FormWidgetLinkResultSchema, FormWidgetRefSchema, FreeTextDTOSchema, FreeTextDraftSchema, FreeTextIntentSchema, FreeTextPatchSchema, HighlightDTOSchema, HighlightDraftSchema, HighlightPatchSchema, InkDTOSchema, InkDraftSchema, InkIntentSchema, InkListSchema, InkPatchSchema, KIND_BY_SUBTYPE, type LayerScopePlane, type LayerScopes, LayerScopesSchema, LayoutTokenSchema, LineDTOSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, type ManifestPage, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, type MutationMeta, MutationMetaSchema, NoteIconSchema, type OpenDocumentResponse, OpenDocumentResponseSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageLayoutSchema, PageListSnapshotSchema, PageMoveInputSchema, PageMoveResultSchema, PageNetworkRenderFormatSchema, PageRenderAnnotatedQuerySchema, PageRenderQuerySchema, PageRotateInputSchema, PageRotateResultSchema, PageStateSchema, PageStructureCacheSchema, PageTextSnapshotSchema, PdfActionNodeSchema, PdfActionTreeSchema, PdfActionTypeSchema, PdfAnnotationActionsSchema, PdfDestinationSchema, PdfFieldActionsSchema, PdfLinkTargetSchema, PdfLinkTargetWritableSchema, PdfPageActionsSchema, PdfPointSchema, PdfQuadSchema, PdfRectDifferencesSchema, PdfRectSchema, PdfRotationSchema, PdfSaveModeSchema, PdfSizeSchema, PointSchema, PolygonDTOSchema, PolygonDraftSchema, PolygonPatchSchema, PolylineDTOSchema, PolylineDraftSchema, PolylinePatchSchema, RectSchema, RedactionApplyResultSchema, RedactionApplyScopeSchema, RefetchReasonSchema, type RenderPolicy, RenderTokenSchema, type RenderVersions, ResourceRefSchema, RevisionTokenSchema, type RouteKind, SearchMatchSchema, SearchModeSchema, SearchQuerySchema, SearchRequestSchema, SearchSliceSchema, SearchSnippetSchema, type SearchToken, SearchTokenSchema, SquareDTOSchema, SquareDraftSchema, SquarePatchSchema, SquigglyDTOSchema, SquigglyDraftSchema, SquigglyPatchSchema, StampDTOSchema, StampWireDraftSchema, StampWirePatchSchema, StandardFontSchema, StrikeoutDTOSchema, StrikeoutDraftSchema, StrikeoutIntentSchema, StrikeoutPatchSchema, TextAlignmentSchema, TextDTOSchema, TextDraftSchema, TextPatchSchema, ToggleFieldWidgetSchema, type TokenInput, type TokenQuery, type TokenScalar, type TokenSchema, UnderlineDTOSchema, UnderlineDraftSchema, UnderlinePatchSchema, UnsupportedDTOSchema, UnsupportedDraftSchema, UnsupportedPatchSchema, type WeakAnnotationSessionPagesRequest, WeakAnnotationSessionPagesRequestSchema, type WeakAnnotationSessionResponse, WeakAnnotationSessionResponseSchema, WidgetAppearanceSchema, WidgetPlacementSchema, WireAttachmentFileSchema, type WireFlat, type WireScalar, annotationAppearancesImageOptionsToToken, annotationAppearancesImageOptionsToWire, annotationRenderOptionsFromImageOptions, applyCdnAccess, cdnCoverageForScope, checkResourceAccess, decodeActionsToken, decodeAnnotationAppearancesRenderToken, decodeAnnotationToken, decodeAttachmentsToken, decodeContentToken, decodeDocToken, decodeDownloadToken, decodeLayoutToken, decodeMetadataToken, decodeRenderToken, decodeSearchToken, decodeToken, decodeTokenText, encodeActionsToken, encodeAnnotationAppearancesRenderToken, encodeAnnotationToken, encodeAttachmentsToken, encodeContentToken, encodeDocToken, encodeDownloadToken, encodeLayoutToken, encodeMetadataToken, encodeRenderToken, encodeSearchToken, encodeToken, encodeTokenText, flatten, pageRenderOptionsFromImageOptions, renderImageOptionsToToken, renderImageOptionsToWire, resolveResourceIdForPath, unflatten, wirePaths };
1573
+ export { ANNOTATION_KINDS, type AccessRequest, AccessRequestSchema, type AccessResponse, AccessResponseSchema, ActionsTokenSchema, AnnotationAppearanceManifestSchema, AnnotationAppearancesQuerySchema, AnnotationAppearancesRenderTokenSchema, AnnotationBaseShape, AnnotationBorderStyleSchema, AnnotationCreateResultSchema, AnnotationDTOSchema, AnnotationDeleteResultSchema, AnnotationDraftBaseShape, AnnotationDraftSchema, AnnotationFlagsPartialSchema, AnnotationFlagsSchema, AnnotationListMutationMetaSchema, AnnotationListPageSnapshotSchema, AnnotationListSnapshotAllPagesSchema, AnnotationMoveResultSchema, AnnotationPatchBaseShape, AnnotationPatchSchema, AnnotationRefSchema, type AnnotationRenderVersion, AnnotationStableIdSchema, AnnotationTokenSchema, AnnotationUpdateResultSchema, AppearanceOutcomeSchema, type ApplyCdnAccessInput, type ApplyCdnAccessResult, AttachmentCreateResultSchema, AttachmentDeleteResultSchema, AttachmentFileInfoSchema, AttachmentsCacheSchema, BlendModeSchema, type CacheDelta, CacheDeltaSchema, CachePinsSchema, CalloutLineSchema, type CapabilityRequirement, CaretDTOSchema, CaretDraftSchema, CaretIntentSchema, CaretPatchSchema, type CdnAccessInfoForApply, type CdnCoverageEntry, CircleDTOSchema, CircleDraftSchema, CirclePatchSchema, ColorSchema, ContentTokenSchema, DEFAULT_LAYER_NAME, DOC_RESOURCES, type DocResourceDescriptor, type DocResourceId, DocTokenSchema, DocumentActionsSnapshotSchema, type DocumentHead, DocumentHeadSchema, type DocumentManifest, DocumentManifestSchema, DocumentMetadataSchema, DocumentSecurityStateSchema, type DownloadToken, EmbeddedFileItemSchema, EmbeddedFileRefSchema, EngineErrorPayloadSchema, FileAttachmentDTOSchema, FileAttachmentIconSchema, FileAttachmentPatchSchema, FileAttachmentWireDraftSchema, FormDataFormatSchema, FormEffectSchema, FormEffectsResultSchema, FormFieldCreateResultSchema, FormFieldDTOSchema, FormFieldDeleteResultSchema, FormFieldDraftSchema, FormFieldFlagsSchema, FormFieldOptionInputSchema, FormFieldOptionSchema, FormFieldPatchSchema, FormFieldRefSchema, FormFieldUpdateResultSchema, FormFieldValueSchema, FormImportResultSchema, FormKindSchema, FormRepairResultSchema, FormSetValueResultSchema, FormSnapshotSchema, FormValueEntrySchema, FormWidgetLinkResultSchema, FormWidgetRefSchema, FreeTextDTOSchema, FreeTextDraftSchema, FreeTextIntentSchema, FreeTextPatchSchema, HighlightDTOSchema, HighlightDraftSchema, HighlightPatchSchema, InkDTOSchema, InkDraftSchema, InkIntentSchema, InkListSchema, InkPatchSchema, KIND_BY_SUBTYPE, type LayerScopePlane, type LayerScopes, LayerScopesSchema, LayoutTokenSchema, LineDTOSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, type ManifestPage, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, type MutationMeta, MutationMetaSchema, NoteIconSchema, type OpenDocumentResponse, OpenDocumentResponseSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageLayoutSchema, PageListSnapshotSchema, PageMoveInputSchema, PageMoveResultSchema, PageNetworkRenderFormatSchema, PageRenderAnnotatedQuerySchema, PageRenderQuerySchema, PageRotateInputSchema, PageRotateResultSchema, PageStateSchema, PageStructureCacheSchema, PageTextSnapshotSchema, PdfActionNodeSchema, PdfActionTreeSchema, PdfActionTypeSchema, PdfAnnotationActionsSchema, PdfDestinationSchema, PdfFieldActionsSchema, PdfLinkTargetSchema, PdfLinkTargetWritableSchema, PdfPageActionsSchema, PdfPointSchema, PdfQuadSchema, PdfRectDifferencesSchema, PdfRectSchema, PdfRotationSchema, PdfSaveModeSchema, PdfSizeSchema, PointSchema, PolygonDTOSchema, PolygonDraftSchema, PolygonPatchSchema, PolylineDTOSchema, PolylineDraftSchema, PolylinePatchSchema, RectSchema, RedactionApplyResultSchema, RedactionApplyScopeSchema, RefetchReasonSchema, type RenderPolicy, RenderTokenSchema, type RenderVersions, ResourceRefSchema, RevisionTokenSchema, type RouteKind, SearchMatchSchema, SearchModeSchema, SearchQuerySchema, SearchRequestSchema, SearchSliceSchema, SearchSnippetSchema, type SearchToken, SearchTokenSchema, SquareDTOSchema, SquareDraftSchema, SquarePatchSchema, SquigglyDTOSchema, SquigglyDraftSchema, SquigglyPatchSchema, StampDTOSchema, StampWireDraftSchema, StampWirePatchSchema, StandardFontSchema, StrikeoutDTOSchema, StrikeoutDraftSchema, StrikeoutIntentSchema, StrikeoutPatchSchema, TextAlignmentSchema, TextDTOSchema, TextDraftSchema, TextPatchSchema, ToggleFieldWidgetSchema, type TokenInput, type TokenQuery, type TokenScalar, type TokenSchema, UnderlineDTOSchema, UnderlineDraftSchema, UnderlinePatchSchema, UnsupportedDTOSchema, UnsupportedDraftSchema, UnsupportedPatchSchema, type WeakAnnotationSessionPagesRequest, WeakAnnotationSessionPagesRequestSchema, type WeakAnnotationSessionResponse, WeakAnnotationSessionResponseSchema, WidgetAppearanceSchema, WidgetPlacementSchema, WireAttachmentFileSchema, type WireFlat, type WireScalar, annotationAppearancesImageOptionsToToken, annotationAppearancesImageOptionsToWire, annotationRenderOptionsFromImageOptions, applyCdnAccess, cdnCoverageForScope, checkResourceAccess, decodeActionsToken, decodeAnnotationAppearancesRenderToken, decodeAnnotationToken, decodeAttachmentsToken, decodeContentToken, decodeDocToken, decodeDownloadToken, decodeLayoutToken, decodeMetadataToken, decodeRenderToken, decodeSearchToken, decodeToken, decodeTokenText, encodeActionsToken, encodeAnnotationAppearancesRenderToken, encodeAnnotationToken, encodeAttachmentsToken, encodeContentToken, encodeDocToken, encodeDownloadToken, encodeLayoutToken, encodeMetadataToken, encodeRenderToken, encodeSearchToken, encodeToken, encodeTokenText, flatten, pageRenderOptionsFromImageOptions, renderImageOptionsToToken, renderImageOptionsToWire, resolveResourceIdForPath, unflatten, wirePaths, wireTemplates };
1546
1574
  //# sourceMappingURL=wire.d.ts.map
package/dist/wire.js CHANGED
@@ -586,6 +586,34 @@ const wirePaths = {
586
586
  */
587
587
  docWarm: "/v1/warm"
588
588
  };
589
+ /**
590
+ * Fastify-style templates for the PLAIN (unversioned) doc-plane routes —
591
+ * the backend-callable subset that the `@cloudpdf/contract` contract
592
+ * documents. The immutable `@{version}` variants above remain viewer
593
+ * protocol and are deliberately absent. These templates are the single
594
+ * statement of those paths: the contract package imports them, and the
595
+ * server's route table is pinned to them by the doc-plane registry
596
+ * conformance test.
597
+ */
598
+ const wireTemplates = {
599
+ docHead: "/v1/docs/:docId/head",
600
+ layerManifest: "/v1/docs/:docId/layers/:layerName/manifest",
601
+ layerMetadata: "/v1/docs/:docId/layers/:layerName/metadata",
602
+ layerRenderPage: "/v1/docs/:docId/layers/:layerName/render/pages/:pon/data",
603
+ layerTextPage: "/v1/docs/:docId/layers/:layerName/text/pages/:pon/data",
604
+ layerAnnotationItems: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items",
605
+ layerAnnotationItem: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/:annotKey",
606
+ layerForm: "/v1/docs/:docId/layers/:layerName/form",
607
+ layerFormFieldValue: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/value",
608
+ layerFormFieldReset: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/reset",
609
+ layerFormData: "/v1/docs/:docId/layers/:layerName/form/data",
610
+ layerPagesMove: "/v1/docs/:docId/layers/:layerName/pages/move",
611
+ layerPagesRotate: "/v1/docs/:docId/layers/:layerName/pages/rotate",
612
+ layerPagesDelete: "/v1/docs/:docId/layers/:layerName/pages/delete",
613
+ layerPagesFlatten: "/v1/docs/:docId/layers/:layerName/pages/flatten",
614
+ layerRedactionsApply: "/v1/docs/:docId/layers/:layerName/redactions/apply",
615
+ layerDownload: "/v1/docs/:docId/layers/:layerName/download"
616
+ };
589
617
  //#endregion
590
618
  //#region src/wire/resources.ts
591
619
  /**
@@ -1275,6 +1303,6 @@ function annotationRenderOptionsFromImageOptions(options) {
1275
1303
  };
1276
1304
  }
1277
1305
  //#endregion
1278
- export { ANNOTATION_KINDS, AccessRequestSchema, AccessResponseSchema, ActionsTokenSchema, AnnotationAppearanceManifestSchema, AnnotationAppearancesQuerySchema, AnnotationAppearancesRenderTokenSchema, AnnotationBaseShape, AnnotationBorderStyleSchema, AnnotationCreateResultSchema, AnnotationDTOSchema, AnnotationDeleteResultSchema, AnnotationDraftBaseShape, AnnotationDraftSchema, AnnotationFlagsPartialSchema, AnnotationFlagsSchema, AnnotationListMutationMetaSchema, AnnotationListPageSnapshotSchema, AnnotationListSnapshotAllPagesSchema, AnnotationMoveResultSchema, AnnotationPatchBaseShape, AnnotationPatchSchema, AnnotationRefSchema, AnnotationStableIdSchema, AnnotationTokenSchema, AnnotationUpdateResultSchema, AppearanceOutcomeSchema, AttachmentCreateResultSchema, AttachmentDeleteResultSchema, AttachmentFileInfoSchema, AttachmentsCacheSchema, BlendModeSchema, CacheDeltaSchema, CachePinsSchema, CalloutLineSchema, CaretDTOSchema, CaretDraftSchema, CaretIntentSchema, CaretPatchSchema, CircleDTOSchema, CircleDraftSchema, CirclePatchSchema, ColorSchema, ContentTokenSchema, DEFAULT_LAYER_NAME, DOC_RESOURCES, DocTokenSchema, DocumentActionsSnapshotSchema, DocumentHeadSchema, DocumentManifestSchema, DocumentMetadataSchema, DocumentSecurityStateSchema, EmbeddedFileItemSchema, EmbeddedFileRefSchema, EngineErrorPayloadSchema, FileAttachmentDTOSchema, FileAttachmentIconSchema, FileAttachmentPatchSchema, FileAttachmentWireDraftSchema, FormDataFormatSchema, FormEffectSchema, FormEffectsResultSchema, FormFieldCreateResultSchema, FormFieldDTOSchema, FormFieldDeleteResultSchema, FormFieldDraftSchema, FormFieldFlagsSchema, FormFieldOptionInputSchema, FormFieldOptionSchema, FormFieldPatchSchema, FormFieldRefSchema, FormFieldUpdateResultSchema, FormFieldValueSchema, FormImportResultSchema, FormKindSchema, FormRepairResultSchema, FormSetValueResultSchema, FormSnapshotSchema, FormValueEntrySchema, FormWidgetLinkResultSchema, FormWidgetRefSchema, FreeTextDTOSchema, FreeTextDraftSchema, FreeTextIntentSchema, FreeTextPatchSchema, HighlightDTOSchema, HighlightDraftSchema, HighlightPatchSchema, InkDTOSchema, InkDraftSchema, InkIntentSchema, InkListSchema, InkPatchSchema, KIND_BY_SUBTYPE, LayerScopesSchema, LayoutTokenSchema, LineDTOSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, MutationMetaSchema, NoteIconSchema, OpenDocumentResponseSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageLayoutSchema, PageListSnapshotSchema, PageMoveInputSchema, PageMoveResultSchema, PageNetworkRenderFormatSchema, PageRenderAnnotatedQuerySchema, PageRenderQuerySchema, PageRotateInputSchema, PageRotateResultSchema, PageStateSchema, PageStructureCacheSchema, PageTextSnapshotSchema, PdfActionNodeSchema, PdfActionTreeSchema, PdfActionTypeSchema, PdfAnnotationActionsSchema, PdfDestinationSchema, PdfFieldActionsSchema, PdfLinkTargetSchema, PdfLinkTargetWritableSchema, PdfPageActionsSchema, PdfPointSchema, PdfQuadSchema, PdfRectDifferencesSchema, PdfRectSchema, PdfRotationSchema, PdfSaveModeSchema, PdfSizeSchema, PointSchema, PolygonDTOSchema, PolygonDraftSchema, PolygonPatchSchema, PolylineDTOSchema, PolylineDraftSchema, PolylinePatchSchema, RectSchema, RedactionApplyResultSchema, RedactionApplyScopeSchema, RefetchReasonSchema, RenderTokenSchema, ResourceRefSchema, RevisionTokenSchema, SearchMatchSchema, SearchModeSchema, SearchQuerySchema, SearchRequestSchema, SearchSliceSchema, SearchSnippetSchema, SearchTokenSchema, SquareDTOSchema, SquareDraftSchema, SquarePatchSchema, SquigglyDTOSchema, SquigglyDraftSchema, SquigglyPatchSchema, StampDTOSchema, StampWireDraftSchema, StampWirePatchSchema, StandardFontSchema, StrikeoutDTOSchema, StrikeoutDraftSchema, StrikeoutIntentSchema, StrikeoutPatchSchema, TextAlignmentSchema, TextDTOSchema, TextDraftSchema, TextPatchSchema, ToggleFieldWidgetSchema, UnderlineDTOSchema, UnderlineDraftSchema, UnderlinePatchSchema, UnsupportedDTOSchema, UnsupportedDraftSchema, UnsupportedPatchSchema, WeakAnnotationSessionPagesRequestSchema, WeakAnnotationSessionResponseSchema, WidgetAppearanceSchema, WidgetPlacementSchema, WireAttachmentFileSchema, annotationAppearancesImageOptionsToToken, annotationAppearancesImageOptionsToWire, annotationRenderOptionsFromImageOptions, applyCdnAccess, cdnCoverageForScope, checkResourceAccess, decodeActionsToken, decodeAnnotationAppearancesRenderToken, decodeAnnotationToken, decodeAttachmentsToken, decodeContentToken, decodeDocToken, decodeDownloadToken, decodeLayoutToken, decodeMetadataToken, decodeRenderToken, decodeSearchToken, decodeToken, decodeTokenText, encodeActionsToken, encodeAnnotationAppearancesRenderToken, encodeAnnotationToken, encodeAttachmentsToken, encodeContentToken, encodeDocToken, encodeDownloadToken, encodeLayoutToken, encodeMetadataToken, encodeRenderToken, encodeSearchToken, encodeToken, encodeTokenText, flatten, pageRenderOptionsFromImageOptions, renderImageOptionsToToken, renderImageOptionsToWire, resolveResourceIdForPath, unflatten, wirePaths };
1306
+ export { ANNOTATION_KINDS, AccessRequestSchema, AccessResponseSchema, ActionsTokenSchema, AnnotationAppearanceManifestSchema, AnnotationAppearancesQuerySchema, AnnotationAppearancesRenderTokenSchema, AnnotationBaseShape, AnnotationBorderStyleSchema, AnnotationCreateResultSchema, AnnotationDTOSchema, AnnotationDeleteResultSchema, AnnotationDraftBaseShape, AnnotationDraftSchema, AnnotationFlagsPartialSchema, AnnotationFlagsSchema, AnnotationListMutationMetaSchema, AnnotationListPageSnapshotSchema, AnnotationListSnapshotAllPagesSchema, AnnotationMoveResultSchema, AnnotationPatchBaseShape, AnnotationPatchSchema, AnnotationRefSchema, AnnotationStableIdSchema, AnnotationTokenSchema, AnnotationUpdateResultSchema, AppearanceOutcomeSchema, AttachmentCreateResultSchema, AttachmentDeleteResultSchema, AttachmentFileInfoSchema, AttachmentsCacheSchema, BlendModeSchema, CacheDeltaSchema, CachePinsSchema, CalloutLineSchema, CaretDTOSchema, CaretDraftSchema, CaretIntentSchema, CaretPatchSchema, CircleDTOSchema, CircleDraftSchema, CirclePatchSchema, ColorSchema, ContentTokenSchema, DEFAULT_LAYER_NAME, DOC_RESOURCES, DocTokenSchema, DocumentActionsSnapshotSchema, DocumentHeadSchema, DocumentManifestSchema, DocumentMetadataSchema, DocumentSecurityStateSchema, EmbeddedFileItemSchema, EmbeddedFileRefSchema, EngineErrorPayloadSchema, FileAttachmentDTOSchema, FileAttachmentIconSchema, FileAttachmentPatchSchema, FileAttachmentWireDraftSchema, FormDataFormatSchema, FormEffectSchema, FormEffectsResultSchema, FormFieldCreateResultSchema, FormFieldDTOSchema, FormFieldDeleteResultSchema, FormFieldDraftSchema, FormFieldFlagsSchema, FormFieldOptionInputSchema, FormFieldOptionSchema, FormFieldPatchSchema, FormFieldRefSchema, FormFieldUpdateResultSchema, FormFieldValueSchema, FormImportResultSchema, FormKindSchema, FormRepairResultSchema, FormSetValueResultSchema, FormSnapshotSchema, FormValueEntrySchema, FormWidgetLinkResultSchema, FormWidgetRefSchema, FreeTextDTOSchema, FreeTextDraftSchema, FreeTextIntentSchema, FreeTextPatchSchema, HighlightDTOSchema, HighlightDraftSchema, HighlightPatchSchema, InkDTOSchema, InkDraftSchema, InkIntentSchema, InkListSchema, InkPatchSchema, KIND_BY_SUBTYPE, LayerScopesSchema, LayoutTokenSchema, LineDTOSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, MutationMetaSchema, NoteIconSchema, OpenDocumentResponseSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageLayoutSchema, PageListSnapshotSchema, PageMoveInputSchema, PageMoveResultSchema, PageNetworkRenderFormatSchema, PageRenderAnnotatedQuerySchema, PageRenderQuerySchema, PageRotateInputSchema, PageRotateResultSchema, PageStateSchema, PageStructureCacheSchema, PageTextSnapshotSchema, PdfActionNodeSchema, PdfActionTreeSchema, PdfActionTypeSchema, PdfAnnotationActionsSchema, PdfDestinationSchema, PdfFieldActionsSchema, PdfLinkTargetSchema, PdfLinkTargetWritableSchema, PdfPageActionsSchema, PdfPointSchema, PdfQuadSchema, PdfRectDifferencesSchema, PdfRectSchema, PdfRotationSchema, PdfSaveModeSchema, PdfSizeSchema, PointSchema, PolygonDTOSchema, PolygonDraftSchema, PolygonPatchSchema, PolylineDTOSchema, PolylineDraftSchema, PolylinePatchSchema, RectSchema, RedactionApplyResultSchema, RedactionApplyScopeSchema, RefetchReasonSchema, RenderTokenSchema, ResourceRefSchema, RevisionTokenSchema, SearchMatchSchema, SearchModeSchema, SearchQuerySchema, SearchRequestSchema, SearchSliceSchema, SearchSnippetSchema, SearchTokenSchema, SquareDTOSchema, SquareDraftSchema, SquarePatchSchema, SquigglyDTOSchema, SquigglyDraftSchema, SquigglyPatchSchema, StampDTOSchema, StampWireDraftSchema, StampWirePatchSchema, StandardFontSchema, StrikeoutDTOSchema, StrikeoutDraftSchema, StrikeoutIntentSchema, StrikeoutPatchSchema, TextAlignmentSchema, TextDTOSchema, TextDraftSchema, TextPatchSchema, ToggleFieldWidgetSchema, UnderlineDTOSchema, UnderlineDraftSchema, UnderlinePatchSchema, UnsupportedDTOSchema, UnsupportedDraftSchema, UnsupportedPatchSchema, WeakAnnotationSessionPagesRequestSchema, WeakAnnotationSessionResponseSchema, WidgetAppearanceSchema, WidgetPlacementSchema, WireAttachmentFileSchema, annotationAppearancesImageOptionsToToken, annotationAppearancesImageOptionsToWire, annotationRenderOptionsFromImageOptions, applyCdnAccess, cdnCoverageForScope, checkResourceAccess, decodeActionsToken, decodeAnnotationAppearancesRenderToken, decodeAnnotationToken, decodeAttachmentsToken, decodeContentToken, decodeDocToken, decodeDownloadToken, decodeLayoutToken, decodeMetadataToken, decodeRenderToken, decodeSearchToken, decodeToken, decodeTokenText, encodeActionsToken, encodeAnnotationAppearancesRenderToken, encodeAnnotationToken, encodeAttachmentsToken, encodeContentToken, encodeDocToken, encodeDownloadToken, encodeLayoutToken, encodeMetadataToken, encodeRenderToken, encodeSearchToken, encodeToken, encodeTokenText, flatten, pageRenderOptionsFromImageOptions, renderImageOptionsToToken, renderImageOptionsToWire, resolveResourceIdForPath, unflatten, wirePaths, wireTemplates };
1279
1307
 
1280
1308
  //# sourceMappingURL=wire.js.map