@embedpdf/engine-core 3.0.0-next.11 → 3.0.0-next.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AnnotationListSnapshot-C1U3XUxP.d.cts → AnnotationListSnapshot-x6tKulNV.d.cts} +153 -28
- package/dist/{AnnotationListSnapshot-C1U3XUxP.d.ts → AnnotationListSnapshot-x6tKulNV.d.ts} +153 -28
- package/dist/{DocumentSecurityService-7nL9aY75.d.ts → DocumentSecurityService-9MawYxP-.d.ts} +2 -2
- package/dist/{DocumentSecurityService-6rhztZlz.d.cts → DocumentSecurityService-CK0pejAK.d.cts} +2 -2
- package/dist/{Engine-D3868xIU.d.cts → Engine--0XF0UAK.d.cts} +56 -3
- package/dist/{Engine-CWnAKccD.d.ts → Engine-Ds0ytbl6.d.ts} +56 -3
- package/dist/{builders-Do6_4KnS.cjs → builders-8Hl1AYNU.cjs} +14 -8
- package/dist/builders-8Hl1AYNU.cjs.map +1 -0
- package/dist/{builders-Cdz34nbF.js → builders-DOjcKDWQ.js} +14 -8
- package/dist/builders-DOjcKDWQ.js.map +1 -0
- package/dist/conformance.cjs +552 -95
- package/dist/conformance.cjs.map +1 -1
- package/dist/conformance.d.cts +50 -3
- package/dist/conformance.d.ts +50 -3
- package/dist/conformance.js +550 -96
- package/dist/conformance.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.d.cts +66 -5
- package/dist/runtime.d.ts +66 -5
- package/dist/runtime.js +1 -1
- package/dist/{schemas-XGrNVMDd.js → schemas-DOyVEPk7.js} +51 -5
- package/dist/schemas-DOyVEPk7.js.map +1 -0
- package/dist/{schemas-CS5iPpX5.cjs → schemas-RChsAMWw.cjs} +92 -4
- package/dist/schemas-RChsAMWw.cjs.map +1 -0
- package/dist/wire.cjs +23 -1
- package/dist/wire.cjs.map +1 -1
- package/dist/wire.d.cts +32 -3
- package/dist/wire.d.ts +32 -3
- package/dist/wire.js +17 -2
- package/dist/wire.js.map +1 -1
- package/package.json +1 -1
- package/dist/builders-Cdz34nbF.js.map +0 -1
- package/dist/builders-Do6_4KnS.cjs.map +0 -1
- package/dist/schemas-CS5iPpX5.cjs.map +0 -1
- package/dist/schemas-XGrNVMDd.js.map +0 -1
package/dist/wire.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as CaretDraftSchema, $
|
|
2
|
-
import { c as DocumentSecurityState, f as PdfPermissionInfo } from "./DocumentSecurityService-
|
|
1
|
+
import { $ as CaretDraftSchema, $c as Color, $i as FormFieldRef, $n as PageNameResult, $r as FormImportResult, $s as PageLayout, $t as CircleDraftSchema, A as FileAttachmentWireDraftSchema, Ai as FormKind, Bi as FormFieldDTO, Bl as DocumentMetadata, Bn as PageDeleteResult, Ca as ManifestPage, D as FileAttachmentDTOSchema, Dl as PdfActionTargetRef, Dn as HighlightPatchSchema, Dt as LinePatchSchema, El as PdfActionNode, En as HighlightDraftSchema, Et as LineDraftSchema, F as StampDTOSchema, Fn as RedactionApplyScope, Fr as SearchSlice, G as TextDTOSchema, Gc as AnnotationRef, Gn as AnnotationFlattenInput, Go as PdfSaveMode, Ha as AttachmentDeleteResult, Hi as FormFieldFlags, Hn as PageRotateResult, I as StampWireDraftSchema, Ic as DocCapability, Ir as SearchSliceBudget, Jc as AnnotationBorderStyle, Jn as PageFlattenInput, Jo as AnnotationAppearanceImageOptions, Jt as SquarePatchSchema, K as TextDraftSchema, Kc as RevisionToken, Ko as CachePins, Kt as SquareDTOSchema, L as StampWirePatchSchema, Ll as PdfDestination, Lo as SerializedEngineError, Lr as SearchSnippet, Lt as PolygonDTOSchema, Mn as MetadataUpdateResult, Mo as AnnotationStableId, Ms as PageTextSnapshot, Mt as PolylineDraftSchema, Ni as WidgetAppearanceSchema, Nr as SearchQuery, Nt as PolylinePatchSchema, O as FileAttachmentIconSchema, Ol as PdfActionTree, P as ResourceRefSchema, Pn as RedactionApplyResult, Pr as SearchRequest, Q as CaretDTOSchema, Qc as CaretIntent, Qi as FormValueEntry, Qr as FormFieldUpdateResult, Qs as PageBoxes, Qt as CircleDTOSchema, Rt as PolygonDraftSchema, Sa as DocumentManifest, Sl as PdfSize, Ta as LayerScopes, Ti as FormFieldOptionInput, Tn as HighlightDTOSchema, Ts as PageGeometrySnapshot, Tt as LineDTOSchema, Ua as AttachmentsCache, Uc as PdfBits, Ui as FormFieldOption, Un as PageRotateInput, Va as AttachmentCreateResult, Vn as PageDeleteInput, W as NoteIconSchema, Wn as AnnotationAppearanceExportInput, Xi as ToggleFieldWidget, Xn as PageFlattenResult, Xo as AnnotationAppearanceManifest, Xr as FormFieldCreateResult, Yc as AnnotationFlags, Zc as BlendMode, Zr as FormFieldDeleteResult, Zs as PageListSnapshot, _ as UnsupportedPatchSchema, _a as RefetchReason, _l as LinePoints, _t as LinkDraftSchema, a as AnnotationDTOSchema, aa as AnnotationMoveResult, ar as PageMoveInput, at as FreeTextDraftSchema, bl as PdfRect, bn as UnderlineDraftSchema, bt as PdfLinkTargetWritableSchema, cn as StrikeoutDraftSchema, co as EmbeddedFileItem, di as FormSubmissionReceiptSchema, dl as StandardFont, dt as InkDraftSchema, ea as FormWidgetRef, ei as FormRepairResult, en as CirclePatchSchema, er as PageNameInput, es as AnnotationAppearanceRenderOptions, et as CaretPatchSchema, f as KIND_BY_SUBTYPE, fl as StrikeoutIntent, ft as InkPatchSchema, g as UnsupportedDraftSchema, ga as AnnotationListMutationMeta, gt as LinkDTOSchema, h as UnsupportedDTOSchema, hi as FormFieldValue, hl as InkList, hn as SquigglyPatchSchema, ia as AnnotationDeleteResult, il as LineEndings, ir as PageStructureCache, it as FreeTextDTOSchema, j as WireAttachmentFileSchema, ji as FormSnapshot, jr as SearchMatch, jt as PolylineDTOSchema, k as FileAttachmentPatchSchema, ki as WidgetPlacement, kl as PdfActionType, la as AppearanceOutcome, li as FormSubmissionEntrySchema, ln as StrikeoutPatchSchema, lo as EmbeddedFileRef, mi as FormDataFormat, ml as CalloutLine, mn as SquigglyDraftSchema, n as AnnotationListSnapshotAllPages, ni as FormWidgetLinkResult, nl as InkIntent, oa as AnnotationUpdateResult, oi as FormEffectsResult, ol as PdfRectDifferences, oo as AttachmentFileInfo, ot as FreeTextPatchSchema, pi as FormSubmissionRequestSchema, pl as TextAlignment, pn as SquigglyDTOSchema, ps as PageNetworkRenderFormat, q as TextPatchSchema, qn as AnnotationFlattenResult, qt as SquareDraftSchema, r as ANNOTATION_KINDS, ra as AnnotationCreateResult, rc as MetadataPatch, ri as FormEffect, rl as LineEnding, rr as PageMoveResult, rs as PageState, s as AnnotationDraftSchema, sn as StrikeoutDTOSchema, t as AnnotationListPageSnapshot, tc as NamedPageEntry, ti as FormSetValueResult, tl as FreeTextIntent, tr as PageRemoveNameInput, ts as AnnotationAppearancesQuery, u as AnnotationPatchSchema, us as PageImageOptions, ut as InkDTOSchema, va as CacheDelta, vi as FormFieldPatch, vl as PdfPoint, vs as PageRenderOptions, vt as LinkPatchSchema, wa as LayerScopePlane, wi as FormFieldDraft, wl as DocumentActionsSnapshot, xl as PdfRotation, xn as UnderlinePatchSchema, xt as PdfDestinationSchema, ya as MutationMeta, yl as PdfQuad, yn as UnderlineDTOSchema, ys as PageRenderQuery, yt as PdfLinkTargetSchema, zn as PageInsertResult, zt as PolygonPatchSchema } from "./AnnotationListSnapshot-x6tKulNV.cjs";
|
|
2
|
+
import { c as DocumentSecurityState, f as PdfPermissionInfo } from "./DocumentSecurityService-CK0pejAK.cjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/geometry/schemas.d.ts
|
|
5
5
|
declare const PdfPointSchema: z.ZodType<PdfPoint>;
|
|
@@ -630,6 +630,12 @@ declare const PageBoxesSchema: z.ZodType<PageBoxes>;
|
|
|
630
630
|
*/
|
|
631
631
|
declare const PageLayoutSchema: z.ZodType<PageLayout>;
|
|
632
632
|
declare const PageFlattenResultSchema: z.ZodType<PageFlattenResult>;
|
|
633
|
+
/** See `AnnotationFlattenResult`. */
|
|
634
|
+
declare const AnnotationFlattenResultSchema: z.ZodType<AnnotationFlattenResult>;
|
|
635
|
+
/** `annotations.flatten` input — see `AnnotationFlattenInput`. */
|
|
636
|
+
declare const AnnotationFlattenInputSchema: z.ZodType<AnnotationFlattenInput>;
|
|
637
|
+
/** `annotations.exportAppearance` input — see `AnnotationAppearanceExportInput`. */
|
|
638
|
+
declare const AnnotationAppearanceExportInputSchema: z.ZodType<AnnotationAppearanceExportInput>;
|
|
633
639
|
declare const PageFlattenInputSchema: z.ZodType<PageFlattenInput>;
|
|
634
640
|
declare const RedactionApplyScopeSchema: z.ZodType<RedactionApplyScope>;
|
|
635
641
|
declare const RedactionApplyResultSchema: z.ZodType<RedactionApplyResult>;
|
|
@@ -638,7 +644,13 @@ declare const RedactionApplyResultSchema: z.ZodType<RedactionApplyResult>;
|
|
|
638
644
|
* `pageObjectNumber` everywhere except the per-element `index`, which is
|
|
639
645
|
* display order and intentionally not an identity. Carries geometry only.
|
|
640
646
|
*/
|
|
647
|
+
/** See `NamedPageEntry`: decoded key + what it resolves to. */
|
|
648
|
+
declare const NamedPageEntrySchema: z.ZodType<NamedPageEntry>;
|
|
641
649
|
declare const PageListSnapshotSchema: z.ZodType<PageListSnapshot>;
|
|
650
|
+
/** `pages.setName` input — see `PageNameInput`. */
|
|
651
|
+
declare const PageNameInputSchema: z.ZodType<PageNameInput>;
|
|
652
|
+
/** `pages.removeName` input — see `PageRemoveNameInput`. */
|
|
653
|
+
declare const PageRemoveNameInputSchema: z.ZodType<PageRemoveNameInput>;
|
|
642
654
|
/**
|
|
643
655
|
* Page reorder input. Pages are always addressed by `pageObjectNumber`;
|
|
644
656
|
* `destIndex` is the insertion point in the post-removal index space.
|
|
@@ -655,6 +667,8 @@ declare const PageStructureCacheSchema: z.ZodType<PageStructureCache>;
|
|
|
655
667
|
* post-move order is returned so callers can swap their snapshot directly.
|
|
656
668
|
*/
|
|
657
669
|
declare const PageMoveResultSchema: z.ZodType<PageMoveResult>;
|
|
670
|
+
/** Named-page mutation result — layout-shaped, see `PageNameResult`. */
|
|
671
|
+
declare const PageNameResultSchema: z.ZodType<PageNameResult>;
|
|
658
672
|
/**
|
|
659
673
|
* Page rotate input. ABSOLUTE rotation (idempotent — see `PageRotateInput`),
|
|
660
674
|
* one value applied to every listed page.
|
|
@@ -1187,6 +1201,12 @@ declare const wirePaths: {
|
|
|
1187
1201
|
readonly layerPageAnnotationsCreate: (docId: string, layerName: string, pageObjectNumber: number) => string;
|
|
1188
1202
|
readonly layerAnnotationByKey: (docId: string, layerName: string, pageObjectNumber: number, key: string) => string;
|
|
1189
1203
|
readonly layerPageAnnotationsMove: (docId: string, layerName: string, pageObjectNumber: number) => string;
|
|
1204
|
+
/** POST: flatten a chosen set of the page's annotations into its content
|
|
1205
|
+
* (a content + annotation mutation of that page). */
|
|
1206
|
+
readonly layerPageAnnotationsFlatten: (docId: string, layerName: string, pageObjectNumber: number) => string;
|
|
1207
|
+
/** POST: the chosen annotations' appearances as one single-page PDF — a
|
|
1208
|
+
* derived read (application/pdf, no-store), gated like pages/extract. */
|
|
1209
|
+
readonly layerPageAnnotationsAppearance: (docId: string, layerName: string, pageObjectNumber: number) => string;
|
|
1190
1210
|
/**
|
|
1191
1211
|
* GET: the reconciled form snapshot (field tree + widget joins) for the
|
|
1192
1212
|
* layer's CURRENT state. Forms are document-scoped (one AcroForm per
|
|
@@ -1246,6 +1266,11 @@ declare const wirePaths: {
|
|
|
1246
1266
|
readonly layerPagesMove: (docId: string, layerName: string) => string;
|
|
1247
1267
|
readonly layerPagesRotate: (docId: string, layerName: string) => string;
|
|
1248
1268
|
readonly layerPagesDelete: (docId: string, layerName: string) => string;
|
|
1269
|
+
/** POST: register/rename a `/Names /Pages` entry — a page-STRUCTURE
|
|
1270
|
+
* mutation (docVersion + layoutVersion advance; reads ride `/layout`). */
|
|
1271
|
+
readonly layerPagesNames: (docId: string, layerName: string) => string;
|
|
1272
|
+
/** POST: remove a `/Names /Pages` entry (the page stays). */
|
|
1273
|
+
readonly layerPagesNamesDelete: (docId: string, layerName: string) => string;
|
|
1249
1274
|
readonly layerPagesFlatten: (docId: string, layerName: string) => string;
|
|
1250
1275
|
/**
|
|
1251
1276
|
* POST (multipart mutation envelope): copy every page of the `source`
|
|
@@ -1298,6 +1323,8 @@ declare const wireTemplates: {
|
|
|
1298
1323
|
readonly layerAnnotationItemsAll: "/v1/docs/:docId/layers/:layerName/annotations/items";
|
|
1299
1324
|
readonly layerAnnotationItems: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items";
|
|
1300
1325
|
readonly layerAnnotationItem: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/:annotKey";
|
|
1326
|
+
readonly layerAnnotationItemsFlatten: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/flatten";
|
|
1327
|
+
readonly layerAnnotationItemsAppearance: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/appearance";
|
|
1301
1328
|
readonly layerForm: "/v1/docs/:docId/layers/:layerName/form";
|
|
1302
1329
|
readonly layerFormFieldValue: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/value";
|
|
1303
1330
|
readonly layerFormFieldReset: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/reset";
|
|
@@ -1305,6 +1332,8 @@ declare const wireTemplates: {
|
|
|
1305
1332
|
readonly layerPagesMove: "/v1/docs/:docId/layers/:layerName/pages/move";
|
|
1306
1333
|
readonly layerPagesRotate: "/v1/docs/:docId/layers/:layerName/pages/rotate";
|
|
1307
1334
|
readonly layerPagesDelete: "/v1/docs/:docId/layers/:layerName/pages/delete";
|
|
1335
|
+
readonly layerPagesNames: "/v1/docs/:docId/layers/:layerName/pages/names";
|
|
1336
|
+
readonly layerPagesNamesDelete: "/v1/docs/:docId/layers/:layerName/pages/names/delete";
|
|
1308
1337
|
readonly layerPagesFlatten: "/v1/docs/:docId/layers/:layerName/pages/flatten";
|
|
1309
1338
|
readonly layerPagesInsert: "/v1/docs/:docId/layers/:layerName/pages/insert";
|
|
1310
1339
|
readonly layerPagesInsertBlank: "/v1/docs/:docId/layers/:layerName/pages/insert-blank";
|
|
@@ -1827,5 +1856,5 @@ declare const AttachmentFileInfoSchema: z.ZodType<AttachmentFileInfo>;
|
|
|
1827
1856
|
declare const EmbeddedFileRefSchema: z.ZodType<EmbeddedFileRef>;
|
|
1828
1857
|
declare const EmbeddedFileItemSchema: z.ZodType<EmbeddedFileItem>;
|
|
1829
1858
|
//#endregion
|
|
1830
|
-
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, FormSubmissionEntrySchema, FormSubmissionReceiptSchema, FormSubmissionRequestSchema, FormValueEntrySchema, FormWidgetLinkResultSchema, FormWidgetRefSchema, FreeTextDTOSchema, FreeTextDraftSchema, FreeTextIntentSchema, FreeTextPatchSchema, HighlightDTOSchema, HighlightDraftSchema, HighlightPatchSchema, InkDTOSchema, InkDraftSchema, InkIntentSchema, InkListSchema, InkPatchSchema, KIND_BY_SUBTYPE, type LayerScopePlane, type LayerScopes, LayerScopesSchema, LayoutTokenSchema, LineDTOSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, type ManifestPage, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, type MutationMeta, MutationMetaSchema, NoteIconSchema, type OpenDocumentResponse, OpenDocumentResponseSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageExtractInputSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageInsertBlankInputSchema, PageInsertInputSchema, PageInsertResultSchema, PageLayoutSchema, PageListSnapshotSchema, PageMoveInputSchema, PageMoveResultSchema, PageNetworkRenderFormatSchema, PageRenderAnnotatedQuerySchema, PageRenderQuerySchema, PageRotateInputSchema, PageRotateResultSchema, PageStateSchema, PageStructureCacheSchema, PageTextSnapshotSchema, PdfActionNodeSchema, PdfActionTargetRefSchema, PdfActionTreeSchema, PdfActionTypeSchema, PdfActionWireComponents, PdfAnnotationActionsSchema, PdfDestinationSchema, PdfFieldActionsSchema, PdfLinkTargetSchema, PdfLinkTargetWritableSchema, PdfPageActionsSchema, PdfPointSchema, PdfQuadSchema, PdfRectDifferencesSchema, PdfRectSchema, PdfRotationSchema, PdfSaveModeSchema, PdfSizeSchema, PointSchema, PolygonDTOSchema, PolygonDraftSchema, PolygonPatchSchema, PolylineDTOSchema, PolylineDraftSchema, PolylinePatchSchema, RectSchema, RedactionApplyResultSchema, RedactionApplyScopeSchema, RefetchReasonSchema, type RenderPolicy, RenderTokenSchema, type RenderVersions, ResourceRefSchema, RevisionTokenSchema, type RouteKind, SEARCH_RESULT_FORMAT, SearchMatchSchema, SearchModeSchema, SearchQuerySchema, SearchRequestSchema, SearchSliceSchema, SearchSnippetSchema, type SearchToken, SearchTokenSchema, SquareDTOSchema, SquareDraftSchema, SquarePatchSchema, SquigglyDTOSchema, SquigglyDraftSchema, SquigglyPatchSchema, StampDTOSchema, StampWireDraftSchema, StampWirePatchSchema, StandardFontSchema, StrikeoutDTOSchema, StrikeoutDraftSchema, StrikeoutIntentSchema, StrikeoutPatchSchema, TextAlignmentSchema, TextDTOSchema, TextDraftSchema, TextPatchSchema, ToggleFieldWidgetSchema, type TokenInput, type TokenQuery, type TokenScalar, type TokenSchema, UnderlineDTOSchema, UnderlineDraftSchema, UnderlinePatchSchema, UnsupportedDTOSchema, UnsupportedDraftSchema, UnsupportedPatchSchema, type WeakAnnotationSessionPagesRequest, WeakAnnotationSessionPagesRequestSchema, type WeakAnnotationSessionResponse, WeakAnnotationSessionResponseSchema, WidgetAppearanceSchema, WidgetPlacementSchema, WireAttachmentFileSchema, type WireFlat, type WireScalar, annotationAppearancesImageOptionsToToken, annotationAppearancesImageOptionsToWire, annotationRenderOptionsFromImageOptions, applyCdnAccess, cdnCoverageForScope, checkResourceAccess, decodeActionsToken, decodeAnnotationAppearancesRenderToken, decodeAnnotationToken, decodeAnnotationsAllToken, decodeAttachmentsToken, decodeContentToken, decodeDocToken, decodeDownloadToken, decodeLayoutToken, decodeMetadataToken, decodeRenderToken, decodeSearchToken, decodeToken, decodeTokenText, encodeActionsToken, encodeAnnotationAppearancesRenderToken, encodeAnnotationToken, encodeAnnotationsAllToken, encodeAttachmentsToken, encodeContentToken, encodeDocToken, encodeDownloadToken, encodeLayoutToken, encodeMetadataToken, encodeRenderToken, encodeSearchToken, encodeToken, encodeTokenText, flatten, pageRenderOptionsFromImageOptions, renderImageOptionsToToken, renderImageOptionsToWire, resolveResourceIdForPath, unflatten, wirePaths, wireTemplates };
|
|
1859
|
+
export { ANNOTATION_KINDS, type AccessRequest, AccessRequestSchema, type AccessResponse, AccessResponseSchema, ActionsTokenSchema, AnnotationAppearanceExportInputSchema, AnnotationAppearanceManifestSchema, AnnotationAppearancesQuerySchema, AnnotationAppearancesRenderTokenSchema, AnnotationBaseShape, AnnotationBorderStyleSchema, AnnotationCreateResultSchema, AnnotationDTOSchema, AnnotationDeleteResultSchema, AnnotationDraftBaseShape, AnnotationDraftSchema, AnnotationFlagsPartialSchema, AnnotationFlagsSchema, AnnotationFlattenInputSchema, AnnotationFlattenResultSchema, AnnotationListMutationMetaSchema, AnnotationListPageSnapshotSchema, AnnotationListSnapshotAllPagesSchema, AnnotationMoveResultSchema, AnnotationPatchBaseShape, AnnotationPatchSchema, AnnotationRefSchema, type AnnotationRenderVersion, AnnotationStableIdSchema, AnnotationTokenSchema, AnnotationUpdateResultSchema, AppearanceOutcomeSchema, type ApplyCdnAccessInput, type ApplyCdnAccessResult, AttachmentCreateResultSchema, AttachmentDeleteResultSchema, AttachmentFileInfoSchema, AttachmentsCacheSchema, BlendModeSchema, type CacheDelta, CacheDeltaSchema, CachePinsSchema, CalloutLineSchema, type CapabilityRequirement, CaretDTOSchema, CaretDraftSchema, CaretIntentSchema, CaretPatchSchema, type CdnAccessInfoForApply, type CdnCoverageEntry, CircleDTOSchema, CircleDraftSchema, CirclePatchSchema, ColorSchema, ContentTokenSchema, DEFAULT_LAYER_NAME, DOC_RESOURCES, type DocResourceDescriptor, type DocResourceId, DocTokenSchema, DocumentActionsSnapshotSchema, type DocumentHead, DocumentHeadSchema, type DocumentManifest, DocumentManifestSchema, DocumentMetadataSchema, DocumentSecurityStateSchema, type DownloadToken, EmbeddedFileItemSchema, EmbeddedFileRefSchema, EngineErrorPayloadSchema, FileAttachmentDTOSchema, FileAttachmentIconSchema, FileAttachmentPatchSchema, FileAttachmentWireDraftSchema, FormDataFormatSchema, FormEffectSchema, FormEffectsResultSchema, FormFieldCreateResultSchema, FormFieldDTOSchema, FormFieldDeleteResultSchema, FormFieldDraftSchema, FormFieldFlagsSchema, FormFieldOptionInputSchema, FormFieldOptionSchema, FormFieldPatchSchema, FormFieldRefSchema, FormFieldUpdateResultSchema, FormFieldValueSchema, FormImportResultSchema, FormKindSchema, FormRepairResultSchema, FormSetValueResultSchema, FormSnapshotSchema, FormSubmissionEntrySchema, FormSubmissionReceiptSchema, FormSubmissionRequestSchema, FormValueEntrySchema, FormWidgetLinkResultSchema, FormWidgetRefSchema, FreeTextDTOSchema, FreeTextDraftSchema, FreeTextIntentSchema, FreeTextPatchSchema, HighlightDTOSchema, HighlightDraftSchema, HighlightPatchSchema, InkDTOSchema, InkDraftSchema, InkIntentSchema, InkListSchema, InkPatchSchema, KIND_BY_SUBTYPE, type LayerScopePlane, type LayerScopes, LayerScopesSchema, LayoutTokenSchema, LineDTOSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, type ManifestPage, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, type MutationMeta, MutationMetaSchema, NamedPageEntrySchema, NoteIconSchema, type OpenDocumentResponse, OpenDocumentResponseSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageExtractInputSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageInsertBlankInputSchema, PageInsertInputSchema, PageInsertResultSchema, PageLayoutSchema, PageListSnapshotSchema, PageMoveInputSchema, PageMoveResultSchema, PageNameInputSchema, PageNameResultSchema, PageNetworkRenderFormatSchema, PageRemoveNameInputSchema, PageRenderAnnotatedQuerySchema, PageRenderQuerySchema, PageRotateInputSchema, PageRotateResultSchema, PageStateSchema, PageStructureCacheSchema, PageTextSnapshotSchema, PdfActionNodeSchema, PdfActionTargetRefSchema, PdfActionTreeSchema, PdfActionTypeSchema, PdfActionWireComponents, PdfAnnotationActionsSchema, PdfDestinationSchema, PdfFieldActionsSchema, PdfLinkTargetSchema, PdfLinkTargetWritableSchema, PdfPageActionsSchema, PdfPointSchema, PdfQuadSchema, PdfRectDifferencesSchema, PdfRectSchema, PdfRotationSchema, PdfSaveModeSchema, PdfSizeSchema, PointSchema, PolygonDTOSchema, PolygonDraftSchema, PolygonPatchSchema, PolylineDTOSchema, PolylineDraftSchema, PolylinePatchSchema, RectSchema, RedactionApplyResultSchema, RedactionApplyScopeSchema, RefetchReasonSchema, type RenderPolicy, RenderTokenSchema, type RenderVersions, ResourceRefSchema, RevisionTokenSchema, type RouteKind, SEARCH_RESULT_FORMAT, SearchMatchSchema, SearchModeSchema, SearchQuerySchema, SearchRequestSchema, SearchSliceSchema, SearchSnippetSchema, type SearchToken, SearchTokenSchema, SquareDTOSchema, SquareDraftSchema, SquarePatchSchema, SquigglyDTOSchema, SquigglyDraftSchema, SquigglyPatchSchema, StampDTOSchema, StampWireDraftSchema, StampWirePatchSchema, StandardFontSchema, StrikeoutDTOSchema, StrikeoutDraftSchema, StrikeoutIntentSchema, StrikeoutPatchSchema, TextAlignmentSchema, TextDTOSchema, TextDraftSchema, TextPatchSchema, ToggleFieldWidgetSchema, type TokenInput, type TokenQuery, type TokenScalar, type TokenSchema, UnderlineDTOSchema, UnderlineDraftSchema, UnderlinePatchSchema, UnsupportedDTOSchema, UnsupportedDraftSchema, UnsupportedPatchSchema, type WeakAnnotationSessionPagesRequest, WeakAnnotationSessionPagesRequestSchema, type WeakAnnotationSessionResponse, WeakAnnotationSessionResponseSchema, WidgetAppearanceSchema, WidgetPlacementSchema, WireAttachmentFileSchema, type WireFlat, type WireScalar, annotationAppearancesImageOptionsToToken, annotationAppearancesImageOptionsToWire, annotationRenderOptionsFromImageOptions, applyCdnAccess, cdnCoverageForScope, checkResourceAccess, decodeActionsToken, decodeAnnotationAppearancesRenderToken, decodeAnnotationToken, decodeAnnotationsAllToken, decodeAttachmentsToken, decodeContentToken, decodeDocToken, decodeDownloadToken, decodeLayoutToken, decodeMetadataToken, decodeRenderToken, decodeSearchToken, decodeToken, decodeTokenText, encodeActionsToken, encodeAnnotationAppearancesRenderToken, encodeAnnotationToken, encodeAnnotationsAllToken, encodeAttachmentsToken, encodeContentToken, encodeDocToken, encodeDownloadToken, encodeLayoutToken, encodeMetadataToken, encodeRenderToken, encodeSearchToken, encodeToken, encodeTokenText, flatten, pageRenderOptionsFromImageOptions, renderImageOptionsToToken, renderImageOptionsToWire, resolveResourceIdForPath, unflatten, wirePaths, wireTemplates };
|
|
1831
1860
|
//# sourceMappingURL=wire.d.cts.map
|
package/dist/wire.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as CaretDraftSchema, $
|
|
2
|
-
import { c as DocumentSecurityState, f as PdfPermissionInfo } from "./DocumentSecurityService-
|
|
1
|
+
import { $ as CaretDraftSchema, $c as Color, $i as FormFieldRef, $n as PageNameResult, $r as FormImportResult, $s as PageLayout, $t as CircleDraftSchema, A as FileAttachmentWireDraftSchema, Ai as FormKind, Bi as FormFieldDTO, Bl as DocumentMetadata, Bn as PageDeleteResult, Ca as ManifestPage, D as FileAttachmentDTOSchema, Dl as PdfActionTargetRef, Dn as HighlightPatchSchema, Dt as LinePatchSchema, El as PdfActionNode, En as HighlightDraftSchema, Et as LineDraftSchema, F as StampDTOSchema, Fn as RedactionApplyScope, Fr as SearchSlice, G as TextDTOSchema, Gc as AnnotationRef, Gn as AnnotationFlattenInput, Go as PdfSaveMode, Ha as AttachmentDeleteResult, Hi as FormFieldFlags, Hn as PageRotateResult, I as StampWireDraftSchema, Ic as DocCapability, Ir as SearchSliceBudget, Jc as AnnotationBorderStyle, Jn as PageFlattenInput, Jo as AnnotationAppearanceImageOptions, Jt as SquarePatchSchema, K as TextDraftSchema, Kc as RevisionToken, Ko as CachePins, Kt as SquareDTOSchema, L as StampWirePatchSchema, Ll as PdfDestination, Lo as SerializedEngineError, Lr as SearchSnippet, Lt as PolygonDTOSchema, Mn as MetadataUpdateResult, Mo as AnnotationStableId, Ms as PageTextSnapshot, Mt as PolylineDraftSchema, Ni as WidgetAppearanceSchema, Nr as SearchQuery, Nt as PolylinePatchSchema, O as FileAttachmentIconSchema, Ol as PdfActionTree, P as ResourceRefSchema, Pn as RedactionApplyResult, Pr as SearchRequest, Q as CaretDTOSchema, Qc as CaretIntent, Qi as FormValueEntry, Qr as FormFieldUpdateResult, Qs as PageBoxes, Qt as CircleDTOSchema, Rt as PolygonDraftSchema, Sa as DocumentManifest, Sl as PdfSize, Ta as LayerScopes, Ti as FormFieldOptionInput, Tn as HighlightDTOSchema, Ts as PageGeometrySnapshot, Tt as LineDTOSchema, Ua as AttachmentsCache, Uc as PdfBits, Ui as FormFieldOption, Un as PageRotateInput, Va as AttachmentCreateResult, Vn as PageDeleteInput, W as NoteIconSchema, Wn as AnnotationAppearanceExportInput, Xi as ToggleFieldWidget, Xn as PageFlattenResult, Xo as AnnotationAppearanceManifest, Xr as FormFieldCreateResult, Yc as AnnotationFlags, Zc as BlendMode, Zr as FormFieldDeleteResult, Zs as PageListSnapshot, _ as UnsupportedPatchSchema, _a as RefetchReason, _l as LinePoints, _t as LinkDraftSchema, a as AnnotationDTOSchema, aa as AnnotationMoveResult, ar as PageMoveInput, at as FreeTextDraftSchema, bl as PdfRect, bn as UnderlineDraftSchema, bt as PdfLinkTargetWritableSchema, cn as StrikeoutDraftSchema, co as EmbeddedFileItem, di as FormSubmissionReceiptSchema, dl as StandardFont, dt as InkDraftSchema, ea as FormWidgetRef, ei as FormRepairResult, en as CirclePatchSchema, er as PageNameInput, es as AnnotationAppearanceRenderOptions, et as CaretPatchSchema, f as KIND_BY_SUBTYPE, fl as StrikeoutIntent, ft as InkPatchSchema, g as UnsupportedDraftSchema, ga as AnnotationListMutationMeta, gt as LinkDTOSchema, h as UnsupportedDTOSchema, hi as FormFieldValue, hl as InkList, hn as SquigglyPatchSchema, ia as AnnotationDeleteResult, il as LineEndings, ir as PageStructureCache, it as FreeTextDTOSchema, j as WireAttachmentFileSchema, ji as FormSnapshot, jr as SearchMatch, jt as PolylineDTOSchema, k as FileAttachmentPatchSchema, ki as WidgetPlacement, kl as PdfActionType, la as AppearanceOutcome, li as FormSubmissionEntrySchema, ln as StrikeoutPatchSchema, lo as EmbeddedFileRef, mi as FormDataFormat, ml as CalloutLine, mn as SquigglyDraftSchema, n as AnnotationListSnapshotAllPages, ni as FormWidgetLinkResult, nl as InkIntent, oa as AnnotationUpdateResult, oi as FormEffectsResult, ol as PdfRectDifferences, oo as AttachmentFileInfo, ot as FreeTextPatchSchema, pi as FormSubmissionRequestSchema, pl as TextAlignment, pn as SquigglyDTOSchema, ps as PageNetworkRenderFormat, q as TextPatchSchema, qn as AnnotationFlattenResult, qt as SquareDraftSchema, r as ANNOTATION_KINDS, ra as AnnotationCreateResult, rc as MetadataPatch, ri as FormEffect, rl as LineEnding, rr as PageMoveResult, rs as PageState, s as AnnotationDraftSchema, sn as StrikeoutDTOSchema, t as AnnotationListPageSnapshot, tc as NamedPageEntry, ti as FormSetValueResult, tl as FreeTextIntent, tr as PageRemoveNameInput, ts as AnnotationAppearancesQuery, u as AnnotationPatchSchema, us as PageImageOptions, ut as InkDTOSchema, va as CacheDelta, vi as FormFieldPatch, vl as PdfPoint, vs as PageRenderOptions, vt as LinkPatchSchema, wa as LayerScopePlane, wi as FormFieldDraft, wl as DocumentActionsSnapshot, xl as PdfRotation, xn as UnderlinePatchSchema, xt as PdfDestinationSchema, ya as MutationMeta, yl as PdfQuad, yn as UnderlineDTOSchema, ys as PageRenderQuery, yt as PdfLinkTargetSchema, zn as PageInsertResult, zt as PolygonPatchSchema } from "./AnnotationListSnapshot-x6tKulNV.js";
|
|
2
|
+
import { c as DocumentSecurityState, f as PdfPermissionInfo } from "./DocumentSecurityService-9MawYxP-.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/geometry/schemas.d.ts
|
|
5
5
|
declare const PdfPointSchema: z.ZodType<PdfPoint>;
|
|
@@ -630,6 +630,12 @@ declare const PageBoxesSchema: z.ZodType<PageBoxes>;
|
|
|
630
630
|
*/
|
|
631
631
|
declare const PageLayoutSchema: z.ZodType<PageLayout>;
|
|
632
632
|
declare const PageFlattenResultSchema: z.ZodType<PageFlattenResult>;
|
|
633
|
+
/** See `AnnotationFlattenResult`. */
|
|
634
|
+
declare const AnnotationFlattenResultSchema: z.ZodType<AnnotationFlattenResult>;
|
|
635
|
+
/** `annotations.flatten` input — see `AnnotationFlattenInput`. */
|
|
636
|
+
declare const AnnotationFlattenInputSchema: z.ZodType<AnnotationFlattenInput>;
|
|
637
|
+
/** `annotations.exportAppearance` input — see `AnnotationAppearanceExportInput`. */
|
|
638
|
+
declare const AnnotationAppearanceExportInputSchema: z.ZodType<AnnotationAppearanceExportInput>;
|
|
633
639
|
declare const PageFlattenInputSchema: z.ZodType<PageFlattenInput>;
|
|
634
640
|
declare const RedactionApplyScopeSchema: z.ZodType<RedactionApplyScope>;
|
|
635
641
|
declare const RedactionApplyResultSchema: z.ZodType<RedactionApplyResult>;
|
|
@@ -638,7 +644,13 @@ declare const RedactionApplyResultSchema: z.ZodType<RedactionApplyResult>;
|
|
|
638
644
|
* `pageObjectNumber` everywhere except the per-element `index`, which is
|
|
639
645
|
* display order and intentionally not an identity. Carries geometry only.
|
|
640
646
|
*/
|
|
647
|
+
/** See `NamedPageEntry`: decoded key + what it resolves to. */
|
|
648
|
+
declare const NamedPageEntrySchema: z.ZodType<NamedPageEntry>;
|
|
641
649
|
declare const PageListSnapshotSchema: z.ZodType<PageListSnapshot>;
|
|
650
|
+
/** `pages.setName` input — see `PageNameInput`. */
|
|
651
|
+
declare const PageNameInputSchema: z.ZodType<PageNameInput>;
|
|
652
|
+
/** `pages.removeName` input — see `PageRemoveNameInput`. */
|
|
653
|
+
declare const PageRemoveNameInputSchema: z.ZodType<PageRemoveNameInput>;
|
|
642
654
|
/**
|
|
643
655
|
* Page reorder input. Pages are always addressed by `pageObjectNumber`;
|
|
644
656
|
* `destIndex` is the insertion point in the post-removal index space.
|
|
@@ -655,6 +667,8 @@ declare const PageStructureCacheSchema: z.ZodType<PageStructureCache>;
|
|
|
655
667
|
* post-move order is returned so callers can swap their snapshot directly.
|
|
656
668
|
*/
|
|
657
669
|
declare const PageMoveResultSchema: z.ZodType<PageMoveResult>;
|
|
670
|
+
/** Named-page mutation result — layout-shaped, see `PageNameResult`. */
|
|
671
|
+
declare const PageNameResultSchema: z.ZodType<PageNameResult>;
|
|
658
672
|
/**
|
|
659
673
|
* Page rotate input. ABSOLUTE rotation (idempotent — see `PageRotateInput`),
|
|
660
674
|
* one value applied to every listed page.
|
|
@@ -1187,6 +1201,12 @@ declare const wirePaths: {
|
|
|
1187
1201
|
readonly layerPageAnnotationsCreate: (docId: string, layerName: string, pageObjectNumber: number) => string;
|
|
1188
1202
|
readonly layerAnnotationByKey: (docId: string, layerName: string, pageObjectNumber: number, key: string) => string;
|
|
1189
1203
|
readonly layerPageAnnotationsMove: (docId: string, layerName: string, pageObjectNumber: number) => string;
|
|
1204
|
+
/** POST: flatten a chosen set of the page's annotations into its content
|
|
1205
|
+
* (a content + annotation mutation of that page). */
|
|
1206
|
+
readonly layerPageAnnotationsFlatten: (docId: string, layerName: string, pageObjectNumber: number) => string;
|
|
1207
|
+
/** POST: the chosen annotations' appearances as one single-page PDF — a
|
|
1208
|
+
* derived read (application/pdf, no-store), gated like pages/extract. */
|
|
1209
|
+
readonly layerPageAnnotationsAppearance: (docId: string, layerName: string, pageObjectNumber: number) => string;
|
|
1190
1210
|
/**
|
|
1191
1211
|
* GET: the reconciled form snapshot (field tree + widget joins) for the
|
|
1192
1212
|
* layer's CURRENT state. Forms are document-scoped (one AcroForm per
|
|
@@ -1246,6 +1266,11 @@ declare const wirePaths: {
|
|
|
1246
1266
|
readonly layerPagesMove: (docId: string, layerName: string) => string;
|
|
1247
1267
|
readonly layerPagesRotate: (docId: string, layerName: string) => string;
|
|
1248
1268
|
readonly layerPagesDelete: (docId: string, layerName: string) => string;
|
|
1269
|
+
/** POST: register/rename a `/Names /Pages` entry — a page-STRUCTURE
|
|
1270
|
+
* mutation (docVersion + layoutVersion advance; reads ride `/layout`). */
|
|
1271
|
+
readonly layerPagesNames: (docId: string, layerName: string) => string;
|
|
1272
|
+
/** POST: remove a `/Names /Pages` entry (the page stays). */
|
|
1273
|
+
readonly layerPagesNamesDelete: (docId: string, layerName: string) => string;
|
|
1249
1274
|
readonly layerPagesFlatten: (docId: string, layerName: string) => string;
|
|
1250
1275
|
/**
|
|
1251
1276
|
* POST (multipart mutation envelope): copy every page of the `source`
|
|
@@ -1298,6 +1323,8 @@ declare const wireTemplates: {
|
|
|
1298
1323
|
readonly layerAnnotationItemsAll: "/v1/docs/:docId/layers/:layerName/annotations/items";
|
|
1299
1324
|
readonly layerAnnotationItems: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items";
|
|
1300
1325
|
readonly layerAnnotationItem: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/:annotKey";
|
|
1326
|
+
readonly layerAnnotationItemsFlatten: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/flatten";
|
|
1327
|
+
readonly layerAnnotationItemsAppearance: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/appearance";
|
|
1301
1328
|
readonly layerForm: "/v1/docs/:docId/layers/:layerName/form";
|
|
1302
1329
|
readonly layerFormFieldValue: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/value";
|
|
1303
1330
|
readonly layerFormFieldReset: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/reset";
|
|
@@ -1305,6 +1332,8 @@ declare const wireTemplates: {
|
|
|
1305
1332
|
readonly layerPagesMove: "/v1/docs/:docId/layers/:layerName/pages/move";
|
|
1306
1333
|
readonly layerPagesRotate: "/v1/docs/:docId/layers/:layerName/pages/rotate";
|
|
1307
1334
|
readonly layerPagesDelete: "/v1/docs/:docId/layers/:layerName/pages/delete";
|
|
1335
|
+
readonly layerPagesNames: "/v1/docs/:docId/layers/:layerName/pages/names";
|
|
1336
|
+
readonly layerPagesNamesDelete: "/v1/docs/:docId/layers/:layerName/pages/names/delete";
|
|
1308
1337
|
readonly layerPagesFlatten: "/v1/docs/:docId/layers/:layerName/pages/flatten";
|
|
1309
1338
|
readonly layerPagesInsert: "/v1/docs/:docId/layers/:layerName/pages/insert";
|
|
1310
1339
|
readonly layerPagesInsertBlank: "/v1/docs/:docId/layers/:layerName/pages/insert-blank";
|
|
@@ -1827,5 +1856,5 @@ declare const AttachmentFileInfoSchema: z.ZodType<AttachmentFileInfo>;
|
|
|
1827
1856
|
declare const EmbeddedFileRefSchema: z.ZodType<EmbeddedFileRef>;
|
|
1828
1857
|
declare const EmbeddedFileItemSchema: z.ZodType<EmbeddedFileItem>;
|
|
1829
1858
|
//#endregion
|
|
1830
|
-
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, FormSubmissionEntrySchema, FormSubmissionReceiptSchema, FormSubmissionRequestSchema, FormValueEntrySchema, FormWidgetLinkResultSchema, FormWidgetRefSchema, FreeTextDTOSchema, FreeTextDraftSchema, FreeTextIntentSchema, FreeTextPatchSchema, HighlightDTOSchema, HighlightDraftSchema, HighlightPatchSchema, InkDTOSchema, InkDraftSchema, InkIntentSchema, InkListSchema, InkPatchSchema, KIND_BY_SUBTYPE, type LayerScopePlane, type LayerScopes, LayerScopesSchema, LayoutTokenSchema, LineDTOSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, type ManifestPage, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, type MutationMeta, MutationMetaSchema, NoteIconSchema, type OpenDocumentResponse, OpenDocumentResponseSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageExtractInputSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageInsertBlankInputSchema, PageInsertInputSchema, PageInsertResultSchema, PageLayoutSchema, PageListSnapshotSchema, PageMoveInputSchema, PageMoveResultSchema, PageNetworkRenderFormatSchema, PageRenderAnnotatedQuerySchema, PageRenderQuerySchema, PageRotateInputSchema, PageRotateResultSchema, PageStateSchema, PageStructureCacheSchema, PageTextSnapshotSchema, PdfActionNodeSchema, PdfActionTargetRefSchema, PdfActionTreeSchema, PdfActionTypeSchema, PdfActionWireComponents, PdfAnnotationActionsSchema, PdfDestinationSchema, PdfFieldActionsSchema, PdfLinkTargetSchema, PdfLinkTargetWritableSchema, PdfPageActionsSchema, PdfPointSchema, PdfQuadSchema, PdfRectDifferencesSchema, PdfRectSchema, PdfRotationSchema, PdfSaveModeSchema, PdfSizeSchema, PointSchema, PolygonDTOSchema, PolygonDraftSchema, PolygonPatchSchema, PolylineDTOSchema, PolylineDraftSchema, PolylinePatchSchema, RectSchema, RedactionApplyResultSchema, RedactionApplyScopeSchema, RefetchReasonSchema, type RenderPolicy, RenderTokenSchema, type RenderVersions, ResourceRefSchema, RevisionTokenSchema, type RouteKind, SEARCH_RESULT_FORMAT, SearchMatchSchema, SearchModeSchema, SearchQuerySchema, SearchRequestSchema, SearchSliceSchema, SearchSnippetSchema, type SearchToken, SearchTokenSchema, SquareDTOSchema, SquareDraftSchema, SquarePatchSchema, SquigglyDTOSchema, SquigglyDraftSchema, SquigglyPatchSchema, StampDTOSchema, StampWireDraftSchema, StampWirePatchSchema, StandardFontSchema, StrikeoutDTOSchema, StrikeoutDraftSchema, StrikeoutIntentSchema, StrikeoutPatchSchema, TextAlignmentSchema, TextDTOSchema, TextDraftSchema, TextPatchSchema, ToggleFieldWidgetSchema, type TokenInput, type TokenQuery, type TokenScalar, type TokenSchema, UnderlineDTOSchema, UnderlineDraftSchema, UnderlinePatchSchema, UnsupportedDTOSchema, UnsupportedDraftSchema, UnsupportedPatchSchema, type WeakAnnotationSessionPagesRequest, WeakAnnotationSessionPagesRequestSchema, type WeakAnnotationSessionResponse, WeakAnnotationSessionResponseSchema, WidgetAppearanceSchema, WidgetPlacementSchema, WireAttachmentFileSchema, type WireFlat, type WireScalar, annotationAppearancesImageOptionsToToken, annotationAppearancesImageOptionsToWire, annotationRenderOptionsFromImageOptions, applyCdnAccess, cdnCoverageForScope, checkResourceAccess, decodeActionsToken, decodeAnnotationAppearancesRenderToken, decodeAnnotationToken, decodeAnnotationsAllToken, decodeAttachmentsToken, decodeContentToken, decodeDocToken, decodeDownloadToken, decodeLayoutToken, decodeMetadataToken, decodeRenderToken, decodeSearchToken, decodeToken, decodeTokenText, encodeActionsToken, encodeAnnotationAppearancesRenderToken, encodeAnnotationToken, encodeAnnotationsAllToken, encodeAttachmentsToken, encodeContentToken, encodeDocToken, encodeDownloadToken, encodeLayoutToken, encodeMetadataToken, encodeRenderToken, encodeSearchToken, encodeToken, encodeTokenText, flatten, pageRenderOptionsFromImageOptions, renderImageOptionsToToken, renderImageOptionsToWire, resolveResourceIdForPath, unflatten, wirePaths, wireTemplates };
|
|
1859
|
+
export { ANNOTATION_KINDS, type AccessRequest, AccessRequestSchema, type AccessResponse, AccessResponseSchema, ActionsTokenSchema, AnnotationAppearanceExportInputSchema, AnnotationAppearanceManifestSchema, AnnotationAppearancesQuerySchema, AnnotationAppearancesRenderTokenSchema, AnnotationBaseShape, AnnotationBorderStyleSchema, AnnotationCreateResultSchema, AnnotationDTOSchema, AnnotationDeleteResultSchema, AnnotationDraftBaseShape, AnnotationDraftSchema, AnnotationFlagsPartialSchema, AnnotationFlagsSchema, AnnotationFlattenInputSchema, AnnotationFlattenResultSchema, AnnotationListMutationMetaSchema, AnnotationListPageSnapshotSchema, AnnotationListSnapshotAllPagesSchema, AnnotationMoveResultSchema, AnnotationPatchBaseShape, AnnotationPatchSchema, AnnotationRefSchema, type AnnotationRenderVersion, AnnotationStableIdSchema, AnnotationTokenSchema, AnnotationUpdateResultSchema, AppearanceOutcomeSchema, type ApplyCdnAccessInput, type ApplyCdnAccessResult, AttachmentCreateResultSchema, AttachmentDeleteResultSchema, AttachmentFileInfoSchema, AttachmentsCacheSchema, BlendModeSchema, type CacheDelta, CacheDeltaSchema, CachePinsSchema, CalloutLineSchema, type CapabilityRequirement, CaretDTOSchema, CaretDraftSchema, CaretIntentSchema, CaretPatchSchema, type CdnAccessInfoForApply, type CdnCoverageEntry, CircleDTOSchema, CircleDraftSchema, CirclePatchSchema, ColorSchema, ContentTokenSchema, DEFAULT_LAYER_NAME, DOC_RESOURCES, type DocResourceDescriptor, type DocResourceId, DocTokenSchema, DocumentActionsSnapshotSchema, type DocumentHead, DocumentHeadSchema, type DocumentManifest, DocumentManifestSchema, DocumentMetadataSchema, DocumentSecurityStateSchema, type DownloadToken, EmbeddedFileItemSchema, EmbeddedFileRefSchema, EngineErrorPayloadSchema, FileAttachmentDTOSchema, FileAttachmentIconSchema, FileAttachmentPatchSchema, FileAttachmentWireDraftSchema, FormDataFormatSchema, FormEffectSchema, FormEffectsResultSchema, FormFieldCreateResultSchema, FormFieldDTOSchema, FormFieldDeleteResultSchema, FormFieldDraftSchema, FormFieldFlagsSchema, FormFieldOptionInputSchema, FormFieldOptionSchema, FormFieldPatchSchema, FormFieldRefSchema, FormFieldUpdateResultSchema, FormFieldValueSchema, FormImportResultSchema, FormKindSchema, FormRepairResultSchema, FormSetValueResultSchema, FormSnapshotSchema, FormSubmissionEntrySchema, FormSubmissionReceiptSchema, FormSubmissionRequestSchema, FormValueEntrySchema, FormWidgetLinkResultSchema, FormWidgetRefSchema, FreeTextDTOSchema, FreeTextDraftSchema, FreeTextIntentSchema, FreeTextPatchSchema, HighlightDTOSchema, HighlightDraftSchema, HighlightPatchSchema, InkDTOSchema, InkDraftSchema, InkIntentSchema, InkListSchema, InkPatchSchema, KIND_BY_SUBTYPE, type LayerScopePlane, type LayerScopes, LayerScopesSchema, LayoutTokenSchema, LineDTOSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, type ManifestPage, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, type MutationMeta, MutationMetaSchema, NamedPageEntrySchema, NoteIconSchema, type OpenDocumentResponse, OpenDocumentResponseSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageExtractInputSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageInsertBlankInputSchema, PageInsertInputSchema, PageInsertResultSchema, PageLayoutSchema, PageListSnapshotSchema, PageMoveInputSchema, PageMoveResultSchema, PageNameInputSchema, PageNameResultSchema, PageNetworkRenderFormatSchema, PageRemoveNameInputSchema, PageRenderAnnotatedQuerySchema, PageRenderQuerySchema, PageRotateInputSchema, PageRotateResultSchema, PageStateSchema, PageStructureCacheSchema, PageTextSnapshotSchema, PdfActionNodeSchema, PdfActionTargetRefSchema, PdfActionTreeSchema, PdfActionTypeSchema, PdfActionWireComponents, PdfAnnotationActionsSchema, PdfDestinationSchema, PdfFieldActionsSchema, PdfLinkTargetSchema, PdfLinkTargetWritableSchema, PdfPageActionsSchema, PdfPointSchema, PdfQuadSchema, PdfRectDifferencesSchema, PdfRectSchema, PdfRotationSchema, PdfSaveModeSchema, PdfSizeSchema, PointSchema, PolygonDTOSchema, PolygonDraftSchema, PolygonPatchSchema, PolylineDTOSchema, PolylineDraftSchema, PolylinePatchSchema, RectSchema, RedactionApplyResultSchema, RedactionApplyScopeSchema, RefetchReasonSchema, type RenderPolicy, RenderTokenSchema, type RenderVersions, ResourceRefSchema, RevisionTokenSchema, type RouteKind, SEARCH_RESULT_FORMAT, SearchMatchSchema, SearchModeSchema, SearchQuerySchema, SearchRequestSchema, SearchSliceSchema, SearchSnippetSchema, type SearchToken, SearchTokenSchema, SquareDTOSchema, SquareDraftSchema, SquarePatchSchema, SquigglyDTOSchema, SquigglyDraftSchema, SquigglyPatchSchema, StampDTOSchema, StampWireDraftSchema, StampWirePatchSchema, StandardFontSchema, StrikeoutDTOSchema, StrikeoutDraftSchema, StrikeoutIntentSchema, StrikeoutPatchSchema, TextAlignmentSchema, TextDTOSchema, TextDraftSchema, TextPatchSchema, ToggleFieldWidgetSchema, type TokenInput, type TokenQuery, type TokenScalar, type TokenSchema, UnderlineDTOSchema, UnderlineDraftSchema, UnderlinePatchSchema, UnsupportedDTOSchema, UnsupportedDraftSchema, UnsupportedPatchSchema, type WeakAnnotationSessionPagesRequest, WeakAnnotationSessionPagesRequestSchema, type WeakAnnotationSessionResponse, WeakAnnotationSessionResponseSchema, WidgetAppearanceSchema, WidgetPlacementSchema, WireAttachmentFileSchema, type WireFlat, type WireScalar, annotationAppearancesImageOptionsToToken, annotationAppearancesImageOptionsToWire, annotationRenderOptionsFromImageOptions, applyCdnAccess, cdnCoverageForScope, checkResourceAccess, decodeActionsToken, decodeAnnotationAppearancesRenderToken, decodeAnnotationToken, decodeAnnotationsAllToken, decodeAttachmentsToken, decodeContentToken, decodeDocToken, decodeDownloadToken, decodeLayoutToken, decodeMetadataToken, decodeRenderToken, decodeSearchToken, decodeToken, decodeTokenText, encodeActionsToken, encodeAnnotationAppearancesRenderToken, encodeAnnotationToken, encodeAnnotationsAllToken, encodeAttachmentsToken, encodeContentToken, encodeDocToken, encodeDownloadToken, encodeLayoutToken, encodeMetadataToken, encodeRenderToken, encodeSearchToken, encodeToken, encodeTokenText, flatten, pageRenderOptionsFromImageOptions, renderImageOptionsToToken, renderImageOptionsToWire, resolveResourceIdForPath, unflatten, wirePaths, wireTemplates };
|
|
1831
1860
|
//# sourceMappingURL=wire.d.ts.map
|
package/dist/wire.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as checkCapability, t as checkAnyCapability } from "./resolver-CHG4waXL.js";
|
|
2
|
-
import { $ as
|
|
2
|
+
import { $ as PageListSnapshotSchema, $n as AnnotationBorderStyleSchema, $t as TextDTOSchema, A as FormFieldUpdateResultSchema, An as InkDraftSchema, Ar as CalloutLineSchema, At as FormFieldOptionSchema, B as NamedPageEntrySchema, Bn as FileAttachmentPatchSchema, Bt as ANNOTATION_KINDS, C as DocumentMetadataSchema, Cn as LinkPatchSchema, Cr as PdfActionTreeSchema, Ct as WeakAnnotationSessionPagesRequestSchema, D as FormEffectsResultSchema, Dn as LineDraftSchema, Dr as PdfFieldActionsSchema, Dt as FormFieldDraftSchema, E as FormEffectSchema, En as LineDTOSchema, Er as PdfAnnotationActionsSchema, Et as FormFieldDTOSchema, F as LayerScopesSchema, Fn as FreeTextDTOSchema, Fr as PdfRectSchema, Ft as FormSnapshotSchema, G as PageExtractInputSchema, Gn as EmbeddedFileRefSchema, Gt as WidgetAppearanceSchema, H as PageBoxesSchema, Hn as WireAttachmentFileSchema, Ht as AnnotationDraftSchema, I as ManifestPageSchema, In as FreeTextDraftSchema, Ir as PdfRotationSchema, It as FormValueEntrySchema, J as PageGeometrySnapshotSchema, Jn as CirclePatchSchema, Jt as UnsupportedPatchSchema, K as PageFlattenInputSchema, Kn as CircleDTOSchema, Kt as UnsupportedDTOSchema, L as MetadataPatchSchema, Ln as FreeTextPatchSchema, Lr as PdfSizeSchema, Lt as FormWidgetRefSchema, M as FormRepairResultSchema, Mn as HighlightDTOSchema, Mr as LinePointsSchema, Mt as FormFieldRefSchema, N as FormSetValueResultSchema, Nn as HighlightDraftSchema, Nr as PdfPointSchema, Nt as FormFieldValueSchema, O as FormFieldCreateResultSchema, On as LinePatchSchema, Or as PdfPageActionsSchema, Ot as FormFieldFlagsSchema, P as FormWidgetLinkResultSchema, Pn as HighlightPatchSchema, Pr as PdfQuadSchema, Pt as FormKindSchema, Q as PageLayoutSchema, Qn as AnnotationBaseShape, Qt as NoteIconSchema, R as MetadataUpdateResultSchema, Rn as FileAttachmentDTOSchema, Rt as ToggleFieldWidgetSchema, S as DocumentManifestSchema, Sn as LinkDraftSchema, Sr as PdfActionTargetRefSchema, St as SearchSnippetSchema, T as EngineErrorPayloadSchema, Tn as PdfLinkTargetWritableSchema, Tr as PdfActionWireComponents, Tt as FormDataFormatSchema, U as PageDeleteInputSchema, Un as AttachmentFileInfoSchema, Ut as AnnotationPatchSchema, V as OpenDocumentResponseSchema, Vn as FileAttachmentWireDraftSchema, Vt as AnnotationDTOSchema, W as PageDeleteResultSchema, Wn as EmbeddedFileItemSchema, Wt as KIND_BY_SUBTYPE, X as PageInsertInputSchema, Xn as CaretDraftSchema, Xt as UnderlineDraftSchema, Y as PageInsertBlankInputSchema, Yn as CaretDTOSchema, Yt as UnderlineDTOSchema, Z as PageInsertResultSchema, Zn as CaretPatchSchema, Zt as UnderlinePatchSchema, _ as AttachmentDeleteResultSchema, _n as PolylinePatchSchema, _r as StandardFontSchema, _t as SearchMatchSchema, a as AnnotationAppearancesQuerySchema, an as ResourceRefSchema, ar as AnnotationStableIdSchema, at as PageRemoveNameInputSchema, b as CachePinsSchema, bn as PolygonPatchSchema, br as DocumentActionsSnapshotSchema, bt as SearchRequestSchema, c as AnnotationFlattenInputSchema, cn as StampWirePatchSchema, cr as ColorSchema, ct as PageRotateInputSchema, d as AnnotationListPageSnapshotSchema, dn as SquigglyPatchSchema, dr as LineEndingSchema, dt as PageStructureCacheSchema, en as TextDraftSchema, er as AnnotationDraftBaseShape, et as PageMoveInputSchema, f as AnnotationListSnapshotAllPagesSchema, fn as SquareDTOSchema, fr as LineEndingsSchema, ft as PageTextSnapshotSchema, g as AttachmentCreateResultSchema, gn as PolylineDraftSchema, gr as RevisionTokenSchema, gt as RefetchReasonSchema, h as AppearanceOutcomeSchema, hn as PolylineDTOSchema, hr as RectSchema, ht as RedactionApplyScopeSchema, i as AnnotationAppearanceManifestSchema, in as StrikeoutPatchSchema, ir as AnnotationRefSchema, it as PageNetworkRenderFormatSchema, j as FormImportResultSchema, jn as InkPatchSchema, jr as InkListSchema, jt as FormFieldPatchSchema, k as FormFieldDeleteResultSchema, kn as InkDTOSchema, kr as PdfDestinationSchema, kt as FormFieldOptionInputSchema, l as AnnotationFlattenResultSchema, ln as SquigglyDTOSchema, lr as FreeTextIntentSchema, lt as PageRotateResultSchema, m as AnnotationUpdateResultSchema, mn as SquarePatchSchema, mr as PointSchema, mt as RedactionApplyResultSchema, n as AccessResponseSchema, nn as StrikeoutDTOSchema, nr as AnnotationFlagsSchema, nt as PageNameInputSchema, o as AnnotationCreateResultSchema, on as StampDTOSchema, or as BlendModeSchema, ot as PageRenderAnnotatedQuerySchema, p as AnnotationMoveResultSchema, pn as SquareDraftSchema, pr as PdfRectDifferencesSchema, pt as PdfSaveModeSchema, q as PageFlattenResultSchema, qn as CircleDraftSchema, qt as UnsupportedDraftSchema, r as AnnotationAppearanceExportInputSchema, rn as StrikeoutDraftSchema, rr as AnnotationPatchBaseShape, rt as PageNameResultSchema, s as AnnotationDeleteResultSchema, sn as StampWireDraftSchema, sr as CaretIntentSchema, st as PageRenderQuerySchema, t as AccessRequestSchema, tn as TextPatchSchema, tr as AnnotationFlagsPartialSchema, tt as PageMoveResultSchema, u as AnnotationListMutationMetaSchema, un as SquigglyDraftSchema, ur as InkIntentSchema, ut as PageStateSchema, v as AttachmentsCacheSchema, vn as PolygonDTOSchema, vr as StrikeoutIntentSchema, vt as SearchModeSchema, w as DocumentSecurityStateSchema, wn as PdfLinkTargetSchema, wr as PdfActionTypeSchema, wt as WeakAnnotationSessionResponseSchema, x as DocumentHeadSchema, xn as LinkDTOSchema, xr as PdfActionNodeSchema, xt as SearchSliceSchema, y as CacheDeltaSchema, yn as PolygonDraftSchema, yr as TextAlignmentSchema, yt as SearchQuerySchema, z as MutationMetaSchema, zn as FileAttachmentIconSchema, zt as WidgetPlacementSchema } from "./schemas-DOyVEPk7.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/forms/submission.ts
|
|
5
5
|
const FormSubmissionEntrySchema = z.object({
|
|
@@ -577,6 +577,12 @@ const wirePaths = {
|
|
|
577
577
|
layerPageAnnotationsCreate: (docId, layerName, pageObjectNumber) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/annotations/pages/${pageObjectNumber}/items`,
|
|
578
578
|
layerAnnotationByKey: (docId, layerName, pageObjectNumber, key) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/annotations/pages/${pageObjectNumber}/items/${encodeURIComponent(key)}`,
|
|
579
579
|
layerPageAnnotationsMove: (docId, layerName, pageObjectNumber) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/annotations/pages/${pageObjectNumber}/items/move`,
|
|
580
|
+
/** POST: flatten a chosen set of the page's annotations into its content
|
|
581
|
+
* (a content + annotation mutation of that page). */
|
|
582
|
+
layerPageAnnotationsFlatten: (docId, layerName, pageObjectNumber) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/annotations/pages/${pageObjectNumber}/items/flatten`,
|
|
583
|
+
/** POST: the chosen annotations' appearances as one single-page PDF — a
|
|
584
|
+
* derived read (application/pdf, no-store), gated like pages/extract. */
|
|
585
|
+
layerPageAnnotationsAppearance: (docId, layerName, pageObjectNumber) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/annotations/pages/${pageObjectNumber}/items/appearance`,
|
|
580
586
|
/**
|
|
581
587
|
* GET: the reconciled form snapshot (field tree + widget joins) for the
|
|
582
588
|
* layer's CURRENT state. Forms are document-scoped (one AcroForm per
|
|
@@ -636,6 +642,11 @@ const wirePaths = {
|
|
|
636
642
|
layerPagesMove: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/move`,
|
|
637
643
|
layerPagesRotate: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/rotate`,
|
|
638
644
|
layerPagesDelete: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/delete`,
|
|
645
|
+
/** POST: register/rename a `/Names /Pages` entry — a page-STRUCTURE
|
|
646
|
+
* mutation (docVersion + layoutVersion advance; reads ride `/layout`). */
|
|
647
|
+
layerPagesNames: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/names`,
|
|
648
|
+
/** POST: remove a `/Names /Pages` entry (the page stays). */
|
|
649
|
+
layerPagesNamesDelete: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/names/delete`,
|
|
639
650
|
layerPagesFlatten: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/flatten`,
|
|
640
651
|
/**
|
|
641
652
|
* POST (multipart mutation envelope): copy every page of the `source`
|
|
@@ -688,6 +699,8 @@ const wireTemplates = {
|
|
|
688
699
|
layerAnnotationItemsAll: "/v1/docs/:docId/layers/:layerName/annotations/items",
|
|
689
700
|
layerAnnotationItems: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items",
|
|
690
701
|
layerAnnotationItem: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/:annotKey",
|
|
702
|
+
layerAnnotationItemsFlatten: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/flatten",
|
|
703
|
+
layerAnnotationItemsAppearance: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/appearance",
|
|
691
704
|
layerForm: "/v1/docs/:docId/layers/:layerName/form",
|
|
692
705
|
layerFormFieldValue: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/value",
|
|
693
706
|
layerFormFieldReset: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/reset",
|
|
@@ -695,6 +708,8 @@ const wireTemplates = {
|
|
|
695
708
|
layerPagesMove: "/v1/docs/:docId/layers/:layerName/pages/move",
|
|
696
709
|
layerPagesRotate: "/v1/docs/:docId/layers/:layerName/pages/rotate",
|
|
697
710
|
layerPagesDelete: "/v1/docs/:docId/layers/:layerName/pages/delete",
|
|
711
|
+
layerPagesNames: "/v1/docs/:docId/layers/:layerName/pages/names",
|
|
712
|
+
layerPagesNamesDelete: "/v1/docs/:docId/layers/:layerName/pages/names/delete",
|
|
698
713
|
layerPagesFlatten: "/v1/docs/:docId/layers/:layerName/pages/flatten",
|
|
699
714
|
layerPagesInsert: "/v1/docs/:docId/layers/:layerName/pages/insert",
|
|
700
715
|
layerPagesInsertBlank: "/v1/docs/:docId/layers/:layerName/pages/insert-blank",
|
|
@@ -1418,6 +1433,6 @@ function annotationRenderOptionsFromImageOptions(options) {
|
|
|
1418
1433
|
};
|
|
1419
1434
|
}
|
|
1420
1435
|
//#endregion
|
|
1421
|
-
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, FormSubmissionEntrySchema, FormSubmissionReceiptSchema, FormSubmissionRequestSchema, FormValueEntrySchema, FormWidgetLinkResultSchema, FormWidgetRefSchema, FreeTextDTOSchema, FreeTextDraftSchema, FreeTextIntentSchema, FreeTextPatchSchema, HighlightDTOSchema, HighlightDraftSchema, HighlightPatchSchema, InkDTOSchema, InkDraftSchema, InkIntentSchema, InkListSchema, InkPatchSchema, KIND_BY_SUBTYPE, LayerScopesSchema, LayoutTokenSchema, LineDTOSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, MutationMetaSchema, NoteIconSchema, OpenDocumentResponseSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageExtractInputSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageInsertBlankInputSchema, PageInsertInputSchema, PageInsertResultSchema, PageLayoutSchema, PageListSnapshotSchema, PageMoveInputSchema, PageMoveResultSchema, PageNetworkRenderFormatSchema, PageRenderAnnotatedQuerySchema, PageRenderQuerySchema, PageRotateInputSchema, PageRotateResultSchema, PageStateSchema, PageStructureCacheSchema, PageTextSnapshotSchema, PdfActionNodeSchema, PdfActionTargetRefSchema, PdfActionTreeSchema, PdfActionTypeSchema, PdfActionWireComponents, PdfAnnotationActionsSchema, PdfDestinationSchema, PdfFieldActionsSchema, PdfLinkTargetSchema, PdfLinkTargetWritableSchema, PdfPageActionsSchema, PdfPointSchema, PdfQuadSchema, PdfRectDifferencesSchema, PdfRectSchema, PdfRotationSchema, PdfSaveModeSchema, PdfSizeSchema, PointSchema, PolygonDTOSchema, PolygonDraftSchema, PolygonPatchSchema, PolylineDTOSchema, PolylineDraftSchema, PolylinePatchSchema, RectSchema, RedactionApplyResultSchema, RedactionApplyScopeSchema, RefetchReasonSchema, RenderTokenSchema, ResourceRefSchema, RevisionTokenSchema, SEARCH_RESULT_FORMAT, SearchMatchSchema, SearchModeSchema, SearchQuerySchema, SearchRequestSchema, SearchSliceSchema, SearchSnippetSchema, SearchTokenSchema, SquareDTOSchema, SquareDraftSchema, SquarePatchSchema, SquigglyDTOSchema, SquigglyDraftSchema, SquigglyPatchSchema, StampDTOSchema, StampWireDraftSchema, StampWirePatchSchema, StandardFontSchema, StrikeoutDTOSchema, StrikeoutDraftSchema, StrikeoutIntentSchema, StrikeoutPatchSchema, TextAlignmentSchema, TextDTOSchema, TextDraftSchema, TextPatchSchema, ToggleFieldWidgetSchema, UnderlineDTOSchema, UnderlineDraftSchema, UnderlinePatchSchema, UnsupportedDTOSchema, UnsupportedDraftSchema, UnsupportedPatchSchema, WeakAnnotationSessionPagesRequestSchema, WeakAnnotationSessionResponseSchema, WidgetAppearanceSchema, WidgetPlacementSchema, WireAttachmentFileSchema, annotationAppearancesImageOptionsToToken, annotationAppearancesImageOptionsToWire, annotationRenderOptionsFromImageOptions, applyCdnAccess, cdnCoverageForScope, checkResourceAccess, decodeActionsToken, decodeAnnotationAppearancesRenderToken, decodeAnnotationToken, decodeAnnotationsAllToken, decodeAttachmentsToken, decodeContentToken, decodeDocToken, decodeDownloadToken, decodeLayoutToken, decodeMetadataToken, decodeRenderToken, decodeSearchToken, decodeToken, decodeTokenText, encodeActionsToken, encodeAnnotationAppearancesRenderToken, encodeAnnotationToken, encodeAnnotationsAllToken, encodeAttachmentsToken, encodeContentToken, encodeDocToken, encodeDownloadToken, encodeLayoutToken, encodeMetadataToken, encodeRenderToken, encodeSearchToken, encodeToken, encodeTokenText, flatten, pageRenderOptionsFromImageOptions, renderImageOptionsToToken, renderImageOptionsToWire, resolveResourceIdForPath, unflatten, wirePaths, wireTemplates };
|
|
1436
|
+
export { ANNOTATION_KINDS, AccessRequestSchema, AccessResponseSchema, ActionsTokenSchema, AnnotationAppearanceExportInputSchema, AnnotationAppearanceManifestSchema, AnnotationAppearancesQuerySchema, AnnotationAppearancesRenderTokenSchema, AnnotationBaseShape, AnnotationBorderStyleSchema, AnnotationCreateResultSchema, AnnotationDTOSchema, AnnotationDeleteResultSchema, AnnotationDraftBaseShape, AnnotationDraftSchema, AnnotationFlagsPartialSchema, AnnotationFlagsSchema, AnnotationFlattenInputSchema, AnnotationFlattenResultSchema, AnnotationListMutationMetaSchema, AnnotationListPageSnapshotSchema, AnnotationListSnapshotAllPagesSchema, AnnotationMoveResultSchema, AnnotationPatchBaseShape, AnnotationPatchSchema, AnnotationRefSchema, AnnotationStableIdSchema, AnnotationTokenSchema, AnnotationUpdateResultSchema, AppearanceOutcomeSchema, AttachmentCreateResultSchema, AttachmentDeleteResultSchema, AttachmentFileInfoSchema, AttachmentsCacheSchema, BlendModeSchema, CacheDeltaSchema, CachePinsSchema, CalloutLineSchema, CaretDTOSchema, CaretDraftSchema, CaretIntentSchema, CaretPatchSchema, CircleDTOSchema, CircleDraftSchema, CirclePatchSchema, ColorSchema, ContentTokenSchema, DEFAULT_LAYER_NAME, DOC_RESOURCES, DocTokenSchema, DocumentActionsSnapshotSchema, DocumentHeadSchema, DocumentManifestSchema, DocumentMetadataSchema, DocumentSecurityStateSchema, EmbeddedFileItemSchema, EmbeddedFileRefSchema, EngineErrorPayloadSchema, FileAttachmentDTOSchema, FileAttachmentIconSchema, FileAttachmentPatchSchema, FileAttachmentWireDraftSchema, FormDataFormatSchema, FormEffectSchema, FormEffectsResultSchema, FormFieldCreateResultSchema, FormFieldDTOSchema, FormFieldDeleteResultSchema, FormFieldDraftSchema, FormFieldFlagsSchema, FormFieldOptionInputSchema, FormFieldOptionSchema, FormFieldPatchSchema, FormFieldRefSchema, FormFieldUpdateResultSchema, FormFieldValueSchema, FormImportResultSchema, FormKindSchema, FormRepairResultSchema, FormSetValueResultSchema, FormSnapshotSchema, FormSubmissionEntrySchema, FormSubmissionReceiptSchema, FormSubmissionRequestSchema, FormValueEntrySchema, FormWidgetLinkResultSchema, FormWidgetRefSchema, FreeTextDTOSchema, FreeTextDraftSchema, FreeTextIntentSchema, FreeTextPatchSchema, HighlightDTOSchema, HighlightDraftSchema, HighlightPatchSchema, InkDTOSchema, InkDraftSchema, InkIntentSchema, InkListSchema, InkPatchSchema, KIND_BY_SUBTYPE, LayerScopesSchema, LayoutTokenSchema, LineDTOSchema, LineDraftSchema, LineEndingSchema, LineEndingsSchema, LinePatchSchema, LinePointsSchema, LinkDTOSchema, LinkDraftSchema, LinkPatchSchema, ManifestPageSchema, MetadataPatchSchema, MetadataTokenSchema, MetadataUpdateResultSchema, MutationMetaSchema, NamedPageEntrySchema, NoteIconSchema, OpenDocumentResponseSchema, PageBoxesSchema, PageDeleteInputSchema, PageDeleteResultSchema, PageExtractInputSchema, PageFlattenInputSchema, PageFlattenResultSchema, PageGeometrySnapshotSchema, PageInsertBlankInputSchema, PageInsertInputSchema, PageInsertResultSchema, PageLayoutSchema, PageListSnapshotSchema, PageMoveInputSchema, PageMoveResultSchema, PageNameInputSchema, PageNameResultSchema, PageNetworkRenderFormatSchema, PageRemoveNameInputSchema, PageRenderAnnotatedQuerySchema, PageRenderQuerySchema, PageRotateInputSchema, PageRotateResultSchema, PageStateSchema, PageStructureCacheSchema, PageTextSnapshotSchema, PdfActionNodeSchema, PdfActionTargetRefSchema, PdfActionTreeSchema, PdfActionTypeSchema, PdfActionWireComponents, PdfAnnotationActionsSchema, PdfDestinationSchema, PdfFieldActionsSchema, PdfLinkTargetSchema, PdfLinkTargetWritableSchema, PdfPageActionsSchema, PdfPointSchema, PdfQuadSchema, PdfRectDifferencesSchema, PdfRectSchema, PdfRotationSchema, PdfSaveModeSchema, PdfSizeSchema, PointSchema, PolygonDTOSchema, PolygonDraftSchema, PolygonPatchSchema, PolylineDTOSchema, PolylineDraftSchema, PolylinePatchSchema, RectSchema, RedactionApplyResultSchema, RedactionApplyScopeSchema, RefetchReasonSchema, RenderTokenSchema, ResourceRefSchema, RevisionTokenSchema, SEARCH_RESULT_FORMAT, SearchMatchSchema, SearchModeSchema, SearchQuerySchema, SearchRequestSchema, SearchSliceSchema, SearchSnippetSchema, SearchTokenSchema, SquareDTOSchema, SquareDraftSchema, SquarePatchSchema, SquigglyDTOSchema, SquigglyDraftSchema, SquigglyPatchSchema, StampDTOSchema, StampWireDraftSchema, StampWirePatchSchema, StandardFontSchema, StrikeoutDTOSchema, StrikeoutDraftSchema, StrikeoutIntentSchema, StrikeoutPatchSchema, TextAlignmentSchema, TextDTOSchema, TextDraftSchema, TextPatchSchema, ToggleFieldWidgetSchema, UnderlineDTOSchema, UnderlineDraftSchema, UnderlinePatchSchema, UnsupportedDTOSchema, UnsupportedDraftSchema, UnsupportedPatchSchema, WeakAnnotationSessionPagesRequestSchema, WeakAnnotationSessionResponseSchema, WidgetAppearanceSchema, WidgetPlacementSchema, WireAttachmentFileSchema, annotationAppearancesImageOptionsToToken, annotationAppearancesImageOptionsToWire, annotationRenderOptionsFromImageOptions, applyCdnAccess, cdnCoverageForScope, checkResourceAccess, decodeActionsToken, decodeAnnotationAppearancesRenderToken, decodeAnnotationToken, decodeAnnotationsAllToken, decodeAttachmentsToken, decodeContentToken, decodeDocToken, decodeDownloadToken, decodeLayoutToken, decodeMetadataToken, decodeRenderToken, decodeSearchToken, decodeToken, decodeTokenText, encodeActionsToken, encodeAnnotationAppearancesRenderToken, encodeAnnotationToken, encodeAnnotationsAllToken, encodeAttachmentsToken, encodeContentToken, encodeDocToken, encodeDownloadToken, encodeLayoutToken, encodeMetadataToken, encodeRenderToken, encodeSearchToken, encodeToken, encodeTokenText, flatten, pageRenderOptionsFromImageOptions, renderImageOptionsToToken, renderImageOptionsToWire, resolveResourceIdForPath, unflatten, wirePaths, wireTemplates };
|
|
1422
1437
|
|
|
1423
1438
|
//# sourceMappingURL=wire.js.map
|