@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,11 +1,17 @@
1
1
  import * as z from "zod";
2
2
  import { type TemplateEditPolicy } from "../template-edit-policy.ts";
3
3
  export declare function makePatchDraftWrite(policy: TemplateEditPolicy): import("@cosmicdrift/kumiko-types/define-handler").WriteHandlerDefinition<"patch-draft", z.ZodObject<{
4
- slug: z.ZodString;
5
4
  kind: z.ZodEnum<{
6
5
  "document-pdf": "document-pdf";
7
6
  mail: "mail";
7
+ "pdf-layout": "pdf-layout";
8
8
  }>;
9
+ region: z.ZodOptional<z.ZodEnum<{
10
+ footer: "footer";
11
+ header: "header";
12
+ signature: "signature";
13
+ }>>;
14
+ slug: z.ZodString;
9
15
  locale: z.ZodString;
10
16
  base: z.ZodObject<{
11
17
  scope: z.ZodEnum<{
@@ -18,28 +24,681 @@ export declare function makePatchDraftWrite(policy: TemplateEditPolicy): import(
18
24
  op: z.ZodLiteral<"insertBlock">;
19
25
  after: z.ZodNullable<z.ZodString>;
20
26
  block: z.ZodDiscriminatedUnion<[z.ZodObject<{
21
- type: z.ZodLiteral<"paragraph">;
22
- text: z.ZodString;
23
27
  align: z.ZodOptional<z.ZodEnum<{
24
28
  center: "center";
25
29
  justify: "justify";
26
30
  left: "left";
27
31
  right: "right";
28
32
  }>>;
33
+ style: z.ZodOptional<z.ZodObject<{
34
+ lineHeight: z.ZodOptional<z.ZodNumber>;
35
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
36
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
37
+ }, z.core.$strip>>;
38
+ textStyle: z.ZodOptional<z.ZodObject<{
39
+ font: z.ZodOptional<z.ZodEnum<{
40
+ arial: "arial";
41
+ calibri: "calibri";
42
+ cambria: "cambria";
43
+ courier: "courier";
44
+ times: "times";
45
+ }>>;
46
+ sizePt: z.ZodOptional<z.ZodNumber>;
47
+ color: z.ZodOptional<z.ZodString>;
48
+ }, z.core.$strip>>;
49
+ text: z.ZodOptional<z.ZodString>;
50
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
51
+ font: z.ZodOptional<z.ZodEnum<{
52
+ arial: "arial";
53
+ calibri: "calibri";
54
+ cambria: "cambria";
55
+ courier: "courier";
56
+ times: "times";
57
+ }>>;
58
+ sizePt: z.ZodOptional<z.ZodNumber>;
59
+ color: z.ZodOptional<z.ZodString>;
60
+ text: z.ZodString;
61
+ bold: z.ZodOptional<z.ZodBoolean>;
62
+ italic: z.ZodOptional<z.ZodBoolean>;
63
+ underline: z.ZodOptional<z.ZodBoolean>;
64
+ dateStyle: z.ZodOptional<z.ZodEnum<{
65
+ long: "long";
66
+ short: "short";
67
+ }>>;
68
+ }, z.core.$strip>, z.ZodObject<{
69
+ hardBreak: z.ZodLiteral<true>;
70
+ }, z.core.$strip>]>>>;
71
+ type: z.ZodLiteral<"paragraph">;
29
72
  }, z.core.$strip>, z.ZodObject<{
73
+ align: z.ZodOptional<z.ZodEnum<{
74
+ center: "center";
75
+ justify: "justify";
76
+ left: "left";
77
+ right: "right";
78
+ }>>;
79
+ style: z.ZodOptional<z.ZodObject<{
80
+ lineHeight: z.ZodOptional<z.ZodNumber>;
81
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
82
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
83
+ }, z.core.$strip>>;
84
+ textStyle: z.ZodOptional<z.ZodObject<{
85
+ font: z.ZodOptional<z.ZodEnum<{
86
+ arial: "arial";
87
+ calibri: "calibri";
88
+ cambria: "cambria";
89
+ courier: "courier";
90
+ times: "times";
91
+ }>>;
92
+ sizePt: z.ZodOptional<z.ZodNumber>;
93
+ color: z.ZodOptional<z.ZodString>;
94
+ }, z.core.$strip>>;
95
+ text: z.ZodOptional<z.ZodString>;
96
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
97
+ font: z.ZodOptional<z.ZodEnum<{
98
+ arial: "arial";
99
+ calibri: "calibri";
100
+ cambria: "cambria";
101
+ courier: "courier";
102
+ times: "times";
103
+ }>>;
104
+ sizePt: z.ZodOptional<z.ZodNumber>;
105
+ color: z.ZodOptional<z.ZodString>;
106
+ text: z.ZodString;
107
+ bold: z.ZodOptional<z.ZodBoolean>;
108
+ italic: z.ZodOptional<z.ZodBoolean>;
109
+ underline: z.ZodOptional<z.ZodBoolean>;
110
+ dateStyle: z.ZodOptional<z.ZodEnum<{
111
+ long: "long";
112
+ short: "short";
113
+ }>>;
114
+ }, z.core.$strip>, z.ZodObject<{
115
+ hardBreak: z.ZodLiteral<true>;
116
+ }, z.core.$strip>]>>>;
30
117
  type: z.ZodLiteral<"heading">;
31
118
  level: z.ZodNumber;
32
- text: z.ZodString;
119
+ }, z.core.$strip>, z.ZodObject<{
120
+ align: z.ZodOptional<z.ZodEnum<{
121
+ center: "center";
122
+ justify: "justify";
123
+ left: "left";
124
+ right: "right";
125
+ }>>;
126
+ style: z.ZodOptional<z.ZodObject<{
127
+ lineHeight: z.ZodOptional<z.ZodNumber>;
128
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
129
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
130
+ }, z.core.$strip>>;
131
+ textStyle: z.ZodOptional<z.ZodObject<{
132
+ font: z.ZodOptional<z.ZodEnum<{
133
+ arial: "arial";
134
+ calibri: "calibri";
135
+ cambria: "cambria";
136
+ courier: "courier";
137
+ times: "times";
138
+ }>>;
139
+ sizePt: z.ZodOptional<z.ZodNumber>;
140
+ color: z.ZodOptional<z.ZodString>;
141
+ }, z.core.$strip>>;
142
+ type: z.ZodLiteral<"list">;
143
+ ordered: z.ZodBoolean;
144
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
145
+ font: z.ZodOptional<z.ZodEnum<{
146
+ arial: "arial";
147
+ calibri: "calibri";
148
+ cambria: "cambria";
149
+ courier: "courier";
150
+ times: "times";
151
+ }>>;
152
+ sizePt: z.ZodOptional<z.ZodNumber>;
153
+ color: z.ZodOptional<z.ZodString>;
154
+ text: z.ZodString;
155
+ bold: z.ZodOptional<z.ZodBoolean>;
156
+ italic: z.ZodOptional<z.ZodBoolean>;
157
+ underline: z.ZodOptional<z.ZodBoolean>;
158
+ dateStyle: z.ZodOptional<z.ZodEnum<{
159
+ long: "long";
160
+ short: "short";
161
+ }>>;
162
+ }, z.core.$strip>, z.ZodObject<{
163
+ hardBreak: z.ZodLiteral<true>;
164
+ }, z.core.$strip>]>>]>>;
165
+ }, z.core.$strip>, z.ZodObject<{
166
+ type: z.ZodLiteral<"table">;
167
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
168
+ cellPaddingMm: z.ZodOptional<z.ZodNumber>;
169
+ widthMm: z.ZodOptional<z.ZodNumber>;
170
+ align: z.ZodOptional<z.ZodEnum<{
171
+ center: "center";
172
+ left: "left";
173
+ right: "right";
174
+ }>>;
175
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
176
+ header: z.ZodOptional<z.ZodObject<{
177
+ cells: z.ZodArray<z.ZodObject<{
178
+ text: z.ZodOptional<z.ZodString>;
179
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
180
+ font: z.ZodOptional<z.ZodEnum<{
181
+ arial: "arial";
182
+ calibri: "calibri";
183
+ cambria: "cambria";
184
+ courier: "courier";
185
+ times: "times";
186
+ }>>;
187
+ sizePt: z.ZodOptional<z.ZodNumber>;
188
+ color: z.ZodOptional<z.ZodString>;
189
+ text: z.ZodString;
190
+ bold: z.ZodOptional<z.ZodBoolean>;
191
+ italic: z.ZodOptional<z.ZodBoolean>;
192
+ underline: z.ZodOptional<z.ZodBoolean>;
193
+ dateStyle: z.ZodOptional<z.ZodEnum<{
194
+ long: "long";
195
+ short: "short";
196
+ }>>;
197
+ }, z.core.$strip>, z.ZodObject<{
198
+ hardBreak: z.ZodLiteral<true>;
199
+ }, z.core.$strip>]>>>;
200
+ background: z.ZodOptional<z.ZodString>;
201
+ align: z.ZodOptional<z.ZodEnum<{
202
+ center: "center";
203
+ justify: "justify";
204
+ left: "left";
205
+ right: "right";
206
+ }>>;
207
+ }, z.core.$strip>>;
208
+ lineAbove: z.ZodOptional<z.ZodObject<{
209
+ color: z.ZodString;
210
+ weightPt: z.ZodNumber;
211
+ }, z.core.$strip>>;
212
+ lineBelow: z.ZodOptional<z.ZodObject<{
213
+ color: z.ZodString;
214
+ weightPt: z.ZodNumber;
215
+ }, z.core.$strip>>;
216
+ }, z.core.$strip>>;
217
+ rows: z.ZodArray<z.ZodObject<{
218
+ cells: z.ZodArray<z.ZodObject<{
219
+ text: z.ZodOptional<z.ZodString>;
220
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
221
+ font: z.ZodOptional<z.ZodEnum<{
222
+ arial: "arial";
223
+ calibri: "calibri";
224
+ cambria: "cambria";
225
+ courier: "courier";
226
+ times: "times";
227
+ }>>;
228
+ sizePt: z.ZodOptional<z.ZodNumber>;
229
+ color: z.ZodOptional<z.ZodString>;
230
+ text: z.ZodString;
231
+ bold: z.ZodOptional<z.ZodBoolean>;
232
+ italic: z.ZodOptional<z.ZodBoolean>;
233
+ underline: z.ZodOptional<z.ZodBoolean>;
234
+ dateStyle: z.ZodOptional<z.ZodEnum<{
235
+ long: "long";
236
+ short: "short";
237
+ }>>;
238
+ }, z.core.$strip>, z.ZodObject<{
239
+ hardBreak: z.ZodLiteral<true>;
240
+ }, z.core.$strip>]>>>;
241
+ background: z.ZodOptional<z.ZodString>;
242
+ align: z.ZodOptional<z.ZodEnum<{
243
+ center: "center";
244
+ justify: "justify";
245
+ left: "left";
246
+ right: "right";
247
+ }>>;
248
+ }, z.core.$strip>>;
249
+ lineAbove: z.ZodOptional<z.ZodObject<{
250
+ color: z.ZodString;
251
+ weightPt: z.ZodNumber;
252
+ }, z.core.$strip>>;
253
+ lineBelow: z.ZodOptional<z.ZodObject<{
254
+ color: z.ZodString;
255
+ weightPt: z.ZodNumber;
256
+ }, z.core.$strip>>;
257
+ }, z.core.$strip>>;
258
+ repeat: z.ZodOptional<z.ZodObject<{
259
+ each: z.ZodString;
260
+ row: z.ZodObject<{
261
+ cells: z.ZodArray<z.ZodObject<{
262
+ text: z.ZodOptional<z.ZodString>;
263
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
264
+ font: z.ZodOptional<z.ZodEnum<{
265
+ arial: "arial";
266
+ calibri: "calibri";
267
+ cambria: "cambria";
268
+ courier: "courier";
269
+ times: "times";
270
+ }>>;
271
+ sizePt: z.ZodOptional<z.ZodNumber>;
272
+ color: z.ZodOptional<z.ZodString>;
273
+ text: z.ZodString;
274
+ bold: z.ZodOptional<z.ZodBoolean>;
275
+ italic: z.ZodOptional<z.ZodBoolean>;
276
+ underline: z.ZodOptional<z.ZodBoolean>;
277
+ dateStyle: z.ZodOptional<z.ZodEnum<{
278
+ long: "long";
279
+ short: "short";
280
+ }>>;
281
+ }, z.core.$strip>, z.ZodObject<{
282
+ hardBreak: z.ZodLiteral<true>;
283
+ }, z.core.$strip>]>>>;
284
+ background: z.ZodOptional<z.ZodString>;
285
+ align: z.ZodOptional<z.ZodEnum<{
286
+ center: "center";
287
+ justify: "justify";
288
+ left: "left";
289
+ right: "right";
290
+ }>>;
291
+ }, z.core.$strip>>;
292
+ lineAbove: z.ZodOptional<z.ZodObject<{
293
+ color: z.ZodString;
294
+ weightPt: z.ZodNumber;
295
+ }, z.core.$strip>>;
296
+ lineBelow: z.ZodOptional<z.ZodObject<{
297
+ color: z.ZodString;
298
+ weightPt: z.ZodNumber;
299
+ }, z.core.$strip>>;
300
+ }, z.core.$strip>;
301
+ }, z.core.$strip>>;
302
+ rowsAfterRepeat: z.ZodOptional<z.ZodArray<z.ZodObject<{
303
+ cells: z.ZodArray<z.ZodObject<{
304
+ text: z.ZodOptional<z.ZodString>;
305
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
306
+ font: z.ZodOptional<z.ZodEnum<{
307
+ arial: "arial";
308
+ calibri: "calibri";
309
+ cambria: "cambria";
310
+ courier: "courier";
311
+ times: "times";
312
+ }>>;
313
+ sizePt: z.ZodOptional<z.ZodNumber>;
314
+ color: z.ZodOptional<z.ZodString>;
315
+ text: z.ZodString;
316
+ bold: z.ZodOptional<z.ZodBoolean>;
317
+ italic: z.ZodOptional<z.ZodBoolean>;
318
+ underline: z.ZodOptional<z.ZodBoolean>;
319
+ dateStyle: z.ZodOptional<z.ZodEnum<{
320
+ long: "long";
321
+ short: "short";
322
+ }>>;
323
+ }, z.core.$strip>, z.ZodObject<{
324
+ hardBreak: z.ZodLiteral<true>;
325
+ }, z.core.$strip>]>>>;
326
+ background: z.ZodOptional<z.ZodString>;
327
+ align: z.ZodOptional<z.ZodEnum<{
328
+ center: "center";
329
+ justify: "justify";
330
+ left: "left";
331
+ right: "right";
332
+ }>>;
333
+ }, z.core.$strip>>;
334
+ lineAbove: z.ZodOptional<z.ZodObject<{
335
+ color: z.ZodString;
336
+ weightPt: z.ZodNumber;
337
+ }, z.core.$strip>>;
338
+ lineBelow: z.ZodOptional<z.ZodObject<{
339
+ color: z.ZodString;
340
+ weightPt: z.ZodNumber;
341
+ }, z.core.$strip>>;
342
+ }, z.core.$strip>>>;
343
+ }, z.core.$strip>, z.ZodObject<{
344
+ type: z.ZodLiteral<"frame">;
345
+ xMm: z.ZodNumber;
346
+ yMm: z.ZodNumber;
347
+ widthMm: z.ZodNumber;
348
+ heightMm: z.ZodNumber;
349
+ preset: z.ZodOptional<z.ZodEnum<{
350
+ address: "address";
351
+ text: "text";
352
+ }>>;
353
+ reserveFlow: z.ZodOptional<z.ZodBoolean>;
354
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
355
+ align: z.ZodOptional<z.ZodEnum<{
356
+ center: "center";
357
+ justify: "justify";
358
+ left: "left";
359
+ right: "right";
360
+ }>>;
361
+ style: z.ZodOptional<z.ZodObject<{
362
+ lineHeight: z.ZodOptional<z.ZodNumber>;
363
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
364
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
365
+ }, z.core.$strip>>;
366
+ textStyle: z.ZodOptional<z.ZodObject<{
367
+ font: z.ZodOptional<z.ZodEnum<{
368
+ arial: "arial";
369
+ calibri: "calibri";
370
+ cambria: "cambria";
371
+ courier: "courier";
372
+ times: "times";
373
+ }>>;
374
+ sizePt: z.ZodOptional<z.ZodNumber>;
375
+ color: z.ZodOptional<z.ZodString>;
376
+ }, z.core.$strip>>;
377
+ text: z.ZodOptional<z.ZodString>;
378
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
379
+ font: z.ZodOptional<z.ZodEnum<{
380
+ arial: "arial";
381
+ calibri: "calibri";
382
+ cambria: "cambria";
383
+ courier: "courier";
384
+ times: "times";
385
+ }>>;
386
+ sizePt: z.ZodOptional<z.ZodNumber>;
387
+ color: z.ZodOptional<z.ZodString>;
388
+ text: z.ZodString;
389
+ bold: z.ZodOptional<z.ZodBoolean>;
390
+ italic: z.ZodOptional<z.ZodBoolean>;
391
+ underline: z.ZodOptional<z.ZodBoolean>;
392
+ dateStyle: z.ZodOptional<z.ZodEnum<{
393
+ long: "long";
394
+ short: "short";
395
+ }>>;
396
+ }, z.core.$strip>, z.ZodObject<{
397
+ hardBreak: z.ZodLiteral<true>;
398
+ }, z.core.$strip>]>>>;
399
+ type: z.ZodLiteral<"paragraph">;
400
+ }, z.core.$strip>, z.ZodObject<{
401
+ align: z.ZodOptional<z.ZodEnum<{
402
+ center: "center";
403
+ justify: "justify";
404
+ left: "left";
405
+ right: "right";
406
+ }>>;
407
+ style: z.ZodOptional<z.ZodObject<{
408
+ lineHeight: z.ZodOptional<z.ZodNumber>;
409
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
410
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
411
+ }, z.core.$strip>>;
412
+ textStyle: z.ZodOptional<z.ZodObject<{
413
+ font: z.ZodOptional<z.ZodEnum<{
414
+ arial: "arial";
415
+ calibri: "calibri";
416
+ cambria: "cambria";
417
+ courier: "courier";
418
+ times: "times";
419
+ }>>;
420
+ sizePt: z.ZodOptional<z.ZodNumber>;
421
+ color: z.ZodOptional<z.ZodString>;
422
+ }, z.core.$strip>>;
423
+ text: z.ZodOptional<z.ZodString>;
424
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
425
+ font: z.ZodOptional<z.ZodEnum<{
426
+ arial: "arial";
427
+ calibri: "calibri";
428
+ cambria: "cambria";
429
+ courier: "courier";
430
+ times: "times";
431
+ }>>;
432
+ sizePt: z.ZodOptional<z.ZodNumber>;
433
+ color: z.ZodOptional<z.ZodString>;
434
+ text: z.ZodString;
435
+ bold: z.ZodOptional<z.ZodBoolean>;
436
+ italic: z.ZodOptional<z.ZodBoolean>;
437
+ underline: z.ZodOptional<z.ZodBoolean>;
438
+ dateStyle: z.ZodOptional<z.ZodEnum<{
439
+ long: "long";
440
+ short: "short";
441
+ }>>;
442
+ }, z.core.$strip>, z.ZodObject<{
443
+ hardBreak: z.ZodLiteral<true>;
444
+ }, z.core.$strip>]>>>;
445
+ type: z.ZodLiteral<"heading">;
446
+ level: z.ZodNumber;
447
+ }, z.core.$strip>, z.ZodObject<{
448
+ align: z.ZodOptional<z.ZodEnum<{
449
+ center: "center";
450
+ justify: "justify";
451
+ left: "left";
452
+ right: "right";
453
+ }>>;
454
+ style: z.ZodOptional<z.ZodObject<{
455
+ lineHeight: z.ZodOptional<z.ZodNumber>;
456
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
457
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
458
+ }, z.core.$strip>>;
459
+ textStyle: z.ZodOptional<z.ZodObject<{
460
+ font: z.ZodOptional<z.ZodEnum<{
461
+ arial: "arial";
462
+ calibri: "calibri";
463
+ cambria: "cambria";
464
+ courier: "courier";
465
+ times: "times";
466
+ }>>;
467
+ sizePt: z.ZodOptional<z.ZodNumber>;
468
+ color: z.ZodOptional<z.ZodString>;
469
+ }, z.core.$strip>>;
470
+ type: z.ZodLiteral<"list">;
471
+ ordered: z.ZodBoolean;
472
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
473
+ font: z.ZodOptional<z.ZodEnum<{
474
+ arial: "arial";
475
+ calibri: "calibri";
476
+ cambria: "cambria";
477
+ courier: "courier";
478
+ times: "times";
479
+ }>>;
480
+ sizePt: z.ZodOptional<z.ZodNumber>;
481
+ color: z.ZodOptional<z.ZodString>;
482
+ text: z.ZodString;
483
+ bold: z.ZodOptional<z.ZodBoolean>;
484
+ italic: z.ZodOptional<z.ZodBoolean>;
485
+ underline: z.ZodOptional<z.ZodBoolean>;
486
+ dateStyle: z.ZodOptional<z.ZodEnum<{
487
+ long: "long";
488
+ short: "short";
489
+ }>>;
490
+ }, z.core.$strip>, z.ZodObject<{
491
+ hardBreak: z.ZodLiteral<true>;
492
+ }, z.core.$strip>]>>]>>;
493
+ }, z.core.$strip>, z.ZodObject<{
494
+ type: z.ZodLiteral<"table">;
495
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
496
+ cellPaddingMm: z.ZodOptional<z.ZodNumber>;
497
+ widthMm: z.ZodOptional<z.ZodNumber>;
498
+ align: z.ZodOptional<z.ZodEnum<{
499
+ center: "center";
500
+ left: "left";
501
+ right: "right";
502
+ }>>;
503
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
504
+ header: z.ZodOptional<z.ZodObject<{
505
+ cells: z.ZodArray<z.ZodObject<{
506
+ text: z.ZodOptional<z.ZodString>;
507
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
508
+ font: z.ZodOptional<z.ZodEnum<{
509
+ arial: "arial";
510
+ calibri: "calibri";
511
+ cambria: "cambria";
512
+ courier: "courier";
513
+ times: "times";
514
+ }>>;
515
+ sizePt: z.ZodOptional<z.ZodNumber>;
516
+ color: z.ZodOptional<z.ZodString>;
517
+ text: z.ZodString;
518
+ bold: z.ZodOptional<z.ZodBoolean>;
519
+ italic: z.ZodOptional<z.ZodBoolean>;
520
+ underline: z.ZodOptional<z.ZodBoolean>;
521
+ dateStyle: z.ZodOptional<z.ZodEnum<{
522
+ long: "long";
523
+ short: "short";
524
+ }>>;
525
+ }, z.core.$strip>, z.ZodObject<{
526
+ hardBreak: z.ZodLiteral<true>;
527
+ }, z.core.$strip>]>>>;
528
+ background: z.ZodOptional<z.ZodString>;
529
+ align: z.ZodOptional<z.ZodEnum<{
530
+ center: "center";
531
+ justify: "justify";
532
+ left: "left";
533
+ right: "right";
534
+ }>>;
535
+ }, z.core.$strip>>;
536
+ lineAbove: z.ZodOptional<z.ZodObject<{
537
+ color: z.ZodString;
538
+ weightPt: z.ZodNumber;
539
+ }, z.core.$strip>>;
540
+ lineBelow: z.ZodOptional<z.ZodObject<{
541
+ color: z.ZodString;
542
+ weightPt: z.ZodNumber;
543
+ }, z.core.$strip>>;
544
+ }, z.core.$strip>>;
545
+ rows: z.ZodArray<z.ZodObject<{
546
+ cells: z.ZodArray<z.ZodObject<{
547
+ text: z.ZodOptional<z.ZodString>;
548
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
549
+ font: z.ZodOptional<z.ZodEnum<{
550
+ arial: "arial";
551
+ calibri: "calibri";
552
+ cambria: "cambria";
553
+ courier: "courier";
554
+ times: "times";
555
+ }>>;
556
+ sizePt: z.ZodOptional<z.ZodNumber>;
557
+ color: z.ZodOptional<z.ZodString>;
558
+ text: z.ZodString;
559
+ bold: z.ZodOptional<z.ZodBoolean>;
560
+ italic: z.ZodOptional<z.ZodBoolean>;
561
+ underline: z.ZodOptional<z.ZodBoolean>;
562
+ dateStyle: z.ZodOptional<z.ZodEnum<{
563
+ long: "long";
564
+ short: "short";
565
+ }>>;
566
+ }, z.core.$strip>, z.ZodObject<{
567
+ hardBreak: z.ZodLiteral<true>;
568
+ }, z.core.$strip>]>>>;
569
+ background: z.ZodOptional<z.ZodString>;
570
+ align: z.ZodOptional<z.ZodEnum<{
571
+ center: "center";
572
+ justify: "justify";
573
+ left: "left";
574
+ right: "right";
575
+ }>>;
576
+ }, z.core.$strip>>;
577
+ lineAbove: z.ZodOptional<z.ZodObject<{
578
+ color: z.ZodString;
579
+ weightPt: z.ZodNumber;
580
+ }, z.core.$strip>>;
581
+ lineBelow: z.ZodOptional<z.ZodObject<{
582
+ color: z.ZodString;
583
+ weightPt: z.ZodNumber;
584
+ }, z.core.$strip>>;
585
+ }, z.core.$strip>>;
586
+ repeat: z.ZodOptional<z.ZodObject<{
587
+ each: z.ZodString;
588
+ row: z.ZodObject<{
589
+ cells: z.ZodArray<z.ZodObject<{
590
+ text: z.ZodOptional<z.ZodString>;
591
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
592
+ font: z.ZodOptional<z.ZodEnum<{
593
+ arial: "arial";
594
+ calibri: "calibri";
595
+ cambria: "cambria";
596
+ courier: "courier";
597
+ times: "times";
598
+ }>>;
599
+ sizePt: z.ZodOptional<z.ZodNumber>;
600
+ color: z.ZodOptional<z.ZodString>;
601
+ text: z.ZodString;
602
+ bold: z.ZodOptional<z.ZodBoolean>;
603
+ italic: z.ZodOptional<z.ZodBoolean>;
604
+ underline: z.ZodOptional<z.ZodBoolean>;
605
+ dateStyle: z.ZodOptional<z.ZodEnum<{
606
+ long: "long";
607
+ short: "short";
608
+ }>>;
609
+ }, z.core.$strip>, z.ZodObject<{
610
+ hardBreak: z.ZodLiteral<true>;
611
+ }, z.core.$strip>]>>>;
612
+ background: z.ZodOptional<z.ZodString>;
613
+ align: z.ZodOptional<z.ZodEnum<{
614
+ center: "center";
615
+ justify: "justify";
616
+ left: "left";
617
+ right: "right";
618
+ }>>;
619
+ }, z.core.$strip>>;
620
+ lineAbove: z.ZodOptional<z.ZodObject<{
621
+ color: z.ZodString;
622
+ weightPt: z.ZodNumber;
623
+ }, z.core.$strip>>;
624
+ lineBelow: z.ZodOptional<z.ZodObject<{
625
+ color: z.ZodString;
626
+ weightPt: z.ZodNumber;
627
+ }, z.core.$strip>>;
628
+ }, z.core.$strip>;
629
+ }, z.core.$strip>>;
630
+ rowsAfterRepeat: z.ZodOptional<z.ZodArray<z.ZodObject<{
631
+ cells: z.ZodArray<z.ZodObject<{
632
+ text: z.ZodOptional<z.ZodString>;
633
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
634
+ font: z.ZodOptional<z.ZodEnum<{
635
+ arial: "arial";
636
+ calibri: "calibri";
637
+ cambria: "cambria";
638
+ courier: "courier";
639
+ times: "times";
640
+ }>>;
641
+ sizePt: z.ZodOptional<z.ZodNumber>;
642
+ color: z.ZodOptional<z.ZodString>;
643
+ text: z.ZodString;
644
+ bold: z.ZodOptional<z.ZodBoolean>;
645
+ italic: z.ZodOptional<z.ZodBoolean>;
646
+ underline: z.ZodOptional<z.ZodBoolean>;
647
+ dateStyle: z.ZodOptional<z.ZodEnum<{
648
+ long: "long";
649
+ short: "short";
650
+ }>>;
651
+ }, z.core.$strip>, z.ZodObject<{
652
+ hardBreak: z.ZodLiteral<true>;
653
+ }, z.core.$strip>]>>>;
654
+ background: z.ZodOptional<z.ZodString>;
655
+ align: z.ZodOptional<z.ZodEnum<{
656
+ center: "center";
657
+ justify: "justify";
658
+ left: "left";
659
+ right: "right";
660
+ }>>;
661
+ }, z.core.$strip>>;
662
+ lineAbove: z.ZodOptional<z.ZodObject<{
663
+ color: z.ZodString;
664
+ weightPt: z.ZodNumber;
665
+ }, z.core.$strip>>;
666
+ lineBelow: z.ZodOptional<z.ZodObject<{
667
+ color: z.ZodString;
668
+ weightPt: z.ZodNumber;
669
+ }, z.core.$strip>>;
670
+ }, z.core.$strip>>>;
671
+ }, z.core.$strip>, z.ZodObject<{
672
+ type: z.ZodLiteral<"image">;
673
+ resource: z.ZodString;
674
+ alt: z.ZodOptional<z.ZodString>;
675
+ widthMm: z.ZodOptional<z.ZodNumber>;
676
+ align: z.ZodOptional<z.ZodEnum<{
677
+ center: "center";
678
+ left: "left";
679
+ right: "right";
680
+ }>>;
681
+ bleed: z.ZodOptional<z.ZodBoolean>;
682
+ }, z.core.$strip>], "type">>;
33
683
  }, z.core.$strip>, z.ZodObject<{
34
684
  type: z.ZodLiteral<"image">;
35
685
  resource: z.ZodString;
36
686
  alt: z.ZodOptional<z.ZodString>;
687
+ widthMm: z.ZodOptional<z.ZodNumber>;
688
+ align: z.ZodOptional<z.ZodEnum<{
689
+ center: "center";
690
+ left: "left";
691
+ right: "right";
692
+ }>>;
693
+ bleed: z.ZodOptional<z.ZodBoolean>;
37
694
  }, z.core.$strip>, z.ZodObject<{
38
695
  type: z.ZodLiteral<"button">;
39
696
  text: z.ZodString;
40
697
  href: z.ZodString;
41
698
  }, z.core.$strip>, z.ZodObject<{
42
699
  type: z.ZodLiteral<"divider">;
700
+ color: z.ZodOptional<z.ZodString>;
701
+ weightPt: z.ZodOptional<z.ZodNumber>;
43
702
  }, z.core.$strip>, z.ZodObject<{
44
703
  type: z.ZodLiteral<"pageBreak">;
45
704
  }, z.core.$strip>], "type">;
@@ -51,6 +710,712 @@ export declare function makePatchDraftWrite(policy: TemplateEditPolicy): import(
51
710
  }, z.core.$strip>, z.ZodObject<{
52
711
  op: z.ZodLiteral<"removeBlock">;
53
712
  blockId: z.ZodString;
713
+ }, z.core.$strip>, z.ZodObject<{
714
+ op: z.ZodLiteral<"replaceBody">;
715
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
716
+ align: z.ZodOptional<z.ZodEnum<{
717
+ center: "center";
718
+ justify: "justify";
719
+ left: "left";
720
+ right: "right";
721
+ }>>;
722
+ style: z.ZodOptional<z.ZodObject<{
723
+ lineHeight: z.ZodOptional<z.ZodNumber>;
724
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
725
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
726
+ }, z.core.$strip>>;
727
+ textStyle: z.ZodOptional<z.ZodObject<{
728
+ font: z.ZodOptional<z.ZodEnum<{
729
+ arial: "arial";
730
+ calibri: "calibri";
731
+ cambria: "cambria";
732
+ courier: "courier";
733
+ times: "times";
734
+ }>>;
735
+ sizePt: z.ZodOptional<z.ZodNumber>;
736
+ color: z.ZodOptional<z.ZodString>;
737
+ }, z.core.$strip>>;
738
+ text: z.ZodOptional<z.ZodString>;
739
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
740
+ font: z.ZodOptional<z.ZodEnum<{
741
+ arial: "arial";
742
+ calibri: "calibri";
743
+ cambria: "cambria";
744
+ courier: "courier";
745
+ times: "times";
746
+ }>>;
747
+ sizePt: z.ZodOptional<z.ZodNumber>;
748
+ color: z.ZodOptional<z.ZodString>;
749
+ text: z.ZodString;
750
+ bold: z.ZodOptional<z.ZodBoolean>;
751
+ italic: z.ZodOptional<z.ZodBoolean>;
752
+ underline: z.ZodOptional<z.ZodBoolean>;
753
+ dateStyle: z.ZodOptional<z.ZodEnum<{
754
+ long: "long";
755
+ short: "short";
756
+ }>>;
757
+ }, z.core.$strip>, z.ZodObject<{
758
+ hardBreak: z.ZodLiteral<true>;
759
+ }, z.core.$strip>]>>>;
760
+ type: z.ZodLiteral<"paragraph">;
761
+ }, z.core.$strip>, z.ZodObject<{
762
+ align: z.ZodOptional<z.ZodEnum<{
763
+ center: "center";
764
+ justify: "justify";
765
+ left: "left";
766
+ right: "right";
767
+ }>>;
768
+ style: z.ZodOptional<z.ZodObject<{
769
+ lineHeight: z.ZodOptional<z.ZodNumber>;
770
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
771
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
772
+ }, z.core.$strip>>;
773
+ textStyle: z.ZodOptional<z.ZodObject<{
774
+ font: z.ZodOptional<z.ZodEnum<{
775
+ arial: "arial";
776
+ calibri: "calibri";
777
+ cambria: "cambria";
778
+ courier: "courier";
779
+ times: "times";
780
+ }>>;
781
+ sizePt: z.ZodOptional<z.ZodNumber>;
782
+ color: z.ZodOptional<z.ZodString>;
783
+ }, z.core.$strip>>;
784
+ text: z.ZodOptional<z.ZodString>;
785
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
786
+ font: z.ZodOptional<z.ZodEnum<{
787
+ arial: "arial";
788
+ calibri: "calibri";
789
+ cambria: "cambria";
790
+ courier: "courier";
791
+ times: "times";
792
+ }>>;
793
+ sizePt: z.ZodOptional<z.ZodNumber>;
794
+ color: z.ZodOptional<z.ZodString>;
795
+ text: z.ZodString;
796
+ bold: z.ZodOptional<z.ZodBoolean>;
797
+ italic: z.ZodOptional<z.ZodBoolean>;
798
+ underline: z.ZodOptional<z.ZodBoolean>;
799
+ dateStyle: z.ZodOptional<z.ZodEnum<{
800
+ long: "long";
801
+ short: "short";
802
+ }>>;
803
+ }, z.core.$strip>, z.ZodObject<{
804
+ hardBreak: z.ZodLiteral<true>;
805
+ }, z.core.$strip>]>>>;
806
+ type: z.ZodLiteral<"heading">;
807
+ level: z.ZodNumber;
808
+ }, z.core.$strip>, z.ZodObject<{
809
+ align: z.ZodOptional<z.ZodEnum<{
810
+ center: "center";
811
+ justify: "justify";
812
+ left: "left";
813
+ right: "right";
814
+ }>>;
815
+ style: z.ZodOptional<z.ZodObject<{
816
+ lineHeight: z.ZodOptional<z.ZodNumber>;
817
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
818
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
819
+ }, z.core.$strip>>;
820
+ textStyle: z.ZodOptional<z.ZodObject<{
821
+ font: z.ZodOptional<z.ZodEnum<{
822
+ arial: "arial";
823
+ calibri: "calibri";
824
+ cambria: "cambria";
825
+ courier: "courier";
826
+ times: "times";
827
+ }>>;
828
+ sizePt: z.ZodOptional<z.ZodNumber>;
829
+ color: z.ZodOptional<z.ZodString>;
830
+ }, z.core.$strip>>;
831
+ type: z.ZodLiteral<"list">;
832
+ ordered: z.ZodBoolean;
833
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
834
+ font: z.ZodOptional<z.ZodEnum<{
835
+ arial: "arial";
836
+ calibri: "calibri";
837
+ cambria: "cambria";
838
+ courier: "courier";
839
+ times: "times";
840
+ }>>;
841
+ sizePt: z.ZodOptional<z.ZodNumber>;
842
+ color: z.ZodOptional<z.ZodString>;
843
+ text: z.ZodString;
844
+ bold: z.ZodOptional<z.ZodBoolean>;
845
+ italic: z.ZodOptional<z.ZodBoolean>;
846
+ underline: z.ZodOptional<z.ZodBoolean>;
847
+ dateStyle: z.ZodOptional<z.ZodEnum<{
848
+ long: "long";
849
+ short: "short";
850
+ }>>;
851
+ }, z.core.$strip>, z.ZodObject<{
852
+ hardBreak: z.ZodLiteral<true>;
853
+ }, z.core.$strip>]>>]>>;
854
+ }, z.core.$strip>, z.ZodObject<{
855
+ type: z.ZodLiteral<"table">;
856
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
857
+ cellPaddingMm: z.ZodOptional<z.ZodNumber>;
858
+ widthMm: z.ZodOptional<z.ZodNumber>;
859
+ align: z.ZodOptional<z.ZodEnum<{
860
+ center: "center";
861
+ left: "left";
862
+ right: "right";
863
+ }>>;
864
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
865
+ header: z.ZodOptional<z.ZodObject<{
866
+ cells: z.ZodArray<z.ZodObject<{
867
+ text: z.ZodOptional<z.ZodString>;
868
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
869
+ font: z.ZodOptional<z.ZodEnum<{
870
+ arial: "arial";
871
+ calibri: "calibri";
872
+ cambria: "cambria";
873
+ courier: "courier";
874
+ times: "times";
875
+ }>>;
876
+ sizePt: z.ZodOptional<z.ZodNumber>;
877
+ color: z.ZodOptional<z.ZodString>;
878
+ text: z.ZodString;
879
+ bold: z.ZodOptional<z.ZodBoolean>;
880
+ italic: z.ZodOptional<z.ZodBoolean>;
881
+ underline: z.ZodOptional<z.ZodBoolean>;
882
+ dateStyle: z.ZodOptional<z.ZodEnum<{
883
+ long: "long";
884
+ short: "short";
885
+ }>>;
886
+ }, z.core.$strip>, z.ZodObject<{
887
+ hardBreak: z.ZodLiteral<true>;
888
+ }, z.core.$strip>]>>>;
889
+ background: z.ZodOptional<z.ZodString>;
890
+ align: z.ZodOptional<z.ZodEnum<{
891
+ center: "center";
892
+ justify: "justify";
893
+ left: "left";
894
+ right: "right";
895
+ }>>;
896
+ }, z.core.$strip>>;
897
+ lineAbove: z.ZodOptional<z.ZodObject<{
898
+ color: z.ZodString;
899
+ weightPt: z.ZodNumber;
900
+ }, z.core.$strip>>;
901
+ lineBelow: z.ZodOptional<z.ZodObject<{
902
+ color: z.ZodString;
903
+ weightPt: z.ZodNumber;
904
+ }, z.core.$strip>>;
905
+ }, z.core.$strip>>;
906
+ rows: z.ZodArray<z.ZodObject<{
907
+ cells: z.ZodArray<z.ZodObject<{
908
+ text: z.ZodOptional<z.ZodString>;
909
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
910
+ font: z.ZodOptional<z.ZodEnum<{
911
+ arial: "arial";
912
+ calibri: "calibri";
913
+ cambria: "cambria";
914
+ courier: "courier";
915
+ times: "times";
916
+ }>>;
917
+ sizePt: z.ZodOptional<z.ZodNumber>;
918
+ color: z.ZodOptional<z.ZodString>;
919
+ text: z.ZodString;
920
+ bold: z.ZodOptional<z.ZodBoolean>;
921
+ italic: z.ZodOptional<z.ZodBoolean>;
922
+ underline: z.ZodOptional<z.ZodBoolean>;
923
+ dateStyle: z.ZodOptional<z.ZodEnum<{
924
+ long: "long";
925
+ short: "short";
926
+ }>>;
927
+ }, z.core.$strip>, z.ZodObject<{
928
+ hardBreak: z.ZodLiteral<true>;
929
+ }, z.core.$strip>]>>>;
930
+ background: z.ZodOptional<z.ZodString>;
931
+ align: z.ZodOptional<z.ZodEnum<{
932
+ center: "center";
933
+ justify: "justify";
934
+ left: "left";
935
+ right: "right";
936
+ }>>;
937
+ }, z.core.$strip>>;
938
+ lineAbove: z.ZodOptional<z.ZodObject<{
939
+ color: z.ZodString;
940
+ weightPt: z.ZodNumber;
941
+ }, z.core.$strip>>;
942
+ lineBelow: z.ZodOptional<z.ZodObject<{
943
+ color: z.ZodString;
944
+ weightPt: z.ZodNumber;
945
+ }, z.core.$strip>>;
946
+ }, z.core.$strip>>;
947
+ repeat: z.ZodOptional<z.ZodObject<{
948
+ each: z.ZodString;
949
+ row: z.ZodObject<{
950
+ cells: z.ZodArray<z.ZodObject<{
951
+ text: z.ZodOptional<z.ZodString>;
952
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
953
+ font: z.ZodOptional<z.ZodEnum<{
954
+ arial: "arial";
955
+ calibri: "calibri";
956
+ cambria: "cambria";
957
+ courier: "courier";
958
+ times: "times";
959
+ }>>;
960
+ sizePt: z.ZodOptional<z.ZodNumber>;
961
+ color: z.ZodOptional<z.ZodString>;
962
+ text: z.ZodString;
963
+ bold: z.ZodOptional<z.ZodBoolean>;
964
+ italic: z.ZodOptional<z.ZodBoolean>;
965
+ underline: z.ZodOptional<z.ZodBoolean>;
966
+ dateStyle: z.ZodOptional<z.ZodEnum<{
967
+ long: "long";
968
+ short: "short";
969
+ }>>;
970
+ }, z.core.$strip>, z.ZodObject<{
971
+ hardBreak: z.ZodLiteral<true>;
972
+ }, z.core.$strip>]>>>;
973
+ background: z.ZodOptional<z.ZodString>;
974
+ align: z.ZodOptional<z.ZodEnum<{
975
+ center: "center";
976
+ justify: "justify";
977
+ left: "left";
978
+ right: "right";
979
+ }>>;
980
+ }, z.core.$strip>>;
981
+ lineAbove: z.ZodOptional<z.ZodObject<{
982
+ color: z.ZodString;
983
+ weightPt: z.ZodNumber;
984
+ }, z.core.$strip>>;
985
+ lineBelow: z.ZodOptional<z.ZodObject<{
986
+ color: z.ZodString;
987
+ weightPt: z.ZodNumber;
988
+ }, z.core.$strip>>;
989
+ }, z.core.$strip>;
990
+ }, z.core.$strip>>;
991
+ rowsAfterRepeat: z.ZodOptional<z.ZodArray<z.ZodObject<{
992
+ cells: z.ZodArray<z.ZodObject<{
993
+ text: z.ZodOptional<z.ZodString>;
994
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
995
+ font: z.ZodOptional<z.ZodEnum<{
996
+ arial: "arial";
997
+ calibri: "calibri";
998
+ cambria: "cambria";
999
+ courier: "courier";
1000
+ times: "times";
1001
+ }>>;
1002
+ sizePt: z.ZodOptional<z.ZodNumber>;
1003
+ color: z.ZodOptional<z.ZodString>;
1004
+ text: z.ZodString;
1005
+ bold: z.ZodOptional<z.ZodBoolean>;
1006
+ italic: z.ZodOptional<z.ZodBoolean>;
1007
+ underline: z.ZodOptional<z.ZodBoolean>;
1008
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1009
+ long: "long";
1010
+ short: "short";
1011
+ }>>;
1012
+ }, z.core.$strip>, z.ZodObject<{
1013
+ hardBreak: z.ZodLiteral<true>;
1014
+ }, z.core.$strip>]>>>;
1015
+ background: z.ZodOptional<z.ZodString>;
1016
+ align: z.ZodOptional<z.ZodEnum<{
1017
+ center: "center";
1018
+ justify: "justify";
1019
+ left: "left";
1020
+ right: "right";
1021
+ }>>;
1022
+ }, z.core.$strip>>;
1023
+ lineAbove: z.ZodOptional<z.ZodObject<{
1024
+ color: z.ZodString;
1025
+ weightPt: z.ZodNumber;
1026
+ }, z.core.$strip>>;
1027
+ lineBelow: z.ZodOptional<z.ZodObject<{
1028
+ color: z.ZodString;
1029
+ weightPt: z.ZodNumber;
1030
+ }, z.core.$strip>>;
1031
+ }, z.core.$strip>>>;
1032
+ }, z.core.$strip>, z.ZodObject<{
1033
+ type: z.ZodLiteral<"frame">;
1034
+ xMm: z.ZodNumber;
1035
+ yMm: z.ZodNumber;
1036
+ widthMm: z.ZodNumber;
1037
+ heightMm: z.ZodNumber;
1038
+ preset: z.ZodOptional<z.ZodEnum<{
1039
+ address: "address";
1040
+ text: "text";
1041
+ }>>;
1042
+ reserveFlow: z.ZodOptional<z.ZodBoolean>;
1043
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1044
+ align: z.ZodOptional<z.ZodEnum<{
1045
+ center: "center";
1046
+ justify: "justify";
1047
+ left: "left";
1048
+ right: "right";
1049
+ }>>;
1050
+ style: z.ZodOptional<z.ZodObject<{
1051
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1052
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1053
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1054
+ }, z.core.$strip>>;
1055
+ textStyle: z.ZodOptional<z.ZodObject<{
1056
+ font: z.ZodOptional<z.ZodEnum<{
1057
+ arial: "arial";
1058
+ calibri: "calibri";
1059
+ cambria: "cambria";
1060
+ courier: "courier";
1061
+ times: "times";
1062
+ }>>;
1063
+ sizePt: z.ZodOptional<z.ZodNumber>;
1064
+ color: z.ZodOptional<z.ZodString>;
1065
+ }, z.core.$strip>>;
1066
+ text: z.ZodOptional<z.ZodString>;
1067
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1068
+ font: z.ZodOptional<z.ZodEnum<{
1069
+ arial: "arial";
1070
+ calibri: "calibri";
1071
+ cambria: "cambria";
1072
+ courier: "courier";
1073
+ times: "times";
1074
+ }>>;
1075
+ sizePt: z.ZodOptional<z.ZodNumber>;
1076
+ color: z.ZodOptional<z.ZodString>;
1077
+ text: z.ZodString;
1078
+ bold: z.ZodOptional<z.ZodBoolean>;
1079
+ italic: z.ZodOptional<z.ZodBoolean>;
1080
+ underline: z.ZodOptional<z.ZodBoolean>;
1081
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1082
+ long: "long";
1083
+ short: "short";
1084
+ }>>;
1085
+ }, z.core.$strip>, z.ZodObject<{
1086
+ hardBreak: z.ZodLiteral<true>;
1087
+ }, z.core.$strip>]>>>;
1088
+ type: z.ZodLiteral<"paragraph">;
1089
+ }, z.core.$strip>, z.ZodObject<{
1090
+ align: z.ZodOptional<z.ZodEnum<{
1091
+ center: "center";
1092
+ justify: "justify";
1093
+ left: "left";
1094
+ right: "right";
1095
+ }>>;
1096
+ style: z.ZodOptional<z.ZodObject<{
1097
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1098
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1099
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1100
+ }, z.core.$strip>>;
1101
+ textStyle: z.ZodOptional<z.ZodObject<{
1102
+ font: z.ZodOptional<z.ZodEnum<{
1103
+ arial: "arial";
1104
+ calibri: "calibri";
1105
+ cambria: "cambria";
1106
+ courier: "courier";
1107
+ times: "times";
1108
+ }>>;
1109
+ sizePt: z.ZodOptional<z.ZodNumber>;
1110
+ color: z.ZodOptional<z.ZodString>;
1111
+ }, z.core.$strip>>;
1112
+ text: z.ZodOptional<z.ZodString>;
1113
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1114
+ font: z.ZodOptional<z.ZodEnum<{
1115
+ arial: "arial";
1116
+ calibri: "calibri";
1117
+ cambria: "cambria";
1118
+ courier: "courier";
1119
+ times: "times";
1120
+ }>>;
1121
+ sizePt: z.ZodOptional<z.ZodNumber>;
1122
+ color: z.ZodOptional<z.ZodString>;
1123
+ text: z.ZodString;
1124
+ bold: z.ZodOptional<z.ZodBoolean>;
1125
+ italic: z.ZodOptional<z.ZodBoolean>;
1126
+ underline: z.ZodOptional<z.ZodBoolean>;
1127
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1128
+ long: "long";
1129
+ short: "short";
1130
+ }>>;
1131
+ }, z.core.$strip>, z.ZodObject<{
1132
+ hardBreak: z.ZodLiteral<true>;
1133
+ }, z.core.$strip>]>>>;
1134
+ type: z.ZodLiteral<"heading">;
1135
+ level: z.ZodNumber;
1136
+ }, z.core.$strip>, z.ZodObject<{
1137
+ align: z.ZodOptional<z.ZodEnum<{
1138
+ center: "center";
1139
+ justify: "justify";
1140
+ left: "left";
1141
+ right: "right";
1142
+ }>>;
1143
+ style: z.ZodOptional<z.ZodObject<{
1144
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1145
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1146
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1147
+ }, z.core.$strip>>;
1148
+ textStyle: z.ZodOptional<z.ZodObject<{
1149
+ font: z.ZodOptional<z.ZodEnum<{
1150
+ arial: "arial";
1151
+ calibri: "calibri";
1152
+ cambria: "cambria";
1153
+ courier: "courier";
1154
+ times: "times";
1155
+ }>>;
1156
+ sizePt: z.ZodOptional<z.ZodNumber>;
1157
+ color: z.ZodOptional<z.ZodString>;
1158
+ }, z.core.$strip>>;
1159
+ type: z.ZodLiteral<"list">;
1160
+ ordered: z.ZodBoolean;
1161
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1162
+ font: z.ZodOptional<z.ZodEnum<{
1163
+ arial: "arial";
1164
+ calibri: "calibri";
1165
+ cambria: "cambria";
1166
+ courier: "courier";
1167
+ times: "times";
1168
+ }>>;
1169
+ sizePt: z.ZodOptional<z.ZodNumber>;
1170
+ color: z.ZodOptional<z.ZodString>;
1171
+ text: z.ZodString;
1172
+ bold: z.ZodOptional<z.ZodBoolean>;
1173
+ italic: z.ZodOptional<z.ZodBoolean>;
1174
+ underline: z.ZodOptional<z.ZodBoolean>;
1175
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1176
+ long: "long";
1177
+ short: "short";
1178
+ }>>;
1179
+ }, z.core.$strip>, z.ZodObject<{
1180
+ hardBreak: z.ZodLiteral<true>;
1181
+ }, z.core.$strip>]>>]>>;
1182
+ }, z.core.$strip>, z.ZodObject<{
1183
+ type: z.ZodLiteral<"table">;
1184
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
1185
+ cellPaddingMm: z.ZodOptional<z.ZodNumber>;
1186
+ widthMm: z.ZodOptional<z.ZodNumber>;
1187
+ align: z.ZodOptional<z.ZodEnum<{
1188
+ center: "center";
1189
+ left: "left";
1190
+ right: "right";
1191
+ }>>;
1192
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1193
+ header: z.ZodOptional<z.ZodObject<{
1194
+ cells: z.ZodArray<z.ZodObject<{
1195
+ text: z.ZodOptional<z.ZodString>;
1196
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1197
+ font: z.ZodOptional<z.ZodEnum<{
1198
+ arial: "arial";
1199
+ calibri: "calibri";
1200
+ cambria: "cambria";
1201
+ courier: "courier";
1202
+ times: "times";
1203
+ }>>;
1204
+ sizePt: z.ZodOptional<z.ZodNumber>;
1205
+ color: z.ZodOptional<z.ZodString>;
1206
+ text: z.ZodString;
1207
+ bold: z.ZodOptional<z.ZodBoolean>;
1208
+ italic: z.ZodOptional<z.ZodBoolean>;
1209
+ underline: z.ZodOptional<z.ZodBoolean>;
1210
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1211
+ long: "long";
1212
+ short: "short";
1213
+ }>>;
1214
+ }, z.core.$strip>, z.ZodObject<{
1215
+ hardBreak: z.ZodLiteral<true>;
1216
+ }, z.core.$strip>]>>>;
1217
+ background: z.ZodOptional<z.ZodString>;
1218
+ align: z.ZodOptional<z.ZodEnum<{
1219
+ center: "center";
1220
+ justify: "justify";
1221
+ left: "left";
1222
+ right: "right";
1223
+ }>>;
1224
+ }, z.core.$strip>>;
1225
+ lineAbove: z.ZodOptional<z.ZodObject<{
1226
+ color: z.ZodString;
1227
+ weightPt: z.ZodNumber;
1228
+ }, z.core.$strip>>;
1229
+ lineBelow: z.ZodOptional<z.ZodObject<{
1230
+ color: z.ZodString;
1231
+ weightPt: z.ZodNumber;
1232
+ }, z.core.$strip>>;
1233
+ }, z.core.$strip>>;
1234
+ rows: z.ZodArray<z.ZodObject<{
1235
+ cells: z.ZodArray<z.ZodObject<{
1236
+ text: z.ZodOptional<z.ZodString>;
1237
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1238
+ font: z.ZodOptional<z.ZodEnum<{
1239
+ arial: "arial";
1240
+ calibri: "calibri";
1241
+ cambria: "cambria";
1242
+ courier: "courier";
1243
+ times: "times";
1244
+ }>>;
1245
+ sizePt: z.ZodOptional<z.ZodNumber>;
1246
+ color: z.ZodOptional<z.ZodString>;
1247
+ text: z.ZodString;
1248
+ bold: z.ZodOptional<z.ZodBoolean>;
1249
+ italic: z.ZodOptional<z.ZodBoolean>;
1250
+ underline: z.ZodOptional<z.ZodBoolean>;
1251
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1252
+ long: "long";
1253
+ short: "short";
1254
+ }>>;
1255
+ }, z.core.$strip>, z.ZodObject<{
1256
+ hardBreak: z.ZodLiteral<true>;
1257
+ }, z.core.$strip>]>>>;
1258
+ background: z.ZodOptional<z.ZodString>;
1259
+ align: z.ZodOptional<z.ZodEnum<{
1260
+ center: "center";
1261
+ justify: "justify";
1262
+ left: "left";
1263
+ right: "right";
1264
+ }>>;
1265
+ }, z.core.$strip>>;
1266
+ lineAbove: z.ZodOptional<z.ZodObject<{
1267
+ color: z.ZodString;
1268
+ weightPt: z.ZodNumber;
1269
+ }, z.core.$strip>>;
1270
+ lineBelow: z.ZodOptional<z.ZodObject<{
1271
+ color: z.ZodString;
1272
+ weightPt: z.ZodNumber;
1273
+ }, z.core.$strip>>;
1274
+ }, z.core.$strip>>;
1275
+ repeat: z.ZodOptional<z.ZodObject<{
1276
+ each: z.ZodString;
1277
+ row: z.ZodObject<{
1278
+ cells: z.ZodArray<z.ZodObject<{
1279
+ text: z.ZodOptional<z.ZodString>;
1280
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1281
+ font: z.ZodOptional<z.ZodEnum<{
1282
+ arial: "arial";
1283
+ calibri: "calibri";
1284
+ cambria: "cambria";
1285
+ courier: "courier";
1286
+ times: "times";
1287
+ }>>;
1288
+ sizePt: z.ZodOptional<z.ZodNumber>;
1289
+ color: z.ZodOptional<z.ZodString>;
1290
+ text: z.ZodString;
1291
+ bold: z.ZodOptional<z.ZodBoolean>;
1292
+ italic: z.ZodOptional<z.ZodBoolean>;
1293
+ underline: z.ZodOptional<z.ZodBoolean>;
1294
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1295
+ long: "long";
1296
+ short: "short";
1297
+ }>>;
1298
+ }, z.core.$strip>, z.ZodObject<{
1299
+ hardBreak: z.ZodLiteral<true>;
1300
+ }, z.core.$strip>]>>>;
1301
+ background: z.ZodOptional<z.ZodString>;
1302
+ align: z.ZodOptional<z.ZodEnum<{
1303
+ center: "center";
1304
+ justify: "justify";
1305
+ left: "left";
1306
+ right: "right";
1307
+ }>>;
1308
+ }, z.core.$strip>>;
1309
+ lineAbove: z.ZodOptional<z.ZodObject<{
1310
+ color: z.ZodString;
1311
+ weightPt: z.ZodNumber;
1312
+ }, z.core.$strip>>;
1313
+ lineBelow: z.ZodOptional<z.ZodObject<{
1314
+ color: z.ZodString;
1315
+ weightPt: z.ZodNumber;
1316
+ }, z.core.$strip>>;
1317
+ }, z.core.$strip>;
1318
+ }, z.core.$strip>>;
1319
+ rowsAfterRepeat: z.ZodOptional<z.ZodArray<z.ZodObject<{
1320
+ cells: z.ZodArray<z.ZodObject<{
1321
+ text: z.ZodOptional<z.ZodString>;
1322
+ runs: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1323
+ font: z.ZodOptional<z.ZodEnum<{
1324
+ arial: "arial";
1325
+ calibri: "calibri";
1326
+ cambria: "cambria";
1327
+ courier: "courier";
1328
+ times: "times";
1329
+ }>>;
1330
+ sizePt: z.ZodOptional<z.ZodNumber>;
1331
+ color: z.ZodOptional<z.ZodString>;
1332
+ text: z.ZodString;
1333
+ bold: z.ZodOptional<z.ZodBoolean>;
1334
+ italic: z.ZodOptional<z.ZodBoolean>;
1335
+ underline: z.ZodOptional<z.ZodBoolean>;
1336
+ dateStyle: z.ZodOptional<z.ZodEnum<{
1337
+ long: "long";
1338
+ short: "short";
1339
+ }>>;
1340
+ }, z.core.$strip>, z.ZodObject<{
1341
+ hardBreak: z.ZodLiteral<true>;
1342
+ }, z.core.$strip>]>>>;
1343
+ background: z.ZodOptional<z.ZodString>;
1344
+ align: z.ZodOptional<z.ZodEnum<{
1345
+ center: "center";
1346
+ justify: "justify";
1347
+ left: "left";
1348
+ right: "right";
1349
+ }>>;
1350
+ }, z.core.$strip>>;
1351
+ lineAbove: z.ZodOptional<z.ZodObject<{
1352
+ color: z.ZodString;
1353
+ weightPt: z.ZodNumber;
1354
+ }, z.core.$strip>>;
1355
+ lineBelow: z.ZodOptional<z.ZodObject<{
1356
+ color: z.ZodString;
1357
+ weightPt: z.ZodNumber;
1358
+ }, z.core.$strip>>;
1359
+ }, z.core.$strip>>>;
1360
+ }, z.core.$strip>, z.ZodObject<{
1361
+ type: z.ZodLiteral<"image">;
1362
+ resource: z.ZodString;
1363
+ alt: z.ZodOptional<z.ZodString>;
1364
+ widthMm: z.ZodOptional<z.ZodNumber>;
1365
+ align: z.ZodOptional<z.ZodEnum<{
1366
+ center: "center";
1367
+ left: "left";
1368
+ right: "right";
1369
+ }>>;
1370
+ bleed: z.ZodOptional<z.ZodBoolean>;
1371
+ }, z.core.$strip>], "type">>;
1372
+ }, z.core.$strip>, z.ZodObject<{
1373
+ type: z.ZodLiteral<"image">;
1374
+ resource: z.ZodString;
1375
+ alt: z.ZodOptional<z.ZodString>;
1376
+ widthMm: z.ZodOptional<z.ZodNumber>;
1377
+ align: z.ZodOptional<z.ZodEnum<{
1378
+ center: "center";
1379
+ left: "left";
1380
+ right: "right";
1381
+ }>>;
1382
+ bleed: z.ZodOptional<z.ZodBoolean>;
1383
+ }, z.core.$strip>, z.ZodObject<{
1384
+ type: z.ZodLiteral<"button">;
1385
+ text: z.ZodString;
1386
+ href: z.ZodString;
1387
+ }, z.core.$strip>, z.ZodObject<{
1388
+ type: z.ZodLiteral<"divider">;
1389
+ color: z.ZodOptional<z.ZodString>;
1390
+ weightPt: z.ZodOptional<z.ZodNumber>;
1391
+ }, z.core.$strip>, z.ZodObject<{
1392
+ type: z.ZodLiteral<"pageBreak">;
1393
+ }, z.core.$strip>], "type">>;
1394
+ }, z.core.$strip>, z.ZodObject<{
1395
+ align: z.ZodOptional<z.ZodEnum<{
1396
+ center: "center";
1397
+ justify: "justify";
1398
+ left: "left";
1399
+ right: "right";
1400
+ }>>;
1401
+ style: z.ZodOptional<z.ZodObject<{
1402
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1403
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1404
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1405
+ }, z.core.$strip>>;
1406
+ textStyle: z.ZodOptional<z.ZodObject<{
1407
+ font: z.ZodOptional<z.ZodEnum<{
1408
+ arial: "arial";
1409
+ calibri: "calibri";
1410
+ cambria: "cambria";
1411
+ courier: "courier";
1412
+ times: "times";
1413
+ }>>;
1414
+ sizePt: z.ZodOptional<z.ZodNumber>;
1415
+ color: z.ZodOptional<z.ZodString>;
1416
+ }, z.core.$strip>>;
1417
+ op: z.ZodLiteral<"formatBlock">;
1418
+ blockId: z.ZodString;
54
1419
  }, z.core.$strip>, z.ZodObject<{
55
1420
  op: z.ZodLiteral<"setResource">;
56
1421
  blockId: z.ZodString;