@cosmicdrift/kumiko-bundled-features 0.418.0 → 0.419.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 (114) hide show
  1. package/dist/template-resolver/compile-document-body.js +3 -6
  2. package/dist/template-resolver/compile-document-styles.d.ts +3 -0
  3. package/dist/template-resolver/compile-document-styles.js +84 -0
  4. package/dist/template-resolver/document-frames.d.ts +3 -0
  5. package/dist/template-resolver/document-frames.js +19 -0
  6. package/dist/template-resolver/document-op-blocks.d.ts +495 -0
  7. package/dist/template-resolver/document-op-blocks.js +430 -0
  8. package/dist/template-resolver/document-ops.d.ts +1809 -37
  9. package/dist/template-resolver/document-ops.js +97 -104
  10. package/dist/template-resolver/document-print-only.d.ts +10 -0
  11. package/dist/template-resolver/document-print-only.js +24 -0
  12. package/dist/template-resolver/document-sanitizer.d.ts +1 -1
  13. package/dist/template-resolver/document-sanitizer.js +24 -13
  14. package/dist/template-resolver/feature.d.ts +3 -0
  15. package/dist/template-resolver/feature.js +14 -1
  16. package/dist/template-resolver/handlers/apply-layout.write.d.ts +29 -0
  17. package/dist/template-resolver/handlers/apply-layout.write.js +118 -0
  18. package/dist/template-resolver/handlers/create-layout.write.d.ts +15 -0
  19. package/dist/template-resolver/handlers/create-layout.write.js +78 -0
  20. package/dist/template-resolver/handlers/document-base.d.ts +2 -2
  21. package/dist/template-resolver/handlers/document-blocks.query.d.ts +10 -3
  22. package/dist/template-resolver/handlers/document-blocks.query.js +13 -8
  23. package/dist/template-resolver/handlers/document-region.d.ts +19 -0
  24. package/dist/template-resolver/handlers/document-region.js +27 -0
  25. package/dist/template-resolver/handlers/failure-reason.d.ts +2 -0
  26. package/dist/template-resolver/handlers/failure-reason.js +12 -0
  27. package/dist/template-resolver/handlers/import-bundle-system.write.js +4 -0
  28. package/dist/template-resolver/handlers/layout-source.query.d.ts +3 -3
  29. package/dist/template-resolver/handlers/layout-source.query.js +6 -2
  30. package/dist/template-resolver/handlers/overview.query.d.ts +8 -0
  31. package/dist/template-resolver/handlers/overview.query.js +12 -6
  32. package/dist/template-resolver/handlers/patch-draft.write.d.ts +905 -4
  33. package/dist/template-resolver/handlers/patch-draft.write.js +10 -6
  34. package/dist/template-resolver/handlers/publish-templates.write.d.ts +40 -0
  35. package/dist/template-resolver/handlers/publish-templates.write.js +61 -0
  36. package/dist/template-resolver/handlers/set.write.js +4 -1
  37. package/dist/template-resolver/handlers/template-write.js +7 -2
  38. package/dist/template-resolver/handlers/tenant-settings.d.ts +17 -0
  39. package/dist/template-resolver/handlers/tenant-settings.js +91 -0
  40. package/dist/template-resolver/handlers/toggle-status.write.d.ts +14 -9
  41. package/dist/template-resolver/handlers/toggle-status.write.js +11 -7
  42. package/dist/template-resolver/handlers/upsert-system.write.js +15 -9
  43. package/dist/template-resolver/handlers/usage.query.d.ts +14 -0
  44. package/dist/template-resolver/handlers/usage.query.js +80 -12
  45. package/dist/template-resolver/handlers/validate.query.d.ts +2 -0
  46. package/dist/template-resolver/handlers/validate.query.js +10 -0
  47. package/dist/template-resolver/i18n.js +3 -0
  48. package/dist/template-resolver/index.d.ts +7 -2
  49. package/dist/template-resolver/index.js +6 -2
  50. package/dist/template-resolver/layout-regions.d.ts +4 -5
  51. package/dist/template-resolver/layout-regions.js +38 -11
  52. package/dist/template-resolver/print-document.js +3 -1
  53. package/dist/template-resolver/seeding.js +4 -0
  54. package/dist/template-resolver/template-delivery-policy.d.ts +1 -0
  55. package/dist/template-resolver/template-delivery-policy.js +9 -1
  56. package/dist/template-resolver/template-edit-policy.d.ts +5 -1
  57. package/dist/template-resolver/template-edit-policy.js +29 -1
  58. package/dist/template-resolver/template-meta.d.ts +27 -2
  59. package/dist/template-resolver/template-meta.js +21 -5
  60. package/dist/template-resolver/template-preview.js +8 -8
  61. package/dist/template-resolver/template-validation.js +10 -3
  62. package/dist/template-resolver/web/constants.d.ts +7 -1
  63. package/dist/template-resolver/web/constants.js +21 -1
  64. package/dist/template-resolver/web/document-blocks.d.ts +1 -0
  65. package/dist/template-resolver/web/document-blocks.js +2 -0
  66. package/dist/template-resolver/web/document-editor-extensions.d.ts +9 -1
  67. package/dist/template-resolver/web/document-editor-extensions.js +27 -2
  68. package/dist/template-resolver/web/document-editor-fonts.d.ts +10 -0
  69. package/dist/template-resolver/web/document-editor-fonts.js +13 -0
  70. package/dist/template-resolver/web/document-fonts.d.ts +4 -0
  71. package/dist/template-resolver/web/document-fonts.js +18 -0
  72. package/dist/template-resolver/web/document-frame-control.d.ts +61 -0
  73. package/dist/template-resolver/web/document-frame-control.js +329 -0
  74. package/dist/template-resolver/web/document-frame-node-view.d.ts +4 -0
  75. package/dist/template-resolver/web/document-frame-node-view.js +173 -0
  76. package/dist/template-resolver/web/document-print-decorations.d.ts +12 -0
  77. package/dist/template-resolver/web/document-print-decorations.js +147 -0
  78. package/dist/template-resolver/web/document-print-defaults.d.ts +14 -0
  79. package/dist/template-resolver/web/document-print-defaults.js +25 -0
  80. package/dist/template-resolver/web/document-print-style.d.ts +71 -0
  81. package/dist/template-resolver/web/document-print-style.js +199 -0
  82. package/dist/template-resolver/web/document-repeat-strip.d.ts +8 -0
  83. package/dist/template-resolver/web/document-repeat-strip.js +78 -0
  84. package/dist/template-resolver/web/document-schema.js +23 -9
  85. package/dist/template-resolver/web/document-style-css.d.ts +29 -0
  86. package/dist/template-resolver/web/document-style-css.js +76 -0
  87. package/dist/template-resolver/web/document-tiptap-bubble.js +13 -3
  88. package/dist/template-resolver/web/document-tiptap-content.d.ts +2 -1
  89. package/dist/template-resolver/web/document-tiptap-content.js +36 -4
  90. package/dist/template-resolver/web/document-tiptap-context.d.ts +6 -2
  91. package/dist/template-resolver/web/document-tiptap-context.js +2 -1
  92. package/dist/template-resolver/web/document-tiptap-editor.d.ts +1 -1
  93. package/dist/template-resolver/web/document-tiptap-editor.js +13 -5
  94. package/dist/template-resolver/web/document-tiptap-helpers.d.ts +30 -1
  95. package/dist/template-resolver/web/document-tiptap-helpers.js +103 -2
  96. package/dist/template-resolver/web/document-tiptap-toolbar-groups.d.ts +5 -0
  97. package/dist/template-resolver/web/document-tiptap-toolbar-groups.js +89 -6
  98. package/dist/template-resolver/web/document-tiptap-toolbar.js +45 -8
  99. package/dist/template-resolver/web/document-toolbar-blocks.d.ts +17 -0
  100. package/dist/template-resolver/web/i18n.js +19 -0
  101. package/dist/template-resolver/web/index.d.ts +8 -2
  102. package/dist/template-resolver/web/index.js +6 -1
  103. package/dist/template-resolver/web/pdf-constants.d.ts +3 -0
  104. package/dist/template-resolver/web/pdf-constants.js +3 -0
  105. package/dist/template-resolver/web/qualified-names.d.ts +7 -0
  106. package/dist/template-resolver/web/qualified-names.js +6 -0
  107. package/dist/template-resolver/web/use-document-tiptap-model.d.ts +6 -2
  108. package/dist/template-resolver/web/use-document-tiptap-model.js +38 -3
  109. package/dist/tenant/company-config.d.ts +6 -0
  110. package/dist/tenant/company-config.js +41 -0
  111. package/dist/tenant/feature.js +11 -0
  112. package/dist/tenant/i18n.js +14 -0
  113. package/package.json +16 -11
  114. package/src/template-resolver/changes.json +38 -0
@@ -1,9 +1,10 @@
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 { DocumentOpsKind } from "./web/constants.ts";
5
6
  export declare const MAX_DOCUMENT_OPS = 50;
6
- export type DocumentBlockType = "paragraph" | "heading" | "list" | "table" | "repeat" | "image" | "button" | "divider" | "pageBreak" | "steps";
7
+ export type DocumentBlockType = "paragraph" | "heading" | "list" | "table" | "repeat" | "frame" | "image" | "button" | "divider" | "pageBreak" | "steps";
7
8
  export type DocumentBlock = {
8
9
  readonly id: string;
9
10
  readonly type: DocumentBlockType;
@@ -16,52 +17,455 @@ export type DocumentBlock = {
16
17
  readonly alt?: string;
17
18
  readonly href?: string;
18
19
  readonly each?: string;
20
+ readonly frame?: FrameBox;
21
+ };
22
+ export type FrameBox = {
23
+ readonly xMm: number;
24
+ readonly yMm: number;
25
+ readonly widthMm: number;
26
+ readonly heightMm: number;
27
+ readonly preset?: string;
19
28
  };
20
29
  export declare function documentBlockId(index: number): string;
21
30
  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>;
31
+ export type { BlockInput };
49
32
  export declare const documentOpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
50
33
  op: z.ZodLiteral<"insertBlock">;
51
34
  after: z.ZodNullable<z.ZodString>;
52
35
  block: z.ZodDiscriminatedUnion<[z.ZodObject<{
53
- type: z.ZodLiteral<"paragraph">;
54
- text: z.ZodString;
55
36
  align: z.ZodOptional<z.ZodEnum<{
56
37
  center: "center";
57
38
  justify: "justify";
58
39
  left: "left";
59
40
  right: "right";
60
41
  }>>;
42
+ style: z.ZodOptional<z.ZodObject<{
43
+ lineHeight: z.ZodOptional<z.ZodNumber>;
44
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
45
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
46
+ }, z.core.$strip>>;
47
+ textStyle: z.ZodOptional<z.ZodObject<{
48
+ font: z.ZodOptional<z.ZodEnum<{
49
+ arial: "arial";
50
+ calibri: "calibri";
51
+ cambria: "cambria";
52
+ courier: "courier";
53
+ times: "times";
54
+ }>>;
55
+ sizePt: z.ZodOptional<z.ZodNumber>;
56
+ color: z.ZodOptional<z.ZodString>;
57
+ }, z.core.$strip>>;
58
+ text: z.ZodOptional<z.ZodString>;
59
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
60
+ font: z.ZodOptional<z.ZodEnum<{
61
+ arial: "arial";
62
+ calibri: "calibri";
63
+ cambria: "cambria";
64
+ courier: "courier";
65
+ times: "times";
66
+ }>>;
67
+ sizePt: z.ZodOptional<z.ZodNumber>;
68
+ color: z.ZodOptional<z.ZodString>;
69
+ text: z.ZodString;
70
+ bold: z.ZodOptional<z.ZodBoolean>;
71
+ italic: z.ZodOptional<z.ZodBoolean>;
72
+ underline: z.ZodOptional<z.ZodBoolean>;
73
+ }, z.core.$strip>>>;
74
+ type: z.ZodLiteral<"paragraph">;
61
75
  }, z.core.$strip>, z.ZodObject<{
76
+ align: z.ZodOptional<z.ZodEnum<{
77
+ center: "center";
78
+ justify: "justify";
79
+ left: "left";
80
+ right: "right";
81
+ }>>;
82
+ style: z.ZodOptional<z.ZodObject<{
83
+ lineHeight: z.ZodOptional<z.ZodNumber>;
84
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
85
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
86
+ }, z.core.$strip>>;
87
+ textStyle: z.ZodOptional<z.ZodObject<{
88
+ font: z.ZodOptional<z.ZodEnum<{
89
+ arial: "arial";
90
+ calibri: "calibri";
91
+ cambria: "cambria";
92
+ courier: "courier";
93
+ times: "times";
94
+ }>>;
95
+ sizePt: z.ZodOptional<z.ZodNumber>;
96
+ color: z.ZodOptional<z.ZodString>;
97
+ }, z.core.$strip>>;
98
+ text: z.ZodOptional<z.ZodString>;
99
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
100
+ font: z.ZodOptional<z.ZodEnum<{
101
+ arial: "arial";
102
+ calibri: "calibri";
103
+ cambria: "cambria";
104
+ courier: "courier";
105
+ times: "times";
106
+ }>>;
107
+ sizePt: z.ZodOptional<z.ZodNumber>;
108
+ color: z.ZodOptional<z.ZodString>;
109
+ text: z.ZodString;
110
+ bold: z.ZodOptional<z.ZodBoolean>;
111
+ italic: z.ZodOptional<z.ZodBoolean>;
112
+ underline: z.ZodOptional<z.ZodBoolean>;
113
+ }, z.core.$strip>>>;
62
114
  type: z.ZodLiteral<"heading">;
63
115
  level: z.ZodNumber;
64
- text: z.ZodString;
116
+ }, z.core.$strip>, z.ZodObject<{
117
+ align: z.ZodOptional<z.ZodEnum<{
118
+ center: "center";
119
+ justify: "justify";
120
+ left: "left";
121
+ right: "right";
122
+ }>>;
123
+ style: z.ZodOptional<z.ZodObject<{
124
+ lineHeight: z.ZodOptional<z.ZodNumber>;
125
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
126
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
127
+ }, z.core.$strip>>;
128
+ textStyle: z.ZodOptional<z.ZodObject<{
129
+ font: z.ZodOptional<z.ZodEnum<{
130
+ arial: "arial";
131
+ calibri: "calibri";
132
+ cambria: "cambria";
133
+ courier: "courier";
134
+ times: "times";
135
+ }>>;
136
+ sizePt: z.ZodOptional<z.ZodNumber>;
137
+ color: z.ZodOptional<z.ZodString>;
138
+ }, z.core.$strip>>;
139
+ type: z.ZodLiteral<"list">;
140
+ ordered: z.ZodBoolean;
141
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
142
+ font: z.ZodOptional<z.ZodEnum<{
143
+ arial: "arial";
144
+ calibri: "calibri";
145
+ cambria: "cambria";
146
+ courier: "courier";
147
+ times: "times";
148
+ }>>;
149
+ sizePt: z.ZodOptional<z.ZodNumber>;
150
+ color: z.ZodOptional<z.ZodString>;
151
+ text: z.ZodString;
152
+ bold: z.ZodOptional<z.ZodBoolean>;
153
+ italic: z.ZodOptional<z.ZodBoolean>;
154
+ underline: z.ZodOptional<z.ZodBoolean>;
155
+ }, z.core.$strip>>]>>;
156
+ }, z.core.$strip>, z.ZodObject<{
157
+ type: z.ZodLiteral<"table">;
158
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
159
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
160
+ header: z.ZodOptional<z.ZodObject<{
161
+ cells: z.ZodArray<z.ZodObject<{
162
+ text: z.ZodOptional<z.ZodString>;
163
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
164
+ font: z.ZodOptional<z.ZodEnum<{
165
+ arial: "arial";
166
+ calibri: "calibri";
167
+ cambria: "cambria";
168
+ courier: "courier";
169
+ times: "times";
170
+ }>>;
171
+ sizePt: z.ZodOptional<z.ZodNumber>;
172
+ color: z.ZodOptional<z.ZodString>;
173
+ text: z.ZodString;
174
+ bold: z.ZodOptional<z.ZodBoolean>;
175
+ italic: z.ZodOptional<z.ZodBoolean>;
176
+ underline: z.ZodOptional<z.ZodBoolean>;
177
+ }, z.core.$strip>>>;
178
+ background: z.ZodOptional<z.ZodString>;
179
+ align: z.ZodOptional<z.ZodEnum<{
180
+ center: "center";
181
+ justify: "justify";
182
+ left: "left";
183
+ right: "right";
184
+ }>>;
185
+ }, z.core.$strip>>;
186
+ }, z.core.$strip>>;
187
+ rows: z.ZodArray<z.ZodObject<{
188
+ cells: z.ZodArray<z.ZodObject<{
189
+ text: z.ZodOptional<z.ZodString>;
190
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
191
+ font: z.ZodOptional<z.ZodEnum<{
192
+ arial: "arial";
193
+ calibri: "calibri";
194
+ cambria: "cambria";
195
+ courier: "courier";
196
+ times: "times";
197
+ }>>;
198
+ sizePt: z.ZodOptional<z.ZodNumber>;
199
+ color: z.ZodOptional<z.ZodString>;
200
+ text: z.ZodString;
201
+ bold: z.ZodOptional<z.ZodBoolean>;
202
+ italic: z.ZodOptional<z.ZodBoolean>;
203
+ underline: z.ZodOptional<z.ZodBoolean>;
204
+ }, z.core.$strip>>>;
205
+ background: z.ZodOptional<z.ZodString>;
206
+ align: z.ZodOptional<z.ZodEnum<{
207
+ center: "center";
208
+ justify: "justify";
209
+ left: "left";
210
+ right: "right";
211
+ }>>;
212
+ }, z.core.$strip>>;
213
+ }, z.core.$strip>>;
214
+ repeat: z.ZodOptional<z.ZodObject<{
215
+ each: z.ZodString;
216
+ row: z.ZodObject<{
217
+ cells: z.ZodArray<z.ZodObject<{
218
+ text: z.ZodOptional<z.ZodString>;
219
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
220
+ font: z.ZodOptional<z.ZodEnum<{
221
+ arial: "arial";
222
+ calibri: "calibri";
223
+ cambria: "cambria";
224
+ courier: "courier";
225
+ times: "times";
226
+ }>>;
227
+ sizePt: z.ZodOptional<z.ZodNumber>;
228
+ color: z.ZodOptional<z.ZodString>;
229
+ text: z.ZodString;
230
+ bold: z.ZodOptional<z.ZodBoolean>;
231
+ italic: z.ZodOptional<z.ZodBoolean>;
232
+ underline: z.ZodOptional<z.ZodBoolean>;
233
+ }, z.core.$strip>>>;
234
+ background: z.ZodOptional<z.ZodString>;
235
+ align: z.ZodOptional<z.ZodEnum<{
236
+ center: "center";
237
+ justify: "justify";
238
+ left: "left";
239
+ right: "right";
240
+ }>>;
241
+ }, z.core.$strip>>;
242
+ }, z.core.$strip>;
243
+ }, z.core.$strip>>;
244
+ }, z.core.$strip>, z.ZodObject<{
245
+ type: z.ZodLiteral<"frame">;
246
+ xMm: z.ZodNumber;
247
+ yMm: z.ZodNumber;
248
+ widthMm: z.ZodNumber;
249
+ heightMm: z.ZodNumber;
250
+ preset: z.ZodOptional<z.ZodEnum<{
251
+ address: "address";
252
+ text: "text";
253
+ }>>;
254
+ reserveFlow: z.ZodOptional<z.ZodBoolean>;
255
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
256
+ align: z.ZodOptional<z.ZodEnum<{
257
+ center: "center";
258
+ justify: "justify";
259
+ left: "left";
260
+ right: "right";
261
+ }>>;
262
+ style: z.ZodOptional<z.ZodObject<{
263
+ lineHeight: z.ZodOptional<z.ZodNumber>;
264
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
265
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
266
+ }, z.core.$strip>>;
267
+ textStyle: z.ZodOptional<z.ZodObject<{
268
+ font: z.ZodOptional<z.ZodEnum<{
269
+ arial: "arial";
270
+ calibri: "calibri";
271
+ cambria: "cambria";
272
+ courier: "courier";
273
+ times: "times";
274
+ }>>;
275
+ sizePt: z.ZodOptional<z.ZodNumber>;
276
+ color: z.ZodOptional<z.ZodString>;
277
+ }, z.core.$strip>>;
278
+ text: z.ZodOptional<z.ZodString>;
279
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
280
+ font: z.ZodOptional<z.ZodEnum<{
281
+ arial: "arial";
282
+ calibri: "calibri";
283
+ cambria: "cambria";
284
+ courier: "courier";
285
+ times: "times";
286
+ }>>;
287
+ sizePt: z.ZodOptional<z.ZodNumber>;
288
+ color: z.ZodOptional<z.ZodString>;
289
+ text: z.ZodString;
290
+ bold: z.ZodOptional<z.ZodBoolean>;
291
+ italic: z.ZodOptional<z.ZodBoolean>;
292
+ underline: z.ZodOptional<z.ZodBoolean>;
293
+ }, z.core.$strip>>>;
294
+ type: z.ZodLiteral<"paragraph">;
295
+ }, z.core.$strip>, z.ZodObject<{
296
+ align: z.ZodOptional<z.ZodEnum<{
297
+ center: "center";
298
+ justify: "justify";
299
+ left: "left";
300
+ right: "right";
301
+ }>>;
302
+ style: z.ZodOptional<z.ZodObject<{
303
+ lineHeight: z.ZodOptional<z.ZodNumber>;
304
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
305
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
306
+ }, z.core.$strip>>;
307
+ textStyle: z.ZodOptional<z.ZodObject<{
308
+ font: z.ZodOptional<z.ZodEnum<{
309
+ arial: "arial";
310
+ calibri: "calibri";
311
+ cambria: "cambria";
312
+ courier: "courier";
313
+ times: "times";
314
+ }>>;
315
+ sizePt: z.ZodOptional<z.ZodNumber>;
316
+ color: z.ZodOptional<z.ZodString>;
317
+ }, z.core.$strip>>;
318
+ text: z.ZodOptional<z.ZodString>;
319
+ runs: z.ZodOptional<z.ZodArray<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
+ }, z.core.$strip>>>;
334
+ type: z.ZodLiteral<"heading">;
335
+ level: z.ZodNumber;
336
+ }, z.core.$strip>, z.ZodObject<{
337
+ align: z.ZodOptional<z.ZodEnum<{
338
+ center: "center";
339
+ justify: "justify";
340
+ left: "left";
341
+ right: "right";
342
+ }>>;
343
+ style: z.ZodOptional<z.ZodObject<{
344
+ lineHeight: z.ZodOptional<z.ZodNumber>;
345
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
346
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
347
+ }, z.core.$strip>>;
348
+ textStyle: z.ZodOptional<z.ZodObject<{
349
+ font: z.ZodOptional<z.ZodEnum<{
350
+ arial: "arial";
351
+ calibri: "calibri";
352
+ cambria: "cambria";
353
+ courier: "courier";
354
+ times: "times";
355
+ }>>;
356
+ sizePt: z.ZodOptional<z.ZodNumber>;
357
+ color: z.ZodOptional<z.ZodString>;
358
+ }, z.core.$strip>>;
359
+ type: z.ZodLiteral<"list">;
360
+ ordered: z.ZodBoolean;
361
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
362
+ font: z.ZodOptional<z.ZodEnum<{
363
+ arial: "arial";
364
+ calibri: "calibri";
365
+ cambria: "cambria";
366
+ courier: "courier";
367
+ times: "times";
368
+ }>>;
369
+ sizePt: z.ZodOptional<z.ZodNumber>;
370
+ color: z.ZodOptional<z.ZodString>;
371
+ text: z.ZodString;
372
+ bold: z.ZodOptional<z.ZodBoolean>;
373
+ italic: z.ZodOptional<z.ZodBoolean>;
374
+ underline: z.ZodOptional<z.ZodBoolean>;
375
+ }, z.core.$strip>>]>>;
376
+ }, z.core.$strip>, z.ZodObject<{
377
+ type: z.ZodLiteral<"table">;
378
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
379
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
380
+ header: z.ZodOptional<z.ZodObject<{
381
+ cells: z.ZodArray<z.ZodObject<{
382
+ text: z.ZodOptional<z.ZodString>;
383
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
384
+ font: z.ZodOptional<z.ZodEnum<{
385
+ arial: "arial";
386
+ calibri: "calibri";
387
+ cambria: "cambria";
388
+ courier: "courier";
389
+ times: "times";
390
+ }>>;
391
+ sizePt: z.ZodOptional<z.ZodNumber>;
392
+ color: z.ZodOptional<z.ZodString>;
393
+ text: z.ZodString;
394
+ bold: z.ZodOptional<z.ZodBoolean>;
395
+ italic: z.ZodOptional<z.ZodBoolean>;
396
+ underline: z.ZodOptional<z.ZodBoolean>;
397
+ }, z.core.$strip>>>;
398
+ background: z.ZodOptional<z.ZodString>;
399
+ align: z.ZodOptional<z.ZodEnum<{
400
+ center: "center";
401
+ justify: "justify";
402
+ left: "left";
403
+ right: "right";
404
+ }>>;
405
+ }, z.core.$strip>>;
406
+ }, z.core.$strip>>;
407
+ rows: z.ZodArray<z.ZodObject<{
408
+ cells: z.ZodArray<z.ZodObject<{
409
+ text: z.ZodOptional<z.ZodString>;
410
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
411
+ font: z.ZodOptional<z.ZodEnum<{
412
+ arial: "arial";
413
+ calibri: "calibri";
414
+ cambria: "cambria";
415
+ courier: "courier";
416
+ times: "times";
417
+ }>>;
418
+ sizePt: z.ZodOptional<z.ZodNumber>;
419
+ color: z.ZodOptional<z.ZodString>;
420
+ text: z.ZodString;
421
+ bold: z.ZodOptional<z.ZodBoolean>;
422
+ italic: z.ZodOptional<z.ZodBoolean>;
423
+ underline: z.ZodOptional<z.ZodBoolean>;
424
+ }, z.core.$strip>>>;
425
+ background: z.ZodOptional<z.ZodString>;
426
+ align: z.ZodOptional<z.ZodEnum<{
427
+ center: "center";
428
+ justify: "justify";
429
+ left: "left";
430
+ right: "right";
431
+ }>>;
432
+ }, z.core.$strip>>;
433
+ }, z.core.$strip>>;
434
+ repeat: z.ZodOptional<z.ZodObject<{
435
+ each: z.ZodString;
436
+ row: z.ZodObject<{
437
+ cells: z.ZodArray<z.ZodObject<{
438
+ text: z.ZodOptional<z.ZodString>;
439
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
440
+ font: z.ZodOptional<z.ZodEnum<{
441
+ arial: "arial";
442
+ calibri: "calibri";
443
+ cambria: "cambria";
444
+ courier: "courier";
445
+ times: "times";
446
+ }>>;
447
+ sizePt: z.ZodOptional<z.ZodNumber>;
448
+ color: z.ZodOptional<z.ZodString>;
449
+ text: z.ZodString;
450
+ bold: z.ZodOptional<z.ZodBoolean>;
451
+ italic: z.ZodOptional<z.ZodBoolean>;
452
+ underline: z.ZodOptional<z.ZodBoolean>;
453
+ }, z.core.$strip>>>;
454
+ background: z.ZodOptional<z.ZodString>;
455
+ align: z.ZodOptional<z.ZodEnum<{
456
+ center: "center";
457
+ justify: "justify";
458
+ left: "left";
459
+ right: "right";
460
+ }>>;
461
+ }, z.core.$strip>>;
462
+ }, z.core.$strip>;
463
+ }, z.core.$strip>>;
464
+ }, z.core.$strip>, z.ZodObject<{
465
+ type: z.ZodLiteral<"image">;
466
+ resource: z.ZodString;
467
+ alt: z.ZodOptional<z.ZodString>;
468
+ }, z.core.$strip>], "type">>;
65
469
  }, z.core.$strip>, z.ZodObject<{
66
470
  type: z.ZodLiteral<"image">;
67
471
  resource: z.ZodString;
@@ -83,6 +487,480 @@ export declare const documentOpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
83
487
  }, z.core.$strip>, z.ZodObject<{
84
488
  op: z.ZodLiteral<"removeBlock">;
85
489
  blockId: z.ZodString;
490
+ }, z.core.$strip>, z.ZodObject<{
491
+ op: z.ZodLiteral<"replaceBody">;
492
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
493
+ align: z.ZodOptional<z.ZodEnum<{
494
+ center: "center";
495
+ justify: "justify";
496
+ left: "left";
497
+ right: "right";
498
+ }>>;
499
+ style: z.ZodOptional<z.ZodObject<{
500
+ lineHeight: z.ZodOptional<z.ZodNumber>;
501
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
502
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
503
+ }, z.core.$strip>>;
504
+ textStyle: z.ZodOptional<z.ZodObject<{
505
+ font: z.ZodOptional<z.ZodEnum<{
506
+ arial: "arial";
507
+ calibri: "calibri";
508
+ cambria: "cambria";
509
+ courier: "courier";
510
+ times: "times";
511
+ }>>;
512
+ sizePt: z.ZodOptional<z.ZodNumber>;
513
+ color: z.ZodOptional<z.ZodString>;
514
+ }, z.core.$strip>>;
515
+ text: z.ZodOptional<z.ZodString>;
516
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
517
+ font: z.ZodOptional<z.ZodEnum<{
518
+ arial: "arial";
519
+ calibri: "calibri";
520
+ cambria: "cambria";
521
+ courier: "courier";
522
+ times: "times";
523
+ }>>;
524
+ sizePt: z.ZodOptional<z.ZodNumber>;
525
+ color: z.ZodOptional<z.ZodString>;
526
+ text: z.ZodString;
527
+ bold: z.ZodOptional<z.ZodBoolean>;
528
+ italic: z.ZodOptional<z.ZodBoolean>;
529
+ underline: z.ZodOptional<z.ZodBoolean>;
530
+ }, z.core.$strip>>>;
531
+ type: z.ZodLiteral<"paragraph">;
532
+ }, z.core.$strip>, z.ZodObject<{
533
+ align: z.ZodOptional<z.ZodEnum<{
534
+ center: "center";
535
+ justify: "justify";
536
+ left: "left";
537
+ right: "right";
538
+ }>>;
539
+ style: z.ZodOptional<z.ZodObject<{
540
+ lineHeight: z.ZodOptional<z.ZodNumber>;
541
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
542
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
543
+ }, z.core.$strip>>;
544
+ textStyle: z.ZodOptional<z.ZodObject<{
545
+ font: z.ZodOptional<z.ZodEnum<{
546
+ arial: "arial";
547
+ calibri: "calibri";
548
+ cambria: "cambria";
549
+ courier: "courier";
550
+ times: "times";
551
+ }>>;
552
+ sizePt: z.ZodOptional<z.ZodNumber>;
553
+ color: z.ZodOptional<z.ZodString>;
554
+ }, z.core.$strip>>;
555
+ text: z.ZodOptional<z.ZodString>;
556
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
557
+ font: z.ZodOptional<z.ZodEnum<{
558
+ arial: "arial";
559
+ calibri: "calibri";
560
+ cambria: "cambria";
561
+ courier: "courier";
562
+ times: "times";
563
+ }>>;
564
+ sizePt: z.ZodOptional<z.ZodNumber>;
565
+ color: z.ZodOptional<z.ZodString>;
566
+ text: z.ZodString;
567
+ bold: z.ZodOptional<z.ZodBoolean>;
568
+ italic: z.ZodOptional<z.ZodBoolean>;
569
+ underline: z.ZodOptional<z.ZodBoolean>;
570
+ }, z.core.$strip>>>;
571
+ type: z.ZodLiteral<"heading">;
572
+ level: z.ZodNumber;
573
+ }, z.core.$strip>, z.ZodObject<{
574
+ align: z.ZodOptional<z.ZodEnum<{
575
+ center: "center";
576
+ justify: "justify";
577
+ left: "left";
578
+ right: "right";
579
+ }>>;
580
+ style: z.ZodOptional<z.ZodObject<{
581
+ lineHeight: z.ZodOptional<z.ZodNumber>;
582
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
583
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
584
+ }, z.core.$strip>>;
585
+ textStyle: z.ZodOptional<z.ZodObject<{
586
+ font: z.ZodOptional<z.ZodEnum<{
587
+ arial: "arial";
588
+ calibri: "calibri";
589
+ cambria: "cambria";
590
+ courier: "courier";
591
+ times: "times";
592
+ }>>;
593
+ sizePt: z.ZodOptional<z.ZodNumber>;
594
+ color: z.ZodOptional<z.ZodString>;
595
+ }, z.core.$strip>>;
596
+ type: z.ZodLiteral<"list">;
597
+ ordered: z.ZodBoolean;
598
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
599
+ font: z.ZodOptional<z.ZodEnum<{
600
+ arial: "arial";
601
+ calibri: "calibri";
602
+ cambria: "cambria";
603
+ courier: "courier";
604
+ times: "times";
605
+ }>>;
606
+ sizePt: z.ZodOptional<z.ZodNumber>;
607
+ color: z.ZodOptional<z.ZodString>;
608
+ text: z.ZodString;
609
+ bold: z.ZodOptional<z.ZodBoolean>;
610
+ italic: z.ZodOptional<z.ZodBoolean>;
611
+ underline: z.ZodOptional<z.ZodBoolean>;
612
+ }, z.core.$strip>>]>>;
613
+ }, z.core.$strip>, z.ZodObject<{
614
+ type: z.ZodLiteral<"table">;
615
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
616
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
617
+ header: z.ZodOptional<z.ZodObject<{
618
+ cells: z.ZodArray<z.ZodObject<{
619
+ text: z.ZodOptional<z.ZodString>;
620
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
621
+ font: z.ZodOptional<z.ZodEnum<{
622
+ arial: "arial";
623
+ calibri: "calibri";
624
+ cambria: "cambria";
625
+ courier: "courier";
626
+ times: "times";
627
+ }>>;
628
+ sizePt: z.ZodOptional<z.ZodNumber>;
629
+ color: z.ZodOptional<z.ZodString>;
630
+ text: z.ZodString;
631
+ bold: z.ZodOptional<z.ZodBoolean>;
632
+ italic: z.ZodOptional<z.ZodBoolean>;
633
+ underline: z.ZodOptional<z.ZodBoolean>;
634
+ }, z.core.$strip>>>;
635
+ background: z.ZodOptional<z.ZodString>;
636
+ align: z.ZodOptional<z.ZodEnum<{
637
+ center: "center";
638
+ justify: "justify";
639
+ left: "left";
640
+ right: "right";
641
+ }>>;
642
+ }, z.core.$strip>>;
643
+ }, z.core.$strip>>;
644
+ rows: z.ZodArray<z.ZodObject<{
645
+ cells: z.ZodArray<z.ZodObject<{
646
+ text: z.ZodOptional<z.ZodString>;
647
+ runs: z.ZodOptional<z.ZodArray<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
+ }, z.core.$strip>>>;
662
+ background: z.ZodOptional<z.ZodString>;
663
+ align: z.ZodOptional<z.ZodEnum<{
664
+ center: "center";
665
+ justify: "justify";
666
+ left: "left";
667
+ right: "right";
668
+ }>>;
669
+ }, z.core.$strip>>;
670
+ }, z.core.$strip>>;
671
+ repeat: z.ZodOptional<z.ZodObject<{
672
+ each: z.ZodString;
673
+ row: z.ZodObject<{
674
+ cells: z.ZodArray<z.ZodObject<{
675
+ text: z.ZodOptional<z.ZodString>;
676
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
677
+ font: z.ZodOptional<z.ZodEnum<{
678
+ arial: "arial";
679
+ calibri: "calibri";
680
+ cambria: "cambria";
681
+ courier: "courier";
682
+ times: "times";
683
+ }>>;
684
+ sizePt: z.ZodOptional<z.ZodNumber>;
685
+ color: z.ZodOptional<z.ZodString>;
686
+ text: z.ZodString;
687
+ bold: z.ZodOptional<z.ZodBoolean>;
688
+ italic: z.ZodOptional<z.ZodBoolean>;
689
+ underline: z.ZodOptional<z.ZodBoolean>;
690
+ }, z.core.$strip>>>;
691
+ background: z.ZodOptional<z.ZodString>;
692
+ align: z.ZodOptional<z.ZodEnum<{
693
+ center: "center";
694
+ justify: "justify";
695
+ left: "left";
696
+ right: "right";
697
+ }>>;
698
+ }, z.core.$strip>>;
699
+ }, z.core.$strip>;
700
+ }, z.core.$strip>>;
701
+ }, z.core.$strip>, z.ZodObject<{
702
+ type: z.ZodLiteral<"frame">;
703
+ xMm: z.ZodNumber;
704
+ yMm: z.ZodNumber;
705
+ widthMm: z.ZodNumber;
706
+ heightMm: z.ZodNumber;
707
+ preset: z.ZodOptional<z.ZodEnum<{
708
+ address: "address";
709
+ text: "text";
710
+ }>>;
711
+ reserveFlow: z.ZodOptional<z.ZodBoolean>;
712
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
713
+ align: z.ZodOptional<z.ZodEnum<{
714
+ center: "center";
715
+ justify: "justify";
716
+ left: "left";
717
+ right: "right";
718
+ }>>;
719
+ style: z.ZodOptional<z.ZodObject<{
720
+ lineHeight: z.ZodOptional<z.ZodNumber>;
721
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
722
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
723
+ }, z.core.$strip>>;
724
+ textStyle: z.ZodOptional<z.ZodObject<{
725
+ font: z.ZodOptional<z.ZodEnum<{
726
+ arial: "arial";
727
+ calibri: "calibri";
728
+ cambria: "cambria";
729
+ courier: "courier";
730
+ times: "times";
731
+ }>>;
732
+ sizePt: z.ZodOptional<z.ZodNumber>;
733
+ color: z.ZodOptional<z.ZodString>;
734
+ }, z.core.$strip>>;
735
+ text: z.ZodOptional<z.ZodString>;
736
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
737
+ font: z.ZodOptional<z.ZodEnum<{
738
+ arial: "arial";
739
+ calibri: "calibri";
740
+ cambria: "cambria";
741
+ courier: "courier";
742
+ times: "times";
743
+ }>>;
744
+ sizePt: z.ZodOptional<z.ZodNumber>;
745
+ color: z.ZodOptional<z.ZodString>;
746
+ text: z.ZodString;
747
+ bold: z.ZodOptional<z.ZodBoolean>;
748
+ italic: z.ZodOptional<z.ZodBoolean>;
749
+ underline: z.ZodOptional<z.ZodBoolean>;
750
+ }, z.core.$strip>>>;
751
+ type: z.ZodLiteral<"paragraph">;
752
+ }, z.core.$strip>, z.ZodObject<{
753
+ align: z.ZodOptional<z.ZodEnum<{
754
+ center: "center";
755
+ justify: "justify";
756
+ left: "left";
757
+ right: "right";
758
+ }>>;
759
+ style: z.ZodOptional<z.ZodObject<{
760
+ lineHeight: z.ZodOptional<z.ZodNumber>;
761
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
762
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
763
+ }, z.core.$strip>>;
764
+ textStyle: z.ZodOptional<z.ZodObject<{
765
+ font: z.ZodOptional<z.ZodEnum<{
766
+ arial: "arial";
767
+ calibri: "calibri";
768
+ cambria: "cambria";
769
+ courier: "courier";
770
+ times: "times";
771
+ }>>;
772
+ sizePt: z.ZodOptional<z.ZodNumber>;
773
+ color: z.ZodOptional<z.ZodString>;
774
+ }, z.core.$strip>>;
775
+ text: z.ZodOptional<z.ZodString>;
776
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
777
+ font: z.ZodOptional<z.ZodEnum<{
778
+ arial: "arial";
779
+ calibri: "calibri";
780
+ cambria: "cambria";
781
+ courier: "courier";
782
+ times: "times";
783
+ }>>;
784
+ sizePt: z.ZodOptional<z.ZodNumber>;
785
+ color: z.ZodOptional<z.ZodString>;
786
+ text: z.ZodString;
787
+ bold: z.ZodOptional<z.ZodBoolean>;
788
+ italic: z.ZodOptional<z.ZodBoolean>;
789
+ underline: z.ZodOptional<z.ZodBoolean>;
790
+ }, z.core.$strip>>>;
791
+ type: z.ZodLiteral<"heading">;
792
+ level: z.ZodNumber;
793
+ }, z.core.$strip>, z.ZodObject<{
794
+ align: z.ZodOptional<z.ZodEnum<{
795
+ center: "center";
796
+ justify: "justify";
797
+ left: "left";
798
+ right: "right";
799
+ }>>;
800
+ style: z.ZodOptional<z.ZodObject<{
801
+ lineHeight: z.ZodOptional<z.ZodNumber>;
802
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
803
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
804
+ }, z.core.$strip>>;
805
+ textStyle: z.ZodOptional<z.ZodObject<{
806
+ font: z.ZodOptional<z.ZodEnum<{
807
+ arial: "arial";
808
+ calibri: "calibri";
809
+ cambria: "cambria";
810
+ courier: "courier";
811
+ times: "times";
812
+ }>>;
813
+ sizePt: z.ZodOptional<z.ZodNumber>;
814
+ color: z.ZodOptional<z.ZodString>;
815
+ }, z.core.$strip>>;
816
+ type: z.ZodLiteral<"list">;
817
+ ordered: z.ZodBoolean;
818
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
819
+ font: z.ZodOptional<z.ZodEnum<{
820
+ arial: "arial";
821
+ calibri: "calibri";
822
+ cambria: "cambria";
823
+ courier: "courier";
824
+ times: "times";
825
+ }>>;
826
+ sizePt: z.ZodOptional<z.ZodNumber>;
827
+ color: z.ZodOptional<z.ZodString>;
828
+ text: z.ZodString;
829
+ bold: z.ZodOptional<z.ZodBoolean>;
830
+ italic: z.ZodOptional<z.ZodBoolean>;
831
+ underline: z.ZodOptional<z.ZodBoolean>;
832
+ }, z.core.$strip>>]>>;
833
+ }, z.core.$strip>, z.ZodObject<{
834
+ type: z.ZodLiteral<"table">;
835
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
836
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
837
+ header: z.ZodOptional<z.ZodObject<{
838
+ cells: z.ZodArray<z.ZodObject<{
839
+ text: z.ZodOptional<z.ZodString>;
840
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
841
+ font: z.ZodOptional<z.ZodEnum<{
842
+ arial: "arial";
843
+ calibri: "calibri";
844
+ cambria: "cambria";
845
+ courier: "courier";
846
+ times: "times";
847
+ }>>;
848
+ sizePt: z.ZodOptional<z.ZodNumber>;
849
+ color: z.ZodOptional<z.ZodString>;
850
+ text: z.ZodString;
851
+ bold: z.ZodOptional<z.ZodBoolean>;
852
+ italic: z.ZodOptional<z.ZodBoolean>;
853
+ underline: z.ZodOptional<z.ZodBoolean>;
854
+ }, z.core.$strip>>>;
855
+ background: z.ZodOptional<z.ZodString>;
856
+ align: z.ZodOptional<z.ZodEnum<{
857
+ center: "center";
858
+ justify: "justify";
859
+ left: "left";
860
+ right: "right";
861
+ }>>;
862
+ }, z.core.$strip>>;
863
+ }, z.core.$strip>>;
864
+ rows: z.ZodArray<z.ZodObject<{
865
+ cells: z.ZodArray<z.ZodObject<{
866
+ text: z.ZodOptional<z.ZodString>;
867
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
868
+ font: z.ZodOptional<z.ZodEnum<{
869
+ arial: "arial";
870
+ calibri: "calibri";
871
+ cambria: "cambria";
872
+ courier: "courier";
873
+ times: "times";
874
+ }>>;
875
+ sizePt: z.ZodOptional<z.ZodNumber>;
876
+ color: z.ZodOptional<z.ZodString>;
877
+ text: z.ZodString;
878
+ bold: z.ZodOptional<z.ZodBoolean>;
879
+ italic: z.ZodOptional<z.ZodBoolean>;
880
+ underline: z.ZodOptional<z.ZodBoolean>;
881
+ }, z.core.$strip>>>;
882
+ background: z.ZodOptional<z.ZodString>;
883
+ align: z.ZodOptional<z.ZodEnum<{
884
+ center: "center";
885
+ justify: "justify";
886
+ left: "left";
887
+ right: "right";
888
+ }>>;
889
+ }, z.core.$strip>>;
890
+ }, z.core.$strip>>;
891
+ repeat: z.ZodOptional<z.ZodObject<{
892
+ each: z.ZodString;
893
+ row: z.ZodObject<{
894
+ cells: z.ZodArray<z.ZodObject<{
895
+ text: z.ZodOptional<z.ZodString>;
896
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
897
+ font: z.ZodOptional<z.ZodEnum<{
898
+ arial: "arial";
899
+ calibri: "calibri";
900
+ cambria: "cambria";
901
+ courier: "courier";
902
+ times: "times";
903
+ }>>;
904
+ sizePt: z.ZodOptional<z.ZodNumber>;
905
+ color: z.ZodOptional<z.ZodString>;
906
+ text: z.ZodString;
907
+ bold: z.ZodOptional<z.ZodBoolean>;
908
+ italic: z.ZodOptional<z.ZodBoolean>;
909
+ underline: z.ZodOptional<z.ZodBoolean>;
910
+ }, z.core.$strip>>>;
911
+ background: z.ZodOptional<z.ZodString>;
912
+ align: z.ZodOptional<z.ZodEnum<{
913
+ center: "center";
914
+ justify: "justify";
915
+ left: "left";
916
+ right: "right";
917
+ }>>;
918
+ }, z.core.$strip>>;
919
+ }, z.core.$strip>;
920
+ }, z.core.$strip>>;
921
+ }, z.core.$strip>, z.ZodObject<{
922
+ type: z.ZodLiteral<"image">;
923
+ resource: z.ZodString;
924
+ alt: z.ZodOptional<z.ZodString>;
925
+ }, z.core.$strip>], "type">>;
926
+ }, z.core.$strip>, z.ZodObject<{
927
+ type: z.ZodLiteral<"image">;
928
+ resource: z.ZodString;
929
+ alt: z.ZodOptional<z.ZodString>;
930
+ }, z.core.$strip>, z.ZodObject<{
931
+ type: z.ZodLiteral<"button">;
932
+ text: z.ZodString;
933
+ href: z.ZodString;
934
+ }, z.core.$strip>, z.ZodObject<{
935
+ type: z.ZodLiteral<"divider">;
936
+ }, z.core.$strip>, z.ZodObject<{
937
+ type: z.ZodLiteral<"pageBreak">;
938
+ }, z.core.$strip>], "type">>;
939
+ }, z.core.$strip>, z.ZodObject<{
940
+ align: z.ZodOptional<z.ZodEnum<{
941
+ center: "center";
942
+ justify: "justify";
943
+ left: "left";
944
+ right: "right";
945
+ }>>;
946
+ style: z.ZodOptional<z.ZodObject<{
947
+ lineHeight: z.ZodOptional<z.ZodNumber>;
948
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
949
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
950
+ }, z.core.$strip>>;
951
+ textStyle: z.ZodOptional<z.ZodObject<{
952
+ font: z.ZodOptional<z.ZodEnum<{
953
+ arial: "arial";
954
+ calibri: "calibri";
955
+ cambria: "cambria";
956
+ courier: "courier";
957
+ times: "times";
958
+ }>>;
959
+ sizePt: z.ZodOptional<z.ZodNumber>;
960
+ color: z.ZodOptional<z.ZodString>;
961
+ }, z.core.$strip>>;
962
+ op: z.ZodLiteral<"formatBlock">;
963
+ blockId: z.ZodString;
86
964
  }, z.core.$strip>, z.ZodObject<{
87
965
  op: z.ZodLiteral<"setResource">;
88
966
  blockId: z.ZodString;
@@ -100,18 +978,439 @@ export declare const documentOpsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.Zo
100
978
  op: z.ZodLiteral<"insertBlock">;
101
979
  after: z.ZodNullable<z.ZodString>;
102
980
  block: z.ZodDiscriminatedUnion<[z.ZodObject<{
103
- type: z.ZodLiteral<"paragraph">;
104
- text: z.ZodString;
105
981
  align: z.ZodOptional<z.ZodEnum<{
106
982
  center: "center";
107
983
  justify: "justify";
108
984
  left: "left";
109
985
  right: "right";
110
986
  }>>;
987
+ style: z.ZodOptional<z.ZodObject<{
988
+ lineHeight: z.ZodOptional<z.ZodNumber>;
989
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
990
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
991
+ }, z.core.$strip>>;
992
+ textStyle: z.ZodOptional<z.ZodObject<{
993
+ font: z.ZodOptional<z.ZodEnum<{
994
+ arial: "arial";
995
+ calibri: "calibri";
996
+ cambria: "cambria";
997
+ courier: "courier";
998
+ times: "times";
999
+ }>>;
1000
+ sizePt: z.ZodOptional<z.ZodNumber>;
1001
+ color: z.ZodOptional<z.ZodString>;
1002
+ }, z.core.$strip>>;
1003
+ text: z.ZodOptional<z.ZodString>;
1004
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1005
+ font: z.ZodOptional<z.ZodEnum<{
1006
+ arial: "arial";
1007
+ calibri: "calibri";
1008
+ cambria: "cambria";
1009
+ courier: "courier";
1010
+ times: "times";
1011
+ }>>;
1012
+ sizePt: z.ZodOptional<z.ZodNumber>;
1013
+ color: z.ZodOptional<z.ZodString>;
1014
+ text: z.ZodString;
1015
+ bold: z.ZodOptional<z.ZodBoolean>;
1016
+ italic: z.ZodOptional<z.ZodBoolean>;
1017
+ underline: z.ZodOptional<z.ZodBoolean>;
1018
+ }, z.core.$strip>>>;
1019
+ type: z.ZodLiteral<"paragraph">;
111
1020
  }, z.core.$strip>, z.ZodObject<{
1021
+ align: z.ZodOptional<z.ZodEnum<{
1022
+ center: "center";
1023
+ justify: "justify";
1024
+ left: "left";
1025
+ right: "right";
1026
+ }>>;
1027
+ style: z.ZodOptional<z.ZodObject<{
1028
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1029
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1030
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1031
+ }, z.core.$strip>>;
1032
+ textStyle: z.ZodOptional<z.ZodObject<{
1033
+ font: z.ZodOptional<z.ZodEnum<{
1034
+ arial: "arial";
1035
+ calibri: "calibri";
1036
+ cambria: "cambria";
1037
+ courier: "courier";
1038
+ times: "times";
1039
+ }>>;
1040
+ sizePt: z.ZodOptional<z.ZodNumber>;
1041
+ color: z.ZodOptional<z.ZodString>;
1042
+ }, z.core.$strip>>;
1043
+ text: z.ZodOptional<z.ZodString>;
1044
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1045
+ font: z.ZodOptional<z.ZodEnum<{
1046
+ arial: "arial";
1047
+ calibri: "calibri";
1048
+ cambria: "cambria";
1049
+ courier: "courier";
1050
+ times: "times";
1051
+ }>>;
1052
+ sizePt: z.ZodOptional<z.ZodNumber>;
1053
+ color: z.ZodOptional<z.ZodString>;
1054
+ text: z.ZodString;
1055
+ bold: z.ZodOptional<z.ZodBoolean>;
1056
+ italic: z.ZodOptional<z.ZodBoolean>;
1057
+ underline: z.ZodOptional<z.ZodBoolean>;
1058
+ }, z.core.$strip>>>;
112
1059
  type: z.ZodLiteral<"heading">;
113
1060
  level: z.ZodNumber;
114
- text: z.ZodString;
1061
+ }, z.core.$strip>, z.ZodObject<{
1062
+ align: z.ZodOptional<z.ZodEnum<{
1063
+ center: "center";
1064
+ justify: "justify";
1065
+ left: "left";
1066
+ right: "right";
1067
+ }>>;
1068
+ style: z.ZodOptional<z.ZodObject<{
1069
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1070
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1071
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1072
+ }, z.core.$strip>>;
1073
+ textStyle: z.ZodOptional<z.ZodObject<{
1074
+ font: z.ZodOptional<z.ZodEnum<{
1075
+ arial: "arial";
1076
+ calibri: "calibri";
1077
+ cambria: "cambria";
1078
+ courier: "courier";
1079
+ times: "times";
1080
+ }>>;
1081
+ sizePt: z.ZodOptional<z.ZodNumber>;
1082
+ color: z.ZodOptional<z.ZodString>;
1083
+ }, z.core.$strip>>;
1084
+ type: z.ZodLiteral<"list">;
1085
+ ordered: z.ZodBoolean;
1086
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
1087
+ font: z.ZodOptional<z.ZodEnum<{
1088
+ arial: "arial";
1089
+ calibri: "calibri";
1090
+ cambria: "cambria";
1091
+ courier: "courier";
1092
+ times: "times";
1093
+ }>>;
1094
+ sizePt: z.ZodOptional<z.ZodNumber>;
1095
+ color: z.ZodOptional<z.ZodString>;
1096
+ text: z.ZodString;
1097
+ bold: z.ZodOptional<z.ZodBoolean>;
1098
+ italic: z.ZodOptional<z.ZodBoolean>;
1099
+ underline: z.ZodOptional<z.ZodBoolean>;
1100
+ }, z.core.$strip>>]>>;
1101
+ }, z.core.$strip>, z.ZodObject<{
1102
+ type: z.ZodLiteral<"table">;
1103
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
1104
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1105
+ header: z.ZodOptional<z.ZodObject<{
1106
+ cells: z.ZodArray<z.ZodObject<{
1107
+ text: z.ZodOptional<z.ZodString>;
1108
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1109
+ font: z.ZodOptional<z.ZodEnum<{
1110
+ arial: "arial";
1111
+ calibri: "calibri";
1112
+ cambria: "cambria";
1113
+ courier: "courier";
1114
+ times: "times";
1115
+ }>>;
1116
+ sizePt: z.ZodOptional<z.ZodNumber>;
1117
+ color: z.ZodOptional<z.ZodString>;
1118
+ text: z.ZodString;
1119
+ bold: z.ZodOptional<z.ZodBoolean>;
1120
+ italic: z.ZodOptional<z.ZodBoolean>;
1121
+ underline: z.ZodOptional<z.ZodBoolean>;
1122
+ }, z.core.$strip>>>;
1123
+ background: z.ZodOptional<z.ZodString>;
1124
+ align: z.ZodOptional<z.ZodEnum<{
1125
+ center: "center";
1126
+ justify: "justify";
1127
+ left: "left";
1128
+ right: "right";
1129
+ }>>;
1130
+ }, z.core.$strip>>;
1131
+ }, z.core.$strip>>;
1132
+ rows: z.ZodArray<z.ZodObject<{
1133
+ cells: z.ZodArray<z.ZodObject<{
1134
+ text: z.ZodOptional<z.ZodString>;
1135
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1136
+ font: z.ZodOptional<z.ZodEnum<{
1137
+ arial: "arial";
1138
+ calibri: "calibri";
1139
+ cambria: "cambria";
1140
+ courier: "courier";
1141
+ times: "times";
1142
+ }>>;
1143
+ sizePt: z.ZodOptional<z.ZodNumber>;
1144
+ color: z.ZodOptional<z.ZodString>;
1145
+ text: z.ZodString;
1146
+ bold: z.ZodOptional<z.ZodBoolean>;
1147
+ italic: z.ZodOptional<z.ZodBoolean>;
1148
+ underline: z.ZodOptional<z.ZodBoolean>;
1149
+ }, z.core.$strip>>>;
1150
+ background: z.ZodOptional<z.ZodString>;
1151
+ align: z.ZodOptional<z.ZodEnum<{
1152
+ center: "center";
1153
+ justify: "justify";
1154
+ left: "left";
1155
+ right: "right";
1156
+ }>>;
1157
+ }, z.core.$strip>>;
1158
+ }, z.core.$strip>>;
1159
+ repeat: z.ZodOptional<z.ZodObject<{
1160
+ each: z.ZodString;
1161
+ row: z.ZodObject<{
1162
+ cells: z.ZodArray<z.ZodObject<{
1163
+ text: z.ZodOptional<z.ZodString>;
1164
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1165
+ font: z.ZodOptional<z.ZodEnum<{
1166
+ arial: "arial";
1167
+ calibri: "calibri";
1168
+ cambria: "cambria";
1169
+ courier: "courier";
1170
+ times: "times";
1171
+ }>>;
1172
+ sizePt: z.ZodOptional<z.ZodNumber>;
1173
+ color: z.ZodOptional<z.ZodString>;
1174
+ text: z.ZodString;
1175
+ bold: z.ZodOptional<z.ZodBoolean>;
1176
+ italic: z.ZodOptional<z.ZodBoolean>;
1177
+ underline: z.ZodOptional<z.ZodBoolean>;
1178
+ }, z.core.$strip>>>;
1179
+ background: z.ZodOptional<z.ZodString>;
1180
+ align: z.ZodOptional<z.ZodEnum<{
1181
+ center: "center";
1182
+ justify: "justify";
1183
+ left: "left";
1184
+ right: "right";
1185
+ }>>;
1186
+ }, z.core.$strip>>;
1187
+ }, z.core.$strip>;
1188
+ }, z.core.$strip>>;
1189
+ }, z.core.$strip>, z.ZodObject<{
1190
+ type: z.ZodLiteral<"frame">;
1191
+ xMm: z.ZodNumber;
1192
+ yMm: z.ZodNumber;
1193
+ widthMm: z.ZodNumber;
1194
+ heightMm: z.ZodNumber;
1195
+ preset: z.ZodOptional<z.ZodEnum<{
1196
+ address: "address";
1197
+ text: "text";
1198
+ }>>;
1199
+ reserveFlow: z.ZodOptional<z.ZodBoolean>;
1200
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1201
+ align: z.ZodOptional<z.ZodEnum<{
1202
+ center: "center";
1203
+ justify: "justify";
1204
+ left: "left";
1205
+ right: "right";
1206
+ }>>;
1207
+ style: z.ZodOptional<z.ZodObject<{
1208
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1209
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1210
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1211
+ }, z.core.$strip>>;
1212
+ textStyle: z.ZodOptional<z.ZodObject<{
1213
+ font: z.ZodOptional<z.ZodEnum<{
1214
+ arial: "arial";
1215
+ calibri: "calibri";
1216
+ cambria: "cambria";
1217
+ courier: "courier";
1218
+ times: "times";
1219
+ }>>;
1220
+ sizePt: z.ZodOptional<z.ZodNumber>;
1221
+ color: z.ZodOptional<z.ZodString>;
1222
+ }, z.core.$strip>>;
1223
+ text: z.ZodOptional<z.ZodString>;
1224
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1225
+ font: z.ZodOptional<z.ZodEnum<{
1226
+ arial: "arial";
1227
+ calibri: "calibri";
1228
+ cambria: "cambria";
1229
+ courier: "courier";
1230
+ times: "times";
1231
+ }>>;
1232
+ sizePt: z.ZodOptional<z.ZodNumber>;
1233
+ color: z.ZodOptional<z.ZodString>;
1234
+ text: z.ZodString;
1235
+ bold: z.ZodOptional<z.ZodBoolean>;
1236
+ italic: z.ZodOptional<z.ZodBoolean>;
1237
+ underline: z.ZodOptional<z.ZodBoolean>;
1238
+ }, z.core.$strip>>>;
1239
+ type: z.ZodLiteral<"paragraph">;
1240
+ }, z.core.$strip>, z.ZodObject<{
1241
+ align: z.ZodOptional<z.ZodEnum<{
1242
+ center: "center";
1243
+ justify: "justify";
1244
+ left: "left";
1245
+ right: "right";
1246
+ }>>;
1247
+ style: z.ZodOptional<z.ZodObject<{
1248
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1249
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1250
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1251
+ }, z.core.$strip>>;
1252
+ textStyle: z.ZodOptional<z.ZodObject<{
1253
+ font: z.ZodOptional<z.ZodEnum<{
1254
+ arial: "arial";
1255
+ calibri: "calibri";
1256
+ cambria: "cambria";
1257
+ courier: "courier";
1258
+ times: "times";
1259
+ }>>;
1260
+ sizePt: z.ZodOptional<z.ZodNumber>;
1261
+ color: z.ZodOptional<z.ZodString>;
1262
+ }, z.core.$strip>>;
1263
+ text: z.ZodOptional<z.ZodString>;
1264
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1265
+ font: z.ZodOptional<z.ZodEnum<{
1266
+ arial: "arial";
1267
+ calibri: "calibri";
1268
+ cambria: "cambria";
1269
+ courier: "courier";
1270
+ times: "times";
1271
+ }>>;
1272
+ sizePt: z.ZodOptional<z.ZodNumber>;
1273
+ color: z.ZodOptional<z.ZodString>;
1274
+ text: z.ZodString;
1275
+ bold: z.ZodOptional<z.ZodBoolean>;
1276
+ italic: z.ZodOptional<z.ZodBoolean>;
1277
+ underline: z.ZodOptional<z.ZodBoolean>;
1278
+ }, z.core.$strip>>>;
1279
+ type: z.ZodLiteral<"heading">;
1280
+ level: z.ZodNumber;
1281
+ }, z.core.$strip>, z.ZodObject<{
1282
+ align: z.ZodOptional<z.ZodEnum<{
1283
+ center: "center";
1284
+ justify: "justify";
1285
+ left: "left";
1286
+ right: "right";
1287
+ }>>;
1288
+ style: z.ZodOptional<z.ZodObject<{
1289
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1290
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1291
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1292
+ }, z.core.$strip>>;
1293
+ textStyle: z.ZodOptional<z.ZodObject<{
1294
+ font: z.ZodOptional<z.ZodEnum<{
1295
+ arial: "arial";
1296
+ calibri: "calibri";
1297
+ cambria: "cambria";
1298
+ courier: "courier";
1299
+ times: "times";
1300
+ }>>;
1301
+ sizePt: z.ZodOptional<z.ZodNumber>;
1302
+ color: z.ZodOptional<z.ZodString>;
1303
+ }, z.core.$strip>>;
1304
+ type: z.ZodLiteral<"list">;
1305
+ ordered: z.ZodBoolean;
1306
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
1307
+ font: z.ZodOptional<z.ZodEnum<{
1308
+ arial: "arial";
1309
+ calibri: "calibri";
1310
+ cambria: "cambria";
1311
+ courier: "courier";
1312
+ times: "times";
1313
+ }>>;
1314
+ sizePt: z.ZodOptional<z.ZodNumber>;
1315
+ color: z.ZodOptional<z.ZodString>;
1316
+ text: z.ZodString;
1317
+ bold: z.ZodOptional<z.ZodBoolean>;
1318
+ italic: z.ZodOptional<z.ZodBoolean>;
1319
+ underline: z.ZodOptional<z.ZodBoolean>;
1320
+ }, z.core.$strip>>]>>;
1321
+ }, z.core.$strip>, z.ZodObject<{
1322
+ type: z.ZodLiteral<"table">;
1323
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
1324
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1325
+ header: z.ZodOptional<z.ZodObject<{
1326
+ cells: z.ZodArray<z.ZodObject<{
1327
+ text: z.ZodOptional<z.ZodString>;
1328
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1329
+ font: z.ZodOptional<z.ZodEnum<{
1330
+ arial: "arial";
1331
+ calibri: "calibri";
1332
+ cambria: "cambria";
1333
+ courier: "courier";
1334
+ times: "times";
1335
+ }>>;
1336
+ sizePt: z.ZodOptional<z.ZodNumber>;
1337
+ color: z.ZodOptional<z.ZodString>;
1338
+ text: z.ZodString;
1339
+ bold: z.ZodOptional<z.ZodBoolean>;
1340
+ italic: z.ZodOptional<z.ZodBoolean>;
1341
+ underline: z.ZodOptional<z.ZodBoolean>;
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
+ }, z.core.$strip>>;
1352
+ rows: z.ZodArray<z.ZodObject<{
1353
+ cells: z.ZodArray<z.ZodObject<{
1354
+ text: z.ZodOptional<z.ZodString>;
1355
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1356
+ font: z.ZodOptional<z.ZodEnum<{
1357
+ arial: "arial";
1358
+ calibri: "calibri";
1359
+ cambria: "cambria";
1360
+ courier: "courier";
1361
+ times: "times";
1362
+ }>>;
1363
+ sizePt: z.ZodOptional<z.ZodNumber>;
1364
+ color: z.ZodOptional<z.ZodString>;
1365
+ text: z.ZodString;
1366
+ bold: z.ZodOptional<z.ZodBoolean>;
1367
+ italic: z.ZodOptional<z.ZodBoolean>;
1368
+ underline: z.ZodOptional<z.ZodBoolean>;
1369
+ }, z.core.$strip>>>;
1370
+ background: z.ZodOptional<z.ZodString>;
1371
+ align: z.ZodOptional<z.ZodEnum<{
1372
+ center: "center";
1373
+ justify: "justify";
1374
+ left: "left";
1375
+ right: "right";
1376
+ }>>;
1377
+ }, z.core.$strip>>;
1378
+ }, z.core.$strip>>;
1379
+ repeat: z.ZodOptional<z.ZodObject<{
1380
+ each: z.ZodString;
1381
+ row: z.ZodObject<{
1382
+ cells: z.ZodArray<z.ZodObject<{
1383
+ text: z.ZodOptional<z.ZodString>;
1384
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1385
+ font: z.ZodOptional<z.ZodEnum<{
1386
+ arial: "arial";
1387
+ calibri: "calibri";
1388
+ cambria: "cambria";
1389
+ courier: "courier";
1390
+ times: "times";
1391
+ }>>;
1392
+ sizePt: z.ZodOptional<z.ZodNumber>;
1393
+ color: z.ZodOptional<z.ZodString>;
1394
+ text: z.ZodString;
1395
+ bold: z.ZodOptional<z.ZodBoolean>;
1396
+ italic: z.ZodOptional<z.ZodBoolean>;
1397
+ underline: z.ZodOptional<z.ZodBoolean>;
1398
+ }, z.core.$strip>>>;
1399
+ background: z.ZodOptional<z.ZodString>;
1400
+ align: z.ZodOptional<z.ZodEnum<{
1401
+ center: "center";
1402
+ justify: "justify";
1403
+ left: "left";
1404
+ right: "right";
1405
+ }>>;
1406
+ }, z.core.$strip>>;
1407
+ }, z.core.$strip>;
1408
+ }, z.core.$strip>>;
1409
+ }, z.core.$strip>, z.ZodObject<{
1410
+ type: z.ZodLiteral<"image">;
1411
+ resource: z.ZodString;
1412
+ alt: z.ZodOptional<z.ZodString>;
1413
+ }, z.core.$strip>], "type">>;
115
1414
  }, z.core.$strip>, z.ZodObject<{
116
1415
  type: z.ZodLiteral<"image">;
117
1416
  resource: z.ZodString;
@@ -133,6 +1432,480 @@ export declare const documentOpsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.Zo
133
1432
  }, z.core.$strip>, z.ZodObject<{
134
1433
  op: z.ZodLiteral<"removeBlock">;
135
1434
  blockId: z.ZodString;
1435
+ }, z.core.$strip>, z.ZodObject<{
1436
+ op: z.ZodLiteral<"replaceBody">;
1437
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1438
+ align: z.ZodOptional<z.ZodEnum<{
1439
+ center: "center";
1440
+ justify: "justify";
1441
+ left: "left";
1442
+ right: "right";
1443
+ }>>;
1444
+ style: z.ZodOptional<z.ZodObject<{
1445
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1446
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1447
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1448
+ }, z.core.$strip>>;
1449
+ textStyle: z.ZodOptional<z.ZodObject<{
1450
+ font: z.ZodOptional<z.ZodEnum<{
1451
+ arial: "arial";
1452
+ calibri: "calibri";
1453
+ cambria: "cambria";
1454
+ courier: "courier";
1455
+ times: "times";
1456
+ }>>;
1457
+ sizePt: z.ZodOptional<z.ZodNumber>;
1458
+ color: z.ZodOptional<z.ZodString>;
1459
+ }, z.core.$strip>>;
1460
+ text: z.ZodOptional<z.ZodString>;
1461
+ runs: z.ZodOptional<z.ZodArray<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
+ text: z.ZodString;
1472
+ bold: z.ZodOptional<z.ZodBoolean>;
1473
+ italic: z.ZodOptional<z.ZodBoolean>;
1474
+ underline: z.ZodOptional<z.ZodBoolean>;
1475
+ }, z.core.$strip>>>;
1476
+ type: z.ZodLiteral<"paragraph">;
1477
+ }, z.core.$strip>, z.ZodObject<{
1478
+ align: z.ZodOptional<z.ZodEnum<{
1479
+ center: "center";
1480
+ justify: "justify";
1481
+ left: "left";
1482
+ right: "right";
1483
+ }>>;
1484
+ style: z.ZodOptional<z.ZodObject<{
1485
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1486
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1487
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1488
+ }, z.core.$strip>>;
1489
+ textStyle: z.ZodOptional<z.ZodObject<{
1490
+ font: z.ZodOptional<z.ZodEnum<{
1491
+ arial: "arial";
1492
+ calibri: "calibri";
1493
+ cambria: "cambria";
1494
+ courier: "courier";
1495
+ times: "times";
1496
+ }>>;
1497
+ sizePt: z.ZodOptional<z.ZodNumber>;
1498
+ color: z.ZodOptional<z.ZodString>;
1499
+ }, z.core.$strip>>;
1500
+ text: z.ZodOptional<z.ZodString>;
1501
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1502
+ font: z.ZodOptional<z.ZodEnum<{
1503
+ arial: "arial";
1504
+ calibri: "calibri";
1505
+ cambria: "cambria";
1506
+ courier: "courier";
1507
+ times: "times";
1508
+ }>>;
1509
+ sizePt: z.ZodOptional<z.ZodNumber>;
1510
+ color: z.ZodOptional<z.ZodString>;
1511
+ text: z.ZodString;
1512
+ bold: z.ZodOptional<z.ZodBoolean>;
1513
+ italic: z.ZodOptional<z.ZodBoolean>;
1514
+ underline: z.ZodOptional<z.ZodBoolean>;
1515
+ }, z.core.$strip>>>;
1516
+ type: z.ZodLiteral<"heading">;
1517
+ level: z.ZodNumber;
1518
+ }, z.core.$strip>, z.ZodObject<{
1519
+ align: z.ZodOptional<z.ZodEnum<{
1520
+ center: "center";
1521
+ justify: "justify";
1522
+ left: "left";
1523
+ right: "right";
1524
+ }>>;
1525
+ style: z.ZodOptional<z.ZodObject<{
1526
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1527
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1528
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1529
+ }, z.core.$strip>>;
1530
+ textStyle: z.ZodOptional<z.ZodObject<{
1531
+ font: z.ZodOptional<z.ZodEnum<{
1532
+ arial: "arial";
1533
+ calibri: "calibri";
1534
+ cambria: "cambria";
1535
+ courier: "courier";
1536
+ times: "times";
1537
+ }>>;
1538
+ sizePt: z.ZodOptional<z.ZodNumber>;
1539
+ color: z.ZodOptional<z.ZodString>;
1540
+ }, z.core.$strip>>;
1541
+ type: z.ZodLiteral<"list">;
1542
+ ordered: z.ZodBoolean;
1543
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
1544
+ font: z.ZodOptional<z.ZodEnum<{
1545
+ arial: "arial";
1546
+ calibri: "calibri";
1547
+ cambria: "cambria";
1548
+ courier: "courier";
1549
+ times: "times";
1550
+ }>>;
1551
+ sizePt: z.ZodOptional<z.ZodNumber>;
1552
+ color: z.ZodOptional<z.ZodString>;
1553
+ text: z.ZodString;
1554
+ bold: z.ZodOptional<z.ZodBoolean>;
1555
+ italic: z.ZodOptional<z.ZodBoolean>;
1556
+ underline: z.ZodOptional<z.ZodBoolean>;
1557
+ }, z.core.$strip>>]>>;
1558
+ }, z.core.$strip>, z.ZodObject<{
1559
+ type: z.ZodLiteral<"table">;
1560
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
1561
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1562
+ header: z.ZodOptional<z.ZodObject<{
1563
+ cells: z.ZodArray<z.ZodObject<{
1564
+ text: z.ZodOptional<z.ZodString>;
1565
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1566
+ font: z.ZodOptional<z.ZodEnum<{
1567
+ arial: "arial";
1568
+ calibri: "calibri";
1569
+ cambria: "cambria";
1570
+ courier: "courier";
1571
+ times: "times";
1572
+ }>>;
1573
+ sizePt: z.ZodOptional<z.ZodNumber>;
1574
+ color: z.ZodOptional<z.ZodString>;
1575
+ text: z.ZodString;
1576
+ bold: z.ZodOptional<z.ZodBoolean>;
1577
+ italic: z.ZodOptional<z.ZodBoolean>;
1578
+ underline: z.ZodOptional<z.ZodBoolean>;
1579
+ }, z.core.$strip>>>;
1580
+ background: z.ZodOptional<z.ZodString>;
1581
+ align: z.ZodOptional<z.ZodEnum<{
1582
+ center: "center";
1583
+ justify: "justify";
1584
+ left: "left";
1585
+ right: "right";
1586
+ }>>;
1587
+ }, z.core.$strip>>;
1588
+ }, z.core.$strip>>;
1589
+ rows: z.ZodArray<z.ZodObject<{
1590
+ cells: z.ZodArray<z.ZodObject<{
1591
+ text: z.ZodOptional<z.ZodString>;
1592
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1593
+ font: z.ZodOptional<z.ZodEnum<{
1594
+ arial: "arial";
1595
+ calibri: "calibri";
1596
+ cambria: "cambria";
1597
+ courier: "courier";
1598
+ times: "times";
1599
+ }>>;
1600
+ sizePt: z.ZodOptional<z.ZodNumber>;
1601
+ color: z.ZodOptional<z.ZodString>;
1602
+ text: z.ZodString;
1603
+ bold: z.ZodOptional<z.ZodBoolean>;
1604
+ italic: z.ZodOptional<z.ZodBoolean>;
1605
+ underline: z.ZodOptional<z.ZodBoolean>;
1606
+ }, z.core.$strip>>>;
1607
+ background: z.ZodOptional<z.ZodString>;
1608
+ align: z.ZodOptional<z.ZodEnum<{
1609
+ center: "center";
1610
+ justify: "justify";
1611
+ left: "left";
1612
+ right: "right";
1613
+ }>>;
1614
+ }, z.core.$strip>>;
1615
+ }, z.core.$strip>>;
1616
+ repeat: z.ZodOptional<z.ZodObject<{
1617
+ each: z.ZodString;
1618
+ row: z.ZodObject<{
1619
+ cells: z.ZodArray<z.ZodObject<{
1620
+ text: z.ZodOptional<z.ZodString>;
1621
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1622
+ font: z.ZodOptional<z.ZodEnum<{
1623
+ arial: "arial";
1624
+ calibri: "calibri";
1625
+ cambria: "cambria";
1626
+ courier: "courier";
1627
+ times: "times";
1628
+ }>>;
1629
+ sizePt: z.ZodOptional<z.ZodNumber>;
1630
+ color: z.ZodOptional<z.ZodString>;
1631
+ text: z.ZodString;
1632
+ bold: z.ZodOptional<z.ZodBoolean>;
1633
+ italic: z.ZodOptional<z.ZodBoolean>;
1634
+ underline: z.ZodOptional<z.ZodBoolean>;
1635
+ }, z.core.$strip>>>;
1636
+ background: z.ZodOptional<z.ZodString>;
1637
+ align: z.ZodOptional<z.ZodEnum<{
1638
+ center: "center";
1639
+ justify: "justify";
1640
+ left: "left";
1641
+ right: "right";
1642
+ }>>;
1643
+ }, z.core.$strip>>;
1644
+ }, z.core.$strip>;
1645
+ }, z.core.$strip>>;
1646
+ }, z.core.$strip>, z.ZodObject<{
1647
+ type: z.ZodLiteral<"frame">;
1648
+ xMm: z.ZodNumber;
1649
+ yMm: z.ZodNumber;
1650
+ widthMm: z.ZodNumber;
1651
+ heightMm: z.ZodNumber;
1652
+ preset: z.ZodOptional<z.ZodEnum<{
1653
+ address: "address";
1654
+ text: "text";
1655
+ }>>;
1656
+ reserveFlow: z.ZodOptional<z.ZodBoolean>;
1657
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1658
+ align: z.ZodOptional<z.ZodEnum<{
1659
+ center: "center";
1660
+ justify: "justify";
1661
+ left: "left";
1662
+ right: "right";
1663
+ }>>;
1664
+ style: z.ZodOptional<z.ZodObject<{
1665
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1666
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1667
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1668
+ }, z.core.$strip>>;
1669
+ textStyle: z.ZodOptional<z.ZodObject<{
1670
+ font: z.ZodOptional<z.ZodEnum<{
1671
+ arial: "arial";
1672
+ calibri: "calibri";
1673
+ cambria: "cambria";
1674
+ courier: "courier";
1675
+ times: "times";
1676
+ }>>;
1677
+ sizePt: z.ZodOptional<z.ZodNumber>;
1678
+ color: z.ZodOptional<z.ZodString>;
1679
+ }, z.core.$strip>>;
1680
+ text: z.ZodOptional<z.ZodString>;
1681
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1682
+ font: z.ZodOptional<z.ZodEnum<{
1683
+ arial: "arial";
1684
+ calibri: "calibri";
1685
+ cambria: "cambria";
1686
+ courier: "courier";
1687
+ times: "times";
1688
+ }>>;
1689
+ sizePt: z.ZodOptional<z.ZodNumber>;
1690
+ color: z.ZodOptional<z.ZodString>;
1691
+ text: z.ZodString;
1692
+ bold: z.ZodOptional<z.ZodBoolean>;
1693
+ italic: z.ZodOptional<z.ZodBoolean>;
1694
+ underline: z.ZodOptional<z.ZodBoolean>;
1695
+ }, z.core.$strip>>>;
1696
+ type: z.ZodLiteral<"paragraph">;
1697
+ }, z.core.$strip>, z.ZodObject<{
1698
+ align: z.ZodOptional<z.ZodEnum<{
1699
+ center: "center";
1700
+ justify: "justify";
1701
+ left: "left";
1702
+ right: "right";
1703
+ }>>;
1704
+ style: z.ZodOptional<z.ZodObject<{
1705
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1706
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1707
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1708
+ }, z.core.$strip>>;
1709
+ textStyle: z.ZodOptional<z.ZodObject<{
1710
+ font: z.ZodOptional<z.ZodEnum<{
1711
+ arial: "arial";
1712
+ calibri: "calibri";
1713
+ cambria: "cambria";
1714
+ courier: "courier";
1715
+ times: "times";
1716
+ }>>;
1717
+ sizePt: z.ZodOptional<z.ZodNumber>;
1718
+ color: z.ZodOptional<z.ZodString>;
1719
+ }, z.core.$strip>>;
1720
+ text: z.ZodOptional<z.ZodString>;
1721
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1722
+ font: z.ZodOptional<z.ZodEnum<{
1723
+ arial: "arial";
1724
+ calibri: "calibri";
1725
+ cambria: "cambria";
1726
+ courier: "courier";
1727
+ times: "times";
1728
+ }>>;
1729
+ sizePt: z.ZodOptional<z.ZodNumber>;
1730
+ color: z.ZodOptional<z.ZodString>;
1731
+ text: z.ZodString;
1732
+ bold: z.ZodOptional<z.ZodBoolean>;
1733
+ italic: z.ZodOptional<z.ZodBoolean>;
1734
+ underline: z.ZodOptional<z.ZodBoolean>;
1735
+ }, z.core.$strip>>>;
1736
+ type: z.ZodLiteral<"heading">;
1737
+ level: z.ZodNumber;
1738
+ }, z.core.$strip>, z.ZodObject<{
1739
+ align: z.ZodOptional<z.ZodEnum<{
1740
+ center: "center";
1741
+ justify: "justify";
1742
+ left: "left";
1743
+ right: "right";
1744
+ }>>;
1745
+ style: z.ZodOptional<z.ZodObject<{
1746
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1747
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1748
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1749
+ }, z.core.$strip>>;
1750
+ textStyle: z.ZodOptional<z.ZodObject<{
1751
+ font: z.ZodOptional<z.ZodEnum<{
1752
+ arial: "arial";
1753
+ calibri: "calibri";
1754
+ cambria: "cambria";
1755
+ courier: "courier";
1756
+ times: "times";
1757
+ }>>;
1758
+ sizePt: z.ZodOptional<z.ZodNumber>;
1759
+ color: z.ZodOptional<z.ZodString>;
1760
+ }, z.core.$strip>>;
1761
+ type: z.ZodLiteral<"list">;
1762
+ ordered: z.ZodBoolean;
1763
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
1764
+ font: z.ZodOptional<z.ZodEnum<{
1765
+ arial: "arial";
1766
+ calibri: "calibri";
1767
+ cambria: "cambria";
1768
+ courier: "courier";
1769
+ times: "times";
1770
+ }>>;
1771
+ sizePt: z.ZodOptional<z.ZodNumber>;
1772
+ color: z.ZodOptional<z.ZodString>;
1773
+ text: z.ZodString;
1774
+ bold: z.ZodOptional<z.ZodBoolean>;
1775
+ italic: z.ZodOptional<z.ZodBoolean>;
1776
+ underline: z.ZodOptional<z.ZodBoolean>;
1777
+ }, z.core.$strip>>]>>;
1778
+ }, z.core.$strip>, z.ZodObject<{
1779
+ type: z.ZodLiteral<"table">;
1780
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
1781
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1782
+ header: z.ZodOptional<z.ZodObject<{
1783
+ cells: z.ZodArray<z.ZodObject<{
1784
+ text: z.ZodOptional<z.ZodString>;
1785
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1786
+ font: z.ZodOptional<z.ZodEnum<{
1787
+ arial: "arial";
1788
+ calibri: "calibri";
1789
+ cambria: "cambria";
1790
+ courier: "courier";
1791
+ times: "times";
1792
+ }>>;
1793
+ sizePt: z.ZodOptional<z.ZodNumber>;
1794
+ color: z.ZodOptional<z.ZodString>;
1795
+ text: z.ZodString;
1796
+ bold: z.ZodOptional<z.ZodBoolean>;
1797
+ italic: z.ZodOptional<z.ZodBoolean>;
1798
+ underline: z.ZodOptional<z.ZodBoolean>;
1799
+ }, z.core.$strip>>>;
1800
+ background: z.ZodOptional<z.ZodString>;
1801
+ align: z.ZodOptional<z.ZodEnum<{
1802
+ center: "center";
1803
+ justify: "justify";
1804
+ left: "left";
1805
+ right: "right";
1806
+ }>>;
1807
+ }, z.core.$strip>>;
1808
+ }, z.core.$strip>>;
1809
+ rows: z.ZodArray<z.ZodObject<{
1810
+ cells: z.ZodArray<z.ZodObject<{
1811
+ text: z.ZodOptional<z.ZodString>;
1812
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1813
+ font: z.ZodOptional<z.ZodEnum<{
1814
+ arial: "arial";
1815
+ calibri: "calibri";
1816
+ cambria: "cambria";
1817
+ courier: "courier";
1818
+ times: "times";
1819
+ }>>;
1820
+ sizePt: z.ZodOptional<z.ZodNumber>;
1821
+ color: z.ZodOptional<z.ZodString>;
1822
+ text: z.ZodString;
1823
+ bold: z.ZodOptional<z.ZodBoolean>;
1824
+ italic: z.ZodOptional<z.ZodBoolean>;
1825
+ underline: z.ZodOptional<z.ZodBoolean>;
1826
+ }, z.core.$strip>>>;
1827
+ background: z.ZodOptional<z.ZodString>;
1828
+ align: z.ZodOptional<z.ZodEnum<{
1829
+ center: "center";
1830
+ justify: "justify";
1831
+ left: "left";
1832
+ right: "right";
1833
+ }>>;
1834
+ }, z.core.$strip>>;
1835
+ }, z.core.$strip>>;
1836
+ repeat: z.ZodOptional<z.ZodObject<{
1837
+ each: z.ZodString;
1838
+ row: z.ZodObject<{
1839
+ cells: z.ZodArray<z.ZodObject<{
1840
+ text: z.ZodOptional<z.ZodString>;
1841
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1842
+ font: z.ZodOptional<z.ZodEnum<{
1843
+ arial: "arial";
1844
+ calibri: "calibri";
1845
+ cambria: "cambria";
1846
+ courier: "courier";
1847
+ times: "times";
1848
+ }>>;
1849
+ sizePt: z.ZodOptional<z.ZodNumber>;
1850
+ color: z.ZodOptional<z.ZodString>;
1851
+ text: z.ZodString;
1852
+ bold: z.ZodOptional<z.ZodBoolean>;
1853
+ italic: z.ZodOptional<z.ZodBoolean>;
1854
+ underline: z.ZodOptional<z.ZodBoolean>;
1855
+ }, z.core.$strip>>>;
1856
+ background: z.ZodOptional<z.ZodString>;
1857
+ align: z.ZodOptional<z.ZodEnum<{
1858
+ center: "center";
1859
+ justify: "justify";
1860
+ left: "left";
1861
+ right: "right";
1862
+ }>>;
1863
+ }, z.core.$strip>>;
1864
+ }, z.core.$strip>;
1865
+ }, z.core.$strip>>;
1866
+ }, z.core.$strip>, z.ZodObject<{
1867
+ type: z.ZodLiteral<"image">;
1868
+ resource: z.ZodString;
1869
+ alt: z.ZodOptional<z.ZodString>;
1870
+ }, z.core.$strip>], "type">>;
1871
+ }, z.core.$strip>, z.ZodObject<{
1872
+ type: z.ZodLiteral<"image">;
1873
+ resource: z.ZodString;
1874
+ alt: z.ZodOptional<z.ZodString>;
1875
+ }, z.core.$strip>, z.ZodObject<{
1876
+ type: z.ZodLiteral<"button">;
1877
+ text: z.ZodString;
1878
+ href: z.ZodString;
1879
+ }, z.core.$strip>, z.ZodObject<{
1880
+ type: z.ZodLiteral<"divider">;
1881
+ }, z.core.$strip>, z.ZodObject<{
1882
+ type: z.ZodLiteral<"pageBreak">;
1883
+ }, z.core.$strip>], "type">>;
1884
+ }, z.core.$strip>, z.ZodObject<{
1885
+ align: z.ZodOptional<z.ZodEnum<{
1886
+ center: "center";
1887
+ justify: "justify";
1888
+ left: "left";
1889
+ right: "right";
1890
+ }>>;
1891
+ style: z.ZodOptional<z.ZodObject<{
1892
+ lineHeight: z.ZodOptional<z.ZodNumber>;
1893
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
1894
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
1895
+ }, z.core.$strip>>;
1896
+ textStyle: z.ZodOptional<z.ZodObject<{
1897
+ font: z.ZodOptional<z.ZodEnum<{
1898
+ arial: "arial";
1899
+ calibri: "calibri";
1900
+ cambria: "cambria";
1901
+ courier: "courier";
1902
+ times: "times";
1903
+ }>>;
1904
+ sizePt: z.ZodOptional<z.ZodNumber>;
1905
+ color: z.ZodOptional<z.ZodString>;
1906
+ }, z.core.$strip>>;
1907
+ op: z.ZodLiteral<"formatBlock">;
1908
+ blockId: z.ZodString;
136
1909
  }, z.core.$strip>, z.ZodObject<{
137
1910
  op: z.ZodLiteral<"setResource">;
138
1911
  blockId: z.ZodString;
@@ -151,7 +1924,7 @@ export type DocumentOpsInput = {
151
1924
  readonly doc: JSONContent;
152
1925
  readonly meta: Readonly<Record<string, unknown>>;
153
1926
  readonly variableSchema: Readonly<Record<string, unknown>>;
154
- readonly kind: DocumentHtmlKind;
1927
+ readonly kind: DocumentOpsKind;
155
1928
  readonly ops: readonly DocumentOp[];
156
1929
  };
157
1930
  export type DocumentOpsResult = {
@@ -169,4 +1942,3 @@ export declare const REPLACE_TEXT_ISSUE_CODES: {
169
1942
  readonly placeholderNotReplaceable: "placeholder_not_replaceable";
170
1943
  };
171
1944
  export declare function applyDocumentOps(input: DocumentOpsInput): DocumentOpsResult;
172
- export {};