@cosmicdrift/kumiko-bundled-features 0.417.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 (154) hide show
  1. package/dist/agent-tools/api-docs/schema-fields.js +9 -0
  2. package/dist/auth-email-password/index.d.ts +2 -1
  3. package/dist/auth-email-password/index.js +2 -1
  4. package/dist/auth-email-password/signup-activation.js +2 -1
  5. package/dist/auth-email-password/signup-token-store.d.ts +1 -6
  6. package/dist/auth-email-password/signup-token-store.js +0 -5
  7. package/dist/cap-counter/stock-cap-guard.d.ts +9 -2
  8. package/dist/cap-counter/stock-cap-guard.js +9 -11
  9. package/dist/document-ingest-foundation/feature.js +5 -1
  10. package/dist/document-ingest-foundation/report-ingest-progress.js +19 -6
  11. package/dist/signature/entity.d.ts +8 -6
  12. package/dist/signature/entity.js +3 -1
  13. package/dist/signature/feature.js +11 -4
  14. package/dist/signature/handlers/lifecycle.write.d.ts +9 -0
  15. package/dist/signature/handlers/lifecycle.write.js +23 -1
  16. package/dist/signature/handlers/request.write.d.ts +1 -1
  17. package/dist/signature/i18n.js +1 -0
  18. package/dist/signature/list-cursor-seal.d.ts +3 -0
  19. package/dist/signature/list-cursor-seal.js +44 -0
  20. package/dist/signature/options.d.ts +2 -2
  21. package/dist/signature/payloads.d.ts +17 -1
  22. package/dist/signature/payloads.js +11 -2
  23. package/dist/signature/png.js +23 -3
  24. package/dist/signature/subject-queries.d.ts +1 -1
  25. package/dist/signature/subject-queries.js +30 -8
  26. package/dist/signature/sweep.js +26 -9
  27. package/dist/signature/web/constants.d.ts +9 -0
  28. package/dist/signature/web/constants.js +8 -0
  29. package/dist/subscription-stripe/plugin-methods.js +2 -0
  30. package/dist/subscription-stripe/verify-webhook.js +17 -16
  31. package/dist/template-resolver/compile-document-body.js +3 -6
  32. package/dist/template-resolver/compile-document-styles.d.ts +3 -0
  33. package/dist/template-resolver/compile-document-styles.js +84 -0
  34. package/dist/template-resolver/document-frames.d.ts +3 -0
  35. package/dist/template-resolver/document-frames.js +19 -0
  36. package/dist/template-resolver/document-op-blocks.d.ts +495 -0
  37. package/dist/template-resolver/document-op-blocks.js +430 -0
  38. package/dist/template-resolver/document-ops.d.ts +1809 -37
  39. package/dist/template-resolver/document-ops.js +97 -104
  40. package/dist/template-resolver/document-print-only.d.ts +10 -0
  41. package/dist/template-resolver/document-print-only.js +24 -0
  42. package/dist/template-resolver/document-sanitizer.d.ts +1 -1
  43. package/dist/template-resolver/document-sanitizer.js +24 -13
  44. package/dist/template-resolver/feature.d.ts +3 -0
  45. package/dist/template-resolver/feature.js +14 -1
  46. package/dist/template-resolver/handlers/apply-layout.write.d.ts +29 -0
  47. package/dist/template-resolver/handlers/apply-layout.write.js +118 -0
  48. package/dist/template-resolver/handlers/create-layout.write.d.ts +15 -0
  49. package/dist/template-resolver/handlers/create-layout.write.js +78 -0
  50. package/dist/template-resolver/handlers/document-base.d.ts +2 -2
  51. package/dist/template-resolver/handlers/document-blocks.query.d.ts +10 -3
  52. package/dist/template-resolver/handlers/document-blocks.query.js +13 -8
  53. package/dist/template-resolver/handlers/document-region.d.ts +19 -0
  54. package/dist/template-resolver/handlers/document-region.js +27 -0
  55. package/dist/template-resolver/handlers/failure-reason.d.ts +2 -0
  56. package/dist/template-resolver/handlers/failure-reason.js +12 -0
  57. package/dist/template-resolver/handlers/import-bundle-system.write.js +4 -0
  58. package/dist/template-resolver/handlers/layout-source.query.d.ts +3 -3
  59. package/dist/template-resolver/handlers/layout-source.query.js +6 -2
  60. package/dist/template-resolver/handlers/overview.query.d.ts +8 -0
  61. package/dist/template-resolver/handlers/overview.query.js +12 -6
  62. package/dist/template-resolver/handlers/patch-draft.write.d.ts +905 -4
  63. package/dist/template-resolver/handlers/patch-draft.write.js +10 -6
  64. package/dist/template-resolver/handlers/publish-templates.write.d.ts +40 -0
  65. package/dist/template-resolver/handlers/publish-templates.write.js +61 -0
  66. package/dist/template-resolver/handlers/set.write.js +4 -1
  67. package/dist/template-resolver/handlers/template-write.js +7 -2
  68. package/dist/template-resolver/handlers/tenant-settings.d.ts +17 -0
  69. package/dist/template-resolver/handlers/tenant-settings.js +91 -0
  70. package/dist/template-resolver/handlers/toggle-status.write.d.ts +14 -9
  71. package/dist/template-resolver/handlers/toggle-status.write.js +11 -7
  72. package/dist/template-resolver/handlers/upsert-system.write.js +15 -9
  73. package/dist/template-resolver/handlers/usage.query.d.ts +14 -0
  74. package/dist/template-resolver/handlers/usage.query.js +80 -12
  75. package/dist/template-resolver/handlers/validate.query.d.ts +2 -0
  76. package/dist/template-resolver/handlers/validate.query.js +10 -0
  77. package/dist/template-resolver/i18n.js +3 -0
  78. package/dist/template-resolver/index.d.ts +7 -2
  79. package/dist/template-resolver/index.js +6 -2
  80. package/dist/template-resolver/layout-regions.d.ts +4 -5
  81. package/dist/template-resolver/layout-regions.js +38 -11
  82. package/dist/template-resolver/print-document.js +3 -1
  83. package/dist/template-resolver/seeding.js +4 -0
  84. package/dist/template-resolver/template-delivery-policy.d.ts +1 -0
  85. package/dist/template-resolver/template-delivery-policy.js +9 -1
  86. package/dist/template-resolver/template-edit-policy.d.ts +5 -1
  87. package/dist/template-resolver/template-edit-policy.js +29 -1
  88. package/dist/template-resolver/template-meta.d.ts +27 -2
  89. package/dist/template-resolver/template-meta.js +21 -5
  90. package/dist/template-resolver/template-preview.js +8 -8
  91. package/dist/template-resolver/template-validation.js +10 -3
  92. package/dist/template-resolver/web/constants.d.ts +7 -1
  93. package/dist/template-resolver/web/constants.js +21 -1
  94. package/dist/template-resolver/web/document-blocks.d.ts +1 -0
  95. package/dist/template-resolver/web/document-blocks.js +2 -0
  96. package/dist/template-resolver/web/document-editor-extensions.d.ts +9 -1
  97. package/dist/template-resolver/web/document-editor-extensions.js +27 -2
  98. package/dist/template-resolver/web/document-editor-fonts.d.ts +10 -0
  99. package/dist/template-resolver/web/document-editor-fonts.js +13 -0
  100. package/dist/template-resolver/web/document-fonts.d.ts +4 -0
  101. package/dist/template-resolver/web/document-fonts.js +18 -0
  102. package/dist/template-resolver/web/document-frame-control.d.ts +61 -0
  103. package/dist/template-resolver/web/document-frame-control.js +329 -0
  104. package/dist/template-resolver/web/document-frame-node-view.d.ts +4 -0
  105. package/dist/template-resolver/web/document-frame-node-view.js +173 -0
  106. package/dist/template-resolver/web/document-print-decorations.d.ts +12 -0
  107. package/dist/template-resolver/web/document-print-decorations.js +147 -0
  108. package/dist/template-resolver/web/document-print-defaults.d.ts +14 -0
  109. package/dist/template-resolver/web/document-print-defaults.js +25 -0
  110. package/dist/template-resolver/web/document-print-style.d.ts +71 -0
  111. package/dist/template-resolver/web/document-print-style.js +199 -0
  112. package/dist/template-resolver/web/document-repeat-strip.d.ts +8 -0
  113. package/dist/template-resolver/web/document-repeat-strip.js +78 -0
  114. package/dist/template-resolver/web/document-schema.js +23 -9
  115. package/dist/template-resolver/web/document-style-css.d.ts +29 -0
  116. package/dist/template-resolver/web/document-style-css.js +76 -0
  117. package/dist/template-resolver/web/document-tiptap-bubble.js +13 -3
  118. package/dist/template-resolver/web/document-tiptap-content.d.ts +2 -1
  119. package/dist/template-resolver/web/document-tiptap-content.js +36 -4
  120. package/dist/template-resolver/web/document-tiptap-context.d.ts +6 -2
  121. package/dist/template-resolver/web/document-tiptap-context.js +2 -1
  122. package/dist/template-resolver/web/document-tiptap-editor.d.ts +1 -1
  123. package/dist/template-resolver/web/document-tiptap-editor.js +13 -5
  124. package/dist/template-resolver/web/document-tiptap-helpers.d.ts +30 -1
  125. package/dist/template-resolver/web/document-tiptap-helpers.js +103 -2
  126. package/dist/template-resolver/web/document-tiptap-toolbar-groups.d.ts +5 -0
  127. package/dist/template-resolver/web/document-tiptap-toolbar-groups.js +89 -6
  128. package/dist/template-resolver/web/document-tiptap-toolbar.js +45 -8
  129. package/dist/template-resolver/web/document-toolbar-blocks.d.ts +17 -0
  130. package/dist/template-resolver/web/i18n.js +19 -0
  131. package/dist/template-resolver/web/index.d.ts +8 -2
  132. package/dist/template-resolver/web/index.js +6 -1
  133. package/dist/template-resolver/web/pdf-constants.d.ts +3 -0
  134. package/dist/template-resolver/web/pdf-constants.js +3 -0
  135. package/dist/template-resolver/web/qualified-names.d.ts +7 -0
  136. package/dist/template-resolver/web/qualified-names.js +6 -0
  137. package/dist/template-resolver/web/use-document-tiptap-model.d.ts +6 -2
  138. package/dist/template-resolver/web/use-document-tiptap-model.js +38 -3
  139. package/dist/tenant/company-config.d.ts +6 -0
  140. package/dist/tenant/company-config.js +41 -0
  141. package/dist/tenant/feature.js +11 -0
  142. package/dist/tenant/i18n.js +14 -0
  143. package/dist/tenant-inactivity/handlers/keep-account.write.js +5 -2
  144. package/dist/tenant-lifecycle/run-tenant-destroy.js +65 -33
  145. package/package.json +16 -11
  146. package/src/agent-tools/changes.json +6 -0
  147. package/src/cap-counter/changes.json +6 -0
  148. package/src/channel-whatsapp/changes.json +1 -1
  149. package/src/document-ingest-foundation/changes.json +6 -0
  150. package/src/signature/changes.json +18 -0
  151. package/src/subscription-paddle/changes.json +1 -1
  152. package/src/subscription-stripe/changes.json +6 -0
  153. package/src/template-resolver/changes.json +38 -0
  154. package/src/tenant-lifecycle/changes.json +6 -0
@@ -1,11 +1,17 @@
1
1
  import * as z from "zod";
2
2
  import { type TemplateEditPolicy } from "../template-edit-policy.ts";
3
3
  export declare function makePatchDraftWrite(policy: TemplateEditPolicy): import("@cosmicdrift/kumiko-types/define-handler").WriteHandlerDefinition<"patch-draft", z.ZodObject<{
4
- slug: z.ZodString;
5
4
  kind: z.ZodEnum<{
6
5
  "document-pdf": "document-pdf";
7
6
  mail: "mail";
7
+ "pdf-layout": "pdf-layout";
8
8
  }>;
9
+ region: z.ZodOptional<z.ZodEnum<{
10
+ footer: "footer";
11
+ header: "header";
12
+ signature: "signature";
13
+ }>>;
14
+ slug: z.ZodString;
9
15
  locale: z.ZodString;
10
16
  base: z.ZodObject<{
11
17
  scope: z.ZodEnum<{
@@ -18,18 +24,439 @@ export declare function makePatchDraftWrite(policy: TemplateEditPolicy): import(
18
24
  op: z.ZodLiteral<"insertBlock">;
19
25
  after: z.ZodNullable<z.ZodString>;
20
26
  block: z.ZodDiscriminatedUnion<[z.ZodObject<{
21
- type: z.ZodLiteral<"paragraph">;
22
- text: z.ZodString;
23
27
  align: z.ZodOptional<z.ZodEnum<{
24
28
  center: "center";
25
29
  justify: "justify";
26
30
  left: "left";
27
31
  right: "right";
28
32
  }>>;
33
+ style: z.ZodOptional<z.ZodObject<{
34
+ lineHeight: z.ZodOptional<z.ZodNumber>;
35
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
36
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
37
+ }, z.core.$strip>>;
38
+ textStyle: z.ZodOptional<z.ZodObject<{
39
+ font: z.ZodOptional<z.ZodEnum<{
40
+ arial: "arial";
41
+ calibri: "calibri";
42
+ cambria: "cambria";
43
+ courier: "courier";
44
+ times: "times";
45
+ }>>;
46
+ sizePt: z.ZodOptional<z.ZodNumber>;
47
+ color: z.ZodOptional<z.ZodString>;
48
+ }, z.core.$strip>>;
49
+ text: z.ZodOptional<z.ZodString>;
50
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
51
+ font: z.ZodOptional<z.ZodEnum<{
52
+ arial: "arial";
53
+ calibri: "calibri";
54
+ cambria: "cambria";
55
+ courier: "courier";
56
+ times: "times";
57
+ }>>;
58
+ sizePt: z.ZodOptional<z.ZodNumber>;
59
+ color: z.ZodOptional<z.ZodString>;
60
+ text: z.ZodString;
61
+ bold: z.ZodOptional<z.ZodBoolean>;
62
+ italic: z.ZodOptional<z.ZodBoolean>;
63
+ underline: z.ZodOptional<z.ZodBoolean>;
64
+ }, z.core.$strip>>>;
65
+ type: z.ZodLiteral<"paragraph">;
29
66
  }, z.core.$strip>, z.ZodObject<{
67
+ align: z.ZodOptional<z.ZodEnum<{
68
+ center: "center";
69
+ justify: "justify";
70
+ left: "left";
71
+ right: "right";
72
+ }>>;
73
+ style: z.ZodOptional<z.ZodObject<{
74
+ lineHeight: z.ZodOptional<z.ZodNumber>;
75
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
76
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
77
+ }, z.core.$strip>>;
78
+ textStyle: z.ZodOptional<z.ZodObject<{
79
+ font: z.ZodOptional<z.ZodEnum<{
80
+ arial: "arial";
81
+ calibri: "calibri";
82
+ cambria: "cambria";
83
+ courier: "courier";
84
+ times: "times";
85
+ }>>;
86
+ sizePt: z.ZodOptional<z.ZodNumber>;
87
+ color: z.ZodOptional<z.ZodString>;
88
+ }, z.core.$strip>>;
89
+ text: z.ZodOptional<z.ZodString>;
90
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
91
+ font: z.ZodOptional<z.ZodEnum<{
92
+ arial: "arial";
93
+ calibri: "calibri";
94
+ cambria: "cambria";
95
+ courier: "courier";
96
+ times: "times";
97
+ }>>;
98
+ sizePt: z.ZodOptional<z.ZodNumber>;
99
+ color: z.ZodOptional<z.ZodString>;
100
+ text: z.ZodString;
101
+ bold: z.ZodOptional<z.ZodBoolean>;
102
+ italic: z.ZodOptional<z.ZodBoolean>;
103
+ underline: z.ZodOptional<z.ZodBoolean>;
104
+ }, z.core.$strip>>>;
30
105
  type: z.ZodLiteral<"heading">;
31
106
  level: z.ZodNumber;
32
- text: z.ZodString;
107
+ }, z.core.$strip>, z.ZodObject<{
108
+ align: z.ZodOptional<z.ZodEnum<{
109
+ center: "center";
110
+ justify: "justify";
111
+ left: "left";
112
+ right: "right";
113
+ }>>;
114
+ style: z.ZodOptional<z.ZodObject<{
115
+ lineHeight: z.ZodOptional<z.ZodNumber>;
116
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
117
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
118
+ }, z.core.$strip>>;
119
+ textStyle: z.ZodOptional<z.ZodObject<{
120
+ font: z.ZodOptional<z.ZodEnum<{
121
+ arial: "arial";
122
+ calibri: "calibri";
123
+ cambria: "cambria";
124
+ courier: "courier";
125
+ times: "times";
126
+ }>>;
127
+ sizePt: z.ZodOptional<z.ZodNumber>;
128
+ color: z.ZodOptional<z.ZodString>;
129
+ }, z.core.$strip>>;
130
+ type: z.ZodLiteral<"list">;
131
+ ordered: z.ZodBoolean;
132
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
133
+ font: z.ZodOptional<z.ZodEnum<{
134
+ arial: "arial";
135
+ calibri: "calibri";
136
+ cambria: "cambria";
137
+ courier: "courier";
138
+ times: "times";
139
+ }>>;
140
+ sizePt: z.ZodOptional<z.ZodNumber>;
141
+ color: z.ZodOptional<z.ZodString>;
142
+ text: z.ZodString;
143
+ bold: z.ZodOptional<z.ZodBoolean>;
144
+ italic: z.ZodOptional<z.ZodBoolean>;
145
+ underline: z.ZodOptional<z.ZodBoolean>;
146
+ }, z.core.$strip>>]>>;
147
+ }, z.core.$strip>, z.ZodObject<{
148
+ type: z.ZodLiteral<"table">;
149
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
150
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
151
+ header: z.ZodOptional<z.ZodObject<{
152
+ cells: z.ZodArray<z.ZodObject<{
153
+ text: z.ZodOptional<z.ZodString>;
154
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
155
+ font: z.ZodOptional<z.ZodEnum<{
156
+ arial: "arial";
157
+ calibri: "calibri";
158
+ cambria: "cambria";
159
+ courier: "courier";
160
+ times: "times";
161
+ }>>;
162
+ sizePt: z.ZodOptional<z.ZodNumber>;
163
+ color: z.ZodOptional<z.ZodString>;
164
+ text: z.ZodString;
165
+ bold: z.ZodOptional<z.ZodBoolean>;
166
+ italic: z.ZodOptional<z.ZodBoolean>;
167
+ underline: z.ZodOptional<z.ZodBoolean>;
168
+ }, z.core.$strip>>>;
169
+ background: z.ZodOptional<z.ZodString>;
170
+ align: z.ZodOptional<z.ZodEnum<{
171
+ center: "center";
172
+ justify: "justify";
173
+ left: "left";
174
+ right: "right";
175
+ }>>;
176
+ }, z.core.$strip>>;
177
+ }, z.core.$strip>>;
178
+ rows: z.ZodArray<z.ZodObject<{
179
+ cells: z.ZodArray<z.ZodObject<{
180
+ text: z.ZodOptional<z.ZodString>;
181
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
182
+ font: z.ZodOptional<z.ZodEnum<{
183
+ arial: "arial";
184
+ calibri: "calibri";
185
+ cambria: "cambria";
186
+ courier: "courier";
187
+ times: "times";
188
+ }>>;
189
+ sizePt: z.ZodOptional<z.ZodNumber>;
190
+ color: z.ZodOptional<z.ZodString>;
191
+ text: z.ZodString;
192
+ bold: z.ZodOptional<z.ZodBoolean>;
193
+ italic: z.ZodOptional<z.ZodBoolean>;
194
+ underline: z.ZodOptional<z.ZodBoolean>;
195
+ }, z.core.$strip>>>;
196
+ background: z.ZodOptional<z.ZodString>;
197
+ align: z.ZodOptional<z.ZodEnum<{
198
+ center: "center";
199
+ justify: "justify";
200
+ left: "left";
201
+ right: "right";
202
+ }>>;
203
+ }, z.core.$strip>>;
204
+ }, z.core.$strip>>;
205
+ repeat: z.ZodOptional<z.ZodObject<{
206
+ each: z.ZodString;
207
+ row: z.ZodObject<{
208
+ cells: z.ZodArray<z.ZodObject<{
209
+ text: z.ZodOptional<z.ZodString>;
210
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
211
+ font: z.ZodOptional<z.ZodEnum<{
212
+ arial: "arial";
213
+ calibri: "calibri";
214
+ cambria: "cambria";
215
+ courier: "courier";
216
+ times: "times";
217
+ }>>;
218
+ sizePt: z.ZodOptional<z.ZodNumber>;
219
+ color: z.ZodOptional<z.ZodString>;
220
+ text: z.ZodString;
221
+ bold: z.ZodOptional<z.ZodBoolean>;
222
+ italic: z.ZodOptional<z.ZodBoolean>;
223
+ underline: z.ZodOptional<z.ZodBoolean>;
224
+ }, z.core.$strip>>>;
225
+ background: z.ZodOptional<z.ZodString>;
226
+ align: z.ZodOptional<z.ZodEnum<{
227
+ center: "center";
228
+ justify: "justify";
229
+ left: "left";
230
+ right: "right";
231
+ }>>;
232
+ }, z.core.$strip>>;
233
+ }, z.core.$strip>;
234
+ }, z.core.$strip>>;
235
+ }, z.core.$strip>, z.ZodObject<{
236
+ type: z.ZodLiteral<"frame">;
237
+ xMm: z.ZodNumber;
238
+ yMm: z.ZodNumber;
239
+ widthMm: z.ZodNumber;
240
+ heightMm: z.ZodNumber;
241
+ preset: z.ZodOptional<z.ZodEnum<{
242
+ address: "address";
243
+ text: "text";
244
+ }>>;
245
+ reserveFlow: z.ZodOptional<z.ZodBoolean>;
246
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
247
+ align: z.ZodOptional<z.ZodEnum<{
248
+ center: "center";
249
+ justify: "justify";
250
+ left: "left";
251
+ right: "right";
252
+ }>>;
253
+ style: z.ZodOptional<z.ZodObject<{
254
+ lineHeight: z.ZodOptional<z.ZodNumber>;
255
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
256
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
257
+ }, z.core.$strip>>;
258
+ textStyle: z.ZodOptional<z.ZodObject<{
259
+ font: z.ZodOptional<z.ZodEnum<{
260
+ arial: "arial";
261
+ calibri: "calibri";
262
+ cambria: "cambria";
263
+ courier: "courier";
264
+ times: "times";
265
+ }>>;
266
+ sizePt: z.ZodOptional<z.ZodNumber>;
267
+ color: z.ZodOptional<z.ZodString>;
268
+ }, z.core.$strip>>;
269
+ text: z.ZodOptional<z.ZodString>;
270
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
271
+ font: z.ZodOptional<z.ZodEnum<{
272
+ arial: "arial";
273
+ calibri: "calibri";
274
+ cambria: "cambria";
275
+ courier: "courier";
276
+ times: "times";
277
+ }>>;
278
+ sizePt: z.ZodOptional<z.ZodNumber>;
279
+ color: z.ZodOptional<z.ZodString>;
280
+ text: z.ZodString;
281
+ bold: z.ZodOptional<z.ZodBoolean>;
282
+ italic: z.ZodOptional<z.ZodBoolean>;
283
+ underline: z.ZodOptional<z.ZodBoolean>;
284
+ }, z.core.$strip>>>;
285
+ type: z.ZodLiteral<"paragraph">;
286
+ }, z.core.$strip>, z.ZodObject<{
287
+ align: z.ZodOptional<z.ZodEnum<{
288
+ center: "center";
289
+ justify: "justify";
290
+ left: "left";
291
+ right: "right";
292
+ }>>;
293
+ style: z.ZodOptional<z.ZodObject<{
294
+ lineHeight: z.ZodOptional<z.ZodNumber>;
295
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
296
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
297
+ }, z.core.$strip>>;
298
+ textStyle: z.ZodOptional<z.ZodObject<{
299
+ font: z.ZodOptional<z.ZodEnum<{
300
+ arial: "arial";
301
+ calibri: "calibri";
302
+ cambria: "cambria";
303
+ courier: "courier";
304
+ times: "times";
305
+ }>>;
306
+ sizePt: z.ZodOptional<z.ZodNumber>;
307
+ color: z.ZodOptional<z.ZodString>;
308
+ }, z.core.$strip>>;
309
+ text: z.ZodOptional<z.ZodString>;
310
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
311
+ font: z.ZodOptional<z.ZodEnum<{
312
+ arial: "arial";
313
+ calibri: "calibri";
314
+ cambria: "cambria";
315
+ courier: "courier";
316
+ times: "times";
317
+ }>>;
318
+ sizePt: z.ZodOptional<z.ZodNumber>;
319
+ color: z.ZodOptional<z.ZodString>;
320
+ text: z.ZodString;
321
+ bold: z.ZodOptional<z.ZodBoolean>;
322
+ italic: z.ZodOptional<z.ZodBoolean>;
323
+ underline: z.ZodOptional<z.ZodBoolean>;
324
+ }, z.core.$strip>>>;
325
+ type: z.ZodLiteral<"heading">;
326
+ level: z.ZodNumber;
327
+ }, z.core.$strip>, z.ZodObject<{
328
+ align: z.ZodOptional<z.ZodEnum<{
329
+ center: "center";
330
+ justify: "justify";
331
+ left: "left";
332
+ right: "right";
333
+ }>>;
334
+ style: z.ZodOptional<z.ZodObject<{
335
+ lineHeight: z.ZodOptional<z.ZodNumber>;
336
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
337
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
338
+ }, z.core.$strip>>;
339
+ textStyle: z.ZodOptional<z.ZodObject<{
340
+ font: z.ZodOptional<z.ZodEnum<{
341
+ arial: "arial";
342
+ calibri: "calibri";
343
+ cambria: "cambria";
344
+ courier: "courier";
345
+ times: "times";
346
+ }>>;
347
+ sizePt: z.ZodOptional<z.ZodNumber>;
348
+ color: z.ZodOptional<z.ZodString>;
349
+ }, z.core.$strip>>;
350
+ type: z.ZodLiteral<"list">;
351
+ ordered: z.ZodBoolean;
352
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
353
+ font: z.ZodOptional<z.ZodEnum<{
354
+ arial: "arial";
355
+ calibri: "calibri";
356
+ cambria: "cambria";
357
+ courier: "courier";
358
+ times: "times";
359
+ }>>;
360
+ sizePt: z.ZodOptional<z.ZodNumber>;
361
+ color: z.ZodOptional<z.ZodString>;
362
+ text: z.ZodString;
363
+ bold: z.ZodOptional<z.ZodBoolean>;
364
+ italic: z.ZodOptional<z.ZodBoolean>;
365
+ underline: z.ZodOptional<z.ZodBoolean>;
366
+ }, z.core.$strip>>]>>;
367
+ }, z.core.$strip>, z.ZodObject<{
368
+ type: z.ZodLiteral<"table">;
369
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
370
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
371
+ header: z.ZodOptional<z.ZodObject<{
372
+ cells: z.ZodArray<z.ZodObject<{
373
+ text: z.ZodOptional<z.ZodString>;
374
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
375
+ font: z.ZodOptional<z.ZodEnum<{
376
+ arial: "arial";
377
+ calibri: "calibri";
378
+ cambria: "cambria";
379
+ courier: "courier";
380
+ times: "times";
381
+ }>>;
382
+ sizePt: z.ZodOptional<z.ZodNumber>;
383
+ color: z.ZodOptional<z.ZodString>;
384
+ text: z.ZodString;
385
+ bold: z.ZodOptional<z.ZodBoolean>;
386
+ italic: z.ZodOptional<z.ZodBoolean>;
387
+ underline: z.ZodOptional<z.ZodBoolean>;
388
+ }, z.core.$strip>>>;
389
+ background: z.ZodOptional<z.ZodString>;
390
+ align: z.ZodOptional<z.ZodEnum<{
391
+ center: "center";
392
+ justify: "justify";
393
+ left: "left";
394
+ right: "right";
395
+ }>>;
396
+ }, z.core.$strip>>;
397
+ }, z.core.$strip>>;
398
+ rows: z.ZodArray<z.ZodObject<{
399
+ cells: z.ZodArray<z.ZodObject<{
400
+ text: z.ZodOptional<z.ZodString>;
401
+ runs: z.ZodOptional<z.ZodArray<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
+ text: z.ZodString;
412
+ bold: z.ZodOptional<z.ZodBoolean>;
413
+ italic: z.ZodOptional<z.ZodBoolean>;
414
+ underline: z.ZodOptional<z.ZodBoolean>;
415
+ }, z.core.$strip>>>;
416
+ background: z.ZodOptional<z.ZodString>;
417
+ align: z.ZodOptional<z.ZodEnum<{
418
+ center: "center";
419
+ justify: "justify";
420
+ left: "left";
421
+ right: "right";
422
+ }>>;
423
+ }, z.core.$strip>>;
424
+ }, z.core.$strip>>;
425
+ repeat: z.ZodOptional<z.ZodObject<{
426
+ each: z.ZodString;
427
+ row: z.ZodObject<{
428
+ cells: z.ZodArray<z.ZodObject<{
429
+ text: z.ZodOptional<z.ZodString>;
430
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
431
+ font: z.ZodOptional<z.ZodEnum<{
432
+ arial: "arial";
433
+ calibri: "calibri";
434
+ cambria: "cambria";
435
+ courier: "courier";
436
+ times: "times";
437
+ }>>;
438
+ sizePt: z.ZodOptional<z.ZodNumber>;
439
+ color: z.ZodOptional<z.ZodString>;
440
+ text: z.ZodString;
441
+ bold: z.ZodOptional<z.ZodBoolean>;
442
+ italic: z.ZodOptional<z.ZodBoolean>;
443
+ underline: z.ZodOptional<z.ZodBoolean>;
444
+ }, z.core.$strip>>>;
445
+ background: z.ZodOptional<z.ZodString>;
446
+ align: z.ZodOptional<z.ZodEnum<{
447
+ center: "center";
448
+ justify: "justify";
449
+ left: "left";
450
+ right: "right";
451
+ }>>;
452
+ }, z.core.$strip>>;
453
+ }, z.core.$strip>;
454
+ }, z.core.$strip>>;
455
+ }, z.core.$strip>, z.ZodObject<{
456
+ type: z.ZodLiteral<"image">;
457
+ resource: z.ZodString;
458
+ alt: z.ZodOptional<z.ZodString>;
459
+ }, z.core.$strip>], "type">>;
33
460
  }, z.core.$strip>, z.ZodObject<{
34
461
  type: z.ZodLiteral<"image">;
35
462
  resource: z.ZodString;
@@ -51,6 +478,480 @@ export declare function makePatchDraftWrite(policy: TemplateEditPolicy): import(
51
478
  }, z.core.$strip>, z.ZodObject<{
52
479
  op: z.ZodLiteral<"removeBlock">;
53
480
  blockId: z.ZodString;
481
+ }, z.core.$strip>, z.ZodObject<{
482
+ op: z.ZodLiteral<"replaceBody">;
483
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
484
+ align: z.ZodOptional<z.ZodEnum<{
485
+ center: "center";
486
+ justify: "justify";
487
+ left: "left";
488
+ right: "right";
489
+ }>>;
490
+ style: z.ZodOptional<z.ZodObject<{
491
+ lineHeight: z.ZodOptional<z.ZodNumber>;
492
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
493
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
494
+ }, z.core.$strip>>;
495
+ textStyle: z.ZodOptional<z.ZodObject<{
496
+ font: z.ZodOptional<z.ZodEnum<{
497
+ arial: "arial";
498
+ calibri: "calibri";
499
+ cambria: "cambria";
500
+ courier: "courier";
501
+ times: "times";
502
+ }>>;
503
+ sizePt: z.ZodOptional<z.ZodNumber>;
504
+ color: z.ZodOptional<z.ZodString>;
505
+ }, z.core.$strip>>;
506
+ text: z.ZodOptional<z.ZodString>;
507
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
508
+ font: z.ZodOptional<z.ZodEnum<{
509
+ arial: "arial";
510
+ calibri: "calibri";
511
+ cambria: "cambria";
512
+ courier: "courier";
513
+ times: "times";
514
+ }>>;
515
+ sizePt: z.ZodOptional<z.ZodNumber>;
516
+ color: z.ZodOptional<z.ZodString>;
517
+ text: z.ZodString;
518
+ bold: z.ZodOptional<z.ZodBoolean>;
519
+ italic: z.ZodOptional<z.ZodBoolean>;
520
+ underline: z.ZodOptional<z.ZodBoolean>;
521
+ }, z.core.$strip>>>;
522
+ type: z.ZodLiteral<"paragraph">;
523
+ }, z.core.$strip>, z.ZodObject<{
524
+ align: z.ZodOptional<z.ZodEnum<{
525
+ center: "center";
526
+ justify: "justify";
527
+ left: "left";
528
+ right: "right";
529
+ }>>;
530
+ style: z.ZodOptional<z.ZodObject<{
531
+ lineHeight: z.ZodOptional<z.ZodNumber>;
532
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
533
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
534
+ }, z.core.$strip>>;
535
+ textStyle: z.ZodOptional<z.ZodObject<{
536
+ font: z.ZodOptional<z.ZodEnum<{
537
+ arial: "arial";
538
+ calibri: "calibri";
539
+ cambria: "cambria";
540
+ courier: "courier";
541
+ times: "times";
542
+ }>>;
543
+ sizePt: z.ZodOptional<z.ZodNumber>;
544
+ color: z.ZodOptional<z.ZodString>;
545
+ }, z.core.$strip>>;
546
+ text: z.ZodOptional<z.ZodString>;
547
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
548
+ font: z.ZodOptional<z.ZodEnum<{
549
+ arial: "arial";
550
+ calibri: "calibri";
551
+ cambria: "cambria";
552
+ courier: "courier";
553
+ times: "times";
554
+ }>>;
555
+ sizePt: z.ZodOptional<z.ZodNumber>;
556
+ color: z.ZodOptional<z.ZodString>;
557
+ text: z.ZodString;
558
+ bold: z.ZodOptional<z.ZodBoolean>;
559
+ italic: z.ZodOptional<z.ZodBoolean>;
560
+ underline: z.ZodOptional<z.ZodBoolean>;
561
+ }, z.core.$strip>>>;
562
+ type: z.ZodLiteral<"heading">;
563
+ level: z.ZodNumber;
564
+ }, z.core.$strip>, z.ZodObject<{
565
+ align: z.ZodOptional<z.ZodEnum<{
566
+ center: "center";
567
+ justify: "justify";
568
+ left: "left";
569
+ right: "right";
570
+ }>>;
571
+ style: z.ZodOptional<z.ZodObject<{
572
+ lineHeight: z.ZodOptional<z.ZodNumber>;
573
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
574
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
575
+ }, z.core.$strip>>;
576
+ textStyle: z.ZodOptional<z.ZodObject<{
577
+ font: z.ZodOptional<z.ZodEnum<{
578
+ arial: "arial";
579
+ calibri: "calibri";
580
+ cambria: "cambria";
581
+ courier: "courier";
582
+ times: "times";
583
+ }>>;
584
+ sizePt: z.ZodOptional<z.ZodNumber>;
585
+ color: z.ZodOptional<z.ZodString>;
586
+ }, z.core.$strip>>;
587
+ type: z.ZodLiteral<"list">;
588
+ ordered: z.ZodBoolean;
589
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
590
+ font: z.ZodOptional<z.ZodEnum<{
591
+ arial: "arial";
592
+ calibri: "calibri";
593
+ cambria: "cambria";
594
+ courier: "courier";
595
+ times: "times";
596
+ }>>;
597
+ sizePt: z.ZodOptional<z.ZodNumber>;
598
+ color: z.ZodOptional<z.ZodString>;
599
+ text: z.ZodString;
600
+ bold: z.ZodOptional<z.ZodBoolean>;
601
+ italic: z.ZodOptional<z.ZodBoolean>;
602
+ underline: z.ZodOptional<z.ZodBoolean>;
603
+ }, z.core.$strip>>]>>;
604
+ }, z.core.$strip>, z.ZodObject<{
605
+ type: z.ZodLiteral<"table">;
606
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
607
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
608
+ header: z.ZodOptional<z.ZodObject<{
609
+ cells: z.ZodArray<z.ZodObject<{
610
+ text: z.ZodOptional<z.ZodString>;
611
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
612
+ font: z.ZodOptional<z.ZodEnum<{
613
+ arial: "arial";
614
+ calibri: "calibri";
615
+ cambria: "cambria";
616
+ courier: "courier";
617
+ times: "times";
618
+ }>>;
619
+ sizePt: z.ZodOptional<z.ZodNumber>;
620
+ color: z.ZodOptional<z.ZodString>;
621
+ text: z.ZodString;
622
+ bold: z.ZodOptional<z.ZodBoolean>;
623
+ italic: z.ZodOptional<z.ZodBoolean>;
624
+ underline: z.ZodOptional<z.ZodBoolean>;
625
+ }, z.core.$strip>>>;
626
+ background: z.ZodOptional<z.ZodString>;
627
+ align: z.ZodOptional<z.ZodEnum<{
628
+ center: "center";
629
+ justify: "justify";
630
+ left: "left";
631
+ right: "right";
632
+ }>>;
633
+ }, z.core.$strip>>;
634
+ }, z.core.$strip>>;
635
+ rows: z.ZodArray<z.ZodObject<{
636
+ cells: z.ZodArray<z.ZodObject<{
637
+ text: z.ZodOptional<z.ZodString>;
638
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
639
+ font: z.ZodOptional<z.ZodEnum<{
640
+ arial: "arial";
641
+ calibri: "calibri";
642
+ cambria: "cambria";
643
+ courier: "courier";
644
+ times: "times";
645
+ }>>;
646
+ sizePt: z.ZodOptional<z.ZodNumber>;
647
+ color: z.ZodOptional<z.ZodString>;
648
+ text: z.ZodString;
649
+ bold: z.ZodOptional<z.ZodBoolean>;
650
+ italic: z.ZodOptional<z.ZodBoolean>;
651
+ underline: z.ZodOptional<z.ZodBoolean>;
652
+ }, z.core.$strip>>>;
653
+ background: z.ZodOptional<z.ZodString>;
654
+ align: z.ZodOptional<z.ZodEnum<{
655
+ center: "center";
656
+ justify: "justify";
657
+ left: "left";
658
+ right: "right";
659
+ }>>;
660
+ }, z.core.$strip>>;
661
+ }, z.core.$strip>>;
662
+ repeat: z.ZodOptional<z.ZodObject<{
663
+ each: z.ZodString;
664
+ row: z.ZodObject<{
665
+ cells: z.ZodArray<z.ZodObject<{
666
+ text: z.ZodOptional<z.ZodString>;
667
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
668
+ font: z.ZodOptional<z.ZodEnum<{
669
+ arial: "arial";
670
+ calibri: "calibri";
671
+ cambria: "cambria";
672
+ courier: "courier";
673
+ times: "times";
674
+ }>>;
675
+ sizePt: z.ZodOptional<z.ZodNumber>;
676
+ color: z.ZodOptional<z.ZodString>;
677
+ text: z.ZodString;
678
+ bold: z.ZodOptional<z.ZodBoolean>;
679
+ italic: z.ZodOptional<z.ZodBoolean>;
680
+ underline: z.ZodOptional<z.ZodBoolean>;
681
+ }, z.core.$strip>>>;
682
+ background: z.ZodOptional<z.ZodString>;
683
+ align: z.ZodOptional<z.ZodEnum<{
684
+ center: "center";
685
+ justify: "justify";
686
+ left: "left";
687
+ right: "right";
688
+ }>>;
689
+ }, z.core.$strip>>;
690
+ }, z.core.$strip>;
691
+ }, z.core.$strip>>;
692
+ }, z.core.$strip>, z.ZodObject<{
693
+ type: z.ZodLiteral<"frame">;
694
+ xMm: z.ZodNumber;
695
+ yMm: z.ZodNumber;
696
+ widthMm: z.ZodNumber;
697
+ heightMm: z.ZodNumber;
698
+ preset: z.ZodOptional<z.ZodEnum<{
699
+ address: "address";
700
+ text: "text";
701
+ }>>;
702
+ reserveFlow: z.ZodOptional<z.ZodBoolean>;
703
+ blocks: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
704
+ align: z.ZodOptional<z.ZodEnum<{
705
+ center: "center";
706
+ justify: "justify";
707
+ left: "left";
708
+ right: "right";
709
+ }>>;
710
+ style: z.ZodOptional<z.ZodObject<{
711
+ lineHeight: z.ZodOptional<z.ZodNumber>;
712
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
713
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
714
+ }, z.core.$strip>>;
715
+ textStyle: z.ZodOptional<z.ZodObject<{
716
+ font: z.ZodOptional<z.ZodEnum<{
717
+ arial: "arial";
718
+ calibri: "calibri";
719
+ cambria: "cambria";
720
+ courier: "courier";
721
+ times: "times";
722
+ }>>;
723
+ sizePt: z.ZodOptional<z.ZodNumber>;
724
+ color: z.ZodOptional<z.ZodString>;
725
+ }, z.core.$strip>>;
726
+ text: z.ZodOptional<z.ZodString>;
727
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
728
+ font: z.ZodOptional<z.ZodEnum<{
729
+ arial: "arial";
730
+ calibri: "calibri";
731
+ cambria: "cambria";
732
+ courier: "courier";
733
+ times: "times";
734
+ }>>;
735
+ sizePt: z.ZodOptional<z.ZodNumber>;
736
+ color: z.ZodOptional<z.ZodString>;
737
+ text: z.ZodString;
738
+ bold: z.ZodOptional<z.ZodBoolean>;
739
+ italic: z.ZodOptional<z.ZodBoolean>;
740
+ underline: z.ZodOptional<z.ZodBoolean>;
741
+ }, z.core.$strip>>>;
742
+ type: z.ZodLiteral<"paragraph">;
743
+ }, z.core.$strip>, z.ZodObject<{
744
+ align: z.ZodOptional<z.ZodEnum<{
745
+ center: "center";
746
+ justify: "justify";
747
+ left: "left";
748
+ right: "right";
749
+ }>>;
750
+ style: z.ZodOptional<z.ZodObject<{
751
+ lineHeight: z.ZodOptional<z.ZodNumber>;
752
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
753
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
754
+ }, z.core.$strip>>;
755
+ textStyle: z.ZodOptional<z.ZodObject<{
756
+ font: z.ZodOptional<z.ZodEnum<{
757
+ arial: "arial";
758
+ calibri: "calibri";
759
+ cambria: "cambria";
760
+ courier: "courier";
761
+ times: "times";
762
+ }>>;
763
+ sizePt: z.ZodOptional<z.ZodNumber>;
764
+ color: z.ZodOptional<z.ZodString>;
765
+ }, z.core.$strip>>;
766
+ text: z.ZodOptional<z.ZodString>;
767
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
768
+ font: z.ZodOptional<z.ZodEnum<{
769
+ arial: "arial";
770
+ calibri: "calibri";
771
+ cambria: "cambria";
772
+ courier: "courier";
773
+ times: "times";
774
+ }>>;
775
+ sizePt: z.ZodOptional<z.ZodNumber>;
776
+ color: z.ZodOptional<z.ZodString>;
777
+ text: z.ZodString;
778
+ bold: z.ZodOptional<z.ZodBoolean>;
779
+ italic: z.ZodOptional<z.ZodBoolean>;
780
+ underline: z.ZodOptional<z.ZodBoolean>;
781
+ }, z.core.$strip>>>;
782
+ type: z.ZodLiteral<"heading">;
783
+ level: z.ZodNumber;
784
+ }, z.core.$strip>, z.ZodObject<{
785
+ align: z.ZodOptional<z.ZodEnum<{
786
+ center: "center";
787
+ justify: "justify";
788
+ left: "left";
789
+ right: "right";
790
+ }>>;
791
+ style: z.ZodOptional<z.ZodObject<{
792
+ lineHeight: z.ZodOptional<z.ZodNumber>;
793
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
794
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
795
+ }, z.core.$strip>>;
796
+ textStyle: z.ZodOptional<z.ZodObject<{
797
+ font: z.ZodOptional<z.ZodEnum<{
798
+ arial: "arial";
799
+ calibri: "calibri";
800
+ cambria: "cambria";
801
+ courier: "courier";
802
+ times: "times";
803
+ }>>;
804
+ sizePt: z.ZodOptional<z.ZodNumber>;
805
+ color: z.ZodOptional<z.ZodString>;
806
+ }, z.core.$strip>>;
807
+ type: z.ZodLiteral<"list">;
808
+ ordered: z.ZodBoolean;
809
+ items: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodArray<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
+ text: z.ZodString;
820
+ bold: z.ZodOptional<z.ZodBoolean>;
821
+ italic: z.ZodOptional<z.ZodBoolean>;
822
+ underline: z.ZodOptional<z.ZodBoolean>;
823
+ }, z.core.$strip>>]>>;
824
+ }, z.core.$strip>, z.ZodObject<{
825
+ type: z.ZodLiteral<"table">;
826
+ borders: z.ZodOptional<z.ZodLiteral<"none">>;
827
+ columnWidthsPx: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
828
+ header: z.ZodOptional<z.ZodObject<{
829
+ cells: z.ZodArray<z.ZodObject<{
830
+ text: z.ZodOptional<z.ZodString>;
831
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
832
+ font: z.ZodOptional<z.ZodEnum<{
833
+ arial: "arial";
834
+ calibri: "calibri";
835
+ cambria: "cambria";
836
+ courier: "courier";
837
+ times: "times";
838
+ }>>;
839
+ sizePt: z.ZodOptional<z.ZodNumber>;
840
+ color: z.ZodOptional<z.ZodString>;
841
+ text: z.ZodString;
842
+ bold: z.ZodOptional<z.ZodBoolean>;
843
+ italic: z.ZodOptional<z.ZodBoolean>;
844
+ underline: z.ZodOptional<z.ZodBoolean>;
845
+ }, z.core.$strip>>>;
846
+ background: z.ZodOptional<z.ZodString>;
847
+ align: z.ZodOptional<z.ZodEnum<{
848
+ center: "center";
849
+ justify: "justify";
850
+ left: "left";
851
+ right: "right";
852
+ }>>;
853
+ }, z.core.$strip>>;
854
+ }, z.core.$strip>>;
855
+ rows: z.ZodArray<z.ZodObject<{
856
+ cells: z.ZodArray<z.ZodObject<{
857
+ text: z.ZodOptional<z.ZodString>;
858
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
859
+ font: z.ZodOptional<z.ZodEnum<{
860
+ arial: "arial";
861
+ calibri: "calibri";
862
+ cambria: "cambria";
863
+ courier: "courier";
864
+ times: "times";
865
+ }>>;
866
+ sizePt: z.ZodOptional<z.ZodNumber>;
867
+ color: z.ZodOptional<z.ZodString>;
868
+ text: z.ZodString;
869
+ bold: z.ZodOptional<z.ZodBoolean>;
870
+ italic: z.ZodOptional<z.ZodBoolean>;
871
+ underline: z.ZodOptional<z.ZodBoolean>;
872
+ }, z.core.$strip>>>;
873
+ background: z.ZodOptional<z.ZodString>;
874
+ align: z.ZodOptional<z.ZodEnum<{
875
+ center: "center";
876
+ justify: "justify";
877
+ left: "left";
878
+ right: "right";
879
+ }>>;
880
+ }, z.core.$strip>>;
881
+ }, z.core.$strip>>;
882
+ repeat: z.ZodOptional<z.ZodObject<{
883
+ each: z.ZodString;
884
+ row: z.ZodObject<{
885
+ cells: z.ZodArray<z.ZodObject<{
886
+ text: z.ZodOptional<z.ZodString>;
887
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
888
+ font: z.ZodOptional<z.ZodEnum<{
889
+ arial: "arial";
890
+ calibri: "calibri";
891
+ cambria: "cambria";
892
+ courier: "courier";
893
+ times: "times";
894
+ }>>;
895
+ sizePt: z.ZodOptional<z.ZodNumber>;
896
+ color: z.ZodOptional<z.ZodString>;
897
+ text: z.ZodString;
898
+ bold: z.ZodOptional<z.ZodBoolean>;
899
+ italic: z.ZodOptional<z.ZodBoolean>;
900
+ underline: z.ZodOptional<z.ZodBoolean>;
901
+ }, z.core.$strip>>>;
902
+ background: z.ZodOptional<z.ZodString>;
903
+ align: z.ZodOptional<z.ZodEnum<{
904
+ center: "center";
905
+ justify: "justify";
906
+ left: "left";
907
+ right: "right";
908
+ }>>;
909
+ }, z.core.$strip>>;
910
+ }, z.core.$strip>;
911
+ }, z.core.$strip>>;
912
+ }, z.core.$strip>, z.ZodObject<{
913
+ type: z.ZodLiteral<"image">;
914
+ resource: z.ZodString;
915
+ alt: z.ZodOptional<z.ZodString>;
916
+ }, z.core.$strip>], "type">>;
917
+ }, z.core.$strip>, z.ZodObject<{
918
+ type: z.ZodLiteral<"image">;
919
+ resource: z.ZodString;
920
+ alt: z.ZodOptional<z.ZodString>;
921
+ }, z.core.$strip>, z.ZodObject<{
922
+ type: z.ZodLiteral<"button">;
923
+ text: z.ZodString;
924
+ href: z.ZodString;
925
+ }, z.core.$strip>, z.ZodObject<{
926
+ type: z.ZodLiteral<"divider">;
927
+ }, z.core.$strip>, z.ZodObject<{
928
+ type: z.ZodLiteral<"pageBreak">;
929
+ }, z.core.$strip>], "type">>;
930
+ }, z.core.$strip>, z.ZodObject<{
931
+ align: z.ZodOptional<z.ZodEnum<{
932
+ center: "center";
933
+ justify: "justify";
934
+ left: "left";
935
+ right: "right";
936
+ }>>;
937
+ style: z.ZodOptional<z.ZodObject<{
938
+ lineHeight: z.ZodOptional<z.ZodNumber>;
939
+ spaceBeforePt: z.ZodOptional<z.ZodNumber>;
940
+ spaceAfterPt: z.ZodOptional<z.ZodNumber>;
941
+ }, z.core.$strip>>;
942
+ textStyle: z.ZodOptional<z.ZodObject<{
943
+ font: z.ZodOptional<z.ZodEnum<{
944
+ arial: "arial";
945
+ calibri: "calibri";
946
+ cambria: "cambria";
947
+ courier: "courier";
948
+ times: "times";
949
+ }>>;
950
+ sizePt: z.ZodOptional<z.ZodNumber>;
951
+ color: z.ZodOptional<z.ZodString>;
952
+ }, z.core.$strip>>;
953
+ op: z.ZodLiteral<"formatBlock">;
954
+ blockId: z.ZodString;
54
955
  }, z.core.$strip>, z.ZodObject<{
55
956
  op: z.ZodLiteral<"setResource">;
56
957
  blockId: z.ZodString;