@supernova-studio/client 0.4.6 → 0.6.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.
package/dist/index.d.mts CHANGED
@@ -1,8 +1,2358 @@
1
- import { z } from 'zod';
2
1
  import * as _supernova_studio_model from '@supernova-studio/model';
3
- import { PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
4
- import { Schema } from 'prosemirror-model';
2
+ import { DocumentationItemConfiguration, DocumentationItemHeader, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
3
+ import { z } from 'zod';
5
4
  import * as Y from 'yjs';
5
+ import { Schema } from 'prosemirror-model';
6
+
7
+ declare const DocumentationPageV1DTO: z.ZodObject<{
8
+ id: z.ZodString;
9
+ createdAt: z.ZodDate;
10
+ updatedAt: z.ZodDate;
11
+ persistentId: z.ZodString;
12
+ designSystemVersionId: z.ZodString;
13
+ slug: z.ZodOptional<z.ZodString>;
14
+ userSlug: z.ZodOptional<z.ZodString>;
15
+ shortPersistentId: z.ZodString;
16
+ blocks: z.ZodArray<z.ZodType<_supernova_studio_model.PageBlockV1, z.ZodTypeDef, {
17
+ type: "Tabs" | "Text" | "Image" | "Token" | "Component" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Link" | "ComponentGroup" | "Theme" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentSandbox" | "Custom" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
18
+ persistentId: string;
19
+ designObjectId?: string | null | undefined;
20
+ designObjectIds?: string[] | null | undefined;
21
+ tokenType?: "Image" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Font" | null | undefined;
22
+ showNestedGroups?: boolean | null | undefined;
23
+ brandId?: string | null | undefined;
24
+ text?: {
25
+ spans: {
26
+ text: string;
27
+ attributes: {
28
+ type: "Code" | "Link" | "Bold" | "Italic" | "Strikethrough";
29
+ link?: string | null | undefined;
30
+ documentationItemId?: string | null | undefined;
31
+ openInNewWindow?: boolean | null | undefined;
32
+ }[];
33
+ }[];
34
+ } | null | undefined;
35
+ caption?: string | null | undefined;
36
+ headingType?: number | null | undefined;
37
+ codeLanguage?: "Markdown" | "Angular" | "Bash" | "C" | "Cpp" | "Csharp" | "CSS" | "Dart" | "Handlebars" | "HTML" | "Java" | "Javascript" | "JSON" | "ReactJSX" | "ReactTSX" | "Kotlin" | "Lua" | "ObjectiveC" | "PHP" | "Plain" | "Python" | "Ruby" | "Rust" | "Sass" | "SCSS" | "Svetle" | "Swift" | "Twig" | "Typescript" | "Vue" | "XML" | "YAML" | null | undefined;
38
+ calloutType?: "Info" | "Success" | "Warning" | "Error" | null | undefined;
39
+ urlInput?: string | null | undefined;
40
+ url?: string | null | undefined;
41
+ urlPreview?: {
42
+ title?: string | null | undefined;
43
+ description?: string | null | undefined;
44
+ thumbnailUrl?: string | null | undefined;
45
+ } | null | undefined;
46
+ asset?: {
47
+ type: "image" | "figmaFrame";
48
+ id?: string | null | undefined;
49
+ url?: string | null | undefined;
50
+ figmaFrame?: {
51
+ persistentId: string;
52
+ sourceId: string;
53
+ sourceFrameId: string;
54
+ title?: string | null | undefined;
55
+ description?: string | null | undefined;
56
+ backgroundColor?: {
57
+ value: string;
58
+ } | null | undefined;
59
+ origin?: {
60
+ sourceFileName?: string | null | undefined;
61
+ title?: string | null | undefined;
62
+ previewUrl?: string | null | undefined;
63
+ valid?: boolean | null | undefined;
64
+ referenceId?: string | null | undefined;
65
+ assetId?: string | null | undefined;
66
+ assetScale?: number | null | undefined;
67
+ width?: number | null | undefined;
68
+ height?: number | null | undefined;
69
+ } | null | undefined;
70
+ } | null | undefined;
71
+ } | null | undefined;
72
+ alignment?: "Center" | "Left" | "Right" | "Stretch" | null | undefined;
73
+ shortcuts?: {
74
+ persistentId: string;
75
+ title?: string | null | undefined;
76
+ description?: string | null | undefined;
77
+ asset?: {
78
+ type: "image" | "figmaFrame";
79
+ id?: string | null | undefined;
80
+ url?: string | null | undefined;
81
+ figmaFrame?: {
82
+ persistentId: string;
83
+ sourceId: string;
84
+ sourceFrameId: string;
85
+ title?: string | null | undefined;
86
+ description?: string | null | undefined;
87
+ backgroundColor?: {
88
+ value: string;
89
+ } | null | undefined;
90
+ origin?: {
91
+ sourceFileName?: string | null | undefined;
92
+ title?: string | null | undefined;
93
+ previewUrl?: string | null | undefined;
94
+ valid?: boolean | null | undefined;
95
+ referenceId?: string | null | undefined;
96
+ assetId?: string | null | undefined;
97
+ assetScale?: number | null | undefined;
98
+ width?: number | null | undefined;
99
+ height?: number | null | undefined;
100
+ } | null | undefined;
101
+ } | null | undefined;
102
+ } | null | undefined;
103
+ documentationItemId?: string | null | undefined;
104
+ url?: string | null | undefined;
105
+ urlPreview?: {
106
+ title?: string | null | undefined;
107
+ description?: string | null | undefined;
108
+ thumbnailUrl?: string | null | undefined;
109
+ } | null | undefined;
110
+ documentationItemPreview?: {
111
+ title?: string | null | undefined;
112
+ valid?: boolean | null | undefined;
113
+ } | null | undefined;
114
+ }[] | null | undefined;
115
+ customBlockKey?: string | null | undefined;
116
+ customBlockProperties?: {
117
+ key: string;
118
+ value?: any;
119
+ }[] | null | undefined;
120
+ variantKey?: string | null | undefined;
121
+ figmaFrameProperties?: {
122
+ alignment: "Center" | "FrameHeight";
123
+ layout: "C8" | "C7" | "C6" | "C5" | "C4" | "C3" | "C2" | "C1" | "C1_75";
124
+ showTitles: boolean;
125
+ backgroundColor?: {
126
+ value: string;
127
+ } | null | undefined;
128
+ } | null | undefined;
129
+ figmaFrames?: {
130
+ persistentId: string;
131
+ sourceId: string;
132
+ sourceFrameId: string;
133
+ title?: string | null | undefined;
134
+ description?: string | null | undefined;
135
+ backgroundColor?: {
136
+ value: string;
137
+ } | null | undefined;
138
+ origin?: {
139
+ sourceFileName?: string | null | undefined;
140
+ title?: string | null | undefined;
141
+ previewUrl?: string | null | undefined;
142
+ valid?: boolean | null | undefined;
143
+ referenceId?: string | null | undefined;
144
+ assetId?: string | null | undefined;
145
+ assetScale?: number | null | undefined;
146
+ width?: number | null | undefined;
147
+ height?: number | null | undefined;
148
+ } | null | undefined;
149
+ }[] | null | undefined;
150
+ size?: {
151
+ width?: number | null | undefined;
152
+ height?: number | null | undefined;
153
+ } | null | undefined;
154
+ backgroundColor?: {
155
+ value: string;
156
+ } | null | undefined;
157
+ renderCodeProperties?: {
158
+ showCode: boolean;
159
+ } | null | undefined;
160
+ componentAssets?: {
161
+ persistentId: string;
162
+ componentAssetId: string;
163
+ title?: string | null | undefined;
164
+ description?: string | null | undefined;
165
+ backgroundColor?: {
166
+ value: string;
167
+ } | null | undefined;
168
+ }[] | null | undefined;
169
+ tableProperties?: {
170
+ showBorders: boolean;
171
+ showHeaderRow: boolean;
172
+ showHeaderColumn: boolean;
173
+ columns: {
174
+ id: string;
175
+ width: {
176
+ aliasTo?: string | null | undefined;
177
+ value?: {
178
+ unit: "Pixels" | "Raw" | "Percent" | "Rem" | "Ms" | "Points";
179
+ measure: number;
180
+ } | null | undefined;
181
+ };
182
+ }[];
183
+ } | null | undefined;
184
+ columnId?: string | null | undefined;
185
+ theme?: {
186
+ type: "Override" | "Comparison";
187
+ themeIds: string[];
188
+ } | null | undefined;
189
+ blacklistedElementProperties?: string[] | null | undefined;
190
+ userMetadata?: string | null | undefined;
191
+ } & {
192
+ children: any[] | null | undefined;
193
+ }>, "many">;
194
+ configuration: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
195
+ showSidebar: boolean;
196
+ header: {
197
+ description: string;
198
+ alignment: "Center" | "Left";
199
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
200
+ showBackgroundOverlay: boolean;
201
+ showCoverText: boolean;
202
+ foregroundColor?: {
203
+ aliasTo?: string | undefined;
204
+ value?: {
205
+ opacity: {
206
+ aliasTo?: string | undefined;
207
+ value?: {
208
+ unit: "Pixels" | "Raw";
209
+ measure: number;
210
+ } | undefined;
211
+ };
212
+ color: (string | {
213
+ aliasTo?: string | undefined;
214
+ }) & (string | {
215
+ aliasTo?: string | undefined;
216
+ } | undefined);
217
+ } | undefined;
218
+ } | null | undefined;
219
+ backgroundColor?: {
220
+ aliasTo?: string | undefined;
221
+ value?: {
222
+ opacity: {
223
+ aliasTo?: string | undefined;
224
+ value?: {
225
+ unit: "Pixels" | "Raw";
226
+ measure: number;
227
+ } | undefined;
228
+ };
229
+ color: (string | {
230
+ aliasTo?: string | undefined;
231
+ }) & (string | {
232
+ aliasTo?: string | undefined;
233
+ } | undefined);
234
+ } | undefined;
235
+ } | null | undefined;
236
+ backgroundImageAsset?: {
237
+ id: string;
238
+ type: "image";
239
+ url?: string | undefined;
240
+ } | {
241
+ type: "figmaFrame";
242
+ figmaFrame: {
243
+ persistentId: string;
244
+ sourceId: string;
245
+ sourceFrameId: string;
246
+ title?: string | undefined;
247
+ description?: string | undefined;
248
+ backgroundColor?: {
249
+ value: string;
250
+ } | undefined;
251
+ origin?: {
252
+ sourceFileName?: string | undefined;
253
+ title?: string | undefined;
254
+ previewUrl?: string | undefined;
255
+ valid?: boolean | undefined;
256
+ referenceId?: string | undefined;
257
+ assetId?: string | undefined;
258
+ assetScale?: number | undefined;
259
+ width?: number | undefined;
260
+ height?: number | undefined;
261
+ } | undefined;
262
+ };
263
+ url?: string | undefined;
264
+ } | null | undefined;
265
+ minHeight?: number | null | undefined;
266
+ };
267
+ }, z.ZodTypeDef, {
268
+ showSidebar: boolean;
269
+ header: {
270
+ description: string;
271
+ alignment: "Center" | "Left";
272
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
273
+ showBackgroundOverlay: boolean;
274
+ showCoverText: boolean;
275
+ foregroundColor?: {
276
+ aliasTo?: string | null | undefined;
277
+ value?: {
278
+ opacity: {
279
+ aliasTo?: string | null | undefined;
280
+ value?: {
281
+ unit: "Pixels" | "Raw";
282
+ measure: number;
283
+ } | null | undefined;
284
+ };
285
+ color: (string | {
286
+ aliasTo?: string | null | undefined;
287
+ }) & (string | {
288
+ aliasTo?: string | null | undefined;
289
+ } | undefined);
290
+ } | null | undefined;
291
+ } | null | undefined;
292
+ backgroundColor?: {
293
+ aliasTo?: string | null | undefined;
294
+ value?: {
295
+ opacity: {
296
+ aliasTo?: string | null | undefined;
297
+ value?: {
298
+ unit: "Pixels" | "Raw";
299
+ measure: number;
300
+ } | null | undefined;
301
+ };
302
+ color: (string | {
303
+ aliasTo?: string | null | undefined;
304
+ }) & (string | {
305
+ aliasTo?: string | null | undefined;
306
+ } | undefined);
307
+ } | null | undefined;
308
+ } | null | undefined;
309
+ backgroundImageAsset?: {
310
+ id: string;
311
+ type: "image";
312
+ url?: string | undefined;
313
+ } | {
314
+ type: "figmaFrame";
315
+ figmaFrame: {
316
+ persistentId: string;
317
+ sourceId: string;
318
+ sourceFrameId: string;
319
+ title?: string | null | undefined;
320
+ description?: string | null | undefined;
321
+ backgroundColor?: {
322
+ value: string;
323
+ } | null | undefined;
324
+ origin?: {
325
+ sourceFileName?: string | null | undefined;
326
+ title?: string | null | undefined;
327
+ previewUrl?: string | null | undefined;
328
+ valid?: boolean | null | undefined;
329
+ referenceId?: string | null | undefined;
330
+ assetId?: string | null | undefined;
331
+ assetScale?: number | null | undefined;
332
+ width?: number | null | undefined;
333
+ height?: number | null | undefined;
334
+ } | null | undefined;
335
+ };
336
+ url?: string | undefined;
337
+ } | null | undefined;
338
+ minHeight?: number | null | undefined;
339
+ };
340
+ }>>>, {
341
+ showSidebar: boolean;
342
+ header: {
343
+ description: string;
344
+ alignment: "Center" | "Left";
345
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
346
+ showBackgroundOverlay: boolean;
347
+ showCoverText: boolean;
348
+ foregroundColor?: {
349
+ aliasTo?: string | undefined;
350
+ value?: {
351
+ opacity: {
352
+ aliasTo?: string | undefined;
353
+ value?: {
354
+ unit: "Pixels" | "Raw";
355
+ measure: number;
356
+ } | undefined;
357
+ };
358
+ color: (string | {
359
+ aliasTo?: string | undefined;
360
+ }) & (string | {
361
+ aliasTo?: string | undefined;
362
+ } | undefined);
363
+ } | undefined;
364
+ } | null | undefined;
365
+ backgroundColor?: {
366
+ aliasTo?: string | undefined;
367
+ value?: {
368
+ opacity: {
369
+ aliasTo?: string | undefined;
370
+ value?: {
371
+ unit: "Pixels" | "Raw";
372
+ measure: number;
373
+ } | undefined;
374
+ };
375
+ color: (string | {
376
+ aliasTo?: string | undefined;
377
+ }) & (string | {
378
+ aliasTo?: string | undefined;
379
+ } | undefined);
380
+ } | undefined;
381
+ } | null | undefined;
382
+ backgroundImageAsset?: {
383
+ id: string;
384
+ type: "image";
385
+ url?: string | undefined;
386
+ } | {
387
+ type: "figmaFrame";
388
+ figmaFrame: {
389
+ persistentId: string;
390
+ sourceId: string;
391
+ sourceFrameId: string;
392
+ title?: string | undefined;
393
+ description?: string | undefined;
394
+ backgroundColor?: {
395
+ value: string;
396
+ } | undefined;
397
+ origin?: {
398
+ sourceFileName?: string | undefined;
399
+ title?: string | undefined;
400
+ previewUrl?: string | undefined;
401
+ valid?: boolean | undefined;
402
+ referenceId?: string | undefined;
403
+ assetId?: string | undefined;
404
+ assetScale?: number | undefined;
405
+ width?: number | undefined;
406
+ height?: number | undefined;
407
+ } | undefined;
408
+ };
409
+ url?: string | undefined;
410
+ } | null | undefined;
411
+ minHeight?: number | null | undefined;
412
+ };
413
+ } | undefined, {
414
+ showSidebar: boolean;
415
+ header: {
416
+ description: string;
417
+ alignment: "Center" | "Left";
418
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
419
+ showBackgroundOverlay: boolean;
420
+ showCoverText: boolean;
421
+ foregroundColor?: {
422
+ aliasTo?: string | null | undefined;
423
+ value?: {
424
+ opacity: {
425
+ aliasTo?: string | null | undefined;
426
+ value?: {
427
+ unit: "Pixels" | "Raw";
428
+ measure: number;
429
+ } | null | undefined;
430
+ };
431
+ color: (string | {
432
+ aliasTo?: string | null | undefined;
433
+ }) & (string | {
434
+ aliasTo?: string | null | undefined;
435
+ } | undefined);
436
+ } | null | undefined;
437
+ } | null | undefined;
438
+ backgroundColor?: {
439
+ aliasTo?: string | null | undefined;
440
+ value?: {
441
+ opacity: {
442
+ aliasTo?: string | null | undefined;
443
+ value?: {
444
+ unit: "Pixels" | "Raw";
445
+ measure: number;
446
+ } | null | undefined;
447
+ };
448
+ color: (string | {
449
+ aliasTo?: string | null | undefined;
450
+ }) & (string | {
451
+ aliasTo?: string | null | undefined;
452
+ } | undefined);
453
+ } | null | undefined;
454
+ } | null | undefined;
455
+ backgroundImageAsset?: {
456
+ id: string;
457
+ type: "image";
458
+ url?: string | undefined;
459
+ } | {
460
+ type: "figmaFrame";
461
+ figmaFrame: {
462
+ persistentId: string;
463
+ sourceId: string;
464
+ sourceFrameId: string;
465
+ title?: string | null | undefined;
466
+ description?: string | null | undefined;
467
+ backgroundColor?: {
468
+ value: string;
469
+ } | null | undefined;
470
+ origin?: {
471
+ sourceFileName?: string | null | undefined;
472
+ title?: string | null | undefined;
473
+ previewUrl?: string | null | undefined;
474
+ valid?: boolean | null | undefined;
475
+ referenceId?: string | null | undefined;
476
+ assetId?: string | null | undefined;
477
+ assetScale?: number | null | undefined;
478
+ width?: number | null | undefined;
479
+ height?: number | null | undefined;
480
+ } | null | undefined;
481
+ };
482
+ url?: string | undefined;
483
+ } | null | undefined;
484
+ minHeight?: number | null | undefined;
485
+ };
486
+ } | null | undefined>;
487
+ title: z.ZodString;
488
+ path: z.ZodString;
489
+ }, "strip", z.ZodTypeAny, {
490
+ id: string;
491
+ createdAt: Date;
492
+ updatedAt: Date;
493
+ persistentId: string;
494
+ designSystemVersionId: string;
495
+ shortPersistentId: string;
496
+ blocks: _supernova_studio_model.PageBlockV1[];
497
+ path: string;
498
+ title: string;
499
+ slug?: string | undefined;
500
+ userSlug?: string | undefined;
501
+ configuration?: {
502
+ showSidebar: boolean;
503
+ header: {
504
+ description: string;
505
+ alignment: "Center" | "Left";
506
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
507
+ showBackgroundOverlay: boolean;
508
+ showCoverText: boolean;
509
+ foregroundColor?: {
510
+ aliasTo?: string | undefined;
511
+ value?: {
512
+ opacity: {
513
+ aliasTo?: string | undefined;
514
+ value?: {
515
+ unit: "Pixels" | "Raw";
516
+ measure: number;
517
+ } | undefined;
518
+ };
519
+ color: (string | {
520
+ aliasTo?: string | undefined;
521
+ }) & (string | {
522
+ aliasTo?: string | undefined;
523
+ } | undefined);
524
+ } | undefined;
525
+ } | null | undefined;
526
+ backgroundColor?: {
527
+ aliasTo?: string | undefined;
528
+ value?: {
529
+ opacity: {
530
+ aliasTo?: string | undefined;
531
+ value?: {
532
+ unit: "Pixels" | "Raw";
533
+ measure: number;
534
+ } | undefined;
535
+ };
536
+ color: (string | {
537
+ aliasTo?: string | undefined;
538
+ }) & (string | {
539
+ aliasTo?: string | undefined;
540
+ } | undefined);
541
+ } | undefined;
542
+ } | null | undefined;
543
+ backgroundImageAsset?: {
544
+ id: string;
545
+ type: "image";
546
+ url?: string | undefined;
547
+ } | {
548
+ type: "figmaFrame";
549
+ figmaFrame: {
550
+ persistentId: string;
551
+ sourceId: string;
552
+ sourceFrameId: string;
553
+ title?: string | undefined;
554
+ description?: string | undefined;
555
+ backgroundColor?: {
556
+ value: string;
557
+ } | undefined;
558
+ origin?: {
559
+ sourceFileName?: string | undefined;
560
+ title?: string | undefined;
561
+ previewUrl?: string | undefined;
562
+ valid?: boolean | undefined;
563
+ referenceId?: string | undefined;
564
+ assetId?: string | undefined;
565
+ assetScale?: number | undefined;
566
+ width?: number | undefined;
567
+ height?: number | undefined;
568
+ } | undefined;
569
+ };
570
+ url?: string | undefined;
571
+ } | null | undefined;
572
+ minHeight?: number | null | undefined;
573
+ };
574
+ } | undefined;
575
+ }, {
576
+ id: string;
577
+ createdAt: Date;
578
+ updatedAt: Date;
579
+ persistentId: string;
580
+ designSystemVersionId: string;
581
+ shortPersistentId: string;
582
+ blocks: ({
583
+ type: "Tabs" | "Text" | "Image" | "Token" | "Component" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Link" | "ComponentGroup" | "Theme" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentSandbox" | "Custom" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
584
+ persistentId: string;
585
+ designObjectId?: string | null | undefined;
586
+ designObjectIds?: string[] | null | undefined;
587
+ tokenType?: "Image" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Font" | null | undefined;
588
+ showNestedGroups?: boolean | null | undefined;
589
+ brandId?: string | null | undefined;
590
+ text?: {
591
+ spans: {
592
+ text: string;
593
+ attributes: {
594
+ type: "Code" | "Link" | "Bold" | "Italic" | "Strikethrough";
595
+ link?: string | null | undefined;
596
+ documentationItemId?: string | null | undefined;
597
+ openInNewWindow?: boolean | null | undefined;
598
+ }[];
599
+ }[];
600
+ } | null | undefined;
601
+ caption?: string | null | undefined;
602
+ headingType?: number | null | undefined;
603
+ codeLanguage?: "Markdown" | "Angular" | "Bash" | "C" | "Cpp" | "Csharp" | "CSS" | "Dart" | "Handlebars" | "HTML" | "Java" | "Javascript" | "JSON" | "ReactJSX" | "ReactTSX" | "Kotlin" | "Lua" | "ObjectiveC" | "PHP" | "Plain" | "Python" | "Ruby" | "Rust" | "Sass" | "SCSS" | "Svetle" | "Swift" | "Twig" | "Typescript" | "Vue" | "XML" | "YAML" | null | undefined;
604
+ calloutType?: "Info" | "Success" | "Warning" | "Error" | null | undefined;
605
+ urlInput?: string | null | undefined;
606
+ url?: string | null | undefined;
607
+ urlPreview?: {
608
+ title?: string | null | undefined;
609
+ description?: string | null | undefined;
610
+ thumbnailUrl?: string | null | undefined;
611
+ } | null | undefined;
612
+ asset?: {
613
+ type: "image" | "figmaFrame";
614
+ id?: string | null | undefined;
615
+ url?: string | null | undefined;
616
+ figmaFrame?: {
617
+ persistentId: string;
618
+ sourceId: string;
619
+ sourceFrameId: string;
620
+ title?: string | null | undefined;
621
+ description?: string | null | undefined;
622
+ backgroundColor?: {
623
+ value: string;
624
+ } | null | undefined;
625
+ origin?: {
626
+ sourceFileName?: string | null | undefined;
627
+ title?: string | null | undefined;
628
+ previewUrl?: string | null | undefined;
629
+ valid?: boolean | null | undefined;
630
+ referenceId?: string | null | undefined;
631
+ assetId?: string | null | undefined;
632
+ assetScale?: number | null | undefined;
633
+ width?: number | null | undefined;
634
+ height?: number | null | undefined;
635
+ } | null | undefined;
636
+ } | null | undefined;
637
+ } | null | undefined;
638
+ alignment?: "Center" | "Left" | "Right" | "Stretch" | null | undefined;
639
+ shortcuts?: {
640
+ persistentId: string;
641
+ title?: string | null | undefined;
642
+ description?: string | null | undefined;
643
+ asset?: {
644
+ type: "image" | "figmaFrame";
645
+ id?: string | null | undefined;
646
+ url?: string | null | undefined;
647
+ figmaFrame?: {
648
+ persistentId: string;
649
+ sourceId: string;
650
+ sourceFrameId: string;
651
+ title?: string | null | undefined;
652
+ description?: string | null | undefined;
653
+ backgroundColor?: {
654
+ value: string;
655
+ } | null | undefined;
656
+ origin?: {
657
+ sourceFileName?: string | null | undefined;
658
+ title?: string | null | undefined;
659
+ previewUrl?: string | null | undefined;
660
+ valid?: boolean | null | undefined;
661
+ referenceId?: string | null | undefined;
662
+ assetId?: string | null | undefined;
663
+ assetScale?: number | null | undefined;
664
+ width?: number | null | undefined;
665
+ height?: number | null | undefined;
666
+ } | null | undefined;
667
+ } | null | undefined;
668
+ } | null | undefined;
669
+ documentationItemId?: string | null | undefined;
670
+ url?: string | null | undefined;
671
+ urlPreview?: {
672
+ title?: string | null | undefined;
673
+ description?: string | null | undefined;
674
+ thumbnailUrl?: string | null | undefined;
675
+ } | null | undefined;
676
+ documentationItemPreview?: {
677
+ title?: string | null | undefined;
678
+ valid?: boolean | null | undefined;
679
+ } | null | undefined;
680
+ }[] | null | undefined;
681
+ customBlockKey?: string | null | undefined;
682
+ customBlockProperties?: {
683
+ key: string;
684
+ value?: any;
685
+ }[] | null | undefined;
686
+ variantKey?: string | null | undefined;
687
+ figmaFrameProperties?: {
688
+ alignment: "Center" | "FrameHeight";
689
+ layout: "C8" | "C7" | "C6" | "C5" | "C4" | "C3" | "C2" | "C1" | "C1_75";
690
+ showTitles: boolean;
691
+ backgroundColor?: {
692
+ value: string;
693
+ } | null | undefined;
694
+ } | null | undefined;
695
+ figmaFrames?: {
696
+ persistentId: string;
697
+ sourceId: string;
698
+ sourceFrameId: string;
699
+ title?: string | null | undefined;
700
+ description?: string | null | undefined;
701
+ backgroundColor?: {
702
+ value: string;
703
+ } | null | undefined;
704
+ origin?: {
705
+ sourceFileName?: string | null | undefined;
706
+ title?: string | null | undefined;
707
+ previewUrl?: string | null | undefined;
708
+ valid?: boolean | null | undefined;
709
+ referenceId?: string | null | undefined;
710
+ assetId?: string | null | undefined;
711
+ assetScale?: number | null | undefined;
712
+ width?: number | null | undefined;
713
+ height?: number | null | undefined;
714
+ } | null | undefined;
715
+ }[] | null | undefined;
716
+ size?: {
717
+ width?: number | null | undefined;
718
+ height?: number | null | undefined;
719
+ } | null | undefined;
720
+ backgroundColor?: {
721
+ value: string;
722
+ } | null | undefined;
723
+ renderCodeProperties?: {
724
+ showCode: boolean;
725
+ } | null | undefined;
726
+ componentAssets?: {
727
+ persistentId: string;
728
+ componentAssetId: string;
729
+ title?: string | null | undefined;
730
+ description?: string | null | undefined;
731
+ backgroundColor?: {
732
+ value: string;
733
+ } | null | undefined;
734
+ }[] | null | undefined;
735
+ tableProperties?: {
736
+ showBorders: boolean;
737
+ showHeaderRow: boolean;
738
+ showHeaderColumn: boolean;
739
+ columns: {
740
+ id: string;
741
+ width: {
742
+ aliasTo?: string | null | undefined;
743
+ value?: {
744
+ unit: "Pixels" | "Raw" | "Percent" | "Rem" | "Ms" | "Points";
745
+ measure: number;
746
+ } | null | undefined;
747
+ };
748
+ }[];
749
+ } | null | undefined;
750
+ columnId?: string | null | undefined;
751
+ theme?: {
752
+ type: "Override" | "Comparison";
753
+ themeIds: string[];
754
+ } | null | undefined;
755
+ blacklistedElementProperties?: string[] | null | undefined;
756
+ userMetadata?: string | null | undefined;
757
+ } & {
758
+ children: any[] | null | undefined;
759
+ })[];
760
+ path: string;
761
+ title: string;
762
+ slug?: string | undefined;
763
+ userSlug?: string | undefined;
764
+ configuration?: {
765
+ showSidebar: boolean;
766
+ header: {
767
+ description: string;
768
+ alignment: "Center" | "Left";
769
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
770
+ showBackgroundOverlay: boolean;
771
+ showCoverText: boolean;
772
+ foregroundColor?: {
773
+ aliasTo?: string | null | undefined;
774
+ value?: {
775
+ opacity: {
776
+ aliasTo?: string | null | undefined;
777
+ value?: {
778
+ unit: "Pixels" | "Raw";
779
+ measure: number;
780
+ } | null | undefined;
781
+ };
782
+ color: (string | {
783
+ aliasTo?: string | null | undefined;
784
+ }) & (string | {
785
+ aliasTo?: string | null | undefined;
786
+ } | undefined);
787
+ } | null | undefined;
788
+ } | null | undefined;
789
+ backgroundColor?: {
790
+ aliasTo?: string | null | undefined;
791
+ value?: {
792
+ opacity: {
793
+ aliasTo?: string | null | undefined;
794
+ value?: {
795
+ unit: "Pixels" | "Raw";
796
+ measure: number;
797
+ } | null | undefined;
798
+ };
799
+ color: (string | {
800
+ aliasTo?: string | null | undefined;
801
+ }) & (string | {
802
+ aliasTo?: string | null | undefined;
803
+ } | undefined);
804
+ } | null | undefined;
805
+ } | null | undefined;
806
+ backgroundImageAsset?: {
807
+ id: string;
808
+ type: "image";
809
+ url?: string | undefined;
810
+ } | {
811
+ type: "figmaFrame";
812
+ figmaFrame: {
813
+ persistentId: string;
814
+ sourceId: string;
815
+ sourceFrameId: string;
816
+ title?: string | null | undefined;
817
+ description?: string | null | undefined;
818
+ backgroundColor?: {
819
+ value: string;
820
+ } | null | undefined;
821
+ origin?: {
822
+ sourceFileName?: string | null | undefined;
823
+ title?: string | null | undefined;
824
+ previewUrl?: string | null | undefined;
825
+ valid?: boolean | null | undefined;
826
+ referenceId?: string | null | undefined;
827
+ assetId?: string | null | undefined;
828
+ assetScale?: number | null | undefined;
829
+ width?: number | null | undefined;
830
+ height?: number | null | undefined;
831
+ } | null | undefined;
832
+ };
833
+ url?: string | undefined;
834
+ } | null | undefined;
835
+ minHeight?: number | null | undefined;
836
+ };
837
+ } | null | undefined;
838
+ }>;
839
+ type DocumentationPageV1DTO = z.infer<typeof DocumentationPageV1DTO>;
840
+
841
+ declare const DocumentationPageV2DTO: z.ZodObject<{
842
+ id: z.ZodString;
843
+ createdAt: z.ZodDate;
844
+ updatedAt: z.ZodDate;
845
+ persistentId: z.ZodString;
846
+ designSystemVersionId: z.ZodString;
847
+ slug: z.ZodOptional<z.ZodString>;
848
+ userSlug: z.ZodOptional<z.ZodString>;
849
+ shortPersistentId: z.ZodString;
850
+ path: z.ZodString;
851
+ title: z.ZodString;
852
+ configuration: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
853
+ showSidebar: boolean;
854
+ header: {
855
+ description: string;
856
+ alignment: "Center" | "Left";
857
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
858
+ showBackgroundOverlay: boolean;
859
+ showCoverText: boolean;
860
+ foregroundColor?: {
861
+ aliasTo?: string | undefined;
862
+ value?: {
863
+ opacity: {
864
+ aliasTo?: string | undefined;
865
+ value?: {
866
+ unit: "Pixels" | "Raw";
867
+ measure: number;
868
+ } | undefined;
869
+ };
870
+ color: (string | {
871
+ aliasTo?: string | undefined;
872
+ }) & (string | {
873
+ aliasTo?: string | undefined;
874
+ } | undefined);
875
+ } | undefined;
876
+ } | null | undefined;
877
+ backgroundColor?: {
878
+ aliasTo?: string | undefined;
879
+ value?: {
880
+ opacity: {
881
+ aliasTo?: string | undefined;
882
+ value?: {
883
+ unit: "Pixels" | "Raw";
884
+ measure: number;
885
+ } | undefined;
886
+ };
887
+ color: (string | {
888
+ aliasTo?: string | undefined;
889
+ }) & (string | {
890
+ aliasTo?: string | undefined;
891
+ } | undefined);
892
+ } | undefined;
893
+ } | null | undefined;
894
+ backgroundImageAsset?: {
895
+ id: string;
896
+ type: "image";
897
+ url?: string | undefined;
898
+ } | {
899
+ type: "figmaFrame";
900
+ figmaFrame: {
901
+ persistentId: string;
902
+ sourceId: string;
903
+ sourceFrameId: string;
904
+ title?: string | undefined;
905
+ description?: string | undefined;
906
+ backgroundColor?: {
907
+ value: string;
908
+ } | undefined;
909
+ origin?: {
910
+ sourceFileName?: string | undefined;
911
+ title?: string | undefined;
912
+ previewUrl?: string | undefined;
913
+ valid?: boolean | undefined;
914
+ referenceId?: string | undefined;
915
+ assetId?: string | undefined;
916
+ assetScale?: number | undefined;
917
+ width?: number | undefined;
918
+ height?: number | undefined;
919
+ } | undefined;
920
+ };
921
+ url?: string | undefined;
922
+ } | null | undefined;
923
+ minHeight?: number | null | undefined;
924
+ };
925
+ }, z.ZodTypeDef, {
926
+ showSidebar: boolean;
927
+ header: {
928
+ description: string;
929
+ alignment: "Center" | "Left";
930
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
931
+ showBackgroundOverlay: boolean;
932
+ showCoverText: boolean;
933
+ foregroundColor?: {
934
+ aliasTo?: string | null | undefined;
935
+ value?: {
936
+ opacity: {
937
+ aliasTo?: string | null | undefined;
938
+ value?: {
939
+ unit: "Pixels" | "Raw";
940
+ measure: number;
941
+ } | null | undefined;
942
+ };
943
+ color: (string | {
944
+ aliasTo?: string | null | undefined;
945
+ }) & (string | {
946
+ aliasTo?: string | null | undefined;
947
+ } | undefined);
948
+ } | null | undefined;
949
+ } | null | undefined;
950
+ backgroundColor?: {
951
+ aliasTo?: string | null | undefined;
952
+ value?: {
953
+ opacity: {
954
+ aliasTo?: string | null | undefined;
955
+ value?: {
956
+ unit: "Pixels" | "Raw";
957
+ measure: number;
958
+ } | null | undefined;
959
+ };
960
+ color: (string | {
961
+ aliasTo?: string | null | undefined;
962
+ }) & (string | {
963
+ aliasTo?: string | null | undefined;
964
+ } | undefined);
965
+ } | null | undefined;
966
+ } | null | undefined;
967
+ backgroundImageAsset?: {
968
+ id: string;
969
+ type: "image";
970
+ url?: string | undefined;
971
+ } | {
972
+ type: "figmaFrame";
973
+ figmaFrame: {
974
+ persistentId: string;
975
+ sourceId: string;
976
+ sourceFrameId: string;
977
+ title?: string | null | undefined;
978
+ description?: string | null | undefined;
979
+ backgroundColor?: {
980
+ value: string;
981
+ } | null | undefined;
982
+ origin?: {
983
+ sourceFileName?: string | null | undefined;
984
+ title?: string | null | undefined;
985
+ previewUrl?: string | null | undefined;
986
+ valid?: boolean | null | undefined;
987
+ referenceId?: string | null | undefined;
988
+ assetId?: string | null | undefined;
989
+ assetScale?: number | null | undefined;
990
+ width?: number | null | undefined;
991
+ height?: number | null | undefined;
992
+ } | null | undefined;
993
+ };
994
+ url?: string | undefined;
995
+ } | null | undefined;
996
+ minHeight?: number | null | undefined;
997
+ };
998
+ }>>>, {
999
+ showSidebar: boolean;
1000
+ header: {
1001
+ description: string;
1002
+ alignment: "Center" | "Left";
1003
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1004
+ showBackgroundOverlay: boolean;
1005
+ showCoverText: boolean;
1006
+ foregroundColor?: {
1007
+ aliasTo?: string | undefined;
1008
+ value?: {
1009
+ opacity: {
1010
+ aliasTo?: string | undefined;
1011
+ value?: {
1012
+ unit: "Pixels" | "Raw";
1013
+ measure: number;
1014
+ } | undefined;
1015
+ };
1016
+ color: (string | {
1017
+ aliasTo?: string | undefined;
1018
+ }) & (string | {
1019
+ aliasTo?: string | undefined;
1020
+ } | undefined);
1021
+ } | undefined;
1022
+ } | null | undefined;
1023
+ backgroundColor?: {
1024
+ aliasTo?: string | undefined;
1025
+ value?: {
1026
+ opacity: {
1027
+ aliasTo?: string | undefined;
1028
+ value?: {
1029
+ unit: "Pixels" | "Raw";
1030
+ measure: number;
1031
+ } | undefined;
1032
+ };
1033
+ color: (string | {
1034
+ aliasTo?: string | undefined;
1035
+ }) & (string | {
1036
+ aliasTo?: string | undefined;
1037
+ } | undefined);
1038
+ } | undefined;
1039
+ } | null | undefined;
1040
+ backgroundImageAsset?: {
1041
+ id: string;
1042
+ type: "image";
1043
+ url?: string | undefined;
1044
+ } | {
1045
+ type: "figmaFrame";
1046
+ figmaFrame: {
1047
+ persistentId: string;
1048
+ sourceId: string;
1049
+ sourceFrameId: string;
1050
+ title?: string | undefined;
1051
+ description?: string | undefined;
1052
+ backgroundColor?: {
1053
+ value: string;
1054
+ } | undefined;
1055
+ origin?: {
1056
+ sourceFileName?: string | undefined;
1057
+ title?: string | undefined;
1058
+ previewUrl?: string | undefined;
1059
+ valid?: boolean | undefined;
1060
+ referenceId?: string | undefined;
1061
+ assetId?: string | undefined;
1062
+ assetScale?: number | undefined;
1063
+ width?: number | undefined;
1064
+ height?: number | undefined;
1065
+ } | undefined;
1066
+ };
1067
+ url?: string | undefined;
1068
+ } | null | undefined;
1069
+ minHeight?: number | null | undefined;
1070
+ };
1071
+ } | undefined, {
1072
+ showSidebar: boolean;
1073
+ header: {
1074
+ description: string;
1075
+ alignment: "Center" | "Left";
1076
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1077
+ showBackgroundOverlay: boolean;
1078
+ showCoverText: boolean;
1079
+ foregroundColor?: {
1080
+ aliasTo?: string | null | undefined;
1081
+ value?: {
1082
+ opacity: {
1083
+ aliasTo?: string | null | undefined;
1084
+ value?: {
1085
+ unit: "Pixels" | "Raw";
1086
+ measure: number;
1087
+ } | null | undefined;
1088
+ };
1089
+ color: (string | {
1090
+ aliasTo?: string | null | undefined;
1091
+ }) & (string | {
1092
+ aliasTo?: string | null | undefined;
1093
+ } | undefined);
1094
+ } | null | undefined;
1095
+ } | null | undefined;
1096
+ backgroundColor?: {
1097
+ aliasTo?: string | null | undefined;
1098
+ value?: {
1099
+ opacity: {
1100
+ aliasTo?: string | null | undefined;
1101
+ value?: {
1102
+ unit: "Pixels" | "Raw";
1103
+ measure: number;
1104
+ } | null | undefined;
1105
+ };
1106
+ color: (string | {
1107
+ aliasTo?: string | null | undefined;
1108
+ }) & (string | {
1109
+ aliasTo?: string | null | undefined;
1110
+ } | undefined);
1111
+ } | null | undefined;
1112
+ } | null | undefined;
1113
+ backgroundImageAsset?: {
1114
+ id: string;
1115
+ type: "image";
1116
+ url?: string | undefined;
1117
+ } | {
1118
+ type: "figmaFrame";
1119
+ figmaFrame: {
1120
+ persistentId: string;
1121
+ sourceId: string;
1122
+ sourceFrameId: string;
1123
+ title?: string | null | undefined;
1124
+ description?: string | null | undefined;
1125
+ backgroundColor?: {
1126
+ value: string;
1127
+ } | null | undefined;
1128
+ origin?: {
1129
+ sourceFileName?: string | null | undefined;
1130
+ title?: string | null | undefined;
1131
+ previewUrl?: string | null | undefined;
1132
+ valid?: boolean | null | undefined;
1133
+ referenceId?: string | null | undefined;
1134
+ assetId?: string | null | undefined;
1135
+ assetScale?: number | null | undefined;
1136
+ width?: number | null | undefined;
1137
+ height?: number | null | undefined;
1138
+ } | null | undefined;
1139
+ };
1140
+ url?: string | undefined;
1141
+ } | null | undefined;
1142
+ minHeight?: number | null | undefined;
1143
+ };
1144
+ } | null | undefined>;
1145
+ }, "strip", z.ZodTypeAny, {
1146
+ id: string;
1147
+ createdAt: Date;
1148
+ updatedAt: Date;
1149
+ persistentId: string;
1150
+ designSystemVersionId: string;
1151
+ shortPersistentId: string;
1152
+ path: string;
1153
+ title: string;
1154
+ slug?: string | undefined;
1155
+ userSlug?: string | undefined;
1156
+ configuration?: {
1157
+ showSidebar: boolean;
1158
+ header: {
1159
+ description: string;
1160
+ alignment: "Center" | "Left";
1161
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1162
+ showBackgroundOverlay: boolean;
1163
+ showCoverText: boolean;
1164
+ foregroundColor?: {
1165
+ aliasTo?: string | undefined;
1166
+ value?: {
1167
+ opacity: {
1168
+ aliasTo?: string | undefined;
1169
+ value?: {
1170
+ unit: "Pixels" | "Raw";
1171
+ measure: number;
1172
+ } | undefined;
1173
+ };
1174
+ color: (string | {
1175
+ aliasTo?: string | undefined;
1176
+ }) & (string | {
1177
+ aliasTo?: string | undefined;
1178
+ } | undefined);
1179
+ } | undefined;
1180
+ } | null | undefined;
1181
+ backgroundColor?: {
1182
+ aliasTo?: string | undefined;
1183
+ value?: {
1184
+ opacity: {
1185
+ aliasTo?: string | undefined;
1186
+ value?: {
1187
+ unit: "Pixels" | "Raw";
1188
+ measure: number;
1189
+ } | undefined;
1190
+ };
1191
+ color: (string | {
1192
+ aliasTo?: string | undefined;
1193
+ }) & (string | {
1194
+ aliasTo?: string | undefined;
1195
+ } | undefined);
1196
+ } | undefined;
1197
+ } | null | undefined;
1198
+ backgroundImageAsset?: {
1199
+ id: string;
1200
+ type: "image";
1201
+ url?: string | undefined;
1202
+ } | {
1203
+ type: "figmaFrame";
1204
+ figmaFrame: {
1205
+ persistentId: string;
1206
+ sourceId: string;
1207
+ sourceFrameId: string;
1208
+ title?: string | undefined;
1209
+ description?: string | undefined;
1210
+ backgroundColor?: {
1211
+ value: string;
1212
+ } | undefined;
1213
+ origin?: {
1214
+ sourceFileName?: string | undefined;
1215
+ title?: string | undefined;
1216
+ previewUrl?: string | undefined;
1217
+ valid?: boolean | undefined;
1218
+ referenceId?: string | undefined;
1219
+ assetId?: string | undefined;
1220
+ assetScale?: number | undefined;
1221
+ width?: number | undefined;
1222
+ height?: number | undefined;
1223
+ } | undefined;
1224
+ };
1225
+ url?: string | undefined;
1226
+ } | null | undefined;
1227
+ minHeight?: number | null | undefined;
1228
+ };
1229
+ } | undefined;
1230
+ }, {
1231
+ id: string;
1232
+ createdAt: Date;
1233
+ updatedAt: Date;
1234
+ persistentId: string;
1235
+ designSystemVersionId: string;
1236
+ shortPersistentId: string;
1237
+ path: string;
1238
+ title: string;
1239
+ slug?: string | undefined;
1240
+ userSlug?: string | undefined;
1241
+ configuration?: {
1242
+ showSidebar: boolean;
1243
+ header: {
1244
+ description: string;
1245
+ alignment: "Center" | "Left";
1246
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1247
+ showBackgroundOverlay: boolean;
1248
+ showCoverText: boolean;
1249
+ foregroundColor?: {
1250
+ aliasTo?: string | null | undefined;
1251
+ value?: {
1252
+ opacity: {
1253
+ aliasTo?: string | null | undefined;
1254
+ value?: {
1255
+ unit: "Pixels" | "Raw";
1256
+ measure: number;
1257
+ } | null | undefined;
1258
+ };
1259
+ color: (string | {
1260
+ aliasTo?: string | null | undefined;
1261
+ }) & (string | {
1262
+ aliasTo?: string | null | undefined;
1263
+ } | undefined);
1264
+ } | null | undefined;
1265
+ } | null | undefined;
1266
+ backgroundColor?: {
1267
+ aliasTo?: string | null | undefined;
1268
+ value?: {
1269
+ opacity: {
1270
+ aliasTo?: string | null | undefined;
1271
+ value?: {
1272
+ unit: "Pixels" | "Raw";
1273
+ measure: number;
1274
+ } | null | undefined;
1275
+ };
1276
+ color: (string | {
1277
+ aliasTo?: string | null | undefined;
1278
+ }) & (string | {
1279
+ aliasTo?: string | null | undefined;
1280
+ } | undefined);
1281
+ } | null | undefined;
1282
+ } | null | undefined;
1283
+ backgroundImageAsset?: {
1284
+ id: string;
1285
+ type: "image";
1286
+ url?: string | undefined;
1287
+ } | {
1288
+ type: "figmaFrame";
1289
+ figmaFrame: {
1290
+ persistentId: string;
1291
+ sourceId: string;
1292
+ sourceFrameId: string;
1293
+ title?: string | null | undefined;
1294
+ description?: string | null | undefined;
1295
+ backgroundColor?: {
1296
+ value: string;
1297
+ } | null | undefined;
1298
+ origin?: {
1299
+ sourceFileName?: string | null | undefined;
1300
+ title?: string | null | undefined;
1301
+ previewUrl?: string | null | undefined;
1302
+ valid?: boolean | null | undefined;
1303
+ referenceId?: string | null | undefined;
1304
+ assetId?: string | null | undefined;
1305
+ assetScale?: number | null | undefined;
1306
+ width?: number | null | undefined;
1307
+ height?: number | null | undefined;
1308
+ } | null | undefined;
1309
+ };
1310
+ url?: string | undefined;
1311
+ } | null | undefined;
1312
+ minHeight?: number | null | undefined;
1313
+ };
1314
+ } | null | undefined;
1315
+ }>;
1316
+ type DocumentationPageV2DTO = z.infer<typeof DocumentationPageV2DTO>;
1317
+ /**
1318
+ * Structure DTO is element properties minus element data (in other words data required
1319
+ * to display the element in the left panel)
1320
+ */
1321
+ declare const DocumentationPageStructureV2DTO: z.ZodObject<{
1322
+ id: z.ZodString;
1323
+ createdAt: z.ZodDate;
1324
+ updatedAt: z.ZodDate;
1325
+ persistentId: z.ZodString;
1326
+ designSystemVersionId: z.ZodString;
1327
+ slug: z.ZodOptional<z.ZodString>;
1328
+ userSlug: z.ZodOptional<z.ZodString>;
1329
+ shortPersistentId: z.ZodString;
1330
+ title: z.ZodString;
1331
+ path: z.ZodString;
1332
+ }, "strip", z.ZodTypeAny, {
1333
+ id: string;
1334
+ createdAt: Date;
1335
+ updatedAt: Date;
1336
+ persistentId: string;
1337
+ designSystemVersionId: string;
1338
+ shortPersistentId: string;
1339
+ path: string;
1340
+ title: string;
1341
+ slug?: string | undefined;
1342
+ userSlug?: string | undefined;
1343
+ }, {
1344
+ id: string;
1345
+ createdAt: Date;
1346
+ updatedAt: Date;
1347
+ persistentId: string;
1348
+ designSystemVersionId: string;
1349
+ shortPersistentId: string;
1350
+ path: string;
1351
+ title: string;
1352
+ slug?: string | undefined;
1353
+ userSlug?: string | undefined;
1354
+ }>;
1355
+ type DocumentationPageStructureV2DTO = z.infer<typeof DocumentationPageStructureV2DTO>;
1356
+ declare const DocumentationHierarchyV2DTO: z.ZodObject<{
1357
+ pages: z.ZodArray<z.ZodObject<{
1358
+ id: z.ZodString;
1359
+ createdAt: z.ZodDate;
1360
+ updatedAt: z.ZodDate;
1361
+ persistentId: z.ZodString;
1362
+ designSystemVersionId: z.ZodString;
1363
+ slug: z.ZodOptional<z.ZodString>;
1364
+ userSlug: z.ZodOptional<z.ZodString>;
1365
+ shortPersistentId: z.ZodString;
1366
+ title: z.ZodString;
1367
+ path: z.ZodString;
1368
+ }, "strip", z.ZodTypeAny, {
1369
+ id: string;
1370
+ createdAt: Date;
1371
+ updatedAt: Date;
1372
+ persistentId: string;
1373
+ designSystemVersionId: string;
1374
+ shortPersistentId: string;
1375
+ path: string;
1376
+ title: string;
1377
+ slug?: string | undefined;
1378
+ userSlug?: string | undefined;
1379
+ }, {
1380
+ id: string;
1381
+ createdAt: Date;
1382
+ updatedAt: Date;
1383
+ persistentId: string;
1384
+ designSystemVersionId: string;
1385
+ shortPersistentId: string;
1386
+ path: string;
1387
+ title: string;
1388
+ slug?: string | undefined;
1389
+ userSlug?: string | undefined;
1390
+ }>, "many">;
1391
+ groups: z.ZodArray<z.ZodObject<{
1392
+ id: z.ZodString;
1393
+ createdAt: z.ZodDate;
1394
+ updatedAt: z.ZodDate;
1395
+ persistentId: z.ZodString;
1396
+ designSystemVersionId: z.ZodString;
1397
+ slug: z.ZodOptional<z.ZodString>;
1398
+ userSlug: z.ZodOptional<z.ZodString>;
1399
+ title: z.ZodString;
1400
+ isRoot: z.ZodBoolean;
1401
+ childrenIds: z.ZodArray<z.ZodString, "many">;
1402
+ groupBehavior: z.ZodEnum<["Group", "Tabs"]>;
1403
+ shortPersistentId: z.ZodString;
1404
+ }, "strip", z.ZodTypeAny, {
1405
+ id: string;
1406
+ createdAt: Date;
1407
+ updatedAt: Date;
1408
+ persistentId: string;
1409
+ designSystemVersionId: string;
1410
+ shortPersistentId: string;
1411
+ title: string;
1412
+ isRoot: boolean;
1413
+ childrenIds: string[];
1414
+ groupBehavior: "Group" | "Tabs";
1415
+ slug?: string | undefined;
1416
+ userSlug?: string | undefined;
1417
+ }, {
1418
+ id: string;
1419
+ createdAt: Date;
1420
+ updatedAt: Date;
1421
+ persistentId: string;
1422
+ designSystemVersionId: string;
1423
+ shortPersistentId: string;
1424
+ title: string;
1425
+ isRoot: boolean;
1426
+ childrenIds: string[];
1427
+ groupBehavior: "Group" | "Tabs";
1428
+ slug?: string | undefined;
1429
+ userSlug?: string | undefined;
1430
+ }>, "many">;
1431
+ }, "strip", z.ZodTypeAny, {
1432
+ pages: {
1433
+ id: string;
1434
+ createdAt: Date;
1435
+ updatedAt: Date;
1436
+ persistentId: string;
1437
+ designSystemVersionId: string;
1438
+ shortPersistentId: string;
1439
+ path: string;
1440
+ title: string;
1441
+ slug?: string | undefined;
1442
+ userSlug?: string | undefined;
1443
+ }[];
1444
+ groups: {
1445
+ id: string;
1446
+ createdAt: Date;
1447
+ updatedAt: Date;
1448
+ persistentId: string;
1449
+ designSystemVersionId: string;
1450
+ shortPersistentId: string;
1451
+ title: string;
1452
+ isRoot: boolean;
1453
+ childrenIds: string[];
1454
+ groupBehavior: "Group" | "Tabs";
1455
+ slug?: string | undefined;
1456
+ userSlug?: string | undefined;
1457
+ }[];
1458
+ }, {
1459
+ pages: {
1460
+ id: string;
1461
+ createdAt: Date;
1462
+ updatedAt: Date;
1463
+ persistentId: string;
1464
+ designSystemVersionId: string;
1465
+ shortPersistentId: string;
1466
+ path: string;
1467
+ title: string;
1468
+ slug?: string | undefined;
1469
+ userSlug?: string | undefined;
1470
+ }[];
1471
+ groups: {
1472
+ id: string;
1473
+ createdAt: Date;
1474
+ updatedAt: Date;
1475
+ persistentId: string;
1476
+ designSystemVersionId: string;
1477
+ shortPersistentId: string;
1478
+ title: string;
1479
+ isRoot: boolean;
1480
+ childrenIds: string[];
1481
+ groupBehavior: "Group" | "Tabs";
1482
+ slug?: string | undefined;
1483
+ userSlug?: string | undefined;
1484
+ }[];
1485
+ }>;
1486
+ type DocumentationHierarchyV2DTO = z.infer<typeof DocumentationHierarchyV2DTO>;
1487
+
1488
+ /**
1489
+ * Structure DTO is element properties minus element data (in other words data required
1490
+ * to display the element in the left panel)
1491
+ */
1492
+ declare const DocumentationGroupStructureDTO: z.ZodObject<{
1493
+ id: z.ZodString;
1494
+ createdAt: z.ZodDate;
1495
+ updatedAt: z.ZodDate;
1496
+ persistentId: z.ZodString;
1497
+ designSystemVersionId: z.ZodString;
1498
+ slug: z.ZodOptional<z.ZodString>;
1499
+ userSlug: z.ZodOptional<z.ZodString>;
1500
+ title: z.ZodString;
1501
+ isRoot: z.ZodBoolean;
1502
+ childrenIds: z.ZodArray<z.ZodString, "many">;
1503
+ groupBehavior: z.ZodEnum<["Group", "Tabs"]>;
1504
+ shortPersistentId: z.ZodString;
1505
+ }, "strip", z.ZodTypeAny, {
1506
+ id: string;
1507
+ createdAt: Date;
1508
+ updatedAt: Date;
1509
+ persistentId: string;
1510
+ designSystemVersionId: string;
1511
+ shortPersistentId: string;
1512
+ title: string;
1513
+ isRoot: boolean;
1514
+ childrenIds: string[];
1515
+ groupBehavior: "Group" | "Tabs";
1516
+ slug?: string | undefined;
1517
+ userSlug?: string | undefined;
1518
+ }, {
1519
+ id: string;
1520
+ createdAt: Date;
1521
+ updatedAt: Date;
1522
+ persistentId: string;
1523
+ designSystemVersionId: string;
1524
+ shortPersistentId: string;
1525
+ title: string;
1526
+ isRoot: boolean;
1527
+ childrenIds: string[];
1528
+ groupBehavior: "Group" | "Tabs";
1529
+ slug?: string | undefined;
1530
+ userSlug?: string | undefined;
1531
+ }>;
1532
+ type DocumentationGroupStructureDTO = z.infer<typeof DocumentationGroupStructureDTO>;
1533
+ declare const DocumentationGroupDTO: z.ZodObject<{
1534
+ id: z.ZodString;
1535
+ createdAt: z.ZodDate;
1536
+ updatedAt: z.ZodDate;
1537
+ persistentId: z.ZodString;
1538
+ designSystemVersionId: z.ZodString;
1539
+ slug: z.ZodOptional<z.ZodString>;
1540
+ userSlug: z.ZodOptional<z.ZodString>;
1541
+ shortPersistentId: z.ZodString;
1542
+ title: z.ZodString;
1543
+ isRoot: z.ZodBoolean;
1544
+ childrenIds: z.ZodArray<z.ZodString, "many">;
1545
+ groupBehavior: z.ZodEnum<["Group", "Tabs"]>;
1546
+ configuration: z.ZodObject<{
1547
+ showSidebar: z.ZodBoolean;
1548
+ header: z.ZodObject<{
1549
+ description: z.ZodString;
1550
+ alignment: z.ZodEnum<["Left", "Center"]>;
1551
+ foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1552
+ aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
1553
+ value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
1554
+ opacity: {
1555
+ aliasTo?: string | undefined;
1556
+ value?: {
1557
+ unit: "Pixels" | "Raw";
1558
+ measure: number;
1559
+ } | undefined;
1560
+ };
1561
+ color: (string | {
1562
+ aliasTo?: string | undefined;
1563
+ }) & (string | {
1564
+ aliasTo?: string | undefined;
1565
+ } | undefined);
1566
+ }, z.ZodTypeDef, {
1567
+ opacity: {
1568
+ aliasTo?: string | null | undefined;
1569
+ value?: {
1570
+ unit: "Pixels" | "Raw";
1571
+ measure: number;
1572
+ } | null | undefined;
1573
+ };
1574
+ color: (string | {
1575
+ aliasTo?: string | null | undefined;
1576
+ }) & (string | {
1577
+ aliasTo?: string | null | undefined;
1578
+ } | undefined);
1579
+ }>>>, {
1580
+ opacity: {
1581
+ aliasTo?: string | undefined;
1582
+ value?: {
1583
+ unit: "Pixels" | "Raw";
1584
+ measure: number;
1585
+ } | undefined;
1586
+ };
1587
+ color: (string | {
1588
+ aliasTo?: string | undefined;
1589
+ }) & (string | {
1590
+ aliasTo?: string | undefined;
1591
+ } | undefined);
1592
+ } | undefined, {
1593
+ opacity: {
1594
+ aliasTo?: string | null | undefined;
1595
+ value?: {
1596
+ unit: "Pixels" | "Raw";
1597
+ measure: number;
1598
+ } | null | undefined;
1599
+ };
1600
+ color: (string | {
1601
+ aliasTo?: string | null | undefined;
1602
+ }) & (string | {
1603
+ aliasTo?: string | null | undefined;
1604
+ } | undefined);
1605
+ } | null | undefined>;
1606
+ }, "strip", z.ZodTypeAny, {
1607
+ aliasTo?: string | undefined;
1608
+ value?: {
1609
+ opacity: {
1610
+ aliasTo?: string | undefined;
1611
+ value?: {
1612
+ unit: "Pixels" | "Raw";
1613
+ measure: number;
1614
+ } | undefined;
1615
+ };
1616
+ color: (string | {
1617
+ aliasTo?: string | undefined;
1618
+ }) & (string | {
1619
+ aliasTo?: string | undefined;
1620
+ } | undefined);
1621
+ } | undefined;
1622
+ }, {
1623
+ aliasTo?: string | null | undefined;
1624
+ value?: {
1625
+ opacity: {
1626
+ aliasTo?: string | null | undefined;
1627
+ value?: {
1628
+ unit: "Pixels" | "Raw";
1629
+ measure: number;
1630
+ } | null | undefined;
1631
+ };
1632
+ color: (string | {
1633
+ aliasTo?: string | null | undefined;
1634
+ }) & (string | {
1635
+ aliasTo?: string | null | undefined;
1636
+ } | undefined);
1637
+ } | null | undefined;
1638
+ }>>>;
1639
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1640
+ aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
1641
+ value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
1642
+ opacity: {
1643
+ aliasTo?: string | undefined;
1644
+ value?: {
1645
+ unit: "Pixels" | "Raw";
1646
+ measure: number;
1647
+ } | undefined;
1648
+ };
1649
+ color: (string | {
1650
+ aliasTo?: string | undefined;
1651
+ }) & (string | {
1652
+ aliasTo?: string | undefined;
1653
+ } | undefined);
1654
+ }, z.ZodTypeDef, {
1655
+ opacity: {
1656
+ aliasTo?: string | null | undefined;
1657
+ value?: {
1658
+ unit: "Pixels" | "Raw";
1659
+ measure: number;
1660
+ } | null | undefined;
1661
+ };
1662
+ color: (string | {
1663
+ aliasTo?: string | null | undefined;
1664
+ }) & (string | {
1665
+ aliasTo?: string | null | undefined;
1666
+ } | undefined);
1667
+ }>>>, {
1668
+ opacity: {
1669
+ aliasTo?: string | undefined;
1670
+ value?: {
1671
+ unit: "Pixels" | "Raw";
1672
+ measure: number;
1673
+ } | undefined;
1674
+ };
1675
+ color: (string | {
1676
+ aliasTo?: string | undefined;
1677
+ }) & (string | {
1678
+ aliasTo?: string | undefined;
1679
+ } | undefined);
1680
+ } | undefined, {
1681
+ opacity: {
1682
+ aliasTo?: string | null | undefined;
1683
+ value?: {
1684
+ unit: "Pixels" | "Raw";
1685
+ measure: number;
1686
+ } | null | undefined;
1687
+ };
1688
+ color: (string | {
1689
+ aliasTo?: string | null | undefined;
1690
+ }) & (string | {
1691
+ aliasTo?: string | null | undefined;
1692
+ } | undefined);
1693
+ } | null | undefined>;
1694
+ }, "strip", z.ZodTypeAny, {
1695
+ aliasTo?: string | undefined;
1696
+ value?: {
1697
+ opacity: {
1698
+ aliasTo?: string | undefined;
1699
+ value?: {
1700
+ unit: "Pixels" | "Raw";
1701
+ measure: number;
1702
+ } | undefined;
1703
+ };
1704
+ color: (string | {
1705
+ aliasTo?: string | undefined;
1706
+ }) & (string | {
1707
+ aliasTo?: string | undefined;
1708
+ } | undefined);
1709
+ } | undefined;
1710
+ }, {
1711
+ aliasTo?: string | null | undefined;
1712
+ value?: {
1713
+ opacity: {
1714
+ aliasTo?: string | null | undefined;
1715
+ value?: {
1716
+ unit: "Pixels" | "Raw";
1717
+ measure: number;
1718
+ } | null | undefined;
1719
+ };
1720
+ color: (string | {
1721
+ aliasTo?: string | null | undefined;
1722
+ }) & (string | {
1723
+ aliasTo?: string | null | undefined;
1724
+ } | undefined);
1725
+ } | null | undefined;
1726
+ }>>>;
1727
+ backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1728
+ type: z.ZodLiteral<"image">;
1729
+ url: z.ZodOptional<z.ZodString>;
1730
+ id: z.ZodEffects<z.ZodString, string, string>;
1731
+ }, "strip", z.ZodTypeAny, {
1732
+ id: string;
1733
+ type: "image";
1734
+ url?: string | undefined;
1735
+ }, {
1736
+ id: string;
1737
+ type: "image";
1738
+ url?: string | undefined;
1739
+ }>, z.ZodObject<{
1740
+ type: z.ZodLiteral<"figmaFrame">;
1741
+ url: z.ZodOptional<z.ZodString>;
1742
+ figmaFrame: z.ZodObject<{
1743
+ persistentId: z.ZodString;
1744
+ sourceId: z.ZodString;
1745
+ sourceFrameId: z.ZodString;
1746
+ title: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1747
+ description: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1748
+ backgroundColor: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
1749
+ value: string;
1750
+ }, z.ZodTypeDef, {
1751
+ value: string;
1752
+ }>>>, {
1753
+ value: string;
1754
+ } | undefined, {
1755
+ value: string;
1756
+ } | null | undefined>;
1757
+ origin: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
1758
+ sourceFileName?: string | undefined;
1759
+ title?: string | undefined;
1760
+ previewUrl?: string | undefined;
1761
+ valid?: boolean | undefined;
1762
+ referenceId?: string | undefined;
1763
+ assetId?: string | undefined;
1764
+ assetScale?: number | undefined;
1765
+ width?: number | undefined;
1766
+ height?: number | undefined;
1767
+ }, z.ZodTypeDef, {
1768
+ sourceFileName?: string | null | undefined;
1769
+ title?: string | null | undefined;
1770
+ previewUrl?: string | null | undefined;
1771
+ valid?: boolean | null | undefined;
1772
+ referenceId?: string | null | undefined;
1773
+ assetId?: string | null | undefined;
1774
+ assetScale?: number | null | undefined;
1775
+ width?: number | null | undefined;
1776
+ height?: number | null | undefined;
1777
+ }>>>, {
1778
+ sourceFileName?: string | undefined;
1779
+ title?: string | undefined;
1780
+ previewUrl?: string | undefined;
1781
+ valid?: boolean | undefined;
1782
+ referenceId?: string | undefined;
1783
+ assetId?: string | undefined;
1784
+ assetScale?: number | undefined;
1785
+ width?: number | undefined;
1786
+ height?: number | undefined;
1787
+ } | undefined, {
1788
+ sourceFileName?: string | null | undefined;
1789
+ title?: string | null | undefined;
1790
+ previewUrl?: string | null | undefined;
1791
+ valid?: boolean | null | undefined;
1792
+ referenceId?: string | null | undefined;
1793
+ assetId?: string | null | undefined;
1794
+ assetScale?: number | null | undefined;
1795
+ width?: number | null | undefined;
1796
+ height?: number | null | undefined;
1797
+ } | null | undefined>;
1798
+ }, "strip", z.ZodTypeAny, {
1799
+ persistentId: string;
1800
+ sourceId: string;
1801
+ sourceFrameId: string;
1802
+ title?: string | undefined;
1803
+ description?: string | undefined;
1804
+ backgroundColor?: {
1805
+ value: string;
1806
+ } | undefined;
1807
+ origin?: {
1808
+ sourceFileName?: string | undefined;
1809
+ title?: string | undefined;
1810
+ previewUrl?: string | undefined;
1811
+ valid?: boolean | undefined;
1812
+ referenceId?: string | undefined;
1813
+ assetId?: string | undefined;
1814
+ assetScale?: number | undefined;
1815
+ width?: number | undefined;
1816
+ height?: number | undefined;
1817
+ } | undefined;
1818
+ }, {
1819
+ persistentId: string;
1820
+ sourceId: string;
1821
+ sourceFrameId: string;
1822
+ title?: string | null | undefined;
1823
+ description?: string | null | undefined;
1824
+ backgroundColor?: {
1825
+ value: string;
1826
+ } | null | undefined;
1827
+ origin?: {
1828
+ sourceFileName?: string | null | undefined;
1829
+ title?: string | null | undefined;
1830
+ previewUrl?: string | null | undefined;
1831
+ valid?: boolean | null | undefined;
1832
+ referenceId?: string | null | undefined;
1833
+ assetId?: string | null | undefined;
1834
+ assetScale?: number | null | undefined;
1835
+ width?: number | null | undefined;
1836
+ height?: number | null | undefined;
1837
+ } | null | undefined;
1838
+ }>;
1839
+ }, "strip", z.ZodTypeAny, {
1840
+ type: "figmaFrame";
1841
+ figmaFrame: {
1842
+ persistentId: string;
1843
+ sourceId: string;
1844
+ sourceFrameId: string;
1845
+ title?: string | undefined;
1846
+ description?: string | undefined;
1847
+ backgroundColor?: {
1848
+ value: string;
1849
+ } | undefined;
1850
+ origin?: {
1851
+ sourceFileName?: string | undefined;
1852
+ title?: string | undefined;
1853
+ previewUrl?: string | undefined;
1854
+ valid?: boolean | undefined;
1855
+ referenceId?: string | undefined;
1856
+ assetId?: string | undefined;
1857
+ assetScale?: number | undefined;
1858
+ width?: number | undefined;
1859
+ height?: number | undefined;
1860
+ } | undefined;
1861
+ };
1862
+ url?: string | undefined;
1863
+ }, {
1864
+ type: "figmaFrame";
1865
+ figmaFrame: {
1866
+ persistentId: string;
1867
+ sourceId: string;
1868
+ sourceFrameId: string;
1869
+ title?: string | null | undefined;
1870
+ description?: string | null | undefined;
1871
+ backgroundColor?: {
1872
+ value: string;
1873
+ } | null | undefined;
1874
+ origin?: {
1875
+ sourceFileName?: string | null | undefined;
1876
+ title?: string | null | undefined;
1877
+ previewUrl?: string | null | undefined;
1878
+ valid?: boolean | null | undefined;
1879
+ referenceId?: string | null | undefined;
1880
+ assetId?: string | null | undefined;
1881
+ assetScale?: number | null | undefined;
1882
+ width?: number | null | undefined;
1883
+ height?: number | null | undefined;
1884
+ } | null | undefined;
1885
+ };
1886
+ url?: string | undefined;
1887
+ }>]>>>;
1888
+ backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
1889
+ showBackgroundOverlay: z.ZodBoolean;
1890
+ showCoverText: z.ZodBoolean;
1891
+ minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1892
+ }, "strip", z.ZodTypeAny, {
1893
+ description: string;
1894
+ alignment: "Center" | "Left";
1895
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1896
+ showBackgroundOverlay: boolean;
1897
+ showCoverText: boolean;
1898
+ foregroundColor?: {
1899
+ aliasTo?: string | undefined;
1900
+ value?: {
1901
+ opacity: {
1902
+ aliasTo?: string | undefined;
1903
+ value?: {
1904
+ unit: "Pixels" | "Raw";
1905
+ measure: number;
1906
+ } | undefined;
1907
+ };
1908
+ color: (string | {
1909
+ aliasTo?: string | undefined;
1910
+ }) & (string | {
1911
+ aliasTo?: string | undefined;
1912
+ } | undefined);
1913
+ } | undefined;
1914
+ } | null | undefined;
1915
+ backgroundColor?: {
1916
+ aliasTo?: string | undefined;
1917
+ value?: {
1918
+ opacity: {
1919
+ aliasTo?: string | undefined;
1920
+ value?: {
1921
+ unit: "Pixels" | "Raw";
1922
+ measure: number;
1923
+ } | undefined;
1924
+ };
1925
+ color: (string | {
1926
+ aliasTo?: string | undefined;
1927
+ }) & (string | {
1928
+ aliasTo?: string | undefined;
1929
+ } | undefined);
1930
+ } | undefined;
1931
+ } | null | undefined;
1932
+ backgroundImageAsset?: {
1933
+ id: string;
1934
+ type: "image";
1935
+ url?: string | undefined;
1936
+ } | {
1937
+ type: "figmaFrame";
1938
+ figmaFrame: {
1939
+ persistentId: string;
1940
+ sourceId: string;
1941
+ sourceFrameId: string;
1942
+ title?: string | undefined;
1943
+ description?: string | undefined;
1944
+ backgroundColor?: {
1945
+ value: string;
1946
+ } | undefined;
1947
+ origin?: {
1948
+ sourceFileName?: string | undefined;
1949
+ title?: string | undefined;
1950
+ previewUrl?: string | undefined;
1951
+ valid?: boolean | undefined;
1952
+ referenceId?: string | undefined;
1953
+ assetId?: string | undefined;
1954
+ assetScale?: number | undefined;
1955
+ width?: number | undefined;
1956
+ height?: number | undefined;
1957
+ } | undefined;
1958
+ };
1959
+ url?: string | undefined;
1960
+ } | null | undefined;
1961
+ minHeight?: number | null | undefined;
1962
+ }, {
1963
+ description: string;
1964
+ alignment: "Center" | "Left";
1965
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1966
+ showBackgroundOverlay: boolean;
1967
+ showCoverText: boolean;
1968
+ foregroundColor?: {
1969
+ aliasTo?: string | null | undefined;
1970
+ value?: {
1971
+ opacity: {
1972
+ aliasTo?: string | null | undefined;
1973
+ value?: {
1974
+ unit: "Pixels" | "Raw";
1975
+ measure: number;
1976
+ } | null | undefined;
1977
+ };
1978
+ color: (string | {
1979
+ aliasTo?: string | null | undefined;
1980
+ }) & (string | {
1981
+ aliasTo?: string | null | undefined;
1982
+ } | undefined);
1983
+ } | null | undefined;
1984
+ } | null | undefined;
1985
+ backgroundColor?: {
1986
+ aliasTo?: string | null | undefined;
1987
+ value?: {
1988
+ opacity: {
1989
+ aliasTo?: string | null | undefined;
1990
+ value?: {
1991
+ unit: "Pixels" | "Raw";
1992
+ measure: number;
1993
+ } | null | undefined;
1994
+ };
1995
+ color: (string | {
1996
+ aliasTo?: string | null | undefined;
1997
+ }) & (string | {
1998
+ aliasTo?: string | null | undefined;
1999
+ } | undefined);
2000
+ } | null | undefined;
2001
+ } | null | undefined;
2002
+ backgroundImageAsset?: {
2003
+ id: string;
2004
+ type: "image";
2005
+ url?: string | undefined;
2006
+ } | {
2007
+ type: "figmaFrame";
2008
+ figmaFrame: {
2009
+ persistentId: string;
2010
+ sourceId: string;
2011
+ sourceFrameId: string;
2012
+ title?: string | null | undefined;
2013
+ description?: string | null | undefined;
2014
+ backgroundColor?: {
2015
+ value: string;
2016
+ } | null | undefined;
2017
+ origin?: {
2018
+ sourceFileName?: string | null | undefined;
2019
+ title?: string | null | undefined;
2020
+ previewUrl?: string | null | undefined;
2021
+ valid?: boolean | null | undefined;
2022
+ referenceId?: string | null | undefined;
2023
+ assetId?: string | null | undefined;
2024
+ assetScale?: number | null | undefined;
2025
+ width?: number | null | undefined;
2026
+ height?: number | null | undefined;
2027
+ } | null | undefined;
2028
+ };
2029
+ url?: string | undefined;
2030
+ } | null | undefined;
2031
+ minHeight?: number | null | undefined;
2032
+ }>;
2033
+ }, "strip", z.ZodTypeAny, {
2034
+ showSidebar: boolean;
2035
+ header: {
2036
+ description: string;
2037
+ alignment: "Center" | "Left";
2038
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
2039
+ showBackgroundOverlay: boolean;
2040
+ showCoverText: boolean;
2041
+ foregroundColor?: {
2042
+ aliasTo?: string | undefined;
2043
+ value?: {
2044
+ opacity: {
2045
+ aliasTo?: string | undefined;
2046
+ value?: {
2047
+ unit: "Pixels" | "Raw";
2048
+ measure: number;
2049
+ } | undefined;
2050
+ };
2051
+ color: (string | {
2052
+ aliasTo?: string | undefined;
2053
+ }) & (string | {
2054
+ aliasTo?: string | undefined;
2055
+ } | undefined);
2056
+ } | undefined;
2057
+ } | null | undefined;
2058
+ backgroundColor?: {
2059
+ aliasTo?: string | undefined;
2060
+ value?: {
2061
+ opacity: {
2062
+ aliasTo?: string | undefined;
2063
+ value?: {
2064
+ unit: "Pixels" | "Raw";
2065
+ measure: number;
2066
+ } | undefined;
2067
+ };
2068
+ color: (string | {
2069
+ aliasTo?: string | undefined;
2070
+ }) & (string | {
2071
+ aliasTo?: string | undefined;
2072
+ } | undefined);
2073
+ } | undefined;
2074
+ } | null | undefined;
2075
+ backgroundImageAsset?: {
2076
+ id: string;
2077
+ type: "image";
2078
+ url?: string | undefined;
2079
+ } | {
2080
+ type: "figmaFrame";
2081
+ figmaFrame: {
2082
+ persistentId: string;
2083
+ sourceId: string;
2084
+ sourceFrameId: string;
2085
+ title?: string | undefined;
2086
+ description?: string | undefined;
2087
+ backgroundColor?: {
2088
+ value: string;
2089
+ } | undefined;
2090
+ origin?: {
2091
+ sourceFileName?: string | undefined;
2092
+ title?: string | undefined;
2093
+ previewUrl?: string | undefined;
2094
+ valid?: boolean | undefined;
2095
+ referenceId?: string | undefined;
2096
+ assetId?: string | undefined;
2097
+ assetScale?: number | undefined;
2098
+ width?: number | undefined;
2099
+ height?: number | undefined;
2100
+ } | undefined;
2101
+ };
2102
+ url?: string | undefined;
2103
+ } | null | undefined;
2104
+ minHeight?: number | null | undefined;
2105
+ };
2106
+ }, {
2107
+ showSidebar: boolean;
2108
+ header: {
2109
+ description: string;
2110
+ alignment: "Center" | "Left";
2111
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
2112
+ showBackgroundOverlay: boolean;
2113
+ showCoverText: boolean;
2114
+ foregroundColor?: {
2115
+ aliasTo?: string | null | undefined;
2116
+ value?: {
2117
+ opacity: {
2118
+ aliasTo?: string | null | undefined;
2119
+ value?: {
2120
+ unit: "Pixels" | "Raw";
2121
+ measure: number;
2122
+ } | null | undefined;
2123
+ };
2124
+ color: (string | {
2125
+ aliasTo?: string | null | undefined;
2126
+ }) & (string | {
2127
+ aliasTo?: string | null | undefined;
2128
+ } | undefined);
2129
+ } | null | undefined;
2130
+ } | null | undefined;
2131
+ backgroundColor?: {
2132
+ aliasTo?: string | null | undefined;
2133
+ value?: {
2134
+ opacity: {
2135
+ aliasTo?: string | null | undefined;
2136
+ value?: {
2137
+ unit: "Pixels" | "Raw";
2138
+ measure: number;
2139
+ } | null | undefined;
2140
+ };
2141
+ color: (string | {
2142
+ aliasTo?: string | null | undefined;
2143
+ }) & (string | {
2144
+ aliasTo?: string | null | undefined;
2145
+ } | undefined);
2146
+ } | null | undefined;
2147
+ } | null | undefined;
2148
+ backgroundImageAsset?: {
2149
+ id: string;
2150
+ type: "image";
2151
+ url?: string | undefined;
2152
+ } | {
2153
+ type: "figmaFrame";
2154
+ figmaFrame: {
2155
+ persistentId: string;
2156
+ sourceId: string;
2157
+ sourceFrameId: string;
2158
+ title?: string | null | undefined;
2159
+ description?: string | null | undefined;
2160
+ backgroundColor?: {
2161
+ value: string;
2162
+ } | null | undefined;
2163
+ origin?: {
2164
+ sourceFileName?: string | null | undefined;
2165
+ title?: string | null | undefined;
2166
+ previewUrl?: string | null | undefined;
2167
+ valid?: boolean | null | undefined;
2168
+ referenceId?: string | null | undefined;
2169
+ assetId?: string | null | undefined;
2170
+ assetScale?: number | null | undefined;
2171
+ width?: number | null | undefined;
2172
+ height?: number | null | undefined;
2173
+ } | null | undefined;
2174
+ };
2175
+ url?: string | undefined;
2176
+ } | null | undefined;
2177
+ minHeight?: number | null | undefined;
2178
+ };
2179
+ }>;
2180
+ }, "strip", z.ZodTypeAny, {
2181
+ id: string;
2182
+ createdAt: Date;
2183
+ updatedAt: Date;
2184
+ persistentId: string;
2185
+ designSystemVersionId: string;
2186
+ shortPersistentId: string;
2187
+ configuration: {
2188
+ showSidebar: boolean;
2189
+ header: {
2190
+ description: string;
2191
+ alignment: "Center" | "Left";
2192
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
2193
+ showBackgroundOverlay: boolean;
2194
+ showCoverText: boolean;
2195
+ foregroundColor?: {
2196
+ aliasTo?: string | undefined;
2197
+ value?: {
2198
+ opacity: {
2199
+ aliasTo?: string | undefined;
2200
+ value?: {
2201
+ unit: "Pixels" | "Raw";
2202
+ measure: number;
2203
+ } | undefined;
2204
+ };
2205
+ color: (string | {
2206
+ aliasTo?: string | undefined;
2207
+ }) & (string | {
2208
+ aliasTo?: string | undefined;
2209
+ } | undefined);
2210
+ } | undefined;
2211
+ } | null | undefined;
2212
+ backgroundColor?: {
2213
+ aliasTo?: string | undefined;
2214
+ value?: {
2215
+ opacity: {
2216
+ aliasTo?: string | undefined;
2217
+ value?: {
2218
+ unit: "Pixels" | "Raw";
2219
+ measure: number;
2220
+ } | undefined;
2221
+ };
2222
+ color: (string | {
2223
+ aliasTo?: string | undefined;
2224
+ }) & (string | {
2225
+ aliasTo?: string | undefined;
2226
+ } | undefined);
2227
+ } | undefined;
2228
+ } | null | undefined;
2229
+ backgroundImageAsset?: {
2230
+ id: string;
2231
+ type: "image";
2232
+ url?: string | undefined;
2233
+ } | {
2234
+ type: "figmaFrame";
2235
+ figmaFrame: {
2236
+ persistentId: string;
2237
+ sourceId: string;
2238
+ sourceFrameId: string;
2239
+ title?: string | undefined;
2240
+ description?: string | undefined;
2241
+ backgroundColor?: {
2242
+ value: string;
2243
+ } | undefined;
2244
+ origin?: {
2245
+ sourceFileName?: string | undefined;
2246
+ title?: string | undefined;
2247
+ previewUrl?: string | undefined;
2248
+ valid?: boolean | undefined;
2249
+ referenceId?: string | undefined;
2250
+ assetId?: string | undefined;
2251
+ assetScale?: number | undefined;
2252
+ width?: number | undefined;
2253
+ height?: number | undefined;
2254
+ } | undefined;
2255
+ };
2256
+ url?: string | undefined;
2257
+ } | null | undefined;
2258
+ minHeight?: number | null | undefined;
2259
+ };
2260
+ };
2261
+ title: string;
2262
+ isRoot: boolean;
2263
+ childrenIds: string[];
2264
+ groupBehavior: "Group" | "Tabs";
2265
+ slug?: string | undefined;
2266
+ userSlug?: string | undefined;
2267
+ }, {
2268
+ id: string;
2269
+ createdAt: Date;
2270
+ updatedAt: Date;
2271
+ persistentId: string;
2272
+ designSystemVersionId: string;
2273
+ shortPersistentId: string;
2274
+ configuration: {
2275
+ showSidebar: boolean;
2276
+ header: {
2277
+ description: string;
2278
+ alignment: "Center" | "Left";
2279
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
2280
+ showBackgroundOverlay: boolean;
2281
+ showCoverText: boolean;
2282
+ foregroundColor?: {
2283
+ aliasTo?: string | null | undefined;
2284
+ value?: {
2285
+ opacity: {
2286
+ aliasTo?: string | null | undefined;
2287
+ value?: {
2288
+ unit: "Pixels" | "Raw";
2289
+ measure: number;
2290
+ } | null | undefined;
2291
+ };
2292
+ color: (string | {
2293
+ aliasTo?: string | null | undefined;
2294
+ }) & (string | {
2295
+ aliasTo?: string | null | undefined;
2296
+ } | undefined);
2297
+ } | null | undefined;
2298
+ } | null | undefined;
2299
+ backgroundColor?: {
2300
+ aliasTo?: string | null | undefined;
2301
+ value?: {
2302
+ opacity: {
2303
+ aliasTo?: string | null | undefined;
2304
+ value?: {
2305
+ unit: "Pixels" | "Raw";
2306
+ measure: number;
2307
+ } | null | undefined;
2308
+ };
2309
+ color: (string | {
2310
+ aliasTo?: string | null | undefined;
2311
+ }) & (string | {
2312
+ aliasTo?: string | null | undefined;
2313
+ } | undefined);
2314
+ } | null | undefined;
2315
+ } | null | undefined;
2316
+ backgroundImageAsset?: {
2317
+ id: string;
2318
+ type: "image";
2319
+ url?: string | undefined;
2320
+ } | {
2321
+ type: "figmaFrame";
2322
+ figmaFrame: {
2323
+ persistentId: string;
2324
+ sourceId: string;
2325
+ sourceFrameId: string;
2326
+ title?: string | null | undefined;
2327
+ description?: string | null | undefined;
2328
+ backgroundColor?: {
2329
+ value: string;
2330
+ } | null | undefined;
2331
+ origin?: {
2332
+ sourceFileName?: string | null | undefined;
2333
+ title?: string | null | undefined;
2334
+ previewUrl?: string | null | undefined;
2335
+ valid?: boolean | null | undefined;
2336
+ referenceId?: string | null | undefined;
2337
+ assetId?: string | null | undefined;
2338
+ assetScale?: number | null | undefined;
2339
+ width?: number | null | undefined;
2340
+ height?: number | null | undefined;
2341
+ } | null | undefined;
2342
+ };
2343
+ url?: string | undefined;
2344
+ } | null | undefined;
2345
+ minHeight?: number | null | undefined;
2346
+ };
2347
+ };
2348
+ title: string;
2349
+ isRoot: boolean;
2350
+ childrenIds: string[];
2351
+ groupBehavior: "Group" | "Tabs";
2352
+ slug?: string | undefined;
2353
+ userSlug?: string | undefined;
2354
+ }>;
2355
+ type DocumentationGroupDTO = z.infer<typeof DocumentationGroupDTO>;
6
2356
 
7
2357
  declare const CreateBulkElementsInput: z.ZodObject<{
8
2358
  persistentId: z.ZodString;
@@ -12,7 +2362,7 @@ declare const CreateBulkElementsInput: z.ZodObject<{
12
2362
  header: z.ZodObject<{
13
2363
  description: z.ZodString;
14
2364
  alignment: z.ZodEnum<["Left", "Center"]>;
15
- foregroundColor: z.ZodOptional<z.ZodObject<{
2365
+ foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
2366
  aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
17
2367
  value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
18
2368
  opacity: {
@@ -99,8 +2449,8 @@ declare const CreateBulkElementsInput: z.ZodObject<{
99
2449
  aliasTo?: string | null | undefined;
100
2450
  } | undefined);
101
2451
  } | null | undefined;
102
- }>>;
103
- backgroundColor: z.ZodOptional<z.ZodObject<{
2452
+ }>>>;
2453
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
104
2454
  aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
105
2455
  value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
106
2456
  opacity: {
@@ -187,8 +2537,8 @@ declare const CreateBulkElementsInput: z.ZodObject<{
187
2537
  aliasTo?: string | null | undefined;
188
2538
  } | undefined);
189
2539
  } | null | undefined;
190
- }>>;
191
- backgroundImageAsset: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2540
+ }>>>;
2541
+ backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
192
2542
  type: z.ZodLiteral<"image">;
193
2543
  url: z.ZodOptional<z.ZodString>;
194
2544
  id: z.ZodEffects<z.ZodString, string, string>;
@@ -348,11 +2698,11 @@ declare const CreateBulkElementsInput: z.ZodObject<{
348
2698
  } | null | undefined;
349
2699
  };
350
2700
  url?: string | undefined;
351
- }>]>>;
2701
+ }>]>>>;
352
2702
  backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
353
2703
  showBackgroundOverlay: z.ZodBoolean;
354
2704
  showCoverText: z.ZodBoolean;
355
- minHeight: z.ZodOptional<z.ZodNumber>;
2705
+ minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
356
2706
  }, "strip", z.ZodTypeAny, {
357
2707
  description: string;
358
2708
  alignment: "Center" | "Left";
@@ -375,7 +2725,7 @@ declare const CreateBulkElementsInput: z.ZodObject<{
375
2725
  aliasTo?: string | undefined;
376
2726
  } | undefined);
377
2727
  } | undefined;
378
- } | undefined;
2728
+ } | null | undefined;
379
2729
  backgroundColor?: {
380
2730
  aliasTo?: string | undefined;
381
2731
  value?: {
@@ -392,7 +2742,7 @@ declare const CreateBulkElementsInput: z.ZodObject<{
392
2742
  aliasTo?: string | undefined;
393
2743
  } | undefined);
394
2744
  } | undefined;
395
- } | undefined;
2745
+ } | null | undefined;
396
2746
  backgroundImageAsset?: {
397
2747
  id: string;
398
2748
  type: "image";
@@ -421,8 +2771,8 @@ declare const CreateBulkElementsInput: z.ZodObject<{
421
2771
  } | undefined;
422
2772
  };
423
2773
  url?: string | undefined;
424
- } | undefined;
425
- minHeight?: number | undefined;
2774
+ } | null | undefined;
2775
+ minHeight?: number | null | undefined;
426
2776
  }, {
427
2777
  description: string;
428
2778
  alignment: "Center" | "Left";
@@ -445,7 +2795,7 @@ declare const CreateBulkElementsInput: z.ZodObject<{
445
2795
  aliasTo?: string | null | undefined;
446
2796
  } | undefined);
447
2797
  } | null | undefined;
448
- } | undefined;
2798
+ } | null | undefined;
449
2799
  backgroundColor?: {
450
2800
  aliasTo?: string | null | undefined;
451
2801
  value?: {
@@ -462,7 +2812,7 @@ declare const CreateBulkElementsInput: z.ZodObject<{
462
2812
  aliasTo?: string | null | undefined;
463
2813
  } | undefined);
464
2814
  } | null | undefined;
465
- } | undefined;
2815
+ } | null | undefined;
466
2816
  backgroundImageAsset?: {
467
2817
  id: string;
468
2818
  type: "image";
@@ -491,8 +2841,8 @@ declare const CreateBulkElementsInput: z.ZodObject<{
491
2841
  } | null | undefined;
492
2842
  };
493
2843
  url?: string | undefined;
494
- } | undefined;
495
- minHeight?: number | undefined;
2844
+ } | null | undefined;
2845
+ minHeight?: number | null | undefined;
496
2846
  }>;
497
2847
  }, "strip", z.ZodTypeAny, {
498
2848
  showSidebar: boolean;
@@ -518,7 +2868,7 @@ declare const CreateBulkElementsInput: z.ZodObject<{
518
2868
  aliasTo?: string | undefined;
519
2869
  } | undefined);
520
2870
  } | undefined;
521
- } | undefined;
2871
+ } | null | undefined;
522
2872
  backgroundColor?: {
523
2873
  aliasTo?: string | undefined;
524
2874
  value?: {
@@ -535,7 +2885,7 @@ declare const CreateBulkElementsInput: z.ZodObject<{
535
2885
  aliasTo?: string | undefined;
536
2886
  } | undefined);
537
2887
  } | undefined;
538
- } | undefined;
2888
+ } | null | undefined;
539
2889
  backgroundImageAsset?: {
540
2890
  id: string;
541
2891
  type: "image";
@@ -564,8 +2914,8 @@ declare const CreateBulkElementsInput: z.ZodObject<{
564
2914
  } | undefined;
565
2915
  };
566
2916
  url?: string | undefined;
567
- } | undefined;
568
- minHeight?: number | undefined;
2917
+ } | null | undefined;
2918
+ minHeight?: number | null | undefined;
569
2919
  };
570
2920
  }, {
571
2921
  showSidebar: boolean;
@@ -591,7 +2941,7 @@ declare const CreateBulkElementsInput: z.ZodObject<{
591
2941
  aliasTo?: string | null | undefined;
592
2942
  } | undefined);
593
2943
  } | null | undefined;
594
- } | undefined;
2944
+ } | null | undefined;
595
2945
  backgroundColor?: {
596
2946
  aliasTo?: string | null | undefined;
597
2947
  value?: {
@@ -608,7 +2958,7 @@ declare const CreateBulkElementsInput: z.ZodObject<{
608
2958
  aliasTo?: string | null | undefined;
609
2959
  } | undefined);
610
2960
  } | null | undefined;
611
- } | undefined;
2961
+ } | null | undefined;
612
2962
  backgroundImageAsset?: {
613
2963
  id: string;
614
2964
  type: "image";
@@ -637,15 +2987,14 @@ declare const CreateBulkElementsInput: z.ZodObject<{
637
2987
  } | null | undefined;
638
2988
  };
639
2989
  url?: string | undefined;
640
- } | undefined;
641
- minHeight?: number | undefined;
2990
+ } | null | undefined;
2991
+ minHeight?: number | null | undefined;
642
2992
  };
643
2993
  }>;
644
2994
  parentPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
645
2995
  afterPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
646
2996
  }, "strip", z.ZodTypeAny, {
647
2997
  persistentId: string;
648
- title: string;
649
2998
  configuration: {
650
2999
  showSidebar: boolean;
651
3000
  header: {
@@ -670,7 +3019,7 @@ declare const CreateBulkElementsInput: z.ZodObject<{
670
3019
  aliasTo?: string | undefined;
671
3020
  } | undefined);
672
3021
  } | undefined;
673
- } | undefined;
3022
+ } | null | undefined;
674
3023
  backgroundColor?: {
675
3024
  aliasTo?: string | undefined;
676
3025
  value?: {
@@ -687,7 +3036,7 @@ declare const CreateBulkElementsInput: z.ZodObject<{
687
3036
  aliasTo?: string | undefined;
688
3037
  } | undefined);
689
3038
  } | undefined;
690
- } | undefined;
3039
+ } | null | undefined;
691
3040
  backgroundImageAsset?: {
692
3041
  id: string;
693
3042
  type: "image";
@@ -716,15 +3065,15 @@ declare const CreateBulkElementsInput: z.ZodObject<{
716
3065
  } | undefined;
717
3066
  };
718
3067
  url?: string | undefined;
719
- } | undefined;
720
- minHeight?: number | undefined;
3068
+ } | null | undefined;
3069
+ minHeight?: number | null | undefined;
721
3070
  };
722
3071
  };
3072
+ title: string;
723
3073
  parentPersistentId?: string | null | undefined;
724
3074
  afterPersistentId?: string | null | undefined;
725
3075
  }, {
726
3076
  persistentId: string;
727
- title: string;
728
3077
  configuration: {
729
3078
  showSidebar: boolean;
730
3079
  header: {
@@ -749,7 +3098,7 @@ declare const CreateBulkElementsInput: z.ZodObject<{
749
3098
  aliasTo?: string | null | undefined;
750
3099
  } | undefined);
751
3100
  } | null | undefined;
752
- } | undefined;
3101
+ } | null | undefined;
753
3102
  backgroundColor?: {
754
3103
  aliasTo?: string | null | undefined;
755
3104
  value?: {
@@ -766,7 +3115,7 @@ declare const CreateBulkElementsInput: z.ZodObject<{
766
3115
  aliasTo?: string | null | undefined;
767
3116
  } | undefined);
768
3117
  } | null | undefined;
769
- } | undefined;
3118
+ } | null | undefined;
770
3119
  backgroundImageAsset?: {
771
3120
  id: string;
772
3121
  type: "image";
@@ -795,10 +3144,11 @@ declare const CreateBulkElementsInput: z.ZodObject<{
795
3144
  } | null | undefined;
796
3145
  };
797
3146
  url?: string | undefined;
798
- } | undefined;
799
- minHeight?: number | undefined;
3147
+ } | null | undefined;
3148
+ minHeight?: number | null | undefined;
800
3149
  };
801
3150
  };
3151
+ title: string;
802
3152
  parentPersistentId?: string | null | undefined;
803
3153
  afterPersistentId?: string | null | undefined;
804
3154
  }>;
@@ -811,7 +3161,7 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
811
3161
  header: z.ZodObject<{
812
3162
  description: z.ZodString;
813
3163
  alignment: z.ZodEnum<["Left", "Center"]>;
814
- foregroundColor: z.ZodOptional<z.ZodObject<{
3164
+ foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
815
3165
  aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
816
3166
  value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
817
3167
  opacity: {
@@ -898,8 +3248,8 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
898
3248
  aliasTo?: string | null | undefined;
899
3249
  } | undefined);
900
3250
  } | null | undefined;
901
- }>>;
902
- backgroundColor: z.ZodOptional<z.ZodObject<{
3251
+ }>>>;
3252
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
903
3253
  aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
904
3254
  value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
905
3255
  opacity: {
@@ -986,8 +3336,8 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
986
3336
  aliasTo?: string | null | undefined;
987
3337
  } | undefined);
988
3338
  } | null | undefined;
989
- }>>;
990
- backgroundImageAsset: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3339
+ }>>>;
3340
+ backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
991
3341
  type: z.ZodLiteral<"image">;
992
3342
  url: z.ZodOptional<z.ZodString>;
993
3343
  id: z.ZodEffects<z.ZodString, string, string>;
@@ -1147,11 +3497,11 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
1147
3497
  } | null | undefined;
1148
3498
  };
1149
3499
  url?: string | undefined;
1150
- }>]>>;
3500
+ }>]>>>;
1151
3501
  backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
1152
3502
  showBackgroundOverlay: z.ZodBoolean;
1153
3503
  showCoverText: z.ZodBoolean;
1154
- minHeight: z.ZodOptional<z.ZodNumber>;
3504
+ minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1155
3505
  }, "strip", z.ZodTypeAny, {
1156
3506
  description: string;
1157
3507
  alignment: "Center" | "Left";
@@ -1174,7 +3524,7 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
1174
3524
  aliasTo?: string | undefined;
1175
3525
  } | undefined);
1176
3526
  } | undefined;
1177
- } | undefined;
3527
+ } | null | undefined;
1178
3528
  backgroundColor?: {
1179
3529
  aliasTo?: string | undefined;
1180
3530
  value?: {
@@ -1191,7 +3541,7 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
1191
3541
  aliasTo?: string | undefined;
1192
3542
  } | undefined);
1193
3543
  } | undefined;
1194
- } | undefined;
3544
+ } | null | undefined;
1195
3545
  backgroundImageAsset?: {
1196
3546
  id: string;
1197
3547
  type: "image";
@@ -1220,8 +3570,8 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
1220
3570
  } | undefined;
1221
3571
  };
1222
3572
  url?: string | undefined;
1223
- } | undefined;
1224
- minHeight?: number | undefined;
3573
+ } | null | undefined;
3574
+ minHeight?: number | null | undefined;
1225
3575
  }, {
1226
3576
  description: string;
1227
3577
  alignment: "Center" | "Left";
@@ -1244,7 +3594,7 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
1244
3594
  aliasTo?: string | null | undefined;
1245
3595
  } | undefined);
1246
3596
  } | null | undefined;
1247
- } | undefined;
3597
+ } | null | undefined;
1248
3598
  backgroundColor?: {
1249
3599
  aliasTo?: string | null | undefined;
1250
3600
  value?: {
@@ -1261,7 +3611,7 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
1261
3611
  aliasTo?: string | null | undefined;
1262
3612
  } | undefined);
1263
3613
  } | null | undefined;
1264
- } | undefined;
3614
+ } | null | undefined;
1265
3615
  backgroundImageAsset?: {
1266
3616
  id: string;
1267
3617
  type: "image";
@@ -1290,8 +3640,8 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
1290
3640
  } | null | undefined;
1291
3641
  };
1292
3642
  url?: string | undefined;
1293
- } | undefined;
1294
- minHeight?: number | undefined;
3643
+ } | null | undefined;
3644
+ minHeight?: number | null | undefined;
1295
3645
  }>;
1296
3646
  }, "strip", z.ZodTypeAny, {
1297
3647
  showSidebar: boolean;
@@ -1317,7 +3667,7 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
1317
3667
  aliasTo?: string | undefined;
1318
3668
  } | undefined);
1319
3669
  } | undefined;
1320
- } | undefined;
3670
+ } | null | undefined;
1321
3671
  backgroundColor?: {
1322
3672
  aliasTo?: string | undefined;
1323
3673
  value?: {
@@ -1334,7 +3684,7 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
1334
3684
  aliasTo?: string | undefined;
1335
3685
  } | undefined);
1336
3686
  } | undefined;
1337
- } | undefined;
3687
+ } | null | undefined;
1338
3688
  backgroundImageAsset?: {
1339
3689
  id: string;
1340
3690
  type: "image";
@@ -1363,8 +3713,8 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
1363
3713
  } | undefined;
1364
3714
  };
1365
3715
  url?: string | undefined;
1366
- } | undefined;
1367
- minHeight?: number | undefined;
3716
+ } | null | undefined;
3717
+ minHeight?: number | null | undefined;
1368
3718
  };
1369
3719
  }, {
1370
3720
  showSidebar: boolean;
@@ -1390,7 +3740,7 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
1390
3740
  aliasTo?: string | null | undefined;
1391
3741
  } | undefined);
1392
3742
  } | null | undefined;
1393
- } | undefined;
3743
+ } | null | undefined;
1394
3744
  backgroundColor?: {
1395
3745
  aliasTo?: string | null | undefined;
1396
3746
  value?: {
@@ -1407,7 +3757,7 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
1407
3757
  aliasTo?: string | null | undefined;
1408
3758
  } | undefined);
1409
3759
  } | null | undefined;
1410
- } | undefined;
3760
+ } | null | undefined;
1411
3761
  backgroundImageAsset?: {
1412
3762
  id: string;
1413
3763
  type: "image";
@@ -1436,8 +3786,8 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
1436
3786
  } | null | undefined;
1437
3787
  };
1438
3788
  url?: string | undefined;
1439
- } | undefined;
1440
- minHeight?: number | undefined;
3789
+ } | null | undefined;
3790
+ minHeight?: number | null | undefined;
1441
3791
  };
1442
3792
  }>>;
1443
3793
  parentPersistentId: z.ZodOptional<z.ZodString>;
@@ -1469,7 +3819,7 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
1469
3819
  aliasTo?: string | undefined;
1470
3820
  } | undefined);
1471
3821
  } | undefined;
1472
- } | undefined;
3822
+ } | null | undefined;
1473
3823
  backgroundColor?: {
1474
3824
  aliasTo?: string | undefined;
1475
3825
  value?: {
@@ -1486,7 +3836,7 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
1486
3836
  aliasTo?: string | undefined;
1487
3837
  } | undefined);
1488
3838
  } | undefined;
1489
- } | undefined;
3839
+ } | null | undefined;
1490
3840
  backgroundImageAsset?: {
1491
3841
  id: string;
1492
3842
  type: "image";
@@ -1515,8 +3865,8 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
1515
3865
  } | undefined;
1516
3866
  };
1517
3867
  url?: string | undefined;
1518
- } | undefined;
1519
- minHeight?: number | undefined;
3868
+ } | null | undefined;
3869
+ minHeight?: number | null | undefined;
1520
3870
  };
1521
3871
  } | undefined;
1522
3872
  parentPersistentId?: string | undefined;
@@ -1548,7 +3898,7 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
1548
3898
  aliasTo?: string | null | undefined;
1549
3899
  } | undefined);
1550
3900
  } | null | undefined;
1551
- } | undefined;
3901
+ } | null | undefined;
1552
3902
  backgroundColor?: {
1553
3903
  aliasTo?: string | null | undefined;
1554
3904
  value?: {
@@ -1565,7 +3915,7 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
1565
3915
  aliasTo?: string | null | undefined;
1566
3916
  } | undefined);
1567
3917
  } | null | undefined;
1568
- } | undefined;
3918
+ } | null | undefined;
1569
3919
  backgroundImageAsset?: {
1570
3920
  id: string;
1571
3921
  type: "image";
@@ -1594,8 +3944,8 @@ declare const UpdateBulkElementsInput: z.ZodObject<{
1594
3944
  } | null | undefined;
1595
3945
  };
1596
3946
  url?: string | undefined;
1597
- } | undefined;
1598
- minHeight?: number | undefined;
3947
+ } | null | undefined;
3948
+ minHeight?: number | null | undefined;
1599
3949
  };
1600
3950
  } | undefined;
1601
3951
  parentPersistentId?: string | undefined;
@@ -1610,14 +3960,14 @@ declare const DuplicateBulkElementsInput: z.ZodObject<{
1610
3960
  parentPersistentId: z.ZodString;
1611
3961
  afterPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1612
3962
  }, "strip", z.ZodTypeAny, {
3963
+ id: string;
1613
3964
  persistentId: string;
1614
3965
  parentPersistentId: string;
1615
- id: string;
1616
3966
  afterPersistentId?: string | null | undefined;
1617
3967
  }, {
3968
+ id: string;
1618
3969
  persistentId: string;
1619
3970
  parentPersistentId: string;
1620
- id: string;
1621
3971
  afterPersistentId?: string | null | undefined;
1622
3972
  }>;
1623
3973
  type DuplicateBulkElementsInput = z.infer<typeof DuplicateBulkElementsInput>;
@@ -1631,7 +3981,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
1631
3981
  header: z.ZodObject<{
1632
3982
  description: z.ZodString;
1633
3983
  alignment: z.ZodEnum<["Left", "Center"]>;
1634
- foregroundColor: z.ZodOptional<z.ZodObject<{
3984
+ foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1635
3985
  aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
1636
3986
  value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
1637
3987
  opacity: {
@@ -1718,8 +4068,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
1718
4068
  aliasTo?: string | null | undefined;
1719
4069
  } | undefined);
1720
4070
  } | null | undefined;
1721
- }>>;
1722
- backgroundColor: z.ZodOptional<z.ZodObject<{
4071
+ }>>>;
4072
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1723
4073
  aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
1724
4074
  value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
1725
4075
  opacity: {
@@ -1806,8 +4156,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
1806
4156
  aliasTo?: string | null | undefined;
1807
4157
  } | undefined);
1808
4158
  } | null | undefined;
1809
- }>>;
1810
- backgroundImageAsset: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4159
+ }>>>;
4160
+ backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1811
4161
  type: z.ZodLiteral<"image">;
1812
4162
  url: z.ZodOptional<z.ZodString>;
1813
4163
  id: z.ZodEffects<z.ZodString, string, string>;
@@ -1967,11 +4317,11 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
1967
4317
  } | null | undefined;
1968
4318
  };
1969
4319
  url?: string | undefined;
1970
- }>]>>;
4320
+ }>]>>>;
1971
4321
  backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
1972
4322
  showBackgroundOverlay: z.ZodBoolean;
1973
4323
  showCoverText: z.ZodBoolean;
1974
- minHeight: z.ZodOptional<z.ZodNumber>;
4324
+ minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1975
4325
  }, "strip", z.ZodTypeAny, {
1976
4326
  description: string;
1977
4327
  alignment: "Center" | "Left";
@@ -1994,7 +4344,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
1994
4344
  aliasTo?: string | undefined;
1995
4345
  } | undefined);
1996
4346
  } | undefined;
1997
- } | undefined;
4347
+ } | null | undefined;
1998
4348
  backgroundColor?: {
1999
4349
  aliasTo?: string | undefined;
2000
4350
  value?: {
@@ -2011,7 +4361,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2011
4361
  aliasTo?: string | undefined;
2012
4362
  } | undefined);
2013
4363
  } | undefined;
2014
- } | undefined;
4364
+ } | null | undefined;
2015
4365
  backgroundImageAsset?: {
2016
4366
  id: string;
2017
4367
  type: "image";
@@ -2040,8 +4390,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2040
4390
  } | undefined;
2041
4391
  };
2042
4392
  url?: string | undefined;
2043
- } | undefined;
2044
- minHeight?: number | undefined;
4393
+ } | null | undefined;
4394
+ minHeight?: number | null | undefined;
2045
4395
  }, {
2046
4396
  description: string;
2047
4397
  alignment: "Center" | "Left";
@@ -2064,7 +4414,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2064
4414
  aliasTo?: string | null | undefined;
2065
4415
  } | undefined);
2066
4416
  } | null | undefined;
2067
- } | undefined;
4417
+ } | null | undefined;
2068
4418
  backgroundColor?: {
2069
4419
  aliasTo?: string | null | undefined;
2070
4420
  value?: {
@@ -2081,7 +4431,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2081
4431
  aliasTo?: string | null | undefined;
2082
4432
  } | undefined);
2083
4433
  } | null | undefined;
2084
- } | undefined;
4434
+ } | null | undefined;
2085
4435
  backgroundImageAsset?: {
2086
4436
  id: string;
2087
4437
  type: "image";
@@ -2110,8 +4460,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2110
4460
  } | null | undefined;
2111
4461
  };
2112
4462
  url?: string | undefined;
2113
- } | undefined;
2114
- minHeight?: number | undefined;
4463
+ } | null | undefined;
4464
+ minHeight?: number | null | undefined;
2115
4465
  }>;
2116
4466
  }, "strip", z.ZodTypeAny, {
2117
4467
  showSidebar: boolean;
@@ -2137,7 +4487,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2137
4487
  aliasTo?: string | undefined;
2138
4488
  } | undefined);
2139
4489
  } | undefined;
2140
- } | undefined;
4490
+ } | null | undefined;
2141
4491
  backgroundColor?: {
2142
4492
  aliasTo?: string | undefined;
2143
4493
  value?: {
@@ -2154,7 +4504,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2154
4504
  aliasTo?: string | undefined;
2155
4505
  } | undefined);
2156
4506
  } | undefined;
2157
- } | undefined;
4507
+ } | null | undefined;
2158
4508
  backgroundImageAsset?: {
2159
4509
  id: string;
2160
4510
  type: "image";
@@ -2183,8 +4533,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2183
4533
  } | undefined;
2184
4534
  };
2185
4535
  url?: string | undefined;
2186
- } | undefined;
2187
- minHeight?: number | undefined;
4536
+ } | null | undefined;
4537
+ minHeight?: number | null | undefined;
2188
4538
  };
2189
4539
  }, {
2190
4540
  showSidebar: boolean;
@@ -2210,7 +4560,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2210
4560
  aliasTo?: string | null | undefined;
2211
4561
  } | undefined);
2212
4562
  } | null | undefined;
2213
- } | undefined;
4563
+ } | null | undefined;
2214
4564
  backgroundColor?: {
2215
4565
  aliasTo?: string | null | undefined;
2216
4566
  value?: {
@@ -2227,7 +4577,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2227
4577
  aliasTo?: string | null | undefined;
2228
4578
  } | undefined);
2229
4579
  } | null | undefined;
2230
- } | undefined;
4580
+ } | null | undefined;
2231
4581
  backgroundImageAsset?: {
2232
4582
  id: string;
2233
4583
  type: "image";
@@ -2256,15 +4606,14 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2256
4606
  } | null | undefined;
2257
4607
  };
2258
4608
  url?: string | undefined;
2259
- } | undefined;
2260
- minHeight?: number | undefined;
4609
+ } | null | undefined;
4610
+ minHeight?: number | null | undefined;
2261
4611
  };
2262
4612
  }>;
2263
4613
  parentPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2264
4614
  afterPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2265
4615
  }, "strip", z.ZodTypeAny, {
2266
4616
  persistentId: string;
2267
- title: string;
2268
4617
  configuration: {
2269
4618
  showSidebar: boolean;
2270
4619
  header: {
@@ -2289,7 +4638,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2289
4638
  aliasTo?: string | undefined;
2290
4639
  } | undefined);
2291
4640
  } | undefined;
2292
- } | undefined;
4641
+ } | null | undefined;
2293
4642
  backgroundColor?: {
2294
4643
  aliasTo?: string | undefined;
2295
4644
  value?: {
@@ -2306,7 +4655,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2306
4655
  aliasTo?: string | undefined;
2307
4656
  } | undefined);
2308
4657
  } | undefined;
2309
- } | undefined;
4658
+ } | null | undefined;
2310
4659
  backgroundImageAsset?: {
2311
4660
  id: string;
2312
4661
  type: "image";
@@ -2335,15 +4684,15 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2335
4684
  } | undefined;
2336
4685
  };
2337
4686
  url?: string | undefined;
2338
- } | undefined;
2339
- minHeight?: number | undefined;
4687
+ } | null | undefined;
4688
+ minHeight?: number | null | undefined;
2340
4689
  };
2341
4690
  };
4691
+ title: string;
2342
4692
  parentPersistentId?: string | null | undefined;
2343
4693
  afterPersistentId?: string | null | undefined;
2344
4694
  }, {
2345
4695
  persistentId: string;
2346
- title: string;
2347
4696
  configuration: {
2348
4697
  showSidebar: boolean;
2349
4698
  header: {
@@ -2368,7 +4717,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2368
4717
  aliasTo?: string | null | undefined;
2369
4718
  } | undefined);
2370
4719
  } | null | undefined;
2371
- } | undefined;
4720
+ } | null | undefined;
2372
4721
  backgroundColor?: {
2373
4722
  aliasTo?: string | null | undefined;
2374
4723
  value?: {
@@ -2385,7 +4734,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2385
4734
  aliasTo?: string | null | undefined;
2386
4735
  } | undefined);
2387
4736
  } | null | undefined;
2388
- } | undefined;
4737
+ } | null | undefined;
2389
4738
  backgroundImageAsset?: {
2390
4739
  id: string;
2391
4740
  type: "image";
@@ -2414,10 +4763,11 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2414
4763
  } | null | undefined;
2415
4764
  };
2416
4765
  url?: string | undefined;
2417
- } | undefined;
2418
- minHeight?: number | undefined;
4766
+ } | null | undefined;
4767
+ minHeight?: number | null | undefined;
2419
4768
  };
2420
4769
  };
4770
+ title: string;
2421
4771
  parentPersistentId?: string | null | undefined;
2422
4772
  afterPersistentId?: string | null | undefined;
2423
4773
  }>, "many">>;
@@ -2429,7 +4779,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2429
4779
  header: z.ZodObject<{
2430
4780
  description: z.ZodString;
2431
4781
  alignment: z.ZodEnum<["Left", "Center"]>;
2432
- foregroundColor: z.ZodOptional<z.ZodObject<{
4782
+ foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2433
4783
  aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
2434
4784
  value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
2435
4785
  opacity: {
@@ -2516,8 +4866,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2516
4866
  aliasTo?: string | null | undefined;
2517
4867
  } | undefined);
2518
4868
  } | null | undefined;
2519
- }>>;
2520
- backgroundColor: z.ZodOptional<z.ZodObject<{
4869
+ }>>>;
4870
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2521
4871
  aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
2522
4872
  value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
2523
4873
  opacity: {
@@ -2604,8 +4954,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2604
4954
  aliasTo?: string | null | undefined;
2605
4955
  } | undefined);
2606
4956
  } | null | undefined;
2607
- }>>;
2608
- backgroundImageAsset: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4957
+ }>>>;
4958
+ backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2609
4959
  type: z.ZodLiteral<"image">;
2610
4960
  url: z.ZodOptional<z.ZodString>;
2611
4961
  id: z.ZodEffects<z.ZodString, string, string>;
@@ -2765,11 +5115,11 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2765
5115
  } | null | undefined;
2766
5116
  };
2767
5117
  url?: string | undefined;
2768
- }>]>>;
5118
+ }>]>>>;
2769
5119
  backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
2770
5120
  showBackgroundOverlay: z.ZodBoolean;
2771
5121
  showCoverText: z.ZodBoolean;
2772
- minHeight: z.ZodOptional<z.ZodNumber>;
5122
+ minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2773
5123
  }, "strip", z.ZodTypeAny, {
2774
5124
  description: string;
2775
5125
  alignment: "Center" | "Left";
@@ -2792,7 +5142,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2792
5142
  aliasTo?: string | undefined;
2793
5143
  } | undefined);
2794
5144
  } | undefined;
2795
- } | undefined;
5145
+ } | null | undefined;
2796
5146
  backgroundColor?: {
2797
5147
  aliasTo?: string | undefined;
2798
5148
  value?: {
@@ -2809,7 +5159,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2809
5159
  aliasTo?: string | undefined;
2810
5160
  } | undefined);
2811
5161
  } | undefined;
2812
- } | undefined;
5162
+ } | null | undefined;
2813
5163
  backgroundImageAsset?: {
2814
5164
  id: string;
2815
5165
  type: "image";
@@ -2838,8 +5188,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2838
5188
  } | undefined;
2839
5189
  };
2840
5190
  url?: string | undefined;
2841
- } | undefined;
2842
- minHeight?: number | undefined;
5191
+ } | null | undefined;
5192
+ minHeight?: number | null | undefined;
2843
5193
  }, {
2844
5194
  description: string;
2845
5195
  alignment: "Center" | "Left";
@@ -2862,7 +5212,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2862
5212
  aliasTo?: string | null | undefined;
2863
5213
  } | undefined);
2864
5214
  } | null | undefined;
2865
- } | undefined;
5215
+ } | null | undefined;
2866
5216
  backgroundColor?: {
2867
5217
  aliasTo?: string | null | undefined;
2868
5218
  value?: {
@@ -2879,7 +5229,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2879
5229
  aliasTo?: string | null | undefined;
2880
5230
  } | undefined);
2881
5231
  } | null | undefined;
2882
- } | undefined;
5232
+ } | null | undefined;
2883
5233
  backgroundImageAsset?: {
2884
5234
  id: string;
2885
5235
  type: "image";
@@ -2908,8 +5258,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2908
5258
  } | null | undefined;
2909
5259
  };
2910
5260
  url?: string | undefined;
2911
- } | undefined;
2912
- minHeight?: number | undefined;
5261
+ } | null | undefined;
5262
+ minHeight?: number | null | undefined;
2913
5263
  }>;
2914
5264
  }, "strip", z.ZodTypeAny, {
2915
5265
  showSidebar: boolean;
@@ -2935,7 +5285,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2935
5285
  aliasTo?: string | undefined;
2936
5286
  } | undefined);
2937
5287
  } | undefined;
2938
- } | undefined;
5288
+ } | null | undefined;
2939
5289
  backgroundColor?: {
2940
5290
  aliasTo?: string | undefined;
2941
5291
  value?: {
@@ -2952,7 +5302,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2952
5302
  aliasTo?: string | undefined;
2953
5303
  } | undefined);
2954
5304
  } | undefined;
2955
- } | undefined;
5305
+ } | null | undefined;
2956
5306
  backgroundImageAsset?: {
2957
5307
  id: string;
2958
5308
  type: "image";
@@ -2981,8 +5331,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
2981
5331
  } | undefined;
2982
5332
  };
2983
5333
  url?: string | undefined;
2984
- } | undefined;
2985
- minHeight?: number | undefined;
5334
+ } | null | undefined;
5335
+ minHeight?: number | null | undefined;
2986
5336
  };
2987
5337
  }, {
2988
5338
  showSidebar: boolean;
@@ -3008,7 +5358,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3008
5358
  aliasTo?: string | null | undefined;
3009
5359
  } | undefined);
3010
5360
  } | null | undefined;
3011
- } | undefined;
5361
+ } | null | undefined;
3012
5362
  backgroundColor?: {
3013
5363
  aliasTo?: string | null | undefined;
3014
5364
  value?: {
@@ -3025,7 +5375,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3025
5375
  aliasTo?: string | null | undefined;
3026
5376
  } | undefined);
3027
5377
  } | null | undefined;
3028
- } | undefined;
5378
+ } | null | undefined;
3029
5379
  backgroundImageAsset?: {
3030
5380
  id: string;
3031
5381
  type: "image";
@@ -3054,8 +5404,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3054
5404
  } | null | undefined;
3055
5405
  };
3056
5406
  url?: string | undefined;
3057
- } | undefined;
3058
- minHeight?: number | undefined;
5407
+ } | null | undefined;
5408
+ minHeight?: number | null | undefined;
3059
5409
  };
3060
5410
  }>>;
3061
5411
  parentPersistentId: z.ZodOptional<z.ZodString>;
@@ -3087,7 +5437,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3087
5437
  aliasTo?: string | undefined;
3088
5438
  } | undefined);
3089
5439
  } | undefined;
3090
- } | undefined;
5440
+ } | null | undefined;
3091
5441
  backgroundColor?: {
3092
5442
  aliasTo?: string | undefined;
3093
5443
  value?: {
@@ -3104,7 +5454,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3104
5454
  aliasTo?: string | undefined;
3105
5455
  } | undefined);
3106
5456
  } | undefined;
3107
- } | undefined;
5457
+ } | null | undefined;
3108
5458
  backgroundImageAsset?: {
3109
5459
  id: string;
3110
5460
  type: "image";
@@ -3133,8 +5483,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3133
5483
  } | undefined;
3134
5484
  };
3135
5485
  url?: string | undefined;
3136
- } | undefined;
3137
- minHeight?: number | undefined;
5486
+ } | null | undefined;
5487
+ minHeight?: number | null | undefined;
3138
5488
  };
3139
5489
  } | undefined;
3140
5490
  parentPersistentId?: string | undefined;
@@ -3166,7 +5516,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3166
5516
  aliasTo?: string | null | undefined;
3167
5517
  } | undefined);
3168
5518
  } | null | undefined;
3169
- } | undefined;
5519
+ } | null | undefined;
3170
5520
  backgroundColor?: {
3171
5521
  aliasTo?: string | null | undefined;
3172
5522
  value?: {
@@ -3183,7 +5533,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3183
5533
  aliasTo?: string | null | undefined;
3184
5534
  } | undefined);
3185
5535
  } | null | undefined;
3186
- } | undefined;
5536
+ } | null | undefined;
3187
5537
  backgroundImageAsset?: {
3188
5538
  id: string;
3189
5539
  type: "image";
@@ -3212,8 +5562,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3212
5562
  } | null | undefined;
3213
5563
  };
3214
5564
  url?: string | undefined;
3215
- } | undefined;
3216
- minHeight?: number | undefined;
5565
+ } | null | undefined;
5566
+ minHeight?: number | null | undefined;
3217
5567
  };
3218
5568
  } | undefined;
3219
5569
  parentPersistentId?: string | undefined;
@@ -3226,20 +5576,19 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3226
5576
  parentPersistentId: z.ZodString;
3227
5577
  afterPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3228
5578
  }, "strip", z.ZodTypeAny, {
5579
+ id: string;
3229
5580
  persistentId: string;
3230
5581
  parentPersistentId: string;
3231
- id: string;
3232
5582
  afterPersistentId?: string | null | undefined;
3233
5583
  }, {
5584
+ id: string;
3234
5585
  persistentId: string;
3235
5586
  parentPersistentId: string;
3236
- id: string;
3237
5587
  afterPersistentId?: string | null | undefined;
3238
5588
  }>, "many">>;
3239
5589
  }, "strip", z.ZodTypeAny, {
3240
5590
  create?: {
3241
5591
  persistentId: string;
3242
- title: string;
3243
5592
  configuration: {
3244
5593
  showSidebar: boolean;
3245
5594
  header: {
@@ -3264,7 +5613,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3264
5613
  aliasTo?: string | undefined;
3265
5614
  } | undefined);
3266
5615
  } | undefined;
3267
- } | undefined;
5616
+ } | null | undefined;
3268
5617
  backgroundColor?: {
3269
5618
  aliasTo?: string | undefined;
3270
5619
  value?: {
@@ -3281,7 +5630,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3281
5630
  aliasTo?: string | undefined;
3282
5631
  } | undefined);
3283
5632
  } | undefined;
3284
- } | undefined;
5633
+ } | null | undefined;
3285
5634
  backgroundImageAsset?: {
3286
5635
  id: string;
3287
5636
  type: "image";
@@ -3310,10 +5659,11 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3310
5659
  } | undefined;
3311
5660
  };
3312
5661
  url?: string | undefined;
3313
- } | undefined;
3314
- minHeight?: number | undefined;
5662
+ } | null | undefined;
5663
+ minHeight?: number | null | undefined;
3315
5664
  };
3316
5665
  };
5666
+ title: string;
3317
5667
  parentPersistentId?: string | null | undefined;
3318
5668
  afterPersistentId?: string | null | undefined;
3319
5669
  }[] | undefined;
@@ -3344,7 +5694,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3344
5694
  aliasTo?: string | undefined;
3345
5695
  } | undefined);
3346
5696
  } | undefined;
3347
- } | undefined;
5697
+ } | null | undefined;
3348
5698
  backgroundColor?: {
3349
5699
  aliasTo?: string | undefined;
3350
5700
  value?: {
@@ -3361,7 +5711,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3361
5711
  aliasTo?: string | undefined;
3362
5712
  } | undefined);
3363
5713
  } | undefined;
3364
- } | undefined;
5714
+ } | null | undefined;
3365
5715
  backgroundImageAsset?: {
3366
5716
  id: string;
3367
5717
  type: "image";
@@ -3390,8 +5740,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3390
5740
  } | undefined;
3391
5741
  };
3392
5742
  url?: string | undefined;
3393
- } | undefined;
3394
- minHeight?: number | undefined;
5743
+ } | null | undefined;
5744
+ minHeight?: number | null | undefined;
3395
5745
  };
3396
5746
  } | undefined;
3397
5747
  parentPersistentId?: string | undefined;
@@ -3399,15 +5749,14 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3399
5749
  }[] | undefined;
3400
5750
  delete?: string[] | undefined;
3401
5751
  duplicate?: {
5752
+ id: string;
3402
5753
  persistentId: string;
3403
5754
  parentPersistentId: string;
3404
- id: string;
3405
5755
  afterPersistentId?: string | null | undefined;
3406
5756
  }[] | undefined;
3407
5757
  }, {
3408
5758
  create?: {
3409
5759
  persistentId: string;
3410
- title: string;
3411
5760
  configuration: {
3412
5761
  showSidebar: boolean;
3413
5762
  header: {
@@ -3432,7 +5781,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3432
5781
  aliasTo?: string | null | undefined;
3433
5782
  } | undefined);
3434
5783
  } | null | undefined;
3435
- } | undefined;
5784
+ } | null | undefined;
3436
5785
  backgroundColor?: {
3437
5786
  aliasTo?: string | null | undefined;
3438
5787
  value?: {
@@ -3449,7 +5798,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3449
5798
  aliasTo?: string | null | undefined;
3450
5799
  } | undefined);
3451
5800
  } | null | undefined;
3452
- } | undefined;
5801
+ } | null | undefined;
3453
5802
  backgroundImageAsset?: {
3454
5803
  id: string;
3455
5804
  type: "image";
@@ -3478,10 +5827,11 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3478
5827
  } | null | undefined;
3479
5828
  };
3480
5829
  url?: string | undefined;
3481
- } | undefined;
3482
- minHeight?: number | undefined;
5830
+ } | null | undefined;
5831
+ minHeight?: number | null | undefined;
3483
5832
  };
3484
5833
  };
5834
+ title: string;
3485
5835
  parentPersistentId?: string | null | undefined;
3486
5836
  afterPersistentId?: string | null | undefined;
3487
5837
  }[] | undefined;
@@ -3512,7 +5862,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3512
5862
  aliasTo?: string | null | undefined;
3513
5863
  } | undefined);
3514
5864
  } | null | undefined;
3515
- } | undefined;
5865
+ } | null | undefined;
3516
5866
  backgroundColor?: {
3517
5867
  aliasTo?: string | null | undefined;
3518
5868
  value?: {
@@ -3529,7 +5879,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3529
5879
  aliasTo?: string | null | undefined;
3530
5880
  } | undefined);
3531
5881
  } | null | undefined;
3532
- } | undefined;
5882
+ } | null | undefined;
3533
5883
  backgroundImageAsset?: {
3534
5884
  id: string;
3535
5885
  type: "image";
@@ -3558,8 +5908,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3558
5908
  } | null | undefined;
3559
5909
  };
3560
5910
  url?: string | undefined;
3561
- } | undefined;
3562
- minHeight?: number | undefined;
5911
+ } | null | undefined;
5912
+ minHeight?: number | null | undefined;
3563
5913
  };
3564
5914
  } | undefined;
3565
5915
  parentPersistentId?: string | undefined;
@@ -3567,9 +5917,9 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3567
5917
  }[] | undefined;
3568
5918
  delete?: string[] | undefined;
3569
5919
  duplicate?: {
5920
+ id: string;
3570
5921
  persistentId: string;
3571
5922
  parentPersistentId: string;
3572
- id: string;
3573
5923
  afterPersistentId?: string | null | undefined;
3574
5924
  }[] | undefined;
3575
5925
  }>;
@@ -3577,7 +5927,6 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3577
5927
  documentationPages: {
3578
5928
  create?: {
3579
5929
  persistentId: string;
3580
- title: string;
3581
5930
  configuration: {
3582
5931
  showSidebar: boolean;
3583
5932
  header: {
@@ -3602,7 +5951,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3602
5951
  aliasTo?: string | undefined;
3603
5952
  } | undefined);
3604
5953
  } | undefined;
3605
- } | undefined;
5954
+ } | null | undefined;
3606
5955
  backgroundColor?: {
3607
5956
  aliasTo?: string | undefined;
3608
5957
  value?: {
@@ -3619,7 +5968,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3619
5968
  aliasTo?: string | undefined;
3620
5969
  } | undefined);
3621
5970
  } | undefined;
3622
- } | undefined;
5971
+ } | null | undefined;
3623
5972
  backgroundImageAsset?: {
3624
5973
  id: string;
3625
5974
  type: "image";
@@ -3648,10 +5997,11 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3648
5997
  } | undefined;
3649
5998
  };
3650
5999
  url?: string | undefined;
3651
- } | undefined;
3652
- minHeight?: number | undefined;
6000
+ } | null | undefined;
6001
+ minHeight?: number | null | undefined;
3653
6002
  };
3654
6003
  };
6004
+ title: string;
3655
6005
  parentPersistentId?: string | null | undefined;
3656
6006
  afterPersistentId?: string | null | undefined;
3657
6007
  }[] | undefined;
@@ -3682,7 +6032,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3682
6032
  aliasTo?: string | undefined;
3683
6033
  } | undefined);
3684
6034
  } | undefined;
3685
- } | undefined;
6035
+ } | null | undefined;
3686
6036
  backgroundColor?: {
3687
6037
  aliasTo?: string | undefined;
3688
6038
  value?: {
@@ -3699,7 +6049,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3699
6049
  aliasTo?: string | undefined;
3700
6050
  } | undefined);
3701
6051
  } | undefined;
3702
- } | undefined;
6052
+ } | null | undefined;
3703
6053
  backgroundImageAsset?: {
3704
6054
  id: string;
3705
6055
  type: "image";
@@ -3728,8 +6078,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3728
6078
  } | undefined;
3729
6079
  };
3730
6080
  url?: string | undefined;
3731
- } | undefined;
3732
- minHeight?: number | undefined;
6081
+ } | null | undefined;
6082
+ minHeight?: number | null | undefined;
3733
6083
  };
3734
6084
  } | undefined;
3735
6085
  parentPersistentId?: string | undefined;
@@ -3737,9 +6087,9 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3737
6087
  }[] | undefined;
3738
6088
  delete?: string[] | undefined;
3739
6089
  duplicate?: {
6090
+ id: string;
3740
6091
  persistentId: string;
3741
6092
  parentPersistentId: string;
3742
- id: string;
3743
6093
  afterPersistentId?: string | null | undefined;
3744
6094
  }[] | undefined;
3745
6095
  };
@@ -3747,7 +6097,6 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3747
6097
  documentationPages: {
3748
6098
  create?: {
3749
6099
  persistentId: string;
3750
- title: string;
3751
6100
  configuration: {
3752
6101
  showSidebar: boolean;
3753
6102
  header: {
@@ -3772,7 +6121,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3772
6121
  aliasTo?: string | null | undefined;
3773
6122
  } | undefined);
3774
6123
  } | null | undefined;
3775
- } | undefined;
6124
+ } | null | undefined;
3776
6125
  backgroundColor?: {
3777
6126
  aliasTo?: string | null | undefined;
3778
6127
  value?: {
@@ -3789,7 +6138,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3789
6138
  aliasTo?: string | null | undefined;
3790
6139
  } | undefined);
3791
6140
  } | null | undefined;
3792
- } | undefined;
6141
+ } | null | undefined;
3793
6142
  backgroundImageAsset?: {
3794
6143
  id: string;
3795
6144
  type: "image";
@@ -3818,10 +6167,11 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3818
6167
  } | null | undefined;
3819
6168
  };
3820
6169
  url?: string | undefined;
3821
- } | undefined;
3822
- minHeight?: number | undefined;
6170
+ } | null | undefined;
6171
+ minHeight?: number | null | undefined;
3823
6172
  };
3824
6173
  };
6174
+ title: string;
3825
6175
  parentPersistentId?: string | null | undefined;
3826
6176
  afterPersistentId?: string | null | undefined;
3827
6177
  }[] | undefined;
@@ -3852,7 +6202,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3852
6202
  aliasTo?: string | null | undefined;
3853
6203
  } | undefined);
3854
6204
  } | null | undefined;
3855
- } | undefined;
6205
+ } | null | undefined;
3856
6206
  backgroundColor?: {
3857
6207
  aliasTo?: string | null | undefined;
3858
6208
  value?: {
@@ -3869,7 +6219,7 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3869
6219
  aliasTo?: string | null | undefined;
3870
6220
  } | undefined);
3871
6221
  } | null | undefined;
3872
- } | undefined;
6222
+ } | null | undefined;
3873
6223
  backgroundImageAsset?: {
3874
6224
  id: string;
3875
6225
  type: "image";
@@ -3898,8 +6248,8 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3898
6248
  } | null | undefined;
3899
6249
  };
3900
6250
  url?: string | undefined;
3901
- } | undefined;
3902
- minHeight?: number | undefined;
6251
+ } | null | undefined;
6252
+ minHeight?: number | null | undefined;
3903
6253
  };
3904
6254
  } | undefined;
3905
6255
  parentPersistentId?: string | undefined;
@@ -3907,9 +6257,9 @@ declare const BulkEditDocPageElementsInput: z.ZodObject<{
3907
6257
  }[] | undefined;
3908
6258
  delete?: string[] | undefined;
3909
6259
  duplicate?: {
6260
+ id: string;
3910
6261
  persistentId: string;
3911
6262
  parentPersistentId: string;
3912
- id: string;
3913
6263
  afterPersistentId?: string | null | undefined;
3914
6264
  }[] | undefined;
3915
6265
  };
@@ -4578,6 +6928,15 @@ declare const GetBlockDefinitionsResponse: z.ZodObject<{
4578
6928
  }>;
4579
6929
  type GetBlockDefinitionsResponse = z.infer<typeof GetBlockDefinitionsResponse>;
4580
6930
 
6931
+ declare function documentationHierarchyToYjs(documentationHierarchy: DocumentationHierarchyV2DTO, doc: Y.Doc): Y.Doc;
6932
+ declare function yjsToDocumentationHierarchy(doc: Y.Doc): DocumentationHierarchyV2DTO;
6933
+
6934
+ type UpdateDocumentationItemConfiguration = Partial<DocumentationItemConfiguration> & {
6935
+ header?: Partial<DocumentationItemHeader>;
6936
+ };
6937
+ declare function itemConfigurationToYjs(item: UpdateDocumentationItemConfiguration, yDoc: Y.Doc): void;
6938
+ declare function yjsToItemConfiguration(yDoc: Y.Doc): DocumentationItemConfiguration;
6939
+
4581
6940
  declare const PageBlockEditorModel: z.ZodObject<{
4582
6941
  id: z.ZodString;
4583
6942
  data: z.ZodObject<{
@@ -5352,7 +7711,8 @@ declare function serializeAsCustomBlock(block: PageBlockEditorModel, definition:
5352
7711
 
5353
7712
  declare function getMockPageBlockDefinitions(): PageBlockDefinition[];
5354
7713
 
5355
- declare function yXmlFragmetToPage(fragment: Y.XmlFragment, definitions: PageBlockDefinition[]): DocumentationPageEditorModel;
7714
+ declare function yDocToPage(yDoc: Y.Doc, definitions: PageBlockDefinition[]): DocumentationPageEditorModel;
7715
+ declare function yXmlFragmentToPage(fragment: Y.XmlFragment, definitions: PageBlockDefinition[]): DocumentationPageEditorModel;
5356
7716
  declare function prosemirrorDocToPage(prosemirrorDoc: ProsemirrorNode, definitions: PageBlockDefinition[]): DocumentationPageEditorModel;
5357
7717
  declare function prosemirrorNodeToBlock(prosemirrorNode: ProsemirrorNode, definition: PageBlockDefinition): PageBlockEditorModel | null;
5358
7718
 
@@ -5490,4 +7850,4 @@ declare const BlockDefinitionUtils: {
5490
7850
  };
5491
7851
  };
5492
7852
 
5493
- export { BlockDefinitionUtils, BlockParsingUtils, BulkEditDocPageElementsInput, CreateBulkElementsInput, DeleteBulkElementsInput, DocumentationPageEditorModel, DuplicateBulkElementsInput, GetBlockDefinitionsResponse, PageBlockEditorModel, PostLiveblocksAuth, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, UpdateBulkElementsInput, blockDefinitionForBlock, blockToProsemirrorNode, getMockPageBlockDefinitions, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, serializeAsCustomBlock, yXmlFragmetToPage };
7853
+ export { BlockDefinitionUtils, BlockParsingUtils, BulkEditDocPageElementsInput, CreateBulkElementsInput, DeleteBulkElementsInput, DocumentationGroupDTO, DocumentationGroupStructureDTO, DocumentationHierarchyV2DTO, DocumentationPageEditorModel, DocumentationPageStructureV2DTO, DocumentationPageV1DTO, DocumentationPageV2DTO, DuplicateBulkElementsInput, GetBlockDefinitionsResponse, PageBlockEditorModel, PostLiveblocksAuth, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, UpdateBulkElementsInput, blockDefinitionForBlock, blockToProsemirrorNode, documentationHierarchyToYjs, getMockPageBlockDefinitions, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, serializeAsCustomBlock, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };