@cosmicdrift/kumiko-bundled-features 0.422.0 → 0.424.1

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