@embedpdf/engine-core 3.0.0-next.1 → 3.0.0-next.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/{AbortError-CjSasIlL.js → AbortError-8-9JAX1Y.js} +2 -2
  2. package/dist/{AbortError-CjSasIlL.js.map → AbortError-8-9JAX1Y.js.map} +1 -1
  3. package/dist/{AbortError-ByBflvEl.cjs → AbortError-CRSooKsk.cjs} +2 -2
  4. package/dist/{AbortError-ByBflvEl.cjs.map → AbortError-CRSooKsk.cjs.map} +1 -1
  5. package/dist/{AnnotationListSnapshot-W0RCsyDE.d.cts → AnnotationListSnapshot-C1U3XUxP.d.cts} +846 -127
  6. package/dist/{AnnotationListSnapshot-W0RCsyDE.d.ts → AnnotationListSnapshot-C1U3XUxP.d.ts} +846 -127
  7. package/dist/{DocumentSecurityService-Df79fgpe.d.cts → DocumentSecurityService-6rhztZlz.d.cts} +33 -2
  8. package/dist/{DocumentSecurityService-B-tULKNY.d.ts → DocumentSecurityService-7nL9aY75.d.ts} +33 -2
  9. package/dist/{Engine-B7Oe7f5i.d.ts → Engine-CWnAKccD.d.ts} +62 -19
  10. package/dist/{Engine-D9loFZc1.d.cts → Engine-D3868xIU.d.cts} +62 -19
  11. package/dist/{subtype-qejjVr6h.cjs → PageInsertBlankInput-CzShuSJI.cjs} +184 -1
  12. package/dist/PageInsertBlankInput-CzShuSJI.cjs.map +1 -0
  13. package/dist/{subtype-BvAzLCGC.js → PageInsertBlankInput-WKY0tr6S.js} +149 -2
  14. package/dist/PageInsertBlankInput-WKY0tr6S.js.map +1 -0
  15. package/dist/{builders-C548U47M.js → builders-Cdz34nbF.js} +566 -164
  16. package/dist/builders-Cdz34nbF.js.map +1 -0
  17. package/dist/{builders-BvikWRuO.cjs → builders-Do6_4KnS.cjs} +628 -220
  18. package/dist/builders-Do6_4KnS.cjs.map +1 -0
  19. package/dist/conformance.cjs +1039 -204
  20. package/dist/conformance.cjs.map +1 -1
  21. package/dist/conformance.d.cts +130 -6
  22. package/dist/conformance.d.ts +130 -6
  23. package/dist/conformance.js +994 -163
  24. package/dist/conformance.js.map +1 -1
  25. package/dist/{fold-CB4fAOOy.js → fold-BfyxxwS6.js} +162 -3
  26. package/dist/fold-BfyxxwS6.js.map +1 -0
  27. package/dist/{fold-IaMph3CO.cjs → fold-C7I5GpBz.cjs} +235 -4
  28. package/dist/fold-C7I5GpBz.cjs.map +1 -0
  29. package/dist/index.cjs +38 -19
  30. package/dist/index.d.cts +2 -2
  31. package/dist/index.d.ts +2 -2
  32. package/dist/index.js +5 -5
  33. package/dist/{resolver-DiPMTfcy.js → resolver-CHG4waXL.js} +2 -1
  34. package/dist/resolver-CHG4waXL.js.map +1 -0
  35. package/dist/{resolver-DAZWVoJL.cjs → resolver-D-jumvgM.cjs} +2 -1
  36. package/dist/resolver-D-jumvgM.cjs.map +1 -0
  37. package/dist/runtime.cjs +43 -24
  38. package/dist/runtime.cjs.map +1 -1
  39. package/dist/runtime.d.cts +103 -5
  40. package/dist/runtime.d.ts +103 -5
  41. package/dist/runtime.js +6 -6
  42. package/dist/{schemas-B_1VyFsm.cjs → schemas-CS5iPpX5.cjs} +305 -111
  43. package/dist/schemas-CS5iPpX5.cjs.map +1 -0
  44. package/dist/{schemas-9OpSSeM6.js → schemas-XGrNVMDd.js} +250 -92
  45. package/dist/schemas-XGrNVMDd.js.map +1 -0
  46. package/dist/wire.cjs +131 -4
  47. package/dist/wire.cjs.map +1 -1
  48. package/dist/wire.d.cts +277 -20
  49. package/dist/wire.d.ts +277 -20
  50. package/dist/wire.js +120 -5
  51. package/dist/wire.js.map +1 -1
  52. package/package.json +1 -1
  53. package/dist/builders-BvikWRuO.cjs.map +0 -1
  54. package/dist/builders-C548U47M.js.map +0 -1
  55. package/dist/fold-CB4fAOOy.js.map +0 -1
  56. package/dist/fold-IaMph3CO.cjs.map +0 -1
  57. package/dist/resolver-DAZWVoJL.cjs.map +0 -1
  58. package/dist/resolver-DiPMTfcy.js.map +0 -1
  59. package/dist/schemas-9OpSSeM6.js.map +0 -1
  60. package/dist/schemas-B_1VyFsm.cjs.map +0 -1
  61. package/dist/subtype-BvAzLCGC.js.map +0 -1
  62. package/dist/subtype-qejjVr6h.cjs.map +0 -1
package/dist/wire.cjs CHANGED
@@ -1,6 +1,42 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_resolver = require("./resolver-DAZWVoJL.cjs");
3
- const require_schemas = require("./schemas-B_1VyFsm.cjs");
2
+ const require_resolver = require("./resolver-D-jumvgM.cjs");
3
+ const require_schemas = require("./schemas-CS5iPpX5.cjs");
4
+ let zod = require("zod");
5
+ //#region src/forms/submission.ts
6
+ const FormSubmissionEntrySchema = zod.z.object({
7
+ name: zod.z.string(),
8
+ value: zod.z.union([
9
+ zod.z.string(),
10
+ zod.z.array(zod.z.string()),
11
+ zod.z.null()
12
+ ])
13
+ });
14
+ const FormSubmissionRequestSchema = zod.z.object({
15
+ entries: zod.z.array(FormSubmissionEntrySchema),
16
+ intent: zod.z.object({
17
+ url: zod.z.string().nullable(),
18
+ format: zod.z.enum([
19
+ "fdf",
20
+ "html",
21
+ "xfdf",
22
+ "pdf"
23
+ ]),
24
+ method: zod.z.enum(["post", "get"]),
25
+ flagsRaw: zod.z.number().int().nonnegative(),
26
+ charSet: zod.z.string().optional()
27
+ }),
28
+ origin: zod.z.enum([
29
+ "user",
30
+ "hover",
31
+ "lifecycle"
32
+ ]),
33
+ clientTimeMs: zod.z.number().finite()
34
+ });
35
+ const FormSubmissionReceiptSchema = zod.z.object({
36
+ submissionId: zod.z.string().min(1),
37
+ receivedAt: zod.z.string().min(1)
38
+ });
39
+ //#endregion
4
40
  //#region src/wire/token.ts
5
41
  const DEFAULT_MAX_TOKEN_LENGTH = 256;
6
42
  const FIELD_NAME_RE = /^[A-Za-z][A-Za-z0-9]*(?:\.[A-Za-z][A-Za-z0-9]*)*$/;
@@ -76,6 +112,9 @@ const ContentTokenSchema = { fields: ["contentVersion"] };
76
112
  const LayoutTokenSchema = { fields: ["layoutVersion"] };
77
113
  const MetadataTokenSchema = { fields: ["metadataVersion"] };
78
114
  const AnnotationTokenSchema = { fields: ["annotationVersion"] };
115
+ /** Doc-level bulk annotations listing pin (plural, vs the per-page
116
+ * `annotationVersion` token above). */
117
+ const AnnotationsAllTokenSchema = { fields: ["annotationsVersion"] };
79
118
  const ActionsTokenSchema = { fields: ["actionsVersion"] };
80
119
  const AttachmentsTokenSchema = { fields: ["attachmentsVersion"] };
81
120
  const DownloadTokenSchema = {
@@ -128,6 +167,7 @@ const RenderTokenSchema = {
128
167
  const SearchTokenSchema = {
129
168
  fields: [
130
169
  "epoch",
170
+ "format",
131
171
  "matchCase",
132
172
  "matchDiacritics",
133
173
  "maxMatches",
@@ -170,6 +210,8 @@ const encodeMetadataToken = (metadataVersion) => encodeToken(MetadataTokenSchema
170
210
  const decodeMetadataToken = (raw) => decodePositiveInteger(decodeToken(MetadataTokenSchema, raw).metadataVersion, "metadataVersion");
171
211
  const encodeAnnotationToken = (annotationVersion) => encodeToken(AnnotationTokenSchema, { annotationVersion });
172
212
  const decodeAnnotationToken = (raw) => decodePositiveInteger(decodeToken(AnnotationTokenSchema, raw).annotationVersion, "annotationVersion");
213
+ const encodeAnnotationsAllToken = (annotationsVersion) => encodeToken(AnnotationsAllTokenSchema, { annotationsVersion });
214
+ const decodeAnnotationsAllToken = (raw) => decodePositiveInteger(decodeToken(AnnotationsAllTokenSchema, raw).annotationsVersion, "annotationsVersion");
173
215
  const encodeActionsToken = (actionsVersion) => encodeToken(ActionsTokenSchema, { actionsVersion });
174
216
  const decodeActionsToken = (raw) => decodePositiveInteger(decodeToken(ActionsTokenSchema, raw).actionsVersion, "actionsVersion");
175
217
  const encodeAttachmentsToken = (attachmentsVersion) => encodeToken(AttachmentsTokenSchema, { attachmentsVersion });
@@ -209,10 +251,20 @@ const decodeRenderToken = (raw) => decodeToken(RenderTokenSchema, raw);
209
251
  const encodeAnnotationAppearancesRenderToken = (input) => encodeToken(AnnotationAppearancesRenderTokenSchema, input);
210
252
  /** Decode an annotation-appearance render token to a flat field map. */
211
253
  const decodeAnnotationAppearancesRenderToken = (raw) => decodeToken(AnnotationAppearancesRenderTokenSchema, raw);
254
+ /**
255
+ * The search RESULT representation this client speaks — part of the token
256
+ * (and therefore the versioned URL), so a response-shape change can never
257
+ * serve a stale CDN body to a newer client: new tokens are new cache keys,
258
+ * and old tokens fail decode on new servers. Deliberately ALWAYS encoded —
259
+ * an exception to the omit-defaults rule, because its entire job is to
260
+ * change the token bytes when the format changes.
261
+ */
262
+ const SEARCH_RESULT_FORMAT = "segments1";
212
263
  const encodeSearchToken = (input) => {
213
264
  const q = input.query;
214
265
  return encodeToken(SearchTokenSchema, {
215
266
  epoch: input.epoch,
267
+ format: SEARCH_RESULT_FORMAT,
216
268
  q: encodeTokenText(q.text),
217
269
  regex: q.regex ? true : void 0,
218
270
  matchCase: q.matchCase ? true : void 0,
@@ -228,6 +280,7 @@ const decodeSearchToken = (raw) => {
228
280
  const t = decodeToken(SearchTokenSchema, raw);
229
281
  if (t.epoch === void 0) throw new Error("search token is missing \"epoch\"");
230
282
  if (t.q === void 0) throw new Error("search token is missing \"q\"");
283
+ if (t.format !== "segments1") throw new Error(`search token has unsupported result format "${t.format ?? "legacy"}" (expected "${SEARCH_RESULT_FORMAT}")`);
231
284
  const query = {
232
285
  text: decodeTokenText(t.q),
233
286
  ...t.regex === "true" ? { regex: true } : {},
@@ -342,8 +395,21 @@ function decodePdfSaveMode(raw) {
342
395
  */
343
396
  const DEFAULT_LAYER_NAME = "default";
344
397
  const wirePaths = {
345
- /** POST: grant document access/caching credentials for the current bearer. */
346
- access: "/v1/access",
398
+ /**
399
+ * POST: grant access/caching credentials for the current bearer on
400
+ * the document + layer namespace the path names (cross-checked
401
+ * against the token like every layer route — the grant is
402
+ * layer-scoped in substance: CDN coverage, scopes, and the client's
403
+ * binding all carry the layer). Path-addressed so the affinity tier —
404
+ * the `X-CloudPDF-Doc` header derivation AND the chart's uri-mode
405
+ * regex — pins the session bootstrap to the document's pod from the
406
+ * very first request. Default-layer callers spell `layers/default/`,
407
+ * same as every other layer route.
408
+ */
409
+ access: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/access`,
410
+ /** Deprecated alias (docId in the BODY) — served for one prerelease
411
+ * cycle so pre-rename clients keep working; remove after. */
412
+ accessLegacy: "/v1/access",
347
413
  /**
348
414
  * GET: open the document referenced by the doc-scoped JWT and
349
415
  * return its `DocumentHead`. The server materialises the base
@@ -480,6 +546,8 @@ const wirePaths = {
480
546
  * object served from the base worker session.
481
547
  */
482
548
  docPageAnnotations: (docId, pageObjectNumber, annotationVersion) => `/v1/docs/${encodeURIComponent(docId)}/annotations/pages/${pageObjectNumber}/items@${encodeAnnotationToken(annotationVersion)}`,
549
+ /** Immutable BASE whole-document annotation listing (bulk hydration). */
550
+ docAnnotationsAll: (docId, annotationsVersion) => `/v1/docs/${encodeURIComponent(docId)}/annotations/items@${encodeAnnotationsAllToken(annotationsVersion)}`,
483
551
  /** Immutable BASE appearance batch (twin of
484
552
  * `layerPageAnnotationAppearances` — same `annotations` plane gate). */
485
553
  docPageAnnotationAppearances: (docId, pageObjectNumber, token) => `/v1/docs/${encodeURIComponent(docId)}/annotations/pages/${pageObjectNumber}/appearances@${encodeAnnotationAppearancesRenderToken(token)}`,
@@ -490,6 +558,8 @@ const wirePaths = {
490
558
  * collection name — see file-level docstring.
491
559
  */
492
560
  layerPageAnnotations: (docId, layerName, pageObjectNumber, annotationVersion) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/annotations/pages/${pageObjectNumber}/items@${encodeAnnotationToken(annotationVersion)}`,
561
+ /** Immutable LAYER whole-document annotation listing (bulk hydration). */
562
+ layerAnnotationsAll: (docId, layerName, annotationsVersion) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/annotations/items@${encodeAnnotationsAllToken(annotationsVersion)}`,
493
563
  layerPageAnnotationsCurrent: (docId, layerName, pageObjectNumber) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/annotations/pages/${pageObjectNumber}/items`,
494
564
  /**
495
565
  * GET: batch-rendered annotation appearance bitmaps for a single page as a
@@ -568,6 +638,20 @@ const wirePaths = {
568
638
  layerPagesRotate: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/rotate`,
569
639
  layerPagesDelete: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/delete`,
570
640
  layerPagesFlatten: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/flatten`,
641
+ /**
642
+ * POST (multipart mutation envelope): copy every page of the `source`
643
+ * resource part (a standalone PDF) in at the body's `destIndex`.
644
+ */
645
+ layerPagesInsert: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/insert`,
646
+ /** POST (plain JSON): create blank pages — pages.insert minus the bytes. */
647
+ layerPagesInsertBlank: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/insert-blank`,
648
+ /**
649
+ * POST (plain JSON → `application/pdf` bytes): export the listed pages,
650
+ * in caller order, as a standalone PDF. A READ over the current layer
651
+ * state (gated like /download), so it is a POST only for its body —
652
+ * nothing mutates and no event is published.
653
+ */
654
+ layerPagesExtract: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/pages/extract`,
571
655
  layerRedactionsApply: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/redactions/apply`,
572
656
  layerEvents: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/events`,
573
657
  layerDownload: (docId, layerName) => `/v1/docs/${encodeURIComponent(docId)}/layers/${encodeURIComponent(layerName)}/download`,
@@ -602,6 +686,7 @@ const wireTemplates = {
602
686
  layerMetadata: "/v1/docs/:docId/layers/:layerName/metadata",
603
687
  layerRenderPage: "/v1/docs/:docId/layers/:layerName/render/pages/:pon/data",
604
688
  layerTextPage: "/v1/docs/:docId/layers/:layerName/text/pages/:pon/data",
689
+ layerAnnotationItemsAll: "/v1/docs/:docId/layers/:layerName/annotations/items",
605
690
  layerAnnotationItems: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items",
606
691
  layerAnnotationItem: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/:annotKey",
607
692
  layerForm: "/v1/docs/:docId/layers/:layerName/form",
@@ -612,6 +697,9 @@ const wireTemplates = {
612
697
  layerPagesRotate: "/v1/docs/:docId/layers/:layerName/pages/rotate",
613
698
  layerPagesDelete: "/v1/docs/:docId/layers/:layerName/pages/delete",
614
699
  layerPagesFlatten: "/v1/docs/:docId/layers/:layerName/pages/flatten",
700
+ layerPagesInsert: "/v1/docs/:docId/layers/:layerName/pages/insert",
701
+ layerPagesInsertBlank: "/v1/docs/:docId/layers/:layerName/pages/insert-blank",
702
+ layerPagesExtract: "/v1/docs/:docId/layers/:layerName/pages/extract",
615
703
  layerRedactionsApply: "/v1/docs/:docId/layers/:layerName/redactions/apply",
616
704
  layerDownload: "/v1/docs/:docId/layers/:layerName/download"
617
705
  };
@@ -702,6 +790,19 @@ const DOC_RESOURCES = {
702
790
  routeKind: "versioned-read",
703
791
  cdnCacheable: true
704
792
  },
793
+ "annotations-all": {
794
+ id: "annotations-all",
795
+ pathPattern: "/v1/docs/{docId}/annotations/items@*",
796
+ resolvePathPattern: (docId) => `/v1/docs/${docId}/annotations/items@*`,
797
+ pathPrefix: "/v1/docs/{docId}/annotations/items@",
798
+ resolvePathPrefix: (docId) => `/v1/docs/${docId}/annotations/items@`,
799
+ requirement: {
800
+ kind: "single",
801
+ capability: "doc.annotate.read"
802
+ },
803
+ routeKind: "versioned-read",
804
+ cdnCacheable: true
805
+ },
705
806
  layout: {
706
807
  id: "layout",
707
808
  pathPattern: "/v1/docs/{docId}/layout@*",
@@ -949,6 +1050,19 @@ const DOC_RESOURCES = {
949
1050
  routeKind: "versioned-read",
950
1051
  cdnCacheable: true
951
1052
  },
1053
+ "layer-annotations-all": {
1054
+ id: "layer-annotations-all",
1055
+ pathPattern: "/v1/docs/{docId}/layers/{layerName}/annotations/items@*",
1056
+ resolvePathPattern: (docId, layerName = "default") => `/v1/docs/${docId}/layers/${layerName}/annotations/items@*`,
1057
+ pathPrefix: "/v1/docs/{docId}/layers/{layerName}/annotations/items@",
1058
+ resolvePathPrefix: (docId, layerName = "default") => `/v1/docs/${docId}/layers/${layerName}/annotations/items@`,
1059
+ requirement: {
1060
+ kind: "single",
1061
+ capability: "doc.annotate.read"
1062
+ },
1063
+ routeKind: "versioned-read",
1064
+ cdnCacheable: true
1065
+ },
952
1066
  "download-current": {
953
1067
  id: "download-current",
954
1068
  pathPattern: "/v1/docs/{docId}/layers/{layerName}/download",
@@ -1032,6 +1146,7 @@ const RESOURCE_PLANES = {
1032
1146
  "page-geometry": ["content"],
1033
1147
  "page-render-annotated": ["content", "annotations"],
1034
1148
  "page-annotations": ["annotations"],
1149
+ "annotations-all": ["annotations"],
1035
1150
  layout: ["layout"],
1036
1151
  metadata: ["metadata"],
1037
1152
  actions: ["actions"],
@@ -1382,6 +1497,9 @@ exports.FormKindSchema = require_schemas.FormKindSchema;
1382
1497
  exports.FormRepairResultSchema = require_schemas.FormRepairResultSchema;
1383
1498
  exports.FormSetValueResultSchema = require_schemas.FormSetValueResultSchema;
1384
1499
  exports.FormSnapshotSchema = require_schemas.FormSnapshotSchema;
1500
+ exports.FormSubmissionEntrySchema = FormSubmissionEntrySchema;
1501
+ exports.FormSubmissionReceiptSchema = FormSubmissionReceiptSchema;
1502
+ exports.FormSubmissionRequestSchema = FormSubmissionRequestSchema;
1385
1503
  exports.FormValueEntrySchema = require_schemas.FormValueEntrySchema;
1386
1504
  exports.FormWidgetLinkResultSchema = require_schemas.FormWidgetLinkResultSchema;
1387
1505
  exports.FormWidgetRefSchema = require_schemas.FormWidgetRefSchema;
@@ -1419,9 +1537,13 @@ exports.OpenDocumentResponseSchema = require_schemas.OpenDocumentResponseSchema;
1419
1537
  exports.PageBoxesSchema = require_schemas.PageBoxesSchema;
1420
1538
  exports.PageDeleteInputSchema = require_schemas.PageDeleteInputSchema;
1421
1539
  exports.PageDeleteResultSchema = require_schemas.PageDeleteResultSchema;
1540
+ exports.PageExtractInputSchema = require_schemas.PageExtractInputSchema;
1422
1541
  exports.PageFlattenInputSchema = require_schemas.PageFlattenInputSchema;
1423
1542
  exports.PageFlattenResultSchema = require_schemas.PageFlattenResultSchema;
1424
1543
  exports.PageGeometrySnapshotSchema = require_schemas.PageGeometrySnapshotSchema;
1544
+ exports.PageInsertBlankInputSchema = require_schemas.PageInsertBlankInputSchema;
1545
+ exports.PageInsertInputSchema = require_schemas.PageInsertInputSchema;
1546
+ exports.PageInsertResultSchema = require_schemas.PageInsertResultSchema;
1425
1547
  exports.PageLayoutSchema = require_schemas.PageLayoutSchema;
1426
1548
  exports.PageListSnapshotSchema = require_schemas.PageListSnapshotSchema;
1427
1549
  exports.PageMoveInputSchema = require_schemas.PageMoveInputSchema;
@@ -1435,8 +1557,10 @@ exports.PageStateSchema = require_schemas.PageStateSchema;
1435
1557
  exports.PageStructureCacheSchema = require_schemas.PageStructureCacheSchema;
1436
1558
  exports.PageTextSnapshotSchema = require_schemas.PageTextSnapshotSchema;
1437
1559
  exports.PdfActionNodeSchema = require_schemas.PdfActionNodeSchema;
1560
+ exports.PdfActionTargetRefSchema = require_schemas.PdfActionTargetRefSchema;
1438
1561
  exports.PdfActionTreeSchema = require_schemas.PdfActionTreeSchema;
1439
1562
  exports.PdfActionTypeSchema = require_schemas.PdfActionTypeSchema;
1563
+ exports.PdfActionWireComponents = require_schemas.PdfActionWireComponents;
1440
1564
  exports.PdfAnnotationActionsSchema = require_schemas.PdfAnnotationActionsSchema;
1441
1565
  exports.PdfDestinationSchema = require_schemas.PdfDestinationSchema;
1442
1566
  exports.PdfFieldActionsSchema = require_schemas.PdfFieldActionsSchema;
@@ -1464,6 +1588,7 @@ exports.RefetchReasonSchema = require_schemas.RefetchReasonSchema;
1464
1588
  exports.RenderTokenSchema = RenderTokenSchema;
1465
1589
  exports.ResourceRefSchema = require_schemas.ResourceRefSchema;
1466
1590
  exports.RevisionTokenSchema = require_schemas.RevisionTokenSchema;
1591
+ exports.SEARCH_RESULT_FORMAT = SEARCH_RESULT_FORMAT;
1467
1592
  exports.SearchMatchSchema = require_schemas.SearchMatchSchema;
1468
1593
  exports.SearchModeSchema = require_schemas.SearchModeSchema;
1469
1594
  exports.SearchQuerySchema = require_schemas.SearchQuerySchema;
@@ -1510,6 +1635,7 @@ exports.checkResourceAccess = checkResourceAccess;
1510
1635
  exports.decodeActionsToken = decodeActionsToken;
1511
1636
  exports.decodeAnnotationAppearancesRenderToken = decodeAnnotationAppearancesRenderToken;
1512
1637
  exports.decodeAnnotationToken = decodeAnnotationToken;
1638
+ exports.decodeAnnotationsAllToken = decodeAnnotationsAllToken;
1513
1639
  exports.decodeAttachmentsToken = decodeAttachmentsToken;
1514
1640
  exports.decodeContentToken = decodeContentToken;
1515
1641
  exports.decodeDocToken = decodeDocToken;
@@ -1523,6 +1649,7 @@ exports.decodeTokenText = decodeTokenText;
1523
1649
  exports.encodeActionsToken = encodeActionsToken;
1524
1650
  exports.encodeAnnotationAppearancesRenderToken = encodeAnnotationAppearancesRenderToken;
1525
1651
  exports.encodeAnnotationToken = encodeAnnotationToken;
1652
+ exports.encodeAnnotationsAllToken = encodeAnnotationsAllToken;
1526
1653
  exports.encodeAttachmentsToken = encodeAttachmentsToken;
1527
1654
  exports.encodeContentToken = encodeContentToken;
1528
1655
  exports.encodeDocToken = encodeDocToken;