@cloudpdf/contract 3.0.0-next.7 → 3.0.0-next.9
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 +266 -0
- package/dist/index.js +59 -0
- package/dist/index.js.map +1 -1
- package/dist/openapi.js +59 -0
- package/dist/openapi.js.map +1 -1
- package/openapi.json +1234 -409
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -6402,6 +6402,139 @@ declare const docOperations: {
|
|
|
6402
6402
|
};
|
|
6403
6403
|
};
|
|
6404
6404
|
};
|
|
6405
|
+
readonly 'doc.pages.insert': {
|
|
6406
|
+
readonly operationId: "doc.pages.insert";
|
|
6407
|
+
readonly title: "Insert pages from a PDF";
|
|
6408
|
+
readonly summary: "Copy every page of an uploaded PDF into the document at an index.";
|
|
6409
|
+
readonly method: "POST";
|
|
6410
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/pages/insert";
|
|
6411
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6412
|
+
readonly scope: readonly [];
|
|
6413
|
+
readonly docCapabilities: readonly ["doc.pages.assemble"];
|
|
6414
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6415
|
+
readonly params: z.ZodObject<{
|
|
6416
|
+
docId: z.ZodString;
|
|
6417
|
+
} & {
|
|
6418
|
+
layerName: z.ZodString;
|
|
6419
|
+
}, "strip", z.ZodTypeAny, {
|
|
6420
|
+
docId: string;
|
|
6421
|
+
layerName: string;
|
|
6422
|
+
}, {
|
|
6423
|
+
docId: string;
|
|
6424
|
+
layerName: string;
|
|
6425
|
+
}>;
|
|
6426
|
+
readonly body: {
|
|
6427
|
+
readonly contentType: "multipart/form-data";
|
|
6428
|
+
};
|
|
6429
|
+
readonly responses: {
|
|
6430
|
+
readonly 200: {
|
|
6431
|
+
readonly contentType: "application/json";
|
|
6432
|
+
readonly schema: z.ZodObject<{
|
|
6433
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6434
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6435
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6436
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6437
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6438
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
6439
|
+
};
|
|
6440
|
+
readonly 400: {
|
|
6441
|
+
readonly contentType: "application/json";
|
|
6442
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6443
|
+
};
|
|
6444
|
+
readonly 404: {
|
|
6445
|
+
readonly contentType: "application/json";
|
|
6446
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6447
|
+
};
|
|
6448
|
+
};
|
|
6449
|
+
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.";
|
|
6450
|
+
};
|
|
6451
|
+
readonly 'doc.pages.insertBlank': {
|
|
6452
|
+
readonly operationId: "doc.pages.insertBlank";
|
|
6453
|
+
readonly title: "Insert blank pages";
|
|
6454
|
+
readonly summary: "Create blank pages of an explicit size at an index.";
|
|
6455
|
+
readonly method: "POST";
|
|
6456
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/pages/insert-blank";
|
|
6457
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6458
|
+
readonly scope: readonly [];
|
|
6459
|
+
readonly docCapabilities: readonly ["doc.pages.assemble"];
|
|
6460
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6461
|
+
readonly params: z.ZodObject<{
|
|
6462
|
+
docId: z.ZodString;
|
|
6463
|
+
} & {
|
|
6464
|
+
layerName: z.ZodString;
|
|
6465
|
+
}, "strip", z.ZodTypeAny, {
|
|
6466
|
+
docId: string;
|
|
6467
|
+
layerName: string;
|
|
6468
|
+
}, {
|
|
6469
|
+
docId: string;
|
|
6470
|
+
layerName: string;
|
|
6471
|
+
}>;
|
|
6472
|
+
readonly body: {
|
|
6473
|
+
readonly contentType: "application/json";
|
|
6474
|
+
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6475
|
+
};
|
|
6476
|
+
readonly responses: {
|
|
6477
|
+
readonly 200: {
|
|
6478
|
+
readonly contentType: "application/json";
|
|
6479
|
+
readonly schema: z.ZodObject<{
|
|
6480
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6481
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6482
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6483
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6484
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
6485
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
6486
|
+
};
|
|
6487
|
+
readonly 400: {
|
|
6488
|
+
readonly contentType: "application/json";
|
|
6489
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6490
|
+
};
|
|
6491
|
+
readonly 404: {
|
|
6492
|
+
readonly contentType: "application/json";
|
|
6493
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6494
|
+
};
|
|
6495
|
+
};
|
|
6496
|
+
readonly notes: "Body is `{\"size\": {\"width\", \"height\"}, \"count\"?, \"destIndex\"?}` — size in PDF points, count in [1, 100], destIndex omitted → append.";
|
|
6497
|
+
};
|
|
6498
|
+
readonly 'doc.pages.extract': {
|
|
6499
|
+
readonly operationId: "doc.pages.extract";
|
|
6500
|
+
readonly title: "Extract pages";
|
|
6501
|
+
readonly summary: "Export the listed pages, in order, as a standalone PDF.";
|
|
6502
|
+
readonly method: "POST";
|
|
6503
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/pages/extract";
|
|
6504
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
6505
|
+
readonly scope: readonly [];
|
|
6506
|
+
readonly docCapabilities: readonly ["doc.download"];
|
|
6507
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
6508
|
+
readonly params: z.ZodObject<{
|
|
6509
|
+
docId: z.ZodString;
|
|
6510
|
+
} & {
|
|
6511
|
+
layerName: z.ZodString;
|
|
6512
|
+
}, "strip", z.ZodTypeAny, {
|
|
6513
|
+
docId: string;
|
|
6514
|
+
layerName: string;
|
|
6515
|
+
}, {
|
|
6516
|
+
docId: string;
|
|
6517
|
+
layerName: string;
|
|
6518
|
+
}>;
|
|
6519
|
+
readonly body: {
|
|
6520
|
+
readonly contentType: "application/json";
|
|
6521
|
+
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6522
|
+
};
|
|
6523
|
+
readonly responses: {
|
|
6524
|
+
readonly 200: {
|
|
6525
|
+
readonly contentType: "application/pdf";
|
|
6526
|
+
};
|
|
6527
|
+
readonly 400: {
|
|
6528
|
+
readonly contentType: "application/json";
|
|
6529
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6530
|
+
};
|
|
6531
|
+
readonly 404: {
|
|
6532
|
+
readonly contentType: "application/json";
|
|
6533
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
6534
|
+
};
|
|
6535
|
+
};
|
|
6536
|
+
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.";
|
|
6537
|
+
};
|
|
6405
6538
|
readonly 'doc.redactions.apply': {
|
|
6406
6539
|
readonly operationId: "doc.redactions.apply";
|
|
6407
6540
|
readonly title: "Apply redactions";
|
|
@@ -7325,6 +7458,139 @@ declare const allOperations: {
|
|
|
7325
7458
|
};
|
|
7326
7459
|
};
|
|
7327
7460
|
};
|
|
7461
|
+
readonly 'doc.pages.insert': {
|
|
7462
|
+
readonly operationId: "doc.pages.insert";
|
|
7463
|
+
readonly title: "Insert pages from a PDF";
|
|
7464
|
+
readonly summary: "Copy every page of an uploaded PDF into the document at an index.";
|
|
7465
|
+
readonly method: "POST";
|
|
7466
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/pages/insert";
|
|
7467
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7468
|
+
readonly scope: readonly [];
|
|
7469
|
+
readonly docCapabilities: readonly ["doc.pages.assemble"];
|
|
7470
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7471
|
+
readonly params: z.ZodObject<{
|
|
7472
|
+
docId: z.ZodString;
|
|
7473
|
+
} & {
|
|
7474
|
+
layerName: z.ZodString;
|
|
7475
|
+
}, "strip", z.ZodTypeAny, {
|
|
7476
|
+
docId: string;
|
|
7477
|
+
layerName: string;
|
|
7478
|
+
}, {
|
|
7479
|
+
docId: string;
|
|
7480
|
+
layerName: string;
|
|
7481
|
+
}>;
|
|
7482
|
+
readonly body: {
|
|
7483
|
+
readonly contentType: "multipart/form-data";
|
|
7484
|
+
};
|
|
7485
|
+
readonly responses: {
|
|
7486
|
+
readonly 200: {
|
|
7487
|
+
readonly contentType: "application/json";
|
|
7488
|
+
readonly schema: z.ZodObject<{
|
|
7489
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7490
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7491
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7492
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7493
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7494
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
7495
|
+
};
|
|
7496
|
+
readonly 400: {
|
|
7497
|
+
readonly contentType: "application/json";
|
|
7498
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
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
|
+
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.";
|
|
7506
|
+
};
|
|
7507
|
+
readonly 'doc.pages.insertBlank': {
|
|
7508
|
+
readonly operationId: "doc.pages.insertBlank";
|
|
7509
|
+
readonly title: "Insert blank pages";
|
|
7510
|
+
readonly summary: "Create blank pages of an explicit size at an index.";
|
|
7511
|
+
readonly method: "POST";
|
|
7512
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/pages/insert-blank";
|
|
7513
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7514
|
+
readonly scope: readonly [];
|
|
7515
|
+
readonly docCapabilities: readonly ["doc.pages.assemble"];
|
|
7516
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7517
|
+
readonly params: z.ZodObject<{
|
|
7518
|
+
docId: z.ZodString;
|
|
7519
|
+
} & {
|
|
7520
|
+
layerName: z.ZodString;
|
|
7521
|
+
}, "strip", z.ZodTypeAny, {
|
|
7522
|
+
docId: string;
|
|
7523
|
+
layerName: string;
|
|
7524
|
+
}, {
|
|
7525
|
+
docId: string;
|
|
7526
|
+
layerName: string;
|
|
7527
|
+
}>;
|
|
7528
|
+
readonly body: {
|
|
7529
|
+
readonly contentType: "application/json";
|
|
7530
|
+
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7531
|
+
};
|
|
7532
|
+
readonly responses: {
|
|
7533
|
+
readonly 200: {
|
|
7534
|
+
readonly contentType: "application/json";
|
|
7535
|
+
readonly schema: z.ZodObject<{
|
|
7536
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7537
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7538
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7539
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7540
|
+
meta: z.ZodType<_embedpdf_engine_core_runtime.MutationMeta, z.ZodTypeDef, _embedpdf_engine_core_runtime.MutationMeta>;
|
|
7541
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
7542
|
+
};
|
|
7543
|
+
readonly 400: {
|
|
7544
|
+
readonly contentType: "application/json";
|
|
7545
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7546
|
+
};
|
|
7547
|
+
readonly 404: {
|
|
7548
|
+
readonly contentType: "application/json";
|
|
7549
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7550
|
+
};
|
|
7551
|
+
};
|
|
7552
|
+
readonly notes: "Body is `{\"size\": {\"width\", \"height\"}, \"count\"?, \"destIndex\"?}` — size in PDF points, count in [1, 100], destIndex omitted → append.";
|
|
7553
|
+
};
|
|
7554
|
+
readonly 'doc.pages.extract': {
|
|
7555
|
+
readonly operationId: "doc.pages.extract";
|
|
7556
|
+
readonly title: "Extract pages";
|
|
7557
|
+
readonly summary: "Export the listed pages, in order, as a standalone PDF.";
|
|
7558
|
+
readonly method: "POST";
|
|
7559
|
+
readonly path: "/v1/docs/:docId/layers/:layerName/pages/extract";
|
|
7560
|
+
readonly credentials: readonly ["api-token", "doc-jwt"];
|
|
7561
|
+
readonly scope: readonly [];
|
|
7562
|
+
readonly docCapabilities: readonly ["doc.download"];
|
|
7563
|
+
readonly requestHeaders: readonly [AdminOperationHeader];
|
|
7564
|
+
readonly params: z.ZodObject<{
|
|
7565
|
+
docId: z.ZodString;
|
|
7566
|
+
} & {
|
|
7567
|
+
layerName: z.ZodString;
|
|
7568
|
+
}, "strip", z.ZodTypeAny, {
|
|
7569
|
+
docId: string;
|
|
7570
|
+
layerName: string;
|
|
7571
|
+
}, {
|
|
7572
|
+
docId: string;
|
|
7573
|
+
layerName: string;
|
|
7574
|
+
}>;
|
|
7575
|
+
readonly body: {
|
|
7576
|
+
readonly contentType: "application/json";
|
|
7577
|
+
readonly schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7578
|
+
};
|
|
7579
|
+
readonly responses: {
|
|
7580
|
+
readonly 200: {
|
|
7581
|
+
readonly contentType: "application/pdf";
|
|
7582
|
+
};
|
|
7583
|
+
readonly 400: {
|
|
7584
|
+
readonly contentType: "application/json";
|
|
7585
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7586
|
+
};
|
|
7587
|
+
readonly 404: {
|
|
7588
|
+
readonly contentType: "application/json";
|
|
7589
|
+
readonly schema: z.ZodType<_embedpdf_engine_core_runtime.SerializedEngineError, z.ZodTypeDef, _embedpdf_engine_core_runtime.SerializedEngineError>;
|
|
7590
|
+
};
|
|
7591
|
+
};
|
|
7592
|
+
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.";
|
|
7593
|
+
};
|
|
7328
7594
|
readonly 'doc.redactions.apply': {
|
|
7329
7595
|
readonly operationId: "doc.redactions.apply";
|
|
7330
7596
|
readonly title: "Apply redactions";
|
package/dist/index.js
CHANGED
|
@@ -1174,6 +1174,65 @@ var docOperations = {
|
|
|
1174
1174
|
404: { contentType: "application/json", schema: EngineErrorPayloadSchema }
|
|
1175
1175
|
}
|
|
1176
1176
|
},
|
|
1177
|
+
"doc.pages.insert": {
|
|
1178
|
+
operationId: "doc.pages.insert",
|
|
1179
|
+
title: "Insert pages from a PDF",
|
|
1180
|
+
summary: "Copy every page of an uploaded PDF into the document at an index.",
|
|
1181
|
+
method: "POST",
|
|
1182
|
+
path: wireTemplates.layerPagesInsert,
|
|
1183
|
+
credentials: docCredentials,
|
|
1184
|
+
scope: [],
|
|
1185
|
+
docCapabilities: ["doc.pages.assemble"],
|
|
1186
|
+
requestHeaders: [documentPasswordHeader],
|
|
1187
|
+
params: DocLayerParamsSchema,
|
|
1188
|
+
body: {
|
|
1189
|
+
contentType: "multipart/form-data"
|
|
1190
|
+
},
|
|
1191
|
+
responses: {
|
|
1192
|
+
200: { contentType: "application/json", schema: MutationResponseSchema },
|
|
1193
|
+
400: { contentType: "application/json", schema: EngineErrorPayloadSchema },
|
|
1194
|
+
404: { contentType: "application/json", schema: EngineErrorPayloadSchema }
|
|
1195
|
+
},
|
|
1196
|
+
notes: 'Multipart mutation envelope: a `body` field holding `{"destIndex"?: number}` (omitted \u2192 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.'
|
|
1197
|
+
},
|
|
1198
|
+
"doc.pages.insertBlank": {
|
|
1199
|
+
operationId: "doc.pages.insertBlank",
|
|
1200
|
+
title: "Insert blank pages",
|
|
1201
|
+
summary: "Create blank pages of an explicit size at an index.",
|
|
1202
|
+
method: "POST",
|
|
1203
|
+
path: wireTemplates.layerPagesInsertBlank,
|
|
1204
|
+
credentials: docCredentials,
|
|
1205
|
+
scope: [],
|
|
1206
|
+
docCapabilities: ["doc.pages.assemble"],
|
|
1207
|
+
requestHeaders: [documentPasswordHeader],
|
|
1208
|
+
params: DocLayerParamsSchema,
|
|
1209
|
+
body: { contentType: "application/json", schema: looseJson },
|
|
1210
|
+
responses: {
|
|
1211
|
+
200: { contentType: "application/json", schema: MutationResponseSchema },
|
|
1212
|
+
400: { contentType: "application/json", schema: EngineErrorPayloadSchema },
|
|
1213
|
+
404: { contentType: "application/json", schema: EngineErrorPayloadSchema }
|
|
1214
|
+
},
|
|
1215
|
+
notes: 'Body is `{"size": {"width", "height"}, "count"?, "destIndex"?}` \u2014 size in PDF points, count in [1, 100], destIndex omitted \u2192 append.'
|
|
1216
|
+
},
|
|
1217
|
+
"doc.pages.extract": {
|
|
1218
|
+
operationId: "doc.pages.extract",
|
|
1219
|
+
title: "Extract pages",
|
|
1220
|
+
summary: "Export the listed pages, in order, as a standalone PDF.",
|
|
1221
|
+
method: "POST",
|
|
1222
|
+
path: wireTemplates.layerPagesExtract,
|
|
1223
|
+
credentials: docCredentials,
|
|
1224
|
+
scope: [],
|
|
1225
|
+
docCapabilities: ["doc.download"],
|
|
1226
|
+
requestHeaders: [documentPasswordHeader],
|
|
1227
|
+
params: DocLayerParamsSchema,
|
|
1228
|
+
body: { contentType: "application/json", schema: looseJson },
|
|
1229
|
+
responses: {
|
|
1230
|
+
200: { contentType: "application/pdf" },
|
|
1231
|
+
400: { contentType: "application/json", schema: EngineErrorPayloadSchema },
|
|
1232
|
+
404: { contentType: "application/json", schema: EngineErrorPayloadSchema }
|
|
1233
|
+
},
|
|
1234
|
+
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.'
|
|
1235
|
+
},
|
|
1177
1236
|
"doc.redactions.apply": {
|
|
1178
1237
|
operationId: "doc.redactions.apply",
|
|
1179
1238
|
title: "Apply redactions",
|