@nfcard/validation 0.23.0 → 0.25.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, ProfileObjectKind, ProfileLayout } from '@nfcard/types';
3
3
  import { z } from 'zod';
4
4
 
5
5
  /**
@@ -109,6 +109,288 @@ 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
+ align?: "start" | "center" | undefined;
149
+ sizeStep?: "sm" | "md" | "lg" | undefined;
150
+ color?: string | undefined;
151
+ }, {
152
+ weight?: "bold" | "normal" | undefined;
153
+ fontKey?: string | undefined;
154
+ italic?: boolean | undefined;
155
+ underline?: boolean | undefined;
156
+ align?: "start" | "center" | undefined;
157
+ sizeStep?: "sm" | "md" | "lg" | undefined;
158
+ color?: string | 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
+ /**
197
+ * Contact rows and social chips: text minus `align` and `sizeStep`. Row
198
+ * alignment is the template's grid; and a row is a COMPOUND (label/value
199
+ * spans with their own px sizes), so no wrapper-level em can scale it
200
+ * without destroying the internal hierarchy — either would be a
201
+ * stored-but-dead field.
202
+ */
203
+ declare const rowTextStyleSchema: z.ZodObject<Omit<{
204
+ color: z.ZodOptional<z.ZodString>;
205
+ sizeStep: z.ZodOptional<z.ZodEnum<["sm", "md", "lg"]>>;
206
+ align: z.ZodOptional<z.ZodEnum<["start", "center"]>>;
207
+ weight: z.ZodOptional<z.ZodEnum<["normal", "bold"]>>;
208
+ italic: z.ZodOptional<z.ZodBoolean>;
209
+ underline: z.ZodOptional<z.ZodBoolean>;
210
+ fontKey: z.ZodOptional<z.ZodString>;
211
+ }, "align" | "sizeStep">, "strict", z.ZodTypeAny, {
212
+ weight?: "bold" | "normal" | undefined;
213
+ fontKey?: string | undefined;
214
+ italic?: boolean | undefined;
215
+ underline?: boolean | undefined;
216
+ color?: string | undefined;
217
+ }, {
218
+ weight?: "bold" | "normal" | undefined;
219
+ fontKey?: string | undefined;
220
+ italic?: boolean | undefined;
221
+ underline?: boolean | undefined;
222
+ color?: string | undefined;
223
+ }>;
224
+ /** Label styling (the text vocabulary's `color`/`weight`/`italic`/`fontKey`,
225
+ * DERIVED so the validators stay in lockstep) + `bg` fill. No `sizeStep`
226
+ * in v1 — button geometry is the template's. `variant` is GONE (0.24.0
227
+ * accepted it and the render did style it): NO SURFACE COULD EVER WRITE IT
228
+ * — the toolbar exposes no variant control and none is planned — and a
229
+ * stored-but-unwritable field is dead weight on every future vintage. No
230
+ * deployed tag ever accepted one, so nothing stored carries it. */
231
+ declare const buttonObjectStyleSchema: z.ZodObject<Pick<{
232
+ color: z.ZodOptional<z.ZodString>;
233
+ sizeStep: z.ZodOptional<z.ZodEnum<["sm", "md", "lg"]>>;
234
+ align: z.ZodOptional<z.ZodEnum<["start", "center"]>>;
235
+ weight: z.ZodOptional<z.ZodEnum<["normal", "bold"]>>;
236
+ italic: z.ZodOptional<z.ZodBoolean>;
237
+ underline: z.ZodOptional<z.ZodBoolean>;
238
+ fontKey: z.ZodOptional<z.ZodString>;
239
+ }, "weight" | "fontKey" | "italic" | "color"> & {
240
+ bg: z.ZodOptional<z.ZodString>;
241
+ }, "strict", z.ZodTypeAny, {
242
+ weight?: "bold" | "normal" | undefined;
243
+ fontKey?: string | undefined;
244
+ italic?: boolean | undefined;
245
+ color?: string | undefined;
246
+ bg?: string | undefined;
247
+ }, {
248
+ weight?: "bold" | "normal" | undefined;
249
+ fontKey?: string | undefined;
250
+ italic?: boolean | undefined;
251
+ color?: string | undefined;
252
+ bg?: string | undefined;
253
+ }>;
254
+ /**
255
+ * Which style vocabulary each kind accepts — TOTAL over the kind vocabulary
256
+ * since the any-text wave, so "unknown kind" can only mean an id this
257
+ * schema's vintage cannot dispatch (already refused by `objectKindOf`).
258
+ *
259
+ * EXPORTED for the web toolbar: `toolbarControlsFor` derives its control
260
+ * matrix from these shapes instead of hand-mirroring them, so a vocabulary
261
+ * change here reshapes the UI by construction.
262
+ */
263
+ declare const STYLE_SCHEMA_FOR_KIND: Record<ProfileObjectKind, z.ZodObject<z.ZodRawShape>>;
264
+ declare const profileLayoutSchema: z.ZodEffects<z.ZodObject<{
265
+ v: z.ZodLiteral<1>;
266
+ sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
267
+ objectOrder: z.ZodOptional<z.ZodObject<{
268
+ bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
269
+ identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
270
+ contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
271
+ social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
272
+ actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
273
+ cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
274
+ footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
275
+ }, "strict", z.ZodTypeAny, {
276
+ bio?: string[] | undefined;
277
+ identity?: string[] | undefined;
278
+ contact?: string[] | undefined;
279
+ social?: string[] | undefined;
280
+ actions?: string[] | undefined;
281
+ cta?: string[] | undefined;
282
+ footer?: string[] | undefined;
283
+ }, {
284
+ bio?: string[] | undefined;
285
+ identity?: string[] | undefined;
286
+ contact?: string[] | undefined;
287
+ social?: string[] | undefined;
288
+ actions?: string[] | undefined;
289
+ cta?: string[] | undefined;
290
+ footer?: string[] | undefined;
291
+ }>>;
292
+ objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
293
+ ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
294
+ id: z.ZodString;
295
+ kind: z.ZodLiteral<"freeText">;
296
+ section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
297
+ text: z.ZodEffects<z.ZodString, string, string>;
298
+ }, "strict", z.ZodTypeAny, {
299
+ text: string;
300
+ id: string;
301
+ kind: "freeText";
302
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
303
+ }, {
304
+ text: string;
305
+ id: string;
306
+ kind: "freeText";
307
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
308
+ }>, "many">>;
309
+ }, "strict", z.ZodTypeAny, {
310
+ v: 1;
311
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
312
+ objectOrder?: {
313
+ bio?: string[] | undefined;
314
+ identity?: string[] | undefined;
315
+ contact?: string[] | undefined;
316
+ social?: string[] | undefined;
317
+ actions?: string[] | undefined;
318
+ cta?: string[] | undefined;
319
+ footer?: string[] | undefined;
320
+ } | undefined;
321
+ objects?: Record<string, unknown> | undefined;
322
+ ownedObjects?: {
323
+ text: string;
324
+ id: string;
325
+ kind: "freeText";
326
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
327
+ }[] | undefined;
328
+ }, {
329
+ v: 1;
330
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
331
+ objectOrder?: {
332
+ bio?: string[] | undefined;
333
+ identity?: string[] | undefined;
334
+ contact?: string[] | undefined;
335
+ social?: string[] | undefined;
336
+ actions?: string[] | undefined;
337
+ cta?: string[] | undefined;
338
+ footer?: string[] | undefined;
339
+ } | undefined;
340
+ objects?: Record<string, unknown> | undefined;
341
+ ownedObjects?: {
342
+ text: string;
343
+ id: string;
344
+ kind: "freeText";
345
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
346
+ }[] | undefined;
347
+ }>, {
348
+ v: 1;
349
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
350
+ objectOrder?: {
351
+ bio?: string[] | undefined;
352
+ identity?: string[] | undefined;
353
+ contact?: string[] | undefined;
354
+ social?: string[] | undefined;
355
+ actions?: string[] | undefined;
356
+ cta?: string[] | undefined;
357
+ footer?: string[] | undefined;
358
+ } | undefined;
359
+ objects?: Record<string, unknown> | undefined;
360
+ ownedObjects?: {
361
+ text: string;
362
+ id: string;
363
+ kind: "freeText";
364
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
365
+ }[] | undefined;
366
+ }, {
367
+ v: 1;
368
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
369
+ objectOrder?: {
370
+ bio?: string[] | undefined;
371
+ identity?: string[] | undefined;
372
+ contact?: string[] | undefined;
373
+ social?: string[] | undefined;
374
+ actions?: string[] | undefined;
375
+ cta?: string[] | undefined;
376
+ footer?: string[] | undefined;
377
+ } | undefined;
378
+ objects?: Record<string, unknown> | undefined;
379
+ ownedObjects?: {
380
+ text: string;
381
+ id: string;
382
+ kind: "freeText";
383
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
384
+ }[] | undefined;
385
+ }>;
386
+ /**
387
+ * Render-side gate: a stored layout that no longer parses (a vintage this
388
+ * build predates, a hand-corrupted blob) renders as CANONICAL rather than
389
+ * failing the whole page. Mirrors the lenient posture of
390
+ * `resolveRenderBackground` — the public page never 500s over decoration.
391
+ */
392
+ declare function safeProfileLayout(value: unknown): ProfileLayout | null;
393
+
112
394
  declare const webAddressSchema: z.ZodUnion<[z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>, z.ZodLiteral<"">]>;
113
395
  declare function sanitizeHttpUrl(raw: unknown): string;
114
396
  /** Plain-text label — strip tags/control chars, cap length. */
@@ -5393,11 +5675,153 @@ declare const digitalConfigSchema: z.ZodObject<{
5393
5675
  to: string;
5394
5676
  angleDeg: number;
5395
5677
  } | undefined, unknown>>;
5678
+ layout: z.ZodOptional<z.ZodEffects<z.ZodObject<{
5679
+ v: z.ZodLiteral<1>;
5680
+ sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
5681
+ objectOrder: z.ZodOptional<z.ZodObject<{
5682
+ bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5683
+ identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5684
+ contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5685
+ social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5686
+ actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5687
+ cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5688
+ footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5689
+ }, "strict", z.ZodTypeAny, {
5690
+ bio?: string[] | undefined;
5691
+ identity?: string[] | undefined;
5692
+ contact?: string[] | undefined;
5693
+ social?: string[] | undefined;
5694
+ actions?: string[] | undefined;
5695
+ cta?: string[] | undefined;
5696
+ footer?: string[] | undefined;
5697
+ }, {
5698
+ bio?: string[] | undefined;
5699
+ identity?: string[] | undefined;
5700
+ contact?: string[] | undefined;
5701
+ social?: string[] | undefined;
5702
+ actions?: string[] | undefined;
5703
+ cta?: string[] | undefined;
5704
+ footer?: string[] | undefined;
5705
+ }>>;
5706
+ objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5707
+ ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
5708
+ id: z.ZodString;
5709
+ kind: z.ZodLiteral<"freeText">;
5710
+ section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
5711
+ text: z.ZodEffects<z.ZodString, string, string>;
5712
+ }, "strict", z.ZodTypeAny, {
5713
+ text: string;
5714
+ id: string;
5715
+ kind: "freeText";
5716
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
5717
+ }, {
5718
+ text: string;
5719
+ id: string;
5720
+ kind: "freeText";
5721
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
5722
+ }>, "many">>;
5723
+ }, "strict", z.ZodTypeAny, {
5724
+ v: 1;
5725
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
5726
+ objectOrder?: {
5727
+ bio?: string[] | undefined;
5728
+ identity?: string[] | undefined;
5729
+ contact?: string[] | undefined;
5730
+ social?: string[] | undefined;
5731
+ actions?: string[] | undefined;
5732
+ cta?: string[] | undefined;
5733
+ footer?: string[] | undefined;
5734
+ } | undefined;
5735
+ objects?: Record<string, unknown> | undefined;
5736
+ ownedObjects?: {
5737
+ text: string;
5738
+ id: string;
5739
+ kind: "freeText";
5740
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
5741
+ }[] | undefined;
5742
+ }, {
5743
+ v: 1;
5744
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
5745
+ objectOrder?: {
5746
+ bio?: string[] | undefined;
5747
+ identity?: string[] | undefined;
5748
+ contact?: string[] | undefined;
5749
+ social?: string[] | undefined;
5750
+ actions?: string[] | undefined;
5751
+ cta?: string[] | undefined;
5752
+ footer?: string[] | undefined;
5753
+ } | undefined;
5754
+ objects?: Record<string, unknown> | undefined;
5755
+ ownedObjects?: {
5756
+ text: string;
5757
+ id: string;
5758
+ kind: "freeText";
5759
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
5760
+ }[] | undefined;
5761
+ }>, {
5762
+ v: 1;
5763
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
5764
+ objectOrder?: {
5765
+ bio?: string[] | undefined;
5766
+ identity?: string[] | undefined;
5767
+ contact?: string[] | undefined;
5768
+ social?: string[] | undefined;
5769
+ actions?: string[] | undefined;
5770
+ cta?: string[] | undefined;
5771
+ footer?: string[] | undefined;
5772
+ } | undefined;
5773
+ objects?: Record<string, unknown> | undefined;
5774
+ ownedObjects?: {
5775
+ text: string;
5776
+ id: string;
5777
+ kind: "freeText";
5778
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
5779
+ }[] | undefined;
5780
+ }, {
5781
+ v: 1;
5782
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
5783
+ objectOrder?: {
5784
+ bio?: string[] | undefined;
5785
+ identity?: string[] | undefined;
5786
+ contact?: string[] | undefined;
5787
+ social?: string[] | undefined;
5788
+ actions?: string[] | undefined;
5789
+ cta?: string[] | undefined;
5790
+ footer?: string[] | undefined;
5791
+ } | undefined;
5792
+ objects?: Record<string, unknown> | undefined;
5793
+ ownedObjects?: {
5794
+ text: string;
5795
+ id: string;
5796
+ kind: "freeText";
5797
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
5798
+ }[] | undefined;
5799
+ }>>;
5396
5800
  }, "strip", z.ZodTypeAny, {
5397
5801
  fontKey: string;
5398
5802
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
5399
5803
  accentColor: string;
5400
5804
  showAvatar: boolean;
5805
+ layout?: {
5806
+ v: 1;
5807
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
5808
+ objectOrder?: {
5809
+ bio?: string[] | undefined;
5810
+ identity?: string[] | undefined;
5811
+ contact?: string[] | undefined;
5812
+ social?: string[] | undefined;
5813
+ actions?: string[] | undefined;
5814
+ cta?: string[] | undefined;
5815
+ footer?: string[] | undefined;
5816
+ } | undefined;
5817
+ objects?: Record<string, unknown> | undefined;
5818
+ ownedObjects?: {
5819
+ text: string;
5820
+ id: string;
5821
+ kind: "freeText";
5822
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
5823
+ }[] | undefined;
5824
+ } | undefined;
5401
5825
  background?: {
5402
5826
  kind: "solid";
5403
5827
  from?: undefined;
@@ -5467,6 +5891,26 @@ declare const digitalConfigSchema: z.ZodObject<{
5467
5891
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
5468
5892
  accentColor: string;
5469
5893
  showAvatar: boolean;
5894
+ layout?: {
5895
+ v: 1;
5896
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
5897
+ objectOrder?: {
5898
+ bio?: string[] | undefined;
5899
+ identity?: string[] | undefined;
5900
+ contact?: string[] | undefined;
5901
+ social?: string[] | undefined;
5902
+ actions?: string[] | undefined;
5903
+ cta?: string[] | undefined;
5904
+ footer?: string[] | undefined;
5905
+ } | undefined;
5906
+ objects?: Record<string, unknown> | undefined;
5907
+ ownedObjects?: {
5908
+ text: string;
5909
+ id: string;
5910
+ kind: "freeText";
5911
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
5912
+ }[] | undefined;
5913
+ } | undefined;
5470
5914
  background?: unknown;
5471
5915
  primaryColor?: string | undefined;
5472
5916
  secondaryColor?: string | undefined;
@@ -9062,11 +9506,153 @@ declare const configurationCreateSchema: z.ZodObject<{
9062
9506
  to: string;
9063
9507
  angleDeg: number;
9064
9508
  } | undefined, unknown>>;
9509
+ layout: z.ZodOptional<z.ZodEffects<z.ZodObject<{
9510
+ v: z.ZodLiteral<1>;
9511
+ sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
9512
+ objectOrder: z.ZodOptional<z.ZodObject<{
9513
+ bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
9514
+ identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
9515
+ contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
9516
+ social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
9517
+ actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
9518
+ cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
9519
+ footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
9520
+ }, "strict", z.ZodTypeAny, {
9521
+ bio?: string[] | undefined;
9522
+ identity?: string[] | undefined;
9523
+ contact?: string[] | undefined;
9524
+ social?: string[] | undefined;
9525
+ actions?: string[] | undefined;
9526
+ cta?: string[] | undefined;
9527
+ footer?: string[] | undefined;
9528
+ }, {
9529
+ bio?: string[] | undefined;
9530
+ identity?: string[] | undefined;
9531
+ contact?: string[] | undefined;
9532
+ social?: string[] | undefined;
9533
+ actions?: string[] | undefined;
9534
+ cta?: string[] | undefined;
9535
+ footer?: string[] | undefined;
9536
+ }>>;
9537
+ objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9538
+ ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
9539
+ id: z.ZodString;
9540
+ kind: z.ZodLiteral<"freeText">;
9541
+ section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
9542
+ text: z.ZodEffects<z.ZodString, string, string>;
9543
+ }, "strict", z.ZodTypeAny, {
9544
+ text: string;
9545
+ id: string;
9546
+ kind: "freeText";
9547
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
9548
+ }, {
9549
+ text: string;
9550
+ id: string;
9551
+ kind: "freeText";
9552
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
9553
+ }>, "many">>;
9554
+ }, "strict", z.ZodTypeAny, {
9555
+ v: 1;
9556
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
9557
+ objectOrder?: {
9558
+ bio?: string[] | undefined;
9559
+ identity?: string[] | undefined;
9560
+ contact?: string[] | undefined;
9561
+ social?: string[] | undefined;
9562
+ actions?: string[] | undefined;
9563
+ cta?: string[] | undefined;
9564
+ footer?: string[] | undefined;
9565
+ } | undefined;
9566
+ objects?: Record<string, unknown> | undefined;
9567
+ ownedObjects?: {
9568
+ text: string;
9569
+ id: string;
9570
+ kind: "freeText";
9571
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
9572
+ }[] | undefined;
9573
+ }, {
9574
+ v: 1;
9575
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
9576
+ objectOrder?: {
9577
+ bio?: string[] | undefined;
9578
+ identity?: string[] | undefined;
9579
+ contact?: string[] | undefined;
9580
+ social?: string[] | undefined;
9581
+ actions?: string[] | undefined;
9582
+ cta?: string[] | undefined;
9583
+ footer?: string[] | undefined;
9584
+ } | undefined;
9585
+ objects?: Record<string, unknown> | undefined;
9586
+ ownedObjects?: {
9587
+ text: string;
9588
+ id: string;
9589
+ kind: "freeText";
9590
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
9591
+ }[] | undefined;
9592
+ }>, {
9593
+ v: 1;
9594
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
9595
+ objectOrder?: {
9596
+ bio?: string[] | undefined;
9597
+ identity?: string[] | undefined;
9598
+ contact?: string[] | undefined;
9599
+ social?: string[] | undefined;
9600
+ actions?: string[] | undefined;
9601
+ cta?: string[] | undefined;
9602
+ footer?: string[] | undefined;
9603
+ } | undefined;
9604
+ objects?: Record<string, unknown> | undefined;
9605
+ ownedObjects?: {
9606
+ text: string;
9607
+ id: string;
9608
+ kind: "freeText";
9609
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
9610
+ }[] | undefined;
9611
+ }, {
9612
+ v: 1;
9613
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
9614
+ objectOrder?: {
9615
+ bio?: string[] | undefined;
9616
+ identity?: string[] | undefined;
9617
+ contact?: string[] | undefined;
9618
+ social?: string[] | undefined;
9619
+ actions?: string[] | undefined;
9620
+ cta?: string[] | undefined;
9621
+ footer?: string[] | undefined;
9622
+ } | undefined;
9623
+ objects?: Record<string, unknown> | undefined;
9624
+ ownedObjects?: {
9625
+ text: string;
9626
+ id: string;
9627
+ kind: "freeText";
9628
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
9629
+ }[] | undefined;
9630
+ }>>;
9065
9631
  }, "strip", z.ZodTypeAny, {
9066
9632
  fontKey: string;
9067
9633
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
9068
9634
  accentColor: string;
9069
9635
  showAvatar: boolean;
9636
+ layout?: {
9637
+ v: 1;
9638
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
9639
+ objectOrder?: {
9640
+ bio?: string[] | undefined;
9641
+ identity?: string[] | undefined;
9642
+ contact?: string[] | undefined;
9643
+ social?: string[] | undefined;
9644
+ actions?: string[] | undefined;
9645
+ cta?: string[] | undefined;
9646
+ footer?: string[] | undefined;
9647
+ } | undefined;
9648
+ objects?: Record<string, unknown> | undefined;
9649
+ ownedObjects?: {
9650
+ text: string;
9651
+ id: string;
9652
+ kind: "freeText";
9653
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
9654
+ }[] | undefined;
9655
+ } | undefined;
9070
9656
  background?: {
9071
9657
  kind: "solid";
9072
9658
  from?: undefined;
@@ -9136,6 +9722,26 @@ declare const configurationCreateSchema: z.ZodObject<{
9136
9722
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
9137
9723
  accentColor: string;
9138
9724
  showAvatar: boolean;
9725
+ layout?: {
9726
+ v: 1;
9727
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
9728
+ objectOrder?: {
9729
+ bio?: string[] | undefined;
9730
+ identity?: string[] | undefined;
9731
+ contact?: string[] | undefined;
9732
+ social?: string[] | undefined;
9733
+ actions?: string[] | undefined;
9734
+ cta?: string[] | undefined;
9735
+ footer?: string[] | undefined;
9736
+ } | undefined;
9737
+ objects?: Record<string, unknown> | undefined;
9738
+ ownedObjects?: {
9739
+ text: string;
9740
+ id: string;
9741
+ kind: "freeText";
9742
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
9743
+ }[] | undefined;
9744
+ } | undefined;
9139
9745
  background?: unknown;
9140
9746
  primaryColor?: string | undefined;
9141
9747
  secondaryColor?: string | undefined;
@@ -9526,6 +10132,26 @@ declare const configurationCreateSchema: z.ZodObject<{
9526
10132
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
9527
10133
  accentColor: string;
9528
10134
  showAvatar: boolean;
10135
+ layout?: {
10136
+ v: 1;
10137
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
10138
+ objectOrder?: {
10139
+ bio?: string[] | undefined;
10140
+ identity?: string[] | undefined;
10141
+ contact?: string[] | undefined;
10142
+ social?: string[] | undefined;
10143
+ actions?: string[] | undefined;
10144
+ cta?: string[] | undefined;
10145
+ footer?: string[] | undefined;
10146
+ } | undefined;
10147
+ objects?: Record<string, unknown> | undefined;
10148
+ ownedObjects?: {
10149
+ text: string;
10150
+ id: string;
10151
+ kind: "freeText";
10152
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
10153
+ }[] | undefined;
10154
+ } | undefined;
9529
10155
  background?: {
9530
10156
  kind: "solid";
9531
10157
  from?: undefined;
@@ -9929,6 +10555,26 @@ declare const configurationCreateSchema: z.ZodObject<{
9929
10555
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
9930
10556
  accentColor: string;
9931
10557
  showAvatar: boolean;
10558
+ layout?: {
10559
+ v: 1;
10560
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
10561
+ objectOrder?: {
10562
+ bio?: string[] | undefined;
10563
+ identity?: string[] | undefined;
10564
+ contact?: string[] | undefined;
10565
+ social?: string[] | undefined;
10566
+ actions?: string[] | undefined;
10567
+ cta?: string[] | undefined;
10568
+ footer?: string[] | undefined;
10569
+ } | undefined;
10570
+ objects?: Record<string, unknown> | undefined;
10571
+ ownedObjects?: {
10572
+ text: string;
10573
+ id: string;
10574
+ kind: "freeText";
10575
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
10576
+ }[] | undefined;
10577
+ } | undefined;
9932
10578
  background?: unknown;
9933
10579
  primaryColor?: string | undefined;
9934
10580
  secondaryColor?: string | undefined;
@@ -13509,11 +14155,153 @@ declare const configurationUpdateSchema: z.ZodObject<{
13509
14155
  to: string;
13510
14156
  angleDeg: number;
13511
14157
  } | undefined, unknown>>;
14158
+ layout: z.ZodOptional<z.ZodEffects<z.ZodObject<{
14159
+ v: z.ZodLiteral<1>;
14160
+ sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
14161
+ objectOrder: z.ZodOptional<z.ZodObject<{
14162
+ bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
14163
+ identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
14164
+ contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
14165
+ social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
14166
+ actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
14167
+ cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
14168
+ footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
14169
+ }, "strict", z.ZodTypeAny, {
14170
+ bio?: string[] | undefined;
14171
+ identity?: string[] | undefined;
14172
+ contact?: string[] | undefined;
14173
+ social?: string[] | undefined;
14174
+ actions?: string[] | undefined;
14175
+ cta?: string[] | undefined;
14176
+ footer?: string[] | undefined;
14177
+ }, {
14178
+ bio?: string[] | undefined;
14179
+ identity?: string[] | undefined;
14180
+ contact?: string[] | undefined;
14181
+ social?: string[] | undefined;
14182
+ actions?: string[] | undefined;
14183
+ cta?: string[] | undefined;
14184
+ footer?: string[] | undefined;
14185
+ }>>;
14186
+ objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14187
+ ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
14188
+ id: z.ZodString;
14189
+ kind: z.ZodLiteral<"freeText">;
14190
+ section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
14191
+ text: z.ZodEffects<z.ZodString, string, string>;
14192
+ }, "strict", z.ZodTypeAny, {
14193
+ text: string;
14194
+ id: string;
14195
+ kind: "freeText";
14196
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
14197
+ }, {
14198
+ text: string;
14199
+ id: string;
14200
+ kind: "freeText";
14201
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
14202
+ }>, "many">>;
14203
+ }, "strict", z.ZodTypeAny, {
14204
+ v: 1;
14205
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
14206
+ objectOrder?: {
14207
+ bio?: string[] | undefined;
14208
+ identity?: string[] | undefined;
14209
+ contact?: string[] | undefined;
14210
+ social?: string[] | undefined;
14211
+ actions?: string[] | undefined;
14212
+ cta?: string[] | undefined;
14213
+ footer?: string[] | undefined;
14214
+ } | undefined;
14215
+ objects?: Record<string, unknown> | undefined;
14216
+ ownedObjects?: {
14217
+ text: string;
14218
+ id: string;
14219
+ kind: "freeText";
14220
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
14221
+ }[] | undefined;
14222
+ }, {
14223
+ v: 1;
14224
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
14225
+ objectOrder?: {
14226
+ bio?: string[] | undefined;
14227
+ identity?: string[] | undefined;
14228
+ contact?: string[] | undefined;
14229
+ social?: string[] | undefined;
14230
+ actions?: string[] | undefined;
14231
+ cta?: string[] | undefined;
14232
+ footer?: string[] | undefined;
14233
+ } | undefined;
14234
+ objects?: Record<string, unknown> | undefined;
14235
+ ownedObjects?: {
14236
+ text: string;
14237
+ id: string;
14238
+ kind: "freeText";
14239
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
14240
+ }[] | undefined;
14241
+ }>, {
14242
+ v: 1;
14243
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
14244
+ objectOrder?: {
14245
+ bio?: string[] | undefined;
14246
+ identity?: string[] | undefined;
14247
+ contact?: string[] | undefined;
14248
+ social?: string[] | undefined;
14249
+ actions?: string[] | undefined;
14250
+ cta?: string[] | undefined;
14251
+ footer?: string[] | undefined;
14252
+ } | undefined;
14253
+ objects?: Record<string, unknown> | undefined;
14254
+ ownedObjects?: {
14255
+ text: string;
14256
+ id: string;
14257
+ kind: "freeText";
14258
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
14259
+ }[] | undefined;
14260
+ }, {
14261
+ v: 1;
14262
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
14263
+ objectOrder?: {
14264
+ bio?: string[] | undefined;
14265
+ identity?: string[] | undefined;
14266
+ contact?: string[] | undefined;
14267
+ social?: string[] | undefined;
14268
+ actions?: string[] | undefined;
14269
+ cta?: string[] | undefined;
14270
+ footer?: string[] | undefined;
14271
+ } | undefined;
14272
+ objects?: Record<string, unknown> | undefined;
14273
+ ownedObjects?: {
14274
+ text: string;
14275
+ id: string;
14276
+ kind: "freeText";
14277
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
14278
+ }[] | undefined;
14279
+ }>>;
13512
14280
  }, "strip", z.ZodTypeAny, {
13513
14281
  fontKey: string;
13514
14282
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
13515
14283
  accentColor: string;
13516
14284
  showAvatar: boolean;
14285
+ layout?: {
14286
+ v: 1;
14287
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
14288
+ objectOrder?: {
14289
+ bio?: string[] | undefined;
14290
+ identity?: string[] | undefined;
14291
+ contact?: string[] | undefined;
14292
+ social?: string[] | undefined;
14293
+ actions?: string[] | undefined;
14294
+ cta?: string[] | undefined;
14295
+ footer?: string[] | undefined;
14296
+ } | undefined;
14297
+ objects?: Record<string, unknown> | undefined;
14298
+ ownedObjects?: {
14299
+ text: string;
14300
+ id: string;
14301
+ kind: "freeText";
14302
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
14303
+ }[] | undefined;
14304
+ } | undefined;
13517
14305
  background?: {
13518
14306
  kind: "solid";
13519
14307
  from?: undefined;
@@ -13583,6 +14371,26 @@ declare const configurationUpdateSchema: z.ZodObject<{
13583
14371
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
13584
14372
  accentColor: string;
13585
14373
  showAvatar: boolean;
14374
+ layout?: {
14375
+ v: 1;
14376
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
14377
+ objectOrder?: {
14378
+ bio?: string[] | undefined;
14379
+ identity?: string[] | undefined;
14380
+ contact?: string[] | undefined;
14381
+ social?: string[] | undefined;
14382
+ actions?: string[] | undefined;
14383
+ cta?: string[] | undefined;
14384
+ footer?: string[] | undefined;
14385
+ } | undefined;
14386
+ objects?: Record<string, unknown> | undefined;
14387
+ ownedObjects?: {
14388
+ text: string;
14389
+ id: string;
14390
+ kind: "freeText";
14391
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
14392
+ }[] | undefined;
14393
+ } | undefined;
13586
14394
  background?: unknown;
13587
14395
  primaryColor?: string | undefined;
13588
14396
  secondaryColor?: string | undefined;
@@ -13944,6 +14752,26 @@ declare const configurationUpdateSchema: z.ZodObject<{
13944
14752
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
13945
14753
  accentColor: string;
13946
14754
  showAvatar: boolean;
14755
+ layout?: {
14756
+ v: 1;
14757
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
14758
+ objectOrder?: {
14759
+ bio?: string[] | undefined;
14760
+ identity?: string[] | undefined;
14761
+ contact?: string[] | undefined;
14762
+ social?: string[] | undefined;
14763
+ actions?: string[] | undefined;
14764
+ cta?: string[] | undefined;
14765
+ footer?: string[] | undefined;
14766
+ } | undefined;
14767
+ objects?: Record<string, unknown> | undefined;
14768
+ ownedObjects?: {
14769
+ text: string;
14770
+ id: string;
14771
+ kind: "freeText";
14772
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
14773
+ }[] | undefined;
14774
+ } | undefined;
13947
14775
  background?: {
13948
14776
  kind: "solid";
13949
14777
  from?: undefined;
@@ -14336,6 +15164,26 @@ declare const configurationUpdateSchema: z.ZodObject<{
14336
15164
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
14337
15165
  accentColor: string;
14338
15166
  showAvatar: boolean;
15167
+ layout?: {
15168
+ v: 1;
15169
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
15170
+ objectOrder?: {
15171
+ bio?: string[] | undefined;
15172
+ identity?: string[] | undefined;
15173
+ contact?: string[] | undefined;
15174
+ social?: string[] | undefined;
15175
+ actions?: string[] | undefined;
15176
+ cta?: string[] | undefined;
15177
+ footer?: string[] | undefined;
15178
+ } | undefined;
15179
+ objects?: Record<string, unknown> | undefined;
15180
+ ownedObjects?: {
15181
+ text: string;
15182
+ id: string;
15183
+ kind: "freeText";
15184
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15185
+ }[] | undefined;
15186
+ } | undefined;
14339
15187
  background?: unknown;
14340
15188
  primaryColor?: string | undefined;
14341
15189
  secondaryColor?: string | undefined;
@@ -14509,6 +15357,128 @@ declare const cardUpdateSchema: z.ZodObject<{
14509
15357
  to: string;
14510
15358
  angleDeg: number;
14511
15359
  } | undefined, unknown>>>>;
15360
+ layout: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodObject<{
15361
+ v: z.ZodLiteral<1>;
15362
+ sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
15363
+ objectOrder: z.ZodOptional<z.ZodObject<{
15364
+ bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15365
+ identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15366
+ contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15367
+ social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15368
+ actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15369
+ cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15370
+ footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
15371
+ }, "strict", z.ZodTypeAny, {
15372
+ bio?: string[] | undefined;
15373
+ identity?: string[] | undefined;
15374
+ contact?: string[] | undefined;
15375
+ social?: string[] | undefined;
15376
+ actions?: string[] | undefined;
15377
+ cta?: string[] | undefined;
15378
+ footer?: string[] | undefined;
15379
+ }, {
15380
+ bio?: string[] | undefined;
15381
+ identity?: string[] | undefined;
15382
+ contact?: string[] | undefined;
15383
+ social?: string[] | undefined;
15384
+ actions?: string[] | undefined;
15385
+ cta?: string[] | undefined;
15386
+ footer?: string[] | undefined;
15387
+ }>>;
15388
+ objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15389
+ ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
15390
+ id: z.ZodString;
15391
+ kind: z.ZodLiteral<"freeText">;
15392
+ section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
15393
+ text: z.ZodEffects<z.ZodString, string, string>;
15394
+ }, "strict", z.ZodTypeAny, {
15395
+ text: string;
15396
+ id: string;
15397
+ kind: "freeText";
15398
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15399
+ }, {
15400
+ text: string;
15401
+ id: string;
15402
+ kind: "freeText";
15403
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15404
+ }>, "many">>;
15405
+ }, "strict", z.ZodTypeAny, {
15406
+ v: 1;
15407
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
15408
+ objectOrder?: {
15409
+ bio?: string[] | undefined;
15410
+ identity?: string[] | undefined;
15411
+ contact?: string[] | undefined;
15412
+ social?: string[] | undefined;
15413
+ actions?: string[] | undefined;
15414
+ cta?: string[] | undefined;
15415
+ footer?: string[] | undefined;
15416
+ } | undefined;
15417
+ objects?: Record<string, unknown> | undefined;
15418
+ ownedObjects?: {
15419
+ text: string;
15420
+ id: string;
15421
+ kind: "freeText";
15422
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15423
+ }[] | undefined;
15424
+ }, {
15425
+ v: 1;
15426
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
15427
+ objectOrder?: {
15428
+ bio?: string[] | undefined;
15429
+ identity?: string[] | undefined;
15430
+ contact?: string[] | undefined;
15431
+ social?: string[] | undefined;
15432
+ actions?: string[] | undefined;
15433
+ cta?: string[] | undefined;
15434
+ footer?: string[] | undefined;
15435
+ } | undefined;
15436
+ objects?: Record<string, unknown> | undefined;
15437
+ ownedObjects?: {
15438
+ text: string;
15439
+ id: string;
15440
+ kind: "freeText";
15441
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15442
+ }[] | undefined;
15443
+ }>, {
15444
+ v: 1;
15445
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
15446
+ objectOrder?: {
15447
+ bio?: string[] | undefined;
15448
+ identity?: string[] | undefined;
15449
+ contact?: string[] | undefined;
15450
+ social?: string[] | undefined;
15451
+ actions?: string[] | undefined;
15452
+ cta?: string[] | undefined;
15453
+ footer?: string[] | undefined;
15454
+ } | undefined;
15455
+ objects?: Record<string, unknown> | undefined;
15456
+ ownedObjects?: {
15457
+ text: string;
15458
+ id: string;
15459
+ kind: "freeText";
15460
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15461
+ }[] | undefined;
15462
+ }, {
15463
+ v: 1;
15464
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
15465
+ objectOrder?: {
15466
+ bio?: string[] | undefined;
15467
+ identity?: string[] | undefined;
15468
+ contact?: string[] | undefined;
15469
+ social?: string[] | undefined;
15470
+ actions?: string[] | undefined;
15471
+ cta?: string[] | undefined;
15472
+ footer?: string[] | undefined;
15473
+ } | undefined;
15474
+ objects?: Record<string, unknown> | undefined;
15475
+ ownedObjects?: {
15476
+ text: string;
15477
+ id: string;
15478
+ kind: "freeText";
15479
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15480
+ }[] | undefined;
15481
+ }>>>>;
14512
15482
  profilePhotoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
14513
15483
  companyLogoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
14514
15484
  }, "strip", z.ZodTypeAny, {
@@ -14516,6 +15486,26 @@ declare const cardUpdateSchema: z.ZodObject<{
14516
15486
  companyLogoUrl?: string | undefined;
14517
15487
  fontKey?: string | undefined;
14518
15488
  templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
15489
+ layout?: {
15490
+ v: 1;
15491
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
15492
+ objectOrder?: {
15493
+ bio?: string[] | undefined;
15494
+ identity?: string[] | undefined;
15495
+ contact?: string[] | undefined;
15496
+ social?: string[] | undefined;
15497
+ actions?: string[] | undefined;
15498
+ cta?: string[] | undefined;
15499
+ footer?: string[] | undefined;
15500
+ } | undefined;
15501
+ objects?: Record<string, unknown> | undefined;
15502
+ ownedObjects?: {
15503
+ text: string;
15504
+ id: string;
15505
+ kind: "freeText";
15506
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15507
+ }[] | undefined;
15508
+ } | undefined;
14519
15509
  background?: {
14520
15510
  kind: "solid";
14521
15511
  from?: undefined;
@@ -14587,6 +15577,26 @@ declare const cardUpdateSchema: z.ZodObject<{
14587
15577
  companyLogoUrl?: string | undefined;
14588
15578
  fontKey?: string | undefined;
14589
15579
  templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
15580
+ layout?: {
15581
+ v: 1;
15582
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
15583
+ objectOrder?: {
15584
+ bio?: string[] | undefined;
15585
+ identity?: string[] | undefined;
15586
+ contact?: string[] | undefined;
15587
+ social?: string[] | undefined;
15588
+ actions?: string[] | undefined;
15589
+ cta?: string[] | undefined;
15590
+ footer?: string[] | undefined;
15591
+ } | undefined;
15592
+ objects?: Record<string, unknown> | undefined;
15593
+ ownedObjects?: {
15594
+ text: string;
15595
+ id: string;
15596
+ kind: "freeText";
15597
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15598
+ }[] | undefined;
15599
+ } | undefined;
14590
15600
  background?: unknown;
14591
15601
  accentColor?: string | undefined;
14592
15602
  primaryColor?: string | undefined;
@@ -14631,6 +15641,26 @@ declare const cardUpdateSchema: z.ZodObject<{
14631
15641
  companyLogoUrl?: string | undefined;
14632
15642
  fontKey?: string | undefined;
14633
15643
  templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
15644
+ layout?: {
15645
+ v: 1;
15646
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
15647
+ objectOrder?: {
15648
+ bio?: string[] | undefined;
15649
+ identity?: string[] | undefined;
15650
+ contact?: string[] | undefined;
15651
+ social?: string[] | undefined;
15652
+ actions?: string[] | undefined;
15653
+ cta?: string[] | undefined;
15654
+ footer?: string[] | undefined;
15655
+ } | undefined;
15656
+ objects?: Record<string, unknown> | undefined;
15657
+ ownedObjects?: {
15658
+ text: string;
15659
+ id: string;
15660
+ kind: "freeText";
15661
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15662
+ }[] | undefined;
15663
+ } | undefined;
14634
15664
  background?: {
14635
15665
  kind: "solid";
14636
15666
  from?: undefined;
@@ -14705,6 +15735,26 @@ declare const cardUpdateSchema: z.ZodObject<{
14705
15735
  companyLogoUrl?: string | undefined;
14706
15736
  fontKey?: string | undefined;
14707
15737
  templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
15738
+ layout?: {
15739
+ v: 1;
15740
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
15741
+ objectOrder?: {
15742
+ bio?: string[] | undefined;
15743
+ identity?: string[] | undefined;
15744
+ contact?: string[] | undefined;
15745
+ social?: string[] | undefined;
15746
+ actions?: string[] | undefined;
15747
+ cta?: string[] | undefined;
15748
+ footer?: string[] | undefined;
15749
+ } | undefined;
15750
+ objects?: Record<string, unknown> | undefined;
15751
+ ownedObjects?: {
15752
+ text: string;
15753
+ id: string;
15754
+ kind: "freeText";
15755
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
15756
+ }[] | undefined;
15757
+ } | undefined;
14708
15758
  background?: unknown;
14709
15759
  accentColor?: string | undefined;
14710
15760
  primaryColor?: string | undefined;
@@ -14953,11 +16003,153 @@ declare const adminCardCreateSchema: z.ZodObject<{
14953
16003
  to: string;
14954
16004
  angleDeg: number;
14955
16005
  } | undefined, unknown>>;
16006
+ layout: z.ZodOptional<z.ZodEffects<z.ZodObject<{
16007
+ v: z.ZodLiteral<1>;
16008
+ sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
16009
+ objectOrder: z.ZodOptional<z.ZodObject<{
16010
+ bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
16011
+ identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
16012
+ contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
16013
+ social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
16014
+ actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
16015
+ cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
16016
+ footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
16017
+ }, "strict", z.ZodTypeAny, {
16018
+ bio?: string[] | undefined;
16019
+ identity?: string[] | undefined;
16020
+ contact?: string[] | undefined;
16021
+ social?: string[] | undefined;
16022
+ actions?: string[] | undefined;
16023
+ cta?: string[] | undefined;
16024
+ footer?: string[] | undefined;
16025
+ }, {
16026
+ bio?: string[] | undefined;
16027
+ identity?: string[] | undefined;
16028
+ contact?: string[] | undefined;
16029
+ social?: string[] | undefined;
16030
+ actions?: string[] | undefined;
16031
+ cta?: string[] | undefined;
16032
+ footer?: string[] | undefined;
16033
+ }>>;
16034
+ objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16035
+ ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
16036
+ id: z.ZodString;
16037
+ kind: z.ZodLiteral<"freeText">;
16038
+ section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
16039
+ text: z.ZodEffects<z.ZodString, string, string>;
16040
+ }, "strict", z.ZodTypeAny, {
16041
+ text: string;
16042
+ id: string;
16043
+ kind: "freeText";
16044
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
16045
+ }, {
16046
+ text: string;
16047
+ id: string;
16048
+ kind: "freeText";
16049
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
16050
+ }>, "many">>;
16051
+ }, "strict", z.ZodTypeAny, {
16052
+ v: 1;
16053
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
16054
+ objectOrder?: {
16055
+ bio?: string[] | undefined;
16056
+ identity?: string[] | undefined;
16057
+ contact?: string[] | undefined;
16058
+ social?: string[] | undefined;
16059
+ actions?: string[] | undefined;
16060
+ cta?: string[] | undefined;
16061
+ footer?: string[] | undefined;
16062
+ } | undefined;
16063
+ objects?: Record<string, unknown> | undefined;
16064
+ ownedObjects?: {
16065
+ text: string;
16066
+ id: string;
16067
+ kind: "freeText";
16068
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
16069
+ }[] | undefined;
16070
+ }, {
16071
+ v: 1;
16072
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
16073
+ objectOrder?: {
16074
+ bio?: string[] | undefined;
16075
+ identity?: string[] | undefined;
16076
+ contact?: string[] | undefined;
16077
+ social?: string[] | undefined;
16078
+ actions?: string[] | undefined;
16079
+ cta?: string[] | undefined;
16080
+ footer?: string[] | undefined;
16081
+ } | undefined;
16082
+ objects?: Record<string, unknown> | undefined;
16083
+ ownedObjects?: {
16084
+ text: string;
16085
+ id: string;
16086
+ kind: "freeText";
16087
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
16088
+ }[] | undefined;
16089
+ }>, {
16090
+ v: 1;
16091
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
16092
+ objectOrder?: {
16093
+ bio?: string[] | undefined;
16094
+ identity?: string[] | undefined;
16095
+ contact?: string[] | undefined;
16096
+ social?: string[] | undefined;
16097
+ actions?: string[] | undefined;
16098
+ cta?: string[] | undefined;
16099
+ footer?: string[] | undefined;
16100
+ } | undefined;
16101
+ objects?: Record<string, unknown> | undefined;
16102
+ ownedObjects?: {
16103
+ text: string;
16104
+ id: string;
16105
+ kind: "freeText";
16106
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
16107
+ }[] | undefined;
16108
+ }, {
16109
+ v: 1;
16110
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
16111
+ objectOrder?: {
16112
+ bio?: string[] | undefined;
16113
+ identity?: string[] | undefined;
16114
+ contact?: string[] | undefined;
16115
+ social?: string[] | undefined;
16116
+ actions?: string[] | undefined;
16117
+ cta?: string[] | undefined;
16118
+ footer?: string[] | undefined;
16119
+ } | undefined;
16120
+ objects?: Record<string, unknown> | undefined;
16121
+ ownedObjects?: {
16122
+ text: string;
16123
+ id: string;
16124
+ kind: "freeText";
16125
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
16126
+ }[] | undefined;
16127
+ }>>;
14956
16128
  }, "strip", z.ZodTypeAny, {
14957
16129
  fontKey: string;
14958
16130
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
14959
16131
  accentColor: string;
14960
16132
  showAvatar: boolean;
16133
+ layout?: {
16134
+ v: 1;
16135
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
16136
+ objectOrder?: {
16137
+ bio?: string[] | undefined;
16138
+ identity?: string[] | undefined;
16139
+ contact?: string[] | undefined;
16140
+ social?: string[] | undefined;
16141
+ actions?: string[] | undefined;
16142
+ cta?: string[] | undefined;
16143
+ footer?: string[] | undefined;
16144
+ } | undefined;
16145
+ objects?: Record<string, unknown> | undefined;
16146
+ ownedObjects?: {
16147
+ text: string;
16148
+ id: string;
16149
+ kind: "freeText";
16150
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
16151
+ }[] | undefined;
16152
+ } | undefined;
14961
16153
  background?: {
14962
16154
  kind: "solid";
14963
16155
  from?: undefined;
@@ -15027,6 +16219,26 @@ declare const adminCardCreateSchema: z.ZodObject<{
15027
16219
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
15028
16220
  accentColor: string;
15029
16221
  showAvatar: boolean;
16222
+ layout?: {
16223
+ v: 1;
16224
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
16225
+ objectOrder?: {
16226
+ bio?: string[] | undefined;
16227
+ identity?: string[] | undefined;
16228
+ contact?: string[] | undefined;
16229
+ social?: string[] | undefined;
16230
+ actions?: string[] | undefined;
16231
+ cta?: string[] | undefined;
16232
+ footer?: string[] | undefined;
16233
+ } | undefined;
16234
+ objects?: Record<string, unknown> | undefined;
16235
+ ownedObjects?: {
16236
+ text: string;
16237
+ id: string;
16238
+ kind: "freeText";
16239
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
16240
+ }[] | undefined;
16241
+ } | undefined;
15030
16242
  background?: unknown;
15031
16243
  primaryColor?: string | undefined;
15032
16244
  secondaryColor?: string | undefined;
@@ -18413,6 +19625,26 @@ declare const adminCardCreateSchema: z.ZodObject<{
18413
19625
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
18414
19626
  accentColor: string;
18415
19627
  showAvatar: boolean;
19628
+ layout?: {
19629
+ v: 1;
19630
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
19631
+ objectOrder?: {
19632
+ bio?: string[] | undefined;
19633
+ identity?: string[] | undefined;
19634
+ contact?: string[] | undefined;
19635
+ social?: string[] | undefined;
19636
+ actions?: string[] | undefined;
19637
+ cta?: string[] | undefined;
19638
+ footer?: string[] | undefined;
19639
+ } | undefined;
19640
+ objects?: Record<string, unknown> | undefined;
19641
+ ownedObjects?: {
19642
+ text: string;
19643
+ id: string;
19644
+ kind: "freeText";
19645
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
19646
+ }[] | undefined;
19647
+ } | undefined;
18416
19648
  background?: {
18417
19649
  kind: "solid";
18418
19650
  from?: undefined;
@@ -18803,6 +20035,26 @@ declare const adminCardCreateSchema: z.ZodObject<{
18803
20035
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
18804
20036
  accentColor: string;
18805
20037
  showAvatar: boolean;
20038
+ layout?: {
20039
+ v: 1;
20040
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
20041
+ objectOrder?: {
20042
+ bio?: string[] | undefined;
20043
+ identity?: string[] | undefined;
20044
+ contact?: string[] | undefined;
20045
+ social?: string[] | undefined;
20046
+ actions?: string[] | undefined;
20047
+ cta?: string[] | undefined;
20048
+ footer?: string[] | undefined;
20049
+ } | undefined;
20050
+ objects?: Record<string, unknown> | undefined;
20051
+ ownedObjects?: {
20052
+ text: string;
20053
+ id: string;
20054
+ kind: "freeText";
20055
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
20056
+ }[] | undefined;
20057
+ } | undefined;
18806
20058
  background?: unknown;
18807
20059
  primaryColor?: string | undefined;
18808
20060
  secondaryColor?: string | undefined;
@@ -19437,11 +20689,153 @@ declare const profileCreateSchema: z.ZodObject<{
19437
20689
  to: string;
19438
20690
  angleDeg: number;
19439
20691
  } | undefined, unknown>>;
20692
+ layout: z.ZodOptional<z.ZodEffects<z.ZodObject<{
20693
+ v: z.ZodLiteral<1>;
20694
+ sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
20695
+ objectOrder: z.ZodOptional<z.ZodObject<{
20696
+ bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
20697
+ identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
20698
+ contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
20699
+ social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
20700
+ actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
20701
+ cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
20702
+ footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
20703
+ }, "strict", z.ZodTypeAny, {
20704
+ bio?: string[] | undefined;
20705
+ identity?: string[] | undefined;
20706
+ contact?: string[] | undefined;
20707
+ social?: string[] | undefined;
20708
+ actions?: string[] | undefined;
20709
+ cta?: string[] | undefined;
20710
+ footer?: string[] | undefined;
20711
+ }, {
20712
+ bio?: string[] | undefined;
20713
+ identity?: string[] | undefined;
20714
+ contact?: string[] | undefined;
20715
+ social?: string[] | undefined;
20716
+ actions?: string[] | undefined;
20717
+ cta?: string[] | undefined;
20718
+ footer?: string[] | undefined;
20719
+ }>>;
20720
+ objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20721
+ ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
20722
+ id: z.ZodString;
20723
+ kind: z.ZodLiteral<"freeText">;
20724
+ section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
20725
+ text: z.ZodEffects<z.ZodString, string, string>;
20726
+ }, "strict", z.ZodTypeAny, {
20727
+ text: string;
20728
+ id: string;
20729
+ kind: "freeText";
20730
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
20731
+ }, {
20732
+ text: string;
20733
+ id: string;
20734
+ kind: "freeText";
20735
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
20736
+ }>, "many">>;
20737
+ }, "strict", z.ZodTypeAny, {
20738
+ v: 1;
20739
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
20740
+ objectOrder?: {
20741
+ bio?: string[] | undefined;
20742
+ identity?: string[] | undefined;
20743
+ contact?: string[] | undefined;
20744
+ social?: string[] | undefined;
20745
+ actions?: string[] | undefined;
20746
+ cta?: string[] | undefined;
20747
+ footer?: string[] | undefined;
20748
+ } | undefined;
20749
+ objects?: Record<string, unknown> | undefined;
20750
+ ownedObjects?: {
20751
+ text: string;
20752
+ id: string;
20753
+ kind: "freeText";
20754
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
20755
+ }[] | undefined;
20756
+ }, {
20757
+ v: 1;
20758
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
20759
+ objectOrder?: {
20760
+ bio?: string[] | undefined;
20761
+ identity?: string[] | undefined;
20762
+ contact?: string[] | undefined;
20763
+ social?: string[] | undefined;
20764
+ actions?: string[] | undefined;
20765
+ cta?: string[] | undefined;
20766
+ footer?: string[] | undefined;
20767
+ } | undefined;
20768
+ objects?: Record<string, unknown> | undefined;
20769
+ ownedObjects?: {
20770
+ text: string;
20771
+ id: string;
20772
+ kind: "freeText";
20773
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
20774
+ }[] | undefined;
20775
+ }>, {
20776
+ v: 1;
20777
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
20778
+ objectOrder?: {
20779
+ bio?: string[] | undefined;
20780
+ identity?: string[] | undefined;
20781
+ contact?: string[] | undefined;
20782
+ social?: string[] | undefined;
20783
+ actions?: string[] | undefined;
20784
+ cta?: string[] | undefined;
20785
+ footer?: string[] | undefined;
20786
+ } | undefined;
20787
+ objects?: Record<string, unknown> | undefined;
20788
+ ownedObjects?: {
20789
+ text: string;
20790
+ id: string;
20791
+ kind: "freeText";
20792
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
20793
+ }[] | undefined;
20794
+ }, {
20795
+ v: 1;
20796
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
20797
+ objectOrder?: {
20798
+ bio?: string[] | undefined;
20799
+ identity?: string[] | undefined;
20800
+ contact?: string[] | undefined;
20801
+ social?: string[] | undefined;
20802
+ actions?: string[] | undefined;
20803
+ cta?: string[] | undefined;
20804
+ footer?: string[] | undefined;
20805
+ } | undefined;
20806
+ objects?: Record<string, unknown> | undefined;
20807
+ ownedObjects?: {
20808
+ text: string;
20809
+ id: string;
20810
+ kind: "freeText";
20811
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
20812
+ }[] | undefined;
20813
+ }>>;
19440
20814
  }, "strip", z.ZodTypeAny, {
19441
20815
  fontKey: string;
19442
20816
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
19443
20817
  accentColor: string;
19444
20818
  showAvatar: boolean;
20819
+ layout?: {
20820
+ v: 1;
20821
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
20822
+ objectOrder?: {
20823
+ bio?: string[] | undefined;
20824
+ identity?: string[] | undefined;
20825
+ contact?: string[] | undefined;
20826
+ social?: string[] | undefined;
20827
+ actions?: string[] | undefined;
20828
+ cta?: string[] | undefined;
20829
+ footer?: string[] | undefined;
20830
+ } | undefined;
20831
+ objects?: Record<string, unknown> | undefined;
20832
+ ownedObjects?: {
20833
+ text: string;
20834
+ id: string;
20835
+ kind: "freeText";
20836
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
20837
+ }[] | undefined;
20838
+ } | undefined;
19445
20839
  background?: {
19446
20840
  kind: "solid";
19447
20841
  from?: undefined;
@@ -19511,6 +20905,26 @@ declare const profileCreateSchema: z.ZodObject<{
19511
20905
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
19512
20906
  accentColor: string;
19513
20907
  showAvatar: boolean;
20908
+ layout?: {
20909
+ v: 1;
20910
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
20911
+ objectOrder?: {
20912
+ bio?: string[] | undefined;
20913
+ identity?: string[] | undefined;
20914
+ contact?: string[] | undefined;
20915
+ social?: string[] | undefined;
20916
+ actions?: string[] | undefined;
20917
+ cta?: string[] | undefined;
20918
+ footer?: string[] | undefined;
20919
+ } | undefined;
20920
+ objects?: Record<string, unknown> | undefined;
20921
+ ownedObjects?: {
20922
+ text: string;
20923
+ id: string;
20924
+ kind: "freeText";
20925
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
20926
+ }[] | undefined;
20927
+ } | undefined;
19514
20928
  background?: unknown;
19515
20929
  primaryColor?: string | undefined;
19516
20930
  secondaryColor?: string | undefined;
@@ -19578,6 +20992,26 @@ declare const profileCreateSchema: z.ZodObject<{
19578
20992
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
19579
20993
  accentColor: string;
19580
20994
  showAvatar: boolean;
20995
+ layout?: {
20996
+ v: 1;
20997
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
20998
+ objectOrder?: {
20999
+ bio?: string[] | undefined;
21000
+ identity?: string[] | undefined;
21001
+ contact?: string[] | undefined;
21002
+ social?: string[] | undefined;
21003
+ actions?: string[] | undefined;
21004
+ cta?: string[] | undefined;
21005
+ footer?: string[] | undefined;
21006
+ } | undefined;
21007
+ objects?: Record<string, unknown> | undefined;
21008
+ ownedObjects?: {
21009
+ text: string;
21010
+ id: string;
21011
+ kind: "freeText";
21012
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21013
+ }[] | undefined;
21014
+ } | undefined;
19581
21015
  background?: {
19582
21016
  kind: "solid";
19583
21017
  from?: undefined;
@@ -19677,6 +21111,26 @@ declare const profileCreateSchema: z.ZodObject<{
19677
21111
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
19678
21112
  accentColor: string;
19679
21113
  showAvatar: boolean;
21114
+ layout?: {
21115
+ v: 1;
21116
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
21117
+ objectOrder?: {
21118
+ bio?: string[] | undefined;
21119
+ identity?: string[] | undefined;
21120
+ contact?: string[] | undefined;
21121
+ social?: string[] | undefined;
21122
+ actions?: string[] | undefined;
21123
+ cta?: string[] | undefined;
21124
+ footer?: string[] | undefined;
21125
+ } | undefined;
21126
+ objects?: Record<string, unknown> | undefined;
21127
+ ownedObjects?: {
21128
+ text: string;
21129
+ id: string;
21130
+ kind: "freeText";
21131
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21132
+ }[] | undefined;
21133
+ } | undefined;
19680
21134
  background?: unknown;
19681
21135
  primaryColor?: string | undefined;
19682
21136
  secondaryColor?: string | undefined;
@@ -19936,11 +21390,153 @@ declare const signupWithProfileSchema: z.ZodObject<{
19936
21390
  to: string;
19937
21391
  angleDeg: number;
19938
21392
  } | undefined, unknown>>;
21393
+ layout: z.ZodOptional<z.ZodEffects<z.ZodObject<{
21394
+ v: z.ZodLiteral<1>;
21395
+ sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
21396
+ objectOrder: z.ZodOptional<z.ZodObject<{
21397
+ bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21398
+ identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21399
+ contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21400
+ social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21401
+ actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21402
+ cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21403
+ footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
21404
+ }, "strict", z.ZodTypeAny, {
21405
+ bio?: string[] | undefined;
21406
+ identity?: string[] | undefined;
21407
+ contact?: string[] | undefined;
21408
+ social?: string[] | undefined;
21409
+ actions?: string[] | undefined;
21410
+ cta?: string[] | undefined;
21411
+ footer?: string[] | undefined;
21412
+ }, {
21413
+ bio?: string[] | undefined;
21414
+ identity?: string[] | undefined;
21415
+ contact?: string[] | undefined;
21416
+ social?: string[] | undefined;
21417
+ actions?: string[] | undefined;
21418
+ cta?: string[] | undefined;
21419
+ footer?: string[] | undefined;
21420
+ }>>;
21421
+ objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
21422
+ ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
21423
+ id: z.ZodString;
21424
+ kind: z.ZodLiteral<"freeText">;
21425
+ section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
21426
+ text: z.ZodEffects<z.ZodString, string, string>;
21427
+ }, "strict", z.ZodTypeAny, {
21428
+ text: string;
21429
+ id: string;
21430
+ kind: "freeText";
21431
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21432
+ }, {
21433
+ text: string;
21434
+ id: string;
21435
+ kind: "freeText";
21436
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21437
+ }>, "many">>;
21438
+ }, "strict", z.ZodTypeAny, {
21439
+ v: 1;
21440
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
21441
+ objectOrder?: {
21442
+ bio?: string[] | undefined;
21443
+ identity?: string[] | undefined;
21444
+ contact?: string[] | undefined;
21445
+ social?: string[] | undefined;
21446
+ actions?: string[] | undefined;
21447
+ cta?: string[] | undefined;
21448
+ footer?: string[] | undefined;
21449
+ } | undefined;
21450
+ objects?: Record<string, unknown> | undefined;
21451
+ ownedObjects?: {
21452
+ text: string;
21453
+ id: string;
21454
+ kind: "freeText";
21455
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21456
+ }[] | undefined;
21457
+ }, {
21458
+ v: 1;
21459
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
21460
+ objectOrder?: {
21461
+ bio?: string[] | undefined;
21462
+ identity?: string[] | undefined;
21463
+ contact?: string[] | undefined;
21464
+ social?: string[] | undefined;
21465
+ actions?: string[] | undefined;
21466
+ cta?: string[] | undefined;
21467
+ footer?: string[] | undefined;
21468
+ } | undefined;
21469
+ objects?: Record<string, unknown> | undefined;
21470
+ ownedObjects?: {
21471
+ text: string;
21472
+ id: string;
21473
+ kind: "freeText";
21474
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21475
+ }[] | undefined;
21476
+ }>, {
21477
+ v: 1;
21478
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
21479
+ objectOrder?: {
21480
+ bio?: string[] | undefined;
21481
+ identity?: string[] | undefined;
21482
+ contact?: string[] | undefined;
21483
+ social?: string[] | undefined;
21484
+ actions?: string[] | undefined;
21485
+ cta?: string[] | undefined;
21486
+ footer?: string[] | undefined;
21487
+ } | undefined;
21488
+ objects?: Record<string, unknown> | undefined;
21489
+ ownedObjects?: {
21490
+ text: string;
21491
+ id: string;
21492
+ kind: "freeText";
21493
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21494
+ }[] | undefined;
21495
+ }, {
21496
+ v: 1;
21497
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
21498
+ objectOrder?: {
21499
+ bio?: string[] | undefined;
21500
+ identity?: string[] | undefined;
21501
+ contact?: string[] | undefined;
21502
+ social?: string[] | undefined;
21503
+ actions?: string[] | undefined;
21504
+ cta?: string[] | undefined;
21505
+ footer?: string[] | undefined;
21506
+ } | undefined;
21507
+ objects?: Record<string, unknown> | undefined;
21508
+ ownedObjects?: {
21509
+ text: string;
21510
+ id: string;
21511
+ kind: "freeText";
21512
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21513
+ }[] | undefined;
21514
+ }>>;
19939
21515
  }, "strip", z.ZodTypeAny, {
19940
21516
  fontKey: string;
19941
21517
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
19942
21518
  accentColor: string;
19943
21519
  showAvatar: boolean;
21520
+ layout?: {
21521
+ v: 1;
21522
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
21523
+ objectOrder?: {
21524
+ bio?: string[] | undefined;
21525
+ identity?: string[] | undefined;
21526
+ contact?: string[] | undefined;
21527
+ social?: string[] | undefined;
21528
+ actions?: string[] | undefined;
21529
+ cta?: string[] | undefined;
21530
+ footer?: string[] | undefined;
21531
+ } | undefined;
21532
+ objects?: Record<string, unknown> | undefined;
21533
+ ownedObjects?: {
21534
+ text: string;
21535
+ id: string;
21536
+ kind: "freeText";
21537
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21538
+ }[] | undefined;
21539
+ } | undefined;
19944
21540
  background?: {
19945
21541
  kind: "solid";
19946
21542
  from?: undefined;
@@ -20010,6 +21606,26 @@ declare const signupWithProfileSchema: z.ZodObject<{
20010
21606
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
20011
21607
  accentColor: string;
20012
21608
  showAvatar: boolean;
21609
+ layout?: {
21610
+ v: 1;
21611
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
21612
+ objectOrder?: {
21613
+ bio?: string[] | undefined;
21614
+ identity?: string[] | undefined;
21615
+ contact?: string[] | undefined;
21616
+ social?: string[] | undefined;
21617
+ actions?: string[] | undefined;
21618
+ cta?: string[] | undefined;
21619
+ footer?: string[] | undefined;
21620
+ } | undefined;
21621
+ objects?: Record<string, unknown> | undefined;
21622
+ ownedObjects?: {
21623
+ text: string;
21624
+ id: string;
21625
+ kind: "freeText";
21626
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21627
+ }[] | undefined;
21628
+ } | undefined;
20013
21629
  background?: unknown;
20014
21630
  primaryColor?: string | undefined;
20015
21631
  secondaryColor?: string | undefined;
@@ -20075,6 +21691,26 @@ declare const signupWithProfileSchema: z.ZodObject<{
20075
21691
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
20076
21692
  accentColor: string;
20077
21693
  showAvatar: boolean;
21694
+ layout?: {
21695
+ v: 1;
21696
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
21697
+ objectOrder?: {
21698
+ bio?: string[] | undefined;
21699
+ identity?: string[] | undefined;
21700
+ contact?: string[] | undefined;
21701
+ social?: string[] | undefined;
21702
+ actions?: string[] | undefined;
21703
+ cta?: string[] | undefined;
21704
+ footer?: string[] | undefined;
21705
+ } | undefined;
21706
+ objects?: Record<string, unknown> | undefined;
21707
+ ownedObjects?: {
21708
+ text: string;
21709
+ id: string;
21710
+ kind: "freeText";
21711
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21712
+ }[] | undefined;
21713
+ } | undefined;
20078
21714
  background?: {
20079
21715
  kind: "solid";
20080
21716
  from?: undefined;
@@ -20178,6 +21814,26 @@ declare const signupWithProfileSchema: z.ZodObject<{
20178
21814
  templateId: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso";
20179
21815
  accentColor: string;
20180
21816
  showAvatar: boolean;
21817
+ layout?: {
21818
+ v: 1;
21819
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
21820
+ objectOrder?: {
21821
+ bio?: string[] | undefined;
21822
+ identity?: string[] | undefined;
21823
+ contact?: string[] | undefined;
21824
+ social?: string[] | undefined;
21825
+ actions?: string[] | undefined;
21826
+ cta?: string[] | undefined;
21827
+ footer?: string[] | undefined;
21828
+ } | undefined;
21829
+ objects?: Record<string, unknown> | undefined;
21830
+ ownedObjects?: {
21831
+ text: string;
21832
+ id: string;
21833
+ kind: "freeText";
21834
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
21835
+ }[] | undefined;
21836
+ } | undefined;
20181
21837
  background?: unknown;
20182
21838
  primaryColor?: string | undefined;
20183
21839
  secondaryColor?: string | undefined;
@@ -20433,6 +22089,128 @@ declare const profileUpdateSchema: z.ZodObject<{
20433
22089
  to: string;
20434
22090
  angleDeg: number;
20435
22091
  } | undefined, unknown>>>>;
22092
+ layout: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodObject<{
22093
+ v: z.ZodLiteral<1>;
22094
+ sectionOrder: z.ZodOptional<z.ZodArray<z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>, "many">>;
22095
+ objectOrder: z.ZodOptional<z.ZodObject<{
22096
+ bio: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22097
+ identity: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22098
+ contact: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22099
+ social: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22100
+ actions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22101
+ cta: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22102
+ footer: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
22103
+ }, "strict", z.ZodTypeAny, {
22104
+ bio?: string[] | undefined;
22105
+ identity?: string[] | undefined;
22106
+ contact?: string[] | undefined;
22107
+ social?: string[] | undefined;
22108
+ actions?: string[] | undefined;
22109
+ cta?: string[] | undefined;
22110
+ footer?: string[] | undefined;
22111
+ }, {
22112
+ bio?: string[] | undefined;
22113
+ identity?: string[] | undefined;
22114
+ contact?: string[] | undefined;
22115
+ social?: string[] | undefined;
22116
+ actions?: string[] | undefined;
22117
+ cta?: string[] | undefined;
22118
+ footer?: string[] | undefined;
22119
+ }>>;
22120
+ objects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
22121
+ ownedObjects: z.ZodOptional<z.ZodArray<z.ZodObject<{
22122
+ id: z.ZodString;
22123
+ kind: z.ZodLiteral<"freeText">;
22124
+ section: z.ZodEnum<["identity", "bio", "contact", "social", "actions", "cta", "footer"]>;
22125
+ text: z.ZodEffects<z.ZodString, string, string>;
22126
+ }, "strict", z.ZodTypeAny, {
22127
+ text: string;
22128
+ id: string;
22129
+ kind: "freeText";
22130
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22131
+ }, {
22132
+ text: string;
22133
+ id: string;
22134
+ kind: "freeText";
22135
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22136
+ }>, "many">>;
22137
+ }, "strict", z.ZodTypeAny, {
22138
+ v: 1;
22139
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
22140
+ objectOrder?: {
22141
+ bio?: string[] | undefined;
22142
+ identity?: string[] | undefined;
22143
+ contact?: string[] | undefined;
22144
+ social?: string[] | undefined;
22145
+ actions?: string[] | undefined;
22146
+ cta?: string[] | undefined;
22147
+ footer?: string[] | undefined;
22148
+ } | undefined;
22149
+ objects?: Record<string, unknown> | undefined;
22150
+ ownedObjects?: {
22151
+ text: string;
22152
+ id: string;
22153
+ kind: "freeText";
22154
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22155
+ }[] | undefined;
22156
+ }, {
22157
+ v: 1;
22158
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
22159
+ objectOrder?: {
22160
+ bio?: string[] | undefined;
22161
+ identity?: string[] | undefined;
22162
+ contact?: string[] | undefined;
22163
+ social?: string[] | undefined;
22164
+ actions?: string[] | undefined;
22165
+ cta?: string[] | undefined;
22166
+ footer?: string[] | undefined;
22167
+ } | undefined;
22168
+ objects?: Record<string, unknown> | undefined;
22169
+ ownedObjects?: {
22170
+ text: string;
22171
+ id: string;
22172
+ kind: "freeText";
22173
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22174
+ }[] | undefined;
22175
+ }>, {
22176
+ v: 1;
22177
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
22178
+ objectOrder?: {
22179
+ bio?: string[] | undefined;
22180
+ identity?: string[] | undefined;
22181
+ contact?: string[] | undefined;
22182
+ social?: string[] | undefined;
22183
+ actions?: string[] | undefined;
22184
+ cta?: string[] | undefined;
22185
+ footer?: string[] | undefined;
22186
+ } | undefined;
22187
+ objects?: Record<string, unknown> | undefined;
22188
+ ownedObjects?: {
22189
+ text: string;
22190
+ id: string;
22191
+ kind: "freeText";
22192
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22193
+ }[] | undefined;
22194
+ }, {
22195
+ v: 1;
22196
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
22197
+ objectOrder?: {
22198
+ bio?: string[] | undefined;
22199
+ identity?: string[] | undefined;
22200
+ contact?: string[] | undefined;
22201
+ social?: string[] | undefined;
22202
+ actions?: string[] | undefined;
22203
+ cta?: string[] | undefined;
22204
+ footer?: string[] | undefined;
22205
+ } | undefined;
22206
+ objects?: Record<string, unknown> | undefined;
22207
+ ownedObjects?: {
22208
+ text: string;
22209
+ id: string;
22210
+ kind: "freeText";
22211
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22212
+ }[] | undefined;
22213
+ }>>>>;
20436
22214
  profilePhotoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
20437
22215
  companyLogoUrl: z.ZodOptional<z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>>;
20438
22216
  }, "strip", z.ZodTypeAny, {
@@ -20440,6 +22218,26 @@ declare const profileUpdateSchema: z.ZodObject<{
20440
22218
  companyLogoUrl?: string | undefined;
20441
22219
  fontKey?: string | undefined;
20442
22220
  templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
22221
+ layout?: {
22222
+ v: 1;
22223
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
22224
+ objectOrder?: {
22225
+ bio?: string[] | undefined;
22226
+ identity?: string[] | undefined;
22227
+ contact?: string[] | undefined;
22228
+ social?: string[] | undefined;
22229
+ actions?: string[] | undefined;
22230
+ cta?: string[] | undefined;
22231
+ footer?: string[] | undefined;
22232
+ } | undefined;
22233
+ objects?: Record<string, unknown> | undefined;
22234
+ ownedObjects?: {
22235
+ text: string;
22236
+ id: string;
22237
+ kind: "freeText";
22238
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22239
+ }[] | undefined;
22240
+ } | undefined;
20443
22241
  background?: {
20444
22242
  kind: "solid";
20445
22243
  from?: undefined;
@@ -20511,6 +22309,26 @@ declare const profileUpdateSchema: z.ZodObject<{
20511
22309
  companyLogoUrl?: string | undefined;
20512
22310
  fontKey?: string | undefined;
20513
22311
  templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
22312
+ layout?: {
22313
+ v: 1;
22314
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
22315
+ objectOrder?: {
22316
+ bio?: string[] | undefined;
22317
+ identity?: string[] | undefined;
22318
+ contact?: string[] | undefined;
22319
+ social?: string[] | undefined;
22320
+ actions?: string[] | undefined;
22321
+ cta?: string[] | undefined;
22322
+ footer?: string[] | undefined;
22323
+ } | undefined;
22324
+ objects?: Record<string, unknown> | undefined;
22325
+ ownedObjects?: {
22326
+ text: string;
22327
+ id: string;
22328
+ kind: "freeText";
22329
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22330
+ }[] | undefined;
22331
+ } | undefined;
20514
22332
  background?: unknown;
20515
22333
  accentColor?: string | undefined;
20516
22334
  primaryColor?: string | undefined;
@@ -20581,6 +22399,26 @@ declare const profileUpdateSchema: z.ZodObject<{
20581
22399
  companyLogoUrl?: string | undefined;
20582
22400
  fontKey?: string | undefined;
20583
22401
  templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
22402
+ layout?: {
22403
+ v: 1;
22404
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
22405
+ objectOrder?: {
22406
+ bio?: string[] | undefined;
22407
+ identity?: string[] | undefined;
22408
+ contact?: string[] | undefined;
22409
+ social?: string[] | undefined;
22410
+ actions?: string[] | undefined;
22411
+ cta?: string[] | undefined;
22412
+ footer?: string[] | undefined;
22413
+ } | undefined;
22414
+ objects?: Record<string, unknown> | undefined;
22415
+ ownedObjects?: {
22416
+ text: string;
22417
+ id: string;
22418
+ kind: "freeText";
22419
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22420
+ }[] | undefined;
22421
+ } | undefined;
20584
22422
  background?: {
20585
22423
  kind: "solid";
20586
22424
  from?: undefined;
@@ -20682,6 +22520,26 @@ declare const profileUpdateSchema: z.ZodObject<{
20682
22520
  companyLogoUrl?: string | undefined;
20683
22521
  fontKey?: string | undefined;
20684
22522
  templateId?: "minimal" | "bold" | "card" | "aurora" | "classic" | "spotlight" | "marquee" | "riso" | undefined;
22523
+ layout?: {
22524
+ v: 1;
22525
+ sectionOrder?: ("bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer")[] | undefined;
22526
+ objectOrder?: {
22527
+ bio?: string[] | undefined;
22528
+ identity?: string[] | undefined;
22529
+ contact?: string[] | undefined;
22530
+ social?: string[] | undefined;
22531
+ actions?: string[] | undefined;
22532
+ cta?: string[] | undefined;
22533
+ footer?: string[] | undefined;
22534
+ } | undefined;
22535
+ objects?: Record<string, unknown> | undefined;
22536
+ ownedObjects?: {
22537
+ text: string;
22538
+ id: string;
22539
+ kind: "freeText";
22540
+ section: "bio" | "identity" | "contact" | "social" | "actions" | "cta" | "footer";
22541
+ }[] | undefined;
22542
+ } | undefined;
20685
22543
  background?: unknown;
20686
22544
  accentColor?: string | undefined;
20687
22545
  primaryColor?: string | undefined;
@@ -20865,4 +22723,4 @@ declare function validatePhysicalConfig(data: unknown): ValidationResult<z.infer
20865
22723
  declare function validateDigitalConfig(data: unknown): ValidationResult<z.infer<typeof digitalConfigSchema>>;
20866
22724
  declare function validateConfiguration(data: unknown): ValidationResult<z.infer<typeof configurationCreateSchema>>;
20867
22725
 
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 };
22726
+ 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, STYLE_SCHEMA_FOR_KIND, 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, rowTextStyleSchema, safeProfileLayout, sanitizeHttpUrl, sanitizeText, signupWithProfileSchema, socialLinksSchema, socialOverridesSchema, textAdvanceEm, textObjectStyleSchema, tipJarSchema, userDataSchema, validateConfiguration, validateDigitalConfig, validatePhysicalConfig, validateUserData, webAddressSchema };