@nfcard/validation 0.23.0 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _nfcard_types from '@nfcard/types';
2
- import { CardAsset, CardElement, ElementTransform } from '@nfcard/types';
2
+ import { CardAsset, CardElement, ElementTransform, ProfileLayout } from '@nfcard/types';
3
3
  import { z } from 'zod';
4
4
 
5
5
  /**
@@ -109,6 +109,230 @@ declare function footprintOf(el: CardElement): {
109
109
  /** All hard manufacturing violations for one element. Empty ⇒ printable. */
110
110
  declare function elementPrintability(el: CardElement, ctx: PrintabilityCtx): Violation[];
111
111
 
112
+ /**
113
+ * NFCARD-656 — the write-side schema for `DigitalConfig.layout`, the stored
114
+ * object/section document. The vocabulary (section ids, object ids, kinds,
115
+ * caps) lives in @nfcard/types; this file only decides what a WRITE may
116
+ * contain.
117
+ *
118
+ * Posture, and why it differs between the two order surfaces:
119
+ * · `objects` (style overrides) is STRICT — every key must name an object
120
+ * this schema's vintage knows, because styles are rendered into CSS and
121
+ * an un-dispatchable style cannot be validated per kind. Version skew is
122
+ * covered by the deploy order (api ships before web, so the accepting
123
+ * schema is never older than the writing client).
124
+ * · `sectionOrder` / `objectOrder` entries are validated by SHAPE only
125
+ * (charset + length). An order entry naming nothing is harmless by
126
+ * construction — `resolveObjectOrder` filters to what is present at
127
+ * render — and rejecting it would turn "the user once ordered a thing
128
+ * that later disappeared" into a 400 on an unrelated save.
129
+ *
130
+ * ⚠ NOT the XSS boundary. FreeText is rendered through Nunjucks with
131
+ * autoescape ON (FOXHOLE-587); the hygiene here (tag/control strip, caps)
132
+ * is defense-in-depth, same standing as the rest of @nfcard/validation.
133
+ */
134
+
135
+ declare const textObjectStyleSchema: z.ZodObject<{
136
+ color: z.ZodOptional<z.ZodString>;
137
+ sizeStep: z.ZodOptional<z.ZodEnum<["sm", "md", "lg"]>>;
138
+ align: z.ZodOptional<z.ZodEnum<["start", "center"]>>;
139
+ weight: z.ZodOptional<z.ZodEnum<["normal", "bold"]>>;
140
+ italic: z.ZodOptional<z.ZodBoolean>;
141
+ underline: z.ZodOptional<z.ZodBoolean>;
142
+ fontKey: z.ZodOptional<z.ZodString>;
143
+ }, "strict", z.ZodTypeAny, {
144
+ weight?: "bold" | "normal" | undefined;
145
+ fontKey?: string | undefined;
146
+ italic?: boolean | undefined;
147
+ underline?: boolean | undefined;
148
+ color?: string | undefined;
149
+ sizeStep?: "sm" | "md" | "lg" | undefined;
150
+ align?: "start" | "center" | undefined;
151
+ }, {
152
+ weight?: "bold" | "normal" | undefined;
153
+ fontKey?: string | undefined;
154
+ italic?: boolean | undefined;
155
+ underline?: boolean | undefined;
156
+ color?: string | undefined;
157
+ sizeStep?: "sm" | "md" | "lg" | undefined;
158
+ align?: "start" | "center" | undefined;
159
+ }>;
160
+ declare const imageObjectStyleSchema: z.ZodObject<{
161
+ crop: z.ZodOptional<z.ZodObject<{
162
+ x: z.ZodNumber;
163
+ y: z.ZodNumber;
164
+ zoom: z.ZodNumber;
165
+ }, "strict", z.ZodTypeAny, {
166
+ x: number;
167
+ y: number;
168
+ zoom: number;
169
+ }, {
170
+ x: number;
171
+ y: number;
172
+ zoom: number;
173
+ }>>;
174
+ borderColor: z.ZodOptional<z.ZodString>;
175
+ borderPx: z.ZodOptional<z.ZodNumber>;
176
+ shape: z.ZodOptional<z.ZodEnum<["circle", "rounded", "square"]>>;
177
+ }, "strict", z.ZodTypeAny, {
178
+ shape?: "circle" | "rounded" | "square" | undefined;
179
+ crop?: {
180
+ x: number;
181
+ y: number;
182
+ zoom: number;
183
+ } | undefined;
184
+ borderColor?: string | undefined;
185
+ borderPx?: number | undefined;
186
+ }, {
187
+ shape?: "circle" | "rounded" | "square" | undefined;
188
+ crop?: {
189
+ x: number;
190
+ y: number;
191
+ zoom: number;
192
+ } | undefined;
193
+ borderColor?: string | undefined;
194
+ borderPx?: number | undefined;
195
+ }>;
196
+ declare const buttonObjectStyleSchema: z.ZodObject<{
197
+ bg: z.ZodOptional<z.ZodString>;
198
+ variant: z.ZodOptional<z.ZodEnum<["solid", "soft", "outline"]>>;
199
+ }, "strict", z.ZodTypeAny, {
200
+ variant?: "solid" | "soft" | "outline" | undefined;
201
+ bg?: string | undefined;
202
+ }, {
203
+ variant?: "solid" | "soft" | "outline" | undefined;
204
+ bg?: string | undefined;
205
+ }>;
206
+ declare const profileLayoutSchema: z.ZodEffects<z.ZodObject<{
207
+ v: z.ZodLiteral<1>;
208
+ sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
209
+ objectOrder: z.ZodOptional<z.ZodObject<{
210
+ bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
211
+ identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
212
+ contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
213
+ social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
214
+ actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
215
+ cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
216
+ footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
217
+ }, "strict", z.ZodTypeAny, {
218
+ bio?: string[] | undefined;
219
+ identity?: string[] | undefined;
220
+ contact?: string[] | undefined;
221
+ social?: string[] | undefined;
222
+ actions?: string[] | undefined;
223
+ cta?: string[] | undefined;
224
+ footer?: string[] | undefined;
225
+ }, {
226
+ bio?: string[] | undefined;
227
+ identity?: string[] | undefined;
228
+ contact?: string[] | undefined;
229
+ social?: string[] | undefined;
230
+ actions?: string[] | undefined;
231
+ cta?: string[] | undefined;
232
+ footer?: string[] | undefined;
233
+ }>>;
234
+ objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
235
+ ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
236
+ id: z.ZodString;
237
+ kind: z.ZodLiteral<"freeText">;
238
+ section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
239
+ text: z.ZodEffects<z.ZodString, string, string>;
240
+ }, "strict", z.ZodTypeAny, {
241
+ text: string;
242
+ id: string;
243
+ kind: "freeText";
244
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
245
+ }, {
246
+ text: string;
247
+ id: string;
248
+ kind: "freeText";
249
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
250
+ }>, "many">>;
251
+ }, "strict", z.ZodTypeAny, {
252
+ v: 1;
253
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
254
+ objectOrder?: {
255
+ bio?: string[] | undefined;
256
+ identity?: string[] | undefined;
257
+ contact?: string[] | undefined;
258
+ social?: string[] | undefined;
259
+ actions?: string[] | undefined;
260
+ cta?: string[] | undefined;
261
+ footer?: string[] | undefined;
262
+ } | undefined;
263
+ objects?: Record<string, unknown> | undefined;
264
+ ownedObjects?: {
265
+ text: string;
266
+ id: string;
267
+ kind: "freeText";
268
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
269
+ }[] | undefined;
270
+ }, {
271
+ v: 1;
272
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
273
+ objectOrder?: {
274
+ bio?: string[] | undefined;
275
+ identity?: string[] | undefined;
276
+ contact?: string[] | undefined;
277
+ social?: string[] | undefined;
278
+ actions?: string[] | undefined;
279
+ cta?: string[] | undefined;
280
+ footer?: string[] | undefined;
281
+ } | undefined;
282
+ objects?: Record<string, unknown> | undefined;
283
+ ownedObjects?: {
284
+ text: string;
285
+ id: string;
286
+ kind: "freeText";
287
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
288
+ }[] | undefined;
289
+ }>, {
290
+ v: 1;
291
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
292
+ objectOrder?: {
293
+ bio?: string[] | undefined;
294
+ identity?: string[] | undefined;
295
+ contact?: string[] | undefined;
296
+ social?: string[] | undefined;
297
+ actions?: string[] | undefined;
298
+ cta?: string[] | undefined;
299
+ footer?: string[] | undefined;
300
+ } | undefined;
301
+ objects?: Record<string, unknown> | undefined;
302
+ ownedObjects?: {
303
+ text: string;
304
+ id: string;
305
+ kind: "freeText";
306
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
307
+ }[] | undefined;
308
+ }, {
309
+ v: 1;
310
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
311
+ objectOrder?: {
312
+ bio?: string[] | undefined;
313
+ identity?: string[] | undefined;
314
+ contact?: string[] | undefined;
315
+ social?: string[] | undefined;
316
+ actions?: string[] | undefined;
317
+ cta?: string[] | undefined;
318
+ footer?: string[] | undefined;
319
+ } | undefined;
320
+ objects?: Record<string, unknown> | undefined;
321
+ ownedObjects?: {
322
+ text: string;
323
+ id: string;
324
+ kind: "freeText";
325
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
326
+ }[] | undefined;
327
+ }>;
328
+ /**
329
+ * Render-side gate: a stored layout that no longer parses (a vintage this
330
+ * build predates, a hand-corrupted blob) renders as CANONICAL rather than
331
+ * failing the whole page. Mirrors the lenient posture of
332
+ * `resolveRenderBackground` — the public page never 500s over decoration.
333
+ */
334
+ declare function safeProfileLayout(value: unknown): ProfileLayout | null;
335
+
112
336
  declare const webAddressSchema: z.ZodUnion<[z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>, z.ZodLiteral<"">]>;
113
337
  declare function sanitizeHttpUrl(raw: unknown): string;
114
338
  /** Plain-text label — strip tags/control chars, cap length. */
@@ -5393,11 +5617,153 @@ declare const digitalConfigSchema: z.ZodObject<{
5393
5617
  to: string;
5394
5618
  angleDeg: number;
5395
5619
  } | undefined, unknown>>;
5620
+ layout: z.ZodOptional<z.ZodEffects<z.ZodObject<{
5621
+ v: z.ZodLiteral<1>;
5622
+ sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
5623
+ objectOrder: z.ZodOptional<z.ZodObject<{
5624
+ bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5625
+ identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5626
+ contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5627
+ social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5628
+ actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5629
+ cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5630
+ footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5631
+ }, "strict", z.ZodTypeAny, {
5632
+ bio?: string[] | undefined;
5633
+ identity?: string[] | undefined;
5634
+ contact?: string[] | undefined;
5635
+ social?: string[] | undefined;
5636
+ actions?: string[] | undefined;
5637
+ cta?: string[] | undefined;
5638
+ footer?: string[] | undefined;
5639
+ }, {
5640
+ bio?: string[] | undefined;
5641
+ identity?: string[] | undefined;
5642
+ contact?: string[] | undefined;
5643
+ social?: string[] | undefined;
5644
+ actions?: string[] | undefined;
5645
+ cta?: string[] | undefined;
5646
+ footer?: string[] | undefined;
5647
+ }>>;
5648
+ objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5649
+ ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
5650
+ id: z.ZodString;
5651
+ kind: z.ZodLiteral<"freeText">;
5652
+ section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
5653
+ text: z.ZodEffects<z.ZodString, string, string>;
5654
+ }, "strict", z.ZodTypeAny, {
5655
+ text: string;
5656
+ id: string;
5657
+ kind: "freeText";
5658
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
5659
+ }, {
5660
+ text: string;
5661
+ id: string;
5662
+ kind: "freeText";
5663
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
5664
+ }>, "many">>;
5665
+ }, "strict", z.ZodTypeAny, {
5666
+ v: 1;
5667
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
5668
+ objectOrder?: {
5669
+ bio?: string[] | undefined;
5670
+ identity?: string[] | undefined;
5671
+ contact?: string[] | undefined;
5672
+ social?: string[] | undefined;
5673
+ actions?: string[] | undefined;
5674
+ cta?: string[] | undefined;
5675
+ footer?: string[] | undefined;
5676
+ } | undefined;
5677
+ objects?: Record<string, unknown> | undefined;
5678
+ ownedObjects?: {
5679
+ text: string;
5680
+ id: string;
5681
+ kind: "freeText";
5682
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
5683
+ }[] | undefined;
5684
+ }, {
5685
+ v: 1;
5686
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
5687
+ objectOrder?: {
5688
+ bio?: string[] | undefined;
5689
+ identity?: string[] | undefined;
5690
+ contact?: string[] | undefined;
5691
+ social?: string[] | undefined;
5692
+ actions?: string[] | undefined;
5693
+ cta?: string[] | undefined;
5694
+ footer?: string[] | undefined;
5695
+ } | undefined;
5696
+ objects?: Record<string, unknown> | undefined;
5697
+ ownedObjects?: {
5698
+ text: string;
5699
+ id: string;
5700
+ kind: "freeText";
5701
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
5702
+ }[] | undefined;
5703
+ }>, {
5704
+ v: 1;
5705
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
5706
+ objectOrder?: {
5707
+ bio?: string[] | undefined;
5708
+ identity?: string[] | undefined;
5709
+ contact?: string[] | undefined;
5710
+ social?: string[] | undefined;
5711
+ actions?: string[] | undefined;
5712
+ cta?: string[] | undefined;
5713
+ footer?: string[] | undefined;
5714
+ } | undefined;
5715
+ objects?: Record<string, unknown> | undefined;
5716
+ ownedObjects?: {
5717
+ text: string;
5718
+ id: string;
5719
+ kind: "freeText";
5720
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
5721
+ }[] | undefined;
5722
+ }, {
5723
+ v: 1;
5724
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
5725
+ objectOrder?: {
5726
+ bio?: string[] | undefined;
5727
+ identity?: string[] | undefined;
5728
+ contact?: string[] | undefined;
5729
+ social?: string[] | undefined;
5730
+ actions?: string[] | undefined;
5731
+ cta?: string[] | undefined;
5732
+ footer?: string[] | undefined;
5733
+ } | undefined;
5734
+ objects?: Record<string, unknown> | undefined;
5735
+ ownedObjects?: {
5736
+ text: string;
5737
+ id: string;
5738
+ kind: "freeText";
5739
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
5740
+ }[] | undefined;
5741
+ }>>;
5396
5742
  }, "strip", z.ZodTypeAny, {
5397
5743
  fontKey: string;
5398
5744
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
5399
5745
  accentColor: string;
5400
5746
  showAvatar: boolean;
5747
+ layout?: {
5748
+ v: 1;
5749
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
5750
+ objectOrder?: {
5751
+ bio?: string[] | undefined;
5752
+ identity?: string[] | undefined;
5753
+ contact?: string[] | undefined;
5754
+ social?: string[] | undefined;
5755
+ actions?: string[] | undefined;
5756
+ cta?: string[] | undefined;
5757
+ footer?: string[] | undefined;
5758
+ } | undefined;
5759
+ objects?: Record<string, unknown> | undefined;
5760
+ ownedObjects?: {
5761
+ text: string;
5762
+ id: string;
5763
+ kind: "freeText";
5764
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
5765
+ }[] | undefined;
5766
+ } | undefined;
5401
5767
  background?: {
5402
5768
  kind: "solid";
5403
5769
  from?: undefined;
@@ -5467,6 +5833,26 @@ declare const digitalConfigSchema: z.ZodObject<{
5467
5833
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
5468
5834
  accentColor: string;
5469
5835
  showAvatar: boolean;
5836
+ layout?: {
5837
+ v: 1;
5838
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
5839
+ objectOrder?: {
5840
+ bio?: string[] | undefined;
5841
+ identity?: string[] | undefined;
5842
+ contact?: string[] | undefined;
5843
+ social?: string[] | undefined;
5844
+ actions?: string[] | undefined;
5845
+ cta?: string[] | undefined;
5846
+ footer?: string[] | undefined;
5847
+ } | undefined;
5848
+ objects?: Record<string, unknown> | undefined;
5849
+ ownedObjects?: {
5850
+ text: string;
5851
+ id: string;
5852
+ kind: "freeText";
5853
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
5854
+ }[] | undefined;
5855
+ } | undefined;
5470
5856
  background?: unknown;
5471
5857
  primaryColor?: string | undefined;
5472
5858
  secondaryColor?: string | undefined;
@@ -9062,11 +9448,153 @@ declare const configurationCreateSchema: z.ZodObject<{
9062
9448
  to: string;
9063
9449
  angleDeg: number;
9064
9450
  } | undefined, unknown>>;
9451
+ layout: z.ZodOptional<z.ZodEffects<z.ZodObject<{
9452
+ v: z.ZodLiteral<1>;
9453
+ sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
9454
+ objectOrder: z.ZodOptional<z.ZodObject<{
9455
+ bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
9456
+ identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
9457
+ contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
9458
+ social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
9459
+ actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
9460
+ cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
9461
+ footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
9462
+ }, "strict", z.ZodTypeAny, {
9463
+ bio?: string[] | undefined;
9464
+ identity?: string[] | undefined;
9465
+ contact?: string[] | undefined;
9466
+ social?: string[] | undefined;
9467
+ actions?: string[] | undefined;
9468
+ cta?: string[] | undefined;
9469
+ footer?: string[] | undefined;
9470
+ }, {
9471
+ bio?: string[] | undefined;
9472
+ identity?: string[] | undefined;
9473
+ contact?: string[] | undefined;
9474
+ social?: string[] | undefined;
9475
+ actions?: string[] | undefined;
9476
+ cta?: string[] | undefined;
9477
+ footer?: string[] | undefined;
9478
+ }>>;
9479
+ objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9480
+ ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
9481
+ id: z.ZodString;
9482
+ kind: z.ZodLiteral<"freeText">;
9483
+ section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
9484
+ text: z.ZodEffects<z.ZodString, string, string>;
9485
+ }, "strict", z.ZodTypeAny, {
9486
+ text: string;
9487
+ id: string;
9488
+ kind: "freeText";
9489
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
9490
+ }, {
9491
+ text: string;
9492
+ id: string;
9493
+ kind: "freeText";
9494
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
9495
+ }>, "many">>;
9496
+ }, "strict", z.ZodTypeAny, {
9497
+ v: 1;
9498
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
9499
+ objectOrder?: {
9500
+ bio?: string[] | undefined;
9501
+ identity?: string[] | undefined;
9502
+ contact?: string[] | undefined;
9503
+ social?: string[] | undefined;
9504
+ actions?: string[] | undefined;
9505
+ cta?: string[] | undefined;
9506
+ footer?: string[] | undefined;
9507
+ } | undefined;
9508
+ objects?: Record<string, unknown> | undefined;
9509
+ ownedObjects?: {
9510
+ text: string;
9511
+ id: string;
9512
+ kind: "freeText";
9513
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
9514
+ }[] | undefined;
9515
+ }, {
9516
+ v: 1;
9517
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
9518
+ objectOrder?: {
9519
+ bio?: string[] | undefined;
9520
+ identity?: string[] | undefined;
9521
+ contact?: string[] | undefined;
9522
+ social?: string[] | undefined;
9523
+ actions?: string[] | undefined;
9524
+ cta?: string[] | undefined;
9525
+ footer?: string[] | undefined;
9526
+ } | undefined;
9527
+ objects?: Record<string, unknown> | undefined;
9528
+ ownedObjects?: {
9529
+ text: string;
9530
+ id: string;
9531
+ kind: "freeText";
9532
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
9533
+ }[] | undefined;
9534
+ }>, {
9535
+ v: 1;
9536
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
9537
+ objectOrder?: {
9538
+ bio?: string[] | undefined;
9539
+ identity?: string[] | undefined;
9540
+ contact?: string[] | undefined;
9541
+ social?: string[] | undefined;
9542
+ actions?: string[] | undefined;
9543
+ cta?: string[] | undefined;
9544
+ footer?: string[] | undefined;
9545
+ } | undefined;
9546
+ objects?: Record<string, unknown> | undefined;
9547
+ ownedObjects?: {
9548
+ text: string;
9549
+ id: string;
9550
+ kind: "freeText";
9551
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
9552
+ }[] | undefined;
9553
+ }, {
9554
+ v: 1;
9555
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
9556
+ objectOrder?: {
9557
+ bio?: string[] | undefined;
9558
+ identity?: string[] | undefined;
9559
+ contact?: string[] | undefined;
9560
+ social?: string[] | undefined;
9561
+ actions?: string[] | undefined;
9562
+ cta?: string[] | undefined;
9563
+ footer?: string[] | undefined;
9564
+ } | undefined;
9565
+ objects?: Record<string, unknown> | undefined;
9566
+ ownedObjects?: {
9567
+ text: string;
9568
+ id: string;
9569
+ kind: "freeText";
9570
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
9571
+ }[] | undefined;
9572
+ }>>;
9065
9573
  }, "strip", z.ZodTypeAny, {
9066
9574
  fontKey: string;
9067
9575
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
9068
9576
  accentColor: string;
9069
9577
  showAvatar: boolean;
9578
+ layout?: {
9579
+ v: 1;
9580
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
9581
+ objectOrder?: {
9582
+ bio?: string[] | undefined;
9583
+ identity?: string[] | undefined;
9584
+ contact?: string[] | undefined;
9585
+ social?: string[] | undefined;
9586
+ actions?: string[] | undefined;
9587
+ cta?: string[] | undefined;
9588
+ footer?: string[] | undefined;
9589
+ } | undefined;
9590
+ objects?: Record<string, unknown> | undefined;
9591
+ ownedObjects?: {
9592
+ text: string;
9593
+ id: string;
9594
+ kind: "freeText";
9595
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
9596
+ }[] | undefined;
9597
+ } | undefined;
9070
9598
  background?: {
9071
9599
  kind: "solid";
9072
9600
  from?: undefined;
@@ -9136,6 +9664,26 @@ declare const configurationCreateSchema: z.ZodObject<{
9136
9664
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
9137
9665
  accentColor: string;
9138
9666
  showAvatar: boolean;
9667
+ layout?: {
9668
+ v: 1;
9669
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
9670
+ objectOrder?: {
9671
+ bio?: string[] | undefined;
9672
+ identity?: string[] | undefined;
9673
+ contact?: string[] | undefined;
9674
+ social?: string[] | undefined;
9675
+ actions?: string[] | undefined;
9676
+ cta?: string[] | undefined;
9677
+ footer?: string[] | undefined;
9678
+ } | undefined;
9679
+ objects?: Record<string, unknown> | undefined;
9680
+ ownedObjects?: {
9681
+ text: string;
9682
+ id: string;
9683
+ kind: "freeText";
9684
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
9685
+ }[] | undefined;
9686
+ } | undefined;
9139
9687
  background?: unknown;
9140
9688
  primaryColor?: string | undefined;
9141
9689
  secondaryColor?: string | undefined;
@@ -9526,6 +10074,26 @@ declare const configurationCreateSchema: z.ZodObject<{
9526
10074
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
9527
10075
  accentColor: string;
9528
10076
  showAvatar: boolean;
10077
+ layout?: {
10078
+ v: 1;
10079
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
10080
+ objectOrder?: {
10081
+ bio?: string[] | undefined;
10082
+ identity?: string[] | undefined;
10083
+ contact?: string[] | undefined;
10084
+ social?: string[] | undefined;
10085
+ actions?: string[] | undefined;
10086
+ cta?: string[] | undefined;
10087
+ footer?: string[] | undefined;
10088
+ } | undefined;
10089
+ objects?: Record<string, unknown> | undefined;
10090
+ ownedObjects?: {
10091
+ text: string;
10092
+ id: string;
10093
+ kind: "freeText";
10094
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
10095
+ }[] | undefined;
10096
+ } | undefined;
9529
10097
  background?: {
9530
10098
  kind: "solid";
9531
10099
  from?: undefined;
@@ -9929,6 +10497,26 @@ declare const configurationCreateSchema: z.ZodObject<{
9929
10497
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
9930
10498
  accentColor: string;
9931
10499
  showAvatar: boolean;
10500
+ layout?: {
10501
+ v: 1;
10502
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
10503
+ objectOrder?: {
10504
+ bio?: string[] | undefined;
10505
+ identity?: string[] | undefined;
10506
+ contact?: string[] | undefined;
10507
+ social?: string[] | undefined;
10508
+ actions?: string[] | undefined;
10509
+ cta?: string[] | undefined;
10510
+ footer?: string[] | undefined;
10511
+ } | undefined;
10512
+ objects?: Record<string, unknown> | undefined;
10513
+ ownedObjects?: {
10514
+ text: string;
10515
+ id: string;
10516
+ kind: "freeText";
10517
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
10518
+ }[] | undefined;
10519
+ } | undefined;
9932
10520
  background?: unknown;
9933
10521
  primaryColor?: string | undefined;
9934
10522
  secondaryColor?: string | undefined;
@@ -13509,11 +14097,153 @@ declare const configurationUpdateSchema: z.ZodObject<{
13509
14097
  to: string;
13510
14098
  angleDeg: number;
13511
14099
  } | undefined, unknown>>;
14100
+ layout: z.ZodOptional<z.ZodEffects<z.ZodObject<{
14101
+ v: z.ZodLiteral<1>;
14102
+ sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
14103
+ objectOrder: z.ZodOptional<z.ZodObject<{
14104
+ bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
14105
+ identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
14106
+ contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
14107
+ social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
14108
+ actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
14109
+ cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
14110
+ footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
14111
+ }, "strict", z.ZodTypeAny, {
14112
+ bio?: string[] | undefined;
14113
+ identity?: string[] | undefined;
14114
+ contact?: string[] | undefined;
14115
+ social?: string[] | undefined;
14116
+ actions?: string[] | undefined;
14117
+ cta?: string[] | undefined;
14118
+ footer?: string[] | undefined;
14119
+ }, {
14120
+ bio?: string[] | undefined;
14121
+ identity?: string[] | undefined;
14122
+ contact?: string[] | undefined;
14123
+ social?: string[] | undefined;
14124
+ actions?: string[] | undefined;
14125
+ cta?: string[] | undefined;
14126
+ footer?: string[] | undefined;
14127
+ }>>;
14128
+ objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14129
+ ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
14130
+ id: z.ZodString;
14131
+ kind: z.ZodLiteral<"freeText">;
14132
+ section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
14133
+ text: z.ZodEffects<z.ZodString, string, string>;
14134
+ }, "strict", z.ZodTypeAny, {
14135
+ text: string;
14136
+ id: string;
14137
+ kind: "freeText";
14138
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
14139
+ }, {
14140
+ text: string;
14141
+ id: string;
14142
+ kind: "freeText";
14143
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
14144
+ }>, "many">>;
14145
+ }, "strict", z.ZodTypeAny, {
14146
+ v: 1;
14147
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
14148
+ objectOrder?: {
14149
+ bio?: string[] | undefined;
14150
+ identity?: string[] | undefined;
14151
+ contact?: string[] | undefined;
14152
+ social?: string[] | undefined;
14153
+ actions?: string[] | undefined;
14154
+ cta?: string[] | undefined;
14155
+ footer?: string[] | undefined;
14156
+ } | undefined;
14157
+ objects?: Record<string, unknown> | undefined;
14158
+ ownedObjects?: {
14159
+ text: string;
14160
+ id: string;
14161
+ kind: "freeText";
14162
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
14163
+ }[] | undefined;
14164
+ }, {
14165
+ v: 1;
14166
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
14167
+ objectOrder?: {
14168
+ bio?: string[] | undefined;
14169
+ identity?: string[] | undefined;
14170
+ contact?: string[] | undefined;
14171
+ social?: string[] | undefined;
14172
+ actions?: string[] | undefined;
14173
+ cta?: string[] | undefined;
14174
+ footer?: string[] | undefined;
14175
+ } | undefined;
14176
+ objects?: Record<string, unknown> | undefined;
14177
+ ownedObjects?: {
14178
+ text: string;
14179
+ id: string;
14180
+ kind: "freeText";
14181
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
14182
+ }[] | undefined;
14183
+ }>, {
14184
+ v: 1;
14185
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
14186
+ objectOrder?: {
14187
+ bio?: string[] | undefined;
14188
+ identity?: string[] | undefined;
14189
+ contact?: string[] | undefined;
14190
+ social?: string[] | undefined;
14191
+ actions?: string[] | undefined;
14192
+ cta?: string[] | undefined;
14193
+ footer?: string[] | undefined;
14194
+ } | undefined;
14195
+ objects?: Record<string, unknown> | undefined;
14196
+ ownedObjects?: {
14197
+ text: string;
14198
+ id: string;
14199
+ kind: "freeText";
14200
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
14201
+ }[] | undefined;
14202
+ }, {
14203
+ v: 1;
14204
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
14205
+ objectOrder?: {
14206
+ bio?: string[] | undefined;
14207
+ identity?: string[] | undefined;
14208
+ contact?: string[] | undefined;
14209
+ social?: string[] | undefined;
14210
+ actions?: string[] | undefined;
14211
+ cta?: string[] | undefined;
14212
+ footer?: string[] | undefined;
14213
+ } | undefined;
14214
+ objects?: Record<string, unknown> | undefined;
14215
+ ownedObjects?: {
14216
+ text: string;
14217
+ id: string;
14218
+ kind: "freeText";
14219
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
14220
+ }[] | undefined;
14221
+ }>>;
13512
14222
  }, "strip", z.ZodTypeAny, {
13513
14223
  fontKey: string;
13514
14224
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
13515
14225
  accentColor: string;
13516
14226
  showAvatar: boolean;
14227
+ layout?: {
14228
+ v: 1;
14229
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
14230
+ objectOrder?: {
14231
+ bio?: string[] | undefined;
14232
+ identity?: string[] | undefined;
14233
+ contact?: string[] | undefined;
14234
+ social?: string[] | undefined;
14235
+ actions?: string[] | undefined;
14236
+ cta?: string[] | undefined;
14237
+ footer?: string[] | undefined;
14238
+ } | undefined;
14239
+ objects?: Record<string, unknown> | undefined;
14240
+ ownedObjects?: {
14241
+ text: string;
14242
+ id: string;
14243
+ kind: "freeText";
14244
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
14245
+ }[] | undefined;
14246
+ } | undefined;
13517
14247
  background?: {
13518
14248
  kind: "solid";
13519
14249
  from?: undefined;
@@ -13583,6 +14313,26 @@ declare const configurationUpdateSchema: z.ZodObject<{
13583
14313
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
13584
14314
  accentColor: string;
13585
14315
  showAvatar: boolean;
14316
+ layout?: {
14317
+ v: 1;
14318
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
14319
+ objectOrder?: {
14320
+ bio?: string[] | undefined;
14321
+ identity?: string[] | undefined;
14322
+ contact?: string[] | undefined;
14323
+ social?: string[] | undefined;
14324
+ actions?: string[] | undefined;
14325
+ cta?: string[] | undefined;
14326
+ footer?: string[] | undefined;
14327
+ } | undefined;
14328
+ objects?: Record<string, unknown> | undefined;
14329
+ ownedObjects?: {
14330
+ text: string;
14331
+ id: string;
14332
+ kind: "freeText";
14333
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
14334
+ }[] | undefined;
14335
+ } | undefined;
13586
14336
  background?: unknown;
13587
14337
  primaryColor?: string | undefined;
13588
14338
  secondaryColor?: string | undefined;
@@ -13944,6 +14694,26 @@ declare const configurationUpdateSchema: z.ZodObject<{
13944
14694
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
13945
14695
  accentColor: string;
13946
14696
  showAvatar: boolean;
14697
+ layout?: {
14698
+ v: 1;
14699
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
14700
+ objectOrder?: {
14701
+ bio?: string[] | undefined;
14702
+ identity?: string[] | undefined;
14703
+ contact?: string[] | undefined;
14704
+ social?: string[] | undefined;
14705
+ actions?: string[] | undefined;
14706
+ cta?: string[] | undefined;
14707
+ footer?: string[] | undefined;
14708
+ } | undefined;
14709
+ objects?: Record<string, unknown> | undefined;
14710
+ ownedObjects?: {
14711
+ text: string;
14712
+ id: string;
14713
+ kind: "freeText";
14714
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
14715
+ }[] | undefined;
14716
+ } | undefined;
13947
14717
  background?: {
13948
14718
  kind: "solid";
13949
14719
  from?: undefined;
@@ -14336,6 +15106,26 @@ declare const configurationUpdateSchema: z.ZodObject<{
14336
15106
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
14337
15107
  accentColor: string;
14338
15108
  showAvatar: boolean;
15109
+ layout?: {
15110
+ v: 1;
15111
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
15112
+ objectOrder?: {
15113
+ bio?: string[] | undefined;
15114
+ identity?: string[] | undefined;
15115
+ contact?: string[] | undefined;
15116
+ social?: string[] | undefined;
15117
+ actions?: string[] | undefined;
15118
+ cta?: string[] | undefined;
15119
+ footer?: string[] | undefined;
15120
+ } | undefined;
15121
+ objects?: Record<string, unknown> | undefined;
15122
+ ownedObjects?: {
15123
+ text: string;
15124
+ id: string;
15125
+ kind: "freeText";
15126
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15127
+ }[] | undefined;
15128
+ } | undefined;
14339
15129
  background?: unknown;
14340
15130
  primaryColor?: string | undefined;
14341
15131
  secondaryColor?: string | undefined;
@@ -14509,6 +15299,128 @@ declare const cardUpdateSchema: z.ZodObject<{
14509
15299
  to: string;
14510
15300
  angleDeg: number;
14511
15301
  } | undefined, unknown>>>>;
15302
+ layout: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodObject<{
15303
+ v: z.ZodLiteral<1>;
15304
+ sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
15305
+ objectOrder: z.ZodOptional<z.ZodObject<{
15306
+ bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15307
+ identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15308
+ contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15309
+ social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15310
+ actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15311
+ cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15312
+ footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15313
+ }, "strict", z.ZodTypeAny, {
15314
+ bio?: string[] | undefined;
15315
+ identity?: string[] | undefined;
15316
+ contact?: string[] | undefined;
15317
+ social?: string[] | undefined;
15318
+ actions?: string[] | undefined;
15319
+ cta?: string[] | undefined;
15320
+ footer?: string[] | undefined;
15321
+ }, {
15322
+ bio?: string[] | undefined;
15323
+ identity?: string[] | undefined;
15324
+ contact?: string[] | undefined;
15325
+ social?: string[] | undefined;
15326
+ actions?: string[] | undefined;
15327
+ cta?: string[] | undefined;
15328
+ footer?: string[] | undefined;
15329
+ }>>;
15330
+ objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15331
+ ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
15332
+ id: z.ZodString;
15333
+ kind: z.ZodLiteral<"freeText">;
15334
+ section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
15335
+ text: z.ZodEffects<z.ZodString, string, string>;
15336
+ }, "strict", z.ZodTypeAny, {
15337
+ text: string;
15338
+ id: string;
15339
+ kind: "freeText";
15340
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15341
+ }, {
15342
+ text: string;
15343
+ id: string;
15344
+ kind: "freeText";
15345
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15346
+ }>, "many">>;
15347
+ }, "strict", z.ZodTypeAny, {
15348
+ v: 1;
15349
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
15350
+ objectOrder?: {
15351
+ bio?: string[] | undefined;
15352
+ identity?: string[] | undefined;
15353
+ contact?: string[] | undefined;
15354
+ social?: string[] | undefined;
15355
+ actions?: string[] | undefined;
15356
+ cta?: string[] | undefined;
15357
+ footer?: string[] | undefined;
15358
+ } | undefined;
15359
+ objects?: Record<string, unknown> | undefined;
15360
+ ownedObjects?: {
15361
+ text: string;
15362
+ id: string;
15363
+ kind: "freeText";
15364
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15365
+ }[] | undefined;
15366
+ }, {
15367
+ v: 1;
15368
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
15369
+ objectOrder?: {
15370
+ bio?: string[] | undefined;
15371
+ identity?: string[] | undefined;
15372
+ contact?: string[] | undefined;
15373
+ social?: string[] | undefined;
15374
+ actions?: string[] | undefined;
15375
+ cta?: string[] | undefined;
15376
+ footer?: string[] | undefined;
15377
+ } | undefined;
15378
+ objects?: Record<string, unknown> | undefined;
15379
+ ownedObjects?: {
15380
+ text: string;
15381
+ id: string;
15382
+ kind: "freeText";
15383
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15384
+ }[] | undefined;
15385
+ }>, {
15386
+ v: 1;
15387
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
15388
+ objectOrder?: {
15389
+ bio?: string[] | undefined;
15390
+ identity?: string[] | undefined;
15391
+ contact?: string[] | undefined;
15392
+ social?: string[] | undefined;
15393
+ actions?: string[] | undefined;
15394
+ cta?: string[] | undefined;
15395
+ footer?: string[] | undefined;
15396
+ } | undefined;
15397
+ objects?: Record<string, unknown> | undefined;
15398
+ ownedObjects?: {
15399
+ text: string;
15400
+ id: string;
15401
+ kind: "freeText";
15402
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15403
+ }[] | undefined;
15404
+ }, {
15405
+ v: 1;
15406
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
15407
+ objectOrder?: {
15408
+ bio?: string[] | undefined;
15409
+ identity?: string[] | undefined;
15410
+ contact?: string[] | undefined;
15411
+ social?: string[] | undefined;
15412
+ actions?: string[] | undefined;
15413
+ cta?: string[] | undefined;
15414
+ footer?: string[] | undefined;
15415
+ } | undefined;
15416
+ objects?: Record<string, unknown> | undefined;
15417
+ ownedObjects?: {
15418
+ text: string;
15419
+ id: string;
15420
+ kind: "freeText";
15421
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15422
+ }[] | undefined;
15423
+ }>>>>;
14512
15424
  profilePhotoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
14513
15425
  companyLogoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
14514
15426
  }, "strip", z.ZodTypeAny, {
@@ -14516,6 +15428,26 @@ declare const cardUpdateSchema: z.ZodObject<{
14516
15428
  companyLogoUrl?: string | undefined;
14517
15429
  fontKey?: string | undefined;
14518
15430
  templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
15431
+ layout?: {
15432
+ v: 1;
15433
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
15434
+ objectOrder?: {
15435
+ bio?: string[] | undefined;
15436
+ identity?: string[] | undefined;
15437
+ contact?: string[] | undefined;
15438
+ social?: string[] | undefined;
15439
+ actions?: string[] | undefined;
15440
+ cta?: string[] | undefined;
15441
+ footer?: string[] | undefined;
15442
+ } | undefined;
15443
+ objects?: Record<string, unknown> | undefined;
15444
+ ownedObjects?: {
15445
+ text: string;
15446
+ id: string;
15447
+ kind: "freeText";
15448
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15449
+ }[] | undefined;
15450
+ } | undefined;
14519
15451
  background?: {
14520
15452
  kind: "solid";
14521
15453
  from?: undefined;
@@ -14587,6 +15519,26 @@ declare const cardUpdateSchema: z.ZodObject<{
14587
15519
  companyLogoUrl?: string | undefined;
14588
15520
  fontKey?: string | undefined;
14589
15521
  templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
15522
+ layout?: {
15523
+ v: 1;
15524
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
15525
+ objectOrder?: {
15526
+ bio?: string[] | undefined;
15527
+ identity?: string[] | undefined;
15528
+ contact?: string[] | undefined;
15529
+ social?: string[] | undefined;
15530
+ actions?: string[] | undefined;
15531
+ cta?: string[] | undefined;
15532
+ footer?: string[] | undefined;
15533
+ } | undefined;
15534
+ objects?: Record<string, unknown> | undefined;
15535
+ ownedObjects?: {
15536
+ text: string;
15537
+ id: string;
15538
+ kind: "freeText";
15539
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15540
+ }[] | undefined;
15541
+ } | undefined;
14590
15542
  background?: unknown;
14591
15543
  accentColor?: string | undefined;
14592
15544
  primaryColor?: string | undefined;
@@ -14631,6 +15583,26 @@ declare const cardUpdateSchema: z.ZodObject<{
14631
15583
  companyLogoUrl?: string | undefined;
14632
15584
  fontKey?: string | undefined;
14633
15585
  templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
15586
+ layout?: {
15587
+ v: 1;
15588
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
15589
+ objectOrder?: {
15590
+ bio?: string[] | undefined;
15591
+ identity?: string[] | undefined;
15592
+ contact?: string[] | undefined;
15593
+ social?: string[] | undefined;
15594
+ actions?: string[] | undefined;
15595
+ cta?: string[] | undefined;
15596
+ footer?: string[] | undefined;
15597
+ } | undefined;
15598
+ objects?: Record<string, unknown> | undefined;
15599
+ ownedObjects?: {
15600
+ text: string;
15601
+ id: string;
15602
+ kind: "freeText";
15603
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15604
+ }[] | undefined;
15605
+ } | undefined;
14634
15606
  background?: {
14635
15607
  kind: "solid";
14636
15608
  from?: undefined;
@@ -14705,6 +15677,26 @@ declare const cardUpdateSchema: z.ZodObject<{
14705
15677
  companyLogoUrl?: string | undefined;
14706
15678
  fontKey?: string | undefined;
14707
15679
  templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
15680
+ layout?: {
15681
+ v: 1;
15682
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
15683
+ objectOrder?: {
15684
+ bio?: string[] | undefined;
15685
+ identity?: string[] | undefined;
15686
+ contact?: string[] | undefined;
15687
+ social?: string[] | undefined;
15688
+ actions?: string[] | undefined;
15689
+ cta?: string[] | undefined;
15690
+ footer?: string[] | undefined;
15691
+ } | undefined;
15692
+ objects?: Record<string, unknown> | undefined;
15693
+ ownedObjects?: {
15694
+ text: string;
15695
+ id: string;
15696
+ kind: "freeText";
15697
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15698
+ }[] | undefined;
15699
+ } | undefined;
14708
15700
  background?: unknown;
14709
15701
  accentColor?: string | undefined;
14710
15702
  primaryColor?: string | undefined;
@@ -14953,11 +15945,153 @@ declare const adminCardCreateSchema: z.ZodObject<{
14953
15945
  to: string;
14954
15946
  angleDeg: number;
14955
15947
  } | undefined, unknown>>;
15948
+ layout: z.ZodOptional<z.ZodEffects<z.ZodObject<{
15949
+ v: z.ZodLiteral<1>;
15950
+ sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
15951
+ objectOrder: z.ZodOptional<z.ZodObject<{
15952
+ bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15953
+ identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15954
+ contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15955
+ social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15956
+ actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15957
+ cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15958
+ footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15959
+ }, "strict", z.ZodTypeAny, {
15960
+ bio?: string[] | undefined;
15961
+ identity?: string[] | undefined;
15962
+ contact?: string[] | undefined;
15963
+ social?: string[] | undefined;
15964
+ actions?: string[] | undefined;
15965
+ cta?: string[] | undefined;
15966
+ footer?: string[] | undefined;
15967
+ }, {
15968
+ bio?: string[] | undefined;
15969
+ identity?: string[] | undefined;
15970
+ contact?: string[] | undefined;
15971
+ social?: string[] | undefined;
15972
+ actions?: string[] | undefined;
15973
+ cta?: string[] | undefined;
15974
+ footer?: string[] | undefined;
15975
+ }>>;
15976
+ objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15977
+ ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
15978
+ id: z.ZodString;
15979
+ kind: z.ZodLiteral<"freeText">;
15980
+ section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
15981
+ text: z.ZodEffects<z.ZodString, string, string>;
15982
+ }, "strict", z.ZodTypeAny, {
15983
+ text: string;
15984
+ id: string;
15985
+ kind: "freeText";
15986
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15987
+ }, {
15988
+ text: string;
15989
+ id: string;
15990
+ kind: "freeText";
15991
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15992
+ }>, "many">>;
15993
+ }, "strict", z.ZodTypeAny, {
15994
+ v: 1;
15995
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
15996
+ objectOrder?: {
15997
+ bio?: string[] | undefined;
15998
+ identity?: string[] | undefined;
15999
+ contact?: string[] | undefined;
16000
+ social?: string[] | undefined;
16001
+ actions?: string[] | undefined;
16002
+ cta?: string[] | undefined;
16003
+ footer?: string[] | undefined;
16004
+ } | undefined;
16005
+ objects?: Record<string, unknown> | undefined;
16006
+ ownedObjects?: {
16007
+ text: string;
16008
+ id: string;
16009
+ kind: "freeText";
16010
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
16011
+ }[] | undefined;
16012
+ }, {
16013
+ v: 1;
16014
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
16015
+ objectOrder?: {
16016
+ bio?: string[] | undefined;
16017
+ identity?: string[] | undefined;
16018
+ contact?: string[] | undefined;
16019
+ social?: string[] | undefined;
16020
+ actions?: string[] | undefined;
16021
+ cta?: string[] | undefined;
16022
+ footer?: string[] | undefined;
16023
+ } | undefined;
16024
+ objects?: Record<string, unknown> | undefined;
16025
+ ownedObjects?: {
16026
+ text: string;
16027
+ id: string;
16028
+ kind: "freeText";
16029
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
16030
+ }[] | undefined;
16031
+ }>, {
16032
+ v: 1;
16033
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
16034
+ objectOrder?: {
16035
+ bio?: string[] | undefined;
16036
+ identity?: string[] | undefined;
16037
+ contact?: string[] | undefined;
16038
+ social?: string[] | undefined;
16039
+ actions?: string[] | undefined;
16040
+ cta?: string[] | undefined;
16041
+ footer?: string[] | undefined;
16042
+ } | undefined;
16043
+ objects?: Record<string, unknown> | undefined;
16044
+ ownedObjects?: {
16045
+ text: string;
16046
+ id: string;
16047
+ kind: "freeText";
16048
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
16049
+ }[] | undefined;
16050
+ }, {
16051
+ v: 1;
16052
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
16053
+ objectOrder?: {
16054
+ bio?: string[] | undefined;
16055
+ identity?: string[] | undefined;
16056
+ contact?: string[] | undefined;
16057
+ social?: string[] | undefined;
16058
+ actions?: string[] | undefined;
16059
+ cta?: string[] | undefined;
16060
+ footer?: string[] | undefined;
16061
+ } | undefined;
16062
+ objects?: Record<string, unknown> | undefined;
16063
+ ownedObjects?: {
16064
+ text: string;
16065
+ id: string;
16066
+ kind: "freeText";
16067
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
16068
+ }[] | undefined;
16069
+ }>>;
14956
16070
  }, "strip", z.ZodTypeAny, {
14957
16071
  fontKey: string;
14958
16072
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
14959
16073
  accentColor: string;
14960
16074
  showAvatar: boolean;
16075
+ layout?: {
16076
+ v: 1;
16077
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
16078
+ objectOrder?: {
16079
+ bio?: string[] | undefined;
16080
+ identity?: string[] | undefined;
16081
+ contact?: string[] | undefined;
16082
+ social?: string[] | undefined;
16083
+ actions?: string[] | undefined;
16084
+ cta?: string[] | undefined;
16085
+ footer?: string[] | undefined;
16086
+ } | undefined;
16087
+ objects?: Record<string, unknown> | undefined;
16088
+ ownedObjects?: {
16089
+ text: string;
16090
+ id: string;
16091
+ kind: "freeText";
16092
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
16093
+ }[] | undefined;
16094
+ } | undefined;
14961
16095
  background?: {
14962
16096
  kind: "solid";
14963
16097
  from?: undefined;
@@ -15027,6 +16161,26 @@ declare const adminCardCreateSchema: z.ZodObject<{
15027
16161
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
15028
16162
  accentColor: string;
15029
16163
  showAvatar: boolean;
16164
+ layout?: {
16165
+ v: 1;
16166
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
16167
+ objectOrder?: {
16168
+ bio?: string[] | undefined;
16169
+ identity?: string[] | undefined;
16170
+ contact?: string[] | undefined;
16171
+ social?: string[] | undefined;
16172
+ actions?: string[] | undefined;
16173
+ cta?: string[] | undefined;
16174
+ footer?: string[] | undefined;
16175
+ } | undefined;
16176
+ objects?: Record<string, unknown> | undefined;
16177
+ ownedObjects?: {
16178
+ text: string;
16179
+ id: string;
16180
+ kind: "freeText";
16181
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
16182
+ }[] | undefined;
16183
+ } | undefined;
15030
16184
  background?: unknown;
15031
16185
  primaryColor?: string | undefined;
15032
16186
  secondaryColor?: string | undefined;
@@ -18413,6 +19567,26 @@ declare const adminCardCreateSchema: z.ZodObject<{
18413
19567
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
18414
19568
  accentColor: string;
18415
19569
  showAvatar: boolean;
19570
+ layout?: {
19571
+ v: 1;
19572
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
19573
+ objectOrder?: {
19574
+ bio?: string[] | undefined;
19575
+ identity?: string[] | undefined;
19576
+ contact?: string[] | undefined;
19577
+ social?: string[] | undefined;
19578
+ actions?: string[] | undefined;
19579
+ cta?: string[] | undefined;
19580
+ footer?: string[] | undefined;
19581
+ } | undefined;
19582
+ objects?: Record<string, unknown> | undefined;
19583
+ ownedObjects?: {
19584
+ text: string;
19585
+ id: string;
19586
+ kind: "freeText";
19587
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
19588
+ }[] | undefined;
19589
+ } | undefined;
18416
19590
  background?: {
18417
19591
  kind: "solid";
18418
19592
  from?: undefined;
@@ -18803,6 +19977,26 @@ declare const adminCardCreateSchema: z.ZodObject<{
18803
19977
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
18804
19978
  accentColor: string;
18805
19979
  showAvatar: boolean;
19980
+ layout?: {
19981
+ v: 1;
19982
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
19983
+ objectOrder?: {
19984
+ bio?: string[] | undefined;
19985
+ identity?: string[] | undefined;
19986
+ contact?: string[] | undefined;
19987
+ social?: string[] | undefined;
19988
+ actions?: string[] | undefined;
19989
+ cta?: string[] | undefined;
19990
+ footer?: string[] | undefined;
19991
+ } | undefined;
19992
+ objects?: Record<string, unknown> | undefined;
19993
+ ownedObjects?: {
19994
+ text: string;
19995
+ id: string;
19996
+ kind: "freeText";
19997
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
19998
+ }[] | undefined;
19999
+ } | undefined;
18806
20000
  background?: unknown;
18807
20001
  primaryColor?: string | undefined;
18808
20002
  secondaryColor?: string | undefined;
@@ -19437,11 +20631,153 @@ declare const profileCreateSchema: z.ZodObject<{
19437
20631
  to: string;
19438
20632
  angleDeg: number;
19439
20633
  } | undefined, unknown>>;
20634
+ layout: z.ZodOptional<z.ZodEffects<z.ZodObject<{
20635
+ v: z.ZodLiteral<1>;
20636
+ sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
20637
+ objectOrder: z.ZodOptional<z.ZodObject<{
20638
+ bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
20639
+ identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
20640
+ contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
20641
+ social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
20642
+ actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
20643
+ cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
20644
+ footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
20645
+ }, "strict", z.ZodTypeAny, {
20646
+ bio?: string[] | undefined;
20647
+ identity?: string[] | undefined;
20648
+ contact?: string[] | undefined;
20649
+ social?: string[] | undefined;
20650
+ actions?: string[] | undefined;
20651
+ cta?: string[] | undefined;
20652
+ footer?: string[] | undefined;
20653
+ }, {
20654
+ bio?: string[] | undefined;
20655
+ identity?: string[] | undefined;
20656
+ contact?: string[] | undefined;
20657
+ social?: string[] | undefined;
20658
+ actions?: string[] | undefined;
20659
+ cta?: string[] | undefined;
20660
+ footer?: string[] | undefined;
20661
+ }>>;
20662
+ objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20663
+ ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
20664
+ id: z.ZodString;
20665
+ kind: z.ZodLiteral<"freeText">;
20666
+ section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
20667
+ text: z.ZodEffects<z.ZodString, string, string>;
20668
+ }, "strict", z.ZodTypeAny, {
20669
+ text: string;
20670
+ id: string;
20671
+ kind: "freeText";
20672
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
20673
+ }, {
20674
+ text: string;
20675
+ id: string;
20676
+ kind: "freeText";
20677
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
20678
+ }>, "many">>;
20679
+ }, "strict", z.ZodTypeAny, {
20680
+ v: 1;
20681
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
20682
+ objectOrder?: {
20683
+ bio?: string[] | undefined;
20684
+ identity?: string[] | undefined;
20685
+ contact?: string[] | undefined;
20686
+ social?: string[] | undefined;
20687
+ actions?: string[] | undefined;
20688
+ cta?: string[] | undefined;
20689
+ footer?: string[] | undefined;
20690
+ } | undefined;
20691
+ objects?: Record<string, unknown> | undefined;
20692
+ ownedObjects?: {
20693
+ text: string;
20694
+ id: string;
20695
+ kind: "freeText";
20696
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
20697
+ }[] | undefined;
20698
+ }, {
20699
+ v: 1;
20700
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
20701
+ objectOrder?: {
20702
+ bio?: string[] | undefined;
20703
+ identity?: string[] | undefined;
20704
+ contact?: string[] | undefined;
20705
+ social?: string[] | undefined;
20706
+ actions?: string[] | undefined;
20707
+ cta?: string[] | undefined;
20708
+ footer?: string[] | undefined;
20709
+ } | undefined;
20710
+ objects?: Record<string, unknown> | undefined;
20711
+ ownedObjects?: {
20712
+ text: string;
20713
+ id: string;
20714
+ kind: "freeText";
20715
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
20716
+ }[] | undefined;
20717
+ }>, {
20718
+ v: 1;
20719
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
20720
+ objectOrder?: {
20721
+ bio?: string[] | undefined;
20722
+ identity?: string[] | undefined;
20723
+ contact?: string[] | undefined;
20724
+ social?: string[] | undefined;
20725
+ actions?: string[] | undefined;
20726
+ cta?: string[] | undefined;
20727
+ footer?: string[] | undefined;
20728
+ } | undefined;
20729
+ objects?: Record<string, unknown> | undefined;
20730
+ ownedObjects?: {
20731
+ text: string;
20732
+ id: string;
20733
+ kind: "freeText";
20734
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
20735
+ }[] | undefined;
20736
+ }, {
20737
+ v: 1;
20738
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
20739
+ objectOrder?: {
20740
+ bio?: string[] | undefined;
20741
+ identity?: string[] | undefined;
20742
+ contact?: string[] | undefined;
20743
+ social?: string[] | undefined;
20744
+ actions?: string[] | undefined;
20745
+ cta?: string[] | undefined;
20746
+ footer?: string[] | undefined;
20747
+ } | undefined;
20748
+ objects?: Record<string, unknown> | undefined;
20749
+ ownedObjects?: {
20750
+ text: string;
20751
+ id: string;
20752
+ kind: "freeText";
20753
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
20754
+ }[] | undefined;
20755
+ }>>;
19440
20756
  }, "strip", z.ZodTypeAny, {
19441
20757
  fontKey: string;
19442
20758
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
19443
20759
  accentColor: string;
19444
20760
  showAvatar: boolean;
20761
+ layout?: {
20762
+ v: 1;
20763
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
20764
+ objectOrder?: {
20765
+ bio?: string[] | undefined;
20766
+ identity?: string[] | undefined;
20767
+ contact?: string[] | undefined;
20768
+ social?: string[] | undefined;
20769
+ actions?: string[] | undefined;
20770
+ cta?: string[] | undefined;
20771
+ footer?: string[] | undefined;
20772
+ } | undefined;
20773
+ objects?: Record<string, unknown> | undefined;
20774
+ ownedObjects?: {
20775
+ text: string;
20776
+ id: string;
20777
+ kind: "freeText";
20778
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
20779
+ }[] | undefined;
20780
+ } | undefined;
19445
20781
  background?: {
19446
20782
  kind: "solid";
19447
20783
  from?: undefined;
@@ -19511,6 +20847,26 @@ declare const profileCreateSchema: z.ZodObject<{
19511
20847
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
19512
20848
  accentColor: string;
19513
20849
  showAvatar: boolean;
20850
+ layout?: {
20851
+ v: 1;
20852
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
20853
+ objectOrder?: {
20854
+ bio?: string[] | undefined;
20855
+ identity?: string[] | undefined;
20856
+ contact?: string[] | undefined;
20857
+ social?: string[] | undefined;
20858
+ actions?: string[] | undefined;
20859
+ cta?: string[] | undefined;
20860
+ footer?: string[] | undefined;
20861
+ } | undefined;
20862
+ objects?: Record<string, unknown> | undefined;
20863
+ ownedObjects?: {
20864
+ text: string;
20865
+ id: string;
20866
+ kind: "freeText";
20867
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
20868
+ }[] | undefined;
20869
+ } | undefined;
19514
20870
  background?: unknown;
19515
20871
  primaryColor?: string | undefined;
19516
20872
  secondaryColor?: string | undefined;
@@ -19578,6 +20934,26 @@ declare const profileCreateSchema: z.ZodObject<{
19578
20934
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
19579
20935
  accentColor: string;
19580
20936
  showAvatar: boolean;
20937
+ layout?: {
20938
+ v: 1;
20939
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
20940
+ objectOrder?: {
20941
+ bio?: string[] | undefined;
20942
+ identity?: string[] | undefined;
20943
+ contact?: string[] | undefined;
20944
+ social?: string[] | undefined;
20945
+ actions?: string[] | undefined;
20946
+ cta?: string[] | undefined;
20947
+ footer?: string[] | undefined;
20948
+ } | undefined;
20949
+ objects?: Record<string, unknown> | undefined;
20950
+ ownedObjects?: {
20951
+ text: string;
20952
+ id: string;
20953
+ kind: "freeText";
20954
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
20955
+ }[] | undefined;
20956
+ } | undefined;
19581
20957
  background?: {
19582
20958
  kind: "solid";
19583
20959
  from?: undefined;
@@ -19677,6 +21053,26 @@ declare const profileCreateSchema: z.ZodObject<{
19677
21053
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
19678
21054
  accentColor: string;
19679
21055
  showAvatar: boolean;
21056
+ layout?: {
21057
+ v: 1;
21058
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
21059
+ objectOrder?: {
21060
+ bio?: string[] | undefined;
21061
+ identity?: string[] | undefined;
21062
+ contact?: string[] | undefined;
21063
+ social?: string[] | undefined;
21064
+ actions?: string[] | undefined;
21065
+ cta?: string[] | undefined;
21066
+ footer?: string[] | undefined;
21067
+ } | undefined;
21068
+ objects?: Record<string, unknown> | undefined;
21069
+ ownedObjects?: {
21070
+ text: string;
21071
+ id: string;
21072
+ kind: "freeText";
21073
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21074
+ }[] | undefined;
21075
+ } | undefined;
19680
21076
  background?: unknown;
19681
21077
  primaryColor?: string | undefined;
19682
21078
  secondaryColor?: string | undefined;
@@ -19936,11 +21332,153 @@ declare const signupWithProfileSchema: z.ZodObject<{
19936
21332
  to: string;
19937
21333
  angleDeg: number;
19938
21334
  } | undefined, unknown>>;
21335
+ layout: z.ZodOptional<z.ZodEffects<z.ZodObject<{
21336
+ v: z.ZodLiteral<1>;
21337
+ sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
21338
+ objectOrder: z.ZodOptional<z.ZodObject<{
21339
+ bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21340
+ identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21341
+ contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21342
+ social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21343
+ actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21344
+ cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21345
+ footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21346
+ }, "strict", z.ZodTypeAny, {
21347
+ bio?: string[] | undefined;
21348
+ identity?: string[] | undefined;
21349
+ contact?: string[] | undefined;
21350
+ social?: string[] | undefined;
21351
+ actions?: string[] | undefined;
21352
+ cta?: string[] | undefined;
21353
+ footer?: string[] | undefined;
21354
+ }, {
21355
+ bio?: string[] | undefined;
21356
+ identity?: string[] | undefined;
21357
+ contact?: string[] | undefined;
21358
+ social?: string[] | undefined;
21359
+ actions?: string[] | undefined;
21360
+ cta?: string[] | undefined;
21361
+ footer?: string[] | undefined;
21362
+ }>>;
21363
+ objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
21364
+ ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
21365
+ id: z.ZodString;
21366
+ kind: z.ZodLiteral<"freeText">;
21367
+ section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
21368
+ text: z.ZodEffects<z.ZodString, string, string>;
21369
+ }, "strict", z.ZodTypeAny, {
21370
+ text: string;
21371
+ id: string;
21372
+ kind: "freeText";
21373
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21374
+ }, {
21375
+ text: string;
21376
+ id: string;
21377
+ kind: "freeText";
21378
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21379
+ }>, "many">>;
21380
+ }, "strict", z.ZodTypeAny, {
21381
+ v: 1;
21382
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
21383
+ objectOrder?: {
21384
+ bio?: string[] | undefined;
21385
+ identity?: string[] | undefined;
21386
+ contact?: string[] | undefined;
21387
+ social?: string[] | undefined;
21388
+ actions?: string[] | undefined;
21389
+ cta?: string[] | undefined;
21390
+ footer?: string[] | undefined;
21391
+ } | undefined;
21392
+ objects?: Record<string, unknown> | undefined;
21393
+ ownedObjects?: {
21394
+ text: string;
21395
+ id: string;
21396
+ kind: "freeText";
21397
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21398
+ }[] | undefined;
21399
+ }, {
21400
+ v: 1;
21401
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
21402
+ objectOrder?: {
21403
+ bio?: string[] | undefined;
21404
+ identity?: string[] | undefined;
21405
+ contact?: string[] | undefined;
21406
+ social?: string[] | undefined;
21407
+ actions?: string[] | undefined;
21408
+ cta?: string[] | undefined;
21409
+ footer?: string[] | undefined;
21410
+ } | undefined;
21411
+ objects?: Record<string, unknown> | undefined;
21412
+ ownedObjects?: {
21413
+ text: string;
21414
+ id: string;
21415
+ kind: "freeText";
21416
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21417
+ }[] | undefined;
21418
+ }>, {
21419
+ v: 1;
21420
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
21421
+ objectOrder?: {
21422
+ bio?: string[] | undefined;
21423
+ identity?: string[] | undefined;
21424
+ contact?: string[] | undefined;
21425
+ social?: string[] | undefined;
21426
+ actions?: string[] | undefined;
21427
+ cta?: string[] | undefined;
21428
+ footer?: string[] | undefined;
21429
+ } | undefined;
21430
+ objects?: Record<string, unknown> | undefined;
21431
+ ownedObjects?: {
21432
+ text: string;
21433
+ id: string;
21434
+ kind: "freeText";
21435
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21436
+ }[] | undefined;
21437
+ }, {
21438
+ v: 1;
21439
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
21440
+ objectOrder?: {
21441
+ bio?: string[] | undefined;
21442
+ identity?: string[] | undefined;
21443
+ contact?: string[] | undefined;
21444
+ social?: string[] | undefined;
21445
+ actions?: string[] | undefined;
21446
+ cta?: string[] | undefined;
21447
+ footer?: string[] | undefined;
21448
+ } | undefined;
21449
+ objects?: Record<string, unknown> | undefined;
21450
+ ownedObjects?: {
21451
+ text: string;
21452
+ id: string;
21453
+ kind: "freeText";
21454
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21455
+ }[] | undefined;
21456
+ }>>;
19939
21457
  }, "strip", z.ZodTypeAny, {
19940
21458
  fontKey: string;
19941
21459
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
19942
21460
  accentColor: string;
19943
21461
  showAvatar: boolean;
21462
+ layout?: {
21463
+ v: 1;
21464
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
21465
+ objectOrder?: {
21466
+ bio?: string[] | undefined;
21467
+ identity?: string[] | undefined;
21468
+ contact?: string[] | undefined;
21469
+ social?: string[] | undefined;
21470
+ actions?: string[] | undefined;
21471
+ cta?: string[] | undefined;
21472
+ footer?: string[] | undefined;
21473
+ } | undefined;
21474
+ objects?: Record<string, unknown> | undefined;
21475
+ ownedObjects?: {
21476
+ text: string;
21477
+ id: string;
21478
+ kind: "freeText";
21479
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21480
+ }[] | undefined;
21481
+ } | undefined;
19944
21482
  background?: {
19945
21483
  kind: "solid";
19946
21484
  from?: undefined;
@@ -20010,6 +21548,26 @@ declare const signupWithProfileSchema: z.ZodObject<{
20010
21548
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
20011
21549
  accentColor: string;
20012
21550
  showAvatar: boolean;
21551
+ layout?: {
21552
+ v: 1;
21553
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
21554
+ objectOrder?: {
21555
+ bio?: string[] | undefined;
21556
+ identity?: string[] | undefined;
21557
+ contact?: string[] | undefined;
21558
+ social?: string[] | undefined;
21559
+ actions?: string[] | undefined;
21560
+ cta?: string[] | undefined;
21561
+ footer?: string[] | undefined;
21562
+ } | undefined;
21563
+ objects?: Record<string, unknown> | undefined;
21564
+ ownedObjects?: {
21565
+ text: string;
21566
+ id: string;
21567
+ kind: "freeText";
21568
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21569
+ }[] | undefined;
21570
+ } | undefined;
20013
21571
  background?: unknown;
20014
21572
  primaryColor?: string | undefined;
20015
21573
  secondaryColor?: string | undefined;
@@ -20075,6 +21633,26 @@ declare const signupWithProfileSchema: z.ZodObject<{
20075
21633
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
20076
21634
  accentColor: string;
20077
21635
  showAvatar: boolean;
21636
+ layout?: {
21637
+ v: 1;
21638
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
21639
+ objectOrder?: {
21640
+ bio?: string[] | undefined;
21641
+ identity?: string[] | undefined;
21642
+ contact?: string[] | undefined;
21643
+ social?: string[] | undefined;
21644
+ actions?: string[] | undefined;
21645
+ cta?: string[] | undefined;
21646
+ footer?: string[] | undefined;
21647
+ } | undefined;
21648
+ objects?: Record<string, unknown> | undefined;
21649
+ ownedObjects?: {
21650
+ text: string;
21651
+ id: string;
21652
+ kind: "freeText";
21653
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21654
+ }[] | undefined;
21655
+ } | undefined;
20078
21656
  background?: {
20079
21657
  kind: "solid";
20080
21658
  from?: undefined;
@@ -20178,6 +21756,26 @@ declare const signupWithProfileSchema: z.ZodObject<{
20178
21756
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
20179
21757
  accentColor: string;
20180
21758
  showAvatar: boolean;
21759
+ layout?: {
21760
+ v: 1;
21761
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
21762
+ objectOrder?: {
21763
+ bio?: string[] | undefined;
21764
+ identity?: string[] | undefined;
21765
+ contact?: string[] | undefined;
21766
+ social?: string[] | undefined;
21767
+ actions?: string[] | undefined;
21768
+ cta?: string[] | undefined;
21769
+ footer?: string[] | undefined;
21770
+ } | undefined;
21771
+ objects?: Record<string, unknown> | undefined;
21772
+ ownedObjects?: {
21773
+ text: string;
21774
+ id: string;
21775
+ kind: "freeText";
21776
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21777
+ }[] | undefined;
21778
+ } | undefined;
20181
21779
  background?: unknown;
20182
21780
  primaryColor?: string | undefined;
20183
21781
  secondaryColor?: string | undefined;
@@ -20433,6 +22031,128 @@ declare const profileUpdateSchema: z.ZodObject<{
20433
22031
  to: string;
20434
22032
  angleDeg: number;
20435
22033
  } | undefined, unknown>>>>;
22034
+ layout: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodObject<{
22035
+ v: z.ZodLiteral<1>;
22036
+ sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
22037
+ objectOrder: z.ZodOptional<z.ZodObject<{
22038
+ bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22039
+ identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22040
+ contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22041
+ social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22042
+ actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22043
+ cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22044
+ footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22045
+ }, "strict", z.ZodTypeAny, {
22046
+ bio?: string[] | undefined;
22047
+ identity?: string[] | undefined;
22048
+ contact?: string[] | undefined;
22049
+ social?: string[] | undefined;
22050
+ actions?: string[] | undefined;
22051
+ cta?: string[] | undefined;
22052
+ footer?: string[] | undefined;
22053
+ }, {
22054
+ bio?: string[] | undefined;
22055
+ identity?: string[] | undefined;
22056
+ contact?: string[] | undefined;
22057
+ social?: string[] | undefined;
22058
+ actions?: string[] | undefined;
22059
+ cta?: string[] | undefined;
22060
+ footer?: string[] | undefined;
22061
+ }>>;
22062
+ objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
22063
+ ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
22064
+ id: z.ZodString;
22065
+ kind: z.ZodLiteral<"freeText">;
22066
+ section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
22067
+ text: z.ZodEffects<z.ZodString, string, string>;
22068
+ }, "strict", z.ZodTypeAny, {
22069
+ text: string;
22070
+ id: string;
22071
+ kind: "freeText";
22072
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22073
+ }, {
22074
+ text: string;
22075
+ id: string;
22076
+ kind: "freeText";
22077
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22078
+ }>, "many">>;
22079
+ }, "strict", z.ZodTypeAny, {
22080
+ v: 1;
22081
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
22082
+ objectOrder?: {
22083
+ bio?: string[] | undefined;
22084
+ identity?: string[] | undefined;
22085
+ contact?: string[] | undefined;
22086
+ social?: string[] | undefined;
22087
+ actions?: string[] | undefined;
22088
+ cta?: string[] | undefined;
22089
+ footer?: string[] | undefined;
22090
+ } | undefined;
22091
+ objects?: Record<string, unknown> | undefined;
22092
+ ownedObjects?: {
22093
+ text: string;
22094
+ id: string;
22095
+ kind: "freeText";
22096
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22097
+ }[] | undefined;
22098
+ }, {
22099
+ v: 1;
22100
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
22101
+ objectOrder?: {
22102
+ bio?: string[] | undefined;
22103
+ identity?: string[] | undefined;
22104
+ contact?: string[] | undefined;
22105
+ social?: string[] | undefined;
22106
+ actions?: string[] | undefined;
22107
+ cta?: string[] | undefined;
22108
+ footer?: string[] | undefined;
22109
+ } | undefined;
22110
+ objects?: Record<string, unknown> | undefined;
22111
+ ownedObjects?: {
22112
+ text: string;
22113
+ id: string;
22114
+ kind: "freeText";
22115
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22116
+ }[] | undefined;
22117
+ }>, {
22118
+ v: 1;
22119
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
22120
+ objectOrder?: {
22121
+ bio?: string[] | undefined;
22122
+ identity?: string[] | undefined;
22123
+ contact?: string[] | undefined;
22124
+ social?: string[] | undefined;
22125
+ actions?: string[] | undefined;
22126
+ cta?: string[] | undefined;
22127
+ footer?: string[] | undefined;
22128
+ } | undefined;
22129
+ objects?: Record<string, unknown> | undefined;
22130
+ ownedObjects?: {
22131
+ text: string;
22132
+ id: string;
22133
+ kind: "freeText";
22134
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22135
+ }[] | undefined;
22136
+ }, {
22137
+ v: 1;
22138
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
22139
+ objectOrder?: {
22140
+ bio?: string[] | undefined;
22141
+ identity?: string[] | undefined;
22142
+ contact?: string[] | undefined;
22143
+ social?: string[] | undefined;
22144
+ actions?: string[] | undefined;
22145
+ cta?: string[] | undefined;
22146
+ footer?: string[] | undefined;
22147
+ } | undefined;
22148
+ objects?: Record<string, unknown> | undefined;
22149
+ ownedObjects?: {
22150
+ text: string;
22151
+ id: string;
22152
+ kind: "freeText";
22153
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22154
+ }[] | undefined;
22155
+ }>>>>;
20436
22156
  profilePhotoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
20437
22157
  companyLogoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
20438
22158
  }, "strip", z.ZodTypeAny, {
@@ -20440,6 +22160,26 @@ declare const profileUpdateSchema: z.ZodObject<{
20440
22160
  companyLogoUrl?: string | undefined;
20441
22161
  fontKey?: string | undefined;
20442
22162
  templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
22163
+ layout?: {
22164
+ v: 1;
22165
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
22166
+ objectOrder?: {
22167
+ bio?: string[] | undefined;
22168
+ identity?: string[] | undefined;
22169
+ contact?: string[] | undefined;
22170
+ social?: string[] | undefined;
22171
+ actions?: string[] | undefined;
22172
+ cta?: string[] | undefined;
22173
+ footer?: string[] | undefined;
22174
+ } | undefined;
22175
+ objects?: Record<string, unknown> | undefined;
22176
+ ownedObjects?: {
22177
+ text: string;
22178
+ id: string;
22179
+ kind: "freeText";
22180
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22181
+ }[] | undefined;
22182
+ } | undefined;
20443
22183
  background?: {
20444
22184
  kind: "solid";
20445
22185
  from?: undefined;
@@ -20511,6 +22251,26 @@ declare const profileUpdateSchema: z.ZodObject<{
20511
22251
  companyLogoUrl?: string | undefined;
20512
22252
  fontKey?: string | undefined;
20513
22253
  templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
22254
+ layout?: {
22255
+ v: 1;
22256
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
22257
+ objectOrder?: {
22258
+ bio?: string[] | undefined;
22259
+ identity?: string[] | undefined;
22260
+ contact?: string[] | undefined;
22261
+ social?: string[] | undefined;
22262
+ actions?: string[] | undefined;
22263
+ cta?: string[] | undefined;
22264
+ footer?: string[] | undefined;
22265
+ } | undefined;
22266
+ objects?: Record<string, unknown> | undefined;
22267
+ ownedObjects?: {
22268
+ text: string;
22269
+ id: string;
22270
+ kind: "freeText";
22271
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22272
+ }[] | undefined;
22273
+ } | undefined;
20514
22274
  background?: unknown;
20515
22275
  accentColor?: string | undefined;
20516
22276
  primaryColor?: string | undefined;
@@ -20581,6 +22341,26 @@ declare const profileUpdateSchema: z.ZodObject<{
20581
22341
  companyLogoUrl?: string | undefined;
20582
22342
  fontKey?: string | undefined;
20583
22343
  templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
22344
+ layout?: {
22345
+ v: 1;
22346
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
22347
+ objectOrder?: {
22348
+ bio?: string[] | undefined;
22349
+ identity?: string[] | undefined;
22350
+ contact?: string[] | undefined;
22351
+ social?: string[] | undefined;
22352
+ actions?: string[] | undefined;
22353
+ cta?: string[] | undefined;
22354
+ footer?: string[] | undefined;
22355
+ } | undefined;
22356
+ objects?: Record<string, unknown> | undefined;
22357
+ ownedObjects?: {
22358
+ text: string;
22359
+ id: string;
22360
+ kind: "freeText";
22361
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22362
+ }[] | undefined;
22363
+ } | undefined;
20584
22364
  background?: {
20585
22365
  kind: "solid";
20586
22366
  from?: undefined;
@@ -20682,6 +22462,26 @@ declare const profileUpdateSchema: z.ZodObject<{
20682
22462
  companyLogoUrl?: string | undefined;
20683
22463
  fontKey?: string | undefined;
20684
22464
  templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
22465
+ layout?: {
22466
+ v: 1;
22467
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
22468
+ objectOrder?: {
22469
+ bio?: string[] | undefined;
22470
+ identity?: string[] | undefined;
22471
+ contact?: string[] | undefined;
22472
+ social?: string[] | undefined;
22473
+ actions?: string[] | undefined;
22474
+ cta?: string[] | undefined;
22475
+ footer?: string[] | undefined;
22476
+ } | undefined;
22477
+ objects?: Record<string, unknown> | undefined;
22478
+ ownedObjects?: {
22479
+ text: string;
22480
+ id: string;
22481
+ kind: "freeText";
22482
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22483
+ }[] | undefined;
22484
+ } | undefined;
20685
22485
  background?: unknown;
20686
22486
  accentColor?: string | undefined;
20687
22487
  primaryColor?: string | undefined;
@@ -20865,4 +22665,4 @@ declare function validatePhysicalConfig(data: unknown): ValidationResult<z.infer
20865
22665
  declare function validateDigitalConfig(data: unknown): ValidationResult<z.infer<typeof digitalConfigSchema>>;
20866
22666
  declare function validateConfiguration(data: unknown): ValidationResult<z.infer<typeof configurationCreateSchema>>;
20867
22667
 
20868
- export { ADVANCE_FALLBACK_EM, CARD_H_MM, CARD_W_MM, CHIP_RADIUS_MM, CHIP_SCALE_FLOOR, type ChipAxis, EDGE_MARGIN_MM, EMPTY_TEXT_FLOOR_EM, ITALIC_OVERHANG_EM, MAX_CTA_BUTTONS, MIN_WALL_MM, NFC_COIL_DIAMETER_MM, NFC_RADIAL_CLEARANCE_MM, type PrintabilityCtx, type Pt, QR_MATRIX_CELLS, QR_MIN_SIZE_MM, QR_MODULE_MIN_MM, TEXT_LINE_FACTOR_EM, TEXT_MIN_EM_MM, type ValidationResult, type Violation, adminCardCreateSchema, bookingSchema, cardAssetSchema, cardDesignMaterialSchema, cardDesignPatternSchema, cardDesignSchema, cardElementSchema, cardElementsSchema, cardProfileUpdateSchema, cardUpdateSchema, chipAnchorToMm, chipPlacementMaxXY, comboIdSchema, configurationCreateSchema, configurationUpdateSchema, contactDetailTogglesSchema, contactExchangeSchema, cornersOnCard, createOrderSchema, ctaButtonSchema, ctaButtonsSchema, digitalConfigSchema, digitalVisibilitySchema, elementPrintability, elementTransformSchema, entrySourceSchema, footprintOf, hubConfigSchema, hubProfilesUpdateSchema, isFiniteTransform, materialSchema, mmToNearestChipAnchor, obbCorners, patternFamilySchema, physicalConfigSchema, physicalContentOverridesSchema, profileAccessTokenCreateSchema, profileBackgroundSchema, profileCreateSchema, profilePinVerifySchema, profileUpdateSchema, profileUserDataSchema, profileVisibilitySchema, qrModeSchema, sanitizeHttpUrl, sanitizeText, signupWithProfileSchema, socialLinksSchema, socialOverridesSchema, textAdvanceEm, tipJarSchema, userDataSchema, validateConfiguration, validateDigitalConfig, validatePhysicalConfig, validateUserData, webAddressSchema };
22668
+ export { ADVANCE_FALLBACK_EM, CARD_H_MM, CARD_W_MM, CHIP_RADIUS_MM, CHIP_SCALE_FLOOR, type ChipAxis, EDGE_MARGIN_MM, EMPTY_TEXT_FLOOR_EM, ITALIC_OVERHANG_EM, MAX_CTA_BUTTONS, MIN_WALL_MM, NFC_COIL_DIAMETER_MM, NFC_RADIAL_CLEARANCE_MM, type PrintabilityCtx, type Pt, QR_MATRIX_CELLS, QR_MIN_SIZE_MM, QR_MODULE_MIN_MM, TEXT_LINE_FACTOR_EM, TEXT_MIN_EM_MM, type ValidationResult, type Violation, adminCardCreateSchema, bookingSchema, buttonObjectStyleSchema, cardAssetSchema, cardDesignMaterialSchema, cardDesignPatternSchema, cardDesignSchema, cardElementSchema, cardElementsSchema, cardProfileUpdateSchema, cardUpdateSchema, chipAnchorToMm, chipPlacementMaxXY, comboIdSchema, configurationCreateSchema, configurationUpdateSchema, contactDetailTogglesSchema, contactExchangeSchema, cornersOnCard, createOrderSchema, ctaButtonSchema, ctaButtonsSchema, digitalConfigSchema, digitalVisibilitySchema, elementPrintability, elementTransformSchema, entrySourceSchema, footprintOf, hubConfigSchema, hubProfilesUpdateSchema, imageObjectStyleSchema, isFiniteTransform, materialSchema, mmToNearestChipAnchor, obbCorners, patternFamilySchema, physicalConfigSchema, physicalContentOverridesSchema, profileAccessTokenCreateSchema, profileBackgroundSchema, profileCreateSchema, profileLayoutSchema, profilePinVerifySchema, profileUpdateSchema, profileUserDataSchema, profileVisibilitySchema, qrModeSchema, safeProfileLayout, sanitizeHttpUrl, sanitizeText, signupWithProfileSchema, socialLinksSchema, socialOverridesSchema, textAdvanceEm, textObjectStyleSchema, tipJarSchema, userDataSchema, validateConfiguration, validateDigitalConfig, validatePhysicalConfig, validateUserData, webAddressSchema };