@cloudpdf/contract 3.0.0-next.12 → 3.0.0-next.13
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/index.d.ts +1776 -544
- package/dist/index.js +253 -1
- package/dist/index.js.map +1 -1
- package/dist/openapi.js +246 -1
- package/dist/openapi.js.map +1 -1
- package/openapi.json +8319 -3648
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -5560,6 +5560,116 @@ declare const DocFieldParamsSchema: z.ZodObject<{
|
|
|
5560
5560
|
* passwords in headers — they use the SDK's password-session flow.
|
|
5561
5561
|
*/
|
|
5562
5562
|
declare const documentPasswordHeader: AdminOperationHeader;
|
|
5563
|
+
declare const DocSigningParamsSchema: z.ZodObject<{
|
|
5564
|
+
docId: z.ZodString;
|
|
5565
|
+
} & {
|
|
5566
|
+
layerName: z.ZodString;
|
|
5567
|
+
} & {
|
|
5568
|
+
signingId: z.ZodString;
|
|
5569
|
+
}, "strip", z.ZodTypeAny, {
|
|
5570
|
+
docId: string;
|
|
5571
|
+
layerName: string;
|
|
5572
|
+
signingId: string;
|
|
5573
|
+
}, {
|
|
5574
|
+
docId: string;
|
|
5575
|
+
layerName: string;
|
|
5576
|
+
signingId: string;
|
|
5577
|
+
}>;
|
|
5578
|
+
declare const DocVersionParamsSchema: z.ZodObject<{
|
|
5579
|
+
docId: z.ZodString;
|
|
5580
|
+
} & {
|
|
5581
|
+
sha: z.ZodString;
|
|
5582
|
+
}, "strip", z.ZodTypeAny, {
|
|
5583
|
+
docId: string;
|
|
5584
|
+
sha: string;
|
|
5585
|
+
}, {
|
|
5586
|
+
docId: string;
|
|
5587
|
+
sha: string;
|
|
5588
|
+
}>;
|
|
5589
|
+
declare const DocVersionFieldParamsSchema: z.ZodObject<{
|
|
5590
|
+
docId: z.ZodString;
|
|
5591
|
+
} & {
|
|
5592
|
+
sha: z.ZodString;
|
|
5593
|
+
} & {
|
|
5594
|
+
fieldKey: z.ZodString;
|
|
5595
|
+
}, "strip", z.ZodTypeAny, {
|
|
5596
|
+
docId: string;
|
|
5597
|
+
fieldKey: string;
|
|
5598
|
+
sha: string;
|
|
5599
|
+
}, {
|
|
5600
|
+
docId: string;
|
|
5601
|
+
fieldKey: string;
|
|
5602
|
+
sha: string;
|
|
5603
|
+
}>;
|
|
5604
|
+
declare const DocVersionDigestParamsSchema: z.ZodObject<{
|
|
5605
|
+
docId: z.ZodString;
|
|
5606
|
+
} & {
|
|
5607
|
+
sha: z.ZodString;
|
|
5608
|
+
} & {
|
|
5609
|
+
fieldKey: z.ZodString;
|
|
5610
|
+
} & {
|
|
5611
|
+
algorithm: z.ZodEnum<["sha1", "sha256", "sha384", "sha512"]>;
|
|
5612
|
+
}, "strip", z.ZodTypeAny, {
|
|
5613
|
+
docId: string;
|
|
5614
|
+
fieldKey: string;
|
|
5615
|
+
sha: string;
|
|
5616
|
+
algorithm: "sha256" | "sha1" | "sha384" | "sha512";
|
|
5617
|
+
}, {
|
|
5618
|
+
docId: string;
|
|
5619
|
+
fieldKey: string;
|
|
5620
|
+
sha: string;
|
|
5621
|
+
algorithm: "sha256" | "sha1" | "sha384" | "sha512";
|
|
5622
|
+
}>;
|
|
5623
|
+
declare const DocVersionRevisionParamsSchema: z.ZodObject<{
|
|
5624
|
+
docId: z.ZodString;
|
|
5625
|
+
} & {
|
|
5626
|
+
sha: z.ZodString;
|
|
5627
|
+
} & {
|
|
5628
|
+
index: z.ZodNumber;
|
|
5629
|
+
}, "strip", z.ZodTypeAny, {
|
|
5630
|
+
docId: string;
|
|
5631
|
+
sha: string;
|
|
5632
|
+
index: number;
|
|
5633
|
+
}, {
|
|
5634
|
+
docId: string;
|
|
5635
|
+
sha: string;
|
|
5636
|
+
index: number;
|
|
5637
|
+
}>;
|
|
5638
|
+
/** The flat analysis query: exactly one `since.*`; `level` only in exploratory mode. */
|
|
5639
|
+
declare const LayerSignaturesAnalysisQuerySchema: z.ZodObject<{
|
|
5640
|
+
'since.signature': z.ZodOptional<z.ZodNumber>;
|
|
5641
|
+
'since.revision': z.ZodOptional<z.ZodNumber>;
|
|
5642
|
+
level: z.ZodOptional<z.ZodEnum<["none", "lta", "fill", "annotate"]>>;
|
|
5643
|
+
}, "strip", z.ZodTypeAny, {
|
|
5644
|
+
'since.signature'?: number | undefined;
|
|
5645
|
+
'since.revision'?: number | undefined;
|
|
5646
|
+
level?: "fill" | "none" | "lta" | "annotate" | undefined;
|
|
5647
|
+
}, {
|
|
5648
|
+
'since.signature'?: number | undefined;
|
|
5649
|
+
'since.revision'?: number | undefined;
|
|
5650
|
+
level?: "fill" | "none" | "lta" | "annotate" | undefined;
|
|
5651
|
+
}>;
|
|
5652
|
+
declare const VersionAnalysisQuerySchema: z.ZodObject<{
|
|
5653
|
+
'since.signature': z.ZodOptional<z.ZodNumber>;
|
|
5654
|
+
'since.revision': z.ZodOptional<z.ZodNumber>;
|
|
5655
|
+
level: z.ZodOptional<z.ZodEnum<["none", "lta", "fill", "annotate"]>>;
|
|
5656
|
+
} & {
|
|
5657
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
5658
|
+
/** The judging policy version the caller expects — a cache key on this immutable URL, not an input. */
|
|
5659
|
+
policy: z.ZodOptional<z.ZodNumber>;
|
|
5660
|
+
}, "strip", z.ZodTypeAny, {
|
|
5661
|
+
'since.signature'?: number | undefined;
|
|
5662
|
+
'since.revision'?: number | undefined;
|
|
5663
|
+
level?: "fill" | "none" | "lta" | "annotate" | undefined;
|
|
5664
|
+
until?: number | undefined;
|
|
5665
|
+
policy?: number | undefined;
|
|
5666
|
+
}, {
|
|
5667
|
+
'since.signature'?: number | undefined;
|
|
5668
|
+
'since.revision'?: number | undefined;
|
|
5669
|
+
level?: "fill" | "none" | "lta" | "annotate" | undefined;
|
|
5670
|
+
until?: number | undefined;
|
|
5671
|
+
policy?: number | undefined;
|
|
5672
|
+
}>;
|
|
5563
5673
|
declare const docOperations: {
|
|
5564
5674
|
readonly 'doc.head': {
|
|
5565
5675
|
readonly operationId: "doc.head";
|
|
@@ -5750,140 +5860,206 @@ declare const docOperations: {
|
|
|
5750
5860
|
};
|
|
5751
5861
|
};
|
|
5752
5862
|
};
|
|
5753
|
-
readonly 'doc.
|
|
5754
|
-
readonly operationId: "doc.
|
|
5755
|
-
readonly title: "
|
|
5756
|
-
readonly summary: "
|
|
5863
|
+
readonly 'doc.signatures.list': {
|
|
5864
|
+
readonly operationId: "doc.signatures.list";
|
|
5865
|
+
readonly title: "List signatures";
|
|
5866
|
+
readonly summary: "The layer view of digital signatures: revisions, every signature field with its signed state, and the protection in force.";
|
|
5757
5867
|
readonly method: "GET";
|
|
5758
|
-
readonly path: "/v1/docs/:docId/layers/:layerName/
|
|
5868
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/signatures";
|
|
5759
5869
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
5760
5870
|
readonly scope: readonly [];
|
|
5761
|
-
readonly docCapabilities: readonly ["doc.
|
|
5871
|
+
readonly docCapabilities: readonly ["doc.forms.read"];
|
|
5762
5872
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
5763
5873
|
readonly params: z.ZodObject<{
|
|
5764
5874
|
docId: z.ZodString;
|
|
5765
5875
|
} & {
|
|
5766
5876
|
layerName: z.ZodString;
|
|
5767
|
-
} & {
|
|
5768
|
-
pon: z.ZodNumber;
|
|
5769
5877
|
}, "strip", z.ZodTypeAny, {
|
|
5770
5878
|
docId: string;
|
|
5771
5879
|
layerName: string;
|
|
5772
|
-
pon: number;
|
|
5773
5880
|
}, {
|
|
5774
5881
|
docId: string;
|
|
5775
5882
|
layerName: string;
|
|
5776
|
-
pon: number;
|
|
5777
5883
|
}>;
|
|
5778
|
-
readonly notes: string;
|
|
5779
5884
|
readonly responses: {
|
|
5780
5885
|
readonly 200: {
|
|
5781
|
-
readonly contentType: "
|
|
5886
|
+
readonly contentType: "application/json";
|
|
5887
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SignatureSnapshot, z.ZodTypeDef, _embedpdf_engine_core_runtime.SignatureSnapshot>;
|
|
5782
5888
|
};
|
|
5783
5889
|
readonly 404: {
|
|
5784
5890
|
readonly contentType: "application/json";
|
|
5785
5891
|
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
5786
5892
|
};
|
|
5787
5893
|
};
|
|
5894
|
+
readonly notes: string;
|
|
5788
5895
|
};
|
|
5789
|
-
readonly 'doc.
|
|
5790
|
-
readonly operationId: "doc.
|
|
5791
|
-
readonly title: "
|
|
5792
|
-
readonly summary: "
|
|
5896
|
+
readonly 'doc.signatures.analysis': {
|
|
5897
|
+
readonly operationId: "doc.signatures.analysis";
|
|
5898
|
+
readonly title: "Analyze layer changes";
|
|
5899
|
+
readonly summary: "What the layer changed after a signature (or after any revision), judged against the restrictions in force.";
|
|
5793
5900
|
readonly method: "GET";
|
|
5794
|
-
readonly path: "/v1/docs/:docId/layers/:layerName/
|
|
5901
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/signatures/analysis";
|
|
5795
5902
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
5796
5903
|
readonly scope: readonly [];
|
|
5797
|
-
readonly docCapabilities: readonly ["doc.
|
|
5904
|
+
readonly docCapabilities: readonly ["doc.forms.read"];
|
|
5798
5905
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
5799
5906
|
readonly params: z.ZodObject<{
|
|
5800
5907
|
docId: z.ZodString;
|
|
5801
5908
|
} & {
|
|
5802
5909
|
layerName: z.ZodString;
|
|
5803
|
-
} & {
|
|
5804
|
-
pon: z.ZodNumber;
|
|
5805
5910
|
}, "strip", z.ZodTypeAny, {
|
|
5806
5911
|
docId: string;
|
|
5807
5912
|
layerName: string;
|
|
5808
|
-
pon: number;
|
|
5809
5913
|
}, {
|
|
5810
5914
|
docId: string;
|
|
5811
5915
|
layerName: string;
|
|
5812
|
-
|
|
5916
|
+
}>;
|
|
5917
|
+
readonly query: z.ZodObject<{
|
|
5918
|
+
'since.signature': z.ZodOptional<z.ZodNumber>;
|
|
5919
|
+
'since.revision': z.ZodOptional<z.ZodNumber>;
|
|
5920
|
+
level: z.ZodOptional<z.ZodEnum<["none", "lta", "fill", "annotate"]>>;
|
|
5921
|
+
}, "strip", z.ZodTypeAny, {
|
|
5922
|
+
'since.signature'?: number | undefined;
|
|
5923
|
+
'since.revision'?: number | undefined;
|
|
5924
|
+
level?: "fill" | "none" | "lta" | "annotate" | undefined;
|
|
5925
|
+
}, {
|
|
5926
|
+
'since.signature'?: number | undefined;
|
|
5927
|
+
'since.revision'?: number | undefined;
|
|
5928
|
+
level?: "fill" | "none" | "lta" | "annotate" | undefined;
|
|
5813
5929
|
}>;
|
|
5814
5930
|
readonly responses: {
|
|
5815
5931
|
readonly 200: {
|
|
5816
5932
|
readonly contentType: "application/json";
|
|
5817
|
-
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.
|
|
5933
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.ChangeAnalysis, z.ZodTypeDef, _embedpdf_engine_core_runtime.ChangeAnalysis>;
|
|
5934
|
+
};
|
|
5935
|
+
readonly 400: {
|
|
5936
|
+
readonly contentType: "application/json";
|
|
5937
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
5818
5938
|
};
|
|
5819
5939
|
readonly 404: {
|
|
5820
5940
|
readonly contentType: "application/json";
|
|
5821
5941
|
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
5822
5942
|
};
|
|
5823
5943
|
};
|
|
5944
|
+
readonly notes: string;
|
|
5824
5945
|
};
|
|
5825
|
-
readonly 'doc.
|
|
5826
|
-
readonly operationId: "doc.
|
|
5827
|
-
readonly title: "
|
|
5828
|
-
readonly summary: "
|
|
5829
|
-
readonly method: "
|
|
5830
|
-
readonly path: "/v1/docs/:docId/layers/:layerName/
|
|
5946
|
+
readonly 'doc.signatures.prepare': {
|
|
5947
|
+
readonly operationId: "doc.signatures.prepare";
|
|
5948
|
+
readonly title: "Prepare a signature";
|
|
5949
|
+
readonly summary: "Author and seal a signing candidate; returns the digest to sign and the version fences.";
|
|
5950
|
+
readonly method: "POST";
|
|
5951
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/signatures/prepare";
|
|
5831
5952
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
5832
5953
|
readonly scope: readonly [];
|
|
5833
|
-
readonly docCapabilities: readonly ["doc.
|
|
5954
|
+
readonly docCapabilities: readonly ["doc.sign"];
|
|
5834
5955
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
5835
5956
|
readonly params: z.ZodObject<{
|
|
5836
5957
|
docId: z.ZodString;
|
|
5837
5958
|
} & {
|
|
5838
5959
|
layerName: z.ZodString;
|
|
5839
|
-
} & {
|
|
5840
|
-
pon: z.ZodNumber;
|
|
5841
5960
|
}, "strip", z.ZodTypeAny, {
|
|
5842
5961
|
docId: string;
|
|
5843
5962
|
layerName: string;
|
|
5844
|
-
pon: number;
|
|
5845
5963
|
}, {
|
|
5846
5964
|
docId: string;
|
|
5847
5965
|
layerName: string;
|
|
5848
|
-
pon: number;
|
|
5849
5966
|
}>;
|
|
5967
|
+
readonly body: {
|
|
5968
|
+
readonly contentType: "multipart/form-data";
|
|
5969
|
+
};
|
|
5850
5970
|
readonly responses: {
|
|
5851
5971
|
readonly 200: {
|
|
5852
5972
|
readonly contentType: "application/json";
|
|
5853
|
-
readonly schema: z.
|
|
5973
|
+
readonly schema: z.ZodObject<{
|
|
5974
|
+
signingId: z.ZodString;
|
|
5975
|
+
digest: z.ZodString;
|
|
5976
|
+
algorithm: z.ZodEnum<["sha256", "sha384", "sha512"]>;
|
|
5977
|
+
byteRange: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
5978
|
+
contentsSize: z.ZodNumber;
|
|
5979
|
+
subFilter: z.ZodString;
|
|
5980
|
+
expectedVersion: z.ZodType<_embedpdf_engine_core_runtime.DocumentVersionRef, z.ZodTypeDef, _embedpdf_engine_core_runtime.DocumentVersionRef>;
|
|
5981
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
5982
|
+
}, "strip", z.ZodTypeAny, {
|
|
5983
|
+
expiresAt: string | null;
|
|
5984
|
+
signingId: string;
|
|
5985
|
+
digest: string;
|
|
5986
|
+
algorithm: "sha256" | "sha384" | "sha512";
|
|
5987
|
+
byteRange: [number, number, number, number];
|
|
5988
|
+
contentsSize: number;
|
|
5989
|
+
subFilter: string;
|
|
5990
|
+
expectedVersion: _embedpdf_engine_core_runtime.DocumentVersionRef;
|
|
5991
|
+
}, {
|
|
5992
|
+
expiresAt: string | null;
|
|
5993
|
+
signingId: string;
|
|
5994
|
+
digest: string;
|
|
5995
|
+
algorithm: "sha256" | "sha384" | "sha512";
|
|
5996
|
+
byteRange: [number, number, number, number];
|
|
5997
|
+
contentsSize: number;
|
|
5998
|
+
subFilter: string;
|
|
5999
|
+
expectedVersion: _embedpdf_engine_core_runtime.DocumentVersionRef;
|
|
6000
|
+
}>;
|
|
6001
|
+
};
|
|
6002
|
+
readonly 400: {
|
|
6003
|
+
readonly contentType: "application/json";
|
|
6004
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
5854
6005
|
};
|
|
5855
6006
|
readonly 404: {
|
|
5856
6007
|
readonly contentType: "application/json";
|
|
5857
6008
|
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
5858
6009
|
};
|
|
6010
|
+
readonly 409: {
|
|
6011
|
+
readonly contentType: "application/json";
|
|
6012
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6013
|
+
};
|
|
5859
6014
|
};
|
|
6015
|
+
readonly notes: string;
|
|
5860
6016
|
};
|
|
5861
|
-
readonly 'doc.
|
|
5862
|
-
readonly operationId: "doc.
|
|
5863
|
-
readonly title: "
|
|
5864
|
-
readonly summary: "
|
|
5865
|
-
readonly method: "
|
|
5866
|
-
readonly path: "/v1/docs/:docId/layers/:layerName/
|
|
6017
|
+
readonly 'doc.signatures.complete': {
|
|
6018
|
+
readonly operationId: "doc.signatures.complete";
|
|
6019
|
+
readonly title: "Complete a signature";
|
|
6020
|
+
readonly summary: "Install the CMS into the prepared candidate and publish the sealed bytes as the document's next base version.";
|
|
6021
|
+
readonly method: "POST";
|
|
6022
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/signatures/:signingId/complete";
|
|
5867
6023
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
5868
6024
|
readonly scope: readonly [];
|
|
5869
|
-
readonly docCapabilities: readonly ["doc.
|
|
6025
|
+
readonly docCapabilities: readonly ["doc.sign"];
|
|
5870
6026
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
5871
6027
|
readonly params: z.ZodObject<{
|
|
5872
6028
|
docId: z.ZodString;
|
|
5873
6029
|
} & {
|
|
5874
6030
|
layerName: z.ZodString;
|
|
6031
|
+
} & {
|
|
6032
|
+
signingId: z.ZodString;
|
|
5875
6033
|
}, "strip", z.ZodTypeAny, {
|
|
5876
6034
|
docId: string;
|
|
5877
6035
|
layerName: string;
|
|
6036
|
+
signingId: string;
|
|
5878
6037
|
}, {
|
|
5879
6038
|
docId: string;
|
|
5880
6039
|
layerName: string;
|
|
6040
|
+
signingId: string;
|
|
5881
6041
|
}>;
|
|
5882
|
-
readonly
|
|
6042
|
+
readonly body: {
|
|
6043
|
+
readonly contentType: "application/json";
|
|
6044
|
+
readonly schema: z.ZodObject<{
|
|
6045
|
+
cms: z.ZodEffects<z.ZodString, string, string>;
|
|
6046
|
+
expectedVersion: z.ZodType<_embedpdf_engine_core_runtime.DocumentVersionRef, z.ZodTypeDef, _embedpdf_engine_core_runtime.DocumentVersionRef>;
|
|
6047
|
+
}, "strip", z.ZodTypeAny, {
|
|
6048
|
+
expectedVersion: _embedpdf_engine_core_runtime.DocumentVersionRef;
|
|
6049
|
+
cms: string;
|
|
6050
|
+
}, {
|
|
6051
|
+
expectedVersion: _embedpdf_engine_core_runtime.DocumentVersionRef;
|
|
6052
|
+
cms: string;
|
|
6053
|
+
}>;
|
|
6054
|
+
};
|
|
5883
6055
|
readonly responses: {
|
|
5884
6056
|
readonly 200: {
|
|
5885
6057
|
readonly contentType: "application/json";
|
|
5886
|
-
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.
|
|
6058
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SignatureCompleteResult, z.ZodTypeDef, _embedpdf_engine_core_runtime.SignatureCompleteResult>;
|
|
6059
|
+
};
|
|
6060
|
+
readonly 400: {
|
|
6061
|
+
readonly contentType: "application/json";
|
|
6062
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
5887
6063
|
};
|
|
5888
6064
|
readonly 404: {
|
|
5889
6065
|
readonly contentType: "application/json";
|
|
@@ -5894,51 +6070,37 @@ declare const docOperations: {
|
|
|
5894
6070
|
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
5895
6071
|
};
|
|
5896
6072
|
};
|
|
6073
|
+
readonly notes: string;
|
|
5897
6074
|
};
|
|
5898
|
-
readonly 'doc.
|
|
5899
|
-
readonly operationId: "doc.
|
|
5900
|
-
readonly title: "
|
|
5901
|
-
readonly summary: "
|
|
5902
|
-
readonly method: "
|
|
5903
|
-
readonly path: "/v1/docs/:docId/layers/:layerName/
|
|
6075
|
+
readonly 'doc.signatures.abort': {
|
|
6076
|
+
readonly operationId: "doc.signatures.abort";
|
|
6077
|
+
readonly title: "Abort a signature";
|
|
6078
|
+
readonly summary: "Discard a pending signing candidate.";
|
|
6079
|
+
readonly method: "DELETE";
|
|
6080
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/signatures/:signingId";
|
|
5904
6081
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
5905
6082
|
readonly scope: readonly [];
|
|
5906
|
-
readonly docCapabilities: readonly ["doc.
|
|
6083
|
+
readonly docCapabilities: readonly ["doc.sign"];
|
|
5907
6084
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
5908
6085
|
readonly params: z.ZodObject<{
|
|
5909
6086
|
docId: z.ZodString;
|
|
5910
6087
|
} & {
|
|
5911
6088
|
layerName: z.ZodString;
|
|
5912
6089
|
} & {
|
|
5913
|
-
|
|
6090
|
+
signingId: z.ZodString;
|
|
5914
6091
|
}, "strip", z.ZodTypeAny, {
|
|
5915
6092
|
docId: string;
|
|
5916
6093
|
layerName: string;
|
|
5917
|
-
|
|
6094
|
+
signingId: string;
|
|
5918
6095
|
}, {
|
|
5919
6096
|
docId: string;
|
|
5920
6097
|
layerName: string;
|
|
5921
|
-
|
|
6098
|
+
signingId: string;
|
|
5922
6099
|
}>;
|
|
5923
|
-
readonly body: {
|
|
5924
|
-
readonly contentType: "application/json";
|
|
5925
|
-
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5926
|
-
};
|
|
5927
|
-
readonly notes: string;
|
|
5928
6100
|
readonly responses: {
|
|
5929
6101
|
readonly 200: {
|
|
5930
6102
|
readonly contentType: "application/json";
|
|
5931
|
-
readonly schema: z.
|
|
5932
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
5933
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5934
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
5935
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5936
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
5937
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
5938
|
-
};
|
|
5939
|
-
readonly 400: {
|
|
5940
|
-
readonly contentType: "application/json";
|
|
5941
|
-
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6103
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SignatureAbortResult, z.ZodTypeDef, _embedpdf_engine_core_runtime.SignatureAbortResult>;
|
|
5942
6104
|
};
|
|
5943
6105
|
readonly 404: {
|
|
5944
6106
|
readonly contentType: "application/json";
|
|
@@ -5946,99 +6108,109 @@ declare const docOperations: {
|
|
|
5946
6108
|
};
|
|
5947
6109
|
};
|
|
5948
6110
|
};
|
|
5949
|
-
readonly 'doc.
|
|
5950
|
-
readonly operationId: "doc.
|
|
5951
|
-
readonly title: "
|
|
5952
|
-
readonly summary: "
|
|
5953
|
-
readonly method: "
|
|
5954
|
-
readonly path: "/v1/docs/:docId/
|
|
6111
|
+
readonly 'doc.versions.list': {
|
|
6112
|
+
readonly operationId: "doc.versions.list";
|
|
6113
|
+
readonly title: "List versions";
|
|
6114
|
+
readonly summary: "The document's base versions, oldest first, and its head.";
|
|
6115
|
+
readonly method: "GET";
|
|
6116
|
+
readonly path: "/v1/docs/:docId/versions";
|
|
5955
6117
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
5956
6118
|
readonly scope: readonly [];
|
|
5957
|
-
readonly docCapabilities: readonly ["doc.
|
|
6119
|
+
readonly docCapabilities: readonly ["doc.open"];
|
|
5958
6120
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
5959
6121
|
readonly params: z.ZodObject<{
|
|
5960
6122
|
docId: z.ZodString;
|
|
5961
|
-
} & {
|
|
5962
|
-
layerName: z.ZodString;
|
|
5963
|
-
} & {
|
|
5964
|
-
pon: z.ZodNumber;
|
|
5965
|
-
} & {
|
|
5966
|
-
annotKey: z.ZodString;
|
|
5967
6123
|
}, "strip", z.ZodTypeAny, {
|
|
5968
6124
|
docId: string;
|
|
5969
|
-
layerName: string;
|
|
5970
|
-
pon: number;
|
|
5971
|
-
annotKey: string;
|
|
5972
6125
|
}, {
|
|
5973
6126
|
docId: string;
|
|
5974
|
-
layerName: string;
|
|
5975
|
-
pon: number;
|
|
5976
|
-
annotKey: string;
|
|
5977
6127
|
}>;
|
|
5978
|
-
readonly body: {
|
|
5979
|
-
readonly contentType: "application/json";
|
|
5980
|
-
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5981
|
-
};
|
|
5982
6128
|
readonly responses: {
|
|
5983
6129
|
readonly 200: {
|
|
5984
6130
|
readonly contentType: "application/json";
|
|
5985
6131
|
readonly schema: z.ZodObject<{
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
5993
|
-
|
|
5994
|
-
|
|
5995
|
-
|
|
6132
|
+
head: z.ZodString;
|
|
6133
|
+
versions: z.ZodArray<z.ZodObject<{
|
|
6134
|
+
sha256: z.ZodString;
|
|
6135
|
+
byteLength: z.ZodNumber;
|
|
6136
|
+
number: z.ZodNumber;
|
|
6137
|
+
parentSha256: z.ZodNullable<z.ZodString>;
|
|
6138
|
+
producer: z.ZodEnum<["upload", "signature"]>;
|
|
6139
|
+
signingId: z.ZodNullable<z.ZodString>;
|
|
6140
|
+
createdAt: z.ZodNumber;
|
|
6141
|
+
}, "strip", z.ZodTypeAny, {
|
|
6142
|
+
number: number;
|
|
6143
|
+
signingId: string | null;
|
|
6144
|
+
sha256: string;
|
|
6145
|
+
byteLength: number;
|
|
6146
|
+
parentSha256: string | null;
|
|
6147
|
+
producer: "signature" | "upload";
|
|
6148
|
+
createdAt: number;
|
|
6149
|
+
}, {
|
|
6150
|
+
number: number;
|
|
6151
|
+
signingId: string | null;
|
|
6152
|
+
sha256: string;
|
|
6153
|
+
byteLength: number;
|
|
6154
|
+
parentSha256: string | null;
|
|
6155
|
+
producer: "signature" | "upload";
|
|
6156
|
+
createdAt: number;
|
|
6157
|
+
}>, "many">;
|
|
6158
|
+
}, "strip", z.ZodTypeAny, {
|
|
6159
|
+
head: string;
|
|
6160
|
+
versions: {
|
|
6161
|
+
number: number;
|
|
6162
|
+
signingId: string | null;
|
|
6163
|
+
sha256: string;
|
|
6164
|
+
byteLength: number;
|
|
6165
|
+
parentSha256: string | null;
|
|
6166
|
+
producer: "signature" | "upload";
|
|
6167
|
+
createdAt: number;
|
|
6168
|
+
}[];
|
|
6169
|
+
}, {
|
|
6170
|
+
head: string;
|
|
6171
|
+
versions: {
|
|
6172
|
+
number: number;
|
|
6173
|
+
signingId: string | null;
|
|
6174
|
+
sha256: string;
|
|
6175
|
+
byteLength: number;
|
|
6176
|
+
parentSha256: string | null;
|
|
6177
|
+
producer: "signature" | "upload";
|
|
6178
|
+
createdAt: number;
|
|
6179
|
+
}[];
|
|
6180
|
+
}>;
|
|
5996
6181
|
};
|
|
5997
6182
|
readonly 404: {
|
|
5998
6183
|
readonly contentType: "application/json";
|
|
5999
6184
|
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6000
6185
|
};
|
|
6001
6186
|
};
|
|
6187
|
+
readonly notes: "Every completed signature publishes a new version. Never cached: the list grows.";
|
|
6002
6188
|
};
|
|
6003
|
-
readonly 'doc.
|
|
6004
|
-
readonly operationId: "doc.
|
|
6005
|
-
readonly title: "
|
|
6006
|
-
readonly summary: "
|
|
6007
|
-
readonly method: "
|
|
6008
|
-
readonly path: "/v1/docs/:docId/
|
|
6189
|
+
readonly 'doc.versions.signatures': {
|
|
6190
|
+
readonly operationId: "doc.versions.signatures";
|
|
6191
|
+
readonly title: "Version signatures";
|
|
6192
|
+
readonly summary: "The signature snapshot of one base version (immutable).";
|
|
6193
|
+
readonly method: "GET";
|
|
6194
|
+
readonly path: "/v1/docs/:docId/versions/signatures/:sha";
|
|
6009
6195
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6010
6196
|
readonly scope: readonly [];
|
|
6011
|
-
readonly docCapabilities: readonly ["doc.
|
|
6197
|
+
readonly docCapabilities: readonly ["doc.forms.read"];
|
|
6012
6198
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6013
6199
|
readonly params: z.ZodObject<{
|
|
6014
6200
|
docId: z.ZodString;
|
|
6015
6201
|
} & {
|
|
6016
|
-
|
|
6017
|
-
} & {
|
|
6018
|
-
pon: z.ZodNumber;
|
|
6019
|
-
} & {
|
|
6020
|
-
annotKey: z.ZodString;
|
|
6202
|
+
sha: z.ZodString;
|
|
6021
6203
|
}, "strip", z.ZodTypeAny, {
|
|
6022
6204
|
docId: string;
|
|
6023
|
-
|
|
6024
|
-
pon: number;
|
|
6025
|
-
annotKey: string;
|
|
6205
|
+
sha: string;
|
|
6026
6206
|
}, {
|
|
6027
6207
|
docId: string;
|
|
6028
|
-
|
|
6029
|
-
pon: number;
|
|
6030
|
-
annotKey: string;
|
|
6208
|
+
sha: string;
|
|
6031
6209
|
}>;
|
|
6032
6210
|
readonly responses: {
|
|
6033
6211
|
readonly 200: {
|
|
6034
6212
|
readonly contentType: "application/json";
|
|
6035
|
-
readonly schema: z.
|
|
6036
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6037
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6038
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6039
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6040
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6041
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
6213
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SignatureSnapshot, z.ZodTypeDef, _embedpdf_engine_core_runtime.SignatureSnapshot>;
|
|
6042
6214
|
};
|
|
6043
6215
|
readonly 404: {
|
|
6044
6216
|
readonly contentType: "application/json";
|
|
@@ -6046,88 +6218,128 @@ declare const docOperations: {
|
|
|
6046
6218
|
};
|
|
6047
6219
|
};
|
|
6048
6220
|
};
|
|
6049
|
-
readonly 'doc.
|
|
6050
|
-
readonly operationId: "doc.
|
|
6051
|
-
readonly title: "
|
|
6052
|
-
readonly summary: "
|
|
6053
|
-
readonly method: "
|
|
6054
|
-
readonly path: "/v1/docs/:docId/
|
|
6221
|
+
readonly 'doc.versions.signatureContents': {
|
|
6222
|
+
readonly operationId: "doc.versions.signatureContents";
|
|
6223
|
+
readonly title: "Signature contents";
|
|
6224
|
+
readonly summary: "The DER /Contents of a signed field in one base version (immutable).";
|
|
6225
|
+
readonly method: "GET";
|
|
6226
|
+
readonly path: "/v1/docs/:docId/versions/signatures/:sha/:fieldKey/contents";
|
|
6055
6227
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6056
6228
|
readonly scope: readonly [];
|
|
6057
|
-
readonly docCapabilities: readonly ["doc.
|
|
6229
|
+
readonly docCapabilities: readonly ["doc.forms.read"];
|
|
6058
6230
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6059
6231
|
readonly params: z.ZodObject<{
|
|
6060
6232
|
docId: z.ZodString;
|
|
6061
6233
|
} & {
|
|
6062
|
-
|
|
6234
|
+
sha: z.ZodString;
|
|
6063
6235
|
} & {
|
|
6064
|
-
|
|
6236
|
+
fieldKey: z.ZodString;
|
|
6065
6237
|
}, "strip", z.ZodTypeAny, {
|
|
6066
6238
|
docId: string;
|
|
6067
|
-
|
|
6068
|
-
|
|
6239
|
+
fieldKey: string;
|
|
6240
|
+
sha: string;
|
|
6069
6241
|
}, {
|
|
6070
6242
|
docId: string;
|
|
6071
|
-
|
|
6072
|
-
|
|
6243
|
+
fieldKey: string;
|
|
6244
|
+
sha: string;
|
|
6073
6245
|
}>;
|
|
6074
|
-
readonly body: {
|
|
6075
|
-
readonly contentType: "application/json";
|
|
6076
|
-
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6077
|
-
};
|
|
6078
6246
|
readonly responses: {
|
|
6079
6247
|
readonly 200: {
|
|
6080
|
-
readonly contentType: "application/
|
|
6081
|
-
readonly schema: z.ZodObject<{
|
|
6082
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6083
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6084
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6085
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6086
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6087
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
6248
|
+
readonly contentType: "application/pkcs7-signature";
|
|
6088
6249
|
};
|
|
6089
|
-
readonly
|
|
6250
|
+
readonly 404: {
|
|
6090
6251
|
readonly contentType: "application/json";
|
|
6091
6252
|
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6092
6253
|
};
|
|
6254
|
+
};
|
|
6255
|
+
readonly notes: "`fieldKey` is the field's fully qualified name, token-text encoded (the same encoding attachment keys use).";
|
|
6256
|
+
};
|
|
6257
|
+
readonly 'doc.versions.signatureDigest': {
|
|
6258
|
+
readonly operationId: "doc.versions.signatureDigest";
|
|
6259
|
+
readonly title: "Signature digest";
|
|
6260
|
+
readonly summary: "The digest of a signed field's /ByteRange in one base version (immutable).";
|
|
6261
|
+
readonly method: "GET";
|
|
6262
|
+
readonly path: "/v1/docs/:docId/versions/signatures/:sha/:fieldKey/digest/:algorithm";
|
|
6263
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6264
|
+
readonly scope: readonly [];
|
|
6265
|
+
readonly docCapabilities: readonly ["doc.forms.read"];
|
|
6266
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6267
|
+
readonly params: z.ZodObject<{
|
|
6268
|
+
docId: z.ZodString;
|
|
6269
|
+
} & {
|
|
6270
|
+
sha: z.ZodString;
|
|
6271
|
+
} & {
|
|
6272
|
+
fieldKey: z.ZodString;
|
|
6273
|
+
} & {
|
|
6274
|
+
algorithm: z.ZodEnum<["sha1", "sha256", "sha384", "sha512"]>;
|
|
6275
|
+
}, "strip", z.ZodTypeAny, {
|
|
6276
|
+
docId: string;
|
|
6277
|
+
fieldKey: string;
|
|
6278
|
+
sha: string;
|
|
6279
|
+
algorithm: "sha256" | "sha1" | "sha384" | "sha512";
|
|
6280
|
+
}, {
|
|
6281
|
+
docId: string;
|
|
6282
|
+
fieldKey: string;
|
|
6283
|
+
sha: string;
|
|
6284
|
+
algorithm: "sha256" | "sha1" | "sha384" | "sha512";
|
|
6285
|
+
}>;
|
|
6286
|
+
readonly responses: {
|
|
6287
|
+
readonly 200: {
|
|
6288
|
+
readonly contentType: "application/octet-stream";
|
|
6289
|
+
};
|
|
6093
6290
|
readonly 404: {
|
|
6094
6291
|
readonly contentType: "application/json";
|
|
6095
6292
|
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6096
6293
|
};
|
|
6097
6294
|
};
|
|
6295
|
+
readonly notes: "What a CMS verifier compares its message digest to.";
|
|
6098
6296
|
};
|
|
6099
|
-
readonly 'doc.
|
|
6100
|
-
readonly operationId: "doc.
|
|
6101
|
-
readonly title: "
|
|
6102
|
-
readonly summary: "
|
|
6103
|
-
readonly method: "
|
|
6104
|
-
readonly path: "/v1/docs/:docId/
|
|
6297
|
+
readonly 'doc.versions.analysis': {
|
|
6298
|
+
readonly operationId: "doc.versions.analysis";
|
|
6299
|
+
readonly title: "Analyze version history";
|
|
6300
|
+
readonly summary: "What changed between two revisions of one base version (immutable).";
|
|
6301
|
+
readonly method: "GET";
|
|
6302
|
+
readonly path: "/v1/docs/:docId/versions/analysis/:sha";
|
|
6105
6303
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6106
6304
|
readonly scope: readonly [];
|
|
6107
|
-
readonly docCapabilities: readonly ["doc.
|
|
6305
|
+
readonly docCapabilities: readonly ["doc.forms.read"];
|
|
6108
6306
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6109
6307
|
readonly params: z.ZodObject<{
|
|
6110
6308
|
docId: z.ZodString;
|
|
6111
6309
|
} & {
|
|
6112
|
-
|
|
6113
|
-
} & {
|
|
6114
|
-
pon: z.ZodNumber;
|
|
6310
|
+
sha: z.ZodString;
|
|
6115
6311
|
}, "strip", z.ZodTypeAny, {
|
|
6116
6312
|
docId: string;
|
|
6117
|
-
|
|
6118
|
-
pon: number;
|
|
6313
|
+
sha: string;
|
|
6119
6314
|
}, {
|
|
6120
6315
|
docId: string;
|
|
6121
|
-
|
|
6122
|
-
|
|
6316
|
+
sha: string;
|
|
6317
|
+
}>;
|
|
6318
|
+
readonly query: z.ZodObject<{
|
|
6319
|
+
'since.signature': z.ZodOptional<z.ZodNumber>;
|
|
6320
|
+
'since.revision': z.ZodOptional<z.ZodNumber>;
|
|
6321
|
+
level: z.ZodOptional<z.ZodEnum<["none", "lta", "fill", "annotate"]>>;
|
|
6322
|
+
} & {
|
|
6323
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
6324
|
+
/** The judging policy version the caller expects — a cache key on this immutable URL, not an input. */
|
|
6325
|
+
policy: z.ZodOptional<z.ZodNumber>;
|
|
6326
|
+
}, "strip", z.ZodTypeAny, {
|
|
6327
|
+
'since.signature'?: number | undefined;
|
|
6328
|
+
'since.revision'?: number | undefined;
|
|
6329
|
+
level?: "fill" | "none" | "lta" | "annotate" | undefined;
|
|
6330
|
+
until?: number | undefined;
|
|
6331
|
+
policy?: number | undefined;
|
|
6332
|
+
}, {
|
|
6333
|
+
'since.signature'?: number | undefined;
|
|
6334
|
+
'since.revision'?: number | undefined;
|
|
6335
|
+
level?: "fill" | "none" | "lta" | "annotate" | undefined;
|
|
6336
|
+
until?: number | undefined;
|
|
6337
|
+
policy?: number | undefined;
|
|
6123
6338
|
}>;
|
|
6124
|
-
readonly body: {
|
|
6125
|
-
readonly contentType: "application/json";
|
|
6126
|
-
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6127
|
-
};
|
|
6128
6339
|
readonly responses: {
|
|
6129
6340
|
readonly 200: {
|
|
6130
|
-
readonly contentType: "application/
|
|
6341
|
+
readonly contentType: "application/json";
|
|
6342
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.ChangeAnalysis, z.ZodTypeDef, _embedpdf_engine_core_runtime.ChangeAnalysis>;
|
|
6131
6343
|
};
|
|
6132
6344
|
readonly 400: {
|
|
6133
6345
|
readonly contentType: "application/json";
|
|
@@ -6138,32 +6350,32 @@ declare const docOperations: {
|
|
|
6138
6350
|
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6139
6351
|
};
|
|
6140
6352
|
};
|
|
6353
|
+
readonly notes: string;
|
|
6141
6354
|
};
|
|
6142
|
-
readonly 'doc.
|
|
6143
|
-
readonly operationId: "doc.
|
|
6144
|
-
readonly title: "
|
|
6145
|
-
readonly summary: "
|
|
6355
|
+
readonly 'doc.versions.download': {
|
|
6356
|
+
readonly operationId: "doc.versions.download";
|
|
6357
|
+
readonly title: "Download a version";
|
|
6358
|
+
readonly summary: "The bytes of one base version (immutable).";
|
|
6146
6359
|
readonly method: "GET";
|
|
6147
|
-
readonly path: "/v1/docs/:docId/
|
|
6360
|
+
readonly path: "/v1/docs/:docId/versions/download/:sha";
|
|
6148
6361
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6149
6362
|
readonly scope: readonly [];
|
|
6150
|
-
readonly docCapabilities: readonly ["doc.
|
|
6363
|
+
readonly docCapabilities: readonly ["doc.download"];
|
|
6151
6364
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6152
6365
|
readonly params: z.ZodObject<{
|
|
6153
6366
|
docId: z.ZodString;
|
|
6154
6367
|
} & {
|
|
6155
|
-
|
|
6368
|
+
sha: z.ZodString;
|
|
6156
6369
|
}, "strip", z.ZodTypeAny, {
|
|
6157
6370
|
docId: string;
|
|
6158
|
-
|
|
6371
|
+
sha: string;
|
|
6159
6372
|
}, {
|
|
6160
6373
|
docId: string;
|
|
6161
|
-
|
|
6374
|
+
sha: string;
|
|
6162
6375
|
}>;
|
|
6163
6376
|
readonly responses: {
|
|
6164
6377
|
readonly 200: {
|
|
6165
|
-
readonly contentType: "application/
|
|
6166
|
-
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.FormSnapshot, z.ZodTypeDef, _embedpdf_engine_core_runtime.FormSnapshot>;
|
|
6378
|
+
readonly contentType: "application/pdf";
|
|
6167
6379
|
};
|
|
6168
6380
|
readonly 404: {
|
|
6169
6381
|
readonly contentType: "application/json";
|
|
@@ -6171,49 +6383,34 @@ declare const docOperations: {
|
|
|
6171
6383
|
};
|
|
6172
6384
|
};
|
|
6173
6385
|
};
|
|
6174
|
-
readonly 'doc.
|
|
6175
|
-
readonly operationId: "doc.
|
|
6176
|
-
readonly title: "
|
|
6177
|
-
readonly summary: "
|
|
6178
|
-
readonly method: "
|
|
6179
|
-
readonly path: "/v1/docs/:docId/
|
|
6386
|
+
readonly 'doc.versions.revision': {
|
|
6387
|
+
readonly operationId: "doc.versions.revision";
|
|
6388
|
+
readonly title: "Download a revision";
|
|
6389
|
+
readonly summary: "The byte prefix of one revision of a base version: exactly what a signature over it signed (immutable).";
|
|
6390
|
+
readonly method: "GET";
|
|
6391
|
+
readonly path: "/v1/docs/:docId/versions/revisions/:sha/:index";
|
|
6180
6392
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6181
6393
|
readonly scope: readonly [];
|
|
6182
|
-
readonly docCapabilities: readonly ["doc.
|
|
6394
|
+
readonly docCapabilities: readonly ["doc.download"];
|
|
6183
6395
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6184
6396
|
readonly params: z.ZodObject<{
|
|
6185
6397
|
docId: z.ZodString;
|
|
6186
6398
|
} & {
|
|
6187
|
-
|
|
6399
|
+
sha: z.ZodString;
|
|
6188
6400
|
} & {
|
|
6189
|
-
|
|
6401
|
+
index: z.ZodNumber;
|
|
6190
6402
|
}, "strip", z.ZodTypeAny, {
|
|
6191
6403
|
docId: string;
|
|
6192
|
-
|
|
6193
|
-
|
|
6404
|
+
sha: string;
|
|
6405
|
+
index: number;
|
|
6194
6406
|
}, {
|
|
6195
6407
|
docId: string;
|
|
6196
|
-
|
|
6197
|
-
|
|
6408
|
+
sha: string;
|
|
6409
|
+
index: number;
|
|
6198
6410
|
}>;
|
|
6199
|
-
readonly body: {
|
|
6200
|
-
readonly contentType: "application/json";
|
|
6201
|
-
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6202
|
-
};
|
|
6203
6411
|
readonly responses: {
|
|
6204
6412
|
readonly 200: {
|
|
6205
|
-
readonly contentType: "application/
|
|
6206
|
-
readonly schema: z.ZodObject<{
|
|
6207
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6208
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6209
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6210
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6211
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6212
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
6213
|
-
};
|
|
6214
|
-
readonly 400: {
|
|
6215
|
-
readonly contentType: "application/json";
|
|
6216
|
-
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6413
|
+
readonly contentType: "application/pdf";
|
|
6217
6414
|
};
|
|
6218
6415
|
readonly 404: {
|
|
6219
6416
|
readonly contentType: "application/json";
|
|
@@ -6221,41 +6418,35 @@ declare const docOperations: {
|
|
|
6221
6418
|
};
|
|
6222
6419
|
};
|
|
6223
6420
|
};
|
|
6224
|
-
readonly 'doc.
|
|
6225
|
-
readonly operationId: "doc.
|
|
6226
|
-
readonly title: "
|
|
6227
|
-
readonly summary: "
|
|
6228
|
-
readonly method: "
|
|
6229
|
-
readonly path: "/v1/docs/:docId/layers/:layerName/
|
|
6421
|
+
readonly 'doc.render': {
|
|
6422
|
+
readonly operationId: "doc.render";
|
|
6423
|
+
readonly title: "Render page";
|
|
6424
|
+
readonly summary: "Render one page as an image at the current layer version.";
|
|
6425
|
+
readonly method: "GET";
|
|
6426
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/render/pages/:pon/data";
|
|
6230
6427
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6231
6428
|
readonly scope: readonly [];
|
|
6232
|
-
readonly docCapabilities: readonly ["doc.
|
|
6429
|
+
readonly docCapabilities: readonly ["doc.render"];
|
|
6233
6430
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6234
6431
|
readonly params: z.ZodObject<{
|
|
6235
6432
|
docId: z.ZodString;
|
|
6236
6433
|
} & {
|
|
6237
6434
|
layerName: z.ZodString;
|
|
6238
6435
|
} & {
|
|
6239
|
-
|
|
6436
|
+
pon: z.ZodNumber;
|
|
6240
6437
|
}, "strip", z.ZodTypeAny, {
|
|
6241
6438
|
docId: string;
|
|
6242
6439
|
layerName: string;
|
|
6243
|
-
|
|
6440
|
+
pon: number;
|
|
6244
6441
|
}, {
|
|
6245
6442
|
docId: string;
|
|
6246
6443
|
layerName: string;
|
|
6247
|
-
|
|
6444
|
+
pon: number;
|
|
6248
6445
|
}>;
|
|
6446
|
+
readonly notes: string;
|
|
6249
6447
|
readonly responses: {
|
|
6250
6448
|
readonly 200: {
|
|
6251
|
-
readonly contentType: "
|
|
6252
|
-
readonly schema: z.ZodObject<{
|
|
6253
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6254
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6255
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6256
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6257
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6258
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
6449
|
+
readonly contentType: "image/webp";
|
|
6259
6450
|
};
|
|
6260
6451
|
readonly 404: {
|
|
6261
6452
|
readonly contentType: "application/json";
|
|
@@ -6263,37 +6454,35 @@ declare const docOperations: {
|
|
|
6263
6454
|
};
|
|
6264
6455
|
};
|
|
6265
6456
|
};
|
|
6266
|
-
readonly 'doc.
|
|
6267
|
-
readonly operationId: "doc.
|
|
6268
|
-
readonly title: "
|
|
6269
|
-
readonly summary: "
|
|
6457
|
+
readonly 'doc.text': {
|
|
6458
|
+
readonly operationId: "doc.text";
|
|
6459
|
+
readonly title: "Extract page text";
|
|
6460
|
+
readonly summary: "Extracted text content for one page.";
|
|
6270
6461
|
readonly method: "GET";
|
|
6271
|
-
readonly path: "/v1/docs/:docId/layers/:layerName/
|
|
6462
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/text/pages/:pon/data";
|
|
6272
6463
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6273
6464
|
readonly scope: readonly [];
|
|
6274
|
-
readonly docCapabilities: readonly ["doc.
|
|
6465
|
+
readonly docCapabilities: readonly ["doc.text.copy"];
|
|
6275
6466
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6276
6467
|
readonly params: z.ZodObject<{
|
|
6277
6468
|
docId: z.ZodString;
|
|
6278
6469
|
} & {
|
|
6279
6470
|
layerName: z.ZodString;
|
|
6471
|
+
} & {
|
|
6472
|
+
pon: z.ZodNumber;
|
|
6280
6473
|
}, "strip", z.ZodTypeAny, {
|
|
6281
6474
|
docId: string;
|
|
6282
6475
|
layerName: string;
|
|
6476
|
+
pon: number;
|
|
6283
6477
|
}, {
|
|
6284
6478
|
docId: string;
|
|
6285
6479
|
layerName: string;
|
|
6286
|
-
|
|
6287
|
-
readonly query: z.ZodObject<{
|
|
6288
|
-
format: z.ZodOptional<z.ZodEnum<["fdf", "xfdf"]>>;
|
|
6289
|
-
}, "strip", z.ZodTypeAny, {
|
|
6290
|
-
format?: "fdf" | "xfdf" | undefined;
|
|
6291
|
-
}, {
|
|
6292
|
-
format?: "fdf" | "xfdf" | undefined;
|
|
6480
|
+
pon: number;
|
|
6293
6481
|
}>;
|
|
6294
6482
|
readonly responses: {
|
|
6295
6483
|
readonly 200: {
|
|
6296
|
-
readonly contentType:
|
|
6484
|
+
readonly contentType: "application/json";
|
|
6485
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.PageTextSnapshot, z.ZodTypeDef, _embedpdf_engine_core_runtime.PageTextSnapshot>;
|
|
6297
6486
|
};
|
|
6298
6487
|
readonly 404: {
|
|
6299
6488
|
readonly contentType: "application/json";
|
|
@@ -6301,45 +6490,35 @@ declare const docOperations: {
|
|
|
6301
6490
|
};
|
|
6302
6491
|
};
|
|
6303
6492
|
};
|
|
6304
|
-
readonly 'doc.
|
|
6305
|
-
readonly operationId: "doc.
|
|
6306
|
-
readonly title: "
|
|
6307
|
-
readonly summary: "
|
|
6308
|
-
readonly method: "
|
|
6309
|
-
readonly path: "/v1/docs/:docId/layers/:layerName/
|
|
6493
|
+
readonly 'doc.annotations.list': {
|
|
6494
|
+
readonly operationId: "doc.annotations.list";
|
|
6495
|
+
readonly title: "List annotations";
|
|
6496
|
+
readonly summary: "One page's annotations at the current layer version.";
|
|
6497
|
+
readonly method: "GET";
|
|
6498
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items";
|
|
6310
6499
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6311
6500
|
readonly scope: readonly [];
|
|
6312
|
-
readonly docCapabilities: readonly ["doc.
|
|
6501
|
+
readonly docCapabilities: readonly ["doc.annotate.read"];
|
|
6313
6502
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6314
6503
|
readonly params: z.ZodObject<{
|
|
6315
6504
|
docId: z.ZodString;
|
|
6316
6505
|
} & {
|
|
6317
6506
|
layerName: z.ZodString;
|
|
6507
|
+
} & {
|
|
6508
|
+
pon: z.ZodNumber;
|
|
6318
6509
|
}, "strip", z.ZodTypeAny, {
|
|
6319
6510
|
docId: string;
|
|
6320
6511
|
layerName: string;
|
|
6512
|
+
pon: number;
|
|
6321
6513
|
}, {
|
|
6322
6514
|
docId: string;
|
|
6323
6515
|
layerName: string;
|
|
6516
|
+
pon: number;
|
|
6324
6517
|
}>;
|
|
6325
|
-
readonly body: {
|
|
6326
|
-
readonly contentType: "application/json";
|
|
6327
|
-
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6328
|
-
};
|
|
6329
6518
|
readonly responses: {
|
|
6330
6519
|
readonly 200: {
|
|
6331
6520
|
readonly contentType: "application/json";
|
|
6332
|
-
readonly schema: z.
|
|
6333
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6334
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6335
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6336
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6337
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6338
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
6339
|
-
};
|
|
6340
|
-
readonly 400: {
|
|
6341
|
-
readonly contentType: "application/json";
|
|
6342
|
-
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6521
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.AnnotationListPageSnapshot, z.ZodTypeDef, _embedpdf_engine_core_runtime.AnnotationListPageSnapshot>;
|
|
6343
6522
|
};
|
|
6344
6523
|
readonly 404: {
|
|
6345
6524
|
readonly contentType: "application/json";
|
|
@@ -6347,15 +6526,15 @@ declare const docOperations: {
|
|
|
6347
6526
|
};
|
|
6348
6527
|
};
|
|
6349
6528
|
};
|
|
6350
|
-
readonly 'doc.
|
|
6351
|
-
readonly operationId: "doc.
|
|
6352
|
-
readonly title: "
|
|
6353
|
-
readonly summary: "
|
|
6354
|
-
readonly method: "
|
|
6355
|
-
readonly path: "/v1/docs/:docId/layers/:layerName/
|
|
6529
|
+
readonly 'doc.annotations.listAll': {
|
|
6530
|
+
readonly operationId: "doc.annotations.listAll";
|
|
6531
|
+
readonly title: "List all annotations";
|
|
6532
|
+
readonly summary: "All pages' annotations as one coherent snapshot at the current layer version.";
|
|
6533
|
+
readonly method: "GET";
|
|
6534
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/annotations/items";
|
|
6356
6535
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6357
6536
|
readonly scope: readonly [];
|
|
6358
|
-
readonly docCapabilities: readonly ["doc.
|
|
6537
|
+
readonly docCapabilities: readonly ["doc.annotate.read"];
|
|
6359
6538
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6360
6539
|
readonly params: z.ZodObject<{
|
|
6361
6540
|
docId: z.ZodString;
|
|
@@ -6368,56 +6547,52 @@ declare const docOperations: {
|
|
|
6368
6547
|
docId: string;
|
|
6369
6548
|
layerName: string;
|
|
6370
6549
|
}>;
|
|
6371
|
-
readonly
|
|
6372
|
-
readonly contentType: "application/json";
|
|
6373
|
-
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6374
|
-
};
|
|
6550
|
+
readonly notes: "Returns one entry per page plus the audit-log cursor for reconciling subsequent document events. Page order is unspecified; join by `pageState.pageObjectNumber` when display order matters.";
|
|
6375
6551
|
readonly responses: {
|
|
6376
6552
|
readonly 200: {
|
|
6377
6553
|
readonly contentType: "application/json";
|
|
6378
|
-
readonly schema: z.
|
|
6379
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6380
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6381
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6382
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6383
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6384
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
6554
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.AnnotationListSnapshotAllPages, z.ZodTypeDef, _embedpdf_engine_core_runtime.AnnotationListSnapshotAllPages>;
|
|
6385
6555
|
};
|
|
6386
|
-
readonly
|
|
6556
|
+
readonly 404: {
|
|
6387
6557
|
readonly contentType: "application/json";
|
|
6388
6558
|
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6389
6559
|
};
|
|
6390
|
-
readonly
|
|
6560
|
+
readonly 409: {
|
|
6391
6561
|
readonly contentType: "application/json";
|
|
6392
6562
|
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6393
6563
|
};
|
|
6394
6564
|
};
|
|
6395
6565
|
};
|
|
6396
|
-
readonly 'doc.
|
|
6397
|
-
readonly operationId: "doc.
|
|
6398
|
-
readonly title: "
|
|
6399
|
-
readonly summary: "
|
|
6566
|
+
readonly 'doc.annotations.create': {
|
|
6567
|
+
readonly operationId: "doc.annotations.create";
|
|
6568
|
+
readonly title: "Create annotation";
|
|
6569
|
+
readonly summary: "Create an annotation on a page.";
|
|
6400
6570
|
readonly method: "POST";
|
|
6401
|
-
readonly path: "/v1/docs/:docId/layers/:layerName/pages/
|
|
6571
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items";
|
|
6402
6572
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6403
6573
|
readonly scope: readonly [];
|
|
6404
|
-
readonly docCapabilities: readonly ["doc.
|
|
6574
|
+
readonly docCapabilities: readonly ["doc.annotate.modify"];
|
|
6405
6575
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6406
6576
|
readonly params: z.ZodObject<{
|
|
6407
6577
|
docId: z.ZodString;
|
|
6408
6578
|
} & {
|
|
6409
6579
|
layerName: z.ZodString;
|
|
6580
|
+
} & {
|
|
6581
|
+
pon: z.ZodNumber;
|
|
6410
6582
|
}, "strip", z.ZodTypeAny, {
|
|
6411
6583
|
docId: string;
|
|
6412
6584
|
layerName: string;
|
|
6585
|
+
pon: number;
|
|
6413
6586
|
}, {
|
|
6414
6587
|
docId: string;
|
|
6415
6588
|
layerName: string;
|
|
6589
|
+
pon: number;
|
|
6416
6590
|
}>;
|
|
6417
6591
|
readonly body: {
|
|
6418
6592
|
readonly contentType: "application/json";
|
|
6419
6593
|
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6420
6594
|
};
|
|
6595
|
+
readonly notes: string;
|
|
6421
6596
|
readonly responses: {
|
|
6422
6597
|
readonly 200: {
|
|
6423
6598
|
readonly contentType: "application/json";
|
|
@@ -6439,26 +6614,34 @@ declare const docOperations: {
|
|
|
6439
6614
|
};
|
|
6440
6615
|
};
|
|
6441
6616
|
};
|
|
6442
|
-
readonly 'doc.
|
|
6443
|
-
readonly operationId: "doc.
|
|
6444
|
-
readonly title: "
|
|
6445
|
-
readonly summary: "
|
|
6446
|
-
readonly method: "
|
|
6447
|
-
readonly path: "/v1/docs/:docId/layers/:layerName/pages/
|
|
6617
|
+
readonly 'doc.annotations.update': {
|
|
6618
|
+
readonly operationId: "doc.annotations.update";
|
|
6619
|
+
readonly title: "Update annotation";
|
|
6620
|
+
readonly summary: "Update one annotation by key.";
|
|
6621
|
+
readonly method: "PATCH";
|
|
6622
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/:annotKey";
|
|
6448
6623
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6449
6624
|
readonly scope: readonly [];
|
|
6450
|
-
readonly docCapabilities: readonly ["doc.
|
|
6625
|
+
readonly docCapabilities: readonly ["doc.annotate.modify"];
|
|
6451
6626
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6452
6627
|
readonly params: z.ZodObject<{
|
|
6453
6628
|
docId: z.ZodString;
|
|
6454
6629
|
} & {
|
|
6455
6630
|
layerName: z.ZodString;
|
|
6631
|
+
} & {
|
|
6632
|
+
pon: z.ZodNumber;
|
|
6633
|
+
} & {
|
|
6634
|
+
annotKey: z.ZodString;
|
|
6456
6635
|
}, "strip", z.ZodTypeAny, {
|
|
6457
6636
|
docId: string;
|
|
6458
6637
|
layerName: string;
|
|
6638
|
+
pon: number;
|
|
6639
|
+
annotKey: string;
|
|
6459
6640
|
}, {
|
|
6460
6641
|
docId: string;
|
|
6461
6642
|
layerName: string;
|
|
6643
|
+
pon: number;
|
|
6644
|
+
annotKey: string;
|
|
6462
6645
|
}>;
|
|
6463
6646
|
readonly body: {
|
|
6464
6647
|
readonly contentType: "application/json";
|
|
@@ -6485,26 +6668,76 @@ declare const docOperations: {
|
|
|
6485
6668
|
};
|
|
6486
6669
|
};
|
|
6487
6670
|
};
|
|
6488
|
-
readonly 'doc.
|
|
6489
|
-
readonly operationId: "doc.
|
|
6490
|
-
readonly title: "
|
|
6491
|
-
readonly summary: "
|
|
6671
|
+
readonly 'doc.annotations.delete': {
|
|
6672
|
+
readonly operationId: "doc.annotations.delete";
|
|
6673
|
+
readonly title: "Delete annotation";
|
|
6674
|
+
readonly summary: "Delete one annotation by key.";
|
|
6675
|
+
readonly method: "DELETE";
|
|
6676
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/:annotKey";
|
|
6677
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6678
|
+
readonly scope: readonly [];
|
|
6679
|
+
readonly docCapabilities: readonly ["doc.annotate.modify"];
|
|
6680
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6681
|
+
readonly params: z.ZodObject<{
|
|
6682
|
+
docId: z.ZodString;
|
|
6683
|
+
} & {
|
|
6684
|
+
layerName: z.ZodString;
|
|
6685
|
+
} & {
|
|
6686
|
+
pon: z.ZodNumber;
|
|
6687
|
+
} & {
|
|
6688
|
+
annotKey: z.ZodString;
|
|
6689
|
+
}, "strip", z.ZodTypeAny, {
|
|
6690
|
+
docId: string;
|
|
6691
|
+
layerName: string;
|
|
6692
|
+
pon: number;
|
|
6693
|
+
annotKey: string;
|
|
6694
|
+
}, {
|
|
6695
|
+
docId: string;
|
|
6696
|
+
layerName: string;
|
|
6697
|
+
pon: number;
|
|
6698
|
+
annotKey: string;
|
|
6699
|
+
}>;
|
|
6700
|
+
readonly responses: {
|
|
6701
|
+
readonly 200: {
|
|
6702
|
+
readonly contentType: "application/json";
|
|
6703
|
+
readonly schema: z.ZodObject<{
|
|
6704
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6705
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6706
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6707
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6708
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6709
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
6710
|
+
};
|
|
6711
|
+
readonly 404: {
|
|
6712
|
+
readonly contentType: "application/json";
|
|
6713
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6714
|
+
};
|
|
6715
|
+
};
|
|
6716
|
+
};
|
|
6717
|
+
readonly 'doc.annotations.flatten': {
|
|
6718
|
+
readonly operationId: "doc.annotations.flatten";
|
|
6719
|
+
readonly title: "Flatten annotations";
|
|
6720
|
+
readonly summary: "Flatten a chosen set of one page's annotations into its content — pages.flatten for a selection. Painted annotations are removed; ineligible ones report skipped.";
|
|
6492
6721
|
readonly method: "POST";
|
|
6493
|
-
readonly path: "/v1/docs/:docId/layers/:layerName/pages/
|
|
6722
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/flatten";
|
|
6494
6723
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6495
6724
|
readonly scope: readonly [];
|
|
6496
|
-
readonly docCapabilities: readonly ["doc.pages.
|
|
6725
|
+
readonly docCapabilities: readonly ["doc.pages.modify", "doc.annotate.modify"];
|
|
6497
6726
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6498
6727
|
readonly params: z.ZodObject<{
|
|
6499
6728
|
docId: z.ZodString;
|
|
6500
6729
|
} & {
|
|
6501
6730
|
layerName: z.ZodString;
|
|
6731
|
+
} & {
|
|
6732
|
+
pon: z.ZodNumber;
|
|
6502
6733
|
}, "strip", z.ZodTypeAny, {
|
|
6503
6734
|
docId: string;
|
|
6504
6735
|
layerName: string;
|
|
6736
|
+
pon: number;
|
|
6505
6737
|
}, {
|
|
6506
6738
|
docId: string;
|
|
6507
6739
|
layerName: string;
|
|
6740
|
+
pon: number;
|
|
6508
6741
|
}>;
|
|
6509
6742
|
readonly body: {
|
|
6510
6743
|
readonly contentType: "application/json";
|
|
@@ -6531,26 +6764,105 @@ declare const docOperations: {
|
|
|
6531
6764
|
};
|
|
6532
6765
|
};
|
|
6533
6766
|
};
|
|
6534
|
-
readonly 'doc.
|
|
6535
|
-
readonly operationId: "doc.
|
|
6536
|
-
readonly title: "
|
|
6537
|
-
readonly summary: "
|
|
6767
|
+
readonly 'doc.annotations.exportAppearance': {
|
|
6768
|
+
readonly operationId: "doc.annotations.exportAppearance";
|
|
6769
|
+
readonly title: "Export annotation appearances";
|
|
6770
|
+
readonly summary: "The chosen annotations' appearances as one single-page PDF sized to their union rect — vector, positions preserved. A read; the source is untouched.";
|
|
6538
6771
|
readonly method: "POST";
|
|
6539
|
-
readonly path: "/v1/docs/:docId/layers/:layerName/pages/
|
|
6772
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/annotations/pages/:pon/items/appearance";
|
|
6540
6773
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6541
6774
|
readonly scope: readonly [];
|
|
6542
|
-
readonly docCapabilities: readonly ["doc.
|
|
6775
|
+
readonly docCapabilities: readonly ["doc.download"];
|
|
6776
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6777
|
+
readonly params: z.ZodObject<{
|
|
6778
|
+
docId: z.ZodString;
|
|
6779
|
+
} & {
|
|
6780
|
+
layerName: z.ZodString;
|
|
6781
|
+
} & {
|
|
6782
|
+
pon: z.ZodNumber;
|
|
6783
|
+
}, "strip", z.ZodTypeAny, {
|
|
6784
|
+
docId: string;
|
|
6785
|
+
layerName: string;
|
|
6786
|
+
pon: number;
|
|
6787
|
+
}, {
|
|
6788
|
+
docId: string;
|
|
6789
|
+
layerName: string;
|
|
6790
|
+
pon: number;
|
|
6791
|
+
}>;
|
|
6792
|
+
readonly body: {
|
|
6793
|
+
readonly contentType: "application/json";
|
|
6794
|
+
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6795
|
+
};
|
|
6796
|
+
readonly responses: {
|
|
6797
|
+
readonly 200: {
|
|
6798
|
+
readonly contentType: "application/pdf";
|
|
6799
|
+
};
|
|
6800
|
+
readonly 400: {
|
|
6801
|
+
readonly contentType: "application/json";
|
|
6802
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6803
|
+
};
|
|
6804
|
+
readonly 404: {
|
|
6805
|
+
readonly contentType: "application/json";
|
|
6806
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6807
|
+
};
|
|
6808
|
+
};
|
|
6809
|
+
};
|
|
6810
|
+
readonly 'doc.forms.get': {
|
|
6811
|
+
readonly operationId: "doc.forms.get";
|
|
6812
|
+
readonly title: "Get form snapshot";
|
|
6813
|
+
readonly summary: "Reconciled form snapshot: fields, widgets, values.";
|
|
6814
|
+
readonly method: "GET";
|
|
6815
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/form";
|
|
6816
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6817
|
+
readonly scope: readonly [];
|
|
6818
|
+
readonly docCapabilities: readonly ["doc.forms.read"];
|
|
6819
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6820
|
+
readonly params: z.ZodObject<{
|
|
6821
|
+
docId: z.ZodString;
|
|
6822
|
+
} & {
|
|
6823
|
+
layerName: z.ZodString;
|
|
6824
|
+
}, "strip", z.ZodTypeAny, {
|
|
6825
|
+
docId: string;
|
|
6826
|
+
layerName: string;
|
|
6827
|
+
}, {
|
|
6828
|
+
docId: string;
|
|
6829
|
+
layerName: string;
|
|
6830
|
+
}>;
|
|
6831
|
+
readonly responses: {
|
|
6832
|
+
readonly 200: {
|
|
6833
|
+
readonly contentType: "application/json";
|
|
6834
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.FormSnapshot, z.ZodTypeDef, _embedpdf_engine_core_runtime.FormSnapshot>;
|
|
6835
|
+
};
|
|
6836
|
+
readonly 404: {
|
|
6837
|
+
readonly contentType: "application/json";
|
|
6838
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6839
|
+
};
|
|
6840
|
+
};
|
|
6841
|
+
};
|
|
6842
|
+
readonly 'doc.forms.setValue': {
|
|
6843
|
+
readonly operationId: "doc.forms.setValue";
|
|
6844
|
+
readonly title: "Set form value";
|
|
6845
|
+
readonly summary: "Set one form field's value.";
|
|
6846
|
+
readonly method: "POST";
|
|
6847
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/value";
|
|
6848
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6849
|
+
readonly scope: readonly [];
|
|
6850
|
+
readonly docCapabilities: readonly ["doc.forms.fill"];
|
|
6543
6851
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6544
6852
|
readonly params: z.ZodObject<{
|
|
6545
6853
|
docId: z.ZodString;
|
|
6546
6854
|
} & {
|
|
6547
6855
|
layerName: z.ZodString;
|
|
6856
|
+
} & {
|
|
6857
|
+
fieldKey: z.ZodString;
|
|
6548
6858
|
}, "strip", z.ZodTypeAny, {
|
|
6549
6859
|
docId: string;
|
|
6550
6860
|
layerName: string;
|
|
6861
|
+
fieldKey: string;
|
|
6551
6862
|
}, {
|
|
6552
6863
|
docId: string;
|
|
6553
6864
|
layerName: string;
|
|
6865
|
+
fieldKey: string;
|
|
6554
6866
|
}>;
|
|
6555
6867
|
readonly body: {
|
|
6556
6868
|
readonly contentType: "application/json";
|
|
@@ -6577,32 +6889,31 @@ declare const docOperations: {
|
|
|
6577
6889
|
};
|
|
6578
6890
|
};
|
|
6579
6891
|
};
|
|
6580
|
-
readonly 'doc.
|
|
6581
|
-
readonly operationId: "doc.
|
|
6582
|
-
readonly title: "
|
|
6583
|
-
readonly summary: "
|
|
6892
|
+
readonly 'doc.forms.reset': {
|
|
6893
|
+
readonly operationId: "doc.forms.reset";
|
|
6894
|
+
readonly title: "Reset form field";
|
|
6895
|
+
readonly summary: "Reset one form field to its default value.";
|
|
6584
6896
|
readonly method: "POST";
|
|
6585
|
-
readonly path: "/v1/docs/:docId/layers/:layerName/
|
|
6897
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/form/fields/:fieldKey/reset";
|
|
6586
6898
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6587
6899
|
readonly scope: readonly [];
|
|
6588
|
-
readonly docCapabilities: readonly ["doc.
|
|
6900
|
+
readonly docCapabilities: readonly ["doc.forms.fill"];
|
|
6589
6901
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6590
6902
|
readonly params: z.ZodObject<{
|
|
6591
6903
|
docId: z.ZodString;
|
|
6592
6904
|
} & {
|
|
6593
6905
|
layerName: z.ZodString;
|
|
6906
|
+
} & {
|
|
6907
|
+
fieldKey: z.ZodString;
|
|
6594
6908
|
}, "strip", z.ZodTypeAny, {
|
|
6595
6909
|
docId: string;
|
|
6596
6910
|
layerName: string;
|
|
6911
|
+
fieldKey: string;
|
|
6597
6912
|
}, {
|
|
6598
6913
|
docId: string;
|
|
6599
6914
|
layerName: string;
|
|
6915
|
+
fieldKey: string;
|
|
6600
6916
|
}>;
|
|
6601
|
-
readonly body: {
|
|
6602
|
-
readonly contentType: "application/json";
|
|
6603
|
-
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6604
|
-
readonly required: false;
|
|
6605
|
-
};
|
|
6606
6917
|
readonly responses: {
|
|
6607
6918
|
readonly 200: {
|
|
6608
6919
|
readonly contentType: "application/json";
|
|
@@ -6614,25 +6925,59 @@ declare const docOperations: {
|
|
|
6614
6925
|
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6615
6926
|
}, z.ZodTypeAny, "passthrough">>;
|
|
6616
6927
|
};
|
|
6617
|
-
readonly
|
|
6928
|
+
readonly 404: {
|
|
6618
6929
|
readonly contentType: "application/json";
|
|
6619
6930
|
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6620
6931
|
};
|
|
6932
|
+
};
|
|
6933
|
+
};
|
|
6934
|
+
readonly 'doc.forms.exportData': {
|
|
6935
|
+
readonly operationId: "doc.forms.exportData";
|
|
6936
|
+
readonly title: "Export form data";
|
|
6937
|
+
readonly summary: "Export form data as FDF or XFDF.";
|
|
6938
|
+
readonly method: "GET";
|
|
6939
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/form/data";
|
|
6940
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6941
|
+
readonly scope: readonly [];
|
|
6942
|
+
readonly docCapabilities: readonly ["doc.forms.read"];
|
|
6943
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6944
|
+
readonly params: z.ZodObject<{
|
|
6945
|
+
docId: z.ZodString;
|
|
6946
|
+
} & {
|
|
6947
|
+
layerName: z.ZodString;
|
|
6948
|
+
}, "strip", z.ZodTypeAny, {
|
|
6949
|
+
docId: string;
|
|
6950
|
+
layerName: string;
|
|
6951
|
+
}, {
|
|
6952
|
+
docId: string;
|
|
6953
|
+
layerName: string;
|
|
6954
|
+
}>;
|
|
6955
|
+
readonly query: z.ZodObject<{
|
|
6956
|
+
format: z.ZodOptional<z.ZodEnum<["fdf", "xfdf"]>>;
|
|
6957
|
+
}, "strip", z.ZodTypeAny, {
|
|
6958
|
+
format?: "fdf" | "xfdf" | undefined;
|
|
6959
|
+
}, {
|
|
6960
|
+
format?: "fdf" | "xfdf" | undefined;
|
|
6961
|
+
}>;
|
|
6962
|
+
readonly responses: {
|
|
6963
|
+
readonly 200: {
|
|
6964
|
+
readonly contentType: readonly ["application/vnd.adobe.xfdf", "application/vnd.fdf"];
|
|
6965
|
+
};
|
|
6621
6966
|
readonly 404: {
|
|
6622
6967
|
readonly contentType: "application/json";
|
|
6623
6968
|
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6624
6969
|
};
|
|
6625
6970
|
};
|
|
6626
6971
|
};
|
|
6627
|
-
readonly 'doc.
|
|
6628
|
-
readonly operationId: "doc.
|
|
6629
|
-
readonly title: "
|
|
6630
|
-
readonly summary: "
|
|
6972
|
+
readonly 'doc.forms.importData': {
|
|
6973
|
+
readonly operationId: "doc.forms.importData";
|
|
6974
|
+
readonly title: "Import form data";
|
|
6975
|
+
readonly summary: "Import form data (FDF/XFDF), filling matching fields.";
|
|
6631
6976
|
readonly method: "POST";
|
|
6632
|
-
readonly path: "/v1/docs/:docId/layers/:layerName/
|
|
6977
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/form/data";
|
|
6633
6978
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6634
6979
|
readonly scope: readonly [];
|
|
6635
|
-
readonly docCapabilities: readonly ["doc.
|
|
6980
|
+
readonly docCapabilities: readonly ["doc.forms.fill"];
|
|
6636
6981
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6637
6982
|
readonly params: z.ZodObject<{
|
|
6638
6983
|
docId: z.ZodString;
|
|
@@ -6646,7 +6991,8 @@ declare const docOperations: {
|
|
|
6646
6991
|
layerName: string;
|
|
6647
6992
|
}>;
|
|
6648
6993
|
readonly body: {
|
|
6649
|
-
readonly contentType: "
|
|
6994
|
+
readonly contentType: "application/json";
|
|
6995
|
+
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6650
6996
|
};
|
|
6651
6997
|
readonly responses: {
|
|
6652
6998
|
readonly 200: {
|
|
@@ -6668,327 +7014,1204 @@ declare const docOperations: {
|
|
|
6668
7014
|
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6669
7015
|
};
|
|
6670
7016
|
};
|
|
6671
|
-
readonly notes: "Multipart mutation envelope: a `body` field holding `{\"destIndex\"?: number}` (omitted → append) plus a `resource:source` file part carrying the standalone PDF whose pages are copied in. The inserted copies get fresh page object numbers, returned in insertion order.";
|
|
6672
7017
|
};
|
|
6673
|
-
readonly 'doc.pages.
|
|
6674
|
-
readonly operationId: "doc.pages.
|
|
6675
|
-
readonly title: "
|
|
6676
|
-
readonly summary: "
|
|
7018
|
+
readonly 'doc.pages.move': {
|
|
7019
|
+
readonly operationId: "doc.pages.move";
|
|
7020
|
+
readonly title: "Move pages";
|
|
7021
|
+
readonly summary: "Reorder pages.";
|
|
6677
7022
|
readonly method: "POST";
|
|
6678
|
-
readonly path: "/v1/docs/:docId/layers/:layerName/pages/
|
|
7023
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/pages/move";
|
|
7024
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7025
|
+
readonly scope: readonly [];
|
|
7026
|
+
readonly docCapabilities: readonly ["doc.pages.assemble"];
|
|
7027
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7028
|
+
readonly params: z.ZodObject<{
|
|
7029
|
+
docId: z.ZodString;
|
|
7030
|
+
} & {
|
|
7031
|
+
layerName: z.ZodString;
|
|
7032
|
+
}, "strip", z.ZodTypeAny, {
|
|
7033
|
+
docId: string;
|
|
7034
|
+
layerName: string;
|
|
7035
|
+
}, {
|
|
7036
|
+
docId: string;
|
|
7037
|
+
layerName: string;
|
|
7038
|
+
}>;
|
|
7039
|
+
readonly body: {
|
|
7040
|
+
readonly contentType: "application/json";
|
|
7041
|
+
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7042
|
+
};
|
|
7043
|
+
readonly responses: {
|
|
7044
|
+
readonly 200: {
|
|
7045
|
+
readonly contentType: "application/json";
|
|
7046
|
+
readonly schema: z.ZodObject<{
|
|
7047
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7048
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7049
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7050
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7051
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7052
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
7053
|
+
};
|
|
7054
|
+
readonly 400: {
|
|
7055
|
+
readonly contentType: "application/json";
|
|
7056
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7057
|
+
};
|
|
7058
|
+
readonly 404: {
|
|
7059
|
+
readonly contentType: "application/json";
|
|
7060
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7061
|
+
};
|
|
7062
|
+
};
|
|
7063
|
+
};
|
|
7064
|
+
readonly 'doc.pages.rotate': {
|
|
7065
|
+
readonly operationId: "doc.pages.rotate";
|
|
7066
|
+
readonly title: "Rotate pages";
|
|
7067
|
+
readonly summary: "Set absolute rotation on pages.";
|
|
7068
|
+
readonly method: "POST";
|
|
7069
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/pages/rotate";
|
|
7070
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7071
|
+
readonly scope: readonly [];
|
|
7072
|
+
readonly docCapabilities: readonly ["doc.pages.assemble"];
|
|
7073
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7074
|
+
readonly params: z.ZodObject<{
|
|
7075
|
+
docId: z.ZodString;
|
|
7076
|
+
} & {
|
|
7077
|
+
layerName: z.ZodString;
|
|
7078
|
+
}, "strip", z.ZodTypeAny, {
|
|
7079
|
+
docId: string;
|
|
7080
|
+
layerName: string;
|
|
7081
|
+
}, {
|
|
7082
|
+
docId: string;
|
|
7083
|
+
layerName: string;
|
|
7084
|
+
}>;
|
|
7085
|
+
readonly body: {
|
|
7086
|
+
readonly contentType: "application/json";
|
|
7087
|
+
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7088
|
+
};
|
|
7089
|
+
readonly responses: {
|
|
7090
|
+
readonly 200: {
|
|
7091
|
+
readonly contentType: "application/json";
|
|
7092
|
+
readonly schema: z.ZodObject<{
|
|
7093
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7094
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7095
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7096
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7097
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7098
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
7099
|
+
};
|
|
7100
|
+
readonly 400: {
|
|
7101
|
+
readonly contentType: "application/json";
|
|
7102
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7103
|
+
};
|
|
7104
|
+
readonly 404: {
|
|
7105
|
+
readonly contentType: "application/json";
|
|
7106
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7107
|
+
};
|
|
7108
|
+
};
|
|
7109
|
+
};
|
|
7110
|
+
readonly 'doc.pages.delete': {
|
|
7111
|
+
readonly operationId: "doc.pages.delete";
|
|
7112
|
+
readonly title: "Delete pages";
|
|
7113
|
+
readonly summary: "Delete pages.";
|
|
7114
|
+
readonly method: "POST";
|
|
7115
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/pages/delete";
|
|
7116
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7117
|
+
readonly scope: readonly [];
|
|
7118
|
+
readonly docCapabilities: readonly ["doc.pages.assemble"];
|
|
7119
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7120
|
+
readonly params: z.ZodObject<{
|
|
7121
|
+
docId: z.ZodString;
|
|
7122
|
+
} & {
|
|
7123
|
+
layerName: z.ZodString;
|
|
7124
|
+
}, "strip", z.ZodTypeAny, {
|
|
7125
|
+
docId: string;
|
|
7126
|
+
layerName: string;
|
|
7127
|
+
}, {
|
|
7128
|
+
docId: string;
|
|
7129
|
+
layerName: string;
|
|
7130
|
+
}>;
|
|
7131
|
+
readonly body: {
|
|
7132
|
+
readonly contentType: "application/json";
|
|
7133
|
+
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7134
|
+
};
|
|
7135
|
+
readonly responses: {
|
|
7136
|
+
readonly 200: {
|
|
7137
|
+
readonly contentType: "application/json";
|
|
7138
|
+
readonly schema: z.ZodObject<{
|
|
7139
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7140
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7141
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7142
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7143
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7144
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
7145
|
+
};
|
|
7146
|
+
readonly 400: {
|
|
7147
|
+
readonly contentType: "application/json";
|
|
7148
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7149
|
+
};
|
|
7150
|
+
readonly 404: {
|
|
7151
|
+
readonly contentType: "application/json";
|
|
7152
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7153
|
+
};
|
|
7154
|
+
};
|
|
7155
|
+
};
|
|
7156
|
+
readonly 'doc.pages.setName': {
|
|
7157
|
+
readonly operationId: "doc.pages.setName";
|
|
7158
|
+
readonly title: "Set page name";
|
|
7159
|
+
readonly summary: "Register or rename a /Names /Pages entry (a named page). A page-structure mutation: the layout version advances.";
|
|
7160
|
+
readonly method: "POST";
|
|
7161
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/pages/names";
|
|
7162
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7163
|
+
readonly scope: readonly [];
|
|
7164
|
+
readonly docCapabilities: readonly ["doc.pages.assemble"];
|
|
7165
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7166
|
+
readonly params: z.ZodObject<{
|
|
7167
|
+
docId: z.ZodString;
|
|
7168
|
+
} & {
|
|
7169
|
+
layerName: z.ZodString;
|
|
7170
|
+
}, "strip", z.ZodTypeAny, {
|
|
7171
|
+
docId: string;
|
|
7172
|
+
layerName: string;
|
|
7173
|
+
}, {
|
|
7174
|
+
docId: string;
|
|
7175
|
+
layerName: string;
|
|
7176
|
+
}>;
|
|
7177
|
+
readonly body: {
|
|
7178
|
+
readonly contentType: "application/json";
|
|
7179
|
+
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7180
|
+
};
|
|
7181
|
+
readonly responses: {
|
|
7182
|
+
readonly 200: {
|
|
7183
|
+
readonly contentType: "application/json";
|
|
7184
|
+
readonly schema: z.ZodObject<{
|
|
7185
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7186
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7187
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7188
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7189
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7190
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
7191
|
+
};
|
|
7192
|
+
readonly 400: {
|
|
7193
|
+
readonly contentType: "application/json";
|
|
7194
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7195
|
+
};
|
|
7196
|
+
readonly 404: {
|
|
7197
|
+
readonly contentType: "application/json";
|
|
7198
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7199
|
+
};
|
|
7200
|
+
};
|
|
7201
|
+
};
|
|
7202
|
+
readonly 'doc.pages.removeName': {
|
|
7203
|
+
readonly operationId: "doc.pages.removeName";
|
|
7204
|
+
readonly title: "Remove page name";
|
|
7205
|
+
readonly summary: "Remove a /Names /Pages entry; the page itself stays.";
|
|
7206
|
+
readonly method: "POST";
|
|
7207
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/pages/names/delete";
|
|
7208
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7209
|
+
readonly scope: readonly [];
|
|
7210
|
+
readonly docCapabilities: readonly ["doc.pages.assemble"];
|
|
7211
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7212
|
+
readonly params: z.ZodObject<{
|
|
7213
|
+
docId: z.ZodString;
|
|
7214
|
+
} & {
|
|
7215
|
+
layerName: z.ZodString;
|
|
7216
|
+
}, "strip", z.ZodTypeAny, {
|
|
7217
|
+
docId: string;
|
|
7218
|
+
layerName: string;
|
|
7219
|
+
}, {
|
|
7220
|
+
docId: string;
|
|
7221
|
+
layerName: string;
|
|
7222
|
+
}>;
|
|
7223
|
+
readonly body: {
|
|
7224
|
+
readonly contentType: "application/json";
|
|
7225
|
+
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7226
|
+
};
|
|
7227
|
+
readonly responses: {
|
|
7228
|
+
readonly 200: {
|
|
7229
|
+
readonly contentType: "application/json";
|
|
7230
|
+
readonly schema: z.ZodObject<{
|
|
7231
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7232
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7233
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7234
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7235
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7236
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
7237
|
+
};
|
|
7238
|
+
readonly 400: {
|
|
7239
|
+
readonly contentType: "application/json";
|
|
7240
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7241
|
+
};
|
|
7242
|
+
readonly 404: {
|
|
7243
|
+
readonly contentType: "application/json";
|
|
7244
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7245
|
+
};
|
|
7246
|
+
};
|
|
7247
|
+
};
|
|
7248
|
+
readonly 'doc.pages.flatten': {
|
|
7249
|
+
readonly operationId: "doc.pages.flatten";
|
|
7250
|
+
readonly title: "Flatten pages";
|
|
7251
|
+
readonly summary: "Flatten annotations and form fields into page content.";
|
|
7252
|
+
readonly method: "POST";
|
|
7253
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/pages/flatten";
|
|
7254
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7255
|
+
readonly scope: readonly [];
|
|
7256
|
+
readonly docCapabilities: readonly ["doc.pages.modify", "doc.annotate.modify"];
|
|
7257
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7258
|
+
readonly params: z.ZodObject<{
|
|
7259
|
+
docId: z.ZodString;
|
|
7260
|
+
} & {
|
|
7261
|
+
layerName: z.ZodString;
|
|
7262
|
+
}, "strip", z.ZodTypeAny, {
|
|
7263
|
+
docId: string;
|
|
7264
|
+
layerName: string;
|
|
7265
|
+
}, {
|
|
7266
|
+
docId: string;
|
|
7267
|
+
layerName: string;
|
|
7268
|
+
}>;
|
|
7269
|
+
readonly body: {
|
|
7270
|
+
readonly contentType: "application/json";
|
|
7271
|
+
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7272
|
+
readonly required: false;
|
|
7273
|
+
};
|
|
7274
|
+
readonly responses: {
|
|
7275
|
+
readonly 200: {
|
|
7276
|
+
readonly contentType: "application/json";
|
|
7277
|
+
readonly schema: z.ZodObject<{
|
|
7278
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7279
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7280
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7281
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7282
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7283
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
7284
|
+
};
|
|
7285
|
+
readonly 400: {
|
|
7286
|
+
readonly contentType: "application/json";
|
|
7287
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7288
|
+
};
|
|
7289
|
+
readonly 404: {
|
|
7290
|
+
readonly contentType: "application/json";
|
|
7291
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7292
|
+
};
|
|
7293
|
+
};
|
|
7294
|
+
};
|
|
7295
|
+
readonly 'doc.pages.insert': {
|
|
7296
|
+
readonly operationId: "doc.pages.insert";
|
|
7297
|
+
readonly title: "Insert pages from a PDF";
|
|
7298
|
+
readonly summary: "Copy every page of an uploaded PDF into the document at an index.";
|
|
7299
|
+
readonly method: "POST";
|
|
7300
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/pages/insert";
|
|
7301
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7302
|
+
readonly scope: readonly [];
|
|
7303
|
+
readonly docCapabilities: readonly ["doc.pages.assemble"];
|
|
7304
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7305
|
+
readonly params: z.ZodObject<{
|
|
7306
|
+
docId: z.ZodString;
|
|
7307
|
+
} & {
|
|
7308
|
+
layerName: z.ZodString;
|
|
7309
|
+
}, "strip", z.ZodTypeAny, {
|
|
7310
|
+
docId: string;
|
|
7311
|
+
layerName: string;
|
|
7312
|
+
}, {
|
|
7313
|
+
docId: string;
|
|
7314
|
+
layerName: string;
|
|
7315
|
+
}>;
|
|
7316
|
+
readonly body: {
|
|
7317
|
+
readonly contentType: "multipart/form-data";
|
|
7318
|
+
};
|
|
7319
|
+
readonly responses: {
|
|
7320
|
+
readonly 200: {
|
|
7321
|
+
readonly contentType: "application/json";
|
|
7322
|
+
readonly schema: z.ZodObject<{
|
|
7323
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7324
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7325
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7326
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7327
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7328
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
7329
|
+
};
|
|
7330
|
+
readonly 400: {
|
|
7331
|
+
readonly contentType: "application/json";
|
|
7332
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7333
|
+
};
|
|
7334
|
+
readonly 404: {
|
|
7335
|
+
readonly contentType: "application/json";
|
|
7336
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7337
|
+
};
|
|
7338
|
+
};
|
|
7339
|
+
readonly notes: "Multipart mutation envelope: a `body` field holding `{\"destIndex\"?: number}` (omitted → append) plus a `resource:source` file part carrying the standalone PDF whose pages are copied in. The inserted copies get fresh page object numbers, returned in insertion order.";
|
|
7340
|
+
};
|
|
7341
|
+
readonly 'doc.pages.insertBlank': {
|
|
7342
|
+
readonly operationId: "doc.pages.insertBlank";
|
|
7343
|
+
readonly title: "Insert blank pages";
|
|
7344
|
+
readonly summary: "Create blank pages of an explicit size at an index.";
|
|
7345
|
+
readonly method: "POST";
|
|
7346
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/pages/insert-blank";
|
|
7347
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7348
|
+
readonly scope: readonly [];
|
|
7349
|
+
readonly docCapabilities: readonly ["doc.pages.assemble"];
|
|
7350
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7351
|
+
readonly params: z.ZodObject<{
|
|
7352
|
+
docId: z.ZodString;
|
|
7353
|
+
} & {
|
|
7354
|
+
layerName: z.ZodString;
|
|
7355
|
+
}, "strip", z.ZodTypeAny, {
|
|
7356
|
+
docId: string;
|
|
7357
|
+
layerName: string;
|
|
7358
|
+
}, {
|
|
7359
|
+
docId: string;
|
|
7360
|
+
layerName: string;
|
|
7361
|
+
}>;
|
|
7362
|
+
readonly body: {
|
|
7363
|
+
readonly contentType: "application/json";
|
|
7364
|
+
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7365
|
+
};
|
|
7366
|
+
readonly responses: {
|
|
7367
|
+
readonly 200: {
|
|
7368
|
+
readonly contentType: "application/json";
|
|
7369
|
+
readonly schema: z.ZodObject<{
|
|
7370
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7371
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7372
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7373
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7374
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7375
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
7376
|
+
};
|
|
7377
|
+
readonly 400: {
|
|
7378
|
+
readonly contentType: "application/json";
|
|
7379
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7380
|
+
};
|
|
7381
|
+
readonly 404: {
|
|
7382
|
+
readonly contentType: "application/json";
|
|
7383
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7384
|
+
};
|
|
7385
|
+
};
|
|
7386
|
+
readonly notes: "Body is `{\"size\": {\"width\", \"height\"}, \"count\"?, \"destIndex\"?}` — size in PDF points, count in [1, 100], destIndex omitted → append.";
|
|
7387
|
+
};
|
|
7388
|
+
readonly 'doc.pages.extract': {
|
|
7389
|
+
readonly operationId: "doc.pages.extract";
|
|
7390
|
+
readonly title: "Extract pages";
|
|
7391
|
+
readonly summary: "Export the listed pages, in order, as a standalone PDF.";
|
|
7392
|
+
readonly method: "POST";
|
|
7393
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/pages/extract";
|
|
7394
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7395
|
+
readonly scope: readonly [];
|
|
7396
|
+
readonly docCapabilities: readonly ["doc.download"];
|
|
7397
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7398
|
+
readonly params: z.ZodObject<{
|
|
7399
|
+
docId: z.ZodString;
|
|
7400
|
+
} & {
|
|
7401
|
+
layerName: z.ZodString;
|
|
7402
|
+
}, "strip", z.ZodTypeAny, {
|
|
7403
|
+
docId: string;
|
|
7404
|
+
layerName: string;
|
|
7405
|
+
}, {
|
|
7406
|
+
docId: string;
|
|
7407
|
+
layerName: string;
|
|
7408
|
+
}>;
|
|
7409
|
+
readonly body: {
|
|
7410
|
+
readonly contentType: "application/json";
|
|
7411
|
+
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7412
|
+
};
|
|
7413
|
+
readonly responses: {
|
|
7414
|
+
readonly 200: {
|
|
7415
|
+
readonly contentType: "application/pdf";
|
|
7416
|
+
};
|
|
7417
|
+
readonly 400: {
|
|
7418
|
+
readonly contentType: "application/json";
|
|
7419
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7420
|
+
};
|
|
7421
|
+
readonly 404: {
|
|
7422
|
+
readonly contentType: "application/json";
|
|
7423
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7424
|
+
};
|
|
7425
|
+
};
|
|
7426
|
+
readonly notes: "A read, not a mutation: the source document is untouched and no event is published. Body is `{\"pageObjectNumbers\": number[]}`; the response body is the new PDF.";
|
|
7427
|
+
};
|
|
7428
|
+
readonly 'doc.redactions.apply': {
|
|
7429
|
+
readonly operationId: "doc.redactions.apply";
|
|
7430
|
+
readonly title: "Apply redactions";
|
|
7431
|
+
readonly summary: "Apply pending redactions, permanently removing content.";
|
|
7432
|
+
readonly method: "POST";
|
|
7433
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/redactions/apply";
|
|
7434
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7435
|
+
readonly scope: readonly [];
|
|
7436
|
+
readonly docCapabilities: readonly ["doc.pages.modify", "doc.annotate.modify", "doc.redact"];
|
|
7437
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7438
|
+
readonly params: z.ZodObject<{
|
|
7439
|
+
docId: z.ZodString;
|
|
7440
|
+
} & {
|
|
7441
|
+
layerName: z.ZodString;
|
|
7442
|
+
}, "strip", z.ZodTypeAny, {
|
|
7443
|
+
docId: string;
|
|
7444
|
+
layerName: string;
|
|
7445
|
+
}, {
|
|
7446
|
+
docId: string;
|
|
7447
|
+
layerName: string;
|
|
7448
|
+
}>;
|
|
7449
|
+
readonly body: {
|
|
7450
|
+
readonly contentType: "application/json";
|
|
7451
|
+
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7452
|
+
readonly required: false;
|
|
7453
|
+
};
|
|
7454
|
+
readonly responses: {
|
|
7455
|
+
readonly 200: {
|
|
7456
|
+
readonly contentType: "application/json";
|
|
7457
|
+
readonly schema: z.ZodObject<{
|
|
7458
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7459
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7460
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7461
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7462
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7463
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
7464
|
+
};
|
|
7465
|
+
readonly 400: {
|
|
7466
|
+
readonly contentType: "application/json";
|
|
7467
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7468
|
+
};
|
|
7469
|
+
readonly 404: {
|
|
7470
|
+
readonly contentType: "application/json";
|
|
7471
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7472
|
+
};
|
|
7473
|
+
};
|
|
7474
|
+
};
|
|
7475
|
+
readonly 'doc.download': {
|
|
7476
|
+
readonly operationId: "doc.download";
|
|
7477
|
+
readonly title: "Download PDF";
|
|
7478
|
+
readonly summary: "Download the layer's current PDF (base plus layer edits).";
|
|
7479
|
+
readonly method: "GET";
|
|
7480
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/download";
|
|
7481
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7482
|
+
readonly scope: readonly [];
|
|
7483
|
+
readonly docCapabilities: readonly ["doc.download"];
|
|
7484
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7485
|
+
readonly params: z.ZodObject<{
|
|
7486
|
+
docId: z.ZodString;
|
|
7487
|
+
} & {
|
|
7488
|
+
layerName: z.ZodString;
|
|
7489
|
+
}, "strip", z.ZodTypeAny, {
|
|
7490
|
+
docId: string;
|
|
7491
|
+
layerName: string;
|
|
7492
|
+
}, {
|
|
7493
|
+
docId: string;
|
|
7494
|
+
layerName: string;
|
|
7495
|
+
}>;
|
|
7496
|
+
readonly responses: {
|
|
7497
|
+
readonly 200: {
|
|
7498
|
+
readonly contentType: "application/pdf";
|
|
7499
|
+
};
|
|
7500
|
+
readonly 404: {
|
|
7501
|
+
readonly contentType: "application/json";
|
|
7502
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7503
|
+
};
|
|
7504
|
+
};
|
|
7505
|
+
};
|
|
7506
|
+
};
|
|
7507
|
+
type DocOperationId = keyof typeof docOperations;
|
|
7508
|
+
/** Every operation in the published contract: admin surfaces + doc plane. */
|
|
7509
|
+
declare const allOperations: {
|
|
7510
|
+
readonly 'doc.head': {
|
|
7511
|
+
readonly operationId: "doc.head";
|
|
7512
|
+
readonly title: "Open document";
|
|
7513
|
+
readonly summary: "Open a document and return its head (versions, page count, security).";
|
|
7514
|
+
readonly method: "GET";
|
|
7515
|
+
readonly path: "/v1/docs/:docId/head";
|
|
7516
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7517
|
+
readonly scope: readonly [];
|
|
7518
|
+
readonly docCapabilities: readonly ["doc.open"];
|
|
7519
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7520
|
+
readonly params: z.ZodObject<{
|
|
7521
|
+
docId: z.ZodString;
|
|
7522
|
+
}, "strip", z.ZodTypeAny, {
|
|
7523
|
+
docId: string;
|
|
7524
|
+
}, {
|
|
7525
|
+
docId: string;
|
|
7526
|
+
}>;
|
|
7527
|
+
readonly responses: {
|
|
7528
|
+
readonly 200: {
|
|
7529
|
+
readonly contentType: "application/json";
|
|
7530
|
+
readonly schema: z.ZodObject<{
|
|
7531
|
+
id: z.ZodString;
|
|
7532
|
+
baseSha: z.ZodString;
|
|
7533
|
+
storageSizeBytes: z.ZodNumber;
|
|
7534
|
+
docVersion: z.ZodNumber;
|
|
7535
|
+
state: z.ZodEnum<["pending", "ready", "failed", "deleting"]>;
|
|
7536
|
+
encryption: z.ZodObject<{
|
|
7537
|
+
state: z.ZodEnum<["unknown", "none", "encrypted", "unsupported"]>;
|
|
7538
|
+
requiresPassword: z.ZodNullable<z.ZodBoolean>;
|
|
7539
|
+
}, "strip", z.ZodTypeAny, {
|
|
7540
|
+
state: "unknown" | "none" | "encrypted" | "unsupported";
|
|
7541
|
+
requiresPassword: boolean | null;
|
|
7542
|
+
}, {
|
|
7543
|
+
state: "unknown" | "none" | "encrypted" | "unsupported";
|
|
7544
|
+
requiresPassword: boolean | null;
|
|
7545
|
+
}>;
|
|
7546
|
+
permissions: z.ZodObject<{
|
|
7547
|
+
known: z.ZodBoolean;
|
|
7548
|
+
bits: z.ZodNullable<z.ZodNumber>;
|
|
7549
|
+
allAllowed: z.ZodNullable<z.ZodBoolean>;
|
|
7550
|
+
openedAs: z.ZodNullable<z.ZodEnum<["none", "user", "owner"]>>;
|
|
7551
|
+
securityHandlerRevision: z.ZodNullable<z.ZodNumber>;
|
|
7552
|
+
canUpgradeToOwner: z.ZodBoolean;
|
|
7553
|
+
}, "strip", z.ZodTypeAny, {
|
|
7554
|
+
known: boolean;
|
|
7555
|
+
bits: number | null;
|
|
7556
|
+
allAllowed: boolean | null;
|
|
7557
|
+
openedAs: "none" | "user" | "owner" | null;
|
|
7558
|
+
securityHandlerRevision: number | null;
|
|
7559
|
+
canUpgradeToOwner: boolean;
|
|
7560
|
+
}, {
|
|
7561
|
+
known: boolean;
|
|
7562
|
+
bits: number | null;
|
|
7563
|
+
allAllowed: boolean | null;
|
|
7564
|
+
openedAs: "none" | "user" | "owner" | null;
|
|
7565
|
+
securityHandlerRevision: number | null;
|
|
7566
|
+
canUpgradeToOwner: boolean;
|
|
7567
|
+
}>;
|
|
7568
|
+
access: z.ZodObject<{
|
|
7569
|
+
required: z.ZodBoolean;
|
|
7570
|
+
reasons: z.ZodArray<z.ZodEnum<["password", "cdn", "permissions-unknown"]>, "many">;
|
|
7571
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
7572
|
+
}, "strip", z.ZodTypeAny, {
|
|
7573
|
+
required: boolean;
|
|
7574
|
+
reasons: ("password" | "cdn" | "permissions-unknown")[];
|
|
7575
|
+
endpoint?: string | undefined;
|
|
7576
|
+
}, {
|
|
7577
|
+
required: boolean;
|
|
7578
|
+
reasons: ("password" | "cdn" | "permissions-unknown")[];
|
|
7579
|
+
endpoint?: string | undefined;
|
|
7580
|
+
}>;
|
|
7581
|
+
}, "strip", z.ZodTypeAny, {
|
|
7582
|
+
id: string;
|
|
7583
|
+
baseSha: string;
|
|
7584
|
+
storageSizeBytes: number;
|
|
7585
|
+
docVersion: number;
|
|
7586
|
+
state: "pending" | "ready" | "failed" | "deleting";
|
|
7587
|
+
encryption: {
|
|
7588
|
+
state: "unknown" | "none" | "encrypted" | "unsupported";
|
|
7589
|
+
requiresPassword: boolean | null;
|
|
7590
|
+
};
|
|
7591
|
+
permissions: {
|
|
7592
|
+
known: boolean;
|
|
7593
|
+
bits: number | null;
|
|
7594
|
+
allAllowed: boolean | null;
|
|
7595
|
+
openedAs: "none" | "user" | "owner" | null;
|
|
7596
|
+
securityHandlerRevision: number | null;
|
|
7597
|
+
canUpgradeToOwner: boolean;
|
|
7598
|
+
};
|
|
7599
|
+
access: {
|
|
7600
|
+
required: boolean;
|
|
7601
|
+
reasons: ("password" | "cdn" | "permissions-unknown")[];
|
|
7602
|
+
endpoint?: string | undefined;
|
|
7603
|
+
};
|
|
7604
|
+
}, {
|
|
7605
|
+
id: string;
|
|
7606
|
+
baseSha: string;
|
|
7607
|
+
storageSizeBytes: number;
|
|
7608
|
+
docVersion: number;
|
|
7609
|
+
state: "pending" | "ready" | "failed" | "deleting";
|
|
7610
|
+
encryption: {
|
|
7611
|
+
state: "unknown" | "none" | "encrypted" | "unsupported";
|
|
7612
|
+
requiresPassword: boolean | null;
|
|
7613
|
+
};
|
|
7614
|
+
permissions: {
|
|
7615
|
+
known: boolean;
|
|
7616
|
+
bits: number | null;
|
|
7617
|
+
allAllowed: boolean | null;
|
|
7618
|
+
openedAs: "none" | "user" | "owner" | null;
|
|
7619
|
+
securityHandlerRevision: number | null;
|
|
7620
|
+
canUpgradeToOwner: boolean;
|
|
7621
|
+
};
|
|
7622
|
+
access: {
|
|
7623
|
+
required: boolean;
|
|
7624
|
+
reasons: ("password" | "cdn" | "permissions-unknown")[];
|
|
7625
|
+
endpoint?: string | undefined;
|
|
7626
|
+
};
|
|
7627
|
+
}>;
|
|
7628
|
+
};
|
|
7629
|
+
readonly 404: {
|
|
7630
|
+
readonly contentType: "application/json";
|
|
7631
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7632
|
+
};
|
|
7633
|
+
};
|
|
7634
|
+
};
|
|
7635
|
+
readonly 'doc.manifest': {
|
|
7636
|
+
readonly operationId: "doc.manifest";
|
|
7637
|
+
readonly title: "Get manifest";
|
|
7638
|
+
readonly summary: "Full layer manifest at the layer's current version.";
|
|
7639
|
+
readonly method: "GET";
|
|
7640
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/manifest";
|
|
7641
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7642
|
+
readonly scope: readonly [];
|
|
7643
|
+
readonly docCapabilities: readonly ["doc.open"];
|
|
7644
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7645
|
+
readonly params: z.ZodObject<{
|
|
7646
|
+
docId: z.ZodString;
|
|
7647
|
+
} & {
|
|
7648
|
+
layerName: z.ZodString;
|
|
7649
|
+
}, "strip", z.ZodTypeAny, {
|
|
7650
|
+
docId: string;
|
|
7651
|
+
layerName: string;
|
|
7652
|
+
}, {
|
|
7653
|
+
docId: string;
|
|
7654
|
+
layerName: string;
|
|
7655
|
+
}>;
|
|
7656
|
+
readonly responses: {
|
|
7657
|
+
readonly 200: {
|
|
7658
|
+
readonly contentType: "application/json";
|
|
7659
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.DocumentManifest, z.ZodTypeDef, _embedpdf_engine_core_runtime.DocumentManifest>;
|
|
7660
|
+
};
|
|
7661
|
+
readonly 404: {
|
|
7662
|
+
readonly contentType: "application/json";
|
|
7663
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7664
|
+
};
|
|
7665
|
+
};
|
|
7666
|
+
};
|
|
7667
|
+
readonly 'doc.metadata.get': {
|
|
7668
|
+
readonly operationId: "doc.metadata.get";
|
|
7669
|
+
readonly title: "Get metadata";
|
|
7670
|
+
readonly summary: "Document metadata (PDF info dictionary view) for a layer.";
|
|
7671
|
+
readonly method: "GET";
|
|
7672
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/metadata";
|
|
7673
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7674
|
+
readonly scope: readonly [];
|
|
7675
|
+
readonly docCapabilities: readonly ["doc.open"];
|
|
7676
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7677
|
+
readonly params: z.ZodObject<{
|
|
7678
|
+
docId: z.ZodString;
|
|
7679
|
+
} & {
|
|
7680
|
+
layerName: z.ZodString;
|
|
7681
|
+
}, "strip", z.ZodTypeAny, {
|
|
7682
|
+
docId: string;
|
|
7683
|
+
layerName: string;
|
|
7684
|
+
}, {
|
|
7685
|
+
docId: string;
|
|
7686
|
+
layerName: string;
|
|
7687
|
+
}>;
|
|
7688
|
+
readonly responses: {
|
|
7689
|
+
readonly 200: {
|
|
7690
|
+
readonly contentType: "application/json";
|
|
7691
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.DocumentMetadata, z.ZodTypeDef, _embedpdf_engine_core_runtime.DocumentMetadata>;
|
|
7692
|
+
};
|
|
7693
|
+
readonly 404: {
|
|
7694
|
+
readonly contentType: "application/json";
|
|
7695
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7696
|
+
};
|
|
7697
|
+
};
|
|
7698
|
+
};
|
|
7699
|
+
readonly 'doc.signatures.list': {
|
|
7700
|
+
readonly operationId: "doc.signatures.list";
|
|
7701
|
+
readonly title: "List signatures";
|
|
7702
|
+
readonly summary: "The layer view of digital signatures: revisions, every signature field with its signed state, and the protection in force.";
|
|
7703
|
+
readonly method: "GET";
|
|
7704
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/signatures";
|
|
7705
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7706
|
+
readonly scope: readonly [];
|
|
7707
|
+
readonly docCapabilities: readonly ["doc.forms.read"];
|
|
7708
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7709
|
+
readonly params: z.ZodObject<{
|
|
7710
|
+
docId: z.ZodString;
|
|
7711
|
+
} & {
|
|
7712
|
+
layerName: z.ZodString;
|
|
7713
|
+
}, "strip", z.ZodTypeAny, {
|
|
7714
|
+
docId: string;
|
|
7715
|
+
layerName: string;
|
|
7716
|
+
}, {
|
|
7717
|
+
docId: string;
|
|
7718
|
+
layerName: string;
|
|
7719
|
+
}>;
|
|
7720
|
+
readonly responses: {
|
|
7721
|
+
readonly 200: {
|
|
7722
|
+
readonly contentType: "application/json";
|
|
7723
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SignatureSnapshot, z.ZodTypeDef, _embedpdf_engine_core_runtime.SignatureSnapshot>;
|
|
7724
|
+
};
|
|
7725
|
+
readonly 404: {
|
|
7726
|
+
readonly contentType: "application/json";
|
|
7727
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7728
|
+
};
|
|
7729
|
+
};
|
|
7730
|
+
readonly notes: string;
|
|
7731
|
+
};
|
|
7732
|
+
readonly 'doc.signatures.analysis': {
|
|
7733
|
+
readonly operationId: "doc.signatures.analysis";
|
|
7734
|
+
readonly title: "Analyze layer changes";
|
|
7735
|
+
readonly summary: "What the layer changed after a signature (or after any revision), judged against the restrictions in force.";
|
|
7736
|
+
readonly method: "GET";
|
|
7737
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/signatures/analysis";
|
|
7738
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7739
|
+
readonly scope: readonly [];
|
|
7740
|
+
readonly docCapabilities: readonly ["doc.forms.read"];
|
|
7741
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7742
|
+
readonly params: z.ZodObject<{
|
|
7743
|
+
docId: z.ZodString;
|
|
7744
|
+
} & {
|
|
7745
|
+
layerName: z.ZodString;
|
|
7746
|
+
}, "strip", z.ZodTypeAny, {
|
|
7747
|
+
docId: string;
|
|
7748
|
+
layerName: string;
|
|
7749
|
+
}, {
|
|
7750
|
+
docId: string;
|
|
7751
|
+
layerName: string;
|
|
7752
|
+
}>;
|
|
7753
|
+
readonly query: z.ZodObject<{
|
|
7754
|
+
'since.signature': z.ZodOptional<z.ZodNumber>;
|
|
7755
|
+
'since.revision': z.ZodOptional<z.ZodNumber>;
|
|
7756
|
+
level: z.ZodOptional<z.ZodEnum<["none", "lta", "fill", "annotate"]>>;
|
|
7757
|
+
}, "strip", z.ZodTypeAny, {
|
|
7758
|
+
'since.signature'?: number | undefined;
|
|
7759
|
+
'since.revision'?: number | undefined;
|
|
7760
|
+
level?: "fill" | "none" | "lta" | "annotate" | undefined;
|
|
7761
|
+
}, {
|
|
7762
|
+
'since.signature'?: number | undefined;
|
|
7763
|
+
'since.revision'?: number | undefined;
|
|
7764
|
+
level?: "fill" | "none" | "lta" | "annotate" | undefined;
|
|
7765
|
+
}>;
|
|
7766
|
+
readonly responses: {
|
|
7767
|
+
readonly 200: {
|
|
7768
|
+
readonly contentType: "application/json";
|
|
7769
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.ChangeAnalysis, z.ZodTypeDef, _embedpdf_engine_core_runtime.ChangeAnalysis>;
|
|
7770
|
+
};
|
|
7771
|
+
readonly 400: {
|
|
7772
|
+
readonly contentType: "application/json";
|
|
7773
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7774
|
+
};
|
|
7775
|
+
readonly 404: {
|
|
7776
|
+
readonly contentType: "application/json";
|
|
7777
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7778
|
+
};
|
|
7779
|
+
};
|
|
7780
|
+
readonly notes: string;
|
|
7781
|
+
};
|
|
7782
|
+
readonly 'doc.signatures.prepare': {
|
|
7783
|
+
readonly operationId: "doc.signatures.prepare";
|
|
7784
|
+
readonly title: "Prepare a signature";
|
|
7785
|
+
readonly summary: "Author and seal a signing candidate; returns the digest to sign and the version fences.";
|
|
7786
|
+
readonly method: "POST";
|
|
7787
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/signatures/prepare";
|
|
7788
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7789
|
+
readonly scope: readonly [];
|
|
7790
|
+
readonly docCapabilities: readonly ["doc.sign"];
|
|
7791
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7792
|
+
readonly params: z.ZodObject<{
|
|
7793
|
+
docId: z.ZodString;
|
|
7794
|
+
} & {
|
|
7795
|
+
layerName: z.ZodString;
|
|
7796
|
+
}, "strip", z.ZodTypeAny, {
|
|
7797
|
+
docId: string;
|
|
7798
|
+
layerName: string;
|
|
7799
|
+
}, {
|
|
7800
|
+
docId: string;
|
|
7801
|
+
layerName: string;
|
|
7802
|
+
}>;
|
|
7803
|
+
readonly body: {
|
|
7804
|
+
readonly contentType: "multipart/form-data";
|
|
7805
|
+
};
|
|
7806
|
+
readonly responses: {
|
|
7807
|
+
readonly 200: {
|
|
7808
|
+
readonly contentType: "application/json";
|
|
7809
|
+
readonly schema: z.ZodObject<{
|
|
7810
|
+
signingId: z.ZodString;
|
|
7811
|
+
digest: z.ZodString;
|
|
7812
|
+
algorithm: z.ZodEnum<["sha256", "sha384", "sha512"]>;
|
|
7813
|
+
byteRange: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
7814
|
+
contentsSize: z.ZodNumber;
|
|
7815
|
+
subFilter: z.ZodString;
|
|
7816
|
+
expectedVersion: z.ZodType<_embedpdf_engine_core_runtime.DocumentVersionRef, z.ZodTypeDef, _embedpdf_engine_core_runtime.DocumentVersionRef>;
|
|
7817
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
7818
|
+
}, "strip", z.ZodTypeAny, {
|
|
7819
|
+
expiresAt: string | null;
|
|
7820
|
+
signingId: string;
|
|
7821
|
+
digest: string;
|
|
7822
|
+
algorithm: "sha256" | "sha384" | "sha512";
|
|
7823
|
+
byteRange: [number, number, number, number];
|
|
7824
|
+
contentsSize: number;
|
|
7825
|
+
subFilter: string;
|
|
7826
|
+
expectedVersion: _embedpdf_engine_core_runtime.DocumentVersionRef;
|
|
7827
|
+
}, {
|
|
7828
|
+
expiresAt: string | null;
|
|
7829
|
+
signingId: string;
|
|
7830
|
+
digest: string;
|
|
7831
|
+
algorithm: "sha256" | "sha384" | "sha512";
|
|
7832
|
+
byteRange: [number, number, number, number];
|
|
7833
|
+
contentsSize: number;
|
|
7834
|
+
subFilter: string;
|
|
7835
|
+
expectedVersion: _embedpdf_engine_core_runtime.DocumentVersionRef;
|
|
7836
|
+
}>;
|
|
7837
|
+
};
|
|
7838
|
+
readonly 400: {
|
|
7839
|
+
readonly contentType: "application/json";
|
|
7840
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7841
|
+
};
|
|
7842
|
+
readonly 404: {
|
|
7843
|
+
readonly contentType: "application/json";
|
|
7844
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7845
|
+
};
|
|
7846
|
+
readonly 409: {
|
|
7847
|
+
readonly contentType: "application/json";
|
|
7848
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7849
|
+
};
|
|
7850
|
+
};
|
|
7851
|
+
readonly notes: string;
|
|
7852
|
+
};
|
|
7853
|
+
readonly 'doc.signatures.complete': {
|
|
7854
|
+
readonly operationId: "doc.signatures.complete";
|
|
7855
|
+
readonly title: "Complete a signature";
|
|
7856
|
+
readonly summary: "Install the CMS into the prepared candidate and publish the sealed bytes as the document's next base version.";
|
|
7857
|
+
readonly method: "POST";
|
|
7858
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/signatures/:signingId/complete";
|
|
7859
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7860
|
+
readonly scope: readonly [];
|
|
7861
|
+
readonly docCapabilities: readonly ["doc.sign"];
|
|
7862
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7863
|
+
readonly params: z.ZodObject<{
|
|
7864
|
+
docId: z.ZodString;
|
|
7865
|
+
} & {
|
|
7866
|
+
layerName: z.ZodString;
|
|
7867
|
+
} & {
|
|
7868
|
+
signingId: z.ZodString;
|
|
7869
|
+
}, "strip", z.ZodTypeAny, {
|
|
7870
|
+
docId: string;
|
|
7871
|
+
layerName: string;
|
|
7872
|
+
signingId: string;
|
|
7873
|
+
}, {
|
|
7874
|
+
docId: string;
|
|
7875
|
+
layerName: string;
|
|
7876
|
+
signingId: string;
|
|
7877
|
+
}>;
|
|
7878
|
+
readonly body: {
|
|
7879
|
+
readonly contentType: "application/json";
|
|
7880
|
+
readonly schema: z.ZodObject<{
|
|
7881
|
+
cms: z.ZodEffects<z.ZodString, string, string>;
|
|
7882
|
+
expectedVersion: z.ZodType<_embedpdf_engine_core_runtime.DocumentVersionRef, z.ZodTypeDef, _embedpdf_engine_core_runtime.DocumentVersionRef>;
|
|
7883
|
+
}, "strip", z.ZodTypeAny, {
|
|
7884
|
+
expectedVersion: _embedpdf_engine_core_runtime.DocumentVersionRef;
|
|
7885
|
+
cms: string;
|
|
7886
|
+
}, {
|
|
7887
|
+
expectedVersion: _embedpdf_engine_core_runtime.DocumentVersionRef;
|
|
7888
|
+
cms: string;
|
|
7889
|
+
}>;
|
|
7890
|
+
};
|
|
7891
|
+
readonly responses: {
|
|
7892
|
+
readonly 200: {
|
|
7893
|
+
readonly contentType: "application/json";
|
|
7894
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SignatureCompleteResult, z.ZodTypeDef, _embedpdf_engine_core_runtime.SignatureCompleteResult>;
|
|
7895
|
+
};
|
|
7896
|
+
readonly 400: {
|
|
7897
|
+
readonly contentType: "application/json";
|
|
7898
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7899
|
+
};
|
|
7900
|
+
readonly 404: {
|
|
7901
|
+
readonly contentType: "application/json";
|
|
7902
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7903
|
+
};
|
|
7904
|
+
readonly 409: {
|
|
7905
|
+
readonly contentType: "application/json";
|
|
7906
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7907
|
+
};
|
|
7908
|
+
};
|
|
7909
|
+
readonly notes: string;
|
|
7910
|
+
};
|
|
7911
|
+
readonly 'doc.signatures.abort': {
|
|
7912
|
+
readonly operationId: "doc.signatures.abort";
|
|
7913
|
+
readonly title: "Abort a signature";
|
|
7914
|
+
readonly summary: "Discard a pending signing candidate.";
|
|
7915
|
+
readonly method: "DELETE";
|
|
7916
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/signatures/:signingId";
|
|
7917
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7918
|
+
readonly scope: readonly [];
|
|
7919
|
+
readonly docCapabilities: readonly ["doc.sign"];
|
|
7920
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7921
|
+
readonly params: z.ZodObject<{
|
|
7922
|
+
docId: z.ZodString;
|
|
7923
|
+
} & {
|
|
7924
|
+
layerName: z.ZodString;
|
|
7925
|
+
} & {
|
|
7926
|
+
signingId: z.ZodString;
|
|
7927
|
+
}, "strip", z.ZodTypeAny, {
|
|
7928
|
+
docId: string;
|
|
7929
|
+
layerName: string;
|
|
7930
|
+
signingId: string;
|
|
7931
|
+
}, {
|
|
7932
|
+
docId: string;
|
|
7933
|
+
layerName: string;
|
|
7934
|
+
signingId: string;
|
|
7935
|
+
}>;
|
|
7936
|
+
readonly responses: {
|
|
7937
|
+
readonly 200: {
|
|
7938
|
+
readonly contentType: "application/json";
|
|
7939
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SignatureAbortResult, z.ZodTypeDef, _embedpdf_engine_core_runtime.SignatureAbortResult>;
|
|
7940
|
+
};
|
|
7941
|
+
readonly 404: {
|
|
7942
|
+
readonly contentType: "application/json";
|
|
7943
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7944
|
+
};
|
|
7945
|
+
};
|
|
7946
|
+
};
|
|
7947
|
+
readonly 'doc.versions.list': {
|
|
7948
|
+
readonly operationId: "doc.versions.list";
|
|
7949
|
+
readonly title: "List versions";
|
|
7950
|
+
readonly summary: "The document's base versions, oldest first, and its head.";
|
|
7951
|
+
readonly method: "GET";
|
|
7952
|
+
readonly path: "/v1/docs/:docId/versions";
|
|
6679
7953
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6680
7954
|
readonly scope: readonly [];
|
|
6681
|
-
readonly docCapabilities: readonly ["doc.
|
|
7955
|
+
readonly docCapabilities: readonly ["doc.open"];
|
|
6682
7956
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6683
7957
|
readonly params: z.ZodObject<{
|
|
6684
7958
|
docId: z.ZodString;
|
|
6685
|
-
} & {
|
|
6686
|
-
layerName: z.ZodString;
|
|
6687
7959
|
}, "strip", z.ZodTypeAny, {
|
|
6688
7960
|
docId: string;
|
|
6689
|
-
layerName: string;
|
|
6690
7961
|
}, {
|
|
6691
7962
|
docId: string;
|
|
6692
|
-
layerName: string;
|
|
6693
7963
|
}>;
|
|
6694
|
-
readonly body: {
|
|
6695
|
-
readonly contentType: "application/json";
|
|
6696
|
-
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6697
|
-
};
|
|
6698
7964
|
readonly responses: {
|
|
6699
7965
|
readonly 200: {
|
|
6700
7966
|
readonly contentType: "application/json";
|
|
6701
7967
|
readonly schema: z.ZodObject<{
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
|
|
6710
|
-
|
|
6711
|
-
|
|
7968
|
+
head: z.ZodString;
|
|
7969
|
+
versions: z.ZodArray<z.ZodObject<{
|
|
7970
|
+
sha256: z.ZodString;
|
|
7971
|
+
byteLength: z.ZodNumber;
|
|
7972
|
+
number: z.ZodNumber;
|
|
7973
|
+
parentSha256: z.ZodNullable<z.ZodString>;
|
|
7974
|
+
producer: z.ZodEnum<["upload", "signature"]>;
|
|
7975
|
+
signingId: z.ZodNullable<z.ZodString>;
|
|
7976
|
+
createdAt: z.ZodNumber;
|
|
7977
|
+
}, "strip", z.ZodTypeAny, {
|
|
7978
|
+
number: number;
|
|
7979
|
+
signingId: string | null;
|
|
7980
|
+
sha256: string;
|
|
7981
|
+
byteLength: number;
|
|
7982
|
+
parentSha256: string | null;
|
|
7983
|
+
producer: "signature" | "upload";
|
|
7984
|
+
createdAt: number;
|
|
7985
|
+
}, {
|
|
7986
|
+
number: number;
|
|
7987
|
+
signingId: string | null;
|
|
7988
|
+
sha256: string;
|
|
7989
|
+
byteLength: number;
|
|
7990
|
+
parentSha256: string | null;
|
|
7991
|
+
producer: "signature" | "upload";
|
|
7992
|
+
createdAt: number;
|
|
7993
|
+
}>, "many">;
|
|
7994
|
+
}, "strip", z.ZodTypeAny, {
|
|
7995
|
+
head: string;
|
|
7996
|
+
versions: {
|
|
7997
|
+
number: number;
|
|
7998
|
+
signingId: string | null;
|
|
7999
|
+
sha256: string;
|
|
8000
|
+
byteLength: number;
|
|
8001
|
+
parentSha256: string | null;
|
|
8002
|
+
producer: "signature" | "upload";
|
|
8003
|
+
createdAt: number;
|
|
8004
|
+
}[];
|
|
8005
|
+
}, {
|
|
8006
|
+
head: string;
|
|
8007
|
+
versions: {
|
|
8008
|
+
number: number;
|
|
8009
|
+
signingId: string | null;
|
|
8010
|
+
sha256: string;
|
|
8011
|
+
byteLength: number;
|
|
8012
|
+
parentSha256: string | null;
|
|
8013
|
+
producer: "signature" | "upload";
|
|
8014
|
+
createdAt: number;
|
|
8015
|
+
}[];
|
|
8016
|
+
}>;
|
|
6712
8017
|
};
|
|
6713
8018
|
readonly 404: {
|
|
6714
8019
|
readonly contentType: "application/json";
|
|
6715
8020
|
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6716
8021
|
};
|
|
6717
8022
|
};
|
|
6718
|
-
readonly notes: "
|
|
8023
|
+
readonly notes: "Every completed signature publishes a new version. Never cached: the list grows.";
|
|
6719
8024
|
};
|
|
6720
|
-
readonly 'doc.
|
|
6721
|
-
readonly operationId: "doc.
|
|
6722
|
-
readonly title: "
|
|
6723
|
-
readonly summary: "
|
|
6724
|
-
readonly method: "
|
|
6725
|
-
readonly path: "/v1/docs/:docId/
|
|
8025
|
+
readonly 'doc.versions.signatures': {
|
|
8026
|
+
readonly operationId: "doc.versions.signatures";
|
|
8027
|
+
readonly title: "Version signatures";
|
|
8028
|
+
readonly summary: "The signature snapshot of one base version (immutable).";
|
|
8029
|
+
readonly method: "GET";
|
|
8030
|
+
readonly path: "/v1/docs/:docId/versions/signatures/:sha";
|
|
6726
8031
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6727
8032
|
readonly scope: readonly [];
|
|
6728
|
-
readonly docCapabilities: readonly ["doc.
|
|
8033
|
+
readonly docCapabilities: readonly ["doc.forms.read"];
|
|
6729
8034
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6730
8035
|
readonly params: z.ZodObject<{
|
|
6731
8036
|
docId: z.ZodString;
|
|
6732
8037
|
} & {
|
|
6733
|
-
|
|
8038
|
+
sha: z.ZodString;
|
|
6734
8039
|
}, "strip", z.ZodTypeAny, {
|
|
6735
8040
|
docId: string;
|
|
6736
|
-
|
|
8041
|
+
sha: string;
|
|
6737
8042
|
}, {
|
|
6738
8043
|
docId: string;
|
|
6739
|
-
|
|
8044
|
+
sha: string;
|
|
6740
8045
|
}>;
|
|
6741
|
-
readonly body: {
|
|
6742
|
-
readonly contentType: "application/json";
|
|
6743
|
-
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6744
|
-
};
|
|
6745
8046
|
readonly responses: {
|
|
6746
8047
|
readonly 200: {
|
|
6747
|
-
readonly contentType: "application/pdf";
|
|
6748
|
-
};
|
|
6749
|
-
readonly 400: {
|
|
6750
8048
|
readonly contentType: "application/json";
|
|
6751
|
-
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.
|
|
8049
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SignatureSnapshot, z.ZodTypeDef, _embedpdf_engine_core_runtime.SignatureSnapshot>;
|
|
6752
8050
|
};
|
|
6753
8051
|
readonly 404: {
|
|
6754
8052
|
readonly contentType: "application/json";
|
|
6755
8053
|
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6756
8054
|
};
|
|
6757
8055
|
};
|
|
6758
|
-
readonly notes: "A read, not a mutation: the source document is untouched and no event is published. Body is `{\"pageObjectNumbers\": number[]}`; the response body is the new PDF.";
|
|
6759
8056
|
};
|
|
6760
|
-
readonly 'doc.
|
|
6761
|
-
readonly operationId: "doc.
|
|
6762
|
-
readonly title: "
|
|
6763
|
-
readonly summary: "
|
|
6764
|
-
readonly method: "
|
|
6765
|
-
readonly path: "/v1/docs/:docId/
|
|
8057
|
+
readonly 'doc.versions.signatureContents': {
|
|
8058
|
+
readonly operationId: "doc.versions.signatureContents";
|
|
8059
|
+
readonly title: "Signature contents";
|
|
8060
|
+
readonly summary: "The DER /Contents of a signed field in one base version (immutable).";
|
|
8061
|
+
readonly method: "GET";
|
|
8062
|
+
readonly path: "/v1/docs/:docId/versions/signatures/:sha/:fieldKey/contents";
|
|
6766
8063
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6767
8064
|
readonly scope: readonly [];
|
|
6768
|
-
readonly docCapabilities: readonly ["doc.
|
|
8065
|
+
readonly docCapabilities: readonly ["doc.forms.read"];
|
|
6769
8066
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6770
8067
|
readonly params: z.ZodObject<{
|
|
6771
8068
|
docId: z.ZodString;
|
|
6772
8069
|
} & {
|
|
6773
|
-
|
|
8070
|
+
sha: z.ZodString;
|
|
8071
|
+
} & {
|
|
8072
|
+
fieldKey: z.ZodString;
|
|
6774
8073
|
}, "strip", z.ZodTypeAny, {
|
|
6775
8074
|
docId: string;
|
|
6776
|
-
|
|
8075
|
+
fieldKey: string;
|
|
8076
|
+
sha: string;
|
|
6777
8077
|
}, {
|
|
6778
8078
|
docId: string;
|
|
6779
|
-
|
|
8079
|
+
fieldKey: string;
|
|
8080
|
+
sha: string;
|
|
6780
8081
|
}>;
|
|
6781
|
-
readonly body: {
|
|
6782
|
-
readonly contentType: "application/json";
|
|
6783
|
-
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6784
|
-
readonly required: false;
|
|
6785
|
-
};
|
|
6786
8082
|
readonly responses: {
|
|
6787
8083
|
readonly 200: {
|
|
6788
|
-
readonly contentType: "application/
|
|
6789
|
-
readonly schema: z.ZodObject<{
|
|
6790
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6791
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6792
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6793
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6794
|
-
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6795
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
6796
|
-
};
|
|
6797
|
-
readonly 400: {
|
|
6798
|
-
readonly contentType: "application/json";
|
|
6799
|
-
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
8084
|
+
readonly contentType: "application/pkcs7-signature";
|
|
6800
8085
|
};
|
|
6801
8086
|
readonly 404: {
|
|
6802
8087
|
readonly contentType: "application/json";
|
|
6803
8088
|
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6804
8089
|
};
|
|
6805
8090
|
};
|
|
8091
|
+
readonly notes: "`fieldKey` is the field's fully qualified name, token-text encoded (the same encoding attachment keys use).";
|
|
6806
8092
|
};
|
|
6807
|
-
readonly 'doc.
|
|
6808
|
-
readonly operationId: "doc.
|
|
6809
|
-
readonly title: "
|
|
6810
|
-
readonly summary: "
|
|
8093
|
+
readonly 'doc.versions.signatureDigest': {
|
|
8094
|
+
readonly operationId: "doc.versions.signatureDigest";
|
|
8095
|
+
readonly title: "Signature digest";
|
|
8096
|
+
readonly summary: "The digest of a signed field's /ByteRange in one base version (immutable).";
|
|
6811
8097
|
readonly method: "GET";
|
|
6812
|
-
readonly path: "/v1/docs/:docId/
|
|
8098
|
+
readonly path: "/v1/docs/:docId/versions/signatures/:sha/:fieldKey/digest/:algorithm";
|
|
6813
8099
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6814
8100
|
readonly scope: readonly [];
|
|
6815
|
-
readonly docCapabilities: readonly ["doc.
|
|
8101
|
+
readonly docCapabilities: readonly ["doc.forms.read"];
|
|
6816
8102
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6817
8103
|
readonly params: z.ZodObject<{
|
|
6818
8104
|
docId: z.ZodString;
|
|
6819
8105
|
} & {
|
|
6820
|
-
|
|
8106
|
+
sha: z.ZodString;
|
|
8107
|
+
} & {
|
|
8108
|
+
fieldKey: z.ZodString;
|
|
8109
|
+
} & {
|
|
8110
|
+
algorithm: z.ZodEnum<["sha1", "sha256", "sha384", "sha512"]>;
|
|
6821
8111
|
}, "strip", z.ZodTypeAny, {
|
|
6822
8112
|
docId: string;
|
|
6823
|
-
|
|
8113
|
+
fieldKey: string;
|
|
8114
|
+
sha: string;
|
|
8115
|
+
algorithm: "sha256" | "sha1" | "sha384" | "sha512";
|
|
6824
8116
|
}, {
|
|
6825
8117
|
docId: string;
|
|
6826
|
-
|
|
8118
|
+
fieldKey: string;
|
|
8119
|
+
sha: string;
|
|
8120
|
+
algorithm: "sha256" | "sha1" | "sha384" | "sha512";
|
|
6827
8121
|
}>;
|
|
6828
8122
|
readonly responses: {
|
|
6829
8123
|
readonly 200: {
|
|
6830
|
-
readonly contentType: "application/
|
|
8124
|
+
readonly contentType: "application/octet-stream";
|
|
6831
8125
|
};
|
|
6832
8126
|
readonly 404: {
|
|
6833
8127
|
readonly contentType: "application/json";
|
|
6834
8128
|
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6835
8129
|
};
|
|
6836
8130
|
};
|
|
8131
|
+
readonly notes: "What a CMS verifier compares its message digest to.";
|
|
6837
8132
|
};
|
|
6838
|
-
|
|
6839
|
-
|
|
6840
|
-
|
|
6841
|
-
|
|
6842
|
-
readonly 'doc.head': {
|
|
6843
|
-
readonly operationId: "doc.head";
|
|
6844
|
-
readonly title: "Open document";
|
|
6845
|
-
readonly summary: "Open a document and return its head (versions, page count, security).";
|
|
8133
|
+
readonly 'doc.versions.analysis': {
|
|
8134
|
+
readonly operationId: "doc.versions.analysis";
|
|
8135
|
+
readonly title: "Analyze version history";
|
|
8136
|
+
readonly summary: "What changed between two revisions of one base version (immutable).";
|
|
6846
8137
|
readonly method: "GET";
|
|
6847
|
-
readonly path: "/v1/docs/:docId/
|
|
8138
|
+
readonly path: "/v1/docs/:docId/versions/analysis/:sha";
|
|
6848
8139
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6849
8140
|
readonly scope: readonly [];
|
|
6850
|
-
readonly docCapabilities: readonly ["doc.
|
|
8141
|
+
readonly docCapabilities: readonly ["doc.forms.read"];
|
|
6851
8142
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6852
8143
|
readonly params: z.ZodObject<{
|
|
6853
8144
|
docId: z.ZodString;
|
|
8145
|
+
} & {
|
|
8146
|
+
sha: z.ZodString;
|
|
6854
8147
|
}, "strip", z.ZodTypeAny, {
|
|
6855
8148
|
docId: string;
|
|
8149
|
+
sha: string;
|
|
6856
8150
|
}, {
|
|
6857
8151
|
docId: string;
|
|
8152
|
+
sha: string;
|
|
8153
|
+
}>;
|
|
8154
|
+
readonly query: z.ZodObject<{
|
|
8155
|
+
'since.signature': z.ZodOptional<z.ZodNumber>;
|
|
8156
|
+
'since.revision': z.ZodOptional<z.ZodNumber>;
|
|
8157
|
+
level: z.ZodOptional<z.ZodEnum<["none", "lta", "fill", "annotate"]>>;
|
|
8158
|
+
} & {
|
|
8159
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
8160
|
+
/** The judging policy version the caller expects — a cache key on this immutable URL, not an input. */
|
|
8161
|
+
policy: z.ZodOptional<z.ZodNumber>;
|
|
8162
|
+
}, "strip", z.ZodTypeAny, {
|
|
8163
|
+
'since.signature'?: number | undefined;
|
|
8164
|
+
'since.revision'?: number | undefined;
|
|
8165
|
+
level?: "fill" | "none" | "lta" | "annotate" | undefined;
|
|
8166
|
+
until?: number | undefined;
|
|
8167
|
+
policy?: number | undefined;
|
|
8168
|
+
}, {
|
|
8169
|
+
'since.signature'?: number | undefined;
|
|
8170
|
+
'since.revision'?: number | undefined;
|
|
8171
|
+
level?: "fill" | "none" | "lta" | "annotate" | undefined;
|
|
8172
|
+
until?: number | undefined;
|
|
8173
|
+
policy?: number | undefined;
|
|
6858
8174
|
}>;
|
|
6859
8175
|
readonly responses: {
|
|
6860
8176
|
readonly 200: {
|
|
6861
8177
|
readonly contentType: "application/json";
|
|
6862
|
-
readonly schema: z.
|
|
6863
|
-
|
|
6864
|
-
|
|
6865
|
-
|
|
6866
|
-
|
|
6867
|
-
state: z.ZodEnum<["pending", "ready", "failed", "deleting"]>;
|
|
6868
|
-
encryption: z.ZodObject<{
|
|
6869
|
-
state: z.ZodEnum<["unknown", "none", "encrypted", "unsupported"]>;
|
|
6870
|
-
requiresPassword: z.ZodNullable<z.ZodBoolean>;
|
|
6871
|
-
}, "strip", z.ZodTypeAny, {
|
|
6872
|
-
state: "unknown" | "none" | "encrypted" | "unsupported";
|
|
6873
|
-
requiresPassword: boolean | null;
|
|
6874
|
-
}, {
|
|
6875
|
-
state: "unknown" | "none" | "encrypted" | "unsupported";
|
|
6876
|
-
requiresPassword: boolean | null;
|
|
6877
|
-
}>;
|
|
6878
|
-
permissions: z.ZodObject<{
|
|
6879
|
-
known: z.ZodBoolean;
|
|
6880
|
-
bits: z.ZodNullable<z.ZodNumber>;
|
|
6881
|
-
allAllowed: z.ZodNullable<z.ZodBoolean>;
|
|
6882
|
-
openedAs: z.ZodNullable<z.ZodEnum<["none", "user", "owner"]>>;
|
|
6883
|
-
securityHandlerRevision: z.ZodNullable<z.ZodNumber>;
|
|
6884
|
-
canUpgradeToOwner: z.ZodBoolean;
|
|
6885
|
-
}, "strip", z.ZodTypeAny, {
|
|
6886
|
-
known: boolean;
|
|
6887
|
-
bits: number | null;
|
|
6888
|
-
allAllowed: boolean | null;
|
|
6889
|
-
openedAs: "none" | "user" | "owner" | null;
|
|
6890
|
-
securityHandlerRevision: number | null;
|
|
6891
|
-
canUpgradeToOwner: boolean;
|
|
6892
|
-
}, {
|
|
6893
|
-
known: boolean;
|
|
6894
|
-
bits: number | null;
|
|
6895
|
-
allAllowed: boolean | null;
|
|
6896
|
-
openedAs: "none" | "user" | "owner" | null;
|
|
6897
|
-
securityHandlerRevision: number | null;
|
|
6898
|
-
canUpgradeToOwner: boolean;
|
|
6899
|
-
}>;
|
|
6900
|
-
access: z.ZodObject<{
|
|
6901
|
-
required: z.ZodBoolean;
|
|
6902
|
-
reasons: z.ZodArray<z.ZodEnum<["password", "cdn", "permissions-unknown"]>, "many">;
|
|
6903
|
-
endpoint: z.ZodOptional<z.ZodString>;
|
|
6904
|
-
}, "strip", z.ZodTypeAny, {
|
|
6905
|
-
required: boolean;
|
|
6906
|
-
reasons: ("password" | "cdn" | "permissions-unknown")[];
|
|
6907
|
-
endpoint?: string | undefined;
|
|
6908
|
-
}, {
|
|
6909
|
-
required: boolean;
|
|
6910
|
-
reasons: ("password" | "cdn" | "permissions-unknown")[];
|
|
6911
|
-
endpoint?: string | undefined;
|
|
6912
|
-
}>;
|
|
6913
|
-
}, "strip", z.ZodTypeAny, {
|
|
6914
|
-
id: string;
|
|
6915
|
-
baseSha: string;
|
|
6916
|
-
storageSizeBytes: number;
|
|
6917
|
-
docVersion: number;
|
|
6918
|
-
state: "pending" | "ready" | "failed" | "deleting";
|
|
6919
|
-
encryption: {
|
|
6920
|
-
state: "unknown" | "none" | "encrypted" | "unsupported";
|
|
6921
|
-
requiresPassword: boolean | null;
|
|
6922
|
-
};
|
|
6923
|
-
permissions: {
|
|
6924
|
-
known: boolean;
|
|
6925
|
-
bits: number | null;
|
|
6926
|
-
allAllowed: boolean | null;
|
|
6927
|
-
openedAs: "none" | "user" | "owner" | null;
|
|
6928
|
-
securityHandlerRevision: number | null;
|
|
6929
|
-
canUpgradeToOwner: boolean;
|
|
6930
|
-
};
|
|
6931
|
-
access: {
|
|
6932
|
-
required: boolean;
|
|
6933
|
-
reasons: ("password" | "cdn" | "permissions-unknown")[];
|
|
6934
|
-
endpoint?: string | undefined;
|
|
6935
|
-
};
|
|
6936
|
-
}, {
|
|
6937
|
-
id: string;
|
|
6938
|
-
baseSha: string;
|
|
6939
|
-
storageSizeBytes: number;
|
|
6940
|
-
docVersion: number;
|
|
6941
|
-
state: "pending" | "ready" | "failed" | "deleting";
|
|
6942
|
-
encryption: {
|
|
6943
|
-
state: "unknown" | "none" | "encrypted" | "unsupported";
|
|
6944
|
-
requiresPassword: boolean | null;
|
|
6945
|
-
};
|
|
6946
|
-
permissions: {
|
|
6947
|
-
known: boolean;
|
|
6948
|
-
bits: number | null;
|
|
6949
|
-
allAllowed: boolean | null;
|
|
6950
|
-
openedAs: "none" | "user" | "owner" | null;
|
|
6951
|
-
securityHandlerRevision: number | null;
|
|
6952
|
-
canUpgradeToOwner: boolean;
|
|
6953
|
-
};
|
|
6954
|
-
access: {
|
|
6955
|
-
required: boolean;
|
|
6956
|
-
reasons: ("password" | "cdn" | "permissions-unknown")[];
|
|
6957
|
-
endpoint?: string | undefined;
|
|
6958
|
-
};
|
|
6959
|
-
}>;
|
|
8178
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.ChangeAnalysis, z.ZodTypeDef, _embedpdf_engine_core_runtime.ChangeAnalysis>;
|
|
8179
|
+
};
|
|
8180
|
+
readonly 400: {
|
|
8181
|
+
readonly contentType: "application/json";
|
|
8182
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6960
8183
|
};
|
|
6961
8184
|
readonly 404: {
|
|
6962
8185
|
readonly contentType: "application/json";
|
|
6963
8186
|
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6964
8187
|
};
|
|
6965
8188
|
};
|
|
8189
|
+
readonly notes: string;
|
|
6966
8190
|
};
|
|
6967
|
-
readonly 'doc.
|
|
6968
|
-
readonly operationId: "doc.
|
|
6969
|
-
readonly title: "
|
|
6970
|
-
readonly summary: "
|
|
8191
|
+
readonly 'doc.versions.download': {
|
|
8192
|
+
readonly operationId: "doc.versions.download";
|
|
8193
|
+
readonly title: "Download a version";
|
|
8194
|
+
readonly summary: "The bytes of one base version (immutable).";
|
|
6971
8195
|
readonly method: "GET";
|
|
6972
|
-
readonly path: "/v1/docs/:docId/
|
|
8196
|
+
readonly path: "/v1/docs/:docId/versions/download/:sha";
|
|
6973
8197
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6974
8198
|
readonly scope: readonly [];
|
|
6975
|
-
readonly docCapabilities: readonly ["doc.
|
|
8199
|
+
readonly docCapabilities: readonly ["doc.download"];
|
|
6976
8200
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6977
8201
|
readonly params: z.ZodObject<{
|
|
6978
8202
|
docId: z.ZodString;
|
|
6979
8203
|
} & {
|
|
6980
|
-
|
|
8204
|
+
sha: z.ZodString;
|
|
6981
8205
|
}, "strip", z.ZodTypeAny, {
|
|
6982
8206
|
docId: string;
|
|
6983
|
-
|
|
8207
|
+
sha: string;
|
|
6984
8208
|
}, {
|
|
6985
8209
|
docId: string;
|
|
6986
|
-
|
|
8210
|
+
sha: string;
|
|
6987
8211
|
}>;
|
|
6988
8212
|
readonly responses: {
|
|
6989
8213
|
readonly 200: {
|
|
6990
|
-
readonly contentType: "application/
|
|
6991
|
-
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.DocumentManifest, z.ZodTypeDef, _embedpdf_engine_core_runtime.DocumentManifest>;
|
|
8214
|
+
readonly contentType: "application/pdf";
|
|
6992
8215
|
};
|
|
6993
8216
|
readonly 404: {
|
|
6994
8217
|
readonly contentType: "application/json";
|
|
@@ -6996,31 +8219,34 @@ declare const allOperations: {
|
|
|
6996
8219
|
};
|
|
6997
8220
|
};
|
|
6998
8221
|
};
|
|
6999
|
-
readonly 'doc.
|
|
7000
|
-
readonly operationId: "doc.
|
|
7001
|
-
readonly title: "
|
|
7002
|
-
readonly summary: "
|
|
8222
|
+
readonly 'doc.versions.revision': {
|
|
8223
|
+
readonly operationId: "doc.versions.revision";
|
|
8224
|
+
readonly title: "Download a revision";
|
|
8225
|
+
readonly summary: "The byte prefix of one revision of a base version: exactly what a signature over it signed (immutable).";
|
|
7003
8226
|
readonly method: "GET";
|
|
7004
|
-
readonly path: "/v1/docs/:docId/
|
|
8227
|
+
readonly path: "/v1/docs/:docId/versions/revisions/:sha/:index";
|
|
7005
8228
|
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7006
8229
|
readonly scope: readonly [];
|
|
7007
|
-
readonly docCapabilities: readonly ["doc.
|
|
8230
|
+
readonly docCapabilities: readonly ["doc.download"];
|
|
7008
8231
|
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7009
8232
|
readonly params: z.ZodObject<{
|
|
7010
8233
|
docId: z.ZodString;
|
|
7011
8234
|
} & {
|
|
7012
|
-
|
|
8235
|
+
sha: z.ZodString;
|
|
8236
|
+
} & {
|
|
8237
|
+
index: z.ZodNumber;
|
|
7013
8238
|
}, "strip", z.ZodTypeAny, {
|
|
7014
8239
|
docId: string;
|
|
7015
|
-
|
|
8240
|
+
sha: string;
|
|
8241
|
+
index: number;
|
|
7016
8242
|
}, {
|
|
7017
8243
|
docId: string;
|
|
7018
|
-
|
|
8244
|
+
sha: string;
|
|
8245
|
+
index: number;
|
|
7019
8246
|
}>;
|
|
7020
8247
|
readonly responses: {
|
|
7021
8248
|
readonly 200: {
|
|
7022
|
-
readonly contentType: "application/
|
|
7023
|
-
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.DocumentMetadata, z.ZodTypeDef, _embedpdf_engine_core_runtime.DocumentMetadata>;
|
|
8249
|
+
readonly contentType: "application/pdf";
|
|
7024
8250
|
};
|
|
7025
8251
|
readonly 404: {
|
|
7026
8252
|
readonly contentType: "application/json";
|
|
@@ -11526,6 +12752,12 @@ declare const docsGroups: {
|
|
|
11526
12752
|
readonly 'doc.redactions': {
|
|
11527
12753
|
readonly title: "Redactions";
|
|
11528
12754
|
};
|
|
12755
|
+
readonly 'doc.signatures': {
|
|
12756
|
+
readonly title: "Digital signatures";
|
|
12757
|
+
};
|
|
12758
|
+
readonly 'doc.versions': {
|
|
12759
|
+
readonly title: "Versions";
|
|
12760
|
+
};
|
|
11529
12761
|
};
|
|
11530
12762
|
|
|
11531
|
-
export { ADMIN_DOCUMENT_LIST_DEFAULT_LIMIT, ADMIN_DOCUMENT_LIST_MAX_LIMIT, type AdminCredential, type AdminDocumentCommitRequest, AdminDocumentCommitRequestSchema, type AdminDocumentCommitResponse, AdminDocumentCommitResponseSchema, type AdminDocumentImportRequest, AdminDocumentImportRequestSchema, type AdminDocumentImportResponse, AdminDocumentImportResponseSchema, type AdminDocumentInitRequest, AdminDocumentInitRequestSchema, type AdminDocumentInitResponse, AdminDocumentInitResponseSchema, type AdminDocumentListQuery, AdminDocumentListQuerySchema, type AdminDocumentListResponse, AdminDocumentListResponseSchema, type AdminDocumentRecord, AdminDocumentRecordSchema, type AdminDocumentResponse, AdminDocumentResponseSchema, type AdminErrorPayload, AdminErrorPayloadSchema, type AdminImportSource, AdminImportSourceSchema, type AdminInitUpload, AdminInitUploadSchema, type AdminLicenseStatusResponse, AdminLicenseStatusResponseSchema, type AdminOperation, type AdminOperationBody, type AdminOperationHeader, type AdminOperationId, type AdminOperationMethod, type AdminOperationResponse, type AdminPresignedUpload, AdminPresignedUploadSchema, type AdminTenantCreateRequest, AdminTenantCreateRequestSchema, type AdminTenantCreateResponse, AdminTenantCreateResponseSchema, type AdminTenantDocParams, AdminTenantDocParamsSchema, type AdminTenantJtiParams, AdminTenantJtiParamsSchema, type AdminTenantListQuery, AdminTenantListQuerySchema, type AdminTenantListResponse, AdminTenantListResponseSchema, type AdminTenantParams, AdminTenantParamsSchema, type AdminTenantRecord, AdminTenantRecordSchema, type AdminTenantResponse, AdminTenantResponseSchema, type AdminTenantScope, type AdminTenantShareParams, AdminTenantShareParamsSchema, type AdminThumbnailUnavailablePayload, AdminThumbnailUnavailablePayloadSchema, type AdminTokenIssueDocRequest, AdminTokenIssueDocRequestSchema, type AdminTokenIssueRequest, AdminTokenIssueRequestSchema, type AdminTokenIssueResponse, AdminTokenIssueResponseSchema, type AdminTokenIssueTenantRequest, AdminTokenIssueTenantRequestSchema, type AdminTokenRevokeRequest, AdminTokenRevokeRequestSchema, type AdminUploadProxyResponse, AdminUploadProxyResponseSchema, type DedupMode, DedupModeSchema, DocAnnotationParamsSchema, DocFieldParamsSchema, DocIdParamsSchema, DocLayerParamsSchema, type DocOperationId, DocPageParamsSchema, type DocsGroup, type DocumentState, DocumentStateSchema, type ShareExchangeRequest, ShareExchangeRequestSchema, type ShareGrantCreateRequest, ShareGrantCreateRequestSchema, type ShareGrantListQuery, ShareGrantListQuerySchema, type ShareGrantListResponse, ShareGrantListResponseSchema, type ShareGrantRecord, ShareGrantRecordSchema, type ShareGrantResponse, ShareGrantResponseSchema, type ShareGrantUpdateRequest, ShareGrantUpdateRequestSchema, type ShareSessionResponse, ShareSessionResponseSchema, type TenantSuspendRequest, TenantSuspendRequestSchema, type TenantUsageQuery, TenantUsageQuerySchema, type TenantUsageResponse, TenantUsageResponseSchema, type UploadPreference, UploadPreferenceSchema, adminCredentials, adminOperations, adminTenantScopes, adminWirePaths, allOperations, docOperations, docsGroups, documentPasswordHeader, tenantIdPattern };
|
|
12763
|
+
export { ADMIN_DOCUMENT_LIST_DEFAULT_LIMIT, ADMIN_DOCUMENT_LIST_MAX_LIMIT, type AdminCredential, type AdminDocumentCommitRequest, AdminDocumentCommitRequestSchema, type AdminDocumentCommitResponse, AdminDocumentCommitResponseSchema, type AdminDocumentImportRequest, AdminDocumentImportRequestSchema, type AdminDocumentImportResponse, AdminDocumentImportResponseSchema, type AdminDocumentInitRequest, AdminDocumentInitRequestSchema, type AdminDocumentInitResponse, AdminDocumentInitResponseSchema, type AdminDocumentListQuery, AdminDocumentListQuerySchema, type AdminDocumentListResponse, AdminDocumentListResponseSchema, type AdminDocumentRecord, AdminDocumentRecordSchema, type AdminDocumentResponse, AdminDocumentResponseSchema, type AdminErrorPayload, AdminErrorPayloadSchema, type AdminImportSource, AdminImportSourceSchema, type AdminInitUpload, AdminInitUploadSchema, type AdminLicenseStatusResponse, AdminLicenseStatusResponseSchema, type AdminOperation, type AdminOperationBody, type AdminOperationHeader, type AdminOperationId, type AdminOperationMethod, type AdminOperationResponse, type AdminPresignedUpload, AdminPresignedUploadSchema, type AdminTenantCreateRequest, AdminTenantCreateRequestSchema, type AdminTenantCreateResponse, AdminTenantCreateResponseSchema, type AdminTenantDocParams, AdminTenantDocParamsSchema, type AdminTenantJtiParams, AdminTenantJtiParamsSchema, type AdminTenantListQuery, AdminTenantListQuerySchema, type AdminTenantListResponse, AdminTenantListResponseSchema, type AdminTenantParams, AdminTenantParamsSchema, type AdminTenantRecord, AdminTenantRecordSchema, type AdminTenantResponse, AdminTenantResponseSchema, type AdminTenantScope, type AdminTenantShareParams, AdminTenantShareParamsSchema, type AdminThumbnailUnavailablePayload, AdminThumbnailUnavailablePayloadSchema, type AdminTokenIssueDocRequest, AdminTokenIssueDocRequestSchema, type AdminTokenIssueRequest, AdminTokenIssueRequestSchema, type AdminTokenIssueResponse, AdminTokenIssueResponseSchema, type AdminTokenIssueTenantRequest, AdminTokenIssueTenantRequestSchema, type AdminTokenRevokeRequest, AdminTokenRevokeRequestSchema, type AdminUploadProxyResponse, AdminUploadProxyResponseSchema, type DedupMode, DedupModeSchema, DocAnnotationParamsSchema, DocFieldParamsSchema, DocIdParamsSchema, DocLayerParamsSchema, type DocOperationId, DocPageParamsSchema, DocSigningParamsSchema, DocVersionDigestParamsSchema, DocVersionFieldParamsSchema, DocVersionParamsSchema, DocVersionRevisionParamsSchema, type DocsGroup, type DocumentState, DocumentStateSchema, LayerSignaturesAnalysisQuerySchema, type ShareExchangeRequest, ShareExchangeRequestSchema, type ShareGrantCreateRequest, ShareGrantCreateRequestSchema, type ShareGrantListQuery, ShareGrantListQuerySchema, type ShareGrantListResponse, ShareGrantListResponseSchema, type ShareGrantRecord, ShareGrantRecordSchema, type ShareGrantResponse, ShareGrantResponseSchema, type ShareGrantUpdateRequest, ShareGrantUpdateRequestSchema, type ShareSessionResponse, ShareSessionResponseSchema, type TenantSuspendRequest, TenantSuspendRequestSchema, type TenantUsageQuery, TenantUsageQuerySchema, type TenantUsageResponse, TenantUsageResponseSchema, type UploadPreference, UploadPreferenceSchema, VersionAnalysisQuerySchema, adminCredentials, adminOperations, adminTenantScopes, adminWirePaths, allOperations, docOperations, docsGroups, documentPasswordHeader, tenantIdPattern };
|