@cosmicdrift/kumiko-bundled-features 0.418.0 → 0.420.0

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 (129) hide show
  1. package/dist/shared/index.d.ts +1 -0
  2. package/dist/shared/index.js +1 -0
  3. package/dist/shared/tenant-scoped-subject.d.ts +11 -0
  4. package/dist/shared/tenant-scoped-subject.js +18 -0
  5. package/dist/signature/feature.js +1 -1
  6. package/dist/signature/grant.d.ts +1 -1
  7. package/dist/signature/grant.js +7 -12
  8. package/dist/signature/png.js +35 -10
  9. package/dist/template-resolver/api.d.ts +2 -0
  10. package/dist/template-resolver/api.js +11 -7
  11. package/dist/template-resolver/compile-document-body.js +9 -11
  12. package/dist/template-resolver/compile-document-styles.d.ts +3 -0
  13. package/dist/template-resolver/compile-document-styles.js +122 -0
  14. package/dist/template-resolver/document-frames.d.ts +4 -0
  15. package/dist/template-resolver/document-frames.js +56 -0
  16. package/dist/template-resolver/document-op-blocks.d.ts +729 -0
  17. package/dist/template-resolver/document-op-blocks.js +521 -0
  18. package/dist/template-resolver/document-ops.d.ts +2743 -37
  19. package/dist/template-resolver/document-ops.js +128 -106
  20. package/dist/template-resolver/document-print-only.d.ts +11 -0
  21. package/dist/template-resolver/document-print-only.js +47 -0
  22. package/dist/template-resolver/document-sanitizer.d.ts +1 -1
  23. package/dist/template-resolver/document-sanitizer.js +29 -13
  24. package/dist/template-resolver/feature.d.ts +3 -0
  25. package/dist/template-resolver/feature.js +14 -1
  26. package/dist/template-resolver/handlers/apply-layout.write.d.ts +29 -0
  27. package/dist/template-resolver/handlers/apply-layout.write.js +118 -0
  28. package/dist/template-resolver/handlers/create-layout.write.d.ts +15 -0
  29. package/dist/template-resolver/handlers/create-layout.write.js +78 -0
  30. package/dist/template-resolver/handlers/document-base.d.ts +2 -2
  31. package/dist/template-resolver/handlers/document-blocks.query.d.ts +10 -3
  32. package/dist/template-resolver/handlers/document-blocks.query.js +13 -8
  33. package/dist/template-resolver/handlers/document-region.d.ts +19 -0
  34. package/dist/template-resolver/handlers/document-region.js +27 -0
  35. package/dist/template-resolver/handlers/failure-reason.d.ts +2 -0
  36. package/dist/template-resolver/handlers/failure-reason.js +12 -0
  37. package/dist/template-resolver/handlers/import-bundle-system.write.js +4 -0
  38. package/dist/template-resolver/handlers/layout-source.query.d.ts +3 -3
  39. package/dist/template-resolver/handlers/layout-source.query.js +6 -2
  40. package/dist/template-resolver/handlers/overview.query.d.ts +8 -0
  41. package/dist/template-resolver/handlers/overview.query.js +12 -6
  42. package/dist/template-resolver/handlers/patch-draft.write.d.ts +1369 -4
  43. package/dist/template-resolver/handlers/patch-draft.write.js +11 -6
  44. package/dist/template-resolver/handlers/publish-templates.write.d.ts +40 -0
  45. package/dist/template-resolver/handlers/publish-templates.write.js +61 -0
  46. package/dist/template-resolver/handlers/set.write.js +4 -1
  47. package/dist/template-resolver/handlers/template-write.js +7 -2
  48. package/dist/template-resolver/handlers/tenant-settings.d.ts +23 -0
  49. package/dist/template-resolver/handlers/tenant-settings.js +101 -0
  50. package/dist/template-resolver/handlers/toggle-status.write.d.ts +14 -9
  51. package/dist/template-resolver/handlers/toggle-status.write.js +11 -7
  52. package/dist/template-resolver/handlers/upsert-system.write.js +15 -9
  53. package/dist/template-resolver/handlers/usage.query.d.ts +14 -0
  54. package/dist/template-resolver/handlers/usage.query.js +80 -12
  55. package/dist/template-resolver/handlers/validate.query.d.ts +2 -0
  56. package/dist/template-resolver/handlers/validate.query.js +10 -0
  57. package/dist/template-resolver/i18n.js +3 -0
  58. package/dist/template-resolver/index.d.ts +7 -2
  59. package/dist/template-resolver/index.js +6 -2
  60. package/dist/template-resolver/layout-regions.d.ts +4 -5
  61. package/dist/template-resolver/layout-regions.js +38 -11
  62. package/dist/template-resolver/print-document.js +3 -1
  63. package/dist/template-resolver/seeding.js +4 -0
  64. package/dist/template-resolver/template-delivery-policy.d.ts +1 -0
  65. package/dist/template-resolver/template-delivery-policy.js +9 -1
  66. package/dist/template-resolver/template-edit-policy.d.ts +5 -1
  67. package/dist/template-resolver/template-edit-policy.js +29 -1
  68. package/dist/template-resolver/template-meta.d.ts +37 -2
  69. package/dist/template-resolver/template-meta.js +27 -5
  70. package/dist/template-resolver/template-preview.js +22 -10
  71. package/dist/template-resolver/template-validation.js +10 -3
  72. package/dist/template-resolver/web/constants.d.ts +7 -1
  73. package/dist/template-resolver/web/constants.js +21 -1
  74. package/dist/template-resolver/web/document-blocks.d.ts +1 -0
  75. package/dist/template-resolver/web/document-blocks.js +2 -0
  76. package/dist/template-resolver/web/document-editor-extensions.d.ts +9 -1
  77. package/dist/template-resolver/web/document-editor-extensions.js +69 -19
  78. package/dist/template-resolver/web/document-editor-fonts.d.ts +10 -0
  79. package/dist/template-resolver/web/document-editor-fonts.js +13 -0
  80. package/dist/template-resolver/web/document-editor.js +3 -1
  81. package/dist/template-resolver/web/document-fonts.d.ts +4 -0
  82. package/dist/template-resolver/web/document-fonts.js +18 -0
  83. package/dist/template-resolver/web/document-frame-control.d.ts +61 -0
  84. package/dist/template-resolver/web/document-frame-control.js +329 -0
  85. package/dist/template-resolver/web/document-frame-node-view.d.ts +4 -0
  86. package/dist/template-resolver/web/document-frame-node-view.js +173 -0
  87. package/dist/template-resolver/web/document-print-decorations.d.ts +12 -0
  88. package/dist/template-resolver/web/document-print-decorations.js +194 -0
  89. package/dist/template-resolver/web/document-print-defaults.d.ts +14 -0
  90. package/dist/template-resolver/web/document-print-defaults.js +25 -0
  91. package/dist/template-resolver/web/document-print-style.d.ts +150 -0
  92. package/dist/template-resolver/web/document-print-style.js +311 -0
  93. package/dist/template-resolver/web/document-repeat-strip.d.ts +8 -0
  94. package/dist/template-resolver/web/document-repeat-strip.js +54 -0
  95. package/dist/template-resolver/web/document-schema.d.ts +5 -0
  96. package/dist/template-resolver/web/document-schema.js +70 -19
  97. package/dist/template-resolver/web/document-style-css.d.ts +62 -0
  98. package/dist/template-resolver/web/document-style-css.js +140 -0
  99. package/dist/template-resolver/web/document-tiptap-bubble.js +83 -10
  100. package/dist/template-resolver/web/document-tiptap-content.d.ts +2 -1
  101. package/dist/template-resolver/web/document-tiptap-content.js +39 -4
  102. package/dist/template-resolver/web/document-tiptap-context.d.ts +6 -2
  103. package/dist/template-resolver/web/document-tiptap-context.js +2 -1
  104. package/dist/template-resolver/web/document-tiptap-editor.d.ts +1 -1
  105. package/dist/template-resolver/web/document-tiptap-editor.js +13 -5
  106. package/dist/template-resolver/web/document-tiptap-helpers.d.ts +62 -3
  107. package/dist/template-resolver/web/document-tiptap-helpers.js +199 -23
  108. package/dist/template-resolver/web/document-tiptap-toolbar-groups.d.ts +16 -0
  109. package/dist/template-resolver/web/document-tiptap-toolbar-groups.js +127 -6
  110. package/dist/template-resolver/web/document-tiptap-toolbar.js +57 -15
  111. package/dist/template-resolver/web/document-toolbar-blocks.d.ts +17 -0
  112. package/dist/template-resolver/web/i18n.js +21 -0
  113. package/dist/template-resolver/web/index.d.ts +8 -2
  114. package/dist/template-resolver/web/index.js +6 -1
  115. package/dist/template-resolver/web/pdf-constants.d.ts +8 -0
  116. package/dist/template-resolver/web/pdf-constants.js +9 -0
  117. package/dist/template-resolver/web/placeholder-text.d.ts +2 -1
  118. package/dist/template-resolver/web/placeholder-text.js +5 -2
  119. package/dist/template-resolver/web/qualified-names.d.ts +7 -0
  120. package/dist/template-resolver/web/qualified-names.js +6 -0
  121. package/dist/template-resolver/web/use-document-tiptap-model.d.ts +6 -2
  122. package/dist/template-resolver/web/use-document-tiptap-model.js +38 -3
  123. package/dist/tenant/company-config.d.ts +6 -0
  124. package/dist/tenant/company-config.js +41 -0
  125. package/dist/tenant/feature.js +11 -0
  126. package/dist/tenant/i18n.js +14 -0
  127. package/package.json +24 -11
  128. package/src/signature/changes.json +6 -0
  129. package/src/template-resolver/changes.json +62 -0
@@ -1,9 +1,11 @@
1
1
  import type { FieldIssue } from "@cosmicdrift/kumiko-framework/errors";
2
2
  import { type JSONContent } from "@tiptap/core";
3
3
  import * as z from "zod";
4
- import type { DocumentHtmlKind } from "./web/constants.ts";
4
+ import { type BlockInput } from "./document-op-blocks.ts";
5
+ import type { LayoutRegionName } from "./layout-regions.ts";
6
+ import type { DocumentOpsKind } from "./web/constants.ts";
5
7
  export declare const MAX_DOCUMENT_OPS = 50;
6
- export type DocumentBlockType = "paragraph" | "heading" | "list" | "table" | "repeat" | "image" | "button" | "divider" | "pageBreak" | "steps";
8
+ export type DocumentBlockType = "paragraph" | "heading" | "list" | "table" | "repeat" | "frame" | "image" | "button" | "divider" | "pageBreak" | "steps";
7
9
  export type DocumentBlock = {
8
10
  readonly id: string;
9
11
  readonly type: DocumentBlockType;
@@ -14,64 +16,703 @@ export type DocumentBlock = {
14
16
  readonly showIf?: string;
15
17
  readonly resource?: string;
16
18
  readonly alt?: string;
19
+ readonly widthMm?: number;
20
+ readonly bleed?: boolean;
21
+ readonly color?: string;
22
+ readonly weightPt?: number;
17
23
  readonly href?: string;
18
24
  readonly each?: string;
25
+ readonly frame?: FrameBox;
26
+ };
27
+ export type FrameBox = {
28
+ readonly xMm: number;
29
+ readonly yMm: number;
30
+ readonly widthMm: number;
31
+ readonly heightMm: number;
32
+ readonly preset?: string;
19
33
  };
20
34
  export declare function documentBlockId(index: number): string;
21
35
  export declare function documentBlocksOf(doc: JSONContent): DocumentBlock[];
22
- declare const blockInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
23
- type: z.ZodLiteral<"paragraph">;
24
- text: z.ZodString;
25
- align: z.ZodOptional<z.ZodEnum<{
26
- center: "center";
27
- justify: "justify";
28
- left: "left";
29
- right: "right";
30
- }>>;
31
- }, z.core.$strip>, z.ZodObject<{
32
- type: z.ZodLiteral<"heading">;
33
- level: z.ZodNumber;
34
- text: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- type: z.ZodLiteral<"image">;
37
- resource: z.ZodString;
38
- alt: z.ZodOptional<z.ZodString>;
39
- }, z.core.$strip>, z.ZodObject<{
40
- type: z.ZodLiteral<"button">;
41
- text: z.ZodString;
42
- href: z.ZodString;
43
- }, z.core.$strip>, z.ZodObject<{
44
- type: z.ZodLiteral<"divider">;
45
- }, z.core.$strip>, z.ZodObject<{
46
- type: z.ZodLiteral<"pageBreak">;
47
- }, z.core.$strip>], "type">;
48
- export type BlockInput = z.infer<typeof blockInputSchema>;
36
+ export type { BlockInput };
49
37
  export declare const documentOpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
50
38
  op: z.ZodLiteral<"insertBlock">;
51
39
  after: z.ZodNullable<z.ZodString>;
52
40
  block: z.ZodDiscriminatedUnion<[z.ZodObject<{
53
- type: z.ZodLiteral<"paragraph">;
54
- text: z.ZodString;
55
41
  align: z.ZodOptional<z.ZodEnum<{
56
42
  center: "center";
57
43
  justify: "justify";
58
44
  left: "left";
59
45
  right: "right";
60
46
  }>>;
47
+ style: z.ZodOptional<z.ZodObject<{
48
+ lineHeight: z.ZodOptional<z.ZodNumber>;
49
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
50
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
51
+ }, z.core.$strip>>;
52
+ textStyle: z.ZodOptional<z.ZodObject<{
53
+ font: z.ZodOptional<z.ZodEnum<{
54
+ arial: "arial";
55
+ calibri: "calibri";
56
+ cambria: "cambria";
57
+ courier: "courier";
58
+ times: "times";
59
+ }>>;
60
+ sizePt: z.ZodOptional<z.ZodNumber>;
61
+ color: z.ZodOptional<z.ZodString>;
62
+ }, z.core.$strip>>;
63
+ text: z.ZodOptional<z.ZodString>;
64
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
65
+ font: z.ZodOptional<z.ZodEnum<{
66
+ arial: "arial";
67
+ calibri: "calibri";
68
+ cambria: "cambria";
69
+ courier: "courier";
70
+ times: "times";
71
+ }>>;
72
+ sizePt: z.ZodOptional<z.ZodNumber>;
73
+ color: z.ZodOptional<z.ZodString>;
74
+ text: z.ZodString;
75
+ bold: z.ZodOptional<z.ZodBoolean>;
76
+ italic: z.ZodOptional<z.ZodBoolean>;
77
+ underline: z.ZodOptional<z.ZodBoolean>;
78
+ dateStyle: z.ZodOptional<z.ZodEnum<{
79
+ long: "long";
80
+ short: "short";
81
+ }>>;
82
+ }, z.core.$strip>, z.ZodObject<{
83
+ hardBreak: z.ZodLiteral<true>;
84
+ }, z.core.$strip>]>>>;
85
+ type: z.ZodLiteral<"paragraph">;
61
86
  }, z.core.$strip>, z.ZodObject<{
87
+ align: z.ZodOptional<z.ZodEnum<{
88
+ center: "center";
89
+ justify: "justify";
90
+ left: "left";
91
+ right: "right";
92
+ }>>;
93
+ style: z.ZodOptional<z.ZodObject<{
94
+ lineHeight: z.ZodOptional<z.ZodNumber>;
95
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
96
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
97
+ }, z.core.$strip>>;
98
+ textStyle: z.ZodOptional<z.ZodObject<{
99
+ font: z.ZodOptional<z.ZodEnum<{
100
+ arial: "arial";
101
+ calibri: "calibri";
102
+ cambria: "cambria";
103
+ courier: "courier";
104
+ times: "times";
105
+ }>>;
106
+ sizePt: z.ZodOptional<z.ZodNumber>;
107
+ color: z.ZodOptional<z.ZodString>;
108
+ }, z.core.$strip>>;
109
+ text: z.ZodOptional<z.ZodString>;
110
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
111
+ font: z.ZodOptional<z.ZodEnum<{
112
+ arial: "arial";
113
+ calibri: "calibri";
114
+ cambria: "cambria";
115
+ courier: "courier";
116
+ times: "times";
117
+ }>>;
118
+ sizePt: z.ZodOptional<z.ZodNumber>;
119
+ color: z.ZodOptional<z.ZodString>;
120
+ text: z.ZodString;
121
+ bold: z.ZodOptional<z.ZodBoolean>;
122
+ italic: z.ZodOptional<z.ZodBoolean>;
123
+ underline: z.ZodOptional<z.ZodBoolean>;
124
+ dateStyle: z.ZodOptional<z.ZodEnum<{
125
+ long: "long";
126
+ short: "short";
127
+ }>>;
128
+ }, z.core.$strip>, z.ZodObject<{
129
+ hardBreak: z.ZodLiteral<true>;
130
+ }, z.core.$strip>]>>>;
62
131
  type: z.ZodLiteral<"heading">;
63
132
  level: z.ZodNumber;
64
- text: z.ZodString;
133
+ }, z.core.$strip>, z.ZodObject<{
134
+ align: z.ZodOptional<z.ZodEnum<{
135
+ center: "center";
136
+ justify: "justify";
137
+ left: "left";
138
+ right: "right";
139
+ }>>;
140
+ style: z.ZodOptional<z.ZodObject<{
141
+ lineHeight: z.ZodOptional<z.ZodNumber>;
142
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
143
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
144
+ }, z.core.$strip>>;
145
+ textStyle: z.ZodOptional<z.ZodObject<{
146
+ font: z.ZodOptional<z.ZodEnum<{
147
+ arial: "arial";
148
+ calibri: "calibri";
149
+ cambria: "cambria";
150
+ courier: "courier";
151
+ times: "times";
152
+ }>>;
153
+ sizePt: z.ZodOptional<z.ZodNumber>;
154
+ color: z.ZodOptional<z.ZodString>;
155
+ }, z.core.$strip>>;
156
+ type: z.ZodLiteral<"list">;
157
+ ordered: z.ZodBoolean;
158
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
159
+ font: z.ZodOptional<z.ZodEnum<{
160
+ arial: "arial";
161
+ calibri: "calibri";
162
+ cambria: "cambria";
163
+ courier: "courier";
164
+ times: "times";
165
+ }>>;
166
+ sizePt: z.ZodOptional<z.ZodNumber>;
167
+ color: z.ZodOptional<z.ZodString>;
168
+ text: z.ZodString;
169
+ bold: z.ZodOptional<z.ZodBoolean>;
170
+ italic: z.ZodOptional<z.ZodBoolean>;
171
+ underline: z.ZodOptional<z.ZodBoolean>;
172
+ dateStyle: z.ZodOptional<z.ZodEnum<{
173
+ long: "long";
174
+ short: "short";
175
+ }>>;
176
+ }, z.core.$strip>, z.ZodObject<{
177
+ hardBreak: z.ZodLiteral<true>;
178
+ }, z.core.$strip>]>>]>>;
179
+ }, z.core.$strip>, z.ZodObject<{
180
+ type: z.ZodLiteral<"table">;
181
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
182
+ cellPaddingMm: z.ZodOptional<z.ZodNumber>;
183
+ widthMm: z.ZodOptional<z.ZodNumber>;
184
+ align: z.ZodOptional<z.ZodEnum<{
185
+ center: "center";
186
+ left: "left";
187
+ right: "right";
188
+ }>>;
189
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
190
+ header: z.ZodOptional<z.ZodObject<{
191
+ cells: z.ZodArray<z.ZodObject<{
192
+ text: z.ZodOptional<z.ZodString>;
193
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
194
+ font: z.ZodOptional<z.ZodEnum<{
195
+ arial: "arial";
196
+ calibri: "calibri";
197
+ cambria: "cambria";
198
+ courier: "courier";
199
+ times: "times";
200
+ }>>;
201
+ sizePt: z.ZodOptional<z.ZodNumber>;
202
+ color: z.ZodOptional<z.ZodString>;
203
+ text: z.ZodString;
204
+ bold: z.ZodOptional<z.ZodBoolean>;
205
+ italic: z.ZodOptional<z.ZodBoolean>;
206
+ underline: z.ZodOptional<z.ZodBoolean>;
207
+ dateStyle: z.ZodOptional<z.ZodEnum<{
208
+ long: "long";
209
+ short: "short";
210
+ }>>;
211
+ }, z.core.$strip>, z.ZodObject<{
212
+ hardBreak: z.ZodLiteral<true>;
213
+ }, z.core.$strip>]>>>;
214
+ background: z.ZodOptional<z.ZodString>;
215
+ align: z.ZodOptional<z.ZodEnum<{
216
+ center: "center";
217
+ justify: "justify";
218
+ left: "left";
219
+ right: "right";
220
+ }>>;
221
+ }, z.core.$strip>>;
222
+ lineAbove: z.ZodOptional<z.ZodObject<{
223
+ color: z.ZodString;
224
+ weightPt: z.ZodNumber;
225
+ }, z.core.$strip>>;
226
+ lineBelow: z.ZodOptional<z.ZodObject<{
227
+ color: z.ZodString;
228
+ weightPt: z.ZodNumber;
229
+ }, z.core.$strip>>;
230
+ }, z.core.$strip>>;
231
+ rows: z.ZodArray<z.ZodObject<{
232
+ cells: z.ZodArray<z.ZodObject<{
233
+ text: z.ZodOptional<z.ZodString>;
234
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
235
+ font: z.ZodOptional<z.ZodEnum<{
236
+ arial: "arial";
237
+ calibri: "calibri";
238
+ cambria: "cambria";
239
+ courier: "courier";
240
+ times: "times";
241
+ }>>;
242
+ sizePt: z.ZodOptional<z.ZodNumber>;
243
+ color: z.ZodOptional<z.ZodString>;
244
+ text: z.ZodString;
245
+ bold: z.ZodOptional<z.ZodBoolean>;
246
+ italic: z.ZodOptional<z.ZodBoolean>;
247
+ underline: z.ZodOptional<z.ZodBoolean>;
248
+ dateStyle: z.ZodOptional<z.ZodEnum<{
249
+ long: "long";
250
+ short: "short";
251
+ }>>;
252
+ }, z.core.$strip>, z.ZodObject<{
253
+ hardBreak: z.ZodLiteral<true>;
254
+ }, z.core.$strip>]>>>;
255
+ background: z.ZodOptional<z.ZodString>;
256
+ align: z.ZodOptional<z.ZodEnum<{
257
+ center: "center";
258
+ justify: "justify";
259
+ left: "left";
260
+ right: "right";
261
+ }>>;
262
+ }, z.core.$strip>>;
263
+ lineAbove: z.ZodOptional<z.ZodObject<{
264
+ color: z.ZodString;
265
+ weightPt: z.ZodNumber;
266
+ }, z.core.$strip>>;
267
+ lineBelow: z.ZodOptional<z.ZodObject<{
268
+ color: z.ZodString;
269
+ weightPt: z.ZodNumber;
270
+ }, z.core.$strip>>;
271
+ }, z.core.$strip>>;
272
+ repeat: z.ZodOptional<z.ZodObject<{
273
+ each: z.ZodString;
274
+ row: z.ZodObject<{
275
+ cells: z.ZodArray<z.ZodObject<{
276
+ text: z.ZodOptional<z.ZodString>;
277
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
278
+ font: z.ZodOptional<z.ZodEnum<{
279
+ arial: "arial";
280
+ calibri: "calibri";
281
+ cambria: "cambria";
282
+ courier: "courier";
283
+ times: "times";
284
+ }>>;
285
+ sizePt: z.ZodOptional<z.ZodNumber>;
286
+ color: z.ZodOptional<z.ZodString>;
287
+ text: z.ZodString;
288
+ bold: z.ZodOptional<z.ZodBoolean>;
289
+ italic: z.ZodOptional<z.ZodBoolean>;
290
+ underline: z.ZodOptional<z.ZodBoolean>;
291
+ dateStyle: z.ZodOptional<z.ZodEnum<{
292
+ long: "long";
293
+ short: "short";
294
+ }>>;
295
+ }, z.core.$strip>, z.ZodObject<{
296
+ hardBreak: z.ZodLiteral<true>;
297
+ }, z.core.$strip>]>>>;
298
+ background: z.ZodOptional<z.ZodString>;
299
+ align: z.ZodOptional<z.ZodEnum<{
300
+ center: "center";
301
+ justify: "justify";
302
+ left: "left";
303
+ right: "right";
304
+ }>>;
305
+ }, z.core.$strip>>;
306
+ lineAbove: z.ZodOptional<z.ZodObject<{
307
+ color: z.ZodString;
308
+ weightPt: z.ZodNumber;
309
+ }, z.core.$strip>>;
310
+ lineBelow: z.ZodOptional<z.ZodObject<{
311
+ color: z.ZodString;
312
+ weightPt: z.ZodNumber;
313
+ }, z.core.$strip>>;
314
+ }, z.core.$strip>;
315
+ }, z.core.$strip>>;
316
+ rowsAfterRepeat: z.ZodOptional<z.ZodArray<z.ZodObject<{
317
+ cells: z.ZodArray<z.ZodObject<{
318
+ text: z.ZodOptional<z.ZodString>;
319
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
320
+ font: z.ZodOptional<z.ZodEnum<{
321
+ arial: "arial";
322
+ calibri: "calibri";
323
+ cambria: "cambria";
324
+ courier: "courier";
325
+ times: "times";
326
+ }>>;
327
+ sizePt: z.ZodOptional<z.ZodNumber>;
328
+ color: z.ZodOptional<z.ZodString>;
329
+ text: z.ZodString;
330
+ bold: z.ZodOptional<z.ZodBoolean>;
331
+ italic: z.ZodOptional<z.ZodBoolean>;
332
+ underline: z.ZodOptional<z.ZodBoolean>;
333
+ dateStyle: z.ZodOptional<z.ZodEnum<{
334
+ long: "long";
335
+ short: "short";
336
+ }>>;
337
+ }, z.core.$strip>, z.ZodObject<{
338
+ hardBreak: z.ZodLiteral<true>;
339
+ }, z.core.$strip>]>>>;
340
+ background: z.ZodOptional<z.ZodString>;
341
+ align: z.ZodOptional<z.ZodEnum<{
342
+ center: "center";
343
+ justify: "justify";
344
+ left: "left";
345
+ right: "right";
346
+ }>>;
347
+ }, z.core.$strip>>;
348
+ lineAbove: z.ZodOptional<z.ZodObject<{
349
+ color: z.ZodString;
350
+ weightPt: z.ZodNumber;
351
+ }, z.core.$strip>>;
352
+ lineBelow: z.ZodOptional<z.ZodObject<{
353
+ color: z.ZodString;
354
+ weightPt: z.ZodNumber;
355
+ }, z.core.$strip>>;
356
+ }, z.core.$strip>>>;
357
+ }, z.core.$strip>, z.ZodObject<{
358
+ type: z.ZodLiteral<"frame">;
359
+ xMm: z.ZodNumber;
360
+ yMm: z.ZodNumber;
361
+ widthMm: z.ZodNumber;
362
+ heightMm: z.ZodNumber;
363
+ preset: z.ZodOptional<z.ZodEnum<{
364
+ address: "address";
365
+ text: "text";
366
+ }>>;
367
+ reserveFlow: z.ZodOptional<z.ZodBoolean>;
368
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
369
+ align: z.ZodOptional<z.ZodEnum<{
370
+ center: "center";
371
+ justify: "justify";
372
+ left: "left";
373
+ right: "right";
374
+ }>>;
375
+ style: z.ZodOptional<z.ZodObject<{
376
+ lineHeight: z.ZodOptional<z.ZodNumber>;
377
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
378
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
379
+ }, z.core.$strip>>;
380
+ textStyle: z.ZodOptional<z.ZodObject<{
381
+ font: z.ZodOptional<z.ZodEnum<{
382
+ arial: "arial";
383
+ calibri: "calibri";
384
+ cambria: "cambria";
385
+ courier: "courier";
386
+ times: "times";
387
+ }>>;
388
+ sizePt: z.ZodOptional<z.ZodNumber>;
389
+ color: z.ZodOptional<z.ZodString>;
390
+ }, z.core.$strip>>;
391
+ text: z.ZodOptional<z.ZodString>;
392
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
393
+ font: z.ZodOptional<z.ZodEnum<{
394
+ arial: "arial";
395
+ calibri: "calibri";
396
+ cambria: "cambria";
397
+ courier: "courier";
398
+ times: "times";
399
+ }>>;
400
+ sizePt: z.ZodOptional<z.ZodNumber>;
401
+ color: z.ZodOptional<z.ZodString>;
402
+ text: z.ZodString;
403
+ bold: z.ZodOptional<z.ZodBoolean>;
404
+ italic: z.ZodOptional<z.ZodBoolean>;
405
+ underline: z.ZodOptional<z.ZodBoolean>;
406
+ dateStyle: z.ZodOptional<z.ZodEnum<{
407
+ long: "long";
408
+ short: "short";
409
+ }>>;
410
+ }, z.core.$strip>, z.ZodObject<{
411
+ hardBreak: z.ZodLiteral<true>;
412
+ }, z.core.$strip>]>>>;
413
+ type: z.ZodLiteral<"paragraph">;
414
+ }, z.core.$strip>, z.ZodObject<{
415
+ align: z.ZodOptional<z.ZodEnum<{
416
+ center: "center";
417
+ justify: "justify";
418
+ left: "left";
419
+ right: "right";
420
+ }>>;
421
+ style: z.ZodOptional<z.ZodObject<{
422
+ lineHeight: z.ZodOptional<z.ZodNumber>;
423
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
424
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
425
+ }, z.core.$strip>>;
426
+ textStyle: z.ZodOptional<z.ZodObject<{
427
+ font: z.ZodOptional<z.ZodEnum<{
428
+ arial: "arial";
429
+ calibri: "calibri";
430
+ cambria: "cambria";
431
+ courier: "courier";
432
+ times: "times";
433
+ }>>;
434
+ sizePt: z.ZodOptional<z.ZodNumber>;
435
+ color: z.ZodOptional<z.ZodString>;
436
+ }, z.core.$strip>>;
437
+ text: z.ZodOptional<z.ZodString>;
438
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
439
+ font: z.ZodOptional<z.ZodEnum<{
440
+ arial: "arial";
441
+ calibri: "calibri";
442
+ cambria: "cambria";
443
+ courier: "courier";
444
+ times: "times";
445
+ }>>;
446
+ sizePt: z.ZodOptional<z.ZodNumber>;
447
+ color: z.ZodOptional<z.ZodString>;
448
+ text: z.ZodString;
449
+ bold: z.ZodOptional<z.ZodBoolean>;
450
+ italic: z.ZodOptional<z.ZodBoolean>;
451
+ underline: z.ZodOptional<z.ZodBoolean>;
452
+ dateStyle: z.ZodOptional<z.ZodEnum<{
453
+ long: "long";
454
+ short: "short";
455
+ }>>;
456
+ }, z.core.$strip>, z.ZodObject<{
457
+ hardBreak: z.ZodLiteral<true>;
458
+ }, z.core.$strip>]>>>;
459
+ type: z.ZodLiteral<"heading">;
460
+ level: z.ZodNumber;
461
+ }, z.core.$strip>, z.ZodObject<{
462
+ align: z.ZodOptional<z.ZodEnum<{
463
+ center: "center";
464
+ justify: "justify";
465
+ left: "left";
466
+ right: "right";
467
+ }>>;
468
+ style: z.ZodOptional<z.ZodObject<{
469
+ lineHeight: z.ZodOptional<z.ZodNumber>;
470
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
471
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
472
+ }, z.core.$strip>>;
473
+ textStyle: z.ZodOptional<z.ZodObject<{
474
+ font: z.ZodOptional<z.ZodEnum<{
475
+ arial: "arial";
476
+ calibri: "calibri";
477
+ cambria: "cambria";
478
+ courier: "courier";
479
+ times: "times";
480
+ }>>;
481
+ sizePt: z.ZodOptional<z.ZodNumber>;
482
+ color: z.ZodOptional<z.ZodString>;
483
+ }, z.core.$strip>>;
484
+ type: z.ZodLiteral<"list">;
485
+ ordered: z.ZodBoolean;
486
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
487
+ font: z.ZodOptional<z.ZodEnum<{
488
+ arial: "arial";
489
+ calibri: "calibri";
490
+ cambria: "cambria";
491
+ courier: "courier";
492
+ times: "times";
493
+ }>>;
494
+ sizePt: z.ZodOptional<z.ZodNumber>;
495
+ color: z.ZodOptional<z.ZodString>;
496
+ text: z.ZodString;
497
+ bold: z.ZodOptional<z.ZodBoolean>;
498
+ italic: z.ZodOptional<z.ZodBoolean>;
499
+ underline: z.ZodOptional<z.ZodBoolean>;
500
+ dateStyle: z.ZodOptional<z.ZodEnum<{
501
+ long: "long";
502
+ short: "short";
503
+ }>>;
504
+ }, z.core.$strip>, z.ZodObject<{
505
+ hardBreak: z.ZodLiteral<true>;
506
+ }, z.core.$strip>]>>]>>;
507
+ }, z.core.$strip>, z.ZodObject<{
508
+ type: z.ZodLiteral<"table">;
509
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
510
+ cellPaddingMm: z.ZodOptional<z.ZodNumber>;
511
+ widthMm: z.ZodOptional<z.ZodNumber>;
512
+ align: z.ZodOptional<z.ZodEnum<{
513
+ center: "center";
514
+ left: "left";
515
+ right: "right";
516
+ }>>;
517
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
518
+ header: z.ZodOptional<z.ZodObject<{
519
+ cells: z.ZodArray<z.ZodObject<{
520
+ text: z.ZodOptional<z.ZodString>;
521
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
522
+ font: z.ZodOptional<z.ZodEnum<{
523
+ arial: "arial";
524
+ calibri: "calibri";
525
+ cambria: "cambria";
526
+ courier: "courier";
527
+ times: "times";
528
+ }>>;
529
+ sizePt: z.ZodOptional<z.ZodNumber>;
530
+ color: z.ZodOptional<z.ZodString>;
531
+ text: z.ZodString;
532
+ bold: z.ZodOptional<z.ZodBoolean>;
533
+ italic: z.ZodOptional<z.ZodBoolean>;
534
+ underline: z.ZodOptional<z.ZodBoolean>;
535
+ dateStyle: z.ZodOptional<z.ZodEnum<{
536
+ long: "long";
537
+ short: "short";
538
+ }>>;
539
+ }, z.core.$strip>, z.ZodObject<{
540
+ hardBreak: z.ZodLiteral<true>;
541
+ }, z.core.$strip>]>>>;
542
+ background: z.ZodOptional<z.ZodString>;
543
+ align: z.ZodOptional<z.ZodEnum<{
544
+ center: "center";
545
+ justify: "justify";
546
+ left: "left";
547
+ right: "right";
548
+ }>>;
549
+ }, z.core.$strip>>;
550
+ lineAbove: z.ZodOptional<z.ZodObject<{
551
+ color: z.ZodString;
552
+ weightPt: z.ZodNumber;
553
+ }, z.core.$strip>>;
554
+ lineBelow: z.ZodOptional<z.ZodObject<{
555
+ color: z.ZodString;
556
+ weightPt: z.ZodNumber;
557
+ }, z.core.$strip>>;
558
+ }, z.core.$strip>>;
559
+ rows: z.ZodArray<z.ZodObject<{
560
+ cells: z.ZodArray<z.ZodObject<{
561
+ text: z.ZodOptional<z.ZodString>;
562
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
563
+ font: z.ZodOptional<z.ZodEnum<{
564
+ arial: "arial";
565
+ calibri: "calibri";
566
+ cambria: "cambria";
567
+ courier: "courier";
568
+ times: "times";
569
+ }>>;
570
+ sizePt: z.ZodOptional<z.ZodNumber>;
571
+ color: z.ZodOptional<z.ZodString>;
572
+ text: z.ZodString;
573
+ bold: z.ZodOptional<z.ZodBoolean>;
574
+ italic: z.ZodOptional<z.ZodBoolean>;
575
+ underline: z.ZodOptional<z.ZodBoolean>;
576
+ dateStyle: z.ZodOptional<z.ZodEnum<{
577
+ long: "long";
578
+ short: "short";
579
+ }>>;
580
+ }, z.core.$strip>, z.ZodObject<{
581
+ hardBreak: z.ZodLiteral<true>;
582
+ }, z.core.$strip>]>>>;
583
+ background: z.ZodOptional<z.ZodString>;
584
+ align: z.ZodOptional<z.ZodEnum<{
585
+ center: "center";
586
+ justify: "justify";
587
+ left: "left";
588
+ right: "right";
589
+ }>>;
590
+ }, z.core.$strip>>;
591
+ lineAbove: z.ZodOptional<z.ZodObject<{
592
+ color: z.ZodString;
593
+ weightPt: z.ZodNumber;
594
+ }, z.core.$strip>>;
595
+ lineBelow: z.ZodOptional<z.ZodObject<{
596
+ color: z.ZodString;
597
+ weightPt: z.ZodNumber;
598
+ }, z.core.$strip>>;
599
+ }, z.core.$strip>>;
600
+ repeat: z.ZodOptional<z.ZodObject<{
601
+ each: z.ZodString;
602
+ row: z.ZodObject<{
603
+ cells: z.ZodArray<z.ZodObject<{
604
+ text: z.ZodOptional<z.ZodString>;
605
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
606
+ font: z.ZodOptional<z.ZodEnum<{
607
+ arial: "arial";
608
+ calibri: "calibri";
609
+ cambria: "cambria";
610
+ courier: "courier";
611
+ times: "times";
612
+ }>>;
613
+ sizePt: z.ZodOptional<z.ZodNumber>;
614
+ color: z.ZodOptional<z.ZodString>;
615
+ text: z.ZodString;
616
+ bold: z.ZodOptional<z.ZodBoolean>;
617
+ italic: z.ZodOptional<z.ZodBoolean>;
618
+ underline: z.ZodOptional<z.ZodBoolean>;
619
+ dateStyle: z.ZodOptional<z.ZodEnum<{
620
+ long: "long";
621
+ short: "short";
622
+ }>>;
623
+ }, z.core.$strip>, z.ZodObject<{
624
+ hardBreak: z.ZodLiteral<true>;
625
+ }, z.core.$strip>]>>>;
626
+ background: z.ZodOptional<z.ZodString>;
627
+ align: z.ZodOptional<z.ZodEnum<{
628
+ center: "center";
629
+ justify: "justify";
630
+ left: "left";
631
+ right: "right";
632
+ }>>;
633
+ }, z.core.$strip>>;
634
+ lineAbove: z.ZodOptional<z.ZodObject<{
635
+ color: z.ZodString;
636
+ weightPt: z.ZodNumber;
637
+ }, z.core.$strip>>;
638
+ lineBelow: z.ZodOptional<z.ZodObject<{
639
+ color: z.ZodString;
640
+ weightPt: z.ZodNumber;
641
+ }, z.core.$strip>>;
642
+ }, z.core.$strip>;
643
+ }, z.core.$strip>>;
644
+ rowsAfterRepeat: z.ZodOptional<z.ZodArray<z.ZodObject<{
645
+ cells: z.ZodArray<z.ZodObject<{
646
+ text: z.ZodOptional<z.ZodString>;
647
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
648
+ font: z.ZodOptional<z.ZodEnum<{
649
+ arial: "arial";
650
+ calibri: "calibri";
651
+ cambria: "cambria";
652
+ courier: "courier";
653
+ times: "times";
654
+ }>>;
655
+ sizePt: z.ZodOptional<z.ZodNumber>;
656
+ color: z.ZodOptional<z.ZodString>;
657
+ text: z.ZodString;
658
+ bold: z.ZodOptional<z.ZodBoolean>;
659
+ italic: z.ZodOptional<z.ZodBoolean>;
660
+ underline: z.ZodOptional<z.ZodBoolean>;
661
+ dateStyle: z.ZodOptional<z.ZodEnum<{
662
+ long: "long";
663
+ short: "short";
664
+ }>>;
665
+ }, z.core.$strip>, z.ZodObject<{
666
+ hardBreak: z.ZodLiteral<true>;
667
+ }, z.core.$strip>]>>>;
668
+ background: z.ZodOptional<z.ZodString>;
669
+ align: z.ZodOptional<z.ZodEnum<{
670
+ center: "center";
671
+ justify: "justify";
672
+ left: "left";
673
+ right: "right";
674
+ }>>;
675
+ }, z.core.$strip>>;
676
+ lineAbove: z.ZodOptional<z.ZodObject<{
677
+ color: z.ZodString;
678
+ weightPt: z.ZodNumber;
679
+ }, z.core.$strip>>;
680
+ lineBelow: z.ZodOptional<z.ZodObject<{
681
+ color: z.ZodString;
682
+ weightPt: z.ZodNumber;
683
+ }, z.core.$strip>>;
684
+ }, z.core.$strip>>>;
685
+ }, z.core.$strip>, z.ZodObject<{
686
+ type: z.ZodLiteral<"image">;
687
+ resource: z.ZodString;
688
+ alt: z.ZodOptional<z.ZodString>;
689
+ widthMm: z.ZodOptional<z.ZodNumber>;
690
+ align: z.ZodOptional<z.ZodEnum<{
691
+ center: "center";
692
+ left: "left";
693
+ right: "right";
694
+ }>>;
695
+ bleed: z.ZodOptional<z.ZodBoolean>;
696
+ }, z.core.$strip>], "type">>;
65
697
  }, z.core.$strip>, z.ZodObject<{
66
698
  type: z.ZodLiteral<"image">;
67
699
  resource: z.ZodString;
68
700
  alt: z.ZodOptional<z.ZodString>;
701
+ widthMm: z.ZodOptional<z.ZodNumber>;
702
+ align: z.ZodOptional<z.ZodEnum<{
703
+ center: "center";
704
+ left: "left";
705
+ right: "right";
706
+ }>>;
707
+ bleed: z.ZodOptional<z.ZodBoolean>;
69
708
  }, z.core.$strip>, z.ZodObject<{
70
709
  type: z.ZodLiteral<"button">;
71
710
  text: z.ZodString;
72
711
  href: z.ZodString;
73
712
  }, z.core.$strip>, z.ZodObject<{
74
713
  type: z.ZodLiteral<"divider">;
714
+ color: z.ZodOptional<z.ZodString>;
715
+ weightPt: z.ZodOptional<z.ZodNumber>;
75
716
  }, z.core.$strip>, z.ZodObject<{
76
717
  type: z.ZodLiteral<"pageBreak">;
77
718
  }, z.core.$strip>], "type">;
@@ -83,6 +724,712 @@ export declare const documentOpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
83
724
  }, z.core.$strip>, z.ZodObject<{
84
725
  op: z.ZodLiteral<"removeBlock">;
85
726
  blockId: z.ZodString;
727
+ }, z.core.$strip>, z.ZodObject<{
728
+ op: z.ZodLiteral<"replaceBody">;
729
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
730
+ align: z.ZodOptional<z.ZodEnum<{
731
+ center: "center";
732
+ justify: "justify";
733
+ left: "left";
734
+ right: "right";
735
+ }>>;
736
+ style: z.ZodOptional<z.ZodObject<{
737
+ lineHeight: z.ZodOptional<z.ZodNumber>;
738
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
739
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
740
+ }, z.core.$strip>>;
741
+ textStyle: z.ZodOptional<z.ZodObject<{
742
+ font: z.ZodOptional<z.ZodEnum<{
743
+ arial: "arial";
744
+ calibri: "calibri";
745
+ cambria: "cambria";
746
+ courier: "courier";
747
+ times: "times";
748
+ }>>;
749
+ sizePt: z.ZodOptional<z.ZodNumber>;
750
+ color: z.ZodOptional<z.ZodString>;
751
+ }, z.core.$strip>>;
752
+ text: z.ZodOptional<z.ZodString>;
753
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
754
+ font: z.ZodOptional<z.ZodEnum<{
755
+ arial: "arial";
756
+ calibri: "calibri";
757
+ cambria: "cambria";
758
+ courier: "courier";
759
+ times: "times";
760
+ }>>;
761
+ sizePt: z.ZodOptional<z.ZodNumber>;
762
+ color: z.ZodOptional<z.ZodString>;
763
+ text: z.ZodString;
764
+ bold: z.ZodOptional<z.ZodBoolean>;
765
+ italic: z.ZodOptional<z.ZodBoolean>;
766
+ underline: z.ZodOptional<z.ZodBoolean>;
767
+ dateStyle: z.ZodOptional<z.ZodEnum<{
768
+ long: "long";
769
+ short: "short";
770
+ }>>;
771
+ }, z.core.$strip>, z.ZodObject<{
772
+ hardBreak: z.ZodLiteral<true>;
773
+ }, z.core.$strip>]>>>;
774
+ type: z.ZodLiteral<"paragraph">;
775
+ }, z.core.$strip>, z.ZodObject<{
776
+ align: z.ZodOptional<z.ZodEnum<{
777
+ center: "center";
778
+ justify: "justify";
779
+ left: "left";
780
+ right: "right";
781
+ }>>;
782
+ style: z.ZodOptional<z.ZodObject<{
783
+ lineHeight: z.ZodOptional<z.ZodNumber>;
784
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
785
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
786
+ }, z.core.$strip>>;
787
+ textStyle: z.ZodOptional<z.ZodObject<{
788
+ font: z.ZodOptional<z.ZodEnum<{
789
+ arial: "arial";
790
+ calibri: "calibri";
791
+ cambria: "cambria";
792
+ courier: "courier";
793
+ times: "times";
794
+ }>>;
795
+ sizePt: z.ZodOptional<z.ZodNumber>;
796
+ color: z.ZodOptional<z.ZodString>;
797
+ }, z.core.$strip>>;
798
+ text: z.ZodOptional<z.ZodString>;
799
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
800
+ font: z.ZodOptional<z.ZodEnum<{
801
+ arial: "arial";
802
+ calibri: "calibri";
803
+ cambria: "cambria";
804
+ courier: "courier";
805
+ times: "times";
806
+ }>>;
807
+ sizePt: z.ZodOptional<z.ZodNumber>;
808
+ color: z.ZodOptional<z.ZodString>;
809
+ text: z.ZodString;
810
+ bold: z.ZodOptional<z.ZodBoolean>;
811
+ italic: z.ZodOptional<z.ZodBoolean>;
812
+ underline: z.ZodOptional<z.ZodBoolean>;
813
+ dateStyle: z.ZodOptional<z.ZodEnum<{
814
+ long: "long";
815
+ short: "short";
816
+ }>>;
817
+ }, z.core.$strip>, z.ZodObject<{
818
+ hardBreak: z.ZodLiteral<true>;
819
+ }, z.core.$strip>]>>>;
820
+ type: z.ZodLiteral<"heading">;
821
+ level: z.ZodNumber;
822
+ }, z.core.$strip>, z.ZodObject<{
823
+ align: z.ZodOptional<z.ZodEnum<{
824
+ center: "center";
825
+ justify: "justify";
826
+ left: "left";
827
+ right: "right";
828
+ }>>;
829
+ style: z.ZodOptional<z.ZodObject<{
830
+ lineHeight: z.ZodOptional<z.ZodNumber>;
831
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
832
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
833
+ }, z.core.$strip>>;
834
+ textStyle: z.ZodOptional<z.ZodObject<{
835
+ font: z.ZodOptional<z.ZodEnum<{
836
+ arial: "arial";
837
+ calibri: "calibri";
838
+ cambria: "cambria";
839
+ courier: "courier";
840
+ times: "times";
841
+ }>>;
842
+ sizePt: z.ZodOptional<z.ZodNumber>;
843
+ color: z.ZodOptional<z.ZodString>;
844
+ }, z.core.$strip>>;
845
+ type: z.ZodLiteral<"list">;
846
+ ordered: z.ZodBoolean;
847
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
848
+ font: z.ZodOptional<z.ZodEnum<{
849
+ arial: "arial";
850
+ calibri: "calibri";
851
+ cambria: "cambria";
852
+ courier: "courier";
853
+ times: "times";
854
+ }>>;
855
+ sizePt: z.ZodOptional<z.ZodNumber>;
856
+ color: z.ZodOptional<z.ZodString>;
857
+ text: z.ZodString;
858
+ bold: z.ZodOptional<z.ZodBoolean>;
859
+ italic: z.ZodOptional<z.ZodBoolean>;
860
+ underline: z.ZodOptional<z.ZodBoolean>;
861
+ dateStyle: z.ZodOptional<z.ZodEnum<{
862
+ long: "long";
863
+ short: "short";
864
+ }>>;
865
+ }, z.core.$strip>, z.ZodObject<{
866
+ hardBreak: z.ZodLiteral<true>;
867
+ }, z.core.$strip>]>>]>>;
868
+ }, z.core.$strip>, z.ZodObject<{
869
+ type: z.ZodLiteral<"table">;
870
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
871
+ cellPaddingMm: z.ZodOptional<z.ZodNumber>;
872
+ widthMm: z.ZodOptional<z.ZodNumber>;
873
+ align: z.ZodOptional<z.ZodEnum<{
874
+ center: "center";
875
+ left: "left";
876
+ right: "right";
877
+ }>>;
878
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
879
+ header: z.ZodOptional<z.ZodObject<{
880
+ cells: z.ZodArray<z.ZodObject<{
881
+ text: z.ZodOptional<z.ZodString>;
882
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
883
+ font: z.ZodOptional<z.ZodEnum<{
884
+ arial: "arial";
885
+ calibri: "calibri";
886
+ cambria: "cambria";
887
+ courier: "courier";
888
+ times: "times";
889
+ }>>;
890
+ sizePt: z.ZodOptional<z.ZodNumber>;
891
+ color: z.ZodOptional<z.ZodString>;
892
+ text: z.ZodString;
893
+ bold: z.ZodOptional<z.ZodBoolean>;
894
+ italic: z.ZodOptional<z.ZodBoolean>;
895
+ underline: z.ZodOptional<z.ZodBoolean>;
896
+ dateStyle: z.ZodOptional<z.ZodEnum<{
897
+ long: "long";
898
+ short: "short";
899
+ }>>;
900
+ }, z.core.$strip>, z.ZodObject<{
901
+ hardBreak: z.ZodLiteral<true>;
902
+ }, z.core.$strip>]>>>;
903
+ background: z.ZodOptional<z.ZodString>;
904
+ align: z.ZodOptional<z.ZodEnum<{
905
+ center: "center";
906
+ justify: "justify";
907
+ left: "left";
908
+ right: "right";
909
+ }>>;
910
+ }, z.core.$strip>>;
911
+ lineAbove: z.ZodOptional<z.ZodObject<{
912
+ color: z.ZodString;
913
+ weightPt: z.ZodNumber;
914
+ }, z.core.$strip>>;
915
+ lineBelow: z.ZodOptional<z.ZodObject<{
916
+ color: z.ZodString;
917
+ weightPt: z.ZodNumber;
918
+ }, z.core.$strip>>;
919
+ }, z.core.$strip>>;
920
+ rows: z.ZodArray<z.ZodObject<{
921
+ cells: z.ZodArray<z.ZodObject<{
922
+ text: z.ZodOptional<z.ZodString>;
923
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
924
+ font: z.ZodOptional<z.ZodEnum<{
925
+ arial: "arial";
926
+ calibri: "calibri";
927
+ cambria: "cambria";
928
+ courier: "courier";
929
+ times: "times";
930
+ }>>;
931
+ sizePt: z.ZodOptional<z.ZodNumber>;
932
+ color: z.ZodOptional<z.ZodString>;
933
+ text: z.ZodString;
934
+ bold: z.ZodOptional<z.ZodBoolean>;
935
+ italic: z.ZodOptional<z.ZodBoolean>;
936
+ underline: z.ZodOptional<z.ZodBoolean>;
937
+ dateStyle: z.ZodOptional<z.ZodEnum<{
938
+ long: "long";
939
+ short: "short";
940
+ }>>;
941
+ }, z.core.$strip>, z.ZodObject<{
942
+ hardBreak: z.ZodLiteral<true>;
943
+ }, z.core.$strip>]>>>;
944
+ background: z.ZodOptional<z.ZodString>;
945
+ align: z.ZodOptional<z.ZodEnum<{
946
+ center: "center";
947
+ justify: "justify";
948
+ left: "left";
949
+ right: "right";
950
+ }>>;
951
+ }, z.core.$strip>>;
952
+ lineAbove: z.ZodOptional<z.ZodObject<{
953
+ color: z.ZodString;
954
+ weightPt: z.ZodNumber;
955
+ }, z.core.$strip>>;
956
+ lineBelow: z.ZodOptional<z.ZodObject<{
957
+ color: z.ZodString;
958
+ weightPt: z.ZodNumber;
959
+ }, z.core.$strip>>;
960
+ }, z.core.$strip>>;
961
+ repeat: z.ZodOptional<z.ZodObject<{
962
+ each: z.ZodString;
963
+ row: z.ZodObject<{
964
+ cells: z.ZodArray<z.ZodObject<{
965
+ text: z.ZodOptional<z.ZodString>;
966
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
967
+ font: z.ZodOptional<z.ZodEnum<{
968
+ arial: "arial";
969
+ calibri: "calibri";
970
+ cambria: "cambria";
971
+ courier: "courier";
972
+ times: "times";
973
+ }>>;
974
+ sizePt: z.ZodOptional<z.ZodNumber>;
975
+ color: z.ZodOptional<z.ZodString>;
976
+ text: z.ZodString;
977
+ bold: z.ZodOptional<z.ZodBoolean>;
978
+ italic: z.ZodOptional<z.ZodBoolean>;
979
+ underline: z.ZodOptional<z.ZodBoolean>;
980
+ dateStyle: z.ZodOptional<z.ZodEnum<{
981
+ long: "long";
982
+ short: "short";
983
+ }>>;
984
+ }, z.core.$strip>, z.ZodObject<{
985
+ hardBreak: z.ZodLiteral<true>;
986
+ }, z.core.$strip>]>>>;
987
+ background: z.ZodOptional<z.ZodString>;
988
+ align: z.ZodOptional<z.ZodEnum<{
989
+ center: "center";
990
+ justify: "justify";
991
+ left: "left";
992
+ right: "right";
993
+ }>>;
994
+ }, z.core.$strip>>;
995
+ lineAbove: z.ZodOptional<z.ZodObject<{
996
+ color: z.ZodString;
997
+ weightPt: z.ZodNumber;
998
+ }, z.core.$strip>>;
999
+ lineBelow: z.ZodOptional<z.ZodObject<{
1000
+ color: z.ZodString;
1001
+ weightPt: z.ZodNumber;
1002
+ }, z.core.$strip>>;
1003
+ }, z.core.$strip>;
1004
+ }, z.core.$strip>>;
1005
+ rowsAfterRepeat: z.ZodOptional<z.ZodArray<z.ZodObject<{
1006
+ cells: z.ZodArray<z.ZodObject<{
1007
+ text: z.ZodOptional<z.ZodString>;
1008
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1009
+ font: z.ZodOptional<z.ZodEnum<{
1010
+ arial: "arial";
1011
+ calibri: "calibri";
1012
+ cambria: "cambria";
1013
+ courier: "courier";
1014
+ times: "times";
1015
+ }>>;
1016
+ sizePt: z.ZodOptional<z.ZodNumber>;
1017
+ color: z.ZodOptional<z.ZodString>;
1018
+ text: z.ZodString;
1019
+ bold: z.ZodOptional<z.ZodBoolean>;
1020
+ italic: z.ZodOptional<z.ZodBoolean>;
1021
+ underline: z.ZodOptional<z.ZodBoolean>;
1022
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1023
+ long: "long";
1024
+ short: "short";
1025
+ }>>;
1026
+ }, z.core.$strip>, z.ZodObject<{
1027
+ hardBreak: z.ZodLiteral<true>;
1028
+ }, z.core.$strip>]>>>;
1029
+ background: z.ZodOptional<z.ZodString>;
1030
+ align: z.ZodOptional<z.ZodEnum<{
1031
+ center: "center";
1032
+ justify: "justify";
1033
+ left: "left";
1034
+ right: "right";
1035
+ }>>;
1036
+ }, z.core.$strip>>;
1037
+ lineAbove: z.ZodOptional<z.ZodObject<{
1038
+ color: z.ZodString;
1039
+ weightPt: z.ZodNumber;
1040
+ }, z.core.$strip>>;
1041
+ lineBelow: z.ZodOptional<z.ZodObject<{
1042
+ color: z.ZodString;
1043
+ weightPt: z.ZodNumber;
1044
+ }, z.core.$strip>>;
1045
+ }, z.core.$strip>>>;
1046
+ }, z.core.$strip>, z.ZodObject<{
1047
+ type: z.ZodLiteral<"frame">;
1048
+ xMm: z.ZodNumber;
1049
+ yMm: z.ZodNumber;
1050
+ widthMm: z.ZodNumber;
1051
+ heightMm: z.ZodNumber;
1052
+ preset: z.ZodOptional<z.ZodEnum<{
1053
+ address: "address";
1054
+ text: "text";
1055
+ }>>;
1056
+ reserveFlow: z.ZodOptional<z.ZodBoolean>;
1057
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1058
+ align: z.ZodOptional<z.ZodEnum<{
1059
+ center: "center";
1060
+ justify: "justify";
1061
+ left: "left";
1062
+ right: "right";
1063
+ }>>;
1064
+ style: z.ZodOptional<z.ZodObject<{
1065
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1066
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1067
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1068
+ }, z.core.$strip>>;
1069
+ textStyle: z.ZodOptional<z.ZodObject<{
1070
+ font: z.ZodOptional<z.ZodEnum<{
1071
+ arial: "arial";
1072
+ calibri: "calibri";
1073
+ cambria: "cambria";
1074
+ courier: "courier";
1075
+ times: "times";
1076
+ }>>;
1077
+ sizePt: z.ZodOptional<z.ZodNumber>;
1078
+ color: z.ZodOptional<z.ZodString>;
1079
+ }, z.core.$strip>>;
1080
+ text: z.ZodOptional<z.ZodString>;
1081
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1082
+ font: z.ZodOptional<z.ZodEnum<{
1083
+ arial: "arial";
1084
+ calibri: "calibri";
1085
+ cambria: "cambria";
1086
+ courier: "courier";
1087
+ times: "times";
1088
+ }>>;
1089
+ sizePt: z.ZodOptional<z.ZodNumber>;
1090
+ color: z.ZodOptional<z.ZodString>;
1091
+ text: z.ZodString;
1092
+ bold: z.ZodOptional<z.ZodBoolean>;
1093
+ italic: z.ZodOptional<z.ZodBoolean>;
1094
+ underline: z.ZodOptional<z.ZodBoolean>;
1095
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1096
+ long: "long";
1097
+ short: "short";
1098
+ }>>;
1099
+ }, z.core.$strip>, z.ZodObject<{
1100
+ hardBreak: z.ZodLiteral<true>;
1101
+ }, z.core.$strip>]>>>;
1102
+ type: z.ZodLiteral<"paragraph">;
1103
+ }, z.core.$strip>, z.ZodObject<{
1104
+ align: z.ZodOptional<z.ZodEnum<{
1105
+ center: "center";
1106
+ justify: "justify";
1107
+ left: "left";
1108
+ right: "right";
1109
+ }>>;
1110
+ style: z.ZodOptional<z.ZodObject<{
1111
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1112
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1113
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1114
+ }, z.core.$strip>>;
1115
+ textStyle: z.ZodOptional<z.ZodObject<{
1116
+ font: z.ZodOptional<z.ZodEnum<{
1117
+ arial: "arial";
1118
+ calibri: "calibri";
1119
+ cambria: "cambria";
1120
+ courier: "courier";
1121
+ times: "times";
1122
+ }>>;
1123
+ sizePt: z.ZodOptional<z.ZodNumber>;
1124
+ color: z.ZodOptional<z.ZodString>;
1125
+ }, z.core.$strip>>;
1126
+ text: z.ZodOptional<z.ZodString>;
1127
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1128
+ font: z.ZodOptional<z.ZodEnum<{
1129
+ arial: "arial";
1130
+ calibri: "calibri";
1131
+ cambria: "cambria";
1132
+ courier: "courier";
1133
+ times: "times";
1134
+ }>>;
1135
+ sizePt: z.ZodOptional<z.ZodNumber>;
1136
+ color: z.ZodOptional<z.ZodString>;
1137
+ text: z.ZodString;
1138
+ bold: z.ZodOptional<z.ZodBoolean>;
1139
+ italic: z.ZodOptional<z.ZodBoolean>;
1140
+ underline: z.ZodOptional<z.ZodBoolean>;
1141
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1142
+ long: "long";
1143
+ short: "short";
1144
+ }>>;
1145
+ }, z.core.$strip>, z.ZodObject<{
1146
+ hardBreak: z.ZodLiteral<true>;
1147
+ }, z.core.$strip>]>>>;
1148
+ type: z.ZodLiteral<"heading">;
1149
+ level: z.ZodNumber;
1150
+ }, z.core.$strip>, z.ZodObject<{
1151
+ align: z.ZodOptional<z.ZodEnum<{
1152
+ center: "center";
1153
+ justify: "justify";
1154
+ left: "left";
1155
+ right: "right";
1156
+ }>>;
1157
+ style: z.ZodOptional<z.ZodObject<{
1158
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1159
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1160
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1161
+ }, z.core.$strip>>;
1162
+ textStyle: z.ZodOptional<z.ZodObject<{
1163
+ font: z.ZodOptional<z.ZodEnum<{
1164
+ arial: "arial";
1165
+ calibri: "calibri";
1166
+ cambria: "cambria";
1167
+ courier: "courier";
1168
+ times: "times";
1169
+ }>>;
1170
+ sizePt: z.ZodOptional<z.ZodNumber>;
1171
+ color: z.ZodOptional<z.ZodString>;
1172
+ }, z.core.$strip>>;
1173
+ type: z.ZodLiteral<"list">;
1174
+ ordered: z.ZodBoolean;
1175
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1176
+ font: z.ZodOptional<z.ZodEnum<{
1177
+ arial: "arial";
1178
+ calibri: "calibri";
1179
+ cambria: "cambria";
1180
+ courier: "courier";
1181
+ times: "times";
1182
+ }>>;
1183
+ sizePt: z.ZodOptional<z.ZodNumber>;
1184
+ color: z.ZodOptional<z.ZodString>;
1185
+ text: z.ZodString;
1186
+ bold: z.ZodOptional<z.ZodBoolean>;
1187
+ italic: z.ZodOptional<z.ZodBoolean>;
1188
+ underline: z.ZodOptional<z.ZodBoolean>;
1189
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1190
+ long: "long";
1191
+ short: "short";
1192
+ }>>;
1193
+ }, z.core.$strip>, z.ZodObject<{
1194
+ hardBreak: z.ZodLiteral<true>;
1195
+ }, z.core.$strip>]>>]>>;
1196
+ }, z.core.$strip>, z.ZodObject<{
1197
+ type: z.ZodLiteral<"table">;
1198
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
1199
+ cellPaddingMm: z.ZodOptional<z.ZodNumber>;
1200
+ widthMm: z.ZodOptional<z.ZodNumber>;
1201
+ align: z.ZodOptional<z.ZodEnum<{
1202
+ center: "center";
1203
+ left: "left";
1204
+ right: "right";
1205
+ }>>;
1206
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1207
+ header: z.ZodOptional<z.ZodObject<{
1208
+ cells: z.ZodArray<z.ZodObject<{
1209
+ text: z.ZodOptional<z.ZodString>;
1210
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1211
+ font: z.ZodOptional<z.ZodEnum<{
1212
+ arial: "arial";
1213
+ calibri: "calibri";
1214
+ cambria: "cambria";
1215
+ courier: "courier";
1216
+ times: "times";
1217
+ }>>;
1218
+ sizePt: z.ZodOptional<z.ZodNumber>;
1219
+ color: z.ZodOptional<z.ZodString>;
1220
+ text: z.ZodString;
1221
+ bold: z.ZodOptional<z.ZodBoolean>;
1222
+ italic: z.ZodOptional<z.ZodBoolean>;
1223
+ underline: z.ZodOptional<z.ZodBoolean>;
1224
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1225
+ long: "long";
1226
+ short: "short";
1227
+ }>>;
1228
+ }, z.core.$strip>, z.ZodObject<{
1229
+ hardBreak: z.ZodLiteral<true>;
1230
+ }, z.core.$strip>]>>>;
1231
+ background: z.ZodOptional<z.ZodString>;
1232
+ align: z.ZodOptional<z.ZodEnum<{
1233
+ center: "center";
1234
+ justify: "justify";
1235
+ left: "left";
1236
+ right: "right";
1237
+ }>>;
1238
+ }, z.core.$strip>>;
1239
+ lineAbove: z.ZodOptional<z.ZodObject<{
1240
+ color: z.ZodString;
1241
+ weightPt: z.ZodNumber;
1242
+ }, z.core.$strip>>;
1243
+ lineBelow: z.ZodOptional<z.ZodObject<{
1244
+ color: z.ZodString;
1245
+ weightPt: z.ZodNumber;
1246
+ }, z.core.$strip>>;
1247
+ }, z.core.$strip>>;
1248
+ rows: z.ZodArray<z.ZodObject<{
1249
+ cells: z.ZodArray<z.ZodObject<{
1250
+ text: z.ZodOptional<z.ZodString>;
1251
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1252
+ font: z.ZodOptional<z.ZodEnum<{
1253
+ arial: "arial";
1254
+ calibri: "calibri";
1255
+ cambria: "cambria";
1256
+ courier: "courier";
1257
+ times: "times";
1258
+ }>>;
1259
+ sizePt: z.ZodOptional<z.ZodNumber>;
1260
+ color: z.ZodOptional<z.ZodString>;
1261
+ text: z.ZodString;
1262
+ bold: z.ZodOptional<z.ZodBoolean>;
1263
+ italic: z.ZodOptional<z.ZodBoolean>;
1264
+ underline: z.ZodOptional<z.ZodBoolean>;
1265
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1266
+ long: "long";
1267
+ short: "short";
1268
+ }>>;
1269
+ }, z.core.$strip>, z.ZodObject<{
1270
+ hardBreak: z.ZodLiteral<true>;
1271
+ }, z.core.$strip>]>>>;
1272
+ background: z.ZodOptional<z.ZodString>;
1273
+ align: z.ZodOptional<z.ZodEnum<{
1274
+ center: "center";
1275
+ justify: "justify";
1276
+ left: "left";
1277
+ right: "right";
1278
+ }>>;
1279
+ }, z.core.$strip>>;
1280
+ lineAbove: z.ZodOptional<z.ZodObject<{
1281
+ color: z.ZodString;
1282
+ weightPt: z.ZodNumber;
1283
+ }, z.core.$strip>>;
1284
+ lineBelow: z.ZodOptional<z.ZodObject<{
1285
+ color: z.ZodString;
1286
+ weightPt: z.ZodNumber;
1287
+ }, z.core.$strip>>;
1288
+ }, z.core.$strip>>;
1289
+ repeat: z.ZodOptional<z.ZodObject<{
1290
+ each: z.ZodString;
1291
+ row: z.ZodObject<{
1292
+ cells: z.ZodArray<z.ZodObject<{
1293
+ text: z.ZodOptional<z.ZodString>;
1294
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1295
+ font: z.ZodOptional<z.ZodEnum<{
1296
+ arial: "arial";
1297
+ calibri: "calibri";
1298
+ cambria: "cambria";
1299
+ courier: "courier";
1300
+ times: "times";
1301
+ }>>;
1302
+ sizePt: z.ZodOptional<z.ZodNumber>;
1303
+ color: z.ZodOptional<z.ZodString>;
1304
+ text: z.ZodString;
1305
+ bold: z.ZodOptional<z.ZodBoolean>;
1306
+ italic: z.ZodOptional<z.ZodBoolean>;
1307
+ underline: z.ZodOptional<z.ZodBoolean>;
1308
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1309
+ long: "long";
1310
+ short: "short";
1311
+ }>>;
1312
+ }, z.core.$strip>, z.ZodObject<{
1313
+ hardBreak: z.ZodLiteral<true>;
1314
+ }, z.core.$strip>]>>>;
1315
+ background: z.ZodOptional<z.ZodString>;
1316
+ align: z.ZodOptional<z.ZodEnum<{
1317
+ center: "center";
1318
+ justify: "justify";
1319
+ left: "left";
1320
+ right: "right";
1321
+ }>>;
1322
+ }, z.core.$strip>>;
1323
+ lineAbove: z.ZodOptional<z.ZodObject<{
1324
+ color: z.ZodString;
1325
+ weightPt: z.ZodNumber;
1326
+ }, z.core.$strip>>;
1327
+ lineBelow: z.ZodOptional<z.ZodObject<{
1328
+ color: z.ZodString;
1329
+ weightPt: z.ZodNumber;
1330
+ }, z.core.$strip>>;
1331
+ }, z.core.$strip>;
1332
+ }, z.core.$strip>>;
1333
+ rowsAfterRepeat: z.ZodOptional<z.ZodArray<z.ZodObject<{
1334
+ cells: z.ZodArray<z.ZodObject<{
1335
+ text: z.ZodOptional<z.ZodString>;
1336
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1337
+ font: z.ZodOptional<z.ZodEnum<{
1338
+ arial: "arial";
1339
+ calibri: "calibri";
1340
+ cambria: "cambria";
1341
+ courier: "courier";
1342
+ times: "times";
1343
+ }>>;
1344
+ sizePt: z.ZodOptional<z.ZodNumber>;
1345
+ color: z.ZodOptional<z.ZodString>;
1346
+ text: z.ZodString;
1347
+ bold: z.ZodOptional<z.ZodBoolean>;
1348
+ italic: z.ZodOptional<z.ZodBoolean>;
1349
+ underline: z.ZodOptional<z.ZodBoolean>;
1350
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1351
+ long: "long";
1352
+ short: "short";
1353
+ }>>;
1354
+ }, z.core.$strip>, z.ZodObject<{
1355
+ hardBreak: z.ZodLiteral<true>;
1356
+ }, z.core.$strip>]>>>;
1357
+ background: z.ZodOptional<z.ZodString>;
1358
+ align: z.ZodOptional<z.ZodEnum<{
1359
+ center: "center";
1360
+ justify: "justify";
1361
+ left: "left";
1362
+ right: "right";
1363
+ }>>;
1364
+ }, z.core.$strip>>;
1365
+ lineAbove: z.ZodOptional<z.ZodObject<{
1366
+ color: z.ZodString;
1367
+ weightPt: z.ZodNumber;
1368
+ }, z.core.$strip>>;
1369
+ lineBelow: z.ZodOptional<z.ZodObject<{
1370
+ color: z.ZodString;
1371
+ weightPt: z.ZodNumber;
1372
+ }, z.core.$strip>>;
1373
+ }, z.core.$strip>>>;
1374
+ }, z.core.$strip>, z.ZodObject<{
1375
+ type: z.ZodLiteral<"image">;
1376
+ resource: z.ZodString;
1377
+ alt: z.ZodOptional<z.ZodString>;
1378
+ widthMm: z.ZodOptional<z.ZodNumber>;
1379
+ align: z.ZodOptional<z.ZodEnum<{
1380
+ center: "center";
1381
+ left: "left";
1382
+ right: "right";
1383
+ }>>;
1384
+ bleed: z.ZodOptional<z.ZodBoolean>;
1385
+ }, z.core.$strip>], "type">>;
1386
+ }, z.core.$strip>, z.ZodObject<{
1387
+ type: z.ZodLiteral<"image">;
1388
+ resource: z.ZodString;
1389
+ alt: z.ZodOptional<z.ZodString>;
1390
+ widthMm: z.ZodOptional<z.ZodNumber>;
1391
+ align: z.ZodOptional<z.ZodEnum<{
1392
+ center: "center";
1393
+ left: "left";
1394
+ right: "right";
1395
+ }>>;
1396
+ bleed: z.ZodOptional<z.ZodBoolean>;
1397
+ }, z.core.$strip>, z.ZodObject<{
1398
+ type: z.ZodLiteral<"button">;
1399
+ text: z.ZodString;
1400
+ href: z.ZodString;
1401
+ }, z.core.$strip>, z.ZodObject<{
1402
+ type: z.ZodLiteral<"divider">;
1403
+ color: z.ZodOptional<z.ZodString>;
1404
+ weightPt: z.ZodOptional<z.ZodNumber>;
1405
+ }, z.core.$strip>, z.ZodObject<{
1406
+ type: z.ZodLiteral<"pageBreak">;
1407
+ }, z.core.$strip>], "type">>;
1408
+ }, z.core.$strip>, z.ZodObject<{
1409
+ align: z.ZodOptional<z.ZodEnum<{
1410
+ center: "center";
1411
+ justify: "justify";
1412
+ left: "left";
1413
+ right: "right";
1414
+ }>>;
1415
+ style: z.ZodOptional<z.ZodObject<{
1416
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1417
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1418
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1419
+ }, z.core.$strip>>;
1420
+ textStyle: z.ZodOptional<z.ZodObject<{
1421
+ font: z.ZodOptional<z.ZodEnum<{
1422
+ arial: "arial";
1423
+ calibri: "calibri";
1424
+ cambria: "cambria";
1425
+ courier: "courier";
1426
+ times: "times";
1427
+ }>>;
1428
+ sizePt: z.ZodOptional<z.ZodNumber>;
1429
+ color: z.ZodOptional<z.ZodString>;
1430
+ }, z.core.$strip>>;
1431
+ op: z.ZodLiteral<"formatBlock">;
1432
+ blockId: z.ZodString;
86
1433
  }, z.core.$strip>, z.ZodObject<{
87
1434
  op: z.ZodLiteral<"setResource">;
88
1435
  blockId: z.ZodString;
@@ -100,28 +1447,681 @@ export declare const documentOpsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.Zo
100
1447
  op: z.ZodLiteral<"insertBlock">;
101
1448
  after: z.ZodNullable<z.ZodString>;
102
1449
  block: z.ZodDiscriminatedUnion<[z.ZodObject<{
103
- type: z.ZodLiteral<"paragraph">;
104
- text: z.ZodString;
105
1450
  align: z.ZodOptional<z.ZodEnum<{
106
1451
  center: "center";
107
1452
  justify: "justify";
108
1453
  left: "left";
109
1454
  right: "right";
110
1455
  }>>;
1456
+ style: z.ZodOptional<z.ZodObject<{
1457
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1458
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1459
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1460
+ }, z.core.$strip>>;
1461
+ textStyle: z.ZodOptional<z.ZodObject<{
1462
+ font: z.ZodOptional<z.ZodEnum<{
1463
+ arial: "arial";
1464
+ calibri: "calibri";
1465
+ cambria: "cambria";
1466
+ courier: "courier";
1467
+ times: "times";
1468
+ }>>;
1469
+ sizePt: z.ZodOptional<z.ZodNumber>;
1470
+ color: z.ZodOptional<z.ZodString>;
1471
+ }, z.core.$strip>>;
1472
+ text: z.ZodOptional<z.ZodString>;
1473
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1474
+ font: z.ZodOptional<z.ZodEnum<{
1475
+ arial: "arial";
1476
+ calibri: "calibri";
1477
+ cambria: "cambria";
1478
+ courier: "courier";
1479
+ times: "times";
1480
+ }>>;
1481
+ sizePt: z.ZodOptional<z.ZodNumber>;
1482
+ color: z.ZodOptional<z.ZodString>;
1483
+ text: z.ZodString;
1484
+ bold: z.ZodOptional<z.ZodBoolean>;
1485
+ italic: z.ZodOptional<z.ZodBoolean>;
1486
+ underline: z.ZodOptional<z.ZodBoolean>;
1487
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1488
+ long: "long";
1489
+ short: "short";
1490
+ }>>;
1491
+ }, z.core.$strip>, z.ZodObject<{
1492
+ hardBreak: z.ZodLiteral<true>;
1493
+ }, z.core.$strip>]>>>;
1494
+ type: z.ZodLiteral<"paragraph">;
111
1495
  }, z.core.$strip>, z.ZodObject<{
1496
+ align: z.ZodOptional<z.ZodEnum<{
1497
+ center: "center";
1498
+ justify: "justify";
1499
+ left: "left";
1500
+ right: "right";
1501
+ }>>;
1502
+ style: z.ZodOptional<z.ZodObject<{
1503
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1504
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1505
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1506
+ }, z.core.$strip>>;
1507
+ textStyle: z.ZodOptional<z.ZodObject<{
1508
+ font: z.ZodOptional<z.ZodEnum<{
1509
+ arial: "arial";
1510
+ calibri: "calibri";
1511
+ cambria: "cambria";
1512
+ courier: "courier";
1513
+ times: "times";
1514
+ }>>;
1515
+ sizePt: z.ZodOptional<z.ZodNumber>;
1516
+ color: z.ZodOptional<z.ZodString>;
1517
+ }, z.core.$strip>>;
1518
+ text: z.ZodOptional<z.ZodString>;
1519
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1520
+ font: z.ZodOptional<z.ZodEnum<{
1521
+ arial: "arial";
1522
+ calibri: "calibri";
1523
+ cambria: "cambria";
1524
+ courier: "courier";
1525
+ times: "times";
1526
+ }>>;
1527
+ sizePt: z.ZodOptional<z.ZodNumber>;
1528
+ color: z.ZodOptional<z.ZodString>;
1529
+ text: z.ZodString;
1530
+ bold: z.ZodOptional<z.ZodBoolean>;
1531
+ italic: z.ZodOptional<z.ZodBoolean>;
1532
+ underline: z.ZodOptional<z.ZodBoolean>;
1533
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1534
+ long: "long";
1535
+ short: "short";
1536
+ }>>;
1537
+ }, z.core.$strip>, z.ZodObject<{
1538
+ hardBreak: z.ZodLiteral<true>;
1539
+ }, z.core.$strip>]>>>;
112
1540
  type: z.ZodLiteral<"heading">;
113
1541
  level: z.ZodNumber;
114
- text: z.ZodString;
1542
+ }, z.core.$strip>, z.ZodObject<{
1543
+ align: z.ZodOptional<z.ZodEnum<{
1544
+ center: "center";
1545
+ justify: "justify";
1546
+ left: "left";
1547
+ right: "right";
1548
+ }>>;
1549
+ style: z.ZodOptional<z.ZodObject<{
1550
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1551
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1552
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1553
+ }, z.core.$strip>>;
1554
+ textStyle: z.ZodOptional<z.ZodObject<{
1555
+ font: z.ZodOptional<z.ZodEnum<{
1556
+ arial: "arial";
1557
+ calibri: "calibri";
1558
+ cambria: "cambria";
1559
+ courier: "courier";
1560
+ times: "times";
1561
+ }>>;
1562
+ sizePt: z.ZodOptional<z.ZodNumber>;
1563
+ color: z.ZodOptional<z.ZodString>;
1564
+ }, z.core.$strip>>;
1565
+ type: z.ZodLiteral<"list">;
1566
+ ordered: z.ZodBoolean;
1567
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1568
+ font: z.ZodOptional<z.ZodEnum<{
1569
+ arial: "arial";
1570
+ calibri: "calibri";
1571
+ cambria: "cambria";
1572
+ courier: "courier";
1573
+ times: "times";
1574
+ }>>;
1575
+ sizePt: z.ZodOptional<z.ZodNumber>;
1576
+ color: z.ZodOptional<z.ZodString>;
1577
+ text: z.ZodString;
1578
+ bold: z.ZodOptional<z.ZodBoolean>;
1579
+ italic: z.ZodOptional<z.ZodBoolean>;
1580
+ underline: z.ZodOptional<z.ZodBoolean>;
1581
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1582
+ long: "long";
1583
+ short: "short";
1584
+ }>>;
1585
+ }, z.core.$strip>, z.ZodObject<{
1586
+ hardBreak: z.ZodLiteral<true>;
1587
+ }, z.core.$strip>]>>]>>;
1588
+ }, z.core.$strip>, z.ZodObject<{
1589
+ type: z.ZodLiteral<"table">;
1590
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
1591
+ cellPaddingMm: z.ZodOptional<z.ZodNumber>;
1592
+ widthMm: z.ZodOptional<z.ZodNumber>;
1593
+ align: z.ZodOptional<z.ZodEnum<{
1594
+ center: "center";
1595
+ left: "left";
1596
+ right: "right";
1597
+ }>>;
1598
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1599
+ header: z.ZodOptional<z.ZodObject<{
1600
+ cells: z.ZodArray<z.ZodObject<{
1601
+ text: z.ZodOptional<z.ZodString>;
1602
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1603
+ font: z.ZodOptional<z.ZodEnum<{
1604
+ arial: "arial";
1605
+ calibri: "calibri";
1606
+ cambria: "cambria";
1607
+ courier: "courier";
1608
+ times: "times";
1609
+ }>>;
1610
+ sizePt: z.ZodOptional<z.ZodNumber>;
1611
+ color: z.ZodOptional<z.ZodString>;
1612
+ text: z.ZodString;
1613
+ bold: z.ZodOptional<z.ZodBoolean>;
1614
+ italic: z.ZodOptional<z.ZodBoolean>;
1615
+ underline: z.ZodOptional<z.ZodBoolean>;
1616
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1617
+ long: "long";
1618
+ short: "short";
1619
+ }>>;
1620
+ }, z.core.$strip>, z.ZodObject<{
1621
+ hardBreak: z.ZodLiteral<true>;
1622
+ }, z.core.$strip>]>>>;
1623
+ background: z.ZodOptional<z.ZodString>;
1624
+ align: z.ZodOptional<z.ZodEnum<{
1625
+ center: "center";
1626
+ justify: "justify";
1627
+ left: "left";
1628
+ right: "right";
1629
+ }>>;
1630
+ }, z.core.$strip>>;
1631
+ lineAbove: z.ZodOptional<z.ZodObject<{
1632
+ color: z.ZodString;
1633
+ weightPt: z.ZodNumber;
1634
+ }, z.core.$strip>>;
1635
+ lineBelow: z.ZodOptional<z.ZodObject<{
1636
+ color: z.ZodString;
1637
+ weightPt: z.ZodNumber;
1638
+ }, z.core.$strip>>;
1639
+ }, z.core.$strip>>;
1640
+ rows: z.ZodArray<z.ZodObject<{
1641
+ cells: z.ZodArray<z.ZodObject<{
1642
+ text: z.ZodOptional<z.ZodString>;
1643
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1644
+ font: z.ZodOptional<z.ZodEnum<{
1645
+ arial: "arial";
1646
+ calibri: "calibri";
1647
+ cambria: "cambria";
1648
+ courier: "courier";
1649
+ times: "times";
1650
+ }>>;
1651
+ sizePt: z.ZodOptional<z.ZodNumber>;
1652
+ color: z.ZodOptional<z.ZodString>;
1653
+ text: z.ZodString;
1654
+ bold: z.ZodOptional<z.ZodBoolean>;
1655
+ italic: z.ZodOptional<z.ZodBoolean>;
1656
+ underline: z.ZodOptional<z.ZodBoolean>;
1657
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1658
+ long: "long";
1659
+ short: "short";
1660
+ }>>;
1661
+ }, z.core.$strip>, z.ZodObject<{
1662
+ hardBreak: z.ZodLiteral<true>;
1663
+ }, z.core.$strip>]>>>;
1664
+ background: z.ZodOptional<z.ZodString>;
1665
+ align: z.ZodOptional<z.ZodEnum<{
1666
+ center: "center";
1667
+ justify: "justify";
1668
+ left: "left";
1669
+ right: "right";
1670
+ }>>;
1671
+ }, z.core.$strip>>;
1672
+ lineAbove: z.ZodOptional<z.ZodObject<{
1673
+ color: z.ZodString;
1674
+ weightPt: z.ZodNumber;
1675
+ }, z.core.$strip>>;
1676
+ lineBelow: z.ZodOptional<z.ZodObject<{
1677
+ color: z.ZodString;
1678
+ weightPt: z.ZodNumber;
1679
+ }, z.core.$strip>>;
1680
+ }, z.core.$strip>>;
1681
+ repeat: z.ZodOptional<z.ZodObject<{
1682
+ each: z.ZodString;
1683
+ row: z.ZodObject<{
1684
+ cells: z.ZodArray<z.ZodObject<{
1685
+ text: z.ZodOptional<z.ZodString>;
1686
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1687
+ font: z.ZodOptional<z.ZodEnum<{
1688
+ arial: "arial";
1689
+ calibri: "calibri";
1690
+ cambria: "cambria";
1691
+ courier: "courier";
1692
+ times: "times";
1693
+ }>>;
1694
+ sizePt: z.ZodOptional<z.ZodNumber>;
1695
+ color: z.ZodOptional<z.ZodString>;
1696
+ text: z.ZodString;
1697
+ bold: z.ZodOptional<z.ZodBoolean>;
1698
+ italic: z.ZodOptional<z.ZodBoolean>;
1699
+ underline: z.ZodOptional<z.ZodBoolean>;
1700
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1701
+ long: "long";
1702
+ short: "short";
1703
+ }>>;
1704
+ }, z.core.$strip>, z.ZodObject<{
1705
+ hardBreak: z.ZodLiteral<true>;
1706
+ }, z.core.$strip>]>>>;
1707
+ background: z.ZodOptional<z.ZodString>;
1708
+ align: z.ZodOptional<z.ZodEnum<{
1709
+ center: "center";
1710
+ justify: "justify";
1711
+ left: "left";
1712
+ right: "right";
1713
+ }>>;
1714
+ }, z.core.$strip>>;
1715
+ lineAbove: z.ZodOptional<z.ZodObject<{
1716
+ color: z.ZodString;
1717
+ weightPt: z.ZodNumber;
1718
+ }, z.core.$strip>>;
1719
+ lineBelow: z.ZodOptional<z.ZodObject<{
1720
+ color: z.ZodString;
1721
+ weightPt: z.ZodNumber;
1722
+ }, z.core.$strip>>;
1723
+ }, z.core.$strip>;
1724
+ }, z.core.$strip>>;
1725
+ rowsAfterRepeat: z.ZodOptional<z.ZodArray<z.ZodObject<{
1726
+ cells: z.ZodArray<z.ZodObject<{
1727
+ text: z.ZodOptional<z.ZodString>;
1728
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1729
+ font: z.ZodOptional<z.ZodEnum<{
1730
+ arial: "arial";
1731
+ calibri: "calibri";
1732
+ cambria: "cambria";
1733
+ courier: "courier";
1734
+ times: "times";
1735
+ }>>;
1736
+ sizePt: z.ZodOptional<z.ZodNumber>;
1737
+ color: z.ZodOptional<z.ZodString>;
1738
+ text: z.ZodString;
1739
+ bold: z.ZodOptional<z.ZodBoolean>;
1740
+ italic: z.ZodOptional<z.ZodBoolean>;
1741
+ underline: z.ZodOptional<z.ZodBoolean>;
1742
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1743
+ long: "long";
1744
+ short: "short";
1745
+ }>>;
1746
+ }, z.core.$strip>, z.ZodObject<{
1747
+ hardBreak: z.ZodLiteral<true>;
1748
+ }, z.core.$strip>]>>>;
1749
+ background: z.ZodOptional<z.ZodString>;
1750
+ align: z.ZodOptional<z.ZodEnum<{
1751
+ center: "center";
1752
+ justify: "justify";
1753
+ left: "left";
1754
+ right: "right";
1755
+ }>>;
1756
+ }, z.core.$strip>>;
1757
+ lineAbove: z.ZodOptional<z.ZodObject<{
1758
+ color: z.ZodString;
1759
+ weightPt: z.ZodNumber;
1760
+ }, z.core.$strip>>;
1761
+ lineBelow: z.ZodOptional<z.ZodObject<{
1762
+ color: z.ZodString;
1763
+ weightPt: z.ZodNumber;
1764
+ }, z.core.$strip>>;
1765
+ }, z.core.$strip>>>;
1766
+ }, z.core.$strip>, z.ZodObject<{
1767
+ type: z.ZodLiteral<"frame">;
1768
+ xMm: z.ZodNumber;
1769
+ yMm: z.ZodNumber;
1770
+ widthMm: z.ZodNumber;
1771
+ heightMm: z.ZodNumber;
1772
+ preset: z.ZodOptional<z.ZodEnum<{
1773
+ address: "address";
1774
+ text: "text";
1775
+ }>>;
1776
+ reserveFlow: z.ZodOptional<z.ZodBoolean>;
1777
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1778
+ align: z.ZodOptional<z.ZodEnum<{
1779
+ center: "center";
1780
+ justify: "justify";
1781
+ left: "left";
1782
+ right: "right";
1783
+ }>>;
1784
+ style: z.ZodOptional<z.ZodObject<{
1785
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1786
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1787
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1788
+ }, z.core.$strip>>;
1789
+ textStyle: z.ZodOptional<z.ZodObject<{
1790
+ font: z.ZodOptional<z.ZodEnum<{
1791
+ arial: "arial";
1792
+ calibri: "calibri";
1793
+ cambria: "cambria";
1794
+ courier: "courier";
1795
+ times: "times";
1796
+ }>>;
1797
+ sizePt: z.ZodOptional<z.ZodNumber>;
1798
+ color: z.ZodOptional<z.ZodString>;
1799
+ }, z.core.$strip>>;
1800
+ text: z.ZodOptional<z.ZodString>;
1801
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1802
+ font: z.ZodOptional<z.ZodEnum<{
1803
+ arial: "arial";
1804
+ calibri: "calibri";
1805
+ cambria: "cambria";
1806
+ courier: "courier";
1807
+ times: "times";
1808
+ }>>;
1809
+ sizePt: z.ZodOptional<z.ZodNumber>;
1810
+ color: z.ZodOptional<z.ZodString>;
1811
+ text: z.ZodString;
1812
+ bold: z.ZodOptional<z.ZodBoolean>;
1813
+ italic: z.ZodOptional<z.ZodBoolean>;
1814
+ underline: z.ZodOptional<z.ZodBoolean>;
1815
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1816
+ long: "long";
1817
+ short: "short";
1818
+ }>>;
1819
+ }, z.core.$strip>, z.ZodObject<{
1820
+ hardBreak: z.ZodLiteral<true>;
1821
+ }, z.core.$strip>]>>>;
1822
+ type: z.ZodLiteral<"paragraph">;
1823
+ }, z.core.$strip>, z.ZodObject<{
1824
+ align: z.ZodOptional<z.ZodEnum<{
1825
+ center: "center";
1826
+ justify: "justify";
1827
+ left: "left";
1828
+ right: "right";
1829
+ }>>;
1830
+ style: z.ZodOptional<z.ZodObject<{
1831
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1832
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1833
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1834
+ }, z.core.$strip>>;
1835
+ textStyle: z.ZodOptional<z.ZodObject<{
1836
+ font: z.ZodOptional<z.ZodEnum<{
1837
+ arial: "arial";
1838
+ calibri: "calibri";
1839
+ cambria: "cambria";
1840
+ courier: "courier";
1841
+ times: "times";
1842
+ }>>;
1843
+ sizePt: z.ZodOptional<z.ZodNumber>;
1844
+ color: z.ZodOptional<z.ZodString>;
1845
+ }, z.core.$strip>>;
1846
+ text: z.ZodOptional<z.ZodString>;
1847
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1848
+ font: z.ZodOptional<z.ZodEnum<{
1849
+ arial: "arial";
1850
+ calibri: "calibri";
1851
+ cambria: "cambria";
1852
+ courier: "courier";
1853
+ times: "times";
1854
+ }>>;
1855
+ sizePt: z.ZodOptional<z.ZodNumber>;
1856
+ color: z.ZodOptional<z.ZodString>;
1857
+ text: z.ZodString;
1858
+ bold: z.ZodOptional<z.ZodBoolean>;
1859
+ italic: z.ZodOptional<z.ZodBoolean>;
1860
+ underline: z.ZodOptional<z.ZodBoolean>;
1861
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1862
+ long: "long";
1863
+ short: "short";
1864
+ }>>;
1865
+ }, z.core.$strip>, z.ZodObject<{
1866
+ hardBreak: z.ZodLiteral<true>;
1867
+ }, z.core.$strip>]>>>;
1868
+ type: z.ZodLiteral<"heading">;
1869
+ level: z.ZodNumber;
1870
+ }, z.core.$strip>, z.ZodObject<{
1871
+ align: z.ZodOptional<z.ZodEnum<{
1872
+ center: "center";
1873
+ justify: "justify";
1874
+ left: "left";
1875
+ right: "right";
1876
+ }>>;
1877
+ style: z.ZodOptional<z.ZodObject<{
1878
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1879
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1880
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1881
+ }, z.core.$strip>>;
1882
+ textStyle: z.ZodOptional<z.ZodObject<{
1883
+ font: z.ZodOptional<z.ZodEnum<{
1884
+ arial: "arial";
1885
+ calibri: "calibri";
1886
+ cambria: "cambria";
1887
+ courier: "courier";
1888
+ times: "times";
1889
+ }>>;
1890
+ sizePt: z.ZodOptional<z.ZodNumber>;
1891
+ color: z.ZodOptional<z.ZodString>;
1892
+ }, z.core.$strip>>;
1893
+ type: z.ZodLiteral<"list">;
1894
+ ordered: z.ZodBoolean;
1895
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1896
+ font: z.ZodOptional<z.ZodEnum<{
1897
+ arial: "arial";
1898
+ calibri: "calibri";
1899
+ cambria: "cambria";
1900
+ courier: "courier";
1901
+ times: "times";
1902
+ }>>;
1903
+ sizePt: z.ZodOptional<z.ZodNumber>;
1904
+ color: z.ZodOptional<z.ZodString>;
1905
+ text: z.ZodString;
1906
+ bold: z.ZodOptional<z.ZodBoolean>;
1907
+ italic: z.ZodOptional<z.ZodBoolean>;
1908
+ underline: z.ZodOptional<z.ZodBoolean>;
1909
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1910
+ long: "long";
1911
+ short: "short";
1912
+ }>>;
1913
+ }, z.core.$strip>, z.ZodObject<{
1914
+ hardBreak: z.ZodLiteral<true>;
1915
+ }, z.core.$strip>]>>]>>;
1916
+ }, z.core.$strip>, z.ZodObject<{
1917
+ type: z.ZodLiteral<"table">;
1918
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
1919
+ cellPaddingMm: z.ZodOptional<z.ZodNumber>;
1920
+ widthMm: z.ZodOptional<z.ZodNumber>;
1921
+ align: z.ZodOptional<z.ZodEnum<{
1922
+ center: "center";
1923
+ left: "left";
1924
+ right: "right";
1925
+ }>>;
1926
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1927
+ header: z.ZodOptional<z.ZodObject<{
1928
+ cells: z.ZodArray<z.ZodObject<{
1929
+ text: z.ZodOptional<z.ZodString>;
1930
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1931
+ font: z.ZodOptional<z.ZodEnum<{
1932
+ arial: "arial";
1933
+ calibri: "calibri";
1934
+ cambria: "cambria";
1935
+ courier: "courier";
1936
+ times: "times";
1937
+ }>>;
1938
+ sizePt: z.ZodOptional<z.ZodNumber>;
1939
+ color: z.ZodOptional<z.ZodString>;
1940
+ text: z.ZodString;
1941
+ bold: z.ZodOptional<z.ZodBoolean>;
1942
+ italic: z.ZodOptional<z.ZodBoolean>;
1943
+ underline: z.ZodOptional<z.ZodBoolean>;
1944
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1945
+ long: "long";
1946
+ short: "short";
1947
+ }>>;
1948
+ }, z.core.$strip>, z.ZodObject<{
1949
+ hardBreak: z.ZodLiteral<true>;
1950
+ }, z.core.$strip>]>>>;
1951
+ background: z.ZodOptional<z.ZodString>;
1952
+ align: z.ZodOptional<z.ZodEnum<{
1953
+ center: "center";
1954
+ justify: "justify";
1955
+ left: "left";
1956
+ right: "right";
1957
+ }>>;
1958
+ }, z.core.$strip>>;
1959
+ lineAbove: z.ZodOptional<z.ZodObject<{
1960
+ color: z.ZodString;
1961
+ weightPt: z.ZodNumber;
1962
+ }, z.core.$strip>>;
1963
+ lineBelow: z.ZodOptional<z.ZodObject<{
1964
+ color: z.ZodString;
1965
+ weightPt: z.ZodNumber;
1966
+ }, z.core.$strip>>;
1967
+ }, z.core.$strip>>;
1968
+ rows: z.ZodArray<z.ZodObject<{
1969
+ cells: z.ZodArray<z.ZodObject<{
1970
+ text: z.ZodOptional<z.ZodString>;
1971
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1972
+ font: z.ZodOptional<z.ZodEnum<{
1973
+ arial: "arial";
1974
+ calibri: "calibri";
1975
+ cambria: "cambria";
1976
+ courier: "courier";
1977
+ times: "times";
1978
+ }>>;
1979
+ sizePt: z.ZodOptional<z.ZodNumber>;
1980
+ color: z.ZodOptional<z.ZodString>;
1981
+ text: z.ZodString;
1982
+ bold: z.ZodOptional<z.ZodBoolean>;
1983
+ italic: z.ZodOptional<z.ZodBoolean>;
1984
+ underline: z.ZodOptional<z.ZodBoolean>;
1985
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1986
+ long: "long";
1987
+ short: "short";
1988
+ }>>;
1989
+ }, z.core.$strip>, z.ZodObject<{
1990
+ hardBreak: z.ZodLiteral<true>;
1991
+ }, z.core.$strip>]>>>;
1992
+ background: z.ZodOptional<z.ZodString>;
1993
+ align: z.ZodOptional<z.ZodEnum<{
1994
+ center: "center";
1995
+ justify: "justify";
1996
+ left: "left";
1997
+ right: "right";
1998
+ }>>;
1999
+ }, z.core.$strip>>;
2000
+ lineAbove: z.ZodOptional<z.ZodObject<{
2001
+ color: z.ZodString;
2002
+ weightPt: z.ZodNumber;
2003
+ }, z.core.$strip>>;
2004
+ lineBelow: z.ZodOptional<z.ZodObject<{
2005
+ color: z.ZodString;
2006
+ weightPt: z.ZodNumber;
2007
+ }, z.core.$strip>>;
2008
+ }, z.core.$strip>>;
2009
+ repeat: z.ZodOptional<z.ZodObject<{
2010
+ each: z.ZodString;
2011
+ row: z.ZodObject<{
2012
+ cells: z.ZodArray<z.ZodObject<{
2013
+ text: z.ZodOptional<z.ZodString>;
2014
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2015
+ font: z.ZodOptional<z.ZodEnum<{
2016
+ arial: "arial";
2017
+ calibri: "calibri";
2018
+ cambria: "cambria";
2019
+ courier: "courier";
2020
+ times: "times";
2021
+ }>>;
2022
+ sizePt: z.ZodOptional<z.ZodNumber>;
2023
+ color: z.ZodOptional<z.ZodString>;
2024
+ text: z.ZodString;
2025
+ bold: z.ZodOptional<z.ZodBoolean>;
2026
+ italic: z.ZodOptional<z.ZodBoolean>;
2027
+ underline: z.ZodOptional<z.ZodBoolean>;
2028
+ dateStyle: z.ZodOptional<z.ZodEnum<{
2029
+ long: "long";
2030
+ short: "short";
2031
+ }>>;
2032
+ }, z.core.$strip>, z.ZodObject<{
2033
+ hardBreak: z.ZodLiteral<true>;
2034
+ }, z.core.$strip>]>>>;
2035
+ background: z.ZodOptional<z.ZodString>;
2036
+ align: z.ZodOptional<z.ZodEnum<{
2037
+ center: "center";
2038
+ justify: "justify";
2039
+ left: "left";
2040
+ right: "right";
2041
+ }>>;
2042
+ }, z.core.$strip>>;
2043
+ lineAbove: z.ZodOptional<z.ZodObject<{
2044
+ color: z.ZodString;
2045
+ weightPt: z.ZodNumber;
2046
+ }, z.core.$strip>>;
2047
+ lineBelow: z.ZodOptional<z.ZodObject<{
2048
+ color: z.ZodString;
2049
+ weightPt: z.ZodNumber;
2050
+ }, z.core.$strip>>;
2051
+ }, z.core.$strip>;
2052
+ }, z.core.$strip>>;
2053
+ rowsAfterRepeat: z.ZodOptional<z.ZodArray<z.ZodObject<{
2054
+ cells: z.ZodArray<z.ZodObject<{
2055
+ text: z.ZodOptional<z.ZodString>;
2056
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2057
+ font: z.ZodOptional<z.ZodEnum<{
2058
+ arial: "arial";
2059
+ calibri: "calibri";
2060
+ cambria: "cambria";
2061
+ courier: "courier";
2062
+ times: "times";
2063
+ }>>;
2064
+ sizePt: z.ZodOptional<z.ZodNumber>;
2065
+ color: z.ZodOptional<z.ZodString>;
2066
+ text: z.ZodString;
2067
+ bold: z.ZodOptional<z.ZodBoolean>;
2068
+ italic: z.ZodOptional<z.ZodBoolean>;
2069
+ underline: z.ZodOptional<z.ZodBoolean>;
2070
+ dateStyle: z.ZodOptional<z.ZodEnum<{
2071
+ long: "long";
2072
+ short: "short";
2073
+ }>>;
2074
+ }, z.core.$strip>, z.ZodObject<{
2075
+ hardBreak: z.ZodLiteral<true>;
2076
+ }, z.core.$strip>]>>>;
2077
+ background: z.ZodOptional<z.ZodString>;
2078
+ align: z.ZodOptional<z.ZodEnum<{
2079
+ center: "center";
2080
+ justify: "justify";
2081
+ left: "left";
2082
+ right: "right";
2083
+ }>>;
2084
+ }, z.core.$strip>>;
2085
+ lineAbove: z.ZodOptional<z.ZodObject<{
2086
+ color: z.ZodString;
2087
+ weightPt: z.ZodNumber;
2088
+ }, z.core.$strip>>;
2089
+ lineBelow: z.ZodOptional<z.ZodObject<{
2090
+ color: z.ZodString;
2091
+ weightPt: z.ZodNumber;
2092
+ }, z.core.$strip>>;
2093
+ }, z.core.$strip>>>;
2094
+ }, z.core.$strip>, z.ZodObject<{
2095
+ type: z.ZodLiteral<"image">;
2096
+ resource: z.ZodString;
2097
+ alt: z.ZodOptional<z.ZodString>;
2098
+ widthMm: z.ZodOptional<z.ZodNumber>;
2099
+ align: z.ZodOptional<z.ZodEnum<{
2100
+ center: "center";
2101
+ left: "left";
2102
+ right: "right";
2103
+ }>>;
2104
+ bleed: z.ZodOptional<z.ZodBoolean>;
2105
+ }, z.core.$strip>], "type">>;
115
2106
  }, z.core.$strip>, z.ZodObject<{
116
2107
  type: z.ZodLiteral<"image">;
117
2108
  resource: z.ZodString;
118
2109
  alt: z.ZodOptional<z.ZodString>;
2110
+ widthMm: z.ZodOptional<z.ZodNumber>;
2111
+ align: z.ZodOptional<z.ZodEnum<{
2112
+ center: "center";
2113
+ left: "left";
2114
+ right: "right";
2115
+ }>>;
2116
+ bleed: z.ZodOptional<z.ZodBoolean>;
119
2117
  }, z.core.$strip>, z.ZodObject<{
120
2118
  type: z.ZodLiteral<"button">;
121
2119
  text: z.ZodString;
122
2120
  href: z.ZodString;
123
2121
  }, z.core.$strip>, z.ZodObject<{
124
2122
  type: z.ZodLiteral<"divider">;
2123
+ color: z.ZodOptional<z.ZodString>;
2124
+ weightPt: z.ZodOptional<z.ZodNumber>;
125
2125
  }, z.core.$strip>, z.ZodObject<{
126
2126
  type: z.ZodLiteral<"pageBreak">;
127
2127
  }, z.core.$strip>], "type">;
@@ -133,6 +2133,712 @@ export declare const documentOpsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.Zo
133
2133
  }, z.core.$strip>, z.ZodObject<{
134
2134
  op: z.ZodLiteral<"removeBlock">;
135
2135
  blockId: z.ZodString;
2136
+ }, z.core.$strip>, z.ZodObject<{
2137
+ op: z.ZodLiteral<"replaceBody">;
2138
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2139
+ align: z.ZodOptional<z.ZodEnum<{
2140
+ center: "center";
2141
+ justify: "justify";
2142
+ left: "left";
2143
+ right: "right";
2144
+ }>>;
2145
+ style: z.ZodOptional<z.ZodObject<{
2146
+ lineHeight: z.ZodOptional<z.ZodNumber>;
2147
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
2148
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
2149
+ }, z.core.$strip>>;
2150
+ textStyle: z.ZodOptional<z.ZodObject<{
2151
+ font: z.ZodOptional<z.ZodEnum<{
2152
+ arial: "arial";
2153
+ calibri: "calibri";
2154
+ cambria: "cambria";
2155
+ courier: "courier";
2156
+ times: "times";
2157
+ }>>;
2158
+ sizePt: z.ZodOptional<z.ZodNumber>;
2159
+ color: z.ZodOptional<z.ZodString>;
2160
+ }, z.core.$strip>>;
2161
+ text: z.ZodOptional<z.ZodString>;
2162
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2163
+ font: z.ZodOptional<z.ZodEnum<{
2164
+ arial: "arial";
2165
+ calibri: "calibri";
2166
+ cambria: "cambria";
2167
+ courier: "courier";
2168
+ times: "times";
2169
+ }>>;
2170
+ sizePt: z.ZodOptional<z.ZodNumber>;
2171
+ color: z.ZodOptional<z.ZodString>;
2172
+ text: z.ZodString;
2173
+ bold: z.ZodOptional<z.ZodBoolean>;
2174
+ italic: z.ZodOptional<z.ZodBoolean>;
2175
+ underline: z.ZodOptional<z.ZodBoolean>;
2176
+ dateStyle: z.ZodOptional<z.ZodEnum<{
2177
+ long: "long";
2178
+ short: "short";
2179
+ }>>;
2180
+ }, z.core.$strip>, z.ZodObject<{
2181
+ hardBreak: z.ZodLiteral<true>;
2182
+ }, z.core.$strip>]>>>;
2183
+ type: z.ZodLiteral<"paragraph">;
2184
+ }, z.core.$strip>, z.ZodObject<{
2185
+ align: z.ZodOptional<z.ZodEnum<{
2186
+ center: "center";
2187
+ justify: "justify";
2188
+ left: "left";
2189
+ right: "right";
2190
+ }>>;
2191
+ style: z.ZodOptional<z.ZodObject<{
2192
+ lineHeight: z.ZodOptional<z.ZodNumber>;
2193
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
2194
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
2195
+ }, z.core.$strip>>;
2196
+ textStyle: z.ZodOptional<z.ZodObject<{
2197
+ font: z.ZodOptional<z.ZodEnum<{
2198
+ arial: "arial";
2199
+ calibri: "calibri";
2200
+ cambria: "cambria";
2201
+ courier: "courier";
2202
+ times: "times";
2203
+ }>>;
2204
+ sizePt: z.ZodOptional<z.ZodNumber>;
2205
+ color: z.ZodOptional<z.ZodString>;
2206
+ }, z.core.$strip>>;
2207
+ text: z.ZodOptional<z.ZodString>;
2208
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2209
+ font: z.ZodOptional<z.ZodEnum<{
2210
+ arial: "arial";
2211
+ calibri: "calibri";
2212
+ cambria: "cambria";
2213
+ courier: "courier";
2214
+ times: "times";
2215
+ }>>;
2216
+ sizePt: z.ZodOptional<z.ZodNumber>;
2217
+ color: z.ZodOptional<z.ZodString>;
2218
+ text: z.ZodString;
2219
+ bold: z.ZodOptional<z.ZodBoolean>;
2220
+ italic: z.ZodOptional<z.ZodBoolean>;
2221
+ underline: z.ZodOptional<z.ZodBoolean>;
2222
+ dateStyle: z.ZodOptional<z.ZodEnum<{
2223
+ long: "long";
2224
+ short: "short";
2225
+ }>>;
2226
+ }, z.core.$strip>, z.ZodObject<{
2227
+ hardBreak: z.ZodLiteral<true>;
2228
+ }, z.core.$strip>]>>>;
2229
+ type: z.ZodLiteral<"heading">;
2230
+ level: z.ZodNumber;
2231
+ }, z.core.$strip>, z.ZodObject<{
2232
+ align: z.ZodOptional<z.ZodEnum<{
2233
+ center: "center";
2234
+ justify: "justify";
2235
+ left: "left";
2236
+ right: "right";
2237
+ }>>;
2238
+ style: z.ZodOptional<z.ZodObject<{
2239
+ lineHeight: z.ZodOptional<z.ZodNumber>;
2240
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
2241
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
2242
+ }, z.core.$strip>>;
2243
+ textStyle: z.ZodOptional<z.ZodObject<{
2244
+ font: z.ZodOptional<z.ZodEnum<{
2245
+ arial: "arial";
2246
+ calibri: "calibri";
2247
+ cambria: "cambria";
2248
+ courier: "courier";
2249
+ times: "times";
2250
+ }>>;
2251
+ sizePt: z.ZodOptional<z.ZodNumber>;
2252
+ color: z.ZodOptional<z.ZodString>;
2253
+ }, z.core.$strip>>;
2254
+ type: z.ZodLiteral<"list">;
2255
+ ordered: z.ZodBoolean;
2256
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2257
+ font: z.ZodOptional<z.ZodEnum<{
2258
+ arial: "arial";
2259
+ calibri: "calibri";
2260
+ cambria: "cambria";
2261
+ courier: "courier";
2262
+ times: "times";
2263
+ }>>;
2264
+ sizePt: z.ZodOptional<z.ZodNumber>;
2265
+ color: z.ZodOptional<z.ZodString>;
2266
+ text: z.ZodString;
2267
+ bold: z.ZodOptional<z.ZodBoolean>;
2268
+ italic: z.ZodOptional<z.ZodBoolean>;
2269
+ underline: z.ZodOptional<z.ZodBoolean>;
2270
+ dateStyle: z.ZodOptional<z.ZodEnum<{
2271
+ long: "long";
2272
+ short: "short";
2273
+ }>>;
2274
+ }, z.core.$strip>, z.ZodObject<{
2275
+ hardBreak: z.ZodLiteral<true>;
2276
+ }, z.core.$strip>]>>]>>;
2277
+ }, z.core.$strip>, z.ZodObject<{
2278
+ type: z.ZodLiteral<"table">;
2279
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
2280
+ cellPaddingMm: z.ZodOptional<z.ZodNumber>;
2281
+ widthMm: z.ZodOptional<z.ZodNumber>;
2282
+ align: z.ZodOptional<z.ZodEnum<{
2283
+ center: "center";
2284
+ left: "left";
2285
+ right: "right";
2286
+ }>>;
2287
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2288
+ header: z.ZodOptional<z.ZodObject<{
2289
+ cells: z.ZodArray<z.ZodObject<{
2290
+ text: z.ZodOptional<z.ZodString>;
2291
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2292
+ font: z.ZodOptional<z.ZodEnum<{
2293
+ arial: "arial";
2294
+ calibri: "calibri";
2295
+ cambria: "cambria";
2296
+ courier: "courier";
2297
+ times: "times";
2298
+ }>>;
2299
+ sizePt: z.ZodOptional<z.ZodNumber>;
2300
+ color: z.ZodOptional<z.ZodString>;
2301
+ text: z.ZodString;
2302
+ bold: z.ZodOptional<z.ZodBoolean>;
2303
+ italic: z.ZodOptional<z.ZodBoolean>;
2304
+ underline: z.ZodOptional<z.ZodBoolean>;
2305
+ dateStyle: z.ZodOptional<z.ZodEnum<{
2306
+ long: "long";
2307
+ short: "short";
2308
+ }>>;
2309
+ }, z.core.$strip>, z.ZodObject<{
2310
+ hardBreak: z.ZodLiteral<true>;
2311
+ }, z.core.$strip>]>>>;
2312
+ background: z.ZodOptional<z.ZodString>;
2313
+ align: z.ZodOptional<z.ZodEnum<{
2314
+ center: "center";
2315
+ justify: "justify";
2316
+ left: "left";
2317
+ right: "right";
2318
+ }>>;
2319
+ }, z.core.$strip>>;
2320
+ lineAbove: z.ZodOptional<z.ZodObject<{
2321
+ color: z.ZodString;
2322
+ weightPt: z.ZodNumber;
2323
+ }, z.core.$strip>>;
2324
+ lineBelow: z.ZodOptional<z.ZodObject<{
2325
+ color: z.ZodString;
2326
+ weightPt: z.ZodNumber;
2327
+ }, z.core.$strip>>;
2328
+ }, z.core.$strip>>;
2329
+ rows: z.ZodArray<z.ZodObject<{
2330
+ cells: z.ZodArray<z.ZodObject<{
2331
+ text: z.ZodOptional<z.ZodString>;
2332
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2333
+ font: z.ZodOptional<z.ZodEnum<{
2334
+ arial: "arial";
2335
+ calibri: "calibri";
2336
+ cambria: "cambria";
2337
+ courier: "courier";
2338
+ times: "times";
2339
+ }>>;
2340
+ sizePt: z.ZodOptional<z.ZodNumber>;
2341
+ color: z.ZodOptional<z.ZodString>;
2342
+ text: z.ZodString;
2343
+ bold: z.ZodOptional<z.ZodBoolean>;
2344
+ italic: z.ZodOptional<z.ZodBoolean>;
2345
+ underline: z.ZodOptional<z.ZodBoolean>;
2346
+ dateStyle: z.ZodOptional<z.ZodEnum<{
2347
+ long: "long";
2348
+ short: "short";
2349
+ }>>;
2350
+ }, z.core.$strip>, z.ZodObject<{
2351
+ hardBreak: z.ZodLiteral<true>;
2352
+ }, z.core.$strip>]>>>;
2353
+ background: z.ZodOptional<z.ZodString>;
2354
+ align: z.ZodOptional<z.ZodEnum<{
2355
+ center: "center";
2356
+ justify: "justify";
2357
+ left: "left";
2358
+ right: "right";
2359
+ }>>;
2360
+ }, z.core.$strip>>;
2361
+ lineAbove: z.ZodOptional<z.ZodObject<{
2362
+ color: z.ZodString;
2363
+ weightPt: z.ZodNumber;
2364
+ }, z.core.$strip>>;
2365
+ lineBelow: z.ZodOptional<z.ZodObject<{
2366
+ color: z.ZodString;
2367
+ weightPt: z.ZodNumber;
2368
+ }, z.core.$strip>>;
2369
+ }, z.core.$strip>>;
2370
+ repeat: z.ZodOptional<z.ZodObject<{
2371
+ each: z.ZodString;
2372
+ row: z.ZodObject<{
2373
+ cells: z.ZodArray<z.ZodObject<{
2374
+ text: z.ZodOptional<z.ZodString>;
2375
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2376
+ font: z.ZodOptional<z.ZodEnum<{
2377
+ arial: "arial";
2378
+ calibri: "calibri";
2379
+ cambria: "cambria";
2380
+ courier: "courier";
2381
+ times: "times";
2382
+ }>>;
2383
+ sizePt: z.ZodOptional<z.ZodNumber>;
2384
+ color: z.ZodOptional<z.ZodString>;
2385
+ text: z.ZodString;
2386
+ bold: z.ZodOptional<z.ZodBoolean>;
2387
+ italic: z.ZodOptional<z.ZodBoolean>;
2388
+ underline: z.ZodOptional<z.ZodBoolean>;
2389
+ dateStyle: z.ZodOptional<z.ZodEnum<{
2390
+ long: "long";
2391
+ short: "short";
2392
+ }>>;
2393
+ }, z.core.$strip>, z.ZodObject<{
2394
+ hardBreak: z.ZodLiteral<true>;
2395
+ }, z.core.$strip>]>>>;
2396
+ background: z.ZodOptional<z.ZodString>;
2397
+ align: z.ZodOptional<z.ZodEnum<{
2398
+ center: "center";
2399
+ justify: "justify";
2400
+ left: "left";
2401
+ right: "right";
2402
+ }>>;
2403
+ }, z.core.$strip>>;
2404
+ lineAbove: z.ZodOptional<z.ZodObject<{
2405
+ color: z.ZodString;
2406
+ weightPt: z.ZodNumber;
2407
+ }, z.core.$strip>>;
2408
+ lineBelow: z.ZodOptional<z.ZodObject<{
2409
+ color: z.ZodString;
2410
+ weightPt: z.ZodNumber;
2411
+ }, z.core.$strip>>;
2412
+ }, z.core.$strip>;
2413
+ }, z.core.$strip>>;
2414
+ rowsAfterRepeat: z.ZodOptional<z.ZodArray<z.ZodObject<{
2415
+ cells: z.ZodArray<z.ZodObject<{
2416
+ text: z.ZodOptional<z.ZodString>;
2417
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2418
+ font: z.ZodOptional<z.ZodEnum<{
2419
+ arial: "arial";
2420
+ calibri: "calibri";
2421
+ cambria: "cambria";
2422
+ courier: "courier";
2423
+ times: "times";
2424
+ }>>;
2425
+ sizePt: z.ZodOptional<z.ZodNumber>;
2426
+ color: z.ZodOptional<z.ZodString>;
2427
+ text: z.ZodString;
2428
+ bold: z.ZodOptional<z.ZodBoolean>;
2429
+ italic: z.ZodOptional<z.ZodBoolean>;
2430
+ underline: z.ZodOptional<z.ZodBoolean>;
2431
+ dateStyle: z.ZodOptional<z.ZodEnum<{
2432
+ long: "long";
2433
+ short: "short";
2434
+ }>>;
2435
+ }, z.core.$strip>, z.ZodObject<{
2436
+ hardBreak: z.ZodLiteral<true>;
2437
+ }, z.core.$strip>]>>>;
2438
+ background: z.ZodOptional<z.ZodString>;
2439
+ align: z.ZodOptional<z.ZodEnum<{
2440
+ center: "center";
2441
+ justify: "justify";
2442
+ left: "left";
2443
+ right: "right";
2444
+ }>>;
2445
+ }, z.core.$strip>>;
2446
+ lineAbove: z.ZodOptional<z.ZodObject<{
2447
+ color: z.ZodString;
2448
+ weightPt: z.ZodNumber;
2449
+ }, z.core.$strip>>;
2450
+ lineBelow: z.ZodOptional<z.ZodObject<{
2451
+ color: z.ZodString;
2452
+ weightPt: z.ZodNumber;
2453
+ }, z.core.$strip>>;
2454
+ }, z.core.$strip>>>;
2455
+ }, z.core.$strip>, z.ZodObject<{
2456
+ type: z.ZodLiteral<"frame">;
2457
+ xMm: z.ZodNumber;
2458
+ yMm: z.ZodNumber;
2459
+ widthMm: z.ZodNumber;
2460
+ heightMm: z.ZodNumber;
2461
+ preset: z.ZodOptional<z.ZodEnum<{
2462
+ address: "address";
2463
+ text: "text";
2464
+ }>>;
2465
+ reserveFlow: z.ZodOptional<z.ZodBoolean>;
2466
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2467
+ align: z.ZodOptional<z.ZodEnum<{
2468
+ center: "center";
2469
+ justify: "justify";
2470
+ left: "left";
2471
+ right: "right";
2472
+ }>>;
2473
+ style: z.ZodOptional<z.ZodObject<{
2474
+ lineHeight: z.ZodOptional<z.ZodNumber>;
2475
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
2476
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
2477
+ }, z.core.$strip>>;
2478
+ textStyle: z.ZodOptional<z.ZodObject<{
2479
+ font: z.ZodOptional<z.ZodEnum<{
2480
+ arial: "arial";
2481
+ calibri: "calibri";
2482
+ cambria: "cambria";
2483
+ courier: "courier";
2484
+ times: "times";
2485
+ }>>;
2486
+ sizePt: z.ZodOptional<z.ZodNumber>;
2487
+ color: z.ZodOptional<z.ZodString>;
2488
+ }, z.core.$strip>>;
2489
+ text: z.ZodOptional<z.ZodString>;
2490
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2491
+ font: z.ZodOptional<z.ZodEnum<{
2492
+ arial: "arial";
2493
+ calibri: "calibri";
2494
+ cambria: "cambria";
2495
+ courier: "courier";
2496
+ times: "times";
2497
+ }>>;
2498
+ sizePt: z.ZodOptional<z.ZodNumber>;
2499
+ color: z.ZodOptional<z.ZodString>;
2500
+ text: z.ZodString;
2501
+ bold: z.ZodOptional<z.ZodBoolean>;
2502
+ italic: z.ZodOptional<z.ZodBoolean>;
2503
+ underline: z.ZodOptional<z.ZodBoolean>;
2504
+ dateStyle: z.ZodOptional<z.ZodEnum<{
2505
+ long: "long";
2506
+ short: "short";
2507
+ }>>;
2508
+ }, z.core.$strip>, z.ZodObject<{
2509
+ hardBreak: z.ZodLiteral<true>;
2510
+ }, z.core.$strip>]>>>;
2511
+ type: z.ZodLiteral<"paragraph">;
2512
+ }, z.core.$strip>, z.ZodObject<{
2513
+ align: z.ZodOptional<z.ZodEnum<{
2514
+ center: "center";
2515
+ justify: "justify";
2516
+ left: "left";
2517
+ right: "right";
2518
+ }>>;
2519
+ style: z.ZodOptional<z.ZodObject<{
2520
+ lineHeight: z.ZodOptional<z.ZodNumber>;
2521
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
2522
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
2523
+ }, z.core.$strip>>;
2524
+ textStyle: z.ZodOptional<z.ZodObject<{
2525
+ font: z.ZodOptional<z.ZodEnum<{
2526
+ arial: "arial";
2527
+ calibri: "calibri";
2528
+ cambria: "cambria";
2529
+ courier: "courier";
2530
+ times: "times";
2531
+ }>>;
2532
+ sizePt: z.ZodOptional<z.ZodNumber>;
2533
+ color: z.ZodOptional<z.ZodString>;
2534
+ }, z.core.$strip>>;
2535
+ text: z.ZodOptional<z.ZodString>;
2536
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2537
+ font: z.ZodOptional<z.ZodEnum<{
2538
+ arial: "arial";
2539
+ calibri: "calibri";
2540
+ cambria: "cambria";
2541
+ courier: "courier";
2542
+ times: "times";
2543
+ }>>;
2544
+ sizePt: z.ZodOptional<z.ZodNumber>;
2545
+ color: z.ZodOptional<z.ZodString>;
2546
+ text: z.ZodString;
2547
+ bold: z.ZodOptional<z.ZodBoolean>;
2548
+ italic: z.ZodOptional<z.ZodBoolean>;
2549
+ underline: z.ZodOptional<z.ZodBoolean>;
2550
+ dateStyle: z.ZodOptional<z.ZodEnum<{
2551
+ long: "long";
2552
+ short: "short";
2553
+ }>>;
2554
+ }, z.core.$strip>, z.ZodObject<{
2555
+ hardBreak: z.ZodLiteral<true>;
2556
+ }, z.core.$strip>]>>>;
2557
+ type: z.ZodLiteral<"heading">;
2558
+ level: z.ZodNumber;
2559
+ }, z.core.$strip>, z.ZodObject<{
2560
+ align: z.ZodOptional<z.ZodEnum<{
2561
+ center: "center";
2562
+ justify: "justify";
2563
+ left: "left";
2564
+ right: "right";
2565
+ }>>;
2566
+ style: z.ZodOptional<z.ZodObject<{
2567
+ lineHeight: z.ZodOptional<z.ZodNumber>;
2568
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
2569
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
2570
+ }, z.core.$strip>>;
2571
+ textStyle: z.ZodOptional<z.ZodObject<{
2572
+ font: z.ZodOptional<z.ZodEnum<{
2573
+ arial: "arial";
2574
+ calibri: "calibri";
2575
+ cambria: "cambria";
2576
+ courier: "courier";
2577
+ times: "times";
2578
+ }>>;
2579
+ sizePt: z.ZodOptional<z.ZodNumber>;
2580
+ color: z.ZodOptional<z.ZodString>;
2581
+ }, z.core.$strip>>;
2582
+ type: z.ZodLiteral<"list">;
2583
+ ordered: z.ZodBoolean;
2584
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2585
+ font: z.ZodOptional<z.ZodEnum<{
2586
+ arial: "arial";
2587
+ calibri: "calibri";
2588
+ cambria: "cambria";
2589
+ courier: "courier";
2590
+ times: "times";
2591
+ }>>;
2592
+ sizePt: z.ZodOptional<z.ZodNumber>;
2593
+ color: z.ZodOptional<z.ZodString>;
2594
+ text: z.ZodString;
2595
+ bold: z.ZodOptional<z.ZodBoolean>;
2596
+ italic: z.ZodOptional<z.ZodBoolean>;
2597
+ underline: z.ZodOptional<z.ZodBoolean>;
2598
+ dateStyle: z.ZodOptional<z.ZodEnum<{
2599
+ long: "long";
2600
+ short: "short";
2601
+ }>>;
2602
+ }, z.core.$strip>, z.ZodObject<{
2603
+ hardBreak: z.ZodLiteral<true>;
2604
+ }, z.core.$strip>]>>]>>;
2605
+ }, z.core.$strip>, z.ZodObject<{
2606
+ type: z.ZodLiteral<"table">;
2607
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
2608
+ cellPaddingMm: z.ZodOptional<z.ZodNumber>;
2609
+ widthMm: z.ZodOptional<z.ZodNumber>;
2610
+ align: z.ZodOptional<z.ZodEnum<{
2611
+ center: "center";
2612
+ left: "left";
2613
+ right: "right";
2614
+ }>>;
2615
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2616
+ header: z.ZodOptional<z.ZodObject<{
2617
+ cells: z.ZodArray<z.ZodObject<{
2618
+ text: z.ZodOptional<z.ZodString>;
2619
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2620
+ font: z.ZodOptional<z.ZodEnum<{
2621
+ arial: "arial";
2622
+ calibri: "calibri";
2623
+ cambria: "cambria";
2624
+ courier: "courier";
2625
+ times: "times";
2626
+ }>>;
2627
+ sizePt: z.ZodOptional<z.ZodNumber>;
2628
+ color: z.ZodOptional<z.ZodString>;
2629
+ text: z.ZodString;
2630
+ bold: z.ZodOptional<z.ZodBoolean>;
2631
+ italic: z.ZodOptional<z.ZodBoolean>;
2632
+ underline: z.ZodOptional<z.ZodBoolean>;
2633
+ dateStyle: z.ZodOptional<z.ZodEnum<{
2634
+ long: "long";
2635
+ short: "short";
2636
+ }>>;
2637
+ }, z.core.$strip>, z.ZodObject<{
2638
+ hardBreak: z.ZodLiteral<true>;
2639
+ }, z.core.$strip>]>>>;
2640
+ background: z.ZodOptional<z.ZodString>;
2641
+ align: z.ZodOptional<z.ZodEnum<{
2642
+ center: "center";
2643
+ justify: "justify";
2644
+ left: "left";
2645
+ right: "right";
2646
+ }>>;
2647
+ }, z.core.$strip>>;
2648
+ lineAbove: z.ZodOptional<z.ZodObject<{
2649
+ color: z.ZodString;
2650
+ weightPt: z.ZodNumber;
2651
+ }, z.core.$strip>>;
2652
+ lineBelow: z.ZodOptional<z.ZodObject<{
2653
+ color: z.ZodString;
2654
+ weightPt: z.ZodNumber;
2655
+ }, z.core.$strip>>;
2656
+ }, z.core.$strip>>;
2657
+ rows: z.ZodArray<z.ZodObject<{
2658
+ cells: z.ZodArray<z.ZodObject<{
2659
+ text: z.ZodOptional<z.ZodString>;
2660
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2661
+ font: z.ZodOptional<z.ZodEnum<{
2662
+ arial: "arial";
2663
+ calibri: "calibri";
2664
+ cambria: "cambria";
2665
+ courier: "courier";
2666
+ times: "times";
2667
+ }>>;
2668
+ sizePt: z.ZodOptional<z.ZodNumber>;
2669
+ color: z.ZodOptional<z.ZodString>;
2670
+ text: z.ZodString;
2671
+ bold: z.ZodOptional<z.ZodBoolean>;
2672
+ italic: z.ZodOptional<z.ZodBoolean>;
2673
+ underline: z.ZodOptional<z.ZodBoolean>;
2674
+ dateStyle: z.ZodOptional<z.ZodEnum<{
2675
+ long: "long";
2676
+ short: "short";
2677
+ }>>;
2678
+ }, z.core.$strip>, z.ZodObject<{
2679
+ hardBreak: z.ZodLiteral<true>;
2680
+ }, z.core.$strip>]>>>;
2681
+ background: z.ZodOptional<z.ZodString>;
2682
+ align: z.ZodOptional<z.ZodEnum<{
2683
+ center: "center";
2684
+ justify: "justify";
2685
+ left: "left";
2686
+ right: "right";
2687
+ }>>;
2688
+ }, z.core.$strip>>;
2689
+ lineAbove: z.ZodOptional<z.ZodObject<{
2690
+ color: z.ZodString;
2691
+ weightPt: z.ZodNumber;
2692
+ }, z.core.$strip>>;
2693
+ lineBelow: z.ZodOptional<z.ZodObject<{
2694
+ color: z.ZodString;
2695
+ weightPt: z.ZodNumber;
2696
+ }, z.core.$strip>>;
2697
+ }, z.core.$strip>>;
2698
+ repeat: z.ZodOptional<z.ZodObject<{
2699
+ each: z.ZodString;
2700
+ row: z.ZodObject<{
2701
+ cells: z.ZodArray<z.ZodObject<{
2702
+ text: z.ZodOptional<z.ZodString>;
2703
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2704
+ font: z.ZodOptional<z.ZodEnum<{
2705
+ arial: "arial";
2706
+ calibri: "calibri";
2707
+ cambria: "cambria";
2708
+ courier: "courier";
2709
+ times: "times";
2710
+ }>>;
2711
+ sizePt: z.ZodOptional<z.ZodNumber>;
2712
+ color: z.ZodOptional<z.ZodString>;
2713
+ text: z.ZodString;
2714
+ bold: z.ZodOptional<z.ZodBoolean>;
2715
+ italic: z.ZodOptional<z.ZodBoolean>;
2716
+ underline: z.ZodOptional<z.ZodBoolean>;
2717
+ dateStyle: z.ZodOptional<z.ZodEnum<{
2718
+ long: "long";
2719
+ short: "short";
2720
+ }>>;
2721
+ }, z.core.$strip>, z.ZodObject<{
2722
+ hardBreak: z.ZodLiteral<true>;
2723
+ }, z.core.$strip>]>>>;
2724
+ background: z.ZodOptional<z.ZodString>;
2725
+ align: z.ZodOptional<z.ZodEnum<{
2726
+ center: "center";
2727
+ justify: "justify";
2728
+ left: "left";
2729
+ right: "right";
2730
+ }>>;
2731
+ }, z.core.$strip>>;
2732
+ lineAbove: z.ZodOptional<z.ZodObject<{
2733
+ color: z.ZodString;
2734
+ weightPt: z.ZodNumber;
2735
+ }, z.core.$strip>>;
2736
+ lineBelow: z.ZodOptional<z.ZodObject<{
2737
+ color: z.ZodString;
2738
+ weightPt: z.ZodNumber;
2739
+ }, z.core.$strip>>;
2740
+ }, z.core.$strip>;
2741
+ }, z.core.$strip>>;
2742
+ rowsAfterRepeat: z.ZodOptional<z.ZodArray<z.ZodObject<{
2743
+ cells: z.ZodArray<z.ZodObject<{
2744
+ text: z.ZodOptional<z.ZodString>;
2745
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2746
+ font: z.ZodOptional<z.ZodEnum<{
2747
+ arial: "arial";
2748
+ calibri: "calibri";
2749
+ cambria: "cambria";
2750
+ courier: "courier";
2751
+ times: "times";
2752
+ }>>;
2753
+ sizePt: z.ZodOptional<z.ZodNumber>;
2754
+ color: z.ZodOptional<z.ZodString>;
2755
+ text: z.ZodString;
2756
+ bold: z.ZodOptional<z.ZodBoolean>;
2757
+ italic: z.ZodOptional<z.ZodBoolean>;
2758
+ underline: z.ZodOptional<z.ZodBoolean>;
2759
+ dateStyle: z.ZodOptional<z.ZodEnum<{
2760
+ long: "long";
2761
+ short: "short";
2762
+ }>>;
2763
+ }, z.core.$strip>, z.ZodObject<{
2764
+ hardBreak: z.ZodLiteral<true>;
2765
+ }, z.core.$strip>]>>>;
2766
+ background: z.ZodOptional<z.ZodString>;
2767
+ align: z.ZodOptional<z.ZodEnum<{
2768
+ center: "center";
2769
+ justify: "justify";
2770
+ left: "left";
2771
+ right: "right";
2772
+ }>>;
2773
+ }, z.core.$strip>>;
2774
+ lineAbove: z.ZodOptional<z.ZodObject<{
2775
+ color: z.ZodString;
2776
+ weightPt: z.ZodNumber;
2777
+ }, z.core.$strip>>;
2778
+ lineBelow: z.ZodOptional<z.ZodObject<{
2779
+ color: z.ZodString;
2780
+ weightPt: z.ZodNumber;
2781
+ }, z.core.$strip>>;
2782
+ }, z.core.$strip>>>;
2783
+ }, z.core.$strip>, z.ZodObject<{
2784
+ type: z.ZodLiteral<"image">;
2785
+ resource: z.ZodString;
2786
+ alt: z.ZodOptional<z.ZodString>;
2787
+ widthMm: z.ZodOptional<z.ZodNumber>;
2788
+ align: z.ZodOptional<z.ZodEnum<{
2789
+ center: "center";
2790
+ left: "left";
2791
+ right: "right";
2792
+ }>>;
2793
+ bleed: z.ZodOptional<z.ZodBoolean>;
2794
+ }, z.core.$strip>], "type">>;
2795
+ }, z.core.$strip>, z.ZodObject<{
2796
+ type: z.ZodLiteral<"image">;
2797
+ resource: z.ZodString;
2798
+ alt: z.ZodOptional<z.ZodString>;
2799
+ widthMm: z.ZodOptional<z.ZodNumber>;
2800
+ align: z.ZodOptional<z.ZodEnum<{
2801
+ center: "center";
2802
+ left: "left";
2803
+ right: "right";
2804
+ }>>;
2805
+ bleed: z.ZodOptional<z.ZodBoolean>;
2806
+ }, z.core.$strip>, z.ZodObject<{
2807
+ type: z.ZodLiteral<"button">;
2808
+ text: z.ZodString;
2809
+ href: z.ZodString;
2810
+ }, z.core.$strip>, z.ZodObject<{
2811
+ type: z.ZodLiteral<"divider">;
2812
+ color: z.ZodOptional<z.ZodString>;
2813
+ weightPt: z.ZodOptional<z.ZodNumber>;
2814
+ }, z.core.$strip>, z.ZodObject<{
2815
+ type: z.ZodLiteral<"pageBreak">;
2816
+ }, z.core.$strip>], "type">>;
2817
+ }, z.core.$strip>, z.ZodObject<{
2818
+ align: z.ZodOptional<z.ZodEnum<{
2819
+ center: "center";
2820
+ justify: "justify";
2821
+ left: "left";
2822
+ right: "right";
2823
+ }>>;
2824
+ style: z.ZodOptional<z.ZodObject<{
2825
+ lineHeight: z.ZodOptional<z.ZodNumber>;
2826
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
2827
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
2828
+ }, z.core.$strip>>;
2829
+ textStyle: z.ZodOptional<z.ZodObject<{
2830
+ font: z.ZodOptional<z.ZodEnum<{
2831
+ arial: "arial";
2832
+ calibri: "calibri";
2833
+ cambria: "cambria";
2834
+ courier: "courier";
2835
+ times: "times";
2836
+ }>>;
2837
+ sizePt: z.ZodOptional<z.ZodNumber>;
2838
+ color: z.ZodOptional<z.ZodString>;
2839
+ }, z.core.$strip>>;
2840
+ op: z.ZodLiteral<"formatBlock">;
2841
+ blockId: z.ZodString;
136
2842
  }, z.core.$strip>, z.ZodObject<{
137
2843
  op: z.ZodLiteral<"setResource">;
138
2844
  blockId: z.ZodString;
@@ -151,7 +2857,8 @@ export type DocumentOpsInput = {
151
2857
  readonly doc: JSONContent;
152
2858
  readonly meta: Readonly<Record<string, unknown>>;
153
2859
  readonly variableSchema: Readonly<Record<string, unknown>>;
154
- readonly kind: DocumentHtmlKind;
2860
+ readonly kind: DocumentOpsKind;
2861
+ readonly region?: LayoutRegionName | undefined;
155
2862
  readonly ops: readonly DocumentOp[];
156
2863
  };
157
2864
  export type DocumentOpsResult = {
@@ -169,4 +2876,3 @@ export declare const REPLACE_TEXT_ISSUE_CODES: {
169
2876
  readonly placeholderNotReplaceable: "placeholder_not_replaceable";
170
2877
  };
171
2878
  export declare function applyDocumentOps(input: DocumentOpsInput): DocumentOpsResult;
172
- export {};