@ironsoftware/ironpdf 2024.4.2 → 2024.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/package.json +2 -2
  2. package/src/index.d.ts +1 -0
  3. package/src/index.d.ts.map +1 -1
  4. package/src/index.js +1 -0
  5. package/src/index.js.map +1 -1
  6. package/src/index.ts +1 -0
  7. package/src/internal/IronPdfEngine.ProtoFiles/basic.proto +12 -0
  8. package/src/internal/IronPdfEngine.ProtoFiles/cleaner.proto +37 -0
  9. package/src/internal/IronPdfEngine.ProtoFiles/iron_pdf_service.proto +10 -0
  10. package/src/internal/IronPdfEngine.ProtoFiles/pdfium_form.proto +1 -0
  11. package/src/internal/IronPdfEngine.ProtoFiles/pdfium_image.proto +2 -0
  12. package/src/internal/IronPdfEngine.ProtoFiles/pdfium_pdf_document.proto +1 -0
  13. package/src/internal/IronPdfEngine.ProtoFiles/pdfium_text.proto +7 -0
  14. package/src/internal/generated_proto/iron_pdf_service.d.ts +8 -0
  15. package/src/internal/generated_proto/iron_pdf_service.d.ts.map +1 -1
  16. package/src/internal/generated_proto/iron_pdf_service.ts +8 -0
  17. package/src/internal/generated_proto/ironpdfengineproto/IronPdfService.d.ts +63 -0
  18. package/src/internal/generated_proto/ironpdfengineproto/IronPdfService.d.ts.map +1 -1
  19. package/src/internal/generated_proto/ironpdfengineproto/IronPdfService.ts +75 -0
  20. package/src/internal/generated_proto/ironpdfengineproto/PdfiumConvertToPdfUARequestP.d.ts +2 -0
  21. package/src/internal/generated_proto/ironpdfengineproto/PdfiumConvertToPdfUARequestP.d.ts.map +1 -1
  22. package/src/internal/generated_proto/ironpdfengineproto/PdfiumConvertToPdfUARequestP.ts +2 -0
  23. package/src/internal/generated_proto/ironpdfengineproto/PdfiumIFormFieldAnnotationP.d.ts +2 -0
  24. package/src/internal/generated_proto/ironpdfengineproto/PdfiumIFormFieldAnnotationP.d.ts.map +1 -1
  25. package/src/internal/generated_proto/ironpdfengineproto/PdfiumIFormFieldAnnotationP.ts +2 -0
  26. package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfToImagesRequestP.d.ts +3 -0
  27. package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfToImagesRequestP.d.ts.map +1 -1
  28. package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfToImagesRequestP.ts +3 -0
  29. package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfToMultiPageTiffImageRequestP.d.ts +3 -0
  30. package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfToMultiPageTiffImageRequestP.d.ts.map +1 -1
  31. package/src/internal/generated_proto/ironpdfengineproto/PdfiumPdfToMultiPageTiffImageRequestP.ts +3 -0
  32. package/src/internal/generated_proto/ironpdfengineproto/PdfiumRedactRegionsRequestP.d.ts +15 -0
  33. package/src/internal/generated_proto/ironpdfengineproto/PdfiumRedactRegionsRequestP.d.ts.map +1 -0
  34. package/src/internal/generated_proto/ironpdfengineproto/PdfiumRedactRegionsRequestP.js +4 -0
  35. package/src/internal/generated_proto/ironpdfengineproto/PdfiumRedactRegionsRequestP.js.map +1 -0
  36. package/src/internal/generated_proto/ironpdfengineproto/PdfiumRedactRegionsRequestP.ts +18 -0
  37. package/src/internal/generated_proto/ironpdfengineproto/Rectangle.d.ts +13 -0
  38. package/src/internal/generated_proto/ironpdfengineproto/Rectangle.d.ts.map +1 -0
  39. package/src/internal/generated_proto/ironpdfengineproto/Rectangle.js +4 -0
  40. package/src/internal/generated_proto/ironpdfengineproto/Rectangle.js.map +1 -0
  41. package/src/internal/generated_proto/ironpdfengineproto/Rectangle.ts +16 -0
  42. package/src/internal/generated_proto/ironpdfengineproto/RisksP.d.ts +7 -0
  43. package/src/internal/generated_proto/ironpdfengineproto/RisksP.d.ts.map +1 -0
  44. package/src/internal/generated_proto/ironpdfengineproto/RisksP.js +4 -0
  45. package/src/internal/generated_proto/ironpdfengineproto/RisksP.js.map +1 -0
  46. package/src/internal/generated_proto/ironpdfengineproto/RisksP.ts +10 -0
  47. package/src/internal/generated_proto/ironpdfengineproto/SanitizeWithSvgRequestP.d.ts +7 -0
  48. package/src/internal/generated_proto/ironpdfengineproto/SanitizeWithSvgRequestP.d.ts.map +1 -0
  49. package/src/internal/generated_proto/ironpdfengineproto/SanitizeWithSvgRequestP.js +4 -0
  50. package/src/internal/generated_proto/ironpdfengineproto/SanitizeWithSvgRequestP.js.map +1 -0
  51. package/src/internal/generated_proto/ironpdfengineproto/SanitizeWithSvgRequestP.ts +10 -0
  52. package/src/internal/generated_proto/ironpdfengineproto/ScanPdfRequestP.d.ts +10 -0
  53. package/src/internal/generated_proto/ironpdfengineproto/ScanPdfRequestP.d.ts.map +1 -0
  54. package/src/internal/generated_proto/ironpdfengineproto/ScanPdfRequestP.js +4 -0
  55. package/src/internal/generated_proto/ironpdfengineproto/ScanPdfRequestP.js.map +1 -0
  56. package/src/internal/generated_proto/ironpdfengineproto/ScanPdfRequestP.ts +13 -0
  57. package/src/internal/generated_proto/ironpdfengineproto/ScanPdfRequestStreamP.d.ts +18 -0
  58. package/src/internal/generated_proto/ironpdfengineproto/ScanPdfRequestStreamP.d.ts.map +1 -0
  59. package/src/internal/generated_proto/ironpdfengineproto/ScanPdfRequestStreamP.js +4 -0
  60. package/src/internal/generated_proto/ironpdfengineproto/ScanPdfRequestStreamP.js.map +1 -0
  61. package/src/internal/generated_proto/ironpdfengineproto/ScanPdfRequestStreamP.ts +23 -0
  62. package/src/internal/generated_proto/ironpdfengineproto/ScanResultP.d.ts +12 -0
  63. package/src/internal/generated_proto/ironpdfengineproto/ScanResultP.d.ts.map +1 -0
  64. package/src/internal/generated_proto/ironpdfengineproto/ScanResultP.js +4 -0
  65. package/src/internal/generated_proto/ironpdfengineproto/ScanResultP.js.map +1 -0
  66. package/src/internal/generated_proto/ironpdfengineproto/ScanResultP.ts +15 -0
  67. package/src/internal/generated_proto/ironpdfengineproto/TextFileChunkWithIndexP.d.ts +9 -0
  68. package/src/internal/generated_proto/ironpdfengineproto/TextFileChunkWithIndexP.d.ts.map +1 -0
  69. package/src/internal/generated_proto/ironpdfengineproto/TextFileChunkWithIndexP.js +4 -0
  70. package/src/internal/generated_proto/ironpdfengineproto/TextFileChunkWithIndexP.js.map +1 -0
  71. package/src/internal/generated_proto/ironpdfengineproto/TextFileChunkWithIndexP.ts +12 -0
  72. package/src/internal/grpc_layer/pdfium/pdfa.d.ts +1 -1
  73. package/src/internal/grpc_layer/pdfium/pdfa.d.ts.map +1 -1
  74. package/src/internal/grpc_layer/pdfium/pdfa.js +2 -1
  75. package/src/internal/grpc_layer/pdfium/pdfa.js.map +1 -1
  76. package/src/internal/grpc_layer/pdfium/pdfa.ts +3 -1
  77. package/src/internal/zod/stampSchema.d.ts +45 -44
  78. package/src/internal/zod/stampSchema.d.ts.map +1 -1
  79. package/src/public/naturalLanguages.d.ts +1042 -0
  80. package/src/public/naturalLanguages.d.ts.map +1 -0
  81. package/src/public/naturalLanguages.js +1114 -0
  82. package/src/public/naturalLanguages.js.map +1 -0
  83. package/src/public/naturalLanguages.ts +1144 -0
  84. package/src/public/pdfDocument.d.ts +2 -1
  85. package/src/public/pdfDocument.d.ts.map +1 -1
  86. package/src/public/pdfDocument.js +4 -4
  87. package/src/public/pdfDocument.js.map +1 -1
  88. package/src/public/pdfDocument.ts +5 -4
  89. package/src/public/types.d.ts +1 -0
  90. package/src/public/types.d.ts.map +1 -1
  91. package/src/public/types.js +1 -0
  92. package/src/public/types.js.map +1 -1
  93. package/src/public/types.ts +2 -0
@@ -0,0 +1,15 @@
1
+ // Original file: src/internal/IronPdfEngine.ProtoFiles/cleaner.proto
2
+
3
+ import type { RisksP as _ironpdfengineproto_RisksP, RisksP__Output as _ironpdfengineproto_RisksP__Output } from '../ironpdfengineproto/RisksP';
4
+ import type { RemoteExceptionP as _ironpdfengineproto_RemoteExceptionP, RemoteExceptionP__Output as _ironpdfengineproto_RemoteExceptionP__Output } from '../ironpdfengineproto/RemoteExceptionP';
5
+
6
+ export interface ScanResultP {
7
+ 'risks'?: (_ironpdfengineproto_RisksP | null);
8
+ 'exception'?: (_ironpdfengineproto_RemoteExceptionP | null);
9
+ 'resultOrException'?: "risks"|"exception";
10
+ }
11
+
12
+ export interface ScanResultP__Output {
13
+ 'risks'?: (_ironpdfengineproto_RisksP__Output);
14
+ 'exception'?: (_ironpdfengineproto_RemoteExceptionP__Output);
15
+ }
@@ -0,0 +1,9 @@
1
+ export interface TextFileChunkWithIndexP {
2
+ 'fileIndex'?: (number);
3
+ 'textChunk'?: (string);
4
+ }
5
+ export interface TextFileChunkWithIndexP__Output {
6
+ 'fileIndex'?: (number);
7
+ 'textChunk'?: (string);
8
+ }
9
+ //# sourceMappingURL=TextFileChunkWithIndexP.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextFileChunkWithIndexP.d.ts","sourceRoot":"","sources":["TextFileChunkWithIndexP.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,uBAAuB;IACtC,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACvB,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;CACxB;AAED,MAAM,WAAW,+BAA+B;IAC9C,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;IACvB,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC;CACxB"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // Original file: src/internal/IronPdfEngine.ProtoFiles/basic.proto
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=TextFileChunkWithIndexP.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextFileChunkWithIndexP.js","sourceRoot":"","sources":["TextFileChunkWithIndexP.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
@@ -0,0 +1,12 @@
1
+ // Original file: src/internal/IronPdfEngine.ProtoFiles/basic.proto
2
+
3
+
4
+ export interface TextFileChunkWithIndexP {
5
+ 'fileIndex'?: (number);
6
+ 'textChunk'?: (string);
7
+ }
8
+
9
+ export interface TextFileChunkWithIndexP__Output {
10
+ 'fileIndex'?: (number);
11
+ 'textChunk'?: (string);
12
+ }
@@ -1,3 +1,3 @@
1
1
  export declare function toPdfA(id: string, customICCFilePath?: string): Promise<void>;
2
- export declare function toPdfUA(id: string): Promise<void>;
2
+ export declare function toPdfUA(id: string, naturalLanguages: number): Promise<void>;
3
3
  //# sourceMappingURL=pdfa.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pdfa.d.ts","sourceRoot":"","sources":["pdfa.ts"],"names":[],"mappings":"AAaA,wBAAsB,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAiClF;AAGD,wBAAsB,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAsBvD"}
1
+ {"version":3,"file":"pdfa.d.ts","sourceRoot":"","sources":["pdfa.ts"],"names":[],"mappings":"AAcA,wBAAsB,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAiClF;AAGD,wBAAsB,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAuBjF"}
@@ -46,12 +46,13 @@ function toPdfA(id, customICCFilePath) {
46
46
  });
47
47
  }
48
48
  exports.toPdfA = toPdfA;
49
- function toPdfUA(id) {
49
+ function toPdfUA(id, naturalLanguages) {
50
50
  return __awaiter(this, void 0, void 0, function* () {
51
51
  const client = yield access_1.Access.ensureConnection();
52
52
  return new Promise((resolve, reject) => {
53
53
  client.Pdfium_ConvertToPdfUA({
54
54
  document: { documentId: id },
55
+ lang: naturalLanguages,
55
56
  }, (err, value) => {
56
57
  if (err) {
57
58
  reject(`${err.name}/n${err.message}`);
@@ -1 +1 @@
1
- {"version":3,"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s";
12
12
  import {PdfDocumentResultP__Output} from "../../generated_proto/ironpdfengineproto/PdfDocumentResultP";
13
+ import { NaturalLanguages } from "../../../public/naturalLanguages";
13
14
 
14
15
  export async function toPdfA(id: string, customICCFilePath?: string): Promise<void> {
15
16
  const client: IronPdfServiceClient = await Access.ensureConnection();
@@ -47,13 +48,14 @@ export async function toPdfA(id: string, customICCFilePath?: string): Promise<vo
47
48
  }
48
49
 
49
50
 
50
- export async function toPdfUA(id: string): Promise<void> {
51
+ export async function toPdfUA(id: string, naturalLanguages: number): Promise<void> {
51
52
  const client: IronPdfServiceClient = await Access.ensureConnection();
52
53
  return new Promise(
53
54
  (resolve: () => void, reject: (errorMsg: string) => void) => {
54
55
  client.Pdfium_ConvertToPdfUA(
55
56
  {
56
57
  document: { documentId: id },
58
+ lang: naturalLanguages,
57
59
  },
58
60
  (
59
61
  err: ServiceError | null,
@@ -19,59 +19,61 @@ export declare const baseStampOptionsSchema: z.ZodObject<{
19
19
  }, "strip", z.ZodTypeAny, {
20
20
  horizontalAlignment: import("../..").HorizontalAlignment;
21
21
  verticalAlignment: import("../..").VerticalAlignment;
22
- horizontalOffset?: import("../..").Length | undefined;
23
- verticalOffset?: import("../..").Length | undefined;
22
+ maxHeight?: import("../..").Length | undefined;
23
+ renderDelay?: number | undefined;
24
+ timeout?: number | undefined;
24
25
  opacity?: number | undefined;
25
26
  rotation?: number | undefined;
26
- hyperlink?: string | undefined;
27
- scale?: number | undefined;
28
- behindExistingContent?: boolean | undefined;
29
- timeout?: number | undefined;
30
- renderDelay?: number | undefined;
27
+ horizontalOffset?: import("../..").Length | undefined;
28
+ verticalOffset?: import("../..").Length | undefined;
31
29
  maxWidth?: import("../..").Length | undefined;
32
- maxHeight?: import("../..").Length | undefined;
33
30
  minWidth?: import("../..").Length | undefined;
34
31
  minHeight?: import("../..").Length | undefined;
32
+ hyperlink?: string | undefined;
33
+ scale?: number | undefined;
34
+ behindExistingContent?: boolean | undefined;
35
35
  }, {
36
36
  horizontalAlignment: import("../..").HorizontalAlignment;
37
37
  verticalAlignment: import("../..").VerticalAlignment;
38
- horizontalOffset?: import("../..").Length | undefined;
39
- verticalOffset?: import("../..").Length | undefined;
38
+ maxHeight?: import("../..").Length | undefined;
39
+ renderDelay?: number | undefined;
40
+ timeout?: number | undefined;
40
41
  opacity?: number | undefined;
41
42
  rotation?: number | undefined;
42
- hyperlink?: string | undefined;
43
- scale?: number | undefined;
44
- behindExistingContent?: boolean | undefined;
45
- timeout?: number | undefined;
46
- renderDelay?: number | undefined;
43
+ horizontalOffset?: import("../..").Length | undefined;
44
+ verticalOffset?: import("../..").Length | undefined;
47
45
  maxWidth?: import("../..").Length | undefined;
48
- maxHeight?: import("../..").Length | undefined;
49
46
  minWidth?: import("../..").Length | undefined;
50
47
  minHeight?: import("../..").Length | undefined;
48
+ hyperlink?: string | undefined;
49
+ scale?: number | undefined;
50
+ behindExistingContent?: boolean | undefined;
51
51
  }>;
52
- export declare const htmlStampOptionsSchema: z.ZodObject<{
53
- maxHeight: z.ZodOptional<z.ZodType<import("../..").Length, z.ZodTypeDef, import("../..").Length>>;
54
- renderDelay: z.ZodOptional<z.ZodNumber>;
55
- timeout: z.ZodOptional<z.ZodNumber>;
56
- opacity: z.ZodOptional<z.ZodNumber>;
57
- rotation: z.ZodOptional<z.ZodNumber>;
52
+ export declare const htmlStampOptionsSchema: z.ZodObject<z.objectUtil.extendShape<{
58
53
  horizontalAlignment: z.ZodType<import("../..").HorizontalAlignment, z.ZodTypeDef, import("../..").HorizontalAlignment>;
59
54
  verticalAlignment: z.ZodType<import("../..").VerticalAlignment, z.ZodTypeDef, import("../..").VerticalAlignment>;
60
55
  horizontalOffset: z.ZodOptional<z.ZodType<import("../..").Length, z.ZodTypeDef, import("../..").Length>>;
61
56
  verticalOffset: z.ZodOptional<z.ZodType<import("../..").Length, z.ZodTypeDef, import("../..").Length>>;
62
- maxWidth: z.ZodOptional<z.ZodType<import("../..").Length, z.ZodTypeDef, import("../..").Length>>;
63
- minWidth: z.ZodOptional<z.ZodType<import("../..").Length, z.ZodTypeDef, import("../..").Length>>;
64
- minHeight: z.ZodOptional<z.ZodType<import("../..").Length, z.ZodTypeDef, import("../..").Length>>;
57
+ opacity: z.ZodOptional<z.ZodNumber>;
58
+ rotation: z.ZodOptional<z.ZodNumber>;
65
59
  hyperlink: z.ZodOptional<z.ZodString>;
66
60
  scale: z.ZodOptional<z.ZodNumber>;
67
61
  behindExistingContent: z.ZodOptional<z.ZodBoolean>;
62
+ timeout: z.ZodOptional<z.ZodNumber>;
63
+ renderDelay: z.ZodOptional<z.ZodNumber>;
64
+ maxWidth: z.ZodOptional<z.ZodType<import("../..").Length, z.ZodTypeDef, import("../..").Length>>;
65
+ maxHeight: z.ZodOptional<z.ZodType<import("../..").Length, z.ZodTypeDef, import("../..").Length>>;
66
+ minWidth: z.ZodOptional<z.ZodType<import("../..").Length, z.ZodTypeDef, import("../..").Length>>;
67
+ minHeight: z.ZodOptional<z.ZodType<import("../..").Length, z.ZodTypeDef, import("../..").Length>>;
68
+ }, {
68
69
  cssMediaType: z.ZodOptional<z.ZodType<import("../..").CssMediaType, z.ZodTypeDef, import("../..").CssMediaType>>;
69
- }, "strip", z.ZodTypeAny, {
70
+ }>, "strip", z.ZodTypeAny, {
70
71
  horizontalAlignment: import("../..").HorizontalAlignment;
71
72
  verticalAlignment: import("../..").VerticalAlignment;
72
73
  maxHeight?: import("../..").Length | undefined;
73
74
  renderDelay?: number | undefined;
74
75
  timeout?: number | undefined;
76
+ cssMediaType?: import("../..").CssMediaType | undefined;
75
77
  opacity?: number | undefined;
76
78
  rotation?: number | undefined;
77
79
  horizontalOffset?: import("../..").Length | undefined;
@@ -82,13 +84,13 @@ export declare const htmlStampOptionsSchema: z.ZodObject<{
82
84
  hyperlink?: string | undefined;
83
85
  scale?: number | undefined;
84
86
  behindExistingContent?: boolean | undefined;
85
- cssMediaType?: import("../..").CssMediaType | undefined;
86
87
  }, {
87
88
  horizontalAlignment: import("../..").HorizontalAlignment;
88
89
  verticalAlignment: import("../..").VerticalAlignment;
89
90
  maxHeight?: import("../..").Length | undefined;
90
91
  renderDelay?: number | undefined;
91
92
  timeout?: number | undefined;
93
+ cssMediaType?: import("../..").CssMediaType | undefined;
92
94
  opacity?: number | undefined;
93
95
  rotation?: number | undefined;
94
96
  horizontalOffset?: import("../..").Length | undefined;
@@ -99,7 +101,6 @@ export declare const htmlStampOptionsSchema: z.ZodObject<{
99
101
  hyperlink?: string | undefined;
100
102
  scale?: number | undefined;
101
103
  behindExistingContent?: boolean | undefined;
102
- cssMediaType?: import("../..").CssMediaType | undefined;
103
104
  }>;
104
105
  export declare const imageStampOptionsSchema: z.ZodObject<{
105
106
  horizontalAlignment: z.ZodType<import("../..").HorizontalAlignment, z.ZodTypeDef, import("../..").HorizontalAlignment>;
@@ -120,35 +121,35 @@ export declare const imageStampOptionsSchema: z.ZodObject<{
120
121
  }, "strip", z.ZodTypeAny, {
121
122
  horizontalAlignment: import("../..").HorizontalAlignment;
122
123
  verticalAlignment: import("../..").VerticalAlignment;
123
- horizontalOffset?: import("../..").Length | undefined;
124
- verticalOffset?: import("../..").Length | undefined;
124
+ maxHeight?: import("../..").Length | undefined;
125
+ renderDelay?: number | undefined;
126
+ timeout?: number | undefined;
125
127
  opacity?: number | undefined;
126
128
  rotation?: number | undefined;
127
- hyperlink?: string | undefined;
128
- scale?: number | undefined;
129
- behindExistingContent?: boolean | undefined;
130
- timeout?: number | undefined;
131
- renderDelay?: number | undefined;
129
+ horizontalOffset?: import("../..").Length | undefined;
130
+ verticalOffset?: import("../..").Length | undefined;
132
131
  maxWidth?: import("../..").Length | undefined;
133
- maxHeight?: import("../..").Length | undefined;
134
132
  minWidth?: import("../..").Length | undefined;
135
133
  minHeight?: import("../..").Length | undefined;
134
+ hyperlink?: string | undefined;
135
+ scale?: number | undefined;
136
+ behindExistingContent?: boolean | undefined;
136
137
  }, {
137
138
  horizontalAlignment: import("../..").HorizontalAlignment;
138
139
  verticalAlignment: import("../..").VerticalAlignment;
139
- horizontalOffset?: import("../..").Length | undefined;
140
- verticalOffset?: import("../..").Length | undefined;
140
+ maxHeight?: import("../..").Length | undefined;
141
+ renderDelay?: number | undefined;
142
+ timeout?: number | undefined;
141
143
  opacity?: number | undefined;
142
144
  rotation?: number | undefined;
143
- hyperlink?: string | undefined;
144
- scale?: number | undefined;
145
- behindExistingContent?: boolean | undefined;
146
- timeout?: number | undefined;
147
- renderDelay?: number | undefined;
145
+ horizontalOffset?: import("../..").Length | undefined;
146
+ verticalOffset?: import("../..").Length | undefined;
148
147
  maxWidth?: import("../..").Length | undefined;
149
- maxHeight?: import("../..").Length | undefined;
150
148
  minWidth?: import("../..").Length | undefined;
151
149
  minHeight?: import("../..").Length | undefined;
150
+ hyperlink?: string | undefined;
151
+ scale?: number | undefined;
152
+ behindExistingContent?: boolean | undefined;
152
153
  }>;
153
154
  export declare const barcodeStampOptionsSchema: z.ZodType<BarcodeStampOptions>;
154
155
  export declare const textStampOptionsSchema: z.ZodType<TextStampOptions>;
@@ -1 +1 @@
1
- {"version":3,"file":"stampSchema.d.ts","sourceRoot":"","sources":["stampSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAQvB,OAAO,EAAC,mBAAmB,EAAE,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAEzE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BjC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEjC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAyB,CAAA;AAE7D,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAQnE,CAAA;AAEF,eAAO,MAAM,sBA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