@supernova-studio/client 0.4.3 → 0.4.5

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,10 +1,3929 @@
1
+ import { z } from 'zod';
1
2
  import * as _supernova_studio_model from '@supernova-studio/model';
2
3
  import { PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
3
- export * from '@supernova-studio/model';
4
- import { z } from 'zod';
5
4
  import { Schema } from 'prosemirror-model';
6
5
  import * as Y from 'yjs';
7
6
 
7
+ declare const CreateBulkElementsInput: z.ZodObject<{
8
+ persistentId: z.ZodString;
9
+ title: z.ZodString;
10
+ configuration: z.ZodObject<{
11
+ showSidebar: z.ZodBoolean;
12
+ header: z.ZodObject<{
13
+ description: z.ZodString;
14
+ alignment: z.ZodEnum<["Left", "Center"]>;
15
+ foregroundColor: z.ZodOptional<z.ZodObject<{
16
+ aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
17
+ value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
18
+ opacity: {
19
+ aliasTo?: string | undefined;
20
+ value?: {
21
+ unit: "Pixels" | "Raw";
22
+ measure: number;
23
+ } | undefined;
24
+ };
25
+ color: (string | {
26
+ aliasTo?: string | undefined;
27
+ }) & (string | {
28
+ aliasTo?: string | undefined;
29
+ } | undefined);
30
+ }, z.ZodTypeDef, {
31
+ opacity: {
32
+ aliasTo?: string | null | undefined;
33
+ value?: {
34
+ unit: "Pixels" | "Raw";
35
+ measure: number;
36
+ } | null | undefined;
37
+ };
38
+ color: (string | {
39
+ aliasTo?: string | null | undefined;
40
+ }) & (string | {
41
+ aliasTo?: string | null | undefined;
42
+ } | undefined);
43
+ }>>>, {
44
+ opacity: {
45
+ aliasTo?: string | undefined;
46
+ value?: {
47
+ unit: "Pixels" | "Raw";
48
+ measure: number;
49
+ } | undefined;
50
+ };
51
+ color: (string | {
52
+ aliasTo?: string | undefined;
53
+ }) & (string | {
54
+ aliasTo?: string | undefined;
55
+ } | undefined);
56
+ } | undefined, {
57
+ opacity: {
58
+ aliasTo?: string | null | undefined;
59
+ value?: {
60
+ unit: "Pixels" | "Raw";
61
+ measure: number;
62
+ } | null | undefined;
63
+ };
64
+ color: (string | {
65
+ aliasTo?: string | null | undefined;
66
+ }) & (string | {
67
+ aliasTo?: string | null | undefined;
68
+ } | undefined);
69
+ } | null | undefined>;
70
+ }, "strip", z.ZodTypeAny, {
71
+ aliasTo?: string | undefined;
72
+ value?: {
73
+ opacity: {
74
+ aliasTo?: string | undefined;
75
+ value?: {
76
+ unit: "Pixels" | "Raw";
77
+ measure: number;
78
+ } | undefined;
79
+ };
80
+ color: (string | {
81
+ aliasTo?: string | undefined;
82
+ }) & (string | {
83
+ aliasTo?: string | undefined;
84
+ } | undefined);
85
+ } | undefined;
86
+ }, {
87
+ aliasTo?: string | null | undefined;
88
+ value?: {
89
+ opacity: {
90
+ aliasTo?: string | null | undefined;
91
+ value?: {
92
+ unit: "Pixels" | "Raw";
93
+ measure: number;
94
+ } | null | undefined;
95
+ };
96
+ color: (string | {
97
+ aliasTo?: string | null | undefined;
98
+ }) & (string | {
99
+ aliasTo?: string | null | undefined;
100
+ } | undefined);
101
+ } | null | undefined;
102
+ }>>;
103
+ backgroundColor: z.ZodOptional<z.ZodObject<{
104
+ aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
105
+ value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
106
+ opacity: {
107
+ aliasTo?: string | undefined;
108
+ value?: {
109
+ unit: "Pixels" | "Raw";
110
+ measure: number;
111
+ } | undefined;
112
+ };
113
+ color: (string | {
114
+ aliasTo?: string | undefined;
115
+ }) & (string | {
116
+ aliasTo?: string | undefined;
117
+ } | undefined);
118
+ }, z.ZodTypeDef, {
119
+ opacity: {
120
+ aliasTo?: string | null | undefined;
121
+ value?: {
122
+ unit: "Pixels" | "Raw";
123
+ measure: number;
124
+ } | null | undefined;
125
+ };
126
+ color: (string | {
127
+ aliasTo?: string | null | undefined;
128
+ }) & (string | {
129
+ aliasTo?: string | null | undefined;
130
+ } | undefined);
131
+ }>>>, {
132
+ opacity: {
133
+ aliasTo?: string | undefined;
134
+ value?: {
135
+ unit: "Pixels" | "Raw";
136
+ measure: number;
137
+ } | undefined;
138
+ };
139
+ color: (string | {
140
+ aliasTo?: string | undefined;
141
+ }) & (string | {
142
+ aliasTo?: string | undefined;
143
+ } | undefined);
144
+ } | undefined, {
145
+ opacity: {
146
+ aliasTo?: string | null | undefined;
147
+ value?: {
148
+ unit: "Pixels" | "Raw";
149
+ measure: number;
150
+ } | null | undefined;
151
+ };
152
+ color: (string | {
153
+ aliasTo?: string | null | undefined;
154
+ }) & (string | {
155
+ aliasTo?: string | null | undefined;
156
+ } | undefined);
157
+ } | null | undefined>;
158
+ }, "strip", z.ZodTypeAny, {
159
+ aliasTo?: string | undefined;
160
+ value?: {
161
+ opacity: {
162
+ aliasTo?: string | undefined;
163
+ value?: {
164
+ unit: "Pixels" | "Raw";
165
+ measure: number;
166
+ } | undefined;
167
+ };
168
+ color: (string | {
169
+ aliasTo?: string | undefined;
170
+ }) & (string | {
171
+ aliasTo?: string | undefined;
172
+ } | undefined);
173
+ } | undefined;
174
+ }, {
175
+ aliasTo?: string | null | undefined;
176
+ value?: {
177
+ opacity: {
178
+ aliasTo?: string | null | undefined;
179
+ value?: {
180
+ unit: "Pixels" | "Raw";
181
+ measure: number;
182
+ } | null | undefined;
183
+ };
184
+ color: (string | {
185
+ aliasTo?: string | null | undefined;
186
+ }) & (string | {
187
+ aliasTo?: string | null | undefined;
188
+ } | undefined);
189
+ } | null | undefined;
190
+ }>>;
191
+ backgroundImageAsset: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
192
+ type: z.ZodLiteral<"image">;
193
+ url: z.ZodOptional<z.ZodString>;
194
+ id: z.ZodEffects<z.ZodString, string, string>;
195
+ }, "strip", z.ZodTypeAny, {
196
+ id: string;
197
+ type: "image";
198
+ url?: string | undefined;
199
+ }, {
200
+ id: string;
201
+ type: "image";
202
+ url?: string | undefined;
203
+ }>, z.ZodObject<{
204
+ type: z.ZodLiteral<"figmaFrame">;
205
+ url: z.ZodOptional<z.ZodString>;
206
+ figmaFrame: z.ZodObject<{
207
+ persistentId: z.ZodString;
208
+ sourceId: z.ZodString;
209
+ sourceFrameId: z.ZodString;
210
+ title: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
211
+ description: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
212
+ backgroundColor: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
213
+ value: string;
214
+ }, z.ZodTypeDef, {
215
+ value: string;
216
+ }>>>, {
217
+ value: string;
218
+ } | undefined, {
219
+ value: string;
220
+ } | null | undefined>;
221
+ origin: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
222
+ sourceFileName?: string | undefined;
223
+ title?: string | undefined;
224
+ previewUrl?: string | undefined;
225
+ valid?: boolean | undefined;
226
+ referenceId?: string | undefined;
227
+ assetId?: string | undefined;
228
+ assetScale?: number | undefined;
229
+ width?: number | undefined;
230
+ height?: number | undefined;
231
+ }, z.ZodTypeDef, {
232
+ sourceFileName?: string | null | undefined;
233
+ title?: string | null | undefined;
234
+ previewUrl?: string | null | undefined;
235
+ valid?: boolean | null | undefined;
236
+ referenceId?: string | null | undefined;
237
+ assetId?: string | null | undefined;
238
+ assetScale?: number | null | undefined;
239
+ width?: number | null | undefined;
240
+ height?: number | null | undefined;
241
+ }>>>, {
242
+ sourceFileName?: string | undefined;
243
+ title?: string | undefined;
244
+ previewUrl?: string | undefined;
245
+ valid?: boolean | undefined;
246
+ referenceId?: string | undefined;
247
+ assetId?: string | undefined;
248
+ assetScale?: number | undefined;
249
+ width?: number | undefined;
250
+ height?: number | undefined;
251
+ } | undefined, {
252
+ sourceFileName?: string | null | undefined;
253
+ title?: string | null | undefined;
254
+ previewUrl?: string | null | undefined;
255
+ valid?: boolean | null | undefined;
256
+ referenceId?: string | null | undefined;
257
+ assetId?: string | null | undefined;
258
+ assetScale?: number | null | undefined;
259
+ width?: number | null | undefined;
260
+ height?: number | null | undefined;
261
+ } | null | undefined>;
262
+ }, "strip", z.ZodTypeAny, {
263
+ persistentId: string;
264
+ sourceId: string;
265
+ sourceFrameId: string;
266
+ title?: string | undefined;
267
+ description?: string | undefined;
268
+ backgroundColor?: {
269
+ value: string;
270
+ } | undefined;
271
+ origin?: {
272
+ sourceFileName?: string | undefined;
273
+ title?: string | undefined;
274
+ previewUrl?: string | undefined;
275
+ valid?: boolean | undefined;
276
+ referenceId?: string | undefined;
277
+ assetId?: string | undefined;
278
+ assetScale?: number | undefined;
279
+ width?: number | undefined;
280
+ height?: number | undefined;
281
+ } | undefined;
282
+ }, {
283
+ persistentId: string;
284
+ sourceId: string;
285
+ sourceFrameId: string;
286
+ title?: string | null | undefined;
287
+ description?: string | null | undefined;
288
+ backgroundColor?: {
289
+ value: string;
290
+ } | null | undefined;
291
+ origin?: {
292
+ sourceFileName?: string | null | undefined;
293
+ title?: string | null | undefined;
294
+ previewUrl?: string | null | undefined;
295
+ valid?: boolean | null | undefined;
296
+ referenceId?: string | null | undefined;
297
+ assetId?: string | null | undefined;
298
+ assetScale?: number | null | undefined;
299
+ width?: number | null | undefined;
300
+ height?: number | null | undefined;
301
+ } | null | undefined;
302
+ }>;
303
+ }, "strip", z.ZodTypeAny, {
304
+ type: "figmaFrame";
305
+ figmaFrame: {
306
+ persistentId: string;
307
+ sourceId: string;
308
+ sourceFrameId: string;
309
+ title?: string | undefined;
310
+ description?: string | undefined;
311
+ backgroundColor?: {
312
+ value: string;
313
+ } | undefined;
314
+ origin?: {
315
+ sourceFileName?: string | undefined;
316
+ title?: string | undefined;
317
+ previewUrl?: string | undefined;
318
+ valid?: boolean | undefined;
319
+ referenceId?: string | undefined;
320
+ assetId?: string | undefined;
321
+ assetScale?: number | undefined;
322
+ width?: number | undefined;
323
+ height?: number | undefined;
324
+ } | undefined;
325
+ };
326
+ url?: string | undefined;
327
+ }, {
328
+ type: "figmaFrame";
329
+ figmaFrame: {
330
+ persistentId: string;
331
+ sourceId: string;
332
+ sourceFrameId: string;
333
+ title?: string | null | undefined;
334
+ description?: string | null | undefined;
335
+ backgroundColor?: {
336
+ value: string;
337
+ } | null | undefined;
338
+ origin?: {
339
+ sourceFileName?: string | null | undefined;
340
+ title?: string | null | undefined;
341
+ previewUrl?: string | null | undefined;
342
+ valid?: boolean | null | undefined;
343
+ referenceId?: string | null | undefined;
344
+ assetId?: string | null | undefined;
345
+ assetScale?: number | null | undefined;
346
+ width?: number | null | undefined;
347
+ height?: number | null | undefined;
348
+ } | null | undefined;
349
+ };
350
+ url?: string | undefined;
351
+ }>]>>;
352
+ backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
353
+ showBackgroundOverlay: z.ZodBoolean;
354
+ showCoverText: z.ZodBoolean;
355
+ minHeight: z.ZodOptional<z.ZodNumber>;
356
+ }, "strip", z.ZodTypeAny, {
357
+ description: string;
358
+ alignment: "Center" | "Left";
359
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
360
+ showBackgroundOverlay: boolean;
361
+ showCoverText: boolean;
362
+ foregroundColor?: {
363
+ aliasTo?: string | undefined;
364
+ value?: {
365
+ opacity: {
366
+ aliasTo?: string | undefined;
367
+ value?: {
368
+ unit: "Pixels" | "Raw";
369
+ measure: number;
370
+ } | undefined;
371
+ };
372
+ color: (string | {
373
+ aliasTo?: string | undefined;
374
+ }) & (string | {
375
+ aliasTo?: string | undefined;
376
+ } | undefined);
377
+ } | undefined;
378
+ } | undefined;
379
+ backgroundColor?: {
380
+ aliasTo?: string | undefined;
381
+ value?: {
382
+ opacity: {
383
+ aliasTo?: string | undefined;
384
+ value?: {
385
+ unit: "Pixels" | "Raw";
386
+ measure: number;
387
+ } | undefined;
388
+ };
389
+ color: (string | {
390
+ aliasTo?: string | undefined;
391
+ }) & (string | {
392
+ aliasTo?: string | undefined;
393
+ } | undefined);
394
+ } | undefined;
395
+ } | undefined;
396
+ backgroundImageAsset?: {
397
+ id: string;
398
+ type: "image";
399
+ url?: string | undefined;
400
+ } | {
401
+ type: "figmaFrame";
402
+ figmaFrame: {
403
+ persistentId: string;
404
+ sourceId: string;
405
+ sourceFrameId: string;
406
+ title?: string | undefined;
407
+ description?: string | undefined;
408
+ backgroundColor?: {
409
+ value: string;
410
+ } | undefined;
411
+ origin?: {
412
+ sourceFileName?: string | undefined;
413
+ title?: string | undefined;
414
+ previewUrl?: string | undefined;
415
+ valid?: boolean | undefined;
416
+ referenceId?: string | undefined;
417
+ assetId?: string | undefined;
418
+ assetScale?: number | undefined;
419
+ width?: number | undefined;
420
+ height?: number | undefined;
421
+ } | undefined;
422
+ };
423
+ url?: string | undefined;
424
+ } | undefined;
425
+ minHeight?: number | undefined;
426
+ }, {
427
+ description: string;
428
+ alignment: "Center" | "Left";
429
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
430
+ showBackgroundOverlay: boolean;
431
+ showCoverText: boolean;
432
+ foregroundColor?: {
433
+ aliasTo?: string | null | undefined;
434
+ value?: {
435
+ opacity: {
436
+ aliasTo?: string | null | undefined;
437
+ value?: {
438
+ unit: "Pixels" | "Raw";
439
+ measure: number;
440
+ } | null | undefined;
441
+ };
442
+ color: (string | {
443
+ aliasTo?: string | null | undefined;
444
+ }) & (string | {
445
+ aliasTo?: string | null | undefined;
446
+ } | undefined);
447
+ } | null | undefined;
448
+ } | undefined;
449
+ backgroundColor?: {
450
+ aliasTo?: string | null | undefined;
451
+ value?: {
452
+ opacity: {
453
+ aliasTo?: string | null | undefined;
454
+ value?: {
455
+ unit: "Pixels" | "Raw";
456
+ measure: number;
457
+ } | null | undefined;
458
+ };
459
+ color: (string | {
460
+ aliasTo?: string | null | undefined;
461
+ }) & (string | {
462
+ aliasTo?: string | null | undefined;
463
+ } | undefined);
464
+ } | null | undefined;
465
+ } | undefined;
466
+ backgroundImageAsset?: {
467
+ id: string;
468
+ type: "image";
469
+ url?: string | undefined;
470
+ } | {
471
+ type: "figmaFrame";
472
+ figmaFrame: {
473
+ persistentId: string;
474
+ sourceId: string;
475
+ sourceFrameId: string;
476
+ title?: string | null | undefined;
477
+ description?: string | null | undefined;
478
+ backgroundColor?: {
479
+ value: string;
480
+ } | null | undefined;
481
+ origin?: {
482
+ sourceFileName?: string | null | undefined;
483
+ title?: string | null | undefined;
484
+ previewUrl?: string | null | undefined;
485
+ valid?: boolean | null | undefined;
486
+ referenceId?: string | null | undefined;
487
+ assetId?: string | null | undefined;
488
+ assetScale?: number | null | undefined;
489
+ width?: number | null | undefined;
490
+ height?: number | null | undefined;
491
+ } | null | undefined;
492
+ };
493
+ url?: string | undefined;
494
+ } | undefined;
495
+ minHeight?: number | undefined;
496
+ }>;
497
+ }, "strip", z.ZodTypeAny, {
498
+ showSidebar: boolean;
499
+ header: {
500
+ description: string;
501
+ alignment: "Center" | "Left";
502
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
503
+ showBackgroundOverlay: boolean;
504
+ showCoverText: boolean;
505
+ foregroundColor?: {
506
+ aliasTo?: string | undefined;
507
+ value?: {
508
+ opacity: {
509
+ aliasTo?: string | undefined;
510
+ value?: {
511
+ unit: "Pixels" | "Raw";
512
+ measure: number;
513
+ } | undefined;
514
+ };
515
+ color: (string | {
516
+ aliasTo?: string | undefined;
517
+ }) & (string | {
518
+ aliasTo?: string | undefined;
519
+ } | undefined);
520
+ } | undefined;
521
+ } | undefined;
522
+ backgroundColor?: {
523
+ aliasTo?: string | undefined;
524
+ value?: {
525
+ opacity: {
526
+ aliasTo?: string | undefined;
527
+ value?: {
528
+ unit: "Pixels" | "Raw";
529
+ measure: number;
530
+ } | undefined;
531
+ };
532
+ color: (string | {
533
+ aliasTo?: string | undefined;
534
+ }) & (string | {
535
+ aliasTo?: string | undefined;
536
+ } | undefined);
537
+ } | undefined;
538
+ } | undefined;
539
+ backgroundImageAsset?: {
540
+ id: string;
541
+ type: "image";
542
+ url?: string | undefined;
543
+ } | {
544
+ type: "figmaFrame";
545
+ figmaFrame: {
546
+ persistentId: string;
547
+ sourceId: string;
548
+ sourceFrameId: string;
549
+ title?: string | undefined;
550
+ description?: string | undefined;
551
+ backgroundColor?: {
552
+ value: string;
553
+ } | undefined;
554
+ origin?: {
555
+ sourceFileName?: string | undefined;
556
+ title?: string | undefined;
557
+ previewUrl?: string | undefined;
558
+ valid?: boolean | undefined;
559
+ referenceId?: string | undefined;
560
+ assetId?: string | undefined;
561
+ assetScale?: number | undefined;
562
+ width?: number | undefined;
563
+ height?: number | undefined;
564
+ } | undefined;
565
+ };
566
+ url?: string | undefined;
567
+ } | undefined;
568
+ minHeight?: number | undefined;
569
+ };
570
+ }, {
571
+ showSidebar: boolean;
572
+ header: {
573
+ description: string;
574
+ alignment: "Center" | "Left";
575
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
576
+ showBackgroundOverlay: boolean;
577
+ showCoverText: boolean;
578
+ foregroundColor?: {
579
+ aliasTo?: string | null | undefined;
580
+ value?: {
581
+ opacity: {
582
+ aliasTo?: string | null | undefined;
583
+ value?: {
584
+ unit: "Pixels" | "Raw";
585
+ measure: number;
586
+ } | null | undefined;
587
+ };
588
+ color: (string | {
589
+ aliasTo?: string | null | undefined;
590
+ }) & (string | {
591
+ aliasTo?: string | null | undefined;
592
+ } | undefined);
593
+ } | null | undefined;
594
+ } | undefined;
595
+ backgroundColor?: {
596
+ aliasTo?: string | null | undefined;
597
+ value?: {
598
+ opacity: {
599
+ aliasTo?: string | null | undefined;
600
+ value?: {
601
+ unit: "Pixels" | "Raw";
602
+ measure: number;
603
+ } | null | undefined;
604
+ };
605
+ color: (string | {
606
+ aliasTo?: string | null | undefined;
607
+ }) & (string | {
608
+ aliasTo?: string | null | undefined;
609
+ } | undefined);
610
+ } | null | undefined;
611
+ } | undefined;
612
+ backgroundImageAsset?: {
613
+ id: string;
614
+ type: "image";
615
+ url?: string | undefined;
616
+ } | {
617
+ type: "figmaFrame";
618
+ figmaFrame: {
619
+ persistentId: string;
620
+ sourceId: string;
621
+ sourceFrameId: string;
622
+ title?: string | null | undefined;
623
+ description?: string | null | undefined;
624
+ backgroundColor?: {
625
+ value: string;
626
+ } | null | undefined;
627
+ origin?: {
628
+ sourceFileName?: string | null | undefined;
629
+ title?: string | null | undefined;
630
+ previewUrl?: string | null | undefined;
631
+ valid?: boolean | null | undefined;
632
+ referenceId?: string | null | undefined;
633
+ assetId?: string | null | undefined;
634
+ assetScale?: number | null | undefined;
635
+ width?: number | null | undefined;
636
+ height?: number | null | undefined;
637
+ } | null | undefined;
638
+ };
639
+ url?: string | undefined;
640
+ } | undefined;
641
+ minHeight?: number | undefined;
642
+ };
643
+ }>;
644
+ parentPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
645
+ afterPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
646
+ }, "strip", z.ZodTypeAny, {
647
+ persistentId: string;
648
+ title: string;
649
+ configuration: {
650
+ showSidebar: boolean;
651
+ header: {
652
+ description: string;
653
+ alignment: "Center" | "Left";
654
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
655
+ showBackgroundOverlay: boolean;
656
+ showCoverText: boolean;
657
+ foregroundColor?: {
658
+ aliasTo?: string | undefined;
659
+ value?: {
660
+ opacity: {
661
+ aliasTo?: string | undefined;
662
+ value?: {
663
+ unit: "Pixels" | "Raw";
664
+ measure: number;
665
+ } | undefined;
666
+ };
667
+ color: (string | {
668
+ aliasTo?: string | undefined;
669
+ }) & (string | {
670
+ aliasTo?: string | undefined;
671
+ } | undefined);
672
+ } | undefined;
673
+ } | undefined;
674
+ backgroundColor?: {
675
+ aliasTo?: string | undefined;
676
+ value?: {
677
+ opacity: {
678
+ aliasTo?: string | undefined;
679
+ value?: {
680
+ unit: "Pixels" | "Raw";
681
+ measure: number;
682
+ } | undefined;
683
+ };
684
+ color: (string | {
685
+ aliasTo?: string | undefined;
686
+ }) & (string | {
687
+ aliasTo?: string | undefined;
688
+ } | undefined);
689
+ } | undefined;
690
+ } | undefined;
691
+ backgroundImageAsset?: {
692
+ id: string;
693
+ type: "image";
694
+ url?: string | undefined;
695
+ } | {
696
+ type: "figmaFrame";
697
+ figmaFrame: {
698
+ persistentId: string;
699
+ sourceId: string;
700
+ sourceFrameId: string;
701
+ title?: string | undefined;
702
+ description?: string | undefined;
703
+ backgroundColor?: {
704
+ value: string;
705
+ } | undefined;
706
+ origin?: {
707
+ sourceFileName?: string | undefined;
708
+ title?: string | undefined;
709
+ previewUrl?: string | undefined;
710
+ valid?: boolean | undefined;
711
+ referenceId?: string | undefined;
712
+ assetId?: string | undefined;
713
+ assetScale?: number | undefined;
714
+ width?: number | undefined;
715
+ height?: number | undefined;
716
+ } | undefined;
717
+ };
718
+ url?: string | undefined;
719
+ } | undefined;
720
+ minHeight?: number | undefined;
721
+ };
722
+ };
723
+ parentPersistentId?: string | null | undefined;
724
+ afterPersistentId?: string | null | undefined;
725
+ }, {
726
+ persistentId: string;
727
+ title: string;
728
+ configuration: {
729
+ showSidebar: boolean;
730
+ header: {
731
+ description: string;
732
+ alignment: "Center" | "Left";
733
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
734
+ showBackgroundOverlay: boolean;
735
+ showCoverText: boolean;
736
+ foregroundColor?: {
737
+ aliasTo?: string | null | undefined;
738
+ value?: {
739
+ opacity: {
740
+ aliasTo?: string | null | undefined;
741
+ value?: {
742
+ unit: "Pixels" | "Raw";
743
+ measure: number;
744
+ } | null | undefined;
745
+ };
746
+ color: (string | {
747
+ aliasTo?: string | null | undefined;
748
+ }) & (string | {
749
+ aliasTo?: string | null | undefined;
750
+ } | undefined);
751
+ } | null | undefined;
752
+ } | undefined;
753
+ backgroundColor?: {
754
+ aliasTo?: string | null | undefined;
755
+ value?: {
756
+ opacity: {
757
+ aliasTo?: string | null | undefined;
758
+ value?: {
759
+ unit: "Pixels" | "Raw";
760
+ measure: number;
761
+ } | null | undefined;
762
+ };
763
+ color: (string | {
764
+ aliasTo?: string | null | undefined;
765
+ }) & (string | {
766
+ aliasTo?: string | null | undefined;
767
+ } | undefined);
768
+ } | null | undefined;
769
+ } | undefined;
770
+ backgroundImageAsset?: {
771
+ id: string;
772
+ type: "image";
773
+ url?: string | undefined;
774
+ } | {
775
+ type: "figmaFrame";
776
+ figmaFrame: {
777
+ persistentId: string;
778
+ sourceId: string;
779
+ sourceFrameId: string;
780
+ title?: string | null | undefined;
781
+ description?: string | null | undefined;
782
+ backgroundColor?: {
783
+ value: string;
784
+ } | null | undefined;
785
+ origin?: {
786
+ sourceFileName?: string | null | undefined;
787
+ title?: string | null | undefined;
788
+ previewUrl?: string | null | undefined;
789
+ valid?: boolean | null | undefined;
790
+ referenceId?: string | null | undefined;
791
+ assetId?: string | null | undefined;
792
+ assetScale?: number | null | undefined;
793
+ width?: number | null | undefined;
794
+ height?: number | null | undefined;
795
+ } | null | undefined;
796
+ };
797
+ url?: string | undefined;
798
+ } | undefined;
799
+ minHeight?: number | undefined;
800
+ };
801
+ };
802
+ parentPersistentId?: string | null | undefined;
803
+ afterPersistentId?: string | null | undefined;
804
+ }>;
805
+ type CreateBulkElementsInput = z.infer<typeof CreateBulkElementsInput>;
806
+ declare const UpdateBulkElementsInput: z.ZodObject<{
807
+ id: z.ZodString;
808
+ title: z.ZodOptional<z.ZodString>;
809
+ configuration: z.ZodOptional<z.ZodObject<{
810
+ showSidebar: z.ZodBoolean;
811
+ header: z.ZodObject<{
812
+ description: z.ZodString;
813
+ alignment: z.ZodEnum<["Left", "Center"]>;
814
+ foregroundColor: z.ZodOptional<z.ZodObject<{
815
+ aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
816
+ value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
817
+ opacity: {
818
+ aliasTo?: string | undefined;
819
+ value?: {
820
+ unit: "Pixels" | "Raw";
821
+ measure: number;
822
+ } | undefined;
823
+ };
824
+ color: (string | {
825
+ aliasTo?: string | undefined;
826
+ }) & (string | {
827
+ aliasTo?: string | undefined;
828
+ } | undefined);
829
+ }, z.ZodTypeDef, {
830
+ opacity: {
831
+ aliasTo?: string | null | undefined;
832
+ value?: {
833
+ unit: "Pixels" | "Raw";
834
+ measure: number;
835
+ } | null | undefined;
836
+ };
837
+ color: (string | {
838
+ aliasTo?: string | null | undefined;
839
+ }) & (string | {
840
+ aliasTo?: string | null | undefined;
841
+ } | undefined);
842
+ }>>>, {
843
+ opacity: {
844
+ aliasTo?: string | undefined;
845
+ value?: {
846
+ unit: "Pixels" | "Raw";
847
+ measure: number;
848
+ } | undefined;
849
+ };
850
+ color: (string | {
851
+ aliasTo?: string | undefined;
852
+ }) & (string | {
853
+ aliasTo?: string | undefined;
854
+ } | undefined);
855
+ } | undefined, {
856
+ opacity: {
857
+ aliasTo?: string | null | undefined;
858
+ value?: {
859
+ unit: "Pixels" | "Raw";
860
+ measure: number;
861
+ } | null | undefined;
862
+ };
863
+ color: (string | {
864
+ aliasTo?: string | null | undefined;
865
+ }) & (string | {
866
+ aliasTo?: string | null | undefined;
867
+ } | undefined);
868
+ } | null | undefined>;
869
+ }, "strip", z.ZodTypeAny, {
870
+ aliasTo?: string | undefined;
871
+ value?: {
872
+ opacity: {
873
+ aliasTo?: string | undefined;
874
+ value?: {
875
+ unit: "Pixels" | "Raw";
876
+ measure: number;
877
+ } | undefined;
878
+ };
879
+ color: (string | {
880
+ aliasTo?: string | undefined;
881
+ }) & (string | {
882
+ aliasTo?: string | undefined;
883
+ } | undefined);
884
+ } | undefined;
885
+ }, {
886
+ aliasTo?: string | null | undefined;
887
+ value?: {
888
+ opacity: {
889
+ aliasTo?: string | null | undefined;
890
+ value?: {
891
+ unit: "Pixels" | "Raw";
892
+ measure: number;
893
+ } | null | undefined;
894
+ };
895
+ color: (string | {
896
+ aliasTo?: string | null | undefined;
897
+ }) & (string | {
898
+ aliasTo?: string | null | undefined;
899
+ } | undefined);
900
+ } | null | undefined;
901
+ }>>;
902
+ backgroundColor: z.ZodOptional<z.ZodObject<{
903
+ aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
904
+ value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
905
+ opacity: {
906
+ aliasTo?: string | undefined;
907
+ value?: {
908
+ unit: "Pixels" | "Raw";
909
+ measure: number;
910
+ } | undefined;
911
+ };
912
+ color: (string | {
913
+ aliasTo?: string | undefined;
914
+ }) & (string | {
915
+ aliasTo?: string | undefined;
916
+ } | undefined);
917
+ }, z.ZodTypeDef, {
918
+ opacity: {
919
+ aliasTo?: string | null | undefined;
920
+ value?: {
921
+ unit: "Pixels" | "Raw";
922
+ measure: number;
923
+ } | null | undefined;
924
+ };
925
+ color: (string | {
926
+ aliasTo?: string | null | undefined;
927
+ }) & (string | {
928
+ aliasTo?: string | null | undefined;
929
+ } | undefined);
930
+ }>>>, {
931
+ opacity: {
932
+ aliasTo?: string | undefined;
933
+ value?: {
934
+ unit: "Pixels" | "Raw";
935
+ measure: number;
936
+ } | undefined;
937
+ };
938
+ color: (string | {
939
+ aliasTo?: string | undefined;
940
+ }) & (string | {
941
+ aliasTo?: string | undefined;
942
+ } | undefined);
943
+ } | undefined, {
944
+ opacity: {
945
+ aliasTo?: string | null | undefined;
946
+ value?: {
947
+ unit: "Pixels" | "Raw";
948
+ measure: number;
949
+ } | null | undefined;
950
+ };
951
+ color: (string | {
952
+ aliasTo?: string | null | undefined;
953
+ }) & (string | {
954
+ aliasTo?: string | null | undefined;
955
+ } | undefined);
956
+ } | null | undefined>;
957
+ }, "strip", z.ZodTypeAny, {
958
+ aliasTo?: string | undefined;
959
+ value?: {
960
+ opacity: {
961
+ aliasTo?: string | undefined;
962
+ value?: {
963
+ unit: "Pixels" | "Raw";
964
+ measure: number;
965
+ } | undefined;
966
+ };
967
+ color: (string | {
968
+ aliasTo?: string | undefined;
969
+ }) & (string | {
970
+ aliasTo?: string | undefined;
971
+ } | undefined);
972
+ } | undefined;
973
+ }, {
974
+ aliasTo?: string | null | undefined;
975
+ value?: {
976
+ opacity: {
977
+ aliasTo?: string | null | undefined;
978
+ value?: {
979
+ unit: "Pixels" | "Raw";
980
+ measure: number;
981
+ } | null | undefined;
982
+ };
983
+ color: (string | {
984
+ aliasTo?: string | null | undefined;
985
+ }) & (string | {
986
+ aliasTo?: string | null | undefined;
987
+ } | undefined);
988
+ } | null | undefined;
989
+ }>>;
990
+ backgroundImageAsset: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
991
+ type: z.ZodLiteral<"image">;
992
+ url: z.ZodOptional<z.ZodString>;
993
+ id: z.ZodEffects<z.ZodString, string, string>;
994
+ }, "strip", z.ZodTypeAny, {
995
+ id: string;
996
+ type: "image";
997
+ url?: string | undefined;
998
+ }, {
999
+ id: string;
1000
+ type: "image";
1001
+ url?: string | undefined;
1002
+ }>, z.ZodObject<{
1003
+ type: z.ZodLiteral<"figmaFrame">;
1004
+ url: z.ZodOptional<z.ZodString>;
1005
+ figmaFrame: z.ZodObject<{
1006
+ persistentId: z.ZodString;
1007
+ sourceId: z.ZodString;
1008
+ sourceFrameId: z.ZodString;
1009
+ title: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1010
+ description: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1011
+ backgroundColor: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
1012
+ value: string;
1013
+ }, z.ZodTypeDef, {
1014
+ value: string;
1015
+ }>>>, {
1016
+ value: string;
1017
+ } | undefined, {
1018
+ value: string;
1019
+ } | null | undefined>;
1020
+ origin: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
1021
+ sourceFileName?: string | undefined;
1022
+ title?: string | undefined;
1023
+ previewUrl?: string | undefined;
1024
+ valid?: boolean | undefined;
1025
+ referenceId?: string | undefined;
1026
+ assetId?: string | undefined;
1027
+ assetScale?: number | undefined;
1028
+ width?: number | undefined;
1029
+ height?: number | undefined;
1030
+ }, z.ZodTypeDef, {
1031
+ sourceFileName?: string | null | undefined;
1032
+ title?: string | null | undefined;
1033
+ previewUrl?: string | null | undefined;
1034
+ valid?: boolean | null | undefined;
1035
+ referenceId?: string | null | undefined;
1036
+ assetId?: string | null | undefined;
1037
+ assetScale?: number | null | undefined;
1038
+ width?: number | null | undefined;
1039
+ height?: number | null | undefined;
1040
+ }>>>, {
1041
+ sourceFileName?: string | undefined;
1042
+ title?: string | undefined;
1043
+ previewUrl?: string | undefined;
1044
+ valid?: boolean | undefined;
1045
+ referenceId?: string | undefined;
1046
+ assetId?: string | undefined;
1047
+ assetScale?: number | undefined;
1048
+ width?: number | undefined;
1049
+ height?: number | undefined;
1050
+ } | undefined, {
1051
+ sourceFileName?: string | null | undefined;
1052
+ title?: string | null | undefined;
1053
+ previewUrl?: string | null | undefined;
1054
+ valid?: boolean | null | undefined;
1055
+ referenceId?: string | null | undefined;
1056
+ assetId?: string | null | undefined;
1057
+ assetScale?: number | null | undefined;
1058
+ width?: number | null | undefined;
1059
+ height?: number | null | undefined;
1060
+ } | null | undefined>;
1061
+ }, "strip", z.ZodTypeAny, {
1062
+ persistentId: string;
1063
+ sourceId: string;
1064
+ sourceFrameId: string;
1065
+ title?: string | undefined;
1066
+ description?: string | undefined;
1067
+ backgroundColor?: {
1068
+ value: string;
1069
+ } | undefined;
1070
+ origin?: {
1071
+ sourceFileName?: string | undefined;
1072
+ title?: string | undefined;
1073
+ previewUrl?: string | undefined;
1074
+ valid?: boolean | undefined;
1075
+ referenceId?: string | undefined;
1076
+ assetId?: string | undefined;
1077
+ assetScale?: number | undefined;
1078
+ width?: number | undefined;
1079
+ height?: number | undefined;
1080
+ } | undefined;
1081
+ }, {
1082
+ persistentId: string;
1083
+ sourceId: string;
1084
+ sourceFrameId: string;
1085
+ title?: string | null | undefined;
1086
+ description?: string | null | undefined;
1087
+ backgroundColor?: {
1088
+ value: string;
1089
+ } | null | undefined;
1090
+ origin?: {
1091
+ sourceFileName?: string | null | undefined;
1092
+ title?: string | null | undefined;
1093
+ previewUrl?: string | null | undefined;
1094
+ valid?: boolean | null | undefined;
1095
+ referenceId?: string | null | undefined;
1096
+ assetId?: string | null | undefined;
1097
+ assetScale?: number | null | undefined;
1098
+ width?: number | null | undefined;
1099
+ height?: number | null | undefined;
1100
+ } | null | undefined;
1101
+ }>;
1102
+ }, "strip", z.ZodTypeAny, {
1103
+ type: "figmaFrame";
1104
+ figmaFrame: {
1105
+ persistentId: string;
1106
+ sourceId: string;
1107
+ sourceFrameId: string;
1108
+ title?: string | undefined;
1109
+ description?: string | undefined;
1110
+ backgroundColor?: {
1111
+ value: string;
1112
+ } | undefined;
1113
+ origin?: {
1114
+ sourceFileName?: string | undefined;
1115
+ title?: string | undefined;
1116
+ previewUrl?: string | undefined;
1117
+ valid?: boolean | undefined;
1118
+ referenceId?: string | undefined;
1119
+ assetId?: string | undefined;
1120
+ assetScale?: number | undefined;
1121
+ width?: number | undefined;
1122
+ height?: number | undefined;
1123
+ } | undefined;
1124
+ };
1125
+ url?: string | undefined;
1126
+ }, {
1127
+ type: "figmaFrame";
1128
+ figmaFrame: {
1129
+ persistentId: string;
1130
+ sourceId: string;
1131
+ sourceFrameId: string;
1132
+ title?: string | null | undefined;
1133
+ description?: string | null | undefined;
1134
+ backgroundColor?: {
1135
+ value: string;
1136
+ } | null | undefined;
1137
+ origin?: {
1138
+ sourceFileName?: string | null | undefined;
1139
+ title?: string | null | undefined;
1140
+ previewUrl?: string | null | undefined;
1141
+ valid?: boolean | null | undefined;
1142
+ referenceId?: string | null | undefined;
1143
+ assetId?: string | null | undefined;
1144
+ assetScale?: number | null | undefined;
1145
+ width?: number | null | undefined;
1146
+ height?: number | null | undefined;
1147
+ } | null | undefined;
1148
+ };
1149
+ url?: string | undefined;
1150
+ }>]>>;
1151
+ backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
1152
+ showBackgroundOverlay: z.ZodBoolean;
1153
+ showCoverText: z.ZodBoolean;
1154
+ minHeight: z.ZodOptional<z.ZodNumber>;
1155
+ }, "strip", z.ZodTypeAny, {
1156
+ description: string;
1157
+ alignment: "Center" | "Left";
1158
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1159
+ showBackgroundOverlay: boolean;
1160
+ showCoverText: boolean;
1161
+ foregroundColor?: {
1162
+ aliasTo?: string | undefined;
1163
+ value?: {
1164
+ opacity: {
1165
+ aliasTo?: string | undefined;
1166
+ value?: {
1167
+ unit: "Pixels" | "Raw";
1168
+ measure: number;
1169
+ } | undefined;
1170
+ };
1171
+ color: (string | {
1172
+ aliasTo?: string | undefined;
1173
+ }) & (string | {
1174
+ aliasTo?: string | undefined;
1175
+ } | undefined);
1176
+ } | undefined;
1177
+ } | undefined;
1178
+ backgroundColor?: {
1179
+ aliasTo?: string | undefined;
1180
+ value?: {
1181
+ opacity: {
1182
+ aliasTo?: string | undefined;
1183
+ value?: {
1184
+ unit: "Pixels" | "Raw";
1185
+ measure: number;
1186
+ } | undefined;
1187
+ };
1188
+ color: (string | {
1189
+ aliasTo?: string | undefined;
1190
+ }) & (string | {
1191
+ aliasTo?: string | undefined;
1192
+ } | undefined);
1193
+ } | undefined;
1194
+ } | undefined;
1195
+ backgroundImageAsset?: {
1196
+ id: string;
1197
+ type: "image";
1198
+ url?: string | undefined;
1199
+ } | {
1200
+ type: "figmaFrame";
1201
+ figmaFrame: {
1202
+ persistentId: string;
1203
+ sourceId: string;
1204
+ sourceFrameId: string;
1205
+ title?: string | undefined;
1206
+ description?: string | undefined;
1207
+ backgroundColor?: {
1208
+ value: string;
1209
+ } | undefined;
1210
+ origin?: {
1211
+ sourceFileName?: string | undefined;
1212
+ title?: string | undefined;
1213
+ previewUrl?: string | undefined;
1214
+ valid?: boolean | undefined;
1215
+ referenceId?: string | undefined;
1216
+ assetId?: string | undefined;
1217
+ assetScale?: number | undefined;
1218
+ width?: number | undefined;
1219
+ height?: number | undefined;
1220
+ } | undefined;
1221
+ };
1222
+ url?: string | undefined;
1223
+ } | undefined;
1224
+ minHeight?: number | undefined;
1225
+ }, {
1226
+ description: string;
1227
+ alignment: "Center" | "Left";
1228
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1229
+ showBackgroundOverlay: boolean;
1230
+ showCoverText: boolean;
1231
+ foregroundColor?: {
1232
+ aliasTo?: string | null | undefined;
1233
+ value?: {
1234
+ opacity: {
1235
+ aliasTo?: string | null | undefined;
1236
+ value?: {
1237
+ unit: "Pixels" | "Raw";
1238
+ measure: number;
1239
+ } | null | undefined;
1240
+ };
1241
+ color: (string | {
1242
+ aliasTo?: string | null | undefined;
1243
+ }) & (string | {
1244
+ aliasTo?: string | null | undefined;
1245
+ } | undefined);
1246
+ } | null | undefined;
1247
+ } | undefined;
1248
+ backgroundColor?: {
1249
+ aliasTo?: string | null | undefined;
1250
+ value?: {
1251
+ opacity: {
1252
+ aliasTo?: string | null | undefined;
1253
+ value?: {
1254
+ unit: "Pixels" | "Raw";
1255
+ measure: number;
1256
+ } | null | undefined;
1257
+ };
1258
+ color: (string | {
1259
+ aliasTo?: string | null | undefined;
1260
+ }) & (string | {
1261
+ aliasTo?: string | null | undefined;
1262
+ } | undefined);
1263
+ } | null | undefined;
1264
+ } | undefined;
1265
+ backgroundImageAsset?: {
1266
+ id: string;
1267
+ type: "image";
1268
+ url?: string | undefined;
1269
+ } | {
1270
+ type: "figmaFrame";
1271
+ figmaFrame: {
1272
+ persistentId: string;
1273
+ sourceId: string;
1274
+ sourceFrameId: string;
1275
+ title?: string | null | undefined;
1276
+ description?: string | null | undefined;
1277
+ backgroundColor?: {
1278
+ value: string;
1279
+ } | null | undefined;
1280
+ origin?: {
1281
+ sourceFileName?: string | null | undefined;
1282
+ title?: string | null | undefined;
1283
+ previewUrl?: string | null | undefined;
1284
+ valid?: boolean | null | undefined;
1285
+ referenceId?: string | null | undefined;
1286
+ assetId?: string | null | undefined;
1287
+ assetScale?: number | null | undefined;
1288
+ width?: number | null | undefined;
1289
+ height?: number | null | undefined;
1290
+ } | null | undefined;
1291
+ };
1292
+ url?: string | undefined;
1293
+ } | undefined;
1294
+ minHeight?: number | undefined;
1295
+ }>;
1296
+ }, "strip", z.ZodTypeAny, {
1297
+ showSidebar: boolean;
1298
+ header: {
1299
+ description: string;
1300
+ alignment: "Center" | "Left";
1301
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1302
+ showBackgroundOverlay: boolean;
1303
+ showCoverText: boolean;
1304
+ foregroundColor?: {
1305
+ aliasTo?: string | undefined;
1306
+ value?: {
1307
+ opacity: {
1308
+ aliasTo?: string | undefined;
1309
+ value?: {
1310
+ unit: "Pixels" | "Raw";
1311
+ measure: number;
1312
+ } | undefined;
1313
+ };
1314
+ color: (string | {
1315
+ aliasTo?: string | undefined;
1316
+ }) & (string | {
1317
+ aliasTo?: string | undefined;
1318
+ } | undefined);
1319
+ } | undefined;
1320
+ } | undefined;
1321
+ backgroundColor?: {
1322
+ aliasTo?: string | undefined;
1323
+ value?: {
1324
+ opacity: {
1325
+ aliasTo?: string | undefined;
1326
+ value?: {
1327
+ unit: "Pixels" | "Raw";
1328
+ measure: number;
1329
+ } | undefined;
1330
+ };
1331
+ color: (string | {
1332
+ aliasTo?: string | undefined;
1333
+ }) & (string | {
1334
+ aliasTo?: string | undefined;
1335
+ } | undefined);
1336
+ } | undefined;
1337
+ } | undefined;
1338
+ backgroundImageAsset?: {
1339
+ id: string;
1340
+ type: "image";
1341
+ url?: string | undefined;
1342
+ } | {
1343
+ type: "figmaFrame";
1344
+ figmaFrame: {
1345
+ persistentId: string;
1346
+ sourceId: string;
1347
+ sourceFrameId: string;
1348
+ title?: string | undefined;
1349
+ description?: string | undefined;
1350
+ backgroundColor?: {
1351
+ value: string;
1352
+ } | undefined;
1353
+ origin?: {
1354
+ sourceFileName?: string | undefined;
1355
+ title?: string | undefined;
1356
+ previewUrl?: string | undefined;
1357
+ valid?: boolean | undefined;
1358
+ referenceId?: string | undefined;
1359
+ assetId?: string | undefined;
1360
+ assetScale?: number | undefined;
1361
+ width?: number | undefined;
1362
+ height?: number | undefined;
1363
+ } | undefined;
1364
+ };
1365
+ url?: string | undefined;
1366
+ } | undefined;
1367
+ minHeight?: number | undefined;
1368
+ };
1369
+ }, {
1370
+ showSidebar: boolean;
1371
+ header: {
1372
+ description: string;
1373
+ alignment: "Center" | "Left";
1374
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1375
+ showBackgroundOverlay: boolean;
1376
+ showCoverText: boolean;
1377
+ foregroundColor?: {
1378
+ aliasTo?: string | null | undefined;
1379
+ value?: {
1380
+ opacity: {
1381
+ aliasTo?: string | null | undefined;
1382
+ value?: {
1383
+ unit: "Pixels" | "Raw";
1384
+ measure: number;
1385
+ } | null | undefined;
1386
+ };
1387
+ color: (string | {
1388
+ aliasTo?: string | null | undefined;
1389
+ }) & (string | {
1390
+ aliasTo?: string | null | undefined;
1391
+ } | undefined);
1392
+ } | null | undefined;
1393
+ } | undefined;
1394
+ backgroundColor?: {
1395
+ aliasTo?: string | null | undefined;
1396
+ value?: {
1397
+ opacity: {
1398
+ aliasTo?: string | null | undefined;
1399
+ value?: {
1400
+ unit: "Pixels" | "Raw";
1401
+ measure: number;
1402
+ } | null | undefined;
1403
+ };
1404
+ color: (string | {
1405
+ aliasTo?: string | null | undefined;
1406
+ }) & (string | {
1407
+ aliasTo?: string | null | undefined;
1408
+ } | undefined);
1409
+ } | null | undefined;
1410
+ } | undefined;
1411
+ backgroundImageAsset?: {
1412
+ id: string;
1413
+ type: "image";
1414
+ url?: string | undefined;
1415
+ } | {
1416
+ type: "figmaFrame";
1417
+ figmaFrame: {
1418
+ persistentId: string;
1419
+ sourceId: string;
1420
+ sourceFrameId: string;
1421
+ title?: string | null | undefined;
1422
+ description?: string | null | undefined;
1423
+ backgroundColor?: {
1424
+ value: string;
1425
+ } | null | undefined;
1426
+ origin?: {
1427
+ sourceFileName?: string | null | undefined;
1428
+ title?: string | null | undefined;
1429
+ previewUrl?: string | null | undefined;
1430
+ valid?: boolean | null | undefined;
1431
+ referenceId?: string | null | undefined;
1432
+ assetId?: string | null | undefined;
1433
+ assetScale?: number | null | undefined;
1434
+ width?: number | null | undefined;
1435
+ height?: number | null | undefined;
1436
+ } | null | undefined;
1437
+ };
1438
+ url?: string | undefined;
1439
+ } | undefined;
1440
+ minHeight?: number | undefined;
1441
+ };
1442
+ }>>;
1443
+ parentPersistentId: z.ZodOptional<z.ZodString>;
1444
+ afterPersistentId: z.ZodOptional<z.ZodString>;
1445
+ }, "strip", z.ZodTypeAny, {
1446
+ id: string;
1447
+ title?: string | undefined;
1448
+ configuration?: {
1449
+ showSidebar: boolean;
1450
+ header: {
1451
+ description: string;
1452
+ alignment: "Center" | "Left";
1453
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1454
+ showBackgroundOverlay: boolean;
1455
+ showCoverText: boolean;
1456
+ foregroundColor?: {
1457
+ aliasTo?: string | undefined;
1458
+ value?: {
1459
+ opacity: {
1460
+ aliasTo?: string | undefined;
1461
+ value?: {
1462
+ unit: "Pixels" | "Raw";
1463
+ measure: number;
1464
+ } | undefined;
1465
+ };
1466
+ color: (string | {
1467
+ aliasTo?: string | undefined;
1468
+ }) & (string | {
1469
+ aliasTo?: string | undefined;
1470
+ } | undefined);
1471
+ } | undefined;
1472
+ } | undefined;
1473
+ backgroundColor?: {
1474
+ aliasTo?: string | undefined;
1475
+ value?: {
1476
+ opacity: {
1477
+ aliasTo?: string | undefined;
1478
+ value?: {
1479
+ unit: "Pixels" | "Raw";
1480
+ measure: number;
1481
+ } | undefined;
1482
+ };
1483
+ color: (string | {
1484
+ aliasTo?: string | undefined;
1485
+ }) & (string | {
1486
+ aliasTo?: string | undefined;
1487
+ } | undefined);
1488
+ } | undefined;
1489
+ } | undefined;
1490
+ backgroundImageAsset?: {
1491
+ id: string;
1492
+ type: "image";
1493
+ url?: string | undefined;
1494
+ } | {
1495
+ type: "figmaFrame";
1496
+ figmaFrame: {
1497
+ persistentId: string;
1498
+ sourceId: string;
1499
+ sourceFrameId: string;
1500
+ title?: string | undefined;
1501
+ description?: string | undefined;
1502
+ backgroundColor?: {
1503
+ value: string;
1504
+ } | undefined;
1505
+ origin?: {
1506
+ sourceFileName?: string | undefined;
1507
+ title?: string | undefined;
1508
+ previewUrl?: string | undefined;
1509
+ valid?: boolean | undefined;
1510
+ referenceId?: string | undefined;
1511
+ assetId?: string | undefined;
1512
+ assetScale?: number | undefined;
1513
+ width?: number | undefined;
1514
+ height?: number | undefined;
1515
+ } | undefined;
1516
+ };
1517
+ url?: string | undefined;
1518
+ } | undefined;
1519
+ minHeight?: number | undefined;
1520
+ };
1521
+ } | undefined;
1522
+ parentPersistentId?: string | undefined;
1523
+ afterPersistentId?: string | undefined;
1524
+ }, {
1525
+ id: string;
1526
+ title?: string | undefined;
1527
+ configuration?: {
1528
+ showSidebar: boolean;
1529
+ header: {
1530
+ description: string;
1531
+ alignment: "Center" | "Left";
1532
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1533
+ showBackgroundOverlay: boolean;
1534
+ showCoverText: boolean;
1535
+ foregroundColor?: {
1536
+ aliasTo?: string | null | undefined;
1537
+ value?: {
1538
+ opacity: {
1539
+ aliasTo?: string | null | undefined;
1540
+ value?: {
1541
+ unit: "Pixels" | "Raw";
1542
+ measure: number;
1543
+ } | null | undefined;
1544
+ };
1545
+ color: (string | {
1546
+ aliasTo?: string | null | undefined;
1547
+ }) & (string | {
1548
+ aliasTo?: string | null | undefined;
1549
+ } | undefined);
1550
+ } | null | undefined;
1551
+ } | undefined;
1552
+ backgroundColor?: {
1553
+ aliasTo?: string | null | undefined;
1554
+ value?: {
1555
+ opacity: {
1556
+ aliasTo?: string | null | undefined;
1557
+ value?: {
1558
+ unit: "Pixels" | "Raw";
1559
+ measure: number;
1560
+ } | null | undefined;
1561
+ };
1562
+ color: (string | {
1563
+ aliasTo?: string | null | undefined;
1564
+ }) & (string | {
1565
+ aliasTo?: string | null | undefined;
1566
+ } | undefined);
1567
+ } | null | undefined;
1568
+ } | undefined;
1569
+ backgroundImageAsset?: {
1570
+ id: string;
1571
+ type: "image";
1572
+ url?: string | undefined;
1573
+ } | {
1574
+ type: "figmaFrame";
1575
+ figmaFrame: {
1576
+ persistentId: string;
1577
+ sourceId: string;
1578
+ sourceFrameId: string;
1579
+ title?: string | null | undefined;
1580
+ description?: string | null | undefined;
1581
+ backgroundColor?: {
1582
+ value: string;
1583
+ } | null | undefined;
1584
+ origin?: {
1585
+ sourceFileName?: string | null | undefined;
1586
+ title?: string | null | undefined;
1587
+ previewUrl?: string | null | undefined;
1588
+ valid?: boolean | null | undefined;
1589
+ referenceId?: string | null | undefined;
1590
+ assetId?: string | null | undefined;
1591
+ assetScale?: number | null | undefined;
1592
+ width?: number | null | undefined;
1593
+ height?: number | null | undefined;
1594
+ } | null | undefined;
1595
+ };
1596
+ url?: string | undefined;
1597
+ } | undefined;
1598
+ minHeight?: number | undefined;
1599
+ };
1600
+ } | undefined;
1601
+ parentPersistentId?: string | undefined;
1602
+ afterPersistentId?: string | undefined;
1603
+ }>;
1604
+ type UpdateBulkElementsInput = z.infer<typeof UpdateBulkElementsInput>;
1605
+ declare const DeleteBulkElementsInput: z.ZodArray<z.ZodString, "many">;
1606
+ type DeleteBulkElementsInput = z.infer<typeof DeleteBulkElementsInput>;
1607
+ declare const DuplicateBulkElementsInput: z.ZodObject<{
1608
+ id: z.ZodString;
1609
+ persistentId: z.ZodString;
1610
+ parentPersistentId: z.ZodString;
1611
+ afterPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1612
+ }, "strip", z.ZodTypeAny, {
1613
+ persistentId: string;
1614
+ parentPersistentId: string;
1615
+ id: string;
1616
+ afterPersistentId?: string | null | undefined;
1617
+ }, {
1618
+ persistentId: string;
1619
+ parentPersistentId: string;
1620
+ id: string;
1621
+ afterPersistentId?: string | null | undefined;
1622
+ }>;
1623
+ type DuplicateBulkElementsInput = z.infer<typeof DuplicateBulkElementsInput>;
1624
+ declare const BulkEditDocPageElementsInput: z.ZodObject<{
1625
+ documentationPages: z.ZodObject<{
1626
+ create: z.ZodOptional<z.ZodArray<z.ZodObject<{
1627
+ persistentId: z.ZodString;
1628
+ title: z.ZodString;
1629
+ configuration: z.ZodObject<{
1630
+ showSidebar: z.ZodBoolean;
1631
+ header: z.ZodObject<{
1632
+ description: z.ZodString;
1633
+ alignment: z.ZodEnum<["Left", "Center"]>;
1634
+ foregroundColor: z.ZodOptional<z.ZodObject<{
1635
+ aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
1636
+ value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
1637
+ opacity: {
1638
+ aliasTo?: string | undefined;
1639
+ value?: {
1640
+ unit: "Pixels" | "Raw";
1641
+ measure: number;
1642
+ } | undefined;
1643
+ };
1644
+ color: (string | {
1645
+ aliasTo?: string | undefined;
1646
+ }) & (string | {
1647
+ aliasTo?: string | undefined;
1648
+ } | undefined);
1649
+ }, z.ZodTypeDef, {
1650
+ opacity: {
1651
+ aliasTo?: string | null | undefined;
1652
+ value?: {
1653
+ unit: "Pixels" | "Raw";
1654
+ measure: number;
1655
+ } | null | undefined;
1656
+ };
1657
+ color: (string | {
1658
+ aliasTo?: string | null | undefined;
1659
+ }) & (string | {
1660
+ aliasTo?: string | null | undefined;
1661
+ } | undefined);
1662
+ }>>>, {
1663
+ opacity: {
1664
+ aliasTo?: string | undefined;
1665
+ value?: {
1666
+ unit: "Pixels" | "Raw";
1667
+ measure: number;
1668
+ } | undefined;
1669
+ };
1670
+ color: (string | {
1671
+ aliasTo?: string | undefined;
1672
+ }) & (string | {
1673
+ aliasTo?: string | undefined;
1674
+ } | undefined);
1675
+ } | undefined, {
1676
+ opacity: {
1677
+ aliasTo?: string | null | undefined;
1678
+ value?: {
1679
+ unit: "Pixels" | "Raw";
1680
+ measure: number;
1681
+ } | null | undefined;
1682
+ };
1683
+ color: (string | {
1684
+ aliasTo?: string | null | undefined;
1685
+ }) & (string | {
1686
+ aliasTo?: string | null | undefined;
1687
+ } | undefined);
1688
+ } | null | undefined>;
1689
+ }, "strip", z.ZodTypeAny, {
1690
+ aliasTo?: string | undefined;
1691
+ value?: {
1692
+ opacity: {
1693
+ aliasTo?: string | undefined;
1694
+ value?: {
1695
+ unit: "Pixels" | "Raw";
1696
+ measure: number;
1697
+ } | undefined;
1698
+ };
1699
+ color: (string | {
1700
+ aliasTo?: string | undefined;
1701
+ }) & (string | {
1702
+ aliasTo?: string | undefined;
1703
+ } | undefined);
1704
+ } | undefined;
1705
+ }, {
1706
+ aliasTo?: string | null | undefined;
1707
+ value?: {
1708
+ opacity: {
1709
+ aliasTo?: string | null | undefined;
1710
+ value?: {
1711
+ unit: "Pixels" | "Raw";
1712
+ measure: number;
1713
+ } | null | undefined;
1714
+ };
1715
+ color: (string | {
1716
+ aliasTo?: string | null | undefined;
1717
+ }) & (string | {
1718
+ aliasTo?: string | null | undefined;
1719
+ } | undefined);
1720
+ } | null | undefined;
1721
+ }>>;
1722
+ backgroundColor: z.ZodOptional<z.ZodObject<{
1723
+ aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
1724
+ value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
1725
+ opacity: {
1726
+ aliasTo?: string | undefined;
1727
+ value?: {
1728
+ unit: "Pixels" | "Raw";
1729
+ measure: number;
1730
+ } | undefined;
1731
+ };
1732
+ color: (string | {
1733
+ aliasTo?: string | undefined;
1734
+ }) & (string | {
1735
+ aliasTo?: string | undefined;
1736
+ } | undefined);
1737
+ }, z.ZodTypeDef, {
1738
+ opacity: {
1739
+ aliasTo?: string | null | undefined;
1740
+ value?: {
1741
+ unit: "Pixels" | "Raw";
1742
+ measure: number;
1743
+ } | null | undefined;
1744
+ };
1745
+ color: (string | {
1746
+ aliasTo?: string | null | undefined;
1747
+ }) & (string | {
1748
+ aliasTo?: string | null | undefined;
1749
+ } | undefined);
1750
+ }>>>, {
1751
+ opacity: {
1752
+ aliasTo?: string | undefined;
1753
+ value?: {
1754
+ unit: "Pixels" | "Raw";
1755
+ measure: number;
1756
+ } | undefined;
1757
+ };
1758
+ color: (string | {
1759
+ aliasTo?: string | undefined;
1760
+ }) & (string | {
1761
+ aliasTo?: string | undefined;
1762
+ } | undefined);
1763
+ } | undefined, {
1764
+ opacity: {
1765
+ aliasTo?: string | null | undefined;
1766
+ value?: {
1767
+ unit: "Pixels" | "Raw";
1768
+ measure: number;
1769
+ } | null | undefined;
1770
+ };
1771
+ color: (string | {
1772
+ aliasTo?: string | null | undefined;
1773
+ }) & (string | {
1774
+ aliasTo?: string | null | undefined;
1775
+ } | undefined);
1776
+ } | null | undefined>;
1777
+ }, "strip", z.ZodTypeAny, {
1778
+ aliasTo?: string | undefined;
1779
+ value?: {
1780
+ opacity: {
1781
+ aliasTo?: string | undefined;
1782
+ value?: {
1783
+ unit: "Pixels" | "Raw";
1784
+ measure: number;
1785
+ } | undefined;
1786
+ };
1787
+ color: (string | {
1788
+ aliasTo?: string | undefined;
1789
+ }) & (string | {
1790
+ aliasTo?: string | undefined;
1791
+ } | undefined);
1792
+ } | undefined;
1793
+ }, {
1794
+ aliasTo?: string | null | undefined;
1795
+ value?: {
1796
+ opacity: {
1797
+ aliasTo?: string | null | undefined;
1798
+ value?: {
1799
+ unit: "Pixels" | "Raw";
1800
+ measure: number;
1801
+ } | null | undefined;
1802
+ };
1803
+ color: (string | {
1804
+ aliasTo?: string | null | undefined;
1805
+ }) & (string | {
1806
+ aliasTo?: string | null | undefined;
1807
+ } | undefined);
1808
+ } | null | undefined;
1809
+ }>>;
1810
+ backgroundImageAsset: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1811
+ type: z.ZodLiteral<"image">;
1812
+ url: z.ZodOptional<z.ZodString>;
1813
+ id: z.ZodEffects<z.ZodString, string, string>;
1814
+ }, "strip", z.ZodTypeAny, {
1815
+ id: string;
1816
+ type: "image";
1817
+ url?: string | undefined;
1818
+ }, {
1819
+ id: string;
1820
+ type: "image";
1821
+ url?: string | undefined;
1822
+ }>, z.ZodObject<{
1823
+ type: z.ZodLiteral<"figmaFrame">;
1824
+ url: z.ZodOptional<z.ZodString>;
1825
+ figmaFrame: z.ZodObject<{
1826
+ persistentId: z.ZodString;
1827
+ sourceId: z.ZodString;
1828
+ sourceFrameId: z.ZodString;
1829
+ title: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1830
+ description: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1831
+ backgroundColor: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
1832
+ value: string;
1833
+ }, z.ZodTypeDef, {
1834
+ value: string;
1835
+ }>>>, {
1836
+ value: string;
1837
+ } | undefined, {
1838
+ value: string;
1839
+ } | null | undefined>;
1840
+ origin: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
1841
+ sourceFileName?: string | undefined;
1842
+ title?: string | undefined;
1843
+ previewUrl?: string | undefined;
1844
+ valid?: boolean | undefined;
1845
+ referenceId?: string | undefined;
1846
+ assetId?: string | undefined;
1847
+ assetScale?: number | undefined;
1848
+ width?: number | undefined;
1849
+ height?: number | undefined;
1850
+ }, z.ZodTypeDef, {
1851
+ sourceFileName?: string | null | undefined;
1852
+ title?: string | null | undefined;
1853
+ previewUrl?: string | null | undefined;
1854
+ valid?: boolean | null | undefined;
1855
+ referenceId?: string | null | undefined;
1856
+ assetId?: string | null | undefined;
1857
+ assetScale?: number | null | undefined;
1858
+ width?: number | null | undefined;
1859
+ height?: number | null | undefined;
1860
+ }>>>, {
1861
+ sourceFileName?: string | undefined;
1862
+ title?: string | undefined;
1863
+ previewUrl?: string | undefined;
1864
+ valid?: boolean | undefined;
1865
+ referenceId?: string | undefined;
1866
+ assetId?: string | undefined;
1867
+ assetScale?: number | undefined;
1868
+ width?: number | undefined;
1869
+ height?: number | undefined;
1870
+ } | undefined, {
1871
+ sourceFileName?: string | null | undefined;
1872
+ title?: string | null | undefined;
1873
+ previewUrl?: string | null | undefined;
1874
+ valid?: boolean | null | undefined;
1875
+ referenceId?: string | null | undefined;
1876
+ assetId?: string | null | undefined;
1877
+ assetScale?: number | null | undefined;
1878
+ width?: number | null | undefined;
1879
+ height?: number | null | undefined;
1880
+ } | null | undefined>;
1881
+ }, "strip", z.ZodTypeAny, {
1882
+ persistentId: string;
1883
+ sourceId: string;
1884
+ sourceFrameId: string;
1885
+ title?: string | undefined;
1886
+ description?: string | undefined;
1887
+ backgroundColor?: {
1888
+ value: string;
1889
+ } | undefined;
1890
+ origin?: {
1891
+ sourceFileName?: string | undefined;
1892
+ title?: string | undefined;
1893
+ previewUrl?: string | undefined;
1894
+ valid?: boolean | undefined;
1895
+ referenceId?: string | undefined;
1896
+ assetId?: string | undefined;
1897
+ assetScale?: number | undefined;
1898
+ width?: number | undefined;
1899
+ height?: number | undefined;
1900
+ } | undefined;
1901
+ }, {
1902
+ persistentId: string;
1903
+ sourceId: string;
1904
+ sourceFrameId: string;
1905
+ title?: string | null | undefined;
1906
+ description?: string | null | undefined;
1907
+ backgroundColor?: {
1908
+ value: string;
1909
+ } | null | undefined;
1910
+ origin?: {
1911
+ sourceFileName?: string | null | undefined;
1912
+ title?: string | null | undefined;
1913
+ previewUrl?: string | null | undefined;
1914
+ valid?: boolean | null | undefined;
1915
+ referenceId?: string | null | undefined;
1916
+ assetId?: string | null | undefined;
1917
+ assetScale?: number | null | undefined;
1918
+ width?: number | null | undefined;
1919
+ height?: number | null | undefined;
1920
+ } | null | undefined;
1921
+ }>;
1922
+ }, "strip", z.ZodTypeAny, {
1923
+ type: "figmaFrame";
1924
+ figmaFrame: {
1925
+ persistentId: string;
1926
+ sourceId: string;
1927
+ sourceFrameId: string;
1928
+ title?: string | undefined;
1929
+ description?: string | undefined;
1930
+ backgroundColor?: {
1931
+ value: string;
1932
+ } | undefined;
1933
+ origin?: {
1934
+ sourceFileName?: string | undefined;
1935
+ title?: string | undefined;
1936
+ previewUrl?: string | undefined;
1937
+ valid?: boolean | undefined;
1938
+ referenceId?: string | undefined;
1939
+ assetId?: string | undefined;
1940
+ assetScale?: number | undefined;
1941
+ width?: number | undefined;
1942
+ height?: number | undefined;
1943
+ } | undefined;
1944
+ };
1945
+ url?: string | undefined;
1946
+ }, {
1947
+ type: "figmaFrame";
1948
+ figmaFrame: {
1949
+ persistentId: string;
1950
+ sourceId: string;
1951
+ sourceFrameId: string;
1952
+ title?: string | null | undefined;
1953
+ description?: string | null | undefined;
1954
+ backgroundColor?: {
1955
+ value: string;
1956
+ } | null | undefined;
1957
+ origin?: {
1958
+ sourceFileName?: string | null | undefined;
1959
+ title?: string | null | undefined;
1960
+ previewUrl?: string | null | undefined;
1961
+ valid?: boolean | null | undefined;
1962
+ referenceId?: string | null | undefined;
1963
+ assetId?: string | null | undefined;
1964
+ assetScale?: number | null | undefined;
1965
+ width?: number | null | undefined;
1966
+ height?: number | null | undefined;
1967
+ } | null | undefined;
1968
+ };
1969
+ url?: string | undefined;
1970
+ }>]>>;
1971
+ backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
1972
+ showBackgroundOverlay: z.ZodBoolean;
1973
+ showCoverText: z.ZodBoolean;
1974
+ minHeight: z.ZodOptional<z.ZodNumber>;
1975
+ }, "strip", z.ZodTypeAny, {
1976
+ description: string;
1977
+ alignment: "Center" | "Left";
1978
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
1979
+ showBackgroundOverlay: boolean;
1980
+ showCoverText: boolean;
1981
+ foregroundColor?: {
1982
+ aliasTo?: string | undefined;
1983
+ value?: {
1984
+ opacity: {
1985
+ aliasTo?: string | undefined;
1986
+ value?: {
1987
+ unit: "Pixels" | "Raw";
1988
+ measure: number;
1989
+ } | undefined;
1990
+ };
1991
+ color: (string | {
1992
+ aliasTo?: string | undefined;
1993
+ }) & (string | {
1994
+ aliasTo?: string | undefined;
1995
+ } | undefined);
1996
+ } | undefined;
1997
+ } | undefined;
1998
+ backgroundColor?: {
1999
+ aliasTo?: string | undefined;
2000
+ value?: {
2001
+ opacity: {
2002
+ aliasTo?: string | undefined;
2003
+ value?: {
2004
+ unit: "Pixels" | "Raw";
2005
+ measure: number;
2006
+ } | undefined;
2007
+ };
2008
+ color: (string | {
2009
+ aliasTo?: string | undefined;
2010
+ }) & (string | {
2011
+ aliasTo?: string | undefined;
2012
+ } | undefined);
2013
+ } | undefined;
2014
+ } | undefined;
2015
+ backgroundImageAsset?: {
2016
+ id: string;
2017
+ type: "image";
2018
+ url?: string | undefined;
2019
+ } | {
2020
+ type: "figmaFrame";
2021
+ figmaFrame: {
2022
+ persistentId: string;
2023
+ sourceId: string;
2024
+ sourceFrameId: string;
2025
+ title?: string | undefined;
2026
+ description?: string | undefined;
2027
+ backgroundColor?: {
2028
+ value: string;
2029
+ } | undefined;
2030
+ origin?: {
2031
+ sourceFileName?: string | undefined;
2032
+ title?: string | undefined;
2033
+ previewUrl?: string | undefined;
2034
+ valid?: boolean | undefined;
2035
+ referenceId?: string | undefined;
2036
+ assetId?: string | undefined;
2037
+ assetScale?: number | undefined;
2038
+ width?: number | undefined;
2039
+ height?: number | undefined;
2040
+ } | undefined;
2041
+ };
2042
+ url?: string | undefined;
2043
+ } | undefined;
2044
+ minHeight?: number | undefined;
2045
+ }, {
2046
+ description: string;
2047
+ alignment: "Center" | "Left";
2048
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
2049
+ showBackgroundOverlay: boolean;
2050
+ showCoverText: boolean;
2051
+ foregroundColor?: {
2052
+ aliasTo?: string | null | undefined;
2053
+ value?: {
2054
+ opacity: {
2055
+ aliasTo?: string | null | undefined;
2056
+ value?: {
2057
+ unit: "Pixels" | "Raw";
2058
+ measure: number;
2059
+ } | null | undefined;
2060
+ };
2061
+ color: (string | {
2062
+ aliasTo?: string | null | undefined;
2063
+ }) & (string | {
2064
+ aliasTo?: string | null | undefined;
2065
+ } | undefined);
2066
+ } | null | undefined;
2067
+ } | undefined;
2068
+ backgroundColor?: {
2069
+ aliasTo?: string | null | undefined;
2070
+ value?: {
2071
+ opacity: {
2072
+ aliasTo?: string | null | undefined;
2073
+ value?: {
2074
+ unit: "Pixels" | "Raw";
2075
+ measure: number;
2076
+ } | null | undefined;
2077
+ };
2078
+ color: (string | {
2079
+ aliasTo?: string | null | undefined;
2080
+ }) & (string | {
2081
+ aliasTo?: string | null | undefined;
2082
+ } | undefined);
2083
+ } | null | undefined;
2084
+ } | undefined;
2085
+ backgroundImageAsset?: {
2086
+ id: string;
2087
+ type: "image";
2088
+ url?: string | undefined;
2089
+ } | {
2090
+ type: "figmaFrame";
2091
+ figmaFrame: {
2092
+ persistentId: string;
2093
+ sourceId: string;
2094
+ sourceFrameId: string;
2095
+ title?: string | null | undefined;
2096
+ description?: string | null | undefined;
2097
+ backgroundColor?: {
2098
+ value: string;
2099
+ } | null | undefined;
2100
+ origin?: {
2101
+ sourceFileName?: string | null | undefined;
2102
+ title?: string | null | undefined;
2103
+ previewUrl?: string | null | undefined;
2104
+ valid?: boolean | null | undefined;
2105
+ referenceId?: string | null | undefined;
2106
+ assetId?: string | null | undefined;
2107
+ assetScale?: number | null | undefined;
2108
+ width?: number | null | undefined;
2109
+ height?: number | null | undefined;
2110
+ } | null | undefined;
2111
+ };
2112
+ url?: string | undefined;
2113
+ } | undefined;
2114
+ minHeight?: number | undefined;
2115
+ }>;
2116
+ }, "strip", z.ZodTypeAny, {
2117
+ showSidebar: boolean;
2118
+ header: {
2119
+ description: string;
2120
+ alignment: "Center" | "Left";
2121
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
2122
+ showBackgroundOverlay: boolean;
2123
+ showCoverText: boolean;
2124
+ foregroundColor?: {
2125
+ aliasTo?: string | undefined;
2126
+ value?: {
2127
+ opacity: {
2128
+ aliasTo?: string | undefined;
2129
+ value?: {
2130
+ unit: "Pixels" | "Raw";
2131
+ measure: number;
2132
+ } | undefined;
2133
+ };
2134
+ color: (string | {
2135
+ aliasTo?: string | undefined;
2136
+ }) & (string | {
2137
+ aliasTo?: string | undefined;
2138
+ } | undefined);
2139
+ } | undefined;
2140
+ } | undefined;
2141
+ backgroundColor?: {
2142
+ aliasTo?: string | undefined;
2143
+ value?: {
2144
+ opacity: {
2145
+ aliasTo?: string | undefined;
2146
+ value?: {
2147
+ unit: "Pixels" | "Raw";
2148
+ measure: number;
2149
+ } | undefined;
2150
+ };
2151
+ color: (string | {
2152
+ aliasTo?: string | undefined;
2153
+ }) & (string | {
2154
+ aliasTo?: string | undefined;
2155
+ } | undefined);
2156
+ } | undefined;
2157
+ } | undefined;
2158
+ backgroundImageAsset?: {
2159
+ id: string;
2160
+ type: "image";
2161
+ url?: string | undefined;
2162
+ } | {
2163
+ type: "figmaFrame";
2164
+ figmaFrame: {
2165
+ persistentId: string;
2166
+ sourceId: string;
2167
+ sourceFrameId: string;
2168
+ title?: string | undefined;
2169
+ description?: string | undefined;
2170
+ backgroundColor?: {
2171
+ value: string;
2172
+ } | undefined;
2173
+ origin?: {
2174
+ sourceFileName?: string | undefined;
2175
+ title?: string | undefined;
2176
+ previewUrl?: string | undefined;
2177
+ valid?: boolean | undefined;
2178
+ referenceId?: string | undefined;
2179
+ assetId?: string | undefined;
2180
+ assetScale?: number | undefined;
2181
+ width?: number | undefined;
2182
+ height?: number | undefined;
2183
+ } | undefined;
2184
+ };
2185
+ url?: string | undefined;
2186
+ } | undefined;
2187
+ minHeight?: number | undefined;
2188
+ };
2189
+ }, {
2190
+ showSidebar: boolean;
2191
+ header: {
2192
+ description: string;
2193
+ alignment: "Center" | "Left";
2194
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
2195
+ showBackgroundOverlay: boolean;
2196
+ showCoverText: boolean;
2197
+ foregroundColor?: {
2198
+ aliasTo?: string | null | undefined;
2199
+ value?: {
2200
+ opacity: {
2201
+ aliasTo?: string | null | undefined;
2202
+ value?: {
2203
+ unit: "Pixels" | "Raw";
2204
+ measure: number;
2205
+ } | null | undefined;
2206
+ };
2207
+ color: (string | {
2208
+ aliasTo?: string | null | undefined;
2209
+ }) & (string | {
2210
+ aliasTo?: string | null | undefined;
2211
+ } | undefined);
2212
+ } | null | undefined;
2213
+ } | undefined;
2214
+ backgroundColor?: {
2215
+ aliasTo?: string | null | undefined;
2216
+ value?: {
2217
+ opacity: {
2218
+ aliasTo?: string | null | undefined;
2219
+ value?: {
2220
+ unit: "Pixels" | "Raw";
2221
+ measure: number;
2222
+ } | null | undefined;
2223
+ };
2224
+ color: (string | {
2225
+ aliasTo?: string | null | undefined;
2226
+ }) & (string | {
2227
+ aliasTo?: string | null | undefined;
2228
+ } | undefined);
2229
+ } | null | undefined;
2230
+ } | undefined;
2231
+ backgroundImageAsset?: {
2232
+ id: string;
2233
+ type: "image";
2234
+ url?: string | undefined;
2235
+ } | {
2236
+ type: "figmaFrame";
2237
+ figmaFrame: {
2238
+ persistentId: string;
2239
+ sourceId: string;
2240
+ sourceFrameId: string;
2241
+ title?: string | null | undefined;
2242
+ description?: string | null | undefined;
2243
+ backgroundColor?: {
2244
+ value: string;
2245
+ } | null | undefined;
2246
+ origin?: {
2247
+ sourceFileName?: string | null | undefined;
2248
+ title?: string | null | undefined;
2249
+ previewUrl?: string | null | undefined;
2250
+ valid?: boolean | null | undefined;
2251
+ referenceId?: string | null | undefined;
2252
+ assetId?: string | null | undefined;
2253
+ assetScale?: number | null | undefined;
2254
+ width?: number | null | undefined;
2255
+ height?: number | null | undefined;
2256
+ } | null | undefined;
2257
+ };
2258
+ url?: string | undefined;
2259
+ } | undefined;
2260
+ minHeight?: number | undefined;
2261
+ };
2262
+ }>;
2263
+ parentPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2264
+ afterPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2265
+ }, "strip", z.ZodTypeAny, {
2266
+ persistentId: string;
2267
+ title: string;
2268
+ configuration: {
2269
+ showSidebar: boolean;
2270
+ header: {
2271
+ description: string;
2272
+ alignment: "Center" | "Left";
2273
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
2274
+ showBackgroundOverlay: boolean;
2275
+ showCoverText: boolean;
2276
+ foregroundColor?: {
2277
+ aliasTo?: string | undefined;
2278
+ value?: {
2279
+ opacity: {
2280
+ aliasTo?: string | undefined;
2281
+ value?: {
2282
+ unit: "Pixels" | "Raw";
2283
+ measure: number;
2284
+ } | undefined;
2285
+ };
2286
+ color: (string | {
2287
+ aliasTo?: string | undefined;
2288
+ }) & (string | {
2289
+ aliasTo?: string | undefined;
2290
+ } | undefined);
2291
+ } | undefined;
2292
+ } | undefined;
2293
+ backgroundColor?: {
2294
+ aliasTo?: string | undefined;
2295
+ value?: {
2296
+ opacity: {
2297
+ aliasTo?: string | undefined;
2298
+ value?: {
2299
+ unit: "Pixels" | "Raw";
2300
+ measure: number;
2301
+ } | undefined;
2302
+ };
2303
+ color: (string | {
2304
+ aliasTo?: string | undefined;
2305
+ }) & (string | {
2306
+ aliasTo?: string | undefined;
2307
+ } | undefined);
2308
+ } | undefined;
2309
+ } | undefined;
2310
+ backgroundImageAsset?: {
2311
+ id: string;
2312
+ type: "image";
2313
+ url?: string | undefined;
2314
+ } | {
2315
+ type: "figmaFrame";
2316
+ figmaFrame: {
2317
+ persistentId: string;
2318
+ sourceId: string;
2319
+ sourceFrameId: string;
2320
+ title?: string | undefined;
2321
+ description?: string | undefined;
2322
+ backgroundColor?: {
2323
+ value: string;
2324
+ } | undefined;
2325
+ origin?: {
2326
+ sourceFileName?: string | undefined;
2327
+ title?: string | undefined;
2328
+ previewUrl?: string | undefined;
2329
+ valid?: boolean | undefined;
2330
+ referenceId?: string | undefined;
2331
+ assetId?: string | undefined;
2332
+ assetScale?: number | undefined;
2333
+ width?: number | undefined;
2334
+ height?: number | undefined;
2335
+ } | undefined;
2336
+ };
2337
+ url?: string | undefined;
2338
+ } | undefined;
2339
+ minHeight?: number | undefined;
2340
+ };
2341
+ };
2342
+ parentPersistentId?: string | null | undefined;
2343
+ afterPersistentId?: string | null | undefined;
2344
+ }, {
2345
+ persistentId: string;
2346
+ title: string;
2347
+ configuration: {
2348
+ showSidebar: boolean;
2349
+ header: {
2350
+ description: string;
2351
+ alignment: "Center" | "Left";
2352
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
2353
+ showBackgroundOverlay: boolean;
2354
+ showCoverText: boolean;
2355
+ foregroundColor?: {
2356
+ aliasTo?: string | null | undefined;
2357
+ value?: {
2358
+ opacity: {
2359
+ aliasTo?: string | null | undefined;
2360
+ value?: {
2361
+ unit: "Pixels" | "Raw";
2362
+ measure: number;
2363
+ } | null | undefined;
2364
+ };
2365
+ color: (string | {
2366
+ aliasTo?: string | null | undefined;
2367
+ }) & (string | {
2368
+ aliasTo?: string | null | undefined;
2369
+ } | undefined);
2370
+ } | null | undefined;
2371
+ } | undefined;
2372
+ backgroundColor?: {
2373
+ aliasTo?: string | null | undefined;
2374
+ value?: {
2375
+ opacity: {
2376
+ aliasTo?: string | null | undefined;
2377
+ value?: {
2378
+ unit: "Pixels" | "Raw";
2379
+ measure: number;
2380
+ } | null | undefined;
2381
+ };
2382
+ color: (string | {
2383
+ aliasTo?: string | null | undefined;
2384
+ }) & (string | {
2385
+ aliasTo?: string | null | undefined;
2386
+ } | undefined);
2387
+ } | null | undefined;
2388
+ } | undefined;
2389
+ backgroundImageAsset?: {
2390
+ id: string;
2391
+ type: "image";
2392
+ url?: string | undefined;
2393
+ } | {
2394
+ type: "figmaFrame";
2395
+ figmaFrame: {
2396
+ persistentId: string;
2397
+ sourceId: string;
2398
+ sourceFrameId: string;
2399
+ title?: string | null | undefined;
2400
+ description?: string | null | undefined;
2401
+ backgroundColor?: {
2402
+ value: string;
2403
+ } | null | undefined;
2404
+ origin?: {
2405
+ sourceFileName?: string | null | undefined;
2406
+ title?: string | null | undefined;
2407
+ previewUrl?: string | null | undefined;
2408
+ valid?: boolean | null | undefined;
2409
+ referenceId?: string | null | undefined;
2410
+ assetId?: string | null | undefined;
2411
+ assetScale?: number | null | undefined;
2412
+ width?: number | null | undefined;
2413
+ height?: number | null | undefined;
2414
+ } | null | undefined;
2415
+ };
2416
+ url?: string | undefined;
2417
+ } | undefined;
2418
+ minHeight?: number | undefined;
2419
+ };
2420
+ };
2421
+ parentPersistentId?: string | null | undefined;
2422
+ afterPersistentId?: string | null | undefined;
2423
+ }>, "many">>;
2424
+ update: z.ZodOptional<z.ZodArray<z.ZodObject<{
2425
+ id: z.ZodString;
2426
+ title: z.ZodOptional<z.ZodString>;
2427
+ configuration: z.ZodOptional<z.ZodObject<{
2428
+ showSidebar: z.ZodBoolean;
2429
+ header: z.ZodObject<{
2430
+ description: z.ZodString;
2431
+ alignment: z.ZodEnum<["Left", "Center"]>;
2432
+ foregroundColor: z.ZodOptional<z.ZodObject<{
2433
+ aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
2434
+ value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
2435
+ opacity: {
2436
+ aliasTo?: string | undefined;
2437
+ value?: {
2438
+ unit: "Pixels" | "Raw";
2439
+ measure: number;
2440
+ } | undefined;
2441
+ };
2442
+ color: (string | {
2443
+ aliasTo?: string | undefined;
2444
+ }) & (string | {
2445
+ aliasTo?: string | undefined;
2446
+ } | undefined);
2447
+ }, z.ZodTypeDef, {
2448
+ opacity: {
2449
+ aliasTo?: string | null | undefined;
2450
+ value?: {
2451
+ unit: "Pixels" | "Raw";
2452
+ measure: number;
2453
+ } | null | undefined;
2454
+ };
2455
+ color: (string | {
2456
+ aliasTo?: string | null | undefined;
2457
+ }) & (string | {
2458
+ aliasTo?: string | null | undefined;
2459
+ } | undefined);
2460
+ }>>>, {
2461
+ opacity: {
2462
+ aliasTo?: string | undefined;
2463
+ value?: {
2464
+ unit: "Pixels" | "Raw";
2465
+ measure: number;
2466
+ } | undefined;
2467
+ };
2468
+ color: (string | {
2469
+ aliasTo?: string | undefined;
2470
+ }) & (string | {
2471
+ aliasTo?: string | undefined;
2472
+ } | undefined);
2473
+ } | undefined, {
2474
+ opacity: {
2475
+ aliasTo?: string | null | undefined;
2476
+ value?: {
2477
+ unit: "Pixels" | "Raw";
2478
+ measure: number;
2479
+ } | null | undefined;
2480
+ };
2481
+ color: (string | {
2482
+ aliasTo?: string | null | undefined;
2483
+ }) & (string | {
2484
+ aliasTo?: string | null | undefined;
2485
+ } | undefined);
2486
+ } | null | undefined>;
2487
+ }, "strip", z.ZodTypeAny, {
2488
+ aliasTo?: string | undefined;
2489
+ value?: {
2490
+ opacity: {
2491
+ aliasTo?: string | undefined;
2492
+ value?: {
2493
+ unit: "Pixels" | "Raw";
2494
+ measure: number;
2495
+ } | undefined;
2496
+ };
2497
+ color: (string | {
2498
+ aliasTo?: string | undefined;
2499
+ }) & (string | {
2500
+ aliasTo?: string | undefined;
2501
+ } | undefined);
2502
+ } | undefined;
2503
+ }, {
2504
+ aliasTo?: string | null | undefined;
2505
+ value?: {
2506
+ opacity: {
2507
+ aliasTo?: string | null | undefined;
2508
+ value?: {
2509
+ unit: "Pixels" | "Raw";
2510
+ measure: number;
2511
+ } | null | undefined;
2512
+ };
2513
+ color: (string | {
2514
+ aliasTo?: string | null | undefined;
2515
+ }) & (string | {
2516
+ aliasTo?: string | null | undefined;
2517
+ } | undefined);
2518
+ } | null | undefined;
2519
+ }>>;
2520
+ backgroundColor: z.ZodOptional<z.ZodObject<{
2521
+ aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
2522
+ value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
2523
+ opacity: {
2524
+ aliasTo?: string | undefined;
2525
+ value?: {
2526
+ unit: "Pixels" | "Raw";
2527
+ measure: number;
2528
+ } | undefined;
2529
+ };
2530
+ color: (string | {
2531
+ aliasTo?: string | undefined;
2532
+ }) & (string | {
2533
+ aliasTo?: string | undefined;
2534
+ } | undefined);
2535
+ }, z.ZodTypeDef, {
2536
+ opacity: {
2537
+ aliasTo?: string | null | undefined;
2538
+ value?: {
2539
+ unit: "Pixels" | "Raw";
2540
+ measure: number;
2541
+ } | null | undefined;
2542
+ };
2543
+ color: (string | {
2544
+ aliasTo?: string | null | undefined;
2545
+ }) & (string | {
2546
+ aliasTo?: string | null | undefined;
2547
+ } | undefined);
2548
+ }>>>, {
2549
+ opacity: {
2550
+ aliasTo?: string | undefined;
2551
+ value?: {
2552
+ unit: "Pixels" | "Raw";
2553
+ measure: number;
2554
+ } | undefined;
2555
+ };
2556
+ color: (string | {
2557
+ aliasTo?: string | undefined;
2558
+ }) & (string | {
2559
+ aliasTo?: string | undefined;
2560
+ } | undefined);
2561
+ } | undefined, {
2562
+ opacity: {
2563
+ aliasTo?: string | null | undefined;
2564
+ value?: {
2565
+ unit: "Pixels" | "Raw";
2566
+ measure: number;
2567
+ } | null | undefined;
2568
+ };
2569
+ color: (string | {
2570
+ aliasTo?: string | null | undefined;
2571
+ }) & (string | {
2572
+ aliasTo?: string | null | undefined;
2573
+ } | undefined);
2574
+ } | null | undefined>;
2575
+ }, "strip", z.ZodTypeAny, {
2576
+ aliasTo?: string | undefined;
2577
+ value?: {
2578
+ opacity: {
2579
+ aliasTo?: string | undefined;
2580
+ value?: {
2581
+ unit: "Pixels" | "Raw";
2582
+ measure: number;
2583
+ } | undefined;
2584
+ };
2585
+ color: (string | {
2586
+ aliasTo?: string | undefined;
2587
+ }) & (string | {
2588
+ aliasTo?: string | undefined;
2589
+ } | undefined);
2590
+ } | undefined;
2591
+ }, {
2592
+ aliasTo?: string | null | undefined;
2593
+ value?: {
2594
+ opacity: {
2595
+ aliasTo?: string | null | undefined;
2596
+ value?: {
2597
+ unit: "Pixels" | "Raw";
2598
+ measure: number;
2599
+ } | null | undefined;
2600
+ };
2601
+ color: (string | {
2602
+ aliasTo?: string | null | undefined;
2603
+ }) & (string | {
2604
+ aliasTo?: string | null | undefined;
2605
+ } | undefined);
2606
+ } | null | undefined;
2607
+ }>>;
2608
+ backgroundImageAsset: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2609
+ type: z.ZodLiteral<"image">;
2610
+ url: z.ZodOptional<z.ZodString>;
2611
+ id: z.ZodEffects<z.ZodString, string, string>;
2612
+ }, "strip", z.ZodTypeAny, {
2613
+ id: string;
2614
+ type: "image";
2615
+ url?: string | undefined;
2616
+ }, {
2617
+ id: string;
2618
+ type: "image";
2619
+ url?: string | undefined;
2620
+ }>, z.ZodObject<{
2621
+ type: z.ZodLiteral<"figmaFrame">;
2622
+ url: z.ZodOptional<z.ZodString>;
2623
+ figmaFrame: z.ZodObject<{
2624
+ persistentId: z.ZodString;
2625
+ sourceId: z.ZodString;
2626
+ sourceFrameId: z.ZodString;
2627
+ title: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
2628
+ description: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
2629
+ backgroundColor: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
2630
+ value: string;
2631
+ }, z.ZodTypeDef, {
2632
+ value: string;
2633
+ }>>>, {
2634
+ value: string;
2635
+ } | undefined, {
2636
+ value: string;
2637
+ } | null | undefined>;
2638
+ origin: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
2639
+ sourceFileName?: string | undefined;
2640
+ title?: string | undefined;
2641
+ previewUrl?: string | undefined;
2642
+ valid?: boolean | undefined;
2643
+ referenceId?: string | undefined;
2644
+ assetId?: string | undefined;
2645
+ assetScale?: number | undefined;
2646
+ width?: number | undefined;
2647
+ height?: number | undefined;
2648
+ }, z.ZodTypeDef, {
2649
+ sourceFileName?: string | null | undefined;
2650
+ title?: string | null | undefined;
2651
+ previewUrl?: string | null | undefined;
2652
+ valid?: boolean | null | undefined;
2653
+ referenceId?: string | null | undefined;
2654
+ assetId?: string | null | undefined;
2655
+ assetScale?: number | null | undefined;
2656
+ width?: number | null | undefined;
2657
+ height?: number | null | undefined;
2658
+ }>>>, {
2659
+ sourceFileName?: string | undefined;
2660
+ title?: string | undefined;
2661
+ previewUrl?: string | undefined;
2662
+ valid?: boolean | undefined;
2663
+ referenceId?: string | undefined;
2664
+ assetId?: string | undefined;
2665
+ assetScale?: number | undefined;
2666
+ width?: number | undefined;
2667
+ height?: number | undefined;
2668
+ } | undefined, {
2669
+ sourceFileName?: string | null | undefined;
2670
+ title?: string | null | undefined;
2671
+ previewUrl?: string | null | undefined;
2672
+ valid?: boolean | null | undefined;
2673
+ referenceId?: string | null | undefined;
2674
+ assetId?: string | null | undefined;
2675
+ assetScale?: number | null | undefined;
2676
+ width?: number | null | undefined;
2677
+ height?: number | null | undefined;
2678
+ } | null | undefined>;
2679
+ }, "strip", z.ZodTypeAny, {
2680
+ persistentId: string;
2681
+ sourceId: string;
2682
+ sourceFrameId: string;
2683
+ title?: string | undefined;
2684
+ description?: string | undefined;
2685
+ backgroundColor?: {
2686
+ value: string;
2687
+ } | undefined;
2688
+ origin?: {
2689
+ sourceFileName?: string | undefined;
2690
+ title?: string | undefined;
2691
+ previewUrl?: string | undefined;
2692
+ valid?: boolean | undefined;
2693
+ referenceId?: string | undefined;
2694
+ assetId?: string | undefined;
2695
+ assetScale?: number | undefined;
2696
+ width?: number | undefined;
2697
+ height?: number | undefined;
2698
+ } | undefined;
2699
+ }, {
2700
+ persistentId: string;
2701
+ sourceId: string;
2702
+ sourceFrameId: string;
2703
+ title?: string | null | undefined;
2704
+ description?: string | null | undefined;
2705
+ backgroundColor?: {
2706
+ value: string;
2707
+ } | null | undefined;
2708
+ origin?: {
2709
+ sourceFileName?: string | null | undefined;
2710
+ title?: string | null | undefined;
2711
+ previewUrl?: string | null | undefined;
2712
+ valid?: boolean | null | undefined;
2713
+ referenceId?: string | null | undefined;
2714
+ assetId?: string | null | undefined;
2715
+ assetScale?: number | null | undefined;
2716
+ width?: number | null | undefined;
2717
+ height?: number | null | undefined;
2718
+ } | null | undefined;
2719
+ }>;
2720
+ }, "strip", z.ZodTypeAny, {
2721
+ type: "figmaFrame";
2722
+ figmaFrame: {
2723
+ persistentId: string;
2724
+ sourceId: string;
2725
+ sourceFrameId: string;
2726
+ title?: string | undefined;
2727
+ description?: string | undefined;
2728
+ backgroundColor?: {
2729
+ value: string;
2730
+ } | undefined;
2731
+ origin?: {
2732
+ sourceFileName?: string | undefined;
2733
+ title?: string | undefined;
2734
+ previewUrl?: string | undefined;
2735
+ valid?: boolean | undefined;
2736
+ referenceId?: string | undefined;
2737
+ assetId?: string | undefined;
2738
+ assetScale?: number | undefined;
2739
+ width?: number | undefined;
2740
+ height?: number | undefined;
2741
+ } | undefined;
2742
+ };
2743
+ url?: string | undefined;
2744
+ }, {
2745
+ type: "figmaFrame";
2746
+ figmaFrame: {
2747
+ persistentId: string;
2748
+ sourceId: string;
2749
+ sourceFrameId: string;
2750
+ title?: string | null | undefined;
2751
+ description?: string | null | undefined;
2752
+ backgroundColor?: {
2753
+ value: string;
2754
+ } | null | undefined;
2755
+ origin?: {
2756
+ sourceFileName?: string | null | undefined;
2757
+ title?: string | null | undefined;
2758
+ previewUrl?: string | null | undefined;
2759
+ valid?: boolean | null | undefined;
2760
+ referenceId?: string | null | undefined;
2761
+ assetId?: string | null | undefined;
2762
+ assetScale?: number | null | undefined;
2763
+ width?: number | null | undefined;
2764
+ height?: number | null | undefined;
2765
+ } | null | undefined;
2766
+ };
2767
+ url?: string | undefined;
2768
+ }>]>>;
2769
+ backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
2770
+ showBackgroundOverlay: z.ZodBoolean;
2771
+ showCoverText: z.ZodBoolean;
2772
+ minHeight: z.ZodOptional<z.ZodNumber>;
2773
+ }, "strip", z.ZodTypeAny, {
2774
+ description: string;
2775
+ alignment: "Center" | "Left";
2776
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
2777
+ showBackgroundOverlay: boolean;
2778
+ showCoverText: boolean;
2779
+ foregroundColor?: {
2780
+ aliasTo?: string | undefined;
2781
+ value?: {
2782
+ opacity: {
2783
+ aliasTo?: string | undefined;
2784
+ value?: {
2785
+ unit: "Pixels" | "Raw";
2786
+ measure: number;
2787
+ } | undefined;
2788
+ };
2789
+ color: (string | {
2790
+ aliasTo?: string | undefined;
2791
+ }) & (string | {
2792
+ aliasTo?: string | undefined;
2793
+ } | undefined);
2794
+ } | undefined;
2795
+ } | undefined;
2796
+ backgroundColor?: {
2797
+ aliasTo?: string | undefined;
2798
+ value?: {
2799
+ opacity: {
2800
+ aliasTo?: string | undefined;
2801
+ value?: {
2802
+ unit: "Pixels" | "Raw";
2803
+ measure: number;
2804
+ } | undefined;
2805
+ };
2806
+ color: (string | {
2807
+ aliasTo?: string | undefined;
2808
+ }) & (string | {
2809
+ aliasTo?: string | undefined;
2810
+ } | undefined);
2811
+ } | undefined;
2812
+ } | undefined;
2813
+ backgroundImageAsset?: {
2814
+ id: string;
2815
+ type: "image";
2816
+ url?: string | undefined;
2817
+ } | {
2818
+ type: "figmaFrame";
2819
+ figmaFrame: {
2820
+ persistentId: string;
2821
+ sourceId: string;
2822
+ sourceFrameId: string;
2823
+ title?: string | undefined;
2824
+ description?: string | undefined;
2825
+ backgroundColor?: {
2826
+ value: string;
2827
+ } | undefined;
2828
+ origin?: {
2829
+ sourceFileName?: string | undefined;
2830
+ title?: string | undefined;
2831
+ previewUrl?: string | undefined;
2832
+ valid?: boolean | undefined;
2833
+ referenceId?: string | undefined;
2834
+ assetId?: string | undefined;
2835
+ assetScale?: number | undefined;
2836
+ width?: number | undefined;
2837
+ height?: number | undefined;
2838
+ } | undefined;
2839
+ };
2840
+ url?: string | undefined;
2841
+ } | undefined;
2842
+ minHeight?: number | undefined;
2843
+ }, {
2844
+ description: string;
2845
+ alignment: "Center" | "Left";
2846
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
2847
+ showBackgroundOverlay: boolean;
2848
+ showCoverText: boolean;
2849
+ foregroundColor?: {
2850
+ aliasTo?: string | null | undefined;
2851
+ value?: {
2852
+ opacity: {
2853
+ aliasTo?: string | null | undefined;
2854
+ value?: {
2855
+ unit: "Pixels" | "Raw";
2856
+ measure: number;
2857
+ } | null | undefined;
2858
+ };
2859
+ color: (string | {
2860
+ aliasTo?: string | null | undefined;
2861
+ }) & (string | {
2862
+ aliasTo?: string | null | undefined;
2863
+ } | undefined);
2864
+ } | null | undefined;
2865
+ } | undefined;
2866
+ backgroundColor?: {
2867
+ aliasTo?: string | null | undefined;
2868
+ value?: {
2869
+ opacity: {
2870
+ aliasTo?: string | null | undefined;
2871
+ value?: {
2872
+ unit: "Pixels" | "Raw";
2873
+ measure: number;
2874
+ } | null | undefined;
2875
+ };
2876
+ color: (string | {
2877
+ aliasTo?: string | null | undefined;
2878
+ }) & (string | {
2879
+ aliasTo?: string | null | undefined;
2880
+ } | undefined);
2881
+ } | null | undefined;
2882
+ } | undefined;
2883
+ backgroundImageAsset?: {
2884
+ id: string;
2885
+ type: "image";
2886
+ url?: string | undefined;
2887
+ } | {
2888
+ type: "figmaFrame";
2889
+ figmaFrame: {
2890
+ persistentId: string;
2891
+ sourceId: string;
2892
+ sourceFrameId: string;
2893
+ title?: string | null | undefined;
2894
+ description?: string | null | undefined;
2895
+ backgroundColor?: {
2896
+ value: string;
2897
+ } | null | undefined;
2898
+ origin?: {
2899
+ sourceFileName?: string | null | undefined;
2900
+ title?: string | null | undefined;
2901
+ previewUrl?: string | null | undefined;
2902
+ valid?: boolean | null | undefined;
2903
+ referenceId?: string | null | undefined;
2904
+ assetId?: string | null | undefined;
2905
+ assetScale?: number | null | undefined;
2906
+ width?: number | null | undefined;
2907
+ height?: number | null | undefined;
2908
+ } | null | undefined;
2909
+ };
2910
+ url?: string | undefined;
2911
+ } | undefined;
2912
+ minHeight?: number | undefined;
2913
+ }>;
2914
+ }, "strip", z.ZodTypeAny, {
2915
+ showSidebar: boolean;
2916
+ header: {
2917
+ description: string;
2918
+ alignment: "Center" | "Left";
2919
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
2920
+ showBackgroundOverlay: boolean;
2921
+ showCoverText: boolean;
2922
+ foregroundColor?: {
2923
+ aliasTo?: string | undefined;
2924
+ value?: {
2925
+ opacity: {
2926
+ aliasTo?: string | undefined;
2927
+ value?: {
2928
+ unit: "Pixels" | "Raw";
2929
+ measure: number;
2930
+ } | undefined;
2931
+ };
2932
+ color: (string | {
2933
+ aliasTo?: string | undefined;
2934
+ }) & (string | {
2935
+ aliasTo?: string | undefined;
2936
+ } | undefined);
2937
+ } | undefined;
2938
+ } | undefined;
2939
+ backgroundColor?: {
2940
+ aliasTo?: string | undefined;
2941
+ value?: {
2942
+ opacity: {
2943
+ aliasTo?: string | undefined;
2944
+ value?: {
2945
+ unit: "Pixels" | "Raw";
2946
+ measure: number;
2947
+ } | undefined;
2948
+ };
2949
+ color: (string | {
2950
+ aliasTo?: string | undefined;
2951
+ }) & (string | {
2952
+ aliasTo?: string | undefined;
2953
+ } | undefined);
2954
+ } | undefined;
2955
+ } | undefined;
2956
+ backgroundImageAsset?: {
2957
+ id: string;
2958
+ type: "image";
2959
+ url?: string | undefined;
2960
+ } | {
2961
+ type: "figmaFrame";
2962
+ figmaFrame: {
2963
+ persistentId: string;
2964
+ sourceId: string;
2965
+ sourceFrameId: string;
2966
+ title?: string | undefined;
2967
+ description?: string | undefined;
2968
+ backgroundColor?: {
2969
+ value: string;
2970
+ } | undefined;
2971
+ origin?: {
2972
+ sourceFileName?: string | undefined;
2973
+ title?: string | undefined;
2974
+ previewUrl?: string | undefined;
2975
+ valid?: boolean | undefined;
2976
+ referenceId?: string | undefined;
2977
+ assetId?: string | undefined;
2978
+ assetScale?: number | undefined;
2979
+ width?: number | undefined;
2980
+ height?: number | undefined;
2981
+ } | undefined;
2982
+ };
2983
+ url?: string | undefined;
2984
+ } | undefined;
2985
+ minHeight?: number | undefined;
2986
+ };
2987
+ }, {
2988
+ showSidebar: boolean;
2989
+ header: {
2990
+ description: string;
2991
+ alignment: "Center" | "Left";
2992
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
2993
+ showBackgroundOverlay: boolean;
2994
+ showCoverText: boolean;
2995
+ foregroundColor?: {
2996
+ aliasTo?: string | null | undefined;
2997
+ value?: {
2998
+ opacity: {
2999
+ aliasTo?: string | null | undefined;
3000
+ value?: {
3001
+ unit: "Pixels" | "Raw";
3002
+ measure: number;
3003
+ } | null | undefined;
3004
+ };
3005
+ color: (string | {
3006
+ aliasTo?: string | null | undefined;
3007
+ }) & (string | {
3008
+ aliasTo?: string | null | undefined;
3009
+ } | undefined);
3010
+ } | null | undefined;
3011
+ } | undefined;
3012
+ backgroundColor?: {
3013
+ aliasTo?: string | null | undefined;
3014
+ value?: {
3015
+ opacity: {
3016
+ aliasTo?: string | null | undefined;
3017
+ value?: {
3018
+ unit: "Pixels" | "Raw";
3019
+ measure: number;
3020
+ } | null | undefined;
3021
+ };
3022
+ color: (string | {
3023
+ aliasTo?: string | null | undefined;
3024
+ }) & (string | {
3025
+ aliasTo?: string | null | undefined;
3026
+ } | undefined);
3027
+ } | null | undefined;
3028
+ } | undefined;
3029
+ backgroundImageAsset?: {
3030
+ id: string;
3031
+ type: "image";
3032
+ url?: string | undefined;
3033
+ } | {
3034
+ type: "figmaFrame";
3035
+ figmaFrame: {
3036
+ persistentId: string;
3037
+ sourceId: string;
3038
+ sourceFrameId: string;
3039
+ title?: string | null | undefined;
3040
+ description?: string | null | undefined;
3041
+ backgroundColor?: {
3042
+ value: string;
3043
+ } | null | undefined;
3044
+ origin?: {
3045
+ sourceFileName?: string | null | undefined;
3046
+ title?: string | null | undefined;
3047
+ previewUrl?: string | null | undefined;
3048
+ valid?: boolean | null | undefined;
3049
+ referenceId?: string | null | undefined;
3050
+ assetId?: string | null | undefined;
3051
+ assetScale?: number | null | undefined;
3052
+ width?: number | null | undefined;
3053
+ height?: number | null | undefined;
3054
+ } | null | undefined;
3055
+ };
3056
+ url?: string | undefined;
3057
+ } | undefined;
3058
+ minHeight?: number | undefined;
3059
+ };
3060
+ }>>;
3061
+ parentPersistentId: z.ZodOptional<z.ZodString>;
3062
+ afterPersistentId: z.ZodOptional<z.ZodString>;
3063
+ }, "strip", z.ZodTypeAny, {
3064
+ id: string;
3065
+ title?: string | undefined;
3066
+ configuration?: {
3067
+ showSidebar: boolean;
3068
+ header: {
3069
+ description: string;
3070
+ alignment: "Center" | "Left";
3071
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
3072
+ showBackgroundOverlay: boolean;
3073
+ showCoverText: boolean;
3074
+ foregroundColor?: {
3075
+ aliasTo?: string | undefined;
3076
+ value?: {
3077
+ opacity: {
3078
+ aliasTo?: string | undefined;
3079
+ value?: {
3080
+ unit: "Pixels" | "Raw";
3081
+ measure: number;
3082
+ } | undefined;
3083
+ };
3084
+ color: (string | {
3085
+ aliasTo?: string | undefined;
3086
+ }) & (string | {
3087
+ aliasTo?: string | undefined;
3088
+ } | undefined);
3089
+ } | undefined;
3090
+ } | undefined;
3091
+ backgroundColor?: {
3092
+ aliasTo?: string | undefined;
3093
+ value?: {
3094
+ opacity: {
3095
+ aliasTo?: string | undefined;
3096
+ value?: {
3097
+ unit: "Pixels" | "Raw";
3098
+ measure: number;
3099
+ } | undefined;
3100
+ };
3101
+ color: (string | {
3102
+ aliasTo?: string | undefined;
3103
+ }) & (string | {
3104
+ aliasTo?: string | undefined;
3105
+ } | undefined);
3106
+ } | undefined;
3107
+ } | undefined;
3108
+ backgroundImageAsset?: {
3109
+ id: string;
3110
+ type: "image";
3111
+ url?: string | undefined;
3112
+ } | {
3113
+ type: "figmaFrame";
3114
+ figmaFrame: {
3115
+ persistentId: string;
3116
+ sourceId: string;
3117
+ sourceFrameId: string;
3118
+ title?: string | undefined;
3119
+ description?: string | undefined;
3120
+ backgroundColor?: {
3121
+ value: string;
3122
+ } | undefined;
3123
+ origin?: {
3124
+ sourceFileName?: string | undefined;
3125
+ title?: string | undefined;
3126
+ previewUrl?: string | undefined;
3127
+ valid?: boolean | undefined;
3128
+ referenceId?: string | undefined;
3129
+ assetId?: string | undefined;
3130
+ assetScale?: number | undefined;
3131
+ width?: number | undefined;
3132
+ height?: number | undefined;
3133
+ } | undefined;
3134
+ };
3135
+ url?: string | undefined;
3136
+ } | undefined;
3137
+ minHeight?: number | undefined;
3138
+ };
3139
+ } | undefined;
3140
+ parentPersistentId?: string | undefined;
3141
+ afterPersistentId?: string | undefined;
3142
+ }, {
3143
+ id: string;
3144
+ title?: string | undefined;
3145
+ configuration?: {
3146
+ showSidebar: boolean;
3147
+ header: {
3148
+ description: string;
3149
+ alignment: "Center" | "Left";
3150
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
3151
+ showBackgroundOverlay: boolean;
3152
+ showCoverText: boolean;
3153
+ foregroundColor?: {
3154
+ aliasTo?: string | null | undefined;
3155
+ value?: {
3156
+ opacity: {
3157
+ aliasTo?: string | null | undefined;
3158
+ value?: {
3159
+ unit: "Pixels" | "Raw";
3160
+ measure: number;
3161
+ } | null | undefined;
3162
+ };
3163
+ color: (string | {
3164
+ aliasTo?: string | null | undefined;
3165
+ }) & (string | {
3166
+ aliasTo?: string | null | undefined;
3167
+ } | undefined);
3168
+ } | null | undefined;
3169
+ } | undefined;
3170
+ backgroundColor?: {
3171
+ aliasTo?: string | null | undefined;
3172
+ value?: {
3173
+ opacity: {
3174
+ aliasTo?: string | null | undefined;
3175
+ value?: {
3176
+ unit: "Pixels" | "Raw";
3177
+ measure: number;
3178
+ } | null | undefined;
3179
+ };
3180
+ color: (string | {
3181
+ aliasTo?: string | null | undefined;
3182
+ }) & (string | {
3183
+ aliasTo?: string | null | undefined;
3184
+ } | undefined);
3185
+ } | null | undefined;
3186
+ } | undefined;
3187
+ backgroundImageAsset?: {
3188
+ id: string;
3189
+ type: "image";
3190
+ url?: string | undefined;
3191
+ } | {
3192
+ type: "figmaFrame";
3193
+ figmaFrame: {
3194
+ persistentId: string;
3195
+ sourceId: string;
3196
+ sourceFrameId: string;
3197
+ title?: string | null | undefined;
3198
+ description?: string | null | undefined;
3199
+ backgroundColor?: {
3200
+ value: string;
3201
+ } | null | undefined;
3202
+ origin?: {
3203
+ sourceFileName?: string | null | undefined;
3204
+ title?: string | null | undefined;
3205
+ previewUrl?: string | null | undefined;
3206
+ valid?: boolean | null | undefined;
3207
+ referenceId?: string | null | undefined;
3208
+ assetId?: string | null | undefined;
3209
+ assetScale?: number | null | undefined;
3210
+ width?: number | null | undefined;
3211
+ height?: number | null | undefined;
3212
+ } | null | undefined;
3213
+ };
3214
+ url?: string | undefined;
3215
+ } | undefined;
3216
+ minHeight?: number | undefined;
3217
+ };
3218
+ } | undefined;
3219
+ parentPersistentId?: string | undefined;
3220
+ afterPersistentId?: string | undefined;
3221
+ }>, "many">>;
3222
+ delete: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3223
+ duplicate: z.ZodOptional<z.ZodArray<z.ZodObject<{
3224
+ id: z.ZodString;
3225
+ persistentId: z.ZodString;
3226
+ parentPersistentId: z.ZodString;
3227
+ afterPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3228
+ }, "strip", z.ZodTypeAny, {
3229
+ persistentId: string;
3230
+ parentPersistentId: string;
3231
+ id: string;
3232
+ afterPersistentId?: string | null | undefined;
3233
+ }, {
3234
+ persistentId: string;
3235
+ parentPersistentId: string;
3236
+ id: string;
3237
+ afterPersistentId?: string | null | undefined;
3238
+ }>, "many">>;
3239
+ }, "strip", z.ZodTypeAny, {
3240
+ create?: {
3241
+ persistentId: string;
3242
+ title: string;
3243
+ configuration: {
3244
+ showSidebar: boolean;
3245
+ header: {
3246
+ description: string;
3247
+ alignment: "Center" | "Left";
3248
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
3249
+ showBackgroundOverlay: boolean;
3250
+ showCoverText: boolean;
3251
+ foregroundColor?: {
3252
+ aliasTo?: string | undefined;
3253
+ value?: {
3254
+ opacity: {
3255
+ aliasTo?: string | undefined;
3256
+ value?: {
3257
+ unit: "Pixels" | "Raw";
3258
+ measure: number;
3259
+ } | undefined;
3260
+ };
3261
+ color: (string | {
3262
+ aliasTo?: string | undefined;
3263
+ }) & (string | {
3264
+ aliasTo?: string | undefined;
3265
+ } | undefined);
3266
+ } | undefined;
3267
+ } | undefined;
3268
+ backgroundColor?: {
3269
+ aliasTo?: string | undefined;
3270
+ value?: {
3271
+ opacity: {
3272
+ aliasTo?: string | undefined;
3273
+ value?: {
3274
+ unit: "Pixels" | "Raw";
3275
+ measure: number;
3276
+ } | undefined;
3277
+ };
3278
+ color: (string | {
3279
+ aliasTo?: string | undefined;
3280
+ }) & (string | {
3281
+ aliasTo?: string | undefined;
3282
+ } | undefined);
3283
+ } | undefined;
3284
+ } | undefined;
3285
+ backgroundImageAsset?: {
3286
+ id: string;
3287
+ type: "image";
3288
+ url?: string | undefined;
3289
+ } | {
3290
+ type: "figmaFrame";
3291
+ figmaFrame: {
3292
+ persistentId: string;
3293
+ sourceId: string;
3294
+ sourceFrameId: string;
3295
+ title?: string | undefined;
3296
+ description?: string | undefined;
3297
+ backgroundColor?: {
3298
+ value: string;
3299
+ } | undefined;
3300
+ origin?: {
3301
+ sourceFileName?: string | undefined;
3302
+ title?: string | undefined;
3303
+ previewUrl?: string | undefined;
3304
+ valid?: boolean | undefined;
3305
+ referenceId?: string | undefined;
3306
+ assetId?: string | undefined;
3307
+ assetScale?: number | undefined;
3308
+ width?: number | undefined;
3309
+ height?: number | undefined;
3310
+ } | undefined;
3311
+ };
3312
+ url?: string | undefined;
3313
+ } | undefined;
3314
+ minHeight?: number | undefined;
3315
+ };
3316
+ };
3317
+ parentPersistentId?: string | null | undefined;
3318
+ afterPersistentId?: string | null | undefined;
3319
+ }[] | undefined;
3320
+ update?: {
3321
+ id: string;
3322
+ title?: string | undefined;
3323
+ configuration?: {
3324
+ showSidebar: boolean;
3325
+ header: {
3326
+ description: string;
3327
+ alignment: "Center" | "Left";
3328
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
3329
+ showBackgroundOverlay: boolean;
3330
+ showCoverText: boolean;
3331
+ foregroundColor?: {
3332
+ aliasTo?: string | undefined;
3333
+ value?: {
3334
+ opacity: {
3335
+ aliasTo?: string | undefined;
3336
+ value?: {
3337
+ unit: "Pixels" | "Raw";
3338
+ measure: number;
3339
+ } | undefined;
3340
+ };
3341
+ color: (string | {
3342
+ aliasTo?: string | undefined;
3343
+ }) & (string | {
3344
+ aliasTo?: string | undefined;
3345
+ } | undefined);
3346
+ } | undefined;
3347
+ } | undefined;
3348
+ backgroundColor?: {
3349
+ aliasTo?: string | undefined;
3350
+ value?: {
3351
+ opacity: {
3352
+ aliasTo?: string | undefined;
3353
+ value?: {
3354
+ unit: "Pixels" | "Raw";
3355
+ measure: number;
3356
+ } | undefined;
3357
+ };
3358
+ color: (string | {
3359
+ aliasTo?: string | undefined;
3360
+ }) & (string | {
3361
+ aliasTo?: string | undefined;
3362
+ } | undefined);
3363
+ } | undefined;
3364
+ } | undefined;
3365
+ backgroundImageAsset?: {
3366
+ id: string;
3367
+ type: "image";
3368
+ url?: string | undefined;
3369
+ } | {
3370
+ type: "figmaFrame";
3371
+ figmaFrame: {
3372
+ persistentId: string;
3373
+ sourceId: string;
3374
+ sourceFrameId: string;
3375
+ title?: string | undefined;
3376
+ description?: string | undefined;
3377
+ backgroundColor?: {
3378
+ value: string;
3379
+ } | undefined;
3380
+ origin?: {
3381
+ sourceFileName?: string | undefined;
3382
+ title?: string | undefined;
3383
+ previewUrl?: string | undefined;
3384
+ valid?: boolean | undefined;
3385
+ referenceId?: string | undefined;
3386
+ assetId?: string | undefined;
3387
+ assetScale?: number | undefined;
3388
+ width?: number | undefined;
3389
+ height?: number | undefined;
3390
+ } | undefined;
3391
+ };
3392
+ url?: string | undefined;
3393
+ } | undefined;
3394
+ minHeight?: number | undefined;
3395
+ };
3396
+ } | undefined;
3397
+ parentPersistentId?: string | undefined;
3398
+ afterPersistentId?: string | undefined;
3399
+ }[] | undefined;
3400
+ delete?: string[] | undefined;
3401
+ duplicate?: {
3402
+ persistentId: string;
3403
+ parentPersistentId: string;
3404
+ id: string;
3405
+ afterPersistentId?: string | null | undefined;
3406
+ }[] | undefined;
3407
+ }, {
3408
+ create?: {
3409
+ persistentId: string;
3410
+ title: string;
3411
+ configuration: {
3412
+ showSidebar: boolean;
3413
+ header: {
3414
+ description: string;
3415
+ alignment: "Center" | "Left";
3416
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
3417
+ showBackgroundOverlay: boolean;
3418
+ showCoverText: boolean;
3419
+ foregroundColor?: {
3420
+ aliasTo?: string | null | undefined;
3421
+ value?: {
3422
+ opacity: {
3423
+ aliasTo?: string | null | undefined;
3424
+ value?: {
3425
+ unit: "Pixels" | "Raw";
3426
+ measure: number;
3427
+ } | null | undefined;
3428
+ };
3429
+ color: (string | {
3430
+ aliasTo?: string | null | undefined;
3431
+ }) & (string | {
3432
+ aliasTo?: string | null | undefined;
3433
+ } | undefined);
3434
+ } | null | undefined;
3435
+ } | undefined;
3436
+ backgroundColor?: {
3437
+ aliasTo?: string | null | undefined;
3438
+ value?: {
3439
+ opacity: {
3440
+ aliasTo?: string | null | undefined;
3441
+ value?: {
3442
+ unit: "Pixels" | "Raw";
3443
+ measure: number;
3444
+ } | null | undefined;
3445
+ };
3446
+ color: (string | {
3447
+ aliasTo?: string | null | undefined;
3448
+ }) & (string | {
3449
+ aliasTo?: string | null | undefined;
3450
+ } | undefined);
3451
+ } | null | undefined;
3452
+ } | undefined;
3453
+ backgroundImageAsset?: {
3454
+ id: string;
3455
+ type: "image";
3456
+ url?: string | undefined;
3457
+ } | {
3458
+ type: "figmaFrame";
3459
+ figmaFrame: {
3460
+ persistentId: string;
3461
+ sourceId: string;
3462
+ sourceFrameId: string;
3463
+ title?: string | null | undefined;
3464
+ description?: string | null | undefined;
3465
+ backgroundColor?: {
3466
+ value: string;
3467
+ } | null | undefined;
3468
+ origin?: {
3469
+ sourceFileName?: string | null | undefined;
3470
+ title?: string | null | undefined;
3471
+ previewUrl?: string | null | undefined;
3472
+ valid?: boolean | null | undefined;
3473
+ referenceId?: string | null | undefined;
3474
+ assetId?: string | null | undefined;
3475
+ assetScale?: number | null | undefined;
3476
+ width?: number | null | undefined;
3477
+ height?: number | null | undefined;
3478
+ } | null | undefined;
3479
+ };
3480
+ url?: string | undefined;
3481
+ } | undefined;
3482
+ minHeight?: number | undefined;
3483
+ };
3484
+ };
3485
+ parentPersistentId?: string | null | undefined;
3486
+ afterPersistentId?: string | null | undefined;
3487
+ }[] | undefined;
3488
+ update?: {
3489
+ id: string;
3490
+ title?: string | undefined;
3491
+ configuration?: {
3492
+ showSidebar: boolean;
3493
+ header: {
3494
+ description: string;
3495
+ alignment: "Center" | "Left";
3496
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
3497
+ showBackgroundOverlay: boolean;
3498
+ showCoverText: boolean;
3499
+ foregroundColor?: {
3500
+ aliasTo?: string | null | undefined;
3501
+ value?: {
3502
+ opacity: {
3503
+ aliasTo?: string | null | undefined;
3504
+ value?: {
3505
+ unit: "Pixels" | "Raw";
3506
+ measure: number;
3507
+ } | null | undefined;
3508
+ };
3509
+ color: (string | {
3510
+ aliasTo?: string | null | undefined;
3511
+ }) & (string | {
3512
+ aliasTo?: string | null | undefined;
3513
+ } | undefined);
3514
+ } | null | undefined;
3515
+ } | undefined;
3516
+ backgroundColor?: {
3517
+ aliasTo?: string | null | undefined;
3518
+ value?: {
3519
+ opacity: {
3520
+ aliasTo?: string | null | undefined;
3521
+ value?: {
3522
+ unit: "Pixels" | "Raw";
3523
+ measure: number;
3524
+ } | null | undefined;
3525
+ };
3526
+ color: (string | {
3527
+ aliasTo?: string | null | undefined;
3528
+ }) & (string | {
3529
+ aliasTo?: string | null | undefined;
3530
+ } | undefined);
3531
+ } | null | undefined;
3532
+ } | undefined;
3533
+ backgroundImageAsset?: {
3534
+ id: string;
3535
+ type: "image";
3536
+ url?: string | undefined;
3537
+ } | {
3538
+ type: "figmaFrame";
3539
+ figmaFrame: {
3540
+ persistentId: string;
3541
+ sourceId: string;
3542
+ sourceFrameId: string;
3543
+ title?: string | null | undefined;
3544
+ description?: string | null | undefined;
3545
+ backgroundColor?: {
3546
+ value: string;
3547
+ } | null | undefined;
3548
+ origin?: {
3549
+ sourceFileName?: string | null | undefined;
3550
+ title?: string | null | undefined;
3551
+ previewUrl?: string | null | undefined;
3552
+ valid?: boolean | null | undefined;
3553
+ referenceId?: string | null | undefined;
3554
+ assetId?: string | null | undefined;
3555
+ assetScale?: number | null | undefined;
3556
+ width?: number | null | undefined;
3557
+ height?: number | null | undefined;
3558
+ } | null | undefined;
3559
+ };
3560
+ url?: string | undefined;
3561
+ } | undefined;
3562
+ minHeight?: number | undefined;
3563
+ };
3564
+ } | undefined;
3565
+ parentPersistentId?: string | undefined;
3566
+ afterPersistentId?: string | undefined;
3567
+ }[] | undefined;
3568
+ delete?: string[] | undefined;
3569
+ duplicate?: {
3570
+ persistentId: string;
3571
+ parentPersistentId: string;
3572
+ id: string;
3573
+ afterPersistentId?: string | null | undefined;
3574
+ }[] | undefined;
3575
+ }>;
3576
+ }, "strip", z.ZodTypeAny, {
3577
+ documentationPages: {
3578
+ create?: {
3579
+ persistentId: string;
3580
+ title: string;
3581
+ configuration: {
3582
+ showSidebar: boolean;
3583
+ header: {
3584
+ description: string;
3585
+ alignment: "Center" | "Left";
3586
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
3587
+ showBackgroundOverlay: boolean;
3588
+ showCoverText: boolean;
3589
+ foregroundColor?: {
3590
+ aliasTo?: string | undefined;
3591
+ value?: {
3592
+ opacity: {
3593
+ aliasTo?: string | undefined;
3594
+ value?: {
3595
+ unit: "Pixels" | "Raw";
3596
+ measure: number;
3597
+ } | undefined;
3598
+ };
3599
+ color: (string | {
3600
+ aliasTo?: string | undefined;
3601
+ }) & (string | {
3602
+ aliasTo?: string | undefined;
3603
+ } | undefined);
3604
+ } | undefined;
3605
+ } | undefined;
3606
+ backgroundColor?: {
3607
+ aliasTo?: string | undefined;
3608
+ value?: {
3609
+ opacity: {
3610
+ aliasTo?: string | undefined;
3611
+ value?: {
3612
+ unit: "Pixels" | "Raw";
3613
+ measure: number;
3614
+ } | undefined;
3615
+ };
3616
+ color: (string | {
3617
+ aliasTo?: string | undefined;
3618
+ }) & (string | {
3619
+ aliasTo?: string | undefined;
3620
+ } | undefined);
3621
+ } | undefined;
3622
+ } | undefined;
3623
+ backgroundImageAsset?: {
3624
+ id: string;
3625
+ type: "image";
3626
+ url?: string | undefined;
3627
+ } | {
3628
+ type: "figmaFrame";
3629
+ figmaFrame: {
3630
+ persistentId: string;
3631
+ sourceId: string;
3632
+ sourceFrameId: string;
3633
+ title?: string | undefined;
3634
+ description?: string | undefined;
3635
+ backgroundColor?: {
3636
+ value: string;
3637
+ } | undefined;
3638
+ origin?: {
3639
+ sourceFileName?: string | undefined;
3640
+ title?: string | undefined;
3641
+ previewUrl?: string | undefined;
3642
+ valid?: boolean | undefined;
3643
+ referenceId?: string | undefined;
3644
+ assetId?: string | undefined;
3645
+ assetScale?: number | undefined;
3646
+ width?: number | undefined;
3647
+ height?: number | undefined;
3648
+ } | undefined;
3649
+ };
3650
+ url?: string | undefined;
3651
+ } | undefined;
3652
+ minHeight?: number | undefined;
3653
+ };
3654
+ };
3655
+ parentPersistentId?: string | null | undefined;
3656
+ afterPersistentId?: string | null | undefined;
3657
+ }[] | undefined;
3658
+ update?: {
3659
+ id: string;
3660
+ title?: string | undefined;
3661
+ configuration?: {
3662
+ showSidebar: boolean;
3663
+ header: {
3664
+ description: string;
3665
+ alignment: "Center" | "Left";
3666
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
3667
+ showBackgroundOverlay: boolean;
3668
+ showCoverText: boolean;
3669
+ foregroundColor?: {
3670
+ aliasTo?: string | undefined;
3671
+ value?: {
3672
+ opacity: {
3673
+ aliasTo?: string | undefined;
3674
+ value?: {
3675
+ unit: "Pixels" | "Raw";
3676
+ measure: number;
3677
+ } | undefined;
3678
+ };
3679
+ color: (string | {
3680
+ aliasTo?: string | undefined;
3681
+ }) & (string | {
3682
+ aliasTo?: string | undefined;
3683
+ } | undefined);
3684
+ } | undefined;
3685
+ } | undefined;
3686
+ backgroundColor?: {
3687
+ aliasTo?: string | undefined;
3688
+ value?: {
3689
+ opacity: {
3690
+ aliasTo?: string | undefined;
3691
+ value?: {
3692
+ unit: "Pixels" | "Raw";
3693
+ measure: number;
3694
+ } | undefined;
3695
+ };
3696
+ color: (string | {
3697
+ aliasTo?: string | undefined;
3698
+ }) & (string | {
3699
+ aliasTo?: string | undefined;
3700
+ } | undefined);
3701
+ } | undefined;
3702
+ } | undefined;
3703
+ backgroundImageAsset?: {
3704
+ id: string;
3705
+ type: "image";
3706
+ url?: string | undefined;
3707
+ } | {
3708
+ type: "figmaFrame";
3709
+ figmaFrame: {
3710
+ persistentId: string;
3711
+ sourceId: string;
3712
+ sourceFrameId: string;
3713
+ title?: string | undefined;
3714
+ description?: string | undefined;
3715
+ backgroundColor?: {
3716
+ value: string;
3717
+ } | undefined;
3718
+ origin?: {
3719
+ sourceFileName?: string | undefined;
3720
+ title?: string | undefined;
3721
+ previewUrl?: string | undefined;
3722
+ valid?: boolean | undefined;
3723
+ referenceId?: string | undefined;
3724
+ assetId?: string | undefined;
3725
+ assetScale?: number | undefined;
3726
+ width?: number | undefined;
3727
+ height?: number | undefined;
3728
+ } | undefined;
3729
+ };
3730
+ url?: string | undefined;
3731
+ } | undefined;
3732
+ minHeight?: number | undefined;
3733
+ };
3734
+ } | undefined;
3735
+ parentPersistentId?: string | undefined;
3736
+ afterPersistentId?: string | undefined;
3737
+ }[] | undefined;
3738
+ delete?: string[] | undefined;
3739
+ duplicate?: {
3740
+ persistentId: string;
3741
+ parentPersistentId: string;
3742
+ id: string;
3743
+ afterPersistentId?: string | null | undefined;
3744
+ }[] | undefined;
3745
+ };
3746
+ }, {
3747
+ documentationPages: {
3748
+ create?: {
3749
+ persistentId: string;
3750
+ title: string;
3751
+ configuration: {
3752
+ showSidebar: boolean;
3753
+ header: {
3754
+ description: string;
3755
+ alignment: "Center" | "Left";
3756
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
3757
+ showBackgroundOverlay: boolean;
3758
+ showCoverText: boolean;
3759
+ foregroundColor?: {
3760
+ aliasTo?: string | null | undefined;
3761
+ value?: {
3762
+ opacity: {
3763
+ aliasTo?: string | null | undefined;
3764
+ value?: {
3765
+ unit: "Pixels" | "Raw";
3766
+ measure: number;
3767
+ } | null | undefined;
3768
+ };
3769
+ color: (string | {
3770
+ aliasTo?: string | null | undefined;
3771
+ }) & (string | {
3772
+ aliasTo?: string | null | undefined;
3773
+ } | undefined);
3774
+ } | null | undefined;
3775
+ } | undefined;
3776
+ backgroundColor?: {
3777
+ aliasTo?: string | null | undefined;
3778
+ value?: {
3779
+ opacity: {
3780
+ aliasTo?: string | null | undefined;
3781
+ value?: {
3782
+ unit: "Pixels" | "Raw";
3783
+ measure: number;
3784
+ } | null | undefined;
3785
+ };
3786
+ color: (string | {
3787
+ aliasTo?: string | null | undefined;
3788
+ }) & (string | {
3789
+ aliasTo?: string | null | undefined;
3790
+ } | undefined);
3791
+ } | null | undefined;
3792
+ } | undefined;
3793
+ backgroundImageAsset?: {
3794
+ id: string;
3795
+ type: "image";
3796
+ url?: string | undefined;
3797
+ } | {
3798
+ type: "figmaFrame";
3799
+ figmaFrame: {
3800
+ persistentId: string;
3801
+ sourceId: string;
3802
+ sourceFrameId: string;
3803
+ title?: string | null | undefined;
3804
+ description?: string | null | undefined;
3805
+ backgroundColor?: {
3806
+ value: string;
3807
+ } | null | undefined;
3808
+ origin?: {
3809
+ sourceFileName?: string | null | undefined;
3810
+ title?: string | null | undefined;
3811
+ previewUrl?: string | null | undefined;
3812
+ valid?: boolean | null | undefined;
3813
+ referenceId?: string | null | undefined;
3814
+ assetId?: string | null | undefined;
3815
+ assetScale?: number | null | undefined;
3816
+ width?: number | null | undefined;
3817
+ height?: number | null | undefined;
3818
+ } | null | undefined;
3819
+ };
3820
+ url?: string | undefined;
3821
+ } | undefined;
3822
+ minHeight?: number | undefined;
3823
+ };
3824
+ };
3825
+ parentPersistentId?: string | null | undefined;
3826
+ afterPersistentId?: string | null | undefined;
3827
+ }[] | undefined;
3828
+ update?: {
3829
+ id: string;
3830
+ title?: string | undefined;
3831
+ configuration?: {
3832
+ showSidebar: boolean;
3833
+ header: {
3834
+ description: string;
3835
+ alignment: "Center" | "Left";
3836
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
3837
+ showBackgroundOverlay: boolean;
3838
+ showCoverText: boolean;
3839
+ foregroundColor?: {
3840
+ aliasTo?: string | null | undefined;
3841
+ value?: {
3842
+ opacity: {
3843
+ aliasTo?: string | null | undefined;
3844
+ value?: {
3845
+ unit: "Pixels" | "Raw";
3846
+ measure: number;
3847
+ } | null | undefined;
3848
+ };
3849
+ color: (string | {
3850
+ aliasTo?: string | null | undefined;
3851
+ }) & (string | {
3852
+ aliasTo?: string | null | undefined;
3853
+ } | undefined);
3854
+ } | null | undefined;
3855
+ } | undefined;
3856
+ backgroundColor?: {
3857
+ aliasTo?: string | null | undefined;
3858
+ value?: {
3859
+ opacity: {
3860
+ aliasTo?: string | null | undefined;
3861
+ value?: {
3862
+ unit: "Pixels" | "Raw";
3863
+ measure: number;
3864
+ } | null | undefined;
3865
+ };
3866
+ color: (string | {
3867
+ aliasTo?: string | null | undefined;
3868
+ }) & (string | {
3869
+ aliasTo?: string | null | undefined;
3870
+ } | undefined);
3871
+ } | null | undefined;
3872
+ } | undefined;
3873
+ backgroundImageAsset?: {
3874
+ id: string;
3875
+ type: "image";
3876
+ url?: string | undefined;
3877
+ } | {
3878
+ type: "figmaFrame";
3879
+ figmaFrame: {
3880
+ persistentId: string;
3881
+ sourceId: string;
3882
+ sourceFrameId: string;
3883
+ title?: string | null | undefined;
3884
+ description?: string | null | undefined;
3885
+ backgroundColor?: {
3886
+ value: string;
3887
+ } | null | undefined;
3888
+ origin?: {
3889
+ sourceFileName?: string | null | undefined;
3890
+ title?: string | null | undefined;
3891
+ previewUrl?: string | null | undefined;
3892
+ valid?: boolean | null | undefined;
3893
+ referenceId?: string | null | undefined;
3894
+ assetId?: string | null | undefined;
3895
+ assetScale?: number | null | undefined;
3896
+ width?: number | null | undefined;
3897
+ height?: number | null | undefined;
3898
+ } | null | undefined;
3899
+ };
3900
+ url?: string | undefined;
3901
+ } | undefined;
3902
+ minHeight?: number | undefined;
3903
+ };
3904
+ } | undefined;
3905
+ parentPersistentId?: string | undefined;
3906
+ afterPersistentId?: string | undefined;
3907
+ }[] | undefined;
3908
+ delete?: string[] | undefined;
3909
+ duplicate?: {
3910
+ persistentId: string;
3911
+ parentPersistentId: string;
3912
+ id: string;
3913
+ afterPersistentId?: string | null | undefined;
3914
+ }[] | undefined;
3915
+ };
3916
+ }>;
3917
+ type BulkEditDocPageElementsInput = z.infer<typeof BulkEditDocPageElementsInput>;
3918
+
3919
+ declare const PostLiveblocksAuth: z.ZodObject<{
3920
+ room: z.ZodString;
3921
+ }, "strip", z.ZodTypeAny, {
3922
+ room: string;
3923
+ }, {
3924
+ room: string;
3925
+ }>;
3926
+
8
3927
  declare const GetBlockDefinitionsResponse: z.ZodObject<{
9
3928
  definitions: z.ZodArray<z.ZodObject<{
10
3929
  id: z.ZodString;
@@ -669,13 +4588,10 @@ declare const PageBlockEditorModel: z.ZodObject<{
669
4588
  itemBackgroundColor: z.ZodObject<{
670
4589
  opacity: z.ZodObject<{
671
4590
  aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
672
- value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodObject<{
673
- unit: z.ZodEnum<["Raw", "Pixels"]>;
674
- measure: z.ZodNumber;
675
- }, "strip", z.ZodTypeAny, {
4591
+ value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
676
4592
  unit: "Pixels" | "Raw";
677
4593
  measure: number;
678
- }, {
4594
+ }, z.ZodTypeDef, {
679
4595
  unit: "Pixels" | "Raw";
680
4596
  measure: number;
681
4597
  }>>>, {
@@ -884,6 +4800,7 @@ declare const PageBlockEditorModel: z.ZodObject<{
884
4800
  } | undefined;
885
4801
  }>;
886
4802
  }, "strip", z.ZodTypeAny, {
4803
+ id: string;
887
4804
  data: {
888
4805
  packageId: string;
889
4806
  indentLevel: number;
@@ -918,8 +4835,8 @@ declare const PageBlockEditorModel: z.ZodObject<{
918
4835
  };
919
4836
  } | undefined;
920
4837
  };
921
- id: string;
922
4838
  }, {
4839
+ id: string;
923
4840
  data: {
924
4841
  packageId: string;
925
4842
  indentLevel: number;
@@ -954,7 +4871,6 @@ declare const PageBlockEditorModel: z.ZodObject<{
954
4871
  };
955
4872
  } | undefined;
956
4873
  };
957
- id: string;
958
4874
  }>;
959
4875
  type PageBlockEditorModel = z.infer<typeof PageBlockEditorModel>;
960
4876
 
@@ -969,13 +4885,10 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
969
4885
  itemBackgroundColor: z.ZodObject<{
970
4886
  opacity: z.ZodObject<{
971
4887
  aliasTo: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
972
- value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodObject<{
973
- unit: z.ZodEnum<["Raw", "Pixels"]>;
974
- measure: z.ZodNumber;
975
- }, "strip", z.ZodTypeAny, {
4888
+ value: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodType<{
976
4889
  unit: "Pixels" | "Raw";
977
4890
  measure: number;
978
- }, {
4891
+ }, z.ZodTypeDef, {
979
4892
  unit: "Pixels" | "Raw";
980
4893
  measure: number;
981
4894
  }>>>, {
@@ -1184,6 +5097,7 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
1184
5097
  } | undefined;
1185
5098
  }>;
1186
5099
  }, "strip", z.ZodTypeAny, {
5100
+ id: string;
1187
5101
  data: {
1188
5102
  packageId: string;
1189
5103
  indentLevel: number;
@@ -1218,8 +5132,8 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
1218
5132
  };
1219
5133
  } | undefined;
1220
5134
  };
1221
- id: string;
1222
5135
  }, {
5136
+ id: string;
1223
5137
  data: {
1224
5138
  packageId: string;
1225
5139
  indentLevel: number;
@@ -1254,10 +5168,10 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
1254
5168
  };
1255
5169
  } | undefined;
1256
5170
  };
1257
- id: string;
1258
5171
  }>, "many">;
1259
5172
  }, "strip", z.ZodTypeAny, {
1260
5173
  blocks: {
5174
+ id: string;
1261
5175
  data: {
1262
5176
  packageId: string;
1263
5177
  indentLevel: number;
@@ -1292,10 +5206,10 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
1292
5206
  };
1293
5207
  } | undefined;
1294
5208
  };
1295
- id: string;
1296
5209
  }[];
1297
5210
  }, {
1298
5211
  blocks: {
5212
+ id: string;
1299
5213
  data: {
1300
5214
  packageId: string;
1301
5215
  indentLevel: number;
@@ -1330,7 +5244,6 @@ declare const DocumentationPageEditorModel: z.ZodObject<{
1330
5244
  };
1331
5245
  } | undefined;
1332
5246
  };
1333
- id: string;
1334
5247
  }[];
1335
5248
  }>;
1336
5249
  type DocumentationPageEditorModel = z.infer<typeof DocumentationPageEditorModel>;
@@ -1577,4 +5490,4 @@ declare const BlockDefinitionUtils: {
1577
5490
  };
1578
5491
  };
1579
5492
 
1580
- export { BlockDefinitionUtils, BlockParsingUtils, DocumentationPageEditorModel, GetBlockDefinitionsResponse, PageBlockEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, blockDefinitionForBlock, blockToProsemirrorNode, getMockPageBlockDefinitions, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, serializeAsCustomBlock, yXmlFragmetToPage };
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 };